[arch-commits] Commit in redland/trunk (PKGBUILD rpath.diff)
andyrtr at archlinux.org
andyrtr at archlinux.org
Sun Feb 20 10:02:51 UTC 2011
Date: Sunday, February 20, 2011 @ 05:02:51
Author: andyrtr
Revision: 110586
upgpkg: redland 1.0.12-5
split pkg for FS#22400; add a patch to remove insecure rpath
Added:
redland/trunk/rpath.diff
Modified:
redland/trunk/PKGBUILD
------------+
PKGBUILD | 10 ++++++++--
rpath.diff | 11 +++++++++++
2 files changed, 19 insertions(+), 2 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2011-02-20 09:31:37 UTC (rev 110585)
+++ PKGBUILD 2011-02-20 10:02:51 UTC (rev 110586)
@@ -11,8 +11,10 @@
arch=('i686' 'x86_64')
makedepends=('rasqal>=0.9.21' 'raptor>=1.4.21' 'db>=5.1' 'postgresql-libs' 'libmysqlclient' 'unixodbc' 'sqlite3')
options=('!libtool')
-source=(http://download.librdf.org/source/$pkgname-$pkgver.tar.gz)
-md5sums=('40f37a5ad97fdfbf984f78dcea0c6115')
+source=(http://download.librdf.org/source/$pkgname-$pkgver.tar.gz
+ rpath.diff)
+md5sums=('40f37a5ad97fdfbf984f78dcea0c6115'
+ 'acc85e784f01a656bd56777f95880787')
build() {
cd ${srcdir}/${pkgname}-${pkgver}
@@ -22,6 +24,10 @@
--with-raptor=system \
--with-rasqal=system \
--with-sqlite=3
+
+ # nuke rpath
+ patch -Np0 -i ${srcdir}/rpath.diff
+
make
}
Added: rpath.diff
===================================================================
--- rpath.diff (rev 0)
+++ rpath.diff 2011-02-20 10:02:51 UTC (rev 110586)
@@ -0,0 +1,11 @@
+--- libtool 2011-02-20 10:46:47.000000000 +0100
++++ libtool.new 2011-02-20 10:52:58.285764909 +0100
+@@ -324,7 +324,7 @@
+
+ # Flag to hardcode $libdir into a binary during linking.
+ # This must work even if $libdir does not exist
+-hardcode_libdir_flag_spec="\${wl}-rpath \${wl}\$libdir"
++hardcode_libdir_flag_spec=" "
+
+ # If ld is used when linking, flag to hardcode $libdir into a binary
+ # during linking. This must work even if $libdir does not exist.
More information about the arch-commits
mailing list