Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
E
eepm
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Vladislav
eepm
Commits
3c64b623
Commit
3c64b623
authored
2 years ago
by
Vitaly Lipatov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
epm play: add zerotier-one
parent
f831a883
master
3.60.13
3.60.12
3.60.11
3.60.10
3.60.9
3.60.8
3.60.7
3.60.6
3.60.5
3.60.4
3.60.3
3.60.2
3.60.1
3.60.0
3.59.0
3.58.4
3.58.3
3.58.2
3.58.1
3.58.0
3.57.14
3.57.13
3.57.12
3.57.12-alt1
3.57.11-alt1
3.57.10
3.57.10-alt1
3.57.9
3.57.8
3.57.8-alt1
3.57.7
3.57.7-alt1
3.57.6
3.57.6-alt1
3.57.5
3.57.5-alt1
3.57.4
3.57.4-alt1
3.57.3
3.57.3-alt1
3.57.2
3.57.2-alt1
3.57.1
3.57.1-alt1
3.57.0
3.57.0-alt1
3.56.2
3.56.2-alt1
3.56.1
3.56.1-alt1
3.56.0
3.56.0-alt1
3.55.8
3.55.8-alt1
3.55.7
3.55.7-alt1
3.55.6
3.55.6-alt1
3.55.5
3.55.5-alt1
3.55.4
3.55.4-alt1
3.55.3
3.55.3-alt1
3.55.2
3.55.2-alt1
3.55.1
3.55.1-alt1
3.55.0
3.55.0-alt1
3.54.0
3.54.0-alt1
3.53.2
3.53.2-alt1
3.53.1
3.53.1-alt1
3.53.0
3.53.0-alt1
3.52.7
3.52.7-alt1
3.52.6
3.52.6-alt1
3.52.5
3.52.5-alt1
3.52.4
3.52.4-alt1
3.52.3
3.52.3-alt1
3.52.2
3.52.2-alt1
3.52.1
3.52.1-alt1
3.52.0
3.52.0-alt1
3.51.2
3.51.2-alt1
No related merge requests found
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
49 additions
and
0 deletions
+49
-0
zerotier-one.sh
play.d/zerotier-one.sh
+49
-0
No files found.
play.d/zerotier-one.sh
0 → 100755
View file @
3c64b623
#!/bin/sh
PKGNAME
=
zerotier-one
SUPPORTEDARCHES
=
"x86_64 aarch64 ppc64el"
DESCRIPTION
=
"ZeroTier - A Smart Ethernet Switch for Earth from the official site"
.
$(
dirname
$0
)
/common.sh
pkg
=
"
$(
epm print info
-p
)
"
arch
=
"
$(
epm print info
-a
)
"
[
"
$pkg
"
=
"deb"
]
&&
arch
=
"
$(
epm print info
--distro-arch
)
"
# TODO
version
=
1.10.6
distr
=
"
$(
epm print info
-s
)
"
repo
=
"
$(
epm print info
-r
)
"
case
"
$distr
"
in
alt
)
distr
=
redhat
if
[
"
$repo
"
=
"p9"
]
||
[
"
$repo
"
=
"c9f2"
]
;
then
repo
=
el6
else
repo
=
el8
fi
;;
centos|rhel
)
distr
=
redhat
repo
=
fc
$repo
;;
debian|ubuntu
)
distr
=
debian
;;
fedora
)
distr
=
redhat
repo
=
fc
$repo
;;
*
)
;;
esac
dv
=
$distr
/
$repo
# hack due broken answer from the server
PKGURL
=
"
$(
eget
--compressed
--list
--latest
https://download.zerotier.com/RELEASES/
$version
/dist/
$dv
/
${
PKGNAME
}
[
-_
]
$version
*
$arch
.
$pkg
)
"
epm
install
--scripts
$PKGURL
This diff is collapsed.
Click to expand it.
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment