aboutsummaryrefslogtreecommitdiffstats
path: root/community/h2o/APKBUILD
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2018-04-05 12:22:25 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2018-04-06 05:19:28 +0000
commit4926e23d21a45d6eac9201029b6799c58b5ecb22 (patch)
tree5e4210137672d9750c952ff3b2de94721529d969 /community/h2o/APKBUILD
parent53a2ede7c4814fc1d6bcf1307cf88dd1a48a016d (diff)
downloadaports-4926e23d21a45d6eac9201029b6799c58b5ecb22.tar.bz2
aports-4926e23d21a45d6eac9201029b6799c58b5ecb22.tar.xz
community/h2o: rebuild against libressl-2.7
Diffstat (limited to 'community/h2o/APKBUILD')
-rw-r--r--community/h2o/APKBUILD10
1 files changed, 4 insertions, 6 deletions
diff --git a/community/h2o/APKBUILD b/community/h2o/APKBUILD
index 6eb039b455..2d318b6de6 100644
--- a/community/h2o/APKBUILD
+++ b/community/h2o/APKBUILD
@@ -2,7 +2,7 @@
# Maintainer: Bennett Goble <nivardus@gmail.com>
pkgname=h2o
pkgver=2.2.4
-pkgrel=0
+pkgrel=1
pkgdesc="An optimized HTTP/1, HTTP/2 server written in C"
url="https://h2o.examp1e.net"
arch="all"
@@ -12,12 +12,13 @@ makedepends="cmake ruby ruby-dev bison zlib-dev wslay-dev libressl-dev libuv-dev
install="$pkgname.pre-install"
subpackages="$pkgname-dev $pkgname-doc"
source="$pkgname-$pkgver.tar.gz::https://github.com/$pkgname/$pkgname/archive/v$pkgver.tar.gz
+ libressl-2.7.patch
h2o.conf
h2o.initd
h2o.logrotate"
builddir="$srcdir/$pkgname-$pkgver"
-prepare() {
+build() {
cd "$builddir"
cmake \
-DBUILD_SHARED_LIBS=on \
@@ -25,10 +26,6 @@ prepare() {
-DCMAKE_INSTALL_PREFIX=/usr \
-DWITH_MRUBY=on \
.
-}
-
-build() {
- cd "$builddir"
make -j1
make libh2o
}
@@ -53,6 +50,7 @@ package() {
}
sha512sums="508ebe93b890f573e735d9b1f9c91a669144be3523e34fb7455227fd10b38e04a5db73e706fe8d05849fea3019e792754097871c073715c9eef4eae7c33560b5 h2o-2.2.4.tar.gz
+5e30cadf7ad0fcecadb56c60eb71f8e4eee2f6f46977d48744a5f0e965251948dc9c5543295211c695d440f9568e04b13108c1c163f092ac6cae718fd2b02ef7 libressl-2.7.patch
444f55c3eaae1f349223036086e45c983ea8be89e793068537ec25488c4065174bc509d0987ddc65a0357cb8acfec272e90d13ea7cdadf9cf112953d857aa574 h2o.conf
e93e66a6b00b1bff94e37489c5fdf99d9d657adc63975ec54be30f8da23dafe7d7389f02a6452ed819efc9d8398aa716782a7fd6d8509621a975ed954b73bef9 h2o.initd
3d2c9e36c48cbb974d0691e4af8e9eb8f13e3bebb98a30417cdc87e76a4b5cddc4e4f665ebea26b95174287b95d002fdc3363f30ffcf15247fcd0530fe1abfcc h2o.logrotate"