head	1.9;
access;
symbols
	RELEASE_8_3_0:1.9
	RELEASE_9_0_0:1.9
	RELEASE_7_4_0:1.9
	RELEASE_8_2_0:1.9
	RELEASE_6_EOL:1.9
	RELEASE_8_1_0:1.9
	RELEASE_7_3_0:1.9
	RELEASE_8_0_0:1.9
	RELEASE_7_2_0:1.9
	RELEASE_7_1_0:1.9
	RELEASE_6_4_0:1.9
	RELEASE_5_EOL:1.9
	RELEASE_7_0_0:1.9
	RELEASE_6_3_0:1.9
	PRE_XORG_7:1.9
	RELEASE_4_EOL:1.9
	RELEASE_6_2_0:1.8
	RELEASE_6_1_0:1.8
	RELEASE_5_5_0:1.8
	RELEASE_6_0_0:1.8
	RELEASE_5_4_0:1.8
	RELEASE_4_11_0:1.8
	RELEASE_5_3_0:1.8
	RELEASE_4_10_0:1.7
	RELEASE_5_2_1:1.7
	RELEASE_5_2_0:1.7
	RELEASE_4_9_0:1.7
	RELEASE_5_1_0:1.7
	RELEASE_4_8_0:1.5
	RELEASE_5_0_0:1.5
	RELEASE_4_7_0:1.4
	RELEASE_4_6_2:1.4
	RELEASE_4_6_1:1.4
	RELEASE_4_6_0:1.4
	RELEASE_5_0_DP1:1.4
	RELEASE_4_5_0:1.2;
locks; strict;
comment	@# @;


1.9
date	2006.10.31.10.38.55;	author rafan;	state Exp;
branches;
next	1.8;

1.8
date	2004.05.24.08.17.07;	author pav;	state Exp;
branches;
next	1.7;

1.7
date	2003.05.02.04.21.39;	author leeym;	state Exp;
branches;
next	1.6;

1.6
date	2003.03.31.04.57.02;	author kevlo;	state Exp;
branches;
next	1.5;

1.5
date	2002.10.27.22.59.15;	author adamw;	state Exp;
branches;
next	1.4;

1.4
date	2002.03.13.10.22.57;	author pat;	state Exp;
branches;
next	1.3;

1.3
date	2002.03.08.15.51.04;	author vanilla;	state Exp;
branches;
next	1.2;

1.2
date	2002.01.11.03.36.34;	author pat;	state Exp;
branches;
next	1.1;

1.1
date	2001.11.20.07.02.41;	author ijliao;	state Exp;
branches;
next	;


desc
@@


1.9
log
@- Update to 1.1

PR:		ports/104658
Submitted by:	Michael Ranner <mranner at inode.at> (maintainer)
@
text
@--- Makefile.orig	Wed Mar  8 20:36:02 2006
+++ Makefile	Sat Oct 21 20:44:00 2006
@@@@ -2,10 +2,10 @@@@
 # $Id: Makefile,v 1.76 2006/03/08 19:36:02 bw Exp $
 
 # Linux
-CC = gcc
-CFLAGS = -DHAVE_ZLIB -DHAVE_GETTEXT -pipe -O2 -Wall #-pedantic -Wpointer-arith #-g #-p
-LDFLAGS = #-g #-static -p
-LIBS = -lcrypt -lz #-ladns #-lc_p
+#CC = gcc
+#CFLAGS = -DHAVE_ZLIB -DHAVE_GETTEXT -pipe -O2 -Wall #-pedantic -Wpointer-arith #-g #-p
+#LDFLAGS = #-g #-static -p
+#LIBS = -lcrypt -lz #-ladns #-lc_p
 
 # Solaris
 #LIBS = -lnsl -lsocket -lcrypt -lz
@@@@ -26,6 +26,12 @@@@
 #CC = gcc
 #CFLAGS = -DHAVE_ZLIB -DHAVE_GETTEXT -pipe -O2 -Wall -I/usr/local/include
 #LIBS = -L/usr/local/lib -lcrypt -lz -lintl
+CC ?= gcc
+CFLAGS += -DHAVE_ZLIB -DHAVE_GETTEXT -I${LOCALBASE}/include \
+	-DINSTALL_DIR=\"${INSTALL_DIR}\" \
+	-DCONF_DIR=\"${CONF_DIR}\" \
+	-DLOCALE_DIR=\"${LOCALE_DIR}\"
+LIBS = -L${LOCALBASE}/lib -lcrypt -lz -lintl
 
 # You might want to add -DSHORT_NAMES to CFLAGS if you only intend to analyze
 # log formats with short list/chain/branch/interface names like ipchains.
