diff options
Diffstat (limited to 'net-nntp/nzbget')
-rw-r--r-- | net-nntp/nzbget/Manifest | 1 | ||||
-rw-r--r-- | net-nntp/nzbget/nzbget-24.1.ebuild | 110 |
2 files changed, 0 insertions, 111 deletions
diff --git a/net-nntp/nzbget/Manifest b/net-nntp/nzbget/Manifest index 3f1fc0e26d33..fdff7e7c6693 100644 --- a/net-nntp/nzbget/Manifest +++ b/net-nntp/nzbget/Manifest @@ -1,4 +1,3 @@ DIST nzbget-21.1.tar.gz 1988916 BLAKE2B 74298c5c7f3986831f36832a8ffe596543196b5b46500925de478bf11cab8e66fb36dee9458533a4194d82123765b29e37914463d72fd206e218b4875861001a SHA512 d8dc1ad324f675c5505e623049a14c022475267aa03dcd5d8fd6cf9ed3b776cc2776077b61d035e252937ea4b6bf8f90bd33e715cfd842d2e012615df3ffeafb -DIST nzbget-24.1.tar.gz 5365282 BLAKE2B 4fe260c361888d99eaf457a520b39560320b86d181cd12891b35962c9d4c6d773aeb389bf2254029fc58643bb5b04eb24917db9319f1a1068014feed08521dde SHA512 eb4a60cb3a529e2fb8242615e57758ceed615a573fabbe7170490e7af8c228edc90a096860ab7cf49ee85fc834cb8db30aa866c4f149679396139e54c166cf5c DIST nzbget-24.2.tar.gz 5512752 BLAKE2B ef4c6e562976030b790a93747d11d6b7059be7cb8bc9076068c037a0e8d25f09054ff280417b52f534af50aec0f11cd21959f995ae8252a21ea274aa7efdfc84 SHA512 ad280315f9a60bf206a134e3703337af2e2dfb8282dd5efc55af071f82f5f7e7857f819dd843f6ae70cd7fcea2c84de4db535d7658fb5255a380ffcf685a680f DIST nzbget-24.3.tar.gz 5533518 BLAKE2B 67614aecebb28b2664ab629beddeea6c492e1f32ba71854d1812c7c4e5b41219c1773c33d5952f6e2805bf5804d3fb1e410f9c6cdc0850a4d3036d4253f9c0ba SHA512 6a79f7fcc58c494af19179b6a98d5235423fc8d3a45c6ba969cf687948da25faaf9bcec074b7c9b8ccf2d3621e6bc2dc9c2ae67e877e89fa9a00b8f3ff4ca85a diff --git a/net-nntp/nzbget/nzbget-24.1.ebuild b/net-nntp/nzbget/nzbget-24.1.ebuild deleted file mode 100644 index a2fbf9d1ad90..000000000000 --- a/net-nntp/nzbget/nzbget-24.1.ebuild +++ /dev/null @@ -1,110 +0,0 @@ -# Copyright 1999-2024 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -inherit cmake systemd - -DESCRIPTION="A command-line based binary newsgrabber supporting .nzb files" -HOMEPAGE="https://nzbget.com/" -SRC_URI="https://github.com/nzbgetcom/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" - -LICENSE="GPL-2+" -SLOT="0" -KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~x86" -IUSE="gnutls ncurses +parcheck ssl test zlib" -RESTRICT="!test? ( test )" - -DEPEND=" - dev-libs/boost:= - dev-libs/libxml2:= - ncurses? ( sys-libs/ncurses:0= ) - ssl? ( - gnutls? ( - net-libs/gnutls:= - dev-libs/nettle:= - ) - !gnutls? ( dev-libs/openssl:0=[-bindist(-)] ) - ) - zlib? ( sys-libs/zlib:= )" -RDEPEND=" - ${DEPEND} - acct-user/nzbget - acct-group/nzbget -" -BDEPEND=" - test? ( - || ( - app-arch/rar - app-arch/unrar - ) - ) - virtual/pkgconfig -" - -DOCS=( ChangeLog.md README.md nzbget.conf ) - -PATCHES=( - "${FILESDIR}/${P}-fix-allocah.patch" -) - -src_prepare() { - # Do not install a configuration file in /usr/etc - sed -i '\:install(FILES ${CMAKE_BINARY_DIR}/nzbget.conf DESTINATION ${CMAKE_INSTALL_PREFIX}/etc):d' cmake/install.cmake || die - cmake_src_prepare - - sed -i 's:^ScriptDir=.*:ScriptDir=/usr/share/nzbget/ppscripts:' nzbget.conf || die - - sed \ - -e 's:^MainDir=.*:MainDir=/var/lib/nzbget:' \ - -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:' \ - nzbget.conf > nzbgetd.conf || die -} - -src_configure() { - local mycmakeargs=( - -DDISABLE_CURSES=$(usex !ncurses) - -DDISABLE_PARCHECK=$(usex !parcheck) - -DDISABLE_TLS=$(usex !ssl) - -DDISABLE_GZIP=$(usex !zlib) - -DUSE_OPENSSL=$(usex !gnutls) - -DUSE_GNUTLS=$(usex gnutls) - -DENABLE_TESTS=$(usex test) - ) - cmake_src_configure -} - -src_install() { - cmake_src_install - - insinto /etc - doins nzbget.conf - doins nzbgetd.conf - - keepdir /var/log/nzbget - - newinitd "${FILESDIR}"/nzbget.initd-r1 nzbget - newconfd "${FILESDIR}"/nzbget.confd nzbget - systemd_dounit "${FILESDIR}"/nzbget.service -} - -pkg_preinst() { - 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 -} |