diff options
Diffstat (limited to 'net-nntp')
-rw-r--r-- | net-nntp/nzbget/ChangeLog | 6 | ||||
-rw-r--r-- | net-nntp/nzbget/Manifest | 21 | ||||
-rw-r--r-- | net-nntp/nzbget/nzbget-12.0.ebuild | 105 | ||||
-rw-r--r-- | net-nntp/nzbget/nzbget-13.0_pre1042.ebuild | 108 | ||||
-rw-r--r-- | net-nntp/nzbget/nzbget-13.0_pre979.ebuild | 106 |
5 files changed, 13 insertions, 333 deletions
diff --git a/net-nntp/nzbget/ChangeLog b/net-nntp/nzbget/ChangeLog index b7d1b0c07a51..c6404e3b940b 100644 --- a/net-nntp/nzbget/ChangeLog +++ b/net-nntp/nzbget/ChangeLog @@ -1,6 +1,10 @@ # ChangeLog for net-nntp/nzbget # Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/net-nntp/nzbget/ChangeLog,v 1.88 2014/08/04 16:51:50 radhermit Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-nntp/nzbget/ChangeLog,v 1.89 2014/08/04 16:52:46 radhermit Exp $ + + 04 Aug 2014; Tim Harder <radhermit@gentoo.org> -nzbget-12.0.ebuild, + -nzbget-13.0_pre979.ebuild, -nzbget-13.0_pre1042.ebuild: + Remove old. *nzbget-13.0 (04 Aug 2014) diff --git a/net-nntp/nzbget/Manifest b/net-nntp/nzbget/Manifest index 8cbedd0bf74c..3170f74d7b27 100644 --- a/net-nntp/nzbget/Manifest +++ b/net-nntp/nzbget/Manifest @@ -9,26 +9,21 @@ AUX nzbget.initd 921 SHA256 5e55313eae69b0b77f4332c2ff6e74085295f6fc8469e03f53f9 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-testing-r1042.tar.gz 1228742 SHA256 376e5b95619aab9f3fd7dbfa6c10aeaa27ef981574f1653416d97963f18c64b3 SHA512 8ba006b90577924312dac45d05b11dd746af60047d96430858bd66d97e4d6559da3530519ad854efffad8f4606cf931e03d2e7022ee621d364359ddd27ffb501 WHIRLPOOL 38bcc86b9cbd02ad0302547fda539d358f52a18133f12182451f262f1d4025c825e24b3c835632d900e56114851aa765ca1cf17d7e41a7aff0118455eb95454d -DIST nzbget-13.0-testing-r979.tar.gz 1220682 SHA256 4ed6365f74f4ce7eae31e4fe7889ed7979d8c41b2af985bc5206a4325512d752 SHA512 488d82558fdcf553eda2ac472e5608ff46f34036635c607c8224b9d986ea920ced73bcf884648afccc94e3ec900bb33345e529f21b1d43bf859eab81b0b33a19 WHIRLPOOL af3367e911c949da4d4912b46c0a9de3c35cd515f16170f14bb93c28db25a721b9d769624438fe95b694f82174d52cefdf8e1976057ce4a4052058ec570c5396 DIST nzbget-13.0.tar.gz 1229936 SHA256 666f5244f31f10333a18450e7a6c1ac729ac68594042236711ba99dd32e78f8e SHA512 f7b38002551a7580267f47f0fa902744c27ed497b4f2a53c34c1ac463e3d54e25c9f6b9e59ac1b8861a3f7f933fcb5d0badd3819be15cc52d615f086c6297377 WHIRLPOOL eae4a4281ff06f8d3d816f913a43f4d07331a948aae7181f9e7e365a8132ee39765626a5a11926b1078db69655146620c7690952101ab128999e0e98046bf50e EBUILD nzbget-10.2.ebuild 2682 SHA256 606cafd749ee2063b94b31223f43e58c40e4393be0f07dccdbf8d743bc1f0954 SHA512 c644c4cc2d12a4667ece3e0ef8d9dba7cc9807f66cdb031d599ad38d772543cb9fcbebf3f1388b93b5ef6147d87b3415e5f0281bc2a4728fba0d1b9f2065864a WHIRLPOOL 1a48b00dc04f756f431e5333ab038b9dc1c50b3bae1ac3d1c124c16f94788838f9af2bbc89c5163d6c58f05b4040f6f3ca1b4170beeca5251ec22d9b35b7813c EBUILD nzbget-11.0.ebuild 2669 SHA256 df2df52cd0d3860fef04d401ac2ae58af1dd7b079536fbbad100cc8f449531bf SHA512 6de685aa0dd62161152cbbb125370e448e105e0b11373f69056fad6c8c2fab00b14e823010806a63206cd7a5584b6f4dc6120e2acf9ceef13d3b8c42707a0afd WHIRLPOOL 317401ee8097ab3639c0d56d47c023a87274126a25cd8fea0531de9f1319b36358ca665dbbab221f8dd6a1eed30b23a3047b0e86a03d3fc3792f18fed011f8e0 EBUILD nzbget-12.0-r1.ebuild 2667 SHA256 e4e0cc6a04d168823e5bbbe2558d430b49e7615ef4175bf4c5ee2a9990c9e95d SHA512 79f270750c970055232e5e29c09e862042c08a6c836c75f610a8733278c1ceff0b417a4cde02ea18b25fc2a03d5bc1458923819ed2f000d6e3c6ce5a4a35cca0 WHIRLPOOL 96d5d6c8caae258bc5adf83020e359cb245c0d36dae2c079c4e9af4f831090c15dbc44546afb9903e187c3c64c8ff08ab26f7714261625947e90f31a9528de9d -EBUILD nzbget-12.0.ebuild 2559 SHA256 4a4b6027a704ea1ec2bd56c8e6ff375b7afe22af639f304912fdfff2727bfa13 SHA512 156e95d4ee0dc2002305d22da9081f33d1d27f47780ac14b7ee3f140a556e99a9eb023fbc01e96013b702bc0616ae9cc70171c1d65eb27fc1fa7df98177ebb17 WHIRLPOOL 64d67f3ae9a51c157a26278fa5a274594ed5e0de8b238278bb20923b90943e55220d70383b551190fe3497c677f0c4f68dfcc6cbb8032536d53feccd06623d45 EBUILD nzbget-13.0.ebuild 2731 SHA256 bee505271d15991e9e08f977b63a7360d35508a40bf4a1a6bb8fabfe302f6c70 SHA512 a14eb6506b26df16601f76db84ce697b2bf5abe484035e94be465411459274ec18ef963a4dadf0acaee86df14c3c644ad6aab0c21995fe356ff3ac9cdc88ad5c WHIRLPOOL e775f7e9fd8732a2d0c43a6e8b31284b997c1f44da76850d75771a8ff64296a1e5ab8b88b69f0020a832eae45a95e044a9954b68638cdc2f25b9ab78797b2012 -EBUILD nzbget-13.0_pre1042.ebuild 2724 SHA256 c6ee95fb2a038750aab1fe89e4e574b935a2dd34ad299391c49082707b4be29f SHA512 0db20860a86dc5bc5248bf590fff1c7e67bc8be2e89e91af832dcbfa4cd73ed4a4260b1045be03c963fd161947392c23e5b464b120d885ab4a609e8bcd99f02b WHIRLPOOL f5e47ca6ef8def28e9e8ae99b269b4ad985825e543250f1fc0379ae995dabbec8fcee78da4b80391017824e13de8abf096d2a6286c9893c3f4f831036cd2352f -EBUILD nzbget-13.0_pre979.ebuild 2672 SHA256 94e206896c518574c60bb5edaa3420e0d2ce198abb7370638890fd7bb46aa871 SHA512 cf84320943df8991584a9d158093561dce9cc7f9c26f6e50a137aac0599f677468b6f2f36b057b672611d4a6fa3c923c0fff35954551ea7206b23bc16cf14425 WHIRLPOOL 6701b5dd6cab8c8886e4c960d763b5018f9224dae547875ece9f293ef5e603bd55137120f52b136e600ea17e1018b887b0e7be876fe92c5c7a41ede6216a6571 -MISC ChangeLog 13187 SHA256 80834853a32cf9783ffd795ff4166ca1b7b03363072fd569fc0d9560701f3997 SHA512 444525df0c3177a027f74545dc483154a1df182cce1fe411a3595d8e48522d0d6109154d401046c4340f49508894d2d3be5168d17f40d4dc42a7b8a6217e367c WHIRLPOOL 006902ae0d5dacebcc862186ac52fad2adfedef430c915009faca3d09aff87aedb950774d31340058fc2f7db59521adf2a89b06a6c4bf01b8f7045467cc96ccc +MISC ChangeLog 13331 SHA256 8b08fbbe778196630d489e401ff6490bf44809df3e03970f6d02d2e0a83145a2 SHA512 ea7249fe48baa983b5a4bc9e26ec9394cef4d691e351fe179557e78dd5691bc4bf451a7f9091964a9475dd597634ca1c566560623e5d8d3be40d8a61ef59a59f WHIRLPOOL 2475a9b107c99443fece0c787ec8974f4867a9c3161cec94b4ed369a2889fc425213985b2bd422526f62954abc42e027e49a1b8865dd77b6044742f8e52b377e MISC metadata.xml 539 SHA256 48f9bc14033c2a447322b31e146267269726e47b8925fed04eb763fae4655e31 SHA512 bb80f64f00b908a589e8c9aad6e7be82fe2d44507cf7cb625c2b718f28a62dd86b6e530be16e0cae1209109b5289829211d120db24b5c2249263a8227b18fd26 WHIRLPOOL adc2d684e0c54ad489401de1ab2a7a76307ccf7bccfd80b00aed81b3ba09983f933469b7bcb126372616e5eab52d4caa9564a9cd3f14e713acb84e35605fc2f8 -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 -iQEcBAEBCAAGBQJT37onAAoJEEqz6FtPBkyjRQEIAIbxtNjtddWPUpJP3d3ujSMU -7U+tSWJo7smQgEltdHQrqJDhNLEpb+KOVQNxdL/3OeCcmOVNcyAvu+sYININPOe7 -o35VgLFn2TRBbRCsaYEL0bqz+SHaC2a889Xlww8JaxpGaYlGyLiC5GwweeaS6hJL -QzyfGFXhtDCwSjEhvDczV4OUwx3HGf4fk10FHlwUyNBs8w37QFLjbB/yq1S+ffgo -ZfLe74+cIhy8mgepbUnKO8kGyRj+uIpvg8nBAECNGaBfmKPR8nWH9rzoXl5DfB29 -xFjM+aJBogCye03sIsSO3KF61MFsVY6GRpaJQm1GHCB5idnG81rO/u+t9xZwwNs= -=GwWP +iQEcBAEBCAAGBQJT37pfAAoJEEqz6FtPBkyj40MIAILWbrjv4+MigCSFV5cvcHjH +OOaJ4lf7fPEaFcVlaX/Z2NSc/IEEtu9h/XHC51Y1PvDllKOo2CkgGKAQSUxh/AhF +ddFxxV+VQzbViQZNus3baohJkXPHSeIdxd0WhFFlgk3IjUYmVutmrpLTi3WlUJl1 +KJI6p7FxXwVz0tT6uycAjMdUThSjTCAuGeGnKaBc8hWcJm84EXT9Sle8RhA9lGwZ +IakC0ViRa9yVeRWyflva8eTrVHdz1WSDfYcMz4Pb07SzSXlL3uo6xQhPPu9FjEIk +Jzt26hfinJvEMAEw9YI4VsL+kBLvmRCJZX1whECsSVz6blFzDZKWamHs1/fQyZE= +=bfIy -----END PGP SIGNATURE----- diff --git a/net-nntp/nzbget/nzbget-12.0.ebuild b/net-nntp/nzbget/nzbget-12.0.ebuild deleted file mode 100644 index dc8f61dd9448..000000000000 --- a/net-nntp/nzbget/nzbget-12.0.ebuild +++ /dev/null @@ -1,105 +0,0 @@ -# Copyright 1999-2014 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/net-nntp/nzbget/nzbget-12.0.ebuild,v 1.1 2014/01/04 06:18:47 radhermit Exp $ - -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:' \ - "${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 - - # 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-13.0_pre1042.ebuild b/net-nntp/nzbget/nzbget-13.0_pre1042.ebuild deleted file mode 100644 index 269245f379c2..000000000000 --- a/net-nntp/nzbget/nzbget-13.0_pre1042.ebuild +++ /dev/null @@ -1,108 +0,0 @@ -# Copyright 1999-2014 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/net-nntp/nzbget/nzbget-13.0_pre1042.ebuild,v 1.2 2014/06/29 18:37:15 swegener Exp $ - -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}"/${P}-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-13.0_pre979.ebuild b/net-nntp/nzbget/nzbget-13.0_pre979.ebuild deleted file mode 100644 index b7173bfaf843..000000000000 --- a/net-nntp/nzbget/nzbget-13.0_pre979.ebuild +++ /dev/null @@ -1,106 +0,0 @@ -# Copyright 1999-2014 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/net-nntp/nzbget/nzbget-13.0_pre979.ebuild,v 1.1 2014/04/25 08:06:02 radhermit Exp $ - -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 -} |