forked from pool/xtables-addons
Accepting request 31770 from Base:System
Copy from Base:System/xtables-addons based on submit request 31770 from user coolo OBS-URL: https://build.opensuse.org/request/show/31770 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/xtables-addons?expand=0&rev=2
This commit is contained in:
parent
76478e4284
commit
051d4cc33f
@ -1,46 +0,0 @@
|
||||
Author: Jan Engelhardt <jengelh@medozas.de>
|
||||
Date: Thu Dec 31 16:37:42 2009 +0100
|
||||
|
||||
geoip: use /usr/share/xt_geoip instead of /var/geoip
|
||||
|
||||
For grand FHS compliance.
|
||||
Plus OpenSUSE instructions.
|
||||
---
|
||||
extensions/libxt_geoip.c | 2 +-
|
||||
extensions/libxt_geoip.man | 11 +++++++----
|
||||
2 files changed, 8 insertions(+), 5 deletions(-)
|
||||
|
||||
Index: xtables-addons-1.21/extensions/libxt_geoip.c
|
||||
===================================================================
|
||||
--- xtables-addons-1.21.orig/extensions/libxt_geoip.c
|
||||
+++ xtables-addons-1.21/extensions/libxt_geoip.c
|
||||
@@ -24,7 +24,7 @@
|
||||
#include <unistd.h>
|
||||
#include <xtables.h>
|
||||
#include "xt_geoip.h"
|
||||
-#define GEOIP_DB_DIR "/var/geoip"
|
||||
+#define GEOIP_DB_DIR "/usr/share/xt_geoip"
|
||||
|
||||
static void geoip_help(void)
|
||||
{
|
||||
Index: xtables-addons-1.21/extensions/libxt_geoip.man
|
||||
===================================================================
|
||||
--- xtables-addons-1.21.orig/extensions/libxt_geoip.man
|
||||
+++ xtables-addons-1.21/extensions/libxt_geoip.man
|
||||
@@ -8,9 +8,12 @@ Match packet going to (one of) the speci
|
||||
.TP
|
||||
NOTE:
|
||||
The country is inputed by its ISO3166 code.
|
||||
-.P
|
||||
-The extra files you will need is the binary database files. They are generated
|
||||
+.PP
|
||||
+The extra files you will need is the binary database files. These are provided
|
||||
+in openSUSE through the "xtables-geoip" package.
|
||||
+.PP
|
||||
+Alternatively, they can be 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 /usr/share/geoip/
|
||||
as the shared library is statically looking for this pathname (e.g.
|
||||
-/var/geoip/LE/de.iv0).
|
||||
+/usr/share/geoip/LE/de.iv0).
|
@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:ebf2bbe07999309b4cb61ac4b58fa3312bb348669ee374c29dd91bd2ebf81285
|
||||
size 366687
|
3
xtables-addons-1.22.tar.bz2
Normal file
3
xtables-addons-1.22.tar.bz2
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:32916dee3da608b554d71e89a9cba74d2078d2be78684ccb6184b2afc8688719
|
||||
size 366217
|
@ -1,3 +1,12 @@
|
||||
-------------------------------------------------------------------
|
||||
Sat Jan 23 02:32:52 CET 2010 - jengelh@medozas.de
|
||||
|
||||
- new upstream release 1.22
|
||||
* ipset: enable build of ip_set_setlist.ko
|
||||
* quota2: add the --no-change mode
|
||||
- remove merged patch geoip-dir.diff (use
|
||||
/usr/share/xt_geoip instead of /var/geoip)
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Dec 31 01:50:38 CET 2009 - jengelh@medozas.de
|
||||
|
||||
|
@ -1,5 +1,5 @@
|
||||
#
|
||||
# spec file for package xtables-addons (Version 1.21)
|
||||
# spec file for package xtables-addons (Version 1.22)
|
||||
#
|
||||
# Copyright (c) 2010 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
||||
#
|
||||
@ -18,7 +18,7 @@
|
||||
|
||||
|
||||
Name: xtables-addons
|
||||
Version: 1.21
|
||||
Version: 1.22
|
||||
Release: 1
|
||||
Group: Productivity/Networking/Security
|
||||
Summary: IP Packet Filter Administration Extensions
|
||||
@ -27,7 +27,6 @@ Url: http://xtables-addons.sf.net/
|
||||
Source: %name-%version.tar.bz2
|
||||
#Git-Clone: git://xtables-addons.git.sf.net/gitroot/xtables-addons/xtables-addons
|
||||
#Git-Web: http://xtables-addons.git.sf.net/
|
||||
Patch1: geoip-dir.diff
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
BuildRequires: %kernel_module_package_buildreqs
|
||||
BuildRequires: iptables-devel >= 1.4.3
|
||||
@ -48,7 +47,6 @@ main kernel/iptables packages.
|
||||
|
||||
%prep
|
||||
%setup -q
|
||||
%patch -P 1 -p1
|
||||
if [ ! -e configure ]; then
|
||||
./autogen.sh;
|
||||
fi;
|
||||
@ -90,4 +88,5 @@ rm -Rf "%buildroot";
|
||||
%_sbindir/*
|
||||
%_libdir/*.so.*
|
||||
%_libexecdir/xtables
|
||||
|
||||
%changelog
|
||||
|
Loading…
Reference in New Issue
Block a user