[arch-commits] Commit in badvpn/repos/community-x86_64 (7 files)

Felix Yan felixonmars at archlinux.org
Tue Jul 10 02:00:43 UTC 2018


    Date: Tuesday, July 10, 2018 @ 02:00:43
  Author: felixonmars
Revision: 355940

archrelease: copy trunk to community-x86_64

Added:
  badvpn/repos/community-x86_64/PKGBUILD
    (from rev 355939, badvpn/trunk/PKGBUILD)
  badvpn/repos/community-x86_64/badvpn-ncd.conf.d
    (from rev 355939, badvpn/trunk/badvpn-ncd.conf.d)
  badvpn/repos/community-x86_64/badvpn-ncd.service
    (from rev 355939, badvpn/trunk/badvpn-ncd.service)
  badvpn/repos/community-x86_64/badvpn-udpgw.service
    (from rev 355939, badvpn/trunk/badvpn-udpgw.service)
Deleted:
  badvpn/repos/community-x86_64/PKGBUILD
  badvpn/repos/community-x86_64/badvpn-ncd.conf.d
  badvpn/repos/community-x86_64/badvpn-ncd.service

----------------------+
 PKGBUILD             |   71 +++++++++++++++++++++++++------------------------
 badvpn-ncd.conf.d    |    4 +-
 badvpn-ncd.service   |   24 ++++++++--------
 badvpn-udpgw.service |   10 ++++++
 4 files changed, 61 insertions(+), 48 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2018-07-10 02:00:05 UTC (rev 355939)
+++ PKGBUILD	2018-07-10 02:00:43 UTC (rev 355940)
@@ -1,34 +0,0 @@
-# $Id$
-# Maintainer: Felix Yan <felixonmars at archlinux.org>
-# Contributor: zml <zach at zachsthings dot com>
-# Contributor: Ambroz Bizjak <ambrop7 at gmail dot com>
-
-pkgname=badvpn
-pkgver=1.999.130
-pkgrel=2
-pkgdesc="Peer-to-peer VPN system, and NCD, a programming language for network interface configuration"
-arch=('i686' 'x86_64')
-url="https://github.com/ambrop72/badvpn"
-license=('GPL')
-depends=('nss' 'openssl' 'iproute2')
-makedepends=('cmake')
-source=("https://github.com/ambrop72/badvpn/archive/$pkgver.tar.gz"
-        'badvpn-ncd.service'
-        'badvpn-ncd.conf.d')
-md5sums=('e65d8d298fc82eb9a6c12a9425a97e6d'
-         '35cf690b7cdf90fdb7abf9edcd5e4540'
-         '19ea2de11e1623c5e91a363e72c329f1')
-
-build() {
-  cd $pkgname-$pkgver
-  cmake -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_BUILD_TYPE=Release .
-  make
-}
-
-package() {
-  cd $pkgname-$pkgver
-  make DESTDIR="$pkgdir" install
-
-  install -D -m755 "$srcdir/badvpn-ncd.service" "$pkgdir/usr/lib/systemd/system/badvpn-ncd.service"
-  install -D -m0644 "$srcdir/badvpn-ncd.conf.d" "$pkgdir/etc/conf.d/badvpn-ncd"
-}

