From e226a041acfeeab23c86c22eb15213bb2c90daeb Mon Sep 17 00:00:00 2001 From: Subhaditya Nath Date: Sat, 24 Sep 2022 21:35:25 +0530 Subject: [PATCH] lsof: update to 4.96.3 --- srcpkgs/lsof/patches/lsof.8.patch | 23 ----------------------- srcpkgs/lsof/template | 11 ++++++----- 2 files changed, 6 insertions(+), 28 deletions(-) delete mode 100644 srcpkgs/lsof/patches/lsof.8.patch diff --git a/srcpkgs/lsof/patches/lsof.8.patch b/srcpkgs/lsof/patches/lsof.8.patch deleted file mode 100644 index ecb21013512d..000000000000 --- a/srcpkgs/lsof/patches/lsof.8.patch +++ /dev/null @@ -1,23 +0,0 @@ ---- a/lsof.8 -+++ b/lsof.8 -@@ -1,7 +1,7 @@ - .so ./version - .TH LSOF 8 Revision-\*(VN --\" Register )P is used neither by this file nor any groff macro. However, --\" some versions of nroff require it. -+.\" Register )P is used neither by this file nor any groff macro. However, -+.\" some versions of nroff require it. - .if !\n(.g \{\ - . if !\n()P .nr )P 1v - .\} -@@ -967,8 +967,8 @@ where: - .br - applies to all IP versions. - .br -- \fIprotocol\fP is a protocol name \- \fBTCP\fP, \fBUDP\fP --.br or \fBUDPLITE\fP. -+ \fIprotocol\fP is a protocol name \- \fBTCP\fP, \fBUDP\fP or \fBUDPLITE\fP. -+.br - .br - \fIhostname\fP is an Internet host name. Unless a - .br diff --git a/srcpkgs/lsof/template b/srcpkgs/lsof/template index 0151fb4a9e84..4dcfdb240e43 100644 --- a/srcpkgs/lsof/template +++ b/srcpkgs/lsof/template @@ -1,21 +1,20 @@ # Template file for 'lsof' pkgname=lsof -version=4.95.0 +version=4.96.3 revision=1 -wrksrc="${pkgname}_${version}.linux" build_style=configure configure_script="./Configure" configure_args="-n linux" make_check_target="all" make_check_args="-C tests" -hostmakedepends="perl" +hostmakedepends="perl groff" short_desc="LiSt Open Files" maintainer="Subhaditya Nath " license="custom:lsof" homepage="https://github.com/lsof-org/lsof" changelog="https://raw.githubusercontent.com/lsof-org/lsof/master/00DIST" -distfiles="https://github.com/lsof-org/lsof/releases/download/${version}/lsof_${version}.linux.tar.bz2" -checksum=e9faa0fbcc48638c1d1f143e93573ac43b65e76646150f83e24bd8c18786303c +distfiles="https://github.com/lsof-org/lsof/archive/refs/tags/${version}/${version}.tar.gz" +checksum=2753fc01452a3d2ee665e8365afdac0e9683197f3ec06231aa684a48b286d11c post_extract() { # See: https://github.com/lsof-org/lsof/issues/61 @@ -35,6 +34,8 @@ pre_configure() { vsed "s|/\* #define\tHASSECURITY\t1 \*/|#define\tHASSECURITY\t1|" \ -i dialects/linux/machine.h + + soelim Lsof.8 | grep -vi '^\.lf ' > lsof.8 } do_install() {