@@@@ -39,12 +45,18 @@@@
 LFLAGS = -B #-f #-p -p -d
 
 INSTALL = install
-INSTALL_PROGRAM = $(INSTALL) -s -m 0755
-INSTALL_SCRIPT = $(INSTALL) -m 0755
-INSTALL_DATA = $(INSTALL) -m 0644
-INSTALL_DIR = /usr/local
-CONF_DIR = /etc
-LOCALE_DIR = /usr
+#INSTALL_PROGRAM = $(INSTALL) -s -m 0755
+#INSTALL_SCRIPT = $(INSTALL) -m 0755
+#INSTALL_DATA = $(INSTALL) -m 0644
+#INSTALL_DIR = /usr/local
+#CONF_DIR = /etc
+#LOCALE_DIR = /usr
+INSTALL_PROGRAM = ${BSD_INSTALL_PROGRAM}
+INSTALL_SCRIPT = ${BSD_INSTALL_SCRIPT}
+INSTALL_DATA = ${BSD_INSTALL_DATA}
+INSTALL_DIR = ${PREFIX}
+CONF_DIR = ${INSTALL_DIR}/etc
+LOCALE_DIR = ${INSTALL_DIR}
 
 OBJS = cisco_ios.o cisco_pix.o compare.o ipchains.o ipfilter.o ipfw.o \
        lancom.o main.o modes.o net.o netfilter.o netscreen.o output.o \
@@@@ -86,19 +98,25 @@@@
 	$(INSTALL_PROGRAM) fwlogwatch $(INSTALL_DIR)/sbin/fwlogwatch
 	$(INSTALL_SCRIPT) contrib/fwlw_notify $(INSTALL_DIR)/sbin/fwlw_notify
 	$(INSTALL_SCRIPT) contrib/fwlw_respond $(INSTALL_DIR)/sbin/fwlw_respond
-	$(INSTALL_DATA) fwlogwatch.8 $(INSTALL_DIR)/share/man/man8/fwlogwatch.8
+	$(INSTALL_DATA) fwlogwatch.8 $(INSTALL_DIR)/man/man8/fwlogwatch.8
 
 install-config:
 	$(INSTALL_DATA) fwlogwatch.config $(CONF_DIR)/fwlogwatch.config
 	$(INSTALL_DATA) fwlogwatch.template $(CONF_DIR)/fwlogwatch.template
 
 install-i18n:
-	cd po; make
+	cd po; $(MAKE)
+	${MKDIR} $(LOCALE_DIR)/share/locale/de/LC_MESSAGES
 	$(INSTALL_DATA) po/de.mo $(LOCALE_DIR)/share/locale/de/LC_MESSAGES/fwlogwatch.mo
+	${MKDIR} $(LOCALE_DIR)/share/locale/ja/LC_MESSAGES
 	$(INSTALL_DATA) po/ja.mo $(LOCALE_DIR)/share/locale/ja/LC_MESSAGES/fwlogwatch.mo
+	${MKDIR} $(LOCALE_DIR)/share/locale/pt_BR/LC_MESSAGES
 	$(INSTALL_DATA) po/pt_BR.mo $(LOCALE_DIR)/share/locale/pt_BR/LC_MESSAGES/fwlogwatch.mo
+	${MKDIR} $(LOCALE_DIR)/share/locale/sv/LC_MESSAGES
 	$(INSTALL_DATA) po/sv.mo $(LOCALE_DIR)/share/locale/sv/LC_MESSAGES/fwlogwatch.mo
+	${MKDIR} $(LOCALE_DIR)/share/locale/zh_CN/LC_MESSAGES
 	$(INSTALL_DATA) po/zh_CN.mo $(LOCALE_DIR)/share/locale/zh_CN/LC_MESSAGES/fwlogwatch.mo
+	${MKDIR} $(LOCALE_DIR)/share/locale/zh_TW/LC_MESSAGES
 	$(INSTALL_DATA) po/zh_TW.mo $(LOCALE_DIR)/share/locale/zh_TW/LC_MESSAGES/fwlogwatch.mo
 
 install-rhinit:
