]> hackdaworld.org Git - hdw-linux/hdw-linux.git/commitdiff
updated openssh, openssl, zlib
authorhackbard <hackbard>
Sun, 5 Jun 2005 23:51:21 +0000 (23:51 +0000)
committerhackbard <hackbard>
Sun, 5 Jun 2005 23:51:21 +0000 (23:51 +0000)
doc/CHANGELOG
packages/base/zlib/zlib
packages/security/openssh/openssh
packages/security/openssh/openssh.setup
packages/security/openssl/openssl

index 56345ee6f54d52a254e31302a39eebce7a583b61..26d988577299ff11e4730224657f5884bfa9b6be 100644 (file)
@@ -1,3 +1,7 @@
+*) 2005-06-06
+
+- updated openssh, openssl, zlib
+
 *) 2005-06-05
 
 - added pcre and gpsdrive package
index 1e1037c9611bcbf9e40bd575488edfc81a6b835c..09474312bbfb54a970ef478cb0001d6c3318a2c2 100644 (file)
@@ -2,21 +2,21 @@
 #
 # author: hackbard@hackdaworld.dyndns.org
 #
-# [V] 1.2.1
+# [V] 1.2.2
 # [S] 2-6
-# [D] zlib-1.2.1.tar.bz2 http://unc.dl.sourceforge.net/sourceforge/libpng/
+# [D] zlib-1.2.2.tar.bz2 http://www.gzip.org/zlib/
 
-confopt="--prefix=$root/usr --shared"
+confopt="--prefix=$root/usr --shared --libdir=$root/lib"
 export CFLAGS="$CFLAGS -fPIC"
+flist_pruned="$flist_pruned|etc/ld.so.cache"
 
 post_install() {
-       unset AR
        # build static libs
        make clean &&
        ./configure --prefix=$root/usr
        make && make install
        chmod 644 $prefix/lib/libz.a
-       # move shared to corect location
-       mv $prefix/lib/libz.so.* $root/lib
-       ln -sf ../../lib/libz.so.1 $prefix/lib/libz.so
+       # corect location
+       rm $root/lib/libz.so
+       ln -svf ../../lib/libz.so.1 $prefix/lib/libz.so
                }
index bb751ad6f232ecdb439a43a4bec104c572e461ba..5690e8e22e1fbb8a49617ff3251b703e31484691 100644 (file)
@@ -3,28 +3,14 @@
 # author: hackbard
 
 # [S] 3-2
-# [V] 3.8p1
-# [D] openssh-3.8p1.tar.gz ftp://ftp.openbsd.org/pub/OpenBSD/OpenSSH/portable/
+# [V] 4.1p1
+# [D] openssh-4.1p1.tar.gz ftp://ftp.openbsd.org/pub/OpenBSD/OpenSSH/portable/
 
 flist_pruned="${flist_pruned}|etc/shadow|etc/passwd|etc/group"
-
-pre_install()  {
-       export LD=gcc
-       useradd -u 1025 -c 'sshd server' sshd || true
-               }
+flist_pruned="${flist_pruned}|etc/ssh/ssh_host"
 
 confopt="$confopt --with-md5-passwords --without-pam --with-tcp-wrappers \
                --disable-suid-ssh --with-xauth=/usr/X11R6/bin/xauth \
                --sysconfdir=$root/etc/ssh"
 
 install_conf="$install_conf install-nokeys"
-
-post_install() {
-       # ssh host key
-       echo "creating ssh host keys ..."
-       [ ! -f $root/etc/ssh_host_dsa_key ] && \
-       $root/usr/bin/ssh-keygen -d -b 1024 -f $root//etc/ssh_host_dsa_key -N ""
-       [ ! -f $root/etc/ssh_host_key ] && \
-       $root/usr/bin/ssh-keygen -d -b 1024 -f $root/etc/ssh_host_key -N ""
-       echo "done. "
-               }
index 603bbb1824cb3f4ccab70aa5ada2514ebc7c407e..aff725c0f425ab5296dd28af08159161289c348b 100644 (file)
@@ -1,5 +1,11 @@
 setup_block()  {
        useradd -u 1025 -c 'sshd server' sshd || true
+       echo "creating ssh host keys ..."
+       /usr/bin/ssh-keygen -t dsa -b 1024 \
+               -f /etc/ssh/ssh_host_dsa_key -N ""
+       /usr/bin/ssh-keygen -t rsa -b 1024 \
+               -f /etc/ssh/ssh_host_rsa_key -N ""
+       echo "done. "
                }
 
 uninstall_block()      {
index b55a8b2c3dd1a4db2ca7e3e28f551845215b0105..bd8f4dd6d8496a94042ec9604f0ed013a70dd110 100644 (file)
@@ -3,8 +3,8 @@
 # author: hackbard
 
 # [S] 3-1
-# [V] 0.9.7d
-# [D] openssl-0.9.7d.tar.gz http://www.openssl.org/source/
+# [V] 0.9.7g
+# [D] openssl-0.9.7g.tar.gz http://www.openssl.org/source/
 
 build_main()   {
        case "$hdw_arch_opt" in