summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorZack Welch <zwelch@gentoo.org>2003-05-20 07:29:00 +0000
committerZack Welch <zwelch@gentoo.org>2003-05-20 07:29:00 +0000
commitd0110b87a09651b816338cffa8683e2b922a8bc9 (patch)
treed0f12d859202a884be512324a1613f85282ae719 /sys-apps/lsof
parentbump to latest version; mark stable on arm; add empty IUSE (diff)
downloadgentoo-2-d0110b87a09651b816338cffa8683e2b922a8bc9.tar.gz
gentoo-2-d0110b87a09651b816338cffa8683e2b922a8bc9.tar.bz2
gentoo-2-d0110b87a09651b816338cffa8683e2b922a8bc9.zip
bump to latest version; mark stable on arm; add empty IUSE
Diffstat (limited to 'sys-apps/lsof')
-rw-r--r--sys-apps/lsof/ChangeLog7
-rw-r--r--sys-apps/lsof/Manifest4
-rw-r--r--sys-apps/lsof/files/digest-lsof-4.671
-rw-r--r--sys-apps/lsof/lsof-4.67.ebuild56
4 files changed, 65 insertions, 3 deletions
diff --git a/sys-apps/lsof/ChangeLog b/sys-apps/lsof/ChangeLog
index 0f1589800ff3..1c0f03e2b9b5 100644
--- a/sys-apps/lsof/ChangeLog
+++ b/sys-apps/lsof/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for sys-apps/lsof
# Copyright 2002-2003 Gentoo Technologies, Inc.; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sys-apps/lsof/ChangeLog,v 1.10 2003/04/14 16:49:09 gmsoft Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-apps/lsof/ChangeLog,v 1.11 2003/05/20 07:28:51 zwelch Exp $
+
+*lsof-4.67 (20 May 2003)
+
+ 20 May 2003; Zach Welch <zwelch@gentoo.org> lsof-4.67.ebuild:
+ bump to latest version; mark stable on arm; add empty IUSE
06 Dec 2002; Rodney Rees <manson@gentoo.org> : changed sparc ~sparc keywords
diff --git a/sys-apps/lsof/Manifest b/sys-apps/lsof/Manifest
index 4098cc034ee6..103d8cb95cb6 100644
--- a/sys-apps/lsof/Manifest
+++ b/sys-apps/lsof/Manifest
@@ -1,5 +1,5 @@
-MD5 8f995e759e245a50a54fb71224d95f15 ChangeLog 1723
+MD5 3187edf08b6776cd8ec0c776d189c1de ChangeLog 1723
MD5 928ce33762c6389784447841a54631c4 lsof-4.64.ebuild 1532
-MD5 1d86cfe2d11348d33e7cd84e3256e9a1 lsof-4.67.ebuild 1547
+MD5 5ba81a0779a9f086c2333447a4084997 lsof-4.67.ebuild 1546
MD5 8d9d90e05e24a5ffaf927bb83670715a files/digest-lsof-4.64 61
MD5 4da5c4c30e43d53ea46517baa6125d1a files/digest-lsof-4.67 61
diff --git a/sys-apps/lsof/files/digest-lsof-4.67 b/sys-apps/lsof/files/digest-lsof-4.67
new file mode 100644
index 000000000000..2e42e027532c
--- /dev/null
+++ b/sys-apps/lsof/files/digest-lsof-4.67
@@ -0,0 +1 @@
+MD5 5216d66e33cd721b05f8aa5bb6530949 lsof_4.67.tar.gz 959529
diff --git a/sys-apps/lsof/lsof-4.67.ebuild b/sys-apps/lsof/lsof-4.67.ebuild
new file mode 100644
index 000000000000..408157a38bfa
--- /dev/null
+++ b/sys-apps/lsof/lsof-4.67.ebuild
@@ -0,0 +1,56 @@
+# Copyright 1999-2003 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/sys-apps/lsof/lsof-4.67.ebuild,v 1.1 2003/05/20 07:28:52 zwelch Exp $
+
+IUSE=""
+MY_P=${P/-/_}
+S=${WORKDIR}/${MY_P}/${MY_P}_src
+DESCRIPTION="Lists open files for running Unix processes"
+SRC_URI="ftp://vic.cc.purdue.edu/pub/tools/unix/lsof/${MY_P}.tar.gz
+ ftp://ftp.cerias.purdue.edu/pub/tools/unix/sysutils/lsof/${MY_P}.tar.gz"
+HOMEPAGE="ftp://vic.cc.purdue.edu/pub/tools/unix/lsof/README"
+
+DEPEND="virtual/glibc"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~x86 ~ppc ~sparc ~alpha ~hppa arm"
+
+#This pkg appears to be highly kernel-dependent.
+
+src_unpack() {
+ unpack ${A}
+ cd ${WORKDIR}/${MY_P}
+ tar xf ${MY_P}_src.tar || die
+}
+
+src_compile() {
+ #interactive script: Enable HASSECURITY, WARNINGSTATE, and HASKERNIDCK
+ #is there a way to avoid the "echo to a file + file read"?
+ #Just piping in the results didn't seem to work.
+ echo -e "y\ny\ny\nn\ny\ny\n" > ${T}/junk
+ ./Configure linux < ${T}/junk
+
+ #simple Makefile hack to insert CFLAGS
+ cp Makefile Makefile.orig
+ sed -e "s/-DLINUXV/${CFLAGS} -DLINUXV/" Makefile.orig > Makefile
+
+ make all || die
+}
+
+src_install() {
+ #/usr/sbin is a good location -- drobbins
+ dosbin lsof
+ # .a libs not needed during boot so they go in /usr/lib -- drobbins
+ dolib lib/liblsof.a
+ insinto /usr/share/lsof/scripts
+ doins scripts/*
+ doman lsof.8
+ local x
+ for x in 00*
+ do
+ newdoc ${x} ${x/00/}
+ done
+ cd ${D}/usr/share/doc/${PF}
+ mv .README.FIRST.gz README.FIRST.gz
+}