summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorConrad Kostecki <conikost@gentoo.org>2022-04-16 22:53:11 +0200
committerConrad Kostecki <conikost@gentoo.org>2022-04-16 22:53:11 +0200
commit224a3cd276de4fbce8b217bd11f122db28d7136f (patch)
treee707585ea7f9e8f8213eed0c0b731abf5986a9f9 /net-ftp
parentwww-client/chromium: security cleanup (diff)
downloadgentoo-224a3cd276de4fbce8b217bd11f122db28d7136f.tar.gz
gentoo-224a3cd276de4fbce8b217bd11f122db28d7136f.tar.bz2
gentoo-224a3cd276de4fbce8b217bd11f122db28d7136f.zip
net-ftp/pure-ftpd: fix non-posix script
Closes: https://bugs.gentoo.org/838844 Signed-off-by: Conrad Kostecki <conikost@gentoo.org>
Diffstat (limited to 'net-ftp')
-rw-r--r--net-ftp/pure-ftpd/files/pure-uploadscript.initd-r1 (renamed from net-ftp/pure-ftpd/files/pure-uploadscript.initd)2
-rw-r--r--net-ftp/pure-ftpd/pure-ftpd-1.0.50-r3.ebuild (renamed from net-ftp/pure-ftpd/pure-ftpd-1.0.50-r2.ebuild)2
-rw-r--r--net-ftp/pure-ftpd/pure-ftpd-9999.ebuild2
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
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
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-9999.ebuild b/net-ftp/pure-ftpd/pure-ftpd-9999.ebuild
index 3d32b367c5cd..262899d4e207 100644
--- a/net-ftp/pure-ftpd/pure-ftpd-9999.ebuild
+++ b/net-ftp/pure-ftpd/pure-ftpd-9999.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