summaryrefslogtreecommitdiffstats
path: root/base/portmap/Pkgfile
diff options
context:
space:
mode:
authorThierry N <thierryn1 at hispeed dot ch>2009-08-07 14:26:44 +0200
committerThierry N <thierryn1 at hispeed dot ch>2009-08-07 14:26:44 +0200
commit06d94ceda9d39aab5a87877ed79f89d4001b5138 (patch)
treeef9dc97a74a4ca8551a128641cf1614905d9f556 /base/portmap/Pkgfile
parenta2f1003aa70e47fa40d1189e5516ca9bc76196c8 (diff)
downloadnutyx-pakxe-06d94ceda9d39aab5a87877ed79f89d4001b5138.tar.gz
nutyx-pakxe-06d94ceda9d39aab5a87877ed79f89d4001b5138.tar.bz2
nutyx-pakxe-06d94ceda9d39aab5a87877ed79f89d4001b5138.tar.xz
nutyx-pakxe-06d94ceda9d39aab5a87877ed79f89d4001b5138.zip
Ajout de portmap#6.0-1
Diffstat (limited to 'base/portmap/Pkgfile')
-rwxr-xr-xbase/portmap/Pkgfile27
1 files changed, 27 insertions, 0 deletions
diff --git a/base/portmap/Pkgfile b/base/portmap/Pkgfile
new file mode 100755
index 000000000..e37fafae4
--- /dev/null
+++ b/base/portmap/Pkgfile
@@ -0,0 +1,27 @@
+# Description: used to forward RPC requests to RPC daemons
+# URL: http://neil.brown.name/portmap/
+# Maintainer: NuTyX core team
+# Packager: thierryn1 at hispeed dot ch
+# Depends on: tcp_wrappers
+
+name=portmap
+version=6.0
+release=1
+source=( http://neil.brown.name/$name/$name-$version.tgz\
+ portmap)
+
+
+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
+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/
+}