summaryrefslogtreecommitdiffstats
path: root/base/lsof/Pkgfile
diff options
context:
space:
mode:
authorsibel <lesibel@free.fr>2011-01-27 12:39:22 +0100
committersibel <lesibel@free.fr>2011-01-27 12:39:22 +0100
commit7ae446388e9aa3d82a65e90fcc3e53485c1573ee (patch)
tree7c1b3f8296fa76bcebd5476b985ec4eb2dd8fb80 /base/lsof/Pkgfile
parent2b341dafd461e1b823a7a118d781718ab8e4f5be (diff)
downloadnutyx-pakxe-7ae446388e9aa3d82a65e90fcc3e53485c1573ee.tar.gz
nutyx-pakxe-7ae446388e9aa3d82a65e90fcc3e53485c1573ee.tar.bz2
nutyx-pakxe-7ae446388e9aa3d82a65e90fcc3e53485c1573ee.tar.xz
nutyx-pakxe-7ae446388e9aa3d82a65e90fcc3e53485c1573ee.zip
lsof, ajout port 4.84-1
Diffstat (limited to 'base/lsof/Pkgfile')
-rw-r--r--base/lsof/Pkgfile24
1 files changed, 24 insertions, 0 deletions
diff --git a/base/lsof/Pkgfile b/base/lsof/Pkgfile
new file mode 100644
index 000000000..6d18df433
--- /dev/null
+++ b/base/lsof/Pkgfile
@@ -0,0 +1,24 @@
+# Description: Liste les fichiers ouverts sous un process Unix
+# URL: http://people.freebsd.org/~abe/
+# Maintainer: NuTyX core team
+# Packager: lesibel at free dot fr
+# Depends on:
+# Run on:
+
+name=lsof
+version=4.84
+release=1
+source=(ftp://sunsite.ualberta.ca/pub/Mirror/lsof/${name}_${version}.tar.bz2)
+
+build() {
+ cd ${name}_${version}
+ tar xf ${name}_${version}_src.tar
+ cd ${name}_${version}_src
+ sed -i 's|/\* #define\tHASSECURITY\t1 \*/|#define\tHASSECURITY\t1|' dialects/linux/machine.h
+
+ ./Configure -n linux
+ make
+ install -Dm0755 -o root -g root lsof $PKG/usr/sbin/lsof
+ install -Dm0644 -o root -g root lsof.8 $PKG/usr/share/man/man8/lsof.8
+}
+