From cdc15c086f9c5f2e6a73cb95e78d47fc90bff723 Mon Sep 17 00:00:00 2001 From: Nick Steeves Date: Sat, 25 Feb 2006 09:55:18 +0000 Subject: [PATCH] lsof: initial import, both branches --- lsof/.footprint | 6 ++++++ lsof/.md5sum | 1 + lsof/Pkgfile | 20 ++++++++++++++++++++ 3 files changed, 27 insertions(+) create mode 100644 lsof/.footprint create mode 100644 lsof/.md5sum create mode 100644 lsof/Pkgfile diff --git a/lsof/.footprint b/lsof/.footprint new file mode 100644 index 000000000..34aa791a8 --- /dev/null +++ b/lsof/.footprint @@ -0,0 +1,6 @@ +drwxr-xr-x root/root usr/ +drwxr-xr-x root/root usr/man/ +drwxr-xr-x root/root usr/man/man8/ +-rwxr-xr-x root/root usr/man/man8/lsof.8.gz +drwxr-xr-x root/root usr/sbin/ +-rwxr-xr-x root/root usr/sbin/lsof diff --git a/lsof/.md5sum b/lsof/.md5sum new file mode 100644 index 000000000..aedc48f25 --- /dev/null +++ b/lsof/.md5sum @@ -0,0 +1 @@ +0c4160ceeb753c58eaefb29dbea505eb lsof_4.76.tar.bz2 diff --git a/lsof/Pkgfile b/lsof/Pkgfile new file mode 100644 index 000000000..1e22a2a5d --- /dev/null +++ b/lsof/Pkgfile @@ -0,0 +1,20 @@ +# Description: list open files +# URL: http://freshmeat.net/projects/lsof/ +# Maintainer: +# Packager: Martin Opel, mo at obbl-net dot de + +name=lsof +version=4.76 +release=1 +source=(http://ftp.cerias.purdue.edu/pub/tools/unix/sysutils/lsof/lsof_$version.tar.bz2) + +build() { + cd ${name}_${version} + tar xf ${name}_${version}_src.tar + cd ${name}_${version}_src + yes "" | ./Configure linux + sed -i -e "s/-DLINUXV/${CFLAGS} -DLINUXV/" Makefile + make + install -D lsof $PKG/usr/sbin/lsof + install -D lsof.8 $PKG/usr/man/man8/lsof.8 +}