[arch-commits] Commit in openssl/trunk (PKGBUILD openssl-0.9.8a-no-rpath.patch)
Pierre Schmitz
pierre at archlinux.org
Sun Apr 19 09:04:53 UTC 2009
Date: Sunday, April 19, 2009 @ 05:04:53
Author: pierre
Revision: 36001
upgpkg: openssl 0.9.8k-2
Added:
openssl/trunk/openssl-0.9.8a-no-rpath.patch
Modified:
openssl/trunk/PKGBUILD
-------------------------------+
PKGBUILD | 14 +++++++++-----
openssl-0.9.8a-no-rpath.patch | 11 +++++++++++
2 files changed, 20 insertions(+), 5 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2009-04-19 08:29:35 UTC (rev 36000)
+++ PKGBUILD 2009-04-19 09:04:53 UTC (rev 36001)
@@ -3,7 +3,7 @@
pkgname=openssl
pkgver=0.9.8k
-pkgrel=1
+pkgrel=2
pkgdesc='The Open Source toolkit for Secure Sockets Layer and Transport Layer Security'
arch=('i686' 'x86_64')
url='http://www.openssl.org'
@@ -11,16 +11,20 @@
depends=('zlib' 'perl')
optdepends=('ca-certificates')
options=('!makeflags')
-# patch from http://www.linuxfromscratch.org/patches/blfs/svn/
-source=("http://www.openssl.org/source/${pkgname}-${pkgver}.tar.gz" \
- 'openssl-0.9.8j-fix_manpages-1.patch')
+# fix_manpages.patch from http://www.linuxfromscratch.org/patches/blfs/svn/
+# no-rpath.patch from http://cvs.fedoraproject.org/viewvc/rpms/openssl/devel/
+source=("http://www.openssl.org/source/${pkgname}-${pkgver}.tar.gz"
+ 'openssl-0.9.8j-fix_manpages-1.patch'
+ 'openssl-0.9.8a-no-rpath.patch')
md5sums=('e555c6d58d276aec7fdc53363e338ab3'
- '04a6a88c2ee4badd4f8649792b73eaf3')
+ '04a6a88c2ee4badd4f8649792b73eaf3'
+ '4738d1eaff4e9975e9a26e4f76e48318')
build() {
cd $srcdir/$pkgname-$pkgver
patch -p1 -i $srcdir/openssl-0.9.8j-fix_manpages-1.patch
+ patch -p1 -i $srcdir/openssl-0.9.8a-no-rpath.patch
./config --prefix=/usr --openssldir=/etc/ssl shared zlib -Wa,--noexecstack
make
Added: openssl-0.9.8a-no-rpath.patch
===================================================================
--- openssl-0.9.8a-no-rpath.patch (rev 0)
+++ openssl-0.9.8a-no-rpath.patch 2009-04-19 09:04:53 UTC (rev 36001)
@@ -0,0 +1,11 @@
+--- openssl-0.9.8a/Makefile.shared.no-rpath 2005-06-23 22:47:54.000000000 +0200
++++ openssl-0.9.8a/Makefile.shared 2005-11-16 22:35:37.000000000 +0100
+@@ -153,7 +153,7 @@
+ NOALLSYMSFLAGS='-Wl,--no-whole-archive'; \
+ SHAREDFLAGS="$(CFLAGS) $(SHARED_LDFLAGS) -shared -Wl,-Bsymbolic -Wl,-soname=$$SHLIB$$SHLIB_SOVER$$SHLIB_SUFFIX"
+
+-DO_GNU_APP=LDFLAGS="$(CFLAGS) -Wl,-rpath,$(LIBRPATH)"
++DO_GNU_APP=LDFLAGS="$(CFLAGS)"
+
+ #This is rather special. It's a special target with which one can link
+ #applications without bothering with any features that have anything to
More information about the arch-commits
mailing list