Skip to content

Commit

Permalink
Merge 1.3.11 branch to master
Browse files Browse the repository at this point in the history
  • Loading branch information
shussain committed Mar 6, 2018
2 parents 030f8fe + 09d3573 commit 00bb68b
Show file tree
Hide file tree
Showing 12 changed files with 51 additions and 91 deletions.
17 changes: 12 additions & 5 deletions CHANGES
Original file line number Diff line number Diff line change
@@ -1,3 +1,10 @@
v1.3.11rc1 (February 21, 2018)
* Build packages for Xenial by default (Simon Deziel)
* Bump d/compat to 9 (Simon Deziel)
* Drop d/repack.sh script and refresh d/watch (Simon Deziel)
* Refresh d/control by partly sync'ing from Debian (Simon Deziel)
* Use HTTPS URL in d/copyright (Simon Deziel)

v1.3.10.1 (November 16, 2017)
* Have max retries as a configuration [Samir Hussain]
* Add more into to "select timeout" debug message [Samir Hussain]
Expand Down Expand Up @@ -198,7 +205,7 @@ v1.2.7
v1.2.6
* Partial fix for compiling on OpenBSD [synapse]
* add missing setting of logopen=1 in init_log() [Shingo Yamawaki]
* xltpd could deadlock on syslog() call in signal handler [Bart Trojanowski]
* xltpd could deadlock on syslog() call in signal handler [Bart Trojanowski]
* fix fedora/centos spec file [Paul]

v1.2.5
Expand All @@ -214,14 +221,14 @@ v1.2.4
* Workaround for broken kernels that send duplicate pids to waitpid()
See: https://bugzilla.redhat.com/show_bug.cgi?id=486945 [Mika / Tuomo]
* Fix pppd option from legacy -detach to nodetach [Tuomo]

v1.2.3
* Fixes for prefix/destdir and spec files [paul/tuomo]
* Use pcap not pcap-devel on suse, rhel and centos [paul/tuomo/shingo]
* Added pfc to contrib. pfc is a tool to compile active-filters
for pppd, which can be used for dial-on-demand filters [paul/roberto]
* Bug tracker bugs fixed
# 998: xl2tpd-1.2.2 Makefile sets wrong path for mandir
# 998: xl2tpd-1.2.2 Makefile sets wrong path for mandir

v1.2.2
* PPP CHAP authentication using plugin passwordfd.so failed [[email protected]]
Expand All @@ -244,7 +251,7 @@ v1.2.0

v1.1.12
* Fix for dropped packets and wrong disconnects. [Ray Overland / Tuomo]
* Included debian directory from Roberto C. Sanchez <[email protected]>
* Included debian directory from Roberto C. Sanchez <[email protected]>

v1.1.11
* Support for passwordfd when using xl2tpd as client.
Expand Down Expand Up @@ -322,7 +329,7 @@ v1.01
v1.00
* First version managed by Xelerance, called xl2tpd.
* If we aren't deamonized, then log to stderr.
* added install: and DESTDIR support
* added install: and DESTDIR support

0.70
--
Expand Down
2 changes: 1 addition & 1 deletion debian/changelog
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
xl2tpd (XL2TPDBASEVERSION-0xelerance1) trusty; urgency=low
xl2tpd (XL2TPDBASEVERSION-0ubuntu0.16.04xelerance1) xenial; urgency=low

* Update to XL2TPDBASEVERSION

Expand Down
2 changes: 1 addition & 1 deletion debian/compat
Original file line number Diff line number Diff line change
@@ -1 +1 @@
7
9
6 changes: 3 additions & 3 deletions debian/control
Original file line number Diff line number Diff line change
Expand Up @@ -5,13 +5,13 @@ Maintainer: Simon Deziel <[email protected]>
Homepage: https://www.xelerance.com/software/xl2tpd/
Vcs-Browser: https://github.com/xelerance/xl2tpd
Vcs-Git: git://github.com/xelerance/xl2tpd.git
Build-Depends: debhelper (>= 7.0.8), libpcap0.8-dev
Standards-Version: 3.9.5
Build-Depends: debhelper (>= 9.20120115), libpcap0.8-dev
Standards-Version: 3.9.8

Package: xl2tpd
Architecture: any
Provides: l2tpd
Depends: ${shlibs:Depends}, ${misc:Depends}, ppp
Depends: ${shlibs:Depends}, ${misc:Depends}, ppp, lsb-base (>= 3.0-6)
Description: layer 2 tunneling protocol implementation
xl2tpd is an open source implementation of the L2TP tunneling
protocol (RFC2661). xl2tpd is forked from l2tpd and is maintained by
Expand Down
2 changes: 1 addition & 1 deletion debian/copyright
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
Source: https://github.com/xelerance/xl2tpd

