[arch-commits] Commit in pound/trunk (PKGBUILD)

Jan de Groot jgc at archlinux.org
Wed Mar 22 09:18:46 UTC 2017


    Date: Wednesday, March 22, 2017 @ 09:18:45
  Author: jgc
Revision: 218366

upgpkg: pound 2.7-3

Build with OpenSSL 1.0

Modified:
  pound/trunk/PKGBUILD

----------+
 PKGBUILD |   11 +++++++++--
 1 file changed, 9 insertions(+), 2 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2017-03-22 09:17:39 UTC (rev 218365)
+++ PKGBUILD	2017-03-22 09:18:45 UTC (rev 218366)
@@ -5,12 +5,12 @@
 
 pkgname=pound
 pkgver=2.7
-pkgrel=2
+pkgrel=3
 pkgdesc="A reverse proxy, load balancer, and SSL wrapper"
 arch=('i686' 'x86_64')
 url="http://www.apsis.ch/pound/index_html"
 license=('GPL')
-depends=('pcre' 'openssl')
+depends=('pcre' 'openssl-1.0')
 backup=(etc/pound/pound.cfg)
 source=(http://www.apsis.ch/pound/Pound-$pkgver.tgz
 	pound.runit
@@ -21,8 +21,15 @@
          'c0d0726a96dfda0e83843362e401b3dc'
          '8937808acd22c6391ebe4340af8df854')
 
+prepare() {
+  cd "$srcdir"/Pound-$pkgver
+  sed -i -e 's/openssl/openssl-1.0/' Makefile.in
+}
+
 build() {
   cd "$srcdir"/Pound-$pkgver
+  CPPFLAGS+=" -I/usr/include/openssl-1.0" \
+  LDFLAGS+=" -L/usr/lib/openssl-1.0" \
   ./configure --prefix=/usr --sysconfdir=/etc/pound --sbindir=/usr/bin
   make
 }



More information about the arch-commits mailing list