2014-07-11 18:25:41 +00:00
|
|
|
# Template file for 'libressl'
|
|
|
|
pkgname=libressl
|
2014-08-08 22:23:03 +00:00
|
|
|
version=2.0.5
|
2014-08-18 11:44:10 +00:00
|
|
|
revision=7
|
2014-07-14 09:07:25 +00:00
|
|
|
bootstrap=yes
|
2014-07-11 18:25:41 +00:00
|
|
|
build_style=gnu-configure
|
|
|
|
short_desc="FREE version of the SSL/TLS protocol forked from OpenSSL"
|
|
|
|
maintainer="Juan RP <xtraeme@gmail.com>"
|
2014-07-18 13:48:21 +00:00
|
|
|
license="OpenSSL-License, SSLeay-License, ISC"
|
2014-07-11 18:25:41 +00:00
|
|
|
homepage="http://www.libressl.org/"
|
|
|
|
distfiles="http://ftp.openbsd.org/pub/OpenBSD/LibreSSL/${pkgname}-${version}.tar.gz"
|
2014-08-08 22:23:03 +00:00
|
|
|
checksum=3f5463b5deb93efd2ac4e23a20612a1ccf3299a569d03880bb204c90647dfc9a
|
2014-07-11 18:25:41 +00:00
|
|
|
|
|
|
|
post_install() {
|
|
|
|
vlicense COPYING
|
2014-07-18 13:58:51 +00:00
|
|
|
mv ${DESTDIR}/usr/share/man/man1/{passwd.1,libressl-passwd.1}
|
2014-07-11 18:25:41 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
libressl-devel_package() {
|
|
|
|
short_desc+=" - development files"
|
|
|
|
depends="${sourcepkg}>=${version}_${revision}"
|
|
|
|
conflicts="openssl-devel>=0"
|
|
|
|
pkg_install() {
|
|
|
|
vmove usr/include
|
|
|
|
vmove usr/lib/*.a
|
|
|
|
vmove usr/lib/*.so
|
2014-07-14 06:26:11 +00:00
|
|
|
vmove usr/lib/pkgconfig
|
2014-07-11 18:25:41 +00:00
|
|
|
vmove usr/share/man/man3
|
|
|
|
}
|
|
|
|
}
|
2014-07-14 08:58:22 +00:00
|
|
|
|
|
|
|
libressl-openssl_package() {
|
2014-07-24 13:31:05 +00:00
|
|
|
short_desc+=" - utilities"
|
|
|
|
# required by c_rehash
|
|
|
|
depends="perl"
|
|
|
|
provides="openssl-${version}_${revision} openssl-crehash-${version}_${revision}"
|
|
|
|
replaces="libressl<2.0.1_2 openssl>=0 openssl-crehash>=0"
|
2014-07-18 13:58:51 +00:00
|
|
|
conf_files="/etc/ssl/openssl.cnf"
|
2014-07-14 08:58:22 +00:00
|
|
|
pkg_install() {
|
2014-07-18 14:02:38 +00:00
|
|
|
vinstall ${FILESDIR}/openssl.cnf 644 etc/ssl
|
2014-07-14 08:58:22 +00:00
|
|
|
vmove usr/bin
|
|
|
|
vmove usr/share/man/man1
|
2014-07-24 13:31:05 +00:00
|
|
|
vbin ${FILESDIR}/c_rehash
|
2014-07-14 08:58:22 +00:00
|
|
|
}
|
|
|
|
}
|