I confirm that with this diff.gz i've compiled correctly ipac-ng on
etch.

I've also done a little modification: looking on google for the error i
got if i use ports on rules.conf i've (mis)understood that the culprit come
from the iptables library libiptc, so i've tried to use, insted of the
'bultin' in agents/iptables/, the 'standard' in iptables-dev package.

I'm a very dumb C programmer, so probably i've committed some mistakes,
but the attached agents/iptables/makefile.in enable ipac-ng to use
'standard' libiptc.a library and headers and seems that all works well.


Hope that help.

-- 
dott. Marco Gaiarin                                 GNUPG Key ID: 240A3D66
  Associazione ``La Nostra Famiglia''                http://www.sv.lnf.it/
  Polo FVG  -  Via della Bontà, 7 - 33078  -  San Vito al Tagliamento (PN)
  marco.gaiarin(at)sv.lnf.it      tel +39-0434-842711  fax +39-0434-842797
# $Id: Makefile.in,v 1.5 2004/04/18 21:02:37 friedl Exp $
# Makefile for plain-file
SAGENT=iptables
[EMAIL PROTECTED]@
[EMAIL PROTECTED]@
[EMAIL PROTECTED]@ -DNDEBUG
#NEEDLIBS=/usr/lib/libiptc.a

all: libipac$(SAGENT).a

libipac$(SAGENT).a: iptables.o ../../lib/libnet.o
        ar -crus libipac$(SAGENT).a $?

iptables.o: iptables.c ../../config.h ../../ipac.h ../../lib/libnet.h
        $(CC) -c -I/usr/include/libiptc -I../.. $(DEFS) $(CFLAGS) $< -o $@

clean:
        rm -f *.a *.o

distclean:
        rm -f Makefile *~ *.orig

Reply via email to