diff options
author | Sergey Popov <pinkbyte@gentoo.org> | 2013-02-25 18:36:05 +0000 |
---|---|---|
committer | Sergey Popov <pinkbyte@gentoo.org> | 2013-02-25 18:36:05 +0000 |
commit | 3cb208e1507e22ed648c68344a350f135edc2f6c (patch) | |
tree | aef158bdbb3d0c8453c100fd5f416852b0a283e5 /net-irc/iroffer-dinoex | |
parent | Add fix for ROOT handling #160815. (diff) | |
download | historical-3cb208e1507e22ed648c68344a350f135edc2f6c.tar.gz historical-3cb208e1507e22ed648c68344a350f135edc2f6c.tar.bz2 historical-3cb208e1507e22ed648c68344a350f135edc2f6c.zip |
Revision bump: improved config patch by Mikle Kolyada, various locale-specific improvements by Sébastien P. wrt bug #456316
Package-Manager: portage-2.2.0_alpha163/cvs/Linux x86_64
Manifest-Sign-Key: 0x1F357D42
Diffstat (limited to 'net-irc/iroffer-dinoex')
-rw-r--r-- | net-irc/iroffer-dinoex/ChangeLog | 9 | ||||
-rw-r--r-- | net-irc/iroffer-dinoex/Manifest | 19 | ||||
-rw-r--r-- | net-irc/iroffer-dinoex/files/iroffer-dinoex-config.patch | 92 | ||||
-rw-r--r-- | net-irc/iroffer-dinoex/iroffer-dinoex-3.28-r1.ebuild | 121 |
4 files changed, 236 insertions, 5 deletions
diff --git a/net-irc/iroffer-dinoex/ChangeLog b/net-irc/iroffer-dinoex/ChangeLog index 24cb9c86d806..edf6675c2ee3 100644 --- a/net-irc/iroffer-dinoex/ChangeLog +++ b/net-irc/iroffer-dinoex/ChangeLog @@ -1,6 +1,13 @@ # ChangeLog for net-irc/iroffer-dinoex # Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/net-irc/iroffer-dinoex/ChangeLog,v 1.2 2013/02/08 12:00:11 pinkbyte Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-irc/iroffer-dinoex/ChangeLog,v 1.3 2013/02/25 18:35:58 pinkbyte Exp $ + +*iroffer-dinoex-3.28-r1 (25 Feb 2013) + + 25 Feb 2013; Sergey Popov <pinkbyte@gentoo.org> + +iroffer-dinoex-3.28-r1.ebuild, files/iroffer-dinoex-config.patch: + Revision bump: improved config patch by Mikle Kolyada, various + locale-specific improvements by Sébastien P. wrt bug #456316 08 Feb 2013; Sergey Popov <pinkbyte@gentoo.org> files/iroffer-dinoex.init: Port reload and reconnect initscript options from sunrise ebuild diff --git a/net-irc/iroffer-dinoex/Manifest b/net-irc/iroffer-dinoex/Manifest index bb9f4be8d961..cbbde65c3a91 100644 --- a/net-irc/iroffer-dinoex/Manifest +++ b/net-irc/iroffer-dinoex/Manifest @@ -1,9 +1,24 @@ +-----BEGIN PGP SIGNED MESSAGE----- +Hash: SHA256 + AUX iroffer-dinoex-Werror.patch 498 SHA256 a475717491baac498f4865be62097bc75f31880bd5b6ff3888dbe04fc11effab SHA512 6d8b1e9410c90f635186749f0335e1de689333bcde2918453e7fd6e4ed3e917553d36cba694c1a8a4077a6e45c3019290cd56646aa39c6677802042e5ab131db WHIRLPOOL a6a8780ad4959246cecb4f9cea303222da4c76b25e04eab0c9b8dac3c41859c2f1c5e4445b3073f37170eb02dd9fd961c884850892b562f78c13f3319bc598b4 -AUX iroffer-dinoex-config.patch 2186 SHA256 303f7933ed115f620503b271cf0f4b0d92ba237ce1e9b5e5e0ce6e501669ca6d SHA512 cd769bf558db18ea8078e72b3712922c2494894392632011cc73eb1ebfe3b9727a524cb4d3ab83cc44d4f7eac6fa0092429e5d38abb33a6b1c94d75321e3e778 WHIRLPOOL 36ade7bfa85e12e1c7a71a9e369021c9f57ae777a6b57967c06bca04b767aec24435c7173b5c83274fd6ee7be7e3722743c8ae15fc1d3acd87322eb0ff12d699 +AUX iroffer-dinoex-config.patch 6876 SHA256 2f0398e2b625822d37d40dbce849e2787a13b19aadd006c8d088252007016c71 SHA512 c681e06e6b7304b4e45cd23ec21d05a6af3d57cdd2ee8786409e26068ee30f18023076266575e00c75fc01777c4b01e209075e495df1a99be27bdb357ce71d83 WHIRLPOOL b4a89274fe44cebbc4b39d8fba39085c546b7bd5e2f4bcedc697faef2d7ffbace97f1e74375bc8854f51495fd25a3fde376298911ada1eded263d44051141298 AUX iroffer-dinoex.conf 378 SHA256 e934eba1390e7492101c02dab4c3867dd9df61139063d072ce8115ef2bd23d0d SHA512 6dee05c4fdc5d8e62c9ac76406a7e85f1e944bb2b1f82237422f01002c6adceaf4f05073c3e378e3f61000652814292639640e1dcc2a0dbcd2bd68a76687d634 WHIRLPOOL a6a24945c1a144b4d4d818e0af0800673418ac29e92fc0e301d9088a7dbbe50a09a41c1c26e4bbebb13d6fd1df826e8bb757d2803302576ea19f743369d4b8a6 AUX iroffer-dinoex.init 1254 SHA256 fff56047317659f20e0f8912295982479f2ead0a9d0456f5efb557285517e687 SHA512 394f6f09f7f73a63777329cce4ce478c08ea0b3cd65c13b4cfb191972e18028ab745ffa521003830f54198ced912d4df94b3ec7fb27680fa0a6cff94a3b16ca4 WHIRLPOOL e1102b0e148d32ee9ecca8120208c347889ac5079fb125614855945031d5e2512cee0fa67826248bd588a0a53b223451cc7325724d55fb5771a411627c35026f AUX iroffer-dinoex.logrotate 317 SHA256 9857064ee0eb2f08b3d1e68d995d1f730852fc0ec0c64565cc62239f32345a0f SHA512 3f2b7c8f2041dfd2114b37552fc12e35c545f68a20017112922c98982e9b8bfb0b3eac0447649bc2bfb967e7503eead541cf564d99c48eac4888f8550f32e30c WHIRLPOOL 82ee3b4631684cc79fd743fb78f068d2d6dd981a4146a6e0334b794a8adae39c4df66160d7d38852a2af9bf56267461b60222fb5490b0aa17643410b7ca75cae DIST iroffer-dinoex-3.28.tar.gz 526729 SHA256 b96e9415f506eb7c15edec53cbeb96946739ea697fb4fea819184b1d4535c1b1 SHA512 b7653062877feee0d009700357b6b72eebf14b8db0deb2e136808cf59108008e4944093f5e811386b3678f688f3317611a50017bf8c3e212848ef88338f9b13c WHIRLPOOL d6442c02e44e84990c4cb04e15ad2b409625ad82f5a3237cdd84accf86b42ccfcf1bf5a6309fea66364acdf1b93d6ed3a8023f6a78d5f14b92f0cea27c3a86b9 +EBUILD iroffer-dinoex-3.28-r1.ebuild 2860 SHA256 583590dee11930e95f6a45dc5f2049d6906e957616276905e38734c37ca0f209 SHA512 4b2b8891b4c7f5e49f7994dd4e382768f37ef01f6934408b1b01a39959996eadef8de3b2cace33f2c0f836438d23411992201c7df451c84f882a36f91883c929 WHIRLPOOL bb652986bc8a62a0b69b7d53a9dcae9e2bdd1e1f1509edf8c7b75645cb0bd2bcd93aea3a0ded0e504373c4e0db3de7fb8ecf1e646e4c5b0135a3956c91f43079 EBUILD iroffer-dinoex-3.28.ebuild 2693 SHA256 3c26945c72cc5a856ed0ac627c2397c1c38993332656ece83e944f0337e7b587 SHA512 aeef07c26032e22e2fec5d8f8d20151e55a61a1cdab43f4ef0c00714e850ee52f6c6649339b6f72a74c3e8b57a38e83217a5dfcf103b5791214756c09f68b1b8 WHIRLPOOL 84e03a1e7c2fae4e9a66437b2963982e61daa364ceb07c23f9350140fd0f3dbbb82f6eb466ca747f3bdb2efeb3f7a651bafb5c1ae5c3b768c208371247360cf5 -MISC ChangeLog 841 SHA256 29fe4547a6cbf72a396d6d7cb4fd93c0937d930afb65ec4cd82de4c4bc5ae1f7 SHA512 9a55adb11385c70c31e0bf78ab6dc53b57c01ead58f6ba9a7c17e05dcf86fc29c0668c7749e874577cb9764cd9b85bea121a3d80d1ea3897ce910f84aecfd2f8 WHIRLPOOL a73f1c7544450d92050872678d7f795c01ee06dfb5d954ee27a1d9f045733f72aa00c4ceb6eeebb3af6dc409023f467c0e3328fcf2440692d9ba2561fbec9fb6 +MISC ChangeLog 1129 SHA256 350f3d5497bc2be68043cbc6fecca60c92a8a556bdb28ca1bd18b7f2ae73f5ea SHA512 f44a01590604d2623fa0bb8ece9dccecc7d1ee2805675c1e46ff2308007edcfb5123ca949642a8734f0a02470bd5f6db74e965997da8aac1e8fb97a99d6cb3d9 WHIRLPOOL 7bbd657b64510af0a3c2fd01b5b73092116f52502f8f23f6ec0ccec77d434a72393718cb2aababe72eaef6f060e110bf983cb3af51407a168792674e471b1fbe MISC metadata.xml 924 SHA256 2d7211f38abd446843a7a692626ac950f534cfd2ca1316c83b42a2e6e413845a SHA512 64dc490671edc6039986afdb0e5c227dbd524d44def8c2f38401436fdc037d13366212cd9fbca9e06b0ca28a41de4b8ea0cee0138e2e7e82e52b62e055d415ed WHIRLPOOL 5a3770267ebe226843f633b75353df7af4a0cf274a978e3ba6dbb469ab9163901bfc19876904fd6fca7e7c6070352dd738156ee4100cb939c86ea8ffda27b183 +-----BEGIN PGP SIGNATURE----- +Version: GnuPG v2.0.19 (GNU/Linux) + +iQEcBAEBCAAGBQJRK68TAAoJECo/aRed9267x+0IAIqVvkv4fc7RWiSioLCWw+Tp +gj1WjCyavDnZ32XTwz4gwAgsJ/hx4bmjbIw2+TvsBdErDQT49BuBLtf4zvM4pzb1 +5mPZ5rdKm3JtLqmRCUOgUJe7Ywo+cjAVvBdQiaQufeTsnMqzdsKhMf6jpizhsUSf +gMleYPgsK24UZQvjzrznKXXlDeEMR4wMd4kSD2P9zJufergPwfozysmkOR5qhGcJ ++VMZN5NMUlhZWaYpx3V2O12CnL4FTXoJsWy42SAywshIBPiFJfVyuAPc6vvEb5Ya +iWPEM4QeT9ZuMhnBhuswXO61WDEA5pYYmMbUuR9kM5aMuJYKQ9vpU/81p/0lGYk= +=kQSK +-----END PGP SIGNATURE----- diff --git a/net-irc/iroffer-dinoex/files/iroffer-dinoex-config.patch b/net-irc/iroffer-dinoex/files/iroffer-dinoex-config.patch index 3a4dd563c6a7..588c24fd687c 100644 --- a/net-irc/iroffer-dinoex/files/iroffer-dinoex-config.patch +++ b/net-irc/iroffer-dinoex/files/iroffer-dinoex-config.patch @@ -1,5 +1,93 @@ ---- sample.config.orig 2013-02-01 13:40:39.000000000 +0400 -+++ sample.config 2013-02-05 14:11:45.000000000 +0400 +diff -ru configs.orig/beispiel.config configs/beispiel.config +--- configs.orig/beispiel.config 2012-06-18 21:13:04.000000000 +0400 ++++ configs/beispiel.config 2013-02-19 22:33:33.000000000 +0400 +@@ -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 configs.orig/exemple.config configs/exemple.config +--- configs.orig/exemple.config 2012-06-18 21:13:04.000000000 +0400 ++++ configs/exemple.config 2013-02-19 22:35:24.000000000 +0400 +@@ -15,18 +15,18 @@ + ############################################################################## + ### - pid file - ### + ### Ecrit l'id du processus dans ce fichier au lancement ### +-pidfile monbot.pid ++pidfile /var/run/iroffer-dinoex/iroffer-dinoex.pid + + ############################################################################## + ### - log file - ### + ### Écrit les informations du bot dans ce fichier. ### +-logfile monbot.log ++logfile /var/log/iroffer-dinoex/mybot.log + + ############################################################################## + ### - log rotate - ### + ### Archivage du fichier de log jamais (none), 1-24 h 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 - ### +@@ -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/mybot.txt + #xdcclistfileraw + + ############################################################################## +diff -ru configs.orig/sample.config configs/sample.config +--- configs.orig/sample.config 2012-06-18 21:13:04.000000000 +0400 ++++ configs/sample.config 2013-02-19 22:31:53.000000000 +0400 @@ -15,18 +15,18 @@ ############################################################################## ### - pid file - ### diff --git a/net-irc/iroffer-dinoex/iroffer-dinoex-3.28-r1.ebuild b/net-irc/iroffer-dinoex/iroffer-dinoex-3.28-r1.ebuild new file mode 100644 index 000000000000..2445c4e02de2 --- /dev/null +++ b/net-irc/iroffer-dinoex/iroffer-dinoex-3.28-r1.ebuild @@ -0,0 +1,121 @@ +# Copyright 1999-2013 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/net-irc/iroffer-dinoex/iroffer-dinoex-3.28-r1.ebuild,v 1.1 2013/02/25 18:35:58 pinkbyte Exp $ + +EAPI=5 + +PLOCALES="de en fr it" +PLOCALE_BACKUP="en" + +inherit eutils l10n 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 curl debug geoip gnutls +http kqueue +memsave ruby ssl +telnet upnp" + +REQUIRED_USE=" + admin? ( http ) + gnutls? ( ssl ) +" + +# Dependency on NSS should be optional, but it causes automagic, so it is hard for now. +# chroot? ( dev-libs/nss ) +# $(usex chroot '' '-no-chroot' '' '')\ +RDEPEND="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 ) )" + +DEPEND="${RDEPEND}" + +pkg_setup() { + enewgroup iroffer + enewuser iroffer -1 -1 -1 iroffer +} + +src_prepare() { + epatch "${FILESDIR}/${PN}-config.patch"\ + "${FILESDIR}/${PN}-Werror.patch" + l10n_find_plocales_changes "" 'help-admin-' '.txt' +} + +do_configure() { + echo ./Configure $* + ./Configure $* || die "configure phase failed" +} + +src_configure() { + do_configure \ + PREFIX="${EPREFIX}/usr"\ + $(usex debug '-profiling' '' '' '')\ + $(usex debug '-debug' '' '' '')\ + $(usex geoip '-geoip' '' '' '')\ + $(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)" $(l10n_get_locales) +} + +myloc() { + emake DESTDIR="${D}" install-${1} + + dodoc help-admin-${1}.txt + use http && dohtml 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() { + l10n_for_each_locale_do 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 +} |