Subject: [alpine-aports] [PATCH] testing/libressl: upgrade to 2.2.5

From: Sören Tempel <[email-masked]>
Date: Thu, 10 Dec 2015 16:22:23 +0100

---
 testing/libressl/APKBUILD | 22 +++++++++++-----------
 1 file changed, 11 insertions(+), 11 deletions(-)

diff --git a/testing/libressl/APKBUILD b/testing/libressl/APKBUILD
index da722b2..adb5246 100644
--- a/testing/libressl/APKBUILD
+++ b/testing/libressl/APKBUILD
@@ -1,24 +1,24 @@
+# Contributor: Sören Tempel <[email-masked]>
 # Contributor: Orion <[email-masked]>
 # Maintainer: Orion <[email-masked]>
-#
-#
 pkgname=libressl
-pkgver=2.2.4
+pkgver=2.2.5
 pkgrel=0
-pkgdesc="FREE version of the SSL/TLS protocol forked from OpenSSL - Portable edition"
+pkgdesc="version of the TLS/crypto stack forked from OpenSSL"
 url="http://www.libressl.org/"
 arch="all"
-license="openssl"
+license="custom"
 depends=""
 depends_dev=""
-makedepends="$depends_dev linux-headers"
+makedepends="linux-headers"
 install=""
 replaces="openssl"
 subpackages="$pkgname-libs $pkgname-dev $pkgname-doc"
 source="http://ftp.openbsd.org/pub/OpenBSD/LibreSSL/${pkgname}-${pkgver}.tar.gz"
 
-_builddir="${srcdir}/${pkgname}-${pkgver}"
+_builddir="$srcdir"/$pkgname-$pkgver
 prepare() {
+	local i
 	cd "$_builddir"
 	for i in $source; do
 		case $i in
@@ -35,7 +35,6 @@ build() {
 		--prefix=/usr \
 		--sysconfdir=/etc \
 		--mandir=/usr/share/man \
-		--infodir=/usr/share/info \
 		--localstatedir=/var \
 		|| return 1
 	make || return 1
@@ -44,6 +43,7 @@ build() {
 package() {
 	cd "$_builddir"
 	make DESTDIR="$pkgdir" install || return 1
+	install -Dm644 COPYING "$pkgdir"/usr/share/licenses/$pkgname/COPYING
 }
 
 dev() {
@@ -51,6 +51,6 @@ dev() {
 	replaces="openssl-dev"
 }
 
-md5sums="bae037598bd63987666302f9644de237  libressl-2.2.4.tar.gz"
-sha256sums="6b409859be8654afc3862549494e097017e64c8d167f12584383586306ef9a7e  libressl-2.2.4.tar.gz"
-sha512sums="390fbf4f531976c873a0a1163fd57f33097686c6956ec4d3eb69e8271a4e40abfec76d65172b34ae50af8936dd8b5c3ca5fefee9d8686ca468a5577d432c3fe5  libressl-2.2.4.tar.gz"
+md5sums="d9b590dd8b36cb0bce783436b17dfe7c  libressl-2.2.5.tar.gz"
+sha256sums="e3caded0469d8dc64f4ca2fe8e499ada4dd014e84d1c5a71818d39e54e6c914b  libressl-2.2.5.tar.gz"
+sha512sums="501d04cb966260854082d374e60aabde21bcd65a331ff7c76044f2053b22ddab4914710b223b400a3a181873c6af5e2e7da5f04bdd9028fddbf420e259a2863a  libressl-2.2.5.tar.gz"
-- 
2.6.4

---
Unsubscribe:  [email-masked]
Help:         [email-masked]
---