* [gentoo-commits] gentoo-x86 commit in sys-process/lsof: ChangeLog lsof-4.81-r2.ebuild lsof-4.81-r1.ebuild
@ 2008-11-17 6:28 Joshua Kinard (kumba)
0 siblings, 0 replies; only message in thread
From: Joshua Kinard (kumba) @ 2008-11-17 6:28 UTC (permalink / raw
To: gentoo-commits
kumba 08/11/17 06:28:20
Modified: ChangeLog
Added: lsof-4.81-r2.ebuild
Removed: lsof-4.81-r1.ebuild
Log:
Update patch provided by upstream that addressed #244660.
(Portage version: 2.2_rc14/cvs/Linux 2.6.27.6-mipsgit-20081115 mips64)
Revision Changes Path
1.53 sys-process/lsof/ChangeLog
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-process/lsof/ChangeLog?rev=1.53&view=markup
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-process/lsof/ChangeLog?rev=1.53&content-type=text/plain
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-process/lsof/ChangeLog?r1=1.52&r2=1.53
Index: ChangeLog
===================================================================
RCS file: /var/cvsroot/gentoo-x86/sys-process/lsof/ChangeLog,v
retrieving revision 1.52
retrieving revision 1.53
diff -u -r1.52 -r1.53
--- ChangeLog 2 Nov 2008 17:39:43 -0000 1.52
+++ ChangeLog 17 Nov 2008 06:28:20 -0000 1.53
@@ -1,6 +1,12 @@
# 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.52 2008/11/02 17:39:43 kumba Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-process/lsof/ChangeLog,v 1.53 2008/11/17 06:28:20 kumba Exp $
+
+*lsof-4.81-r2 (17 Nov 2008)
+
+ 17 Nov 2008; Joshua Kinard <kumba@gentoo.org>
+ files/lsof-4.81-proc_c.patch, -lsof-4.81-r1.ebuild, +lsof-4.81-r2.ebuild:
+ Update patch provided by upstream that addressed #244660.
*lsof-4.81-r1 (02 Nov 2008)
1.1 sys-process/lsof/lsof-4.81-r2.ebuild
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-process/lsof/lsof-4.81-r2.ebuild?rev=1.1&view=markup
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-process/lsof/lsof-4.81-r2.ebuild?rev=1.1&content-type=text/plain
Index: lsof-4.81-r2.ebuild
===================================================================
# 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.81-r2.ebuild,v 1.1 2008/11/17 06:28:20 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 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
}
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*
}
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2008-11-17 6:28 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-11-17 6:28 [gentoo-commits] gentoo-x86 commit in sys-process/lsof: ChangeLog lsof-4.81-r2.ebuild lsof-4.81-r1.ebuild Joshua Kinard (kumba)
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox