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

Kpcyrd kpcyrd at archlinux.org
Mon Apr 13 22:57:51 UTC 2020


    Date: Monday, April 13, 2020 @ 22:57:51
  Author: kpcyrd
Revision: 613837

archrelease: copy trunk to community-x86_64

Added:
  cjdns/repos/community-x86_64/PKGBUILD
    (from rev 613836, cjdns/trunk/PKGBUILD)
  cjdns/repos/community-x86_64/cjdns.install
    (from rev 613836, 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-04-13 22:57:35 UTC (rev 613836)
+++ PKGBUILD	2020-04-13 22:57:51 UTC (rev 613837)
@@ -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.5
-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=('36ae20182b9e9601ae64630cb0fa96caccbe5279be48520ea8b457a15437da5c9b48a5ae5588bd76ef819efe696b5a582a906a50e4dbe7760bb96fa7d1d63ea3')
-b2sums=('8b1b4d98cefa5f61c8d9025e8a339d0ac6823ea687ac21821cbcdb0782ad066746bac959a1f886120f2d4b633876c32a9125ea5c0614cd773d8ed2e49d57270e')
-
-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 613836, cjdns/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2020-04-13 22:57:51 UTC (rev 613837)
@@ -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=20.6
+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=('34057583f2215899b96f95cc60ba0532aff12834ad2c4b432a6752c811f60ed3d6d33ec82e039b159f090558020faf69c71b373ac33ca9e41b186be0b87c3332')
+b2sums=('2577a4b79e29f4e7fe64f2c37ad3e176db216d9592bdd9abbf05e006a7cf5f85c2a877f601babdebefe4060776c6d011b2fbf886a74d1e22b349ffcc665012ef')
+
+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-04-13 22:57:35 UTC (rev 613836)
+++ cjdns.install	2020-04-13 22:57:51 UTC (rev 613837)
@@ -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 613836, cjdns/trunk/cjdns.install)
===================================================================
--- cjdns.install	                        (rev 0)
+++ cjdns.install	2020-04-13 22:57:51 UTC (rev 613837)
@@ -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