Mail archive
alpine-aports

[alpine-aports] [PATCH] testing/libressl: upgrade to stable 2.2.4, move libs to subpackage

From: Valery Kartel <valery.kartel_at_gmail.com>
Date: Thu, 12 Nov 2015 18:12:07 +0200

---
 testing/libressl/APKBUILD | 20 ++++++++++++--------
 1 file changed, 12 insertions(+), 8 deletions(-)
diff --git a/testing/libressl/APKBUILD b/testing/libressl/APKBUILD
index 794c3cd..da722b2 100644
--- a/testing/libressl/APKBUILD
+++ b/testing/libressl/APKBUILD
_at_@ -3,7 +3,7 @@
 #
 #
 pkgname=libressl
-pkgver=2.2.3
+pkgver=2.2.4
 pkgrel=0
 pkgdesc="FREE version of the SSL/TLS protocol forked from OpenSSL - Portable edition"
 url="http://www.libressl.org/"
_at_@ -13,13 +13,12 @@ depends=""
 depends_dev=""
 makedepends="$depends_dev linux-headers"
 install=""
-subpackages="$pkgname-dev $pkgname-doc"
-source="http://ftp.openbsd.org/pub/OpenBSD/LibreSSL/${pkgname}-${pkgver}.tar.gz
-	"
+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}"
 prepare() {
-	local i
 	cd "$_builddir"
 	for i in $source; do
 		case $i in
_at_@ -47,6 +46,11 @@ package() {
 	make DESTDIR="$pkgdir" install || return 1
 }
 
-md5sums="9a3c3c9a1c0bd6fb2659ca003de3f725  libressl-2.2.3.tar.gz"
-sha256sums="a1ccc21adf91d60e99246031b99c930c9af5e1b1b5a61b1bec87beef6f16d882  libressl-2.2.3.tar.gz"
-sha512sums="79f0cd57d2f1202e7d1213a9f9e0665bce11d1c1e5a4ba48c98b81f94e09a8c72733a5dfb0a5626b91db146641cfbec79acb9a5cbb437a60924b7f028d224500  libressl-2.2.3.tar.gz"
+dev() {
+	default_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"
-- 
2.6.3
---
Unsubscribe:  alpine-aports+unsubscribe_at_lists.alpinelinux.org
Help:         alpine-aports+help_at_lists.alpinelinux.org
---
Received on Thu Nov 12 2015 - 18:12:07 GMT