[arch-commits] Commit in cjdns/trunk (PKGBUILD)

2020-09-21 Thread Kpcyrd via arch-commits
Date: Tuesday, September 22, 2020 @ 00:50:01
  Author: kpcyrd
Revision: 711326

upgpkg: cjdns 21-1

Modified:
  cjdns/trunk/PKGBUILD

--+
 PKGBUILD |6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2020-09-22 00:09:08 UTC (rev 711325)
+++ PKGBUILD2020-09-22 00:50:01 UTC (rev 711326)
@@ -6,7 +6,7 @@
 # Contributor: Xyne
 
 pkgname=cjdns
-pkgver=20.7
+pkgver=21
 pkgrel=1
 pkgdesc='Routing engine designed for security, scalability, speed and ease of 
use'
 url='https://github.com/cjdelisle/cjdns'
@@ -17,8 +17,8 @@
 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')
+sha512sums=('2c0b80c715c8895b573c09787df8be9fcc721d0903c90a32649e22f72e2d7b0b13d4254f31936c61f47cdd1fee8e3cf4a28f827571f94972557258e4a42f9eb2')
+b2sums=('6118c8d0f43ae99c168d40da822f43fa3498bc4f88277f53362edcb7ba11e482b77e0bde1274303c905e02646c4c47af8d0534f256cd4fded35dcece16f30b2c')
 
 build() {
   cd ${pkgname}-${pkgname}-v${pkgver}


[arch-commits] Commit in cjdns/trunk (PKGBUILD)

2020-06-29 Thread Kpcyrd via arch-commits
Date: Monday, June 29, 2020 @ 09:32:12
  Author: kpcyrd
Revision: 656044

upgpkg: cjdns 20.7-1

Modified:
  cjdns/trunk/PKGBUILD

--+
 PKGBUILD |6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2020-06-29 09:32:05 UTC (rev 656043)
+++ PKGBUILD2020-06-29 09:32:12 UTC (rev 656044)
@@ -6,7 +6,7 @@
 # Contributor: Xyne
 
 pkgname=cjdns
-pkgver=20.6
+pkgver=20.7
 pkgrel=1
 pkgdesc='Routing engine designed for security, scalability, speed and ease of 
use'
 url='https://github.com/cjdelisle/cjdns'
@@ -17,8 +17,8 @@
 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')
+sha512sums=('db103e70e3d9f5e4958dcbeed51df358450f9489b6573f9b9eddc1839ee2051fe5180eede894b465e92915fabcb4cb64ce08a41c06450f14de75943879633f25')
+b2sums=('e35e114b6e23735d316d2ab7385b81174a748c56b5da2326e4e956ed9b8151a487575e06b6576d556435908d87c6989a45b7a562a45acbbed4d835fdb4636c82')
 
 build() {
   cd ${pkgname}-${pkgname}-v${pkgver}


[arch-commits] Commit in cjdns/trunk (PKGBUILD)

2020-04-13 Thread Kpcyrd via arch-commits
Date: Monday, April 13, 2020 @ 22:57:35
  Author: kpcyrd
Revision: 613836

upgpkg: cjdns 20.6-1

Modified:
  cjdns/trunk/PKGBUILD

--+
 PKGBUILD |6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2020-04-13 22:57:29 UTC (rev 613835)
+++ PKGBUILD2020-04-13 22:57:35 UTC (rev 613836)
@@ -6,7 +6,7 @@
 # Contributor: Xyne
 
 pkgname=cjdns
-pkgver=20.5
+pkgver=20.6
 pkgrel=1
 pkgdesc='Routing engine designed for security, scalability, speed and ease of 
use'
 url='https://github.com/cjdelisle/cjdns'
@@ -17,8 +17,8 @@
 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')
+sha512sums=('34057583f2215899b96f95cc60ba0532aff12834ad2c4b432a6752c811f60ed3d6d33ec82e039b159f090558020faf69c71b373ac33ca9e41b186be0b87c3332')
+b2sums=('2577a4b79e29f4e7fe64f2c37ad3e176db216d9592bdd9abbf05e006a7cf5f85c2a877f601babdebefe4060776c6d011b2fbf886a74d1e22b349ffcc665012ef')
 
 build() {
   cd ${pkgname}-${pkgname}-v${pkgver}


[arch-commits] Commit in cjdns/trunk (PKGBUILD)

2019-05-22 Thread Levente Polyak via arch-commits
Date: Wednesday, May 22, 2019 @ 21:38:45
  Author: anthraxx
Revision: 468741

upgpkg: cjdns 20.3-1

Modified:
  cjdns/trunk/PKGBUILD

--+
 PKGBUILD |6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2019-05-22 21:36:53 UTC (rev 468740)
+++ PKGBUILD2019-05-22 21:38:45 UTC (rev 468741)
@@ -5,7 +5,7 @@
 # Contributor: Xyne
 
 pkgname=cjdns
-pkgver=20.2
+pkgver=20.3
 pkgrel=1
 pkgdesc='Routing engine designed for security, scalability, speed and ease of 
use'
 url='https://github.com/cjdelisle/cjdns'
@@ -16,8 +16,8 @@
 makedepends=('nodejs' 'python2')
 install=cjdns.install
 
source=(${pkgname}-${pkgver}.tar.gz::https://github.com/cjdelisle/${pkgname}/archive/cjdns-v${pkgver}.tar.gz)
-sha256sums=('b114f4e89c971d2c288e3d8265396248a37134895b0e0468bf55030de84b4d2a')
-sha512sums=('31edd3ff7e62bfe2ab555da1e34d4b900829180d9558eecdd93a3d726126067c8094419683f047abdcabc444e3b2ae933a68ca4fa1b535731f977e07983b7d39')
+sha256sums=('e8ca2cc5d5ba71e39a702299106dd2a965005703284cec91b3e94691cdce6f65')
+sha512sums=('ae38b33b47a567893e63bc925c91d07b5554f0c7147f90429cac41cfe35a429f507e3adc9463175a1714140169eaae370ab8c8255e82ddd9b2b32f09adae1cea')
 
 build() {
   cd ${pkgname}-${pkgname}-v${pkgver}


[arch-commits] Commit in cjdns/trunk (PKGBUILD)

2018-05-09 Thread Levente Polyak via arch-commits
Date: Wednesday, May 9, 2018 @ 17:33:20
  Author: anthraxx
Revision: 319898

upgpkg: cjdns 20.2-1

Modified:
  cjdns/trunk/PKGBUILD

--+
 PKGBUILD |7 ---
 1 file changed, 4 insertions(+), 3 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2018-05-09 16:19:04 UTC (rev 319897)
+++ PKGBUILD2018-05-09 17:33:20 UTC (rev 319898)
@@ -5,8 +5,8 @@
 # Contributor: Xyne
 
 pkgname=cjdns
-pkgver=20.1
-pkgrel=3
+pkgver=20.2
+pkgrel=1
 pkgdesc='Routing engine designed for security, scalability, speed and ease of 
use'
 url='https://github.com/cjdelisle/cjdns'
 arch=('x86_64')
@@ -16,7 +16,8 @@
 makedepends=('nodejs' 'python2')
 install=cjdns.install
 
source=(${pkgname}-${pkgver}.tar.gz::https://github.com/cjdelisle/${pkgname}/archive/cjdns-v${pkgver}.tar.gz)
-sha512sums=('519835f489359fb677d35040862dece20b75d84716281096f2c32c8531e8d784d852d8e2709d8c67e8098ad819f62c2a2ef1647fbad3e28e3e20f502d23cd3e7')
+sha256sums=('b114f4e89c971d2c288e3d8265396248a37134895b0e0468bf55030de84b4d2a')
+sha512sums=('31edd3ff7e62bfe2ab555da1e34d4b900829180d9558eecdd93a3d726126067c8094419683f047abdcabc444e3b2ae933a68ca4fa1b535731f977e07983b7d39')
 
 build() {
   cd ${pkgname}-${pkgname}-v${pkgver}


[arch-commits] Commit in cjdns/trunk (PKGBUILD)

2018-02-11 Thread Jelle van der Waa via arch-commits
Date: Sunday, February 11, 2018 @ 19:26:21
  Author: jelle
Revision: 292494

Fix FS#57461

Set CROSS as true, so -march=native is not set and overrides our
default -march flag., so -march=native is not set and overrides our
default -march flag., so -march=native is not set and overrides our
default -march flag., so -march=native is not set and overrides our
default -march flag., so -march=native is not set and overrides our
default -march flag., so -march=native is not set and overrides our
default -march flag., so -march=native is not set and overrides our
default -march flag., so -march=native is not set and overrides our
default -march flag., so -march=native is not set and overrides our
default -march flag.

Modified:
  cjdns/trunk/PKGBUILD

--+
 PKGBUILD |5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2018-02-11 19:26:02 UTC (rev 292493)
+++ PKGBUILD2018-02-11 19:26:21 UTC (rev 292494)
@@ -6,7 +6,7 @@
 
 pkgname=cjdns
 pkgver=20.1
-pkgrel=2
+pkgrel=3
 pkgdesc='Routing engine designed for security, scalability, speed and ease of 
use'
 url='https://github.com/cjdelisle/cjdns'
 arch=('x86_64')
@@ -20,7 +20,8 @@
 
 build() {
   cd ${pkgname}-${pkgname}-v${pkgver}
-  CJDNS_RELEASE_VERSION="${pkgver}" \
+  # Pretend to be cross compiling so -march=native is not set.
+  CROSS="true" CJDNS_RELEASE_VERSION="${pkgver}" \
 node ./node_build/make.js
 }
 


[arch-commits] Commit in cjdns/trunk (PKGBUILD)

2018-02-11 Thread Jelle van der Waa via arch-commits
Date: Sunday, February 11, 2018 @ 18:54:32
  Author: jelle
Revision: 292453

Resolve FS#57461 cjdroute Illegal instruction

A rebuild resolves the sigill.

Modified:
  cjdns/trunk/PKGBUILD

--+
 PKGBUILD |2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Modified: PKGBUILD
===
--- PKGBUILD2018-02-11 18:54:16 UTC (rev 292452)
+++ PKGBUILD2018-02-11 18:54:32 UTC (rev 292453)
@@ -6,7 +6,7 @@
 
 pkgname=cjdns
 pkgver=20.1
-pkgrel=1
+pkgrel=2
 pkgdesc='Routing engine designed for security, scalability, speed and ease of 
use'
 url='https://github.com/cjdelisle/cjdns'
 arch=('x86_64')


[arch-commits] Commit in cjdns/trunk (PKGBUILD)

2017-10-05 Thread Levente Polyak
Date: Thursday, October 5, 2017 @ 09:45:12
  Author: anthraxx
Revision: 261622

switch back checksum

Modified:
  cjdns/trunk/PKGBUILD

--+
 PKGBUILD |4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2017-10-05 09:45:09 UTC (rev 261621)
+++ PKGBUILD2017-10-05 09:45:12 UTC (rev 261622)
@@ -17,8 +17,8 @@
 install=cjdns.install
 
source=(${pkgname}-${pkgver}.tar.gz::https://github.com/cjdelisle/${pkgname}/archive/cjdns-v${pkgver}.tar.gz
 1107.patch)
-sha256sums=('e8c849fca47012412c640969f09a44300010ef5e9649e08a0d39f87795d124f5'
-'0af8770c9b9948cb90fe9b4823a4abed4db9b72f6e13a26435000a4ea6cad732')
+sha512sums=('afa63daea3c3bd3e16dd0a326ebdc2afcb411c595e66552c3156c59c36af21c0b2278b3299b1053b98d381790311beeb14547afdf3d182170c446867d2199a94'
+
'3ad5bd71b706a99a429b54d3fe2241c21c0fb417a76df27b30db46e8c6fec22d952c1a1643bac2540f79a3790fd2cc1177fd4c1fe8562df86623fb6d64bc5d68')
 
 prepare() {
   cd ${pkgname}-${pkgname}-v${pkgver}


[arch-commits] Commit in cjdns/trunk (PKGBUILD)

2017-06-30 Thread Bartłomiej Piotrowski
Date: Friday, June 30, 2017 @ 08:58:57
  Author: bpiotrowski
Revision: 241656

20-1: new upstream release

Modified:
  cjdns/trunk/PKGBUILD

--+
 PKGBUILD |8 
 1 file changed, 4 insertions(+), 4 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2017-06-30 08:46:26 UTC (rev 241655)
+++ PKGBUILD2017-06-30 08:58:57 UTC (rev 241656)
@@ -5,8 +5,8 @@
 # Contributor: Xyne
 
 pkgname=cjdns
-pkgver=19.1
-pkgrel=2
+pkgver=20
+pkgrel=1
 pkgdesc='Routing engine designed for security, scalability, speed and ease of 
use'
 url='https://github.com/cjdelisle/cjdns'
 arch=('i686' 'x86_64')
@@ -16,8 +16,8 @@
 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')
+sha256sums=('08a1029d47f3b666eec9d901b2e2fe6e8f971348c10465427db95e4153ecd8b7')
+sha512sums=('7da6537ed417d33ebd9ffa27a9e08758c48ea99930a85497853f0ee43cc87501434ab76bee0e69dc935b3338959d86bcb4bef527f1b93887b0a3662b4ab55879')
 
 build() {
   cd ${pkgname}-${pkgname}-v${pkgver}


[arch-commits] Commit in cjdns/trunk (PKGBUILD cjdns.install)

2017-03-14 Thread Levente Polyak
Date: Tuesday, March 14, 2017 @ 22:26:59
  Author: anthraxx
Revision: 216326

upgpkg: cjdns 19.1-2 (less noisy install and added opt tools)

Modified:
  cjdns/trunk/PKGBUILD
  cjdns/trunk/cjdns.install

---+
 PKGBUILD  |7 +--
 cjdns.install |   10 +-
 2 files changed, 10 insertions(+), 7 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2017-03-14 20:34:07 UTC (rev 216325)
+++ PKGBUILD2017-03-14 22:26:59 UTC (rev 216326)
@@ -6,12 +6,13 @@
 
 pkgname=cjdns
 pkgver=19.1
-pkgrel=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)
@@ -20,7 +21,8 @@
 
 build() {
   cd ${pkgname}-${pkgname}-v${pkgver}
-  CJDNS_RELEASE_VERSION="${pkgver}" bash 'do'
+  CJDNS_RELEASE_VERSION="${pkgver}" \
+node ./node_build/make.js
 }
 
 package() {
@@ -40,6 +42,7 @@
 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:

Modified: cjdns.install
===
--- cjdns.install   2017-03-14 20:34:07 UTC (rev 216325)
+++ cjdns.install   2017-03-14 22:26:59 UTC (rev 216326)
@@ -4,19 +4,19 @@
 
   if [[ ! -e "${config_path}" ]] ; then
 echo "Generating ${config_file}... "
-(umask 077 && cjdroute --genconf > "${config_path}") || 
+(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 "
+>>> 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() {


[arch-commits] Commit in cjdns/trunk (PKGBUILD)

2017-03-13 Thread Levente Polyak
Date: Monday, March 13, 2017 @ 11:33:25
  Author: anthraxx
Revision: 216064

upgpkg: cjdns 19.1-1

Modified:
  cjdns/trunk/PKGBUILD

--+
 PKGBUILD |7 ---
 1 file changed, 4 insertions(+), 3 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2017-03-13 10:11:16 UTC (rev 216063)
+++ PKGBUILD2017-03-13 11:33:25 UTC (rev 216064)
@@ -5,9 +5,9 @@
 # Contributor: Xyne
 
 pkgname=cjdns
-pkgver=18
+pkgver=19.1
 pkgrel=1
-pkgdesc='A routing engine designed for security, scalability, speed and ease 
of use'
+pkgdesc='Routing engine designed for security, scalability, speed and ease of 
use'
 url='https://github.com/cjdelisle/cjdns'
 arch=('i686' 'x86_64')
 license=('GPL3')
@@ -15,7 +15,8 @@
 makedepends=('nodejs' 'python2')
 install=cjdns.install
 
source=(${pkgname}-${pkgver}.tar.gz::https://github.com/cjdelisle/${pkgname}/archive/cjdns-v${pkgver}.tar.gz)
-sha512sums=('3b7ed50c81ed51f8deea3999aa0b820f78de53da3d3937c13f572e35bb7c2a6f963d3779c2f0b7b4afc64e6a45ae98c4a6958a0c31d43d4309a47ae3ccbb709b')
+sha256sums=('53c568a500215b055a9894178eb4477bd93a6e1abf751d0bc5ef2a03ea01a188')
+sha512sums=('9c29bf1d136237bd60e125718bdd2c6d7f5a651d51af50aea3173eed1626a402dac5a2a72f9fb129fc9af24c3b67472a1dfe7b2b6a09bb28d01a120fc667b206')
 
 build() {
   cd ${pkgname}-${pkgname}-v${pkgver}


[arch-commits] Commit in cjdns/trunk (PKGBUILD)

2016-10-12 Thread Levente Polyak
Date: Wednesday, October 12, 2016 @ 21:02:02
  Author: anthraxx
Revision: 192094

upgpkg: cjdns 18-1

Modified:
  cjdns/trunk/PKGBUILD

--+
 PKGBUILD |6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2016-10-12 20:53:17 UTC (rev 192093)
+++ PKGBUILD2016-10-12 21:02:02 UTC (rev 192094)
@@ -5,8 +5,8 @@
 # Contributor: Xyne
 
 pkgname=cjdns
-pkgver=17.4
-pkgrel=2
+pkgver=18
+pkgrel=1
 pkgdesc='A routing engine designed for security, scalability, speed and ease 
of use'
 url='https://github.com/cjdelisle/cjdns'
 arch=('i686' 'x86_64')
@@ -15,7 +15,7 @@
 makedepends=('nodejs' 'python2')
 install=cjdns.install
 
source=(${pkgname}-${pkgver}.tar.gz::https://github.com/cjdelisle/${pkgname}/archive/cjdns-v${pkgver}.tar.gz)
-sha512sums=('16f13d39b09b8388a2814e234c1f866d87c6699d215cce78885258224c9a5969720e436f960b8b160d47eb403622d81947234323c8b4734a9cc68de247b314de')
+sha512sums=('3b7ed50c81ed51f8deea3999aa0b820f78de53da3d3937c13f572e35bb7c2a6f963d3779c2f0b7b4afc64e6a45ae98c4a6958a0c31d43d4309a47ae3ccbb709b')
 
 build() {
   cd ${pkgname}-${pkgname}-v${pkgver}


[arch-commits] Commit in cjdns/trunk (PKGBUILD)

2016-10-09 Thread Bartłomiej Piotrowski
Date: Sunday, October 9, 2016 @ 13:00:25
  Author: bpiotrowski
Revision: 191701

upgpkg: cjdns 17.4-2

include cjdns-resume.service

Modified:
  cjdns/trunk/PKGBUILD

--+
 PKGBUILD |3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

Modified: PKGBUILD
===
--- PKGBUILD2016-10-09 12:19:10 UTC (rev 191700)
+++ PKGBUILD2016-10-09 13:00:25 UTC (rev 191701)
@@ -6,7 +6,7 @@
 
 pkgname=cjdns
 pkgver=17.4
-pkgrel=1
+pkgrel=2
 pkgdesc='A routing engine designed for security, scalability, speed and ease 
of use'
 url='https://github.com/cjdelisle/cjdns'
 arch=('i686' 'x86_64')
@@ -26,6 +26,7 @@
   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}" \


[arch-commits] Commit in cjdns/trunk (PKGBUILD)

2016-06-26 Thread Levente Polyak
Date: Sunday, June 26, 2016 @ 12:37:07
  Author: anthraxx
Revision: 181227

upgpkg: cjdns 17.4-1

Modified:
  cjdns/trunk/PKGBUILD

--+
 PKGBUILD |4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2016-06-26 12:36:06 UTC (rev 181226)
+++ PKGBUILD2016-06-26 12:37:07 UTC (rev 181227)
@@ -5,7 +5,7 @@
 # Contributor: Xyne
 
 pkgname=cjdns
-pkgver=17.3
+pkgver=17.4
 pkgrel=1
 pkgdesc='A routing engine designed for security, scalability, speed and ease 
of use'
 url='https://github.com/cjdelisle/cjdns'
@@ -15,7 +15,7 @@
 makedepends=('nodejs' 'python2')
 install=cjdns.install
 
source=(${pkgname}-${pkgver}.tar.gz::https://github.com/cjdelisle/${pkgname}/archive/cjdns-v${pkgver}.tar.gz)
-sha512sums=('4808da422f65864114aa9e122184351ca16b8b9bb2961d10c45cbc0565341a1a1a4f7fd4628777eda8f6ffcd3aece6d6f78ab3e3dfbe31595652183240e6')
+sha512sums=('16f13d39b09b8388a2814e234c1f866d87c6699d215cce78885258224c9a5969720e436f960b8b160d47eb403622d81947234323c8b4734a9cc68de247b314de')
 
 build() {
   cd ${pkgname}-${pkgname}-v${pkgver}


[arch-commits] Commit in cjdns/trunk (PKGBUILD)

2015-11-02 Thread Levente Polyak
Date: Tuesday, November 3, 2015 @ 01:51:08
  Author: anthraxx
Revision: 145703

upgpkg: cjdns 17.1-1

upgpkg: cjdns 17.1-1

Modified:
  cjdns/trunk/PKGBUILD

--+
 PKGBUILD |4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2015-11-02 21:37:24 UTC (rev 145702)
+++ PKGBUILD2015-11-03 00:51:08 UTC (rev 145703)
@@ -5,7 +5,7 @@
 # Contributor: Xyne
 
 pkgname=cjdns
-pkgver=17
+pkgver=17.1
 pkgrel=1
 pkgdesc='A routing engine designed for security, scalability, speed and ease 
of use'
 url='https://github.com/cjdelisle/cjdns'
@@ -15,7 +15,7 @@
 makedepends=('nodejs' 'python2')
 install=cjdns.install
 
source=(${pkgname}-${pkgver}.tar.gz::https://github.com/cjdelisle/${pkgname}/archive/cjdns-v${pkgver}.tar.gz)
-sha512sums=('1f5c2ecf2182c666fb6f62452e2cf70f03158987e9fdebcbb26b67836707eec7ef43849d25058ced159f701598bd506b63170ddfb545e4a3698ce87805d9630a')
+sha512sums=('aac6fc6d18bfd35d81a1cb4d1a72e7d8ed3aca8546780abec4994daf913d520956f917b9dd7ee3b93fc37504830a6cebf56a80976f74a4f576b35ab4de0ad3b7')
 
 build() {
   cd ${pkgname}-${pkgname}-v${pkgver}


[arch-commits] Commit in cjdns/trunk (PKGBUILD)

2015-10-31 Thread Levente Polyak
Date: Sunday, November 1, 2015 @ 03:34:59
  Author: anthraxx
Revision: 145383

upgpkg: cjdns 17-1

upgpkg: cjdns 17-1

Modified:
  cjdns/trunk/PKGBUILD

--+
 PKGBUILD |4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2015-11-01 02:31:08 UTC (rev 145382)
+++ PKGBUILD2015-11-01 02:34:59 UTC (rev 145383)
@@ -5,7 +5,7 @@
 # Contributor: Xyne
 
 pkgname=cjdns
-pkgver=16.3
+pkgver=17
 pkgrel=1
 pkgdesc='A routing engine designed for security, scalability, speed and ease 
of use'
 url='https://github.com/cjdelisle/cjdns'
@@ -15,7 +15,7 @@
 makedepends=('nodejs' 'python2')
 install=cjdns.install
 
source=(${pkgname}-${pkgver}.tar.gz::https://github.com/cjdelisle/${pkgname}/archive/cjdns-v${pkgver}.tar.gz)
-sha512sums=('9fe87b7610284fb94d68d735615360b80e9f34901b3213332c5a49ba7d83080b4b3d4d6fe1e826aadae436c5da4e77f5a7e16b4e74960eccc9b2778bad5ed3e8')
+sha512sums=('1f5c2ecf2182c666fb6f62452e2cf70f03158987e9fdebcbb26b67836707eec7ef43849d25058ced159f701598bd506b63170ddfb545e4a3698ce87805d9630a')
 
 build() {
   cd ${pkgname}-${pkgname}-v${pkgver}


[arch-commits] Commit in cjdns/trunk (PKGBUILD)

2015-09-14 Thread Levente Polyak
Date: Tuesday, September 15, 2015 @ 01:22:33
  Author: anthraxx
Revision: 140103

upgpkg: cjdns 16.3-1

upgpkg: cjdns 16.3-1

Modified:
  cjdns/trunk/PKGBUILD

--+
 PKGBUILD |6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2015-09-14 21:47:08 UTC (rev 140102)
+++ PKGBUILD2015-09-14 23:22:33 UTC (rev 140103)
@@ -5,8 +5,8 @@
 # Contributor: Xyne
 
 pkgname=cjdns
-pkgver=16.1
-pkgrel=3
+pkgver=16.3
+pkgrel=1
 pkgdesc='A routing engine designed for security, scalability, speed and ease 
of use'
 url='https://github.com/cjdelisle/cjdns'
 arch=('i686' 'x86_64')
@@ -15,7 +15,7 @@
 makedepends=('nodejs' 'python2')
 install=cjdns.install
 
source=(${pkgname}-${pkgver}.tar.gz::https://github.com/cjdelisle/${pkgname}/archive/cjdns-v${pkgver}.tar.gz)
-sha512sums=('f9c2777c972dfc4fbed28c02434fbbb8ff5b740c5d5f7d9be353547c3a4e42f7b376e2ab0e68aa98d0234c4229b00b221ed0f6cdb7e3d33448fe1ea7e02d8af7')
+sha512sums=('9fe87b7610284fb94d68d735615360b80e9f34901b3213332c5a49ba7d83080b4b3d4d6fe1e826aadae436c5da4e77f5a7e16b4e74960eccc9b2778bad5ed3e8')
 
 build() {
   cd ${pkgname}-${pkgname}-v${pkgver}


[arch-commits] Commit in cjdns/trunk (PKGBUILD cjdns.install)

2015-08-04 Thread Levente Polyak
Date: Tuesday, August 4, 2015 @ 18:10:24
  Author: anthraxx
Revision: 137939

upgpkg: cjdns 16.1-3

updpkg cjdns 16.1-3

Added:
  cjdns/trunk/cjdns.install
Modified:
  cjdns/trunk/PKGBUILD

---+
 PKGBUILD  |4 ++--
 cjdns.install |   26 ++
 2 files changed, 28 insertions(+), 2 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2015-08-04 15:19:31 UTC (rev 137938)
+++ PKGBUILD2015-08-04 16:10:24 UTC (rev 137939)
@@ -6,7 +6,7 @@
 
 pkgname=cjdns
 pkgver=16.1
-pkgrel=2
+pkgrel=3
 pkgdesc='A routing engine designed for security, scalability, speed and ease 
of use'
 url='https://github.com/cjdelisle/cjdns'
 arch=('i686' 'x86_64')
@@ -13,6 +13,7 @@
 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)
 
sha512sums=('f9c2777c972dfc4fbed28c02434fbbb8ff5b740c5d5f7d9be353547c3a4e42f7b376e2ab0e68aa98d0234c4229b00b221ed0f6cdb7e3d33448fe1ea7e02d8af7')
 
@@ -24,7 +25,6 @@
 package() {
   cd ${pkgname}-${pkgname}-v${pkgver}
   install -Dm 755 cjdroute ${pkgdir}/usr/bin/cjdroute
-  install -Dm 755 contrib/sh/run-cjdroute.sh ${pkgdir}/usr/bin/run-cjdroute
   install -Dm 644 contrib/systemd/${pkgname}.service 
${pkgdir}/usr/lib/systemd/system/${pkgname}.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

Added: cjdns.install
===
--- cjdns.install   (rev 0)
+++ cjdns.install   2015-08-04 16:10:24 UTC (rev 137939)
@@ -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.
+  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:


[arch-commits] Commit in cjdns/trunk (PKGBUILD)

2015-07-20 Thread Levente Polyak
Date: Tuesday, July 21, 2015 @ 00:26:44
  Author: anthraxx
Revision: 137165

upgpkg: cjdns 16.1-2

updpkg cjdns 16.1-2

Modified:
  cjdns/trunk/PKGBUILD

--+
 PKGBUILD |   20 
 1 file changed, 12 insertions(+), 8 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2015-07-20 22:23:18 UTC (rev 137164)
+++ PKGBUILD2015-07-20 22:26:44 UTC (rev 137165)
@@ -6,16 +6,13 @@
 
 pkgname=cjdns
 pkgver=16.1
-pkgrel=1
+pkgrel=2
 pkgdesc='A routing engine designed for security, scalability, speed and ease 
of use'
 url='https://github.com/cjdelisle/cjdns'
-arch=('i686' 'x86_64' 'arm' 'armv6h' 'armv7h')
+arch=('i686' 'x86_64')
 license=('GPL3')
 depends=('glibc' 'sh')
 makedepends=('nodejs' 'python2')
-optdepends=(
-  'cjdnsify: allows you to run some programs bound to your cjdns address'
-)
 
source=(${pkgname}-${pkgver}.tar.gz::https://github.com/cjdelisle/${pkgname}/archive/cjdns-v${pkgver}.tar.gz)
 
sha512sums=('f9c2777c972dfc4fbed28c02434fbbb8ff5b740c5d5f7d9be353547c3a4e42f7b376e2ab0e68aa98d0234c4229b00b221ed0f6cdb7e3d33448fe1ea7e02d8af7')
 
@@ -31,9 +28,16 @@
   install -Dm 644 contrib/systemd/${pkgname}.service 
${pkgdir}/usr/lib/systemd/system/${pkgname}.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 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 \
--t ${pkgdir}/usr/share/doc/${pkgname}
+  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: