[arch-commits] Commit in xl2tpd/repos (7 files)

Felix Yan felixonmars at archlinux.org
Tue Jul 7 12:40:16 UTC 2020


    Date: Tuesday, July 7, 2020 @ 12:40:16
  Author: felixonmars
Revision: 658178

archrelease: copy trunk to community-staging-x86_64

Added:
  xl2tpd/repos/community-staging-x86_64/
  xl2tpd/repos/community-staging-x86_64/PKGBUILD
    (from rev 658174, xl2tpd/trunk/PKGBUILD)
  xl2tpd/repos/community-staging-x86_64/options.l2tpd
    (from rev 658174, xl2tpd/trunk/options.l2tpd)
  xl2tpd/repos/community-staging-x86_64/xl2tpd.conf.client-example
    (from rev 658174, xl2tpd/trunk/xl2tpd.conf.client-example)
  xl2tpd/repos/community-staging-x86_64/xl2tpd.conf.server-example
    (from rev 658175, xl2tpd/trunk/xl2tpd.conf.server-example)
  xl2tpd/repos/community-staging-x86_64/xl2tpd.service
    (from rev 658175, xl2tpd/trunk/xl2tpd.service)
  xl2tpd/repos/community-staging-x86_64/xl2tpd.tmpfiles
    (from rev 658175, xl2tpd/trunk/xl2tpd.tmpfiles)

----------------------------+
 PKGBUILD                   |   44 +++++++++++++++++++++++++++++++++++++++++++
 options.l2tpd              |   24 +++++++++++++++++++++++
 xl2tpd.conf.client-example |   19 ++++++++++++++++++
 xl2tpd.conf.server-example |   21 ++++++++++++++++++++
 xl2tpd.service             |   15 ++++++++++++++
 xl2tpd.tmpfiles            |    1 
 6 files changed, 124 insertions(+)

