Gentoo Archives: gentoo-commits

From: Louis Sautier <sbraz@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: net-nntp/nzbget/
Date: Thu, 02 May 2019 23:08:33
Message-Id: 1556838499.e3cf400710dab4d15b52c89115f466231053fb2b.sbraz@gentoo
1 commit: e3cf400710dab4d15b52c89115f466231053fb2b
2 Author: Louis Sautier <sbraz <AT> gentoo <DOT> org>
3 AuthorDate: Thu May 2 23:08:02 2019 +0000
4 Commit: Louis Sautier <sbraz <AT> gentoo <DOT> org>
5 CommitDate: Thu May 2 23:08:19 2019 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e3cf4007
7
8 net-nntp/nzbget: remove old
9
10 Package-Manager: Portage-2.3.64, Repoman-2.3.12
11 Signed-off-by: Louis Sautier <sbraz <AT> gentoo.org>
12
13 net-nntp/nzbget/Manifest | 1 -
14 net-nntp/nzbget/nzbget-21.0_pre2220.ebuild | 129 -----------------------------
15 2 files changed, 130 deletions(-)
16
17 diff --git a/net-nntp/nzbget/Manifest b/net-nntp/nzbget/Manifest
18 index 11e82283de4..6ce746854ac 100644
19 --- a/net-nntp/nzbget/Manifest
20 +++ b/net-nntp/nzbget/Manifest
21 @@ -1,4 +1,3 @@
22 DIST nzbget-20.0.tar.gz 1925665 BLAKE2B 4c4e93bb0fa170b4b6433cbb7d27f3fa67ed033c462711b19e179f42c18dfed044c937e6a7ce4b08a620f4d7af7d3ec9245de16f15d4db8005d3d8dc4f8f46d4 SHA512 8b0fe8ea41b64be9a2f624ef0fa2a8b8987bee412db68a0e8f1b607ce6be7bfd03f60ecc5e49807f4c726e136bc5a355c44559b215fea2bd290c2eb62a0b5927
23 DIST nzbget-21.0.tar.gz 1988902 BLAKE2B ee9204a978502562348dc4945e19b084d8d17f566099cfe7e95dac154ffac6d772084c9c070fba0d585cd2229d0a5760b3298ef29eba52d7c75edbc9fe43e310 SHA512 bbee5073a2788a17d78009b7ae0c41473aa4d8424301e7e62b2544dc8993e1e3b6e1026dd9f71af5627293d2113d8637a4a6138eee0a328554df298117dd6bb3
24 -DIST nzbget-21.0_pre2220.tar.gz 1985190 BLAKE2B e19e1c997615f61895a26ca24ff1eb66e6caf99cecf3f3b0eccc2c0f67ebc61c20cdd24d869d8c2a1d2f0d5c53f5222cc3b151720e3a6d1398507fd252586cf5 SHA512 73cd24628ab224d62b4619ca6b9014edb08ac14f02850def3123db640c785fd8836ba4ee4be40a0cf918ba6c25bf19683e67d05aaa0f96c71ad23b6a30284fa0
25 DIST nzbget-21.0_pre2302.tar.gz 1989357 BLAKE2B bf937b48c8f26e1144d4b09467a29b96984b9d0a777f6e6728a1922b7718dd2f2847ba51a9baf4cca0cebb7add60807f0f285e5dbeca871d99f0cd279fb292a3 SHA512 672f15df910e79ff39090f812a5925d15efb46c9538b7ca193266a159c95e7487fb31ef4780370532bbc9de8478cd927c461dee1f46cd0bf1d294420f796001e
26
27 diff --git a/net-nntp/nzbget/nzbget-21.0_pre2220.ebuild b/net-nntp/nzbget/nzbget-21.0_pre2220.ebuild
28 deleted file mode 100644
29 index 59e359e545b..00000000000
30 --- a/net-nntp/nzbget/nzbget-21.0_pre2220.ebuild
31 +++ /dev/null
32 @@ -1,129 +0,0 @@
33 -# Copyright 1999-2018 Gentoo Authors
34 -# Distributed under the terms of the GNU General Public License v2
35 -
36 -EAPI=7
37 -
38 -inherit autotools eutils flag-o-matic user systemd
39 -
40 -MY_PV=${PV/_pre/-r}
41 -MY_P=${PN}-${PV/_pre/-testing-r}
42 -
43 -DESCRIPTION="A command-line based binary newsgrabber supporting .nzb files"
44 -HOMEPAGE="https://nzbget.net/"
45 -SRC_URI="https://github.com/${PN}/${PN}/releases/download/v${MY_PV}/${MY_P}-src.tar.gz -> ${P}.tar.gz"
46 -
47 -LICENSE="GPL-2+"
48 -SLOT="0"
49 -KEYWORDS="~amd64 ~arm ~ppc ~x86"
50 -IUSE="debug gnutls ncurses +parcheck ssl test zlib"
51 -
52 -RDEPEND="dev-libs/libxml2:=
53 - ncurses? ( sys-libs/ncurses:0= )
54 - ssl? (
55 - gnutls? (
56 - net-libs/gnutls:=
57 - dev-libs/nettle:=
58 - )
59 - !gnutls? ( dev-libs/openssl:0=[-bindist] )
60 - )
61 - zlib? ( sys-libs/zlib:= )"
62 -DEPEND="${RDEPEND}
63 - test? (
64 - || (
65 - =app-arch/rar-5*
66 - =app-arch/unrar-5*
67 - )
68 - )
69 - virtual/pkgconfig"
70 -DOCS=( ChangeLog README nzbget.conf )
71 -
72 -S=${WORKDIR}/${PN}-${PV/_pre*/-testing}
73 -
74 -check_compiler() {
75 - if [[ ${MERGE_TYPE} != binary ]] && ! test-flag-CXX -std=c++14; then
76 - eerror "${P} requires a C++14-capable compiler. Your current compiler"
77 - eerror "does not seem to support the -std=c++14 option. Please"
78 - eerror "upgrade to gcc-4.9 or an equivalent version supporting C++14."
79 - die "The currently active compiler does not support -std=c++14"
80 - fi
81 -}
82 -
83 -pkg_pretend() {
84 - check_compiler
85 -}
86 -
87 -pkg_setup() {
88 - check_compiler
89 -}
90 -
91 -src_prepare() {
92 - default
93 - eautoreconf
94 -
95 - sed -i 's:^ScriptDir=.*:ScriptDir=/usr/share/nzbget/ppscripts:' nzbget.conf || die
96 -
97 - sed \
98 - -e 's:^MainDir=.*:MainDir=/var/lib/nzbget:' \
99 - -e 's:^LogFile=.*:LogFile=/var/log/nzbget/nzbget.log:' \
100 - -e 's:^WebDir=.*:WebDir=/usr/share/nzbget/webui:' \
101 - -e 's:^ConfigTemplate=.*:ConfigTemplate=/usr/share/nzbget/nzbget.conf:' \
102 - -e 's:^DaemonUsername=.*:DaemonUsername=nzbget:' \
103 - nzbget.conf > nzbgetd.conf || die
104 -}
105 -
106 -src_configure() {
107 - local myconf=(
108 - $(use_enable debug)
109 - $(use_enable ncurses curses)
110 - $(use_enable parcheck)
111 - $(use_enable ssl tls)
112 - $(use_enable zlib gzip)
113 - $(use_enable test tests)
114 - --with-tlslib=$(usex gnutls GnuTLS OpenSSL)
115 - )
116 - econf "${myconf[@]}"
117 -}
118 -
119 -src_test() {
120 - ./nzbget --tests || die "Tests failed"
121 -}
122 -
123 -src_install() {
124 - default
125 -
126 - insinto /etc
127 - doins nzbget.conf
128 - doins nzbgetd.conf
129 -
130 - keepdir /var/lib/nzbget/{dst,nzb,queue,tmp}
131 - keepdir /var/log/nzbget
132 -
133 - newinitd "${FILESDIR}"/nzbget.initd-r1 nzbget
134 - newconfd "${FILESDIR}"/nzbget.confd nzbget
135 - systemd_dounit "${FILESDIR}"/nzbget.service
136 -}
137 -
138 -pkg_preinst() {
139 - enewgroup nzbget
140 - enewuser nzbget -1 -1 /var/lib/nzbget nzbget
141 -
142 - fowners nzbget:nzbget /var/lib/nzbget/{dst,nzb,queue,tmp}
143 - fperms 750 /var/lib/nzbget/{queue,tmp}
144 - fperms 770 /var/lib/nzbget/{dst,nzb}
145 -
146 - fowners nzbget:nzbget /var/log/nzbget
147 - fperms 750 /var/log/nzbget
148 -
149 - fowners nzbget:nzbget /etc/nzbgetd.conf
150 - fperms 640 /etc/nzbgetd.conf
151 -}
152 -
153 -pkg_postinst() {
154 - if [[ -z ${REPLACING_VERSIONS} ]] ; then
155 - elog
156 - elog "Please add users that you want to be able to use the system-wide"
157 - elog "nzbget daemon to the nzbget group. To access the daemon, run nzbget"
158 - elog "with the --configfile /etc/nzbgetd.conf option."
159 - elog
160 - fi
161 -}