summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatthew McGinn2018-06-20 18:52:40 -0400
committerMatthew McGinn2018-06-20 18:52:40 -0400
commitd850031d95a480bccec1eeef6c05b62ac38f26d5 (patch)
treed22fd444167d1adea799ad494135851f8b8cd310
parentcad04757db3c4b30721eeb330ba486a9aee6f5c8 (diff)
downloadaur-d850031d95a480bccec1eeef6c05b62ac38f26d5.tar.gz
patching around curl libraries
-rw-r--r--.SRCINFO10
-rw-r--r--PKGBUILD10
-rw-r--r--curl.patch4
3 files changed, 17 insertions, 7 deletions
diff --git a/.SRCINFO b/.SRCINFO
index a95df8086e8c..66640e4d9ef0 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,8 +1,8 @@
# Generated by mksrcinfo v8
-# Sun Feb 11 17:06:26 UTC 2018
+# Wed Jun 20 22:52:29 UTC 2018
pkgbase = proxysql
pkgdesc = High-performance MySQL proxy with a GPL license
- pkgver = 1.4.6
+ pkgver = 1.4.9
pkgrel = 1
url = http://proxysql.com
arch = x86_64
@@ -18,8 +18,10 @@ pkgbase = proxysql
makedepends = patch
depends = openssl
provides = proxysql
- source = https://github.com/sysown/proxysql/archive/v1.4.6.tar.gz
- sha256sums = b9fa3c9c20174ca3ad575946acabf7432e787a1fe21272a134a1870d39a301fc
+ source = https://github.com/sysown/proxysql/archive/v1.4.9.tar.gz
+ source = curl.patch
+ sha256sums = 28ee75735716ab2e882b377466f37f5836ce108cfcfe4cf36f31574f81cce401
+ sha256sums = d058af6ab4ae9edbd2d646cacdfdacb1ab77462f21ed70f54b78d9c275d7225a
pkgname = proxysql
diff --git a/PKGBUILD b/PKGBUILD
index 94198c5ccadc..54f32d8b5721 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,6 +1,6 @@
# Maintainer: Matthew McGinn <mamcgi@gmail.com>
pkgname=proxysql
-pkgver=1.4.6
+pkgver=1.4.9
pkgrel=1
pkgdesc="High-performance MySQL proxy with a GPL license"
arch=('x86_64' 'amd64')
@@ -9,11 +9,15 @@ license=('GPL')
makedepends=('cmake' 'automake' 'bzip2' 'make' 'gcc' 'git' 'openssl' 'patch')
depends=('openssl')
provides=('proxysql')
-source=("https://github.com/sysown/${pkgname}/archive/v${pkgver}.tar.gz")
-sha256sums=('b9fa3c9c20174ca3ad575946acabf7432e787a1fe21272a134a1870d39a301fc')
+source=("https://github.com/sysown/${pkgname}/archive/v${pkgver}.tar.gz"
+ "curl.patch")
+sha256sums=('28ee75735716ab2e882b377466f37f5836ce108cfcfe4cf36f31574f81cce401'
+ 'd058af6ab4ae9edbd2d646cacdfdacb1ab77462f21ed70f54b78d9c275d7225a')
build() {
cd "${pkgname}-${pkgver}"
+ patch -p1 "./deps/Makefile" < "${srcdir}/curl.patch"
+ make cleanall
make
}
diff --git a/curl.patch b/curl.patch
new file mode 100644
index 000000000000..5f2d1e0e5ed8
--- /dev/null
+++ b/curl.patch
@@ -0,0 +1,4 @@
+23c23
+< cd curl/curl && ./configure --disable-debug --disable-ftp --disable-ldap --disable-ldaps --disable-rtsp --disable-proxy --disable-dict --disable-telnet --disable-tftp --disable-pop3 --disable-imap --disable-smb --disable-smtp --disable-gopher --disable-manual --disable-ipv6 --disable-sspi --disable-crypto-auth --disable-ntlm-wb --disable-tls-srp --without-nghttp2 --without-libidn2 --without-libssh2 --without-brotli && CC=${CC} CXX=${CXX} ${MAKE}
+---
+> cd curl/curl && ./configure --disable-debug --disable-ftp --disable-ldap --disable-ldaps --disable-rtsp --disable-proxy --disable-dict --disable-telnet --disable-tftp --disable-pop3 --disable-imap --disable-smb --disable-smtp --disable-gopher --disable-manual --disable-ipv6 --disable-sspi --disable-crypto-auth --disable-ntlm-wb --disable-tls-srp --without-nghttp2 --without-libidn2 --without-libssh2 --without-brotli --without-libpsl --without-rtmp && CC=${CC} CXX=${CXX} ${MAKE}