Gentoo Archives: gentoo-commits

From: Lars Wendler <polynomial-c@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: net-ftp/pure-ftpd/
Date: Thu, 13 Sep 2018 13:47:58
Message-Id: 1536846456.71e95b5c1f179f14fa85074cf593e8b610bee8fa.polynomial-c@gentoo
1 commit: 71e95b5c1f179f14fa85074cf593e8b610bee8fa
2 Author: Lars Wendler <polynomial-c <AT> gentoo <DOT> org>
3 AuthorDate: Thu Sep 13 13:37:54 2018 +0000
4 Commit: Lars Wendler <polynomial-c <AT> gentoo <DOT> org>
5 CommitDate: Thu Sep 13 13:47:36 2018 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=71e95b5c
7
8 net-ftp/pure-ftpd: Removed old.
9
10 Package-Manager: Portage-2.3.49, Repoman-2.3.10
11
12 net-ftp/pure-ftpd/pure-ftpd-1.0.45-r2.ebuild | 138 ---------------------------
13 net-ftp/pure-ftpd/pure-ftpd-1.0.47-r1.ebuild | 137 --------------------------
14 net-ftp/pure-ftpd/pure-ftpd-1.0.47.ebuild | 136 --------------------------
15 3 files changed, 411 deletions(-)
16
17 diff --git a/net-ftp/pure-ftpd/pure-ftpd-1.0.45-r2.ebuild b/net-ftp/pure-ftpd/pure-ftpd-1.0.45-r2.ebuild
18 deleted file mode 100644
19 index 496333d7e7e..00000000000
20 --- a/net-ftp/pure-ftpd/pure-ftpd-1.0.45-r2.ebuild
21 +++ /dev/null
22 @@ -1,138 +0,0 @@
23 -# Copyright 1999-2018 Gentoo Foundation
24 -# Distributed under the terms of the GNU General Public License v2
25 -
26 -EAPI=6
27 -inherit eutils flag-o-matic
28 -
29 -KEYWORDS="alpha amd64 arm ~hppa ia64 ppc ppc64 sparc x86"
30 -
31 -DESCRIPTION="Fast, production-quality, standard-conformant FTP server"
32 -HOMEPAGE="http://www.pureftpd.org/"
33 -SRC_URI="ftp://ftp.pureftpd.org/pub/${PN}/releases/${P}.tar.bz2
34 - http://download.pureftpd.org/pub/${PN}/releases/${P}.tar.bz2"
35 -
36 -LICENSE="BSD"
37 -SLOT="0"
38 -
39 -IUSE="anondel anonperm anonren anonres caps charconv implicittls ldap libressl mysql noiplog pam paranoidmsg postgres resolveids selinux ssl sysquota vchroot xinetd"
40 -
41 -REQUIRED_USE="implicittls? ( ssl )"
42 -
43 -DEPEND="caps? ( sys-libs/libcap )
44 - charconv? ( virtual/libiconv )
45 - ldap? ( >=net-nds/openldap-2.0.25 )
46 - mysql? ( virtual/mysql )
47 - pam? ( virtual/pam )
48 - postgres? ( dev-db/postgresql:= )
49 - ssl? (
50 - !libressl? ( >=dev-libs/openssl-0.9.6g:0=[-bindist] )
51 - libressl? ( dev-libs/libressl:= )
52 - )
53 - sysquota? ( sys-fs/quota[-rpc] )
54 - xinetd? ( virtual/inetd )"
55 -
56 -RDEPEND="${DEPEND}
57 - dev-libs/libsodium:=
58 - net-ftp/ftpbase
59 - selinux? ( sec-policy/selinux-ftp )"
60 -
61 -PATCHES=(
62 - "${FILESDIR}/${PN}-1.0.28-pam.patch"
63 - "${FILESDIR}/${P}-openssl-1.1.patch"
64 - "${FILESDIR}/${PN}-1.0.47-MAX_DATA_SIZE.patch"
65 -)
66 -
67 -src_configure() {
68 - # adjust max user length to something more appropriate
69 - # for virtual hosts. See bug #62472 for details.
70 - sed -e "s:# define MAX_USER_LENGTH 32U:# define MAX_USER_LENGTH 127U:" \
71 - -i "${S}/src/ftpd.h" || die "sed failed"
72 -
73 - # Those features are only configurable like this, see bug #179375.
74 - use anondel && append-cppflags -DANON_CAN_DELETE
75 - use anonperm && append-cppflags -DANON_CAN_CHANGE_PERMS
76 - use anonren && append-cppflags -DANON_CAN_RENAME
77 - use anonres && append-cppflags -DANON_CAN_RESUME
78 - use resolveids && append-cppflags -DALWAYS_RESOLVE_IDS
79 -
80 - # Do not auto-use SSP -- let the user select this.
81 - export ax_cv_check_cflags___fstack_protector_all=no
82 -
83 - local myeconfargs=(
84 - --enable-largefile
85 - --with-altlog
86 - --with-cookie
87 - --with-diraliases
88 - --with-extauth
89 - --with-ftpwho
90 - --with-language=${PUREFTPD_LANG:=english}
91 - --with-peruserlimits
92 - --with-privsep
93 - --with-puredb
94 - --with-quotas
95 - --with-ratios
96 - --with-throttling
97 - --with-uploadscript
98 - --with-virtualhosts
99 - $(use_with charconv rfc2640)
100 - $(use_with ldap)
101 - $(use_with mysql)
102 - $(use_with pam)
103 - $(use_with paranoidmsg)
104 - $(use_with postgres pgsql)
105 - $(use_with ssl tls)
106 - $(use_with implicittls)
107 - $(use_with vchroot virtualchroot)
108 - $(use_with sysquota sysquotas)
109 - $(usex caps '' '--without-capabilities')
110 - $(usex noiplog '--without-iplogging' '')
111 - $(usex xinetd '' '--without-inetd')
112 - )
113 - econf "${myeconfargs[@]}"
114 -}
115 -
116 -src_install() {
117 - local DOCS=( AUTHORS CONTACT ChangeLog FAQ HISTORY INSTALL README* NEWS )
118 -
119 - default
120 -
121 - newinitd "${FILESDIR}/pure-ftpd.rc11" ${PN}
122 - newconfd "${FILESDIR}/pure-ftpd.conf_d-3" ${PN}
123 -
124 - if use implicittls ; then
125 - sed -i '/^SERVER/s@21@990@' "${ED}"/etc/conf.d/${PN} \
126 - || die "Adjusting default server port for implicittls usage failed!"
127 - fi
128 -
129 - keepdir /var/lib/run/${PN}
130 -
131 - if use xinetd ; then
132 - insinto /etc/xinetd.d
133 - newins "${FILESDIR}/pure-ftpd.xinetd" ${PN}
134 - fi
135 -
136 - if use ldap ; then
137 - insinto /etc/openldap/schema
138 - doins pureftpd.schema
139 - insinto /etc/openldap
140 - insopts -m 0600
141 - doins pureftpd-ldap.conf
142 - fi
143 -}
144 -
145 -pkg_postinst() {
146 - if [[ -z "${REPLACING_VERSIONS}" ]]; then
147 - # This is a new installation
148 - elog
149 - elog "Before starting Pure-FTPd, you have to edit the /etc/conf.d/pure-ftpd file!"
150 - elog
151 - ewarn "It's *really* important to read the README provided with Pure-FTPd!"
152 - ewarn "Check out http://download.pureftpd.org/pub/pure-ftpd/doc/README for general info"
153 - ewarn "and http://download.pureftpd.org/pub/pure-ftpd/doc/README.TLS for SSL/TLS info."
154 - ewarn
155 - if use charconv ; then
156 - ewarn "Charset conversion is an *experimental* feature!"
157 - ewarn "Remember to set a valid charset for your filesystem in the configuration!"
158 - fi
159 - fi
160 -}
161
162 diff --git a/net-ftp/pure-ftpd/pure-ftpd-1.0.47-r1.ebuild b/net-ftp/pure-ftpd/pure-ftpd-1.0.47-r1.ebuild
163 deleted file mode 100644
164 index 412951b81a3..00000000000
165 --- a/net-ftp/pure-ftpd/pure-ftpd-1.0.47-r1.ebuild
166 +++ /dev/null
167 @@ -1,137 +0,0 @@
168 -# Copyright 1999-2018 Gentoo Foundation
169 -# Distributed under the terms of the GNU General Public License v2
170 -
171 -EAPI=6
172 -inherit flag-o-matic
173 -
174 -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86"
175 -
176 -DESCRIPTION="Fast, production-quality, standard-conformant FTP server"
177 -HOMEPAGE="http://www.pureftpd.org/"
178 -SRC_URI="ftp://ftp.pureftpd.org/pub/${PN}/releases/${P}.tar.bz2
179 - http://download.pureftpd.org/pub/${PN}/releases/${P}.tar.bz2"
180 -
181 -LICENSE="BSD"
182 -SLOT="0"
183 -
184 -IUSE="anondel anonperm anonren anonres caps charconv implicittls ldap libressl mysql noiplog pam paranoidmsg postgres resolveids selinux ssl sysquota vchroot xinetd"
185 -
186 -REQUIRED_USE="implicittls? ( ssl )"
187 -
188 -DEPEND="caps? ( sys-libs/libcap )
189 - charconv? ( virtual/libiconv )
190 - ldap? ( >=net-nds/openldap-2.0.25 )
191 - mysql? ( virtual/mysql )
192 - pam? ( virtual/pam )
193 - postgres? ( dev-db/postgresql:= )
194 - ssl? (
195 - !libressl? ( >=dev-libs/openssl-0.9.6g:0=[-bindist] )
196 - libressl? ( dev-libs/libressl:= )
197 - )
198 - sysquota? ( sys-fs/quota[-rpc] )
199 - xinetd? ( virtual/inetd )"
200 -
201 -RDEPEND="${DEPEND}
202 - dev-libs/libsodium:=
203 - net-ftp/ftpbase
204 - selinux? ( sec-policy/selinux-ftp )"
205 -
206 -PATCHES=(
207 - "${FILESDIR}/${PN}-1.0.28-pam.patch"
208 - "${FILESDIR}/${PN}-1.0.47-MAX_DATA_SIZE.patch"
209 -)
210 -
211 -src_configure() {
212 - # adjust max user length to something more appropriate
213 - # for virtual hosts. See bug #62472 for details.
214 - sed -e "s:# define MAX_USER_LENGTH 32U:# define MAX_USER_LENGTH 127U:" \
215 - -i "${S}/src/ftpd.h" || die "sed failed"
216 -
217 - # Those features are only configurable like this, see bug #179375.
218 - use anondel && append-cppflags -DANON_CAN_DELETE
219 - use anonperm && append-cppflags -DANON_CAN_CHANGE_PERMS
220 - use anonren && append-cppflags -DANON_CAN_RENAME
221 - use anonres && append-cppflags -DANON_CAN_RESUME
222 - use resolveids && append-cppflags -DALWAYS_RESOLVE_IDS
223 -
224 - # Do not auto-use SSP -- let the user select this.
225 - export ax_cv_check_cflags___fstack_protector_all=no
226 -
227 - local myeconfargs=(
228 - --enable-largefile
229 - --with-altlog
230 - --with-cookie
231 - --with-diraliases
232 - --with-extauth
233 - --with-ftpwho
234 - --with-language=${PUREFTPD_LANG:=english}
235 - --with-peruserlimits
236 - --with-privsep
237 - --with-puredb
238 - --with-quotas
239 - --with-ratios
240 - --with-throttling
241 - --with-uploadscript
242 - --with-virtualhosts
243 - $(use_with charconv rfc2640)
244 - $(use_with ldap)
245 - $(use_with mysql)
246 - $(use_with pam)
247 - $(use_with paranoidmsg)
248 - $(use_with postgres pgsql)
249 - $(use_with ssl tls)
250 - $(use_with implicittls)
251 - $(use_with vchroot virtualchroot)
252 - $(use_with sysquota sysquotas)
253 - $(usex caps '' '--without-capabilities')
254 - $(usex noiplog '--without-iplogging' '')
255 - $(usex xinetd '' '--without-inetd')
256 - )
257 - econf "${myeconfargs[@]}"
258 -}
259 -
260 -src_install() {
261 - local DOCS=( AUTHORS CONTACT ChangeLog FAQ HISTORY INSTALL README* NEWS )
262 -
263 - default
264 -
265 - newinitd "${FILESDIR}/pure-ftpd.rc11" ${PN}
266 - newconfd "${FILESDIR}/pure-ftpd.conf_d-3" ${PN}
267 -
268 - if use implicittls ; then
269 - sed -i '/^SERVER/s@21@990@' "${ED}"/etc/conf.d/${PN} \
270 - || die "Adjusting default server port for implicittls usage failed!"
271 - fi
272 -
273 - keepdir /var/lib/run/${PN}
274 -
275 - if use xinetd ; then
276 - insinto /etc/xinetd.d
277 - newins "${FILESDIR}/pure-ftpd.xinetd" ${PN}
278 - fi
279 -
280 - if use ldap ; then
281 - insinto /etc/openldap/schema
282 - doins pureftpd.schema
283 - insinto /etc/openldap
284 - insopts -m 0600
285 - doins pureftpd-ldap.conf
286 - fi
287 -}
288 -
289 -pkg_postinst() {
290 - if [[ -z "${REPLACING_VERSIONS}" ]]; then
291 - # This is a new installation
292 - elog
293 - elog "Before starting Pure-FTPd, you have to edit the /etc/conf.d/pure-ftpd file!"
294 - elog
295 - ewarn "It's *really* important to read the README provided with Pure-FTPd!"
296 - ewarn "Check out http://download.pureftpd.org/pub/pure-ftpd/doc/README for general info"
297 - ewarn "and http://download.pureftpd.org/pub/pure-ftpd/doc/README.TLS for SSL/TLS info."
298 - ewarn
299 - if use charconv ; then
300 - ewarn "Charset conversion is an *experimental* feature!"
301 - ewarn "Remember to set a valid charset for your filesystem in the configuration!"
302 - fi
303 - fi
304 -}
305
306 diff --git a/net-ftp/pure-ftpd/pure-ftpd-1.0.47.ebuild b/net-ftp/pure-ftpd/pure-ftpd-1.0.47.ebuild
307 deleted file mode 100644
308 index 230c6974a75..00000000000
309 --- a/net-ftp/pure-ftpd/pure-ftpd-1.0.47.ebuild
310 +++ /dev/null
311 @@ -1,136 +0,0 @@
312 -# Copyright 1999-2018 Gentoo Foundation
313 -# Distributed under the terms of the GNU General Public License v2
314 -
315 -EAPI=6
316 -inherit flag-o-matic
317 -
318 -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86"
319 -
320 -DESCRIPTION="Fast, production-quality, standard-conformant FTP server"
321 -HOMEPAGE="http://www.pureftpd.org/"
322 -SRC_URI="ftp://ftp.pureftpd.org/pub/${PN}/releases/${P}.tar.bz2
323 - http://download.pureftpd.org/pub/${PN}/releases/${P}.tar.bz2"
324 -
325 -LICENSE="BSD"
326 -SLOT="0"
327 -
328 -IUSE="anondel anonperm anonren anonres caps charconv implicittls ldap libressl mysql noiplog pam paranoidmsg postgres resolveids selinux ssl sysquota vchroot xinetd"
329 -
330 -REQUIRED_USE="implicittls? ( ssl )"
331 -
332 -DEPEND="caps? ( sys-libs/libcap )
333 - charconv? ( virtual/libiconv )
334 - ldap? ( >=net-nds/openldap-2.0.25 )
335 - mysql? ( virtual/mysql )
336 - pam? ( virtual/pam )
337 - postgres? ( dev-db/postgresql:= )
338 - ssl? (
339 - !libressl? ( >=dev-libs/openssl-0.9.6g:0=[-bindist] )
340 - libressl? ( dev-libs/libressl:= )
341 - )
342 - sysquota? ( sys-fs/quota[-rpc] )
343 - xinetd? ( virtual/inetd )"
344 -
345 -RDEPEND="${DEPEND}
346 - dev-libs/libsodium:=
347 - net-ftp/ftpbase
348 - selinux? ( sec-policy/selinux-ftp )"
349 -
350 -PATCHES=(
351 - "${FILESDIR}"/${PN}-1.0.28-pam.patch
352 -)
353 -
354 -src_configure() {
355 - # adjust max user length to something more appropriate
356 - # for virtual hosts. See bug #62472 for details.
357 - sed -e "s:# define MAX_USER_LENGTH 32U:# define MAX_USER_LENGTH 127U:" \
358 - -i "${S}/src/ftpd.h" || die "sed failed"
359 -
360 - # Those features are only configurable like this, see bug #179375.
361 - use anondel && append-cppflags -DANON_CAN_DELETE
362 - use anonperm && append-cppflags -DANON_CAN_CHANGE_PERMS
363 - use anonren && append-cppflags -DANON_CAN_RENAME
364 - use anonres && append-cppflags -DANON_CAN_RESUME
365 - use resolveids && append-cppflags -DALWAYS_RESOLVE_IDS
366 -
367 - # Do not auto-use SSP -- let the user select this.
368 - export ax_cv_check_cflags___fstack_protector_all=no
369 -
370 - local myeconfargs=(
371 - --enable-largefile
372 - --with-altlog
373 - --with-cookie
374 - --with-diraliases
375 - --with-extauth
376 - --with-ftpwho
377 - --with-language=${PUREFTPD_LANG:=english}
378 - --with-peruserlimits
379 - --with-privsep
380 - --with-puredb
381 - --with-quotas
382 - --with-ratios
383 - --with-throttling
384 - --with-uploadscript
385 - --with-virtualhosts
386 - $(use_with charconv rfc2640)
387 - $(use_with ldap)
388 - $(use_with mysql)
389 - $(use_with pam)
390 - $(use_with paranoidmsg)
391 - $(use_with postgres pgsql)
392 - $(use_with ssl tls)
393 - $(use_with implicittls)
394 - $(use_with vchroot virtualchroot)
395 - $(use_with sysquota sysquotas)
396 - $(usex caps '' '--without-capabilities')
397 - $(usex noiplog '--without-iplogging' '')
398 - $(usex xinetd '' '--without-inetd')
399 - )
400 - econf "${myeconfargs[@]}"
401 -}
402 -
403 -src_install() {
404 - local DOCS=( AUTHORS CONTACT ChangeLog FAQ HISTORY INSTALL README* NEWS )
405 -
406 - default
407 -
408 - newinitd "${FILESDIR}/pure-ftpd.rc11" ${PN}
409 - newconfd "${FILESDIR}/pure-ftpd.conf_d-3" ${PN}
410 -
411 - if use implicittls ; then
412 - sed -i '/^SERVER/s@21@990@' "${ED}"/etc/conf.d/${PN} \
413 - || die "Adjusting default server port for implicittls usage failed!"
414 - fi
415 -
416 - keepdir /var/lib/run/${PN}
417 -
418 - if use xinetd ; then
419 - insinto /etc/xinetd.d
420 - newins "${FILESDIR}/pure-ftpd.xinetd" ${PN}
421 - fi
422 -
423 - if use ldap ; then
424 - insinto /etc/openldap/schema
425 - doins pureftpd.schema
426 - insinto /etc/openldap
427 - insopts -m 0600
428 - doins pureftpd-ldap.conf
429 - fi
430 -}
431 -
432 -pkg_postinst() {
433 - if [[ -z "${REPLACING_VERSIONS}" ]]; then
434 - # This is a new installation
435 - elog
436 - elog "Before starting Pure-FTPd, you have to edit the /etc/conf.d/pure-ftpd file!"
437 - elog
438 - ewarn "It's *really* important to read the README provided with Pure-FTPd!"
439 - ewarn "Check out http://download.pureftpd.org/pub/pure-ftpd/doc/README for general info"
440 - ewarn "and http://download.pureftpd.org/pub/pure-ftpd/doc/README.TLS for SSL/TLS info."
441 - ewarn
442 - if use charconv ; then
443 - ewarn "Charset conversion is an *experimental* feature!"
444 - ewarn "Remember to set a valid charset for your filesystem in the configuration!"
445 - fi
446 - fi
447 -}