lsof: update to 4.88.

This commit is contained in:
Juan RP 2014-10-17 11:11:22 +02:00
parent ff80049156
commit 8d3725ed8e
1 changed files with 7 additions and 9 deletions

View File

@ -1,22 +1,21 @@
# Template file for 'lsof'
pkgname=lsof
version=4.87
revision=2
version=4.88
revision=1
wrksrc=lsof_${version}
hostmakedepends="which perl"
hostmakedepends="perl"
short_desc="LiSt Open Files"
maintainer="Juan RP <xtraeme@gmail.com>"
homepage="http://people.freebsd.org/~abe/"
license="lsof"
distfiles="ftp://sunsite.ualberta.ca/pub/Mirror/lsof/lsof_${version}.tar.bz2"
checksum=dfdd3709d82bc79ccdf3e404b84aafa9aede5948642a824ecaefd0aac589da2c
checksum=fe6f9b0e26b779ccd0ea5a0b6327c2b5c38d207a6db16f61ac01bd6c44e5c99b
post_extract() {
# We have to do this dance because the real distfile is
# included in the .tar.bz2 archive.
tar xf ${wrksrc}/lsof_${version}_src.tar -C ${wrksrc}
}
do_build() {
cd ${wrksrc}/lsof_${version}_src
sed "s|/\* #define\tHASSECURITY\t1 \*/|#define\tHASSECURITY\t1|" \
@ -24,10 +23,9 @@ do_build() {
LSOF_CFGF="$CFLAGS" ./Configure -n linux
make CC=$CC ${makejobs}
}
do_install() {
cd ${wrksrc}/lsof_${version}_src
vinstall lsof 755 usr/sbin
vinstall lsof.8 644 usr/share/man/man8
vinstall ${FILESDIR}/license.txt 644 usr/share/licenses/lsof
vbin lsof
vman lsof.8
vlicense ${FILESDIR}/license.txt
}