From 228dc50f6fb017842f4274958b8cfaff4c73039b Mon Sep 17 00:00:00 2001 From: Diego Elio Pettenò Date: Fri, 3 Oct 2008 16:50:46 +0000 Subject: Add a new revision that doesn't install the static library. Since we don't install any header file it's pointless to have it. Also, it's just an internal help library, of no use once lsof is installed. Package-Manager: portage-2.2_rc11/cvs/Linux 2.6.26-gentoo-r1 x86_64 --- sys-process/lsof/ChangeLog | 9 ++++- sys-process/lsof/Manifest | 13 ++++++- sys-process/lsof/lsof-4.80-r1.ebuild | 67 ++++++++++++++++++++++++++++++++++++ 3 files changed, 87 insertions(+), 2 deletions(-) create mode 100644 sys-process/lsof/lsof-4.80-r1.ebuild (limited to 'sys-process/lsof') diff --git a/sys-process/lsof/ChangeLog b/sys-process/lsof/ChangeLog index 2bc3b83b7c41..d0c08a38f41d 100644 --- a/sys-process/lsof/ChangeLog +++ b/sys-process/lsof/ChangeLog @@ -1,6 +1,13 @@ # ChangeLog for sys-process/lsof # Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/sys-process/lsof/ChangeLog,v 1.49 2008/08/18 18:55:05 ranger Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-process/lsof/ChangeLog,v 1.50 2008/10/03 16:50:45 flameeyes Exp $ + +*lsof-4.80-r1 (03 Oct 2008) + + 03 Oct 2008; Diego Pettenò +lsof-4.80-r1.ebuild: + Add a new revision that doesn't install the static library. Since we don't + install any header file it's pointless to have it. Also, it's just an + internal help library, of no use once lsof is installed. 18 Aug 2008; Brent Baude lsof-4.78-r2.ebuild: stable ppc64, bug 234929 diff --git a/sys-process/lsof/Manifest b/sys-process/lsof/Manifest index a02d849373b5..5114803587bb 100644 --- a/sys-process/lsof/Manifest +++ b/sys-process/lsof/Manifest @@ -1,3 +1,6 @@ +-----BEGIN PGP SIGNED MESSAGE----- +Hash: SHA1 + AUX 4.73-answer-config.patch 1755 RMD160 e7a11d6028e7f91c8621078034ac438e5065ac4e SHA1 9237a3a2200867471091c43c0e1552b74824b85e SHA256 0d6257c35020dc4a45c1832ba5c0f925c005914fa44702d2f6d357a3944ac6a3 AUX lsof-4.78-answer-config.patch 2217 RMD160 a8ecfaf246398a016f2ce942ba8142f2554f1fc1 SHA1 0708b69847a6ff8619cbc514a915f80f6db2db84 SHA256 61dafde48ff6ebb469b2e318ea8c45c5ecafc3bc229098ed9fdad84feb25d444 AUX lsof-4.78-freebsd.patch 455 RMD160 8595b877ed722cffda486232cbbbbe6cfc61b4f7 SHA1 a5ce7efd2fd074fdd97114e1f4fc0822b83d0834 SHA256 6a3c841f11fbabb17cf8ff7c6c7b19c04cf169dc01002ee243370003fd81367b @@ -6,6 +9,14 @@ DIST lsof_4.80.tar.bz2 768053 RMD160 069feac73569197bfeebbd06d97852bc3e5f5c2c SH EBUILD lsof-4.78-r1.ebuild 1606 RMD160 474c1220ecf1c5d7c9d337582be06bc72728fecd SHA1 e5b6bb471362aed992cd6d00bc35e5baeb2c31b3 SHA256 2760dc4cff97af3bafe638cfbabdc9f4515c22ff43831b473bfcb8dc19d6aa27 EBUILD lsof-4.78-r2.ebuild 1842 RMD160 77a2788cc58e24f38d0d555b10e02674d3762572 SHA1 7456bf391a3e83f199a80074f7ce6447cd837700 SHA256 ac341100a65247983374bda20f923466fe37fa57556ae484736c46e4b0cb6997 EBUILD lsof-4.78.ebuild 1593 RMD160 adcb7e267de39768ef56bdfce9d918f1ff7a0bc3 SHA1 532ca97693c09c35682502a5cbef0eb7135458d1 SHA256 76d16479b424afb592c911464f1076cc17925569ab1039a8ab007af5bd4199a3 +EBUILD lsof-4.80-r1.ebuild 1782 RMD160 6399130f60ced0f17442439876ced1d25d374e49 SHA1 a2a337333a6123a969f80c3707b710c162285721 SHA256 dec0a8d3dc42dddac5b88cc814134d85639834eb4a896464667a4d9aa629660b EBUILD lsof-4.80.ebuild 1812 RMD160 2f288cacc99bcb4784495c80ca8dcb8fc7a8550f SHA1 a6bc884d2cbcdb06288908b970715bb730b30448 SHA256 21609e5439a57fd9c81e80f2584f24ac8f504c31ffd13ae821bc04f1e1afbf8a -MISC ChangeLog 9512 RMD160 1f395f4520284fb4b906b2fa9c8dff22e8e22406 SHA1 c2f3d40268866d3ecd6d6727291847f942376e46 SHA256 8408f44b8fa922d4397f64a726552bd9cb26100a5c58694e4e42f72b06135b6e +MISC ChangeLog 9828 RMD160 5333c78cf82ca8414e769f0c24a3c558f965ab3f SHA1 7f646644b137a42bfebfda5040ffebb66abd1787 SHA256 dd3c3aa3355dfbf6c38a43e549edbfa3622a4e8a4e31218369aae04d69dbc514 MISC metadata.xml 164 RMD160 f43cbec30b7074319087c9acffdb9354b17b0db3 SHA1 9c213f5803676c56439df3716be07d6692588856 SHA256 f5f2891f2a4791cd31350bb2bb572131ad7235cd0eeb124c9912c187ac10ce92 +-----BEGIN PGP SIGNATURE----- +Version: GnuPG v2.0.9 (GNU/Linux) + +iEYEARECAAYFAkjmTWsACgkQAiZjviIA2XgU9gCg3N0m6Ir2FXSkgAv4z+KRbYlp +iJgAoMO/9FdDZrGDwmWvhJ87KaJKdJuq +=H6MB +-----END PGP SIGNATURE----- diff --git a/sys-process/lsof/lsof-4.80-r1.ebuild b/sys-process/lsof/lsof-4.80-r1.ebuild new file mode 100644 index 000000000000..1b878f485fb5 --- /dev/null +++ b/sys-process/lsof/lsof-4.80-r1.ebuild @@ -0,0 +1,67 @@ +# Copyright 1999-2008 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/sys-process/lsof/lsof-4.80-r1.ebuild,v 1.1 2008/10/03 16:50:46 flameeyes Exp $ + +inherit eutils flag-o-matic fixheadtails 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 + + # now patch the scripts to automate everything + cd "${S}" + ht_fix_file Configure Customize + touch .neverInv + epatch "${FILESDIR}"/${PN}-4.78-answer-config.patch + #Fix automagic dependency on libselinux. Bug 188272. + if ! use selinux; then + sed -i \ + -e 's/ -DHASSELINUX//' \ + -e 's/ -lselinux//' \ + Configure || die "Sed failed. 404. WTF..." + fi +} + +src_compile() { + use static && append-ldflags -static + + local target="linux" + use kernel_FreeBSD && target=freebsd + ./Configure ${target} || 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 DEBUG="" all || die "emake failed" +} + +src_install() { + dobin lsof || die "dosbin" + + insinto /usr/share/lsof/scripts + doins scripts/* + + doman lsof.8 + dodoc 00* +} -- cgit v1.2.3-65-gdbad