commit:     bed5af0dbc0b5cb7bb17d2b6eb6415b2c20734ce
Author:     Lars Wendler <polynomial-c <AT> gentoo <DOT> org>
AuthorDate: Sun Nov 24 13:49:16 2019 +0000
Commit:     Lars Wendler <polynomial-c <AT> gentoo <DOT> org>
CommitDate: Sun Nov 24 13:51:26 2019 +0000
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 <polynomial-c <AT> gentoo.org>

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

diff --git a/net-ftp/pure-ftpd/pure-ftpd-9999.ebuild 
b/net-ftp/pure-ftpd/pure-ftpd-1.0.49-r1.ebuild
similarity index 93%
copy from net-ftp/pure-ftpd/pure-ftpd-9999.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-9999.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-9999.ebuild 
b/net-ftp/pure-ftpd/pure-ftpd-9999.ebuild
index 5f4d78cdd36..d1be10cc99f 100644
--- a/net-ftp/pure-ftpd/pure-ftpd-9999.ebuild
+++ b/net-ftp/pure-ftpd/pure-ftpd-9999.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

Reply via email to