add ssldump patches from sourceforge tracker, unbreaking runtime
drop USE_GROFF, regen plist+distinfo while there
This commit is contained in:
parent
51494f770d
commit
7f642e1af6
@ -1,11 +1,10 @@
|
||||
# $OpenBSD: Makefile,v 1.14 2013/03/11 11:35:57 espie Exp $
|
||||
# $OpenBSD: Makefile,v 1.15 2013/04/25 15:21:40 sthen Exp $
|
||||
|
||||
COMMENT= SSLv3/TLS network protocol analyzer
|
||||
|
||||
VERSION= 0.9b3
|
||||
DISTNAME= ssldump-${VERSION}
|
||||
REVISION= 0
|
||||
CATEGORIES= net
|
||||
DISTNAME= ssldump-0.9b3
|
||||
REVISION= 1
|
||||
CATEGORIES= net
|
||||
|
||||
HOMEPAGE= http://www.rtfm.com/ssldump/
|
||||
|
||||
@ -13,12 +12,11 @@ MAINTAINER= Jakob Schlyter <jakob@openbsd.org>
|
||||
|
||||
PERMIT_PACKAGE_CDROM= Yes
|
||||
|
||||
WANTLIB= c crypto m pcap ssl
|
||||
WANTLIB= c crypto m pcap ssl
|
||||
|
||||
MASTER_SITES= http://www.rtfm.com/ssldump/
|
||||
|
||||
USE_GMAKE= Yes
|
||||
USE_GROFF = Yes
|
||||
CONFIGURE_STYLE= gnu dest
|
||||
CONFIGURE_ARGS+= --with-openssl-inc=/usr/include \
|
||||
--with-openssl-lib=/usr/lib
|
||||
|
@ -1,5 +1,2 @@
|
||||
MD5 (ssldump-0.9b3.tar.gz) = rIwo/odQjWv7BjROxJax3Q==
|
||||
RMD160 (ssldump-0.9b3.tar.gz) = lBz48u+EWexPnOZXcuE0UF1GVm8=
|
||||
SHA1 (ssldump-0.9b3.tar.gz) = pjOpqBGhOOrF7UQNWDRztkQTXvU=
|
||||
SHA256 (ssldump-0.9b3.tar.gz) = ZCLBZxjSfCcLvPzBJyxPm9PAeZw1Hx1t1U/cFir9qx4=
|
||||
SIZE (ssldump-0.9b3.tar.gz) = 137435
|
||||
|
17
net/ssldump/patches/patch-base_pcap-snoop_c
Normal file
17
net/ssldump/patches/patch-base_pcap-snoop_c
Normal file
@ -0,0 +1,17 @@
|
||||
$OpenBSD: patch-base_pcap-snoop_c,v 1.1 2013/04/25 15:21:40 sthen Exp $
|
||||
|
||||
http://sourceforge.net/p/ssldump/patches/1/
|
||||
|
||||
Fixes "ERROR: Couldn't create network handler"
|
||||
|
||||
--- base/pcap-snoop.c.orig Thu Apr 25 16:13:14 2013
|
||||
+++ base/pcap-snoop.c Thu Apr 25 16:13:33 2013
|
||||
@@ -204,6 +204,8 @@ int main(argc,argv)
|
||||
|
||||
char errbuf[PCAP_ERRBUF_SIZE];
|
||||
|
||||
+ SSL_library_init();
|
||||
+
|
||||
signal(SIGINT,sig_handler);
|
||||
|
||||
while((c=getopt(argc,argv,"vr:f:S:Ttai:k:p:nsAxXhHVNdqem:P"))!=EOF){
|
20
net/ssldump/patches/patch-ssl_sslprint_c
Normal file
20
net/ssldump/patches/patch-ssl_sslprint_c
Normal file
@ -0,0 +1,20 @@
|
||||
$OpenBSD: patch-ssl_sslprint_c,v 1.1 2013/04/25 15:21:40 sthen Exp $
|
||||
|
||||
http://sourceforge.net/p/ssldump/patches/7/
|
||||
|
||||
ssldump segfaults while parsing a certificate with unknown type.
|
||||
This is because the loop in ssl_print_enum (ssl/sslprint.c) checks
|
||||
against the wrong terminating value for client_certificate_type_decoder
|
||||
(ssl/ssl.enums.c).
|
||||
|
||||
--- ssl/sslprint.c.orig Thu Apr 25 16:09:58 2013
|
||||
+++ ssl/sslprint.c Thu Apr 25 16:10:07 2013
|
||||
@@ -406,7 +406,7 @@ int ssl_print_enum(ssl,name,dtable,value)
|
||||
if(name) explain(ssl,"%s ",name);
|
||||
INDENT;
|
||||
|
||||
- while(dtable && dtable->type!=-1){
|
||||
+ while(dtable && dtable->type!=0){
|
||||
if(dtable->type == value){
|
||||
INDENT_INCR;
|
||||
explain(ssl,"%s",dtable->name);
|
@ -1,3 +1,3 @@
|
||||
@comment $OpenBSD: PLIST,v 1.3 2004/09/15 18:17:46 espie Exp $
|
||||
@comment $OpenBSD: PLIST,v 1.4 2013/04/25 15:21:40 sthen Exp $
|
||||
@man man/man1/ssldump.1
|
||||
sbin/ssldump
|
||||
@bin sbin/ssldump
|
||||
|
Loading…
x
Reference in New Issue
Block a user