[gentoo-commits] repo/gentoo:master commit in: net-ftp/pure-ftpd/

2024-09-17 Thread Sam James
commit: 21dd4f300a263f5471ecc4b563d4efb4a8c344a6
Author: Sam James  gentoo  org>
AuthorDate: Wed Sep 18 05:57:52 2024 +
Commit: Sam James  gentoo  org>
CommitDate: Wed Sep 18 06:00:00 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=21dd4f30

net-ftp/pure-ftpd: suppress FP configure issues

Bug: https://bugs.gentoo.org/900068
Signed-off-by: Sam James  gentoo.org>

 net-ftp/pure-ftpd/pure-ftpd-1.0.51-r2.ebuild | 5 +
 net-ftp/pure-ftpd/pure-ftpd-.ebuild  | 5 +
 2 files changed, 10 insertions(+)

diff --git a/net-ftp/pure-ftpd/pure-ftpd-1.0.51-r2.ebuild 
b/net-ftp/pure-ftpd/pure-ftpd-1.0.51-r2.ebuild
index 57b1fef595ab..6c8d004c97be 100644
--- a/net-ftp/pure-ftpd/pure-ftpd-1.0.51-r2.ebuild
+++ b/net-ftp/pure-ftpd/pure-ftpd-1.0.51-r2.ebuild
@@ -48,6 +48,11 @@ RDEPEND="
 
 BDEPEND="dev-build/autoconf-archive"
 
