Skip to content

Commit

Permalink
Autoconf setup rewritten
Browse files Browse the repository at this point in the history
  • Loading branch information
wllm-rbnt committed Aug 27, 2020
1 parent 7491b98 commit 0a840ae
Show file tree
Hide file tree
Showing 30 changed files with 103 additions and 10,844 deletions.
1 change: 1 addition & 0 deletions AUTHORS
1 change: 1 addition & 0 deletions COPYING
27 changes: 27 additions & 0 deletions Makefile.am
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
bin_PROGRAMS = ssldump
ssldump_SOURCES = \
base/pcap-snoop.c\
base/network.c\
base/proto_mod.c\
base/common.c\
ssl/ssl_analyze.c\
null/null_analyze.c\
common/lib/r_errors.c\
base/tcppack.c\
base/tcpconn.c\
ssl/ssldecode.c\
ssl/sslprint.c\
ssl/ssl.enums.c\
ssl/sslxprint.c\
ssl/ciphersuites.c

ssldump_CPPFLAGS = \
-I$(top_srcdir)\
-I$(top_srcdir)/common/include\
-I$(top_srcdir)/null\
-I$(top_srcdir)/ssl\
-I$(top_srcdir)/base\
-D_BSD_SOURCE=1\
-D_DEFAULT_SOURCE=1\
-DLINUX

127 changes: 0 additions & 127 deletions Makefile.in

This file was deleted.

1 change: 1 addition & 0 deletions NEWS
7 changes: 7 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,13 @@ Additional back-end code available is in the [crl-monitor ](https://github.com/a

- Current version of ssldump is v1.1 (released: 2019-12-28) - [ChangeLog](https://raw.githubusercontent.com/adulau/ssldump/master/ChangeLog)

# Build instructions

./autogen.sh
./configure --prefix=/usr/local
make
make install

## Contributing

The contributing policy is simple. If you have a patch to propose, make a pull-request
Expand Down
5 changes: 5 additions & 0 deletions autogen.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
#!/bin/sh

autoreconf -v -i


File renamed without changes.
4 changes: 4 additions & 0 deletions base/network.h
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,10 @@
#ifndef _network_h
#define _network_h

#ifdef HAVE_CONFIG_H
#include <config.h>
#endif

#include <stdlib.h>
#include <string.h>

Expand Down
4 changes: 2 additions & 2 deletions base/pcap-snoop.c
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ static int pcap_if_type=DLT_NULL;
int err_exit PROTO_LIST((char *str,int num));
int usage PROTO_LIST((void));
int print_version PROTO_LIST((void));
RETSIGTYPE sig_handler PROTO_LIST((void));
void sig_handler PROTO_LIST((void));
void pcap_cb PROTO_LIST((u_char *ptr,struct pcap_pkthdr *hdr,u_char *data));
int main PROTO_LIST((int argc,char **argv));

Expand Down Expand Up @@ -124,7 +124,7 @@ int print_version()
exit(0);
}

RETSIGTYPE sig_handler()
void sig_handler()
{
fflush(stdout);
exit(0);
Expand Down
Loading

0 comments on commit 0a840ae

Please sign in to comment.