]> git.pld-linux.org Git - packages/xtables-addons.git/commitdiff
- use FHS path, fix manpage; rel 15 auto/ac/xtables-addons-1_18-15
authorElan Ruusamäe <glen@pld-linux.org>
Mon, 20 Sep 2010 12:44:35 +0000 (12:44 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    xtables-addons-geoip-dbpath.patch -> 1.2.2.1
    xtables-addons.spec -> 1.50.2.4

xtables-addons-geoip-dbpath.patch
xtables-addons.spec

index 4a7d0e595ba719c5ce73a636f5b45dd5697a6fb4..77975cdcd914e19ab4b35e4f1627c6403d34a0b0 100644 (file)
@@ -5,7 +5,7 @@
  #include <xtables.h>
  #include "xt_geoip.h"
 -#define GEOIP_DB_DIR "/var/geoip"
-+#define GEOIP_DB_DIR "/var/lib/geoip"
++#define GEOIP_DB_DIR "/usr/share/xt_geoip"
  
  static void geoip_help(void)
  {
@@ -16,7 +16,7 @@
  The extra files you will need is the binary database files. They are generated
  from a country-subnet database with the geoip_csv_iv0.pl tool, available at
 -http://jengelh.hopto.org/files/geoip/ . The files MUST be moved to /var/geoip/
-+http://jengelh.hopto.org/files/geoip/ . The files MUST be moved to /var/lib/geoip/
++http://jengelh.hopto.org/files/geoip/ . The files MUST be moved to /usr/share/xt_geoip/
  as the shared library is statically looking for this pathname (e.g.
 -/var/geoip/LE/de.iv0).
-+/var/lib/geoip/LE/de.iv0).
++/usr/share/xt_geoip/LE/de.iv0).
index ea67ec1e61aff11d286449120aae49cdaaa6c1a8..df86641803fd9d0072898481b0b4f1e0b7283309 100644 (file)
@@ -19,7 +19,7 @@
 %define                _enable_debug_packages  0
 %endif
 
-%define                rel     14
+%define                rel     15
 Summary:       Extensible packet filtering system && extensible NAT system
 Summary(pl.UTF-8):     System filtrowania pakietów oraz system translacji adresów (NAT)
 Summary(pt_BR.UTF-8):  Ferramenta para controlar a filtragem de pacotes no kernel-2.6.x
@@ -81,6 +81,7 @@ Summary:      Kernel modules for xtables addons
 Summary(pl.UTF-8):     Moudły jądra dla xtables addons
 Release:       %{rel}@%{_kernel_ver_str}
 Group:         Base/Kernel
+Conflicts:     xtables-geoip < 20090901-2
 # VERSION only dependency is intentional, for allowing multiple kernel pkgs and
 # single userspace package installs.
 Requires:      %{name} = %{version}
@@ -117,7 +118,7 @@ export XA_TOPSRCDIR=$PWD
 %endif
 
 %if %{with userspace}
-%{__make} -C extensions
+%{__make}
 %endif
 
 %install
@@ -135,11 +136,8 @@ cd ..
 %{__make} -C extensions install \
        DESTDIR=$RPM_BUILD_ROOT
 
-cd extensions
-for m in $(cat .manpages.lst); do
-       cp -a libxt_$m.man $RPM_BUILD_ROOT%{_mandir}/man8/libxt_$m.8
-done
-cd ..
+install -d $RPM_BUILD_ROOT%{_mandir}/man8
+cp -a xtables-addons.8 $RPM_BUILD_ROOT%{_mandir}/man8
 %endif
 
 %clean
@@ -155,7 +153,7 @@ rm -rf $RPM_BUILD_ROOT
 %files
 %defattr(644,root,root,755)
 %attr(755,root,root) %{_libdir}/xtables/libxt_*.so
-%{_mandir}/man8/libxt_*.*
+%{_mandir}/man8/xtables-addons.8*
 %endif
 
 %if %{with kernel}
This page took 0.219073 seconds and 4 git commands to generate.