summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2011-09-29 03:15:30 +0000
committerMike Frysinger <vapier@gentoo.org>2011-09-29 03:15:30 +0000
commitfffb951f0cabd5a7454526b5f0b184f0e4865818 (patch)
tree2b70fb322ff93c86b93cb4daca9ac1756d1f1fad /sys-process
parentadd usex() helper #382963 (diff)
downloadhistorical-fffb951f0cabd5a7454526b5f0b184f0e4865818.tar.gz
historical-fffb951f0cabd5a7454526b5f0b184f0e4865818.tar.bz2
historical-fffb951f0cabd5a7454526b5f0b184f0e4865818.zip
Version bump.
Package-Manager: portage-2.2.0_alpha59/cvs/Linux x86_64
Diffstat (limited to 'sys-process')
-rw-r--r--sys-process/lsof/ChangeLog7
-rw-r--r--sys-process/lsof/Manifest12
-rw-r--r--sys-process/lsof/lsof-4.85.ebuild75
3 files changed, 88 insertions, 6 deletions
diff --git a/sys-process/lsof/ChangeLog b/sys-process/lsof/ChangeLog
index dd59da50d69b..62893845abaa 100644
--- a/sys-process/lsof/ChangeLog
+++ b/sys-process/lsof/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for sys-process/lsof
# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sys-process/lsof/ChangeLog,v 1.79 2011/09/17 22:55:12 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-process/lsof/ChangeLog,v 1.80 2011/09/29 03:15:30 vapier Exp $
+
+*lsof-4.85 (29 Sep 2011)
+
+ 29 Sep 2011; Mike Frysinger <vapier@gentoo.org> +lsof-4.85.ebuild:
+ Version bump.
*lsof-4.84-r1 (17 Sep 2011)
diff --git a/sys-process/lsof/Manifest b/sys-process/lsof/Manifest
index 71571a7dd1f7..35b19a40d443 100644
--- a/sys-process/lsof/Manifest
+++ b/sys-process/lsof/Manifest
@@ -5,16 +5,18 @@ AUX lsof-4.84-rpc.patch 7293 RMD160 ca0d8a0bd21d8f35cb4e0ab3c2c3461a31722cd5 SHA
DIST lsof_4.82.tar.bz2 793919 RMD160 de7e8441ec80ce13ba7dbf8b023a6403bd670841 SHA1 200aaf7494bddab4c47eea2466c65e57ef2f3786 SHA256 cbfa9fb6ce21b77f1be8a9c0b7fa245965120d968876212697b92617c2b0bd0f
DIST lsof_4.83.tar.bz2 753094 RMD160 9a03b41362d68f93d9e7c2db824c8af6df978aa1 SHA1 1aee4c8de6959d84613030a65e90855a922493bf SHA256 b89f930bbe36b970e3cd070b9860ee701d8c7285ffedf2fbcec0e5fa3cb1f544
DIST lsof_4.84.tar.bz2 758615 RMD160 c7df81cb9c83d4e03db395397912138953529510 SHA1 b4fd6011fc183c0602bbba2116b8335a0c57917b SHA256 20893a2d9b443fba519602f05692d5f72054a9f6dc1236bcb2616cc5330dc725
+DIST lsof_4.85.tar.bz2 763397 RMD160 8ce0e8aa4345b9c2063e9ea88a54dadcab635613 SHA1 d6b40a2de66f541e950b3f174437c9ede7d12b6f SHA256 49aa58e63539c45bada514a6a2e5a1c9f946ada1f4137dc9154cf4bf6054a1c1
EBUILD lsof-4.82.ebuild 1564 RMD160 d451bf9bbf6318334a8e50f4b1d2ae50e38c327b SHA1 1a61666e103094593ca8af48af34e161a43bb95b SHA256 ac4cdea0e1eda34519b941d1c683de9e4b0d67180ee3d0581dfb40dd180263e9
EBUILD lsof-4.83.ebuild 1448 RMD160 147c474f1ae07368acd3896ec6f292abe7000e2e SHA1 9f5c74270d5dc5e48677f6722ff33fb89dfdb6f1 SHA256 4bbeb0a560aed53ac126fb73acb1bba70daba2b1de4a5a7dc8d031ffcb6bab4b
EBUILD lsof-4.84-r1.ebuild 2301 RMD160 d319902f9f28d8a001dd6f59b0408210d7c279d9 SHA1 f3a579c5dbf91874378f643cf049380c0da0d0ad SHA256 d23f45467e684650db4c414f0b9262243be1bd838e5faf365acb64e3b6583231
EBUILD lsof-4.84.ebuild 1455 RMD160 e5e3839ad68d999b73adb619d1bfd8b91bfc74f3 SHA1 77db0f08cd793614322f2ca1e03580d7e158f428 SHA256 1a14c9fddadb2c80100da2b85d6cb2d641bfeab61d67b342382d0cf6773198f9
-MISC ChangeLog 13434 RMD160 8ab25ef112e04d823308b368d81a2a9a655fbd4b SHA1 82411da8b21282f719d6e008a7c3cf04b05b963c SHA256 1545074629128e0dcf1107e5fc0bc31bb35fa870aec1e08b392552d23dcc37af
+EBUILD lsof-4.85.ebuild 2199 RMD160 19f1938c62927d045ae1a06365dbbb37161f6285 SHA1 0a6a4189422edad9dc0d298be805166fc02643f9 SHA256 3d921d7130c2b329b9c6b066b7725df7e5fc563ff79a075ed04244a824d79ec3
+MISC ChangeLog 13546 RMD160 cc65658fec0de2e38244b48833cb4ec625550a3f SHA1 c517a8c5ad40e88b9ebba6107e1a5ccd96612ef5 SHA256 194049d72f80fb5cccde89a92cfeb88f73a2c0def5fae5f72ca2d5106e427b11
MISC metadata.xml 238 RMD160 c0918b440085b691a6da31dba31384758ae4d214 SHA1 2cae35a26364573c7399f53668fb73dd6923b09f SHA256 27f27d7c7ba9fb670a6867a79ff8af354e48735f9bd672d387d96b4bd49d415b
-----BEGIN PGP SIGNATURE-----
-Version: GnuPG v2.0.17 (GNU/Linux)
+Version: GnuPG v2.0.18 (GNU/Linux)
-iF4EAREIAAYFAk51JVcACgkQaC/OocHi7JbkhgD+LOAXvhmTPQD7vDeP4LXzAG5q
-CXRIr4mzYn0n26NKN2gA/3lLQwPjqfsGBA3shn38M8NQSsCJn+ttjsXBrtfBRSxO
-=ZvhK
+iF4EAREIAAYFAk6D4tkACgkQaC/OocHi7JZVagEAjyuhU/LXF3wbNny60bNmTVAd
+7wcIWZ5CCiIT3+EQSl0A/2v38AzNsTLdrDEpAAV5TXr2KnspG1a4eOKR0dUrjvUH
+=8Cba
-----END PGP SIGNATURE-----
diff --git a/sys-process/lsof/lsof-4.85.ebuild b/sys-process/lsof/lsof-4.85.ebuild
new file mode 100644
index 000000000000..009f9ffc979d
--- /dev/null
+++ b/sys-process/lsof/lsof-4.85.ebuild
@@ -0,0 +1,75 @@
+# Copyright 1999-2011 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/sys-process/lsof/lsof-4.85.ebuild,v 1.1 2011/09/29 03:15:30 vapier Exp $
+
+EAPI="2"
+
+inherit eutils flag-o-matic toolchain-funcs
+
+MY_P=${P/-/_}
+DESCRIPTION="Lists open files for running Unix processes"
+HOMEPAGE="ftp://lsof.itap.purdue.edu/pub/tools/unix/lsof/"
+SRC_URI="ftp://lsof.itap.purdue.edu/pub/tools/unix/lsof/${MY_P}.tar.bz2
+ ftp://vic.cc.purdue.edu/pub/tools/unix/lsof/${MY_P}.tar.bz2
+ ftp://ftp.cerias.purdue.edu/pub/tools/unix/sysutils/lsof/${MY_P}.tar.bz2"
+
+LICENSE="lsof"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~x86-fbsd"
+IUSE="ipv6 rpc selinux static"
+
+RDEPEND="rpc? ( net-libs/libtirpc )
+ selinux? ( sys-libs/libselinux )"
+DEPEND="${RDEPEND}"
+
+S=${WORKDIR}/${MY_P}/${MY_P}_src
+
+src_unpack() {
+ unpack ${A}
+ cd ${MY_P}
+ unpack ./${MY_P}_src.tar
+}
+
+src_prepare() {
+ # convert `test -r header.h` into a compile test
+ sed -i -r \
+ -e 's:test -r \$\{LSOF_INCLUDE\}/([[:alnum:]/._]*):echo "#include <\1>" | ${LSOF_CC} ${LSOF_CFGF} -E - >/dev/null 2>\&1:' \
+ -e 's:grep (.*) \$\{LSOF_INCLUDE\}/([[:alnum:]/._]*):echo "#include <\2>" | ${LSOF_CC} ${LSOF_CFGF} -E -P -dD - 2>/dev/null | grep \1:' \
+ Configure || die
+}
+
+target() { usex kernel_FreeBSD freebsd linux ; }
+src_configure() {
+ use static && append-ldflags -static
+
+ append-cppflags $(usex rpc "$($(tc-getPKG_CONFIG) libtirpc --cflags)" -DHASNOTRPC)
+ append-cppflags $(usex ipv6 -{D,U}HASIPv6)
+
+ export LSOF_CFGL="${CFLAGS} ${LDFLAGS} \
+ $(use rpc && $(tc-getPKG_CONFIG) libtirpc --libs)"
+
+ # Set LSOF_INCLUDE to a dummy location so the script doesn't poke
+ # around in it and mix /usr/include paths with cross-compile/etc.
+ touch .neverInv
+ LINUX_HASSELINUX=$(usex selinux y n) \
+ LSOF_INCLUDE=${T} \
+ LSOF_CC=$(tc-getCC) \
+ LSOF_AR="$(tc-getAR) rc" \
+ LSOF_RANLIB=$(tc-getRANLIB) \
+ LSOF_CFGF="${CFLAGS} ${CPPFLAGS}" \
+ ./Configure -n $(target) || die
+}
+
+src_compile() {
+ emake DEBUG="" all || die
+}
+
+src_install() {
+ dobin lsof || die
+
+ insinto /usr/share/lsof/scripts
+ doins scripts/* || die
+
+ doman lsof.8 || die
+ dodoc 00*
+}