Updated to 3.8.1p1 upstream
Add depend file Converted to pkgdef style Removed obsolete pkginfo.in
This commit is contained in:
parent
52b1c5e1c3
commit
06f9562730
@ -8,7 +8,7 @@
|
|||||||
#
|
#
|
||||||
# Check the following 4 variables before running the script
|
# Check the following 4 variables before running the script
|
||||||
topdir=openssh
|
topdir=openssh
|
||||||
version=3.7.1p2
|
version=3.8.1p1
|
||||||
pkgver=1
|
pkgver=1
|
||||||
source[0]=$topdir-$version.tar.gz
|
source[0]=$topdir-$version.tar.gz
|
||||||
# If there are no patches, simply comment this
|
# If there are no patches, simply comment this
|
||||||
@ -39,8 +39,12 @@ prep()
|
|||||||
reg build
|
reg build
|
||||||
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
|
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
|
$MAKE_PROG
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -51,19 +55,15 @@ install()
|
|||||||
setdir source
|
setdir source
|
||||||
$MAKE_PROG DESTDIR=$stagedir install-nokeys
|
$MAKE_PROG DESTDIR=$stagedir install-nokeys
|
||||||
strip
|
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
|
reg pack
|
||||||
pack()
|
pack()
|
||||||
{
|
{
|
||||||
clean meta
|
generic_pack
|
||||||
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
|
|
||||||
}
|
}
|
||||||
|
|
||||||
reg distclean
|
reg distclean
|
||||||
|
@ -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"
|
|
Loading…
x
Reference in New Issue
Block a user