From def8c41e8cc7778e9bcda00cd8109cfe22c4861a Mon Sep 17 00:00:00 2001 From: Sergey Popov Date: Fri, 8 Feb 2013 15:47:51 +0400 Subject: [PATCH] net-irc/iroffer-dinoex: removed, package is in main tree now --- net-irc/iroffer-dinoex/ChangeLog | 27 --- net-irc/iroffer-dinoex/Manifest | 10 -- .../files/iroffer-dinoex-3.28-Makefile.patch | 28 --- .../iroffer-dinoex/files/iroffer-dinoex-HOWTO | 34 ---- .../files/iroffer-dinoex-config.patch | 130 -------------- .../iroffer-dinoex/files/iroffer-dinoex.conf | 21 --- .../iroffer-dinoex/files/iroffer-dinoex.init | 77 -------- .../files/iroffer-dinoex.logrotate | 8 - .../iroffer-dinoex/iroffer-dinoex-3.28.ebuild | 164 ------------------ net-irc/iroffer-dinoex/metadata.xml | 25 --- 10 files changed, 524 deletions(-) delete mode 100644 net-irc/iroffer-dinoex/ChangeLog delete mode 100644 net-irc/iroffer-dinoex/Manifest delete mode 100644 net-irc/iroffer-dinoex/files/iroffer-dinoex-3.28-Makefile.patch delete mode 100644 net-irc/iroffer-dinoex/files/iroffer-dinoex-HOWTO delete mode 100644 net-irc/iroffer-dinoex/files/iroffer-dinoex-config.patch delete mode 100644 net-irc/iroffer-dinoex/files/iroffer-dinoex.conf delete mode 100644 net-irc/iroffer-dinoex/files/iroffer-dinoex.init delete mode 100644 net-irc/iroffer-dinoex/files/iroffer-dinoex.logrotate delete mode 100644 net-irc/iroffer-dinoex/iroffer-dinoex-3.28.ebuild delete mode 100644 net-irc/iroffer-dinoex/metadata.xml diff --git a/net-irc/iroffer-dinoex/ChangeLog b/net-irc/iroffer-dinoex/ChangeLog deleted file mode 100644 index 183e8d6f2..000000000 --- a/net-irc/iroffer-dinoex/ChangeLog +++ /dev/null @@ -1,27 +0,0 @@ -# ChangeLog for net-irc/iroffer-dinoex -# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2 -# $Header: $ - -*iroffer-dinoex-3.28 (01 Dec 2012) - - 01 Dec 2012; Sébastien Picavet (SebastienP) sebastien.picavet@gmail.com - -iroffer-dinoex-3.27.ebuild, -files/iroffer-dinoex-3.27-Makefile.patch, - -files/iroffer-dinoex-3.27-exit-status-background.patch, - +iroffer-dinoex-3.28.ebuild, +files/iroffer-dinoex-3.28-Makefile.patch: - Version bump and updates for net-irc/iroffer-dinoex, thanks to hasufell and - binki - - 22 Jul 2012; Thomas Sachau (Tommy[D]) - iroffer-dinoex-3.27.ebuild, metadata.xml: - Drop LICENSE file, drop comment in metadata.xml - -*iroffer-dinoex-3.27 (14 Jul 2012) - - 14 Jul 2012; Sébastien Picavet (SebastienP) sebastien.picavet@gmail.com - +iroffer-dinoex-3.27.ebuild, +files/iroffer-dinoex-3.27-Makefile.patch, - +files/iroffer-dinoex-3.27-exit-status-background.patch, - +files/iroffer-dinoex.conf, +files/iroffer-dinoex.init, - +files/iroffer-dinoex.logrotate, +files/iroffer-dinoex-HOWTO, - +files/iroffer-dinoex-config.patch, +metadata.xml: - New ebuild for bug #426616 thanks to floppym and many others - diff --git a/net-irc/iroffer-dinoex/Manifest b/net-irc/iroffer-dinoex/Manifest deleted file mode 100644 index 50b399ecd..000000000 --- a/net-irc/iroffer-dinoex/Manifest +++ /dev/null @@ -1,10 +0,0 @@ -AUX iroffer-dinoex-3.28-Makefile.patch 1455 SHA256 3c615a58e2d2d2c107738b1f930efa233c1c8cd80ca4a4cc056383e176650632 SHA512 b03b743d3e88c19382ce0cb458928e30bed67803128311593207729ea8a3fbdbe7face6e00b944fe5cf34cbd61e83cc58de6ff9e9e669c49579cc2c0bb0fba7d WHIRLPOOL 85f4ded8dadf3d30f101ea2d96c3ab1592054f090c62cad503d61543bcbfef55a6afb60a365e8d56e5040f3f7c5133e823ea1eddab7b2cfa7f1669147887ec1d -AUX iroffer-dinoex-HOWTO 1282 SHA256 46cf016182320ce34d07737bddfc1f81541c86a93877dba76ac623893e541df2 SHA512 f93e516a03f76440048bf8778e6b611147ad56916941fdd2e674ddc674e69185116585097402a48026eaa32440b193d14a5b6140e32e58260ff56e0cbe7ae04d WHIRLPOOL fee71d50dd3aa1353a3866d14b65a3c8dd9c6efa8bb4003398856df9783aa57ec812a5f6ddc531e2ae76dc0646750f91e3468358c32ca74e0634b0182c739ce9 -AUX iroffer-dinoex-config.patch 7000 SHA256 d82a1377202b942d048fa59026b54872a7156a31f9e6d9035516953d4aae8774 SHA512 f02be661bad69cd599f61f66416dc2155a00fc7ff0c7243a9b39a7286eaed3b9ade87ef31b12462636efd64703dd6edbda9ea40d27b5fe2a848431fb1c4dcd8e WHIRLPOOL 4677cfcb0b7ad9f9efba58a99465b5acb70ab14e7031c78412c815ef80960a326bbcc99d2ce2c930fda6e97b46c82023bd5c8aeacb58c393b1c3b4476b31bc27 -AUX iroffer-dinoex.conf 611 SHA256 b370ac40d62672090764066c6761f5b5c7751602a93dde5f619aede2062380b1 SHA512 dff3ffbab6a1119dbf6f8a6a538586779244db8a4e86a78e9f8e2ee760e6aeec999d152c13ffa7dc079e86bf7958cfbf1ff95b6d3dd3a81d5da90c45ff6dc1f2 WHIRLPOOL b45faf9bcba4df868eed16c0686f5c93a35903ecce4df5e8dfb54ef85d6c18a2b8ce9464bccbcabaa9a87110ff6dee4776fcd8ee74ec313c8b1eb75c5d818915 -AUX iroffer-dinoex.init 2060 SHA256 491c11369fa800822d9f378a40fa17b62ce833185f186877476369b4a6cb44c4 SHA512 c56633a451544d09c237515d6b9d4cf9de74d3af38443c56280ac4d5ea13d8bbded7f5096bad3d3c39173d43acf9f4f76b15e4216e85707ca0c1023526546e40 WHIRLPOOL 00f28b4098bf58ef4fc10029004dcb455ea9eaf2d5558c452046b58f21d376ce9b5f6aa863fca3c70f4572d9773cb7dd5f3ae077b808178cf0426db92234c82f -AUX iroffer-dinoex.logrotate 198 SHA256 09034c8ae2b2a86770534e825279d10cf81371a2b985a74373932cbdf78985d9 SHA512 051573e9c346b223a411c25dcc4bd2e9c4fc896cfecc6abacf3c6ef9077ec5f6026fa454e761680dda3c571512a19ebfa4af973795d8dfa19bc14c12f776e09e WHIRLPOOL 409d3bb090f30aabb97b5fa6ef997130b39935ec840bcb34bebe106997c31741c1e363b98cd3d802a3b45f441b51101722493a8673caa7af0f8af1665a305f0c -DIST iroffer-dinoex-3.28.tar.gz 526729 SHA256 b96e9415f506eb7c15edec53cbeb96946739ea697fb4fea819184b1d4535c1b1 SHA512 b7653062877feee0d009700357b6b72eebf14b8db0deb2e136808cf59108008e4944093f5e811386b3678f688f3317611a50017bf8c3e212848ef88338f9b13c WHIRLPOOL d6442c02e44e84990c4cb04e15ad2b409625ad82f5a3237cdd84accf86b42ccfcf1bf5a6309fea66364acdf1b93d6ed3a8023f6a78d5f14b92f0cea27c3a86b9 -EBUILD iroffer-dinoex-3.28.ebuild 3513 SHA256 6000c87f73f2ff94bf69032616b0c22d6cfe25e6cd23ae2934e0c11e2acc0bed SHA512 b3e53ff343d00d7798fe2d54da9412e7e2164403d3a62ebb5db860ef657c79ca047f8aa6c61b0e975a3a9fbc30907da13173b16ae49255cb1f19739853a5d284 WHIRLPOOL a0310522adc2c9dfe2db90e55cc182d112d56f770eda5e756b9a2df47b6abbd6b2bb9fcc132dae74db2a37bea8412c48a81faab2021db0e6365fe6c25d1db5a9 -MISC ChangeLog 1165 SHA256 488eda4a54659a7de65c59106f5cdef0ca223a9fa408d1f0bb7a4d5607f3f499 SHA512 9b717a741fec1ca78f0cbfe3994c396724718e504a7b441b6eb573a33c1b6ef039ffbc739108622d6887f34d166b83f5e096a69682eca3027434a6ee129ddd06 WHIRLPOOL c4041368e050fb9cae357307e6236355176605f927ee1aead6255daf1a06170bcde4cbdef49ba4344121cd6172f51be44877f2cd1babeb84bcfea9076da8cfc0 -MISC metadata.xml 1179 SHA256 e09727a2314b4cd1f4b258d1b463c4ed31c90f309549a4e05f27333d2d820088 SHA512 08b550927406750c1d4f1569abb0f44ab1925a96bf626ebca318319beaecfe2e818dab0d286abab84288e033b8ae52627c45701362e924cf84517ef488320f02 WHIRLPOOL 084845fc627da30bbfc44fb76b1147db9d91c3a251a6535f4cfcc9f94847bae635babec922cb99a359ed1becc261274dd7454d6eda6c9a207304362338c2061e diff --git a/net-irc/iroffer-dinoex/files/iroffer-dinoex-3.28-Makefile.patch b/net-irc/iroffer-dinoex/files/iroffer-dinoex-3.28-Makefile.patch deleted file mode 100644 index 971c8c017..000000000 --- a/net-irc/iroffer-dinoex/files/iroffer-dinoex-3.28-Makefile.patch +++ /dev/null @@ -1,28 +0,0 @@ ---- iroffer-dinoex-3.28/Configure 2012-09-08 18:13:37.534831001 +0200 -+++ iroffer-dinoex-3.28/Configure.WITHOUTWERROR 2012-09-08 18:36:49.814831001 +0200 -@@ -1325,7 +1325,7 @@ - echo "${irmain1} - chroot(\".\"); - ${main2}" > config.temp.c -- if $cctype -o config.temp $WARNS $WERROR $CFLAGS config.temp.c $LDFLAGS $libs $LIBS; then -+ if $cctype -o config.temp $WARNS $CFLAGS config.temp.c $LDFLAGS $libs $LIBS; then - ${msg} "${irt_found}" - else - echo "#define NO_CHROOT" >> src/iroffer_config.h -@@ -1843,13 +1843,13 @@ - echo 'all: $(IRNAME)$(CONFIG_EXE) $(TARGET_STATIC) $(TARGET_CHROOT) $(OBJDIR)' - echo ' - $(IRNAME)$(CONFIG_EXE): $(OBJDIR) $(IROFFER_OBJECTS) -- $(CC) $(LDFLAGS) $(IROFFER_OBJECTS) $(LOADLIBES) $(LDLIBS) $(CONFIG_SHARED) -o $(IRNAME) -+ $(CC) $(CFLAGS) $(LDFLAGS) $(IROFFER_OBJECTS) $(LOADLIBES) $(LDLIBS) $(CONFIG_SHARED) -o $(IRNAME) - - $(IRNAME)_chroot$(CONFIG_EXE): $(OBJDIR) $(IROFFER_OBJECTS) -- $(CC) $(LDFLAGS) $(IROFFER_OBJECTS) $(LOADLIBES) $(LDLIBS) $(CONFIG_SHARED) $(CONFIG_CHROOT) -o $(IRNAME)_chroot -+ $(CC) $(CFLAGS) $(LDFLAGS) $(IROFFER_OBJECTS) $(LOADLIBES) $(LDLIBS) $(CONFIG_SHARED) $(CONFIG_CHROOT) -o $(IRNAME)_chroot - - $(IRNAME)_static$(CONFIG_EXE): $(OBJDIR) $(IROFFER_OBJECTS) -- $(CC) $(LDFLAGS) $(IROFFER_OBJECTS) $(LOADLIBES) $(LDLIBS) $(CONFIG_STATIC) -o $(IRNAME)_static -+ $(CC) $(CFLAGS) $(LDFLAGS) $(IROFFER_OBJECTS) $(LOADLIBES) $(LDLIBS) $(CONFIG_STATIC) -o $(IRNAME)_static - - obj: $(OBJDIR) - diff --git a/net-irc/iroffer-dinoex/files/iroffer-dinoex-HOWTO b/net-irc/iroffer-dinoex/files/iroffer-dinoex-HOWTO deleted file mode 100644 index 518626f81..000000000 --- a/net-irc/iroffer-dinoex/files/iroffer-dinoex-HOWTO +++ /dev/null @@ -1,34 +0,0 @@ --------------- -Configuration: --------------- -Samples of configuration files are in "/usr/share/doc/iroffer-dinoex-*" - --------------- -Simple launch: --------------- -iroffer -Or i18n version: iroffer-{de,fr,it} - -------------------------------- -Remote administration (by IRC): -------------------------------- -If you want to administrate iroffer-dinoex on IRC, you have to generate an encrypt password: - launch "iroffer -c" (or translated versions "iroffer-{de,fr,it}") - change the variable "adminpass" of your file "*.config" with the given hash - specify the allowed hosts with "adminhost" - -You can find administration commands on "help-admin-*.txt" in "/usr/share/doc/iroffer-dinoex-*" - ------------------ -Launch as daemon: ------------------ -To create a new daemon, you have to: - copy sample configuration file from "/etc/iroffer-dinoex/": cp -p /etc/iroffer-dinoex/******.config /etc/iroffer-dinoex/YourBot.config - adapt "YourBot.config" (take care of variables "pid", "logfile" and "statefile"; "mybot" become "YourBot") - create a symbolic link: ln -s /etc/init.d/iroffer-dinoex /etc/init.d/iroffer-dinoex.YourBot - rc-update add iroffer-dinoex.YourBot default - ------------- -Advance use: ------------- -See "/usr/share/doc/iroffer-dinoex-*" and "man iroffer" \ No newline at end of file diff --git a/net-irc/iroffer-dinoex/files/iroffer-dinoex-config.patch b/net-irc/iroffer-dinoex/files/iroffer-dinoex-config.patch deleted file mode 100644 index 0c630d060..000000000 --- a/net-irc/iroffer-dinoex/files/iroffer-dinoex-config.patch +++ /dev/null @@ -1,130 +0,0 @@ -diff -ru iroffer-dinoex-3.27/beispiel.config iroffer-dinoex-3.27.NEW/beispiel.config ---- iroffer-dinoex-3.27/beispiel.config 2011-07-17 21:10:21.000000000 +0200 -+++ iroffer-dinoex-3.27.NEW/beispiel.config 2012-05-01 19:30:10.378116001 +0200 -@@ -15,19 +15,19 @@ - ############################################################################## - ### - pid file - ### - ### Schreibt die Prozess-ID beim Start in diese Datei ### --pidfile mybot.pid -+pidfile /var/run/iroffer-dinoex/mybot.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 weekly - - ############################################################################## - ### - 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.27/exemple.config iroffer-dinoex-3.27.NEW/exemple.config ---- iroffer-dinoex-3.27/exemple.config 2011-09-04 08:45:41.000000000 +0200 -+++ iroffer-dinoex-3.27.NEW/exemple.config 2012-05-01 19:29:03.954116001 +0200 -@@ -15,18 +15,18 @@ - ############################################################################## - ### - pid file - ### - ### Ecrit l'id du processus dans ce fichier au lancement ### --pidfile monbot.pid -+pidfile /var/run/iroffer-dinoex/monbot.pid - - ############################################################################## - ### - log file - ### - ### Écrit les informations du bot dans ce fichier. ### --logfile monbot.log -+logfile /var/log/iroffer-dinoex/monbot.log - - ############################################################################## - ### - log rotate - ### - ### Archivage du fichier de log jamais (none), 1-24 h quotidien (daily), ### - ### hebdomadaire (weekly) ou mensuelle (monthly). ### --logrotate weekly -+#logrotate weekly - - ############################################################################## - ### - 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/monbot.state - - ############################################################################## - ### - old state file - ### -@@ -70,7 +70,7 @@ - ### 'xdcclistfile' et iroffer écrira la liste xdcc dès que nécessaire. ### - ### Si xdcclistfileraw est définit, le fichier sera écrit avec les ### - ### caractères spéciaux IRC (couleur, format, etc...). ### --xdcclistfile monbot.txt -+xdcclistfile /var/lib/iroffer-dinoex/monbot.txt - #xdcclistfileraw - - ############################################################################## -diff -ru iroffer-dinoex-3.27/sample.config iroffer-dinoex-3.27.NEW/sample.config ---- iroffer-dinoex-3.27/sample.config 2011-07-17 21:10:21.000000000 +0200 -+++ iroffer-dinoex-3.27.NEW/sample.config 2012-05-01 19:31:11.682116001 +0200 -@@ -15,18 +15,18 @@ - ############################################################################## - ### - pid file - ### - ### Writes the process id to this file on startup ### --pidfile mybot.pid -+pidfile /var/run/iroffer-dinoex/mybot.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 weekly - - ############################################################################## - ### - 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 - - ############################################################################## diff --git a/net-irc/iroffer-dinoex/files/iroffer-dinoex.conf b/net-irc/iroffer-dinoex/files/iroffer-dinoex.conf deleted file mode 100644 index 210d1ed30..000000000 --- a/net-irc/iroffer-dinoex/files/iroffer-dinoex.conf +++ /dev/null @@ -1,21 +0,0 @@ -# Copyright 1999-2012 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: $ - -# /etc/conf.d/iroffer-dinoex -# Config file for iroffer-dinoex init script - -# Binary file. You can change "iroffer" by "iroffer-de", "iroffer-fr" or "iroffer-it" (depends on $LINGUAS) -IROFFER_BIN="/usr/bin/iroffer" - -# User used by the deamon -IROFFER_USER="iroffer-dinoex" - -# Default directory of PID files -IROFFER_PID="/var/run/iroffer-dinoex" - -# Default directory of log files -IROFFER_LOG="/var/log/iroffer-dinoex" - -# Default directory of state files -IROFFER_STATE="/var/lib/iroffer-dinoex" \ No newline at end of file diff --git a/net-irc/iroffer-dinoex/files/iroffer-dinoex.init b/net-irc/iroffer-dinoex/files/iroffer-dinoex.init deleted file mode 100644 index caa861324..000000000 --- a/net-irc/iroffer-dinoex/files/iroffer-dinoex.init +++ /dev/null @@ -1,77 +0,0 @@ -#!/sbin/runscript -# Copyright 1999-2012 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: $ - -extra_commands="reload reconnect" - -description="Script to use iroffer-dinoex like a daemon. You have to make a symbolic link of this script: ln -s /etc/init.d/iroffer-dinoex /etc/init.d/iroffer-dinoex.MyBot. Create a config file: cp -p /etc/iroffer-dinoex/******.config /etc/iroffer-dinoex/MyBot.config and adapt it (take care of first variables \"pidfile\", \"logfile\", \"statefile\" and \"xdcclistfile\")." -description_reload="Reload the config file" -description_reconnect="Force reconnection to an IRC server" - -# Bot name from filename -BOT=${RC_SVCNAME#*.} - -depend(){ - need net -} - -start(){ - ebegin "Starting $RC_SVCNAME" - - # Control mandatory folders or files - if [ ! -f "/etc/iroffer-dinoex/${BOT}.config" ] - then - eerror "/etc/iroffer-dinoex/${BOT}.config not found" - fi - - if [ ! -d "${IROFFER_PID}" ] - then - einfo "Create ${IROFFER_PID}" - - mkdir "${IROFFER_PID}" - chown "root:${IROFFER_USER}" "${IROFFER_PID}" - chmod 770 "${IROFFER_PID}" - fi - - if [ ! -d "${IROFFER_LOG}" ] - then - einfo "Create ${IROFFER_LOG}" - - mkdir "${IROFFER_LOG}" - chown "root:${IROFFER_USER}" "${IROFFER_LOG}" - chmod 770 "${IROFFER_LOG}" - fi - - if [ ! -d "${IROFFER_STATE}" ] - then - einfo "Create ${IROFFER_STATE}" - - mkdir "${IROFFER_STATE}" - chown "root:${IROFFER_USER}" "${IROFFER_STATE}" - chmod 770 "${IROFFER_STATE}" - fi - - # Start iroffer-dinoex in background mode - start-stop-daemon --start --quiet --user "${IROFFER_USER}" --pidfile "${IROFFER_PID}/${BOT}.pid" --exec "${IROFFER_BIN}" -- -b "/etc/iroffer-dinoex/${BOT}.config" - - eend $? -} - -stop(){ - ebegin "Stop $RC_SVCNAME" - start-stop-daemon --stop --retry 10 --pidfile "${IROFFER_PID}/${BOT}.pid" - eend $? -} - -reload(){ - ebegin "Reload $RC_SVCNAME" - start-stop-daemon --signal SIGUSR2 --pidfile "${IROFFER_PID}/${BOT}.pid" - eend $? -} - -reconnect(){ - ebegin "Try to reconnect $RC_SVCNAME" - start-stop-daemon --signal SIGUSR1 --pidfile "${IROFFER_PID}/${BOT}.pid" - eend $? -} diff --git a/net-irc/iroffer-dinoex/files/iroffer-dinoex.logrotate b/net-irc/iroffer-dinoex/files/iroffer-dinoex.logrotate deleted file mode 100644 index e39fad7d8..000000000 --- a/net-irc/iroffer-dinoex/files/iroffer-dinoex.logrotate +++ /dev/null @@ -1,8 +0,0 @@ -# Copyright 1999-2012 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: $ - -/var/log/iroffer-dinoex/*.log{ - missingok - su iroffer-dinoex iroffer-dinoex -} \ No newline at end of file diff --git a/net-irc/iroffer-dinoex/iroffer-dinoex-3.28.ebuild b/net-irc/iroffer-dinoex/iroffer-dinoex-3.28.ebuild deleted file mode 100644 index ac922bfa4..000000000 --- a/net-irc/iroffer-dinoex/iroffer-dinoex-3.28.ebuild +++ /dev/null @@ -1,164 +0,0 @@ -# Copyright 1999-2012 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: $ - -EAPI="5" -inherit eutils toolchain-funcs user - -DESCRIPTION="IRC bot to share files via DCC" -HOMEPAGE="http://iroffer.dinoex.de/projects/iroffer" -SRC_URI="http://iroffer.dinoex.net/${P}.tar.gz - http://iroffer.dinoex.net/HISTORY/${P}.tar.gz" - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="~amd64" - -# Generate IUSE -DINOEX_DEFAULT_MODULES="+admin +blowfish +chroot +http +memsave +ssl +telnet" -DINOEX_OPTIONAL_MODULES="curl debug geoip gnutls ruby static upnp" -DINOEX_LANGUAGES="de en fr it" - -IUSE="${DINOEX_DEFAULT_MODULES} ${DINOEX_OPTIONAL_MODULES} daemon" -for lang in ${DINOEX_LANGUAGES} -do - IUSE="${IUSE} linguas_${lang}" -done - -REQUIRED_USE=" - admin? ( http ) -" -# Handle in src_configure: gnutls? ( !ssl ) - -DEPEND=" - chroot? ( dev-libs/nss ) - curl? ( net-misc/curl ) - geoip? ( dev-libs/geoip ) - gnutls? ( net-libs/gnutls ) - ruby? ( dev-lang/ruby ) - ssl? ( dev-libs/openssl ) -" - -RDEPEND=" - ${DEPEND} - !net-irc/iroffer -" - -pkg_setup(){ - # Create user if USE="+daemon" - if use daemon ; then - enewgroup ${PN} - enewuser ${PN} -1 -1 -1 ${PN} - fi -} - -src_prepare(){ - epatch "${FILESDIR}/${P}-Makefile.patch" - epatch "${FILESDIR}/${PN}-config.patch" -} - -src_configure(){ - local my_conf opts - - # Remove unselected default modules - for opts in ${DINOEX_DEFAULT_MODULES} - do - opts=${opts:1} # Remove "+" - - if ! use $opts ; then - if [[ $opts != "ssl" ]] ; then - my_conf="${my_conf} -no-$opts" - else - my_conf="${my_conf} -no-openssl" - fi - fi - done - - # Add selected optional modules - for opts in ${DINOEX_OPTIONAL_MODULES} - do - if use $opts ; then - case $opts in - "gnutls") - # Conflicting USE ssl and gnutls, priority to gnutls - my_conf="${my_conf} -no-openssl -tls";; - "static") - my_conf="${my_conf} -no-libs";; - *) - my_conf="${my_conf} -$opts";; - esac - fi - done - - # Iroffer uses an unusual configuration file. Need PREFIX (install by default in /usr/local, forbidden in portage) - ./Configure CC=$(tc-getCC) PREFIX="/usr" ${my_conf} || die "Error during ./Configure" -} - -src_compile(){ - # Iroffer need the language as first argument of Makefile - # Compile each available languages or just English - strip-linguas "${DINOEX_LANGUAGES}" - - emake ${LINGUAS:-en} -} - -src_install(){ - local lang - - for lang in ${LINGUAS:-en} - do - emake DESTDIR="${D}" install-${lang} - - # i18n docs - dodoc help-admin-${lang}.txt - case $lang in - "de") - dodoc beispiel.config LIESMICH.modDinoex;; - "fr") - dodoc exemple.config;; - *) - dodoc sample.config;; - esac - done - - # Common docs - dodoc README README.modDinoex dynip.sh iroffer.cron - newdoc "${FILESDIR}/${PN}-HOWTO" HOWTO - doman iroffer.1 - - # Specific stuff for "+daemon" - if use daemon ; then - insinto /etc/${PN} - insopts -m0660 -o root -g ${PN} - - for lang in ${LINGUAS:-en} - do - case $lang in - "de") - doins beispiel.config;; - "fr") - doins exemple.config;; - *) - doins sample.config;; - esac - done - - insinto /etc/logrotate.d - insopts -m0644 -o root -g root - newins "${FILESDIR}/${PN}.logrotate" ${PN} - - newinitd "${FILESDIR}/${PN}.init" ${PN} - newconfd "${FILESDIR}/${PN}.conf" ${PN} - fi -} - -pkg_postinst(){ - elog "Quick start: \"HOWTO\" in \"/usr/share/doc/${PF}\"" - - if use daemon ; then - elog - ewarn "If you upgrade ${PN}, you can restart all ${PN}'s daemons with:" - ewarn " find /etc/init.d/ -name ${PN}.* -execdir {} restart \;" - ewarn "This command will disconnect all users!" - fi -} diff --git a/net-irc/iroffer-dinoex/metadata.xml b/net-irc/iroffer-dinoex/metadata.xml deleted file mode 100644 index 76a9f6247..000000000 --- a/net-irc/iroffer-dinoex/metadata.xml +++ /dev/null @@ -1,25 +0,0 @@ - - - - - maintainer-wanted@gentoo.org - - Standalone XDCC server. Extension of iroffer by dinoex - - Add HTTP admin (need flag “http”) - Add blowfish encryption support (for channel) - Add chroot support - Needed for FETCH command - Add daemon support - Compile with debug option - Add geoip support (country and city lookup) - Add SSL and TLS support with net-libs/gnutls - Add HTTP server support - Memory protection - Add RUBY support - Add SSL support with OpenSSL - Build a static binary - Add support for telnet administration - Forward ports using UPnP - - -- 2.43.2