summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristoph Mende <angelos@gentoo.org>2007-07-15 13:13:16 +0000
committerChristoph Mende <angelos@gentoo.org>2007-07-15 13:13:16 +0000
commit54ecb930dab9b23933db25fd30242d846ca6c52d (patch)
tree743929c0711b52d74a7ad8e1f1542fc1c4776da8 /dev-libs
parentalpha/ia64/x86 stable wrt security #183338 (diff)
downloadhistorical-54ecb930dab9b23933db25fd30242d846ca6c52d.tar.gz
historical-54ecb930dab9b23933db25fd30242d846ca6c52d.tar.bz2
historical-54ecb930dab9b23933db25fd30242d846ca6c52d.zip
Added -fPIC for shared libraries, thanks to Simon Cooper (Bug #182652)
Package-Manager: portage-2.1.3_rc8
Diffstat (limited to 'dev-libs')
-rw-r--r--dev-libs/libpcre/ChangeLog6
-rw-r--r--dev-libs/libpcre/Manifest38
-rw-r--r--dev-libs/libpcre/files/pcre-7.1-pic.patch26
-rw-r--r--dev-libs/libpcre/libpcre-7.1.ebuild3
-rw-r--r--dev-libs/libpcre/libpcre-7.2.ebuild3
5 files changed, 61 insertions, 15 deletions
diff --git a/dev-libs/libpcre/ChangeLog b/dev-libs/libpcre/ChangeLog
index dba831681565..63b7a2474ddf 100644
--- a/dev-libs/libpcre/ChangeLog
+++ b/dev-libs/libpcre/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for dev-libs/libpcre
# Copyright 2002-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-libs/libpcre/ChangeLog,v 1.98 2007/07/05 20:40:23 uberlord Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-libs/libpcre/ChangeLog,v 1.99 2007/07/15 13:13:15 angelos Exp $
+
+ 15 Jul 2007; Christoph Mende <angelos@gentoo.org>
+ +files/pcre-7.1-pic.patch, libpcre-7.1.ebuild, libpcre-7.2.ebuild:
+ Added -fPIC for shared libraries, thanks to Simon Cooper (Bug #182652)
05 Jul 2007; Roy Marples <uberlord@gentoo.org> libpcre-7.2.ebuild:
Keyworded ~sparc-fbsd, #181670.
diff --git a/dev-libs/libpcre/Manifest b/dev-libs/libpcre/Manifest
index e869b22b6d6b..0da52c692e3c 100644
--- a/dev-libs/libpcre/Manifest
+++ b/dev-libs/libpcre/Manifest
@@ -1,3 +1,6 @@
+-----BEGIN PGP SIGNED MESSAGE-----
+Hash: SHA1
+
AUX pcre-6.3-link.patch 1047 RMD160 68c0121acb27c01dc41914cdd40dc59fb4ece9c5 SHA1 162be1f5255362bb13ef4869ac0da41a2bd4f7ca SHA256 d7f253196480aab1646f14ac46a4e91349e528c4b8995cae2e84b5043eba14f7
MD5 785165d99d81b52418a5dc2d7a2708fa files/pcre-6.3-link.patch 1047
RMD160 68c0121acb27c01dc41914cdd40dc59fb4ece9c5 files/pcre-6.3-link.patch 1047
@@ -14,6 +17,10 @@ AUX pcre-6.6-parallel-build.patch 1150 RMD160 14713f33c3251334cfffd4578ff03a7763
MD5 2624830d0a69103fdc7f95d2fd5596e6 files/pcre-6.6-parallel-build.patch 1150
RMD160 14713f33c3251334cfffd4578ff03a7763257112 files/pcre-6.6-parallel-build.patch 1150
SHA256 a7a15a750f29632e9e412c2dde45c0186c27bf8c8580b2e111379ee64d15ba95 files/pcre-6.6-parallel-build.patch 1150
+AUX pcre-7.1-pic.patch 837 RMD160 b24bfea36dcfa85634841599a9c0578be7bcb566 SHA1 6694579f7640bdd2547b1415d3e82c77c9dbbe79 SHA256 0f2503c9f02bfe9199cff7e691e28d7f5c8e4ea1fac4208ebf7e9e6fd7be2f22
+MD5 4b46953a42d1bbe6b7827797ef252dba files/pcre-7.1-pic.patch 837
+RMD160 b24bfea36dcfa85634841599a9c0578be7bcb566 files/pcre-7.1-pic.patch 837
+SHA256 0f2503c9f02bfe9199cff7e691e28d7f5c8e4ea1fac4208ebf7e9e6fd7be2f22 files/pcre-7.1-pic.patch 837
DIST pcre-6.6.tar.bz2 557269 RMD160 6a60356fb010c9c1c044b8f449d2305bdb8eab52 SHA1 aa6fc52f0e18b599297ae1c8f611a01a5c39dea7 SHA256 8f45c758a1a8f8c76ae0559535a5548859868673152c94c2328515ab8a778129
DIST pcre-7.1.tar.bz2 729915 RMD160 1df0f1e86435a7f77c694472bb23bc71433a60be SHA1 1bc54556368165e7ce5f59ac2a60aba7dec6365c SHA256 9182500abc517c833f054ad38e146776d5cc7e8976a8ad0c77432b790067f366
DIST pcre-7.2.tar.bz2 738540 RMD160 eee4b9f40bc04c05546f1b426e0398e77dd7b123 SHA1 fd4f69a66d0202504a831f8668a170b57bd5d1ec SHA256 e10ace2d0361f74f759b52534f05872d93ccce10b5efe7eec73dd39dc0ac52f4
@@ -21,18 +28,18 @@ EBUILD libpcre-6.6.ebuild 1472 RMD160 bc6d5ba4bdc0ae89e8d2b3bba5dac0e9cdea7b95 S
MD5 57ebccf5a59f90bb7f01dc2c663dc109 libpcre-6.6.ebuild 1472
RMD160 bc6d5ba4bdc0ae89e8d2b3bba5dac0e9cdea7b95 libpcre-6.6.ebuild 1472
SHA256 fba67e6562882d96af55f8f6a0226fd65db501dd37b571dbc92274346ab7faaf libpcre-6.6.ebuild 1472
-EBUILD libpcre-7.1.ebuild 1135 RMD160 46e0b1edab1482079dd2b413fb444c6947fad63b SHA1 af4c074990fa567093988f3391fbd40583740bd1 SHA256 bea7a59bd12fd81ecfb27bc92af31c8104f3d0219d01b002073acb7b8a4489e4
-MD5 275173a7301cc66571560ab558c109c8 libpcre-7.1.ebuild 1135
-RMD160 46e0b1edab1482079dd2b413fb444c6947fad63b libpcre-7.1.ebuild 1135
-SHA256 bea7a59bd12fd81ecfb27bc92af31c8104f3d0219d01b002073acb7b8a4489e4 libpcre-7.1.ebuild 1135
-EBUILD libpcre-7.2.ebuild 1166 RMD160 128e98e48a32cfe3ada5d517b631672e3efbe90f SHA1 17b839b41764477d4044d8ef5dd6a6eb3dd7013c SHA256 15863c29b3c08b8b260d13b22aecfa2296a23cd7cc1f3b732d2bef18673a7542
-MD5 33238ede3e1f5c54993253d8b13a1f73 libpcre-7.2.ebuild 1166
-RMD160 128e98e48a32cfe3ada5d517b631672e3efbe90f libpcre-7.2.ebuild 1166
-SHA256 15863c29b3c08b8b260d13b22aecfa2296a23cd7cc1f3b732d2bef18673a7542 libpcre-7.2.ebuild 1166
-MISC ChangeLog 12167 RMD160 7dbebdf10e3c0e3495b2d9046aeb1201fcea2317 SHA1 b634a25973e955aa3fa8083abfba705294921d1b SHA256 3801e47c49791e9f4f4b33ada23566b538caeb3e595e971062e7a08a614c9f42
-MD5 5dc83cab461eef317bc59a6e4d83349b ChangeLog 12167
-RMD160 7dbebdf10e3c0e3495b2d9046aeb1201fcea2317 ChangeLog 12167
-SHA256 3801e47c49791e9f4f4b33ada23566b538caeb3e595e971062e7a08a614c9f42 ChangeLog 12167
+EBUILD libpcre-7.1.ebuild 1173 RMD160 72ee7576a94537a0f2ad4b54c626056e4acee3be SHA1 40a172dece2635c42e9d1e6ac34454f08e93d724 SHA256 598898d6c5f62f94bb11e3ab9329023d21961fb356a0ae8cad32af07148f9b6c
+MD5 fdcb14e71219c8d183f20d6115aef3d6 libpcre-7.1.ebuild 1173
+RMD160 72ee7576a94537a0f2ad4b54c626056e4acee3be libpcre-7.1.ebuild 1173
+SHA256 598898d6c5f62f94bb11e3ab9329023d21961fb356a0ae8cad32af07148f9b6c libpcre-7.1.ebuild 1173
+EBUILD libpcre-7.2.ebuild 1206 RMD160 e7e35704bd4799c9a9a9e606e52e257491ea87f6 SHA1 1d5b8a38cbcad483f111317a5249271c2dcc7979 SHA256 9fdf945f41a6a867fef9a985f5a02724be872062192ff5bd4eafe99f56383140
+MD5 46c68480d4fe8198c233787f9d3096e4 libpcre-7.2.ebuild 1206
+RMD160 e7e35704bd4799c9a9a9e606e52e257491ea87f6 libpcre-7.2.ebuild 1206
+SHA256 9fdf945f41a6a867fef9a985f5a02724be872062192ff5bd4eafe99f56383140 libpcre-7.2.ebuild 1206
+MISC ChangeLog 12361 RMD160 309a434498dd2a29dbdeb662db2343b21972d480 SHA1 f8419eb3374522b5c376c1b6af2b4ff0d1c2e2b8 SHA256 f3e9749c3b129aa78cf0abd46aa663bb9fa313a0c61d57003c427ae4a61dbcbf
+MD5 8c83643b04df414adb4f53126148db3d ChangeLog 12361
+RMD160 309a434498dd2a29dbdeb662db2343b21972d480 ChangeLog 12361
+SHA256 f3e9749c3b129aa78cf0abd46aa663bb9fa313a0c61d57003c427ae4a61dbcbf ChangeLog 12361
MISC metadata.xml 221 RMD160 c08d57bf5bb9110d90f3d4bae07a87b662add92a SHA1 083b4c4186b97766a77a282179eb387403ffbd71 SHA256 2effb4fe4513bd8d65e088ec41cd470c52003e4b66feb7cf7a5247aaa894345f
MD5 d6863e368bff32cb8dca1b8062fbc321 metadata.xml 221
RMD160 c08d57bf5bb9110d90f3d4bae07a87b662add92a metadata.xml 221
@@ -46,3 +53,10 @@ SHA256 658a8f9bdc9e604d873b4e6510f14721b4a5cf9c9d0a0451f1ab1699419be79a files/di
MD5 41edfc447451d8a4e82342c659721001 files/digest-libpcre-7.2 229
RMD160 e99a4f00e9deef3b25ef17766ee0825129c99e85 files/digest-libpcre-7.2 229
SHA256 55f8a9ae83f1c1e2d243682b490fa20109a5c806859fa05c17dc554b804506f7 files/digest-libpcre-7.2 229
+-----BEGIN PGP SIGNATURE-----
+Version: GnuPG v2.0.5 (GNU/Linux)
+
+iD8DBQFGmh1xKhnDs22gwa8RAsvjAJsGvenI12NeC/RwsjSKl5B6dZj1pgCg/ZMK
+t4ZC9oFopG+xtK2pPEjUsNg=
+=r2d9
+-----END PGP SIGNATURE-----
diff --git a/dev-libs/libpcre/files/pcre-7.1-pic.patch b/dev-libs/libpcre/files/pcre-7.1-pic.patch
new file mode 100644
index 000000000000..3e1e3136592b
--- /dev/null
+++ b/dev-libs/libpcre/files/pcre-7.1-pic.patch
@@ -0,0 +1,26 @@
+--- pcre-7.1/Makefile.am.old 2007-04-18 10:07:56.000000000 +0100
++++ pcre-7.1/Makefile.am 2007-06-20 10:49:01.932157547 +0100
+@@ -194,6 +194,7 @@
+ # pcre_chartables.c, used unless --enable-rebuild-chartables is specified.
+ EXTRA_DIST += pcre_printint.src pcre_chartables.c.dist
+
++libpcre_la_CFLAGS = -fPIC -DPIC
+ libpcre_la_LDFLAGS = $(EXTRA_LIBPCRE_LDFLAGS)
+
+ CLEANFILES += pcre_chartables.c
+@@ -202,6 +203,7 @@
+ lib_LTLIBRARIES += libpcreposix.la
+ libpcreposix_la_SOURCES = \
+ pcreposix.c
++libpcreposix_la_CFLAGS = -fPIC -DPIC
+ libpcreposix_la_LDFLAGS = $(EXTRA_LIBPCREPOSIX_LDFLAGS)
+ libpcreposix_la_LIBADD = libpcre.la
+
+@@ -213,6 +215,7 @@
+ pcrecpp.cc \
+ pcre_scanner.cc \
+ pcre_stringpiece.cc
++libpcrecpp_la_CXXCLAGS = -fPIC -DPIC
+ libpcrecpp_la_LDFLAGS = $(EXTRA_LIBPCRECPP_LDFLAGS)
+ libpcrecpp_la_LIBADD = libpcre.la
+
diff --git a/dev-libs/libpcre/libpcre-7.1.ebuild b/dev-libs/libpcre/libpcre-7.1.ebuild
index f25b509a0ac1..13918bbeaa50 100644
--- a/dev-libs/libpcre/libpcre-7.1.ebuild
+++ b/dev-libs/libpcre/libpcre-7.1.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2007 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-libs/libpcre/libpcre-7.1.ebuild,v 1.8 2007/06/16 10:58:06 dertobi123 Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-libs/libpcre/libpcre-7.1.ebuild,v 1.9 2007/07/15 13:13:15 angelos Exp $
inherit libtool eutils
@@ -23,6 +23,7 @@ S="${WORKDIR}/${MY_P}"
src_unpack() {
unpack ${A}
cd "${S}"
+ epatch "${FILESDIR}/pcre-7.1-pic.patch"
epatch "${FILESDIR}/pcre-6.3-uclibc-tuple.patch"
elibtoolize
}
diff --git a/dev-libs/libpcre/libpcre-7.2.ebuild b/dev-libs/libpcre/libpcre-7.2.ebuild
index a574759b7209..88c33cb994df 100644
--- a/dev-libs/libpcre/libpcre-7.2.ebuild
+++ b/dev-libs/libpcre/libpcre-7.2.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2007 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-libs/libpcre/libpcre-7.2.ebuild,v 1.3 2007/07/05 20:40:23 uberlord Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-libs/libpcre/libpcre-7.2.ebuild,v 1.4 2007/07/15 13:13:15 angelos Exp $
inherit libtool eutils
@@ -23,6 +23,7 @@ S="${WORKDIR}/${MY_P}"
src_unpack() {
unpack ${A}
cd "${S}"
+ epatch "${FILESDIR}/pcre-7.1-pic.patch"
epatch "${FILESDIR}/pcre-6.3-uclibc-tuple.patch"
elibtoolize
}