head	1.1;
branch	1.1.1;
access;
symbols
	RELENG_8_4:1.1.1.1.0.20
	RELENG_9_1_0_RELEASE:1.1.1.1
	RELENG_9_1:1.1.1.1.0.18
	RELENG_9_1_BP:1.1.1.1
	RELENG_8_3_0_RELEASE:1.1.1.1
	RELENG_8_3:1.1.1.1.0.16
	RELENG_8_3_BP:1.1.1.1
	RELENG_9_0_0_RELEASE:1.1.1.1
	RELENG_9_0:1.1.1.1.0.14
	RELENG_9_0_BP:1.1.1.1
	RELENG_9:1.1.1.1.0.12
	RELENG_9_BP:1.1.1.1
	RELENG_8_2_0_RELEASE:1.1.1.1
	RELENG_8_2:1.1.1.1.0.10
	RELENG_8_2_BP:1.1.1.1
	RELENG_8_1_0_RELEASE:1.1.1.1
	RELENG_8_1:1.1.1.1.0.8
	RELENG_8_1_BP:1.1.1.1
	RELENG_8_0_0_RELEASE:1.1.1.1
	RELENG_8_0:1.1.1.1.0.6
	RELENG_8_0_BP:1.1.1.1
	RELENG_8:1.1.1.1.0.4
	RELENG_8_BP:1.1.1.1
	RELENG_6_4_0_RELEASE:1.1.1.1.2.1
	RELENG_6_4:1.1.1.1.2.1.0.4
	RELENG_6_4_BP:1.1.1.1.2.1
	RELENG_6_3_0_RELEASE:1.1.1.1.2.1
	RELENG_6_3:1.1.1.1.2.1.0.2
	RELENG_6_3_BP:1.1.1.1.2.1
	RELENG_6:1.1.1.1.0.2
	v4-1-28:1.1.1.1
	DARRENR:1.1.1;
locks; strict;
comment	@# @;


1.1
date	2007.10.18.21.41.13;	author darrenr;	state Exp;
branches
	1.1.1.1;
next	;

1.1.1.1
date	2007.10.18.21.41.13;	author darrenr;	state Exp;
branches
	1.1.1.1.2.1
	1.1.1.1.20.1;
next	;

1.1.1.1.2.1
date	2007.11.18.11.03.25;	author darrenr;	state Exp;
branches;
next	;

1.1.1.1.20.1
date	2007.10.18.21.41.13;	author svnexp;	state dead;
branches;
next	1.1.1.1.20.2;

1.1.1.1.20.2
date	2013.03.28.13.01.21;	author svnexp;	state Exp;
branches;
next	;


desc
@@


1.1
log
@Initial revision
@
text
@#
# (C)opyright 2007 by Darren Reed.
#
# See the IPFILTER.LICENCE file for details on licencing.
#
all: i19

i19: i19.dist Makefile
	-if [ "`grep LOG_SECURITY /usr/include/sys/syslog.h 2>&1`" = "" ] ; then \
		if [ "`grep LOG_AUDIT /usr/include/sys/syslog.h 2>&1`" = "" ] ; then \
				sed -e 's/security/!!!/g' i19.dist > i19.p1; \
		else \
				sed -e 's/security/audit/g' i19.dist > i19.p1; \
		fi \
	else \
		/bin/cp i19.dist i19.p1; \
	fi
	-if [ "`grep LOG_AUTHPRIV /usr/include/sys/syslog.h 2>&1`" = "" ] ; then \
		sed -e 's/authpriv/!!!/g' i19.p1 > i19.p2; \
	else \
		/bin/cp i19.p1 i19.p2; \
	fi
	-if [ "`grep LOG_LOGALERT /usr/include/sys/syslog.h 2>&1`" = "" ] ; then \
		sed -e 's/logalert/!!!/g' i19.p2 > i19.p1; \
	else \
		/bin/cp i19.p2 i19.p1; \
	fi
	-if [ "`grep LOG_FTP /usr/include/sys/syslog.h 2>&1`" = "" ] ; then \
		sed -e 's/ftp/!!!/g' i19.p1 > i19.p2; \
	else \
		/bin/cp i19.p1 i19.p2; \
	fi
	-if [ "`egrep 'LOG_CRON.*15' /usr/include/sys/syslog.h 2>&1`" != "" ] ; then \
		sed -e 's/cron/cron2/g' i19.p2 > i19; \
	else \
		/bin/cp i19.p2 i19; \
	fi
	/bin/rm i19.p?

clean:
	/bin/rm -f i19
@


1.1.1.1
log
@Import IPFilter 4.1.28
@
text
@@


1.1.1.1.20.1
log
@file Makefile was added on branch RELENG_8_4 on 2013-03-28 13:01:21 +0000
@
text
@d1 41
@


1.1.1.1.20.2
log
@## SVN ## Exported commit - http://svnweb.freebsd.org/changeset/base/248810
## SVN ## CVS IS DEPRECATED: http://wiki.freebsd.org/CvsIsDeprecated
@
text
@a0 41
#
# (C)opyright 2007 by Darren Reed.
#
# See the IPFILTER.LICENCE file for details on licencing.
#
all: i19

i19: i19.dist Makefile
	-if [ "`grep LOG_SECURITY /usr/include/sys/syslog.h 2>&1`" = "" ] ; then \
		if [ "`grep LOG_AUDIT /usr/include/sys/syslog.h 2>&1`" = "" ] ; then \
				sed -e 's/security/!!!/g' i19.dist > i19.p1; \
		else \
				sed -e 's/security/audit/g' i19.dist > i19.p1; \
		fi \
	else \
		/bin/cp i19.dist i19.p1; \
	fi
	-if [ "`grep LOG_AUTHPRIV /usr/include/sys/syslog.h 2>&1`" = "" ] ; then \
		sed -e 's/authpriv/!!!/g' i19.p1 > i19.p2; \
	else \
		/bin/cp i19.p1 i19.p2; \
	fi
	-if [ "`grep LOG_LOGALERT /usr/include/sys/syslog.h 2>&1`" = "" ] ; then \
		sed -e 's/logalert/!!!/g' i19.p2 > i19.p1; \
	else \
		/bin/cp i19.p2 i19.p1; \
	fi
	-if [ "`grep LOG_FTP /usr/include/sys/syslog.h 2>&1`" = "" ] ; then \
		sed -e 's/ftp/!!!/g' i19.p1 > i19.p2; \
	else \
		/bin/cp i19.p1 i19.p2; \
	fi
	-if [ "`egrep 'LOG_CRON.*15' /usr/include/sys/syslog.h 2>&1`" != "" ] ; then \
		sed -e 's/cron/cron2/g' i19.p2 > i19; \
	else \
		/bin/cp i19.p2 i19; \
	fi
	/bin/rm i19.p?

clean:
	/bin/rm -f i19
@


1.1.1.1.2.1
log
@MFC IPFilter update from 4.1.13 to 4.1.28, including additional fixes applied
post 4.1.28 for FreeBSD.  See src/contrib/ipfilter/HISTORY for more details
of the bugs fixed, etc.
@
text
@@

