summaryrefslogtreecommitdiffstats
path: root/testing/sslscan/APKBUILD
blob: 6ef0278232926ca4d3156dd6450330864efe7fa8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
# Contributor: Fabian Affolter <fabian@affolter-engineering.ch>
# Maintainer: Fabian Affolter <fabian@affolter-engineering.ch>
pkgname=sslscan
pkgver=1.8.2
pkgrel=1
pkgdesc="Security assessment tool for SSL"
url="http://sourceforge.net/projects/sslscan/"
arch="all"
license="GPL3+"
depends=""
depends_dev=""
makedepends="openssl-dev"
install=""
subpackages="$pkgname-doc"
source="http://downloads.sourceforge.net/$pkgname/$pkgname-$pkgver.tgz
        sslscan-makefile.patch"

_builddir="$srcdir"/$pkgname-$pkgver
prepare() {
	local i
	cd "$_builddir"
	for i in $source; do
		case $i in
		*.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;;
		esac
	done
}

build() {
	cd "$_builddir"
	make || return 1
}

package() {
	cd "$_builddir"
	make DESTDIR="$pkgdir" install || return 1
	rm -f "$pkgdir"/usr/lib/*.la
}

md5sums="1a890d031996ab252efb535511bd58db  sslscan-1.8.2.tgz
1aaacf4df3a6208a9aadafa1938c7126  sslscan-makefile.patch"
sha256sums="3b728804456042d96d5c8ccd42326f8e5719d091986793bb7b852a36b50d2b3e  sslscan-1.8.2.tgz
01ae42e355da1837ebc393a44a2a2443e5fbde1d52f47acab77e5e4005e2c445  sslscan-makefile.patch"
sha512sums="89dfa5426cf9c5631fcf379931eabf020d4b084feb88bbd61e81a4b927ad19275b8613adb06a39eb4d9ce2992f4460383935f5903cfa8f0f1a2e72f8a86ec8a3  sslscan-1.8.2.tgz
6050e5216dd75593c9315d47ad690fbcc4ca58f7e529e7a69730aa8e9bdb98e855a0d0cfa76561aba4980cc3dcc92658466a1d9d0b3521bc99c2eab17301ad30  sslscan-makefile.patch"