mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-24 04:59:14 -07:00
net-irc/iroffer-dinoex: drop old pre-glep81 version
Package-Manager: Portage-3.0.20, Repoman-3.0.3 Signed-off-by: Conrad Kostecki <conikost@gentoo.org>
This commit is contained in:
@@ -1,3 +1 @@
|
||||
DIST iroffer-dinoex-3.30.tar.gz 541131 BLAKE2B ea61113dffcd14b162153aa03c55a203d8ccd99e8f81de53a9ab8543bd91e948509281f753a8f332445eec102b6bd2b51972ff8bedb8b574b55b9325f6969269 SHA512 e45dc3dd901cbb73a9d59cd5a672834c7b6527864eb3385121856af562680a0f91e8846e8690fc60a6349dc4c4fc1cf190d3ac01813c6c045ef18147d61b7d4d
|
||||
DIST iroffer-dinoex-3.31.tar.gz 527712 BLAKE2B 8e57058af9aad9537d29a15140ab59c921d2549eb9e7a2ce9145fc1c27a4307bea882927012b04fc9f0737a8853d927c79cc0f3156dfa311072c59589fe0221f SHA512 677aa03a33b99d8062db077bba47fb18b2e9279243691981bbd09cb2859fcb4792e1383225b9698edb23370ce0f60667a09480644d31171e9a8234d80052dd80
|
||||
DIST iroffer-dinoex-3.32.tar.gz 1321125 BLAKE2B 3a124d16911d97d0ec937b86c9e0ad513ebdcea5e09e4cb1a53753c03d5e13347d0bf1116bf9abe0137fb7a05bbc7a8e31c2c0da5c15cc4e0b55e067d62b1461 SHA512 03d662cf7eb3093b1f050eda8777011d6e7a833dc2fcf65d29ef0294a0d6ce4e2cea273e2d4e6ee6ba2364c088890ac6338a3aa8e6477d5e2a1a990a6e4e9603
|
||||
|
||||
@@ -1,130 +0,0 @@
|
||||
diff -ru iroffer-dinoex-3.29/beispiel.config iroffer-dinoex-3.29.NEW/beispiel.config
|
||||
--- iroffer-dinoex-3.29/beispiel.config 2013-02-01 08:28:18.000000000 +0100
|
||||
+++ iroffer-dinoex-3.29.NEW/beispiel.config 2013-03-09 18:43:33.084000000 +0100
|
||||
@@ -15,19 +15,19 @@
|
||||
##############################################################################
|
||||
### - pid file - ###
|
||||
### Schreibt die Prozess-ID beim Start in diese Datei ###
|
||||
-pidfile mybot.pid
|
||||
+pidfile /var/run/iroffer-dinoex/iroffer-dinoex.pid
|
||||
|
||||
##############################################################################
|
||||
### - log file - ###
|
||||
### logfile gibt die Logdatei für den Bot an. ###
|
||||
-logfile mybot.log
|
||||
+logfile /var/log/iroffer-dinoex/mybot.log
|
||||
|
||||
##############################################################################
|
||||
### - log rotate - ###
|
||||
### logrotate gibt den Zeitraum vor, nach dem die Logdatei gewechselt ###
|
||||
### wird, mögliche Werte "none" (nie), "monthly" (monatlich), ###
|
||||
### "weekly" (wöchentlich), "daily" (täglich) und 1-24 (stündlich). ###
|
||||
-logrotate weekly
|
||||
+logrotate none
|
||||
|
||||
##############################################################################
|
||||
### - expire logfiles - ###
|
||||
@@ -48,7 +48,7 @@
|
||||
### Diese Datei dient als allgemeines Datenlager für die bereitgestellten ###
|
||||
### Dateien und die dazugehörigen statistische Daten. Hier werden auch die ###
|
||||
### Beschreibungen der Pakete gespeichert. ###
|
||||
-statefile mybot.state
|
||||
+statefile /var/lib/iroffer-dinoex/mybot.state
|
||||
|
||||
##############################################################################
|
||||
### - old state file - ###
|
||||
@@ -74,7 +74,7 @@
|
||||
### als Packliste auf einer Webseite zu dienen, oder für andere Zwecke. ###
|
||||
### Wenn xdcclistfileraw gesetzt ist, werden die IRC-Farbcode auch mit ###
|
||||
### ausgegeben. ###
|
||||
-xdcclistfile mybot.txt
|
||||
+xdcclistfile /var/lib/iroffer-dinoex/mybot.txt
|
||||
#xdcclistfileraw
|
||||
|
||||
##############################################################################
|
||||
diff -ru iroffer-dinoex-3.29/exemple.config iroffer-dinoex-3.29.NEW/exemple.config
|
||||
--- iroffer-dinoex-3.29/exemple.config 2013-02-01 08:26:21.000000000 +0100
|
||||
+++ iroffer-dinoex-3.29.NEW/exemple.config 2013-03-09 18:45:35.340000000 +0100
|
||||
@@ -15,18 +15,18 @@
|
||||
##############################################################################
|
||||
### - pid file - ###
|
||||
### Écrit l'identifiant du processus dans ce fichier au lancement. ###
|
||||
-pidfile monbot.pid
|
||||
+pidfile /var/run/iroffer-dinoex/iroffer-dinoex.pid
|
||||
|
||||
##############################################################################
|
||||
### - log file - ###
|
||||
### Écrit le journal du robot dans ce fichier. ###
|
||||
-logfile monbot.log
|
||||
+logfile /var/log/iroffer-dinoex/mybot.log
|
||||
|
||||
##############################################################################
|
||||
### - log rotate - ###
|
||||
### Archivage du journal jamais (« none »), quotidien (« daily »), ###
|
||||
### hebdomadaire (« weekly ») ou mensuelle (« monthly »). ###
|
||||
-logrotate weekly
|
||||
+logrotate none
|
||||
|
||||
##############################################################################
|
||||
### - expire logfiles - ###
|
||||
@@ -44,7 +44,7 @@
|
||||
##############################################################################
|
||||
### - state file - ###
|
||||
### Fichier temporaire de stockage des informations d'état d'Iroffer. ###
|
||||
-statefile monbot.state
|
||||
+statefile /var/lib/iroffer-dinoex/mybot.state
|
||||
|
||||
##############################################################################
|
||||
### - old state file - ###
|
||||
@@ -71,7 +71,7 @@
|
||||
### « xdcclistfile » et Iroffer écrira la liste XDCC dès que nécessaire. ###
|
||||
### Si « xdcclistfileraw » est défini, le fichier sera écrit avec les ###
|
||||
### caractères spéciaux IRC (couleur, format, etc.) ###
|
||||
-xdcclistfile monbot.txt
|
||||
+xdcclistfile /var/lib/iroffer-dinoex/mybot.txt
|
||||
#xdcclistfileraw
|
||||
|
||||
##############################################################################
|
||||
diff -ru iroffer-dinoex-3.29/sample.config iroffer-dinoex-3.29.NEW/sample.config
|
||||
--- iroffer-dinoex-3.29/sample.config 2013-02-01 08:26:58.000000000 +0100
|
||||
+++ iroffer-dinoex-3.29.NEW/sample.config 2013-03-09 18:46:30.612000000 +0100
|
||||
@@ -15,18 +15,18 @@
|
||||
##############################################################################
|
||||
### - pid file - ###
|
||||
### Writes the process id to this file on startup ###
|
||||
-pidfile mybot.pid
|
||||
+pidfile /var/run/iroffer-dinoex/iroffer-dinoex.pid
|
||||
|
||||
##############################################################################
|
||||
### - log file - ###
|
||||
### Writes logging information to this file. ###
|
||||
-logfile mybot.log
|
||||
+logfile /var/log/iroffer-dinoex/mybot.log
|
||||
|
||||
##############################################################################
|
||||
### - log rotate - ###
|
||||
### After the time given here a logfile will be rotated. ###
|
||||
### logrotate can be set to none, 1 - 24 hours, daily, weekly or monthly ###
|
||||
-logrotate weekly
|
||||
+logrotate none
|
||||
|
||||
##############################################################################
|
||||
### - expire logfiles - ###
|
||||
@@ -44,7 +44,7 @@
|
||||
##############################################################################
|
||||
### - state file - ###
|
||||
### temporary storage for iroffer state information across restarts ###
|
||||
-statefile mybot.state
|
||||
+statefile /var/lib/iroffer-dinoex/mybot.state
|
||||
|
||||
##############################################################################
|
||||
### - old state file - ###
|
||||
@@ -71,7 +71,7 @@
|
||||
### needed. ###
|
||||
### If xdcclistfileraw is set the file will be written with the IRC ###
|
||||
### control characters included (color, formatting, etc..). ###
|
||||
-xdcclistfile mybot.txt
|
||||
+xdcclistfile /var/lib/iroffer-dinoex/mybot.txt
|
||||
#xdcclistfileraw
|
||||
|
||||
##############################################################################
|
||||
@@ -1,123 +0,0 @@
|
||||
# Copyright 1999-2021 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
|
||||
PLOCALES="de en fr it"
|
||||
PLOCALE_BACKUP="en"
|
||||
|
||||
inherit plocale toolchain-funcs user
|
||||
|
||||
DESCRIPTION="IRC fileserver using DCC"
|
||||
HOMEPAGE="http://iroffer.dinoex.net/"
|
||||
SRC_URI="http://iroffer.dinoex.net/${P}.tar.gz
|
||||
http://iroffer.dinoex.net/HISTORY/${P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64 x86"
|
||||
IUSE="+admin +blowfish +chroot curl debug geoip gnutls +http kqueue +memsave ruby ssl +telnet upnp"
|
||||
|
||||
REQUIRED_USE="
|
||||
admin? ( http )
|
||||
gnutls? ( ssl )
|
||||
"
|
||||
|
||||
RDEPEND="virtual/libcrypt:=
|
||||
chroot? ( dev-libs/nss )
|
||||
curl? (
|
||||
net-misc/curl[ssl?]
|
||||
gnutls? ( net-misc/curl[curl_ssl_gnutls] )
|
||||
!gnutls? ( ssl? ( net-misc/curl[curl_ssl_openssl] ) )
|
||||
)
|
||||
geoip? ( dev-libs/geoip )
|
||||
gnutls? ( net-libs/gnutls )
|
||||
ruby? ( dev-lang/ruby:* )
|
||||
ssl? ( !gnutls? ( dev-libs/openssl:0= ) )"
|
||||
|
||||
DEPEND="${RDEPEND}"
|
||||
|
||||
pkg_setup() {
|
||||
enewgroup iroffer
|
||||
enewuser iroffer -1 -1 -1 iroffer
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
eapply "${FILESDIR}/${PN}-3.29-config.patch"
|
||||
eapply "${FILESDIR}/${PN}-Werror.patch"
|
||||
|
||||
eapply_user
|
||||
|
||||
plocale_find_changes "" 'help-admin-' '.txt'
|
||||
}
|
||||
|
||||
do_configure() {
|
||||
echo ./Configure $*
|
||||
./Configure $* || die "configure phase failed"
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
do_configure \
|
||||
PREFIX="${EPREFIX}/usr"\
|
||||
CC="$(tc-getCC)"\
|
||||
$(usex debug '-profiling' '' '' '')\
|
||||
$(usex debug '-debug' '' '' '')\
|
||||
$(usex geoip '-geoip' '' '' '')\
|
||||
$(usex chroot '' '-no-chroot' '' '')\
|
||||
$(usex curl '-curl' '' '' '' )\
|
||||
$(usex gnutls '-tls' '' '' '' '')\
|
||||
$(usex upnp '-upnp' '' '' '')\
|
||||
$(usex ruby '-ruby' '' '' '')\
|
||||
$(usex kqueue '-kqueue' '' '' '')\
|
||||
$(usex blowfish '' '-no-blowfish' '' '')\
|
||||
$(usex ssl '' '-no-openssl' '' '')\
|
||||
$(usex http '' '-no-http' '' '')\
|
||||
$(usex admin '' '-no-admin' '' '')\
|
||||
$(usex telnet '' '-no-telnet' '' '')\
|
||||
$(usex memsave '' '-no-memsave' '' '')
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
# TODO: default compile targets always include chrooted target, which is not good
|
||||
emake CC="$(tc-getCC)" $(plocale_get_locales)
|
||||
}
|
||||
|
||||
myloc() {
|
||||
emake DESTDIR="${D}" install-${1}
|
||||
|
||||
dodoc help-admin-${1}.txt
|
||||
use http && dodoc doc/INSTALL-linux-${1}.html
|
||||
|
||||
insinto /etc/${PN}
|
||||
case ${1} in
|
||||
"de")
|
||||
doins beispiel.config;;
|
||||
"fr")
|
||||
doins exemple.config;;
|
||||
*)
|
||||
doins sample.config;;
|
||||
esac
|
||||
}
|
||||
|
||||
src_install() {
|
||||
plocale_for_each_locale myloc
|
||||
|
||||
dodoc README* THANKS TODO
|
||||
doman iroffer.1 xdcc.7
|
||||
|
||||
newinitd "${FILESDIR}/${PN}.init" ${PN}
|
||||
newconfd "${FILESDIR}/${PN}.conf" ${PN}
|
||||
|
||||
insinto /etc/logrotate.d
|
||||
newins "${FILESDIR}/${PN}.logrotate" ${PN}
|
||||
|
||||
if use ruby; then
|
||||
insinto /usr/share/${PN}
|
||||
doins ruby-sample.rb
|
||||
fi
|
||||
|
||||
if use http; then
|
||||
insinto /usr/share/${PN}/htdocs
|
||||
doins htdocs/*
|
||||
fi
|
||||
}
|
||||
@@ -1,123 +0,0 @@
|
||||
# Copyright 1999-2021 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
|
||||
PLOCALES="de en fr it"
|
||||
PLOCALE_BACKUP="en"
|
||||
|
||||
inherit plocale toolchain-funcs user
|
||||
|
||||
DESCRIPTION="IRC fileserver using DCC"
|
||||
HOMEPAGE="http://iroffer.dinoex.net/"
|
||||
SRC_URI="http://iroffer.dinoex.net/${P}.tar.gz
|
||||
http://iroffer.dinoex.net/HISTORY/${P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64 x86"
|
||||
IUSE="+admin +blowfish +chroot curl debug geoip gnutls +http kqueue +memsave ruby ssl +telnet upnp"
|
||||
|
||||
REQUIRED_USE="
|
||||
admin? ( http )
|
||||
gnutls? ( ssl )
|
||||
"
|
||||
|
||||
RDEPEND="virtual/libcrypt:=
|
||||
chroot? ( dev-libs/nss )
|
||||
curl? (
|
||||
net-misc/curl[ssl?]
|
||||
gnutls? ( net-misc/curl[curl_ssl_gnutls] )
|
||||
!gnutls? ( ssl? ( net-misc/curl[curl_ssl_openssl] ) )
|
||||
)
|
||||
geoip? ( dev-libs/geoip )
|
||||
gnutls? ( net-libs/gnutls )
|
||||
ruby? ( dev-lang/ruby:* )
|
||||
ssl? ( !gnutls? ( dev-libs/openssl:0= ) )"
|
||||
|
||||
DEPEND="${RDEPEND}"
|
||||
|
||||
pkg_setup() {
|
||||
enewgroup iroffer
|
||||
enewuser iroffer -1 -1 -1 iroffer
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
eapply "${FILESDIR}/${P}-config.patch"
|
||||
eapply "${FILESDIR}/${PN}-Werror.patch"
|
||||
|
||||
eapply_user
|
||||
|
||||
plocale_find_changes "" 'help-admin-' '.txt'
|
||||
}
|
||||
|
||||
do_configure() {
|
||||
echo ./Configure $*
|
||||
./Configure $* || die "configure phase failed"
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
do_configure \
|
||||
CC="$(tc-getCC)"
|
||||
PREFIX="${EPREFIX}/usr"\
|
||||
$(usex debug '-profiling' '' '' '')\
|
||||
$(usex debug '-debug' '' '' '')\
|
||||
$(usex geoip '-geoip' '' '' '')\
|
||||
$(usex chroot '' '-no-chroot' '' '')\
|
||||
$(usex curl '-curl' '' '' '' )\
|
||||
$(usex gnutls '-tls' '' '' '' '')\
|
||||
$(usex upnp '-upnp' '' '' '')\
|
||||
$(usex ruby '-ruby' '' '' '')\
|
||||
$(usex kqueue '-kqueue' '' '' '')\
|
||||
$(usex blowfish '' '-no-blowfish' '' '')\
|
||||
$(usex ssl '' '-no-openssl' '' '')\
|
||||
$(usex http '' '-no-http' '' '')\
|
||||
$(usex admin '' '-no-admin' '' '')\
|
||||
$(usex telnet '' '-no-telnet' '' '')\
|
||||
$(usex memsave '' '-no-memsave' '' '')
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
# TODO: default compile targets always include chrooted target, which is not good
|
||||
emake CC="$(tc-getCC)" $(plocale_get_locales)
|
||||
}
|
||||
|
||||
myloc() {
|
||||
emake DESTDIR="${D}" install-${1}
|
||||
|
||||
dodoc help-admin-${1}.txt
|
||||
use http && dodoc doc/INSTALL-linux-${1}.html
|
||||
|
||||
insinto /etc/${PN}
|
||||
case ${1} in
|
||||
"de")
|
||||
doins beispiel.config;;
|
||||
"fr")
|
||||
doins exemple.config;;
|
||||
*)
|
||||
doins sample.config;;
|
||||
esac
|
||||
}
|
||||
|
||||
src_install() {
|
||||
plocale_for_each_locale myloc
|
||||
|
||||
dodoc README* THANKS TODO
|
||||
doman iroffer.1 xdcc.7
|
||||
|
||||
newinitd "${FILESDIR}/${PN}.init" ${PN}
|
||||
newconfd "${FILESDIR}/${PN}.conf" ${PN}
|
||||
|
||||
insinto /etc/logrotate.d
|
||||
newins "${FILESDIR}/${PN}.logrotate" ${PN}
|
||||
|
||||
if use ruby; then
|
||||
insinto /usr/share/${PN}
|
||||
doins ruby-sample.rb
|
||||
fi
|
||||
|
||||
if use http; then
|
||||
insinto /usr/share/${PN}/htdocs
|
||||
doins htdocs/*
|
||||
fi
|
||||
}
|
||||
Reference in New Issue
Block a user