+QA_CONFIG_IMPL_DECL_SKIP=(
+   # FP noise (bug #900068)
+   sendfile sendfilev
+)
+
 PATCHES=(
"${FILESDIR}/${PN}-1.0.28-pam.patch"
"${FILESDIR}/${PN}-1.0.51-sys-sendfile.patch"

diff --git a/net-ftp/pure-ftpd/pure-ftpd-.ebuild 
b/net-ftp/pure-ftpd/pure-ftpd-.ebuild
index c550fb4e65c8..06dcee741445 100644
--- a/net-ftp/pure-ftpd/pure-ftpd-.ebuild
+++ b/net-ftp/pure-ftpd/pure-ftpd-.ebuild
@@ -48,6 +48,11 @@ RDEPEND="
 
 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() {



[gentoo-commits] repo/gentoo:master commit in: net-ftp/pure-ftpd/, net-ftp/pure-ftpd/files/

2023-05-07 Thread Conrad Kostecki
commit: c3fe928536b125fae4f578bc23dc2c4ee3b49723
Author: Conrad Kostecki  gentoo  org>
AuthorDate: Sun May  7 12:23:18 2023 +
Commit: Conrad Kostecki  gentoo  org>
CommitDate: Sun May  7 12:34:09 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c3fe9285

net-ftp/pure-ftpd: fix implicit function declarations

Closes: https://bugs.gentoo.org/900068
Signed-off-by: Conrad Kostecki  gentoo.org>

 .../files/pure-ftpd-1.0.51-sys-sendfile.patch  | 37 ++
 ...1.0.51-r1.ebuild => pure-ftpd-1.0.51-r2.ebuild} |  5 ++-
 2 files changed, 41 insertions(+), 1 deletion(-)

diff --git a/net-ftp/pure-ftpd/files/pure-ftpd-1.0.51-sys-sendfile.patch 
b/net-ftp/pure-ftpd/files/pure-ftpd-1.0.51-sys-sendfile.patch
new file mode 100644
index ..bc2973c1389c
--- /dev/null
+++ b/net-ftp/pure-ftpd/files/pure-ftpd-1.0.51-sys-sendfile.patch
@@ -0,0 +1,37 @@
+From 511315971f227ac2ce1481ff9e7350a607f78d23 Mon Sep 17 00:00:00 2001
+From: Sam James 
+Date: Sun, 23 Apr 2023 06:27:20 +0100
+Subject: [PATCH] configure.ac: Silence harmless
+ -Wimplicit-function-declaration warning in hpux sendfile check
+
+We're currently looking for build systems where -Wimplicit-function-declaration
+is emitted by checks as it often implies a missing include, but in this case,
+it's fine - HPUX doesn't have a sendfile header, so it's just noise (and it
+won't be true on Linux anyway).
+
+But the check is run unconditionally and we already check if sendfile.h exists,
+so include the header conditionally if it exists, as it's harmless and it 
avoids
+it looking like there's a problem in pure-ftpd.
+
+Unfortunately, it's not so easy to silence the sendfilev check which has
+a similar (but different) problem because it uses AC_CHECK_FUNCS.
+
+Bug: https://bugs.gentoo.org/900068
+---
+ configure.ac | 3 +++
+ 1 file changed, 3 insertions(+)
+
+diff --git a/configure.ac b/configure.ac
+index 62768c8..0abb423 100644
+--- a/configure.ac
 b/configure.ac
+@@ -718,6 +718,9 @@ AC_MSG_CHECKING([if a hpuxish sendfile is available])
+ AC_LINK_IFELSE([AC_LANG_PROGRAM([[
+ #include 
+ #include 
++#ifdef HAVE_SYS_SENDFILE_H
++# include 
++#endif
+ ]], [[
+ do {
+  int fd = 0;

diff --git a/net-ftp/pure-ftpd/pure-ftpd-1.0.51-r1.ebuild 
b/net-ftp/pure-ftpd/pure-ftpd-1.0.51-r2.ebuild
similarity index 97%
rename from net-ftp/pure-ftpd/pure-ftpd-1.0.51-r1.ebuild
rename to net-ftp/pure-ftpd/pure-ftpd-1.0.51-r2.ebuild
index 223cdb2a5ea7..78000f7885e9 100644
--- a/net-ftp/pure-ftpd/pure-ftpd-1.0.51-r1.ebuild
+++ b/net-ftp/pure-ftpd/pure-ftpd-1.0.51-r2.ebuild
@@ -48,7 +48,10 @@ RDEPEND="
 
 BDEPEND="sys-devel/autoconf-archive"
 
-PATCHES=( "${FILESDIR}/${PN}-1.0.28-pam.patch" )
+PATCHES=(
+   "${FILESDIR}/${PN}-1.0.28-pam.patch"
+   "${FILESDIR}/${PN}-1.0.51-sys-sendfile.patch"
+)
 
 src_prepare() {
default



[gentoo-commits] repo/gentoo:master commit in: net-ftp/pure-ftpd/

2023-04-22 Thread Sam James
commit: 533bc96b7b93c1a30751a966a1b9c2cee0a85ce1
Author: Sam James  gentoo  org>
AuthorDate: Sun Apr 23 05:10:13 2023 +
Commit: Sam James  gentoo  org>
CommitDate: Sun Apr 23 05:37:25 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=533bc96b

net-ftp/pure-ftpd: add github upstream metadata

Signed-off-by: Sam James  gentoo.org>

 net-ftp/pure-ftpd/metadata.xml | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/net-ftp/pure-ftpd/metadata.xml b/net-ftp/pure-ftpd/metadata.xml
index 34d05732be28..58d488700236 100644
--- a/net-ftp/pure-ftpd/metadata.xml
+++ b/net-ftp/pure-ftpd/metadata.xml
@@ -22,4 +22,7 @@
Enables system quota support (needs 
sys-fs/quota)
Enable support for virtual chroot 
(possible security risk)

+   
+   jedisct1/pure-ftpd
+   
 



[gentoo-commits] repo/gentoo:master commit in: net-ftp/pure-ftpd/

2023-04-22 Thread Conrad Kostecki
commit: b6b552eac786970d03a5d1dd019bab4fd28c2a0f
Author: Conrad Kostecki  gentoo  org>
AuthorDate: Sat Apr 22 23:03:44 2023 +
Commit: Conrad Kostecki  gentoo  org>
CommitDate: Sat Apr 22 23:53:26 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b6b552ea

net-ftp/pure-ftpd: Don't hardcode FORTIFY_SOURCE

Closes: https://bugs.gentoo.org/893468
Signed-off-by: Conrad Kostecki  gentoo.org>

 .../{pure-ftpd-1.0.51.ebuild => pure-ftpd-1.0.51-r1.ebuild}  | 5 -
 net-ftp/pure-ftpd/pure-ftpd-.ebuild  | 5 -
 2 files changed, 8 insertions(+), 2 deletions(-)

diff --git a/net-ftp/pure-ftpd/pure-ftpd-1.0.51.ebuild 
b/net-ftp/pure-ftpd/pure-ftpd-1.0.51-r1.ebuild
similarity index 97%
rename from net-ftp/pure-ftpd/pure-ftpd-1.0.51.ebuild
rename to net-ftp/pure-ftpd/pure-ftpd-1.0.51-r1.ebuild
index a01e48fe71f1..223cdb2a5ea7 100644
--- a/net-ftp/pure-ftpd/pure-ftpd-1.0.51.ebuild
+++ b/net-ftp/pure-ftpd/pure-ftpd-1.0.51-r1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2022 Gentoo Authors
+# Copyright 1999-2023 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=8
@@ -53,6 +53,9 @@ 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}" ==  ]] && eautoreconf
 }
 

diff --git a/net-ftp/pure-ftpd/pure-ftpd-.ebuild 
b/net-ftp/pure-ftpd/pure-ftpd-.ebuild
index 712fefda22b2..2c5c51cfabc5 100644
--- a/net-ftp/pure-ftpd/pure-ftpd-.ebuild
+++ b/net-ftp/pure-ftpd/pure-ftpd-.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2022 Gentoo Authors
+# Copyright 1999-2023 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=8
@@ -53,6 +53,9 @@ 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.ac || die
+
[[ "${PV}" ==  ]] && eautoreconf
 }
 



[gentoo-commits] repo/gentoo:master commit in: net-ftp/pure-ftpd/

2022-07-02 Thread Conrad Kostecki
commit: 413ee5ddeedc350a1e38449cdd3cdf24e7e50d4c
Author: Conrad Kostecki  gentoo  org>
AuthorDate: Sat Jul  2 14:45:10 2022 +
Commit: Conrad Kostecki  gentoo  org>
CommitDate: Sat Jul  2 14:58:39 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=413ee5dd

net-ftp/pure-ftpd: drop 1.0.50-r3

Signed-off-by: Conrad Kostecki  gentoo.org>

 net-ftp/pure-ftpd/Manifest   |   1 -
 net-ftp/pure-ftpd/pure-ftpd-1.0.50-r3.ebuild | 161 ---
 2 files changed, 162 deletions(-)

diff --git a/net-ftp/pure-ftpd/Manifest b/net-ftp/pure-ftpd/Manifest
index f988f5b6c22b..a3f85c06e326 100644
--- a/net-ftp/pure-ftpd/Manifest
+++ b/net-ftp/pure-ftpd/Manifest
@@ -1,2 +1 @@
-DIST pure-ftpd-1.0.50.tar.bz2 520167 BLAKE2B 
0c694ed48e896be13d907a71a24357f8676daf2c66bdaac41d31b162741164fe5ab1560499acc08b11e4fdb2a678c81c81c03e65a8181fcfd960ffbfe4b731d4
 SHA512 
8fbd24fb0450b9ed8e47335c97c3bc1cbcd0ee2ac7ebea95721b9dbddb7f61d8bedaa1710ba94213d96c79e12ec9b2b555ddb5f494c8961ca2339b176a52fe12
 DIST pure-ftpd-1.0.51.tar.bz2 520648 BLAKE2B 
0b82fee114986140eb74d2669b7d91582a48f1b366936895acda913afb7d3bca1578295a930f7857f8674e593bd1bf8094c36f2ae8db6cf1a62cacfd4234cf13
 SHA512 
3615ac1ec42813855f3328dde200f60025e1f2ca7d1e17ea042967fd4164079260d058f3e2586acd778334660f387a280b35850a9e2091dd913fb84ef929bdca

diff --git a/net-ftp/pure-ftpd/pure-ftpd-1.0.50-r3.ebuild 
b/net-ftp/pure-ftpd/pure-ftpd-1.0.50-r3.ebuild
deleted file mode 100644
index a01e48fe71f1..
--- a/net-ftp/pure-ftpd/pure-ftpd-1.0.50-r3.ebuild
+++ /dev/null
@@ -1,161 +0,0 @@
-# Copyright 1999-2022 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}" ==  ]] ; 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
-   "
-   KEYWORDS="~alpha amd64 arm ~arm64 ~hppa ~ia64 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="sys-devel/autoconf-archive"
-
-PATCHES=( "${FILESDIR}/${PN}-1.0.28-pam.patch" )
-
-src_prepare() {
-   default
-
-   [[ "${PV}" ==  ]] && 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)
-  

[gentoo-commits] repo/gentoo:master commit in: net-ftp/pure-ftpd/

2022-07-02 Thread Agostino Sarubbo
commit: 4f7ce73b14593b5c177c9dd9d3f11d2ecdde2082
Author: Agostino Sarubbo  gentoo  org>
AuthorDate: Sat Jul  2 12:22:21 2022 +
Commit: Agostino Sarubbo  gentoo  org>
CommitDate: Sat Jul  2 12:22:21 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4f7ce73b

net-ftp/pure-ftpd: ppc64 stable wrt bug #855530

Package-Manager: Portage-3.0.30, Repoman-3.0.3
RepoMan-Options: --include-arches="ppc64"
Signed-off-by: Agostino Sarubbo  gentoo.org>

 net-ftp/pure-ftpd/pure-ftpd-1.0.51.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net-ftp/pure-ftpd/pure-ftpd-1.0.51.ebuild 
b/net-ftp/pure-ftpd/pure-ftpd-1.0.51.ebuild
index fc0d379a55e4..a01e48fe71f1 100644
--- a/net-ftp/pure-ftpd/pure-ftpd-1.0.51.ebuild
+++ b/net-ftp/pure-ftpd/pure-ftpd-1.0.51.ebuild
@@ -15,7 +15,7 @@ else
ftp://ftp.pureftpd.org/pub/${PN}/releases/${P}.tar.bz2
http://download.pureftpd.org/pub/${PN}/releases/${P}.tar.bz2
"
-   KEYWORDS="~alpha amd64 arm ~arm64 ~hppa ~ia64 ppc ~ppc64 ~riscv sparc 
x86"
+   KEYWORDS="~alpha amd64 arm ~arm64 ~hppa ~ia64 ppc ppc64 ~riscv sparc 
x86"
 fi
 
 LICENSE="BSD GPL-2"



[gentoo-commits] repo/gentoo:master commit in: net-ftp/pure-ftpd/

2022-07-02 Thread Agostino Sarubbo
commit: cc51f1bb0333094e1aed9174dd6ed81a2692d948
Author: Agostino Sarubbo  gentoo  org>
AuthorDate: Sat Jul  2 12:20:29 2022 +
Commit: Agostino Sarubbo  gentoo  org>
CommitDate: Sat Jul  2 12:20:47 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=cc51f1bb

net-ftp/pure-ftpd: amd64 stable wrt bug #855530

Package-Manager: Portage-3.0.30, Repoman-3.0.3
RepoMan-Options: --include-arches="amd64"
Signed-off-by: Agostino Sarubbo  gentoo.org>

 net-ftp/pure-ftpd/pure-ftpd-1.0.51.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net-ftp/pure-ftpd/pure-ftpd-1.0.51.ebuild 
b/net-ftp/pure-ftpd/pure-ftpd-1.0.51.ebuild
index b7337c47c56e..fc0d379a55e4 100644
--- a/net-ftp/pure-ftpd/pure-ftpd-1.0.51.ebuild
+++ b/net-ftp/pure-ftpd/pure-ftpd-1.0.51.ebuild
@@ -15,7 +15,7 @@ else
ftp://ftp.pureftpd.org/pub/${PN}/releases/${P}.tar.bz2
http://download.pureftpd.org/pub/${PN}/releases/${P}.tar.bz2
"
-   KEYWORDS="~alpha ~amd64 arm ~arm64 ~hppa ~ia64 ppc ~ppc64 ~riscv sparc 
x86"
+   KEYWORDS="~alpha amd64 arm ~arm64 ~hppa ~ia64 ppc ~ppc64 ~riscv sparc 
x86"
 fi
 
 LICENSE="BSD GPL-2"



[gentoo-commits] repo/gentoo:master commit in: net-ftp/pure-ftpd/

2022-07-02 Thread Arthur Zamarin
commit: 2f986dba7f7a9feec5c2daacdf168b30b5c9872e
Author: Arthur Zamarin  gentoo  org>
AuthorDate: Sat Jul  2 12:18:22 2022 +
Commit: Arthur Zamarin  gentoo  org>
CommitDate: Sat Jul  2 12:18:22 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2f986dba

net-ftp/pure-ftpd: Stabilize 1.0.51 sparc, #855530

Signed-off-by: Arthur Zamarin  gentoo.org>

 net-ftp/pure-ftpd/pure-ftpd-1.0.51.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net-ftp/pure-ftpd/pure-ftpd-1.0.51.ebuild 
b/net-ftp/pure-ftpd/pure-ftpd-1.0.51.ebuild
index 34de04343068..b7337c47c56e 100644
--- a/net-ftp/pure-ftpd/pure-ftpd-1.0.51.ebuild
+++ b/net-ftp/pure-ftpd/pure-ftpd-1.0.51.ebuild
@@ -15,7 +15,7 @@ else
ftp://ftp.pureftpd.org/pub/${PN}/releases/${P}.tar.bz2
http://download.pureftpd.org/pub/${PN}/releases/${P}.tar.bz2
"
-   KEYWORDS="~alpha ~amd64 arm ~arm64 ~hppa ~ia64 ppc ~ppc64 ~riscv ~sparc 
x86"
+   KEYWORDS="~alpha ~amd64 arm ~arm64 ~hppa ~ia64 ppc ~ppc64 ~riscv sparc 
x86"
 fi
 
 LICENSE="BSD GPL-2"



[gentoo-commits] repo/gentoo:master commit in: net-ftp/pure-ftpd/

2022-07-02 Thread Jakov Smolić
commit: f3b3211d29b3446fc976aebc35506b4e07a06ee1
Author: Jakov Smolić  gentoo  org>
AuthorDate: Sat Jul  2 07:18:59 2022 +
Commit: Jakov Smolić  gentoo  org>
CommitDate: Sat Jul  2 07:18:59 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f3b3211d

net-ftp/pure-ftpd: Stabilize 1.0.51 arm, #855530

Signed-off-by: Jakov Smolić  gentoo.org>

 net-ftp/pure-ftpd/pure-ftpd-1.0.51.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net-ftp/pure-ftpd/pure-ftpd-1.0.51.ebuild 
b/net-ftp/pure-ftpd/pure-ftpd-1.0.51.ebuild
index c76f86cfe3f5..34de04343068 100644
--- a/net-ftp/pure-ftpd/pure-ftpd-1.0.51.ebuild
+++ b/net-ftp/pure-ftpd/pure-ftpd-1.0.51.ebuild
@@ -15,7 +15,7 @@ else
ftp://ftp.pureftpd.org/pub/${PN}/releases/${P}.tar.bz2
http://download.pureftpd.org/pub/${PN}/releases/${P}.tar.bz2
"
-   KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ppc ~ppc64 ~riscv 
~sparc x86"
+   KEYWORDS="~alpha ~amd64 arm ~arm64 ~hppa ~ia64 ppc ~ppc64 ~riscv ~sparc 
x86"
 fi
 
 LICENSE="BSD GPL-2"



[gentoo-commits] repo/gentoo:master commit in: net-ftp/pure-ftpd/

2022-07-02 Thread Jakov Smolić
commit: 3b517076a0ba9d4e61e7c90316bf2a08a6541476
Author: Jakov Smolić  gentoo  org>
AuthorDate: Sat Jul  2 07:05:04 2022 +
Commit: Jakov Smolić  gentoo  org>
CommitDate: Sat Jul  2 07:05:04 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3b517076

net-ftp/pure-ftpd: Stabilize 1.0.51 x86, #855530

Signed-off-by: Jakov Smolić  gentoo.org>

 net-ftp/pure-ftpd/pure-ftpd-1.0.51.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net-ftp/pure-ftpd/pure-ftpd-1.0.51.ebuild 
b/net-ftp/pure-ftpd/pure-ftpd-1.0.51.ebuild
index 8dc577ce2655..c76f86cfe3f5 100644
--- a/net-ftp/pure-ftpd/pure-ftpd-1.0.51.ebuild
+++ b/net-ftp/pure-ftpd/pure-ftpd-1.0.51.ebuild
@@ -15,7 +15,7 @@ else
ftp://ftp.pureftpd.org/pub/${PN}/releases/${P}.tar.bz2
http://download.pureftpd.org/pub/${PN}/releases/${P}.tar.bz2
"
-   KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ppc ~ppc64 ~riscv 
~sparc ~x86"
+   KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ppc ~ppc64 ~riscv 
~sparc x86"
 fi
 
 LICENSE="BSD GPL-2"



[gentoo-commits] repo/gentoo:master commit in: net-ftp/pure-ftpd/

2022-07-02 Thread Jakov Smolić
commit: 7ba06ee6b2616867ddb291b5a2d674dc25c0cc1a
Author: Jakov Smolić  gentoo  org>
AuthorDate: Sat Jul  2 07:02:57 2022 +
Commit: Jakov Smolić  gentoo  org>
CommitDate: Sat Jul  2 07:02:57 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7ba06ee6

net-ftp/pure-ftpd: Stabilize 1.0.51 ppc, #855530

Signed-off-by: Jakov Smolić  gentoo.org>

 net-ftp/pure-ftpd/pure-ftpd-1.0.51.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net-ftp/pure-ftpd/pure-ftpd-1.0.51.ebuild 
b/net-ftp/pure-ftpd/pure-ftpd-1.0.51.ebuild
index 712fefda22b2..8dc577ce2655 100644
--- a/net-ftp/pure-ftpd/pure-ftpd-1.0.51.ebuild
+++ b/net-ftp/pure-ftpd/pure-ftpd-1.0.51.ebuild
@@ -15,7 +15,7 @@ else
ftp://ftp.pureftpd.org/pub/${PN}/releases/${P}.tar.bz2
http://download.pureftpd.org/pub/${PN}/releases/${P}.tar.bz2
"
-   KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~riscv 
~sparc ~x86"
+   KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ppc ~ppc64 ~riscv 
~sparc ~x86"
 fi
 
 LICENSE="BSD GPL-2"



[gentoo-commits] repo/gentoo:master commit in: net-ftp/pure-ftpd/

2022-06-29 Thread Conrad Kostecki
commit: 6fe66c5a505a421021767ecc6730042559323bb4
Author: Conrad Kostecki  gentoo  org>
AuthorDate: Wed Jun 29 22:02:28 2022 +
Commit: Conrad Kostecki  gentoo  org>
CommitDate: Wed Jun 29 22:02:28 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6fe66c5a

net-ftp/pure-ftpd: add myself as maintainer

Signed-off-by: Conrad Kostecki  gentoo.org>

 net-ftp/pure-ftpd/metadata.xml | 38 +-
 1 file changed, 21 insertions(+), 17 deletions(-)

diff --git a/net-ftp/pure-ftpd/metadata.xml b/net-ftp/pure-ftpd/metadata.xml
index 95bb40b57c16..f48d6b975eb0 100644
--- a/net-ftp/pure-ftpd/metadata.xml
+++ b/net-ftp/pure-ftpd/metadata.xml
@@ -1,21 +1,25 @@
 
 https://www.gentoo.org/dtd/metadata.dtd";>
 
-
-Free (BSD), secure, production-quality and 
standard-conformant FTP server based upon Troll-FTPd. It doesn't provide 
useless bells and whistles, but focuses on efficiency and ease of 
use.
-
-   Permit anonymous to delete files
-   Permit anonymous to change file permissions
-   Permit anonymous to rename files
-   Permit anonymous to resume file transfers
-   Enable TLS on Port 990
-   Disables logging of IP addresses
-   Display paranoid messages instead of normal
-   ones
-   Resolve UIDs/GIDs
-   Enables system quota support (needs sys-fs/quota)
-   
-   Enable support for virtual chroot (possible 
security
-   risk)
-
+   
+   conik...@gentoo.org
+   Conrad Kostecki
+   
+   
+   Free (BSD), secure, production-quality and standard-conformant 
FTP server
+   based upon Troll-FTPd. It doesn't provide useless bells and 
whistles,
+   but focuses on efficiency and ease of use.
+   
+   
+   Permit anonymous to delete files
+   Permit anonymous to change file 
permissions
+   Permit anonymous to rename files
+   Permit anonymous to resume file 
transfers
+   Enable TLS on Port 990
+   Disables logging of IP addresses
+   Display paranoid messages instead of 
normal ones
+   Resolve UIDs/GIDs
+   Enables system quota support (needs 
sys-fs/quota)
+   Enable support for virtual chroot 
(possible security risk)
+   
 



[gentoo-commits] repo/gentoo:master commit in: net-ftp/pure-ftpd/

2022-06-14 Thread Lars Wendler
commit: 1d38d5bd0404188eddab61d21bdf93b1d9b3c10e
Author: Lars Wendler  gentoo  org>
AuthorDate: Tue Jun 14 19:45:39 2022 +
Commit: Lars Wendler  gentoo  org>
CommitDate: Tue Jun 14 19:45:49 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1d38d5bd

net-ftp/pure-ftpd: Bump to version 1.0.51

Signed-off-by: Lars Wendler  gentoo.org>

 net-ftp/pure-ftpd/Manifest|   1 +
 net-ftp/pure-ftpd/pure-ftpd-1.0.51.ebuild | 161 ++
 2 files changed, 162 insertions(+)

diff --git a/net-ftp/pure-ftpd/Manifest b/net-ftp/pure-ftpd/Manifest
index 95a31323d918..f988f5b6c22b 100644
--- a/net-ftp/pure-ftpd/Manifest
+++ b/net-ftp/pure-ftpd/Manifest
@@ -1 +1,2 @@
 DIST pure-ftpd-1.0.50.tar.bz2 520167 BLAKE2B 
0c694ed48e896be13d907a71a24357f8676daf2c66bdaac41d31b162741164fe5ab1560499acc08b11e4fdb2a678c81c81c03e65a8181fcfd960ffbfe4b731d4
 SHA512 
8fbd24fb0450b9ed8e47335c97c3bc1cbcd0ee2ac7ebea95721b9dbddb7f61d8bedaa1710ba94213d96c79e12ec9b2b555ddb5f494c8961ca2339b176a52fe12
+DIST pure-ftpd-1.0.51.tar.bz2 520648 BLAKE2B 
0b82fee114986140eb74d2669b7d91582a48f1b366936895acda913afb7d3bca1578295a930f7857f8674e593bd1bf8094c36f2ae8db6cf1a62cacfd4234cf13
 SHA512 
3615ac1ec42813855f3328dde200f60025e1f2ca7d1e17ea042967fd4164079260d058f3e2586acd778334660f387a280b35850a9e2091dd913fb84ef929bdca

diff --git a/net-ftp/pure-ftpd/pure-ftpd-1.0.51.ebuild 
b/net-ftp/pure-ftpd/pure-ftpd-1.0.51.ebuild
new file mode 100644
index ..712fefda22b2
--- /dev/null
+++ b/net-ftp/pure-ftpd/pure-ftpd-1.0.51.ebuild
@@ -0,0 +1,161 @@
+# Copyright 1999-2022 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}" ==  ]] ; 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
+   "
+   KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~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="sys-devel/autoconf-archive"
+
+PATCHES=( "${FILESDIR}/${PN}-1.0.28-pam.patch" )
+
+src_prepare() {
+   default
+
+   [[ "${PV}" ==  ]] && 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_wit

[gentoo-commits] repo/gentoo:master commit in: net-ftp/pure-ftpd/files/, net-ftp/pure-ftpd/

2022-05-27 Thread Conrad Kostecki
commit: e991d2f044f54c1516cc4e1dec4f1863acd9cb4e
Author: Conrad Kostecki  gentoo  org>
AuthorDate: Fri May 27 20:17:40 2022 +
Commit: Conrad Kostecki  gentoo  org>
CommitDate: Fri May 27 22:33:38 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e991d2f0

net-ftp/pure-ftpd: drop 1.0.49-r6, 1.0.50-r1

Signed-off-by: Conrad Kostecki  gentoo.org>

 net-ftp/pure-ftpd/Manifest |   1 -
 ...d-1.0.49-diraliases_uninitialized_pointer.patch |  31 
 .../pure-ftpd-1.0.49-do-not-call-ar-directly.patch |  23 ---
 .../pure-ftpd-1.0.49-pure_strcmp_OOB_read.patch|  27 
 ...pure-ftpd-1.0.49-quota_maxfile_size_check.patch |  25 
 net-ftp/pure-ftpd/files/pure-ftpd.conf_d-3 |  90 
 net-ftp/pure-ftpd/files/pure-ftpd.rc11 |  75 --
 net-ftp/pure-ftpd/pure-ftpd-1.0.49-r6.ebuild   | 160 -
 net-ftp/pure-ftpd/pure-ftpd-1.0.50-r1.ebuild   | 150 ---
 9 files changed, 582 deletions(-)

diff --git a/net-ftp/pure-ftpd/Manifest b/net-ftp/pure-ftpd/Manifest
index 9399be6f1d46..95a31323d918 100644
--- a/net-ftp/pure-ftpd/Manifest
+++ b/net-ftp/pure-ftpd/Manifest
@@ -1,2 +1 @@
-DIST pure-ftpd-1.0.49.tar.bz2 487958 BLAKE2B 
bd5f10a49b533eb6c257032659e97aa7ae16ec9402704d8ee06c92938e217b748b390ccf0e31b3640f41cb7a93f85b29c8ddcdc296f214391b1d92da9d701a7c
 SHA512 
b44896d6fe2cda9169b1db93c5260bb892af14a173f2d25e60dd6530afe85d8e9156985609e35da7e5550dc123afb42bc5012beb9fca9011054cf0ed8b2eddef
 DIST pure-ftpd-1.0.50.tar.bz2 520167 BLAKE2B 
0c694ed48e896be13d907a71a24357f8676daf2c66bdaac41d31b162741164fe5ab1560499acc08b11e4fdb2a678c81c81c03e65a8181fcfd960ffbfe4b731d4
 SHA512 
8fbd24fb0450b9ed8e47335c97c3bc1cbcd0ee2ac7ebea95721b9dbddb7f61d8bedaa1710ba94213d96c79e12ec9b2b555ddb5f494c8961ca2339b176a52fe12

diff --git 
a/net-ftp/pure-ftpd/files/pure-ftpd-1.0.49-diraliases_uninitialized_pointer.patch
 
b/net-ftp/pure-ftpd/files/pure-ftpd-1.0.49-diraliases_uninitialized_pointer.patch
deleted file mode 100644
index 7e29934caf5d..
--- 
a/net-ftp/pure-ftpd/files/pure-ftpd-1.0.49-diraliases_uninitialized_pointer.patch
+++ /dev/null
@@ -1,31 +0,0 @@
-From 8d0d42542e2cb7a56d645fbe4d0ef436e38bcefa Mon Sep 17 00:00:00 2001
-From: Frank Denis 
-Date: Tue, 18 Feb 2020 18:36:58 +0100
-Subject: [PATCH] diraliases: always set the tail of the list to NULL
-
-Spotted and reported by Antonio Norales from GitHub Security Labs.
-Thanks!

- src/diraliases.c | 2 +-
- 1 file changed, 1 insertion(+), 1 deletion(-)
-
-diff --git a/src/diraliases.c b/src/diraliases.c
-index 4002a36..fb70273 100644
 a/src/diraliases.c
-+++ b/src/diraliases.c
-@@ -93,7 +93,6 @@ int init_aliases(void)
- (tail->dir = strdup(dir)) == NULL) {
- die_mem();
- }
--tail->next = NULL;
- } else {
- DirAlias *curr;
- 
-@@ -105,6 +104,7 @@ int init_aliases(void)
- tail->next = curr;
- tail = curr;
- }
-+tail->next = NULL;
- }
- fclose(fp);
- aliases_up++;

diff --git 
a/net-ftp/pure-ftpd/files/pure-ftpd-1.0.49-do-not-call-ar-directly.patch 
b/net-ftp/pure-ftpd/files/pure-ftpd-1.0.49-do-not-call-ar-directly.patch
deleted file mode 100644
index 0df21320957d..
--- a/net-ftp/pure-ftpd/files/pure-ftpd-1.0.49-do-not-call-ar-directly.patch
+++ /dev/null
@@ -1,23 +0,0 @@
-https://bugs.gentoo.org/721242
-Backport of https://github.com/jedisct1/pure-ftpd/pull/148
-
 a/configure.ac
-+++ b/configure.ac
-@@ -7,7 +7,7 @@ AC_INIT([pure-ftpd],[1.0.49],
-   [https://www.pureftpd.org])
- AC_CONFIG_SRCDIR(src/ftpd.c)
- AC_CONFIG_HEADERS([config.h])
--AM_INIT_AUTOMAKE([1.9 dist-bzip2 tar-ustar])
-+AM_INIT_AUTOMAKE([1.11.2 dist-bzip2 tar-ustar])
- m4_ifdef([AM_SILENT_RULES], [AM_SILENT_RULES([yes])])
- AM_MAINTAINER_MODE
- AM_DEP_TRACK
-@@ -17,6 +17,7 @@ AC_SUBST(VERSION)
- 
- dnl Checks for programs.
- LX_CFLAGS=${CFLAGS-NONE}
-+AM_PROG_AR
- AC_PROG_CC
- AC_PROG_RANLIB
- AC_USE_SYSTEM_EXTENSIONS
- 

diff --git 
a/net-ftp/pure-ftpd/files/pure-ftpd-1.0.49-pure_strcmp_OOB_read.patch 
b/net-ftp/pure-ftpd/files/pure-ftpd-1.0.49-pure_strcmp_OOB_read.patch
deleted file mode 100644
index 4ed197e46d35..
--- a/net-ftp/pure-ftpd/files/pure-ftpd-1.0.49-pure_strcmp_OOB_read.patch
+++ /dev/null
@@ -1,27 +0,0 @@
-From 36c6d268cb190282a2c17106acfd31863121b58e Mon Sep 17 00:00:00 2001
-From: Frank Denis 
-Date: Mon, 24 Feb 2020 15:19:43 +0100
-Subject: [PATCH] pure_strcmp(): len(s2) can be > len(s1)
-
-Reported by Antonio Morales from GitHub Security Labs, thanks!

- src/utils.c | 8 +++-
- 1 file changed, 7 insertions(+), 1 deletion(-)
-
-diff --git a/src/utils.c b/src/utils.c
-index f41492d..a7f0381 100644
 a/src/utils.c
-+++ b/src/utils.c
-@@ -45,5 +45,11 @@ int pure_memcmp(const void * const b1_, const void * const 
b2_, size_t len)
- 
- int pure_strcmp(const char * const s1, const char * const s2)

[gentoo-commits] repo/gentoo:master commit in: net-ftp/pure-ftpd/

2022-05-27 Thread Jakov Smolić
commit: 96aaf56d86fbfe11e30ea870f4e6b09e639dc0ff
Author: Jakov Smolić  gentoo  org>
AuthorDate: Fri May 27 17:06:03 2022 +
Commit: Jakov Smolić  gentoo  org>
CommitDate: Fri May 27 17:06:03 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=96aaf56d

net-ftp/pure-ftpd: Stabilize 1.0.50-r3 arm, #847805

Signed-off-by: Jakov Smolić  gentoo.org>

 net-ftp/pure-ftpd/pure-ftpd-1.0.50-r3.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net-ftp/pure-ftpd/pure-ftpd-1.0.50-r3.ebuild 
b/net-ftp/pure-ftpd/pure-ftpd-1.0.50-r3.ebuild
index 9b73415576a6..503b78860fa1 100644
--- a/net-ftp/pure-ftpd/pure-ftpd-1.0.50-r3.ebuild
+++ b/net-ftp/pure-ftpd/pure-ftpd-1.0.50-r3.ebuild
@@ -15,7 +15,7 @@ else
ftp://ftp.pureftpd.org/pub/${PN}/releases/${P}.tar.bz2
http://download.pureftpd.org/pub/${PN}/releases/${P}.tar.bz2
"
-   KEYWORDS="~alpha amd64 ~arm ~arm64 ~hppa ~ia64 ppc ppc64 ~riscv ~sparc 
x86"
+   KEYWORDS="~alpha amd64 arm ~arm64 ~hppa ~ia64 ppc ppc64 ~riscv ~sparc 
x86"
 fi
 
 LICENSE="BSD GPL-2"



[gentoo-commits] repo/gentoo:master commit in: net-ftp/pure-ftpd/

2022-05-27 Thread Jakov Smolić
commit: 2b7266524cb8a1b3168bdc3905334d9552de2d4d
Author: Jakov Smolić  gentoo  org>
AuthorDate: Fri May 27 17:06:04 2022 +
Commit: Jakov Smolić  gentoo  org>
CommitDate: Fri May 27 17:06:04 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2b726652

net-ftp/pure-ftpd: Stabilize 1.0.50-r3 sparc, #847805

Signed-off-by: Jakov Smolić  gentoo.org>

 net-ftp/pure-ftpd/pure-ftpd-1.0.50-r3.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net-ftp/pure-ftpd/pure-ftpd-1.0.50-r3.ebuild 
b/net-ftp/pure-ftpd/pure-ftpd-1.0.50-r3.ebuild
index 503b78860fa1..a01e48fe71f1 100644
--- a/net-ftp/pure-ftpd/pure-ftpd-1.0.50-r3.ebuild
+++ b/net-ftp/pure-ftpd/pure-ftpd-1.0.50-r3.ebuild
@@ -15,7 +15,7 @@ else
ftp://ftp.pureftpd.org/pub/${PN}/releases/${P}.tar.bz2
http://download.pureftpd.org/pub/${PN}/releases/${P}.tar.bz2
"
-   KEYWORDS="~alpha amd64 arm ~arm64 ~hppa ~ia64 ppc ppc64 ~riscv ~sparc 
x86"
+   KEYWORDS="~alpha amd64 arm ~arm64 ~hppa ~ia64 ppc ppc64 ~riscv sparc 
x86"
 fi
 
 LICENSE="BSD GPL-2"



[gentoo-commits] repo/gentoo:master commit in: net-ftp/pure-ftpd/

2022-05-27 Thread Jakov Smolić
commit: d7909140bfd888a4dd12857bf337c6ce82b1cac3
Author: Jakov Smolić  gentoo  org>
AuthorDate: Fri May 27 17:06:01 2022 +
Commit: Jakov Smolić  gentoo  org>
CommitDate: Fri May 27 17:06:01 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d7909140

net-ftp/pure-ftpd: Stabilize 1.0.50-r3 ppc, #847805

Signed-off-by: Jakov Smolić  gentoo.org>

 net-ftp/pure-ftpd/pure-ftpd-1.0.50-r3.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net-ftp/pure-ftpd/pure-ftpd-1.0.50-r3.ebuild 
b/net-ftp/pure-ftpd/pure-ftpd-1.0.50-r3.ebuild
index 4acebe0cefaf..9b73415576a6 100644
--- a/net-ftp/pure-ftpd/pure-ftpd-1.0.50-r3.ebuild
+++ b/net-ftp/pure-ftpd/pure-ftpd-1.0.50-r3.ebuild
@@ -15,7 +15,7 @@ else
ftp://ftp.pureftpd.org/pub/${PN}/releases/${P}.tar.bz2
http://download.pureftpd.org/pub/${PN}/releases/${P}.tar.bz2
"
-   KEYWORDS="~alpha amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ppc64 ~riscv ~sparc 
x86"
+   KEYWORDS="~alpha amd64 ~arm ~arm64 ~hppa ~ia64 ppc ppc64 ~riscv ~sparc 
x86"
 fi
 
 LICENSE="BSD GPL-2"



[gentoo-commits] repo/gentoo:master commit in: net-ftp/pure-ftpd/

2022-05-27 Thread Jakov Smolić
commit: 196293ca1d1f60d4b84f541feb93d42f67e24970
Author: Jakov Smolić  gentoo  org>
AuthorDate: Fri May 27 17:05:56 2022 +
Commit: Jakov Smolić  gentoo  org>
CommitDate: Fri May 27 17:05:56 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=196293ca

net-ftp/pure-ftpd: Stabilize 1.0.50-r3 ppc64, #847805

Signed-off-by: Jakov Smolić  gentoo.org>

 net-ftp/pure-ftpd/pure-ftpd-1.0.50-r3.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net-ftp/pure-ftpd/pure-ftpd-1.0.50-r3.ebuild 
b/net-ftp/pure-ftpd/pure-ftpd-1.0.50-r3.ebuild
index 66c5c88523c7..4acebe0cefaf 100644
--- a/net-ftp/pure-ftpd/pure-ftpd-1.0.50-r3.ebuild
+++ b/net-ftp/pure-ftpd/pure-ftpd-1.0.50-r3.ebuild
@@ -15,7 +15,7 @@ else
ftp://ftp.pureftpd.org/pub/${PN}/releases/${P}.tar.bz2
http://download.pureftpd.org/pub/${PN}/releases/${P}.tar.bz2
"
-   KEYWORDS="~alpha amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~riscv 
~sparc x86"
+   KEYWORDS="~alpha amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ppc64 ~riscv ~sparc 
x86"
 fi
 
 LICENSE="BSD GPL-2"



[gentoo-commits] repo/gentoo:master commit in: net-ftp/pure-ftpd/

2022-05-27 Thread Jakov Smolić
commit: 83b4b302ec4e9839fddcfa2ad27984e4f6063bd9
Author: Jakov Smolić  gentoo  org>
AuthorDate: Fri May 27 13:33:22 2022 +
Commit: Jakov Smolić  gentoo  org>
CommitDate: Fri May 27 13:33:22 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=83b4b302

net-ftp/pure-ftpd: Stabilize 1.0.50-r3 x86, #847805

Signed-off-by: Jakov Smolić  gentoo.org>

 net-ftp/pure-ftpd/pure-ftpd-1.0.50-r3.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net-ftp/pure-ftpd/pure-ftpd-1.0.50-r3.ebuild 
b/net-ftp/pure-ftpd/pure-ftpd-1.0.50-r3.ebuild
index 712fefda22b2..7193d8c29c98 100644
--- a/net-ftp/pure-ftpd/pure-ftpd-1.0.50-r3.ebuild
+++ b/net-ftp/pure-ftpd/pure-ftpd-1.0.50-r3.ebuild
@@ -15,7 +15,7 @@ else
ftp://ftp.pureftpd.org/pub/${PN}/releases/${P}.tar.bz2
http://download.pureftpd.org/pub/${PN}/releases/${P}.tar.bz2
"
-   KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~riscv 
~sparc ~x86"
+   KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~riscv 
~sparc x86"
 fi
 
 LICENSE="BSD GPL-2"



[gentoo-commits] repo/gentoo:master commit in: net-ftp/pure-ftpd/

2022-05-27 Thread Jakov Smolić
commit: ced387e383a00d0a4bd992b1e21b9bcad3e3a3ef
Author: Jakov Smolić  gentoo  org>
AuthorDate: Fri May 27 13:33:57 2022 +
Commit: Jakov Smolić  gentoo  org>
CommitDate: Fri May 27 13:33:57 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ced387e3

net-ftp/pure-ftpd: Stabilize 1.0.50-r3 amd64, #847805

Signed-off-by: Jakov Smolić  gentoo.org>

 net-ftp/pure-ftpd/pure-ftpd-1.0.50-r3.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net-ftp/pure-ftpd/pure-ftpd-1.0.50-r3.ebuild 
b/net-ftp/pure-ftpd/pure-ftpd-1.0.50-r3.ebuild
index 7193d8c29c98..66c5c88523c7 100644
--- a/net-ftp/pure-ftpd/pure-ftpd-1.0.50-r3.ebuild
+++ b/net-ftp/pure-ftpd/pure-ftpd-1.0.50-r3.ebuild
@@ -15,7 +15,7 @@ else
ftp://ftp.pureftpd.org/pub/${PN}/releases/${P}.tar.bz2
http://download.pureftpd.org/pub/${PN}/releases/${P}.tar.bz2
"
-   KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~riscv 
~sparc x86"
+   KEYWORDS="~alpha amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~riscv 
~sparc x86"
 fi
 
 LICENSE="BSD GPL-2"



[gentoo-commits] repo/gentoo:master commit in: net-ftp/pure-ftpd/

2022-04-28 Thread Yixun Lan
commit: 742ef245f44968be79e89ddd1d5893024a5b28e6
Author: Yixun Lan  gentoo  org>
AuthorDate: Thu Apr 28 22:52:15 2022 +
Commit: Yixun Lan  gentoo  org>
CommitDate: Thu Apr 28 22:52:52 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=742ef245

net-ftp/pure-ftpd: forward keywords to live ebuild

Signed-off-by: Yixun Lan  gentoo.org>

 net-ftp/pure-ftpd/pure-ftpd-.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net-ftp/pure-ftpd/pure-ftpd-.ebuild 
b/net-ftp/pure-ftpd/pure-ftpd-.ebuild
index 54840295fde7..712fefda22b2 100644
--- a/net-ftp/pure-ftpd/pure-ftpd-.ebuild
+++ b/net-ftp/pure-ftpd/pure-ftpd-.ebuild
@@ -15,7 +15,7 @@ else
ftp://ftp.pureftpd.org/pub/${PN}/releases/${P}.tar.bz2
http://download.pureftpd.org/pub/${PN}/releases/${P}.tar.bz2
"
-   KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86"
+   KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~riscv 
~sparc ~x86"
 fi
 
 LICENSE="BSD GPL-2"



[gentoo-commits] repo/gentoo:master commit in: net-ftp/pure-ftpd/

2022-04-28 Thread Yixun Lan
commit: 586fb3259d6b2dd12ca314428144bca9caa387b3
Author: Yixun Lan  gentoo  org>
AuthorDate: Thu Apr 28 22:51:21 2022 +
Commit: Yixun Lan  gentoo  org>
CommitDate: Thu Apr 28 22:52:49 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=586fb325

net-ftp/pure-ftpd: Keyword 1.0.50-r3 riscv, #841374

Signed-off-by: Yixun Lan  gentoo.org>

 net-ftp/pure-ftpd/pure-ftpd-1.0.50-r3.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net-ftp/pure-ftpd/pure-ftpd-1.0.50-r3.ebuild 
b/net-ftp/pure-ftpd/pure-ftpd-1.0.50-r3.ebuild
index 54840295fde7..712fefda22b2 100644
--- a/net-ftp/pure-ftpd/pure-ftpd-1.0.50-r3.ebuild
+++ b/net-ftp/pure-ftpd/pure-ftpd-1.0.50-r3.ebuild
@@ -15,7 +15,7 @@ else
ftp://ftp.pureftpd.org/pub/${PN}/releases/${P}.tar.bz2
http://download.pureftpd.org/pub/${PN}/releases/${P}.tar.bz2
"
-   KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86"
+   KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~riscv 
~sparc ~x86"
 fi
 
 LICENSE="BSD GPL-2"



[gentoo-commits] repo/gentoo:master commit in: net-ftp/pure-ftpd/

2022-04-17 Thread Conrad Kostecki
commit: 696d0436b15d2cee75f4fd5af43483529d24f8ce
Author: Conrad Kostecki  gentoo  org>
AuthorDate: Sun Apr 17 12:01:32 2022 +
Commit: Conrad Kostecki  gentoo  org>
CommitDate: Sun Apr 17 12:02:35 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=696d0436

net-ftp/pure-ftpd: add GPL-2 license

Adding GPL-2 license, as initd/confd script is GPL-2.

Closes: https://bugs.gentoo.org/426030
Signed-off-by: Conrad Kostecki  gentoo.org>

 net-ftp/pure-ftpd/pure-ftpd-1.0.49-r6.ebuild | 2 +-
 net-ftp/pure-ftpd/pure-ftpd-1.0.50-r1.ebuild | 2 +-
 net-ftp/pure-ftpd/pure-ftpd-1.0.50-r3.ebuild | 2 +-
 net-ftp/pure-ftpd/pure-ftpd-.ebuild  | 2 +-
 4 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/net-ftp/pure-ftpd/pure-ftpd-1.0.49-r6.ebuild 
b/net-ftp/pure-ftpd/pure-ftpd-1.0.49-r6.ebuild
index d54809d44fa9..784e79dcafc5 100644
--- a/net-ftp/pure-ftpd/pure-ftpd-1.0.49-r6.ebuild
+++ b/net-ftp/pure-ftpd/pure-ftpd-1.0.49-r6.ebuild
@@ -16,7 +16,7 @@ else
KEYWORDS="~alpha amd64 arm ~arm64 ~hppa ~ia64 ppc ppc64 sparc x86"
 fi
 
-LICENSE="BSD"
+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"

diff --git a/net-ftp/pure-ftpd/pure-ftpd-1.0.50-r1.ebuild 
b/net-ftp/pure-ftpd/pure-ftpd-1.0.50-r1.ebuild
index 4be40c54c4ef..e78b1e52dc2e 100644
--- a/net-ftp/pure-ftpd/pure-ftpd-1.0.50-r1.ebuild
+++ b/net-ftp/pure-ftpd/pure-ftpd-1.0.50-r1.ebuild
@@ -16,7 +16,7 @@ else
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86"
 fi
 
-LICENSE="BSD"
+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"

diff --git a/net-ftp/pure-ftpd/pure-ftpd-1.0.50-r3.ebuild 
b/net-ftp/pure-ftpd/pure-ftpd-1.0.50-r3.ebuild
index 262899d4e207..54840295fde7 100644
--- a/net-ftp/pure-ftpd/pure-ftpd-1.0.50-r3.ebuild
+++ b/net-ftp/pure-ftpd/pure-ftpd-1.0.50-r3.ebuild
@@ -18,7 +18,7 @@ else
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86"
 fi
 
-LICENSE="BSD"
+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 )"

diff --git a/net-ftp/pure-ftpd/pure-ftpd-.ebuild 
b/net-ftp/pure-ftpd/pure-ftpd-.ebuild
index 262899d4e207..54840295fde7 100644
--- a/net-ftp/pure-ftpd/pure-ftpd-.ebuild
+++ b/net-ftp/pure-ftpd/pure-ftpd-.ebuild
@@ -18,7 +18,7 @@ else
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86"
 fi
 
-LICENSE="BSD"
+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 )"



[gentoo-commits] repo/gentoo:master commit in: net-ftp/pure-ftpd/files/, net-ftp/pure-ftpd/

2022-04-16 Thread Conrad Kostecki
commit: 224a3cd276de4fbce8b217bd11f122db28d7136f
Author: Conrad Kostecki  gentoo  org>
AuthorDate: Sat Apr 16 20:53:11 2022 +
Commit: Conrad Kostecki  gentoo  org>
CommitDate: Sat Apr 16 20:53:11 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=224a3cd2

net-ftp/pure-ftpd: fix non-posix script

Closes: https://bugs.gentoo.org/838844
Signed-off-by: Conrad Kostecki  gentoo.org>

 .../files/{pure-uploadscript.initd => pure-uploadscript.initd-r1}   | 2 +-
 .../{pure-ftpd-1.0.50-r2.ebuild => pure-ftpd-1.0.50-r3.ebuild}  | 2 +-
 net-ftp/pure-ftpd/pure-ftpd-.ebuild | 2 +-
 3 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/net-ftp/pure-ftpd/files/pure-uploadscript.initd 
b/net-ftp/pure-ftpd/files/pure-uploadscript.initd-r1
similarity index 92%
rename from net-ftp/pure-ftpd/files/pure-uploadscript.initd
rename to net-ftp/pure-ftpd/files/pure-uploadscript.initd-r1
index f0c57742e749..5914c875fdf1 100644
--- a/net-ftp/pure-ftpd/files/pure-uploadscript.initd
+++ b/net-ftp/pure-ftpd/files/pure-uploadscript.initd-r1
@@ -2,7 +2,7 @@
 # Copyright 1999-2022 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
-ftpd_configfile="/etc/${SVCNAME/uploadscript/ftpd}.conf"
+ftpd_configfile="/etc/pure-ftpd.conf"
 pidfile="/run/pure-uploadscript.pid"
 
 command="/usr/sbin/pure-uploadscript"

diff --git a/net-ftp/pure-ftpd/pure-ftpd-1.0.50-r2.ebuild 
b/net-ftp/pure-ftpd/pure-ftpd-1.0.50-r3.ebuild
similarity index 98%
rename from net-ftp/pure-ftpd/pure-ftpd-1.0.50-r2.ebuild
rename to net-ftp/pure-ftpd/pure-ftpd-1.0.50-r3.ebuild
index 3d32b367c5cd..262899d4e207 100644
--- a/net-ftp/pure-ftpd/pure-ftpd-1.0.50-r2.ebuild
+++ b/net-ftp/pure-ftpd/pure-ftpd-1.0.50-r3.ebuild
@@ -111,7 +111,7 @@ src_install() {
newinitd "${FILESDIR}/pure-ftpd.initd-r12" pure-ftpd
newconfd "${FILESDIR}/pure-ftpd.confd-r4" pure-ftpd
 
-   newinitd "${FILESDIR}/pure-uploadscript.initd" pure-uploadscript
+   newinitd "${FILESDIR}/pure-uploadscript.initd-r1" pure-uploadscript
newconfd "${FILESDIR}/pure-uploadscript.confd" pure-uploadscript
 
if use implicittls ; then

diff --git a/net-ftp/pure-ftpd/pure-ftpd-.ebuild 
b/net-ftp/pure-ftpd/pure-ftpd-.ebuild
index 3d32b367c5cd..262899d4e207 100644
--- a/net-ftp/pure-ftpd/pure-ftpd-.ebuild
+++ b/net-ftp/pure-ftpd/pure-ftpd-.ebuild
@@ -111,7 +111,7 @@ src_install() {
newinitd "${FILESDIR}/pure-ftpd.initd-r12" pure-ftpd
newconfd "${FILESDIR}/pure-ftpd.confd-r4" pure-ftpd
 
-   newinitd "${FILESDIR}/pure-uploadscript.initd" pure-uploadscript
+   newinitd "${FILESDIR}/pure-uploadscript.initd-r1" pure-uploadscript
newconfd "${FILESDIR}/pure-uploadscript.confd" pure-uploadscript
 
if use implicittls ; then



[gentoo-commits] repo/gentoo:master commit in: net-ftp/pure-ftpd/, net-ftp/pure-ftpd/files/

2022-04-16 Thread Lars Wendler
commit: 3e3e91f811c2f74ee5ef2acf2ab9333b2c9927f6
Author: Conrad Kostecki  gentoo  org>
AuthorDate: Sun Mar 27 01:31:32 2022 +
Commit: Lars Wendler  gentoo  org>
CommitDate: Sat Apr 16 13:45:00 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3e3e91f8

net-ftp/pure-ftpd: migrate to stand-alone configuration

This bump changed at lot of things:
* Deprecating configuration via 'conf.d', since not all option are
  available via command line. User will be informed about this.
* Using '/etc/pure-ftpd.conf' as main configuration file, since more
  option are available here.
* Adding pure-certd init script and config script for using SNI via FTP
* Splitting Uploadscript into it's own init script
* Simplified init script by removing much old stuff, which it seems,
  that it's not needed any more today. At least in my tests.
* Adding SVCNAME support.
* Removed sed for MAX_USER_LENGTH, as it's already default
* Removed DOCS for default docs
* Removed keepdir, since it looks like it's not needed anymore
* Overhauled eBuild

Signed-off-by: Conrad Kostecki  gentoo.org>
Closes: https://github.com/gentoo/gentoo/pull/24592
Signed-off-by: Lars Wendler  gentoo.org>

 net-ftp/pure-ftpd/files/pure-certd.initd   |  19 
 net-ftp/pure-ftpd/files/pure-certd.script  |  27 ++
 net-ftp/pure-ftpd/files/pure-ftpd.confd-r4 |   5 +
 net-ftp/pure-ftpd/files/pure-ftpd.initd-r12|  23 +
 net-ftp/pure-ftpd/files/pure-uploadscript.confd|   8 ++
 net-ftp/pure-ftpd/files/pure-uploadscript.initd|  30 ++
 ...ftpd-.ebuild => pure-ftpd-1.0.50-r2.ebuild} | 101 -
 net-ftp/pure-ftpd/pure-ftpd-.ebuild| 101 -
 8 files changed, 224 insertions(+), 90 deletions(-)

diff --git a/net-ftp/pure-ftpd/files/pure-certd.initd 
b/net-ftp/pure-ftpd/files/pure-certd.initd
new file mode 100644
index ..1d254e5274a9
--- /dev/null
+++ b/net-ftp/pure-ftpd/files/pure-certd.initd
@@ -0,0 +1,19 @@
+#!/sbin/openrc-run
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+certd_scriptfile="/etc/${SVCNAME}.sh"
+certd_socketfile="/run/${SVCNAME}.sock"
+pidfile="/run/pure-certd.pid"
+
+command="/usr/sbin/pure-certd"
+command_args="--pidfile ${pidfile} --run ${certd_scriptfile} --socket 
${certd_socketfile}"
+command_background="true"
+
+start_pre() {
+   if [ ! -f "${certd_scriptfile}" ] ; then
+   eerror "The file ${certd_scriptfile} does not exist!"
+   eerror "Please create and configure the script."
+   return 1
+   fi
+}

diff --git a/net-ftp/pure-ftpd/files/pure-certd.script 
b/net-ftp/pure-ftpd/files/pure-certd.script
new file mode 100644
index ..77aa1bf9f702
--- /dev/null
+++ b/net-ftp/pure-ftpd/files/pure-certd.script
@@ -0,0 +1,27 @@
+#!/bin/sh
+# Copyright 1999-2022 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+# Set default ssl directory
+SSL_DIR="/etc/ssl/pure-ftpd"
+
+# Check SNI and select certificate
+case "${CERTD_SNI_NAME}" in
+   domain1.tld)
+   FILE_CERT="${SSL_DIR}/domain1.tld.crt"
+   FILE_KEY="${SSL_DIR}/domain1.tld.key"
+   ;;
+
+   domain2.tld)
+   FILE_CERT="${SSL_DIR}/domain2.tld.crt"
+   FILE_KEY="${SSL_DIR}/domain2.tld.key"
+   ;;
+esac
+
+# Print selected certificate for 'pure-certd'.
+# You can modify 'action' for your needs.
+# See man page of 'pure-certd' for more information.
+echo "action:fallback"
+echo "cert_file:${FILE_CERT}"
+echo "key_file:${FILE_KEY}"
+echo "end"

diff --git a/net-ftp/pure-ftpd/files/pure-ftpd.confd-r4 
b/net-ftp/pure-ftpd/files/pure-ftpd.confd-r4
new file mode 100644
index ..d49b6c509c58
--- /dev/null
+++ b/net-ftp/pure-ftpd/files/pure-ftpd.confd-r4
@@ -0,0 +1,5 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+# Optionally depend on started Pure-Certd
+# RC_NEED="pure-certd"

diff --git a/net-ftp/pure-ftpd/files/pure-ftpd.initd-r12 
b/net-ftp/pure-ftpd/files/pure-ftpd.initd-r12
new file mode 100644
index ..c971125784b7
--- /dev/null
+++ b/net-ftp/pure-ftpd/files/pure-ftpd.initd-r12
@@ -0,0 +1,23 @@
+#!/sbin/openrc-run
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+ftpd_configfile="/etc/${SVCNAME}.conf"
+pidfile="/run/pure-ftpd.pid"
+
+command="/usr/sbin/pure-ftpd"
+command_args="${ftpd_configfile}"
+command_background="true"
+
+depend() {
+   need localmount
+   use netmount
+}
+
+start_pre() {
+   if [ ! -f "${ftpd_configfile}" ] ; then
+   eerror "The file ${ftpd_configfile} does not exist!"
+   eerror "Please create and configure the configuration file."
+   return 1
+   fi
+}

diff --git a/net-ftp/pure-ftpd/files/pure-uploadscript.confd 
b

[gentoo-commits] repo/gentoo:master commit in: net-ftp/pure-ftpd/

2021-11-23 Thread Lars Wendler
commit: c5d950f9b81c645a1fe47f37fc449ce80a0e9c10
Author: Lars Wendler  gentoo  org>
AuthorDate: Tue Nov 23 22:26:22 2021 +
Commit: Lars Wendler  gentoo  org>
CommitDate: Tue Nov 23 22:44:39 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c5d950f9

net-ftp/pure-ftpd: Removed old

Signed-off-by: Lars Wendler  gentoo.org>

 net-ftp/pure-ftpd/pure-ftpd-1.0.49-r4.ebuild | 157 ---
 1 file changed, 157 deletions(-)

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
deleted file mode 100644
index a4c219fdd5ae..
--- a/net-ftp/pure-ftpd/pure-ftpd-1.0.49-r4.ebuild
+++ /dev/null
@@ -1,157 +0,0 @@
-# Copyright 1999-2021 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-inherit autotools flag-o-matic
-
-DESCRIPTION="Fast, production-quality, standard-conformant FTP server"
-HOMEPAGE="http://www.pureftpd.org/";
-if [[ "${PV}" ==  ]] ; 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";
-   KEYWORDS="~alpha amd64 arm ~arm64 ~hppa ~ia64 ppc ppc64 sparc x86"
-fi
-
-LICENSE="BSD"
-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 )"
-
-BDEPEND="sys-devel/autoconf-archive"
-
-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.9.6g:0=[-bindist(-)]
-   )
-   sysquota? ( sys-fs/quota[-rpc] )
-   xinetd? ( virtual/inetd )"
-
-RDEPEND="${DEPEND}
-   net-ftp/ftpbase
-   selinux? ( sec-policy/selinux-ftp )"
-
-PATCHES=(
-   "${FILESDIR}/${PN}-1.0.28-pam.patch"
-
-   # https://bugs.gentoo.org/711124
-   "${FILESDIR}/${P}-diraliases_uninitialized_pointer.patch"
-   "${FILESDIR}/${P}-pure_strcmp_OOB_read.patch"
-
-   # https://bugs.gentoo.org/721242
-   "${FILESDIR}/${P}-do-not-call-ar-directly.patch"
-)
-
-src_prepare() {
-   default
-   eautoreconf
-}
-
-src_configure() {
-   # adjust max user length to something more appropriate
-   # for virtual hosts. See bug #62472 for details.
-   sed -e "s:# define MAX_USER_LENGTH 32U:# define MAX_USER_LENGTH 127U:" \
-   -i "${S}/src/ftpd.h" || die "sed failed"
-
-   # 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 ldap)
-   $(use_with mysql)
-   $(use_with pam)
-   $(use_with paranoidmsg)
-   $(use_with postgres pgsql)
-   $(use_with ssl tls)
-   $(use_with implicittls)
-   $(use_with vchroot virtualchroot)
-   $(use_with sysquota sysquotas)
-   $(usex caps '' '--without-capabilities')
-   $(usex noiplog '--without-iplogging' '')
-   $(usex xinetd '' '--without-inetd')
-   )
-   econf "${myeconfargs[@]}"
-}
-
-src_install() {
-   local DOCS=( AUTHORS ChangeLog FAQ HISTORY README* NEWS )
-
-   default
-
-   newinitd "${FILESDIR}/pure-ftpd.rc11" ${PN}
-   newconfd "${FILESDIR}/pure-ftpd.conf_d-3" ${PN}
-

[gentoo-commits] repo/gentoo:master commit in: net-ftp/pure-ftpd/

2021-11-23 Thread Lars Wendler
commit: 3b95ba6b5b5af8e65b4cbf7850e377c302461578
Author: Lars Wendler  gentoo  org>
AuthorDate: Tue Nov 23 22:42:47 2021 +
Commit: Lars Wendler  gentoo  org>
CommitDate: Tue Nov 23 22:44:40 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3b95ba6b

net-ftp/pure-ftpd: Bump to version 1.0.50

Signed-off-by: Lars Wendler  gentoo.org>

 net-ftp/pure-ftpd/Manifest|   1 +
 net-ftp/pure-ftpd/pure-ftpd-1.0.50.ebuild | 150 ++
 2 files changed, 151 insertions(+)

diff --git a/net-ftp/pure-ftpd/Manifest b/net-ftp/pure-ftpd/Manifest
index 2892703c30e0..9399be6f1d46 100644
--- a/net-ftp/pure-ftpd/Manifest
+++ b/net-ftp/pure-ftpd/Manifest
@@ -1 +1,2 @@
 DIST pure-ftpd-1.0.49.tar.bz2 487958 BLAKE2B 
bd5f10a49b533eb6c257032659e97aa7ae16ec9402704d8ee06c92938e217b748b390ccf0e31b3640f41cb7a93f85b29c8ddcdc296f214391b1d92da9d701a7c
 SHA512 
b44896d6fe2cda9169b1db93c5260bb892af14a173f2d25e60dd6530afe85d8e9156985609e35da7e5550dc123afb42bc5012beb9fca9011054cf0ed8b2eddef
+DIST pure-ftpd-1.0.50.tar.bz2 520167 BLAKE2B 
0c694ed48e896be13d907a71a24357f8676daf2c66bdaac41d31b162741164fe5ab1560499acc08b11e4fdb2a678c81c81c03e65a8181fcfd960ffbfe4b731d4
 SHA512 
8fbd24fb0450b9ed8e47335c97c3bc1cbcd0ee2ac7ebea95721b9dbddb7f61d8bedaa1710ba94213d96c79e12ec9b2b555ddb5f494c8961ca2339b176a52fe12

diff --git a/net-ftp/pure-ftpd/pure-ftpd-1.0.50.ebuild 
b/net-ftp/pure-ftpd/pure-ftpd-1.0.50.ebuild
new file mode 100644
index ..1127842978af
--- /dev/null
+++ b/net-ftp/pure-ftpd/pure-ftpd-1.0.50.ebuild
@@ -0,0 +1,150 @@
+# Copyright 1999-2021 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="http://www.pureftpd.org/";
+if [[ "${PV}" ==  ]] ; 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";
+   KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86"
+fi
+
+LICENSE="BSD"
+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 )"
+
+BDEPEND="sys-devel/autoconf-archive"
+
+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.9.6g:0=[-bindist(-)]
+   )
+   sysquota? ( sys-fs/quota[-rpc] )
+   xinetd? ( virtual/inetd )"
+
+RDEPEND="${DEPEND}
+   net-ftp/ftpbase
+   selinux? ( sec-policy/selinux-ftp )"
+
+PATCHES=(
+   "${FILESDIR}/${PN}-1.0.28-pam.patch"
+)
+
+src_prepare() {
+   default
+   [[ "${PV}" ==  ]] && eautoreconf
+}
+
+src_configure() {
+   # adjust max user length to something more appropriate
+   # for virtual hosts. See bug #62472 for details.
+   sed -e "s:# define MAX_USER_LENGTH 32U:# define MAX_USER_LENGTH 127U:" \
+   -i "${S}/src/ftpd.h" || die "sed failed"
+
+   # 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 ldap)
+   $(use_with mysql)
+   $(use_with pam)
+   $(use_with paranoidmsg)
+

[gentoo-commits] repo/gentoo:master commit in: net-ftp/pure-ftpd/

2021-11-23 Thread Lars Wendler
commit: f5a5582f51907633925cc621dc2271a669370966
Author: Lars Wendler  gentoo  org>
AuthorDate: Tue Nov 23 22:40:44 2021 +
Commit: Lars Wendler  gentoo  org>
CommitDate: Tue Nov 23 22:44:40 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f5a5582f

net-ftp/pure-ftpd: Bumped live ebuild to EAPI-8

Signed-off-by: Lars Wendler  gentoo.org>

 net-ftp/pure-ftpd/pure-ftpd-.ebuild | 12 ++--
 1 file changed, 6 insertions(+), 6 deletions(-)

diff --git a/net-ftp/pure-ftpd/pure-ftpd-.ebuild 
b/net-ftp/pure-ftpd/pure-ftpd-.ebuild
index e96ace757a52..1127842978af 100644
--- a/net-ftp/pure-ftpd/pure-ftpd-.ebuild
+++ b/net-ftp/pure-ftpd/pure-ftpd-.ebuild
@@ -1,7 +1,7 @@
 # Copyright 1999-2021 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
-EAPI=7
+EAPI=8
 
 inherit flag-o-matic
 
@@ -61,11 +61,11 @@ src_configure() {
-i "${S}/src/ftpd.h" || die "sed failed"
 
# 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
+   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



[gentoo-commits] repo/gentoo:master commit in: net-ftp/pure-ftpd/

2021-10-16 Thread Sam James
commit: 807efdb45a9052e2a88d4ea1e992671271862a8d
Author: Sam James  gentoo  org>
AuthorDate: Sat Oct 16 22:03:12 2021 +
Commit: Sam James  gentoo  org>
CommitDate: Sat Oct 16 22:03:12 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=807efdb4

net-ftp/pure-ftpd: Stabilize 1.0.49-r5 ppc64, #818196

Signed-off-by: Sam James  gentoo.org>

 net-ftp/pure-ftpd/pure-ftpd-1.0.49-r5.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net-ftp/pure-ftpd/pure-ftpd-1.0.49-r5.ebuild 
b/net-ftp/pure-ftpd/pure-ftpd-1.0.49-r5.ebuild
index da85da8118b..a502b241404 100644
--- a/net-ftp/pure-ftpd/pure-ftpd-1.0.49-r5.ebuild
+++ b/net-ftp/pure-ftpd/pure-ftpd-1.0.49-r5.ebuild
@@ -13,7 +13,7 @@ if [[ "${PV}" ==  ]] ; then
 else
SRC_URI="ftp://ftp.pureftpd.org/pub/${PN}/releases/${P}.tar.bz2
http://download.pureftpd.org/pub/${PN}/releases/${P}.tar.bz2";
-   KEYWORDS="~alpha amd64 arm ~arm64 ~hppa ~ia64 ppc ~ppc64 sparc x86"
+   KEYWORDS="~alpha amd64 arm ~arm64 ~hppa ~ia64 ppc ppc64 sparc x86"
 fi
 
 LICENSE="BSD"



[gentoo-commits] repo/gentoo:master commit in: net-ftp/pure-ftpd/

2021-10-16 Thread Agostino Sarubbo
commit: 73a8aec92aaa6812e28c81bf6be6828681724c81
Author: Agostino Sarubbo  gentoo  org>
AuthorDate: Sat Oct 16 07:10:14 2021 +
Commit: Agostino Sarubbo  gentoo  org>
CommitDate: Sat Oct 16 07:10:20 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=73a8aec9

net-ftp/pure-ftpd: amd64 stable wrt bug #818196

Package-Manager: Portage-3.0.20, Repoman-3.0.3
RepoMan-Options: --include-arches="amd64"
Signed-off-by: Agostino Sarubbo  gentoo.org>

 net-ftp/pure-ftpd/pure-ftpd-1.0.49-r5.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net-ftp/pure-ftpd/pure-ftpd-1.0.49-r5.ebuild 
b/net-ftp/pure-ftpd/pure-ftpd-1.0.49-r5.ebuild
index 64df6a15a6a..c5b847cd67d 100644
--- a/net-ftp/pure-ftpd/pure-ftpd-1.0.49-r5.ebuild
+++ b/net-ftp/pure-ftpd/pure-ftpd-1.0.49-r5.ebuild
@@ -13,7 +13,7 @@ if [[ "${PV}" ==  ]] ; then
 else
SRC_URI="ftp://ftp.pureftpd.org/pub/${PN}/releases/${P}.tar.bz2
http://download.pureftpd.org/pub/${PN}/releases/${P}.tar.bz2";
-   KEYWORDS="~alpha ~amd64 arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 sparc x86"
+   KEYWORDS="~alpha amd64 arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 sparc x86"
 fi
 
 LICENSE="BSD"



[gentoo-commits] repo/gentoo:master commit in: net-ftp/pure-ftpd/

2021-10-14 Thread Agostino Sarubbo
commit: 92341403ee338bd013c2a32f1861155b058c
Author: Agostino Sarubbo  gentoo  org>
AuthorDate: Fri Oct 15 05:59:41 2021 +
Commit: Agostino Sarubbo  gentoo  org>
CommitDate: Fri Oct 15 05:59:41 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=92341403

net-ftp/pure-ftpd: sparc stable wrt bug #818196

Package-Manager: Portage-3.0.20, Repoman-3.0.3
RepoMan-Options: --include-arches="sparc"
Signed-off-by: Agostino Sarubbo  gentoo.org>

 net-ftp/pure-ftpd/pure-ftpd-1.0.49-r5.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net-ftp/pure-ftpd/pure-ftpd-1.0.49-r5.ebuild 
b/net-ftp/pure-ftpd/pure-ftpd-1.0.49-r5.ebuild
index 999ccae864d..64df6a15a6a 100644
--- a/net-ftp/pure-ftpd/pure-ftpd-1.0.49-r5.ebuild
+++ b/net-ftp/pure-ftpd/pure-ftpd-1.0.49-r5.ebuild
@@ -13,7 +13,7 @@ if [[ "${PV}" ==  ]] ; then
 else
SRC_URI="ftp://ftp.pureftpd.org/pub/${PN}/releases/${P}.tar.bz2
http://download.pureftpd.org/pub/${PN}/releases/${P}.tar.bz2";
-   KEYWORDS="~alpha ~amd64 arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc x86"
+   KEYWORDS="~alpha ~amd64 arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 sparc x86"
 fi
 
 LICENSE="BSD"



[gentoo-commits] repo/gentoo:master commit in: net-ftp/pure-ftpd/

2021-10-14 Thread Sam James
commit: 59720c3be81c400e44fef40d30d4f1e88218e645
Author: Sam James  gentoo  org>
AuthorDate: Fri Oct 15 03:08:44 2021 +
Commit: Sam James  gentoo  org>
CommitDate: Fri Oct 15 03:08:44 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=59720c3b

net-ftp/pure-ftpd: Stabilize 1.0.49-r5 x86, #818196

Signed-off-by: Sam James  gentoo.org>

 net-ftp/pure-ftpd/pure-ftpd-1.0.49-r5.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net-ftp/pure-ftpd/pure-ftpd-1.0.49-r5.ebuild 
b/net-ftp/pure-ftpd/pure-ftpd-1.0.49-r5.ebuild
index 17899a2336a..999ccae864d 100644
--- a/net-ftp/pure-ftpd/pure-ftpd-1.0.49-r5.ebuild
+++ b/net-ftp/pure-ftpd/pure-ftpd-1.0.49-r5.ebuild
@@ -13,7 +13,7 @@ if [[ "${PV}" ==  ]] ; then
 else
SRC_URI="ftp://ftp.pureftpd.org/pub/${PN}/releases/${P}.tar.bz2
http://download.pureftpd.org/pub/${PN}/releases/${P}.tar.bz2";
-   KEYWORDS="~alpha ~amd64 arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86"
+   KEYWORDS="~alpha ~amd64 arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc x86"
 fi
 
 LICENSE="BSD"



[gentoo-commits] repo/gentoo:master commit in: net-ftp/pure-ftpd/

2021-10-14 Thread Sam James
commit: 38e7eda074fa9e5d0919ed49bc1ba5372576a56d
Author: Sam James  gentoo  org>
AuthorDate: Fri Oct 15 01:30:35 2021 +
Commit: Sam James  gentoo  org>
CommitDate: Fri Oct 15 01:30:35 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=38e7eda0

net-ftp/pure-ftpd: Stabilize 1.0.49-r5 arm, #818196

Signed-off-by: Sam James  gentoo.org>

 net-ftp/pure-ftpd/pure-ftpd-1.0.49-r5.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net-ftp/pure-ftpd/pure-ftpd-1.0.49-r5.ebuild 
b/net-ftp/pure-ftpd/pure-ftpd-1.0.49-r5.ebuild
index 62d4cedc690..17899a2336a 100644
--- a/net-ftp/pure-ftpd/pure-ftpd-1.0.49-r5.ebuild
+++ b/net-ftp/pure-ftpd/pure-ftpd-1.0.49-r5.ebuild
@@ -13,7 +13,7 @@ if [[ "${PV}" ==  ]] ; then
 else
SRC_URI="ftp://ftp.pureftpd.org/pub/${PN}/releases/${P}.tar.bz2
http://download.pureftpd.org/pub/${PN}/releases/${P}.tar.bz2";
-   KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86"
+   KEYWORDS="~alpha ~amd64 arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86"
 fi
 
 LICENSE="BSD"



[gentoo-commits] repo/gentoo:master commit in: net-ftp/pure-ftpd/files/, net-ftp/pure-ftpd/

2021-09-06 Thread Lars Wendler
commit: d2c8b17c138cb0e2361c433e88a2fa32d3e28d1c
Author: Lars Wendler  gentoo  org>
AuthorDate: Mon Sep  6 07:15:18 2021 +
Commit: Lars Wendler  gentoo  org>
CommitDate: Mon Sep  6 07:15:45 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d2c8b17c

net-ftp/pure-ftpd: Revbump to fix quota check

Bug: https://bugs.gentoo.org/811786
Signed-off-by: Lars Wendler  gentoo.org>

 ...pure-ftpd-1.0.49-quota_maxfile_size_check.patch |  25 
 net-ftp/pure-ftpd/pure-ftpd-1.0.49-r5.ebuild   | 160 +
 2 files changed, 185 insertions(+)

diff --git 
a/net-ftp/pure-ftpd/files/pure-ftpd-1.0.49-quota_maxfile_size_check.patch 
b/net-ftp/pure-ftpd/files/pure-ftpd-1.0.49-quota_maxfile_size_check.patch
new file mode 100644
index 000..8b1877366c2
--- /dev/null
+++ b/net-ftp/pure-ftpd/files/pure-ftpd-1.0.49-quota_maxfile_size_check.patch
@@ -0,0 +1,25 @@
+From fb93975777a1cffba80544e08ca81606532395d6 Mon Sep 17 00:00:00 2001
+From: DroidTest <53651584+droidt...@users.noreply.github.com>
+Date: Thu, 29 Jul 2021 11:36:26 +0800
+Subject: [PATCH] fix the maxfile_size checking bug
+
+Fix the predicate that never evaluates true
+---
+ src/ftpd.c | 4 ++--
+ 1 file changed, 2 insertions(+), 2 deletions(-)
+
+diff --git a/src/ftpd.c b/src/ftpd.c
+index d856839..61275de 100644
+--- a/src/ftpd.c
 b/src/ftpd.c
+@@ -4247,8 +4247,8 @@ void dostor(char *name, const int append, const int 
autorename)
+ if (quota_update("a, 0LL, 0LL, &overflow) == 0 &&
+ (overflow > 0 || quota.files >= user_quota_files ||
+  quota.size > user_quota_size ||
+- (max_filesize >= (off_t) 0 &&
+-  (max_filesize = user_quota_size - quota.size) < (off_t) 0))) {
++ ((max_filesize = user_quota_size - quota.size) < (off_t) 0 &&
++  max_filesize >= (off_t) 0))) {
+ overflow = 1;
+ (void) close(f);
+ goto afterquota;

diff --git a/net-ftp/pure-ftpd/pure-ftpd-1.0.49-r5.ebuild 
b/net-ftp/pure-ftpd/pure-ftpd-1.0.49-r5.ebuild
new file mode 100644
index 000..62d4cedc690
--- /dev/null
+++ b/net-ftp/pure-ftpd/pure-ftpd-1.0.49-r5.ebuild
@@ -0,0 +1,160 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit autotools flag-o-matic
+
+DESCRIPTION="Fast, production-quality, standard-conformant FTP server"
+HOMEPAGE="http://www.pureftpd.org/";
+if [[ "${PV}" ==  ]] ; 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";
+   KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86"
+fi
+
+LICENSE="BSD"
+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 )"
+
+BDEPEND="sys-devel/autoconf-archive"
+
+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.9.6g:0=[-bindist(-)]
+   )
+   sysquota? ( sys-fs/quota[-rpc] )
+   xinetd? ( virtual/inetd )"
+
+RDEPEND="${DEPEND}
+   net-ftp/ftpbase
+   selinux? ( sec-policy/selinux-ftp )"
+
+PATCHES=(
+   "${FILESDIR}/${PN}-1.0.28-pam.patch"
+
+   # https://bugs.gentoo.org/711124
+   "${FILESDIR}/${P}-diraliases_uninitialized_pointer.patch"
+   "${FILESDIR}/${P}-pure_strcmp_OOB_read.patch"
+
+   # https://bugs.gentoo.org/721242
+   "${FILESDIR}/${P}-do-not-call-ar-directly.patch"
+
+   # https://bugs.gentoo.org/811786
+   "${FILESDIR}/${P}-quota_maxfile_size_check.patch"
+)
+
+src_prepare() {
+   default
+   eautoreconf
+}
+
+src_configure() {
+   # adjust max user length to something more appropriate
+   # for virtual hosts. See bug #62472 for details.
+   sed -e "s:# define MAX_USER_LENGTH 32U:# define MAX_USER_LENGTH 127U:" \
+   -i "${S}/src/ftpd.h" || die "sed failed"
+
+   # 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 

[gentoo-commits] repo/gentoo:master commit in: net-ftp/pure-ftpd/

2021-07-01 Thread Lars Wendler
commit: f942d8f9f14983b52ad741014c1507cd04265644
Author: Lars Wendler  gentoo  org>
AuthorDate: Thu Jul  1 19:14:02 2021 +
Commit: Lars Wendler  gentoo  org>
CommitDate: Thu Jul  1 19:14:02 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f942d8f9

net-ftp/pure-ftpd: Removed redundant libsodium dep

Signed-off-by: Lars Wendler  gentoo.org>

 net-ftp/pure-ftpd/pure-ftpd-1.0.49-r4.ebuild | 1 -
 1 file changed, 1 deletion(-)

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
index 739fda506a4..a4c219fdd5a 100644
--- a/net-ftp/pure-ftpd/pure-ftpd-1.0.49-r4.ebuild
+++ b/net-ftp/pure-ftpd/pure-ftpd-1.0.49-r4.ebuild
@@ -42,7 +42,6 @@ DEPEND="dev-libs/libsodium:=
xinetd? ( virtual/inetd )"
 
 RDEPEND="${DEPEND}
-   dev-libs/libsodium:=
net-ftp/ftpbase
selinux? ( sec-policy/selinux-ftp )"
 



[gentoo-commits] repo/gentoo:master commit in: net-ftp/pure-ftpd/

2021-06-30 Thread Sam James
commit: 3e6a3a38d4a9a52324f746b54cfae051bf7f8691
Author: Sam James  gentoo  org>
AuthorDate: Wed Jun 30 18:39:41 2021 +
Commit: Sam James  gentoo  org>
CommitDate: Wed Jun 30 18:39:41 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3e6a3a38

net-ftp/pure-ftpd: add missing libcrypt dependency, fix RDEPEND

Signed-off-by: Sam James  gentoo.org>

 .../{pure-ftpd-1.0.49-r3.ebuild => pure-ftpd-1.0.49-r4.ebuild}   | 4 +++-
 net-ftp/pure-ftpd/pure-ftpd-.ebuild  | 5 +++--
 2 files changed, 6 insertions(+), 3 deletions(-)

diff --git a/net-ftp/pure-ftpd/pure-ftpd-1.0.49-r3.ebuild 
b/net-ftp/pure-ftpd/pure-ftpd-1.0.49-r4.ebuild
similarity index 98%
rename from net-ftp/pure-ftpd/pure-ftpd-1.0.49-r3.ebuild
rename to net-ftp/pure-ftpd/pure-ftpd-1.0.49-r4.ebuild
index 88de93f5b48..739fda506a4 100644
--- a/net-ftp/pure-ftpd/pure-ftpd-1.0.49-r3.ebuild
+++ b/net-ftp/pure-ftpd/pure-ftpd-1.0.49-r4.ebuild
@@ -25,7 +25,9 @@ REQUIRED_USE="implicittls? ( ssl )"
 
 BDEPEND="sys-devel/autoconf-archive"
 
-DEPEND="caps? ( sys-libs/libcap )
+DEPEND="dev-libs/libsodium:=
+   virtual/libcrypt:=
+   caps? ( sys-libs/libcap )
ldap? ( >=net-nds/openldap-2.0.25 )
mysql? ( || (
dev-db/mariadb-connector-c

diff --git a/net-ftp/pure-ftpd/pure-ftpd-.ebuild 
b/net-ftp/pure-ftpd/pure-ftpd-.ebuild
index e598a3d92ac..e96ace757a5 100644
--- a/net-ftp/pure-ftpd/pure-ftpd-.ebuild
+++ b/net-ftp/pure-ftpd/pure-ftpd-.ebuild
@@ -25,7 +25,9 @@ REQUIRED_USE="implicittls? ( ssl )"
 
 BDEPEND="sys-devel/autoconf-archive"
 
-DEPEND="caps? ( sys-libs/libcap )
+DEPEND="dev-libs/libsodium:=
+   virtual/libcrypt:=
+   caps? ( sys-libs/libcap )
ldap? ( >=net-nds/openldap-2.0.25 )
mysql? ( || (
dev-db/mariadb-connector-c
@@ -40,7 +42,6 @@ DEPEND="caps? ( sys-libs/libcap )
xinetd? ( virtual/inetd )"
 
 RDEPEND="${DEPEND}
-   dev-libs/libsodium:=
net-ftp/ftpbase
selinux? ( sec-policy/selinux-ftp )"
 



[gentoo-commits] repo/gentoo:master commit in: net-ftp/pure-ftpd/

2021-05-02 Thread Mikle Kolyada
commit: 92a161a90cebd8eb0d09f266e757d9a086ed04ad
Author: Mikle Kolyada  gentoo  org>
AuthorDate: Sun May  2 14:38:53 2021 +
Commit: Mikle Kolyada  gentoo  org>
CommitDate: Sun May  2 14:40:03 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=92a161a9

net-ftp/pure-ftpd: remove libressl support

Package-Manager: Portage-3.0.18, Repoman-3.0.2
Signed-off-by: Mikle Kolyada  gentoo.org>

 net-ftp/pure-ftpd/pure-ftpd-1.0.49-r2.ebuild | 7 +++
 net-ftp/pure-ftpd/pure-ftpd-.ebuild  | 7 +++
 2 files changed, 6 insertions(+), 8 deletions(-)

diff --git a/net-ftp/pure-ftpd/pure-ftpd-1.0.49-r2.ebuild 
b/net-ftp/pure-ftpd/pure-ftpd-1.0.49-r2.ebuild
index 983c8211370..0346b591bd0 100644
--- a/net-ftp/pure-ftpd/pure-ftpd-1.0.49-r2.ebuild
+++ b/net-ftp/pure-ftpd/pure-ftpd-1.0.49-r2.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2020 Gentoo Authors
+# Copyright 1999-2021 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
@@ -19,7 +19,7 @@ fi
 LICENSE="BSD"
 SLOT="0"
 
-IUSE="anondel anonperm anonren anonres caps implicittls ldap libressl mysql 
noiplog pam paranoidmsg postgres resolveids selinux ssl sysquota vchroot xinetd"
+IUSE="anondel anonperm anonren anonres caps implicittls ldap mysql noiplog pam 
paranoidmsg postgres resolveids selinux ssl sysquota vchroot xinetd"
 
 REQUIRED_USE="implicittls? ( ssl )"
 
@@ -34,8 +34,7 @@ DEPEND="caps? ( sys-libs/libcap )
pam? ( sys-libs/pam )
postgres? ( dev-db/postgresql:= )
ssl? (
-   !libressl? ( >=dev-libs/openssl-0.9.6g:0=[-bindist] )
-   libressl? ( dev-libs/libressl:= )
+   >=dev-libs/openssl-0.9.6g:0=[-bindist]
)
sysquota? ( sys-fs/quota[-rpc] )
xinetd? ( virtual/inetd )"

diff --git a/net-ftp/pure-ftpd/pure-ftpd-.ebuild 
b/net-ftp/pure-ftpd/pure-ftpd-.ebuild
index c2f0bce8089..d46c49f5254 100644
--- a/net-ftp/pure-ftpd/pure-ftpd-.ebuild
+++ b/net-ftp/pure-ftpd/pure-ftpd-.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2020 Gentoo Authors
+# Copyright 1999-2021 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
@@ -19,7 +19,7 @@ fi
 LICENSE="BSD"
 SLOT="0"
 
-IUSE="anondel anonperm anonren anonres caps implicittls ldap libressl mysql 
noiplog pam paranoidmsg postgres resolveids selinux ssl sysquota vchroot xinetd"
+IUSE="anondel anonperm anonren anonres caps implicittls ldap mysql noiplog pam 
paranoidmsg postgres resolveids selinux ssl sysquota vchroot xinetd"
 
 REQUIRED_USE="implicittls? ( ssl )"
 
@@ -34,8 +34,7 @@ DEPEND="caps? ( sys-libs/libcap )
pam? ( sys-libs/pam )
postgres? ( dev-db/postgresql:= )
ssl? (
-   !libressl? ( >=dev-libs/openssl-0.9.6g:0=[-bindist] )
-   libressl? ( dev-libs/libressl:= )
+   >=dev-libs/openssl-0.9.6g:0=[-bindist]
)
sysquota? ( sys-fs/quota[-rpc] )
xinetd? ( virtual/inetd )"



[gentoo-commits] repo/gentoo:master commit in: net-ftp/pure-ftpd/

2020-08-29 Thread Thomas Deutschmann
commit: 670afcfbba08b44bb3a285557c9bfa63e3cc8788
Author: Thomas Deutschmann  gentoo  org>
AuthorDate: Sun Aug 30 01:45:00 2020 +
Commit: Thomas Deutschmann  gentoo  org>
CommitDate: Sun Aug 30 01:45:00 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=670afcfb

net-ftp/pure-ftpd: building requires sys-devel/autoconf-archive

Closes: https://bugs.gentoo.org/737540
Package-Manager: Portage-3.0.4, Repoman-3.0.1
Signed-off-by: Thomas Deutschmann  gentoo.org>

 net-ftp/pure-ftpd/pure-ftpd-1.0.49-r2.ebuild | 2 ++
 net-ftp/pure-ftpd/pure-ftpd-.ebuild  | 4 +++-
 2 files changed, 5 insertions(+), 1 deletion(-)

diff --git a/net-ftp/pure-ftpd/pure-ftpd-1.0.49-r2.ebuild 
b/net-ftp/pure-ftpd/pure-ftpd-1.0.49-r2.ebuild
index 1c34eeef0a5..983c8211370 100644
--- a/net-ftp/pure-ftpd/pure-ftpd-1.0.49-r2.ebuild
+++ b/net-ftp/pure-ftpd/pure-ftpd-1.0.49-r2.ebuild
@@ -23,6 +23,8 @@ IUSE="anondel anonperm anonren anonres caps implicittls ldap 
libressl mysql noip
 
 REQUIRED_USE="implicittls? ( ssl )"
 
+BDEPEND="sys-devel/autoconf-archive"
+
 DEPEND="caps? ( sys-libs/libcap )
ldap? ( >=net-nds/openldap-2.0.25 )
mysql? ( || (

diff --git a/net-ftp/pure-ftpd/pure-ftpd-.ebuild 
b/net-ftp/pure-ftpd/pure-ftpd-.ebuild
index d1be10cc99f..c2f0bce8089 100644
--- a/net-ftp/pure-ftpd/pure-ftpd-.ebuild
+++ b/net-ftp/pure-ftpd/pure-ftpd-.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2019 Gentoo Authors
+# Copyright 1999-2020 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
@@ -23,6 +23,8 @@ IUSE="anondel anonperm anonren anonres caps implicittls ldap 
libressl mysql noip
 
 REQUIRED_USE="implicittls? ( ssl )"
 
+BDEPEND="sys-devel/autoconf-archive"
+
 DEPEND="caps? ( sys-libs/libcap )
ldap? ( >=net-nds/openldap-2.0.25 )
mysql? ( || (



[gentoo-commits] repo/gentoo:master commit in: net-ftp/pure-ftpd/files/, net-ftp/pure-ftpd/

2020-08-16 Thread Thomas Deutschmann
commit: 2076c4dfe876444034d00d0677e0f3b49951d1fb
Author: Thomas Deutschmann  gentoo  org>
AuthorDate: Sun Aug 16 21:05:04 2020 +
Commit: Thomas Deutschmann  gentoo  org>
CommitDate: Sun Aug 16 21:05:20 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2076c4df

net-ftp/pure-ftpd: do not call ar directly

Closes: https://bugs.gentoo.org/721242
Package-Manager: Portage-3.0.2, Repoman-2.3.23
Signed-off-by: Thomas Deutschmann  gentoo.org>

 .../pure-ftpd-1.0.49-do-not-call-ar-directly.patch | 23 ++
 net-ftp/pure-ftpd/pure-ftpd-1.0.49-r2.ebuild   |  7 +--
 2 files changed, 28 insertions(+), 2 deletions(-)

diff --git 
a/net-ftp/pure-ftpd/files/pure-ftpd-1.0.49-do-not-call-ar-directly.patch 
b/net-ftp/pure-ftpd/files/pure-ftpd-1.0.49-do-not-call-ar-directly.patch
new file mode 100644
index 000..0df21320957
--- /dev/null
+++ b/net-ftp/pure-ftpd/files/pure-ftpd-1.0.49-do-not-call-ar-directly.patch
@@ -0,0 +1,23 @@
+https://bugs.gentoo.org/721242
+Backport of https://github.com/jedisct1/pure-ftpd/pull/148
+
+--- a/configure.ac
 b/configure.ac
+@@ -7,7 +7,7 @@ AC_INIT([pure-ftpd],[1.0.49],
+   [https://www.pureftpd.org])
+ AC_CONFIG_SRCDIR(src/ftpd.c)
+ AC_CONFIG_HEADERS([config.h])
+-AM_INIT_AUTOMAKE([1.9 dist-bzip2 tar-ustar])
++AM_INIT_AUTOMAKE([1.11.2 dist-bzip2 tar-ustar])
+ m4_ifdef([AM_SILENT_RULES], [AM_SILENT_RULES([yes])])
+ AM_MAINTAINER_MODE
+ AM_DEP_TRACK
+@@ -17,6 +17,7 @@ AC_SUBST(VERSION)
+ 
+ dnl Checks for programs.
+ LX_CFLAGS=${CFLAGS-NONE}
++AM_PROG_AR
+ AC_PROG_CC
+ AC_PROG_RANLIB
+ AC_USE_SYSTEM_EXTENSIONS
+ 

diff --git a/net-ftp/pure-ftpd/pure-ftpd-1.0.49-r2.ebuild 
b/net-ftp/pure-ftpd/pure-ftpd-1.0.49-r2.ebuild
index 3386fbb63f8..1c34eeef0a5 100644
--- a/net-ftp/pure-ftpd/pure-ftpd-1.0.49-r2.ebuild
+++ b/net-ftp/pure-ftpd/pure-ftpd-1.0.49-r2.ebuild
@@ -3,7 +3,7 @@
 
 EAPI=7
 
-inherit flag-o-matic
+inherit autotools flag-o-matic
 
 DESCRIPTION="Fast, production-quality, standard-conformant FTP server"
 HOMEPAGE="http://www.pureftpd.org/";
@@ -49,11 +49,14 @@ PATCHES=(
# https://bugs.gentoo.org/711124
"${FILESDIR}/${P}-diraliases_uninitialized_pointer.patch"
"${FILESDIR}/${P}-pure_strcmp_OOB_read.patch"
+
+   # https://bugs.gentoo.org/721242
+   "${FILESDIR}/${P}-do-not-call-ar-directly.patch"
 )
 
 src_prepare() {
default
-   [[ "${PV}" ==  ]] && eautoreconf
+   eautoreconf
 }
 
 src_configure() {



[gentoo-commits] repo/gentoo:master commit in: net-ftp/pure-ftpd/files/, net-ftp/pure-ftpd/

2020-03-25 Thread Thomas Deutschmann
commit: 21b5c196ee853f0900754eab49fee2906747f567
Author: Thomas Deutschmann  gentoo  org>
AuthorDate: Wed Mar 25 18:43:39 2020 +
Commit: Thomas Deutschmann  gentoo  org>
CommitDate: Wed Mar 25 18:44:01 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=21b5c196

net-ftp/pure-ftpd: security cleanup (bug #711124)

Bug: https://bugs.gentoo.org/711124
Package-Manager: Portage-2.3.94, Repoman-2.3.21
Signed-off-by: Thomas Deutschmann  gentoo.org>

 net-ftp/pure-ftpd/Manifest |   1 -
 .../files/pure-ftpd-1.0.47-MAX_DATA_SIZE.patch |  22 ---
 .../pure-ftpd/files/pure-ftpd-1.0.47-TLSv1.3.patch |  46 ---
 .../files/pure-ftpd-1.0.47-disable-TLSv1.1.patch   |  22 ---
 .../files/pure-ftpd-1.0.47-disable-TLSv1.3.patch   |  21 ---
 net-ftp/pure-ftpd/metadata.xml |   1 -
 net-ftp/pure-ftpd/pure-ftpd-1.0.47-r4.ebuild   | 144 
 net-ftp/pure-ftpd/pure-ftpd-1.0.49-r1.ebuild   | 148 -
 8 files changed, 405 deletions(-)

diff --git a/net-ftp/pure-ftpd/Manifest b/net-ftp/pure-ftpd/Manifest
index 746be8280a0..2892703c30e 100644
--- a/net-ftp/pure-ftpd/Manifest
+++ b/net-ftp/pure-ftpd/Manifest
@@ -1,2 +1 @@
-DIST pure-ftpd-1.0.47.tar.bz2 489177 BLAKE2B 
06e71ead47b87dedf47a84e488b2de127fcd297c2e9ca7a617c2ee2760cf55b816884763721826c512558d016cbd38a87a11ca0e8c2334d93145edc6f88d9287
 SHA512 
c1920a3f67f04635fde600fe226a7730b801e7e64658b25f1d9f9c0b35a704664be4adfb0b291594f7e0f10beade25eae9a5e6cc3b6777a3b413f3c2d9574e63
 DIST pure-ftpd-1.0.49.tar.bz2 487958 BLAKE2B 
bd5f10a49b533eb6c257032659e97aa7ae16ec9402704d8ee06c92938e217b748b390ccf0e31b3640f41cb7a93f85b29c8ddcdc296f214391b1d92da9d701a7c
 SHA512 
b44896d6fe2cda9169b1db93c5260bb892af14a173f2d25e60dd6530afe85d8e9156985609e35da7e5550dc123afb42bc5012beb9fca9011054cf0ed8b2eddef

diff --git a/net-ftp/pure-ftpd/files/pure-ftpd-1.0.47-MAX_DATA_SIZE.patch 
b/net-ftp/pure-ftpd/files/pure-ftpd-1.0.47-MAX_DATA_SIZE.patch
deleted file mode 100644
index a9ad0a30b9b..000
--- a/net-ftp/pure-ftpd/files/pure-ftpd-1.0.47-MAX_DATA_SIZE.patch
+++ /dev/null
@@ -1,22 +0,0 @@
-From 27a5c200f9643ce907118aad169279b3a66a9e8a Mon Sep 17 00:00:00 2001
-From: Frank Denis 
-Date: Sat, 4 Nov 2017 20:46:16 +0100
-Subject: [PATCH] Increase MAX_DATA_SIZE due to Argon2id requirements
-

- src/ftpd.h | 2 +-
- 1 file changed, 1 insertion(+), 1 deletion(-)
-
-diff --git a/src/ftpd.h b/src/ftpd.h
-index 1beeab8..5bb1f6b 100644
 a/src/ftpd.h
-+++ b/src/ftpd.h
-@@ -557,7 +557,7 @@ Your platform has a very large PATH_MAX, we should not 
trust it.
- 
- #ifndef MAX_DATA_SIZE
- # ifdef HAVE_LIBSODIUM
--#  define MAX_DATA_SIZE (40 * 1024 * 1024)
-+#  define MAX_DATA_SIZE (70 * 1024 * 1024)
- # elif defined(WITH_LDAP) || defined(WITH_MYSQL) || defined(WITH_PGSQL)
- #  define MAX_DATA_SIZE (16 * 1024 * 1024)   /* Max memory usage - 
SQL/LDAP need more */
- # else

diff --git a/net-ftp/pure-ftpd/files/pure-ftpd-1.0.47-TLSv1.3.patch 
b/net-ftp/pure-ftpd/files/pure-ftpd-1.0.47-TLSv1.3.patch
deleted file mode 100644
index 65f19bf49da..000
--- a/net-ftp/pure-ftpd/files/pure-ftpd-1.0.47-TLSv1.3.patch
+++ /dev/null
@@ -1,46 +0,0 @@
-From 4a495c61ce22c893aed5ee57f6ce0b43c3be59ad Mon Sep 17 00:00:00 2001
-From: Frank Denis 
-Date: Wed, 19 Sep 2018 23:53:45 +0200
-Subject: [PATCH] TLS1.3 compatibility
-
-Fixes #94

- src/tls.c | 17 +
- 1 file changed, 13 insertions(+), 4 deletions(-)
-
-diff --git a/src/tls.c b/src/tls.c
-index c693d3b..f383ed9 100644
 a/src/tls.c
-+++ b/src/tls.c
-@@ -228,7 +228,16 @@ static void ssl_info_cb(const SSL *cnx, int where, int 
ret)
- if ((where & SSL_CB_HANDSHAKE_START) != 0) {
- if ((cnx == tls_cnx && tls_cnx_handshook != 0) ||
- (cnx == tls_data_cnx && tls_data_cnx_handshook != 0)) {
--die(400, LOG_ERR, "TLS renegociation");
-+const SSL_CIPHER *cipher;
-+const char *cipher_version;
-+if ((cipher = SSL_get_current_cipher(cnx)) == NULL ||
-+(cipher_version = SSL_CIPHER_get_version(cipher)) == NULL) {
-+die(400, LOG_ERR, "No cipher");
-+}
-+if (strcmp(cipher_version, "TLSv1.3") != 0) {
-+die(400, LOG_ERR, "TLS renegociation");
-+return;
-+}
- }
- return;
- }
-@@ -264,10 +273,10 @@ int tls_init_library(void)
- OpenSSL_add_all_algorithms();
- # else
- OPENSSL_init_ssl(OPENSSL_INIT_LOAD_SSL_STRINGS |
--   OPENSSL_INIT_LOAD_CRYPTO_STRINGS, NULL);
-+ OPENSSL_INIT_LOAD_CRYPTO_STRINGS, NULL);
- OPENSSL_init_crypto(OPENSSL_INIT_ADD_ALL_CIPHERS |
--  OPENSSL_INIT_ADD_ALL_DIGESTS |
--  OPENSSL_INIT_LOAD_CONFIG, NULL);
-+OPENSSL_INIT_ADD_ALL_DIGESTS |
-+OPENSSL_INIT_LOAD_CONFIG, NULL);
- # endif
- while (

[gentoo-commits] repo/gentoo:master commit in: net-ftp/pure-ftpd/

2020-03-14 Thread Sergei Trofimovich
commit: b8ebce475e604aa4e4109cf6b3968ec7d2d3c5e2
Author: Sergei Trofimovich  gentoo  org>
AuthorDate: Sat Mar 14 19:24:19 2020 +
Commit: Sergei Trofimovich  gentoo  org>
CommitDate: Sat Mar 14 19:24:44 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b8ebce47

net-ftp/pure-ftpd: stable 1.0.49-r2 for ia64, bug #711124

Package-Manager: Portage-2.3.93, Repoman-2.3.20
RepoMan-Options: --include-arches="ia64"
Signed-off-by: Sergei Trofimovich  gentoo.org>

 net-ftp/pure-ftpd/pure-ftpd-1.0.49-r2.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net-ftp/pure-ftpd/pure-ftpd-1.0.49-r2.ebuild 
b/net-ftp/pure-ftpd/pure-ftpd-1.0.49-r2.ebuild
index 3386fbb63f8..45d7ced2405 100644
--- a/net-ftp/pure-ftpd/pure-ftpd-1.0.49-r2.ebuild
+++ b/net-ftp/pure-ftpd/pure-ftpd-1.0.49-r2.ebuild
@@ -13,7 +13,7 @@ if [[ "${PV}" ==  ]] ; then
 else
SRC_URI="ftp://ftp.pureftpd.org/pub/${PN}/releases/${P}.tar.bz2
http://download.pureftpd.org/pub/${PN}/releases/${P}.tar.bz2";
-   KEYWORDS="~alpha amd64 arm ~arm64 ~hppa ~ia64 ppc ppc64 sparc x86"
+   KEYWORDS="~alpha amd64 arm ~arm64 ~hppa ia64 ppc ppc64 sparc x86"
 fi
 
 LICENSE="BSD"



[gentoo-commits] repo/gentoo:master commit in: net-ftp/pure-ftpd/

2020-03-10 Thread Agostino Sarubbo
commit: ed00afe1275757ca35f3697a9bd9c0fdbabca568
Author: Agostino Sarubbo  gentoo  org>
AuthorDate: Tue Mar 10 08:55:58 2020 +
Commit: Agostino Sarubbo  gentoo  org>
CommitDate: Tue Mar 10 08:55:58 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ed00afe1

net-ftp/pure-ftpd: ppc64 stable wrt bug #711124

Package-Manager: Portage-2.3.89, Repoman-2.3.20
RepoMan-Options: --include-arches="ppc64"
Signed-off-by: Agostino Sarubbo  gentoo.org>

 net-ftp/pure-ftpd/pure-ftpd-1.0.49-r2.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net-ftp/pure-ftpd/pure-ftpd-1.0.49-r2.ebuild 
b/net-ftp/pure-ftpd/pure-ftpd-1.0.49-r2.ebuild
index a5493a20609..3386fbb63f8 100644
--- a/net-ftp/pure-ftpd/pure-ftpd-1.0.49-r2.ebuild
+++ b/net-ftp/pure-ftpd/pure-ftpd-1.0.49-r2.ebuild
@@ -13,7 +13,7 @@ if [[ "${PV}" ==  ]] ; then
 else
SRC_URI="ftp://ftp.pureftpd.org/pub/${PN}/releases/${P}.tar.bz2
http://download.pureftpd.org/pub/${PN}/releases/${P}.tar.bz2";
-   KEYWORDS="~alpha amd64 arm ~arm64 ~hppa ~ia64 ppc ~ppc64 sparc x86"
+   KEYWORDS="~alpha amd64 arm ~arm64 ~hppa ~ia64 ppc ppc64 sparc x86"
 fi
 
 LICENSE="BSD"



[gentoo-commits] repo/gentoo:master commit in: net-ftp/pure-ftpd/

2020-03-10 Thread Agostino Sarubbo
commit: 3ef5177b83470b268a3267b48930cd28488355c1
Author: Agostino Sarubbo  gentoo  org>
AuthorDate: Tue Mar 10 08:55:03 2020 +
Commit: Agostino Sarubbo  gentoo  org>
CommitDate: Tue Mar 10 08:55:03 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3ef5177b

net-ftp/pure-ftpd: ppc stable wrt bug #711124

Package-Manager: Portage-2.3.89, Repoman-2.3.20
RepoMan-Options: --include-arches="ppc"
Signed-off-by: Agostino Sarubbo  gentoo.org>

 net-ftp/pure-ftpd/pure-ftpd-1.0.49-r2.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net-ftp/pure-ftpd/pure-ftpd-1.0.49-r2.ebuild 
b/net-ftp/pure-ftpd/pure-ftpd-1.0.49-r2.ebuild
index 546c384faea..a5493a20609 100644
--- a/net-ftp/pure-ftpd/pure-ftpd-1.0.49-r2.ebuild
+++ b/net-ftp/pure-ftpd/pure-ftpd-1.0.49-r2.ebuild
@@ -13,7 +13,7 @@ if [[ "${PV}" ==  ]] ; then
 else
SRC_URI="ftp://ftp.pureftpd.org/pub/${PN}/releases/${P}.tar.bz2
http://download.pureftpd.org/pub/${PN}/releases/${P}.tar.bz2";
-   KEYWORDS="~alpha amd64 arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 sparc x86"
+   KEYWORDS="~alpha amd64 arm ~arm64 ~hppa ~ia64 ppc ~ppc64 sparc x86"
 fi
 
 LICENSE="BSD"



[gentoo-commits] repo/gentoo:master commit in: net-ftp/pure-ftpd/

2020-03-10 Thread Agostino Sarubbo
commit: 76e8a0c491290474e91adcdd44944106232bb084
Author: Agostino Sarubbo  gentoo  org>
AuthorDate: Tue Mar 10 08:52:55 2020 +
Commit: Agostino Sarubbo  gentoo  org>
CommitDate: Tue Mar 10 08:52:55 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=76e8a0c4

net-ftp/pure-ftpd: arm stable wrt bug #711124

Package-Manager: Portage-2.3.89, Repoman-2.3.20
RepoMan-Options: --include-arches="arm"
Signed-off-by: Agostino Sarubbo  gentoo.org>

 net-ftp/pure-ftpd/pure-ftpd-1.0.49-r2.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net-ftp/pure-ftpd/pure-ftpd-1.0.49-r2.ebuild 
b/net-ftp/pure-ftpd/pure-ftpd-1.0.49-r2.ebuild
index 8af1ee706c0..546c384faea 100644
--- a/net-ftp/pure-ftpd/pure-ftpd-1.0.49-r2.ebuild
+++ b/net-ftp/pure-ftpd/pure-ftpd-1.0.49-r2.ebuild
@@ -13,7 +13,7 @@ if [[ "${PV}" ==  ]] ; then
 else
SRC_URI="ftp://ftp.pureftpd.org/pub/${PN}/releases/${P}.tar.bz2
http://download.pureftpd.org/pub/${PN}/releases/${P}.tar.bz2";
-   KEYWORDS="~alpha amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 sparc x86"
+   KEYWORDS="~alpha amd64 arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 sparc x86"
 fi
 
 LICENSE="BSD"



[gentoo-commits] repo/gentoo:master commit in: net-ftp/pure-ftpd/

2020-03-10 Thread Agostino Sarubbo
commit: 5a38496d62e9dde12ffa7d80248620c5ea37c182
Author: Agostino Sarubbo  gentoo  org>
AuthorDate: Tue Mar 10 08:52:12 2020 +
Commit: Agostino Sarubbo  gentoo  org>
CommitDate: Tue Mar 10 08:52:12 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5a38496d

net-ftp/pure-ftpd: sparc stable wrt bug #711124

Package-Manager: Portage-2.3.89, Repoman-2.3.20
RepoMan-Options: --include-arches="sparc"
Signed-off-by: Agostino Sarubbo  gentoo.org>

 net-ftp/pure-ftpd/pure-ftpd-1.0.49-r2.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net-ftp/pure-ftpd/pure-ftpd-1.0.49-r2.ebuild 
b/net-ftp/pure-ftpd/pure-ftpd-1.0.49-r2.ebuild
index 9f53ac689dc..8af1ee706c0 100644
--- a/net-ftp/pure-ftpd/pure-ftpd-1.0.49-r2.ebuild
+++ b/net-ftp/pure-ftpd/pure-ftpd-1.0.49-r2.ebuild
@@ -13,7 +13,7 @@ if [[ "${PV}" ==  ]] ; then
 else
SRC_URI="ftp://ftp.pureftpd.org/pub/${PN}/releases/${P}.tar.bz2
http://download.pureftpd.org/pub/${PN}/releases/${P}.tar.bz2";
-   KEYWORDS="~alpha amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc x86"
+   KEYWORDS="~alpha amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 sparc x86"
 fi
 
 LICENSE="BSD"



[gentoo-commits] repo/gentoo:master commit in: net-ftp/pure-ftpd/

2020-03-10 Thread Agostino Sarubbo
commit: 00a06789d2ef11a565a06b2efd046a59397e596a
Author: Agostino Sarubbo  gentoo  org>
AuthorDate: Tue Mar 10 08:40:47 2020 +
Commit: Agostino Sarubbo  gentoo  org>
CommitDate: Tue Mar 10 08:40:47 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=00a06789

net-ftp/pure-ftpd: amd64 stable wrt bug #711124

Package-Manager: Portage-2.3.89, Repoman-2.3.20
RepoMan-Options: --include-arches="amd64"
Signed-off-by: Agostino Sarubbo  gentoo.org>

 net-ftp/pure-ftpd/pure-ftpd-1.0.49-r2.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net-ftp/pure-ftpd/pure-ftpd-1.0.49-r2.ebuild 
b/net-ftp/pure-ftpd/pure-ftpd-1.0.49-r2.ebuild
index 65103bbd197..9f53ac689dc 100644
--- a/net-ftp/pure-ftpd/pure-ftpd-1.0.49-r2.ebuild
+++ b/net-ftp/pure-ftpd/pure-ftpd-1.0.49-r2.ebuild
@@ -13,7 +13,7 @@ if [[ "${PV}" ==  ]] ; then
 else
SRC_URI="ftp://ftp.pureftpd.org/pub/${PN}/releases/${P}.tar.bz2
http://download.pureftpd.org/pub/${PN}/releases/${P}.tar.bz2";
-   KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc x86"
+   KEYWORDS="~alpha amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc x86"
 fi
 
 LICENSE="BSD"



[gentoo-commits] repo/gentoo:master commit in: net-ftp/pure-ftpd/

2020-03-09 Thread Thomas Deutschmann
commit: d7ad4609bc74926c5ce7aa7d4bb03dc6317cc823
Author: Thomas Deutschmann  gentoo  org>
AuthorDate: Mon Mar  9 14:14:51 2020 +
Commit: Thomas Deutschmann  gentoo  org>
CommitDate: Mon Mar  9 14:14:51 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d7ad4609

net-ftp/pure-ftpd: x86 stable (bug #711124)

Package-Manager: Portage-2.3.91, Repoman-2.3.20
Signed-off-by: Thomas Deutschmann  gentoo.org>

 net-ftp/pure-ftpd/pure-ftpd-1.0.49-r2.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net-ftp/pure-ftpd/pure-ftpd-1.0.49-r2.ebuild 
b/net-ftp/pure-ftpd/pure-ftpd-1.0.49-r2.ebuild
index 9ca535572cf..65103bbd197 100644
--- a/net-ftp/pure-ftpd/pure-ftpd-1.0.49-r2.ebuild
+++ b/net-ftp/pure-ftpd/pure-ftpd-1.0.49-r2.ebuild
@@ -13,7 +13,7 @@ if [[ "${PV}" ==  ]] ; then
 else
SRC_URI="ftp://ftp.pureftpd.org/pub/${PN}/releases/${P}.tar.bz2
http://download.pureftpd.org/pub/${PN}/releases/${P}.tar.bz2";
-   KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86"
+   KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc x86"
 fi
 
 LICENSE="BSD"



[gentoo-commits] repo/gentoo:master commit in: net-ftp/pure-ftpd/files/, net-ftp/pure-ftpd/

2020-03-02 Thread Lars Wendler
commit: 4501b5f9f001794ca87849f240d4af149b6f1b15
Author: Lars Wendler  gentoo  org>
AuthorDate: Mon Mar  2 13:59:31 2020 +
Commit: Lars Wendler  gentoo  org>
CommitDate: Mon Mar  2 13:59:46 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4501b5f9

net-ftp/pure-ftpd: Security revbump for CVE-2020-9365

Bug: https://bugs.gentoo.org/711124
Package-Manager: Portage-2.3.91, Repoman-2.3.20
Signed-off-by: Lars Wendler  gentoo.org>

 ...d-1.0.49-diraliases_uninitialized_pointer.patch |  31 +
 .../pure-ftpd-1.0.49-pure_strcmp_OOB_read.patch|  27 
 net-ftp/pure-ftpd/pure-ftpd-1.0.49-r2.ebuild   | 152 +
 3 files changed, 210 insertions(+)

diff --git 
a/net-ftp/pure-ftpd/files/pure-ftpd-1.0.49-diraliases_uninitialized_pointer.patch
 
b/net-ftp/pure-ftpd/files/pure-ftpd-1.0.49-diraliases_uninitialized_pointer.patch
new file mode 100644
index 000..7e29934caf5
--- /dev/null
+++ 
b/net-ftp/pure-ftpd/files/pure-ftpd-1.0.49-diraliases_uninitialized_pointer.patch
@@ -0,0 +1,31 @@
+From 8d0d42542e2cb7a56d645fbe4d0ef436e38bcefa Mon Sep 17 00:00:00 2001
+From: Frank Denis 
+Date: Tue, 18 Feb 2020 18:36:58 +0100
+Subject: [PATCH] diraliases: always set the tail of the list to NULL
+
+Spotted and reported by Antonio Norales from GitHub Security Labs.
+Thanks!
+---
+ src/diraliases.c | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/src/diraliases.c b/src/diraliases.c
+index 4002a36..fb70273 100644
+--- a/src/diraliases.c
 b/src/diraliases.c
+@@ -93,7 +93,6 @@ int init_aliases(void)
+ (tail->dir = strdup(dir)) == NULL) {
+ die_mem();
+ }
+-tail->next = NULL;
+ } else {
+ DirAlias *curr;
+ 
+@@ -105,6 +104,7 @@ int init_aliases(void)
+ tail->next = curr;
+ tail = curr;
+ }
++tail->next = NULL;
+ }
+ fclose(fp);
+ aliases_up++;

diff --git 
a/net-ftp/pure-ftpd/files/pure-ftpd-1.0.49-pure_strcmp_OOB_read.patch 
b/net-ftp/pure-ftpd/files/pure-ftpd-1.0.49-pure_strcmp_OOB_read.patch
new file mode 100644
index 000..4ed197e46d3
--- /dev/null
+++ b/net-ftp/pure-ftpd/files/pure-ftpd-1.0.49-pure_strcmp_OOB_read.patch
@@ -0,0 +1,27 @@
+From 36c6d268cb190282a2c17106acfd31863121b58e Mon Sep 17 00:00:00 2001
+From: Frank Denis 
+Date: Mon, 24 Feb 2020 15:19:43 +0100
+Subject: [PATCH] pure_strcmp(): len(s2) can be > len(s1)
+
+Reported by Antonio Morales from GitHub Security Labs, thanks!
+---
+ src/utils.c | 8 +++-
+ 1 file changed, 7 insertions(+), 1 deletion(-)
+
+diff --git a/src/utils.c b/src/utils.c
+index f41492d..a7f0381 100644
+--- a/src/utils.c
 b/src/utils.c
+@@ -45,5 +45,11 @@ int pure_memcmp(const void * const b1_, const void * const 
b2_, size_t len)
+ 
+ int pure_strcmp(const char * const s1, const char * const s2)
+ {
+-return pure_memcmp(s1, s2, strlen(s1) + 1U);
++const size_t s1_len = strlen(s1);
++const size_t s2_len = strlen(s2);
++
++if (s1_len != s2_len) {
++return -1;
++}
++return pure_memcmp(s1, s2, s1_len);
+ }

diff --git a/net-ftp/pure-ftpd/pure-ftpd-1.0.49-r2.ebuild 
b/net-ftp/pure-ftpd/pure-ftpd-1.0.49-r2.ebuild
new file mode 100644
index 000..9ca535572cf
--- /dev/null
+++ b/net-ftp/pure-ftpd/pure-ftpd-1.0.49-r2.ebuild
@@ -0,0 +1,152 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit flag-o-matic
+
+DESCRIPTION="Fast, production-quality, standard-conformant FTP server"
+HOMEPAGE="http://www.pureftpd.org/";
+if [[ "${PV}" ==  ]] ; 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";
+   KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86"
+fi
+
+LICENSE="BSD"
+SLOT="0"
+
+IUSE="anondel anonperm anonren anonres caps implicittls ldap libressl mysql 
noiplog pam paranoidmsg postgres resolveids selinux ssl sysquota vchroot xinetd"
+
+REQUIRED_USE="implicittls? ( ssl )"
+
+DEPEND="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? (
+   !libressl? ( >=dev-libs/openssl-0.9.6g:0=[-bindist] )
+   libressl? ( dev-libs/libressl:= )
+   )
+   sysquota? ( sys-fs/quota[-rpc] )
+   xinetd? ( virtual/inetd )"
+
+RDEPEND="${DEPEND}
+   dev-libs/libsodium:=
+   net-ftp/ftpbase
+   selinux? ( sec-policy/selinux-ftp )"
+
+PATCHES=(
+   "${FILESDIR}/${PN}-1.0.28-pam.patch"
+
+   # https://bugs.gentoo.org/711124
+   "${FILESDIR}/${P}-diraliases_uninitialized_p

[gentoo-commits] repo/gentoo:master commit in: net-ftp/pure-ftpd/

2019-11-24 Thread Lars Wendler
commit: bed5af0dbc0b5cb7bb17d2b6eb6415b2c20734ce
Author: Lars Wendler  gentoo  org>
AuthorDate: Sun Nov 24 13:49:16 2019 +
Commit: Lars Wendler  gentoo  org>
CommitDate: Sun Nov 24 13:51:26 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=bed5af0d

net-ftp/pure-ftpd: Revbump to set correct localstatedir path

Package-Manager: Portage-2.3.79, Repoman-2.3.18
Signed-off-by: Lars Wendler  gentoo.org>

 .../pure-ftpd/{pure-ftpd-.ebuild => pure-ftpd-1.0.49-r1.ebuild}  | 5 +
 net-ftp/pure-ftpd/pure-ftpd-.ebuild  | 5 +
 2 files changed, 10 insertions(+)

diff --git a/net-ftp/pure-ftpd/pure-ftpd-.ebuild 
b/net-ftp/pure-ftpd/pure-ftpd-1.0.49-r1.ebuild
similarity index 93%
copy from net-ftp/pure-ftpd/pure-ftpd-.ebuild
copy to net-ftp/pure-ftpd/pure-ftpd-1.0.49-r1.ebuild
index 5f4d78cdd36..d1be10cc99f 100644
--- a/net-ftp/pure-ftpd/pure-ftpd-.ebuild
+++ b/net-ftp/pure-ftpd/pure-ftpd-1.0.49-r1.ebuild
@@ -70,6 +70,11 @@ src_configure() {
 
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

diff --git a/net-ftp/pure-ftpd/pure-ftpd-.ebuild 
b/net-ftp/pure-ftpd/pure-ftpd-.ebuild
index 5f4d78cdd36..d1be10cc99f 100644
--- a/net-ftp/pure-ftpd/pure-ftpd-.ebuild
+++ b/net-ftp/pure-ftpd/pure-ftpd-.ebuild
@@ -70,6 +70,11 @@ src_configure() {
 
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



[gentoo-commits] repo/gentoo:master commit in: net-ftp/pure-ftpd/

2019-11-24 Thread Lars Wendler
commit: 505faf91013dc4fc8843efba715994640d34eee1
Author: Lars Wendler  gentoo  org>
AuthorDate: Sun Nov 24 13:50:58 2019 +
Commit: Lars Wendler  gentoo  org>
CommitDate: Sun Nov 24 13:51:26 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=505faf91

net-ftp/pure-ftpd: Removed old

Package-Manager: Portage-2.3.79, Repoman-2.3.18
Signed-off-by: Lars Wendler  gentoo.org>

 net-ftp/pure-ftpd/Manifest|   1 -
 net-ftp/pure-ftpd/pure-ftpd-1.0.48.ebuild | 143 --
 net-ftp/pure-ftpd/pure-ftpd-1.0.49.ebuild | 143 --
 3 files changed, 287 deletions(-)

diff --git a/net-ftp/pure-ftpd/Manifest b/net-ftp/pure-ftpd/Manifest
index 2090d3dbe8f..746be8280a0 100644
--- a/net-ftp/pure-ftpd/Manifest
+++ b/net-ftp/pure-ftpd/Manifest
@@ -1,3 +1,2 @@
 DIST pure-ftpd-1.0.47.tar.bz2 489177 BLAKE2B 
06e71ead47b87dedf47a84e488b2de127fcd297c2e9ca7a617c2ee2760cf55b816884763721826c512558d016cbd38a87a11ca0e8c2334d93145edc6f88d9287
 SHA512 
c1920a3f67f04635fde600fe226a7730b801e7e64658b25f1d9f9c0b35a704664be4adfb0b291594f7e0f10beade25eae9a5e6cc3b6777a3b413f3c2d9574e63
-DIST pure-ftpd-1.0.48.tar.bz2 487653 BLAKE2B 
6edf1ae191fba657907121a0ff6d57cfaf1df2b237fcd66f8523cf84b9fbcb737752624c031f33ca16b8d0c8345391fa876556ccfb8027cfb3c7d36045e0649d
 SHA512 
eabcc8ba6d37e3aceb57871e80129a1db1a3ea7d2b9f57626a21f42b4978570a84006a941fe254b6af50b2432d1d391725ea512f7569fcaecfa7eb77179c2f54
 DIST pure-ftpd-1.0.49.tar.bz2 487958 BLAKE2B 
bd5f10a49b533eb6c257032659e97aa7ae16ec9402704d8ee06c92938e217b748b390ccf0e31b3640f41cb7a93f85b29c8ddcdc296f214391b1d92da9d701a7c
 SHA512 
b44896d6fe2cda9169b1db93c5260bb892af14a173f2d25e60dd6530afe85d8e9156985609e35da7e5550dc123afb42bc5012beb9fca9011054cf0ed8b2eddef

diff --git a/net-ftp/pure-ftpd/pure-ftpd-1.0.48.ebuild 
b/net-ftp/pure-ftpd/pure-ftpd-1.0.48.ebuild
deleted file mode 100644
index 5f4d78cdd36..000
--- a/net-ftp/pure-ftpd/pure-ftpd-1.0.48.ebuild
+++ /dev/null
@@ -1,143 +0,0 @@
-# Copyright 1999-2019 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-inherit flag-o-matic
-
-DESCRIPTION="Fast, production-quality, standard-conformant FTP server"
-HOMEPAGE="http://www.pureftpd.org/";
-if [[ "${PV}" ==  ]] ; 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";
-   KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86"
-fi
-
-LICENSE="BSD"
-SLOT="0"
-
-IUSE="anondel anonperm anonren anonres caps implicittls ldap libressl mysql 
noiplog pam paranoidmsg postgres resolveids selinux ssl sysquota vchroot xinetd"
-
-REQUIRED_USE="implicittls? ( ssl )"
-
-DEPEND="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? (
-   !libressl? ( >=dev-libs/openssl-0.9.6g:0=[-bindist] )
-   libressl? ( dev-libs/libressl:= )
-   )
-   sysquota? ( sys-fs/quota[-rpc] )
-   xinetd? ( virtual/inetd )"
-
-RDEPEND="${DEPEND}
-   dev-libs/libsodium:=
-   net-ftp/ftpbase
-   selinux? ( sec-policy/selinux-ftp )"
-
-PATCHES=(
-   "${FILESDIR}/${PN}-1.0.28-pam.patch"
-)
-
-src_prepare() {
-   default
-   [[ "${PV}" ==  ]] && eautoreconf
-}
-
-src_configure() {
-   # adjust max user length to something more appropriate
-   # for virtual hosts. See bug #62472 for details.
-   sed -e "s:# define MAX_USER_LENGTH 32U:# define MAX_USER_LENGTH 127U:" \
-   -i "${S}/src/ftpd.h" || die "sed failed"
-
-   # 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
-   --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 ldap)
- 

[gentoo-commits] repo/gentoo:master commit in: net-ftp/pure-ftpd/

2019-10-12 Thread Mikle Kolyada
commit: eb1992bef09cd6e7014690d6c1ea593b1516d293
Author: Mikle Kolyada  gentoo  org>
AuthorDate: Sat Oct 12 19:25:21 2019 +
Commit: Mikle Kolyada  gentoo  org>
CommitDate: Sat Oct 12 19:25:21 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=eb1992be

net-ftp/pure-ftpd: migrate to sys-libs/pam

Package-Manager: Portage-2.3.76, Repoman-2.3.16
Signed-off-by: Mikle Kolyada  gentoo.org>

 net-ftp/pure-ftpd/pure-ftpd-1.0.47-r4.ebuild | 2 +-
 net-ftp/pure-ftpd/pure-ftpd-1.0.48.ebuild| 2 +-
 net-ftp/pure-ftpd/pure-ftpd-1.0.49.ebuild| 2 +-
 net-ftp/pure-ftpd/pure-ftpd-.ebuild  | 2 +-
 4 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/net-ftp/pure-ftpd/pure-ftpd-1.0.47-r4.ebuild 
b/net-ftp/pure-ftpd/pure-ftpd-1.0.47-r4.ebuild
index 7091bdd479e..e1e9feb5178 100644
--- a/net-ftp/pure-ftpd/pure-ftpd-1.0.47-r4.ebuild
+++ b/net-ftp/pure-ftpd/pure-ftpd-1.0.47-r4.ebuild
@@ -26,7 +26,7 @@ DEPEND="caps? ( sys-libs/libcap )
dev-db/mariadb-connector-c
dev-db/mysql-connector-c
) )
-   pam? ( virtual/pam )
+   pam? ( sys-libs/pam )
postgres? ( dev-db/postgresql:= )
ssl? (
!libressl? ( >=dev-libs/openssl-0.9.6g:0=[-bindist] )

diff --git a/net-ftp/pure-ftpd/pure-ftpd-1.0.48.ebuild 
b/net-ftp/pure-ftpd/pure-ftpd-1.0.48.ebuild
index 30e10ab43e3..5f4d78cdd36 100644
--- a/net-ftp/pure-ftpd/pure-ftpd-1.0.48.ebuild
+++ b/net-ftp/pure-ftpd/pure-ftpd-1.0.48.ebuild
@@ -29,7 +29,7 @@ DEPEND="caps? ( sys-libs/libcap )
dev-db/mariadb-connector-c
dev-db/mysql-connector-c
) )
-   pam? ( virtual/pam )
+   pam? ( sys-libs/pam )
postgres? ( dev-db/postgresql:= )
ssl? (
!libressl? ( >=dev-libs/openssl-0.9.6g:0=[-bindist] )

diff --git a/net-ftp/pure-ftpd/pure-ftpd-1.0.49.ebuild 
b/net-ftp/pure-ftpd/pure-ftpd-1.0.49.ebuild
index 30e10ab43e3..5f4d78cdd36 100644
--- a/net-ftp/pure-ftpd/pure-ftpd-1.0.49.ebuild
+++ b/net-ftp/pure-ftpd/pure-ftpd-1.0.49.ebuild
@@ -29,7 +29,7 @@ DEPEND="caps? ( sys-libs/libcap )
dev-db/mariadb-connector-c
dev-db/mysql-connector-c
) )
-   pam? ( virtual/pam )
+   pam? ( sys-libs/pam )
postgres? ( dev-db/postgresql:= )
ssl? (
!libressl? ( >=dev-libs/openssl-0.9.6g:0=[-bindist] )

diff --git a/net-ftp/pure-ftpd/pure-ftpd-.ebuild 
b/net-ftp/pure-ftpd/pure-ftpd-.ebuild
index 30e10ab43e3..5f4d78cdd36 100644
--- a/net-ftp/pure-ftpd/pure-ftpd-.ebuild
+++ b/net-ftp/pure-ftpd/pure-ftpd-.ebuild
@@ -29,7 +29,7 @@ DEPEND="caps? ( sys-libs/libcap )
dev-db/mariadb-connector-c
dev-db/mysql-connector-c
) )
-   pam? ( virtual/pam )
+   pam? ( sys-libs/pam )
postgres? ( dev-db/postgresql:= )
ssl? (
!libressl? ( >=dev-libs/openssl-0.9.6g:0=[-bindist] )



[gentoo-commits] repo/gentoo:master commit in: net-ftp/pure-ftpd/files/

2019-04-20 Thread Lars Wendler
commit: 71358b809e7f83d15ccac961a52414d643efb6fe
Author: Lars Wendler  gentoo  org>
AuthorDate: Sat Apr 20 14:17:47 2019 +
Commit: Lars Wendler  gentoo  org>
CommitDate: Sat Apr 20 14:18:03 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=71358b80

net-ftp/pure-ftpd: Drop "need net" dependency in openrc init script

Closes: https://bugs.gentoo.org/514860
Package-Manager: Portage-2.3.64, Repoman-2.3.12
Signed-off-by: Lars Wendler  gentoo.org>

 net-ftp/pure-ftpd/files/pure-ftpd.rc11 | 15 ---
 1 file changed, 8 insertions(+), 7 deletions(-)

diff --git a/net-ftp/pure-ftpd/files/pure-ftpd.rc11 
b/net-ftp/pure-ftpd/files/pure-ftpd.rc11
index cc17b5afa12..35270ff3350 100644
--- a/net-ftp/pure-ftpd/files/pure-ftpd.rc11
+++ b/net-ftp/pure-ftpd/files/pure-ftpd.rc11
@@ -1,5 +1,5 @@
 #!/sbin/openrc-run
-# Copyright 1999-2016 Gentoo Foundation
+# Copyright 1999-2019 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 ftpd_pidfile="/var/run/pure-ftpd.pid"
@@ -9,11 +9,12 @@ daemon="/usr/sbin/pure-ftpd"
 script_daemon="/usr/sbin/pure-uploadscript"
 
 depend() {
-   need net
+   need localmount
+   use netmount
 }
 
 start_pre() {
-   if [ -z "$IS_CONFIGURED" ] ; then
+   if [ -z "${IS_CONFIGURED}" ] ; then
eerror "You need to setup /etc/conf.d/pure-ftpd first!"
return 1
fi
@@ -21,7 +22,7 @@ start_pre() {
 
 start() {
UPSCRIPT=""
-   if [ -n "$UPLOADSCRIPT" ] ; then
+   if [ -n "${UPLOADSCRIPT}" ] ; then
UPSCRIPT="--uploadscript"
fi
 
@@ -42,11 +43,11 @@ start() {
--make-pidfile --background --exec /usr/sbin/pure-ftpd ${WAIT} \
-- $(echo ${FTPD_CONFIG} | sed 
's@\([[:space:]]\+\|^\)-B\([[:space:]]\+\|$\)@\1@g')
result=$?
-   if [ $result -ne 0 ] ; then
+   if [ ${result} -ne 0 ] ; then
eend 1 "Could not launch Pure-FTPd"
else
eend $result
-   if [ -n "$UPLOADSCRIPT" ] ; then
+   if [ -n "${UPLOADSCRIPT}" ] ; then
ebegin "Starting Pure-FTPd upload script"
start-stop-daemon --start --quiet --make-pidfile \
 --pidfile ${script_pidfile} \
@@ -58,7 +59,7 @@ start() {
 }
 
 stop() {
-   if [ -n "$UPLOADSCRIPT" ] ; then
+   if [ -n "${UPLOADSCRIPT}" ] ; then
ebegin "Stopping Pure-FTPd upload script"
start-stop-daemon --stop --retry 20 --quiet \
--pidfile ${script_pidfile}



[gentoo-commits] repo/gentoo:master commit in: net-ftp/pure-ftpd/

2019-04-03 Thread Lars Wendler
commit: d9e97d0f674df9ddc7c1d0d64b736a3ccb9b277a
Author: Lars Wendler  gentoo  org>
AuthorDate: Wed Apr  3 18:02:07 2019 +
Commit: Lars Wendler  gentoo  org>
CommitDate: Wed Apr  3 18:02:07 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d9e97d0f

net-ftp/pure-ftpd: Bump to version 1.0.49

Package-Manager: Portage-2.3.62, Repoman-2.3.12
Signed-off-by: Lars Wendler  gentoo.org>

 net-ftp/pure-ftpd/Manifest|   1 +
 net-ftp/pure-ftpd/pure-ftpd-1.0.49.ebuild | 143 ++
 2 files changed, 144 insertions(+)

diff --git a/net-ftp/pure-ftpd/Manifest b/net-ftp/pure-ftpd/Manifest
index 4385a344f97..2090d3dbe8f 100644
--- a/net-ftp/pure-ftpd/Manifest
+++ b/net-ftp/pure-ftpd/Manifest
@@ -1,2 +1,3 @@
 DIST pure-ftpd-1.0.47.tar.bz2 489177 BLAKE2B 
06e71ead47b87dedf47a84e488b2de127fcd297c2e9ca7a617c2ee2760cf55b816884763721826c512558d016cbd38a87a11ca0e8c2334d93145edc6f88d9287
 SHA512 
c1920a3f67f04635fde600fe226a7730b801e7e64658b25f1d9f9c0b35a704664be4adfb0b291594f7e0f10beade25eae9a5e6cc3b6777a3b413f3c2d9574e63
 DIST pure-ftpd-1.0.48.tar.bz2 487653 BLAKE2B 
6edf1ae191fba657907121a0ff6d57cfaf1df2b237fcd66f8523cf84b9fbcb737752624c031f33ca16b8d0c8345391fa876556ccfb8027cfb3c7d36045e0649d
 SHA512 
eabcc8ba6d37e3aceb57871e80129a1db1a3ea7d2b9f57626a21f42b4978570a84006a941fe254b6af50b2432d1d391725ea512f7569fcaecfa7eb77179c2f54
+DIST pure-ftpd-1.0.49.tar.bz2 487958 BLAKE2B 
bd5f10a49b533eb6c257032659e97aa7ae16ec9402704d8ee06c92938e217b748b390ccf0e31b3640f41cb7a93f85b29c8ddcdc296f214391b1d92da9d701a7c
 SHA512 
b44896d6fe2cda9169b1db93c5260bb892af14a173f2d25e60dd6530afe85d8e9156985609e35da7e5550dc123afb42bc5012beb9fca9011054cf0ed8b2eddef

diff --git a/net-ftp/pure-ftpd/pure-ftpd-1.0.49.ebuild 
b/net-ftp/pure-ftpd/pure-ftpd-1.0.49.ebuild
new file mode 100644
index 000..30e10ab43e3
--- /dev/null
+++ b/net-ftp/pure-ftpd/pure-ftpd-1.0.49.ebuild
@@ -0,0 +1,143 @@
+# Copyright 1999-2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit flag-o-matic
+
+DESCRIPTION="Fast, production-quality, standard-conformant FTP server"
+HOMEPAGE="http://www.pureftpd.org/";
+if [[ "${PV}" ==  ]] ; 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";
+   KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86"
+fi
+
+LICENSE="BSD"
+SLOT="0"
+
+IUSE="anondel anonperm anonren anonres caps implicittls ldap libressl mysql 
noiplog pam paranoidmsg postgres resolveids selinux ssl sysquota vchroot xinetd"
+
+REQUIRED_USE="implicittls? ( ssl )"
+
+DEPEND="caps? ( sys-libs/libcap )
+   ldap? ( >=net-nds/openldap-2.0.25 )
+   mysql? ( || (
+   dev-db/mariadb-connector-c
+   dev-db/mysql-connector-c
+   ) )
+   pam? ( virtual/pam )
+   postgres? ( dev-db/postgresql:= )
+   ssl? (
+   !libressl? ( >=dev-libs/openssl-0.9.6g:0=[-bindist] )
+   libressl? ( dev-libs/libressl:= )
+   )
+   sysquota? ( sys-fs/quota[-rpc] )
+   xinetd? ( virtual/inetd )"
+
+RDEPEND="${DEPEND}
+   dev-libs/libsodium:=
+   net-ftp/ftpbase
+   selinux? ( sec-policy/selinux-ftp )"
+
+PATCHES=(
+   "${FILESDIR}/${PN}-1.0.28-pam.patch"
+)
+
+src_prepare() {
+   default
+   [[ "${PV}" ==  ]] && eautoreconf
+}
+
+src_configure() {
+   # adjust max user length to something more appropriate
+   # for virtual hosts. See bug #62472 for details.
+   sed -e "s:# define MAX_USER_LENGTH 32U:# define MAX_USER_LENGTH 127U:" \
+   -i "${S}/src/ftpd.h" || die "sed failed"
+
+   # 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
+   --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 ldap)
+   $(use_with mysql)
+   $(use_with pam)
+   $

[gentoo-commits] repo/gentoo:master commit in: net-ftp/pure-ftpd/

2019-03-25 Thread Lars Wendler
commit: 670e992caee6e94bc3cf5b7baac7f40e0108816c
Author: Lars Wendler  gentoo  org>
AuthorDate: Tue Mar 26 00:03:46 2019 +
Commit: Lars Wendler  gentoo  org>
CommitDate: Tue Mar 26 00:04:09 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=670e992c

net-ftp/pure-ftpd: Bump to version 1.0.48

Package-Manager: Portage-2.3.62, Repoman-2.3.12
Signed-off-by: Lars Wendler  gentoo.org>

 net-ftp/pure-ftpd/Manifest|   1 +
 net-ftp/pure-ftpd/pure-ftpd-1.0.48.ebuild | 143 ++
 2 files changed, 144 insertions(+)

diff --git a/net-ftp/pure-ftpd/Manifest b/net-ftp/pure-ftpd/Manifest
index 7be11d70d6b..4385a344f97 100644
--- a/net-ftp/pure-ftpd/Manifest
+++ b/net-ftp/pure-ftpd/Manifest
@@ -1 +1,2 @@
 DIST pure-ftpd-1.0.47.tar.bz2 489177 BLAKE2B 
06e71ead47b87dedf47a84e488b2de127fcd297c2e9ca7a617c2ee2760cf55b816884763721826c512558d016cbd38a87a11ca0e8c2334d93145edc6f88d9287
 SHA512 
c1920a3f67f04635fde600fe226a7730b801e7e64658b25f1d9f9c0b35a704664be4adfb0b291594f7e0f10beade25eae9a5e6cc3b6777a3b413f3c2d9574e63
+DIST pure-ftpd-1.0.48.tar.bz2 487653 BLAKE2B 
6edf1ae191fba657907121a0ff6d57cfaf1df2b237fcd66f8523cf84b9fbcb737752624c031f33ca16b8d0c8345391fa876556ccfb8027cfb3c7d36045e0649d
 SHA512 
eabcc8ba6d37e3aceb57871e80129a1db1a3ea7d2b9f57626a21f42b4978570a84006a941fe254b6af50b2432d1d391725ea512f7569fcaecfa7eb77179c2f54

diff --git a/net-ftp/pure-ftpd/pure-ftpd-1.0.48.ebuild 
b/net-ftp/pure-ftpd/pure-ftpd-1.0.48.ebuild
new file mode 100644
index 000..30e10ab43e3
--- /dev/null
+++ b/net-ftp/pure-ftpd/pure-ftpd-1.0.48.ebuild
@@ -0,0 +1,143 @@
+# Copyright 1999-2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit flag-o-matic
+
+DESCRIPTION="Fast, production-quality, standard-conformant FTP server"
+HOMEPAGE="http://www.pureftpd.org/";
+if [[ "${PV}" ==  ]] ; 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";
+   KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86"
+fi
+
+LICENSE="BSD"
+SLOT="0"
+
+IUSE="anondel anonperm anonren anonres caps implicittls ldap libressl mysql 
noiplog pam paranoidmsg postgres resolveids selinux ssl sysquota vchroot xinetd"
+
+REQUIRED_USE="implicittls? ( ssl )"
+
+DEPEND="caps? ( sys-libs/libcap )
+   ldap? ( >=net-nds/openldap-2.0.25 )
+   mysql? ( || (
+   dev-db/mariadb-connector-c
+   dev-db/mysql-connector-c
+   ) )
+   pam? ( virtual/pam )
+   postgres? ( dev-db/postgresql:= )
+   ssl? (
+   !libressl? ( >=dev-libs/openssl-0.9.6g:0=[-bindist] )
+   libressl? ( dev-libs/libressl:= )
+   )
+   sysquota? ( sys-fs/quota[-rpc] )
+   xinetd? ( virtual/inetd )"
+
+RDEPEND="${DEPEND}
+   dev-libs/libsodium:=
+   net-ftp/ftpbase
+   selinux? ( sec-policy/selinux-ftp )"
+
+PATCHES=(
+   "${FILESDIR}/${PN}-1.0.28-pam.patch"
+)
+
+src_prepare() {
+   default
+   [[ "${PV}" ==  ]] && eautoreconf
+}
+
+src_configure() {
+   # adjust max user length to something more appropriate
+   # for virtual hosts. See bug #62472 for details.
+   sed -e "s:# define MAX_USER_LENGTH 32U:# define MAX_USER_LENGTH 127U:" \
+   -i "${S}/src/ftpd.h" || die "sed failed"
+
+   # 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
+   --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 ldap)
+   $(use_with mysql)
+   $(use_with pam)
+   $(use_with paranoidmsg)
+   $(use_with postgres pgsql)
+   $(use_with ssl tls)
+   $(use_with implicittls)
+   $(use_with vchroot virtualchroot)
+   $(use_with sysquota sysquotas)
+   $(usex caps '' '--without-capabilities')
+   $(us

[gentoo-commits] repo/gentoo:master commit in: net-ftp/pure-ftpd/

2019-03-25 Thread Lars Wendler
commit: 4b1177c541366e90ee857c23e7ed7e7f9df058fa
Author: Lars Wendler  gentoo  org>
AuthorDate: Tue Mar 26 00:00:20 2019 +
Commit: Lars Wendler  gentoo  org>
CommitDate: Tue Mar 26 00:04:08 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4b1177c5

net-ftp/pure-ftpd: Added live ebuild.

Package-Manager: Portage-2.3.62, Repoman-2.3.12
Signed-off-by: Lars Wendler  gentoo.org>

 net-ftp/pure-ftpd/pure-ftpd-.ebuild | 143 
 1 file changed, 143 insertions(+)

diff --git a/net-ftp/pure-ftpd/pure-ftpd-.ebuild 
b/net-ftp/pure-ftpd/pure-ftpd-.ebuild
new file mode 100644
index 000..30e10ab43e3
--- /dev/null
+++ b/net-ftp/pure-ftpd/pure-ftpd-.ebuild
@@ -0,0 +1,143 @@
+# Copyright 1999-2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit flag-o-matic
+
+DESCRIPTION="Fast, production-quality, standard-conformant FTP server"
+HOMEPAGE="http://www.pureftpd.org/";
+if [[ "${PV}" ==  ]] ; 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";
+   KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86"
+fi
+
+LICENSE="BSD"
+SLOT="0"
+
+IUSE="anondel anonperm anonren anonres caps implicittls ldap libressl mysql 
noiplog pam paranoidmsg postgres resolveids selinux ssl sysquota vchroot xinetd"
+
+REQUIRED_USE="implicittls? ( ssl )"
+
+DEPEND="caps? ( sys-libs/libcap )
+   ldap? ( >=net-nds/openldap-2.0.25 )
+   mysql? ( || (
+   dev-db/mariadb-connector-c
+   dev-db/mysql-connector-c
+   ) )
+   pam? ( virtual/pam )
+   postgres? ( dev-db/postgresql:= )
+   ssl? (
+   !libressl? ( >=dev-libs/openssl-0.9.6g:0=[-bindist] )
+   libressl? ( dev-libs/libressl:= )
+   )
+   sysquota? ( sys-fs/quota[-rpc] )
+   xinetd? ( virtual/inetd )"
+
+RDEPEND="${DEPEND}
+   dev-libs/libsodium:=
+   net-ftp/ftpbase
+   selinux? ( sec-policy/selinux-ftp )"
+
+PATCHES=(
+   "${FILESDIR}/${PN}-1.0.28-pam.patch"
+)
+
+src_prepare() {
+   default
+   [[ "${PV}" ==  ]] && eautoreconf
+}
+
+src_configure() {
+   # adjust max user length to something more appropriate
+   # for virtual hosts. See bug #62472 for details.
+   sed -e "s:# define MAX_USER_LENGTH 32U:# define MAX_USER_LENGTH 127U:" \
+   -i "${S}/src/ftpd.h" || die "sed failed"
+
+   # 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
+   --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 ldap)
+   $(use_with mysql)
+   $(use_with pam)
+   $(use_with paranoidmsg)
+   $(use_with postgres pgsql)
+   $(use_with ssl tls)
+   $(use_with implicittls)
+   $(use_with vchroot virtualchroot)
+   $(use_with sysquota sysquotas)
+   $(usex caps '' '--without-capabilities')
+   $(usex noiplog '--without-iplogging' '')
+   $(usex xinetd '' '--without-inetd')
+   )
+   econf "${myeconfargs[@]}"
+}
+
+src_install() {
+   local DOCS=( AUTHORS ChangeLog FAQ HISTORY README* NEWS )
+
+   default
+
+   newinitd "${FILESDIR}/pure-ftpd.rc11" ${PN}
+   newconfd "${FILESDIR}/pure-ftpd.conf_d-3" ${PN}
+
+   if use implicittls ; then
+   sed -i '/^SERVER/s@21@990@' "${ED}"/etc/conf.d/${PN} \
+   || die "Adjusting default server port for implicittls 
usage failed!"
+   fi
+
+   keepdir /var/lib/run/${PN}
+
+   if use xinetd ; then
+   insinto /etc/xinetd.d
+   newins "${FILESDIR}/pure-ftpd.xinetd" ${PN}
+   fi
+
+   if use ldap ; then
+   insinto /etc/openldap/schema
+   doins pureftpd.schema
+   insinto /etc

[gentoo-commits] repo/gentoo:master commit in: net-ftp/pure-ftpd/files/, net-ftp/pure-ftpd/

2019-02-23 Thread Thomas Deutschmann
commit: f520f42c189ee5fa4cf20f9e6eaa22eb4e77f069
Author: Thomas Deutschmann  gentoo  org>
AuthorDate: Sat Feb 23 16:21:57 2019 +
Commit: Thomas Deutschmann  gentoo  org>
CommitDate: Sat Feb 23 16:22:11 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f520f42c

net-ftp/pure-ftpd: disable TLSv1.1

Package-Manager: Portage-2.3.62, Repoman-2.3.12
Signed-off-by: Thomas Deutschmann  gentoo.org>

 .../files/pure-ftpd-1.0.47-disable-TLSv1.1.patch   | 22 ++
 net-ftp/pure-ftpd/pure-ftpd-1.0.47-r4.ebuild   |  1 +
 2 files changed, 23 insertions(+)

diff --git a/net-ftp/pure-ftpd/files/pure-ftpd-1.0.47-disable-TLSv1.1.patch 
b/net-ftp/pure-ftpd/files/pure-ftpd-1.0.47-disable-TLSv1.1.patch
new file mode 100644
index 000..cd4532bb97a
--- /dev/null
+++ b/net-ftp/pure-ftpd/files/pure-ftpd-1.0.47-disable-TLSv1.1.patch
@@ -0,0 +1,22 @@
+From aa68b2d620ef0c83c7f52213c7e6093722b0b8bd Mon Sep 17 00:00:00 2001
+From: Frank Denis 
+Date: Wed, 24 Oct 2018 19:19:26 +0200
+Subject: [PATCH] Disable TLSv1_1
+
+---
+ src/tls.c | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/src/tls.c b/src/tls.c
+index f383ed9..c4e2a1b 100644
+--- a/src/tls.c
 b/src/tls.c
+@@ -297,7 +297,7 @@ int tls_init_library(void)
+ SSL_CTX_set_options(tls_ctx, SSL_OP_NO_TLSv1);
+ # endif
+ # ifdef SSL_OP_NO_TLSv1_1
+-SSL_CTX_clear_options(tls_ctx, SSL_OP_NO_TLSv1_1);
++SSL_CTX_set_options(tls_ctx, SSL_OP_NO_TLSv1_1);
+ # endif
+ # ifdef SSL_OP_NO_TLSv1_2
+ SSL_CTX_clear_options(tls_ctx, SSL_OP_NO_TLSv1_2);

diff --git a/net-ftp/pure-ftpd/pure-ftpd-1.0.47-r4.ebuild 
b/net-ftp/pure-ftpd/pure-ftpd-1.0.47-r4.ebuild
index 48506572446..7091bdd479e 100644
--- a/net-ftp/pure-ftpd/pure-ftpd-1.0.47-r4.ebuild
+++ b/net-ftp/pure-ftpd/pure-ftpd-1.0.47-r4.ebuild
@@ -45,6 +45,7 @@ PATCHES=(
"${FILESDIR}/${PN}-1.0.47-MAX_DATA_SIZE.patch"
"${FILESDIR}/${PN}-1.0.47-TLSv1.3.patch"
"${FILESDIR}/${PN}-1.0.47-disable-TLSv1.3.patch"
+   "${FILESDIR}/${PN}-1.0.47-disable-TLSv1.1.patch"
 )
 
 src_configure() {



[gentoo-commits] repo/gentoo:master commit in: net-ftp/pure-ftpd/, net-ftp/pure-ftpd/files/

2019-02-23 Thread Thomas Deutschmann
commit: a0929ecb1f22149df7aba7e00b5ea707ba7ca665
Author: Thomas Deutschmann  gentoo  org>
AuthorDate: Sat Feb 23 16:18:59 2019 +
Commit: Thomas Deutschmann  gentoo  org>
CommitDate: Sat Feb 23 16:22:10 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a0929ecb

net-ftp/pure-ftpd: temporarily disable TLSv1.3 support

Bug: https://github.com/jedisct1/pure-ftpd/issues/102
Package-Manager: Portage-2.3.62, Repoman-2.3.12
Signed-off-by: Thomas Deutschmann  gentoo.org>

 .../files/pure-ftpd-1.0.47-disable-TLSv1.3.patch| 21 +
 ...-1.0.47-r3.ebuild => pure-ftpd-1.0.47-r4.ebuild} |  1 +
 2 files changed, 22 insertions(+)

diff --git a/net-ftp/pure-ftpd/files/pure-ftpd-1.0.47-disable-TLSv1.3.patch 
b/net-ftp/pure-ftpd/files/pure-ftpd-1.0.47-disable-TLSv1.3.patch
new file mode 100644
index 000..cbe9c8bdcb8
--- /dev/null
+++ b/net-ftp/pure-ftpd/files/pure-ftpd-1.0.47-disable-TLSv1.3.patch
@@ -0,0 +1,21 @@
+Temporarily disable TLSv1.3 support
+
+Disable TLSv1.3 until support for it is fixed in pure-ftpd. This is a
+workaround for the following issue:
+https://github.com/jedisct1/pure-ftpd/issues/102
+
+--- a/src/tls.c
 b/src/tls.c
+@@ -301,6 +301,10 @@ int tls_init_library(void)
+ # endif
+ # ifdef SSL_OP_NO_TLSv1_2
+ SSL_CTX_clear_options(tls_ctx, SSL_OP_NO_TLSv1_2);
++# endif
++/* Disable TLSv1.3 support until it works properly in pure-ftpd */
++# ifdef SSL_OP_NO_TLSv1_3
++SSL_CTX_set_options(tls_ctx, SSL_OP_NO_TLSv1_3);
+ # endif
+ if (tlsciphersuite != NULL) {
+ if (SSL_CTX_set_cipher_list(tls_ctx, tlsciphersuite) != 1) {
+-- 
+2.20.1

diff --git a/net-ftp/pure-ftpd/pure-ftpd-1.0.47-r3.ebuild 
b/net-ftp/pure-ftpd/pure-ftpd-1.0.47-r4.ebuild
similarity index 98%
rename from net-ftp/pure-ftpd/pure-ftpd-1.0.47-r3.ebuild
rename to net-ftp/pure-ftpd/pure-ftpd-1.0.47-r4.ebuild
index 58e90f89ddc..48506572446 100644
--- a/net-ftp/pure-ftpd/pure-ftpd-1.0.47-r3.ebuild
+++ b/net-ftp/pure-ftpd/pure-ftpd-1.0.47-r4.ebuild
@@ -44,6 +44,7 @@ PATCHES=(
"${FILESDIR}/${PN}-1.0.28-pam.patch"
"${FILESDIR}/${PN}-1.0.47-MAX_DATA_SIZE.patch"
"${FILESDIR}/${PN}-1.0.47-TLSv1.3.patch"
+   "${FILESDIR}/${PN}-1.0.47-disable-TLSv1.3.patch"
 )
 
 src_configure() {



[gentoo-commits] repo/gentoo:master commit in: net-ftp/pure-ftpd/, net-ftp/pure-ftpd/files/

2019-01-31 Thread Thomas Deutschmann
commit: 89b2b973f06a8be98a052a6e9ba17c5e1642874e
Author: Thomas Deutschmann  gentoo  org>
AuthorDate: Thu Jan 31 17:52:42 2019 +
Commit: Thomas Deutschmann  gentoo  org>
CommitDate: Thu Jan 31 17:52:42 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=89b2b973

net-ftp/pure-ftpd: add TLS 1.3 support

Package-Manager: Portage-2.3.58, Repoman-2.3.12
Signed-off-by: Thomas Deutschmann  gentoo.org>

 .../pure-ftpd/files/pure-ftpd-1.0.47-TLSv1.3.patch | 46 ++
 ...1.0.47-r2.ebuild => pure-ftpd-1.0.47-r3.ebuild} |  3 +-
 2 files changed, 48 insertions(+), 1 deletion(-)

diff --git a/net-ftp/pure-ftpd/files/pure-ftpd-1.0.47-TLSv1.3.patch 
b/net-ftp/pure-ftpd/files/pure-ftpd-1.0.47-TLSv1.3.patch
new file mode 100644
index 000..65f19bf49da
--- /dev/null
+++ b/net-ftp/pure-ftpd/files/pure-ftpd-1.0.47-TLSv1.3.patch
@@ -0,0 +1,46 @@
+From 4a495c61ce22c893aed5ee57f6ce0b43c3be59ad Mon Sep 17 00:00:00 2001
+From: Frank Denis 
+Date: Wed, 19 Sep 2018 23:53:45 +0200
+Subject: [PATCH] TLS1.3 compatibility
+
+Fixes #94
+---
+ src/tls.c | 17 +
+ 1 file changed, 13 insertions(+), 4 deletions(-)
+
+diff --git a/src/tls.c b/src/tls.c
+index c693d3b..f383ed9 100644
+--- a/src/tls.c
 b/src/tls.c
+@@ -228,7 +228,16 @@ static void ssl_info_cb(const SSL *cnx, int where, int 
ret)
+ if ((where & SSL_CB_HANDSHAKE_START) != 0) {
+ if ((cnx == tls_cnx && tls_cnx_handshook != 0) ||
+ (cnx == tls_data_cnx && tls_data_cnx_handshook != 0)) {
+-die(400, LOG_ERR, "TLS renegociation");
++const SSL_CIPHER *cipher;
++const char *cipher_version;
++if ((cipher = SSL_get_current_cipher(cnx)) == NULL ||
++(cipher_version = SSL_CIPHER_get_version(cipher)) == NULL) {
++die(400, LOG_ERR, "No cipher");
++}
++if (strcmp(cipher_version, "TLSv1.3") != 0) {
++die(400, LOG_ERR, "TLS renegociation");
++return;
++}
+ }
+ return;
+ }
+@@ -264,10 +273,10 @@ int tls_init_library(void)
+ OpenSSL_add_all_algorithms();
+ # else
+ OPENSSL_init_ssl(OPENSSL_INIT_LOAD_SSL_STRINGS |
+-   OPENSSL_INIT_LOAD_CRYPTO_STRINGS, NULL);
++ OPENSSL_INIT_LOAD_CRYPTO_STRINGS, NULL);
+ OPENSSL_init_crypto(OPENSSL_INIT_ADD_ALL_CIPHERS |
+-  OPENSSL_INIT_ADD_ALL_DIGESTS |
+-  OPENSSL_INIT_LOAD_CONFIG, NULL);
++OPENSSL_INIT_ADD_ALL_DIGESTS |
++OPENSSL_INIT_LOAD_CONFIG, NULL);
+ # endif
+ while (RAND_status() == 0) {
+ rnd = zrand();

diff --git a/net-ftp/pure-ftpd/pure-ftpd-1.0.47-r2.ebuild 
b/net-ftp/pure-ftpd/pure-ftpd-1.0.47-r3.ebuild
similarity index 98%
rename from net-ftp/pure-ftpd/pure-ftpd-1.0.47-r2.ebuild
rename to net-ftp/pure-ftpd/pure-ftpd-1.0.47-r3.ebuild
index 864c1ad8237..58e90f89ddc 100644
--- a/net-ftp/pure-ftpd/pure-ftpd-1.0.47-r2.ebuild
+++ b/net-ftp/pure-ftpd/pure-ftpd-1.0.47-r3.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2018 Gentoo Authors
+# Copyright 1999-2019 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
@@ -43,6 +43,7 @@ RDEPEND="${DEPEND}
 PATCHES=(
"${FILESDIR}/${PN}-1.0.28-pam.patch"
"${FILESDIR}/${PN}-1.0.47-MAX_DATA_SIZE.patch"
+   "${FILESDIR}/${PN}-1.0.47-TLSv1.3.patch"
 )
 
 src_configure() {



[gentoo-commits] repo/gentoo:master commit in: net-ftp/pure-ftpd/, net-ftp/pure-ftpd/files/

2018-12-07 Thread Lars Wendler
commit: 0893de7095967cbdac7060b17a9024c8e7366c88
Author: Lars Wendler  gentoo  org>
AuthorDate: Fri Dec  7 15:27:21 2018 +
Commit: Lars Wendler  gentoo  org>
CommitDate: Fri Dec  7 15:29:21 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0893de70

net-ftp/pure-ftpd: Removed old.

Package-Manager: Portage-2.3.52, Repoman-2.3.12
Signed-off-by: Lars Wendler  gentoo.org>

 net-ftp/pure-ftpd/Manifest |   1 -
 .../files/pure-ftpd-1.0.45-openssl-1.1.patch   |  41 --
 net-ftp/pure-ftpd/pure-ftpd-1.0.45-r3.ebuild   | 142 -
 3 files changed, 184 deletions(-)

diff --git a/net-ftp/pure-ftpd/Manifest b/net-ftp/pure-ftpd/Manifest
index 469d95112c3..7be11d70d6b 100644
--- a/net-ftp/pure-ftpd/Manifest
+++ b/net-ftp/pure-ftpd/Manifest
@@ -1,2 +1 @@
-DIST pure-ftpd-1.0.45.tar.bz2 497695 BLAKE2B 
c905675253d992757e44baf1fae42d8363789ce3eb4d71d6f0e5c994a63efd307af69fb81aadb1875f0f2da952c0b3c8fbbc79c9c5c0b22c2d2f82029b417f11
 SHA512 
bb22b6b88778e2586411318905aa165e590185f7a87ac30761d6250f4de22a1deec6be5441926eae28011d3a5a923bad2ac366e237cc96a4d7932e3dbc9a1f2a
 DIST pure-ftpd-1.0.47.tar.bz2 489177 BLAKE2B 
06e71ead47b87dedf47a84e488b2de127fcd297c2e9ca7a617c2ee2760cf55b816884763721826c512558d016cbd38a87a11ca0e8c2334d93145edc6f88d9287
 SHA512 
c1920a3f67f04635fde600fe226a7730b801e7e64658b25f1d9f9c0b35a704664be4adfb0b291594f7e0f10beade25eae9a5e6cc3b6777a3b413f3c2d9574e63

diff --git a/net-ftp/pure-ftpd/files/pure-ftpd-1.0.45-openssl-1.1.patch 
b/net-ftp/pure-ftpd/files/pure-ftpd-1.0.45-openssl-1.1.patch
deleted file mode 100644
index 714809f37af..000
--- a/net-ftp/pure-ftpd/files/pure-ftpd-1.0.45-openssl-1.1.patch
+++ /dev/null
@@ -1,41 +0,0 @@
-From 54cc692f997c72eb530f38e62de38ed444eb152e Mon Sep 17 00:00:00 2001
-From: Frank Denis 
-Date: Wed, 5 Apr 2017 12:30:32 -0700
-Subject: [PATCH] Add strict support for the OpenSSL 1.1 API
-

- src/tls.c | 10 ++
- 1 file changed, 10 insertions(+)
-
-diff --git a/src/tls.c b/src/tls.c
-index 3c87bbb..21c83b2 100644
 a/src/tls.c
-+++ b/src/tls.c
-@@ -258,9 +258,17 @@ int tls_init_library(void)
- 
- tls_cnx_handshook = 0;
- tls_data_cnx_handshook = 0;
-+# if OPENSSL_VERSION_NUMBER < 0x1010L
- SSL_library_init();
- SSL_load_error_strings();
- OpenSSL_add_all_algorithms();
-+# else
-+OPENSSL_init_ssl(OPENSSL_INIT_LOAD_SSL_STRINGS |
-+   OPENSSL_INIT_LOAD_CRYPTO_STRINGS, NULL);
-+OPENSSL_init_crypto(OPENSSL_INIT_ADD_ALL_CIPHERS |
-+  OPENSSL_INIT_ADD_ALL_DIGESTS |
-+  OPENSSL_INIT_LOAD_CONFIG, NULL);
-+# endif
- while (RAND_status() == 0) {
- rnd = zrand();
- RAND_seed(&rnd, (int) sizeof rnd);
-@@ -347,7 +355,9 @@ void tls_free_library(void)
- SSL_CTX_free(tls_ctx);
- tls_ctx = NULL;
- }
-+# if OPENSSL_API_COMPAT < 0x1010L
- EVP_cleanup();
-+# endif
- }
- 
- int tls_init_new_session(void)

diff --git a/net-ftp/pure-ftpd/pure-ftpd-1.0.45-r3.ebuild 
b/net-ftp/pure-ftpd/pure-ftpd-1.0.45-r3.ebuild
deleted file mode 100644
index 045d7c6b7ed..000
--- a/net-ftp/pure-ftpd/pure-ftpd-1.0.45-r3.ebuild
+++ /dev/null
@@ -1,142 +0,0 @@
-# Copyright 1999-2018 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-inherit flag-o-matic
-
-KEYWORDS="alpha amd64 arm ~hppa ia64 ppc ppc64 sparc x86"
-
-DESCRIPTION="Fast, production-quality, standard-conformant FTP server"
-HOMEPAGE="http://www.pureftpd.org/";
-SRC_URI="ftp://ftp.pureftpd.org/pub/${PN}/releases/${P}.tar.bz2
-   http://download.pureftpd.org/pub/${PN}/releases/${P}.tar.bz2";
-
-LICENSE="BSD"
-SLOT="0"
-
-IUSE="anondel anonperm anonren anonres caps charconv implicittls ldap libressl 
mysql noiplog pam paranoidmsg postgres resolveids selinux ssl sysquota vchroot 
xinetd"
-
-REQUIRED_USE="implicittls? ( ssl )"
-
-DEPEND="caps? ( sys-libs/libcap )
-   charconv? ( virtual/libiconv )
-   ldap? ( >=net-nds/openldap-2.0.25 )
-   mysql? ( || (
-   dev-db/mariadb-connector-c
-   dev-db/mysql-connector-c
-   ) )
-   pam? ( virtual/pam )
-   postgres? ( dev-db/postgresql:= )
-   ssl? (
-   !libressl? ( >=dev-libs/openssl-0.9.6g:0=[-bindist] )
-   libressl? ( dev-libs/libressl:= )
-   )
-   sysquota? ( sys-fs/quota[-rpc] )
-   xinetd? ( virtual/inetd )"
-
-RDEPEND="${DEPEND}
-   dev-libs/libsodium:=
-   net-ftp/ftpbase
-   selinux? ( sec-policy/selinux-ftp )"
-
-PATCHES=(
-   "${FILESDIR}/${PN}-1.0.28-pam.patch"
-   "${FILESDIR}/${P}-openssl-1.1.patch"
-   "${FILESDIR}/${PN}-1.0.47-MAX_DATA_SIZE.patch"
-)
-
-src_configure() {
-   # adjust max user length to something more appropriate
-   # for virtual hosts. See bug #62472 for details.
-   sed -e "s:# define MAX_USER_LENGTH 32U:# define MAX_USER_LENGTH 127U:" \
-   -i 

[gentoo-commits] repo/gentoo:master commit in: net-ftp/pure-ftpd/

2018-11-28 Thread Tobias Klausmann
commit: d2cf838aab29c631fc8f8cfc401e848c87e37fd6
Author: Tobias Klausmann  gentoo  org>
AuthorDate: Wed Nov 28 21:21:39 2018 +
Commit: Tobias Klausmann  gentoo  org>
CommitDate: Wed Nov 28 21:21:39 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d2cf838a

net-ftp/pure-ftpd-1.0.47-r2: alpha stable

Bug: http://bugs.gentoo.org/671282
Signed-off-by: Tobias Klausmann  gentoo.org>

 net-ftp/pure-ftpd/pure-ftpd-1.0.47-r2.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net-ftp/pure-ftpd/pure-ftpd-1.0.47-r2.ebuild 
b/net-ftp/pure-ftpd/pure-ftpd-1.0.47-r2.ebuild
index 23a57ff4560..864c1ad8237 100644
--- a/net-ftp/pure-ftpd/pure-ftpd-1.0.47-r2.ebuild
+++ b/net-ftp/pure-ftpd/pure-ftpd-1.0.47-r2.ebuild
@@ -5,7 +5,7 @@ EAPI=7
 
 inherit flag-o-matic
 
-KEYWORDS="~alpha amd64 arm ~arm64 ~hppa ia64 ppc ppc64 sparc x86"
+KEYWORDS="alpha amd64 arm ~arm64 ~hppa ia64 ppc ppc64 sparc x86"
 
 DESCRIPTION="Fast, production-quality, standard-conformant FTP server"
 HOMEPAGE="http://www.pureftpd.org/";



[gentoo-commits] repo/gentoo:master commit in: net-ftp/pure-ftpd/

2018-11-26 Thread Mikle Kolyada
commit: 476d20e124ef2d9a831df88f95bb6c29587f86e3
Author: Mikle Kolyada  gentoo  org>
AuthorDate: Mon Nov 26 18:56:29 2018 +
Commit: Mikle Kolyada  gentoo  org>
CommitDate: Mon Nov 26 18:56:29 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=476d20e1

net-ftp/pure-ftpd: arm stable wrt bug #671282

Signed-off-by: Mikle Kolyada  gentoo.org>
Package-Manager: Portage-2.3.51, Repoman-2.3.11

 net-ftp/pure-ftpd/pure-ftpd-1.0.47-r2.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net-ftp/pure-ftpd/pure-ftpd-1.0.47-r2.ebuild 
b/net-ftp/pure-ftpd/pure-ftpd-1.0.47-r2.ebuild
index 8d6ae58c20f..23a57ff4560 100644
--- a/net-ftp/pure-ftpd/pure-ftpd-1.0.47-r2.ebuild
+++ b/net-ftp/pure-ftpd/pure-ftpd-1.0.47-r2.ebuild
@@ -5,7 +5,7 @@ EAPI=7
 
 inherit flag-o-matic
 
-KEYWORDS="~alpha amd64 ~arm ~arm64 ~hppa ia64 ppc ppc64 sparc x86"
+KEYWORDS="~alpha amd64 arm ~arm64 ~hppa ia64 ppc ppc64 sparc x86"
 
 DESCRIPTION="Fast, production-quality, standard-conformant FTP server"
 HOMEPAGE="http://www.pureftpd.org/";



[gentoo-commits] repo/gentoo:master commit in: net-ftp/pure-ftpd/

2018-11-18 Thread Sergei Trofimovich
commit: be82cc7fef0e9d8efc34d8e8af36865adf671736
Author: Sergei Trofimovich  gentoo  org>
AuthorDate: Sun Nov 18 12:52:37 2018 +
Commit: Sergei Trofimovich  gentoo  org>
CommitDate: Sun Nov 18 16:01:33 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=be82cc7f

net-ftp/pure-ftpd: stable 1.0.47-r2 for ppc64, bug #671282

Package-Manager: Portage-2.3.51, Repoman-2.3.12
RepoMan-Options: --include-arches="ppc64"
Signed-off-by: Sergei Trofimovich  gentoo.org>

 net-ftp/pure-ftpd/pure-ftpd-1.0.47-r2.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net-ftp/pure-ftpd/pure-ftpd-1.0.47-r2.ebuild 
b/net-ftp/pure-ftpd/pure-ftpd-1.0.47-r2.ebuild
index efed5a355d2..8d6ae58c20f 100644
--- a/net-ftp/pure-ftpd/pure-ftpd-1.0.47-r2.ebuild
+++ b/net-ftp/pure-ftpd/pure-ftpd-1.0.47-r2.ebuild
@@ -5,7 +5,7 @@ EAPI=7
 
 inherit flag-o-matic
 
-KEYWORDS="~alpha amd64 ~arm ~arm64 ~hppa ia64 ppc ~ppc64 sparc x86"
+KEYWORDS="~alpha amd64 ~arm ~arm64 ~hppa ia64 ppc ppc64 sparc x86"
 
 DESCRIPTION="Fast, production-quality, standard-conformant FTP server"
 HOMEPAGE="http://www.pureftpd.org/";



[gentoo-commits] repo/gentoo:master commit in: net-ftp/pure-ftpd/

2018-11-18 Thread Sergei Trofimovich
commit: 4bb336caab1adb5b4402bcfeee31fa93027e78da
Author: Sergei Trofimovich  gentoo  org>
AuthorDate: Sun Nov 18 10:47:09 2018 +
Commit: Sergei Trofimovich  gentoo  org>
CommitDate: Sun Nov 18 10:47:09 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4bb336ca

net-ftp/pure-ftpd: stable 1.0.47-r2 for ppc, bug #671282

Package-Manager: Portage-2.3.51, Repoman-2.3.12
RepoMan-Options: --include-arches="ppc"
Signed-off-by: Sergei Trofimovich  gentoo.org>

 net-ftp/pure-ftpd/pure-ftpd-1.0.47-r2.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net-ftp/pure-ftpd/pure-ftpd-1.0.47-r2.ebuild 
b/net-ftp/pure-ftpd/pure-ftpd-1.0.47-r2.ebuild
index 4b1b58762e1..efed5a355d2 100644
--- a/net-ftp/pure-ftpd/pure-ftpd-1.0.47-r2.ebuild
+++ b/net-ftp/pure-ftpd/pure-ftpd-1.0.47-r2.ebuild
@@ -5,7 +5,7 @@ EAPI=7
 
 inherit flag-o-matic
 
-KEYWORDS="~alpha amd64 ~arm ~arm64 ~hppa ia64 ~ppc ~ppc64 sparc x86"
+KEYWORDS="~alpha amd64 ~arm ~arm64 ~hppa ia64 ppc ~ppc64 sparc x86"
 
 DESCRIPTION="Fast, production-quality, standard-conformant FTP server"
 HOMEPAGE="http://www.pureftpd.org/";



[gentoo-commits] repo/gentoo:master commit in: net-ftp/pure-ftpd/

2018-11-18 Thread Sergei Trofimovich
commit: 06f3ea45732f2015c9d448d8dd835a45f8aa5bac
Author: Sergei Trofimovich  gentoo  org>
AuthorDate: Sun Nov 18 10:30:35 2018 +
Commit: Sergei Trofimovich  gentoo  org>
CommitDate: Sun Nov 18 10:30:35 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=06f3ea45

net-ftp/pure-ftpd: stable 1.0.47-r2 for ia64, bug #671282

Package-Manager: Portage-2.3.51, Repoman-2.3.12
RepoMan-Options: --include-arches="ia64"
Signed-off-by: Sergei Trofimovich  gentoo.org>

 net-ftp/pure-ftpd/pure-ftpd-1.0.47-r2.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net-ftp/pure-ftpd/pure-ftpd-1.0.47-r2.ebuild 
b/net-ftp/pure-ftpd/pure-ftpd-1.0.47-r2.ebuild
index 970dd1336ea..4b1b58762e1 100644
--- a/net-ftp/pure-ftpd/pure-ftpd-1.0.47-r2.ebuild
+++ b/net-ftp/pure-ftpd/pure-ftpd-1.0.47-r2.ebuild
@@ -5,7 +5,7 @@ EAPI=7
 
 inherit flag-o-matic
 
-KEYWORDS="~alpha amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 sparc x86"
+KEYWORDS="~alpha amd64 ~arm ~arm64 ~hppa ia64 ~ppc ~ppc64 sparc x86"
 
 DESCRIPTION="Fast, production-quality, standard-conformant FTP server"
 HOMEPAGE="http://www.pureftpd.org/";



[gentoo-commits] repo/gentoo:master commit in: net-ftp/pure-ftpd/

2018-11-18 Thread Mikle Kolyada
commit: a69a97d4c4477426b22427c74627dbb89a7f829b
Author: Mikle Kolyada  gentoo  org>
AuthorDate: Sun Nov 18 08:44:47 2018 +
Commit: Mikle Kolyada  gentoo  org>
CommitDate: Sun Nov 18 08:44:47 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a69a97d4

net-ftp/pure-ftpd: amd64 stable wrt bug #671282

Signed-off-by: Mikle Kolyada  gentoo.org>
Package-Manager: Portage-2.3.51, Repoman-2.3.11

 net-ftp/pure-ftpd/pure-ftpd-1.0.47-r2.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net-ftp/pure-ftpd/pure-ftpd-1.0.47-r2.ebuild 
b/net-ftp/pure-ftpd/pure-ftpd-1.0.47-r2.ebuild
index 8a2caff2d76..970dd1336ea 100644
--- a/net-ftp/pure-ftpd/pure-ftpd-1.0.47-r2.ebuild
+++ b/net-ftp/pure-ftpd/pure-ftpd-1.0.47-r2.ebuild
@@ -5,7 +5,7 @@ EAPI=7
 
 inherit flag-o-matic
 
-KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 sparc x86"
+KEYWORDS="~alpha amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 sparc x86"
 
 DESCRIPTION="Fast, production-quality, standard-conformant FTP server"
 HOMEPAGE="http://www.pureftpd.org/";



[gentoo-commits] repo/gentoo:master commit in: net-ftp/pure-ftpd/

2018-11-17 Thread Thomas Deutschmann
commit: a9e26fe6f7b5a37e55c7cd8bf6600b89fec21995
Author: Thomas Deutschmann  gentoo  org>
AuthorDate: Sat Nov 17 21:20:35 2018 +
Commit: Thomas Deutschmann  gentoo  org>
CommitDate: Sat Nov 17 21:33:42 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a9e26fe6

net-ftp/pure-ftpd: x86 stable (bug #671282)

Package-Manager: Portage-2.3.51, Repoman-2.3.12
Signed-off-by: Thomas Deutschmann  gentoo.org>

 net-ftp/pure-ftpd/pure-ftpd-1.0.47-r2.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net-ftp/pure-ftpd/pure-ftpd-1.0.47-r2.ebuild 
b/net-ftp/pure-ftpd/pure-ftpd-1.0.47-r2.ebuild
index 13eb40e4886..8a2caff2d76 100644
--- a/net-ftp/pure-ftpd/pure-ftpd-1.0.47-r2.ebuild
+++ b/net-ftp/pure-ftpd/pure-ftpd-1.0.47-r2.ebuild
@@ -5,7 +5,7 @@ EAPI=7
 
 inherit flag-o-matic
 
-KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 sparc ~x86"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 sparc x86"
 
 DESCRIPTION="Fast, production-quality, standard-conformant FTP server"
 HOMEPAGE="http://www.pureftpd.org/";



[gentoo-commits] repo/gentoo:master commit in: net-ftp/pure-ftpd/

2018-11-17 Thread Sergei Trofimovich
commit: bb79a1392c2be16c030b4dd1c1b3343567f723fe
Author: Rolf Eike Beer  sf-mail  de>
AuthorDate: Sat Nov 17 13:06:44 2018 +
Commit: Sergei Trofimovich  gentoo  org>
CommitDate: Sat Nov 17 13:20:47 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=bb79a139

net-ftp/pure-ftpd: stable 1.0.47-r2 for sparc, bug #671282

Signed-off-by: Rolf Eike Beer  sf-mail.de>
Package-Manager: Portage-2.3.51, Repoman-2.3.11
RepoMan-Options: --include-arches="sparc"
Signed-off-by: Sergei Trofimovich  gentoo.org>

 net-ftp/pure-ftpd/pure-ftpd-1.0.47-r2.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/net-ftp/pure-ftpd/pure-ftpd-1.0.47-r2.ebuild 
b/net-ftp/pure-ftpd/pure-ftpd-1.0.47-r2.ebuild
index 15f2259bad7..13eb40e4886 100644
--- a/net-ftp/pure-ftpd/pure-ftpd-1.0.47-r2.ebuild
+++ b/net-ftp/pure-ftpd/pure-ftpd-1.0.47-r2.ebuild
@@ -1,11 +1,11 @@
-# Copyright 1999-2018 Gentoo Foundation
+# Copyright 1999-2018 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
 
 inherit flag-o-matic
 
-KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 sparc ~x86"
 
 DESCRIPTION="Fast, production-quality, standard-conformant FTP server"
 HOMEPAGE="http://www.pureftpd.org/";



[gentoo-commits] repo/gentoo:master commit in: net-ftp/pure-ftpd/

2018-09-13 Thread Lars Wendler
commit: 71e95b5c1f179f14fa85074cf593e8b610bee8fa
Author: Lars Wendler  gentoo  org>
AuthorDate: Thu Sep 13 13:37:54 2018 +
Commit: Lars Wendler  gentoo  org>
CommitDate: Thu Sep 13 13:47:36 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=71e95b5c

net-ftp/pure-ftpd: Removed old.

Package-Manager: Portage-2.3.49, Repoman-2.3.10

 net-ftp/pure-ftpd/pure-ftpd-1.0.45-r2.ebuild | 138 ---
 net-ftp/pure-ftpd/pure-ftpd-1.0.47-r1.ebuild | 137 --
 net-ftp/pure-ftpd/pure-ftpd-1.0.47.ebuild| 136 --
 3 files changed, 411 deletions(-)

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
deleted file mode 100644
index 496333d7e7e..000
--- a/net-ftp/pure-ftpd/pure-ftpd-1.0.45-r2.ebuild
+++ /dev/null
@@ -1,138 +0,0 @@
-# Copyright 1999-2018 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-inherit eutils flag-o-matic
-
-KEYWORDS="alpha amd64 arm ~hppa ia64 ppc ppc64 sparc x86"
-
-DESCRIPTION="Fast, production-quality, standard-conformant FTP server"
-HOMEPAGE="http://www.pureftpd.org/";
-SRC_URI="ftp://ftp.pureftpd.org/pub/${PN}/releases/${P}.tar.bz2
-   http://download.pureftpd.org/pub/${PN}/releases/${P}.tar.bz2";
-
-LICENSE="BSD"
-SLOT="0"
-
-IUSE="anondel anonperm anonren anonres caps charconv implicittls ldap libressl 
mysql noiplog pam paranoidmsg postgres resolveids selinux ssl sysquota vchroot 
xinetd"
-
-REQUIRED_USE="implicittls? ( ssl )"
-
-DEPEND="caps? ( sys-libs/libcap )
-   charconv? ( virtual/libiconv )
-   ldap? ( >=net-nds/openldap-2.0.25 )
-   mysql? ( virtual/mysql )
-   pam? ( virtual/pam )
-   postgres? ( dev-db/postgresql:= )
-   ssl? (
-   !libressl? ( >=dev-libs/openssl-0.9.6g:0=[-bindist] )
-   libressl? ( dev-libs/libressl:= )
-   )
-   sysquota? ( sys-fs/quota[-rpc] )
-   xinetd? ( virtual/inetd )"
-
-RDEPEND="${DEPEND}
-   dev-libs/libsodium:=
-   net-ftp/ftpbase
-   selinux? ( sec-policy/selinux-ftp )"
-
-PATCHES=(
-   "${FILESDIR}/${PN}-1.0.28-pam.patch"
-   "${FILESDIR}/${P}-openssl-1.1.patch"
-   "${FILESDIR}/${PN}-1.0.47-MAX_DATA_SIZE.patch"
-)
-
-src_configure() {
-   # adjust max user length to something more appropriate
-   # for virtual hosts. See bug #62472 for details.
-   sed -e "s:# define MAX_USER_LENGTH 32U:# define MAX_USER_LENGTH 127U:" \
-   -i "${S}/src/ftpd.h" || die "sed failed"
-
-   # 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
-   --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 charconv rfc2640)
-   $(use_with ldap)
-   $(use_with mysql)
-   $(use_with pam)
-   $(use_with paranoidmsg)
-   $(use_with postgres pgsql)
-   $(use_with ssl tls)
-   $(use_with implicittls)
-   $(use_with vchroot virtualchroot)
-   $(use_with sysquota sysquotas)
-   $(usex caps '' '--without-capabilities')
-   $(usex noiplog '--without-iplogging' '')
-   $(usex xinetd '' '--without-inetd')
-   )
-   econf "${myeconfargs[@]}"
-}
-
-src_install() {
-   local DOCS=( AUTHORS CONTACT ChangeLog FAQ HISTORY INSTALL README* NEWS 
)
-
-   default
-
-   newinitd "${FILESDIR}/pure-ftpd.rc11" ${PN}
-   newconfd "${FILESDIR}/pure-ftpd.conf_d-3" ${PN}
-
-   if use implicittls ; then
-   sed -i '/^SERVER/s@21@990@' "${ED}"/etc/conf.d/${PN} \
-   || die "Adjusting default server port for implicittls 
usage failed!"
-   fi
-
-   keepdir /var/lib/run/${PN}
-
-   if use xinetd ; then
-   insinto /etc/xinetd.d
-   newins "${FILESDIR}/pure-ftpd.xinetd" ${PN}
-   fi
-
-   if use ldap ; then
-   insinto /etc/openldap/schema
-   doins pureftpd.schema
-   insinto /

[gentoo-commits] repo/gentoo:master commit in: net-ftp/pure-ftpd/

2018-09-13 Thread Lars Wendler
commit: 020c8aaeefb975f801e92821ed30b968177acbd6
Author: Lars Wendler  gentoo  org>
AuthorDate: Thu Sep 13 13:36:55 2018 +
Commit: Lars Wendler  gentoo  org>
CommitDate: Thu Sep 13 13:47:34 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=020c8aae

net-ftp/pure-ftpd: Revbumps to replace virtual/mysql

with dev-db/{mariadb,mysql}-connector-c

Closes: https://bugs.gentoo.org/665976
Package-Manager: Portage-2.3.49, Repoman-2.3.10

 net-ftp/pure-ftpd/pure-ftpd-1.0.45-r3.ebuild | 142 +++
 net-ftp/pure-ftpd/pure-ftpd-1.0.47-r2.ebuild | 141 ++
 2 files changed, 283 insertions(+)

diff --git a/net-ftp/pure-ftpd/pure-ftpd-1.0.45-r3.ebuild 
b/net-ftp/pure-ftpd/pure-ftpd-1.0.45-r3.ebuild
new file mode 100644
index 000..045d7c6b7ed
--- /dev/null
+++ b/net-ftp/pure-ftpd/pure-ftpd-1.0.45-r3.ebuild
@@ -0,0 +1,142 @@
+# Copyright 1999-2018 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit flag-o-matic
+
+KEYWORDS="alpha amd64 arm ~hppa ia64 ppc ppc64 sparc x86"
+
+DESCRIPTION="Fast, production-quality, standard-conformant FTP server"
+HOMEPAGE="http://www.pureftpd.org/";
+SRC_URI="ftp://ftp.pureftpd.org/pub/${PN}/releases/${P}.tar.bz2
+   http://download.pureftpd.org/pub/${PN}/releases/${P}.tar.bz2";
+
+LICENSE="BSD"
+SLOT="0"
+
+IUSE="anondel anonperm anonren anonres caps charconv implicittls ldap libressl 
mysql noiplog pam paranoidmsg postgres resolveids selinux ssl sysquota vchroot 
xinetd"
+
+REQUIRED_USE="implicittls? ( ssl )"
+
+DEPEND="caps? ( sys-libs/libcap )
+   charconv? ( virtual/libiconv )
+   ldap? ( >=net-nds/openldap-2.0.25 )
+   mysql? ( || (
+   dev-db/mariadb-connector-c
+   dev-db/mysql-connector-c
+   ) )
+   pam? ( virtual/pam )
+   postgres? ( dev-db/postgresql:= )
+   ssl? (
+   !libressl? ( >=dev-libs/openssl-0.9.6g:0=[-bindist] )
+   libressl? ( dev-libs/libressl:= )
+   )
+   sysquota? ( sys-fs/quota[-rpc] )
+   xinetd? ( virtual/inetd )"
+
+RDEPEND="${DEPEND}
+   dev-libs/libsodium:=
+   net-ftp/ftpbase
+   selinux? ( sec-policy/selinux-ftp )"
+
+PATCHES=(
+   "${FILESDIR}/${PN}-1.0.28-pam.patch"
+   "${FILESDIR}/${P}-openssl-1.1.patch"
+   "${FILESDIR}/${PN}-1.0.47-MAX_DATA_SIZE.patch"
+)
+
+src_configure() {
+   # adjust max user length to something more appropriate
+   # for virtual hosts. See bug #62472 for details.
+   sed -e "s:# define MAX_USER_LENGTH 32U:# define MAX_USER_LENGTH 127U:" \
+   -i "${S}/src/ftpd.h" || die "sed failed"
+
+   # 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
+   --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 charconv rfc2640)
+   $(use_with ldap)
+   $(use_with mysql)
+   $(use_with pam)
+   $(use_with paranoidmsg)
+   $(use_with postgres pgsql)
+   $(use_with ssl tls)
+   $(use_with implicittls)
+   $(use_with vchroot virtualchroot)
+   $(use_with sysquota sysquotas)
+   $(usex caps '' '--without-capabilities')
+   $(usex noiplog '--without-iplogging' '')
+   $(usex xinetd '' '--without-inetd')
+   )
+   econf "${myeconfargs[@]}"
+}
+
+src_install() {
+   local DOCS=( AUTHORS CONTACT ChangeLog FAQ HISTORY INSTALL README* NEWS 
)
+
+   default
+
+   newinitd "${FILESDIR}/pure-ftpd.rc11" ${PN}
+   newconfd "${FILESDIR}/pure-ftpd.conf_d-3" ${PN}
+
+   if use implicittls ; then
+   sed -i '/^SERVER/s@21@990@' "${ED}"/etc/conf.d/${PN} \
+   || die "Adjusting default server port for implicittls 
usage failed!"
+   fi
+
+   keepdir /var/lib/run/${PN}
+
+   if use xinetd ; then
+   insinto /etc/xinetd.d
+   newins "${FILESDIR}/pure-ftpd.xinetd" ${PN}
+   fi
+
+   if use ldap ; then
+

[gentoo-commits] repo/gentoo:master commit in: net-ftp/pure-ftpd/

2018-05-20 Thread Mikle Kolyada
commit: 7b29472c3c0896ffc77215cc2ae7fd62e1e9cb95
Author: Mikle Kolyada  gentoo  org>
AuthorDate: Sun May 20 11:24:09 2018 +
Commit: Mikle Kolyada  gentoo  org>
CommitDate: Sun May 20 11:26:10 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7b29472c

net-ftp/pure-ftpd: unstable hppa

Package-Manager: Portage-2.3.24, Repoman-2.3.6

 net-ftp/pure-ftpd/pure-ftpd-1.0.45-r2.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

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
index d448d8f15cd..496333d7e7e 100644
--- a/net-ftp/pure-ftpd/pure-ftpd-1.0.45-r2.ebuild
+++ b/net-ftp/pure-ftpd/pure-ftpd-1.0.45-r2.ebuild
@@ -4,7 +4,7 @@
 EAPI=6
 inherit eutils flag-o-matic
 
-KEYWORDS="alpha amd64 arm hppa ia64 ppc ppc64 sparc x86"
+KEYWORDS="alpha amd64 arm ~hppa ia64 ppc ppc64 sparc x86"
 
 DESCRIPTION="Fast, production-quality, standard-conformant FTP server"
 HOMEPAGE="http://www.pureftpd.org/";



[gentoo-commits] repo/gentoo:master commit in: net-ftp/pure-ftpd/files/, net-ftp/pure-ftpd/

2018-01-11 Thread Lars Wendler
commit: 6f9a62579c7893a902c0cf39c245e464d311befa
Author: Lars Wendler  gentoo  org>
AuthorDate: Thu Jan 11 12:37:33 2018 +
Commit: Lars Wendler  gentoo  org>
CommitDate: Thu Jan 11 12:38:38 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6f9a6257

net-ftp/pure-ftpd: Fixed segfault on login with newer glibc.

Closes: https://bugs.gentoo.org/642034
Package-Manager: Portage-2.3.19, Repoman-2.3.6

 .../files/pure-ftpd-1.0.47-MAX_DATA_SIZE.patch | 22 ++
 ...1.0.45-r1.ebuild => pure-ftpd-1.0.45-r2.ebuild} |  7 ---
 ...1.0.45-r1.ebuild => pure-ftpd-1.0.47-r1.ebuild} | 10 +-
 3 files changed, 31 insertions(+), 8 deletions(-)

diff --git a/net-ftp/pure-ftpd/files/pure-ftpd-1.0.47-MAX_DATA_SIZE.patch 
b/net-ftp/pure-ftpd/files/pure-ftpd-1.0.47-MAX_DATA_SIZE.patch
new file mode 100644
index 000..a9ad0a30b9b
--- /dev/null
+++ b/net-ftp/pure-ftpd/files/pure-ftpd-1.0.47-MAX_DATA_SIZE.patch
@@ -0,0 +1,22 @@
+From 27a5c200f9643ce907118aad169279b3a66a9e8a Mon Sep 17 00:00:00 2001
+From: Frank Denis 
+Date: Sat, 4 Nov 2017 20:46:16 +0100
+Subject: [PATCH] Increase MAX_DATA_SIZE due to Argon2id requirements
+
+---
+ src/ftpd.h | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/src/ftpd.h b/src/ftpd.h
+index 1beeab8..5bb1f6b 100644
+--- a/src/ftpd.h
 b/src/ftpd.h
+@@ -557,7 +557,7 @@ Your platform has a very large PATH_MAX, we should not 
trust it.
+ 
+ #ifndef MAX_DATA_SIZE
+ # ifdef HAVE_LIBSODIUM
+-#  define MAX_DATA_SIZE (40 * 1024 * 1024)
++#  define MAX_DATA_SIZE (70 * 1024 * 1024)
+ # elif defined(WITH_LDAP) || defined(WITH_MYSQL) || defined(WITH_PGSQL)
+ #  define MAX_DATA_SIZE (16 * 1024 * 1024)   /* Max memory usage - 
SQL/LDAP need more */
+ # else

diff --git a/net-ftp/pure-ftpd/pure-ftpd-1.0.45-r1.ebuild 
b/net-ftp/pure-ftpd/pure-ftpd-1.0.45-r2.ebuild
similarity index 95%
copy from net-ftp/pure-ftpd/pure-ftpd-1.0.45-r1.ebuild
copy to net-ftp/pure-ftpd/pure-ftpd-1.0.45-r2.ebuild
index 7dcc0d9aee3..d448d8f15cd 100644
--- a/net-ftp/pure-ftpd/pure-ftpd-1.0.45-r1.ebuild
+++ b/net-ftp/pure-ftpd/pure-ftpd-1.0.45-r2.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2017 Gentoo Foundation
+# Copyright 1999-2018 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=6
@@ -37,8 +37,9 @@ RDEPEND="${DEPEND}
selinux? ( sec-policy/selinux-ftp )"
 
 PATCHES=(
-   "${FILESDIR}"/${PN}-1.0.28-pam.patch
-   "${FILESDIR}"/${P}-openssl-1.1.patch
+   "${FILESDIR}/${PN}-1.0.28-pam.patch"
+   "${FILESDIR}/${P}-openssl-1.1.patch"
+   "${FILESDIR}/${PN}-1.0.47-MAX_DATA_SIZE.patch"
 )
 
 src_configure() {

diff --git a/net-ftp/pure-ftpd/pure-ftpd-1.0.45-r1.ebuild 
b/net-ftp/pure-ftpd/pure-ftpd-1.0.47-r1.ebuild
similarity index 94%
rename from net-ftp/pure-ftpd/pure-ftpd-1.0.45-r1.ebuild
rename to net-ftp/pure-ftpd/pure-ftpd-1.0.47-r1.ebuild
index 7dcc0d9aee3..412951b81a3 100644
--- a/net-ftp/pure-ftpd/pure-ftpd-1.0.45-r1.ebuild
+++ b/net-ftp/pure-ftpd/pure-ftpd-1.0.47-r1.ebuild
@@ -1,10 +1,10 @@
-# Copyright 1999-2017 Gentoo Foundation
+# Copyright 1999-2018 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=6
-inherit eutils flag-o-matic
+inherit flag-o-matic
 
-KEYWORDS="alpha amd64 arm hppa ia64 ppc ppc64 sparc x86"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86"
 
 DESCRIPTION="Fast, production-quality, standard-conformant FTP server"
 HOMEPAGE="http://www.pureftpd.org/";
@@ -37,8 +37,8 @@ RDEPEND="${DEPEND}
selinux? ( sec-policy/selinux-ftp )"
 
 PATCHES=(
-   "${FILESDIR}"/${PN}-1.0.28-pam.patch
-   "${FILESDIR}"/${P}-openssl-1.1.patch
+   "${FILESDIR}/${PN}-1.0.28-pam.patch"
+   "${FILESDIR}/${PN}-1.0.47-MAX_DATA_SIZE.patch"
 )
 
 src_configure() {



[gentoo-commits] repo/gentoo:master commit in: net-ftp/pure-ftpd/

2018-01-11 Thread Lars Wendler
commit: b1a2de0657453482c3965e157e29bffdada55dda
Author: Lars Wendler  gentoo  org>
AuthorDate: Thu Jan 11 12:38:07 2018 +
Commit: Lars Wendler  gentoo  org>
CommitDate: Thu Jan 11 12:38:40 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b1a2de06

net-ftp/pure-ftpd: Removed old.

Package-Manager: Portage-2.3.19, Repoman-2.3.6

 net-ftp/pure-ftpd/Manifest|   1 -
 net-ftp/pure-ftpd/pure-ftpd-1.0.46.ebuild | 136 --
 2 files changed, 137 deletions(-)

diff --git a/net-ftp/pure-ftpd/Manifest b/net-ftp/pure-ftpd/Manifest
index d75bb5a74c6..469d95112c3 100644
--- a/net-ftp/pure-ftpd/Manifest
+++ b/net-ftp/pure-ftpd/Manifest
@@ -1,3 +1,2 @@
 DIST pure-ftpd-1.0.45.tar.bz2 497695 BLAKE2B 
c905675253d992757e44baf1fae42d8363789ce3eb4d71d6f0e5c994a63efd307af69fb81aadb1875f0f2da952c0b3c8fbbc79c9c5c0b22c2d2f82029b417f11
 SHA512 
bb22b6b88778e2586411318905aa165e590185f7a87ac30761d6250f4de22a1deec6be5441926eae28011d3a5a923bad2ac366e237cc96a4d7932e3dbc9a1f2a
-DIST pure-ftpd-1.0.46.tar.bz2 490337 BLAKE2B 
c0b1fcbf46343dd49fcc9ecec44807c9474ecaf29869f67bfebfd722e0fd9947e8c2e84d5123afcdf6d219d527700f317affd44f3610a6dec46a1cea7ab0a433
 SHA512 
e44c1842e6f101f4d7dd42617392f3d54ff58d68608f6a3bc5e612fc89bfd1da6935215a7e87c0d2bbd9fc9f0fa31a40ceb764fd67428dfdd8c5454e0d64e0ab
 DIST pure-ftpd-1.0.47.tar.bz2 489177 BLAKE2B 
06e71ead47b87dedf47a84e488b2de127fcd297c2e9ca7a617c2ee2760cf55b816884763721826c512558d016cbd38a87a11ca0e8c2334d93145edc6f88d9287
 SHA512 
c1920a3f67f04635fde600fe226a7730b801e7e64658b25f1d9f9c0b35a704664be4adfb0b291594f7e0f10beade25eae9a5e6cc3b6777a3b413f3c2d9574e63

diff --git a/net-ftp/pure-ftpd/pure-ftpd-1.0.46.ebuild 
b/net-ftp/pure-ftpd/pure-ftpd-1.0.46.ebuild
deleted file mode 100644
index 0666f54ec76..000
--- a/net-ftp/pure-ftpd/pure-ftpd-1.0.46.ebuild
+++ /dev/null
@@ -1,136 +0,0 @@
-# Copyright 1999-2017 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-inherit eutils flag-o-matic
-
-KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86"
-
-DESCRIPTION="Fast, production-quality, standard-conformant FTP server"
-HOMEPAGE="http://www.pureftpd.org/";
-SRC_URI="ftp://ftp.pureftpd.org/pub/${PN}/releases/${P}.tar.bz2
-   http://download.pureftpd.org/pub/${PN}/releases/${P}.tar.bz2";
-
-LICENSE="BSD"
-SLOT="0"
-
-IUSE="anondel anonperm anonren anonres caps charconv implicittls ldap libressl 
mysql noiplog pam paranoidmsg postgres resolveids selinux ssl sysquota vchroot 
xinetd"
-
-REQUIRED_USE="implicittls? ( ssl )"
-
-DEPEND="caps? ( sys-libs/libcap )
-   charconv? ( virtual/libiconv )
-   ldap? ( >=net-nds/openldap-2.0.25 )
-   mysql? ( virtual/mysql )
-   pam? ( virtual/pam )
-   postgres? ( dev-db/postgresql:= )
-   ssl? (
-   !libressl? ( >=dev-libs/openssl-0.9.6g:0=[-bindist] )
-   libressl? ( dev-libs/libressl:= )
-   )
-   sysquota? ( sys-fs/quota[-rpc] )
-   xinetd? ( virtual/inetd )"
-
-RDEPEND="${DEPEND}
-   dev-libs/libsodium:=
-   net-ftp/ftpbase
-   selinux? ( sec-policy/selinux-ftp )"
-
-PATCHES=(
-   "${FILESDIR}"/${PN}-1.0.28-pam.patch
-)
-
-src_configure() {
-   # adjust max user length to something more appropriate
-   # for virtual hosts. See bug #62472 for details.
-   sed -e "s:# define MAX_USER_LENGTH 32U:# define MAX_USER_LENGTH 127U:" \
-   -i "${S}/src/ftpd.h" || die "sed failed"
-
-   # 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
-   --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 charconv rfc2640)
-   $(use_with ldap)
-   $(use_with mysql)
-   $(use_with pam)
-   $(use_with paranoidmsg)
-   $(use_with postgres pgsql)
-   $(use_with ssl tls)
-   $(use_with implicittls)
-   $(use_with vchroot virtualchroot)
-   $(use_with sysquota sysquotas)
-   $(usex caps '' '--without-capa

[gentoo-commits] repo/gentoo:master commit in: net-ftp/pure-ftpd/

2018-01-04 Thread Mart Raudsepp
commit: b21dfc9a72ac2ecf4d50fe3e14d4b5b985fb89c3
Author: Mart Raudsepp  gentoo  org>
AuthorDate: Fri Jan  5 00:57:37 2018 +
Commit: Mart Raudsepp  gentoo  org>
CommitDate: Fri Jan  5 01:07:17 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b21dfc9a

net-ftp/pure-ftpd-1.0.47: add ~arm64 keyword

Closes: https://bugs.gentoo.org/642652
Package-Manager: Portage-2.3.19, Repoman-2.3.6

 net-ftp/pure-ftpd/pure-ftpd-1.0.47.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/net-ftp/pure-ftpd/pure-ftpd-1.0.47.ebuild 
b/net-ftp/pure-ftpd/pure-ftpd-1.0.47.ebuild
index 6e61fbe0d05..230c6974a75 100644
--- a/net-ftp/pure-ftpd/pure-ftpd-1.0.47.ebuild
+++ b/net-ftp/pure-ftpd/pure-ftpd-1.0.47.ebuild
@@ -1,10 +1,10 @@
-# Copyright 1999-2017 Gentoo Foundation
+# Copyright 1999-2018 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=6
 inherit flag-o-matic
 
-KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86"
 
 DESCRIPTION="Fast, production-quality, standard-conformant FTP server"
 HOMEPAGE="http://www.pureftpd.org/";



[gentoo-commits] repo/gentoo:master commit in: net-ftp/pure-ftpd/

2017-11-06 Thread Lars Wendler
commit: 7a2c75dde2ee8d1e5a5a381bcdb9e9e828c961b7
Author: Lars Wendler  gentoo  org>
AuthorDate: Mon Nov  6 08:54:12 2017 +
Commit: Lars Wendler  gentoo  org>
CommitDate: Mon Nov  6 09:39:49 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7a2c75dd

net-ftp/pure-ftpd: Bump to version 1.0.47

Package-Manager: Portage-2.3.13, Repoman-2.3.4

 net-ftp/pure-ftpd/Manifest|   1 +
 net-ftp/pure-ftpd/pure-ftpd-1.0.47.ebuild | 136 ++
 2 files changed, 137 insertions(+)

diff --git a/net-ftp/pure-ftpd/Manifest b/net-ftp/pure-ftpd/Manifest
index 02bce4498ea..0ec544a1c7f 100644
--- a/net-ftp/pure-ftpd/Manifest
+++ b/net-ftp/pure-ftpd/Manifest
@@ -1,2 +1,3 @@
 DIST pure-ftpd-1.0.45.tar.bz2 497695 SHA256 
9256db7e59abdba712f84581a3ec47cd5b039034c78825d9dc24ea4eecda7d20 SHA512 
bb22b6b88778e2586411318905aa165e590185f7a87ac30761d6250f4de22a1deec6be5441926eae28011d3a5a923bad2ac366e237cc96a4d7932e3dbc9a1f2a
 WHIRLPOOL 
4eebb19342d2580658cac7bb13cf6ecebf70ec5000336565aea6609204befe85a5a96aed1ad24ada6a3b187a4750194d7d4676ea4942f0aff3137b45c9cde139
 DIST pure-ftpd-1.0.46.tar.bz2 490337 SHA256 
9e733f366d8d64bb171cf2ec75dad0da4b922b7102ee4b3e18824966192d SHA512 
e44c1842e6f101f4d7dd42617392f3d54ff58d68608f6a3bc5e612fc89bfd1da6935215a7e87c0d2bbd9fc9f0fa31a40ceb764fd67428dfdd8c5454e0d64e0ab
 WHIRLPOOL 
b8b9ab6cab507dab9c529be651ef37126134932fb4d853e9ddbe012434e06dade27301523098db72ce8ed8287ef0ed4750284827266a8cdf9359313046780a40
+DIST pure-ftpd-1.0.47.tar.bz2 489177 SHA256 
cb1b695e779a06e42d62d7a1a428d2f605d621dfd5afe4e192b5f9fc4e343692 SHA512 
c1920a3f67f04635fde600fe226a7730b801e7e64658b25f1d9f9c0b35a704664be4adfb0b291594f7e0f10beade25eae9a5e6cc3b6777a3b413f3c2d9574e63
 WHIRLPOOL 
10c2e1e0aef0c0462dd4a7a1af06886440207376d3e7c61ba6a9a1b9ba1aeee7596d5f6ac2e9bcf7ed45276d6025b6e8d0239d31a3f90f957c5d7db020b9db14

diff --git a/net-ftp/pure-ftpd/pure-ftpd-1.0.47.ebuild 
b/net-ftp/pure-ftpd/pure-ftpd-1.0.47.ebuild
new file mode 100644
index 000..6e61fbe0d05
--- /dev/null
+++ b/net-ftp/pure-ftpd/pure-ftpd-1.0.47.ebuild
@@ -0,0 +1,136 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+inherit flag-o-matic
+
+KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86"
+
+DESCRIPTION="Fast, production-quality, standard-conformant FTP server"
+HOMEPAGE="http://www.pureftpd.org/";
+SRC_URI="ftp://ftp.pureftpd.org/pub/${PN}/releases/${P}.tar.bz2
+   http://download.pureftpd.org/pub/${PN}/releases/${P}.tar.bz2";
+
+LICENSE="BSD"
+SLOT="0"
+
+IUSE="anondel anonperm anonren anonres caps charconv implicittls ldap libressl 
mysql noiplog pam paranoidmsg postgres resolveids selinux ssl sysquota vchroot 
xinetd"
+
+REQUIRED_USE="implicittls? ( ssl )"
+
+DEPEND="caps? ( sys-libs/libcap )
+   charconv? ( virtual/libiconv )
+   ldap? ( >=net-nds/openldap-2.0.25 )
+   mysql? ( virtual/mysql )
+   pam? ( virtual/pam )
+   postgres? ( dev-db/postgresql:= )
+   ssl? (
+   !libressl? ( >=dev-libs/openssl-0.9.6g:0=[-bindist] )
+   libressl? ( dev-libs/libressl:= )
+   )
+   sysquota? ( sys-fs/quota[-rpc] )
+   xinetd? ( virtual/inetd )"
+
+RDEPEND="${DEPEND}
+   dev-libs/libsodium:=
+   net-ftp/ftpbase
+   selinux? ( sec-policy/selinux-ftp )"
+
+PATCHES=(
+   "${FILESDIR}"/${PN}-1.0.28-pam.patch
+)
+
+src_configure() {
+   # adjust max user length to something more appropriate
+   # for virtual hosts. See bug #62472 for details.
+   sed -e "s:# define MAX_USER_LENGTH 32U:# define MAX_USER_LENGTH 127U:" \
+   -i "${S}/src/ftpd.h" || die "sed failed"
+
+   # 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
+   --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 charconv rfc2640)
+   $(use_with ldap)
+   $(use_with mysql)
+   $(use_with pam)
+   $(use_with paranoidmsg)
+   $(use_with postgres p

[gentoo-commits] repo/gentoo:master commit in: net-ftp/pure-ftpd/

2017-04-24 Thread Lars Wendler
commit: f0a75dd9a52b434176fbdeb934cd9158ab11d558
Author: Lars Wendler  gentoo  org>
AuthorDate: Tue Apr 25 01:00:17 2017 +
Commit: Lars Wendler  gentoo  org>
CommitDate: Tue Apr 25 01:00:17 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f0a75dd9

net-ftp/pure-ftpd: Bump to version 1.0.46

Package-Manager: Portage-2.3.5, Repoman-2.3.2

 net-ftp/pure-ftpd/Manifest|   1 +
 net-ftp/pure-ftpd/pure-ftpd-1.0.46.ebuild | 136 ++
 2 files changed, 137 insertions(+)

diff --git a/net-ftp/pure-ftpd/Manifest b/net-ftp/pure-ftpd/Manifest
index 7404fadde7d..02bce4498ea 100644
--- a/net-ftp/pure-ftpd/Manifest
+++ b/net-ftp/pure-ftpd/Manifest
@@ -1 +1,2 @@
 DIST pure-ftpd-1.0.45.tar.bz2 497695 SHA256 
9256db7e59abdba712f84581a3ec47cd5b039034c78825d9dc24ea4eecda7d20 SHA512 
bb22b6b88778e2586411318905aa165e590185f7a87ac30761d6250f4de22a1deec6be5441926eae28011d3a5a923bad2ac366e237cc96a4d7932e3dbc9a1f2a
 WHIRLPOOL 
4eebb19342d2580658cac7bb13cf6ecebf70ec5000336565aea6609204befe85a5a96aed1ad24ada6a3b187a4750194d7d4676ea4942f0aff3137b45c9cde139
+DIST pure-ftpd-1.0.46.tar.bz2 490337 SHA256 
9e733f366d8d64bb171cf2ec75dad0da4b922b7102ee4b3e18824966192d SHA512 
e44c1842e6f101f4d7dd42617392f3d54ff58d68608f6a3bc5e612fc89bfd1da6935215a7e87c0d2bbd9fc9f0fa31a40ceb764fd67428dfdd8c5454e0d64e0ab
 WHIRLPOOL 
b8b9ab6cab507dab9c529be651ef37126134932fb4d853e9ddbe012434e06dade27301523098db72ce8ed8287ef0ed4750284827266a8cdf9359313046780a40

diff --git a/net-ftp/pure-ftpd/pure-ftpd-1.0.46.ebuild 
b/net-ftp/pure-ftpd/pure-ftpd-1.0.46.ebuild
new file mode 100644
index 000..0666f54ec76
--- /dev/null
+++ b/net-ftp/pure-ftpd/pure-ftpd-1.0.46.ebuild
@@ -0,0 +1,136 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+inherit eutils flag-o-matic
+
+KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86"
+
+DESCRIPTION="Fast, production-quality, standard-conformant FTP server"
+HOMEPAGE="http://www.pureftpd.org/";
+SRC_URI="ftp://ftp.pureftpd.org/pub/${PN}/releases/${P}.tar.bz2
+   http://download.pureftpd.org/pub/${PN}/releases/${P}.tar.bz2";
+
+LICENSE="BSD"
+SLOT="0"
+
+IUSE="anondel anonperm anonren anonres caps charconv implicittls ldap libressl 
mysql noiplog pam paranoidmsg postgres resolveids selinux ssl sysquota vchroot 
xinetd"
+
+REQUIRED_USE="implicittls? ( ssl )"
+
+DEPEND="caps? ( sys-libs/libcap )
+   charconv? ( virtual/libiconv )
+   ldap? ( >=net-nds/openldap-2.0.25 )
+   mysql? ( virtual/mysql )
+   pam? ( virtual/pam )
+   postgres? ( dev-db/postgresql:= )
+   ssl? (
+   !libressl? ( >=dev-libs/openssl-0.9.6g:0=[-bindist] )
+   libressl? ( dev-libs/libressl:= )
+   )
+   sysquota? ( sys-fs/quota[-rpc] )
+   xinetd? ( virtual/inetd )"
+
+RDEPEND="${DEPEND}
+   dev-libs/libsodium:=
+   net-ftp/ftpbase
+   selinux? ( sec-policy/selinux-ftp )"
+
+PATCHES=(
+   "${FILESDIR}"/${PN}-1.0.28-pam.patch
+)
+
+src_configure() {
+   # adjust max user length to something more appropriate
+   # for virtual hosts. See bug #62472 for details.
+   sed -e "s:# define MAX_USER_LENGTH 32U:# define MAX_USER_LENGTH 127U:" \
+   -i "${S}/src/ftpd.h" || die "sed failed"
+
+   # 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
+   --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 charconv rfc2640)
+   $(use_with ldap)
+   $(use_with mysql)
+   $(use_with pam)
+   $(use_with paranoidmsg)
+   $(use_with postgres pgsql)
+   $(use_with ssl tls)
+   $(use_with implicittls)
+   $(use_with vchroot virtualchroot)
+   $(use_with sysquota sysquotas)
+   $(usex caps '' '--without-capabilities')
+   $(usex noiplog '--without-iplogging' '')
+   $(usex xinetd '' '--without-inetd')
+   )
+   econf "${myeconfargs[@

[gentoo-commits] repo/gentoo:master commit in: net-ftp/pure-ftpd/, net-ftp/pure-ftpd/files/

2017-04-05 Thread Lars Wendler
commit: 23fb07df54a4817b6f9ead5676754576b07ceff3
Author: Lars Wendler  gentoo  org>
AuthorDate: Wed Apr  5 20:25:43 2017 +
Commit: Lars Wendler  gentoo  org>
CommitDate: Wed Apr  5 20:26:33 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=23fb07df

net-ftp/pure-ftpd: Added openssl-1.1 patch (bug #592500).

Package-Manager: Portage-2.3.5, Repoman-2.3.2

 .../files/pure-ftpd-1.0.45-openssl-1.1.patch   | 41 ++
 net-ftp/pure-ftpd/pure-ftpd-1.0.45-r1.ebuild   |  1 +
 2 files changed, 42 insertions(+)

diff --git a/net-ftp/pure-ftpd/files/pure-ftpd-1.0.45-openssl-1.1.patch 
b/net-ftp/pure-ftpd/files/pure-ftpd-1.0.45-openssl-1.1.patch
new file mode 100644
index 000..714809f37af
--- /dev/null
+++ b/net-ftp/pure-ftpd/files/pure-ftpd-1.0.45-openssl-1.1.patch
@@ -0,0 +1,41 @@
+From 54cc692f997c72eb530f38e62de38ed444eb152e Mon Sep 17 00:00:00 2001
+From: Frank Denis 
+Date: Wed, 5 Apr 2017 12:30:32 -0700
+Subject: [PATCH] Add strict support for the OpenSSL 1.1 API
+
+---
+ src/tls.c | 10 ++
+ 1 file changed, 10 insertions(+)
+
+diff --git a/src/tls.c b/src/tls.c
+index 3c87bbb..21c83b2 100644
+--- a/src/tls.c
 b/src/tls.c
+@@ -258,9 +258,17 @@ int tls_init_library(void)
+ 
+ tls_cnx_handshook = 0;
+ tls_data_cnx_handshook = 0;
++# if OPENSSL_VERSION_NUMBER < 0x1010L
+ SSL_library_init();
+ SSL_load_error_strings();
+ OpenSSL_add_all_algorithms();
++# else
++OPENSSL_init_ssl(OPENSSL_INIT_LOAD_SSL_STRINGS |
++   OPENSSL_INIT_LOAD_CRYPTO_STRINGS, NULL);
++OPENSSL_init_crypto(OPENSSL_INIT_ADD_ALL_CIPHERS |
++  OPENSSL_INIT_ADD_ALL_DIGESTS |
++  OPENSSL_INIT_LOAD_CONFIG, NULL);
++# endif
+ while (RAND_status() == 0) {
+ rnd = zrand();
+ RAND_seed(&rnd, (int) sizeof rnd);
+@@ -347,7 +355,9 @@ void tls_free_library(void)
+ SSL_CTX_free(tls_ctx);
+ tls_ctx = NULL;
+ }
++# if OPENSSL_API_COMPAT < 0x1010L
+ EVP_cleanup();
++# endif
+ }
+ 
+ int tls_init_new_session(void)

diff --git a/net-ftp/pure-ftpd/pure-ftpd-1.0.45-r1.ebuild 
b/net-ftp/pure-ftpd/pure-ftpd-1.0.45-r1.ebuild
index 2cd88cdca1b..7dcc0d9aee3 100644
--- a/net-ftp/pure-ftpd/pure-ftpd-1.0.45-r1.ebuild
+++ b/net-ftp/pure-ftpd/pure-ftpd-1.0.45-r1.ebuild
@@ -38,6 +38,7 @@ RDEPEND="${DEPEND}
 
 PATCHES=(
"${FILESDIR}"/${PN}-1.0.28-pam.patch
+   "${FILESDIR}"/${P}-openssl-1.1.patch
 )
 
 src_configure() {



[gentoo-commits] repo/gentoo:master commit in: net-ftp/pure-ftpd/

2017-04-05 Thread Lars Wendler
commit: 9e9c322e7addf8383874fa222a022a7eb53ba29e
Author: Lars Wendler  gentoo  org>
AuthorDate: Wed Apr  5 20:26:19 2017 +
Commit: Lars Wendler  gentoo  org>
CommitDate: Wed Apr  5 20:26:36 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9e9c322e

net-ftp/pure-ftpd: Removed old.

Package-Manager: Portage-2.3.5, Repoman-2.3.2

 net-ftp/pure-ftpd/Manifest   |   1 -
 net-ftp/pure-ftpd/pure-ftpd-1.0.42-r1.ebuild | 143 ---
 2 files changed, 144 deletions(-)

diff --git a/net-ftp/pure-ftpd/Manifest b/net-ftp/pure-ftpd/Manifest
index 2628d0d126b..7404fadde7d 100644
--- a/net-ftp/pure-ftpd/Manifest
+++ b/net-ftp/pure-ftpd/Manifest
@@ -1,2 +1 @@
-DIST pure-ftpd-1.0.42.tar.bz2 496652 SHA256 
efd11295998453e31dbeef9159624beabbac2643a338134ae8c2ef529aa2ec10 SHA512 
730ece22ce9a8562c5da6063de2b99404fbc0d0fa0b591383c319a762ea33cec74239474bcb56606b7af254dd76e31154f27a745df0c619932c9b8b4f150bc9c
 WHIRLPOOL 
bcbcd32fcfe10741f214559f7051bca302addc9bdc0a90a24e33a53c8103199a2eb40ea65e314fc66c59a47a479bd6774e332f4898d750c90b6dbf1bee01bcec
 DIST pure-ftpd-1.0.45.tar.bz2 497695 SHA256 
9256db7e59abdba712f84581a3ec47cd5b039034c78825d9dc24ea4eecda7d20 SHA512 
bb22b6b88778e2586411318905aa165e590185f7a87ac30761d6250f4de22a1deec6be5441926eae28011d3a5a923bad2ac366e237cc96a4d7932e3dbc9a1f2a
 WHIRLPOOL 
4eebb19342d2580658cac7bb13cf6ecebf70ec5000336565aea6609204befe85a5a96aed1ad24ada6a3b187a4750194d7d4676ea4942f0aff3137b45c9cde139

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
deleted file mode 100644
index 3bf8c7ab2ab..000
--- a/net-ftp/pure-ftpd/pure-ftpd-1.0.42-r1.ebuild
+++ /dev/null
@@ -1,143 +0,0 @@
-# Copyright 1999-2017 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=5
-inherit eutils confutils flag-o-matic
-
-KEYWORDS="alpha amd64 arm hppa ia64 ppc ppc64 sparc x86"
-
-DESCRIPTION="Fast, production-quality, standard-conformant FTP server"
-HOMEPAGE="http://www.pureftpd.org/";
-SRC_URI="ftp://ftp.pureftpd.org/pub/${PN}/releases/${P}.tar.bz2
-   http://download.pureftpd.org/pub/${PN}/releases/${P}.tar.bz2";
-
-LICENSE="BSD"
-SLOT="0"
-
-IUSE="anondel anonperm anonren anonres caps charconv implicittls ldap libressl 
mysql noiplog pam paranoidmsg postgres resolveids selinux ssl sysquota vchroot 
xinetd"
-
-REQUIRED_USE="implicittls? ( ssl )"
-
-DEPEND="caps? ( sys-libs/libcap )
-   charconv? ( virtual/libiconv )
-   ldap? ( >=net-nds/openldap-2.0.25 )
-   mysql? ( virtual/mysql )
-   pam? ( virtual/pam )
-   postgres? ( dev-db/postgresql:= )
-   ssl? (
-   !libressl? ( >=dev-libs/openssl-0.9.6g:0=[-bindist] )
-   libressl? ( dev-libs/libressl:= )
-   )
-   sysquota? ( sys-fs/quota[-rpc] )
-   xinetd? ( virtual/inetd )"
-
-RDEPEND="${DEPEND}
-   dev-libs/libsodium:=
-   net-ftp/ftpbase
-   selinux? ( sec-policy/selinux-ftp )"
-
-src_prepare() {
-   epatch "${FILESDIR}"/${PN}-1.0.28-pam.patch
-}
-
-src_configure() {
-   # adjust max user length to something more appropriate
-   # for virtual hosts. See bug #62472 for details.
-   sed -e "s:# define MAX_USER_LENGTH 32U:# define MAX_USER_LENGTH 127U:" \
-   -i "${S}/src/ftpd.h" || die "sed failed"
-
-   local my_conf=""
-
-   # Let's configure the USE-enabled stuff
-   enable_extension_without"capabilities"  "caps"
-   enable_extension_with   "rfc2640"   "charconv"  
0
-   enable_extension_with   "ldap"  "ldap"  
0
-   enable_extension_with   "mysql" "mysql" 
0
-   enable_extension_with   "pam"   "pam"   
0
-   enable_extension_with   "paranoidmsg"   "paranoidmsg"   
0
-   enable_extension_with   "pgsql" "postgres"  
0
-   enable_extension_with   "tls"   "ssl"   
0
-   enable_extension_with   "implicittls"   "implicittls"   
0
-   enable_extension_with   "virtualchroot" "vchroot"   
0
-   enable_extension_with   "sysquotas" "sysquota"  
0
-   enable_extension_without"inetd" "xinetd"
-
-   # noiplog is a negative flag, we don't want that enabled by default,
-   # so we handle it manually, as confutils can't do that
-   use noiplog && my_conf="${my_conf} --without-iplogging"
-
-   # 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-cpp

[gentoo-commits] repo/gentoo:master commit in: net-ftp/pure-ftpd/

2017-03-28 Thread Jeroen Roovers
commit: 6d82fabde92f734017a6d6e201fa2808afec7d52
Author: Jeroen Roovers  gentoo  org>
AuthorDate: Wed Mar 29 01:42:32 2017 +
Commit: Jeroen Roovers  gentoo  org>
CommitDate: Wed Mar 29 01:42:32 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6d82fabd

net-ftp/pure-ftpd: Stable for HPPA (bug #610538).

Package-Manager: Portage-2.3.5, Repoman-2.3.2
RepoMan-Options: --ignore-arches

 net-ftp/pure-ftpd/pure-ftpd-1.0.45-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net-ftp/pure-ftpd/pure-ftpd-1.0.45-r1.ebuild 
b/net-ftp/pure-ftpd/pure-ftpd-1.0.45-r1.ebuild
index c953675629a..2cd88cdca1b 100644
--- a/net-ftp/pure-ftpd/pure-ftpd-1.0.45-r1.ebuild
+++ b/net-ftp/pure-ftpd/pure-ftpd-1.0.45-r1.ebuild
@@ -4,7 +4,7 @@
 EAPI=6
 inherit eutils flag-o-matic
 
-KEYWORDS="alpha amd64 arm ~hppa ia64 ppc ppc64 sparc x86"
+KEYWORDS="alpha amd64 arm hppa ia64 ppc ppc64 sparc x86"
 
 DESCRIPTION="Fast, production-quality, standard-conformant FTP server"
 HOMEPAGE="http://www.pureftpd.org/";



[gentoo-commits] repo/gentoo:master commit in: net-ftp/pure-ftpd/

2017-03-15 Thread Michael Weber
commit: 1d140d1f98e2e846c4e88141eeb43766b0d5313d
Author: Michael Weber  gentoo  org>
AuthorDate: Wed Mar 15 14:36:25 2017 +
Commit: Michael Weber  gentoo  org>
CommitDate: Wed Mar 15 14:51:20 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1d140d1f

net-ftp/pure-ftpd: arm stable (bug 610538).

Package-Manager: Portage-2.3.4, Repoman-2.3.2

 net-ftp/pure-ftpd/pure-ftpd-1.0.45-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net-ftp/pure-ftpd/pure-ftpd-1.0.45-r1.ebuild 
b/net-ftp/pure-ftpd/pure-ftpd-1.0.45-r1.ebuild
index 51a1f340d38..c953675629a 100644
--- a/net-ftp/pure-ftpd/pure-ftpd-1.0.45-r1.ebuild
+++ b/net-ftp/pure-ftpd/pure-ftpd-1.0.45-r1.ebuild
@@ -4,7 +4,7 @@
 EAPI=6
 inherit eutils flag-o-matic
 
-KEYWORDS="alpha amd64 ~arm ~hppa ia64 ppc ppc64 sparc x86"
+KEYWORDS="alpha amd64 arm ~hppa ia64 ppc ppc64 sparc x86"
 
 DESCRIPTION="Fast, production-quality, standard-conformant FTP server"
 HOMEPAGE="http://www.pureftpd.org/";



[gentoo-commits] repo/gentoo:master commit in: net-ftp/pure-ftpd/

2017-03-11 Thread Agostino Sarubbo
commit: d30a3bd311a88e6e5cad44ec9fac858fa99e1c8e
Author: Agostino Sarubbo  gentoo  org>
AuthorDate: Sat Mar 11 17:05:28 2017 +
Commit: Agostino Sarubbo  gentoo  org>
CommitDate: Sat Mar 11 17:05:28 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d30a3bd3

net-ftp/pure-ftpd: ia64 stable wrt bug #610538

Package-Manager: Portage-2.3.3, Repoman-2.3.1
RepoMan-Options: --include-arches="ia64"
Signed-off-by: Agostino Sarubbo  gentoo.org>

 net-ftp/pure-ftpd/pure-ftpd-1.0.45-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net-ftp/pure-ftpd/pure-ftpd-1.0.45-r1.ebuild 
b/net-ftp/pure-ftpd/pure-ftpd-1.0.45-r1.ebuild
index a92653eed5b..51a1f340d38 100644
--- a/net-ftp/pure-ftpd/pure-ftpd-1.0.45-r1.ebuild
+++ b/net-ftp/pure-ftpd/pure-ftpd-1.0.45-r1.ebuild
@@ -4,7 +4,7 @@
 EAPI=6
 inherit eutils flag-o-matic
 
-KEYWORDS="alpha amd64 ~arm ~hppa ~ia64 ppc ppc64 sparc x86"
+KEYWORDS="alpha amd64 ~arm ~hppa ia64 ppc ppc64 sparc x86"
 
 DESCRIPTION="Fast, production-quality, standard-conformant FTP server"
 HOMEPAGE="http://www.pureftpd.org/";



[gentoo-commits] repo/gentoo:master commit in: net-ftp/pure-ftpd/

2017-02-28 Thread Tobias Klausmann
commit: d07c2673d38ce5b1d87524312ac9f68a90efd6f5
Author: Tobias Klausmann  gentoo  org>
AuthorDate: Tue Feb 28 11:21:25 2017 +
Commit: Tobias Klausmann  gentoo  org>
CommitDate: Tue Feb 28 11:21:25 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d07c2673

net-ftp/pure-ftpd-1.0.45-r1: add alpha keyword

Gentoo-Bug: 610538

 net-ftp/pure-ftpd/pure-ftpd-1.0.45-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net-ftp/pure-ftpd/pure-ftpd-1.0.45-r1.ebuild 
b/net-ftp/pure-ftpd/pure-ftpd-1.0.45-r1.ebuild
index e18ce2c82e..840657f1da 100644
--- a/net-ftp/pure-ftpd/pure-ftpd-1.0.45-r1.ebuild
+++ b/net-ftp/pure-ftpd/pure-ftpd-1.0.45-r1.ebuild
@@ -5,7 +5,7 @@
 EAPI=6
 inherit eutils flag-o-matic
 
-KEYWORDS="~alpha amd64 ~arm ~hppa ~ia64 ppc ppc64 sparc x86"
+KEYWORDS="alpha amd64 ~arm ~hppa ~ia64 ppc ppc64 sparc x86"
 
 DESCRIPTION="Fast, production-quality, standard-conformant FTP server"
 HOMEPAGE="http://www.pureftpd.org/";



[gentoo-commits] repo/gentoo:master commit in: net-ftp/pure-ftpd/

2017-02-25 Thread Agostino Sarubbo
commit: 14af566b2ed7379de55b3f46cd2b10a0e7d2315c
Author: Agostino Sarubbo  gentoo  org>
AuthorDate: Sat Feb 25 10:02:18 2017 +
Commit: Agostino Sarubbo  gentoo  org>
CommitDate: Sat Feb 25 10:02:18 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=14af566b

net-ftp/pure-ftpd: sparc stable wrt bug #610538

Package-Manager: portage-2.3.3
RepoMan-Options: --include-arches="sparc"
Signed-off-by: Agostino Sarubbo  gentoo.org>

 net-ftp/pure-ftpd/pure-ftpd-1.0.45-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net-ftp/pure-ftpd/pure-ftpd-1.0.45-r1.ebuild 
b/net-ftp/pure-ftpd/pure-ftpd-1.0.45-r1.ebuild
index 05e9afeb8e..e18ce2c82e 100644
--- a/net-ftp/pure-ftpd/pure-ftpd-1.0.45-r1.ebuild
+++ b/net-ftp/pure-ftpd/pure-ftpd-1.0.45-r1.ebuild
@@ -5,7 +5,7 @@
 EAPI=6
 inherit eutils flag-o-matic
 
-KEYWORDS="~alpha amd64 ~arm ~hppa ~ia64 ppc ppc64 ~sparc x86"
+KEYWORDS="~alpha amd64 ~arm ~hppa ~ia64 ppc ppc64 sparc x86"
 
 DESCRIPTION="Fast, production-quality, standard-conformant FTP server"
 HOMEPAGE="http://www.pureftpd.org/";



[gentoo-commits] repo/gentoo:master commit in: net-ftp/pure-ftpd/

2017-02-24 Thread Agostino Sarubbo
commit: 194c1607ec5e58805e67d6c40f32281ddbcda3a2
Author: Agostino Sarubbo  gentoo  org>
AuthorDate: Fri Feb 24 14:07:03 2017 +
Commit: Agostino Sarubbo  gentoo  org>
CommitDate: Fri Feb 24 14:07:03 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=194c1607

net-ftp/pure-ftpd: ppc stable wrt bug #610538

Package-Manager: portage-2.3.3
RepoMan-Options: --include-arches="ppc"
Signed-off-by: Agostino Sarubbo  gentoo.org>

 net-ftp/pure-ftpd/pure-ftpd-1.0.45-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net-ftp/pure-ftpd/pure-ftpd-1.0.45-r1.ebuild 
b/net-ftp/pure-ftpd/pure-ftpd-1.0.45-r1.ebuild
index aca74945b6..05e9afeb8e 100644
--- a/net-ftp/pure-ftpd/pure-ftpd-1.0.45-r1.ebuild
+++ b/net-ftp/pure-ftpd/pure-ftpd-1.0.45-r1.ebuild
@@ -5,7 +5,7 @@
 EAPI=6
 inherit eutils flag-o-matic
 
-KEYWORDS="~alpha amd64 ~arm ~hppa ~ia64 ~ppc ppc64 ~sparc x86"
+KEYWORDS="~alpha amd64 ~arm ~hppa ~ia64 ppc ppc64 ~sparc x86"
 
 DESCRIPTION="Fast, production-quality, standard-conformant FTP server"
 HOMEPAGE="http://www.pureftpd.org/";



[gentoo-commits] repo/gentoo:master commit in: net-ftp/pure-ftpd/

2017-02-22 Thread Agostino Sarubbo
commit: 12f3a8ebc4023da6857bc6d552f48de832f5859b
Author: Agostino Sarubbo  gentoo  org>
AuthorDate: Wed Feb 22 16:07:48 2017 +
Commit: Agostino Sarubbo  gentoo  org>
CommitDate: Wed Feb 22 16:07:48 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=12f3a8eb

net-ftp/pure-ftpd: x86 stable wrt bug #610538

Package-Manager: portage-2.3.3
RepoMan-Options: --include-arches="x86"
Signed-off-by: Agostino Sarubbo  gentoo.org>

 net-ftp/pure-ftpd/pure-ftpd-1.0.45-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net-ftp/pure-ftpd/pure-ftpd-1.0.45-r1.ebuild 
b/net-ftp/pure-ftpd/pure-ftpd-1.0.45-r1.ebuild
index 3b8d8c542b..07533e1726 100644
--- a/net-ftp/pure-ftpd/pure-ftpd-1.0.45-r1.ebuild
+++ b/net-ftp/pure-ftpd/pure-ftpd-1.0.45-r1.ebuild
@@ -5,7 +5,7 @@
 EAPI=6
 inherit eutils flag-o-matic
 
-KEYWORDS="~alpha amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86"
+KEYWORDS="~alpha amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~sparc x86"
 
 DESCRIPTION="Fast, production-quality, standard-conformant FTP server"
 HOMEPAGE="http://www.pureftpd.org/";



[gentoo-commits] repo/gentoo:master commit in: net-ftp/pure-ftpd/

2017-02-22 Thread Agostino Sarubbo
commit: 6aa3bf07c0882a1960683e4833ec0fed78557245
Author: Agostino Sarubbo  gentoo  org>
AuthorDate: Wed Feb 22 15:05:50 2017 +
Commit: Agostino Sarubbo  gentoo  org>
CommitDate: Wed Feb 22 15:05:50 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6aa3bf07

net-ftp/pure-ftpd: amd64 stable wrt bug #610538

Package-Manager: portage-2.3.3
RepoMan-Options: --include-arches="amd64"
Signed-off-by: Agostino Sarubbo  gentoo.org>

 net-ftp/pure-ftpd/pure-ftpd-1.0.45-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net-ftp/pure-ftpd/pure-ftpd-1.0.45-r1.ebuild 
b/net-ftp/pure-ftpd/pure-ftpd-1.0.45-r1.ebuild
index 9d942e9c77..3b8d8c542b 100644
--- a/net-ftp/pure-ftpd/pure-ftpd-1.0.45-r1.ebuild
+++ b/net-ftp/pure-ftpd/pure-ftpd-1.0.45-r1.ebuild
@@ -5,7 +5,7 @@
 EAPI=6
 inherit eutils flag-o-matic
 
-KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86"
+KEYWORDS="~alpha amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86"
 
 DESCRIPTION="Fast, production-quality, standard-conformant FTP server"
 HOMEPAGE="http://www.pureftpd.org/";



[gentoo-commits] repo/gentoo:master commit in: net-ftp/pure-ftpd/

2017-02-22 Thread Lars Wendler
commit: 780e1a2faff8e62942b7a516b811be519f3ae2aa
Author: Lars Wendler  gentoo  org>
AuthorDate: Wed Feb 22 09:42:17 2017 +
Commit: Lars Wendler  gentoo  org>
CommitDate: Wed Feb 22 09:48:47 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=780e1a2f

net-ftp/pure-ftpd: Converted away from confutils eclass (bug #610482).

Package-Manager: Portage-2.3.3, Repoman-2.3.1

 net-ftp/pure-ftpd/pure-ftpd-1.0.45-r1.ebuild | 40 +++-
 1 file changed, 16 insertions(+), 24 deletions(-)

diff --git a/net-ftp/pure-ftpd/pure-ftpd-1.0.45-r1.ebuild 
b/net-ftp/pure-ftpd/pure-ftpd-1.0.45-r1.ebuild
index 92f84ee473..9d942e9c77 100644
--- a/net-ftp/pure-ftpd/pure-ftpd-1.0.45-r1.ebuild
+++ b/net-ftp/pure-ftpd/pure-ftpd-1.0.45-r1.ebuild
@@ -3,7 +3,7 @@
 # $Id$
 
 EAPI=6
-inherit eutils confutils flag-o-matic
+inherit eutils flag-o-matic
 
 KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86"
 
@@ -47,27 +47,6 @@ src_configure() {
sed -e "s:# define MAX_USER_LENGTH 32U:# define MAX_USER_LENGTH 127U:" \
-i "${S}/src/ftpd.h" || die "sed failed"
 
-   # required for confutils.eclass
-   local my_conf=""
-
-   # Let's configure the USE-enabled stuff
-   enable_extension_without"capabilities"  "caps"
-   enable_extension_with   "rfc2640"   "charconv"  
0
-   enable_extension_with   "ldap"  "ldap"  
0
-   enable_extension_with   "mysql" "mysql" 
0
-   enable_extension_with   "pam"   "pam"   
0
-   enable_extension_with   "paranoidmsg"   "paranoidmsg"   
0
-   enable_extension_with   "pgsql" "postgres"  
0
-   enable_extension_with   "tls"   "ssl"   
0
-   enable_extension_with   "implicittls"   "implicittls"   
0
-   enable_extension_with   "virtualchroot" "vchroot"   
0
-   enable_extension_with   "sysquotas" "sysquota"  
0
-   enable_extension_without"inetd" "xinetd"
-
-   # noiplog is a negative flag, we don't want that enabled by default,
-   # so we handle it manually, as confutils can't do that
-   use noiplog && my_conf+=" --without-iplogging"
-
# 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
@@ -79,6 +58,7 @@ src_configure() {
export ax_cv_check_cflags___fstack_protector_all=no
 
local myeconfargs=(
+   --enable-largefile
--with-altlog
--with-cookie
--with-diraliases
@@ -93,9 +73,21 @@ src_configure() {
--with-throttling
--with-uploadscript
--with-virtualhosts
-   --enable-largefile
+   $(use_with charconv rfc2640)
+   $(use_with ldap)
+   $(use_with mysql)
+   $(use_with pam)
+   $(use_with paranoidmsg)
+   $(use_with postgres pgsql)
+   $(use_with ssl tls)
+   $(use_with implicittls)
+   $(use_with vchroot virtualchroot)
+   $(use_with sysquota sysquotas)
+   $(usex caps '' '--without-capabilities')
+   $(usex noiplog '--without-iplogging' '')
+   $(usex xinetd '' '--without-inetd')
)
-   econf "${myeconfargs[@]}" ${my_conf}
+   econf "${myeconfargs[@]}"
 }
 
 src_install() {



[gentoo-commits] repo/gentoo:master commit in: net-ftp/pure-ftpd/

2017-02-17 Thread Lars Wendler
commit: f1a37e3f3683fc475fd34aff8c55bf714ded5d24
Author: Lars Wendler  gentoo  org>
AuthorDate: Fri Feb 17 13:15:40 2017 +
Commit: Lars Wendler  gentoo  org>
CommitDate: Fri Feb 17 13:15:40 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f1a37e3f

net-ftp/pure-ftpd: Revbump to fix broken src_configure (bug #608670).

Package-Manager: Portage-2.3.3, Repoman-2.3.1

 .../pure-ftpd/{pure-ftpd-1.0.45.ebuild => pure-ftpd-1.0.45-r1.ebuild}   | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net-ftp/pure-ftpd/pure-ftpd-1.0.45.ebuild 
b/net-ftp/pure-ftpd/pure-ftpd-1.0.45-r1.ebuild
similarity index 99%
rename from net-ftp/pure-ftpd/pure-ftpd-1.0.45.ebuild
rename to net-ftp/pure-ftpd/pure-ftpd-1.0.45-r1.ebuild
index 3d5422fcbf..92f84ee473 100644
--- a/net-ftp/pure-ftpd/pure-ftpd-1.0.45.ebuild
+++ b/net-ftp/pure-ftpd/pure-ftpd-1.0.45-r1.ebuild
@@ -95,7 +95,7 @@ src_configure() {
--with-virtualhosts
--enable-largefile
)
-   econf "${myeconfargs[@]}" "${my_conf}"
+   econf "${myeconfargs[@]}" ${my_conf}
 }
 
 src_install() {



[gentoo-commits] repo/gentoo:master commit in: net-ftp/pure-ftpd/

2017-02-03 Thread Lars Wendler
commit: a2475d8e94da51b20b204b4d8dd40eab349a399d
Author: Lars Wendler  gentoo  org>
AuthorDate: Fri Feb  3 21:08:38 2017 +
Commit: Lars Wendler  gentoo  org>
CommitDate: Fri Feb  3 21:37:28 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a2475d8e

net-ftp/pure-ftpd: Bump to version 1.0.45

Package-Manager: Portage-2.3.3, Repoman-2.3.1

 net-ftp/pure-ftpd/Manifest|   1 +
 net-ftp/pure-ftpd/pure-ftpd-1.0.45.ebuild | 145 ++
 2 files changed, 146 insertions(+)

diff --git a/net-ftp/pure-ftpd/Manifest b/net-ftp/pure-ftpd/Manifest
index 4c0e541..184cff5 100644
--- a/net-ftp/pure-ftpd/Manifest
+++ b/net-ftp/pure-ftpd/Manifest
@@ -1,2 +1,3 @@
 DIST pure-ftpd-1.0.42.tar.bz2 496652 SHA256 
efd11295998453e31dbeef9159624beabbac2643a338134ae8c2ef529aa2ec10 SHA512 
730ece22ce9a8562c5da6063de2b99404fbc0d0fa0b591383c319a762ea33cec74239474bcb56606b7af254dd76e31154f27a745df0c619932c9b8b4f150bc9c
 WHIRLPOOL 
bcbcd32fcfe10741f214559f7051bca302addc9bdc0a90a24e33a53c8103199a2eb40ea65e314fc66c59a47a479bd6774e332f4898d750c90b6dbf1bee01bcec
 DIST pure-ftpd-1.0.44.tar.bz2 497528 SHA256 
30b65765cab64db04ebb983a8ff363a6d45fd1f99e9e5ec2fbdd40eba3c68b7a SHA512 
816332baa3fde84f67b36d59e4193d841cd1bbdf1e4c914fe1836797215879157945094268033409f6800509e04d9d3222b6bee27d9193ef64a5167efdfda292
 WHIRLPOOL 
5f0994e1c31f4a6490e123685010a6d1c341c7cf825e2476dc4a6c9d3eb518c5b9182d4175057c0aeeb0f78233a50557e9ebe7e77e8c26f0cdb7073eecd0330f
+DIST pure-ftpd-1.0.45.tar.bz2 497695 SHA256 
9256db7e59abdba712f84581a3ec47cd5b039034c78825d9dc24ea4eecda7d20 SHA512 
bb22b6b88778e2586411318905aa165e590185f7a87ac30761d6250f4de22a1deec6be5441926eae28011d3a5a923bad2ac366e237cc96a4d7932e3dbc9a1f2a
 WHIRLPOOL 
4eebb19342d2580658cac7bb13cf6ecebf70ec5000336565aea6609204befe85a5a96aed1ad24ada6a3b187a4750194d7d4676ea4942f0aff3137b45c9cde139

diff --git a/net-ftp/pure-ftpd/pure-ftpd-1.0.45.ebuild 
b/net-ftp/pure-ftpd/pure-ftpd-1.0.45.ebuild
new file mode 100644
index ..3d5422f
--- /dev/null
+++ b/net-ftp/pure-ftpd/pure-ftpd-1.0.45.ebuild
@@ -0,0 +1,145 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=6
+inherit eutils confutils flag-o-matic
+
+KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86"
+
+DESCRIPTION="Fast, production-quality, standard-conformant FTP server"
+HOMEPAGE="http://www.pureftpd.org/";
+SRC_URI="ftp://ftp.pureftpd.org/pub/${PN}/releases/${P}.tar.bz2
+   http://download.pureftpd.org/pub/${PN}/releases/${P}.tar.bz2";
+
+LICENSE="BSD"
+SLOT="0"
+
+IUSE="anondel anonperm anonren anonres caps charconv implicittls ldap libressl 
mysql noiplog pam paranoidmsg postgres resolveids selinux ssl sysquota vchroot 
xinetd"
+
+REQUIRED_USE="implicittls? ( ssl )"
+
+DEPEND="caps? ( sys-libs/libcap )
+   charconv? ( virtual/libiconv )
+   ldap? ( >=net-nds/openldap-2.0.25 )
+   mysql? ( virtual/mysql )
+   pam? ( virtual/pam )
+   postgres? ( dev-db/postgresql:= )
+   ssl? (
+   !libressl? ( >=dev-libs/openssl-0.9.6g:0=[-bindist] )
+   libressl? ( dev-libs/libressl:= )
+   )
+   sysquota? ( sys-fs/quota[-rpc] )
+   xinetd? ( virtual/inetd )"
+
+RDEPEND="${DEPEND}
+   dev-libs/libsodium:=
+   net-ftp/ftpbase
+   selinux? ( sec-policy/selinux-ftp )"
+
+PATCHES=(
+   "${FILESDIR}"/${PN}-1.0.28-pam.patch
+)
+
+src_configure() {
+   # adjust max user length to something more appropriate
+   # for virtual hosts. See bug #62472 for details.
+   sed -e "s:# define MAX_USER_LENGTH 32U:# define MAX_USER_LENGTH 127U:" \
+   -i "${S}/src/ftpd.h" || die "sed failed"
+
+   # required for confutils.eclass
+   local my_conf=""
+
+   # Let's configure the USE-enabled stuff
+   enable_extension_without"capabilities"  "caps"
+   enable_extension_with   "rfc2640"   "charconv"  
0
+   enable_extension_with   "ldap"  "ldap"  
0
+   enable_extension_with   "mysql" "mysql" 
0
+   enable_extension_with   "pam"   "pam"   
0
+   enable_extension_with   "paranoidmsg"   "paranoidmsg"   
0
+   enable_extension_with   "pgsql" "postgres"  
0
+   enable_extension_with   "tls"   "ssl"   
0
+   enable_extension_with   "implicittls"   "implicittls"   
0
+   enable_extension_with   "virtualchroot" "vchroot"   
0
+   enable_extension_with   "sysquotas" "sysquota"  
0
+   enable_extension_without"inetd" "xinetd"
+
+   # noiplog is a negative flag, we don't want that enabled by default,

[gentoo-commits] repo/gentoo:master commit in: net-ftp/pure-ftpd/

2017-02-03 Thread Lars Wendler
commit: a14f33be5aee3332f9103ee7d724115549ed4dc0
Author: Lars Wendler  gentoo  org>
AuthorDate: Fri Feb  3 21:09:16 2017 +
Commit: Lars Wendler  gentoo  org>
CommitDate: Fri Feb  3 21:37:30 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a14f33be

net-ftp/pure-ftpd: Removed old.

Package-Manager: Portage-2.3.3, Repoman-2.3.1

 net-ftp/pure-ftpd/Manifest|   1 -
 net-ftp/pure-ftpd/pure-ftpd-1.0.44.ebuild | 145 --
 2 files changed, 146 deletions(-)

diff --git a/net-ftp/pure-ftpd/Manifest b/net-ftp/pure-ftpd/Manifest
index 184cff5..2628d0d 100644
--- a/net-ftp/pure-ftpd/Manifest
+++ b/net-ftp/pure-ftpd/Manifest
@@ -1,3 +1,2 @@
 DIST pure-ftpd-1.0.42.tar.bz2 496652 SHA256 
efd11295998453e31dbeef9159624beabbac2643a338134ae8c2ef529aa2ec10 SHA512 
730ece22ce9a8562c5da6063de2b99404fbc0d0fa0b591383c319a762ea33cec74239474bcb56606b7af254dd76e31154f27a745df0c619932c9b8b4f150bc9c
 WHIRLPOOL 
bcbcd32fcfe10741f214559f7051bca302addc9bdc0a90a24e33a53c8103199a2eb40ea65e314fc66c59a47a479bd6774e332f4898d750c90b6dbf1bee01bcec
-DIST pure-ftpd-1.0.44.tar.bz2 497528 SHA256 
30b65765cab64db04ebb983a8ff363a6d45fd1f99e9e5ec2fbdd40eba3c68b7a SHA512 
816332baa3fde84f67b36d59e4193d841cd1bbdf1e4c914fe1836797215879157945094268033409f6800509e04d9d3222b6bee27d9193ef64a5167efdfda292
 WHIRLPOOL 
5f0994e1c31f4a6490e123685010a6d1c341c7cf825e2476dc4a6c9d3eb518c5b9182d4175057c0aeeb0f78233a50557e9ebe7e77e8c26f0cdb7073eecd0330f
 DIST pure-ftpd-1.0.45.tar.bz2 497695 SHA256 
9256db7e59abdba712f84581a3ec47cd5b039034c78825d9dc24ea4eecda7d20 SHA512 
bb22b6b88778e2586411318905aa165e590185f7a87ac30761d6250f4de22a1deec6be5441926eae28011d3a5a923bad2ac366e237cc96a4d7932e3dbc9a1f2a
 WHIRLPOOL 
4eebb19342d2580658cac7bb13cf6ecebf70ec5000336565aea6609204befe85a5a96aed1ad24ada6a3b187a4750194d7d4676ea4942f0aff3137b45c9cde139

diff --git a/net-ftp/pure-ftpd/pure-ftpd-1.0.44.ebuild 
b/net-ftp/pure-ftpd/pure-ftpd-1.0.44.ebuild
deleted file mode 100644
index 3d5422f..
--- a/net-ftp/pure-ftpd/pure-ftpd-1.0.44.ebuild
+++ /dev/null
@@ -1,145 +0,0 @@
-# Copyright 1999-2017 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Id$
-
-EAPI=6
-inherit eutils confutils flag-o-matic
-
-KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86"
-
-DESCRIPTION="Fast, production-quality, standard-conformant FTP server"
-HOMEPAGE="http://www.pureftpd.org/";
-SRC_URI="ftp://ftp.pureftpd.org/pub/${PN}/releases/${P}.tar.bz2
-   http://download.pureftpd.org/pub/${PN}/releases/${P}.tar.bz2";
-
-LICENSE="BSD"
-SLOT="0"
-
-IUSE="anondel anonperm anonren anonres caps charconv implicittls ldap libressl 
mysql noiplog pam paranoidmsg postgres resolveids selinux ssl sysquota vchroot 
xinetd"
-
-REQUIRED_USE="implicittls? ( ssl )"
-
-DEPEND="caps? ( sys-libs/libcap )
-   charconv? ( virtual/libiconv )
-   ldap? ( >=net-nds/openldap-2.0.25 )
-   mysql? ( virtual/mysql )
-   pam? ( virtual/pam )
-   postgres? ( dev-db/postgresql:= )
-   ssl? (
-   !libressl? ( >=dev-libs/openssl-0.9.6g:0=[-bindist] )
-   libressl? ( dev-libs/libressl:= )
-   )
-   sysquota? ( sys-fs/quota[-rpc] )
-   xinetd? ( virtual/inetd )"
-
-RDEPEND="${DEPEND}
-   dev-libs/libsodium:=
-   net-ftp/ftpbase
-   selinux? ( sec-policy/selinux-ftp )"
-
-PATCHES=(
-   "${FILESDIR}"/${PN}-1.0.28-pam.patch
-)
-
-src_configure() {
-   # adjust max user length to something more appropriate
-   # for virtual hosts. See bug #62472 for details.
-   sed -e "s:# define MAX_USER_LENGTH 32U:# define MAX_USER_LENGTH 127U:" \
-   -i "${S}/src/ftpd.h" || die "sed failed"
-
-   # required for confutils.eclass
-   local my_conf=""
-
-   # Let's configure the USE-enabled stuff
-   enable_extension_without"capabilities"  "caps"
-   enable_extension_with   "rfc2640"   "charconv"  
0
-   enable_extension_with   "ldap"  "ldap"  
0
-   enable_extension_with   "mysql" "mysql" 
0
-   enable_extension_with   "pam"   "pam"   
0
-   enable_extension_with   "paranoidmsg"   "paranoidmsg"   
0
-   enable_extension_with   "pgsql" "postgres"  
0
-   enable_extension_with   "tls"   "ssl"   
0
-   enable_extension_with   "implicittls"   "implicittls"   
0
-   enable_extension_with   "virtualchroot" "vchroot"   
0
-   enable_extension_with   "sysquotas" "sysquota"  
0
-   enable_extension_without"inetd" "xinetd"
-
-   # noiplog is a negative flag, we don't want that enabled by default,
-  

[gentoo-commits] repo/gentoo:master commit in: net-ftp/pure-ftpd/

2017-01-17 Thread Lars Wendler
commit: 102832db4761d405bb53d34f3f3c8244add357dc
Author: Lars Wendler  gentoo  org>
AuthorDate: Tue Jan 17 15:39:37 2017 +
Commit: Lars Wendler  gentoo  org>
CommitDate: Tue Jan 17 16:23:17 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=102832db

net-ftp/pure-ftpd: Removed old.

Package-Manager: Portage-2.3.3, Repoman-2.3.1

 net-ftp/pure-ftpd/Manifest|   2 -
 net-ftp/pure-ftpd/pure-ftpd-1.0.40.ebuild | 141 -
 net-ftp/pure-ftpd/pure-ftpd-1.0.43.ebuild | 144 --
 3 files changed, 287 deletions(-)

diff --git a/net-ftp/pure-ftpd/Manifest b/net-ftp/pure-ftpd/Manifest
index 21d426f..4c0e541 100644
--- a/net-ftp/pure-ftpd/Manifest
+++ b/net-ftp/pure-ftpd/Manifest
@@ -1,4 +1,2 @@
-DIST pure-ftpd-1.0.40.tar.bz2 495141 SHA256 
004dd4e991537f100fb6cdcdcd43460ed49847aefb60bc4577466839de95aa20 SHA512 
26a9918ddb298a6fd2b684e88173466b351671ad9b5c702796fabd1a7b0abb52fefcd3537b9d17210468d7f2efc80e4c881fc60dd3c9c73dcbed5f46e59e4420
 WHIRLPOOL 
09d6d5fed066a5c0cfb4801e1827770cd3d909dbf85e627c30c583ca0999dd3ec44a1528004db12ccbb232d22e263a4f742f2785a111d255db0007a097146f7d
 DIST pure-ftpd-1.0.42.tar.bz2 496652 SHA256 
efd11295998453e31dbeef9159624beabbac2643a338134ae8c2ef529aa2ec10 SHA512 
730ece22ce9a8562c5da6063de2b99404fbc0d0fa0b591383c319a762ea33cec74239474bcb56606b7af254dd76e31154f27a745df0c619932c9b8b4f150bc9c
 WHIRLPOOL 
bcbcd32fcfe10741f214559f7051bca302addc9bdc0a90a24e33a53c8103199a2eb40ea65e314fc66c59a47a479bd6774e332f4898d750c90b6dbf1bee01bcec
-DIST pure-ftpd-1.0.43.tar.bz2 496391 SHA256 
1289a094c7b5675132cefd1383472d6cab60e757ee75ff3b2687072e8d7df7b2 SHA512 
1fff6a9bc8585c0bf1bb354ca7531744338a2e7899234de62c2d4ad0bab8de9c142e350533fcdd669bf519fbfc625b6a21733924a09ad3136863cf145e7ce822
 WHIRLPOOL 
4c12e2fd0398eedc187cd8e791b6ca2f4dbc0c99671cc97e3698f4bf7ea5ddb5f903a052b075387fde1f6854abf8a8e0b9ff7bad50dff5c10c86ff632df55536
 DIST pure-ftpd-1.0.44.tar.bz2 497528 SHA256 
30b65765cab64db04ebb983a8ff363a6d45fd1f99e9e5ec2fbdd40eba3c68b7a SHA512 
816332baa3fde84f67b36d59e4193d841cd1bbdf1e4c914fe1836797215879157945094268033409f6800509e04d9d3222b6bee27d9193ef64a5167efdfda292
 WHIRLPOOL 
5f0994e1c31f4a6490e123685010a6d1c341c7cf825e2476dc4a6c9d3eb518c5b9182d4175057c0aeeb0f78233a50557e9ebe7e77e8c26f0cdb7073eecd0330f

diff --git a/net-ftp/pure-ftpd/pure-ftpd-1.0.40.ebuild 
b/net-ftp/pure-ftpd/pure-ftpd-1.0.40.ebuild
deleted file mode 100644
index 4f7f4a6..
--- a/net-ftp/pure-ftpd/pure-ftpd-1.0.40.ebuild
+++ /dev/null
@@ -1,141 +0,0 @@
-# Copyright 1999-2015 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Id$
-
-EAPI=5
-inherit eutils confutils flag-o-matic
-
-KEYWORDS="alpha amd64 arm hppa ia64 ppc ppc64 sparc x86"
-
-DESCRIPTION="Fast, production-quality, standard-conformant FTP server"
-HOMEPAGE="http://www.pureftpd.org/";
-SRC_URI="ftp://ftp.pureftpd.org/pub/${PN}/releases/${P}.tar.bz2
-   http://download.pureftpd.org/pub/${PN}/releases/${P}.tar.bz2";
-
-LICENSE="BSD"
-SLOT="0"
-
-IUSE="anondel anonperm anonren anonres caps charconv implicittls ldap mysql 
noiplog pam paranoidmsg postgres resolveids selinux ssl sysquota vchroot xinetd"
-
-REQUIRED_USE="implicittls? ( ssl )"
-
-DEPEND="caps? ( sys-libs/libcap )
-   charconv? ( virtual/libiconv )
-   ldap? ( >=net-nds/openldap-2.0.25 )
-   mysql? ( virtual/mysql )
-   pam? ( virtual/pam )
-   postgres? ( dev-db/postgresql:= )
-   ssl? ( >=dev-libs/openssl-0.9.6g:0=[-bindist] )
-   sysquota? ( sys-fs/quota[-rpc] )
-   xinetd? ( virtual/inetd )"
-
-RDEPEND="${DEPEND}
-   dev-libs/libsodium:=
-   net-ftp/ftpbase
-   selinux? ( sec-policy/selinux-ftp )"
-
-src_prepare() {
-   epatch "${FILESDIR}"/${PN}-1.0.28-pam.patch
-}
-
-src_configure() {
-   # adjust max user length to something more appropriate
-   # for virtual hosts. See bug #62472 for details.
-   sed -e "s:# define MAX_USER_LENGTH 32U:# define MAX_USER_LENGTH 127U:" \
-   -i "${S}/src/ftpd.h" || die "sed failed"
-
-   local my_conf=""
-
-   # Let's configure the USE-enabled stuff
-   enable_extension_without"capabilities"  "caps"
-   enable_extension_with   "rfc2640"   "charconv"  
0
-   enable_extension_with   "ldap"  "ldap"  
0
-   enable_extension_with   "mysql" "mysql" 
0
-   enable_extension_with   "pam"   "pam"   
0
-   enable_extension_with   "paranoidmsg"   "paranoidmsg"   
0
-   enable_extension_with   "pgsql" "postgres"  
0
-   enable_extension_with   "tls"   "ssl"   
0
-   enable_extension_with   "implicittls"   "implicittls"   
0
-   

[gentoo-commits] repo/gentoo:master commit in: net-ftp/pure-ftpd/

2017-01-01 Thread Lars Wendler
commit: 0d9ae6dff42ecb26d26619a55f3da422fd0ea14d
Author: Lars Wendler  gentoo  org>
AuthorDate: Sun Jan  1 17:07:24 2017 +
Commit: Lars Wendler  gentoo  org>
CommitDate: Sun Jan  1 17:10:33 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0d9ae6df

net-ftp/pure-ftpd: Bump to version 1.0.44

Package-Manager: Portage-2.3.3, Repoman-2.3.1

 net-ftp/pure-ftpd/Manifest|   1 +
 net-ftp/pure-ftpd/pure-ftpd-1.0.44.ebuild | 145 ++
 2 files changed, 146 insertions(+)

diff --git a/net-ftp/pure-ftpd/Manifest b/net-ftp/pure-ftpd/Manifest
index 9c0dbe9..5fd1a53 100644
--- a/net-ftp/pure-ftpd/Manifest
+++ b/net-ftp/pure-ftpd/Manifest
@@ -2,3 +2,4 @@ DIST pure-ftpd-1.0.40.tar.bz2 495141 SHA256 
004dd4e991537f100fb6cdcdcd43460ed498
 DIST pure-ftpd-1.0.41.tar.bz2 496457 SHA256 
1d48f650f366b8151d86b86c79f4bb874e95143bdac0e767038eda832d28a010 SHA512 
d63fb4f245dc2f1115447de3861f1a805712fb432c461e21b5739e1bae35da9d1367d5e7f54609f2fd5c3064e8d3853dd513a6684166300f1c72a60a79fddd21
 WHIRLPOOL 
a0ed31b912e83f07c1f3814f47f7514a22db0e5fd699a890a4640fd36b053e491a93a15fe0a8b721ce08389a2727acc0928994c495c341bbfdfc5453d5d4af31
 DIST pure-ftpd-1.0.42.tar.bz2 496652 SHA256 
efd11295998453e31dbeef9159624beabbac2643a338134ae8c2ef529aa2ec10 SHA512 
730ece22ce9a8562c5da6063de2b99404fbc0d0fa0b591383c319a762ea33cec74239474bcb56606b7af254dd76e31154f27a745df0c619932c9b8b4f150bc9c
 WHIRLPOOL 
bcbcd32fcfe10741f214559f7051bca302addc9bdc0a90a24e33a53c8103199a2eb40ea65e314fc66c59a47a479bd6774e332f4898d750c90b6dbf1bee01bcec
 DIST pure-ftpd-1.0.43.tar.bz2 496391 SHA256 
1289a094c7b5675132cefd1383472d6cab60e757ee75ff3b2687072e8d7df7b2 SHA512 
1fff6a9bc8585c0bf1bb354ca7531744338a2e7899234de62c2d4ad0bab8de9c142e350533fcdd669bf519fbfc625b6a21733924a09ad3136863cf145e7ce822
 WHIRLPOOL 
4c12e2fd0398eedc187cd8e791b6ca2f4dbc0c99671cc97e3698f4bf7ea5ddb5f903a052b075387fde1f6854abf8a8e0b9ff7bad50dff5c10c86ff632df55536
+DIST pure-ftpd-1.0.44.tar.bz2 497528 SHA256 
30b65765cab64db04ebb983a8ff363a6d45fd1f99e9e5ec2fbdd40eba3c68b7a SHA512 
816332baa3fde84f67b36d59e4193d841cd1bbdf1e4c914fe1836797215879157945094268033409f6800509e04d9d3222b6bee27d9193ef64a5167efdfda292
 WHIRLPOOL 
5f0994e1c31f4a6490e123685010a6d1c341c7cf825e2476dc4a6c9d3eb518c5b9182d4175057c0aeeb0f78233a50557e9ebe7e77e8c26f0cdb7073eecd0330f

diff --git a/net-ftp/pure-ftpd/pure-ftpd-1.0.44.ebuild 
b/net-ftp/pure-ftpd/pure-ftpd-1.0.44.ebuild
new file mode 100644
index ..3d5422f
--- /dev/null
+++ b/net-ftp/pure-ftpd/pure-ftpd-1.0.44.ebuild
@@ -0,0 +1,145 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=6
+inherit eutils confutils flag-o-matic
+
+KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86"
+
+DESCRIPTION="Fast, production-quality, standard-conformant FTP server"
+HOMEPAGE="http://www.pureftpd.org/";
+SRC_URI="ftp://ftp.pureftpd.org/pub/${PN}/releases/${P}.tar.bz2
+   http://download.pureftpd.org/pub/${PN}/releases/${P}.tar.bz2";
+
+LICENSE="BSD"
+SLOT="0"
+
+IUSE="anondel anonperm anonren anonres caps charconv implicittls ldap libressl 
mysql noiplog pam paranoidmsg postgres resolveids selinux ssl sysquota vchroot 
xinetd"
+
+REQUIRED_USE="implicittls? ( ssl )"
+
+DEPEND="caps? ( sys-libs/libcap )
+   charconv? ( virtual/libiconv )
+   ldap? ( >=net-nds/openldap-2.0.25 )
+   mysql? ( virtual/mysql )
+   pam? ( virtual/pam )
+   postgres? ( dev-db/postgresql:= )
+   ssl? (
+   !libressl? ( >=dev-libs/openssl-0.9.6g:0=[-bindist] )
+   libressl? ( dev-libs/libressl:= )
+   )
+   sysquota? ( sys-fs/quota[-rpc] )
+   xinetd? ( virtual/inetd )"
+
+RDEPEND="${DEPEND}
+   dev-libs/libsodium:=
+   net-ftp/ftpbase
+   selinux? ( sec-policy/selinux-ftp )"
+
+PATCHES=(
+   "${FILESDIR}"/${PN}-1.0.28-pam.patch
+)
+
+src_configure() {
+   # adjust max user length to something more appropriate
+   # for virtual hosts. See bug #62472 for details.
+   sed -e "s:# define MAX_USER_LENGTH 32U:# define MAX_USER_LENGTH 127U:" \
+   -i "${S}/src/ftpd.h" || die "sed failed"
+
+   # required for confutils.eclass
+   local my_conf=""
+
+   # Let's configure the USE-enabled stuff
+   enable_extension_without"capabilities"  "caps"
+   enable_extension_with   "rfc2640"   "charconv"  
0
+   enable_extension_with   "ldap"  "ldap"  
0
+   enable_extension_with   "mysql" "mysql" 
0
+   enable_extension_with   "pam"   "pam"   
0
+   enable_extension_with   "paranoidmsg"   "paranoidmsg"   
0
+   enable_extension_with   "pgsql" "postgres"  
0
+   enable_extension_with   "tls"

[gentoo-commits] repo/gentoo:master commit in: net-ftp/pure-ftpd/

2017-01-01 Thread Lars Wendler
commit: 7a458ab5e4c416539de430f4dea9ed4f709977c2
Author: Lars Wendler  gentoo  org>
AuthorDate: Sun Jan  1 17:10:16 2017 +
Commit: Lars Wendler  gentoo  org>
CommitDate: Sun Jan  1 17:10:36 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7a458ab5

net-ftp/pure-ftpd: Removed old.

Package-Manager: Portage-2.3.3, Repoman-2.3.1

 net-ftp/pure-ftpd/Manifest|   1 -
 net-ftp/pure-ftpd/pure-ftpd-1.0.41.ebuild | 141 --
 net-ftp/pure-ftpd/pure-ftpd-1.0.42.ebuild | 141 --
 3 files changed, 283 deletions(-)

diff --git a/net-ftp/pure-ftpd/Manifest b/net-ftp/pure-ftpd/Manifest
index 5fd1a53..21d426f 100644
--- a/net-ftp/pure-ftpd/Manifest
+++ b/net-ftp/pure-ftpd/Manifest
@@ -1,5 +1,4 @@
 DIST pure-ftpd-1.0.40.tar.bz2 495141 SHA256 
004dd4e991537f100fb6cdcdcd43460ed49847aefb60bc4577466839de95aa20 SHA512 
26a9918ddb298a6fd2b684e88173466b351671ad9b5c702796fabd1a7b0abb52fefcd3537b9d17210468d7f2efc80e4c881fc60dd3c9c73dcbed5f46e59e4420
 WHIRLPOOL 
09d6d5fed066a5c0cfb4801e1827770cd3d909dbf85e627c30c583ca0999dd3ec44a1528004db12ccbb232d22e263a4f742f2785a111d255db0007a097146f7d
-DIST pure-ftpd-1.0.41.tar.bz2 496457 SHA256 
1d48f650f366b8151d86b86c79f4bb874e95143bdac0e767038eda832d28a010 SHA512 
d63fb4f245dc2f1115447de3861f1a805712fb432c461e21b5739e1bae35da9d1367d5e7f54609f2fd5c3064e8d3853dd513a6684166300f1c72a60a79fddd21
 WHIRLPOOL 
a0ed31b912e83f07c1f3814f47f7514a22db0e5fd699a890a4640fd36b053e491a93a15fe0a8b721ce08389a2727acc0928994c495c341bbfdfc5453d5d4af31
 DIST pure-ftpd-1.0.42.tar.bz2 496652 SHA256 
efd11295998453e31dbeef9159624beabbac2643a338134ae8c2ef529aa2ec10 SHA512 
730ece22ce9a8562c5da6063de2b99404fbc0d0fa0b591383c319a762ea33cec74239474bcb56606b7af254dd76e31154f27a745df0c619932c9b8b4f150bc9c
 WHIRLPOOL 
bcbcd32fcfe10741f214559f7051bca302addc9bdc0a90a24e33a53c8103199a2eb40ea65e314fc66c59a47a479bd6774e332f4898d750c90b6dbf1bee01bcec
 DIST pure-ftpd-1.0.43.tar.bz2 496391 SHA256 
1289a094c7b5675132cefd1383472d6cab60e757ee75ff3b2687072e8d7df7b2 SHA512 
1fff6a9bc8585c0bf1bb354ca7531744338a2e7899234de62c2d4ad0bab8de9c142e350533fcdd669bf519fbfc625b6a21733924a09ad3136863cf145e7ce822
 WHIRLPOOL 
4c12e2fd0398eedc187cd8e791b6ca2f4dbc0c99671cc97e3698f4bf7ea5ddb5f903a052b075387fde1f6854abf8a8e0b9ff7bad50dff5c10c86ff632df55536
 DIST pure-ftpd-1.0.44.tar.bz2 497528 SHA256 
30b65765cab64db04ebb983a8ff363a6d45fd1f99e9e5ec2fbdd40eba3c68b7a SHA512 
816332baa3fde84f67b36d59e4193d841cd1bbdf1e4c914fe1836797215879157945094268033409f6800509e04d9d3222b6bee27d9193ef64a5167efdfda292
 WHIRLPOOL 
5f0994e1c31f4a6490e123685010a6d1c341c7cf825e2476dc4a6c9d3eb518c5b9182d4175057c0aeeb0f78233a50557e9ebe7e77e8c26f0cdb7073eecd0330f

diff --git a/net-ftp/pure-ftpd/pure-ftpd-1.0.41.ebuild 
b/net-ftp/pure-ftpd/pure-ftpd-1.0.41.ebuild
deleted file mode 100644
index e82095d..
--- a/net-ftp/pure-ftpd/pure-ftpd-1.0.41.ebuild
+++ /dev/null
@@ -1,141 +0,0 @@
-# Copyright 1999-2015 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Id$
-
-EAPI=5
-inherit eutils confutils flag-o-matic
-
-KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86"
-
-DESCRIPTION="Fast, production-quality, standard-conformant FTP server"
-HOMEPAGE="http://www.pureftpd.org/";
-SRC_URI="ftp://ftp.pureftpd.org/pub/${PN}/releases/${P}.tar.bz2
-   http://download.pureftpd.org/pub/${PN}/releases/${P}.tar.bz2";
-
-LICENSE="BSD"
-SLOT="0"
-
-IUSE="anondel anonperm anonren anonres caps charconv implicittls ldap mysql 
noiplog pam paranoidmsg postgres resolveids selinux ssl sysquota vchroot xinetd"
-
-REQUIRED_USE="implicittls? ( ssl )"
-
-DEPEND="caps? ( sys-libs/libcap )
-   charconv? ( virtual/libiconv )
-   ldap? ( >=net-nds/openldap-2.0.25 )
-   mysql? ( virtual/mysql )
-   pam? ( virtual/pam )
-   postgres? ( dev-db/postgresql:= )
-   ssl? ( >=dev-libs/openssl-0.9.6g:0=[-bindist] )
-   sysquota? ( sys-fs/quota[-rpc] )
-   xinetd? ( virtual/inetd )"
-
-RDEPEND="${DEPEND}
-   dev-libs/libsodium:=
-   net-ftp/ftpbase
-   selinux? ( sec-policy/selinux-ftp )"
-
-src_prepare() {
-   epatch "${FILESDIR}"/${PN}-1.0.28-pam.patch
-}
-
-src_configure() {
-   # adjust max user length to something more appropriate
-   # for virtual hosts. See bug #62472 for details.
-   sed -e "s:# define MAX_USER_LENGTH 32U:# define MAX_USER_LENGTH 127U:" \
-   -i "${S}/src/ftpd.h" || die "sed failed"
-
-   local my_conf=""
-
-   # Let's configure the USE-enabled stuff
-   enable_extension_without"capabilities"  "caps"
-   enable_extension_with   "rfc2640"   "charconv"  
0
-   enable_extension_with   "ldap"  "ldap"  
0
-   enable_extension_with   "mysql" "mysql" 
0
-   enable_extension_with   "pam"   

[gentoo-commits] repo/gentoo:master commit in: net-ftp/pure-ftpd/

2016-10-01 Thread Jeroen Roovers
commit: d86a68eecbbe8af68899aff9599d8af172f0ec44
Author: Jeroen Roovers  gentoo  org>
AuthorDate: Sat Oct  1 14:15:15 2016 +
Commit: Jeroen Roovers  gentoo  org>
CommitDate: Sat Oct  1 14:15:15 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d86a68ee

net-ftp/pure-ftpd: Stable for HPPA PPC64 (bug #588300).

Package-Manager: portage-2.3.1
RepoMan-Options: --ignore-arches

 net-ftp/pure-ftpd/pure-ftpd-1.0.42-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

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
index 38768d7..09b420c 100644
--- a/net-ftp/pure-ftpd/pure-ftpd-1.0.42-r1.ebuild
+++ b/net-ftp/pure-ftpd/pure-ftpd-1.0.42-r1.ebuild
@@ -5,7 +5,7 @@
 EAPI=5
 inherit eutils confutils flag-o-matic
 
-KEYWORDS="alpha amd64 arm ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86"
+KEYWORDS="alpha amd64 arm hppa ~ia64 ~ppc ppc64 ~sparc ~x86"
 
 DESCRIPTION="Fast, production-quality, standard-conformant FTP server"
 HOMEPAGE="http://www.pureftpd.org/";



[gentoo-commits] repo/gentoo:master commit in: net-ftp/pure-ftpd/files/, net-ftp/pure-ftpd/

2016-07-31 Thread Lars Wendler
commit: 86ade42f2d3030a8bd03da8e55f66b4bb6a76304
Author: Lars Wendler  gentoo  org>
AuthorDate: Sun Jul 31 19:17:43 2016 +
Commit: Lars Wendler  gentoo  org>
CommitDate: Sun Jul 31 19:46:35 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=86ade42f

net-ftp/pure-ftpd: Bump to version 1.0.43

Package-Manager: portage-2.3.0
Signed-off-by: Lars Wendler  gentoo.org>

 net-ftp/pure-ftpd/Manifest |   1 +
 net-ftp/pure-ftpd/files/pure-ftpd-1.0.28-pam.patch |   4 +-
 net-ftp/pure-ftpd/pure-ftpd-1.0.43.ebuild  | 144 +
 3 files changed, 147 insertions(+), 2 deletions(-)

diff --git a/net-ftp/pure-ftpd/Manifest b/net-ftp/pure-ftpd/Manifest
index 24b1204..9c0dbe9 100644
--- a/net-ftp/pure-ftpd/Manifest
+++ b/net-ftp/pure-ftpd/Manifest
@@ -1,3 +1,4 @@
 DIST pure-ftpd-1.0.40.tar.bz2 495141 SHA256 
004dd4e991537f100fb6cdcdcd43460ed49847aefb60bc4577466839de95aa20 SHA512 
26a9918ddb298a6fd2b684e88173466b351671ad9b5c702796fabd1a7b0abb52fefcd3537b9d17210468d7f2efc80e4c881fc60dd3c9c73dcbed5f46e59e4420
 WHIRLPOOL 
09d6d5fed066a5c0cfb4801e1827770cd3d909dbf85e627c30c583ca0999dd3ec44a1528004db12ccbb232d22e263a4f742f2785a111d255db0007a097146f7d
 DIST pure-ftpd-1.0.41.tar.bz2 496457 SHA256 
1d48f650f366b8151d86b86c79f4bb874e95143bdac0e767038eda832d28a010 SHA512 
d63fb4f245dc2f1115447de3861f1a805712fb432c461e21b5739e1bae35da9d1367d5e7f54609f2fd5c3064e8d3853dd513a6684166300f1c72a60a79fddd21
 WHIRLPOOL 
a0ed31b912e83f07c1f3814f47f7514a22db0e5fd699a890a4640fd36b053e491a93a15fe0a8b721ce08389a2727acc0928994c495c341bbfdfc5453d5d4af31
 DIST pure-ftpd-1.0.42.tar.bz2 496652 SHA256 
efd11295998453e31dbeef9159624beabbac2643a338134ae8c2ef529aa2ec10 SHA512 
730ece22ce9a8562c5da6063de2b99404fbc0d0fa0b591383c319a762ea33cec74239474bcb56606b7af254dd76e31154f27a745df0c619932c9b8b4f150bc9c
 WHIRLPOOL 
bcbcd32fcfe10741f214559f7051bca302addc9bdc0a90a24e33a53c8103199a2eb40ea65e314fc66c59a47a479bd6774e332f4898d750c90b6dbf1bee01bcec
+DIST pure-ftpd-1.0.43.tar.bz2 496391 SHA256 
1289a094c7b5675132cefd1383472d6cab60e757ee75ff3b2687072e8d7df7b2 SHA512 
1fff6a9bc8585c0bf1bb354ca7531744338a2e7899234de62c2d4ad0bab8de9c142e350533fcdd669bf519fbfc625b6a21733924a09ad3136863cf145e7ce822
 WHIRLPOOL 
4c12e2fd0398eedc187cd8e791b6ca2f4dbc0c99671cc97e3698f4bf7ea5ddb5f903a052b075387fde1f6854abf8a8e0b9ff7bad50dff5c10c86ff632df55536

diff --git a/net-ftp/pure-ftpd/files/pure-ftpd-1.0.28-pam.patch 
b/net-ftp/pure-ftpd/files/pure-ftpd-1.0.28-pam.patch
index 209cd94..8346cf2 100644
--- a/net-ftp/pure-ftpd/files/pure-ftpd-1.0.28-pam.patch
+++ b/net-ftp/pure-ftpd/files/pure-ftpd-1.0.28-pam.patch
@@ -1,5 +1,5 @@
 src/log_pam.c
-+++ src/log_pam.c
+--- a/src/log_pam.c
 b/src/log_pam.c
 @@ -49,7 +49,7 @@
  # endif
  

diff --git a/net-ftp/pure-ftpd/pure-ftpd-1.0.43.ebuild 
b/net-ftp/pure-ftpd/pure-ftpd-1.0.43.ebuild
new file mode 100644
index 000..5fca0c3
--- /dev/null
+++ b/net-ftp/pure-ftpd/pure-ftpd-1.0.43.ebuild
@@ -0,0 +1,144 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=6
+inherit eutils confutils flag-o-matic
+
+KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86"
+
+DESCRIPTION="Fast, production-quality, standard-conformant FTP server"
+HOMEPAGE="http://www.pureftpd.org/";
+SRC_URI="ftp://ftp.pureftpd.org/pub/${PN}/releases/${P}.tar.bz2
+   http://download.pureftpd.org/pub/${PN}/releases/${P}.tar.bz2";
+
+LICENSE="BSD"
+SLOT="0"
+
+IUSE="anondel anonperm anonren anonres caps charconv implicittls ldap libressl 
mysql noiplog pam paranoidmsg postgres resolveids selinux ssl sysquota vchroot 
xinetd"
+
+REQUIRED_USE="implicittls? ( ssl )"
+
+DEPEND="caps? ( sys-libs/libcap )
+   charconv? ( virtual/libiconv )
+   ldap? ( >=net-nds/openldap-2.0.25 )
+   mysql? ( virtual/mysql )
+   pam? ( virtual/pam )
+   postgres? ( dev-db/postgresql:= )
+   ssl? (
+   !libressl? ( >=dev-libs/openssl-0.9.6g:0=[-bindist] )
+   libressl? ( dev-libs/libressl:= )
+   )
+   sysquota? ( sys-fs/quota[-rpc] )
+   xinetd? ( virtual/inetd )"
+
+RDEPEND="${DEPEND}
+   dev-libs/libsodium:=
+   net-ftp/ftpbase
+   selinux? ( sec-policy/selinux-ftp )"
+
+PATCHES=(
+   "${FILESDIR}"/${PN}-1.0.28-pam.patch
+)
+
+src_configure() {
+   # adjust max user length to something more appropriate
+   # for virtual hosts. See bug #62472 for details.
+   sed -e "s:# define MAX_USER_LENGTH 32U:# define MAX_USER_LENGTH 127U:" \
+   -i "${S}/src/ftpd.h" || die "sed failed"
+
+   local my_conf=""
+
+   # Let's configure the USE-enabled stuff
+   enable_extension_without"capabilities"  "caps"
+   enable_extension_with   "rfc2640"   "charconv"  
0
+   enable_extension_with   "ldap"  "ldap"  
0
+   enable_extension_with

[gentoo-commits] repo/gentoo:master commit in: net-ftp/pure-ftpd/

2016-07-18 Thread Markus Meier
commit: 9f185b0b2c0845d9e66c8e04ed62195f560e6ca8
Author: Markus Meier  gentoo  org>
AuthorDate: Mon Jul 18 17:22:14 2016 +
Commit: Markus Meier  gentoo  org>
CommitDate: Mon Jul 18 17:22:14 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9f185b0b

net-ftp/pure-ftpd: arm stable, bug #588300

Package-Manager: portage-2.3.0
RepoMan-Options: --include-arches="arm"

 net-ftp/pure-ftpd/pure-ftpd-1.0.42-r1.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

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
index 3bde50d..8637d95 100644
--- a/net-ftp/pure-ftpd/pure-ftpd-1.0.42-r1.ebuild
+++ b/net-ftp/pure-ftpd/pure-ftpd-1.0.42-r1.ebuild
@@ -1,11 +1,11 @@
-# Copyright 1999-2015 Gentoo Foundation
+# Copyright 1999-2016 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 # $Id$
 
 EAPI=5
 inherit eutils confutils flag-o-matic
 
-KEYWORDS="alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86"
+KEYWORDS="alpha ~amd64 arm ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86"
 
 DESCRIPTION="Fast, production-quality, standard-conformant FTP server"
 HOMEPAGE="http://www.pureftpd.org/";



[gentoo-commits] repo/gentoo:master commit in: net-ftp/pure-ftpd/

2016-07-17 Thread Tobias Klausmann
commit: 685b6bffd98c98a6932520f20187278f08664084
Author: Tobias Klausmann  gentoo  org>
AuthorDate: Sun Jul 17 15:55:47 2016 +
Commit: Tobias Klausmann  gentoo  org>
CommitDate: Sun Jul 17 15:55:55 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=685b6bff

net-ftp/pure-ftpd-1.0.42-r1: add alpha keyword

Gentoo-Bug: 588300

 net-ftp/pure-ftpd/pure-ftpd-1.0.42-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

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
index 70628ab..3bde50d 100644
--- a/net-ftp/pure-ftpd/pure-ftpd-1.0.42-r1.ebuild
+++ b/net-ftp/pure-ftpd/pure-ftpd-1.0.42-r1.ebuild
@@ -5,7 +5,7 @@
 EAPI=5
 inherit eutils confutils flag-o-matic
 
-KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86"
+KEYWORDS="alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86"
 
 DESCRIPTION="Fast, production-quality, standard-conformant FTP server"
 HOMEPAGE="http://www.pureftpd.org/";



[gentoo-commits] repo/gentoo:master commit in: net-ftp/pure-ftpd/files/

2016-05-03 Thread Lars Wendler
commit: 2203781eaf654ffcbe0721d58703b51708eb3c87
Author: Lars Wendler  gentoo  org>
AuthorDate: Tue May  3 09:23:32 2016 +
Commit: Lars Wendler  gentoo  org>
CommitDate: Tue May  3 09:47:17 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2203781e

net-ftp/pure-ftpd: Fixed openrc init script shebang.

Package-Manager: portage-2.2.28
Signed-off-by: Lars Wendler  gentoo.org>

 net-ftp/pure-ftpd/files/pure-ftpd.rc11 | 8 +++-
 1 file changed, 3 insertions(+), 5 deletions(-)

diff --git a/net-ftp/pure-ftpd/files/pure-ftpd.rc11 
b/net-ftp/pure-ftpd/files/pure-ftpd.rc11
index fe200cf..1e8722f 100644
--- a/net-ftp/pure-ftpd/files/pure-ftpd.rc11
+++ b/net-ftp/pure-ftpd/files/pure-ftpd.rc11
@@ -1,5 +1,5 @@
-#!/sbin/runscript
-# Copyright 1999-2014 Gentoo Foundation
+#!/sbin/openrc-run
+# Copyright 1999-2016 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 # $Id$
 
@@ -13,7 +13,7 @@ depend() {
need net
 }
 
-checkconfig() {
+start_pre() {
if [ -z "$IS_CONFIGURED" ] ; then
eerror "You need to setup /etc/conf.d/pure-ftpd first!"
return 1
@@ -21,8 +21,6 @@ checkconfig() {
 }
 
 start() {
-   checkconfig || return 1
-
UPSCRIPT=""
if [ -n "$UPLOADSCRIPT" ] ; then
UPSCRIPT="--uploadscript"



[gentoo-commits] repo/gentoo:master commit in: net-ftp/pure-ftpd/

2015-12-16 Thread Lars Wendler
commit: 28be5f18b3d88aec60371cac87280699871864ac
Author: Lars Wendler  gentoo  org>
AuthorDate: Wed Dec 16 13:31:38 2015 +
Commit: Lars Wendler  gentoo  org>
CommitDate: Wed Dec 16 13:32:18 2015 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=28be5f18

net-ftp/pure-ftpd: Revbump to add libressl support (bug #565392).

Package-Manager: portage-2.2.26
Signed-off-by: Lars Wendler  gentoo.org>

 net-ftp/pure-ftpd/pure-ftpd-1.0.42-r1.ebuild | 144 +++
 1 file changed, 144 insertions(+)

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
new file mode 100644
index 000..70628ab
--- /dev/null
+++ b/net-ftp/pure-ftpd/pure-ftpd-1.0.42-r1.ebuild
@@ -0,0 +1,144 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+inherit eutils confutils flag-o-matic
+
+KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86"
+
+DESCRIPTION="Fast, production-quality, standard-conformant FTP server"
+HOMEPAGE="http://www.pureftpd.org/";
+SRC_URI="ftp://ftp.pureftpd.org/pub/${PN}/releases/${P}.tar.bz2
+   http://download.pureftpd.org/pub/${PN}/releases/${P}.tar.bz2";
+
+LICENSE="BSD"
+SLOT="0"
+
+IUSE="anondel anonperm anonren anonres caps charconv implicittls ldap libressl 
mysql noiplog pam paranoidmsg postgres resolveids selinux ssl sysquota vchroot 
xinetd"
+
+REQUIRED_USE="implicittls? ( ssl )"
+
+DEPEND="caps? ( sys-libs/libcap )
+   charconv? ( virtual/libiconv )
+   ldap? ( >=net-nds/openldap-2.0.25 )
+   mysql? ( virtual/mysql )
+   pam? ( virtual/pam )
+   postgres? ( dev-db/postgresql:= )
+   ssl? (
+   !libressl? ( >=dev-libs/openssl-0.9.6g:0=[-bindist] )
+   libressl? ( dev-libs/libressl:= )
+   )
+   sysquota? ( sys-fs/quota[-rpc] )
+   xinetd? ( virtual/inetd )"
+
+RDEPEND="${DEPEND}
+   dev-libs/libsodium:=
+   net-ftp/ftpbase
+   selinux? ( sec-policy/selinux-ftp )"
+
+src_prepare() {
+   epatch "${FILESDIR}"/${PN}-1.0.28-pam.patch
+}
+
+src_configure() {
+   # adjust max user length to something more appropriate
+   # for virtual hosts. See bug #62472 for details.
+   sed -e "s:# define MAX_USER_LENGTH 32U:# define MAX_USER_LENGTH 127U:" \
+   -i "${S}/src/ftpd.h" || die "sed failed"
+
+   local my_conf=""
+
+   # Let's configure the USE-enabled stuff
+   enable_extension_without"capabilities"  "caps"
+   enable_extension_with   "rfc2640"   "charconv"  
0
+   enable_extension_with   "ldap"  "ldap"  
0
+   enable_extension_with   "mysql" "mysql" 
0
+   enable_extension_with   "pam"   "pam"   
0
+   enable_extension_with   "paranoidmsg"   "paranoidmsg"   
0
+   enable_extension_with   "pgsql" "postgres"  
0
+   enable_extension_with   "tls"   "ssl"   
0
+   enable_extension_with   "implicittls"   "implicittls"   
0
+   enable_extension_with   "virtualchroot" "vchroot"   
0
+   enable_extension_with   "sysquotas" "sysquota"  
0
+   enable_extension_without"inetd" "xinetd"
+
+   # noiplog is a negative flag, we don't want that enabled by default,
+   # so we handle it manually, as confutils can't do that
+   use noiplog && my_conf="${my_conf} --without-iplogging"
+
+   # 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
+
+   econf \
+   --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 \
+   --enable-largefile \
+   ${my_conf}
+}
+
+src_install() {
+   emake DESTDIR="${D}" install
+
+   dodoc AUTHORS CONTACT ChangeLog FAQ HISTORY INSTALL README* NEWS
+
+   newconfd "${FIL

[gentoo-commits] repo/gentoo:master commit in: net-ftp/pure-ftpd/

2015-12-16 Thread Lars Wendler
commit: 4a40f4a1f16a50c7bdcca927ef605a988f5422f1
Author: Lars Wendler  gentoo  org>
AuthorDate: Wed Dec 16 13:25:27 2015 +
Commit: Lars Wendler  gentoo  org>
CommitDate: Wed Dec 16 13:32:15 2015 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4a40f4a1

net-ftp/pure-ftpd: Added slot-dependency on libsodium (bug #565076).

Package-Manager: portage-2.2.26
Signed-off-by: Lars Wendler  gentoo.org>

 net-ftp/pure-ftpd/pure-ftpd-1.0.40.ebuild | 2 +-
 net-ftp/pure-ftpd/pure-ftpd-1.0.41.ebuild | 2 +-
 net-ftp/pure-ftpd/pure-ftpd-1.0.42.ebuild | 2 +-
 3 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/net-ftp/pure-ftpd/pure-ftpd-1.0.40.ebuild 
b/net-ftp/pure-ftpd/pure-ftpd-1.0.40.ebuild
index cb050bd..4f7f4a6 100644
--- a/net-ftp/pure-ftpd/pure-ftpd-1.0.40.ebuild
+++ b/net-ftp/pure-ftpd/pure-ftpd-1.0.40.ebuild
@@ -30,7 +30,7 @@ DEPEND="caps? ( sys-libs/libcap )
xinetd? ( virtual/inetd )"
 
 RDEPEND="${DEPEND}
-   dev-libs/libsodium
+   dev-libs/libsodium:=
net-ftp/ftpbase
selinux? ( sec-policy/selinux-ftp )"
 

diff --git a/net-ftp/pure-ftpd/pure-ftpd-1.0.41.ebuild 
b/net-ftp/pure-ftpd/pure-ftpd-1.0.41.ebuild
index 8e0c1a2..e82095d 100644
--- a/net-ftp/pure-ftpd/pure-ftpd-1.0.41.ebuild
+++ b/net-ftp/pure-ftpd/pure-ftpd-1.0.41.ebuild
@@ -30,7 +30,7 @@ DEPEND="caps? ( sys-libs/libcap )
xinetd? ( virtual/inetd )"
 
 RDEPEND="${DEPEND}
-   dev-libs/libsodium
+   dev-libs/libsodium:=
net-ftp/ftpbase
selinux? ( sec-policy/selinux-ftp )"
 

diff --git a/net-ftp/pure-ftpd/pure-ftpd-1.0.42.ebuild 
b/net-ftp/pure-ftpd/pure-ftpd-1.0.42.ebuild
index 8e0c1a2..e82095d 100644
--- a/net-ftp/pure-ftpd/pure-ftpd-1.0.42.ebuild
+++ b/net-ftp/pure-ftpd/pure-ftpd-1.0.42.ebuild
@@ -30,7 +30,7 @@ DEPEND="caps? ( sys-libs/libcap )
xinetd? ( virtual/inetd )"
 
 RDEPEND="${DEPEND}
-   dev-libs/libsodium
+   dev-libs/libsodium:=
net-ftp/ftpbase
selinux? ( sec-policy/selinux-ftp )"