From 3ba8345b9fa7b0c43a16374ba417b6f2aed4a9e5 Mon Sep 17 00:00:00 2001 From: Juan RP Date: Tue, 27 Apr 2010 23:52:39 +0200 Subject: [PATCH] openssl: install libs with 755, add missing symlinks to shlibs. --HG-- extra : convert_revision : d1890a53240fb879fa08b41da9d0d0e71dbe094f --- srcpkgs/openssl/template | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/srcpkgs/openssl/template b/srcpkgs/openssl/template index 5479a9639b..db308b7b8f 100644 --- a/srcpkgs/openssl/template +++ b/srcpkgs/openssl/template @@ -2,7 +2,7 @@ pkgname=openssl _openssl_version=1.0.0 version=${_openssl_version} -revision=1 +revision=2 distfiles="http://www.openssl.org/source/$pkgname-$version.tar.gz" build_style=configure configure_script="./config" @@ -31,8 +31,12 @@ Add_dependency build zlib-devel post_install() { + chmod 755 ${DESTDIR}/usr/lib/lib{ssl,crypto}.so.${version} + chmod 755 ${DESTDIR}/usr/lib/engines/*.so + for _solib_ in libssl.so libcrypto.so; do cd ${DESTDIR}/usr/lib && \ - ln -s ${_solib_}.${version} ${_solib_}.1 + ln -sf ${_solib_}.${version} ${_solib_}.1 && \ + ln -sf ${_solib_}.${version} ${_solib_} done }