From: Michael Tremer Date: Sat, 10 Apr 2010 21:15:15 +0000 (+0200) Subject: lsof: lsof is for root use only. X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6f1ca1a1b0417c3def754e44e930782299cf7585;p=ipfire-3.x.git lsof: lsof is for root use only. --- diff --git a/pkgs/core/lsof/lsof.nm b/pkgs/core/lsof/lsof.nm index 3c87f89a3..f2a1f14e1 100644 --- a/pkgs/core/lsof/lsof.nm +++ b/pkgs/core/lsof/lsof.nm @@ -45,12 +45,16 @@ PKG_TARBALL = $(PKG_NAME)_$(PKG_VER)_src.tar.gz DIR_APP = /usr/src/$(PKG_NAME)_$(PKG_VER)_src define STAGE_BUILD - cd $(DIR_APP) && ./Configure linux -n + cd $(DIR_APP) && \ + LINUX_BASE=/proc \ + LSOF_VSTR="2.6.16" \ + ./Configure linux -n cd $(DIR_APP) && make DEBUG="$(CFLAGS)" $(PARALLELISMFLAGS) endef define STAGE_INSTALL - -mkdir -pv $(BUILDROOT)/usr/bin - cd $(DIR_APP) && install -m 4750 -o root -g nobody lsof $(BUILDROOT)/usr/bin + -mkdir -pv $(BUILDROOT)/usr/sbin + cd $(DIR_APP) && install -m 755 lsof $(BUILDROOT)/usr/sbin + -mkdir -pv $(BUILDROOT)/usr/share/man/man8 + cd $(DIR_APP) && cp -vf lsof.8 $(BUILDROOT)/usr/share/man/man8 endef -