|
|
|
@ -2,17 +2,19 @@
|
|
|
|
|
|
|
|
|
|
Summary: Layer 2 Tunnelling Protocol Daemon (RFC 2661)
|
|
|
|
|
Name: xl2tpd
|
|
|
|
|
Version: 1.3.6
|
|
|
|
|
Release: 10%{?dist}
|
|
|
|
|
Version: 1.3.8
|
|
|
|
|
Release: 1%{?dist}
|
|
|
|
|
License: GPL+
|
|
|
|
|
Url: https://github.com/xelerance/%{name}/
|
|
|
|
|
Url: https://github.com/xelerance/xl2tpd/
|
|
|
|
|
Group: System Environment/Daemons
|
|
|
|
|
Source0: https://github.com/xelerance/%{name}/archive/%{commit}/%{name}-%{commit}.tar.gz
|
|
|
|
|
# upstream isn't using proper names, we manually rename v-VERSION.tar.gz to xl2tpd-VERSION.tar.gz
|
|
|
|
|
Source0: https://github.com/xelerance/xl2tpd/archive/xl2tpd-%{version}.tar.gz
|
|
|
|
|
Source1: xl2tpd.service
|
|
|
|
|
Source2: tmpfiles-xl2tpd.conf
|
|
|
|
|
Patch1: xl2tpd-1.3.6-conf.patch
|
|
|
|
|
Patch2: xl2tpd-1.3.6-md5-fips.patch
|
|
|
|
|
Patch3: xl2tpd-1.3.6-saref.patch
|
|
|
|
|
Patch2: xl2tpd-1.3.8-md5-fips.patch
|
|
|
|
|
Patch3: xl2tpd-1.3.8-saref.patch
|
|
|
|
|
Patch4: xl2tpd-1.3.8-kernelmode.patch
|
|
|
|
|
|
|
|
|
|
Requires: ppp >= 2.4.5-18, kmod(l2tp_ppp.ko)
|
|
|
|
|
# If you want to authenticate against a Microsoft PDC/Active Directory
|
|
|
|
@ -50,10 +52,11 @@ Xl2tpd is based on the 0.69 L2TP by Jeff McAdams <jeffm@iglou.com>
|
|
|
|
|
It was de-facto maintained by Jacco de Leeuw <jacco2@dds.nl> in 2002 and 2003.
|
|
|
|
|
|
|
|
|
|
%prep
|
|
|
|
|
%setup -qn %{name}-%{commit}
|
|
|
|
|
%setup
|
|
|
|
|
%patch1 -p1
|
|
|
|
|
%patch2 -p1
|
|
|
|
|
%patch3 -p1
|
|
|
|
|
%patch4 -p1
|
|
|
|
|
|
|
|
|
|
%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"
|
|
|
|
@ -96,7 +99,7 @@ install -p -D -m755 -d %{buildroot}%{_localstatedir}/run/xl2tpd
|
|
|
|
|
/bin/systemctl try-restart xl2tpd.service >/dev/null 2>&1 || :
|
|
|
|
|
|
|
|
|
|
%files
|
|
|
|
|
%doc BUGS CHANGES CREDITS LICENSE README.* TODO doc/rfc2661.txt
|
|
|
|
|
%doc BUGS CHANGES CREDITS LICENSE README.* TODO
|
|
|
|
|
%doc doc/README.patents examples/chapsecrets.sample
|
|
|
|
|
%{_sbindir}/xl2tpd
|
|
|
|
|
%{_sbindir}/xl2tpd-control
|
|
|
|
@ -111,6 +114,10 @@ install -p -D -m755 -d %{buildroot}%{_localstatedir}/run/xl2tpd
|
|
|
|
|
%ghost %attr(0600,root,root) %{_localstatedir}/run/xl2tpd/l2tp-control
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
|
* Wed Aug 24 2016 Paul Wouters <pwouters@redhat.com> - 1.3.8-1
|
|
|
|
|
- Upgraded to 1.3.8 and updated existing patches still required
|
|
|
|
|
- Fix kernel mode breaking the closing tunnels
|
|
|
|
|
|
|
|
|
|
* Fri Feb 05 2016 Fedora Release Engineering <releng@fedoraproject.org> - 1.3.6-10
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|