+*) 2005-06-06
+
+- updated openssh, openssl, zlib
+
*) 2005-06-05
- added pcre and gpsdrive package
#
# 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
}
# 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. "
- }
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() {
# 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