1 |
commit: fb22a9ea0a8b6b4e3911d5360779c9740df08f46 |
2 |
Author: Lars Wendler <polynomial-c <AT> gentoo <DOT> org> |
3 |
AuthorDate: Mon Oct 10 11:37:59 2016 +0000 |
4 |
Commit: Lars Wendler <polynomial-c <AT> gentoo <DOT> org> |
5 |
CommitDate: Mon Oct 10 11:37:59 2016 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fb22a9ea |
7 |
|
8 |
dev-libs/libpcre: Security cleanup (bug #575546). |
9 |
|
10 |
Package-Manager: portage-2.3.1 |
11 |
Signed-off-by: Lars Wendler <polynomial-c <AT> gentoo.org> |
12 |
|
13 |
dev-libs/libpcre/libpcre-8.38.ebuild | 91 ------------------------------------ |
14 |
1 file changed, 91 deletions(-) |
15 |
|
16 |
diff --git a/dev-libs/libpcre/libpcre-8.38.ebuild b/dev-libs/libpcre/libpcre-8.38.ebuild |
17 |
deleted file mode 100644 |
18 |
index fcda8d2..00000000 |
19 |
--- a/dev-libs/libpcre/libpcre-8.38.ebuild |
20 |
+++ /dev/null |
21 |
@@ -1,91 +0,0 @@ |
22 |
-# Copyright 1999-2015 Gentoo Foundation |
23 |
-# Distributed under the terms of the GNU General Public License v2 |
24 |
-# $Id$ |
25 |
- |
26 |
-EAPI="5" |
27 |
- |
28 |
-inherit eutils multilib libtool flag-o-matic toolchain-funcs multilib-minimal |
29 |
- |
30 |
-DESCRIPTION="Perl-compatible regular expression library" |
31 |
-HOMEPAGE="http://www.pcre.org/" |
32 |
-MY_P="pcre-${PV/_rc/-RC}" |
33 |
-if [[ ${PV} != *_rc* ]] ; then |
34 |
- # Only the final releases are available here. |
35 |
- SRC_URI="mirror://sourceforge/pcre/${MY_P}.tar.bz2 |
36 |
- ftp://ftp.csx.cam.ac.uk/pub/software/programming/pcre/${MY_P}.tar.bz2" |
37 |
-else |
38 |
- SRC_URI="ftp://ftp.csx.cam.ac.uk/pub/software/programming/pcre/Testing/${MY_P}.tar.bz2" |
39 |
-fi |
40 |
- |
41 |
-LICENSE="BSD" |
42 |
-SLOT="3" |
43 |
-KEYWORDS="alpha amd64 arm arm64 hppa ia64 m68k ~mips ppc ppc64 s390 sh sparc x86 ~ppc-aix ~amd64-fbsd ~sparc-fbsd ~x86-fbsd ~x64-freebsd ~x86-freebsd ~x86-interix ~amd64-linux ~arm-linux ~ia64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" |
44 |
-IUSE="bzip2 +cxx +jit libedit pcre16 pcre32 +readline +recursion-limit static-libs unicode zlib" |
45 |
-REQUIRED_USE="readline? ( !libedit ) |
46 |
- libedit? ( !readline )" |
47 |
- |
48 |
-RDEPEND="bzip2? ( app-arch/bzip2 ) |
49 |
- zlib? ( sys-libs/zlib ) |
50 |
- libedit? ( dev-libs/libedit ) |
51 |
- readline? ( sys-libs/readline:0= )" |
52 |
-DEPEND="${RDEPEND} |
53 |
- virtual/pkgconfig" |
54 |
-RDEPEND="${RDEPEND} |
55 |
- abi_x86_32? ( |
56 |
- !<=app-emulation/emul-linux-x86-baselibs-20131008-r2 |
57 |
- !app-emulation/emul-linux-x86-baselibs[-abi_x86_32(-)] |
58 |
- )" |
59 |
- |
60 |
-S=${WORKDIR}/${MY_P} |
61 |
- |
62 |
-MULTILIB_CHOST_TOOLS=( |
63 |
- /usr/bin/pcre-config |
64 |
-) |
65 |
- |
66 |
-src_prepare() { |
67 |
- sed -i -e "s:-lpcre ::" libpcrecpp.pc.in || die |
68 |
- elibtoolize |
69 |
-} |
70 |
- |
71 |
-multilib_src_configure() { |
72 |
- ECONF_SOURCE="${S}" econf \ |
73 |
- --with-match-limit-recursion=$(usex recursion-limit 8192 MATCH_LIMIT) \ |
74 |
- $(multilib_native_use_enable bzip2 pcregrep-libbz2) \ |
75 |
- $(use_enable cxx cpp) \ |
76 |
- $(use_enable jit) $(use_enable jit pcregrep-jit) \ |
77 |
- $(use_enable pcre16) \ |
78 |
- $(use_enable pcre32) \ |
79 |
- $(multilib_native_use_enable libedit pcretest-libedit) \ |
80 |
- $(multilib_native_use_enable readline pcretest-libreadline) \ |
81 |
- $(use_enable static-libs static) \ |
82 |
- $(use_enable unicode utf) $(use_enable unicode unicode-properties) \ |
83 |
- $(multilib_native_use_enable zlib pcregrep-libz) \ |
84 |
- --enable-pcre8 \ |
85 |
- --enable-shared \ |
86 |
- --htmldir="${EPREFIX}"/usr/share/doc/${PF}/html \ |
87 |
- --docdir="${EPREFIX}"/usr/share/doc/${PF} |
88 |
-} |
89 |
- |
90 |
-multilib_src_compile() { |
91 |
- emake V=1 $(multilib_is_native_abi || echo "bin_PROGRAMS=") |
92 |
-} |
93 |
- |
94 |
-multilib_src_install() { |
95 |
- emake \ |
96 |
- DESTDIR="${D}" \ |
97 |
- $(multilib_is_native_abi || echo "bin_PROGRAMS= dist_html_DATA=") \ |
98 |
- install |
99 |
- gen_usr_ldscript -a pcre |
100 |
-} |
101 |
- |
102 |
-multilib_src_install_all() { |
103 |
- prune_libtool_files |
104 |
-} |
105 |
- |
106 |
-pkg_preinst() { |
107 |
- preserve_old_lib /$(get_libdir)/libpcre.so.0 |
108 |
-} |
109 |
- |
110 |
-pkg_postinst() { |
111 |
- preserve_old_lib_notify /$(get_libdir)/libpcre.so.0 |
112 |
-} |