summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorCecil Hugh Watson <knoppmyth@gmail.com>2009-02-28 05:31:46 (GMT)
committerCecil Hugh Watson <knoppmyth@gmail.com>2009-02-28 05:31:46 (GMT)
commitd089f6a6e210a4b4dfbcb435c94200171c28423e (patch)
tree73c577edae8c246a2e94f1373aee6c301f509ccb
parented69836be7b1bc2d484b6d775d9495ae51b36bae (diff)
downloadlinhes_pkgbuild-d089f6a6e210a4b4dfbcb435c94200171c28423e.zip
linhes_pkgbuild-d089f6a6e210a4b4dfbcb435c94200171c28423e.tar.gz
linhes_pkgbuild-d089f6a6e210a4b4dfbcb435c94200171c28423e.tar.bz2
Protect users from themselves.
-rw-r--r--abs/core-testing/openssh/PKGBUILD8
-rw-r--r--abs/core-testing/openssh/sshd_config.diff0
2 files changed, 5 insertions, 3 deletions
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
--- /dev/null
+++ b/abs/core-testing/openssh/sshd_config.diff