Files: *
Expand Down
41 changes: 0 additions & 41 deletions debian/repack.sh

This file was deleted.

12 changes: 3 additions & 9 deletions debian/watch
Original file line number Diff line number Diff line change
@@ -1,9 +1,3 @@
# The uversionmangle option separates consecutive digits in the version string
# with a period. The reason for this is that in the past, upstream used
# version numbers like 1.00, 1.00, and 1.1.08. For some time now they have
# switched to a more "standard" 1.2.8, 1.3.0, 1.3.1, and so forth, versioning
# scheme.

version=3
opts="dversionmangle=s/\+dfsg//,uversionmangle=s/(\d)(\d)/\1\.\2/g" https://github.com/xelerance/xl2tpd/tags .*/v?(\d[\d\.]+)\.(?:tgz|tbz2|txz|tar\.(?:gz|bz2|xz)) debian debian/repack.sh

version=4
opts=filenamemangle=s/.+\/v?(\d\S+)\.tar\.gz/xl2tpd-$1\.tar\.gz/ \
https://github.com/xelerance/xl2tpd/tags .*/v?(\d\S+)\.tar\.gz
8 changes: 4 additions & 4 deletions l2tp.h
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ typedef unsigned long long _u64;
#define CONTROL_PIPE_REQ_LNS_REMOVE 'w' /* Get status of LNS */

#define BINARY "xl2tpd"
#define SERVER_VERSION "xl2tpd-1.3.10.1"
#define SERVER_VERSION "xl2tpd-1.3.11rc1"
#define VENDOR_NAME "xelerance.com"
#ifndef PPPD
#define PPPD "/usr/sbin/pppd"
Expand All @@ -82,7 +82,7 @@ struct control_hdr
#define CLBIT(ver) (ver & 0x4000) /* Length bit present. Must be 1
for control messages */

#define CZBITS(ver) (ver &0x37F8) /* Reserved bits: We must drop
#define CZBITS(ver) (ver &0x37F8) /* Reserved bits: We must drop
anything with these there */

#define CFBIT(ver) (ver & 0x0800) /* Presence of Ns and Nr fields
Expand Down Expand Up @@ -116,7 +116,7 @@ struct payload_hdr
#define DEFAULT_MAX_RETRIES 95 /* give us more time to debug */
#endif

#define DEFAULT_RWS_SIZE 4 /* Default max outstanding
#define DEFAULT_RWS_SIZE 4 /* Default max outstanding
control packets in queue */
#define DEFAULT_TX_BPS 10000000 /* For outgoing calls, report this speed */
#define DEFAULT_RX_BPS 10000000
Expand Down Expand Up @@ -251,7 +251,7 @@ extern int get_entropy (unsigned char *, int);
#endif


/*
/*
* This is just some stuff to take
* care of kernel definitions
*/
Expand Down
18 changes: 9 additions & 9 deletions packaging/fedora/xl2tpd.spec
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
Summary: Layer 2 Tunnelling Protocol Daemon (RFC 2661)
Name: xl2tpd
Version: 1.3.10.1
Version: 1.3.11rc1
Release: 1%{?dist}
License: GPLv2
Url: http://www.xelerance.com/software/xl2tpd/
Group: System Environment/Daemons
Source0: https://github.com/xelerance/xl2tpd/archive/v%{version}.tar.gz
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
Requires: ppp
Requires: ppp
BuildRequires: kernel-headers => 2.6.23
%if 0%{?el3}%{?el4}
BuildRequires: libpcap
Expand Down Expand Up @@ -80,7 +80,7 @@ then
mv /etc/ppp/options.l2tpd /etc/ppp/options.xl2tpd
mv /etc/xl2tpd/l2tp-secrets /etc/xl2tpd/l2tpd-secrets.rpmsave
cp -pa /etc/l2tpd/l2tp-secrets /etc/xl2tpd/l2tp-secrets

fi


Expand Down Expand Up @@ -168,10 +168,10 @@ fi

* Sat Jun 4 2005 Jacco de Leeuw <[email protected]>
- l2tpd.org has been hijacked. Project moved back to SourceForge:
http://l2tpd.sourceforge.net
http://l2tpd.sourceforge.net

* Tue May 3 2005 Jacco de Leeuw <[email protected]>
- Small Makefile fixes. Explicitly use gcc instead of cc.
- Small Makefile fixes. Explicitly use gcc instead of cc.
Network services library was not linked on Solaris due to typo.

