Gentoo Archives: gentoo-commits

From: "Peter Alfredsen (loki_val)" <loki_val@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in dev-libs/libpcre: ChangeLog libpcre-7.7-r1.ebuild
Date: Mon, 30 Jun 2008 21:03:28
Message-Id: E1KDQWg-00022o-6Q@stork.gentoo.org
1 loki_val 08/06/30 21:03:06
2
3 Modified: ChangeLog
4 Added: libpcre-7.7-r1.ebuild
5 Log:
6 Commit -> Stable 7.7-r1 wrt bug 228091.
7 (Portage version: 2.2_rc1/cvs/Linux 2.6.25.8 i686, RepoMan options: --force)
8
9 Revision Changes Path
10 1.139 dev-libs/libpcre/ChangeLog
11
12 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-libs/libpcre/ChangeLog?rev=1.139&view=markup
13 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-libs/libpcre/ChangeLog?rev=1.139&content-type=text/plain
14 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-libs/libpcre/ChangeLog?r1=1.138&r2=1.139
15
16 Index: ChangeLog
17 ===================================================================
18 RCS file: /var/cvsroot/gentoo-x86/dev-libs/libpcre/ChangeLog,v
19 retrieving revision 1.138
20 retrieving revision 1.139
21 diff -u -r1.138 -r1.139
22 --- ChangeLog 26 May 2008 14:16:24 -0000 1.138
23 +++ ChangeLog 30 Jun 2008 21:03:05 -0000 1.139
24 @@ -1,6 +1,12 @@
25 # ChangeLog for dev-libs/libpcre
26 # Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
27 -# $Header: /var/cvsroot/gentoo-x86/dev-libs/libpcre/ChangeLog,v 1.138 2008/05/26 14:16:24 loki_val Exp $
28 +# $Header: /var/cvsroot/gentoo-x86/dev-libs/libpcre/ChangeLog,v 1.139 2008/06/30 21:03:05 loki_val Exp $
29 +
30 +*libpcre-7.7-r1 (30 Jun 2008)
31 +
32 + 30 Jun 2008; Peter Alfredsen <loki_val@g.o>
33 + +files/libpcre-7.7-buffer-overflow.patch, +libpcre-7.7-r1.ebuild:
34 + Commit -> Stable 7.7-r1 wrt bug 228091.
35
36 *libpcre-7.7 (26 May 2008)
37
38
39
40
41 1.1 dev-libs/libpcre/libpcre-7.7-r1.ebuild
42
43 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-libs/libpcre/libpcre-7.7-r1.ebuild?rev=1.1&view=markup
44 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-libs/libpcre/libpcre-7.7-r1.ebuild?rev=1.1&content-type=text/plain
45
46 Index: libpcre-7.7-r1.ebuild
47 ===================================================================
48 # Copyright 1999-2008 Gentoo Foundation
49 # Distributed under the terms of the GNU General Public License v2
50 # $Header: /var/cvsroot/gentoo-x86/dev-libs/libpcre/libpcre-7.7-r1.ebuild,v 1.1 2008/06/30 21:03:05 loki_val Exp $
51
52 EAPI=1
53
54 inherit libtool eutils
55
56 MY_P="pcre-${PV}"
57
58 DESCRIPTION="Perl-compatible regular expression library"
59 HOMEPAGE="http://www.pcre.org/"
60 SRC_URI="ftp://ftp.csx.cam.ac.uk/pub/software/programming/pcre/${MY_P}.tar.bz2"
61
62 LICENSE="BSD"
63 SLOT="3"
64 KEYWORDS="alpha amd64 ~arm hppa ia64 ~m68k ~mips ppc ppc64 ~s390 ~sh sparc ~sparc-fbsd x86 ~x86-fbsd"
65 IUSE="bzip2 +cxx doc unicode zlib"
66
67 DEPEND="dev-util/pkgconfig"
68 RDEPEND=""
69
70 S=${WORKDIR}/${MY_P}
71
72 src_unpack() {
73 unpack ${A}
74 cd "${S}"
75 epatch "${FILESDIR}"/${P}-buffer-overflow.patch
76 elibtoolize
77 }
78
79 src_compile() {
80 # Enable building of static libs too - grep and others
81 # depend on them being built: bug 164099
82 econf --with-match-limit-recursion=8192 \
83 $(use_enable unicode utf8) $(use_enable unicode unicode-properties) \
84 $(use_enable cxx cpp) \
85 $(use_enable zlib pcregrep-libz) \
86 $(use_enable bzip2 pcregrep-libbz2) \
87 --enable-static \
88 --htmldir=/usr/share/doc/${PF}/html \
89 --docdir=/usr/share/doc/${PF} \
90 || die "econf failed"
91 emake all || die "emake failed"
92 }
93
94 src_install() {
95 emake DESTDIR="${D}" install || die "make install failed"
96
97 dodoc doc/*.txt AUTHORS
98 use doc && dohtml doc/html/*
99 }
100
101
102
103 --
104 gentoo-commits@l.g.o mailing list