summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--net-misc/zerotier/Manifest1
-rw-r--r--net-misc/zerotier/files/zerotier.init22
-rw-r--r--net-misc/zerotier/zerotier-1.6.3.ebuild80
3 files changed, 0 insertions, 103 deletions
diff --git a/net-misc/zerotier/Manifest b/net-misc/zerotier/Manifest
index ef28aee21f0b..e825f666e9d7 100644
--- a/net-misc/zerotier/Manifest
+++ b/net-misc/zerotier/Manifest
@@ -1,2 +1 @@
-DIST zerotier-1.6.3.tar.gz 16020606 BLAKE2B d958ac3276b34b0b99dcce7178ca08a7ac398831172103bb26ddb32814f9043103c9cde6e55853a20d090c1b239746c65cd70de3b9e498dc174baaf6ca403a66 SHA512 56052a9cd50f2a754ba8979fec9b7ba6caf54d83582428b1b43d8b54e5caf388adccbb955fcb9c3fd5b3d7ebde7663023ca4a9a3805b877c3063fa72e23cbed0
DIST zerotier-1.6.4.tar.gz 16021448 BLAKE2B b45219c2e54f3e789fb970fc8cd9d26ce6175c9737f02838efd11c07223ca49c10480935319292e609cb24bef46aaf7f5eebc8335e84af642d25e87ea5a8e163 SHA512 b1cd96cdc76cfd7929016382bc4a373a88d468010134cd65efbe32fc23e1cb56e0306f84ae10b3ad6d65e7a3fa6aebe79ec6c019840123f770bbc6fe2152723c
diff --git a/net-misc/zerotier/files/zerotier.init b/net-misc/zerotier/files/zerotier.init
deleted file mode 100644
index f5f199e17d11..000000000000
--- a/net-misc/zerotier/files/zerotier.init
+++ /dev/null
@@ -1,22 +0,0 @@
-#!/sbin/openrc-run
-
-ZEROTIERONE_PIDFILE="/var/run/${SVCNAME}.pid"
-PN="zerotier-one"
-PN_PATH="/usr/sbin/${PN}"
-
-depend() {
- need net
-}
-
-start() {
- ebegin "Starting ${PN}"
- start-stop-daemon --start \
- --exec "${PN_PATH}" --make-pidfile --pidfile "${ZEROTIERONE_PIDFILE}" --background
- eend $?
-}
-
-stop() {
- ebegin "Stopping ${PN}"
- start-stop-daemon --stop --quiet --pidfile "${ZEROTIERONE_PIDFILE}"
- eend $?
-}
diff --git a/net-misc/zerotier/zerotier-1.6.3.ebuild b/net-misc/zerotier/zerotier-1.6.3.ebuild
deleted file mode 100644
index fc017b010fc9..000000000000
--- a/net-misc/zerotier/zerotier-1.6.3.ebuild
+++ /dev/null
@@ -1,80 +0,0 @@
-# Copyright 1999-2021 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-inherit flag-o-matic llvm systemd toolchain-funcs
-
-HOMEPAGE="https://www.zerotier.com/"
-DESCRIPTION="A software-based managed Ethernet switch for planet Earth"
-SRC_URI="https://github.com/zerotier/ZeroTierOne/archive/${PV}.tar.gz -> ${P}.tar.gz"
-
-LICENSE="BSL-1.1"
-SLOT="0"
-KEYWORDS="~amd64 ~arm ~arm64 ~x86"
-IUSE="clang cpu_flags_arm_neon"
-
-S="${WORKDIR}/ZeroTierOne-${PV}"
-
-RDEPEND="
- dev-libs/json-glib
- net-libs/libnatpmp
- net-libs/miniupnpc:=
- clang? ( >=sys-devel/clang-6:* )"
-
-DEPEND="${RDEPEND}"
-
-PATCHES=(
- "${FILESDIR}/${PN}-1.4.6-respect-ldflags.patch"
- "${FILESDIR}/${PN}-1.4.6-add-armv7a-support.patch"
-)
-
-DOCS=( README.md AUTHORS.md )
-
-LLVM_MAX_SLOT=11
-
-llvm_check_deps() {
- if use clang ; then
- if ! has_version --host-root "sys-devel/clang:${LLVM_SLOT}" ; then
- ewarn "sys-devel/clang:${LLVM_SLOT} is missing! Cannot use LLVM slot ${LLVM_SLOT} ..."
- return 1
- fi
-
- if ! has_version --host-root "=sys-devel/lld-${LLVM_SLOT}*" ; then
- ewarn "=sys-devel/lld-${LLVM_SLOT}* is missing! Cannot use LLVM slot ${LLVM_SLOT} ..."
- return 1
- fi
-
- einfo "Will use LLVM slot ${LLVM_SLOT}!"
- fi
-}
-
-pkg_setup() {
- if use clang && ! tc-is-clang ; then
- export CC=${CHOST}-clang
- export CXX=${CHOST}-clang++
- else
- tc-export CXX CC
- fi
- use cpu_flags_arm_neon || export ZT_DISABLE_NEON=1
-}
-
-src_compile() {
- append-ldflags -Wl,-z,noexecstack
- emake CXX="${CXX}" STRIP=: one
-}
-
-src_test() {
- emake selftest
- ./zerotier-selftest || die
-}
-
-src_install() {
- default
- # remove pre-zipped man pages
- rm "${ED}"/usr/share/man/{man1,man8}/* || die
-
- newinitd "${FILESDIR}/${PN}".init-r1 "${PN}"
- systemd_dounit "${FILESDIR}/${PN}".service
- doman doc/zerotier-{cli.1,idtool.1,one.8}
-}