summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2010-08-04 02:21:38 +0000
committerMike Frysinger <vapier@gentoo.org>2010-08-04 02:21:38 +0000
commit7d2e20a2c2d2b9075e575fb9ee9f590bee37fe67 (patch)
tree39335d588088e7b67e9386e506cae37d4941a322 /sys-process/lsof
parentold (diff)
downloadgentoo-2-7d2e20a2c2d2b9075e575fb9ee9f590bee37fe67.tar.gz
gentoo-2-7d2e20a2c2d2b9075e575fb9ee9f590bee37fe67.tar.bz2
gentoo-2-7d2e20a2c2d2b9075e575fb9ee9f590bee37fe67.zip
Version bump #330771 by Jim.
(Portage version: 2.2_rc67/cvs/Linux x86_64)
Diffstat (limited to 'sys-process/lsof')
-rw-r--r--sys-process/lsof/ChangeLog7
-rw-r--r--sys-process/lsof/lsof-4.84.ebuild55
2 files changed, 61 insertions, 1 deletions
diff --git a/sys-process/lsof/ChangeLog b/sys-process/lsof/ChangeLog
index 050fa9d60ff1..e138b04dc394 100644
--- a/sys-process/lsof/ChangeLog
+++ b/sys-process/lsof/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for sys-process/lsof
# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sys-process/lsof/ChangeLog,v 1.71 2010/02/01 17:58:35 hwoarang Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-process/lsof/ChangeLog,v 1.72 2010/08/04 02:21:38 vapier Exp $
+
+*lsof-4.84 (04 Aug 2010)
+
+ 04 Aug 2010; Mike Frysinger <vapier@gentoo.org> +lsof-4.84.ebuild:
+ Version bump #330771 by Jim.
01 Feb 2010; Markos Chandras <hwoarang@gentoo.org> lsof-4.82.ebuild:
Stable on amd64 wrt bug #301443
diff --git a/sys-process/lsof/lsof-4.84.ebuild b/sys-process/lsof/lsof-4.84.ebuild
new file mode 100644
index 000000000000..b320f92a1a97
--- /dev/null
+++ b/sys-process/lsof/lsof-4.84.ebuild
@@ -0,0 +1,55 @@
+# Copyright 1999-2010 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/sys-process/lsof/lsof-4.84.ebuild,v 1.1 2010/08/04 02:21:38 vapier Exp $
+
+inherit 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="static selinux"
+
+DEPEND="selinux? ( sys-libs/libselinux )"
+
+S=${WORKDIR}/${MY_P}/${MY_P}_src
+
+src_unpack() {
+ unpack ${A}
+ cd ${MY_P}
+ unpack ./${MY_P}_src.tar
+}
+
+yesno() { use $1 && echo y || echo n ; }
+target() { use kernel_FreeBSD && echo freebsd || echo linux ; }
+
+src_compile() {
+ use static && append-ldflags -static
+
+ touch .neverInv
+ LINUX_HASSELINUX=$(yesno selinux) \
+ LSOF_CC=$(tc-getCC) \
+ LSOF_AR="$(tc-getAR) rc" \
+ LSOF_RANLIB=$(tc-getRANLIB) \
+ LSOF_CFGF="${CFLAGS} ${CPPFLAGS}" \
+ LSOF_CFGL="${CFLAGS} ${LDFLAGS}" \
+ ./Configure -n $(target) || die
+
+ emake DEBUG="" all || die "emake failed"
+}
+
+src_install() {
+ dobin lsof || die "dosbin"
+
+ insinto /usr/share/lsof/scripts
+ doins scripts/*
+
+ doman lsof.8
+ dodoc 00*
+}