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

Jan de Groot jgc at archlinux.org
Tue Mar 21 23:01:09 UTC 2017


    Date: Tuesday, March 21, 2017 @ 23:01:09
  Author: jgc
Revision: 218233

upgpkg: sslscan 1.10.2-4

Build with OpenSSL 1.0

Modified:
  sslscan/trunk/PKGBUILD

----------+
 PKGBUILD |    7 ++++---
 1 file changed, 4 insertions(+), 3 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2017-03-21 21:58:13 UTC (rev 218232)
+++ PKGBUILD	2017-03-21 23:01:09 UTC (rev 218233)
@@ -3,12 +3,12 @@
 
 pkgname=sslscan
 pkgver=1.10.2
-pkgrel=3
+pkgrel=4
 pkgdesc="A fast tools to scan SSL services, such as HTTPS to determine the ciphers that are supported"
 url="https://github.com/DinoTools/sslscan/"
 arch=('i686' 'x86_64')
 license=('GPL3')
-depends=('openssl')
+depends=('openssl-1.0')
 source=(${pkgname}-${pkgver}.tar.gz::https://github.com/DinoTools/${pkgname}/archive/${pkgver}.tar.gz
         add-checks-for-ssl3.patch)
 sha512sums=('b7bf9a12c0469893bf1ada53f42cf0a7c286d6bcb5db260ea0ecd6c332ccb8ec6caafa07cd78d15582af5d154b6f4c84cee55ba2fe5a286cb9bd3f9c83e60c34'
@@ -17,11 +17,12 @@
 prepare() {
   cd ${pkgname}-${pkgver}
   patch -Np1 -i ../add-checks-for-ssl3.patch
+  sed -e 's/CFLAGS ?=/CFLAGS +=/' -e 's/LDFLAGS ?=/LDFLAGS +=/' -i Makefile
 }
 
 build() {
   cd ${pkgname}-${pkgver}
-  LDFLAGS="${LDFLAGS} -lssl -lcrypto" make
+  make OPENSSL_INCLUDE=/usr/include/openssl-1.0 OPENSSL_LIB=/usr/lib/openssl-1.0
 }
 
 package() {



More information about the arch-commits mailing list