r79 - in trunk: . packages/openssh

jhuntwork at linuxfromscratch.org jhuntwork at linuxfromscratch.org
Fri Apr 15 17:18:50 PDT 2005


Author: jhuntwork
Date: 2005-04-15 18:18:50 -0600 (Fri, 15 Apr 2005)
New Revision: 79

Modified:
   trunk/Makefile
   trunk/packages/openssh/Makefile
Log:
Upgraded OpenSSH

Modified: trunk/Makefile
===================================================================
--- trunk/Makefile	2005-04-16 00:04:57 UTC (rev 78)
+++ trunk/Makefile	2005-04-16 00:18:50 UTC (rev 79)
@@ -1286,7 +1286,6 @@
 	@sed -i "s/Version:/Version: $(VERSION)/" $(MP)/etc/issue
 	@install -m755 scripts/{net-setup,greeting,ll} $(MP)/usr/bin/
 	@-mv $(MP)/bin/uname.real $(MP)/bin/uname
-	@-mkdir $(MP)/etc/sysconfig/network-devices/ifconfig.eth0
 	@-mkdir $(MP)/iso
 	@for i in bin boot etc lib sbin sources ; do cp -ra $(MP)/$$i $(MP)/iso ; done && \
 	 cd $(MP) && tar cjvf etc.tar.bz2 etc && cp etc.tar.bz2 iso/ && \

Modified: trunk/packages/openssh/Makefile
===================================================================
--- trunk/packages/openssh/Makefile	2005-04-16 00:04:57 UTC (rev 78)
+++ trunk/packages/openssh/Makefile	2005-04-16 00:18:50 UTC (rev 79)
@@ -2,7 +2,7 @@
 
 # Package versions
 NM= openssh
-VRS= 3.9p1
+VRS= 4.0p1
 DIR= $(NM)-$(VRS)
 FILE= $(DIR).tar.gz
 URL= http://sunsite.ualberta.ca/pub/OpenBSD/OpenSSH/portable/$(FILE)
@@ -23,11 +23,13 @@
 	@if [ ! -d /var/empty ] ; then mkdir /var/empty ; fi
 	@hostname $(HOSTNAME)
 	@if [ ! -f /usr/bin/ssh ] ; then tar xzvf $(FILE) && cd $(DIR) && \
-	 chown root:sys /var/empty && \
+	 install -v -d -m700 /var/lib/sshd && \
+	 chown root:sys /var/lib/sshd && \
 	 groupadd sshd && \
-	 useradd -c 'sshd privsep' -d /var/empty -g sshd -s /bin/false sshd && \
+	 useradd -c 'sshd PrivSep' -d /var/lib/sshd -g sshd -s /bin/false sshd \
 	 sed -i "s:-lcrypto:/usr/lib/libcrypto.a:g" configure && \
-	 ./configure --prefix=/usr --sysconfdir=/etc/ssh --libexecdir=/usr/sbin --with-md5-passwords && \
+	 ./configure --prefix=/usr --sysconfdir=/etc/ssh --libexecdir=/usr/sbin --with-md5-passwords \
+	 --with-privsep-path=/var/lib/sshd && \
 	 make -j3 && make install ; fi
 	@make clean
 	@hostname $(HOSTORIG)




More information about the livecd mailing list