diff options
author | Natanael Copa <ncopa@alpinelinux.org> | 2020-01-21 12:18:06 +0000 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2020-01-21 12:19:50 +0000 |
commit | 301fb793ca20f34727f6effd520878fd6cbd6852 (patch) | |
tree | cf114f659de1141517195662d997a5d3bb633b1e /unmaintained | |
parent | 018bfbb7446893787b33668b43c2585391f20a04 (diff) | |
download | aports-301fb793ca20f34727f6effd520878fd6cbd6852.tar.bz2 aports-301fb793ca20f34727f6effd520878fd6cbd6852.tar.xz |
main/cjdns: move back from unmaintained and upgrade to 20.5
upstream has tagged new release with python3 support
https://github.com/hyperboria/bugs/issues/194#issuecomment-576645642
Diffstat (limited to 'unmaintained')
-rw-r--r-- | unmaintained/cjdns/APKBUILD | 51 | ||||
-rw-r--r-- | unmaintained/cjdns/cjdns.post-install | 5 | ||||
-rw-r--r-- | unmaintained/cjdns/no-march-flag.patch | 13 |
3 files changed, 0 insertions, 69 deletions
diff --git a/unmaintained/cjdns/APKBUILD b/unmaintained/cjdns/APKBUILD deleted file mode 100644 index 894b6e5605..0000000000 --- a/unmaintained/cjdns/APKBUILD +++ /dev/null @@ -1,51 +0,0 @@ -# Maintainer: kpcyrd <git@rxv.cc> -# Contributor: kpcyrd <git@rxv.cc> -# Contributor: Bartłomiej Piotrowski <bpiotrowski@alpinelinux.org> - -pkgname=cjdns -pkgver=20.4 -pkgrel=0 -pkgdesc="A routing engine designed for security, scalability, speed and ease of use" -url="https://github.com/cjdelisle/cjdns" -arch="all !x86 !s390x" -license="GPL-3.0-or-later" -makedepends="nodejs python2 linux-headers libseccomp-dev" -install="$pkgname.post-install" -subpackages="$pkgname-doc $pkgname-openrc" -source="$pkgname-$pkgver.tar.gz::https://github.com/cjdelisle/cjdns/archive/cjdns-v$pkgver.tar.gz - no-march-flag.patch" - -builddir="$srcdir/$pkgname-$pkgname-v$pkgver" - -build() { - cd "$builddir" - export CJDNS_RELEASE_VERSION="$pkgver" - node ./node_build/make.js -} - -check() { - cd "$builddir" - ./cjdroute --help >/dev/null -} - -package() { - cd "$builddir" - install -Dm755 cjdroute "$pkgdir/usr/sbin/cjdroute" - install -Dm755 contrib/openrc/cjdns "$pkgdir/etc/init.d/cjdns" - install -Dm644 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 -Dm644 -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 -} - -sha512sums="5a6bd36b2edd07fa883efa4b14dd8a7ba0189bf43404e27ab6ae3b0c2f1e63ce738c52b34416f51f93c9752f6654ea95eac2c71897d2a1e19f4a6d1ca3bad46d cjdns-20.4.tar.gz -0c487a46609b75408d83cee954fc49f47997f0e9ee2bb8f64c3edc7e67273e5e90b4b2028847e09faa4bd1310b82f1a86fa7d0d0c42f18510cc9dcd4bccb8808 no-march-flag.patch" diff --git a/unmaintained/cjdns/cjdns.post-install b/unmaintained/cjdns/cjdns.post-install deleted file mode 100644 index 0e091e941c..0000000000 --- a/unmaintained/cjdns/cjdns.post-install +++ /dev/null @@ -1,5 +0,0 @@ -#!/bin/sh - -umask 007 -[ ! -f /etc/cjdroute.conf ] && \ - cjdroute --genconf > /etc/cjdroute.conf diff --git a/unmaintained/cjdns/no-march-flag.patch b/unmaintained/cjdns/no-march-flag.patch deleted file mode 100644 index aaec16c2ed..0000000000 --- a/unmaintained/cjdns/no-march-flag.patch +++ /dev/null @@ -1,13 +0,0 @@ -diff --git a/node_build/make.js b/node_build/make.js -index b3ae15d..b86e07f 100644 ---- a/node_build/make.js -+++ b/node_build/make.js -@@ -29,7 +29,7 @@ var GCC = process.env['CC']; - var CFLAGS = process.env['CFLAGS']; - var LDFLAGS = process.env['LDFLAGS']; - --var NO_MARCH_FLAG = ['arm', 'ppc', 'ppc64']; -+var NO_MARCH_FLAG = ['arm', 'arm64', 'mips', 'mips64', 'mips64el', 'mipsel', 'ppc', 'ppc64']; - - if (GCC) { - // Already specified. |