diff options
author | Tim Harder <radhermit@gentoo.org> | 2013-03-02 06:29:28 +0000 |
---|---|---|
committer | Tim Harder <radhermit@gentoo.org> | 2013-03-02 06:29:28 +0000 |
commit | 0c9663192a3df73d0f070af6a499c27399fa2e36 (patch) | |
tree | b655ad6bb7bd791df4172f6fa033b413d077df91 /net-nntp/nzbget | |
parent | Version bump. (diff) | |
download | historical-0c9663192a3df73d0f070af6a499c27399fa2e36.tar.gz historical-0c9663192a3df73d0f070af6a499c27399fa2e36.tar.bz2 historical-0c9663192a3df73d0f070af6a499c27399fa2e36.zip |
Remove old.
Package-Manager: portage-2.2.0_alpha163/cvs/Linux x86_64
Manifest-Sign-Key: 0x4AB3E85B4F064CA3
Diffstat (limited to 'net-nntp/nzbget')
-rw-r--r-- | net-nntp/nzbget/ChangeLog | 6 | ||||
-rw-r--r-- | net-nntp/nzbget/Manifest | 22 | ||||
-rw-r--r-- | net-nntp/nzbget/nzbget-10.0_pre562.ebuild | 111 | ||||
-rw-r--r-- | net-nntp/nzbget/nzbget-9.0.ebuild | 110 | ||||
-rw-r--r-- | net-nntp/nzbget/nzbget-9.1_pre538.ebuild | 111 |
5 files changed, 13 insertions, 347 deletions
diff --git a/net-nntp/nzbget/ChangeLog b/net-nntp/nzbget/ChangeLog index a85f67f42edb..ce8981e38c63 100644 --- a/net-nntp/nzbget/ChangeLog +++ b/net-nntp/nzbget/ChangeLog @@ -1,6 +1,10 @@ # ChangeLog for net-nntp/nzbget # Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/net-nntp/nzbget/ChangeLog,v 1.58 2013/03/02 06:28:38 radhermit Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-nntp/nzbget/ChangeLog,v 1.59 2013/03/02 06:29:27 radhermit Exp $ + + 02 Mar 2013; Tim Harder <radhermit@gentoo.org> -nzbget-9.0.ebuild, + -nzbget-9.1_pre538.ebuild, -nzbget-10.0_pre562.ebuild: + Remove old. *nzbget-10.0_pre567 (02 Mar 2013) diff --git a/net-nntp/nzbget/Manifest b/net-nntp/nzbget/Manifest index 07cb8d700ff8..2f224dc08a05 100644 --- a/net-nntp/nzbget/Manifest +++ b/net-nntp/nzbget/Manifest @@ -7,27 +7,21 @@ AUX nzbget-9.0_pre477-buffer-overflows.patch 1783 SHA256 687318fa04f1446abcd54c8 AUX nzbget.confd 337 SHA256 a2a305dc1ef482d82041c5261dba235f6faae229d894785f528d87c9c0e452b8 SHA512 0f9a0d62ac6ea35703ebd64ec68057596d63fd5957afa2d3bcd18b4e8db4b24e78d060dc36cf90dbd2f604b4c6f107fb8e59ff779b6865cd362e71a0666d6c56 WHIRLPOOL 220c7638c0f62f4cf4314e40b022c34c41a7124d6bf41bdf455948e2e862715413d62cc4750db63967b24f3cbf1b5d13cd3bcea4c016ee5611f5226a9f1bd750 AUX nzbget.initd 921 SHA256 5e55313eae69b0b77f4332c2ff6e74085295f6fc8469e03f53f9a425d0d19716 SHA512 e00f04e9eea6bbcdeb8b7e3e91ca93db36fbfec2cd6e26d72648fe497b50dbb29a99a43ba143682b80fc4d37d46e9db766f0a0fd0902355dceb3f9ab93051427 WHIRLPOOL 3f726527816518cc50a94468f116874892e0cc7f94bde8349b1c29195e637ea51730ea26b0d429e0e15920f9e90d23fb68db1929c28ddeb1672d9e9f214b519f DIST nzbget-0.8.0.tar.gz 321351 SHA256 646939596097fafdeb0b4064b433463419e7d0d9af7fe32f6689d6b95ad77d95 SHA512 ea9830effcfece3cc60592924840de3f65cf3c5581ed5afbc97c819c248c6b703a228e71bfb5997947c52c7efa84a5aa5457f7a7babc97ffae5b729179463ab3 WHIRLPOOL 692013bbf84c47f1bd22bdfce9554e3f5b2fb42892bf5b36e1a4612be7f3e85bad64897dfa48fa69ca96d2e9bd2fe923fca6171bf8843b96986f9ec55f949e2b -DIST nzbget-10.0-testing-r562.tar.gz 661735 SHA256 dab1de5b1a240eb432ef8ee1290914e30a43529f883dad19bf3ea7f096175527 SHA512 71c71d6b668bc704125e73cf1ccacb01983fa3d6ccd41487ecc71b7b854afea4baf42bbaca4181dfdfbf5bd5fae6a71f6c3806ce5f5d7e547d5f9ea27cabfd8f WHIRLPOOL 405ad3f2bc045caea2f30884b84687ef057d66f706ab462a26e791c9f6aa409cef19138ea0a562b94a077eacd65b4e67088b760e830a02df65b21127d4079e24 DIST nzbget-10.0-testing-r567.tar.gz 661712 SHA256 2b28522f5973d2ca68d3f40d418ff13147e2c4b457110c7c98c67466a70a2451 SHA512 4dc6db4857e04cf5140dc60ac7b2546515869f1fb230dcf1a084c29304e159844f828b4400d529eb9bf254a761f7ee51e913f6ff986b6ea1d3169a49ebfb8f46 WHIRLPOOL 3a5456cb347cf26f3c4a6a9ed2488f7d26f138c2e355828037309a3dd1761cd6de9f1bd98dae14d4c894323f62ec829dc6dd68c5d70271d23f6939170f919605 -DIST nzbget-9.0.tar.gz 656166 SHA256 40f9baefcd090f81a000149a79358a2639c5154579c026dba4317c566dd19ee4 SHA512 18786ae6d9b8b39d81732c00551077a1536170c3647013586d8c3eca5e680c84d9247944e838217af8a46ab0cae78c6982377cd11adcd0fd6ce18a199331f45b WHIRLPOOL 97c1f1162c2aee7f0ea09893d0ebf89dc2f1289ebfdb9b7f121c394a7270adf3be66e954182add088a5893057f1e273e80c555dccbef72fdd0473d05e8f8d5b0 -DIST nzbget-9.1-testing-r538.tar.gz 658787 SHA256 801cabb767663f31dd16595d0efba441e71c57d27e51552b751f77a3a148b99b SHA512 cce3a0a6ce9ff28da438685a7cfb20d05488c35a9d671829afae5233f3b56712c05eb66b535ed1383d4fb7fd1191efe7a875696ea271977fd5a47502a5193f58 WHIRLPOOL 1788f337d72652f1c8c38a83100b305db25106d26b7e6526d9b88c5c51a9aaf5d9fab12c78d3c4a81d290b44fea650c7ba82b8fcfcbd6a83d48de202b5566978 DIST nzbget-9.1.tar.gz 658935 SHA256 0cd20e1c78359c720862c19c5fd908dc10d6b54658441b86f9caaa71f66e5633 SHA512 902cb2a261d551dad238d7d4751cd47a559e80bf40a63bfd28e2701324f7d29df976e00001606ba850cc7d9a45e1ccb1f03240b08aa2acac0e0490b8324c75b8 WHIRLPOOL 47e8ade8beef8ea4159a9606c7b805a5708ee93a07e4077111f9c56e47f14e116839b5fab62d721801a492b3749ff170f820581327126cbcc302e94d02c5cd98 EBUILD nzbget-0.8.0.ebuild 2516 SHA256 88a1c05bb61435371acd3ed782181f969612364142cd9e37ca46196d3170ce6d SHA512 c5fdf279a847808d667d30e76e57d6e31471f08822699dbb66ce2eab3c162655c16403402dddfbaa5f705252618385dfa44473a0ef18d46ac84d7849201511de WHIRLPOOL ba4a08d05b9a1fa50398d3f33c05edfd2ac9d909441235d88b515e0a5b43edf5b8bc760d983c63dd6fe43709dcd0a2dafe5c97a1a99b6f3a34c97e6262e57e77 -EBUILD nzbget-10.0_pre562.ebuild 2750 SHA256 9b1449157ccfcbfad9c0f15f765471ab127341c9f5ebd073a0ea4ed48e69ca7e SHA512 f313d50aa353f9c914ef84719c8a0ab09b1988e705577d4d149e90664f6a2ea72f9968a36c3b8629c4f1d4df44c5d4ffd3ae2885784a638083dfd5e0d88f7b5c WHIRLPOOL c258f218adfddfd172e71494908855bcc427c4d9db153f7827cc1a03a68cc97227582c2521b2dfecad71932cdd8373f69786db8d1fa1fd5f88fc811dca12c009 EBUILD nzbget-10.0_pre567.ebuild 2750 SHA256 9b048bf53631f5594d3f20fecfe154e637d559706c428929c000d7dbf18f8cf7 SHA512 8ba7b56ba69c13edcad774675903250ea6dd33e1584af79a71f1cf979a7da5057efaf4522fcd364acd5c0115feb7028788f68d90f582f415a055ead741f30913 WHIRLPOOL 8b22729a4467f3ffeee67003a8b8a79e2c923e53d1b79545b787290b7c8fbf5026b33dc0fe778cb60e864222f45d2ca2fbf3a24dc7f202c76180a7693598691f -EBUILD nzbget-9.0.ebuild 2707 SHA256 1ccc6cd8e55dccc92342cf7303b5aaf3b9e4d548f34203bb1c34ffc84c1acf97 SHA512 b4b98babde859e27ce84417db0fda83560e4451be4cd5f234f6f6bb5bc1f2d561f5d4a66f0c84eb055747cadd4c89f1a1c93d95c917cdf71481f53a534740054 WHIRLPOOL 82b8ecee295d5ef0a303a90e1a2b9f367efca66376fb3a6460e6e39d23453685bdeda16797091e01308471bea41dea03d957919865ef1a62ff6838e72ea5aaca EBUILD nzbget-9.1.ebuild 2744 SHA256 ff3ed2ce6cada22d5531e862ea63f6afa2aa0f42ab897a893c310e34cfc6131b SHA512 7c438ee85745a2d7d29fcbdb2af0dd15e2354ba731b56ca8fe447a52e6896206ce57d182f897d741aba0e0bfceef86c8e471f42e9c11a07e73c9bfde5f266d29 WHIRLPOOL 8aa6b8f080740e690b23f62e4064f7f225cc4d91470ab0fe51b9ae9ca53dc97e5c1980f8b710a99a2d5a9bbafad0ba962a30ffbe5a87f7ed8b911191f496a61e -EBUILD nzbget-9.1_pre538.ebuild 2751 SHA256 10e99f35e4bbd5becf5461b090954f4306537a722eab94ec12a4df0e3f65c3a9 SHA512 d9e8d7ec7fba4a920ae6084e996df3655e41e89675765cfb8ad40c0e496291d6bee059e2305400190e3251e5d3c6d475ad4594ff1fb3d2da4f2cd290f40e5c17 WHIRLPOOL ffe32a62201794f999a24196c90229f3b6f0f7e452d6aae025fd8dbabdab002d45aac5bc29e6fdcfcde7fbdc64a894925de6d9b8caf918509c3e8760bf26d25c -MISC ChangeLog 9075 SHA256 ee58b334335ffd0d588c07f877bad38b2547ecc9af1188f673c786b87ba5928e SHA512 55698226a559c6680ade187efb128b2696d6be92c85ef7cdda794856485aa0ff832ebed0e077bec9f2399f188891fe7cf37541cafad80b3f6906cc199fd8765c WHIRLPOOL be7d2fcef149127b0719bbe0b0563d0261fc52e3671b0dd4abc3b395c67c74904c7e573c08f0fc42d0839da0bff3bc99471d0aec7f426f0dcd0514a96124ccb4 +MISC ChangeLog 9216 SHA256 5e60e3dade609eb817f4315da7b1c848832d293914f1757f620bbabdc1bfe08e SHA512 979f7c751c6850469364912ec30de3a37f098f239e7103f2c1b91c5930a3e922de852764b284307b5ed77d464fb9ffb84e8feba9a2b561830213ac5c89fa85e6 WHIRLPOOL 4aa859c24409abe73e82cb4e6f00b3648df5d4d50d1194810355dfdfdc90fca1ede49d9364974ee3ec9fc71852e014d81990f1857ceda55f860f8b0965039510 MISC metadata.xml 539 SHA256 48f9bc14033c2a447322b31e146267269726e47b8925fed04eb763fae4655e31 SHA512 bb80f64f00b908a589e8c9aad6e7be82fe2d44507cf7cb625c2b718f28a62dd86b6e530be16e0cae1209109b5289829211d120db24b5c2249263a8227b18fd26 WHIRLPOOL adc2d684e0c54ad489401de1ab2a7a76307ccf7bccfd80b00aed81b3ba09983f933469b7bcb126372616e5eab52d4caa9564a9cd3f14e713acb84e35605fc2f8 -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.19 (GNU/Linux) -iQEcBAEBCAAGBQJRMZwXAAoJEEqz6FtPBkyj6KEH/idaC6f5Vu7Vq2e/FydAuOAm -CNia1maQGoSqarZvh07CExHffeuQ1AHA3eCROyEQmN6h9vUZ+gx61WbCZCiYAJE2 -cOc8FsCS66D/CLLjMMZxSKwCPrDtfEmSRQebbNCmmg2zP/RXKslZS6AmEhKgWzNZ -efK46db4erz4uRKikBKMeowrjOmQgtDJ+9eGGdskNbdK3gei8lhDTxdct8aQBGem -3jitFRJodJ0FlDfuPVW7dARmfT1yQqO8PmVG4JOPSkfdb75h34X6OMiTgjarkqBv -NcVoxlBryimYWQhbUfN+Zw0RuH9IpZkXnRoS6y6YQNof6YwPEXbGcPwf89uUeHo= -=PVBC +iQEcBAEBCAAGBQJRMZxIAAoJEEqz6FtPBkyjBNUIAJfe5FrPhI4U4lww3OXXyIp1 +leeECZ6VIDUGlnnnfYLD7jXw3hC89NNHFYdMnTxLGuCTnTrA+f78gshF0GQc2v7e +Xe3NBaI9BgAlrpLaNHytbsH55mmgzHYI9aP/P560qNTx09pX19jc63krMgqzdh9Y +xlhHjbuWq/EYkWG+lVh9AbL7sXIyEFF25Nzoh5Sj7A8sZ2EGaLjiTOpMQOMjA9OO +SL6EG7RrWfBLiiJvdXSAopZDSz5uvglQupT65bgbsMiULiRwnAxT6l4M5ARWxQxe +QwXkvc+2hGWWQIRQPqiEk6L3DEmSbFisdCtO/FSc0N6o1t92V8x3zTSxtkSF5L4= +=2mlg -----END PGP SIGNATURE----- diff --git a/net-nntp/nzbget/nzbget-10.0_pre562.ebuild b/net-nntp/nzbget/nzbget-10.0_pre562.ebuild deleted file mode 100644 index 7bb26ee45427..000000000000 --- a/net-nntp/nzbget/nzbget-10.0_pre562.ebuild +++ /dev/null @@ -1,111 +0,0 @@ -# Copyright 1999-2013 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/net-nntp/nzbget/nzbget-10.0_pre562.ebuild,v 1.1 2013/02/15 09:11:05 radhermit Exp $ - -EAPI=5 - -inherit eutils autotools user - -MY_P=${P/_pre/-testing-r} - -DESCRIPTION="A command-line based binary newsgrapper supporting .nzb files" -HOMEPAGE="http://nzbget.sourceforge.net/" -SRC_URI="mirror://sourceforge/${PN}/${MY_P}.tar.gz" - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="~amd64 ~ppc ~x86" -IUSE="debug gnutls ncurses parcheck ssl zlib " - -RDEPEND="dev-libs/libxml2 - ncurses? ( sys-libs/ncurses ) - parcheck? ( - app-arch/libpar2 - dev-libs/libsigc++:2 - ) - ssl? ( - gnutls? ( net-libs/gnutls ) - !gnutls? ( dev-libs/openssl ) - ) - zlib? ( sys-libs/zlib )" -DEPEND="${RDEPEND} - virtual/pkgconfig" - -DOCS=( AUTHORS ChangeLog README nzbget.conf ) - -S=${WORKDIR}/${P/_pre*/-testing} - -src_prepare() { - sed -i 's:^PostProcess=.*:#PostProcess=/usr/share/nzbget/nzbget-postprocess.sh:' \ - nzbget.conf || die - - sed -e 's:^MainDir=.*:MainDir=/var/lib/nzbget:' \ - -e 's:^LockFile=.*:LockFile=/run/nzbget/nzbget.pid:' \ - -e 's:^LogFile=.*:LogFile=/var/log/nzbget/nzbget.log:' \ - "${S}"/nzbget.conf > "${S}"/nzbgetd.conf || die - - sed -i "/^dist_doc_DATA/d" Makefile.am || die - - epatch "${FILESDIR}"/${PN}-0.7.0-underlinking.patch - epatch "${FILESDIR}"/${PN}-9.0_pre477-buffer-overflows.patch - - eautoreconf -} - -src_configure() { - econf \ - $(use_enable debug) \ - $(use_enable ncurses curses) \ - $(use_enable parcheck) \ - --disable-libpar2-bugfixes-check \ - $(use_enable ssl tls) \ - $(use_enable zlib gzip) \ - --with-tlslib=$(usex gnutls GnuTLS OpenSSL) -} - -src_install() { - default - - # remove unneeded service script - rm "${D}"/usr/sbin/nzbgetd || die - - insinto /etc - doins nzbget.conf - doins nzbgetd.conf - - exeinto /usr/share/nzbget - doexe nzbget-postprocess.sh - - # remove duplicate script/config - rm "${D}"/usr/share/nzbget/nzbget.conf - rm "${D}"/usr/bin/nzbget-postprocess.sh - - keepdir /var/lib/nzbget/{dst,nzb,queue,tmp} - keepdir /var/log/nzbget - - newinitd "${FILESDIR}"/nzbget.initd nzbget - newconfd "${FILESDIR}"/nzbget.confd nzbget -} - -pkg_preinst() { - enewgroup nzbget - enewuser nzbget -1 -1 /var/lib/nzbget nzbget - - fowners nzbget:nzbget /var/lib/nzbget/{dst,nzb,queue,tmp} - fperms 750 /var/lib/nzbget/{queue,tmp} - fperms 770 /var/lib/nzbget/{dst,nzb} - - fowners nzbget:nzbget /var/log/nzbget - fperms 750 /var/log/nzbget - - fowners root:nzbget /etc/nzbgetd.conf - fperms 640 /etc/nzbgetd.conf -} - -pkg_postinst() { - elog - elog "Please add users that you want to be able to use the system-wide" - elog "nzbget daemon to the nzbget group. To access the daemon run nzbget" - elog "with the --configfile /etc/nzbgetd.conf option." - elog -} diff --git a/net-nntp/nzbget/nzbget-9.0.ebuild b/net-nntp/nzbget/nzbget-9.0.ebuild deleted file mode 100644 index f19eb44d09de..000000000000 --- a/net-nntp/nzbget/nzbget-9.0.ebuild +++ /dev/null @@ -1,110 +0,0 @@ -# Copyright 1999-2013 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/net-nntp/nzbget/nzbget-9.0.ebuild,v 1.2 2013/01/08 18:33:58 radhermit Exp $ - -EAPI="5" - -inherit eutils autotools user - -MY_P=${P/_pre/-testing-r} - -DESCRIPTION="A command-line based binary newsgrapper supporting .nzb files" -HOMEPAGE="http://nzbget.sourceforge.net/" -SRC_URI="mirror://sourceforge/${PN}/${MY_P}.tar.gz" - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="~amd64 ~ppc ~x86" -IUSE="debug gnutls ncurses parcheck ssl zlib " - -RDEPEND="dev-libs/libxml2 - ncurses? ( sys-libs/ncurses ) - parcheck? ( - app-arch/libpar2 - dev-libs/libsigc++:2 - ) - ssl? ( - gnutls? ( net-libs/gnutls ) - !gnutls? ( dev-libs/openssl ) - ) - zlib? ( sys-libs/zlib )" -DEPEND="${RDEPEND} - virtual/pkgconfig" - -DOCS=( AUTHORS ChangeLog README nzbget.conf ) - -S=${WORKDIR}/${P/_pre*/-testing} - -src_prepare() { - sed -i 's:^PostProcess=.*:#PostProcess=/usr/share/nzbget/nzbget-postprocess.sh:' \ - nzbget.conf || die - - sed -e 's:^MainDir=.*:MainDir=/var/lib/nzbget:' \ - -e 's:^LockFile=.*:LockFile=/run/nzbget/nzbget.pid:' \ - -e 's:^LogFile=.*:LogFile=/var/log/nzbget/nzbget.log:' \ - "${S}"/nzbget.conf > "${S}"/nzbgetd.conf || die - - sed -i "/^dist_doc_DATA/d" Makefile.am || die - - epatch "${FILESDIR}"/${PN}-0.7.0-underlinking.patch - epatch "${FILESDIR}"/${PN}-9.0_pre477-buffer-overflows.patch - - eautoreconf -} - -src_configure() { - econf \ - $(use_enable debug) \ - $(use_enable ncurses curses) \ - $(use_enable parcheck) \ - $(use_enable ssl tls) \ - $(use_enable zlib gzip) \ - --with-tlslib=$(usex gnutls GnuTLS OpenSSL) -} - -src_install() { - default - - # remove unneeded service script - rm "${D}"/usr/sbin/nzbgetd || die - - insinto /etc - doins nzbget.conf - doins nzbgetd.conf - - exeinto /usr/share/nzbget - doexe nzbget-postprocess.sh - - # remove duplicate script/config - rm "${D}"/usr/share/nzbget/nzbget.conf - rm "${D}"/usr/bin/nzbget-postprocess.sh - - keepdir /var/lib/nzbget/{dst,nzb,queue,tmp} - keepdir /var/log/nzbget - - newinitd "${FILESDIR}"/nzbget.initd nzbget - newconfd "${FILESDIR}"/nzbget.confd nzbget -} - -pkg_preinst() { - enewgroup nzbget - enewuser nzbget -1 -1 /var/lib/nzbget nzbget - - fowners nzbget:nzbget /var/lib/nzbget/{dst,nzb,queue,tmp} - fperms 750 /var/lib/nzbget/{queue,tmp} - fperms 770 /var/lib/nzbget/{dst,nzb} - - fowners nzbget:nzbget /var/log/nzbget - fperms 750 /var/log/nzbget - - fowners root:nzbget /etc/nzbgetd.conf - fperms 640 /etc/nzbgetd.conf -} - -pkg_postinst() { - elog - elog "Please add users that you want to be able to use the system-wide" - elog "nzbget daemon to the nzbget group. To access the daemon run nzbget" - elog "with the --configfile /etc/nzbgetd.conf option." - elog -} diff --git a/net-nntp/nzbget/nzbget-9.1_pre538.ebuild b/net-nntp/nzbget/nzbget-9.1_pre538.ebuild deleted file mode 100644 index d092fde7ab71..000000000000 --- a/net-nntp/nzbget/nzbget-9.1_pre538.ebuild +++ /dev/null @@ -1,111 +0,0 @@ -# Copyright 1999-2013 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/net-nntp/nzbget/nzbget-9.1_pre538.ebuild,v 1.2 2013/01/12 23:39:25 radhermit Exp $ - -EAPI="5" - -inherit eutils autotools user - -MY_P=${P/_pre/-testing-r} - -DESCRIPTION="A command-line based binary newsgrapper supporting .nzb files" -HOMEPAGE="http://nzbget.sourceforge.net/" -SRC_URI="mirror://sourceforge/${PN}/${MY_P}.tar.gz" - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="~amd64 ~ppc ~x86" -IUSE="debug gnutls ncurses parcheck ssl zlib " - -RDEPEND="dev-libs/libxml2 - ncurses? ( sys-libs/ncurses ) - parcheck? ( - app-arch/libpar2 - dev-libs/libsigc++:2 - ) - ssl? ( - gnutls? ( net-libs/gnutls ) - !gnutls? ( dev-libs/openssl ) - ) - zlib? ( sys-libs/zlib )" -DEPEND="${RDEPEND} - virtual/pkgconfig" - -DOCS=( AUTHORS ChangeLog README nzbget.conf ) - -S=${WORKDIR}/${P/_pre*/-testing} - -src_prepare() { - sed -i 's:^PostProcess=.*:#PostProcess=/usr/share/nzbget/nzbget-postprocess.sh:' \ - nzbget.conf || die - - sed -e 's:^MainDir=.*:MainDir=/var/lib/nzbget:' \ - -e 's:^LockFile=.*:LockFile=/run/nzbget/nzbget.pid:' \ - -e 's:^LogFile=.*:LogFile=/var/log/nzbget/nzbget.log:' \ - "${S}"/nzbget.conf > "${S}"/nzbgetd.conf || die - - sed -i "/^dist_doc_DATA/d" Makefile.am || die - - epatch "${FILESDIR}"/${PN}-0.7.0-underlinking.patch - epatch "${FILESDIR}"/${PN}-9.0_pre477-buffer-overflows.patch - - eautoreconf -} - -src_configure() { - econf \ - $(use_enable debug) \ - $(use_enable ncurses curses) \ - $(use_enable parcheck) \ - --disable-libpar2-bugfixes-check \ - $(use_enable ssl tls) \ - $(use_enable zlib gzip) \ - --with-tlslib=$(usex gnutls GnuTLS OpenSSL) -} - -src_install() { - default - - # remove unneeded service script - rm "${D}"/usr/sbin/nzbgetd || die - - insinto /etc - doins nzbget.conf - doins nzbgetd.conf - - exeinto /usr/share/nzbget - doexe nzbget-postprocess.sh - - # remove duplicate script/config - rm "${D}"/usr/share/nzbget/nzbget.conf - rm "${D}"/usr/bin/nzbget-postprocess.sh - - keepdir /var/lib/nzbget/{dst,nzb,queue,tmp} - keepdir /var/log/nzbget - - newinitd "${FILESDIR}"/nzbget.initd nzbget - newconfd "${FILESDIR}"/nzbget.confd nzbget -} - -pkg_preinst() { - enewgroup nzbget - enewuser nzbget -1 -1 /var/lib/nzbget nzbget - - fowners nzbget:nzbget /var/lib/nzbget/{dst,nzb,queue,tmp} - fperms 750 /var/lib/nzbget/{queue,tmp} - fperms 770 /var/lib/nzbget/{dst,nzb} - - fowners nzbget:nzbget /var/log/nzbget - fperms 750 /var/log/nzbget - - fowners root:nzbget /etc/nzbgetd.conf - fperms 640 /etc/nzbgetd.conf -} - -pkg_postinst() { - elog - elog "Please add users that you want to be able to use the system-wide" - elog "nzbget daemon to the nzbget group. To access the daemon run nzbget" - elog "with the --configfile /etc/nzbgetd.conf option." - elog -} |