From d089f6a6e210a4b4dfbcb435c94200171c28423e Mon Sep 17 00:00:00 2001
From: Cecil Hugh Watson <knoppmyth@gmail.com>
Date: Fri, 27 Feb 2009 21:31:46 -0800
Subject: Protect users from themselves.

---
 abs/core-testing/openssh/PKGBUILD         | 8 +++++---
 abs/core-testing/openssh/sshd_config.diff | 0
 2 files changed, 5 insertions(+), 3 deletions(-)
 create mode 100644 abs/core-testing/openssh/sshd_config.diff

diff --git a/abs/core-testing/openssh/PKGBUILD b/abs/core-testing/openssh/PKGBUILD
index 3313676..81bc2a0 100644
--- a/abs/core-testing/openssh/PKGBUILD
+++ b/abs/core-testing/openssh/PKGBUILD
@@ -4,7 +4,7 @@
 
 pkgname=openssh
 pkgver=5.1p1
-pkgrel=2
+pkgrel=3
 #_gsskexver=20080404
 pkgdesc='A Secure SHell server/client'
 arch=(i686 x86_64)
@@ -13,13 +13,15 @@ url="http://www.openssh.org/portable.html"
 backup=('etc/ssh/ssh_config' 'etc/ssh/sshd_config' 'etc/pam.d/sshd')
 depends=('openssl>=0.9.8g' 'zlib' 'pam' 'tcp_wrappers' 'heimdal>=1.2-1')
 source=(ftp://ftp.openbsd.org/pub/OpenBSD/OpenSSH/portable/$pkgname-$pkgver.tar.gz
-        sshd sshd.confd sshd.pam)
+        sshd sshd.confd sshd.pam sshd_config.diff)
         #http://www.sxw.org.uk/computing/patches/$pkgname-$pkgver-gsskex-$_gsskexver.patch
 md5sums=('03f2d0c1b5ec60d4ac9997a146d2faec' 'd9ee5e0a0d143689b3d6f11454a2a892'
-         'e2cea70ac13af7e63d40eb04415eacd5' '1c7c2ea8734ec7e3ca58d820634dc73a')
+         'e2cea70ac13af7e63d40eb04415eacd5' '1c7c2ea8734ec7e3ca58d820634dc73a'
+	 'd41d8cd98f00b204e9800998ecf8427e')
 
 build() {
   cd $startdir/src/$pkgname-$pkgver
+  patch -p1 < ../sshd_config.diff
   #patch -up0 < $startdir/src/$pkgname-$pkgver-gsskex-$_gsskexver.patch
 
   #NOTE we disable-strip so that makepkg can decide whether to strip or not
diff --git a/abs/core-testing/openssh/sshd_config.diff b/abs/core-testing/openssh/sshd_config.diff
new file mode 100644
index 0000000..e69de29
-- 
cgit v0.12

