From 06f9562730b8ab3c68789a36a77c720ae3f30418 Mon Sep 17 00:00:00 2001 From: "Tom G. Christensen" Date: Fri, 14 May 2004 08:21:58 +0000 Subject: [PATCH] Updated to 3.8.1p1 upstream Add depend file Converted to pkgdef style Removed obsolete pkginfo.in --- openssh/build.sh | 22 +++++++++++----------- openssh/meta/pkginfo.in | 11 ----------- 2 files changed, 11 insertions(+), 22 deletions(-) delete mode 100644 openssh/meta/pkginfo.in diff --git a/openssh/build.sh b/openssh/build.sh index ee8f300..529bbee 100755 --- a/openssh/build.sh +++ b/openssh/build.sh @@ -8,7 +8,7 @@ # # Check the following 4 variables before running the script topdir=openssh -version=3.7.1p2 +version=3.8.1p1 pkgver=1 source[0]=$topdir-$version.tar.gz # If there are no patches, simply comment this @@ -39,8 +39,12 @@ prep() reg build build() { + # Use prngd socket (For Solaris 2.6,7 & 8 without patch 112438) + #ENTROPY="--with-prngd-socket=/var/run/egd-pool" + # Use /dev/random (For Solaris 9 & 8 with patch 112438) + ENTROPY="--without-prngd --without-rand-helper" setdir source - ./configure --prefix=$prefix --with-prngd-socket=/var/run/egd-pool --with-default-path=/usr/bin:/usr/local/bin:/opt/sfw/bin --with-mantype=cat --with-pam --disable-suid-ssh --without-rsh --with-privsep-user=sshd --with-superuser-path=/usr/bin:/usr/sbin:/usr/local/bin + ./configure --prefix=$prefix $ENTROPY --with-default-path=/usr/bin:/usr/local/bin --with-mantype=cat --with-pam --disable-suid-ssh --without-rsh --with-privsep-user=sshd --with-superuser-path=/usr/bin:/usr/sbin:/usr/local/bin --with-lastlog=/var/adm/lastlog --without-zlib-version-check $MAKE_PROG } @@ -51,19 +55,15 @@ install() setdir source $MAKE_PROG DESTDIR=$stagedir install-nokeys strip -} + setdir $stagedir$prefix/etc + for i in *; do mv $i $i.default; done + cp -p $srcdir/sshd.init $stagedir/usr/local/etc + } reg pack pack() { - clean meta - pack_info - setdir $stagedir$prefix/etc - for i in *; do mv $i $i.default; done - cp -p $srcdir/sshd.init $stagedir/usr/local/etc - setdir $stagedir$prefix - prototype root bin script - make_pkg + generic_pack } reg distclean diff --git a/openssh/meta/pkginfo.in b/openssh/meta/pkginfo.in deleted file mode 100644 index 331b47d..0000000 --- a/openssh/meta/pkginfo.in +++ /dev/null @@ -1,11 +0,0 @@ -PKG="%%pkgname%%" -NAME="%%name%%" -ARCH="sparc" -VERSION="%%version%%" -CATEGORY="application" -VENDOR="http://www.openssh.org" -EMAIL="Tom G. Christenen - tgc@statsbiblioteket.dk" -PSTAMP="%%pkgver%%" -BASEDIR="%%topinstalldir%%" -CLASSES="none" -DESC="Secure Shell remote access utility"