diff options
author | Mike Frysinger <vapier@gentoo.org> | 2007-07-13 03:04:16 +0000 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2007-07-13 03:04:16 +0000 |
commit | 5ef72d5decd6861cfa2d3f77eeca0051f36f417e (patch) | |
tree | 3c838f4da78284a0a96a04d1f8c52bb2dba4ba82 /sys-process | |
parent | Marked ppc stable for bug #174939. (diff) | |
download | historical-5ef72d5decd6861cfa2d3f77eeca0051f36f417e.tar.gz historical-5ef72d5decd6861cfa2d3f77eeca0051f36f417e.tar.bz2 historical-5ef72d5decd6861cfa2d3f77eeca0051f36f417e.zip |
Move lsof to /usr/bin #185145 by Hanno Boeck.
Package-Manager: portage-2.1.3_rc8
Diffstat (limited to 'sys-process')
-rw-r--r-- | sys-process/lsof/ChangeLog | 7 | ||||
-rw-r--r-- | sys-process/lsof/Manifest | 23 | ||||
-rw-r--r-- | sys-process/lsof/files/digest-lsof-4.78-r1 | 3 | ||||
-rw-r--r-- | sys-process/lsof/lsof-4.78-r1.ebuild | 62 |
4 files changed, 86 insertions, 9 deletions
diff --git a/sys-process/lsof/ChangeLog b/sys-process/lsof/ChangeLog index 15bd58e6d5f4..f33aebe69f50 100644 --- a/sys-process/lsof/ChangeLog +++ b/sys-process/lsof/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for sys-process/lsof # Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/sys-process/lsof/ChangeLog,v 1.31 2007/05/18 14:18:44 uberlord Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-process/lsof/ChangeLog,v 1.32 2007/07/13 03:04:16 vapier Exp $ + +*lsof-4.78-r1 (13 Jul 2007) + + 13 Jul 2007; Mike Frysinger <vapier@gentoo.org> +lsof-4.78-r1.ebuild: + Move lsof to /usr/bin #185145 by Hanno Boeck. 18 May 2007; Roy Marples <uberlord@gentoo.org> +files/lsof-4.78-answer-config.patch, +files/lsof-4.78-freebsd.patch, diff --git a/sys-process/lsof/Manifest b/sys-process/lsof/Manifest index 38444ff51e2d..a23adbd2d89a 100644 --- a/sys-process/lsof/Manifest +++ b/sys-process/lsof/Manifest @@ -19,14 +19,18 @@ EBUILD lsof-4.77.ebuild 1485 RMD160 65349747db9a565e6129a8df728a33248b808d29 SHA MD5 7626a2286f40df8926d75ae88345c93a lsof-4.77.ebuild 1485 RMD160 65349747db9a565e6129a8df728a33248b808d29 lsof-4.77.ebuild 1485 SHA256 f7ce54485fc0184983ae26a250166ce68be7aba23a03ff8a41c7779e31a9b71f lsof-4.77.ebuild 1485 +EBUILD lsof-4.78-r1.ebuild 1609 RMD160 b3a03c03748d3ccf5eb963cbfd68167c3ac94991 SHA1 6a546d4a8d685154fd8699f33b724f8b30e34ad5 SHA256 7d8ec2237f1c9d7323fd7329acbaa84d4e4c3b8894bc6a937ca587fbb9efbd28 +MD5 e6bdaab7b76903cf44d25fa9821f7712 lsof-4.78-r1.ebuild 1609 +RMD160 b3a03c03748d3ccf5eb963cbfd68167c3ac94991 lsof-4.78-r1.ebuild 1609 +SHA256 7d8ec2237f1c9d7323fd7329acbaa84d4e4c3b8894bc6a937ca587fbb9efbd28 lsof-4.78-r1.ebuild 1609 EBUILD lsof-4.78.ebuild 1609 RMD160 bf6a671e722280aae46992882843e9022d29edb1 SHA1 2c3dab95b362870a9df71993fb08cd87862e5103 SHA256 7bfe413e42e68ce76fddbb613e1633745fa9a87b8af52507331f9b6ca10d60e3 MD5 17c3ab352b4787c8b6a8c8b6abb2436e lsof-4.78.ebuild 1609 RMD160 bf6a671e722280aae46992882843e9022d29edb1 lsof-4.78.ebuild 1609 SHA256 7bfe413e42e68ce76fddbb613e1633745fa9a87b8af52507331f9b6ca10d60e3 lsof-4.78.ebuild 1609 -MISC ChangeLog 7538 RMD160 19def496d8e6c0c9d42d9e32d23d940e98e01900 SHA1 9c8d58a581dfdca40d08ba88bdb3f0423800917f SHA256 b30d2f827e1f586b565e8a235bb26e3e3226c203b2bcfd1a4f67cef5d2c36b5b -MD5 6c14f1949e0754190714124b3bbd5c26 ChangeLog 7538 -RMD160 19def496d8e6c0c9d42d9e32d23d940e98e01900 ChangeLog 7538 -SHA256 b30d2f827e1f586b565e8a235bb26e3e3226c203b2bcfd1a4f67cef5d2c36b5b ChangeLog 7538 +MISC ChangeLog 7686 RMD160 5ab8a2ce013b527ec3d104c0501b19fd40f77c6e SHA1 d233f930cc8cc5823b87a35a5a61c40f56180405 SHA256 d7b2b4a2a258883bb17484485a358c2f2532618c45a66728891000cab2d34f0d +MD5 de6b79aed8f3820bf4529816483571a9 ChangeLog 7686 +RMD160 5ab8a2ce013b527ec3d104c0501b19fd40f77c6e ChangeLog 7686 +SHA256 d7b2b4a2a258883bb17484485a358c2f2532618c45a66728891000cab2d34f0d ChangeLog 7686 MISC metadata.xml 164 RMD160 f43cbec30b7074319087c9acffdb9354b17b0db3 SHA1 9c213f5803676c56439df3716be07d6692588856 SHA256 f5f2891f2a4791cd31350bb2bb572131ad7235cd0eeb124c9912c187ac10ce92 MD5 9a09f8d531c582e78977dbfd96edc1f2 metadata.xml 164 RMD160 f43cbec30b7074319087c9acffdb9354b17b0db3 metadata.xml 164 @@ -37,10 +41,13 @@ SHA256 b07f2bfa9a80ca792889f9ea744d534308f9914a5c55f1917e61fe1ca15659e0 files/di MD5 ac99813bdddfddafacc0ac98bf146123 files/digest-lsof-4.78 232 RMD160 1819b9e9600756877cf79852077c6e96b4748cd1 files/digest-lsof-4.78 232 SHA256 d0ad63269404932186ef2aa538eb9600ae127bc7b2f444c8f4e9f65ed4754502 files/digest-lsof-4.78 232 +MD5 ac99813bdddfddafacc0ac98bf146123 files/digest-lsof-4.78-r1 232 +RMD160 1819b9e9600756877cf79852077c6e96b4748cd1 files/digest-lsof-4.78-r1 232 +SHA256 d0ad63269404932186ef2aa538eb9600ae127bc7b2f444c8f4e9f65ed4754502 files/digest-lsof-4.78-r1 232 -----BEGIN PGP SIGNATURE----- -Version: GnuPG v2.0.4 (GNU/Linux) +Version: GnuPG v2.0.5 (GNU/Linux) -iD8DBQFGToD28bi6rjpTunYRAsYhAKCiUVEbYSYeLKQFhMOuuZDtZxYbQgCfRzoO -ua8b/Y/g7CoAFmP4amLCSRs= -=kO9z +iD8DBQFGluvhp/wUKkr7RBoRAs2gAKDHbI3WKPpe3d2UKuNNmghyF8lyagCeMBjc +jHr/5NdprjGf5bGxiG9MKiA= +=jQoS -----END PGP SIGNATURE----- diff --git a/sys-process/lsof/files/digest-lsof-4.78-r1 b/sys-process/lsof/files/digest-lsof-4.78-r1 new file mode 100644 index 000000000000..633f28b04b0e --- /dev/null +++ b/sys-process/lsof/files/digest-lsof-4.78-r1 @@ -0,0 +1,3 @@ +MD5 00360ce2b62de3015fa7e0f8f92179a8 lsof_4.78.tar.bz2 756729 +RMD160 50d71e500f1109cda717b73ce209c0e100a6dbe9 lsof_4.78.tar.bz2 756729 +SHA256 898db51a4016efca7d408163578443238373773357949e1b4978e26807a1fb2b lsof_4.78.tar.bz2 756729 diff --git a/sys-process/lsof/lsof-4.78-r1.ebuild b/sys-process/lsof/lsof-4.78-r1.ebuild new file mode 100644 index 000000000000..2a79a9bcd58f --- /dev/null +++ b/sys-process/lsof/lsof-4.78-r1.ebuild @@ -0,0 +1,62 @@ +# Copyright 1999-2007 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/sys-process/lsof/lsof-4.78-r1.ebuild,v 1.1 2007/07/13 03:04:16 vapier 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" + +DEPEND="" + +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}/${P}"-answer-config.patch + epatch "${FILESDIR}/${P}"-freebsd.patch +} + +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 all || die "emake failed" +} + +src_install() { + dobin lsof || die "dosbin" + dolib lib/liblsof.a || die "dolib" + + insinto /usr/share/lsof/scripts + doins scripts/* + + doman lsof.8 + dodoc 00* +} |