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 }