blob: 0e4c3a3b2b46d82e9e550853037673fd86571511 (
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
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
|
# Contributor: Jakub Jirutka <jakub@jirutka.cz>
# Maintainer:
pkgname="ssldump"
pkgver="0.9b3"
pkgrel=0
pkgdesc="An SSLv3/TLS network protocol analyzer"
url="http://ssldump.sourceforge.net/"
arch="all"
license="BSD-4-Clause"
makedepends="autoconf libpcap-dev openssl-dev"
subpackages="$pkgname-doc"
source="https://downloads.sourceforge.net/ssldump/ssldump-$pkgver.tar.gz"
# Patches from Fedora
source="$source
0010-openssl.patch
0020-libpcap.patch
0030-aes.patch
0040-cvs-20060619.patch
0050-table-stops.patch
0060-link_layer.patch
0070-pcap-vlan.patch
0080-tlsv12.patch
0090-ssl-enums.patch
0100-ciphersuites.patch
"
builddir="$srcdir/ssldump-$pkgver"
options="!check" # no tests provided
prepare() {
update_config_guess
update_config_sub
default_prepare
# Rebuilding of configure file is needed for 0020-libpcap.patch
autoconf --force
}
build() {
./configure \
--build=$CBUILD \
--host=$CHOST \
--prefix=/usr \
--sysconfdir=/etc \
--mandir=/usr/share/man \
--localstatedir=/var
make
}
package() {
make install BINDIR="$pkgdir/usr/sbin" MANDIR="$pkgdir/usr/share/man"
install -D -m 644 COPYRIGHT "$pkgdir"/usr/share/licenses/COPYRIGHT
chmod 644 "$pkgdir"/usr/share/man/man1/*.1*
}
sha512sums="ea81558a243950ab43354c9f33c0a4feae0ae859bc2bd6e6b58838a01f4a1e7a6447f2a9ab1fa40bbe8dbd6c3630c489c17fc9c066cacfddfb64269b0cd5090a ssldump-0.9b3.tar.gz
3d06916b841612d158a5f7c87e7c68a9046ce5842ac11610ec6bf3c83619feecdd66293c66037f2e271496c8439896a4531c0de8ed866a898e310a1fd1de5aca 0010-openssl.patch
12fff42b22baadfde4a0faf12c2336d47811cd36873034cfd81b269f0578c2be4226657b6da6dc5ebcf7b11070f48d357ba1580b47d62619fce3980ea2629bae 0020-libpcap.patch
17a2f401b3ebb171628745041609f96ce82d1b4993d053443a3315b562ea2f8112184dbec0373ae11888c8f0d3c8a7728f3a6ca0a3de5375efd44aabe599ad02 0030-aes.patch
4b9bfa0d10efa322f634c1326b210a7220c23c12c2cb2de9e00383f0d83fa558f578a16d428f035d179f3f692510756fd382efad69c877b9fe2bfacb4c7406e3 0040-cvs-20060619.patch
3bfff13a5d4fdd0684512692309a2ff70eb63d472c4982e7e191073091a419b289b70fbf9604a794dd9b30cf60601b5b7403e2f9decb109f752471114388a4dd 0050-table-stops.patch
912f47fbd686d4f4d68015e57dc92eba284e12dc146184f8cc4165e8e9a795f530d1e572dfb1a2292a3dee0c8f84f29f400375ab99e9215fec921d0464ef8e2d 0060-link_layer.patch
94592125add14409be20981516a8f81765b61fb932dc6004bee7d91e0828b40117ce1f378c4ae7e65725bd645ff827648cf652a7ce8090e49afac0ef5284901e 0070-pcap-vlan.patch
7e68d8ca844348b2440b795372f40af614f99e6e14baa7552de1f8eb1fa72d38771be1b904ee13f1141cf14cb8968f9fcd192c2a2b63885152225090ef20e3e6 0080-tlsv12.patch
8e4e0e19a4ea45e8f98f8e918ddf0cde8a5d0a5fa89558bcfcbb14153e0babee7ff9edaebd6653a5fd6fb95624f47d62b85f2115d7bc25f4f4b6e35844e0f4a3 0090-ssl-enums.patch
86c9ccd83fce92ff72eadd6e9a8e6a2442437e6778d735fae58ca359f390812d1102044058701189608251006de07478024dd389fe7bd9d3834e33039eaf2277 0100-ciphersuites.patch"
|