2014-07-11 20:25:41 +02:00
|
|
|
# Template file for 'libressl'
|
|
|
|
pkgname=libressl
|
2014-07-16 08:39:25 +02:00
|
|
|
version=2.0.2
|
2014-07-18 15:58:51 +02:00
|
|
|
revision=3
|
2014-07-14 11:07:25 +02:00
|
|
|
bootstrap=yes
|
2014-07-11 20:25:41 +02: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 15:48:21 +02:00
|
|
|
license="OpenSSL-License, SSLeay-License, ISC"
|
2014-07-11 20:25:41 +02:00
|
|
|
homepage="http://www.libressl.org/"
|
|
|
|
distfiles="http://ftp.openbsd.org/pub/OpenBSD/LibreSSL/${pkgname}-${version}.tar.gz"
|
2014-07-16 08:39:25 +02:00
|
|
|
checksum=4d16b6852cbd895ed55737819d2c042b37371f1d80fcba4fb24239eba2a5d72b
|
2014-07-11 20:25:41 +02:00
|
|
|
|
|
|
|
post_install() {
|
|
|
|
vlicense COPYING
|
2014-07-18 15:58:51 +02:00
|
|
|
mv ${DESTDIR}/usr/share/man/man1/{passwd.1,libressl-passwd.1}
|
2014-07-11 20:25:41 +02: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 08:26:11 +02:00
|
|
|
vmove usr/lib/pkgconfig
|
2014-07-11 20:25:41 +02:00
|
|
|
vmove usr/share/man/man3
|
|
|
|
}
|
|
|
|
}
|
2014-07-14 10:58:22 +02:00
|
|
|
|
|
|
|
libressl-openssl_package() {
|
|
|
|
short_desc+=" - openssl utility"
|
2014-07-16 01:03:25 +02:00
|
|
|
provides="openssl-${version}_${revision}"
|
2014-07-18 15:48:21 +02:00
|
|
|
replaces="libressl<2.0.1_2 openssl>=0"
|
2014-07-18 15:58:51 +02:00
|
|
|
conf_files="/etc/ssl/openssl.cnf"
|
2014-07-14 10:58:22 +02:00
|
|
|
pkg_install() {
|
2014-07-18 15:58:51 +02:00
|
|
|
vinstall ${FILESDIR}/openssl.cnf 640 etc/ssl
|
2014-07-14 10:58:22 +02:00
|
|
|
vmove usr/bin
|
|
|
|
vmove usr/share/man/man1
|
|
|
|
}
|
|
|
|
}
|