From: Mike Frysinger Date: Sat, 6 Nov 2004 00:13:36 +0000 (+0000) Subject: Version bump and clean up #70150 by Ervin Németh. X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=1f55d1d5ede806756e427bbb6d28cee24930b5fd;p=gentoo.git Version bump and clean up #70150 by Ervin Németh. --- diff --git a/sys-apps/lsof/ChangeLog b/sys-apps/lsof/ChangeLog index 7a142d8a8d9c..e67d51c5fb43 100644 --- a/sys-apps/lsof/ChangeLog +++ b/sys-apps/lsof/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for sys-apps/lsof # Copyright 2002-2004 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/sys-apps/lsof/ChangeLog,v 1.25 2004/11/05 23:33:55 lv Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-apps/lsof/ChangeLog,v 1.26 2004/11/06 00:13:36 vapier Exp $ + +*lsof-4.73 (05 Nov 2004) + + 05 Nov 2004; Mike Frysinger + +files/4.73-answer-config.patch, +lsof-4.73.ebuild: + Version bump and clean up #70150 by Ervin Németh. 05 Nov 2004; Travis Tilley lsof-4.71.ebuild: stable on amd64 diff --git a/sys-apps/lsof/Manifest b/sys-apps/lsof/Manifest index bf4105b7e143..c254b1e70855 100644 --- a/sys-apps/lsof/Manifest +++ b/sys-apps/lsof/Manifest @@ -1,12 +1,25 @@ -MD5 f24597685d18d400d4d0009b20d1cae9 ChangeLog 3343 +-----BEGIN PGP SIGNED MESSAGE----- +Hash: SHA1 + +MD5 1dd4fc672c72a3148b021f576b1122bd ChangeLog 3530 MD5 d5daf93b5f1214816d2d9066f7ede12c lsof-4.64.ebuild 1539 MD5 f77cd6eb905d0e856ef8c5490d6447a0 lsof-4.67.ebuild 1537 MD5 843ef180f36990b01b6758592b37e475 lsof-4.68.ebuild 1797 MD5 44c31e6ecaf1b6042935cd3f20f994b5 lsof-4.69.ebuild 1805 -MD5 31353e4fe3da9b9422f4aaf9d801c740 lsof-4.71.ebuild 1824 MD5 9a09f8d531c582e78977dbfd96edc1f2 metadata.xml 164 +MD5 31353e4fe3da9b9422f4aaf9d801c740 lsof-4.71.ebuild 1824 +MD5 e38f3eb0c07eb48defd9f4ad227c59e0 lsof-4.73.ebuild 1305 MD5 8d9d90e05e24a5ffaf927bb83670715a files/digest-lsof-4.64 61 MD5 4da5c4c30e43d53ea46517baa6125d1a files/digest-lsof-4.67 61 MD5 ce8b6000c8273dd5481bc4f4fcdd9ec2 files/digest-lsof-4.68 61 MD5 b04c75690e9bb81c851f72da3c116180 files/digest-lsof-4.69 61 MD5 17950eec4cb0ad6f3a3b6a521239dcbe files/digest-lsof-4.71 62 +MD5 283810a9553bbb1e1579a6dc1a3b7624 files/digest-lsof-4.73 62 +MD5 8a26fd08042572a5821e4f5fa51ac5ff files/4.73-answer-config.patch 1755 +-----BEGIN PGP SIGNATURE----- +Version: GnuPG v1.9.10 (GNU/Linux) + +iD8DBQFBjBdkHTu7gpaalycRAuE4AKCa4MSWL59I94usJhkwbsdTx/CKZwCg84vu +jkx0hlD4pMT8NfZRzjPAfYI= +=xbR/ +-----END PGP SIGNATURE----- diff --git a/sys-apps/lsof/files/4.73-answer-config.patch b/sys-apps/lsof/files/4.73-answer-config.patch new file mode 100644 index 000000000000..175aa6c4f519 --- /dev/null +++ b/sys-apps/lsof/files/4.73-answer-config.patch @@ -0,0 +1,68 @@ +--- Configure.orig 2004-11-05 18:43:59.396409176 -0500 ++++ Configure 2004-11-05 18:47:23.086443584 -0500 +@@ -2177,3 +2177,3 @@ + fi # } +- LSOF_CFGF="-DLINUXV=$LSOF_VERS" ++ LSOF_CFGF="${CFLAGS} -DLINUXV=$LSOF_VERS" + if test $LSOF_VERS -lt 21072 # { +@@ -4083,3 +4083,3 @@ + echo "" >> $LSOF_MKFC +- echo "CFGL= $LSOF_FCFGL -L./$LSOF_LIB -llsof $LSOF_CFGL" >> $LSOF_MKFC ++ echo "CFGL= $LSOF_FCFGL -L./$LSOF_LIB -llsof $LSOF_CFGL ${LDFLAGS}" >> $LSOF_MKFC + fi # } +--- Customize.orig 2004-11-05 19:01:48.905819032 -0500 ++++ Customize 2004-11-05 19:05:33.349698376 -0500 +@@ -100,7 +100,7 @@ + do + echo "" + echo $EO "Do you want to customize (y|n) [y]? $EC" +- read ANS EXCESS ++ ANS=y + if test "X$ANS" = "Xn" -o "X$ANS" = "XN" + then + exit 0 +@@ -204,7 +204,7 @@ + else + echo $EO "Enable HASSECURITY (y|n) [n]? $EC" + fi +- read ANS EXCESS ++ ANS=y + if test "X$ANS" = "Xy" -o "X$ANS" = "XY" + then + echo "" +@@ -267,7 +267,7 @@ + else + echo $EO "Enable HASNOSOCKSECURITY (y|n) [n]? $EC" + fi +- read ANS EXCESS ++ ANS=y + if test "X$ANS" = "Xy" -o "X$ANS" = "XY" + then + echo "" +@@ -329,7 +329,7 @@ + else + echo $EO "Disable WARNINGSTATE? (y|n) [n]? $EC" + fi +- read ANS EXCESS ++ ANS=n + if test "X$ANS" = "Xy" -o "X$ANS" = "XY" + then + echo "" +@@ -918,7 +918,7 @@ + else + echo $EO "Enable HASKERNIDCK (y|n) [n]? $EC" + fi +- read ANS EXCESS ++ ANS=y + if test "X$ANS" = "Xy" -o "X$ANS" = "XY" + then + echo "" +@@ -1115,7 +1115,7 @@ + echo "" + echo "Do you want to rename $OLD to ${OLD}.old and replace it with" + echo $EO "$NEW (y|n) [y]? $EC" +- read ANS EXCESS ++ ANS=y + if test "X$ANS" = "Xn" -o "X$ANS" = "XN" + then + END=1 diff --git a/sys-apps/lsof/files/digest-lsof-4.73 b/sys-apps/lsof/files/digest-lsof-4.73 new file mode 100644 index 000000000000..779f86d449e7 --- /dev/null +++ b/sys-apps/lsof/files/digest-lsof-4.73 @@ -0,0 +1 @@ +MD5 1bb09e7ea8f537384d211d648bb8368b lsof_4.73.tar.gz 1023790 diff --git a/sys-apps/lsof/lsof-4.73.ebuild b/sys-apps/lsof/lsof-4.73.ebuild new file mode 100644 index 000000000000..7ebb0a22ce95 --- /dev/null +++ b/sys-apps/lsof/lsof-4.73.ebuild @@ -0,0 +1,52 @@ +# Copyright 1999-2004 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/sys-apps/lsof/lsof-4.73.ebuild,v 1.1 2004/11/06 00:13:36 vapier Exp $ + +inherit eutils flag-o-matic fixheadtails + +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="virtual/libc" + +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}/${PV}-answer-config.patch +} + +src_compile() { + # #26576 lsof 4.71 compile with -fstack-protector + use alpha && filter-flags -fstack-protector + use static && append-ldflags -static + + ./Configure linux || die "configure" + emake all || die +} + +src_install() { + dosbin lsof || die "dosbin" + dolib lib/liblsof.a || die "dolib" + + insinto /usr/share/lsof/scripts + doins scripts/* + + doman lsof.8 + dodoc 00* +}