Browse Source

xl2tpd-1.3.13-1

Tomohiro "Tomo-p" KATO 5 years ago
parent
commit
2edbcf03ad
1 changed files with 11 additions and 3 deletions
  1. 11 3
      x/xl2tpd/xl2tpd-vl.spec

+ 11 - 3
x/xl2tpd/xl2tpd-vl.spec

@@ -2,13 +2,17 @@
 
 Summary: Layer 2 Tunnelling Protocol Daemon (RFC 2661)
 Name: xl2tpd
-Version: 1.3.10.1
+Version: 1.3.13
 Release: 1%{?_dist_release}
 # No version specified.
 License: GPL+
 Url: http://www.xelerance.com/software/xl2tpd/
 Group: System Environment/Daemons
 Source0: https://github.com/xelerance/xl2tpd/archive/v%{version}.tar.gz#/xl2tpd-%{version}.tar.gz
+
+Patch1: 0001-fix-ppp-options.patch
+Patch2: 0002-fix-initscript.patch
+
 BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 Requires: ppp 
 BuildRequires: libpcap-devel
@@ -47,7 +51,7 @@ 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 -q -n %{src_dir_name}
+%autosetup -p1 -n %{src_dir_name}
 
 %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"
@@ -82,7 +86,8 @@ fi
 
 %files
 %defattr(-,root,root)
-%doc BUGS CHANGES CREDITS LICENSE README* TODO
+%license LICENSE
+%doc BUGS CHANGES CREDITS README* TODO
 %doc doc/README.patents examples/chapsecrets.sample
 %{_sbindir}/xl2tpd
 %{_sbindir}/xl2tpd-control
@@ -96,6 +101,9 @@ fi
 %ghost %attr(0600,root,root) %{_localstatedir}/run/xl2tpd/l2tp-control
 
 %changelog
+* Sat Jan 26 2019 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 1.3.13-1
+- new upstream release.
+
 * Tue Dec 19 2017 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 1.3.10.1-1
 - new upstream release.