]> git.ipfire.org Git - ipfire-3.x.git/blobdiff - ebtables/ebtables.nm
setup: Drop /etc/environment
[ipfire-3.x.git] / ebtables / ebtables.nm
index 212bf7bb7cf2edc690732ec9fd86a414add82a21..846ed96d4721f000baf67ff97f5617a885cc70f5 100644 (file)
@@ -4,7 +4,7 @@
 ###############################################################################
 
 name       = ebtables
-version    = v2.0.9-2
+version    = v2.0.10-4
 release    = 2
 
 groups     = Networking/Tools
@@ -13,33 +13,33 @@ license    = GPLv2+
 summary    = Ethernet Bridge frame table administration tool.
 
 description
-       Ethernet bridge tables is a firewalling tool to transparently filter network \
-       traffic passing a bridge. The filtering possibilities are limited to link \
+       Ethernet bridge tables is a firewalling tool to transparently filter network
+       traffic passing a bridge. The filtering possibilities are limited to link
        layer filtering and some basic filtering on higher network layers.
 end
 
-source_dl  =
+source_dl  = http://downloads.sourceforge.net/ebtables/
 
 build
        CFLAGS += -Wall
 
        build
-               make CFLAGS="%{CFLAGS}" BINDIR="/sbin" \
-                       LIBDIR="/lib/ebtables" MANDIR="/usr/share/man" %{PARALLELISMFLAGS}
+               make CFLAGS="%{CFLAGS}" BINDIR="%{sbindir}" \
+                       LIBDIR="%{libdir}/ebtables" MANDIR="%{mandir}" %{PARALLELISMFLAGS}
        end
 
        install
-               mkdir -pv %{BUILDROOT}/etc/{init.d,sysconfig}
-               make install DESTDIR="%{BUILDROOT}" BINDIR="/sbin" \
-                       LIBDIR="/lib/ebtables" MANDIR="/usr/share/man" INITDIR="/etc/init.d"
+               make install DESTDIR="%{BUILDROOT}" BINDIR="%{sbindir}" \
+                       LIBDIR="%{libdir}/ebtables" MANDIR="%{mandir}"
 
-               rm -vfr %{BUILDROOT}/etc/{init.d,sysconfig}
+               # Remove unneded directories.
+               rm -rvf %{BUILDROOT}/etc/{rc.d,sysconfig}
        end
 end
 
 quality-agent
        whitelist_rpath
-               /lib/ebtables
+               %{libdir}/ebtables
        end
 end
 
@@ -49,4 +49,8 @@ packages
                        libebt
                end
        end
+
+       package %{name}-debuginfo
+               template DEBUGINFO
+       end
 end