From cd3fbab4055d7222bc57085701fe93533009cdb6 Mon Sep 17 00:00:00 2001 From: Juan RP Date: Wed, 23 Jul 2014 18:28:37 +0200 Subject: [PATCH] openssl: split c_rehash into -crehash subpkg; to be used by ca-certificates. --- srcpkgs/openssl-crehash | 1 + srcpkgs/openssl/template | 14 ++++++++++++-- 2 files changed, 13 insertions(+), 2 deletions(-) create mode 120000 srcpkgs/openssl-crehash 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}"