Browse Source

lsof: Fix dead URL + cosmetic fixes

Removed some whitespace and refreshed patches, which was forgotten during
the bump. No actual changes so no release bump.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
lilik-openwrt-22.03
Rosen Penev 6 years ago
parent
commit
7e86dedef1
3 changed files with 6 additions and 5 deletions
  1. +4
    -3
      utils/lsof/Makefile
  2. +1
    -1
      utils/lsof/patches/003-lsof_selinux.patch
  3. +1
    -1
      utils/lsof/patches/004-lsof_ccv.patch

+ 4
- 3
utils/lsof/Makefile View File

@ -13,9 +13,10 @@ PKG_VERSION:=4.91
PKG_RELEASE:=1 PKG_RELEASE:=1
PKG_SOURCE:=$(PKG_NAME)_$(PKG_VERSION).tar.bz2 PKG_SOURCE:=$(PKG_NAME)_$(PKG_VERSION).tar.bz2
PKG_SOURCE_URL:=https://www.mirrorservice.org/sites/lsof.itap.purdue.edu/pub/tools/unix/lsof/ ftp://sunsite.ualberta.ca/pub/Mirror/lsof/ ftp://ftp.fu-berlin.de/pub/unix/tools/lsof
PKG_SOURCE_URL:=https://www.mirrorservice.org/sites/lsof.itap.purdue.edu/pub/tools/unix/lsof/ ftp://ftp.fu-berlin.de/pub/unix/tools/lsof
PKG_HASH:=c9da946a525fbf82ff80090b6d1879c38df090556f3fe0e6d782cb44172450a3 PKG_HASH:=c9da946a525fbf82ff80090b6d1879c38df090556f3fe0e6d782cb44172450a3
PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)_$(PKG_VERSION) PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)_$(PKG_VERSION)
PKG_MAINTAINER:=Maxim Storchak <m.storchak@gmail.com> PKG_MAINTAINER:=Maxim Storchak <m.storchak@gmail.com>
PKG_LICENSE:=Unique PKG_LICENSE:=Unique
PKG_LICENSE_FILES:=00README PKG_LICENSE_FILES:=00README
@ -59,7 +60,7 @@ define Build/Configure
./Configure -n linux ./Configure -n linux
endef endef
define Build/Compile
define Build/Compile
LSOF_HOST="none" \ LSOF_HOST="none" \
LSOF_LOGNAME="none" \ LSOF_LOGNAME="none" \
LSOF_SYSINFO="none" \ LSOF_SYSINFO="none" \
@ -67,7 +68,7 @@ define Build/Compile
$(MAKE) -C $(PKG_BUILD_DIR) $(MAKE) -C $(PKG_BUILD_DIR)
endef endef
define Package/lsof/install
define Package/lsof/install
$(INSTALL_DIR) $(1)/usr/bin $(INSTALL_DIR) $(1)/usr/bin
$(INSTALL_BIN) $(PKG_BUILD_DIR)/lsof $(1)/usr/bin $(INSTALL_BIN) $(PKG_BUILD_DIR)/lsof $(1)/usr/bin
endef endef


+ 1
- 1
utils/lsof/patches/003-lsof_selinux.patch View File

@ -2,7 +2,7 @@ diff --git a/Configure b/Configure
index e4a25a2..3a6e78b 100755 index e4a25a2..3a6e78b 100755
--- a/Configure --- a/Configure
+++ b/Configure +++ b/Configure
@@ -2923,7 +2923,7 @@ return(0); }
@@ -2976,7 +2976,7 @@ return(0); }
LSOF_TMP1=1 LSOF_TMP1=1
fi # } fi # }
fi # } fi # }


+ 1
- 1
utils/lsof/patches/004-lsof_ccv.patch View File

@ -2,7 +2,7 @@ diff --git a/Configure b/Configure
index 3a6e78b..a2946c6 100755 index 3a6e78b..a2946c6 100755
--- a/Configure --- a/Configure
+++ b/Configure +++ b/Configure
@@ -2788,6 +2788,9 @@ LOCKF_OWNER4
@@ -2841,6 +2841,9 @@ LOCKF_OWNER4
if test "X$LSOF_CC" = "X" # { if test "X$LSOF_CC" = "X" # {
then then
LSOF_CC=cc LSOF_CC=cc


Loading…
Cancel
Save