1 |
vapier 07/09/22 18:32:39 |
2 |
|
3 |
Modified: ChangeLog |
4 |
Added: bzip2-1.0.4-r1.ebuild |
5 |
Log: |
6 |
Fix bashisms in bzgrep so it works with a POSIX shell #193365. |
7 |
(Portage version: 2.1.3.9) |
8 |
|
9 |
Revision Changes Path |
10 |
1.55 app-arch/bzip2/ChangeLog |
11 |
|
12 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-arch/bzip2/ChangeLog?rev=1.55&view=markup |
13 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-arch/bzip2/ChangeLog?rev=1.55&content-type=text/plain |
14 |
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-arch/bzip2/ChangeLog?r1=1.54&r2=1.55 |
15 |
|
16 |
Index: ChangeLog |
17 |
=================================================================== |
18 |
RCS file: /var/cvsroot/gentoo-x86/app-arch/bzip2/ChangeLog,v |
19 |
retrieving revision 1.54 |
20 |
retrieving revision 1.55 |
21 |
diff -u -r1.54 -r1.55 |
22 |
--- ChangeLog 18 Apr 2007 14:37:31 -0000 1.54 |
23 |
+++ ChangeLog 22 Sep 2007 18:32:38 -0000 1.55 |
24 |
@@ -1,6 +1,12 @@ |
25 |
# ChangeLog for app-arch/bzip2 |
26 |
# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2 |
27 |
-# $Header: /var/cvsroot/gentoo-x86/app-arch/bzip2/ChangeLog,v 1.54 2007/04/18 14:37:31 eroyf Exp $ |
28 |
+# $Header: /var/cvsroot/gentoo-x86/app-arch/bzip2/ChangeLog,v 1.55 2007/09/22 18:32:38 vapier Exp $ |
29 |
+ |
30 |
+*bzip2-1.0.4-r1 (22 Sep 2007) |
31 |
+ |
32 |
+ 22 Sep 2007; Mike Frysinger <vapier@g.o> |
33 |
+ +files/bzip2-1.0.4-POSIX-shell.patch, +bzip2-1.0.4-r1.ebuild: |
34 |
+ Fix bashisms in bzgrep so it works with a POSIX shell #193365. |
35 |
|
36 |
18 Apr 2007; Alexander Færøy <eroyf@g.o> bzip2-1.0.4.ebuild: |
37 |
Stable on MIPS; bug #170457 |
38 |
|
39 |
|
40 |
|
41 |
1.1 app-arch/bzip2/bzip2-1.0.4-r1.ebuild |
42 |
|
43 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-arch/bzip2/bzip2-1.0.4-r1.ebuild?rev=1.1&view=markup |
44 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-arch/bzip2/bzip2-1.0.4-r1.ebuild?rev=1.1&content-type=text/plain |
45 |
|
46 |
Index: bzip2-1.0.4-r1.ebuild |
47 |
=================================================================== |
48 |
# Copyright 1999-2007 Gentoo Foundation |
49 |
# Distributed under the terms of the GNU General Public License v2 |
50 |
# $Header: /var/cvsroot/gentoo-x86/app-arch/bzip2/bzip2-1.0.4-r1.ebuild,v 1.1 2007/09/22 18:32:38 vapier Exp $ |
51 |
|
52 |
inherit eutils multilib toolchain-funcs flag-o-matic |
53 |
|
54 |
DESCRIPTION="A high-quality data compressor used extensively by Gentoo Linux" |
55 |
HOMEPAGE="http://www.bzip.org/" |
56 |
SRC_URI="http://www.bzip.org/${PV}/${P}.tar.gz" |
57 |
|
58 |
LICENSE="BZIP2" |
59 |
SLOT="0" |
60 |
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~sparc-fbsd ~x86 ~x86-fbsd" |
61 |
IUSE="static" |
62 |
|
63 |
DEPEND="" |
64 |
|
65 |
src_unpack() { |
66 |
unpack ${A} |
67 |
cd "${S}" |
68 |
epatch "${FILESDIR}"/${PN}-1.0.4-makefile-CFLAGS.patch |
69 |
epatch "${FILESDIR}"/${PN}-1.0.4-saneso.patch |
70 |
epatch "${FILESDIR}"/${PN}-1.0.4-man-links.patch #172986 |
71 |
epatch "${FILESDIR}"/${PN}-1.0.3-shared-largefile-support.patch |
72 |
epatch "${FILESDIR}"/${PN}-1.0.2-progress.patch |
73 |
epatch "${FILESDIR}"/${PN}-1.0.3-no-test.patch |
74 |
epatch "${FILESDIR}"/${PN}-1.0.4-POSIX-shell.patch #193365 |
75 |
sed -i -e 's:\$(PREFIX)/man:\$(PREFIX)/share/man:g' Makefile || die "sed manpath" |
76 |
|
77 |
# - Generate symlinks instead of hardlinks |
78 |
# - pass custom variables to control libdir |
79 |
sed -i \ |
80 |
-e 's:ln -s -f $(PREFIX)/bin/:ln -s :' \ |
81 |
-e 's:$(PREFIX)/lib:$(PREFIX)/$(LIBDIR):g' \ |
82 |
Makefile || die "sed links" |
83 |
} |
84 |
|
85 |
src_compile() { |
86 |
local makeopts=" |
87 |
CC=$(tc-getCC) |
88 |
AR=$(tc-getAR) |
89 |
RANLIB=$(tc-getRANLIB) |
90 |
" |
91 |
emake ${makeopts} -f Makefile-libbz2_so all || die "Make failed libbz2" |
92 |
use static && append-flags -static |
93 |
emake LDFLAGS="${LDFLAGS}" ${makeopts} all || die "Make failed" |
94 |
|
95 |
if ! tc-is-cross-compiler ; then |
96 |
make check || die "test failed" |
97 |
fi |
98 |
} |
99 |
|
100 |
src_install() { |
101 |
emake PREFIX="${D}"/usr LIBDIR=$(get_libdir) install || die |
102 |
|
103 |
# move bzip2 binaries to /bin and use the shared libbz2.so |
104 |
mkdir -p "${D}"/bin |
105 |
mv "${D}"/usr/bin/* "${D}"/bin/ |
106 |
into / |
107 |
if ! use static ; then |
108 |
newbin bzip2-shared bzip2 || die "dobin shared" |
109 |
fi |
110 |
dolib.so "${S}"/libbz2.so.${PV} || die "dolib shared" |
111 |
for v in libbz2.so{,.{${PV%%.*},${PV%.*}}} ; do |
112 |
dosym libbz2.so.${PV} /$(get_libdir)/${v} |
113 |
done |
114 |
gen_usr_ldscript libbz2.so |
115 |
|
116 |
dodoc README* CHANGES bzip2.txt manual.* |
117 |
|
118 |
dosym bzip2 /bin/bzcat |
119 |
dosym bzip2 /bin/bunzip2 |
120 |
} |
121 |
|
122 |
|
123 |
|
124 |
-- |
125 |
gentoo-commits@g.o mailing list |