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: Wed, 05 Apr 2017 20:26:48
Message-Id: 1491423996.9e9c322e7addf8383874fa222a022a7eb53ba29e.polynomial-c@gentoo
1 commit: 9e9c322e7addf8383874fa222a022a7eb53ba29e
2 Author: Lars Wendler <polynomial-c <AT> gentoo <DOT> org>
3 AuthorDate: Wed Apr 5 20:26:19 2017 +0000
4 Commit: Lars Wendler <polynomial-c <AT> gentoo <DOT> org>
5 CommitDate: Wed Apr 5 20:26:36 2017 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9e9c322e
7
8 net-ftp/pure-ftpd: Removed old.
9
10 Package-Manager: Portage-2.3.5, Repoman-2.3.2
11
12 net-ftp/pure-ftpd/Manifest | 1 -
13 net-ftp/pure-ftpd/pure-ftpd-1.0.42-r1.ebuild | 143 ---------------------------
14 2 files changed, 144 deletions(-)
15
16 diff --git a/net-ftp/pure-ftpd/Manifest b/net-ftp/pure-ftpd/Manifest
17 index 2628d0d126b..7404fadde7d 100644
18 --- a/net-ftp/pure-ftpd/Manifest
19 +++ b/net-ftp/pure-ftpd/Manifest
20 @@ -1,2 +1 @@
21 -DIST pure-ftpd-1.0.42.tar.bz2 496652 SHA256 efd11295998453e31dbeef9159624beabbac2643a338134ae8c2ef529aa2ec10 SHA512 730ece22ce9a8562c5da6063de2b99404fbc0d0fa0b591383c319a762ea33cec74239474bcb56606b7af254dd76e31154f27a745df0c619932c9b8b4f150bc9c WHIRLPOOL bcbcd32fcfe10741f214559f7051bca302addc9bdc0a90a24e33a53c8103199a2eb40ea65e314fc66c59a47a479bd6774e332f4898d750c90b6dbf1bee01bcec
22 DIST pure-ftpd-1.0.45.tar.bz2 497695 SHA256 9256db7e59abdba712f84581a3ec47cd5b039034c78825d9dc24ea4eecda7d20 SHA512 bb22b6b88778e2586411318905aa165e590185f7a87ac30761d6250f4de22a1deec6be5441926eae28011d3a5a923bad2ac366e237cc96a4d7932e3dbc9a1f2a WHIRLPOOL 4eebb19342d2580658cac7bb13cf6ecebf70ec5000336565aea6609204befe85a5a96aed1ad24ada6a3b187a4750194d7d4676ea4942f0aff3137b45c9cde139
23
24 diff --git a/net-ftp/pure-ftpd/pure-ftpd-1.0.42-r1.ebuild b/net-ftp/pure-ftpd/pure-ftpd-1.0.42-r1.ebuild
25 deleted file mode 100644
26 index 3bf8c7ab2ab..00000000000
27 --- a/net-ftp/pure-ftpd/pure-ftpd-1.0.42-r1.ebuild
28 +++ /dev/null
29 @@ -1,143 +0,0 @@
30 -# Copyright 1999-2017 Gentoo Foundation
31 -# Distributed under the terms of the GNU General Public License v2
32 -
33 -EAPI=5
34 -inherit eutils confutils flag-o-matic
35 -
36 -KEYWORDS="alpha amd64 arm hppa ia64 ppc ppc64 sparc x86"
37 -
38 -DESCRIPTION="Fast, production-quality, standard-conformant FTP server"
39 -HOMEPAGE="http://www.pureftpd.org/"
40 -SRC_URI="ftp://ftp.pureftpd.org/pub/${PN}/releases/${P}.tar.bz2
41 - http://download.pureftpd.org/pub/${PN}/releases/${P}.tar.bz2"
42 -
43 -LICENSE="BSD"
44 -SLOT="0"
45 -
46 -IUSE="anondel anonperm anonren anonres caps charconv implicittls ldap libressl mysql noiplog pam paranoidmsg postgres resolveids selinux ssl sysquota vchroot xinetd"
47 -
48 -REQUIRED_USE="implicittls? ( ssl )"
49 -
50 -DEPEND="caps? ( sys-libs/libcap )
51 - charconv? ( virtual/libiconv )
52 - ldap? ( >=net-nds/openldap-2.0.25 )
53 - mysql? ( virtual/mysql )
54 - pam? ( virtual/pam )
55 - postgres? ( dev-db/postgresql:= )
56 - ssl? (
57 - !libressl? ( >=dev-libs/openssl-0.9.6g:0=[-bindist] )
58 - libressl? ( dev-libs/libressl:= )
59 - )
60 - sysquota? ( sys-fs/quota[-rpc] )
61 - xinetd? ( virtual/inetd )"
62 -
63 -RDEPEND="${DEPEND}
64 - dev-libs/libsodium:=
65 - net-ftp/ftpbase
66 - selinux? ( sec-policy/selinux-ftp )"
67 -
68 -src_prepare() {
69 - epatch "${FILESDIR}"/${PN}-1.0.28-pam.patch
70 -}
71 -
72 -src_configure() {
73 - # adjust max user length to something more appropriate
74 - # for virtual hosts. See bug #62472 for details.
75 - sed -e "s:# define MAX_USER_LENGTH 32U:# define MAX_USER_LENGTH 127U:" \
76 - -i "${S}/src/ftpd.h" || die "sed failed"
77 -
78 - local my_conf=""
79 -
80 - # Let's configure the USE-enabled stuff
81 - enable_extension_without "capabilities" "caps"
82 - enable_extension_with "rfc2640" "charconv" 0
83 - enable_extension_with "ldap" "ldap" 0
84 - enable_extension_with "mysql" "mysql" 0
85 - enable_extension_with "pam" "pam" 0
86 - enable_extension_with "paranoidmsg" "paranoidmsg" 0
87 - enable_extension_with "pgsql" "postgres" 0
88 - enable_extension_with "tls" "ssl" 0
89 - enable_extension_with "implicittls" "implicittls" 0
90 - enable_extension_with "virtualchroot" "vchroot" 0
91 - enable_extension_with "sysquotas" "sysquota" 0
92 - enable_extension_without "inetd" "xinetd"
93 -
94 - # noiplog is a negative flag, we don't want that enabled by default,
95 - # so we handle it manually, as confutils can't do that
96 - use noiplog && my_conf="${my_conf} --without-iplogging"
97 -
98 - # Those features are only configurable like this, see bug #179375.
99 - use anondel && append-cppflags -DANON_CAN_DELETE
100 - use anonperm && append-cppflags -DANON_CAN_CHANGE_PERMS
101 - use anonren && append-cppflags -DANON_CAN_RENAME
102 - use anonres && append-cppflags -DANON_CAN_RESUME
103 - use resolveids && append-cppflags -DALWAYS_RESOLVE_IDS
104 -
105 - # Do not auto-use SSP -- let the user select this.
106 - export ax_cv_check_cflags___fstack_protector_all=no
107 -
108 - econf \
109 - --with-altlog \
110 - --with-cookie \
111 - --with-diraliases \
112 - --with-extauth \
113 - --with-ftpwho \
114 - --with-language=${PUREFTPD_LANG:=english} \
115 - --with-peruserlimits \
116 - --with-privsep \
117 - --with-puredb \
118 - --with-quotas \
119 - --with-ratios \
120 - --with-throttling \
121 - --with-uploadscript \
122 - --with-virtualhosts \
123 - --enable-largefile \
124 - ${my_conf}
125 -}
126 -
127 -src_install() {
128 - emake DESTDIR="${D}" install
129 -
130 - dodoc AUTHORS CONTACT ChangeLog FAQ HISTORY INSTALL README* NEWS
131 -
132 - newconfd "${FILESDIR}/pure-ftpd.conf_d-3" ${PN}
133 -
134 - if use implicittls ; then
135 - sed -i '/^SERVER/s@21@990@' "${ED}"/etc/conf.d/${PN} \
136 - || die "Adjusting default server port for implicittls usage failed!"
137 - fi
138 -
139 - newinitd "${FILESDIR}/pure-ftpd.rc11" pure-ftpd
140 -
141 - dodir /var/lib/run/${PN}
142 -
143 - if use xinetd ; then
144 - insinto /etc/xinetd.d
145 - newins "${FILESDIR}/pure-ftpd.xinetd" pure-ftpd
146 - fi
147 -
148 - if use ldap ; then
149 - insinto /etc/openldap/schema
150 - doins pureftpd.schema
151 - insinto /etc/openldap
152 - insopts -m 0600
153 - doins pureftpd-ldap.conf
154 - fi
155 -}
156 -
157 -pkg_postinst() {
158 - if [[ -z "${REPLACING_VERSIONS}" ]]; then
159 - # This is a new installation
160 - elog
161 - elog "Before starting Pure-FTPd, you have to edit the /etc/conf.d/pure-ftpd file!"
162 - elog
163 - ewarn "It's *really* important to read the README provided with Pure-FTPd!"
164 - ewarn "Check out http://download.pureftpd.org/pub/pure-ftpd/doc/README for general info"
165 - ewarn "and http://download.pureftpd.org/pub/pure-ftpd/doc/README.TLS for SSL/TLS info."
166 - ewarn
167 - if use charconv ; then
168 - ewarn "Charset conversion is an *experimental* feature!"
169 - ewarn "Remember to set a valid charset for your filesystem in the configuration!"
170 - fi
171 - fi
172 -}