diff options
author | Brian Somers <brian@FreeBSD.org> | 2000-11-21 22:11:43 +0000 |
---|---|---|
committer | Brian Somers <brian@FreeBSD.org> | 2000-11-21 22:11:43 +0000 |
commit | 6cab6773abfc2e48764575bd595b94fbe218c1a4 (patch) | |
tree | 2232d708e615a2809d0f4bb51bc63e7de8a143b3 /net/arpwatch-devel/files | |
parent | a4f636be2c02b5ecd9399859f74d61410320ea5b (diff) |
Upgrade to 2.1a10
Notes
Notes:
svn path=/head/; revision=35321
Diffstat (limited to 'net/arpwatch-devel/files')
-rw-r--r-- | net/arpwatch-devel/files/patch-aa | 11 | ||||
-rw-r--r-- | net/arpwatch-devel/files/patch-ad | 29 | ||||
-rw-r--r-- | net/arpwatch-devel/files/patch-ae | 9 |
3 files changed, 0 insertions, 49 deletions
diff --git a/net/arpwatch-devel/files/patch-aa b/net/arpwatch-devel/files/patch-aa deleted file mode 100644 index c3d51dd3fa46..000000000000 --- a/net/arpwatch-devel/files/patch-aa +++ /dev/null @@ -1,11 +0,0 @@ ---- arp2ethers.orig Tue Mar 29 11:44:52 1994 -+++ arp2ethers Fri Aug 21 10:56:26 1998 -@@ -14,7 +14,7 @@ - # - - sort +2rn arp.dat | \ -- awk -e 'NF == 4 { print }' | \ -+ awk 'NF == 4 { print }' | \ - awk -f p.awk | \ - egrep -v '\.[0-9][0-9]*$' | \ - sed -e 's/ .* / /' | \ diff --git a/net/arpwatch-devel/files/patch-ad b/net/arpwatch-devel/files/patch-ad deleted file mode 100644 index 02096d9d63bf..000000000000 --- a/net/arpwatch-devel/files/patch-ad +++ /dev/null @@ -1,29 +0,0 @@ ---- report.c.orig Fri Jun 9 09:54:48 2000 -+++ report.c Fri Jun 9 10:05:58 2000 -@@ -249,6 +249,9 @@ - char *unknown = "<unknown>"; - char buf[132]; - static int init = 0; -+#ifdef HAVE_MKSTEMP -+ int fd; -+#endif - - /* No report until we're initialized */ - if (initializing) -@@ -286,8 +289,16 @@ - /* Child */ - closelog(); - (void)strcpy(tempfile, "/tmp/arpwatch.XXXXXX"); -+#ifndef HAVE_MKSTEMP - (void)mktemp(tempfile); - if ((f = fopen(tempfile, "w+")) == NULL) { -+#else -+ if ((fd = mkstemp(tempfile)) == -1) { -+ syslog(LOG_ERR, "child mkstemp(%s): %m", tempfile); -+ exit(1); -+ } -+ if ((f = fdopen(fd, "w+")) == NULL) { -+#endif /* HAVE_MKSTEMP */ - syslog(LOG_ERR, "child open(%s): %m", tempfile); - exit(1); - } diff --git a/net/arpwatch-devel/files/patch-ae b/net/arpwatch-devel/files/patch-ae index c02ef28aded2..3fe876affcc2 100644 --- a/net/arpwatch-devel/files/patch-ae +++ b/net/arpwatch-devel/files/patch-ae @@ -9,15 +9,6 @@ V_INCLS="" if test "${srcdir}" != "." ; then V_INCLS="-I\$\(srcdir\)" -@@ -1207,7 +1207,7 @@ - fi - - --for ac_func in dn_skipname -+for ac_func in dn_skipname mkstemp - do - echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 - echo "configure:1214: checking for $ac_func" >&5 @@ -2599,7 +2599,7 @@ fi V_CCOPT="$V_CCOPT -Wall" |