Browse Source

enable ipv6, remove unused configure option

Waldemar Brodkorb 10 years ago
parent
commit
82a736085b
2 changed files with 4 additions and 5 deletions
  1. 1 3
      package/openssh/Makefile
  2. 3 2
      package/openssh/files/sshd_config

+ 1 - 3
package/openssh/Makefile

@@ -5,7 +5,7 @@ include ${ADK_TOPDIR}/rules.mk
 
 PKG_NAME:=		openssh
 PKG_VERSION:=		6.7p1
-PKG_RELEASE:=		3
+PKG_RELEASE:=		4
 PKG_HASH:=		b2f8394eae858dabbdef7dac10b99aec00c95462753e80342e530bbb6f725507
 PKG_DESCR:=		secure shell implementation
 PKG_SECTION:=		net/security
@@ -85,14 +85,12 @@ CONFIGURE_ARGS+=	--disable-strip \
 			--without-bsd-auth \
 			--without-rpath \
 			--without-pam \
-			--without-x \
 			--without-zlib-version-check \
 			--sysconfdir=/etc/ssh \
 			--with-privsep-user=sshd \
 			--with-privsep-path=/var/run/sshd \
 			--with-ssl-dir="${STAGING_TARGET_DIR}/usr"
 
-
 openssh-install:
 	${INSTALL_DIR} ${IDIR_OPENSSH}/etc/ssh
 	chmod 0700 ${IDIR_OPENSSH}/etc/ssh

+ 3 - 2
package/openssh/files/sshd_config

@@ -12,7 +12,8 @@
 
 #Port 22
 #AddressFamily any
-ListenAddress 0.0.0.0
+# uncomment next line to disable ipv6
+#ListenAddress 0.0.0.0
 #ListenAddress ::
 
 # Disable legacy (protocol version 1) support in the server for new
@@ -94,7 +95,7 @@ UsePrivilegeSeparation yes
 #Compression delayed
 #ClientAliveInterval 0
 #ClientAliveCountMax 3
-#UseDNS yes
+UseDNS no
 #PidFile /var/run/sshd.pid
 #MaxStartups 10
 #PermitTunnel no