summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorXavier Devlamynck2017-07-03 07:06:01 +0000
committerXavier Devlamynck2017-07-03 07:06:01 +0000
commita320117051e615186b90f8a70d405b5e3759a355 (patch)
tree604a9300a6a4af93777d05c797f478cbb32e3eb7
parent2600785cb8f193831c194c6d789596b7c50a6004 (diff)
downloadaur-a320117051e615186b90f8a70d405b5e3759a355.tar.gz
Fix for OpenSSL 1.1.x
-rw-r--r--PKGBUILD8
1 files changed, 5 insertions, 3 deletions
diff --git a/PKGBUILD b/PKGBUILD
index 57b0d836b7b..6df684c5803 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -3,7 +3,7 @@
pkgname=sipp
pkgver=3.5.1
-pkgrel=1
+pkgrel=2
pkgdesc="A free Open Source test tool / traffic generator for the SIP protocol."
arch=('i686' 'x86_64')
url="http://sipp.sourceforge.net/"
@@ -14,8 +14,10 @@ sha256sums=('56421ba7b43b67e9b04e21894b726502a82a6149fc86ba06df33dfc7252a1891')
build() {
cd "${srcdir}/${pkgname}-${pkgver}"
- ./configure --with-pcap --with-sctp --with-openssl
- make
+ sed -i 's/SSL_library_init/SSL_CTX_new/' configure.ac
+ sed -i 's/CRYPTO_num_locks/CRYPTO_free/' configure.ac
+ sed -i 's/TLSv1_method/TLS_method/' src/socket.cpp
+ ./build.sh --with-pcap --with-sctp --with-openssl
}
package() {