|
|
@ -3,7 +3,7 @@
|
|
|
|
Summary: Layer 2 Tunnelling Protocol Daemon (RFC 2661)
|
|
|
|
Summary: Layer 2 Tunnelling Protocol Daemon (RFC 2661)
|
|
|
|
Name: xl2tpd
|
|
|
|
Name: xl2tpd
|
|
|
|
Version: 1.3.6
|
|
|
|
Version: 1.3.6
|
|
|
|
Release: 6%{?dist}
|
|
|
|
Release: 7%{?dist}
|
|
|
|
License: GPL+
|
|
|
|
License: GPL+
|
|
|
|
Url: https://github.com/xelerance/%{name}/
|
|
|
|
Url: https://github.com/xelerance/%{name}/
|
|
|
|
Group: System Environment/Daemons
|
|
|
|
Group: System Environment/Daemons
|
|
|
@ -58,7 +58,7 @@ It was de-facto maintained by Jacco de Leeuw <jacco2@dds.nl> in 2002 and 2003.
|
|
|
|
%build
|
|
|
|
%build
|
|
|
|
#make DFLAGS="$RPM_OPT_FLAGS -g -DDEBUG_HELLO -DDEBUG_CLOSE -DDEBUG_FLOW -DDEBUG_PAYLOAD -DDEBUG_CONTROL -DDEBUG_CONTROL_XMIT -DDEBUG_FLOW_MORE -DDEBUG_MAGIC -DDEBUG_ENTROPY -DDEBUG_HIDDEN -DDEBUG_PPPD -DDEBUG_AAA -DDEBUG_FILE -DDEBUG_FLOW -DDEBUG_HELLO -DDEBUG_CLOSE -DDEBUG_ZLB -DDEBUG_AUTH"
|
|
|
|
#make DFLAGS="$RPM_OPT_FLAGS -g -DDEBUG_HELLO -DDEBUG_CLOSE -DDEBUG_FLOW -DDEBUG_PAYLOAD -DDEBUG_CONTROL -DDEBUG_CONTROL_XMIT -DDEBUG_FLOW_MORE -DDEBUG_MAGIC -DDEBUG_ENTROPY -DDEBUG_HIDDEN -DDEBUG_PPPD -DDEBUG_AAA -DDEBUG_FILE -DDEBUG_FLOW -DDEBUG_HELLO -DDEBUG_CLOSE -DDEBUG_ZLB -DDEBUG_AUTH"
|
|
|
|
|
|
|
|
|
|
|
|
export CFLAGS="$CFLAGS -fPIC -Wall"
|
|
|
|
export CFLAGS="$CFLAGS -fPIC -Wall -DTRUST_PPPD_TO_DIE"
|
|
|
|
export DFLAGS="$RPM_OPT_FLAGS -g "
|
|
|
|
export DFLAGS="$RPM_OPT_FLAGS -g "
|
|
|
|
export LDFLAGS="$LDFLAGS -pie -Wl,-z,relro -Wl,-z,now"
|
|
|
|
export LDFLAGS="$LDFLAGS -pie -Wl,-z,relro -Wl,-z,now"
|
|
|
|
make
|
|
|
|
make
|
|
|
@ -111,6 +111,9 @@ install -p -D -m755 -d %{buildroot}%{_localstatedir}/run/xl2tpd
|
|
|
|
%ghost %attr(0600,root,root) %{_localstatedir}/run/xl2tpd/l2tp-control
|
|
|
|
%ghost %attr(0600,root,root) %{_localstatedir}/run/xl2tpd/l2tp-control
|
|
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
%changelog
|
|
|
|
|
|
|
|
* Tue Mar 31 2015 Paul Wouters <pwouters@redhat.com> - 1.3.6-7
|
|
|
|
|
|
|
|
- Rebuild with -DTRUST_PPPD_TO_DIE so pppd will execute its down script
|
|
|
|
|
|
|
|
|
|
|
|
* Thu Aug 21 2014 Kevin Fenzi <kevin@scrye.com> - 1.3.6-6
|
|
|
|
* Thu Aug 21 2014 Kevin Fenzi <kevin@scrye.com> - 1.3.6-6
|
|
|
|
- Rebuild for rpm bug 1131960
|
|
|
|
- Rebuild for rpm bug 1131960
|
|
|
|
|
|
|
|
|
|
|
|