Accepting request 30459 from network:utilities
Copy from network:utilities/ebtables based on submit request 30459 from user prusnak OBS-URL: https://build.opensuse.org/request/show/30459 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/ebtables?expand=0&rev=9
This commit is contained in:
parent
27e8fac5ca
commit
b42540ed20
@ -1,3 +1,10 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Mon Jan 25 23:19:23 CET 2010 - jengelh@medozas.de
|
||||||
|
|
||||||
|
- Switch to SUSE_ASNEEDED=0 to fix segmentation fault/NULL dereference
|
||||||
|
(caused by plugins not being loaded, due to them not being linked in)
|
||||||
|
[bnc#567267]
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Wed Jan 6 13:52:39 CET 2010 - prusnak@suse.cz
|
Wed Jan 6 13:52:39 CET 2010 - prusnak@suse.cz
|
||||||
|
|
||||||
|
@ -22,7 +22,7 @@ Name: ebtables
|
|||||||
License: GPLv2+
|
License: GPLv2+
|
||||||
Group: Productivity/Networking/Security
|
Group: Productivity/Networking/Security
|
||||||
Version: v2.0.9
|
Version: v2.0.9
|
||||||
Release: 1
|
Release: 2
|
||||||
Summary: Ethernet Bridge Tables
|
Summary: Ethernet Bridge Tables
|
||||||
Source: %{name}-%{version}-1.tar.bz2
|
Source: %{name}-%{version}-1.tar.bz2
|
||||||
Patch0: %{name}-v2.0.8-makefile.diff
|
Patch0: %{name}-v2.0.8-makefile.diff
|
||||||
@ -51,6 +51,8 @@ Authors:
|
|||||||
%patch1
|
%patch1
|
||||||
|
|
||||||
%build
|
%build
|
||||||
|
# The way ebtables is built requires ASNEEDED=0 forever [bnc#567267]
|
||||||
|
export SUSE_ASNEEDED=0
|
||||||
# delete all kernel headers, but keep ebt_ip6.h and ebt_nflog.h
|
# delete all kernel headers, but keep ebt_ip6.h and ebt_nflog.h
|
||||||
mv include/linux/netfilter_bridge/ebt_ip6.{h,h.save}
|
mv include/linux/netfilter_bridge/ebt_ip6.{h,h.save}
|
||||||
mv include/linux/netfilter_bridge/ebt_nflog.{h,h.save}
|
mv include/linux/netfilter_bridge/ebt_nflog.{h,h.save}
|
||||||
@ -61,7 +63,7 @@ mv include/linux/netfilter_bridge/ebt_nflog.{h.save,h}
|
|||||||
make \
|
make \
|
||||||
CFLAGS="$RPM_OPT_FLAGS" \
|
CFLAGS="$RPM_OPT_FLAGS" \
|
||||||
CXXFLAGS="$RPM_OPT_FLAGS" \
|
CXXFLAGS="$RPM_OPT_FLAGS" \
|
||||||
LIBDIR=%{_libdir} \
|
LIBDIR=%{_libdir}/%{name} \
|
||||||
MANDIR=%{_mandir} \
|
MANDIR=%{_mandir} \
|
||||||
BINDIR=%{_sbindir} \
|
BINDIR=%{_sbindir} \
|
||||||
ETCDIR=%{_sysconfdir} \
|
ETCDIR=%{_sysconfdir} \
|
||||||
@ -69,11 +71,13 @@ make \
|
|||||||
SYSCONFIGDIR=%{_sysconfdir}
|
SYSCONFIGDIR=%{_sysconfdir}
|
||||||
|
|
||||||
%install
|
%install
|
||||||
|
# The way ebtables is built requires ASNEEDED=0 forever [bnc#567267]
|
||||||
|
export SUSE_ASNEEDED=0
|
||||||
install -d -m 755 $RPM_BUILD_ROOT%{_sbindir}
|
install -d -m 755 $RPM_BUILD_ROOT%{_sbindir}
|
||||||
install -d -m 755 $RPM_BUILD_ROOT%{_sysconfdir}/init.d
|
install -d -m 755 $RPM_BUILD_ROOT%{_sysconfdir}/init.d
|
||||||
make \
|
make \
|
||||||
DESTDIR=$RPM_BUILD_ROOT \
|
DESTDIR=$RPM_BUILD_ROOT \
|
||||||
LIBDIR=%{_libdir} \
|
LIBDIR=%{_libdir}/%{name} \
|
||||||
MANDIR=%{_mandir} \
|
MANDIR=%{_mandir} \
|
||||||
BINDIR=%{_sbindir} \
|
BINDIR=%{_sbindir} \
|
||||||
ETCDIR=%{_sysconfdir} \
|
ETCDIR=%{_sysconfdir} \
|
||||||
@ -103,7 +107,8 @@ rm -rf $RPM_BUILD_ROOT
|
|||||||
%config(noreplace) %{_sysconfdir}/ebtables-config
|
%config(noreplace) %{_sysconfdir}/ebtables-config
|
||||||
%config(noreplace) %{_sysconfdir}/ethertypes
|
%config(noreplace) %{_sysconfdir}/ethertypes
|
||||||
%{_sysconfdir}/init.d/ebtables
|
%{_sysconfdir}/init.d/ebtables
|
||||||
%{_libdir}/*.so
|
%dir %{_libdir}/%{name}
|
||||||
|
%{_libdir}/%{name}/*.so
|
||||||
%{_sbindir}/ebtables
|
%{_sbindir}/ebtables
|
||||||
%{_sbindir}/ebtables-restore
|
%{_sbindir}/ebtables-restore
|
||||||
%{_sbindir}/ebtables-save
|
%{_sbindir}/ebtables-save
|
||||||
|
Loading…
Reference in New Issue
Block a user