aboutsummaryrefslogtreecommitdiffstats
path: root/testing
diff options
context:
space:
mode:
authorwener <wenermail@gmail.com>2019-08-12 00:52:11 +0000
committerLeo <thinkabit.ukim@gmail.com>2019-08-11 16:51:14 -0300
commit61d723248aec7cee3ffb973649b7e51e968c0d71 (patch)
tree2ee08a01bedcb21266af8fb90aaf7c79c93e2d73 /testing
parent74b7ba5d859005bc0e2a6e99f72bcdde04c116e6 (diff)
downloadaports-61d723248aec7cee3ffb973649b7e51e968c0d71.tar.bz2
aports-61d723248aec7cee3ffb973649b7e51e968c0d71.tar.xz
community/zerotier-one: move from testing,upgrade to 1.4.0.1
Diffstat (limited to 'testing')
-rw-r--r--testing/zerotier-one/APKBUILD40
-rw-r--r--testing/zerotier-one/ppc64le-make-linux.patch14
-rw-r--r--testing/zerotier-one/zerotier-one.initd11
3 files changed, 0 insertions, 65 deletions
diff --git a/testing/zerotier-one/APKBUILD b/testing/zerotier-one/APKBUILD
deleted file mode 100644
index 6432404f87..0000000000
--- a/testing/zerotier-one/APKBUILD
+++ /dev/null
@@ -1,40 +0,0 @@
-# Contributor: Kyle Parisi <kyleparisi@gmail.com>
-# Maintainer: Kyle Parisi <kyleparisi@gmail.com>
-pkgname=zerotier-one
-pkgver=1.2.12
-pkgrel=1
-pkgdesc="ZeroTier One allows systems to join and participate in ZeroTier virtual networks."
-url="https://www.zerotier.com/"
-arch="x86_64 ppc64le"
-license="GPL-3.0"
-makedepends="linux-headers"
-subpackages="$pkgname-doc $pkgname-openrc"
-source="$pkgname-$pkgver.tar.gz::https://github.com/zerotier/ZeroTierOne/archive/${pkgver}.tar.gz
- zerotier-one.initd
- ppc64le-make-linux.patch
- "
-
-builddir="$srcdir"/ZeroTierOne-$pkgver
-build() {
- cd "$builddir"
- sed -i.bak s:/bash:/sh:g ./doc/build.sh
- make
-}
-
-check() {
- cd "$builddir"
- make selftest
-}
-
-package() {
- cd "$builddir"
- make DESTDIR="$pkgdir" install
- install -m755 -D "$srcdir"/$pkgname.initd \
- "$pkgdir"/etc/init.d/$pkgname
- install -d "$pkgdir"/etc/modules-load.d
- echo "tun" > "$pkgdir"/etc/modules-load.d/$pkgname.conf
-}
-
-sha512sums="a35029993d9266f3529a9922daa606b0d56a332514545f8cfab2092a4c9db4fc7217223f3bd7dbe59e536de325ee9b4f0226d673c0f0ec5859cf2937e8a4a2d4 zerotier-one-1.2.12.tar.gz
-a63f8e649d63a3de58a556b3adca440cd0c0d4b36239ea547d555b97852d89d0a1446f348d35e98f77faabe1fe4ffb76868b8290ad9f2b4cd8b6c599945a176c zerotier-one.initd
-fe4468a2fdcda99ab4b6055a567f12c04973ad151ad7c1f710bf4e53a5d7e1190ba864cd45274106e5b341267f24f27b2a4855bd27668fec84545d17627d79e7 ppc64le-make-linux.patch"
diff --git a/testing/zerotier-one/ppc64le-make-linux.patch b/testing/zerotier-one/ppc64le-make-linux.patch
deleted file mode 100644
index 7c867a6181..0000000000
--- a/testing/zerotier-one/ppc64le-make-linux.patch
+++ /dev/null
@@ -1,14 +0,0 @@
---- a/make-linux.mk
-+++ b/make-linux.mk
-@@ -154,6 +154,11 @@
- ZT_ARCHITECTURE=6
- override DEFS+=-DZT_NO_TYPE_PUNNING
- endif
-+ifeq ($(CC_MACH),powerpc64le)
-+ ZT_ARCHITECTURE=7
-+ override DEFS+=-DZT_NO_TYPE_PUNNING
-+endif
-+
-
- # Fail if system architecture could not be determined
- ifeq ($(ZT_ARCHITECTURE),999)
diff --git a/testing/zerotier-one/zerotier-one.initd b/testing/zerotier-one/zerotier-one.initd
deleted file mode 100644
index 7a1a136898..0000000000
--- a/testing/zerotier-one/zerotier-one.initd
+++ /dev/null
@@ -1,11 +0,0 @@
-#!/sbin/openrc-run
-
-depend() {
- provide net
- use network
- before firewall netmount
-}
-
-command="/usr/sbin/zerotier-one"
-command_background="yes"
-pidfile="/run/$RC_SVCNAME.pid"