Subject: [alpine-aports] [PATCH] testing/h2o: updated to 1.4.1

From: Bennett Goble <[email-masked]>
Date: Mon, 27 Jul 2015 11:38:34 -0400

- Updated package to 1.4.1
- Fixed pre-install
---
 testing/h2o/APKBUILD        | 25 ++++++++++---------------
 testing/h2o/h2o.pre-install |  0
 2 files changed, 10 insertions(+), 15 deletions(-)
 mode change 100755 => 100644 testing/h2o/h2o.pre-install

diff --git a/testing/h2o/APKBUILD b/testing/h2o/APKBUILD
index 622ba4b..f316815 100644
--- a/testing/h2o/APKBUILD
+++ b/testing/h2o/APKBUILD
@@ -2,21 +2,20 @@
 # Maintainer: Bennett Goble <[email-masked]>
 
 pkgname=h2o
-pkgver=1.3.1
-pkgrel=1
+pkgver=1.4.1
+pkgrel=0
 pkgdesc="An optimized HTTP/1, HTTP/2 server written in C"
 url="https://h2o.examp1e.net"
 arch="all"
 license="MIT"
 depends="perl"
 makedepends="cmake wslay-dev openssl-dev libuv-dev libyaml-dev"
-install=""
+install="$pkgname.pre-install"
 subpackages="$pkgname-dev $pkgname-doc"
 source="saveas-https://github.com/h2o/h2o/archive/v$pkgver.tar.gz/$pkgname-$pkgver.tar.gz
 	h2o.conf
 	h2o.initd
-	h2o.logrotate
-	h2o.pre-install"
+	h2o.logrotate"
 
 _builddir="$srcdir/$pkgname-$pkgver"
 _logdir=/var/log/$pkgname
@@ -24,7 +23,6 @@ _confdir=/etc
 
 prepare() {
 	cd "$_builddir"
-	sed -i 's@__linux__@__GLIBC__@g' src/main.c
 	cmake -DBUILD_SHARED_LIBS=on -DCMAKE_INSTALL_PREFIX=/usr . || return 1
 }
 
@@ -53,18 +51,15 @@ package() {
 	install -m700 -d "$pkgdir"/$_logdir || return 1
 }
 
-md5sums="5d47658e1199a9a3fdd63c38279a6727  h2o-1.3.1.tar.gz
+md5sums="263a1d0b55edffcde108ed418fa53839  h2o-1.4.1.tar.gz
 7d986844504a8106732d0128063faea0  h2o.conf
 a1ad5f38f26603bd673106e7d6848469  h2o.initd
-bb8f7d3d7589b6fca65b563f984cddda  h2o.logrotate
-00138b70151efdb82ea056de831c6adc  h2o.pre-install"
-sha256sums="8668a7c70cdb59eef4e67889569a45e0cf75b95eec133bd30435879cbdb77fba  h2o-1.3.1.tar.gz
+bb8f7d3d7589b6fca65b563f984cddda  h2o.logrotate"
+sha256sums="b5695b08c90a22b5f164a632bae68b4e8c4ecf4f231a3d336c7f94562591e4e9  h2o-1.4.1.tar.gz
 05a712800b959aa3440307afdcd7a3a6ab8c17f48e1bfa3751a87cc67baf8737  h2o.conf
 707c02f7f47590e5bbea5688e2a5ca014a861dfdd4e0013f64094cb45d3ac397  h2o.initd
-43c3bacfddd1fc6c3c9a985e915bfd555e6282b27bb8da8862272d187490832e  h2o.logrotate
-5023b81a2dcb8b59ea9754dc8572c99e3b36f494b78d1e717e7c7e04c0723865  h2o.pre-install"
-sha512sums="47710de9854d6652f80be5ae87e2b6888cb0081c343fa9f0b0bd1a37b97c73454db5d51135c7a4ad29a384098a54252327e549089f9a33b58757bfcf611b3aa5  h2o-1.3.1.tar.gz
+43c3bacfddd1fc6c3c9a985e915bfd555e6282b27bb8da8862272d187490832e  h2o.logrotate"
+sha512sums="36ee038feb676a3e74f6a5ea3d6e7566a8dfb6cf8bf9d9021765947578b066879a4a4b767072a21d4fc96bbbb2e4b595e3e3f1687e40e3e0990db5459f30cb4a  h2o-1.4.1.tar.gz
 444f55c3eaae1f349223036086e45c983ea8be89e793068537ec25488c4065174bc509d0987ddc65a0357cb8acfec272e90d13ea7cdadf9cf112953d857aa574  h2o.conf
 e93e66a6b00b1bff94e37489c5fdf99d9d657adc63975ec54be30f8da23dafe7d7389f02a6452ed819efc9d8398aa716782a7fd6d8509621a975ed954b73bef9  h2o.initd
-3d2c9e36c48cbb974d0691e4af8e9eb8f13e3bebb98a30417cdc87e76a4b5cddc4e4f665ebea26b95174287b95d002fdc3363f30ffcf15247fcd0530fe1abfcc  h2o.logrotate
-51db6af1219ed7f72f9ef3639516e14d93aad92a1ec685eb0b11815a8f617d5c03ef9a8124fcc42881d7460852a497abb0134ea4bdb982e6241f898ba1a6325f  h2o.pre-install"
+3d2c9e36c48cbb974d0691e4af8e9eb8f13e3bebb98a30417cdc87e76a4b5cddc4e4f665ebea26b95174287b95d002fdc3363f30ffcf15247fcd0530fe1abfcc  h2o.logrotate"
diff --git a/testing/h2o/h2o.pre-install b/testing/h2o/h2o.pre-install
old mode 100755
new mode 100644
-- 
2.4.1

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