summaryrefslogtreecommitdiff
path: root/dropbear
diff options
context:
space:
mode:
authorJuergen Daubert <jue@jue.li>2022-02-16 17:35:25 +0100
committerJuergen Daubert <jue@jue.li>2022-02-16 17:35:25 +0100
commit4a1917a9a128c2dcead0929cf23db05e999c0f0e (patch)
treea613c33c55e31251cf4ce4e6ac1a15b13d280757 /dropbear
parenta02cc1b4a74cbe76bca7dfa1c96b8b3682c692a9 (diff)
downloadopt-4a1917a9a128c2dcead0929cf23db05e999c0f0e.tar.gz
opt-4a1917a9a128c2dcead0929cf23db05e999c0f0e.tar.xz
dropbear: move pidfile to /run
Diffstat (limited to 'dropbear')
-rw-r--r--dropbear/.signature6
-rw-r--r--dropbear/Pkgfile3
-rw-r--r--dropbear/dropbear.rc2
3 files changed, 6 insertions, 5 deletions
diff --git a/dropbear/.signature b/dropbear/.signature
index ee3dad9a9..169c0276d 100644
--- a/dropbear/.signature
+++ b/dropbear/.signature
@@ -1,7 +1,7 @@
untrusted comment: verify with /etc/ports/opt.pub
-RWSE3ohX2g5d/dca4jCzCpCfuAWsWhODpNC5Ks2EGpuYu/yjodnRS3VYjS4hEq2JdPMcEnrte6x6cxrrI9cbHk8achTLMhGg4Qs=
-SHA256 (Pkgfile) = 33b046761053b5bf399aae889831d5f906e4e9df886a9e5978d7b04a8f30c730
+RWSE3ohX2g5d/TfzHzAaiiC0JuJY2kpN/XOcCik/0eNfL6bTnVCUQWiKxXpy2xaUccqnttxEycTA7vaAtIeaP1TX3SU7Q5VbiwU=
+SHA256 (Pkgfile) = 621bbc03dc0ca577e6b18944a685f6c39822d5a746d2e3c276255c8099956b3e
SHA256 (.footprint) = 5d47799d69d21b860be70eb9e767298617679bcee2140d245cbc74f4a2a4502e
SHA256 (dropbear-2020.81.tar.bz2) = 48235d10b37775dbda59341ac0c4b239b82ad6318c31568b985730c788aac53b
-SHA256 (dropbear.rc) = 058090551dce466c7e61ff497d55bf97af02fac13b895dcbc69dabf186020965
+SHA256 (dropbear.rc) = 059735e1953540f74142131918112fb92aa0b7e112f48863f13cb1ed0d11fe61
SHA256 (dropbear.pam) = 0c0aff342e586e64f2d2a814ef127a2748b223e746c3efccfccc91a5aadbce4a
diff --git a/dropbear/Pkgfile b/dropbear/Pkgfile
index 92faddeb7..0edd0aff1 100644
--- a/dropbear/Pkgfile
+++ b/dropbear/Pkgfile
@@ -5,7 +5,7 @@
name=dropbear
version=2020.81
-release=2
+release=3
source=(https://matt.ucc.asn.au/$name/releases/$name-$version.tar.bz2 \
dropbear.rc dropbear.pam)
@@ -17,6 +17,7 @@ build() {
echo '#define SFTPSERVER_PATH "/usr/lib/ssh/sftp-server"' > localoptions.h
echo '#define DROPBEAR_SVR_PASSWORD_AUTH 0' >> localoptions.h
echo '#define DROPBEAR_SVR_PAM_AUTH 1' >> localoptions.h
+ echo '#define DROPBEAR_PIDFILE "/run/dropbear.pid"' >> localoptions.h
./configure --prefix=/usr --enable-pam
make
diff --git a/dropbear/dropbear.rc b/dropbear/dropbear.rc
index ead543baf..bef7bcd91 100644
--- a/dropbear/dropbear.rc
+++ b/dropbear/dropbear.rc
@@ -5,7 +5,7 @@
SSD=/sbin/start-stop-daemon
PROG=/usr/sbin/dropbear
-PID=/var/run/dropbear.pid
+PID=/run/dropbear.pid
KEYG=/usr/bin/dropbearkey

Generated by cgit