commit 05c5f210dbd8280688c3d84d225790a4f6b3689a
Author: Robert-André Mauchin <zebob.m(a)gmail.com>
Date: Tue Apr 2 18:28:04 2019 +0200
Release 3.3
Signed-off-by: Robert-André Mauchin <zebob.m(a)gmail.com>
sources | 2 +-
xtables-addons-kmod.spec | 42 +++++++++++++++++++++++-------------------
2 files changed, 24 insertions(+), 20 deletions(-)
---
diff --git a/sources b/sources
index 31ebf59..41f7724 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-80ea89ba8d5a001a8d71c7f05b2f0141 xtables-addons-3.2.tar.xz
+e99ea681b7b3866a581390e1b3ea185e xtables-addons-3.3.tar.xz
diff --git a/xtables-addons-kmod.spec b/xtables-addons-kmod.spec
index 42bca70..de7946c 100644
--- a/xtables-addons-kmod.spec
+++ b/xtables-addons-kmod.spec
@@ -8,56 +8,60 @@
%global debug_package %{nil}
%endif
-Name: xtables-addons-kmod
-Summary: Kernel module (kmod) for xtables-addons
-Version: 3.2
-Release: 2%{?dist}
-License: GPLv2
-URL:
http://xtables-addons.sourceforge.net
-Source0:
http://dl.sourceforge.net/xtables-addons/Xtables-addons/xtables-addons-%{...
-#Source11: xtables-addons-kmodtool-excludekernel-filterfile
-# get the needed BuildRequires (in parts depending on what we build for)
-BuildRequires: %{_bindir}/kmodtool
+Name: xtables-addons-kmod
+Summary: Kernel module (kmod) for xtables-addons
+Version: 3.3
+Release: 1%{?dist}
+License: GPLv2
+URL:
http://xtables-addons.sourceforge.net
+Source0:
http://dl.sourceforge.net/xtables-addons/Xtables-addons/xtables-addons-%{...
+
+
+BuildRequires: %{_bindir}/kmodtool
%{!?kernels:BuildRequires:
buildsys-build-rpmfusion-kerneldevpkgs-%{?buildforkernels:%{buildforkernels}}%{!?buildforkernels:current}-%{_target_cpu}
}
# kmodtool does its magic here
%{expand:%(kmodtool --target %{_target_cpu} --repo rpmfusion --kmodname %{name}
%{?buildforkernels:--%{buildforkernels}} %{?kernels:--for-kernels "%{?kernels}"}
2>/dev/null) }
%description
-Xtables-addons provides extra modules for iptables not present in the kernel,
-and is the successor of patch-o-matic. Extensions includes new targets like
+Xtables-addons provides extra modules for iptables not present in the kernel,
+and is the successor of patch-o-matic. Extensions includes new targets like
TEE, TARPIT, CHAOS, or modules like geoip, ipset, and account.
-This package provides the xtables-addons kernel modules. You must also install
+This package provides the xtables-addons kernel modules. You must also install
the xtables-addons package in order to make use of these modules.
%prep
# error out if there was something wrong with kmodtool
%{?kmodtool_check}
+
# print kmodtool output for debugging purposes:
kmodtool --target %{_target_cpu} --repo rpmfusion --kmodname %{name}
%{?buildforkernels:--%{buildforkernels}} %{?kernels:--for-kernels "%{?kernels}"}
2>/dev/null
-%setup -q -c -T -a 0
+%autosetup -c -T -a 0
for kernel_version in %{?kernel_versions} ; do
- cp -a xtables-addons-%{version} _kmod_build_${kernel_version%%___*}
+ cp -a xtables-addons-%{version} _kmod_build_${kernel_version%%___*}
done
%build
for kernel_version in %{?kernel_versions} ; do
- export XA_ABSTOPSRCDIR=${PWD}/_kmod_build_${kernel_version%%___*}
- make %{?_smp_mflags} V=1 -C "${kernel_version##*___}"
M=${PWD}/_kmod_build_${kernel_version%%___*}/extensions modules
+ export XA_ABSTOPSRCDIR=${PWD}/_kmod_build_${kernel_version%%___*}
+ make %{?_smp_mflags} V=1 -C "${kernel_version##*___}"
M=${PWD}/_kmod_build_${kernel_version%%___*}/extensions modules
done
%install
for kernel_version in %{?kernel_versions} ; do
- export XA_ABSTOPSRCDIR=${PWD}/_kmod_build_${kernel_version%%___*}
- make %{?_smp_mflags} V=1 -C "${kernel_version##*___}"
M=${PWD}/_kmod_build_${kernel_version%%___*}/extensions _emodinst_
INSTALL_MOD_PATH=%{buildroot}%{_prefix} ext-mod-dir=%{kmodinstdir_postfix}
+ export XA_ABSTOPSRCDIR=${PWD}/_kmod_build_${kernel_version%%___*}
+ make %{?_smp_mflags} V=1 -C "${kernel_version##*___}"
M=${PWD}/_kmod_build_${kernel_version%%___*}/extensions _emodinst_
INSTALL_MOD_PATH=%{buildroot}%{_prefix} ext-mod-dir=%{kmodinstdir_postfix}
done
%{?akmod_install}
%changelog
+* Tue Apr 02 18:13:44 CET 2019 Robert-André Mauchin <zebob.m(a)gmail.com>- 3.3-1
+- Release 3.3
+
* Tue Mar 05 2019 RPM Fusion Release Engineering <leigh123linux(a)gmail.com> - 3.2-2
- Rebuilt for
https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild