openssl: split c_rehash into -crehash subpkg; to be used by ca-certificates.

This commit is contained in:
Juan RP 2014-07-23 18:28:37 +02:00
parent f08268bc9a
commit cd3fbab405
2 changed files with 13 additions and 2 deletions

1
srcpkgs/openssl-crehash Symbolic link
View file

@ -0,0 +1 @@
openssl

View file

@ -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 <xtraeme@gmail.com>"
@ -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}"