summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLeonardo Arena <rnalrd@alpinelinux.org>2013-08-23 14:51:17 +0000
committerLeonardo Arena <rnalrd@alpinelinux.org>2013-08-23 14:51:17 +0000
commitbde44dcc7025bb8dacfb8b9b61b9b8fb642a86e2 (patch)
treeb6a047a8157913124e6d0a0b410d5c7906d0c8cb
parentdb2fc439f3c9f360a9beb7200bb7dc4345b116e0 (diff)
downloadaports-bde44dcc7025bb8dacfb8b9b61b9b8fb642a86e2.tar.bz2
aports-bde44dcc7025bb8dacfb8b9b61b9b8fb642a86e2.tar.xz
main/openssh: disable reverse DNS lookup
-rw-r--r--main/openssh/APKBUILD3
1 files changed, 2 insertions, 1 deletions
diff --git a/main/openssh/APKBUILD b/main/openssh/APKBUILD
index 1384c2c10..8950a088f 100644
--- a/main/openssh/APKBUILD
+++ b/main/openssh/APKBUILD
@@ -2,7 +2,7 @@
pkgname=openssh
pkgver=6.2_p2
_myver=${pkgver%_*}${pkgver#*_}
-pkgrel=0
+pkgrel=1
pkgdesc="Port of OpenBSD's free SSH release"
url="http://www.openssh.org/portable.html"
arch="all"
@@ -72,6 +72,7 @@ package() {
"$pkgdir"/etc/conf.d/sshd || return 1
install -Dm644 "$_builddir"/contrib/ssh-copy-id.1 \
"$pkgdir"/usr/share/man/man1/ssh-copy-id.1 || return 1
+ sed -i 's/#UseDNS yes/UseDNS no/' "$pkgdir"/etc/ssh/sshd_config
}
client() {