1 |
commit: c5d950f9b81c645a1fe47f37fc449ce80a0e9c10 |
2 |
Author: Lars Wendler <polynomial-c <AT> gentoo <DOT> org> |
3 |
AuthorDate: Tue Nov 23 22:26:22 2021 +0000 |
4 |
Commit: Lars Wendler <polynomial-c <AT> gentoo <DOT> org> |
5 |
CommitDate: Tue Nov 23 22:44:39 2021 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c5d950f9 |
7 |
|
8 |
net-ftp/pure-ftpd: Removed old |
9 |
|
10 |
Signed-off-by: Lars Wendler <polynomial-c <AT> gentoo.org> |
11 |
|
12 |
net-ftp/pure-ftpd/pure-ftpd-1.0.49-r4.ebuild | 157 --------------------------- |
13 |
1 file changed, 157 deletions(-) |
14 |
|
15 |
diff --git a/net-ftp/pure-ftpd/pure-ftpd-1.0.49-r4.ebuild b/net-ftp/pure-ftpd/pure-ftpd-1.0.49-r4.ebuild |
16 |
deleted file mode 100644 |
17 |
index a4c219fdd5ae..000000000000 |
18 |
--- a/net-ftp/pure-ftpd/pure-ftpd-1.0.49-r4.ebuild |
19 |
+++ /dev/null |
20 |
@@ -1,157 +0,0 @@ |
21 |
-# Copyright 1999-2021 Gentoo Authors |
22 |
-# Distributed under the terms of the GNU General Public License v2 |
23 |
- |
24 |
-EAPI=7 |
25 |
- |
26 |
-inherit autotools flag-o-matic |
27 |
- |
28 |
-DESCRIPTION="Fast, production-quality, standard-conformant FTP server" |
29 |
-HOMEPAGE="http://www.pureftpd.org/" |
30 |
-if [[ "${PV}" == 9999 ]] ; then |
31 |
- inherit autotools git-r3 |
32 |
- EGIT_REPO_URI="https://github.com/jedisct1/pure-ftpd.git" |
33 |
-else |
34 |
- SRC_URI="ftp://ftp.pureftpd.org/pub/${PN}/releases/${P}.tar.bz2 |
35 |
- http://download.pureftpd.org/pub/${PN}/releases/${P}.tar.bz2" |
36 |
- KEYWORDS="~alpha amd64 arm ~arm64 ~hppa ~ia64 ppc ppc64 sparc x86" |
37 |
-fi |
38 |
- |
39 |
-LICENSE="BSD" |
40 |
-SLOT="0" |
41 |
- |
42 |
-IUSE="anondel anonperm anonren anonres caps implicittls ldap mysql noiplog pam paranoidmsg postgres resolveids selinux ssl sysquota vchroot xinetd" |
43 |
- |
44 |
-REQUIRED_USE="implicittls? ( ssl )" |
45 |
- |
46 |
-BDEPEND="sys-devel/autoconf-archive" |
47 |
- |
48 |
-DEPEND="dev-libs/libsodium:= |
49 |
- virtual/libcrypt:= |
50 |
- caps? ( sys-libs/libcap ) |
51 |
- ldap? ( >=net-nds/openldap-2.0.25 ) |
52 |
- mysql? ( || ( |
53 |
- dev-db/mariadb-connector-c |
54 |
- dev-db/mysql-connector-c |
55 |
- ) ) |
56 |
- pam? ( sys-libs/pam ) |
57 |
- postgres? ( dev-db/postgresql:= ) |
58 |
- ssl? ( |
59 |
- >=dev-libs/openssl-0.9.6g:0=[-bindist(-)] |
60 |
- ) |
61 |
- sysquota? ( sys-fs/quota[-rpc] ) |
62 |
- xinetd? ( virtual/inetd )" |
63 |
- |
64 |
-RDEPEND="${DEPEND} |
65 |
- net-ftp/ftpbase |
66 |
- selinux? ( sec-policy/selinux-ftp )" |
67 |
- |
68 |
-PATCHES=( |
69 |
- "${FILESDIR}/${PN}-1.0.28-pam.patch" |
70 |
- |
71 |
- # https://bugs.gentoo.org/711124 |
72 |
- "${FILESDIR}/${P}-diraliases_uninitialized_pointer.patch" |
73 |
- "${FILESDIR}/${P}-pure_strcmp_OOB_read.patch" |
74 |
- |
75 |
- # https://bugs.gentoo.org/721242 |
76 |
- "${FILESDIR}/${P}-do-not-call-ar-directly.patch" |
77 |
-) |
78 |
- |
79 |
-src_prepare() { |
80 |
- default |
81 |
- eautoreconf |
82 |
-} |
83 |
- |
84 |
-src_configure() { |
85 |
- # adjust max user length to something more appropriate |
86 |
- # for virtual hosts. See bug #62472 for details. |
87 |
- sed -e "s:# define MAX_USER_LENGTH 32U:# define MAX_USER_LENGTH 127U:" \ |
88 |
- -i "${S}/src/ftpd.h" || die "sed failed" |
89 |
- |
90 |
- # Those features are only configurable like this, see bug #179375. |
91 |
- use anondel && append-cppflags -DANON_CAN_DELETE |
92 |
- use anonperm && append-cppflags -DANON_CAN_CHANGE_PERMS |
93 |
- use anonren && append-cppflags -DANON_CAN_RENAME |
94 |
- use anonres && append-cppflags -DANON_CAN_RESUME |
95 |
- use resolveids && append-cppflags -DALWAYS_RESOLVE_IDS |
96 |
- |
97 |
- # Do not auto-use SSP -- let the user select this. |
98 |
- export ax_cv_check_cflags___fstack_protector_all=no |
99 |
- |
100 |
- local myeconfargs=( |
101 |
- --enable-largefile |
102 |
- # Required for correct pid file location. |
103 |
- # pure-ftpd appends "/run/pure-ftpd.pid" to the localstatedir |
104 |
- # path, and tries to write to that file even when being |
105 |
- # started in foreground. So we need to pin this to / |
106 |
- --localstatedir="${EPREFIX}"/ |
107 |
- --with-altlog |
108 |
- --with-cookie |
109 |
- --with-diraliases |
110 |
- --with-extauth |
111 |
- --with-ftpwho |
112 |
- --with-language=${PUREFTPD_LANG:=english} |
113 |
- --with-peruserlimits |
114 |
- --with-privsep |
115 |
- --with-puredb |
116 |
- --with-quotas |
117 |
- --with-ratios |
118 |
- --with-throttling |
119 |
- --with-uploadscript |
120 |
- --with-virtualhosts |
121 |
- $(use_with ldap) |
122 |
- $(use_with mysql) |
123 |
- $(use_with pam) |
124 |
- $(use_with paranoidmsg) |
125 |
- $(use_with postgres pgsql) |
126 |
- $(use_with ssl tls) |
127 |
- $(use_with implicittls) |
128 |
- $(use_with vchroot virtualchroot) |
129 |
- $(use_with sysquota sysquotas) |
130 |
- $(usex caps '' '--without-capabilities') |
131 |
- $(usex noiplog '--without-iplogging' '') |
132 |
- $(usex xinetd '' '--without-inetd') |
133 |
- ) |
134 |
- econf "${myeconfargs[@]}" |
135 |
-} |
136 |
- |
137 |
-src_install() { |
138 |
- local DOCS=( AUTHORS ChangeLog FAQ HISTORY README* NEWS ) |
139 |
- |
140 |
- default |
141 |
- |
142 |
- newinitd "${FILESDIR}/pure-ftpd.rc11" ${PN} |
143 |
- newconfd "${FILESDIR}/pure-ftpd.conf_d-3" ${PN} |
144 |
- |
145 |
- if use implicittls ; then |
146 |
- sed -i '/^SERVER/s@21@990@' "${ED}"/etc/conf.d/${PN} \ |
147 |
- || die "Adjusting default server port for implicittls usage failed!" |
148 |
- fi |
149 |
- |
150 |
- keepdir /var/lib/run/${PN} |
151 |
- |
152 |
- if use xinetd ; then |
153 |
- insinto /etc/xinetd.d |
154 |
- newins "${FILESDIR}/pure-ftpd.xinetd" ${PN} |
155 |
- fi |
156 |
- |
157 |
- if use ldap ; then |
158 |
- insinto /etc/openldap/schema |
159 |
- doins pureftpd.schema |
160 |
- insinto /etc/openldap |
161 |
- insopts -m 0600 |
162 |
- doins pureftpd-ldap.conf |
163 |
- fi |
164 |
-} |
165 |
- |
166 |
-pkg_postinst() { |
167 |
- if [[ -z "${REPLACING_VERSIONS}" ]]; then |
168 |
- # This is a new installation |
169 |
- elog |
170 |
- elog "Before starting Pure-FTPd, you have to edit the /etc/conf.d/pure-ftpd file!" |
171 |
- elog |
172 |
- ewarn "It's *really* important to read the README provided with Pure-FTPd!" |
173 |
- ewarn "Check out http://download.pureftpd.org/pub/pure-ftpd/doc/README for general info" |
174 |
- ewarn "and http://download.pureftpd.org/pub/pure-ftpd/doc/README.TLS for SSL/TLS info." |
175 |
- ewarn |
176 |
- fi |
177 |
-} |