Copied: badvpn/repos/community-x86_64/PKGBUILD (from rev 355939, badvpn/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2018-07-10 02:00:43 UTC (rev 355940)
@@ -0,0 +1,37 @@
+# $Id$
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+# Contributor: zml <zach at zachsthings dot com>
+# Contributor: Ambroz Bizjak <ambrop7 at gmail dot com>
+
+pkgname=badvpn
+pkgver=1.999.130
+pkgrel=3
+pkgdesc="Peer-to-peer VPN system, and NCD, a programming language for network interface configuration"
+arch=('x86_64')
+url="https://github.com/ambrop72/badvpn"
+license=('GPL')
+depends=('nss' 'openssl' 'iproute2')
+makedepends=('cmake')
+source=("$pkgname-$pkgver.tar.gz::https://github.com/ambrop72/badvpn/archive/$pkgver.tar.gz"
+        'badvpn-udpgw.service'
+        'badvpn-ncd.service'
+        'badvpn-ncd.conf.d')
+md5sums=('e65d8d298fc82eb9a6c12a9425a97e6d'
+         'c2880cc0dff000d12e65bcd38fc9f02c'
+         '35cf690b7cdf90fdb7abf9edcd5e4540'
+         '19ea2de11e1623c5e91a363e72c329f1')
+
+build() {
+  cd $pkgname-$pkgver
+  cmake -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_BUILD_TYPE=Release .
+  make
+}
+
+package() {
+  cd $pkgname-$pkgver
+  make DESTDIR="$pkgdir" install
+
+  install -D -m755 "$srcdir/badvpn-udpgw.service" "$pkgdir/usr/lib/systemd/system/badvpn-udpgw.service"
+  install -D -m755 "$srcdir/badvpn-ncd.service" "$pkgdir/usr/lib/systemd/system/badvpn-ncd.service"
+  install -D -m0644 "$srcdir/badvpn-ncd.conf.d" "$pkgdir/etc/conf.d/badvpn-ncd"
+}

Deleted: badvpn-ncd.conf.d
===================================================================
--- badvpn-ncd.conf.d	2018-07-10 02:00:05 UTC (rev 355939)
+++ badvpn-ncd.conf.d	2018-07-10 02:00:43 UTC (rev 355940)
@@ -1,2 +0,0 @@
-NCD_CONFIG="/etc/ncd.conf"
-NCD_ARGS=""

Copied: badvpn/repos/community-x86_64/badvpn-ncd.conf.d (from rev 355939, badvpn/trunk/badvpn-ncd.conf.d)
===================================================================
--- badvpn-ncd.conf.d	                        (rev 0)
+++ badvpn-ncd.conf.d	2018-07-10 02:00:43 UTC (rev 355940)
@@ -0,0 +1,2 @@
+NCD_CONFIG="/etc/ncd.conf"
+NCD_ARGS=""

Deleted: badvpn-ncd.service
===================================================================
--- badvpn-ncd.service	2018-07-10 02:00:05 UTC (rev 355939)
+++ badvpn-ncd.service	2018-07-10 02:00:43 UTC (rev 355940)
@@ -1,12 +0,0 @@
-[Unit]
-Description=BadVPN Network Configuration Daemon
-After=syslog.target
-
-[Service]
-Type=simple
-Environment="NCD_CONFIG=/etc/ncd.conf"
-EnvironmentFile=-/etc/conf.d/badvpn-ncd
-ExecStart=/usr/bin/badvpn-ncd $NCD_ARGS --config-file $NCD_CONFIG
-
-[Install]
-WantedBy=network.target

Copied: badvpn/repos/community-x86_64/badvpn-ncd.service (from rev 355939, badvpn/trunk/badvpn-ncd.service)
===================================================================
--- badvpn-ncd.service	                        (rev 0)
+++ badvpn-ncd.service	2018-07-10 02:00:43 UTC (rev 355940)
@@ -0,0 +1,12 @@
+[Unit]
+Description=BadVPN Network Configuration Daemon
+After=syslog.target
+
+[Service]
+Type=simple
+Environment="NCD_CONFIG=/etc/ncd.conf"
+EnvironmentFile=-/etc/conf.d/badvpn-ncd
+ExecStart=/usr/bin/badvpn-ncd $NCD_ARGS --config-file $NCD_CONFIG
+
+[Install]
+WantedBy=network.target

Copied: badvpn/repos/community-x86_64/badvpn-udpgw.service (from rev 355939, badvpn/trunk/badvpn-udpgw.service)
===================================================================
--- badvpn-udpgw.service	                        (rev 0)
+++ badvpn-udpgw.service	2018-07-10 02:00:43 UTC (rev 355940)
@@ -0,0 +1,10 @@
+[Unit]
+Description=BadVPN UDP Gateway
+After=network-online.target
+
+[Service]
+Type=simple
+ExecStart=/usr/bin/badvpn-udpgw --listen-addr 127.0.0.1:7300
+
+[Install]
+WantedBy=multi-user.target



More information about the arch-commits mailing list