diff --git a/srcpkgs/openssl-crehash b/srcpkgs/openssl-crehash new file mode 120000 index 00000000000..fc538edfef4 --- /dev/null +++ b/srcpkgs/openssl-crehash @@ -0,0 +1 @@ +openssl \ No newline at end of file diff --git a/srcpkgs/openssl/template b/srcpkgs/openssl/template index b3e56d0d506..3265fa2abd9 100644 --- a/srcpkgs/openssl/template +++ b/srcpkgs/openssl/template @@ -2,7 +2,7 @@ pkgname=openssl _openssl_version=1.0.1 version=${_openssl_version}h -revision=2 +revision=3 bootstrap=yes short_desc="Secure Socket Layer and cryptographic library - runtime utilities" maintainer="Juan RP " @@ -15,7 +15,7 @@ if [ "$CHROOT_READY" ]; then hostmakedepends="perl" fi -depends="perl" +depends="openssl-crehash" makedepends="zlib-devel" conflicts="libressl-openssl>=0" @@ -70,6 +70,16 @@ do_install() { ${DESTDIR}/usr/share/man/man1/openssl-passwd.1 } +openssl-crehash_package() { + noarch=yes + replaces="openssl<1.0.1h_3" + depends="perl" + short_desc+=" - c_rehash script" + pkg_install() { + vmove usr/bin/c_rehash + } +} + openssl-devel_package() { conflicts="libressl-devel>=0" depends="zlib-devel libssl>=${version}_${revision}"