1 |
flameeyes 08/10/03 16:50:46 |
2 |
|
3 |
Modified: ChangeLog |
4 |
Added: lsof-4.80-r1.ebuild |
5 |
Log: |
6 |
Add a new revision that doesn't install the static library. Since we don't install any header file it's pointless to have it. Also, it's just an internal help library, of no use once lsof is installed. |
7 |
(Portage version: 2.2_rc11/cvs/Linux 2.6.26-gentoo-r1 x86_64) |
8 |
|
9 |
Revision Changes Path |
10 |
1.50 sys-process/lsof/ChangeLog |
11 |
|
12 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-process/lsof/ChangeLog?rev=1.50&view=markup |
13 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-process/lsof/ChangeLog?rev=1.50&content-type=text/plain |
14 |
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-process/lsof/ChangeLog?r1=1.49&r2=1.50 |
15 |
|
16 |
Index: ChangeLog |
17 |
=================================================================== |
18 |
RCS file: /var/cvsroot/gentoo-x86/sys-process/lsof/ChangeLog,v |
19 |
retrieving revision 1.49 |
20 |
retrieving revision 1.50 |
21 |
diff -u -r1.49 -r1.50 |
22 |
--- ChangeLog 18 Aug 2008 18:55:05 -0000 1.49 |
23 |
+++ ChangeLog 3 Oct 2008 16:50:45 -0000 1.50 |
24 |
@@ -1,6 +1,13 @@ |
25 |
# ChangeLog for sys-process/lsof |
26 |
# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2 |
27 |
-# $Header: /var/cvsroot/gentoo-x86/sys-process/lsof/ChangeLog,v 1.49 2008/08/18 18:55:05 ranger Exp $ |
28 |
+# $Header: /var/cvsroot/gentoo-x86/sys-process/lsof/ChangeLog,v 1.50 2008/10/03 16:50:45 flameeyes Exp $ |
29 |
+ |
30 |
+*lsof-4.80-r1 (03 Oct 2008) |
31 |
+ |
32 |
+ 03 Oct 2008; Diego Pettenò <flameeyes@g.o> +lsof-4.80-r1.ebuild: |
33 |
+ Add a new revision that doesn't install the static library. Since we don't |
34 |
+ install any header file it's pointless to have it. Also, it's just an |
35 |
+ internal help library, of no use once lsof is installed. |
36 |
|
37 |
18 Aug 2008; Brent Baude <ranger@g.o> lsof-4.78-r2.ebuild: |
38 |
stable ppc64, bug 234929 |
39 |
|
40 |
|
41 |
|
42 |
1.1 sys-process/lsof/lsof-4.80-r1.ebuild |
43 |
|
44 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-process/lsof/lsof-4.80-r1.ebuild?rev=1.1&view=markup |
45 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-process/lsof/lsof-4.80-r1.ebuild?rev=1.1&content-type=text/plain |
46 |
|
47 |
Index: lsof-4.80-r1.ebuild |
48 |
=================================================================== |
49 |
# Copyright 1999-2008 Gentoo Foundation |
50 |
# Distributed under the terms of the GNU General Public License v2 |
51 |
# $Header: /var/cvsroot/gentoo-x86/sys-process/lsof/lsof-4.80-r1.ebuild,v 1.1 2008/10/03 16:50:46 flameeyes Exp $ |
52 |
|
53 |
inherit eutils flag-o-matic fixheadtails toolchain-funcs |
54 |
|
55 |
MY_P=${P/-/_} |
56 |
DESCRIPTION="Lists open files for running Unix processes" |
57 |
HOMEPAGE="ftp://lsof.itap.purdue.edu/pub/tools/unix/lsof/" |
58 |
SRC_URI="ftp://lsof.itap.purdue.edu/pub/tools/unix/lsof/${MY_P}.tar.bz2 |
59 |
ftp://vic.cc.purdue.edu/pub/tools/unix/lsof/${MY_P}.tar.bz2 |
60 |
ftp://ftp.cerias.purdue.edu/pub/tools/unix/sysutils/lsof/${MY_P}.tar.bz2" |
61 |
|
62 |
LICENSE="lsof" |
63 |
SLOT="0" |
64 |
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~x86-fbsd" |
65 |
IUSE="static selinux" |
66 |
|
67 |
DEPEND="selinux? ( sys-libs/libselinux )" |
68 |
|
69 |
S=${WORKDIR}/${MY_P}/${MY_P}_src |
70 |
|
71 |
src_unpack() { |
72 |
unpack ${A} |
73 |
cd ${MY_P} |
74 |
unpack ./${MY_P}_src.tar |
75 |
|
76 |
# now patch the scripts to automate everything |
77 |
cd "${S}" |
78 |
ht_fix_file Configure Customize |
79 |
touch .neverInv |
80 |
epatch "${FILESDIR}"/${PN}-4.78-answer-config.patch |
81 |
#Fix automagic dependency on libselinux. Bug 188272. |
82 |
if ! use selinux; then |
83 |
sed -i \ |
84 |
-e 's/ -DHASSELINUX//' \ |
85 |
-e 's/ -lselinux//' \ |
86 |
Configure || die "Sed failed. 404. WTF..." |
87 |
fi |
88 |
} |
89 |
|
90 |
src_compile() { |
91 |
use static && append-ldflags -static |
92 |
|
93 |
local target="linux" |
94 |
use kernel_FreeBSD && target=freebsd |
95 |
./Configure ${target} || die "configure failed" |
96 |
|
97 |
# Make sure we use proper toolchain |
98 |
sed -i \ |
99 |
-e "/^CC=/s:cc:$(tc-getCC):" \ |
100 |
-e "/^AR=/s:ar:$(tc-getAR):" \ |
101 |
-e "/^RANLIB=/s:ranlib:$(tc-getRANLIB):" \ |
102 |
Makefile lib/Makefile |
103 |
|
104 |
emake DEBUG="" all || die "emake failed" |
105 |
} |
106 |
|
107 |
src_install() { |
108 |
dobin lsof || die "dosbin" |
109 |
|
110 |
insinto /usr/share/lsof/scripts |
111 |
doins scripts/* |
112 |
|
113 |
doman lsof.8 |
114 |
dodoc 00* |
115 |
} |