Copied: xl2tpd/repos/community-staging-x86_64/PKGBUILD (from rev 658174, xl2tpd/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD	                        (rev 0)
+++ community-staging-x86_64/PKGBUILD	2020-07-07 12:40:16 UTC (rev 658178)
@@ -0,0 +1,44 @@
+# Maintainer: Sergej Pupykin <pupykin.s+arch at gmail.com>
+# Contributor: Hengfu <rhfcaesar at gmail.com>
+
+pkgname=xl2tpd
+pkgver=1.3.15
+pkgrel=2
+pkgdesc="an open source implementation of the L2TP maintained by Xelerance Corporation"
+arch=('x86_64')
+url="https://www.xelerance.com/services/software/xl2tpd/"
+license=('GPL')
+depends=('ppp')
+options=(emptydirs zipman docs)
+backup=(etc/ppp/options.l2tpd)
+source=($pkgname-$pkgver.tar.gz::https://github.com/xelerance/xl2tpd/archive/v$pkgver.tar.gz
+	xl2tpd.conf.client-example
+	xl2tpd.conf.server-example
+	options.l2tpd
+	xl2tpd.service
+	xl2tpd.tmpfiles)
+sha256sums=('0d149bf9d2f7d838806e6a36fd7a676d03bf246d2b7869e16c945330e13b922e'
+            '444e84a01d9c379eb5cf25584451ccd06aad48e611c557eb572ba4f220af3ad7'
+            '24d5588b0c8194b7763579be75a58c88e72296145d8d223e1549454e18665ba4'
+            '8295d3f7522407beafb89d92b53c29ab80d7a5b18a0d3182dd65a18d88a05590'
+            'ff34172f95ae66865a0919c6fb7279c9b80114a59b5b2cf790667f35e83f86e5'
+            '70ac11e6fe097ad271d878565930aa85dfa75d5cd62d6c35dd580b2ee34e660b')
+
+build() {
+  cd "$srcdir/$pkgname-$pkgver"
+
+  make KERNELSRC=/usr/src/linux-`uname -r` PREFIX=/usr SBINDIR=/usr/bin
+}
+
+package() {
+  cd "$srcdir/$pkgname-$pkgver"
+
+  make KERNELSRC=/usr/src/linux-`uname -r` PREFIX=/usr DESTDIR="$pkgdir"  SBINDIR="$pkgdir"/usr/bin install
+
+  install -D -m0644 "$srcdir"/xl2tpd.conf.client-example "$pkgdir"/etc/xl2tpd/xl2tpd.conf.client-example
+  install -D -m0644 "$srcdir"/xl2tpd.conf.server-example "$pkgdir"/etc/xl2tpd/xl2tpd.conf.server-example
+  install -D -m0644 "$srcdir"/options.l2tpd "$pkgdir"/etc/ppp/options.l2tpd
+
+  install -Dm0644 "$srcdir"/xl2tpd.service "$pkgdir"/usr/lib/systemd/system/xl2tpd.service
+  install -Dm0644 "$srcdir"/xl2tpd.tmpfiles "$pkgdir"/usr/lib/tmpfiles.d/xl2tpd.conf
+}

Copied: xl2tpd/repos/community-staging-x86_64/options.l2tpd (from rev 658174, xl2tpd/trunk/options.l2tpd)
===================================================================
--- community-staging-x86_64/options.l2tpd	                        (rev 0)
+++ community-staging-x86_64/options.l2tpd	2020-07-07 12:40:16 UTC (rev 658178)
@@ -0,0 +1,24 @@
+login
+lcp-echo-interval 10
+lcp-echo-failure 2
+noipx
+
+refuse-pap
+refuse-chap
+refuse-mschap
+
+require-mppe
+require-mschap-v2
+
+nodefaultroute
+proxyarp
+
+#bsdcomp
+#deflate
+#accomp
+#noccp
+#nopcomp
+#nopredictor1
+#novj
+#novjccomp
+#debug 7

Copied: xl2tpd/repos/community-staging-x86_64/xl2tpd.conf.client-example (from rev 658174, xl2tpd/trunk/xl2tpd.conf.client-example)
===================================================================
--- community-staging-x86_64/xl2tpd.conf.client-example	                        (rev 0)
+++ community-staging-x86_64/xl2tpd.conf.client-example	2020-07-07 12:40:16 UTC (rev 658178)
@@ -0,0 +1,19 @@
+[global]
+access control = no
+auth file = /etc/ppp/chap-secrets
+debug avp = no
+debug network = no
+debug packet = no
+debug state = no
+debug tunnel = no
+
+[lac <name>]
+lns = <host>
+redial = yes
+redial timeout = 5
+require chap = yes
+require authentication = no
+ppp debug = no
+pppoptfile = /etc/ppp/peers/<ppp-opts>
+require pap = no
+autodial = yes

Copied: xl2tpd/repos/community-staging-x86_64/xl2tpd.conf.server-example (from rev 658175, xl2tpd/trunk/xl2tpd.conf.server-example)
===================================================================
--- community-staging-x86_64/xl2tpd.conf.server-example	                        (rev 0)
+++ community-staging-x86_64/xl2tpd.conf.server-example	2020-07-07 12:40:16 UTC (rev 658178)
@@ -0,0 +1,21 @@
+[global]
+access control = yes
+auth file = /etc/ppp/chap-secrets
+debug avp = no
+debug network = no
+debug packet = no
+debug state = no
+debug tunnel = no
+
+[lns <name>]
+require chap = yes
+ppp debug = no
+pppoptfile = /etc/ppp/options.l2tpd
+require pap = no
+assign ip = yes
+hostname = <hostname>
+ip range = <range>
+local ip = <ip>
+challenge = no
+lac = <lacs>
+require authentication = no

Copied: xl2tpd/repos/community-staging-x86_64/xl2tpd.service (from rev 658175, xl2tpd/trunk/xl2tpd.service)
===================================================================
--- community-staging-x86_64/xl2tpd.service	                        (rev 0)
+++ community-staging-x86_64/xl2tpd.service	2020-07-07 12:40:16 UTC (rev 658178)
@@ -0,0 +1,15 @@
+[Unit]
+Description=Level 2 Tunnel Protocol Daemon (L2TP)
+After=syslog.target network.target
+After=ipsec.service
+# Some ISPs in Russia use l2tp without IPsec, so don't insist anymore
+#Wants=ipsec.service
+
+[Service]
+Type=simple
+PIDFile=/run/xl2tpd/xl2tpd.pid
+ExecStart=/usr/bin/xl2tpd -D
+Restart=on-abort
+
+[Install]
+WantedBy=multi-user.target

Copied: xl2tpd/repos/community-staging-x86_64/xl2tpd.tmpfiles (from rev 658175, xl2tpd/trunk/xl2tpd.tmpfiles)
===================================================================
--- community-staging-x86_64/xl2tpd.tmpfiles	                        (rev 0)
+++ community-staging-x86_64/xl2tpd.tmpfiles	2020-07-07 12:40:16 UTC (rev 658178)
@@ -0,0 +1 @@
+d /run/xl2tpd 0755 root root -



More information about the arch-commits mailing list