summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2009-05-11 06:07:55 +0000
committerMike Frysinger <vapier@gentoo.org>2009-05-11 06:07:55 +0000
commit50790fb1d0ac62bb3e13b5a315bb0a05396ea643 (patch)
tree40ff8dbe08c445b374aa35378e377f0b02ac216c /sys-process/lsof
parentAdd fix by Victor Ostorga for build failure with gcc-4.4 #269240 by 404 Error. (diff)
downloadgentoo-2-50790fb1d0ac62bb3e13b5a315bb0a05396ea643.tar.gz
gentoo-2-50790fb1d0ac62bb3e13b5a315bb0a05396ea643.tar.bz2
gentoo-2-50790fb1d0ac62bb3e13b5a315bb0a05396ea643.zip
old
Diffstat (limited to 'sys-process/lsof')
-rw-r--r--sys-process/lsof/files/4.73-answer-config.patch68
-rw-r--r--sys-process/lsof/files/lsof-4.78-freebsd.patch18
-rw-r--r--sys-process/lsof/lsof-4.78-r1.ebuild62
-rw-r--r--sys-process/lsof/lsof-4.78-r2.ebuild69
-rw-r--r--sys-process/lsof/lsof-4.78.ebuild62
-rw-r--r--sys-process/lsof/lsof-4.80-r1.ebuild67
-rw-r--r--sys-process/lsof/lsof-4.80.ebuild68
7 files changed, 0 insertions, 414 deletions
diff --git a/sys-process/lsof/files/4.73-answer-config.patch b/sys-process/lsof/files/4.73-answer-config.patch
deleted file mode 100644
index 175aa6c4f519..000000000000
--- a/sys-process/lsof/files/4.73-answer-config.patch
+++ /dev/null
@@ -1,68 +0,0 @@
---- 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-process/lsof/files/lsof-4.78-freebsd.patch b/sys-process/lsof/files/lsof-4.78-freebsd.patch
deleted file mode 100644
index 99a6cfd88be4..000000000000
--- a/sys-process/lsof/files/lsof-4.78-freebsd.patch
+++ /dev/null
@@ -1,18 +0,0 @@
-diff -ur a/dialects/freebsd/dlsof.h b/dialects/freebsd/dlsof.h
---- a/dialects/freebsd/dlsof.h 2006-03-28 00:29:11 +0100
-+++ b/dialects/freebsd/dlsof.h 2007-05-18 15:08:19 +0100
-@@ -43,7 +43,6 @@
- #include <nlist.h>
- #include <setjmp.h>
- #include <signal.h>
--#include <string.h>
- #include <unistd.h>
-
- # if FREEBSDV>=4000
-@@ -550,4 +549,6 @@
- #define NCACHE_VROOT VV_ROOT
- #endif /* FREEBSDV>=5000 */
-
-+#include <string.h>
-+
- #endif /* FREEBSD_LSOF_H */
diff --git a/sys-process/lsof/lsof-4.78-r1.ebuild b/sys-process/lsof/lsof-4.78-r1.ebuild
deleted file mode 100644
index 547f282fa7c2..000000000000
--- a/sys-process/lsof/lsof-4.78-r1.ebuild
+++ /dev/null
@@ -1,62 +0,0 @@
-# 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.78-r1.ebuild,v 1.6 2008/03/28 07:43:08 jer 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 DEBUG="" 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*
-}
diff --git a/sys-process/lsof/lsof-4.78-r2.ebuild b/sys-process/lsof/lsof-4.78-r2.ebuild
deleted file mode 100644
index 5211b43193df..000000000000
--- a/sys-process/lsof/lsof-4.78-r2.ebuild
+++ /dev/null
@@ -1,69 +0,0 @@
-# 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.78-r2.ebuild,v 1.7 2008/10/26 03:33:30 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 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}"/${P}-answer-config.patch
- epatch "${FILESDIR}"/${P}-freebsd.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"
- dolib lib/liblsof.a || die "dolib"
-
- insinto /usr/share/lsof/scripts
- doins scripts/*
-
- doman lsof.8
- dodoc 00*
-}
diff --git a/sys-process/lsof/lsof-4.78.ebuild b/sys-process/lsof/lsof-4.78.ebuild
deleted file mode 100644
index df66fa6ec73f..000000000000
--- a/sys-process/lsof/lsof-4.78.ebuild
+++ /dev/null
@@ -1,62 +0,0 @@
-# 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.ebuild,v 1.9 2007/11/20 04:29:10 kumba 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() {
- dosbin lsof || die "dosbin"
- dolib lib/liblsof.a || die "dolib"
-
- insinto /usr/share/lsof/scripts
- doins scripts/*
-
- doman lsof.8
- dodoc 00*
-}
diff --git a/sys-process/lsof/lsof-4.80-r1.ebuild b/sys-process/lsof/lsof-4.80-r1.ebuild
deleted file mode 100644
index 1b878f485fb5..000000000000
--- a/sys-process/lsof/lsof-4.80-r1.ebuild
+++ /dev/null
@@ -1,67 +0,0 @@
-# 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*
-}
diff --git a/sys-process/lsof/lsof-4.80.ebuild b/sys-process/lsof/lsof-4.80.ebuild
deleted file mode 100644
index 30d1a502026b..000000000000
--- a/sys-process/lsof/lsof-4.80.ebuild
+++ /dev/null
@@ -1,68 +0,0 @@
-# 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.ebuild,v 1.1 2008/08/16 15:36:47 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 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"
- dolib lib/liblsof.a || die "dolib"
-
- insinto /usr/share/lsof/scripts
- doins scripts/*
-
- doman lsof.8
- dodoc 00*
-}