[arch-commits] Commit in cjdns/repos (8 files)

Levente Polyak anthraxx at archlinux.org
Tue Mar 14 22:27:10 UTC 2017


    Date: Tuesday, March 14, 2017 @ 22:27:09
  Author: anthraxx
Revision: 216327

archrelease: copy trunk to community-i686, community-x86_64

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

--------------------------------+
 /PKGBUILD                      |   96 +++++++++++++++++++++++++++++++++++++++
 /cjdns.install                 |   52 +++++++++++++++++++++
 community-i686/PKGBUILD        |   45 ------------------
 community-i686/cjdns.install   |   26 ----------
 community-x86_64/PKGBUILD      |   45 ------------------
 community-x86_64/cjdns.install |   26 ----------
 6 files changed, 148 insertions(+), 142 deletions(-)

Deleted: community-i686/PKGBUILD
===================================================================
--- community-i686/PKGBUILD	2017-03-14 22:26:59 UTC (rev 216326)
+++ community-i686/PKGBUILD	2017-03-14 22:27:09 UTC (rev 216327)
@@ -1,45 +0,0 @@
-# Maintainer: Levente Polyak <anthraxx[at]archlinux[dot]org>
-# Contributor: Kevin MacMartin <prurigro at gmail.com>
-# Contributor: openfbt
-# Contributor: Werecat
-# Contributor: Xyne
-
-pkgname=cjdns
-pkgver=19.1
-pkgrel=1
-pkgdesc='Routing engine designed for security, scalability, speed and ease of use'
-url='https://github.com/cjdelisle/cjdns'
-arch=('i686' 'x86_64')
-license=('GPL3')
-depends=('glibc' 'sh')
-makedepends=('nodejs' 'python2')
-install=cjdns.install
-source=(${pkgname}-${pkgver}.tar.gz::https://github.com/cjdelisle/${pkgname}/archive/cjdns-v${pkgver}.tar.gz)
-sha256sums=('53c568a500215b055a9894178eb4477bd93a6e1abf751d0bc5ef2a03ea01a188')
-sha512sums=('9c29bf1d136237bd60e125718bdd2c6d7f5a651d51af50aea3173eed1626a402dac5a2a72f9fb129fc9af24c3b67472a1dfe7b2b6a09bb28d01a120fc667b206')
-
-build() {
-  cd ${pkgname}-${pkgname}-v${pkgver}
-  CJDNS_RELEASE_VERSION="${pkgver}" bash 'do'
-}
-
-package() {
-  cd ${pkgname}-${pkgname}-v${pkgver}
-  install -Dm 755 cjdroute "${pkgdir}/usr/bin/cjdroute"
-  install -Dm 644 contrib/systemd/${pkgname}.service "${pkgdir}/usr/lib/systemd/system/${pkgname}.service"
-  install -Dm 644 contrib/systemd/${pkgname}-resume.service "${pkgdir}/usr/lib/systemd/system/${pkgname}-resume.service"
-  install -Dm 644 doc/man/cjdroute.conf.5 "${pkgdir}/usr/share/man/man5/cjdroute.conf.5"
-  install -Dm 644 README.md "${pkgdir}/usr/share/doc/${pkgname}/README.md"
-  install -Dm 644 -t "${pkgdir}/usr/share/doc/${pkgname}" \
-    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
-}
-
-# vim: ts=2 sw=2 et:

Copied: cjdns/repos/community-i686/PKGBUILD (from rev 216326, cjdns/trunk/PKGBUILD)
===================================================================
--- community-i686/PKGBUILD	                        (rev 0)
+++ community-i686/PKGBUILD	2017-03-14 22:27:09 UTC (rev 216327)
@@ -0,0 +1,48 @@
+# Maintainer: Levente Polyak <anthraxx[at]archlinux[dot]org>
+# Contributor: Kevin MacMartin <prurigro at gmail.com>
+# Contributor: openfbt
+# Contributor: Werecat
+# Contributor: Xyne
+
+pkgname=cjdns
+pkgver=19.1
+pkgrel=2
+pkgdesc='Routing engine designed for security, scalability, speed and ease of use'
+url='https://github.com/cjdelisle/cjdns'
+arch=('i686' 'x86_64')
+license=('GPL3')
+depends=('glibc' 'sh')
+optdepends=('nodejs: optional utilities support')
+makedepends=('nodejs' 'python2')
+install=cjdns.install
+source=(${pkgname}-${pkgver}.tar.gz::https://github.com/cjdelisle/${pkgname}/archive/cjdns-v${pkgver}.tar.gz)
+sha256sums=('53c568a500215b055a9894178eb4477bd93a6e1abf751d0bc5ef2a03ea01a188')
+sha512sums=('9c29bf1d136237bd60e125718bdd2c6d7f5a651d51af50aea3173eed1626a402dac5a2a72f9fb129fc9af24c3b67472a1dfe7b2b6a09bb28d01a120fc667b206')
+
+build() {
+  cd ${pkgname}-${pkgname}-v${pkgver}
+  CJDNS_RELEASE_VERSION="${pkgver}" \
+    node ./node_build/make.js
+}
+
+package() {
+  cd ${pkgname}-${pkgname}-v${pkgver}
+  install -Dm 755 cjdroute "${pkgdir}/usr/bin/cjdroute"
+  install -Dm 644 contrib/systemd/${pkgname}.service "${pkgdir}/usr/lib/systemd/system/${pkgname}.service"
+  install -Dm 644 contrib/systemd/${pkgname}-resume.service "${pkgdir}/usr/lib/systemd/system/${pkgname}-resume.service"
+  install -Dm 644 doc/man/cjdroute.conf.5 "${pkgdir}/usr/share/man/man5/cjdroute.conf.5"
+  install -Dm 644 README.md "${pkgdir}/usr/share/doc/${pkgname}/README.md"
+  install -Dm 644 -t "${pkgdir}/usr/share/doc/${pkgname}" \
+    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}"
+}
+
+# vim: ts=2 sw=2 et:

Deleted: community-i686/cjdns.install
===================================================================
--- community-i686/cjdns.install	2017-03-14 22:26:59 UTC (rev 216326)
+++ community-i686/cjdns.install	2017-03-14 22:27:09 UTC (rev 216327)
@@ -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."
-  fi
-  echo "
-    >>> 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.
-  "
-}
-
-post_upgrade() {
-  post_install
-}
-
-# vim: ts=2 sw=2 et:

