Skip to content

Commit 48cc4d6

Browse files
baruchsiachtpetazzoni
authored andcommitted
package/lsof: bump to version 4.93.2
New upstream at github. Update homepage link and download site. Drop the custom extract command; we now get the source tree from github. Drop patch #2; the code detects rpc support. Add optional dependency on libtirpc. Signed-off-by: Baruch Siach <[email protected]> Signed-off-by: Thomas Petazzoni <[email protected]>
1 parent c5c106e commit 48cc4d6

5 files changed

Lines changed: 9 additions & 36 deletions

File tree

package/lsof/0002-noportmap.patch

Lines changed: 0 additions & 18 deletions
This file was deleted.
File renamed without changes.

package/lsof/Config.in

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,4 +7,4 @@ config BR2_PACKAGE_LSOF
77
The lsof tool lists information about files opened by
88
processes.
99

10-
http://people.freebsd.org/~abe/
10+
https://github.com/lsof-org/lsof

package/lsof/lsof.hash

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,3 @@
1-
# From http://www.mirrorservice.org/sites/lsof.itap.purdue.edu/pub/tools/unix/lsof/CHECKSUMS_4.91
2-
md5 148ed410cb52e08c2adc0c60f480f11f lsof_4.91.tar.bz2
3-
# Locally calculated after checking pgp signature
4-
# http://www.mirrorservice.org/sites/lsof.itap.purdue.edu/pub/tools/unix/lsof/lsof_4.91.tar.bz2.sig
5-
# with (old, weak) key 40BD3D55
6-
sha256 c9da946a525fbf82ff80090b6d1879c38df090556f3fe0e6d782cb44172450a3 lsof_4.91.tar.bz2
1+
# Locally calculated
2+
sha256 3df912bd966fc24dc73ddea3e36a61d79270b21b085936a4caabca56e5b486a2 lsof-4.93.2.tar.gz
73
sha256 32a728188b19bf86917659d904ab29d0a294b4506e1c98b8b7f1c70ab4975fe1 dialects/linux/dproto.h

package/lsof/lsof.mk

Lines changed: 6 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -4,15 +4,17 @@
44
#
55
################################################################################
66

7-
LSOF_VERSION = 4.91
8-
LSOF_SOURCE = lsof_$(LSOF_VERSION).tar.bz2
9-
# Use http mirror since master ftp site access is very draconian
10-
LSOF_SITE = http://www.mirrorservice.org/sites/lsof.itap.purdue.edu/pub/tools/unix/lsof
7+
LSOF_VERSION = 4.93.2
8+
LSOF_SITE = $(call github,lsof-org,lsof,$(LSOF_VERSION))
119
LSOF_LICENSE = lsof license
1210
# License is repeated in each file, this is a relatively small one.
1311
# It is also defined in 00README, but that contains a lot of other cruft.
1412
LSOF_LICENSE_FILES = dialects/linux/dproto.h
1513

14+
ifeq ($(BR2_PACKAGE_LIBTIRPC),y)
15+
LSOF_DEPENDENCIES += libtirpc
16+
endif
17+
1618
ifeq ($(BR2_USE_WCHAR),)
1719
define LSOF_CONFIGURE_WCHAR_FIXUPS
1820
$(SED) 's,^#define[[:space:]]*HASWIDECHAR.*,#undef HASWIDECHAR,' \
@@ -27,13 +29,6 @@ define LSOF_CONFIGURE_LOCALE_FIXUPS
2729
endef
2830
endif
2931

30-
# The .tar.bz2 contains another .tar, which contains the source code.
31-
define LSOF_EXTRACT_CMDS
32-
$(call suitable-extractor,$(LSOF_SOURCE)) $(LSOF_DL_DIR)/$(LSOF_SOURCE) | \
33-
$(TAR) -O $(TAR_OPTIONS) - lsof_$(LSOF_VERSION)/lsof_$(LSOF_VERSION)_src.tar | \
34-
$(TAR) --strip-components=1 -C $(LSOF_DIR) $(TAR_OPTIONS) -
35-
endef
36-
3732
define LSOF_CONFIGURE_CMDS
3833
(cd $(@D) ; \
3934
echo n | $(TARGET_CONFIGURE_OPTS) DEBUG="$(TARGET_CFLAGS)" \

0 commit comments

Comments
 (0)