]> git.ipfire.org Git - ipfire-3.x.git/commitdiff
Updated lsof to version 4.82.
authorStefan Schantl <Stevee@ipfire.org>
Wed, 29 Apr 2009 21:38:56 +0000 (23:38 +0200)
committerStefan Schantl <Stevee@ipfire.org>
Wed, 29 Apr 2009 21:38:56 +0000 (23:38 +0200)
I also added additional information to the lfs file.

lfs/lsof

index 832c8d51cc70987a5bad84137093e2567f0806dc..d7bcf2ff739a22df1d58818f24e315e4df83b817 100644 (file)
--- a/lfs/lsof
+++ b/lfs/lsof
 include Config
 
 PKG_NAME   = lsof
-PKG_VER    = 4.78
+PKG_VER    = 4.82
+PKG_REL    = 0
 
-THISAPP    = $(PKG_NAME)-$(PKG_VER)
-DL_FILE    = $(THISAPP).tar.bz2
+THISAPP    = $(PKG_NAME)_$(PKG_VER)_src
+DL_FILE    = $(THISAPP).tar.gz
 DIR_APP    = $(DIR_SRC)/$(THISAPP)
 
 OBJECT     = $(DIR_INFO)/$(STAGE_ORDER)_$(STAGE)/$(THISAPP)
 
+MAINTAINER =
+GROUP      = Development/Debuggers
+EXTRA      = no
+DEBUG      = no
+DEPS       =
+
+URL        = ftp://lsof.itap.purdue.edu/pub/tools/unix/lsof
+LICENSE    = zlib
+SHORT_DESC = A utility which lists open files on a Linux/UNIX system.
+
+define LONG_DESC
+       Lsof stands for LiSt Open Files, and it does just that: \
+       it lists information about files that are open by the \
+       processes running on a system.
+endef
+
 ###############################################################################
 # Top-level Rules
 ###############################################################################
 
 objects = $(DL_FILE)
 
+download: $(objects)
+
 info:
        $(DO_PKG_INFO)
 
 install: $(OBJECT)
 
-download : $(objects)
+package:
+       @$(DO_PKG_INFO)
 
 $(objects) :
        @$(LOAD)
@@ -53,9 +73,9 @@ $(objects) :
 # Installation Details
 ###############################################################################
 
-$(OBJECT) : 
+$(OBJECT) : $(objects)
        @$(PREBUILD)
-       @rm -rf $(DIR_APP) && cd $(DIR_SRC) && tar jxf $(DIR_DL)/$(DL_FILE)
+       @rm -rf $(DIR_APP) && cd $(DIR_SRC) && $(EXTRACTOR) $(DIR_DL)/$(DL_FILE)
        cd $(DIR_APP) && ./Configure linux -n
        cd $(DIR_APP) && make $(PARALLELISMFLAGS)
        cd $(DIR_APP) && install -m 4750 -o root -g nobody lsof /usr/bin