diff options
author | Mike Frysinger <vapier@gentoo.org> | 2010-08-04 02:20:52 +0000 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2010-08-04 02:20:52 +0000 |
commit | e8a2ecae46c60b60ec82e66635daff4d0348ffd8 (patch) | |
tree | e49422657b1685c1953cd510a53d59c2a46e5c2a /sys-process | |
parent | old (diff) | |
download | historical-e8a2ecae46c60b60ec82e66635daff4d0348ffd8.tar.gz historical-e8a2ecae46c60b60ec82e66635daff4d0348ffd8.tar.bz2 historical-e8a2ecae46c60b60ec82e66635daff4d0348ffd8.zip |
old
Diffstat (limited to 'sys-process')
-rw-r--r-- | sys-process/lsof/files/lsof-4.78-answer-config.patch | 95 | ||||
-rw-r--r-- | sys-process/lsof/files/lsof-4.81-proc_c.patch | 14 | ||||
-rw-r--r-- | sys-process/lsof/files/lsof-4.81-recmake.patch | 18 | ||||
-rw-r--r-- | sys-process/lsof/lsof-4.81-r2.ebuild | 73 |
4 files changed, 0 insertions, 200 deletions
diff --git a/sys-process/lsof/files/lsof-4.78-answer-config.patch b/sys-process/lsof/files/lsof-4.78-answer-config.patch deleted file mode 100644 index a5e5f1202795..000000000000 --- a/sys-process/lsof/files/lsof-4.78-answer-config.patch +++ /dev/null @@ -1,95 +0,0 @@ ---- a/Configure -+++ b/Configure -@@ -2294,3 +2294,3 @@ - fi # } -- LSOF_CFGF="-DLINUXV=$LSOF_VERS" -+ LSOF_CFGF="${CFLAGS} -DLINUXV=$LSOF_VERS" - if test $LSOF_VERS -lt 21072 # { -@@ -4828,3 +4828,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 # } ---- a/Customize -+++ b/Customize -@@ -110,7 +110,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 -@@ -214,7 +214,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 "" -@@ -277,7 +277,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 "" -@@ -339,7 +339,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 "" -@@ -408,7 +408,7 @@ - else - echo $EO "Enable WARNDEVACCESS (y|n) [n]? $EC" - fi -- read ANS EXCESS -+ ANS=n - if test "X$ANS" = "Xy" -o "X$ANS" = "XY" - then - echo "" -@@ -491,7 +491,7 @@ - else - echo $EO "Enable HASDCACHE (y|n) [n]? $EC" - fi -- read ANS EXCESS -+ ANS=n - if test "X$ANS" = "Xy" -o "X$ANS" = "XY" - then - echo "" -@@ -545,7 +545,7 @@ - do - echo "" - echo $EO "Do you want to change path options (y|n) [n]? $EC" -- read ANS EXCESS -+ ANS=n - if test "X$ANS" = "Xy" -o "X$ANS" = "XY" - then - CDC=1 -@@ -928,7 +928,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 "" -@@ -1125,7 +1125,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-process/lsof/files/lsof-4.81-proc_c.patch b/sys-process/lsof/files/lsof-4.81-proc_c.patch deleted file mode 100644 index 0cec26861817..000000000000 --- a/sys-process/lsof/files/lsof-4.81-proc_c.patch +++ /dev/null @@ -1,14 +0,0 @@ -*** /tmp/T0wOaObl Sun Nov 2 15:02:40 2008 ---- proc.c Sun Nov 2 15:01:28 2008 -*************** -*** 841,848 **** - { - if (Lf->sf & SELEXCLF) - return; -- if (((Selflags & SELNET) == SELNET) && !(Lf->sf & SELNET)) -- return; - Lp->pss |= PS_SEC; - if (Plf) - Plf->next = Lf; ---- 841,846 ---- - diff --git a/sys-process/lsof/files/lsof-4.81-recmake.patch b/sys-process/lsof/files/lsof-4.81-recmake.patch deleted file mode 100644 index e6689448c656..000000000000 --- a/sys-process/lsof/files/lsof-4.81-recmake.patch +++ /dev/null @@ -1,18 +0,0 @@ -Fix recursive make calls on G/FreeBSD -Merged upstream; will appear in 4.82 -Or in: -ftp://lsof.itap.purdue.edu/pub/tools/unix/lsof/NEW/lsof_4.82B.freebsd.tar.bz2 - -https://bugs.gentoo.org/show_bug.cgi?id=250383 - ---- lsof_4.81/lsof_4.81_src/dialects/freebsd/Makefile.old 2008-12-09 12:56:40 +0000 -+++ lsof_4.81/lsof_4.81_src/dialects/freebsd/Makefile 2008-12-09 12:56:48 +0000 -@@ -129,7 +129,7 @@ - - dnode2.o: dzfs.h dnode2.c - @if [ -f ./Makefile.zfs ]; then \ -- make -f Makefile.zfs dnode2.o; \ -+ ${MAKE} -f Makefile.zfs dnode2.o; \ - else \ - echo "${CC} ${CFLAGS} -c dnode2.c"; \ - ${CC} ${CFLAGS} -c dnode2.c; \ diff --git a/sys-process/lsof/lsof-4.81-r2.ebuild b/sys-process/lsof/lsof-4.81-r2.ebuild deleted file mode 100644 index b79d4cc74e48..000000000000 --- a/sys-process/lsof/lsof-4.81-r2.ebuild +++ /dev/null @@ -1,73 +0,0 @@ -# Copyright 1999-2009 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/sys-process/lsof/lsof-4.81-r2.ebuild,v 1.9 2009/03/17 10:22:21 armin76 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 - cd "${S}" - - # Patch an over-zealous rejection of open-file listing when - # no options are specified on the command line and security - # options are enabled. Bug #244660 - epatch "${FILESDIR}"/${P}-proc_c.patch - - # now patch the scripts to automate everything - 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 - epatch "${FILESDIR}"/${P}-recmake.patch #250383 drop at next bump -} - -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* -} |