@@@@ -120,4 +138,4 @@@@
 
 clean:
 	rm -f *.o *~ *.bak fwlogwatch
-	cd po; make clean
+	cd po; $(MAKE) clean
@


1.8
log
@- Update to 1.0

PR:		ports/66833
Submitted by:	Toni Viemero <toni.viemero@@iki.fi>
Approved by:	maintainer
@
text
@d1 2
a2 2
--- Makefile.orig	Sun Apr  4 17:42:16 2004
+++ Makefile	Tue May 18 21:46:48 2004
d4 1
a4 1
 # $Id: Makefile,v 1.73 2004/04/04 14:42:16 bw Exp $
d10 1
a10 1
-LIBS = -lcrypt -lz #-lc_p
d14 1
a14 1
+#LIBS = -lcrypt -lz #-lc_p
d18 4
a21 7
@@@@ -23,9 +23,12 @@@@
 #LIBS = -L/usr/local/lib -lz -lintl
 
 # FreeBSD
-#CC = gcc
-#CFLAGS = -DHAVE_ZLIB -DHAVE_GETTEXT -pipe -O2 -Wall -I/usr/local/include
-#LIBS = -L/usr/local/lib -lcrypt -lz -lintl
d29 3
a31 3
 # You might want to add -DSHORT_NAMES to CFLAGS if you only intend to
 # analyze log formats with short list/chain/branch/interface names like
@@@@ -38,12 +41,12 @@@@
d41 6
d56 1
a56 1
@@@@ -85,19 +88,25 @@@@
d84 6
@


1.7
log
@Update to fwlogwatch-0.9.2

PR:		51649
Submitted by:	Jim Geovedi <jim@@corebsd.or.id>
@
text
@d1 4
a4 3
--- Makefile.orig	Thu Oct  3 23:07:30 2002
+++ Makefile	Mon Mar 31 10:37:53 2003
@@@@ -2,9 +2,9 @@@@
d18 1
a18 1
@@@@ -22,9 +22,12 @@@@
d34 1
a34 1
@@@@ -37,12 +40,12 @@@@
d51 3
a53 3
 OBJS = cisco_ios.o cisco_pix.o compare.o ipchains.o ipfilter.o lancom.o \
        main.o modes.o net.o netfilter.o netscreen.o output.o parser.o \
@@@@ -82,18 +85,23 @@@@
d69 2
@


1.6
log
@Update to 0.9.1

PR: 50468
Submitted by: MAINTAINER
@
text
@d3 1
a3 2
@@@@ -1,10 +1,10 @@@@
 # $Id: Makefile,v 1.67 2002/10/03 16:07:30 bw Exp $
@


1.5
log
@Update security/fwlogwatch 0.6_1 -> 0.9

PR:		44487
Submitted by:	KATO Tsuguru <tkato@@prontomail.com>
Approved by:	pat
@
text
@d1 2
a2 2
--- Makefile.orig	Sun Aug 18 21:32:26 2002
+++ Makefile	Fri Oct 25 03:16:30 2002
d4 1
a4 1
 # $Id: Makefile,v 1.66 2002/08/18 12:32:26 bw Exp $
d8 1
a8 1
-CFLAGS = -DHAVE_ZLIB -DHAVE_GETTEXT -DHAVE_IPV6 -pipe -O2 -Wall #-pedantic -Wpointer-arith #-g #-p
d12 1
a12 1
+#CFLAGS = -DHAVE_ZLIB -DHAVE_GETTEXT -DHAVE_IPV6 -pipe -O2 -Wall #-pedantic -Wpointer-arith #-g #-p
@


1.4
log
@Fix installing translations to unbreak install

Noticed by:	bento
@
text
@d1 2
a2 2
--- Makefile.orig	Sun Feb 24 07:15:21 2002
+++ Makefile	Wed Mar 13 05:04:51 2002
d4 1
a4 1
 # $Id: Makefile,v 1.56 2002/02/24 12:15:21 bw Exp $
d8 1
a8 1
-CFLAGS = -pipe -O2 -Wall #-pedantic -Wpointer-arith #-g #-p
d12 1
a12 1
+#CFLAGS = -pipe -O2 -Wall #-pedantic -Wpointer-arith #-g #-p
d17 3
a19 2
 #LIBS = -lnsl -lsocket -lz -lcrypt
@@@@ -23,8 +23,8 @@@@
d22 9
a30 5
 #CC = gcc
