diff options
author | Kris Kennaway <kris@FreeBSD.org> | 2003-06-15 06:16:31 +0000 |
---|---|---|
committer | Kris Kennaway <kris@FreeBSD.org> | 2003-06-15 06:16:31 +0000 |
commit | 77e16c6f7647adab057634b43d0803c3bde6ad41 (patch) | |
tree | b1eb350c490b743e6e82755bba84f94f6a854f64 /security/nbaudit | |
parent | b0106e2794594166376e90852fd4921ddd03a442 (diff) | |
download | ports-77e16c6f7647adab057634b43d0803c3bde6ad41.tar.gz ports-77e16c6f7647adab057634b43d0803c3bde6ad41.zip |
Notes
Diffstat (limited to 'security/nbaudit')
-rw-r--r-- | security/nbaudit/Makefile | 1 | ||||
-rw-r--r-- | security/nbaudit/files/patch-includes.h | 28 | ||||
-rw-r--r-- | security/nbaudit/files/patch-nat.c | 11 | ||||
-rw-r--r-- | security/nbaudit/files/patch-smb.h | 11 |
4 files changed, 51 insertions, 0 deletions
diff --git a/security/nbaudit/Makefile b/security/nbaudit/Makefile index 7b09d95e5bfd..e3f9ad312327 100644 --- a/security/nbaudit/Makefile +++ b/security/nbaudit/Makefile @@ -8,6 +8,7 @@ PORTNAME= nbaudit PORTVERSION= 1.0 +PORTREVISION= 1 CATEGORIES= security MASTER_SITES= ftp://ftp.auscert.org.au/pub/coast/mirrors/ftp.secnet.com/tools/nat10/ \ ${MASTER_SITE_PACKETSTORM} diff --git a/security/nbaudit/files/patch-includes.h b/security/nbaudit/files/patch-includes.h new file mode 100644 index 000000000000..5fd3874b4e48 --- /dev/null +++ b/security/nbaudit/files/patch-includes.h @@ -0,0 +1,28 @@ +diff -ru ../../work/nat10/includes.h ./includes.h +--- includes.h.orig Sun Feb 16 19:18:04 1997 ++++ includes.h Sat Jun 14 23:10:49 2003 +@@ -466,13 +466,15 @@ + + + #ifdef FreeBSD +-#include <strings.h> ++#include <string.h> + #include <netinet/tcp.h> + #include <netinet/in_systm.h> + #include <netinet/ip.h> ++#include <dirent.h> + #define SIGNAL_CAST (void (*)()) +-#define USE_DIRECT + #define REPLACE_INNETGR ++#define HAVE_MEMMOVE ++#define HAVE_BZERO + #endif + + +@@ -1121,3 +1123,6 @@ + #endif + + #endif ++ ++char * Get_Hostbyaddr (struct in_addr ip); ++struct ipstr *parse_ip(char *); diff --git a/security/nbaudit/files/patch-nat.c b/security/nbaudit/files/patch-nat.c new file mode 100644 index 000000000000..49004103d8cd --- /dev/null +++ b/security/nbaudit/files/patch-nat.c @@ -0,0 +1,11 @@ +diff -ru ../../work/nat10/nat.c ./nat.c +--- nat.c.orig Sun Feb 16 19:18:04 1997 ++++ nat.c Sat Jun 14 23:10:07 2003 +@@ -13,6 +13,7 @@ + #include <varargs.h> + #endif + #include "parse_ip.h" ++#include "includes.h" + + extern char *optarg; + extern int optind; diff --git a/security/nbaudit/files/patch-smb.h b/security/nbaudit/files/patch-smb.h new file mode 100644 index 000000000000..c375b709d8e2 --- /dev/null +++ b/security/nbaudit/files/patch-smb.h @@ -0,0 +1,11 @@ +diff -ru ../../work/nat10/smb.h ./smb.h +--- smb.h.orig Sun Feb 16 19:18:04 1997 ++++ smb.h Sat Jun 14 23:02:35 2003 +@@ -733,7 +733,6 @@ + int get_share_mode_byname(int cnum,char *fname,int *pid); + int get_share_mode_by_fnum(int cnum,int fnum,int *pid); + BOOL check_file_sharing(int cnum,char *fname); +-char *StrCpy(char *dest,char *src); + int unix_error_packet(char *inbuf,char *outbuf,int def_class,uint32 def_code,int line); + time_t make_unix_date2(void *date_ptr); + int cached_error_packet(char *inbuf,char *outbuf,int fnum,int line); |