forked from ports/contrib
47 lines
1.5 KiB
Plaintext
47 lines
1.5 KiB
Plaintext
# Description: BSD R-Tools with IPv6 patch.
|
|
# URL: ftp://ftp.uk.linux.org/pub/linux/Networking/netkit/
|
|
# Maintainer: James Mills prologic at shortcircuit dot net dot au
|
|
# Packager: Daniel Mueller, daniel at danm dot de
|
|
#
|
|
# Depends on:
|
|
|
|
name=netkit-rsh
|
|
version=0.17
|
|
release=3
|
|
source=(ftp://ftp.gwdg.de/pub/linux/suse/people/kukuk/ipv6/$name-$version.tar.bz2 \
|
|
http://www.danm.de/files/src/$name/$version/patches/$name-$version.diff \
|
|
http://www.danm.de/files/src/$name/$version/patches/$name-$version-bigfile.diff \
|
|
http://www.danm.de/files/src/$name/$version/patches/$name-$version-pam-env.diff \
|
|
http://www.danm.de/files/src/$name/$version/patches/$name-$version-pam.diff \
|
|
http://www.danm.de/files/src/$name/$version/patches/$name-$version-revers.diff \
|
|
http://www.danm.de/files/src/$name/$version/patches/$name-$version-varargs.diff \
|
|
$name-$version.patch)
|
|
|
|
build()
|
|
{
|
|
cd $name-$version
|
|
# SuSE patches
|
|
patch -p0 -i $SRC/$name-$version.diff
|
|
patch -p0 -i $SRC/$name-$version-pam.diff
|
|
patch -p0 -i $SRC/$name-$version-varargs.diff
|
|
patch -p0 -i $SRC/$name-$version-revers.diff
|
|
patch -p0 -i $SRC/$name-$version-bigfile.diff
|
|
patch -p1 -i $SRC/$name-$version.patch
|
|
|
|
install -d \
|
|
$PKG/usr/{bin,sbin,man} \
|
|
$PKG/etc/pam.d \
|
|
$PKG/usr/man/{man1,man5,man8}
|
|
|
|
./configure \
|
|
--prefix=/usr \
|
|
--without-pam \
|
|
--installroot=$PKG
|
|
|
|
make CFLAGS="$CFLAGS"
|
|
make install
|
|
|
|
rm -rf $PKG/etc
|
|
chown -R root:root $PKG
|
|
}
|