-#CFLAGS = -pipe -O2 -Wall -I/usr/local/include
-#LIBS = -L/usr/local/lib -lintl -lcrypt -lz
+CFLAGS += -I%%LOCALBASE%%/include
+LIBS = -L%%LOCALBASE%%/lib -lintl -lcrypt -lz
d34 1
a34 2
@@@@ -35,10 +35,9 @@@@
 LEX = flex
d37 1
a37 1
-INSTALL = install
d41 22
a62 7
+INSTALL_PROGRAM= ${BSD_INSTALL_PROGRAM}
+INSTALL_DATA= ${BSD_INSTALL_DATA}
+INSTALL_SCRIPT= ${BSD_INSTALL_SCRIPT}
 
 OBJS = cisco_ios.o cisco_pix.o compare.o ipchains.o ipfilter.o \
        main.o modes.o net.o netfilter.o output.o parser.o \
@@@@ -82,10 +81,15 @@@@
d65 12
a76 11
 	cd po; make
+	${MKDIR} ${PREFIX}/share/locale/de/LC_MESSAGES
 	$(INSTALL_DATA) po/de.mo /usr/share/locale/de/LC_MESSAGES/fwlogwatch.mo
+	${MKDIR} ${PREFIX}/share/locale/pt_BR/LC_MESSAGES
 	$(INSTALL_DATA) po/pt_BR.mo /usr/share/locale/pt_BR/LC_MESSAGES/fwlogwatch.mo
+	${MKDIR} ${PREFIX}/share/locale/sv/LC_MESSAGES
 	$(INSTALL_DATA) po/sv.mo /usr/share/locale/sv/LC_MESSAGES/fwlogwatch.mo
+	${MKDIR} ${PREFIX}/share/locale/zh_CN/LC_MESSAGES
 	$(INSTALL_DATA) po/zh_CN.mo /usr/share/locale/zh_CN/LC_MESSAGES/fwlogwatch.mo
+	${MKDIR} ${PREFIX}/share/locale/zh_TW/LC_MESSAGES
 	$(INSTALL_DATA) po/zh_TW.mo /usr/share/locale/zh_TW/LC_MESSAGES/fwlogwatch.mo
d78 1
a78 1
 uninstall:
@


1.3
log
@Upgrade to 0.6.

PR:		ports/35665
Submitted by:	Kimura Fuyuki <fuyuki@@mj.0038.net>
Some part by:	me
@
text
@d1 2
a2 2
--- Makefile.orig	Sun Feb 24 20:15:21 2002
+++ Makefile	Fri Mar  8 23:42:07 2002
d29 30
@


1.2
log
@Fix translation install.

PR:		33760
Submitted by:	Oliver Lehmann <lehmann@@ans-netz.de>, bento
@
text
@d1 2
a2 2
--- Makefile.orig	Mon Nov 19 01:12:29 2001
+++ Makefile	Tue Nov 20 15:00:49 2001
d4 1
a4 1
 # $Id: Makefile,v 1.51 2001/11/18 17:12:29 bw Exp $
d8 1
a8 1
-CFLAGS = -pipe -O2 -Wall #-pedantic #-g #-p
d12 1
a12 1
+#CFLAGS = -pipe -O2 -Wall #-pedantic #-g #-p
a28 11
@@@@ -82,8 +82,8 @@@@
 install-i18n:
 	cd po; make
 	$(INSTALL_DATA) po/de.mo /usr/share/locale/de/LC_MESSAGES/fwlogwatch.mo
-	$(INSTALL_DATA) po/pt_BR.mo /usr/share/locale/pt/LC_MESSAGES/fwlogwatch.mo
-	$(INSTALL_DATA) po/zh.mo /usr/share/locale/zh/LC_MESSAGES/fwlogwatch.mo
+	$(INSTALL_DATA) po/pt_BR.mo /usr/share/locale/pt_BR/LC_MESSAGES/fwlogwatch.mo
+	$(INSTALL_DATA) po/zh.mo /usr/share/locale/zh_TW.Big5/LC_MESSAGES/fwlogwatch.mo
 
 uninstall:
 	@@rm -f /usr/local/sbin/fwlogwatch \
@


1.1
log
@add fwlogwatch
A packet filter and firewall log analyzer
@
text
@d36 1
a36 1
+	$(INSTALL_DATA) po/zh.mo /usr/share/locale/zh_TW/LC_MESSAGES/fwlogwatch.mo
@

