summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2018-06-08 20:26:21 -0400
committerMike Frysinger <vapier@gentoo.org>2018-06-08 20:26:41 -0400
commitcdf3dddb4afcf2022d35e9f88f03003bdc6a2469 (patch)
treeec8cf8b09976f1c8e5c42b3b0eeb7325c6b43c92 /net-misc/dropbear
parentdev-python/vobject: added arm64 keyword (diff)
downloadgentoo-cdf3dddb4afcf2022d35e9f88f03003bdc6a2469.tar.gz
gentoo-cdf3dddb4afcf2022d35e9f88f03003bdc6a2469.tar.bz2
gentoo-cdf3dddb4afcf2022d35e9f88f03003bdc6a2469.zip
net-misc/dropbear: update config header #652934
Closes: https://bugs.gentoo.org/652934
Diffstat (limited to 'net-misc/dropbear')
-rw-r--r--net-misc/dropbear/dropbear-2018.76.ebuild8
1 files changed, 4 insertions, 4 deletions
diff --git a/net-misc/dropbear/dropbear-2018.76.ebuild b/net-misc/dropbear/dropbear-2018.76.ebuild
index f73f40c403a4..a3ec3a6212d2 100644
--- a/net-misc/dropbear/dropbear-2018.76.ebuild
+++ b/net-misc/dropbear/dropbear-2018.76.ebuild
@@ -38,13 +38,13 @@ set_options() {
src_prepare() {
epatch "${FILESDIR}"/${PN}-0.46-dbscp.patch
- sed -i \
+ sed \
-e '/SFTPSERVER_PATH/s:".*":"/usr/lib/misc/sftp-server":' \
- options.h || die
+ default_options.h > localoptions.h || die
sed -i \
-e '/pam_start/s:sshd:dropbear:' \
svr-authpam.c || die
- restore_config options.h
+ restore_config localoptions.h
}
src_configure() {
@@ -86,7 +86,7 @@ src_install() {
dosym ../bin/dropbearmulti /usr/sbin/dropbear
cd "${S}"
fi
- save_config options.h
+ save_config localoptions.h
if ! use minimal ; then
mv "${ED}"/usr/bin/{,db}scp || die