The attached patch allows ipfilter to install on SuSE 8.2 (running the
stock SuSE 8.2 kernel).

If anyone is trying to compile ipfilter on Linux, you'll also need a
Linux/ipfilter file.  Mine is just a dummy/placeholder file at this point,
so I'm not including it.  However, the Linux/ipfilter file should contain a
chkconfig compatible startup script with start/stop options.

David Bogen

--
[EMAIL PROTECTED]
Public key:  http://www.bogen.org/staticpages/index.php/public-key
--- Linux/Makefile      2004-05-19 22:29:13.000000000 -0500
+++ Linux/Makefile      2004-05-19 23:33:13.000000000 -0500
@@ -463,7 +463,7 @@
        (for i in ipmon ipftest; do \
                $(INSTALL) -c -s -g wheel -m 755 -o root $$i $(ROOTDIR)$(BINDEST); \
         done;)
-       (cd ..; ../bsdinstall -c -g wheel -m 755 -o root ipfboot $(ROOTDIR)/etc/init.d)
+       (cd ..; ../bsdinstall -c -g wheel -m 755 -o root ipfilter 
$(ROOTDIR)/etc/init.d)
        (cd $(TOP)/man; make INSTALL=../bsdinstall MANDIR=$(ROOTDIR)$(MANDIR) install; 
cd $(TOP))
        for i in BASIC_1.FW BASIC_2.FW BASIC.NAT example.1 example.2 \
                 example.3 example.4 example.5 example.6 example.7 \
@@ -475,8 +475,8 @@
                chown root:root $(ROOTDIR)/usr/share/ipfilter/examples/$$i; \
        done
        sed -e "s/KERNELBUILD/`uname -r`/" ../$(SPECFILE).dist > $(SPECFILE)
-       rpmbuild -bb $(SPECFILE)
-       rpm -i ipfilter
+       rpm -bb --buildroot $(ROOTDIR) $(SPECFILE)
+       rpm -i /usr/src/packages/RPMS/i386/ipfilter*.rpm
 
 $(SPECFILE): ../$(SPECFILE).dist
        sed -e "s/KERNELBUILD/`uname -r`/" $< > $@
--- Linux/ipfilter.spec.dist    2004-05-19 22:30:32.000000000 -0500
+++ Linux/ipfilter.spec.dist    2004-05-19 23:40:33.000000000 -0500
@@ -88,7 +88,7 @@
 
 %post
 /sbin/chkconfig --add ipfilter
-/sbin/chkconfig --level 2345 ipfilter on
+/sbin/chkconfig ipfilter 2345
 
 %preun
 /etc/init.d/ipfilter stop

Attachment: pgphfnicswM4J.pgp
Description: PGP signature

Reply via email to