* Thu Mar 17 2005 Jacco de Leeuw <[email protected]> 0.69-11jdl
Expand All @@ -180,7 +180,7 @@ fi

* Fri Feb 4 2005 Jacco de Leeuw <[email protected]>
- Added code from Roaring Penguin (rp-l2tp) to support SysV-style ptys.
Requires the N_HDLC kernel module.
Requires the N_HDLC kernel module.

* Fri Nov 26 2004 Jacco de Leeuw <[email protected]>
- Updated the README.
Expand Down Expand Up @@ -236,7 +236,7 @@ fi
- Renamed the example Openswan .conf files to better reflect
the situation. There are two variants using different portselectors.
Previously I thought Windows 2000/XP used portselector 17/0
and the rest used 17/1701. But with the release of an updated
and the rest used 17/1701. But with the release of an updated
IPsec client by Microsoft, it turns out that 17/0 must have
been a mistake: the updated client now also uses 17/1701.

Expand All @@ -250,7 +250,7 @@ fi

* Thu Mar 6 2003 Jacco de Leeuw <[email protected]> 0.69-5jdl
- Replaced Dominique's patch by Damion de Soto's, which does not
depend on the N_HDLC kernel module.
depend on the N_HDLC kernel module.

* Wed Feb 26 2003 Jacco de Leeuw <[email protected]> 0.69-4jdl
- Seperate example config files for Win9x (MSL2TP) and Win2K/XP
Expand Down Expand Up @@ -284,7 +284,7 @@ fi
- Specfile adapted from Mandrake Cooker. The original RPM can be
retrieved through:
http://www.rpmfind.net/linux/rpm2html/search.php?query=l2tpd
- Config path changed from /etc/l2tp/ to /etc/l2tpd/
- Config path changed from /etc/l2tp/ to /etc/l2tpd/
(Seems more logical and rp-l2tp already uses /etc/l2tp/).
- Do not run at boot or install. The original RPM uses a config file
which is completely commented out, but it still starts l2tpd on all
Expand Down
2 changes: 1 addition & 1 deletion packaging/openwrt/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
include $(TOPDIR)/rules.mk

PKG_NAME:=xl2tpd
PKG_VERSION:=1.3.10.1
PKG_VERSION:=1.3.11rc1
PKG_RELEASE:=1
PKG_MD5SUM:=ab5656eb5a3d1973f7f69b039675332e-NEEDSUPDATING

Expand Down
16 changes: 8 additions & 8 deletions packaging/suse/sles10.spec
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
Summary: Layer 2 Tunnelling Protocol Daemon (RFC 2661)
Name: xl2tpd
Version: 1.3.10.1
Version: 1.3.11rc1
Release: 1%{?dist}
License: GPLv2
Url: http://www.xelerance.com/software/xl2tpd/
Expand Down Expand Up @@ -73,7 +73,7 @@ then
mv /etc/ppp/options.l2tpd /etc/ppp/options.xl2tpd
mv /etc/xl2tpd/l2tp-secrets /etc/xl2tpd/l2tpd-secrets.rpmsave
cp -pa /etc/l2tpd/l2tp-secrets /etc/xl2tpd/l2tp-secrets

fi


Expand Down Expand Up @@ -162,10 +162,10 @@ exit 0

* Sat Jun 4 2005 Jacco de Leeuw <[email protected]>
- l2tpd.org has been hijacked. Project moved back to SourceForge:
http://l2tpd.sourceforge.net
http://l2tpd.sourceforge.net

* Tue May 3 2005 Jacco de Leeuw <[email protected]>
- Small Makefile fixes. Explicitly use gcc instead of cc.
- Small Makefile fixes. Explicitly use gcc instead of cc.
Network services library was not linked on Solaris due to typo.

* Thu Mar 17 2005 Jacco de Leeuw <[email protected]> 0.69-11jdl
Expand All @@ -174,7 +174,7 @@ exit 0

* Fri Feb 4 2005 Jacco de Leeuw <[email protected]>
- Added code from Roaring Penguin (rp-l2tp) to support SysV-style ptys.
Requires the N_HDLC kernel module.
Requires the N_HDLC kernel module.

* Fri Nov 26 2004 Jacco de Leeuw <[email protected]>
- Updated the README.
Expand Down Expand Up @@ -230,7 +230,7 @@ exit 0
- Renamed the example Openswan .conf files to better reflect
the situation. There are two variants using different portselectors.
Previously I thought Windows 2000/XP used portselector 17/0
and the rest used 17/1701. But with the release of an updated
and the rest used 17/1701. But with the release of an updated
IPsec client by Microsoft, it turns out that 17/0 must have
been a mistake: the updated client now also uses 17/1701.

