[arch-commits] CVS update of arch/build/daemons/openssh (PKGBUILD)

Tobias Powalowski tpowa at archlinux.org
Sun May 27 07:55:56 UTC 2007


    Date: Sunday, May 27, 2007 @ 03:55:56
  Author: tpowa
    Path: /home/cvs-arch/arch/build/daemons/openssh

Modified: PKGBUILD (1.57 -> 1.58)

'upgpkg: fixed config file'


----------+
 PKGBUILD |    9 +++++----
 1 file changed, 5 insertions(+), 4 deletions(-)


Index: arch/build/daemons/openssh/PKGBUILD
diff -u arch/build/daemons/openssh/PKGBUILD:1.57 arch/build/daemons/openssh/PKGBUILD:1.58
--- arch/build/daemons/openssh/PKGBUILD:1.57	Sun May 27 03:50:32 2007
+++ arch/build/daemons/openssh/PKGBUILD	Sun May 27 03:55:56 2007
@@ -1,4 +1,4 @@
-# $Id: PKGBUILD,v 1.57 2007/05/27 07:50:32 tpowa Exp $
+# $Id: PKGBUILD,v 1.58 2007/05/27 07:55:56 tpowa Exp $
 # Maintainer: judd <jvinet at zeroflux.org>
 pkgname=openssh
 pkgver=4.6p1
@@ -31,10 +31,11 @@
     -e 's|^#ListenAddress 0.0.0.0|ListenAddress 0.0.0.0|g' \
     -e 's|^#UsePAM no|UsePAM yes|g' \
     -e 's|^#ChallengeResponseAuthentication yes|ChallengeResponseAuthentication no|g' \
-    -e 's|^# Host \*|Host *|g' \
     $startdir/pkg/etc/ssh/sshd_config
-    echo "HashKnownHosts yes" >>  $startdir/pkg/etc/ssh/sshd_config
-    echo "StrictHostKeyChecking ask" >>  $startdir/pkg/etc/ssh/sshd_config
+    sed -i -e 's|^# Host \*|Host *|g' \
+    $startdir/pkg/etc/ssh/ssh_config
+    echo "HashKnownHosts yes" >>  $startdir/pkg/etc/ssh/ssh_config
+    echo "StrictHostKeyChecking ask" >>  $startdir/pkg/etc/ssh/ssh_config
     rm $startdir/pkg/usr/man/man1/slogin.1
     ln -sf ssh.1.gz $startdir/pkg/usr/man/man1/slogin.1.gz
 }




More information about the arch-commits mailing list