summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorChocobo12017-05-31 12:17:48 +0800
committerChocobo12017-05-31 12:22:44 +0800
commit350bf525acaa8593d8eddea5bdd328e9ea3061b4 (patch)
tree3677c7bf6da6d5252f822222f85d75039c364726
parent0c300b1705bbff87c60d775791556f71534f37e6 (diff)
downloadaur-350bf525acaa8593d8eddea5bdd328e9ea3061b4.tar.gz
updpkg: httperf-git 1-cc88843-2
Add openssl-1.0 as make dependency Add patch for using openssl-1.0
-rw-r--r--.SRCINFO5
-rw-r--r--PKGBUILD12
-rw-r--r--openssl-1.0.patch11
3 files changed, 23 insertions, 5 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 52cf8b57859..a54d58af724 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,17 +1,20 @@
pkgbase = httperf-git
pkgdesc = The HTTP load generator
pkgver = cc88843
- pkgrel = 1
+ pkgrel = 2
epoch = 1
url = https://github.com/httperf/httperf
arch = i686
arch = x86_64
license = GPL
makedepends = git
+ makedepends = openssl-1.0
provides = httperf
conflicts = httperf
source = git+https://github.com/httperf/httperf.git
+ source = openssl-1.0.patch
sha256sums = SKIP
+ sha256sums = 14e17f66425dc8433255b6ba893e933dce3fabb37e860290f4cfaf3a24c36ac0
pkgname = httperf-git
diff --git a/PKGBUILD b/PKGBUILD
index d0613f66a48..c985a804cc0 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -2,17 +2,19 @@
pkgname=httperf-git
pkgver=cc88843
-pkgrel=1
+pkgrel=2
epoch=1
pkgdesc="The HTTP load generator"
arch=('i686' 'x86_64')
url="https://github.com/httperf/httperf"
license=('GPL')
-makedepends=('git')
+makedepends=('git' 'openssl-1.0')
provides=('httperf')
conflicts=('httperf')
-source=("git+https://github.com/httperf/httperf.git")
-sha256sums=('SKIP')
+source=("git+https://github.com/httperf/httperf.git"
+ "openssl-1.0.patch")
+sha256sums=('SKIP'
+ '14e17f66425dc8433255b6ba893e933dce3fabb37e860290f4cfaf3a24c36ac0')
pkgver() {
@@ -24,6 +26,8 @@ pkgver() {
prepare() {
cd "httperf"
+ patch -Np1 -i "../openssl-1.0.patch"
+
autoreconf -i
mkdir -p "build"
}
diff --git a/openssl-1.0.patch b/openssl-1.0.patch
new file mode 100644
index 00000000000..fde62d5f749
--- /dev/null
+++ b/openssl-1.0.patch
@@ -0,0 +1,11 @@
+--- httperf/configure-orig.ac 2017-05-31 12:08:20.317656668 +0800
++++ httperf/configure.ac 2017-05-31 12:12:00.217551666 +0800
+@@ -51,7 +51,7 @@
+ # Checks for header files.
+ AC_FUNC_ALLOCA
+ AC_HEADER_TIME
+-AC_CHECK_HEADERS([openssl/ssl.h getopt.h])
++AC_CHECK_HEADERS([openssl-1.0/ssl.h getopt.h])
+
+ if test "$ac_cv_header_openssl_ssl_h" = "yes" \
+ -a "$ac_cv_lib_ssl_SSL_version" = "yes" \