summaryrefslogtreecommitdiff
path: root/security/chkrootkit/patches
diff options
context:
space:
mode:
Diffstat (limited to 'security/chkrootkit/patches')
-rw-r--r--security/chkrootkit/patches/patch-aa10
-rw-r--r--security/chkrootkit/patches/patch-ab12
-rw-r--r--security/chkrootkit/patches/patch-ac6
3 files changed, 17 insertions, 11 deletions
diff --git a/security/chkrootkit/patches/patch-aa b/security/chkrootkit/patches/patch-aa
index a97a7482bdc..b76bc1e0bbe 100644
--- a/security/chkrootkit/patches/patch-aa
+++ b/security/chkrootkit/patches/patch-aa
@@ -1,15 +1,15 @@
-$NetBSD: patch-aa,v 1.3 2013/06/16 10:11:58 shattered Exp $
+$NetBSD: patch-aa,v 1.4 2014/12/08 14:04:57 mef Exp $
---- Makefile.orig 2007-12-24 12:18:02.000000000 +0000
-+++ Makefile
+--- Makefile.orig 2014-05-06 18:56:43.000000000 +0900
++++ Makefile 2014-12-08 22:30:07.000000000 +0900
@@ -3,9 +3,9 @@
# (C) 1997-2007 Nelson Murilo, Pangeia Informatica, AMS Foundation and others.
#
--CC = gcc
+-CC = cc
-CFLAGS = -DHAVE_LASTLOG_H
-STATIC = -static
-+#CC = gcc
++#CC = cc
+#CFLAGS = -DHAVE_LASTLOG_H
+#STATIC = -static
diff --git a/security/chkrootkit/patches/patch-ab b/security/chkrootkit/patches/patch-ab
index 78a88a8a864..e0c7e0b8354 100644
--- a/security/chkrootkit/patches/patch-ab
+++ b/security/chkrootkit/patches/patch-ab
@@ -1,8 +1,10 @@
-$NetBSD: patch-ab,v 1.1 2004/05/26 15:04:32 wiz Exp $
+$NetBSD: patch-ab,v 1.2 2014/12/08 14:04:57 mef Exp $
---- chklastlog.c.orig 2003-12-26 19:30:12.000000000 +0100
-+++ chklastlog.c
-@@ -57,6 +57,10 @@
+Add NetBSD Path
+
+--- chklastlog.c.orig 2014-05-06 19:12:14.000000000 +0900
++++ chklastlog.c 2014-12-08 22:32:03.000000000 +0900
+@@ -59,6 +59,10 @@
#define WTMP_FILENAME "/var/log/wtmp"
#define LASTLOG_FILENAME "/var/log/lastlog"
#endif
@@ -11,5 +13,5 @@ $NetBSD: patch-ab,v 1.1 2004/05/26 15:04:32 wiz Exp $
+#define LASTLOG_FILENAME "/var/log/lastlog"
+#endif
#ifdef __OpenBSD__
+ #include <stdlib.h>
#define WTMP_FILENAME "/var/log/wtmp"
- #define LASTLOG_FILENAME "/var/log/lastlog"
diff --git a/security/chkrootkit/patches/patch-ac b/security/chkrootkit/patches/patch-ac
index fa73e30aa4a..ea38dc3c4d1 100644
--- a/security/chkrootkit/patches/patch-ac
+++ b/security/chkrootkit/patches/patch-ac
@@ -1,4 +1,8 @@
-$NetBSD: patch-ac,v 1.3 2006/01/19 23:42:11 joerg Exp $
+$NetBSD: patch-ac,v 1.4 2014/12/08 14:04:57 mef Exp $
+
+limits.h is ISO C, unconditionally include it. Keep conditional for
+sys/syslimits.h though.
+
--- chkdirs.c.orig 2006-01-19 23:40:21.000000000 +0000
+++ chkdirs.c