summaryrefslogtreecommitdiff
path: root/pure-ftpd
diff options
context:
space:
mode:
authorJuergen Daubert <jue@jue.li>2022-02-23 18:55:28 +0100
committerJuergen Daubert <jue@jue.li>2022-02-23 18:55:28 +0100
commit491b4c98799c6f5a18aff462509ecb2e18ff4ccf (patch)
treec0f5cc659065f523f7f638692d42ac2421031aaa /pure-ftpd
parentd3e6fb1134aecba2d392591a73c2813ed40cde8f (diff)
downloadopt-491b4c98799c6f5a18aff462509ecb2e18ff4ccf.tar.gz
opt-491b4c98799c6f5a18aff462509ecb2e18ff4ccf.tar.xz
pure-ftpd: move pidfile to /run
Diffstat (limited to 'pure-ftpd')
-rw-r--r--pure-ftpd/.signature6
-rw-r--r--pure-ftpd/Pkgfile4
-rw-r--r--pure-ftpd/pure-ftpd.rc2
3 files changed, 7 insertions, 5 deletions
diff --git a/pure-ftpd/.signature b/pure-ftpd/.signature
index a0812170e..1bf52f131 100644
--- a/pure-ftpd/.signature
+++ b/pure-ftpd/.signature
@@ -1,7 +1,7 @@
untrusted comment: verify with /etc/ports/opt.pub
-RWSE3ohX2g5d/cmfrZ5PS6v/LCPOg+5vU3OqgPWkTN6ygmbNZFmyJ4tgZq1cyv/vdPy36uiwpjKesNBCS7VaISAJho0rmggHEQk=
-SHA256 (Pkgfile) = 75f35f7075be7a3846153bc86c2118a42210263909887fe503b489dae62008aa
+RWSE3ohX2g5d/XxnylriY922ImGQNKrdgw60cWo0CyVihpXQMcUGViFvSs2FxypVQ3qAs3PdlB+vurKT8LdekFvPKEx4RMq7Cw0=
+SHA256 (Pkgfile) = 370a7204e9056d8c3cc8493a3547c02aa507460fd5ce419334a54b04289393f3
SHA256 (.footprint) = 34f63cda354c7a0f1ac55d24516b692430aaafe6ed57ecbb9b35ace29699fac1
SHA256 (pure-ftpd-1.0.50.tar.bz2) = 6722c7fd09fe3c9ebbd572f3d097087ec7b32aacb3df8fa3400d4c07e4f377d7
-SHA256 (pure-ftpd.rc) = 3d6bb818cc8a314c64373072807b1f33afa2e6bd53e7ce82884d85c2ce22627e
+SHA256 (pure-ftpd.rc) = 9c442c433ba9a6ce31d2e96ab2a1ae67970e25d6b9f241afec000758f36c7b68
SHA256 (pure-ftpd.pam) = 02a3df52f4def696786cc89a6fe492fd8f1bb2e0c34833abf5659b91c929255b
diff --git a/pure-ftpd/Pkgfile b/pure-ftpd/Pkgfile
index 2ab545471..b5f681836 100644
--- a/pure-ftpd/Pkgfile
+++ b/pure-ftpd/Pkgfile
@@ -5,7 +5,7 @@
name=pure-ftpd
version=1.0.50
-release=1
+release=2
source=(https://download.pureftpd.org/$name/releases/$name-$version.tar.bz2 \
pure-ftpd.rc pure-ftpd.pam)
@@ -30,5 +30,7 @@ build() {
install -m 644 pam/ftpusers $PKG/etc/
install -m 644 pure-ftpd.conf $PKG/etc/
+ sed '/PIDFile/c PIDFile /run/pure-ftpd.pid' -i $PKG/etc/pure-ftpd.conf
+
rm -r $PKG/usr/share/doc
}
diff --git a/pure-ftpd/pure-ftpd.rc b/pure-ftpd/pure-ftpd.rc
index 74d142075..312a0d50a 100644
--- a/pure-ftpd/pure-ftpd.rc
+++ b/pure-ftpd/pure-ftpd.rc
@@ -5,7 +5,7 @@
SSD=/sbin/start-stop-daemon
PROG=/usr/sbin/pure-ftpd
-PID=/var/run/pure-ftpd.pid
+PID=/run/pure-ftpd.pid
CRT=/etc/ssl/certs/pure-ftpd.pem
OPTS="/etc/pure-ftpd.conf"

Generated by cgit