lsof: update to 4.84.
This commit is contained in:
parent
ff151e8bcb
commit
db960c5174
1 changed files with 10 additions and 12 deletions
|
@ -1,13 +1,13 @@
|
||||||
# Template file for 'lsof'
|
# Template file for 'lsof'
|
||||||
pkgname=lsof
|
pkgname=lsof
|
||||||
version=4.83
|
version=4.84
|
||||||
wrksrc=lsof_${version}
|
wrksrc=lsof_${version}
|
||||||
#build_wrksrc=lsof_${version}_src
|
#build_wrksrc=lsof_${version}_src
|
||||||
distfiles="ftp://sunsite.ualberta.ca/pub/Mirror/lsof/lsof_${version}.tar.bz2"
|
distfiles="ftp://sunsite.ualberta.ca/pub/Mirror/lsof/lsof_${version}.tar.bz2"
|
||||||
build_style=custom-install
|
build_style=custom-install
|
||||||
short_desc="LiSt Open Files"
|
short_desc="LiSt Open Files"
|
||||||
maintainer="Juan RP <xtraeme@gmail.com>"
|
maintainer="Juan RP <xtraeme@gmail.com>"
|
||||||
checksum=b89f930bbe36b970e3cd070b9860ee701d8c7285ffedf2fbcec0e5fa3cb1f544
|
checksum=20893a2d9b443fba519602f05692d5f72054a9f6dc1236bcb2616cc5330dc725
|
||||||
long_desc="
|
long_desc="
|
||||||
Lsof is a UNIX-specific tool. Its name stands for LiSt Open Files, and it does
|
Lsof is a UNIX-specific tool. Its name stands for LiSt Open Files, and it does
|
||||||
just that. It lists information about files that are open by the processes
|
just that. It lists information about files that are open by the processes
|
||||||
|
@ -19,22 +19,20 @@ do_build()
|
||||||
{
|
{
|
||||||
# We have to do this dance because the real distfile is
|
# We have to do this dance because the real distfile is
|
||||||
# included in the .tar.bz2 archive.
|
# included in the .tar.bz2 archive.
|
||||||
tar xf ${wrksrc}/lsof_${version}_src.tar \
|
tar xf ${wrksrc}/lsof_${version}_src.tar -C ${wrksrc}
|
||||||
-C ${wrksrc} || return 1
|
cd ${wrksrc}/lsof_${version}_src
|
||||||
cd ${wrksrc}/lsof_${version}_src || return 1
|
|
||||||
sed "s|/\* #define\tHASSECURITY\t1 \*/|#define\tHASSECURITY\t1|" \
|
sed "s|/\* #define\tHASSECURITY\t1 \*/|#define\tHASSECURITY\t1|" \
|
||||||
-i dialects/linux/machine.h
|
-i dialects/linux/machine.h
|
||||||
./Configure -n linux || return 1
|
./Configure -n linux
|
||||||
make ${makejobs} || return 1
|
make ${makejobs}
|
||||||
}
|
}
|
||||||
|
|
||||||
do_install()
|
do_install()
|
||||||
{
|
{
|
||||||
cd ${wrksrc}/lsof_${version}_src || return 1
|
cd ${wrksrc}/lsof_${version}_src
|
||||||
install -D -m755 lsof \
|
install -D -m755 lsof ${DESTDIR}/usr/sbin/lsof
|
||||||
${DESTDIR}/usr/sbin/lsof || return 1
|
|
||||||
install -D -m644 lsof.8 \
|
install -D -m644 lsof.8 \
|
||||||
${DESTDIR}/usr/share/man/man8/lsof.8 || return 1
|
${DESTDIR}/usr/share/man/man8/lsof.8
|
||||||
install -D -m644 ${FILESDIR}/license.txt \
|
install -D -m644 ${FILESDIR}/license.txt \
|
||||||
${DESTDIR}/usr/share/licenses/lsof_license.txt || return 1
|
${DESTDIR}/usr/share/licenses/lsof_license.txt
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue