iptables sie nie buduje.

Radoslaw Kojdecki radek w media-com.com.pl
Pią, 28 Mar 2003, 13:58:03 CET


[radek w poligon SPECS]$ ./builder -v iptables.spec
# $Revision: 1.66 $, $Date: 2003/02/28 10:07:57 $
- Sources :  iptables-1.2.7a.tar.bz2 iptables-howtos.tar.bz2
- Patches :  iptables-man.patch ipt_REJECT-fake-source.patch.userspace 
mark-bitwise-ops.patch.userspace raw.patch.userspace 
iptables-1.2.6a-imq.diff-3 grsecurity-1.2.7a-iptables.patch
- Icon    :  *no package icon*
- Name    : iptables
- Version : 1.2.7a
- Release : 6 w 2.4.19_2.8
cvs server: use `cvs add' to create an entry for iptables-1.2.7a.tar.bz2
Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.19502
Patch #0 (iptables-man.patch):
Patch #3 (iptables-1.2.6a-imq.diff-3):
Patch #4 (grsecurity-1.2.7a-iptables.patch):
1 out of 1 hunk FAILED -- saving rejects to file extensions/Makefile.rej
błąd: Bad exit status from /var/tmp/rpm-tmp.19502 (%prep)


RPM build errors:
    Bad exit status from /var/tmp/rpm-tmp.19502 (%prep)
Error: package build failed. (no more info)


[radek w poligon SPECS]$ cat 
../BUILD/iptables-1.2.7a/extensions/Makefile.rej
***************
*** 5,11 ****
  # header files are present in the include/linux directory of this 
iptables
  # package (HW)
  #
- PF_EXT_SLIB:=ah conntrack dscp ecn esp helper icmp iplimit length limit 
mac mark multiport owner pkttype rpc standard state tcp tcpmss tos ttl udp 
unclean DNAT DSCP ECN LOG MARK MASQUERADE MIRROR REDIRECT REJECT SAME SNAT 
TARPIT TCPMSS TOS TTL ULOG
  PF6_EXT_SLIB:=eui64 hl icmpv6 length limit mac mark multiport owner 
standard tcp udp HL LOG MARK

  # Optionals
--- 5,11 ----
  # header files are present in the include/linux directory of this 
iptables
  # package (HW)
  #
+ PF_EXT_SLIB:=ah conntrack dscp ecn esp helper icmp iplimit length limit 
mac mark multiport owner pkttype rpc standard state tcp tcpmss tos ttl udp 
stealth unclean DNAT DSCP ECN LOG MARK MASQUERADE MIRROR REDIRECT REJECT 
SAME SNAT TARPIT TCPMSS TOS TTL ULOG
  PF6_EXT_SLIB:=eui64 hl icmpv6 length limit mac mark multiport owner 
standard tcp udp HL LOG MARK

  # Optionals


[radek w poligon SPECS]$ grep PF_EXT_SLIB 
../BUILD/iptables-1.2.7a/extensions/Makefile | head -n1
PF_EXT_SLIB:=ah conntrack dscp ecn esp helper icmp length limit mac mark 
multiport owner pkttype standard state tcp tcpmss tos ttl udp unclean DNAT 
DSCP ECN LOG MARK MASQUERADE MIRROR REDIRECT REJECT SAME SNAT TCPMSS TOS 
ULOG



Ja sobie poradze ale dobrze zeby w CVS'ie bylo poprawnie :)

Tak przy okazji to jest juz opcja --gw dla filtra ROUTE ?


pozdrawiam,

Radek 
-- 
---------------------------------------------------------------------
Media-Com Sp. z o.o.                       43-100 Tychy, ul. Długa 19
http://www.media-com.com.pl/                    info w media-com.com.pl
---------------------------------------------------------------------



Więcej informacji o liście dyskusyjnej pld-devel-pl