summaryrefslogtreecommitdiff
path: root/net-ftp
diff options
context:
space:
mode:
Diffstat (limited to 'net-ftp')
-rw-r--r--net-ftp/Manifest.gzbin3175 -> 3181 bytes
-rw-r--r--net-ftp/pure-ftpd/Manifest4
-rw-r--r--net-ftp/pure-ftpd/pure-ftpd-1.0.52.ebuild166
-rw-r--r--net-ftp/pure-ftpd/pure-ftpd-9999.ebuild5
4 files changed, 170 insertions, 5 deletions
diff --git a/net-ftp/Manifest.gz b/net-ftp/Manifest.gz
index f3b76995febe..478f66381925 100644
--- a/net-ftp/Manifest.gz
+++ b/net-ftp/Manifest.gz
Binary files differ
diff --git a/net-ftp/pure-ftpd/Manifest b/net-ftp/pure-ftpd/Manifest
index 9d002a1cbab0..a0b9af1b6e52 100644
--- a/net-ftp/pure-ftpd/Manifest
+++ b/net-ftp/pure-ftpd/Manifest
@@ -8,6 +8,8 @@ AUX pure-ftpd.xinetd 247 BLAKE2B aa2b0f8b4b6ff45e9b8dd632af5ff680ddd5abe51647dda
AUX pure-uploadscript.confd 368 BLAKE2B 675e5349b2f808dd2a3cbaf2536a0541f40d42d300b7411163bc8232470c6f63a1d92cef393271693a02bcb5129624d38de77a99ca030a77bab00cc1fbe797c4 SHA512 2632be874a5afb25b8c8c1acbdfef929542d80dc9a8f280b4a9b0b6878be63f901ccd2c29c2ae0f9f74f45e41df1b7e69d1cef6f77e93c9b235709a7094480af
AUX pure-uploadscript.initd-r1 776 BLAKE2B 1e382300a92fabb5308aa2636de2f427418d8595859fa2d7e6ee0a62297a0a17386f2f4c55de03ad282ed0545cc97ea6c0df67fe5fe6af736789d01e18c69f97 SHA512 3bb735bf0dc12434bc283ea9948c5b7feeaf72a26382a65a3c8eaec87a13f82239699e4687e5b36be5478bcab801974633b17771d9a583b6be508503118899e4
DIST pure-ftpd-1.0.51.tar.bz2 520648 BLAKE2B 0b82fee114986140eb74d2669b7d91582a48f1b366936895acda913afb7d3bca1578295a930f7857f8674e593bd1bf8094c36f2ae8db6cf1a62cacfd4234cf13 SHA512 3615ac1ec42813855f3328dde200f60025e1f2ca7d1e17ea042967fd4164079260d058f3e2586acd778334660f387a280b35850a9e2091dd913fb84ef929bdca
+DIST pure-ftpd-1.0.52.tar.bz2 527691 BLAKE2B 58b53717a932084c733fe42313b36f852281deef9131bb277ca7ede3cf563fd0f804ee739d7544138333d852ec8e5eb2fe9ed1f9709418840b355b1271e8aff8 SHA512 c7b6f76c1429d2cbf9d740c3408464564e023716ebf8361231ba5021f81804575049910c9874970c83c98f927cd496899e5c30625e4dee6538497f9179632c23
EBUILD pure-ftpd-1.0.51-r2.ebuild 4568 BLAKE2B 6d8592513deaf45e11374b0d39146df8657dc7cdf6df93e17708e3e01a987df543e2ee557af1a8867247302876d2e0fc0b13a3f2817eaf42f863cc5ef5294268 SHA512 30c16a2dc6890fb59cc69b1eddd842bce7abf9458372ead2dd8b691c1485519c95e1ae3c6b43a375d5728bad26ca8650e34b3191467c091c38cb4a972be045f4
-EBUILD pure-ftpd-9999.ebuild 4529 BLAKE2B d64972d16ceabbe182f4e2ee0fadecaae0c9d51088302e928fca7d166e7b20e8a6f87e5fe7220e11ac17dada93fa3270ef6947e32ee8362267e66338f5f82c21 SHA512 4f1c806c57275a24cf61eba14987682399bc757fbe3c69c26665d7a12b35753535755126feb4420e46019482d1ba1bd5cbcbbd5997a76ea65444f7f7c752314e
+EBUILD pure-ftpd-1.0.52.ebuild 4465 BLAKE2B de354897fea1beada9b2d73013476d2b4cc3826e9594ef2b53d88c8c97debde03a0e17dc8a5f671dc260132bafc22428e54ca45a2de3d88646113aa89e63c6c0 SHA512 4bdb6cf33599030a7a14e4f7436c041681844648d71751cea95fa7f031b63b26a1c6674576d541a3671085b284641af2ba6558abb741aef10ebfe3475f4fcffa
+EBUILD pure-ftpd-9999.ebuild 4468 BLAKE2B 73d0411e5d7e890a2f65721ca043bf869dbe8f9b8687d77b2c84307751d4c8eeb4d82543e8b75d76278be687d80394b99ad1b1433ba05c2e9de98c488845c8c8 SHA512 c86a861df2703b36e1d46415d2fc4920f2257ddaaf1e41e62e80b64a6ed82aea2db31281105848254d565742054a3fba6fa579779a256f66ebcc2d784e2d072f
MISC metadata.xml 1289 BLAKE2B bf0e11d7e99724a817cdd10c7d38898d60725e455b4cf438a5d0e63cdaddaa6f4f3b231eb51231ff55226850f084dde65d885785aae0f5b7e3ccede8df366952 SHA512 ab0cfea202b128a04fb269f9332e9a1267d7e5194b3f34e2d34aefca07323304cacf8cbd97cf4db2e990632c1be781f97334a220aa5cb9815f7ca7eef4ad0ac1
diff --git a/net-ftp/pure-ftpd/pure-ftpd-1.0.52.ebuild b/net-ftp/pure-ftpd/pure-ftpd-1.0.52.ebuild
new file mode 100644
index 000000000000..b6a9a3fa501f
--- /dev/null
+++ b/net-ftp/pure-ftpd/pure-ftpd-1.0.52.ebuild
@@ -0,0 +1,166 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit flag-o-matic
+
+DESCRIPTION="Fast, production-quality, standard-conformant FTP server"
+HOMEPAGE="https://www.pureftpd.org/project/pure-ftpd/"
+if [[ "${PV}" == 9999 ]] ; then
+ inherit autotools git-r3
+ EGIT_REPO_URI="https://github.com/jedisct1/pure-ftpd.git"
+else
+ SRC_URI="https://download.pureftpd.org/pub/${PN}/releases/${P}.tar.bz2"
+ KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~riscv ~sparc ~x86"
+fi
+
+LICENSE="BSD GPL-2"
+SLOT="0"
+IUSE="anondel anonperm anonren anonres caps implicittls ldap mysql noiplog pam paranoidmsg postgres resolveids selinux ssl sysquota vchroot xinetd"
+REQUIRED_USE="implicittls? ( ssl )"
+
+DEPEND="
+ dev-libs/libsodium:=
+ virtual/libcrypt:=
+ caps? ( sys-libs/libcap )
+ ldap? ( >=net-nds/openldap-2.0.25:= )
+ mysql? ( || (
+ dev-db/mariadb-connector-c
+ dev-db/mysql-connector-c
+ )
+ )
+ pam? ( sys-libs/pam )
+ postgres? ( dev-db/postgresql:= )
+ ssl? ( dev-libs/openssl:0=[-bindist(-)] )
+ sysquota? ( sys-fs/quota[-rpc] )
+ xinetd? ( virtual/inetd )
+"
+
+RDEPEND="
+ ${DEPEND}
+ net-ftp/ftpbase
+ selinux? ( sec-policy/selinux-ftp )
+"
+
+BDEPEND="dev-build/autoconf-archive"
+
+QA_CONFIG_IMPL_DECL_SKIP=(
+ # FP noise (bug #900068)
+ sendfile sendfilev
+)
+
+PATCHES=( "${FILESDIR}/${PN}-1.0.28-pam.patch" )
+
+src_prepare() {
+ default
+
+ # Don't hardcode FORTIFY_SOURCE
+ sed -e '/-D_FORTIFY_SOURCE=2/d' -i configure || die
+
+ [[ "${PV}" == 9999 ]] && eautoreconf
+}
+
+src_configure() {
+ # Those features are only configurable like this, see bug #179375.
+ use anondel && append-cppflags -DANON_CAN_DELETE
+ use anonperm && append-cppflags -DANON_CAN_CHANGE_PERMS
+ use anonren && append-cppflags -DANON_CAN_RENAME
+ use anonres && append-cppflags -DANON_CAN_RESUME
+ use resolveids && append-cppflags -DALWAYS_RESOLVE_IDS
+
+ # Do not auto-use SSP -- let the user select this.
+ export ax_cv_check_cflags___fstack_protector_all=no
+
+ local myeconfargs=(
+ --enable-largefile
+ # Required for correct pid file location.
+ # Pure-FTPd appends "/run/pure-ftpd.pid" to the localstatedir
+ # path, and tries to write to that file even when being
+ # started in foreground. So we need to pin this to /
+ --localstatedir="${EPREFIX}"/
+ --with-altlog
+ --with-cookie
+ --with-diraliases
+ --with-extauth
+ --with-ftpwho
+ --with-language=${PUREFTPD_LANG:=english}
+ --with-peruserlimits
+ --with-privsep
+ --with-puredb
+ --with-quotas
+ --with-ratios
+ --with-throttling
+ --with-uploadscript
+ --with-virtualhosts
+ $(use_with implicittls)
+ $(use_with ldap)
+ $(use_with mysql)
+ $(use_with pam)
+ $(use_with paranoidmsg)
+ $(use_with postgres pgsql)
+ $(use_with ssl tls)
+ $(use_with sysquota sysquotas)
+ $(use_with vchroot virtualchroot)
+ $(usex caps '' '--without-capabilities')
+ $(usex noiplog '--without-iplogging' '')
+ $(usex xinetd '' '--without-inetd')
+ )
+
+ econf "${myeconfargs[@]}"
+}
+
+src_install() {
+ default
+
+ newinitd "${FILESDIR}/pure-ftpd.initd-r12" pure-ftpd
+ newconfd "${FILESDIR}/pure-ftpd.confd-r4" pure-ftpd
+
+ newinitd "${FILESDIR}/pure-uploadscript.initd-r1" pure-uploadscript
+ newconfd "${FILESDIR}/pure-uploadscript.confd" pure-uploadscript
+
+ if use implicittls ; then
+ sed -e '/^# Bind/s@21@990@' -i "${ED}"/etc/pure-ftpd.conf || die
+ fi
+
+ if use ssl ; then
+ newinitd "${FILESDIR}/pure-certd.initd" pure-certd
+
+ exeinto /etc
+ newexe "${FILESDIR}/pure-certd.script" pure-certd.sh
+ fi
+
+ if use ldap ; then
+ insinto /etc/openldap/schema
+ doins pureftpd.schema
+ insinto /etc/openldap
+ insopts -m 0600
+ doins pureftpd-ldap.conf
+ fi
+
+ if use xinetd ; then
+ insinto /etc/xinetd.d
+ newins "${FILESDIR}/pure-ftpd.xinetd" pure-ftpd
+ fi
+}
+
+pkg_postinst() {
+ if [[ -z "${REPLACING_VERSIONS}" ]] ; then
+ # This is a new installation
+ elog
+ elog "Before starting Pure-FTPd, you have to edit the /etc/pure-ftpd.conf file!"
+ elog
+ ewarn "It's *really* important to read the README provided with Pure-FTPd!"
+ ewarn "Check out http://download.pureftpd.org/pub/pure-ftpd/doc/README for general info"
+ ewarn "and http://download.pureftpd.org/pub/pure-ftpd/doc/README.TLS for SSL/TLS info."
+ ewarn
+ else
+ for v in ${REPLACING_VERSIONS} ; do
+ if ver_test "${v}" -le "1.0.50" ; then
+ einfo "Configuration through /etc/conf.d/pure-ftpd is now deprecated!"
+ einfo "Please migrate your settings to the new configuration file."
+ einfo "Use /etc/pure-ftpd.conf to adjust your settings."
+ fi
+ done
+ fi
+}
diff --git a/net-ftp/pure-ftpd/pure-ftpd-9999.ebuild b/net-ftp/pure-ftpd/pure-ftpd-9999.ebuild
index 06dcee741445..e51853eb0ea5 100644
--- a/net-ftp/pure-ftpd/pure-ftpd-9999.ebuild
+++ b/net-ftp/pure-ftpd/pure-ftpd-9999.ebuild
@@ -11,10 +11,7 @@ if [[ "${PV}" == 9999 ]] ; then
inherit autotools git-r3
EGIT_REPO_URI="https://github.com/jedisct1/pure-ftpd.git"
else
- SRC_URI="
- ftp://ftp.pureftpd.org/pub/${PN}/releases/${P}.tar.bz2
- http://download.pureftpd.org/pub/${PN}/releases/${P}.tar.bz2
- "
+ SRC_URI="https://download.pureftpd.org/pub/${PN}/releases/${P}.tar.bz2"
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~riscv ~sparc ~x86"
fi