[arch-commits] Commit in openssh/trunk (PKGBUILD sshd)
Thomas Bächler
thomas at archlinux.org
Thu Oct 29 18:41:57 UTC 2009
Date: Thursday, October 29, 2009 @ 14:41:57
Author: thomas
Revision: 56859
Add create /var/empty if it doesn't exist. This works around 16886 for sshd, and should be done anyway, as the existence of that directory is critical
Modified:
openssh/trunk/PKGBUILD
openssh/trunk/sshd
----------+
PKGBUILD | 4 ++--
sshd | 1 +
2 files changed, 3 insertions(+), 2 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2009-10-29 00:26:18 UTC (rev 56858)
+++ PKGBUILD 2009-10-29 18:41:57 UTC (rev 56859)
@@ -4,7 +4,7 @@
pkgname=openssh
pkgver=5.3p1
-pkgrel=1
+pkgrel=2
#_gsskexver=20080404
pkgdesc='A Secure SHell server/client'
arch=('i686' 'x86_64')
@@ -15,7 +15,7 @@
source=(ftp://ftp.openbsd.org/pub/OpenBSD/OpenSSH/portable/$pkgname-$pkgver.tar.gz
sshd sshd.confd sshd.pam)
#http://www.sxw.org.uk/computing/patches/$pkgname-$pkgver-gsskex-$_gsskexver.patch
-md5sums=('13563dbf61f36ca9a1e4254260131041' 'd9ee5e0a0d143689b3d6f11454a2a892'
+md5sums=('13563dbf61f36ca9a1e4254260131041' 'e8a3b7a3e3ace43eeb1f28a7c93fa15d'
'e2cea70ac13af7e63d40eb04415eacd5' '1c7c2ea8734ec7e3ca58d820634dc73a')
build() {
Modified: sshd
===================================================================
--- sshd 2009-10-29 00:26:18 UTC (rev 56858)
+++ sshd 2009-10-29 18:41:57 UTC (rev 56859)
@@ -11,6 +11,7 @@
[ -f /etc/ssh/ssh_host_key ] || { /usr/bin/ssh-keygen -t rsa1 -N "" -f /etc/ssh/ssh_host_key >/dev/null; }
[ -f /etc/ssh/ssh_host_rsa_key ] || { /usr/bin/ssh-keygen -t rsa -N "" -f /etc/ssh/ssh_host_rsa_key >/dev/null; }
[ -f /etc/ssh/ssh_host_dsa_key ] || { /usr/bin/ssh-keygen -t dsa -N "" -f /etc/ssh/ssh_host_dsa_key >/dev/null; }
+ [ -d /var/empty ] || mkdir -p /var/empty
[ -z "$PID" ] && /usr/sbin/sshd $SSHD_ARGS
if [ $? -gt 0 ]; then
stat_fail
More information about the arch-commits
mailing list