Copied: cjdns/repos/community-i686/cjdns.install (from rev 216326, cjdns/trunk/cjdns.install)
===================================================================
--- community-i686/cjdns.install	                        (rev 0)
+++ community-i686/cjdns.install	2017-03-14 22:27:09 UTC (rev 216327)
@@ -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:

Deleted: community-x86_64/PKGBUILD
===================================================================
--- community-x86_64/PKGBUILD	2017-03-14 22:26:59 UTC (rev 216326)
+++ community-x86_64/PKGBUILD	2017-03-14 22:27:09 UTC (rev 216327)
@@ -1,45 +0,0 @@
-# Maintainer: Levente Polyak <anthraxx[at]archlinux[dot]org>
-# Contributor: Kevin MacMartin <prurigro at gmail.com>
-# Contributor: openfbt
-# Contributor: Werecat
-# Contributor: Xyne
-
-pkgname=cjdns
-pkgver=19.1
-pkgrel=1
-pkgdesc='Routing engine designed for security, scalability, speed and ease of use'
-url='https://github.com/cjdelisle/cjdns'
-arch=('i686' 'x86_64')
-license=('GPL3')
-depends=('glibc' 'sh')
-makedepends=('nodejs' 'python2')
-install=cjdns.install
-source=(${pkgname}-${pkgver}.tar.gz::https://github.com/cjdelisle/${pkgname}/archive/cjdns-v${pkgver}.tar.gz)
-sha256sums=('53c568a500215b055a9894178eb4477bd93a6e1abf751d0bc5ef2a03ea01a188')
-sha512sums=('9c29bf1d136237bd60e125718bdd2c6d7f5a651d51af50aea3173eed1626a402dac5a2a72f9fb129fc9af24c3b67472a1dfe7b2b6a09bb28d01a120fc667b206')
-
-build() {
-  cd ${pkgname}-${pkgname}-v${pkgver}
-  CJDNS_RELEASE_VERSION="${pkgver}" bash 'do'
-}
-
-package() {
-  cd ${pkgname}-${pkgname}-v${pkgver}
-  install -Dm 755 cjdroute "${pkgdir}/usr/bin/cjdroute"
-  install -Dm 644 contrib/systemd/${pkgname}.service "${pkgdir}/usr/lib/systemd/system/${pkgname}.service"
-  install -Dm 644 contrib/systemd/${pkgname}-resume.service "${pkgdir}/usr/lib/systemd/system/${pkgname}-resume.service"
-  install -Dm 644 doc/man/cjdroute.conf.5 "${pkgdir}/usr/share/man/man5/cjdroute.conf.5"
-  install -Dm 644 README.md "${pkgdir}/usr/share/doc/${pkgname}/README.md"
-  install -Dm 644 -t "${pkgdir}/usr/share/doc/${pkgname}" \
-    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
-}
-
-# vim: ts=2 sw=2 et:

Copied: cjdns/repos/community-x86_64/PKGBUILD (from rev 216326, cjdns/trunk/PKGBUILD)
===================================================================
--- community-x86_64/PKGBUILD	                        (rev 0)
+++ community-x86_64/PKGBUILD	2017-03-14 22:27:09 UTC (rev 216327)
@@ -0,0 +1,48 @@
+# Maintainer: Levente Polyak <anthraxx[at]archlinux[dot]org>
+# Contributor: Kevin MacMartin <prurigro at gmail.com>
+# Contributor: openfbt
+# Contributor: Werecat
+# Contributor: Xyne
+
+pkgname=cjdns
+pkgver=19.1
+pkgrel=2
+pkgdesc='Routing engine designed for security, scalability, speed and ease of use'
+url='https://github.com/cjdelisle/cjdns'
+arch=('i686' 'x86_64')
+license=('GPL3')
+depends=('glibc' 'sh')
+optdepends=('nodejs: optional utilities support')
+makedepends=('nodejs' 'python2')
+install=cjdns.install
+source=(${pkgname}-${pkgver}.tar.gz::https://github.com/cjdelisle/${pkgname}/archive/cjdns-v${pkgver}.tar.gz)
+sha256sums=('53c568a500215b055a9894178eb4477bd93a6e1abf751d0bc5ef2a03ea01a188')
+sha512sums=('9c29bf1d136237bd60e125718bdd2c6d7f5a651d51af50aea3173eed1626a402dac5a2a72f9fb129fc9af24c3b67472a1dfe7b2b6a09bb28d01a120fc667b206')
+
+build() {
+  cd ${pkgname}-${pkgname}-v${pkgver}
+  CJDNS_RELEASE_VERSION="${pkgver}" \
+    node ./node_build/make.js
+}
+
+package() {
+  cd ${pkgname}-${pkgname}-v${pkgver}
+  install -Dm 755 cjdroute "${pkgdir}/usr/bin/cjdroute"
+  install -Dm 644 contrib/systemd/${pkgname}.service "${pkgdir}/usr/lib/systemd/system/${pkgname}.service"
+  install -Dm 644 contrib/systemd/${pkgname}-resume.service "${pkgdir}/usr/lib/systemd/system/${pkgname}-resume.service"
+  install -Dm 644 doc/man/cjdroute.conf.5 "${pkgdir}/usr/share/man/man5/cjdroute.conf.5"
+  install -Dm 644 README.md "${pkgdir}/usr/share/doc/${pkgname}/README.md"
+  install -Dm 644 -t "${pkgdir}/usr/share/doc/${pkgname}" \
+    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}"
+}
+
+# vim: ts=2 sw=2 et:

Deleted: community-x86_64/cjdns.install
===================================================================
--- community-x86_64/cjdns.install	2017-03-14 22:26:59 UTC (rev 216326)
+++ community-x86_64/cjdns.install	2017-03-14 22:27:09 UTC (rev 216327)
@@ -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."
-  fi
-  echo "
-    >>> 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.
-  "
-}
-
-post_upgrade() {
-  post_install
-}
-
-# vim: ts=2 sw=2 et:

Copied: cjdns/repos/community-x86_64/cjdns.install (from rev 216326, cjdns/trunk/cjdns.install)
===================================================================
--- community-x86_64/cjdns.install	                        (rev 0)
+++ community-x86_64/cjdns.install	2017-03-14 22:27:09 UTC (rev 216327)
@@ -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