From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.2.5 (2008-06-10) on sa.int.altlinux.org X-Spam-Level: X-Spam-Status: No, score=-0.1 required=5.0 tests=AWL,BAYES_00, DNS_FROM_OPENWHOIS,MIME_BASE64_TEXT autolearn=no version=3.2.5 From: Sergei Epiphanov Organization: OKSAT To: ALT Linux Sisyphus discussions Date: Wed, 13 Oct 2010 15:02:51 +0400 User-Agent: KMail/1.13.5 (Linux/2.6.32-std-def-alt21.1; KDE/4.5.1; i686; ; ) References: <182e42ce21718dec7a714c2e128f3728.squirrel@mail.gauss.com.ua> <201010131402.32709.serpiph@nikiet.ru> In-Reply-To: MIME-Version: 1.0 Content-Type: Multipart/Mixed; boundary="Boundary-00=_cHZtMUxE7kyqUo2" Message-Id: <201010131502.52448.serpiph@nikiet.ru> X-SpamTest-Version: SMTP-Filter Version 3.0.0 [0284], KAS30/Release X-SpamTest-Info: Not protected X-Anti-Virus: Kaspersky Anti-Virus for Linux Mail Server 5.6.39/RELEASE, bases: 20101013 #4200120, check: 20101013 clean X-Synonym: Copied by Synonym (http://www.modulo.ro/synonym) to: mailcopy Subject: Re: [sisyphus] iptables X-BeenThere: sisyphus@lists.altlinux.org X-Mailman-Version: 2.1.12 Precedence: list Reply-To: ALT Linux Sisyphus discussions List-Id: ALT Linux Sisyphus discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 13 Oct 2010 11:05:22 -0000 Archived-At: List-Archive: List-Post: --Boundary-00=_cHZtMUxE7kyqUo2 Content-Type: Text/Plain; charset="windows-1251" Content-Transfer-Encoding: base64 wiDx7u7h+eXt6Ogg7vIgMTMg7ury/+Hw/yAyMDEwIDE0OjIyOjEzIODi8u7wIFZpY3RvciBGb3Jz aXVrIO3g7+jx4Os6Cj4gwOry8+Dr/O3g/yDi5fDx6P8g8eXp9+DxIDEuMzAuINLu6/zq7iDg9PTy 4PAg4PD16OL7IO3g9+DrIOfg9+XsLfLuIO/g6u7i4PL8Cj4geHouLi4gOi1cCgrM7eUg6OcgZ2l0 LeAg8eXp9+DxIPHr7ubt7iDn4OHw4PL8IPfy7iDh+yDy7iDt6CDh++vuLiDC7vIg5Ov/IDEuMzAg 6Ofs5e3l7ej/LgoKLS0gCtEg8+Lg5uXt6OXsLCDF7+j04O3u4iDR5fDj5ekK --Boundary-00=_cHZtMUxE7kyqUo2 Content-Type: text/x-rpm-spec; charset="cp 1251"; name="xtables-addons.spec" Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename="xtables-addons.spec" Name: xtables-addons Version: 1.30 Release: alt1 Summary: IP tables addons Group: System/Kernel and hardware URL: http://xtables-addons.sourceforge.net/ License: GPLv2 Source0: %name-%version.tar.bz2 Patch1: %name-1.30.patch BuildRequires(pre): kernel-build-tools BuildRequires: iptables-devel >= 1.4.3 Requires: iptables Packager: Sergei Epiphanov %description Additional modules for iptables %package -n kernel-source-%name Summary: xtables module sources Group: Development/Kernel %description -n kernel-source-%name XTable addons module sources for Linux kernel. %prep %setup -q %patch1 -p1 autoreconf -fisv %configure --libdir=/%_lib --with-kbuild=no --with-xtlibdir=/%_lib/iptables %build %make %install %make_install install DESTDIR=%buildroot tar -xjf %SOURCE0 mv %name-%version/extensions kernel-source-%name-%version cp mconfig kernel-source-%name-%version/mconfig cp kernel-source-%name-%version/Mbuild kernel-source-%name-%version/Makefile tar -cjf kernel-source-%name-%version.tar.bz2 kernel-source-%name-%version rm -rf kernel-source-%name-%version rm -rf %name-%version install -m644 -pD kernel-source-%name-%version.tar.bz2 %kernel_srcdir/kernel-source-%name-%version.tar.bz2 mv geoip/geoip* . #Remove these files due to iptables and ipset packages rm -f %buildroot/%_lib/iptables/libipset_* rm -f %buildroot/%_lib/iptables/libxt_TEE.so rm -f %buildroot%_sbindir/ipset rm -f %buildroot%_man8dir/ipset* %files %doc README geoip_build_db.pl geoip_download.sh %_sbindir/* %attr(0755,-,-) /%_lib/*.so* /%_lib/iptables/*.so* %_man8dir/* %files -n kernel-source-%name %kernel_src/* %changelog * Wed Oct 13 2010 Sergei Epiphanov 1.30-alt1 - Version 1.30 * Wed Oct 13 2010 Sergei Epiphanov 1.26-alt1 - Initial release for Sisyphus --Boundary-00=_cHZtMUxE7kyqUo2 Content-Type: text/x-rpm-spec; charset="cp 1251"; name="kernel-modules-xtables-addons.spec" Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename="kernel-modules-xtables-addons.spec" %define module_name xtables-addons %define module_version 1.30 %define kversion 2.6.32 %define krelease alt21.1 %define flavour std-def %define module_release alt1 Packager: Sergei Epiphanov Name: kernel-modules-%module_name-%flavour Version: %module_version Release: %module_release.132640.21.1 %define module_dir /lib/modules/%kversion-%flavour-%krelease/kernel/net/netfilter/ Group: System/Kernel and hardware Summary: %module_name kernel module for submount URL: http://xtables-addons.sourceforge.net/ License: GPL ExclusiveOS: Linux BuildRequires: kernel-build-tools >= 0.7 BuildRequires: kernel-headers-modules-%flavour = %kversion-%krelease BuildRequires: kernel-source-%module_name = %module_version BuildRequires: rpm-build-licenses ExclusiveArch: %ix86 x86_64 Provides: kernel-modules-%module_name-%kversion-%flavour-%krelease = %version-%release Conflicts: kernel-modules-%module_name-%kversion-%flavour-%krelease < %version-%release Conflicts: kernel-modules-%module_name-%kversion-%flavour-%krelease > %version-%release Prereq: coreutils Prereq: kernel-image-%flavour = %kversion-%krelease Requires(postun): kernel-image-%flavour = %kversion-%krelease %description Xtables-addons is the proclaimed successor to patch-o-matic(-ng). It contains extensions that were not accepted in the main Xtables package. Xtables-addons is different from patch-o-matic in that you do not have to patch or recompile either kernel or Xtables(iptables). But please see the INSTALL file for the minimum requirements of this package. All code imported from patch-o-matic has been reviewed and all apparent bugs like binary stability across multiarches, missing sanity checks and incorrect endianess handling have been fixed, simplified, and sped up. %prep rm -rf kernel-source-%module_name-%{module_version}* tar xjf %kernel_src/kernel-source-%module_name-%module_version.tar.* %setup -D -T -n kernel-source-%module_name-%module_version %build . %_usrsrc/linux-%kversion-%flavour/gcc_version.inc %make -C %_usrsrc/linux-%kversion-%flavour TEMP_DIR=$(pwd) V=1 SUBDIRS=$(pwd) XA_ABSTOPSRCDIR=`pwd` modules %install mkdir -p %buildroot/%module_dir/ install -pD -m 0644 *.ko %buildroot/%module_dir/ #Remove not used modules rm -f %buildroot/%module_dir/xt_TEE.ko %post %post_kernel_modules %kversion-%flavour-%krelease %postun %postun_kernel_modules %kversion-%flavour-%krelease %files #dir #module_dir %module_dir/* %changelog * Wed Oct 13 2010 Sergei Epiphanov 1.30-alt1.132640.21.1 - New version 1.30 * Wed Oct 13 2010 Sergei Epiphanov 1.26-alt1.132640.21.1 - Initial release for Sisyphus --Boundary-00=_cHZtMUxE7kyqUo2 Content-Type: text/x-patch; charset="cp 1251"; name="xtables-addons-1.30.patch" Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename="xtables-addons-1.30.patch" diff -Naur xtables-addons-1.30.orig/Makefile.am xtables-addons-1.30/Makefile.am --- xtables-addons-1.30.orig/Makefile.am 2010-10-13 13:41:04.000000000 +0400 +++ xtables-addons-1.30/Makefile.am 2010-10-13 14:55:28.223967720 +0400 @@ -1,7 +1,7 @@ # -*- Makefile -*- ACLOCAL_AMFLAGS = -I m4 -SUBDIRS = extensions geoip +SUBDIRS = extensions man_MANS := xtables-addons.8 --Boundary-00=_cHZtMUxE7kyqUo2--