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
|
{
"name": "Ssldump",
"description": "SSLv3/TLS network protocol analyzer",
"url": "https://downloads.sourceforge.net/project/ssldump/ssldump/0.9b3/ssldump-0.9b3.tar.gz",
"mirror": null,
"homepage": "https://ssldump.sourceforge.io/",
"depends": [
{
"depend": "openssl",
"build-depend": false
}
],
"resource": [],
"conflicts": [],
"patches": [
{
"url": null,
"data": [
"--- a/base/pcap-snoop.c\t2010-03-18 22:59:13.000000000 -0700\n",
"+++ b/base/pcap-snoop.c\t2010-03-18 22:59:30.000000000 -0700\n",
"@@ -46,10 +46,9 @@\n",
"\n",
" static char *RCSSTRING=\"$Id: pcap-snoop.c,v 1.14 2002/09/09 21:02:58 ekr Exp $\";\n",
"\n",
"-\n",
"+#include <net/bpf.h>\n",
" #include <pcap.h>\n",
" #include <unistd.h>\n",
"-#include <net/bpf.h>\n",
" #ifndef _WIN32\n",
" #include <sys/param.h>\n",
" #endif\n",
"--- a/base/pcap-snoop.c\t2012-04-06 10:35:06.000000000 -0700\n",
"+++ b/base/pcap-snoop.c\t2012-04-06 10:45:31.000000000 -0700\n",
"@@ -286,7 +286,7 @@\n",
" err_exit(\"Aborting\",-1);\n",
" }\n",
" }\n",
"- if(!(p=pcap_open_live(interface_name,5000,!no_promiscuous,1000,errbuf))){\n",
"+ if(!(p=pcap_open_live(interface_name,18432,!no_promiscuous,1000,errbuf))){\n",
" \tfprintf(stderr,\"PCAP: %s\\n\",errbuf);\n",
" \terr_exit(\"Aborting\",-1);\n",
" }\n"
]
}
],
"install": [
"ENV[\"LIBS\"] = \"-lssl -lcrypto\"",
"inreplace \"configure\", \"if test -f $dir/libpcap.a; then\",",
"\"if test -f $dir/libpcap.dylib; then\"",
"system \"./configure\", \"--disable-debug\",",
"\"--disable-dependency-tracking\",",
"\"--prefix=#{prefix}\",",
"\"--mandir=#{man}\",",
"\"osx\"",
"system \"make\"",
"system \"make\", \"install\", \"-B\""
],
"version": "0.9",
"file": "ssldump.rb"
}
|