1 |
vapier 11/09/26 23:09:53 |
2 |
|
3 |
Modified: ChangeLog |
4 |
Added: procps-3.2.8_p11.ebuild |
5 |
Log: |
6 |
Version bump. |
7 |
|
8 |
(Portage version: 2.2.0_alpha59/cvs/Linux x86_64) |
9 |
|
10 |
Revision Changes Path |
11 |
1.53 sys-process/procps/ChangeLog |
12 |
|
13 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-process/procps/ChangeLog?rev=1.53&view=markup |
14 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-process/procps/ChangeLog?rev=1.53&content-type=text/plain |
15 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-process/procps/ChangeLog?r1=1.52&r2=1.53 |
16 |
|
17 |
Index: ChangeLog |
18 |
=================================================================== |
19 |
RCS file: /var/cvsroot/gentoo-x86/sys-process/procps/ChangeLog,v |
20 |
retrieving revision 1.52 |
21 |
retrieving revision 1.53 |
22 |
diff -u -r1.52 -r1.53 |
23 |
--- ChangeLog 6 Sep 2011 18:44:05 -0000 1.52 |
24 |
+++ ChangeLog 26 Sep 2011 23:09:52 -0000 1.53 |
25 |
@@ -1,6 +1,11 @@ |
26 |
# ChangeLog for sys-process/procps |
27 |
# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2 |
28 |
-# $Header: /var/cvsroot/gentoo-x86/sys-process/procps/ChangeLog,v 1.52 2011/09/06 18:44:05 mattst88 Exp $ |
29 |
+# $Header: /var/cvsroot/gentoo-x86/sys-process/procps/ChangeLog,v 1.53 2011/09/26 23:09:52 vapier Exp $ |
30 |
+ |
31 |
+*procps-3.2.8_p11 (26 Sep 2011) |
32 |
+ |
33 |
+ 26 Sep 2011; Mike Frysinger <vapier@g.o> +procps-3.2.8_p11.ebuild: |
34 |
+ Version bump. |
35 |
|
36 |
06 Sep 2011; Matt Turner <mattst88@g.o> procps-3.2.8_p10-r1.ebuild: |
37 |
Depend on ncurses[unicode?], bug 381739. |
38 |
|
39 |
|
40 |
|
41 |
1.1 sys-process/procps/procps-3.2.8_p11.ebuild |
42 |
|
43 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-process/procps/procps-3.2.8_p11.ebuild?rev=1.1&view=markup |
44 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-process/procps/procps-3.2.8_p11.ebuild?rev=1.1&content-type=text/plain |
45 |
|
46 |
Index: procps-3.2.8_p11.ebuild |
47 |
=================================================================== |
48 |
# Copyright 1999-2011 Gentoo Foundation |
49 |
# Distributed under the terms of the GNU General Public License v2 |
50 |
# $Header: /var/cvsroot/gentoo-x86/sys-process/procps/procps-3.2.8_p11.ebuild,v 1.1 2011/09/26 23:09:52 vapier Exp $ |
51 |
|
52 |
EAPI="2" |
53 |
|
54 |
inherit flag-o-matic eutils toolchain-funcs multilib |
55 |
|
56 |
DEB_VER=${PV#*_p} |
57 |
MY_PV=${PV%_p*} |
58 |
MY_P="${PN}-${MY_PV}" |
59 |
DESCRIPTION="Standard informational utilities and process-handling tools" |
60 |
HOMEPAGE="http://procps.sourceforge.net/" |
61 |
SRC_URI="http://procps.sourceforge.net/${MY_P}.tar.gz |
62 |
mirror://debian/pool/main/p/procps/${PN}_${MY_PV}-${DEB_VER}.debian.tar.gz" |
63 |
|
64 |
LICENSE="GPL-2" |
65 |
SLOT="0" |
66 |
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86" |
67 |
IUSE="unicode" |
68 |
|
69 |
RDEPEND=">=sys-libs/ncurses-5.2-r2[unicode?]" |
70 |
|
71 |
S=${WORKDIR}/${MY_P} |
72 |
|
73 |
src_prepare() { |
74 |
local p d="${WORKDIR}"/debian/patches |
75 |
pushd "${d}" >/dev/null |
76 |
# makefile_dev_null: this bug is actually in gcc and is already fixed |
77 |
for p in $(use unicode || echo watch_{unicode,ansi_colour}) makefile_dev_null ; do |
78 |
rm ${p}.patch || die |
79 |
sed -i "/^${p}/d" series || die |
80 |
done |
81 |
popd >/dev/null |
82 |
EPATCH_SOURCE="${d}" \ |
83 |
epatch $(<"${d}"/series) |
84 |
# fixup debian watch_exec_beep.patch |
85 |
sed -i '1i#include <sys/wait.h>' watch.c || die |
86 |
|
87 |
epatch "${FILESDIR}"/${PN}-3.2.7-proc-mount.patch |
88 |
epatch "${FILESDIR}"/${PN}-3.2.3-noproc.patch |
89 |
epatch "${FILESDIR}"/${PN}-3.2.8-toprc-fixup.patch |
90 |
epatch "${FILESDIR}"/${PN}-3.2.8-r1-forest-prefix.patch |
91 |
|
92 |
# Clean up the makefile |
93 |
# - we do stripping ourselves |
94 |
# - punt fugly gcc flags |
95 |
sed -i \ |
96 |
-e '/install/s: --strip : :' \ |
97 |
-e '/ALL_CFLAGS += $(call check_gcc,-fweb,)/d' \ |
98 |
-e '/ALL_CFLAGS += $(call check_gcc,-Wstrict-aliasing=2,)/s,=2,,' \ |
99 |
-e "/^lib64/s:=.*:=$(get_libdir):" \ |
100 |
-e 's:-m64::g' \ |
101 |
Makefile || die "sed Makefile" |
102 |
|
103 |
# mips 2.4.23 headers (and 2.6.x) don't allow PAGE_SIZE to be defined in |
104 |
# userspace anymore, so this patch instructs procps to get the |
105 |
# value from sysconf(). |
106 |
epatch "${FILESDIR}"/${PN}-mips-define-pagesize.patch |
107 |
|
108 |
# lame unicode stuff checks glibc defines |
109 |
sed -i "s:__GNU_LIBRARY__ >= 6:0 == $(use unicode; echo $?):" proc/escape.c || die |
110 |
} |
111 |
|
112 |
src_compile() { |
113 |
replace-flags -O3 -O2 |
114 |
emake \ |
115 |
CC="$(tc-getCC)" \ |
116 |
CPPFLAGS="${CPPFLAGS}" \ |
117 |
CFLAGS="${CFLAGS}" \ |
118 |
LDFLAGS="${LDFLAGS}" \ |
119 |
|| die "make failed" |
120 |
} |
121 |
|
122 |
src_install() { |
123 |
emake \ |
124 |
ln_f="ln -sf" \ |
125 |
ldconfig="true" \ |
126 |
DESTDIR="${D}" \ |
127 |
install \ |
128 |
|| die "install failed" |
129 |
|
130 |
insinto /usr/include/proc |
131 |
doins proc/*.h || die |
132 |
|
133 |
dodoc sysctl.conf BUGS NEWS TODO ps/HACKING |
134 |
|
135 |
# compat symlink so people who shouldnt be using libproc can #170077 |
136 |
dosym libproc-${MY_PV}.so /$(get_libdir)/libproc.so || die |
137 |
} |