rpms/iptables/devel iptables.spec,1.58,1.59
Thomas Woerner (twoerner)
fedora-extras-commits at redhat.com
Mon Feb 11 15:17:21 UTC 2008
- Previous message (by thread): rpms/vim/F-8 7.1.212, NONE, 1.1 7.1.213, NONE, 1.1 7.1.214, NONE, 1.1 7.1.215, NONE, 1.1 7.1.216, NONE, 1.1 7.1.217, NONE, 1.1 7.1.218, NONE, 1.1 7.1.219, NONE, 1.1 7.1.220, NONE, 1.1 7.1.221, NONE, 1.1 7.1.222, NONE, 1.1 7.1.223, NONE, 1.1 7.1.224, NONE, 1.1 7.1.225, NONE, 1.1 7.1.226, NONE, 1.1 7.1.227, NONE, 1.1 7.1.228, NONE, 1.1 7.1.229, NONE, 1.1 7.1.230, NONE, 1.1 7.1.231, NONE, 1.1 7.1.232, NONE, 1.1 7.1.233, NONE, 1.1 7.1.234, NONE, 1.1 7.1.235, NONE, 1.1 7.1.236, NONE, 1.1 7.1.237, NONE, 1.1 7.1.238, NONE, 1.1 7.1.239, NONE, 1.1 7.1.240, NONE, 1.1 7.1.241, NONE, 1.1 7.1.242, NONE, 1.1 7.1.243, NONE, 1.1 7.1.244, NONE, 1.1 7.1.245, NONE, 1.1 vim-7.1-ada.patch, NONE, 1.1 README.patches, 1.88, 1.89 vim.spec, 1.180, 1.181
- Next message (by thread): comps comps-f7.xml.in, 1.310, 1.311 comps-f8.xml.in, 1.219, 1.220 comps-f9.xml.in, 1.272, 1.273
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Author: twoerner
Update of /cvs/pkgs/rpms/iptables/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv26172
Modified Files:
iptables.spec
Log Message:
- use nf_ext_init instead of my_init for extension constructors
- use kernel-headers package for KBUILD_OUTPUT
Index: iptables.spec
===================================================================
RCS file: /cvs/pkgs/rpms/iptables/devel/iptables.spec,v
retrieving revision 1.58
retrieving revision 1.59
diff -u -r1.58 -r1.59
--- iptables.spec 11 Feb 2008 13:56:53 -0000 1.58
+++ iptables.spec 11 Feb 2008 15:16:43 -0000 1.59
@@ -64,23 +64,27 @@
# do not use ld -shared and _init
perl -pi -e "s/\(LD\) -shared/\(CC\) -shared/g" Rules.make
-perl -pi -e "s/void _init\(/void __attribute\(\(constructor\)\) my_init\(/g" extensions/*.c
-perl -pi -e "s/^_init\(/__attribute\(\(constructor\)\) my_init\(/g" extensions/*.c
+perl -pi -e "s/void _init\(/void __attribute\(\(constructor\)\) nf_ext_init\(/g" extensions/*.c
+perl -pi -e "s/^_init\(/__attribute\(\(constructor\)\) nf_ext_init\(/g" extensions/*.c
%build
TOPDIR=`pwd`
OPT="$RPM_OPT_FLAGS -I$TOPDIR/include -fPIC"
+export KERNEL_DIR=/usr
+export KBUILD_OUTPUT=/usr
export DO_SELINUX=1
-make COPT_FLAGS="$OPT" KERNEL_DIR=/usr LIBDIR=/%{_lib}
-make COPT_FLAGS="$OPT" KERNEL_DIR=/usr LIBDIR=/%{_lib} iptables-save iptables-restore
-make COPT_FLAGS="$OPT" KERNEL_DIR=/usr LIBDIR=/%{_lib} ip6tables-save ip6tables-restore
+make COPT_FLAGS="$OPT" LIBDIR=/%{_lib}
+make COPT_FLAGS="$OPT" LIBDIR=/%{_lib} iptables-save iptables-restore
+make COPT_FLAGS="$OPT" LIBDIR=/%{_lib} ip6tables-save ip6tables-restore
%install
rm -rf %{buildroot}
+export KERNEL_DIR=/usr
+export KBUILD_OUTPUT=/usr
export DO_SELINUX=1
-make install DESTDIR=%{buildroot} KERNEL_DIR=/usr BINDIR=/sbin LIBDIR=/%{_lib} MANDIR=%{_mandir}
+make install DESTDIR=%{buildroot} BINDIR=/sbin LIBDIR=/%{_lib} MANDIR=%{_mandir}
%if %{build_devel}
-make install-devel DESTDIR=%{buildroot} KERNEL_DIR=/usr BINDIR=/sbin LIBDIR=%{_libdir} MANDIR=%{_mandir}
+make install-devel DESTDIR=%{buildroot} BINDIR=/sbin LIBDIR=%{_libdir} MANDIR=%{_mandir}
%endif
cp ip{6,}tables-{save,restore} $RPM_BUILD_ROOT/sbin
cp iptables-*.8 $RPM_BUILD_ROOT%{_mandir}/man8
@@ -154,6 +158,7 @@
- new version 1.4.0
- fixed condrestart (rhbz#428148)
- report the module in rmmod_r if there is an error
+- use nf_ext_init instead of my_init for extension constructors
* Mon Nov 5 2007 Thomas Woerner <twoerner at redhat.com> 1.3.8-6
- fixed leaked file descriptor before fork/exec (rhbz#312191)
- Previous message (by thread): rpms/vim/F-8 7.1.212, NONE, 1.1 7.1.213, NONE, 1.1 7.1.214, NONE, 1.1 7.1.215, NONE, 1.1 7.1.216, NONE, 1.1 7.1.217, NONE, 1.1 7.1.218, NONE, 1.1 7.1.219, NONE, 1.1 7.1.220, NONE, 1.1 7.1.221, NONE, 1.1 7.1.222, NONE, 1.1 7.1.223, NONE, 1.1 7.1.224, NONE, 1.1 7.1.225, NONE, 1.1 7.1.226, NONE, 1.1 7.1.227, NONE, 1.1 7.1.228, NONE, 1.1 7.1.229, NONE, 1.1 7.1.230, NONE, 1.1 7.1.231, NONE, 1.1 7.1.232, NONE, 1.1 7.1.233, NONE, 1.1 7.1.234, NONE, 1.1 7.1.235, NONE, 1.1 7.1.236, NONE, 1.1 7.1.237, NONE, 1.1 7.1.238, NONE, 1.1 7.1.239, NONE, 1.1 7.1.240, NONE, 1.1 7.1.241, NONE, 1.1 7.1.242, NONE, 1.1 7.1.243, NONE, 1.1 7.1.244, NONE, 1.1 7.1.245, NONE, 1.1 vim-7.1-ada.patch, NONE, 1.1 README.patches, 1.88, 1.89 vim.spec, 1.180, 1.181
- Next message (by thread): comps comps-f7.xml.in, 1.310, 1.311 comps-f8.xml.in, 1.219, 1.220 comps-f9.xml.in, 1.272, 1.273
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the fedora-extras-commits
mailing list