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: Sun, 01 Jan 2017 17:10:45
Message-Id: 1483290636.7a458ab5e4c416539de430f4dea9ed4f709977c2.polynomial-c@gentoo
1 commit: 7a458ab5e4c416539de430f4dea9ed4f709977c2
2 Author: Lars Wendler <polynomial-c <AT> gentoo <DOT> org>
3 AuthorDate: Sun Jan 1 17:10:16 2017 +0000
4 Commit: Lars Wendler <polynomial-c <AT> gentoo <DOT> org>
5 CommitDate: Sun Jan 1 17:10:36 2017 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7a458ab5
7
8 net-ftp/pure-ftpd: Removed old.
9
10 Package-Manager: Portage-2.3.3, Repoman-2.3.1
11
12 net-ftp/pure-ftpd/Manifest | 1 -
13 net-ftp/pure-ftpd/pure-ftpd-1.0.41.ebuild | 141 ------------------------------
14 net-ftp/pure-ftpd/pure-ftpd-1.0.42.ebuild | 141 ------------------------------
15 3 files changed, 283 deletions(-)
16
17 diff --git a/net-ftp/pure-ftpd/Manifest b/net-ftp/pure-ftpd/Manifest
18 index 5fd1a53..21d426f 100644
19 --- a/net-ftp/pure-ftpd/Manifest
20 +++ b/net-ftp/pure-ftpd/Manifest
21 @@ -1,5 +1,4 @@
22 DIST pure-ftpd-1.0.40.tar.bz2 495141 SHA256 004dd4e991537f100fb6cdcdcd43460ed49847aefb60bc4577466839de95aa20 SHA512 26a9918ddb298a6fd2b684e88173466b351671ad9b5c702796fabd1a7b0abb52fefcd3537b9d17210468d7f2efc80e4c881fc60dd3c9c73dcbed5f46e59e4420 WHIRLPOOL 09d6d5fed066a5c0cfb4801e1827770cd3d909dbf85e627c30c583ca0999dd3ec44a1528004db12ccbb232d22e263a4f742f2785a111d255db0007a097146f7d
23 -DIST pure-ftpd-1.0.41.tar.bz2 496457 SHA256 1d48f650f366b8151d86b86c79f4bb874e95143bdac0e767038eda832d28a010 SHA512 d63fb4f245dc2f1115447de3861f1a805712fb432c461e21b5739e1bae35da9d1367d5e7f54609f2fd5c3064e8d3853dd513a6684166300f1c72a60a79fddd21 WHIRLPOOL a0ed31b912e83f07c1f3814f47f7514a22db0e5fd699a890a4640fd36b053e491a93a15fe0a8b721ce08389a2727acc0928994c495c341bbfdfc5453d5d4af31
24 DIST pure-ftpd-1.0.42.tar.bz2 496652 SHA256 efd11295998453e31dbeef9159624beabbac2643a338134ae8c2ef529aa2ec10 SHA512 730ece22ce9a8562c5da6063de2b99404fbc0d0fa0b591383c319a762ea33cec74239474bcb56606b7af254dd76e31154f27a745df0c619932c9b8b4f150bc9c WHIRLPOOL bcbcd32fcfe10741f214559f7051bca302addc9bdc0a90a24e33a53c8103199a2eb40ea65e314fc66c59a47a479bd6774e332f4898d750c90b6dbf1bee01bcec
25 DIST pure-ftpd-1.0.43.tar.bz2 496391 SHA256 1289a094c7b5675132cefd1383472d6cab60e757ee75ff3b2687072e8d7df7b2 SHA512 1fff6a9bc8585c0bf1bb354ca7531744338a2e7899234de62c2d4ad0bab8de9c142e350533fcdd669bf519fbfc625b6a21733924a09ad3136863cf145e7ce822 WHIRLPOOL 4c12e2fd0398eedc187cd8e791b6ca2f4dbc0c99671cc97e3698f4bf7ea5ddb5f903a052b075387fde1f6854abf8a8e0b9ff7bad50dff5c10c86ff632df55536
26 DIST pure-ftpd-1.0.44.tar.bz2 497528 SHA256 30b65765cab64db04ebb983a8ff363a6d45fd1f99e9e5ec2fbdd40eba3c68b7a SHA512 816332baa3fde84f67b36d59e4193d841cd1bbdf1e4c914fe1836797215879157945094268033409f6800509e04d9d3222b6bee27d9193ef64a5167efdfda292 WHIRLPOOL 5f0994e1c31f4a6490e123685010a6d1c341c7cf825e2476dc4a6c9d3eb518c5b9182d4175057c0aeeb0f78233a50557e9ebe7e77e8c26f0cdb7073eecd0330f
27
28 diff --git a/net-ftp/pure-ftpd/pure-ftpd-1.0.41.ebuild b/net-ftp/pure-ftpd/pure-ftpd-1.0.41.ebuild
29 deleted file mode 100644
30 index e82095d..00000000
31 --- a/net-ftp/pure-ftpd/pure-ftpd-1.0.41.ebuild
32 +++ /dev/null
33 @@ -1,141 +0,0 @@
34 -# Copyright 1999-2015 Gentoo Foundation
35 -# Distributed under the terms of the GNU General Public License v2
36 -# $Id$
37 -
38 -EAPI=5
39 -inherit eutils confutils flag-o-matic
40 -
41 -KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86"
42 -
43 -DESCRIPTION="Fast, production-quality, standard-conformant FTP server"
44 -HOMEPAGE="http://www.pureftpd.org/"
45 -SRC_URI="ftp://ftp.pureftpd.org/pub/${PN}/releases/${P}.tar.bz2
46 - http://download.pureftpd.org/pub/${PN}/releases/${P}.tar.bz2"
47 -
48 -LICENSE="BSD"
49 -SLOT="0"
50 -
51 -IUSE="anondel anonperm anonren anonres caps charconv implicittls ldap mysql noiplog pam paranoidmsg postgres resolveids selinux ssl sysquota vchroot xinetd"
52 -
53 -REQUIRED_USE="implicittls? ( ssl )"
54 -
55 -DEPEND="caps? ( sys-libs/libcap )
56 - charconv? ( virtual/libiconv )
57 - ldap? ( >=net-nds/openldap-2.0.25 )
58 - mysql? ( virtual/mysql )
59 - pam? ( virtual/pam )
60 - postgres? ( dev-db/postgresql:= )
61 - ssl? ( >=dev-libs/openssl-0.9.6g:0=[-bindist] )
62 - sysquota? ( sys-fs/quota[-rpc] )
63 - xinetd? ( virtual/inetd )"
64 -
65 -RDEPEND="${DEPEND}
66 - dev-libs/libsodium:=
67 - net-ftp/ftpbase
68 - selinux? ( sec-policy/selinux-ftp )"
69 -
70 -src_prepare() {
71 - epatch "${FILESDIR}"/${PN}-1.0.28-pam.patch
72 -}
73 -
74 -src_configure() {
75 - # adjust max user length to something more appropriate
76 - # for virtual hosts. See bug #62472 for details.
77 - sed -e "s:# define MAX_USER_LENGTH 32U:# define MAX_USER_LENGTH 127U:" \
78 - -i "${S}/src/ftpd.h" || die "sed failed"
79 -
80 - local my_conf=""
81 -
82 - # Let's configure the USE-enabled stuff
83 - enable_extension_without "capabilities" "caps"
84 - enable_extension_with "rfc2640" "charconv" 0
85 - enable_extension_with "ldap" "ldap" 0
86 - enable_extension_with "mysql" "mysql" 0
87 - enable_extension_with "pam" "pam" 0
88 - enable_extension_with "paranoidmsg" "paranoidmsg" 0
89 - enable_extension_with "pgsql" "postgres" 0
90 - enable_extension_with "tls" "ssl" 0
91 - enable_extension_with "implicittls" "implicittls" 0
92 - enable_extension_with "virtualchroot" "vchroot" 0
93 - enable_extension_with "sysquotas" "sysquota" 0
94 - enable_extension_without "inetd" "xinetd"
95 -
96 - # noiplog is a negative flag, we don't want that enabled by default,
97 - # so we handle it manually, as confutils can't do that
98 - use noiplog && my_conf="${my_conf} --without-iplogging"
99 -
100 - # Those features are only configurable like this, see bug #179375.
101 - use anondel && append-cppflags -DANON_CAN_DELETE
102 - use anonperm && append-cppflags -DANON_CAN_CHANGE_PERMS
103 - use anonren && append-cppflags -DANON_CAN_RENAME
104 - use anonres && append-cppflags -DANON_CAN_RESUME
105 - use resolveids && append-cppflags -DALWAYS_RESOLVE_IDS
106 -
107 - # Do not auto-use SSP -- let the user select this.
108 - export ax_cv_check_cflags___fstack_protector_all=no
109 -
110 - econf \
111 - --with-altlog \
112 - --with-cookie \
113 - --with-diraliases \
114 - --with-extauth \
115 - --with-ftpwho \
116 - --with-language=${PUREFTPD_LANG:=english} \
117 - --with-peruserlimits \
118 - --with-privsep \
119 - --with-puredb \
120 - --with-quotas \
121 - --with-ratios \
122 - --with-throttling \
123 - --with-uploadscript \
124 - --with-virtualhosts \
125 - --enable-largefile \
126 - ${my_conf}
127 -}
128 -
129 -src_install() {
130 - emake DESTDIR="${D}" install
131 -
132 - dodoc AUTHORS CONTACT ChangeLog FAQ HISTORY INSTALL README* NEWS
133 -
134 - newconfd "${FILESDIR}/pure-ftpd.conf_d-3" ${PN}
135 -
136 - if use implicittls ; then
137 - sed -i '/^SERVER/s@21@990@' "${ED}"/etc/conf.d/${PN} \
138 - || die "Adjusting default server port for implicittls usage failed!"
139 - fi
140 -
141 - newinitd "${FILESDIR}/pure-ftpd.rc11" pure-ftpd
142 -
143 - dodir /var/lib/run/${PN}
144 -
145 - if use xinetd ; then
146 - insinto /etc/xinetd.d
147 - newins "${FILESDIR}/pure-ftpd.xinetd" pure-ftpd
148 - fi
149 -
150 - if use ldap ; then
151 - insinto /etc/openldap/schema
152 - doins pureftpd.schema
153 - insinto /etc/openldap
154 - insopts -m 0600
155 - doins pureftpd-ldap.conf
156 - fi
157 -}
158 -
159 -pkg_postinst() {
160 - if [[ -z "${REPLACING_VERSIONS}" ]]; then
161 - # This is a new installation
162 - elog
163 - elog "Before starting Pure-FTPd, you have to edit the /etc/conf.d/pure-ftpd file!"
164 - elog
165 - ewarn "It's *really* important to read the README provided with Pure-FTPd!"
166 - ewarn "Check out http://download.pureftpd.org/pub/pure-ftpd/doc/README for general info"
167 - ewarn "and http://download.pureftpd.org/pub/pure-ftpd/doc/README.TLS for SSL/TLS info."
168 - ewarn
169 - if use charconv ; then
170 - ewarn "Charset conversion is an *experimental* feature!"
171 - ewarn "Remember to set a valid charset for your filesystem in the configuration!"
172 - fi
173 - fi
174 -}
175
176 diff --git a/net-ftp/pure-ftpd/pure-ftpd-1.0.42.ebuild b/net-ftp/pure-ftpd/pure-ftpd-1.0.42.ebuild
177 deleted file mode 100644
178 index e82095d..00000000
179 --- a/net-ftp/pure-ftpd/pure-ftpd-1.0.42.ebuild
180 +++ /dev/null
181 @@ -1,141 +0,0 @@
182 -# Copyright 1999-2015 Gentoo Foundation
183 -# Distributed under the terms of the GNU General Public License v2
184 -# $Id$
185 -
186 -EAPI=5
187 -inherit eutils confutils flag-o-matic
188 -
189 -KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86"
190 -
191 -DESCRIPTION="Fast, production-quality, standard-conformant FTP server"
192 -HOMEPAGE="http://www.pureftpd.org/"
193 -SRC_URI="ftp://ftp.pureftpd.org/pub/${PN}/releases/${P}.tar.bz2
194 - http://download.pureftpd.org/pub/${PN}/releases/${P}.tar.bz2"
195 -
196 -LICENSE="BSD"
197 -SLOT="0"
198 -
199 -IUSE="anondel anonperm anonren anonres caps charconv implicittls ldap mysql noiplog pam paranoidmsg postgres resolveids selinux ssl sysquota vchroot xinetd"
200 -
201 -REQUIRED_USE="implicittls? ( ssl )"
202 -
203 -DEPEND="caps? ( sys-libs/libcap )
204 - charconv? ( virtual/libiconv )
205 - ldap? ( >=net-nds/openldap-2.0.25 )
206 - mysql? ( virtual/mysql )
207 - pam? ( virtual/pam )
208 - postgres? ( dev-db/postgresql:= )
209 - ssl? ( >=dev-libs/openssl-0.9.6g:0=[-bindist] )
210 - sysquota? ( sys-fs/quota[-rpc] )
211 - xinetd? ( virtual/inetd )"
212 -
213 -RDEPEND="${DEPEND}
214 - dev-libs/libsodium:=
215 - net-ftp/ftpbase
216 - selinux? ( sec-policy/selinux-ftp )"
217 -
218 -src_prepare() {
219 - epatch "${FILESDIR}"/${PN}-1.0.28-pam.patch
220 -}
221 -
222 -src_configure() {
223 - # adjust max user length to something more appropriate
224 - # for virtual hosts. See bug #62472 for details.
225 - sed -e "s:# define MAX_USER_LENGTH 32U:# define MAX_USER_LENGTH 127U:" \
226 - -i "${S}/src/ftpd.h" || die "sed failed"
227 -
228 - local my_conf=""
229 -
230 - # Let's configure the USE-enabled stuff
231 - enable_extension_without "capabilities" "caps"
232 - enable_extension_with "rfc2640" "charconv" 0
233 - enable_extension_with "ldap" "ldap" 0
234 - enable_extension_with "mysql" "mysql" 0
235 - enable_extension_with "pam" "pam" 0
236 - enable_extension_with "paranoidmsg" "paranoidmsg" 0
237 - enable_extension_with "pgsql" "postgres" 0
238 - enable_extension_with "tls" "ssl" 0
239 - enable_extension_with "implicittls" "implicittls" 0
240 - enable_extension_with "virtualchroot" "vchroot" 0
241 - enable_extension_with "sysquotas" "sysquota" 0
242 - enable_extension_without "inetd" "xinetd"
243 -
244 - # noiplog is a negative flag, we don't want that enabled by default,
245 - # so we handle it manually, as confutils can't do that
246 - use noiplog && my_conf="${my_conf} --without-iplogging"
247 -
248 - # Those features are only configurable like this, see bug #179375.
249 - use anondel && append-cppflags -DANON_CAN_DELETE
250 - use anonperm && append-cppflags -DANON_CAN_CHANGE_PERMS
251 - use anonren && append-cppflags -DANON_CAN_RENAME
252 - use anonres && append-cppflags -DANON_CAN_RESUME
253 - use resolveids && append-cppflags -DALWAYS_RESOLVE_IDS
254 -
255 - # Do not auto-use SSP -- let the user select this.
256 - export ax_cv_check_cflags___fstack_protector_all=no
257 -
258 - econf \
259 - --with-altlog \
260 - --with-cookie \
261 - --with-diraliases \
262 - --with-extauth \
263 - --with-ftpwho \
264 - --with-language=${PUREFTPD_LANG:=english} \
265 - --with-peruserlimits \
266 - --with-privsep \
267 - --with-puredb \
268 - --with-quotas \
269 - --with-ratios \
270 - --with-throttling \
271 - --with-uploadscript \
272 - --with-virtualhosts \
273 - --enable-largefile \
274 - ${my_conf}
275 -}
276 -
277 -src_install() {
278 - emake DESTDIR="${D}" install
279 -
280 - dodoc AUTHORS CONTACT ChangeLog FAQ HISTORY INSTALL README* NEWS
281 -
282 - newconfd "${FILESDIR}/pure-ftpd.conf_d-3" ${PN}
283 -
284 - if use implicittls ; then
285 - sed -i '/^SERVER/s@21@990@' "${ED}"/etc/conf.d/${PN} \
286 - || die "Adjusting default server port for implicittls usage failed!"
287 - fi
288 -
289 - newinitd "${FILESDIR}/pure-ftpd.rc11" pure-ftpd
290 -
291 - dodir /var/lib/run/${PN}
292 -
293 - if use xinetd ; then
294 - insinto /etc/xinetd.d
295 - newins "${FILESDIR}/pure-ftpd.xinetd" pure-ftpd
296 - fi
297 -
298 - if use ldap ; then
299 - insinto /etc/openldap/schema
300 - doins pureftpd.schema
301 - insinto /etc/openldap
302 - insopts -m 0600
303 - doins pureftpd-ldap.conf
304 - fi
305 -}
306 -
307 -pkg_postinst() {
308 - if [[ -z "${REPLACING_VERSIONS}" ]]; then
309 - # This is a new installation
310 - elog
311 - elog "Before starting Pure-FTPd, you have to edit the /etc/conf.d/pure-ftpd file!"
312 - elog
313 - ewarn "It's *really* important to read the README provided with Pure-FTPd!"
314 - ewarn "Check out http://download.pureftpd.org/pub/pure-ftpd/doc/README for general info"
315 - ewarn "and http://download.pureftpd.org/pub/pure-ftpd/doc/README.TLS for SSL/TLS info."
316 - ewarn
317 - if use charconv ; then
318 - ewarn "Charset conversion is an *experimental* feature!"
319 - ewarn "Remember to set a valid charset for your filesystem in the configuration!"
320 - fi
321 - fi
322 -}