[arch-commits] Commit in cjdns/repos/community-x86_64 (4 files)

Kpcyrd kpcyrd at archlinux.org
Tue Sep 22 00:50:18 UTC 2020


    Date: Tuesday, September 22, 2020 @ 00:50:17
  Author: kpcyrd
Revision: 711327

archrelease: copy trunk to community-x86_64

Added:
  cjdns/repos/community-x86_64/PKGBUILD
    (from rev 711326, cjdns/trunk/PKGBUILD)
  cjdns/repos/community-x86_64/cjdns.install
    (from rev 711326, cjdns/trunk/cjdns.install)
Deleted:
  cjdns/repos/community-x86_64/PKGBUILD
  cjdns/repos/community-x86_64/cjdns.install

---------------+
 PKGBUILD      |  102 ++++++++++++++++++++++++++++----------------------------
 cjdns.install |   52 ++++++++++++++--------------
 2 files changed, 77 insertions(+), 77 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2020-09-22 00:50:01 UTC (rev 711326)
+++ PKGBUILD	2020-09-22 00:50:17 UTC (rev 711327)
@@ -1,51 +0,0 @@
-# Maintainer: Levente Polyak <anthraxx[at]archlinux[dot]org>
-# Maintainer: kpcyrd <kpcyrd[at]archlinux[dot]org>
-# Contributor: Kevin MacMartin <prurigro at gmail.com>
-# Contributor: openfbt
-# Contributor: Werecat
-# Contributor: Xyne
-
-pkgname=cjdns
-pkgver=20.7
-pkgrel=1
-pkgdesc='Routing engine designed for security, scalability, speed and ease of use'
-url='https://github.com/cjdelisle/cjdns'
-arch=('x86_64')
-license=('GPL3')
-depends=('glibc' 'sh')
-optdepends=('nodejs: optional utilities support')
-makedepends=('nodejs' 'python')
-install=cjdns.install
-source=(${pkgname}-${pkgver}.tar.gz::https://github.com/cjdelisle/${pkgname}/archive/cjdns-v${pkgver}.tar.gz)
-sha512sums=('db103e70e3d9f5e4958dcbeed51df358450f9489b6573f9b9eddc1839ee2051fe5180eede894b465e92915fabcb4cb64ce08a41c06450f14de75943879633f25')
-b2sums=('e35e114b6e23735d316d2ab7385b81174a748c56b5da2326e4e956ed9b8151a487575e06b6576d556435908d87c6989a45b7a562a45acbbed4d835fdb4636c82')
-
-build() {
-  cd ${pkgname}-${pkgname}-v${pkgver}
-  # Pretend to be cross compiling so -march=native is not set.
-  CROSS="true" CJDNS_RELEASE_VERSION="${pkgver}" \
-    node ./node_build/make.js
-}
-
-package() {
-  cd ${pkgname}-${pkgname}-v${pkgver}
-  install -Dm 755 cjdroute -t "${pkgdir}/usr/bin"
-  install -Dm 644 contrib/systemd/{cjdns,cjdns-resume}.service \
-    -t "${pkgdir}/usr/lib/systemd/system"
-  install -Dm 644 doc/man/cjdroute.conf.5 -t "${pkgdir}/usr/share/man/man5"
-  install -Dm 644 -t "${pkgdir}/usr/share/doc/${pkgname}" \
-    README.md \
-    doc/admin-api.md \
-    doc/configure.md \
-    doc/djc_layer_model.md \
-    doc/nat-gateway.md \
-    doc/network-services.md \
-    doc/non-root-user.md \
-    doc/security_specification.md \
-    doc/shorewall_and_vpn_gateway_howto.md \
-    doc/tunnel.md
-  cp -a tools "${pkgdir}/usr/lib/${pkgname}"
-  cp -a node_modules "${pkgdir}/usr/lib/${pkgname}/node_modules"
-}
-
-# vim: ts=2 sw=2 et:

Copied: cjdns/repos/community-x86_64/PKGBUILD (from rev 711326, cjdns/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2020-09-22 00:50:17 UTC (rev 711327)
@@ -0,0 +1,51 @@
+# Maintainer: Levente Polyak <anthraxx[at]archlinux[dot]org>
+# Maintainer: kpcyrd <kpcyrd[at]archlinux[dot]org>
+# Contributor: Kevin MacMartin <prurigro at gmail.com>
+# Contributor: openfbt
+# Contributor: Werecat
+# Contributor: Xyne
+
+pkgname=cjdns
+pkgver=21
+pkgrel=1
+pkgdesc='Routing engine designed for security, scalability, speed and ease of use'
+url='https://github.com/cjdelisle/cjdns'
+arch=('x86_64')
+license=('GPL3')
+depends=('glibc' 'sh')
+optdepends=('nodejs: optional utilities support')
+makedepends=('nodejs' 'python')
+install=cjdns.install
+source=(${pkgname}-${pkgver}.tar.gz::https://github.com/cjdelisle/${pkgname}/archive/cjdns-v${pkgver}.tar.gz)
+sha512sums=('2c0b80c715c8895b573c09787df8be9fcc721d0903c90a32649e22f72e2d7b0b13d4254f31936c61f47cdd1fee8e3cf4a28f827571f94972557258e4a42f9eb2')
+b2sums=('6118c8d0f43ae99c168d40da822f43fa3498bc4f88277f53362edcb7ba11e482b77e0bde1274303c905e02646c4c47af8d0534f256cd4fded35dcece16f30b2c')
+
+build() {
+  cd ${pkgname}-${pkgname}-v${pkgver}
+  # Pretend to be cross compiling so -march=native is not set.
+  CROSS="true" CJDNS_RELEASE_VERSION="${pkgver}" \
+    node ./node_build/make.js
+}
+
+package() {
+  cd ${pkgname}-${pkgname}-v${pkgver}
+  install -Dm 755 cjdroute -t "${pkgdir}/usr/bin"
+  install -Dm 644 contrib/systemd/{cjdns,cjdns-resume}.service \
+    -t "${pkgdir}/usr/lib/systemd/system"
+  install -Dm 644 doc/man/cjdroute.conf.5 -t "${pkgdir}/usr/share/man/man5"
+  install -Dm 644 -t "${pkgdir}/usr/share/doc/${pkgname}" \
+    README.md \
+    doc/admin-api.md \
+    doc/configure.md \
+    doc/djc_layer_model.md \
+    doc/nat-gateway.md \
+    doc/network-services.md \
+    doc/non-root-user.md \
+    doc/security_specification.md \
+    doc/shorewall_and_vpn_gateway_howto.md \
+    doc/tunnel.md
+  cp -a tools "${pkgdir}/usr/lib/${pkgname}"
+  cp -a node_modules "${pkgdir}/usr/lib/${pkgname}/node_modules"
+}
+
+# vim: ts=2 sw=2 et:

Deleted: cjdns.install
===================================================================
--- cjdns.install	2020-09-22 00:50:01 UTC (rev 711326)
+++ cjdns.install	2020-09-22 00:50:17 UTC (rev 711327)
@@ -1,26 +0,0 @@
-post_install() {
-  local config_file="cjdroute.conf"
-  local config_path="/etc/${config_file}"
-
-  if [[ ! -e "${config_path}" ]] ; then
-    echo "Generating ${config_file}... "
-    (umask 077 && cjdroute --genconf > "${config_path}") ||
-      echo "ERROR: Failed to generate and install ${config_file}"
-    echo "
-    >>> The keys in ${config_path} have been autogenerated during
-    >>> install, they are not defaults and do not need to be overwritten.
-
-    >>> Protect ${config_path}! A lost conf file means you have
-    >>> lost your password and connections and anyone who connected
-    >>> to you will no longer be able to connect. A *compromised*
-    >>> conf file means that other people can impersonate you on
-    >>> the network.
-"
-  fi
-}
-
-post_upgrade() {
-  post_install
-}
-
-# vim: ts=2 sw=2 et:

Copied: cjdns/repos/community-x86_64/cjdns.install (from rev 711326, cjdns/trunk/cjdns.install)
===================================================================
--- cjdns.install	                        (rev 0)
+++ cjdns.install	2020-09-22 00:50:17 UTC (rev 711327)
@@ -0,0 +1,26 @@
+post_install() {
+  local config_file="cjdroute.conf"
+  local config_path="/etc/${config_file}"
+
+  if [[ ! -e "${config_path}" ]] ; then
+    echo "Generating ${config_file}... "
+    (umask 077 && cjdroute --genconf > "${config_path}") ||
+      echo "ERROR: Failed to generate and install ${config_file}"
+    echo "
+    >>> The keys in ${config_path} have been autogenerated during
+    >>> install, they are not defaults and do not need to be overwritten.
+
+    >>> Protect ${config_path}! A lost conf file means you have
+    >>> lost your password and connections and anyone who connected
+    >>> to you will no longer be able to connect. A *compromised*
+    >>> conf file means that other people can impersonate you on
+    >>> the network.
+"
+  fi
+}
+
+post_upgrade() {
+  post_install
+}
+
+# vim: ts=2 sw=2 et:



More information about the arch-commits mailing list