summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCiaran McCreesh <ciaranm@gentoo.org>2005-03-03 14:58:28 +0000
committerCiaran McCreesh <ciaranm@gentoo.org>2005-03-03 14:58:28 +0000
commit0240249b639042985e86b54c21c273ca9e67c145 (patch)
tree83d1daa2ffd58402c9993f856408262d43cab164 /sys-process/lsof
parentStable on sparc (diff)
downloadgentoo-2-0240249b639042985e86b54c21c273ca9e67c145.tar.gz
gentoo-2-0240249b639042985e86b54c21c273ca9e67c145.tar.bz2
gentoo-2-0240249b639042985e86b54c21c273ca9e67c145.zip
Moved from sys-apps/lsof to sys-process/lsof.
Diffstat (limited to 'sys-process/lsof')
-rw-r--r--sys-process/lsof/ChangeLog136
-rw-r--r--sys-process/lsof/Manifest9
-rw-r--r--sys-process/lsof/files/4.73-answer-config.patch68
-rw-r--r--sys-process/lsof/files/digest-lsof-4.711
-rw-r--r--sys-process/lsof/files/digest-lsof-4.731
-rw-r--r--sys-process/lsof/files/digest-lsof-4.741
-rw-r--r--sys-process/lsof/lsof-4.71.ebuild67
-rw-r--r--sys-process/lsof/lsof-4.73.ebuild52
-rw-r--r--sys-process/lsof/lsof-4.74.ebuild60
-rw-r--r--sys-process/lsof/metadata.xml5
10 files changed, 400 insertions, 0 deletions
diff --git a/sys-process/lsof/ChangeLog b/sys-process/lsof/ChangeLog
new file mode 100644
index 000000000000..f6c88bd0e76c
--- /dev/null
+++ b/sys-process/lsof/ChangeLog
@@ -0,0 +1,136 @@
+# ChangeLog for sys-apps/lsof
+# Copyright 2002-2005 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/sys-process/lsof/ChangeLog,v 1.1 2005/03/03 14:58:28 ciaranm Exp $
+
+*lsof-4.73 (03 Mar 2005)
+
+ 03 Mar 2005; Ciaran McCreesh <ciaranm@gentoo.org> +metadata.xml,
+ +files/4.73-answer-config.patch, +lsof-4.71.ebuild, +lsof-4.73.ebuild,
+ +lsof-4.74.ebuild:
+ Moved from sys-apps/lsof to sys-process/lsof.
+
+ 06 Feb 2005; Joshua Kinard <kumba@gentoo.org> lsof-4.73.ebuild:
+ Marked stable on mips.
+
+ 05 Feb 2005; Michael Hanselmann <hansmi@gentoo.org> lsof-4.73.ebuild:
+ Stable on ppc.
+
+ 27 Jan 2005; Gustavo Zacarias <gustavoz@gentoo.org> lsof-4.73.ebuild:
+ Stable on sparc
+
+*lsof-4.74 (26 Jan 2005)
+
+ 26 Jan 2005; Mike Frysinger <vapier@gentoo.org> +lsof-4.74.ebuild:
+ Version bump #78610 by Andrej Kacian.
+
+ 07 Nov 2004; Joshua Kinard <kumba@gentoo.org> lsof-4.71.ebuild:
+ Marked stable on mips.
+
+ 05 Nov 2004; Jason Wever <weeve@gentoo.org> lsof-4.71.ebuild:
+ Stable on sparc wrt bug #70199.
+
+ 06 Nov 2004; Bryan Østergaard <kloeri@gentoo.org> lsof-4.71.ebuild:
+ Stable on alpha, requested in bug 70201.
+
+*lsof-4.73 (05 Nov 2004)
+
+ 05 Nov 2004; Mike Frysinger <vapier@gentoo.org>
+ +files/4.73-answer-config.patch, +lsof-4.73.ebuild:
+ Version bump and clean up #70150 by Ervin Németh.
+
+ 05 Nov 2004; Travis Tilley <lv@gentoo.org> lsof-4.71.ebuild:
+ stable on amd64
+
+ 03 Sep 2004; Pieter Van den Abeele <pvdabeel@gentoo.org> lsof-4.67.ebuild,
+ lsof-4.69.ebuild, lsof-4.71.ebuild:
+ Masked lsof-4.71.ebuild stable for ppc
+
+ 03 Sep 2004; Pieter Van den Abeele <pvdabeel@gentoo.org> lsof-4.67.ebuild,
+ lsof-4.69.ebuild:
+ Masked lsof-4.69.ebuild stable for ppc
+
+ 03 Sep 2004; Pieter Van den Abeele <pvdabeel@gentoo.org> lsof-4.67.ebuild:
+ Masked lsof-4.67.ebuild stable for ppc
+
+ 11 Jul 2004; Tom Gall <tgall@gentoo.org> lsof-4.71.ebuild:
+ stable on ppc64, bug #56286
+
+ 22 Apr 2004; Michael McCabe <randy@gentoo.org> lsof-4.71.ebuild:
+ added s390 keywords
+
+*lsof-4.71 (24 Mar 2004)
+
+ 24 Mar 2004; Martin Holzer <mholzer@gentoo.org> lsof-4.71.ebuild:
+ Version bumped. Closes 45605
+
+*lsof-4.69 (26 Oct 2003)
+
+ 26 Oct 2003; Daniel Ahlberg <aliz@gentoo.org lsof-4.69.ebuild:
+ Version bump
+
+*lsof-4.68 (30 Jun 2003)
+
+ 21 Sep 2003; Mike Frysinger <vapier@gentoo.org> :
+ Add static support #29270.
+
+ 15 Aug 2003; Tavis Ormandy <taviso@gentoo.org> lsof-4.68.ebuild:
+ #26576 lsof 4.68 compile with -fstack-protector fails on Alpha
+
+ 03 Aug 2003; Joshua Kinard <kumba@gentoo.org> lsof-4.68.ebuild:
+ Changed ~sparc to sparc and added ~mips to KEYWORDS
+
+ 06 Jul 2003; Guy Martin <gmsoft@gentoo.org> lsof-4.68.ebuild :
+ Marked stable on hppa.
+
+ 30 Jun 2003; Ned Ludd <solar@gentoo.org> lsof-4.68.ebuild:
+ bump to latest version
+
+ 24 Jun 2003; Aron Griffis <agriffis@gentoo.org> lsof-4.67.ebuild:
+ Mark stable on alpha
+
+*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
+
+*lsof-4.64 (29 Jun 2002)
+
+ 16 Jul 2003; Jan Seidel <tuxus@gentoo.org> lsof-4.64.ebuild :
+ Marked stable on mips
+
+ 14 Apr 2003; Guy Martin <gmsoft@gentoo.org> lsof-4.64.ebuild :
+ Added hppa to KEYWORDS.
+
+ 09 Jan 2002; Brandon Low <lostlogic@gentoo.org>:
+ Remove linux-sources from depends because it only needs the
+ headers and they are in system.
+
+ 26 Sep 2002; Mike Frysinger <vapier@gentoo.org>:
+ updated keywords (alpha)
+
+ 21 Jul 2002; Mark Guertin <gerk@gentoo.org>:
+ updated keywords (ppc)
+
+ 14 Jul 2002; phoen][x <phoenix@gentoo.org> lsof-4.64.ebuild :
+ Added KEYWORDS.
+
+ 29 Jun 2002; Seemant Kulleen <seemant@gentoo.org> lsof-4.64.ebuild
+ files/digest-lsof-4.64 :
+
+ Version bump (old version's tarball does not even exist at SRC_URI).
+ thanks to: paidhi@mospheira.net in bug #4310
+
+*lsof-4.60-r1 (1 Feb 2002)
+
+ 14 Jul 2002; phoen][x <phoenix@gentoo.org> lsof-4.60-r1.ebuild :
+ Added LICENSE, KEYWORDS, SLOT.
+
+ 1 Feb 2002; G.Bevin <gbevin@gentoo.org> ChangeLog :
+
+ Added initial ChangeLog which should be updated whenever the package is
+ updated in any way. This changelog is targetted to users. This means that the
+ comments should well explained and written in clean English. The details about
+ writing correct changelogs are explained in the skel.ChangeLog file which you
+ can find in the root directory of the portage repository.
diff --git a/sys-process/lsof/Manifest b/sys-process/lsof/Manifest
new file mode 100644
index 000000000000..5fc07551c1f2
--- /dev/null
+++ b/sys-process/lsof/Manifest
@@ -0,0 +1,9 @@
+MD5 fe27224a6f181a115093d9898521bad4 ChangeLog 4244
+MD5 199e4030ffe19ef6f4d98409511a2ede lsof-4.71.ebuild 1825
+MD5 df654dfb53c71f60611b7fe0bf87cdd4 lsof-4.73.ebuild 1296
+MD5 34dc31be143dd9165ed00c48f7a75d51 lsof-4.74.ebuild 1526
+MD5 9a09f8d531c582e78977dbfd96edc1f2 metadata.xml 164
+MD5 8a26fd08042572a5821e4f5fa51ac5ff files/4.73-answer-config.patch 1755
+MD5 17950eec4cb0ad6f3a3b6a521239dcbe files/digest-lsof-4.71 62
+MD5 283810a9553bbb1e1579a6dc1a3b7624 files/digest-lsof-4.73 62
+MD5 4e7f0c29cf300421b494446e6aa0c8a4 files/digest-lsof-4.74 62
diff --git a/sys-process/lsof/files/4.73-answer-config.patch b/sys-process/lsof/files/4.73-answer-config.patch
new file mode 100644
index 000000000000..175aa6c4f519
--- /dev/null
+++ b/sys-process/lsof/files/4.73-answer-config.patch
@@ -0,0 +1,68 @@
+--- Configure.orig 2004-11-05 18:43:59.396409176 -0500
++++ Configure 2004-11-05 18:47:23.086443584 -0500
+@@ -2177,3 +2177,3 @@
+ fi # }
+- LSOF_CFGF="-DLINUXV=$LSOF_VERS"
++ LSOF_CFGF="${CFLAGS} -DLINUXV=$LSOF_VERS"
+ if test $LSOF_VERS -lt 21072 # {
+@@ -4083,3 +4083,3 @@
+ echo "" >> $LSOF_MKFC
+- echo "CFGL= $LSOF_FCFGL -L./$LSOF_LIB -llsof $LSOF_CFGL" >> $LSOF_MKFC
++ echo "CFGL= $LSOF_FCFGL -L./$LSOF_LIB -llsof $LSOF_CFGL ${LDFLAGS}" >> $LSOF_MKFC
+ fi # }
+--- Customize.orig 2004-11-05 19:01:48.905819032 -0500
++++ Customize 2004-11-05 19:05:33.349698376 -0500
+@@ -100,7 +100,7 @@
+ do
+ echo ""
+ echo $EO "Do you want to customize (y|n) [y]? $EC"
+- read ANS EXCESS
++ ANS=y
+ if test "X$ANS" = "Xn" -o "X$ANS" = "XN"
+ then
+ exit 0
+@@ -204,7 +204,7 @@
+ else
+ echo $EO "Enable HASSECURITY (y|n) [n]? $EC"
+ fi
+- read ANS EXCESS
++ ANS=y
+ if test "X$ANS" = "Xy" -o "X$ANS" = "XY"
+ then
+ echo ""
+@@ -267,7 +267,7 @@
+ else
+ echo $EO "Enable HASNOSOCKSECURITY (y|n) [n]? $EC"
+ fi
+- read ANS EXCESS
++ ANS=y
+ if test "X$ANS" = "Xy" -o "X$ANS" = "XY"
+ then
+ echo ""
+@@ -329,7 +329,7 @@
+ else
+ echo $EO "Disable WARNINGSTATE? (y|n) [n]? $EC"
+ fi
+- read ANS EXCESS
++ ANS=n
+ if test "X$ANS" = "Xy" -o "X$ANS" = "XY"
+ then
+ echo ""
+@@ -918,7 +918,7 @@
+ else
+ echo $EO "Enable HASKERNIDCK (y|n) [n]? $EC"
+ fi
+- read ANS EXCESS
++ ANS=y
+ if test "X$ANS" = "Xy" -o "X$ANS" = "XY"
+ then
+ echo ""
+@@ -1115,7 +1115,7 @@
+ echo ""
+ echo "Do you want to rename $OLD to ${OLD}.old and replace it with"
+ echo $EO "$NEW (y|n) [y]? $EC"
+- read ANS EXCESS
++ ANS=y
+ if test "X$ANS" = "Xn" -o "X$ANS" = "XN"
+ then
+ END=1
diff --git a/sys-process/lsof/files/digest-lsof-4.71 b/sys-process/lsof/files/digest-lsof-4.71
new file mode 100644
index 000000000000..dba179a8b9dc
--- /dev/null
+++ b/sys-process/lsof/files/digest-lsof-4.71
@@ -0,0 +1 @@
+MD5 a4e102726b2ffe0416d23a1c4f513aaa lsof_4.71.tar.gz 1002139
diff --git a/sys-process/lsof/files/digest-lsof-4.73 b/sys-process/lsof/files/digest-lsof-4.73
new file mode 100644
index 000000000000..779f86d449e7
--- /dev/null
+++ b/sys-process/lsof/files/digest-lsof-4.73
@@ -0,0 +1 @@
+MD5 1bb09e7ea8f537384d211d648bb8368b lsof_4.73.tar.gz 1023790
diff --git a/sys-process/lsof/files/digest-lsof-4.74 b/sys-process/lsof/files/digest-lsof-4.74
new file mode 100644
index 000000000000..d007c7129103
--- /dev/null
+++ b/sys-process/lsof/files/digest-lsof-4.74
@@ -0,0 +1 @@
+MD5 9fbf77fab0cdcc2ee92742713206c156 lsof_4.74.tar.gz 1031164
diff --git a/sys-process/lsof/lsof-4.71.ebuild b/sys-process/lsof/lsof-4.71.ebuild
new file mode 100644
index 000000000000..e70a20a1e263
--- /dev/null
+++ b/sys-process/lsof/lsof-4.71.ebuild
@@ -0,0 +1,67 @@
+# Copyright 1999-2005 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/sys-process/lsof/lsof-4.71.ebuild,v 1.1 2005/03/03 14:58:28 ciaranm Exp $
+
+inherit flag-o-matic
+
+MY_P=${P/-/_}
+S=${WORKDIR}/${MY_P}/${MY_P}_src
+DESCRIPTION="Lists open files for running Unix processes"
+HOMEPAGE="ftp://vic.cc.purdue.edu/pub/tools/unix/lsof/README"
+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"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="alpha amd64 arm hppa ia64 mips ppc ppc64 s390 sparc x86"
+IUSE="static"
+
+DEPEND="virtual/libc"
+
+#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() {
+ # #26576 lsof 4.68 compile with -fstack-protector fails on Alpha
+ # -taviso (15 Aug 03)
+ use alpha && filter-flags -fstack-protector
+
+ use static && LDFLAGS="${LDFLAGS} -static"
+
+ #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/" \
+ -e "/^CFGL=/ s/\$/ ${LDFLAGS}/" \
+ Makefile.orig > Makefile
+
+ make all || die
+}
+
+src_install() {
+ #/usr/sbin is a good location -- drobbins
+ dosbin lsof || die
+ # .a libs not needed during boot so they go in /usr/lib -- drobbins
+ dolib lib/liblsof.a || die
+ 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
+}
diff --git a/sys-process/lsof/lsof-4.73.ebuild b/sys-process/lsof/lsof-4.73.ebuild
new file mode 100644
index 000000000000..51e707f5f3d7
--- /dev/null
+++ b/sys-process/lsof/lsof-4.73.ebuild
@@ -0,0 +1,52 @@
+# Copyright 1999-2005 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/sys-process/lsof/lsof-4.73.ebuild,v 1.1 2005/03/03 14:58:28 ciaranm Exp $
+
+inherit eutils flag-o-matic fixheadtails
+
+MY_P=${P/-/_}
+DESCRIPTION="Lists open files for running Unix processes"
+HOMEPAGE="ftp://vic.cc.purdue.edu/pub/tools/unix/lsof/README"
+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"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 arm hppa ia64 mips ppc ~ppc64 s390 sparc x86"
+IUSE="static"
+
+DEPEND="virtual/libc"
+
+S=${WORKDIR}/${MY_P}/${MY_P}_src
+
+src_unpack() {
+ unpack ${A}
+ cd ${MY_P}
+ tar xf ${MY_P}_src.tar || die
+
+ # now patch the scripts to automate everything
+ cd ${S}
+ ht_fix_file Configure Customize
+ touch .neverInv
+ epatch ${FILESDIR}/${PV}-answer-config.patch
+}
+
+src_compile() {
+ # #26576 lsof 4.71 compile with -fstack-protector
+ use alpha && filter-flags -fstack-protector
+ use static && append-ldflags -static
+
+ ./Configure linux || die "configure"
+ emake all || die
+}
+
+src_install() {
+ dosbin lsof || die "dosbin"
+ dolib lib/liblsof.a || die "dolib"
+
+ insinto /usr/share/lsof/scripts
+ doins scripts/*
+
+ doman lsof.8
+ dodoc 00*
+}
diff --git a/sys-process/lsof/lsof-4.74.ebuild b/sys-process/lsof/lsof-4.74.ebuild
new file mode 100644
index 000000000000..eb1e287bfa39
--- /dev/null
+++ b/sys-process/lsof/lsof-4.74.ebuild
@@ -0,0 +1,60 @@
+# Copyright 1999-2005 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/sys-process/lsof/lsof-4.74.ebuild,v 1.1 2005/03/03 14:58:28 ciaranm Exp $
+
+inherit eutils flag-o-matic fixheadtails toolchain-funcs
+
+MY_P=${P/-/_}
+DESCRIPTION="Lists open files for running Unix processes"
+HOMEPAGE="ftp://vic.cc.purdue.edu/pub/tools/unix/lsof/README"
+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"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sparc ~x86"
+IUSE="static"
+
+DEPEND="virtual/libc"
+
+S=${WORKDIR}/${MY_P}/${MY_P}_src
+
+src_unpack() {
+ unpack ${A}
+ cd ${MY_P}
+ tar xf ${MY_P}_src.tar || die
+
+ # now patch the scripts to automate everything
+ cd ${S}
+ ht_fix_file Configure Customize
+ touch .neverInv
+ epatch ${FILESDIR}/4.73-answer-config.patch
+}
+
+src_compile() {
+ # #26576 lsof 4.71 compile with -fstack-protector
+ use alpha && filter-flags -fstack-protector
+ use static && append-ldflags -static
+
+ ./Configure linux || die "configure failed"
+
+ # Make sure we use proper toolchain
+ sed -i \
+ -e "/^CC=/s:cc:$(tc-getCC):" \
+ -e "/^AR=/s:ar:$(tc-getAR):" \
+ -e "/^RANLIB=/s:ranlib:$(tc-getRANLIB):" \
+ Makefile lib/Makefile
+
+ emake all || die "emake failed"
+}
+
+src_install() {
+ dosbin lsof || die "dosbin"
+ dolib lib/liblsof.a || die "dolib"
+
+ insinto /usr/share/lsof/scripts
+ doins scripts/*
+
+ doman lsof.8
+ dodoc 00*
+}
diff --git a/sys-process/lsof/metadata.xml b/sys-process/lsof/metadata.xml
new file mode 100644
index 000000000000..96a2d586367d
--- /dev/null
+++ b/sys-process/lsof/metadata.xml
@@ -0,0 +1,5 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>base-system</herd>
+</pkgmetadata>