Expand All @@ -244,7 +244,7 @@ exit 0

* Thu Mar 6 2003 Jacco de Leeuw <[email protected]> 0.69-5jdl
- Replaced Dominique's patch by Damion de Soto's, which does not
depend on the N_HDLC kernel module.
depend on the N_HDLC kernel module.

* Wed Feb 26 2003 Jacco de Leeuw <[email protected]> 0.69-4jdl
- Seperate example config files for Win9x (MSL2TP) and Win2K/XP
Expand Down Expand Up @@ -278,7 +278,7 @@ exit 0
- Specfile adapted from Mandrake Cooker. The original RPM can be
retrieved through:
http://www.rpmfind.net/linux/rpm2html/search.php?query=l2tpd
- Config path changed from /etc/l2tp/ to /etc/l2tpd/
- Config path changed from /etc/l2tp/ to /etc/l2tpd/
(Seems more logical and rp-l2tp already uses /etc/l2tp/).
- Do not run at boot or install. The original RPM uses a config file
which is completely commented out, but it still starts l2tpd on all
Expand Down
16 changes: 8 additions & 8 deletions packaging/suse/xl2tpd.spec
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
Summary: Layer 2 Tunnelling Protocol Daemon (RFC 2661)
Name: xl2tpd
Version: 1.3.10.1
Version: 1.3.11rc1
Release: 1%{?dist}
License: GPLv2
Url: http://www.xelerance.com/software/xl2tpd/
Expand Down Expand Up @@ -73,7 +73,7 @@ then
mv /etc/ppp/options.l2tpd /etc/ppp/options.xl2tpd
mv /etc/xl2tpd/l2tp-secrets /etc/xl2tpd/l2tpd-secrets.rpmsave
cp -pa /etc/l2tpd/l2tp-secrets /etc/xl2tpd/l2tp-secrets

fi


Expand Down Expand Up @@ -162,10 +162,10 @@ exit 0

* Sat Jun 4 2005 Jacco de Leeuw <[email protected]>
- l2tpd.org has been hijacked. Project moved back to SourceForge:
http://l2tpd.sourceforge.net
http://l2tpd.sourceforge.net

* Tue May 3 2005 Jacco de Leeuw <[email protected]>
- Small Makefile fixes. Explicitly use gcc instead of cc.
- Small Makefile fixes. Explicitly use gcc instead of cc.
Network services library was not linked on Solaris due to typo.

* Thu Mar 17 2005 Jacco de Leeuw <[email protected]> 0.69-11jdl
Expand All @@ -174,7 +174,7 @@ exit 0

* Fri Feb 4 2005 Jacco de Leeuw <[email protected]>
- Added code from Roaring Penguin (rp-l2tp) to support SysV-style ptys.
Requires the N_HDLC kernel module.
Requires the N_HDLC kernel module.

* Fri Nov 26 2004 Jacco de Leeuw <[email protected]>
- Updated the README.
Expand Down Expand Up @@ -230,7 +230,7 @@ exit 0
- Renamed the example Openswan .conf files to better reflect
the situation. There are two variants using different portselectors.
Previously I thought Windows 2000/XP used portselector 17/0
and the rest used 17/1701. But with the release of an updated
and the rest used 17/1701. But with the release of an updated
IPsec client by Microsoft, it turns out that 17/0 must have
been a mistake: the updated client now also uses 17/1701.

Expand All @@ -244,7 +244,7 @@ exit 0

* Thu Mar 6 2003 Jacco de Leeuw <[email protected]> 0.69-5jdl
- Replaced Dominique's patch by Damion de Soto's, which does not
depend on the N_HDLC kernel module.
depend on the N_HDLC kernel module.

* Wed Feb 26 2003 Jacco de Leeuw <[email protected]> 0.69-4jdl
- Seperate example config files for Win9x (MSL2TP) and Win2K/XP
Expand Down Expand Up @@ -278,7 +278,7 @@ exit 0
- Specfile adapted from Mandrake Cooker. The original RPM can be
retrieved through:
http://www.rpmfind.net/linux/rpm2html/search.php?query=l2tpd
- Config path changed from /etc/l2tp/ to /etc/l2tpd/
- Config path changed from /etc/l2tp/ to /etc/l2tpd/
(Seems more logical and rp-l2tp already uses /etc/l2tp/).
- Do not run at boot or install. The original RPM uses a config file
which is completely commented out, but it still starts l2tpd on all
Expand Down

0 comments on commit 00bb68b

Please sign in to comment.