From 49352f811933e26f36cf1c38c942c4b845c92415 Mon Sep 17 00:00:00 2001 From: wiz Date: Wed, 26 May 2004 15:04:32 +0000 Subject: Make chklastlog useful on NetBSD; from Makoto Fujiwara in PR 25701. Bump PKGREVISION. --- security/chkrootkit/Makefile | 3 ++- security/chkrootkit/distinfo | 3 ++- security/chkrootkit/patches/patch-ab | 15 +++++++++++++++ 3 files changed, 19 insertions(+), 2 deletions(-) create mode 100644 security/chkrootkit/patches/patch-ab (limited to 'security') diff --git a/security/chkrootkit/Makefile b/security/chkrootkit/Makefile index acd8bff2648..75fd76754d2 100644 --- a/security/chkrootkit/Makefile +++ b/security/chkrootkit/Makefile @@ -1,8 +1,9 @@ -# $NetBSD: Makefile,v 1.3 2004/03/31 09:39:24 sketch Exp $ +# $NetBSD: Makefile,v 1.4 2004/05/26 15:04:32 wiz Exp $ # DISTNAME= chkrootkit PKGNAME= ${DISTNAME}-0.43 +PKGREVISION= 1 CATEGORIES= security MASTER_SITES= ftp://ftp.pangeia.com.br/pub/seg/pac/ diff --git a/security/chkrootkit/distinfo b/security/chkrootkit/distinfo index e0c22ac46d5..6ac9b086b43 100644 --- a/security/chkrootkit/distinfo +++ b/security/chkrootkit/distinfo @@ -1,5 +1,6 @@ -$NetBSD: distinfo,v 1.1.1.1 2004/02/17 15:33:52 minskim Exp $ +$NetBSD: distinfo,v 1.2 2004/05/26 15:04:32 wiz Exp $ SHA1 (chkrootkit-0.43/chkrootkit.tar.gz) = 58e3693823a9b8ab9b6bb609d54b5716af332a00 Size (chkrootkit-0.43/chkrootkit.tar.gz) = 33355 bytes SHA1 (patch-aa) = c47ecb09d02c710727420a3adfb7d8b62d721f2d +SHA1 (patch-ab) = 109a43494bda8d0966164b7684f63a6a83f2d829 diff --git a/security/chkrootkit/patches/patch-ab b/security/chkrootkit/patches/patch-ab new file mode 100644 index 00000000000..78a88a8a864 --- /dev/null +++ b/security/chkrootkit/patches/patch-ab @@ -0,0 +1,15 @@ +$NetBSD: patch-ab,v 1.1 2004/05/26 15:04:32 wiz Exp $ + +--- chklastlog.c.orig 2003-12-26 19:30:12.000000000 +0100 ++++ chklastlog.c +@@ -57,6 +57,10 @@ + #define WTMP_FILENAME "/var/log/wtmp" + #define LASTLOG_FILENAME "/var/log/lastlog" + #endif ++#ifdef __NetBSD__ ++#define WTMP_FILENAME "/var/log/wtmp" ++#define LASTLOG_FILENAME "/var/log/lastlog" ++#endif + #ifdef __OpenBSD__ + #define WTMP_FILENAME "/var/log/wtmp" + #define LASTLOG_FILENAME "/var/log/lastlog" -- cgit v1.2.3