summaryrefslogtreecommitdiffstats
path: root/base/portmap/Pkgfile
diff options
context:
space:
mode:
Diffstat (limited to 'base/portmap/Pkgfile')
-rwxr-xr-xbase/portmap/Pkgfile7
1 files changed, 4 insertions, 3 deletions
diff --git a/base/portmap/Pkgfile b/base/portmap/Pkgfile
index e37fafae4..344bc1140 100755
--- a/base/portmap/Pkgfile
+++ b/base/portmap/Pkgfile
@@ -6,22 +6,23 @@
name=portmap
version=6.0
-release=1
+release=2
source=( http://neil.brown.name/$name/$name-$version.tgz\
- portmap)
+ http://nutyx.meticul.eu/files/patchs/$name/portmap-nutyx-01.patch)
build() {
source /etc/blfs-bootscripts
wget http://www.linuxfromscratch.org/blfs/downloads/svn/$scripts-$scriptsversion.tar.bz2
tar xvf $scripts-$scriptsversion.tar.bz2
+
cd ${name}_$version
install -d $PKG/{sbin,usr/{sbin,share/man/man8}}
make
make BASEDIR=$PKG install
cd ../$scripts-$scriptsversion
+patch -Np1 -i ../portmap-nutyx-01.patch
make DESTDIR=$PKG install-portmap
make DESTDIR=$PKG install-netfs
mkdir -p $PKG/etc/rc.d/init.d
-install -m 754 ../portmap $PKG/etc/rc.d/init.d/
}