2 # (C)opyright 2007 by Darren Reed.
4 # See the IPFILTER.LICENCE file for details on licencing.
9 -if
[ "`grep LOG_SECURITY /usr/include/sys/syslog.h 2>&1`" = "" ] ; then \
10 if
[ "`grep LOG_AUDIT /usr/include/sys/syslog.h 2>&1`" = "" ] ; then \
11 sed
-e
's/security/!!!/g' i19.
dist > i19.p1
; \
13 sed
-e
's/security/audit/g' i19.
dist > i19.p1
; \
16 /bin
/cp i19.
dist i19.p1
; \
18 -if
[ "`grep LOG_AUTHPRIV /usr/include/sys/syslog.h 2>&1`" = "" ] ; then \
19 sed
-e
's/authpriv/!!!/g' i19.p1
> i19.p2
; \
21 /bin
/cp i19.p1 i19.p2
; \
23 -if
[ "`grep LOG_LOGALERT /usr/include/sys/syslog.h 2>&1`" = "" ] ; then \
24 sed
-e
's/logalert/!!!/g' i19.p2
> i19.p1
; \
26 /bin
/cp i19.p2 i19.p1
; \
28 -if
[ "`grep LOG_FTP /usr/include/sys/syslog.h 2>&1`" = "" ] ; then \
29 sed
-e
's/ftp/!!!/g' i19.p1
> i19.p2
; \
31 /bin
/cp i19.p1 i19.p2
; \
33 -if
[ "`egrep 'LOG_CRON.*15' /usr/include/sys/syslog.h 2>&1`" != "" ] ; then \
34 sed
-e
's/cron/cron2/g' i19.p2
> i19
; \