Commit 60b15b48 authored by omni's avatar omni Committed by Milan P. Stanić
Browse files

testing/sslscan: upgrade to 2.0.9

parent 17105464
# Contributor:
# Maintainer:
pkgname=sslscan
pkgver=1.11.13
_openssl_commit="c9ba19c8b7fd131137373dbd1fccd6a8bb0628be"
pkgver=2.0.9
pkgrel=0
pkgdesc="Fast SSL configuration scanner"
pkgdesc="fast SSL/TLS configuration scanner"
url="https://github.com/rbsec/sslscan"
# build fails on x86: ERROR: sslscan*: Found textrels
# build fails on armv7: undefined symbol ENGINE_load_gost
arch="all !x86 !mips !mips64 !armv7"
arch="all"
license="GPL-3.0-or-later OpenSSL"
makedepends="zlib-dev perl"
makedepends="zlib-dev openssl-dev perl"
subpackages="$pkgname-doc"
source="$pkgname-$pkgver.tar.gz::https://github.com/rbsec/sslscan/archive/$pkgver-rbsec.tar.gz
sslscan-openssl-$_openssl_commit.tar.gz::https://github.com/PeterMosmans/openssl/archive/$_openssl_commit.tar.gz"
source="$pkgname-$pkgver.tar.gz::https://github.com/rbsec/sslscan/archive/refs/tags/$pkgver.tar.gz"
options="!check" # No test suite
builddir="$srcdir/sslscan-$pkgver-rbsec"
build() {
ln -s "../openssl-$_openssl_commit" openssl
touch .openssl_is_fresh
sed -i -e '/openssl\/.git/,/fi/d' -e '/openssl test/d' Makefile
# Don't attempt to use strnstr
CFLAGS="$CFLAGS -D__USE_GNU"
# To compile against the openssl lib with insecure protocols enabled
make static
make
}
package() {
......@@ -35,5 +21,4 @@ package() {
}
sha512sums="51477e5b29a2fc87e2d6c8d76430eeb2a6feb388d47392938b9e2c572acc5926534a19dc249080a066256a1a6cbfe08b162e9f3839386c86116352e5eb57c544 sslscan-1.11.13.tar.gz
9bfdac0b6dcbb9e932ef41db9753f7298cf38ddc18731386968289114fd5ed10d81e95523d557b42b431377638d2f62fb710189e7d944ba89979fe5e3437fd3f sslscan-openssl-c9ba19c8b7fd131137373dbd1fccd6a8bb0628be.tar.gz"
sha512sums="968b55ec34320784983cfddc796fb798871534c5561661b1691dc3516537763fdb0541c2f89fae1ef1dd586b213d743f01e1b040907434191713af981a2fc495 sslscan-2.0.9.tar.gz"
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment