diff options
author | Tim Harder <radhermit@gentoo.org> | 2015-08-28 02:57:08 -0400 |
---|---|---|
committer | Tim Harder <radhermit@gentoo.org> | 2015-08-28 02:57:08 -0400 |
commit | d0b14557188ff42ecb2cf870c7b8c64eacf0d1fc (patch) | |
tree | 1cff5bb955660e97c4d07393186d10ba5b17a653 /net-nntp | |
parent | net-nntp/slrn: remove old (diff) | |
download | gentoo-d0b14557188ff42ecb2cf870c7b8c64eacf0d1fc.tar.gz gentoo-d0b14557188ff42ecb2cf870c7b8c64eacf0d1fc.tar.bz2 gentoo-d0b14557188ff42ecb2cf870c7b8c64eacf0d1fc.zip |
net-nntp/nzbget: remove old
Diffstat (limited to 'net-nntp')
-rw-r--r-- | net-nntp/nzbget/Manifest | 5 | ||||
-rw-r--r-- | net-nntp/nzbget/files/nzbget-11.0-header.patch | 10 | ||||
-rw-r--r-- | net-nntp/nzbget/files/nzbget-13.0_pre1042-gzip-endif.patch | 18 | ||||
-rw-r--r-- | net-nntp/nzbget/files/nzbget-9.0_pre477-buffer-overflows.patch | 42 | ||||
-rw-r--r-- | net-nntp/nzbget/nzbget-10.2.ebuild | 110 | ||||
-rw-r--r-- | net-nntp/nzbget/nzbget-11.0.ebuild | 108 | ||||
-rw-r--r-- | net-nntp/nzbget/nzbget-12.0-r1.ebuild | 106 | ||||
-rw-r--r-- | net-nntp/nzbget/nzbget-13.0.ebuild | 108 | ||||
-rw-r--r-- | net-nntp/nzbget/nzbget-14.0.ebuild | 107 |
9 files changed, 0 insertions, 614 deletions
diff --git a/net-nntp/nzbget/Manifest b/net-nntp/nzbget/Manifest index 43534e41f468..aa2c14fc093d 100644 --- a/net-nntp/nzbget/Manifest +++ b/net-nntp/nzbget/Manifest @@ -1,7 +1,2 @@ -DIST nzbget-10.2.tar.gz 671808 SHA256 c9b878744c162e7721ffc8b048a2e4550a8ed8da6e706ee4cbd026ed2d612ec2 SHA512 be37d8a3a1a7899885a4186dba3bf5cee46ef325c60a0e09e9102a38f5b7694bf6e02d0794cb68a226111f4813c4d61354790710340b446edca5216f3c441b01 WHIRLPOOL 14e82696dc410caedba4b56f4c0dbab11533b981b2e5d98440de47467982d14817cb697893c0eedef4095b0dffb821bf5a878db86928b1df2afb6b88065a1990 -DIST nzbget-11.0.tar.gz 694197 SHA256 27abacf6c604969dc987b7e50689caef22a65dbb1690b020b0c6d147ae123b3d SHA512 ea3d16abb1cb0b31691c9ce5493276c6e5432f72c52ad05a7fc8ed72aafd251a725d4c87454430243cea6d79d1bd19fdfad8699727a7bd44917ad1d7bf75e323 WHIRLPOOL 5fec598b9c4441873b8d220454fb911c99e0a52a3ab45220583bced347918175cdc7a348fbddd85b2514798d4aa711941932d2fcb0df3cb9f59355070ecc5be7 -DIST nzbget-12.0.tar.gz 1114126 SHA256 023c4e3b9c7e920d9ea72b60135b438ce13543454f79984c06fd15365b9a882e SHA512 2b6be81ea60108fdb609738eb719e98af97ffcab706a5c38b6b668ff85d42609f5a3eb85f0e2dc97547bf88ef249fa9060ef4583c0b57ac7fb39e139fa897294 WHIRLPOOL 62fcdb1d9bf9a39f52aef1087ecfcc5158089a73955e357288ab6bb387c7fd0987a8178ece2424634e28478af29fdf086b622730b93771970d7f297bfe11a5be -DIST nzbget-13.0.tar.gz 1229936 SHA256 666f5244f31f10333a18450e7a6c1ac729ac68594042236711ba99dd32e78f8e SHA512 f7b38002551a7580267f47f0fa902744c27ed497b4f2a53c34c1ac463e3d54e25c9f6b9e59ac1b8861a3f7f933fcb5d0badd3819be15cc52d615f086c6297377 WHIRLPOOL eae4a4281ff06f8d3d816f913a43f4d07331a948aae7181f9e7e365a8132ee39765626a5a11926b1078db69655146620c7690952101ab128999e0e98046bf50e -DIST nzbget-14.0.tar.gz 1333744 SHA256 41d243617f3523dcba86676ff1193fa361562aecdfa100ebc01bf57bc26d38e5 SHA512 98433a5bb6ca3b06bbd3d67fbd12c96a84140fb1ae64b9001dec17b55d2ac1cb25e7e1bd0849e0b7bdbdc03243b4b9e7b2fb7b3ecade67bd98376504e3822225 WHIRLPOOL 02e07e18a81f215ec9df540f91a6487a45220d7e72d73f490754ffc1b98ae40bd11ab174e3b5044de1e9faadc67c396791183d27d4614d9933eecf3766ef065a DIST nzbget-14.1.tar.gz 1332334 SHA256 a16b816b61f7035cc373e9b77094ca474d5b7b7f7ceff5fa8818249181db4b18 SHA512 fae938529bb3968c0161f63ec3af07f844a8128b61abf6298457a4878ac0d47541d76730c8a068509fa091b102de07c9d28dcd668a8192fcfac60980f69be56d WHIRLPOOL 9e9636b67d0af7780d2cc8f897465f5a2e23cd8695b3bd982e3e9f78d68adb34f84faf59253044c7b2f95db737cf59207b35cf312d1f1825fe4b9ecce2e4014f DIST nzbget-14.2.tar.gz 1332612 SHA256 bb24afb47dc01766c5e5c02d7565190082c6e13ffed565969a2ec52e21104677 SHA512 0e1e9c1307927f6ac4772d9138901893a9782fad137756ca40617ea7e8dd7946f2927f3f5303d676d09920de0a005cb1313292fda0c5d0288d73fc8e0f949516 WHIRLPOOL 7fb9c5c44515e1ed4a02213af6f8a13e41452a85a710ba9e59483c8c95b9d9bc1f2c475f81d0a75ab982292fccd5ce797f2396fe09ec7339d31ea551f3c36a4e diff --git a/net-nntp/nzbget/files/nzbget-11.0-header.patch b/net-nntp/nzbget/files/nzbget-11.0-header.patch deleted file mode 100644 index ad65208b61d1..000000000000 --- a/net-nntp/nzbget/files/nzbget-11.0-header.patch +++ /dev/null @@ -1,10 +0,0 @@ ---- nzbget-11.0/ParCoordinator.cpp -+++ nzbget-11.0/ParCoordinator.cpp -@@ -35,6 +35,7 @@ - #include <string.h> - #include <stdio.h> - #include <stdarg.h> -+#include <ctype.h> - #ifdef WIN32 - #include <direct.h> - #else diff --git a/net-nntp/nzbget/files/nzbget-13.0_pre1042-gzip-endif.patch b/net-nntp/nzbget/files/nzbget-13.0_pre1042-gzip-endif.patch deleted file mode 100644 index be09a1e9dda3..000000000000 --- a/net-nntp/nzbget/files/nzbget-13.0_pre1042-gzip-endif.patch +++ /dev/null @@ -1,18 +0,0 @@ -Index: daemon/util/Util.cpp -=================================================================== ---- daemon/util/Util.cpp (revision 1046) -+++ daemon/util/Util.cpp (working copy) -@@ -2368,6 +2368,7 @@ - - return zlError; - } -+#endif - - Tokenizer::Tokenizer(const char* szDataString, const char* szSeparators) - { -@@ -2423,5 +2424,3 @@ - } - return szToken; - } -- --#endif diff --git a/net-nntp/nzbget/files/nzbget-9.0_pre477-buffer-overflows.patch b/net-nntp/nzbget/files/nzbget-9.0_pre477-buffer-overflows.patch deleted file mode 100644 index ca26fc141bc2..000000000000 --- a/net-nntp/nzbget/files/nzbget-9.0_pre477-buffer-overflows.patch +++ /dev/null @@ -1,42 +0,0 @@ ---- nzbget-9.0-testing/RemoteClient.cpp -+++ nzbget-9.0-testing/RemoteClient.cpp -@@ -541,20 +541,20 @@ - { - if (szParameters[0] == '\0') - { -- strncat(szParameters, " (", 1024); -+ strncat(szParameters, " (", sizeof(szParameters) - strlen(szParameters) - 1); - } - else - { -- strncat(szParameters, ", ", 1024); -+ strncat(szParameters, ", ", sizeof(szParameters) - strlen(szParameters) - 1); - } - NZBParameter* pNZBParameter = *it; -- strncat(szParameters, pNZBParameter->GetName(), 1024); -- strncat(szParameters, "=", 1024); -- strncat(szParameters, pNZBParameter->GetValue(), 1024); -+ strncat(szParameters, pNZBParameter->GetName(), sizeof(szParameters) - strlen(szParameters) - 1); -+ strncat(szParameters, "=", sizeof(szParameters) - strlen(szParameters) - 1); -+ strncat(szParameters, pNZBParameter->GetValue(), sizeof(szParameters) - strlen(szParameters) - 1); - } - if (szParameters[0] != '\0') - { -- strncat(szParameters, ")", 1024); -+ strncat(szParameters, ")", sizeof(szParameters) - strlen(szParameters) - 1); - } - - if (!szPattern || ((MatchedNZBInfo*)pGroupInfo->GetNZBInfo())->m_bMatch) -@@ -672,10 +672,10 @@ - - if (ntohl(ListResponse.m_iPostJobCount) > 0 || ntohl(ListResponse.m_bPostPaused)) - { -- strncat(szServerState, strlen(szServerState) > 0 ? ", Post-Processing" : "Post-Processing", sizeof(szServerState)); -+ strncat(szServerState, strlen(szServerState) > 0 ? ", Post-Processing" : "Post-Processing", sizeof(szServerState) - strlen(szServerState) - 1); - if (ntohl(ListResponse.m_bPostPaused)) - { -- strncat(szServerState, " paused", sizeof(szServerState)); -+ strncat(szServerState, " paused", sizeof(szServerState) - strlen(szServerState) - 1); - } - } - diff --git a/net-nntp/nzbget/nzbget-10.2.ebuild b/net-nntp/nzbget/nzbget-10.2.ebuild deleted file mode 100644 index ac4d3cddae50..000000000000 --- a/net-nntp/nzbget/nzbget-10.2.ebuild +++ /dev/null @@ -1,110 +0,0 @@ -# Copyright 1999-2013 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Id$ - -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}-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-11.0.ebuild b/net-nntp/nzbget/nzbget-11.0.ebuild deleted file mode 100644 index ed47010975ff..000000000000 --- a/net-nntp/nzbget/nzbget-11.0.ebuild +++ /dev/null @@ -1,108 +0,0 @@ -# Copyright 1999-2013 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Id$ - -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:^ScriptDir=.*:ScriptDir=/usr/share/nzbget/ppscripts:' 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}-9.0_pre477-buffer-overflows.patch - epatch "${FILESDIR}"/${P}-header.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 - - # remove duplicate script/config - rm "${D}"/usr/share/nzbget/nzbget.conf || die - - 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() { - if [[ -z ${REPLACING_VERSIONS} ]] ; then - 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 - fi -} diff --git a/net-nntp/nzbget/nzbget-12.0-r1.ebuild b/net-nntp/nzbget/nzbget-12.0-r1.ebuild deleted file mode 100644 index a64db3182b01..000000000000 --- a/net-nntp/nzbget/nzbget-12.0-r1.ebuild +++ /dev/null @@ -1,106 +0,0 @@ -# Copyright 1999-2014 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Id$ - -EAPI=5 - -inherit 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:^ScriptDir=.*:ScriptDir=/usr/share/nzbget/ppscripts:' 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:' \ - -e 's:^WebDir=.*:WebDir=/usr/share/nzbget/webui:' \ - -e 's:^ConfigTemplate=.*:ConfigTemplate=/usr/share/nzbget/nzbget.conf:' \ - -e 's:^DaemonUsername=.*:DaemonUsername=nzbget:' \ - "${S}"/nzbget.conf > "${S}"/nzbgetd.conf || die - - sed -i "/^dist_doc_DATA/d" Makefile.am || die - - 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 - - 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 nzbget:nzbget /etc/nzbgetd.conf - fperms 640 /etc/nzbgetd.conf -} - -pkg_postinst() { - if [[ -z ${REPLACING_VERSIONS} ]] ; then - 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 - fi -} diff --git a/net-nntp/nzbget/nzbget-13.0.ebuild b/net-nntp/nzbget/nzbget-13.0.ebuild deleted file mode 100644 index 74faece74214..000000000000 --- a/net-nntp/nzbget/nzbget-13.0.ebuild +++ /dev/null @@ -1,108 +0,0 @@ -# Copyright 1999-2014 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Id$ - -EAPI=5 - -inherit autotools user eutils - -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:^ScriptDir=.*:ScriptDir=/usr/share/nzbget/ppscripts:' 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:' \ - -e 's:^WebDir=.*:WebDir=/usr/share/nzbget/webui:' \ - -e 's:^ConfigTemplate=.*:ConfigTemplate=/usr/share/nzbget/nzbget.conf:' \ - -e 's:^DaemonUsername=.*:DaemonUsername=nzbget:' \ - "${S}"/nzbget.conf > "${S}"/nzbgetd.conf || die - - sed -i "/^dist_doc_DATA/d" Makefile.am || die - - epatch "${FILESDIR}"/${PN}-13.0_pre1042-gzip-endif.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 - - 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 nzbget:nzbget /etc/nzbgetd.conf - fperms 640 /etc/nzbgetd.conf -} - -pkg_postinst() { - if [[ -z ${REPLACING_VERSIONS} ]] ; then - 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 - fi -} diff --git a/net-nntp/nzbget/nzbget-14.0.ebuild b/net-nntp/nzbget/nzbget-14.0.ebuild deleted file mode 100644 index e4ca4563db76..000000000000 --- a/net-nntp/nzbget/nzbget-14.0.ebuild +++ /dev/null @@ -1,107 +0,0 @@ -# Copyright 1999-2014 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Id$ - -EAPI=5 - -inherit autotools eutils 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() { - epatch "${FILESDIR}"/${PN}-14.0_pre1145-tinfo.patch - - sed -i 's:^ScriptDir=.*:ScriptDir=/usr/share/nzbget/ppscripts:' 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:' \ - -e 's:^WebDir=.*:WebDir=/usr/share/nzbget/webui:' \ - -e 's:^ConfigTemplate=.*:ConfigTemplate=/usr/share/nzbget/nzbget.conf:' \ - -e 's:^DaemonUsername=.*:DaemonUsername=nzbget:' \ - "${S}"/nzbget.conf > "${S}"/nzbgetd.conf || die - - sed -i "/^dist_doc_DATA/d" Makefile.am || die - - 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 - - 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 nzbget:nzbget /etc/nzbgetd.conf - fperms 640 /etc/nzbgetd.conf -} - -pkg_postinst() { - if [[ -z ${REPLACING_VERSIONS} ]] ; then - 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 - fi -} |