]> git.ipfire.org Git - people/ms/ipfire-3.x.git/blobdiff - iptables/iptables.nm
iptables: Update to 1.4.16.2.
[people/ms/ipfire-3.x.git] / iptables / iptables.nm
index ea53b4c6a1e79c0885bec6a90f4812c0c7036040..e220b0c6db2d0cca662a52bee7db1349bcb21871 100644 (file)
@@ -4,7 +4,7 @@
 ###############################################################################
 
 name       = iptables
-version    = 1.4.12.2
+version    = 1.4.16.2
 release    = 1
 
 groups     = Networking/Tools
@@ -13,8 +13,8 @@ license    = GPL+
 summary    = Tools for managing Linux kernel packet filtering capabilities.
 
 description
-       The iptables utility controls the network packet filtering code in the \
-       Linux kernel. If you need to set up firewalls and/or IP masquerading, \
+       The iptables utility controls the network packet filtering code in the
+       Linux kernel. If you need to set up firewalls and/or IP masquerading,
        you should install this package.
 end
 
@@ -30,9 +30,6 @@ build
        CFLAGS += -fno-strict-aliasing
 
        configure_options += \
-               --bindir=/bin \
-               --sbindir=/sbin \
-               --libdir=/%{lib} \
                --libexecdir=/%{lib} \
                --sysconfdir=/etc \
                --with-pkgconfigdir=%{libdir}/pkgconfig \
@@ -58,20 +55,8 @@ build
                install -v -m 644 include/libiptc/*.h \
                        %{BUILDROOT}/usr/include/libiptc
 
-               mkdir -pv %{BUILDROOT}%{libdir}
-               rm -vf %{BUILDROOT}/%{lib}/libip{tc,4tc,6tc,q}.so %{BUILDROOT}/%{lib}/libxtables.so
-               ln -svf ../../%{lib}/libiptc.so.0 %{BUILDROOT}%{libdir}/libiptc.so
-               ln -svf ../../%{lib}/libip4tc.so.0 %{BUILDROOT}%{libdir}/libip4tc.so
-               ln -svf ../../%{lib}/libip6tc.so.0 %{BUILDROOT}%{libdir}/libip6tc.so
-               ln -svf ../../%{lib}/libipq.so.0 %{BUILDROOT}%{libdir}/libipq.so
-               ln -svf ../../%{lib}/libxtables.so.7 %{BUILDROOT}%{libdir}/libxtables.so
-
-               # Replace absolute symlink
-               ln -svf ../sbin/xtables-multi %{BUILDROOT}/bin/iptables-xml
-
-               # Move binary which links to /usr/lib to /usr.
-               mkdir -pv %{BUILDROOT}/usr/sbin
-               mv -v %{BUILDROOT}/{,usr/}sbin/nfnl_osf
+               # Remove relative symlinks.
+               ln -svf ../sbin/xtables-multi %{BUILDROOT}/usr/bin/iptables-xml
        end
 end