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
|
||||
|
||||
|
@ -22,7 +22,7 @@ Name: ebtables
|
||||
License: GPLv2+
|
||||
Group: Productivity/Networking/Security
|
||||
Version: v2.0.9
|
||||
Release: 1
|
||||
Release: 2
|
||||
Summary: Ethernet Bridge Tables
|
||||
Source: %{name}-%{version}-1.tar.bz2
|
||||
Patch0: %{name}-v2.0.8-makefile.diff
|
||||
@ -51,6 +51,8 @@ Authors:
|
||||
%patch1
|
||||
|
||||
%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
|
||||
mv include/linux/netfilter_bridge/ebt_ip6.{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 \
|
||||
CFLAGS="$RPM_OPT_FLAGS" \
|
||||
CXXFLAGS="$RPM_OPT_FLAGS" \
|
||||
LIBDIR=%{_libdir} \
|
||||
LIBDIR=%{_libdir}/%{name} \
|
||||
MANDIR=%{_mandir} \
|
||||
BINDIR=%{_sbindir} \
|
||||
ETCDIR=%{_sysconfdir} \
|
||||
@ -69,11 +71,13 @@ make \
|
||||
SYSCONFIGDIR=%{_sysconfdir}
|
||||
|
||||
%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%{_sysconfdir}/init.d
|
||||
make \
|
||||
DESTDIR=$RPM_BUILD_ROOT \
|
||||
LIBDIR=%{_libdir} \
|
||||
LIBDIR=%{_libdir}/%{name} \
|
||||
MANDIR=%{_mandir} \
|
||||
BINDIR=%{_sbindir} \
|
||||
ETCDIR=%{_sysconfdir} \
|
||||
@ -103,7 +107,8 @@ rm -rf $RPM_BUILD_ROOT
|
||||
%config(noreplace) %{_sysconfdir}/ebtables-config
|
||||
%config(noreplace) %{_sysconfdir}/ethertypes
|
||||
%{_sysconfdir}/init.d/ebtables
|
||||
%{_libdir}/*.so
|
||||
%dir %{_libdir}/%{name}
|
||||
%{_libdir}/%{name}/*.so
|
||||
%{_sbindir}/ebtables
|
||||
%{_sbindir}/ebtables-restore
|
||||
%{_sbindir}/ebtables-save
|
||||
|
Loading…
Reference in New Issue
Block a user