Version bump #105357 by Andrej Kacian.
authorMike Frysinger <vapier@gentoo.org>
Sat, 10 Sep 2005 02:20:55 +0000 (02:20 +0000)
committerMike Frysinger <vapier@gentoo.org>
Sat, 10 Sep 2005 02:20:55 +0000 (02:20 +0000)
Package-Manager: portage-2.0.51.22-r2

sys-process/lsof/ChangeLog
sys-process/lsof/Manifest
sys-process/lsof/files/digest-lsof-4.76 [new file with mode: 0644]
sys-process/lsof/lsof-4.76.ebuild [new file with mode: 0644]

index 75856c667364a19727e5a388d5f5babf4a907a05..d277f6696bed65fb00f9f585fe16f8878d456127 100644 (file)
@@ -1,6 +1,11 @@
 # ChangeLog for sys-process/lsof
 # Copyright 1999-2005 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sys-process/lsof/ChangeLog,v 1.12 2005/08/23 20:54:48 agriffis Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-process/lsof/ChangeLog,v 1.13 2005/09/10 02:20:55 vapier Exp $
+
+*lsof-4.76 (10 Sep 2005)
+
+  10 Sep 2005; Mike Frysinger <vapier@gentoo.org> +lsof-4.76.ebuild:
+  Version bump #105357 by Andrej Kacian.
 
   23 Aug 2005; Aron Griffis <agriffis@gentoo.org> lsof-4.75.ebuild:
   stable on ia64
index 225a3e1223c70e7a8ac02625933ab701042a44e4..b1dd8ba17892d6fb2671fbe5704b0d64d90b9e54 100644 (file)
@@ -1,20 +1,21 @@
 -----BEGIN PGP SIGNED MESSAGE-----
 Hash: SHA1
 
-MD5 26c12e7c15c05a1eade57ec432ef2f04 lsof-4.76.ebuild 1510
+MD5 f2c3623db5df1afa9d7c4048d48906df lsof-4.76.ebuild 1425
 MD5 9a09f8d531c582e78977dbfd96edc1f2 metadata.xml 164
 MD5 f8467d75a813d4a46088ecb7f1f766d0 lsof-4.74.ebuild 1530
 MD5 56fd77f94ff54562944e0d96d9b574b4 lsof-4.73.ebuild 1298
 MD5 26c12e7c15c05a1eade57ec432ef2f04 lsof-4.75.ebuild 1510
-MD5 2bc1d0369229ed1c6b238edaaf4668a7 ChangeLog 5424
+MD5 5abc7c9e3098d6e28b402ba751368846 ChangeLog 5559
 MD5 8a26fd08042572a5821e4f5fa51ac5ff files/4.73-answer-config.patch 1755
 MD5 64d819b92ce48c125f86e88739d58638 files/digest-lsof-4.75 61
 MD5 283810a9553bbb1e1579a6dc1a3b7624 files/digest-lsof-4.73 62
 MD5 4e7f0c29cf300421b494446e6aa0c8a4 files/digest-lsof-4.74 62
+MD5 8038fed690d1ba6a3c711954b75e39b5 files/digest-lsof-4.76 61
 -----BEGIN PGP SIGNATURE-----
 Version: GnuPG v1.4.2 (GNU/Linux)
 
-iD8DBQFDIkJ6gIKl8Uu19MoRAoXdAJwPu5QmSV6Wb2Pg0PM+CDqL/+Td6ACfWH88
-DUZ8OFOwuP4jzYjCwKYbQiU=
-=Y6yn
+iD8DBQFDIkMfgIKl8Uu19MoRAi9UAJ94K9CMXk7d1mOm+WS6FLc3VqCCBgCdHXdy
+BB8ryBZr5C4ywcu+EL9TfQ0=
+=JV/O
 -----END PGP SIGNATURE-----
diff --git a/sys-process/lsof/files/digest-lsof-4.76 b/sys-process/lsof/files/digest-lsof-4.76
new file mode 100644 (file)
index 0000000..a55572b
--- /dev/null
@@ -0,0 +1 @@
+MD5 886e72980ad3504c305ead9792e4d528 lsof_4.76.tar.gz 995320
diff --git a/sys-process/lsof/lsof-4.76.ebuild b/sys-process/lsof/lsof-4.76.ebuild
new file mode 100644 (file)
index 0000000..677ab50
--- /dev/null
@@ -0,0 +1,58 @@
+# 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.76.ebuild,v 1.1 2005/09/10 02:20:55 vapier 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=""
+
+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() {
+       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*
+}