ZeroTier no longer provide a generic Linux installer, so the only ways to install it on Gentoo are build from source or unpack one of the deb or rpm files. This ebuild builds from source. I've tested it on amd64 and x86 with systemd and openrc. I'm willing to proxy maintain it.
Created attachment 440048 [details] sysvinit service file
Created attachment 440050 [details] systemd unit
I haven't tried to port the sysvinit service file to openrc-run, could do with some help on that.
(In reply to Neil Bothwick from comment #0) > ZeroTier no longer provide a generic Linux installer, so the only ways to > install it on Gentoo are build from source or unpack one of the deb or rpm > files. This ebuild builds from source. I've tested it on amd64 and x86 with > systemd and openrc. I'm willing to proxy maintain it. Hello. You forgot to attach your ebuild.
Created attachment 440120 [details] Ebuild for zerotier-1.1.6 Doh! Here it is. 1.1.8 was released today so I'll upload a new ebuild once I've tested it. The URL I gave, and put in the ebuild, was for the project. That seems to me to be the correct one for HOMEPAGE, rather than the github repo.
(In reply to Neil Bothwick from comment #5) > The URL I gave, and put in the ebuild, was for the project. That seems to me > to be the correct one for HOMEPAGE, rather than the github repo. Sure, feel free to change it back if you like. I was looking for a clean project description, list of deps, license, etc.
No, that makes sense. HOMEPAGE should point to zerotier.com but the bug should use the Github URL. 1.1.8 is working here, it's the same ebuild renamed.
Created attachment 440162 [details] Ebuild for net-misc/zerotier-1.1.8
Created attachment 440166 [details] Updated ebuild for net-misc/zerotier-1.1.8 Updated elog message. It appears you have to re-authorise the host after switching from the old package install to a source build.
Created attachment 440168 [details] metdata.xml
Created attachment 440184 [details] Ebuild for net-misc/zerotier-1.1.8 with fewer dependencies Revised ebuild that copies the man pages from ${FILESDIR}. This removes the dependency on app-text/ronn and that package's long list of Ruby dependencies.
Created attachment 440290 [details] zerotier-1.1.8.ebuild Following advice on gentoo-dev, the ebuild now downloads a tarball containing the man pages.
Created attachment 440626 [details] zerotier-1.1.12.ebuild Updates are coming thick and fast this week!
1.1.14 is out, renaming the 1.1.12 ebuild is sufficient.
he
Created attachment 462930 [details] zerotier-1.1.14.ebuild
Created attachment 467638 [details] net-misc/zerotier-1.2.2.ebuild This is a major update although there isn't too much changed in the ebuild. The systemd service file is no longer needed as the upstream one is now used.
Created attachment 470998 [details] net-misc/zerotier-1.2.4.ebuild Ebuild for zerotier-1.2.4 - no longer needs separate manpage package.
when can we add zerotier to the tree?
(In reply to d9867eb from comment #19) > when can we add zerotier to the tree? I'm happy to proxy maintain it.
I wasn't aware of this ticket when I was writing ebuild, so here is my pull request: https://github.com/gentoo/gentoo/pull/4635 Neil, perhaps we should merge our ebuilds.
Merged systemd and doc stuff from Neil's ebuild.
Created attachment 478440 [details] openrc file found this on github. link: https://github.com/zerotier/ZeroTierOne/issues/370
commit a294529672562d6b8cd77e26ca4206170e49215e (HEAD -> master, origin/master, origin/HEAD) Author: Patrice Clement <monsieurp@gentoo.org> AuthorDate: Thu Jul 6 23:59:43 2017 +0200 Commit: Patrice Clement <monsieurp@gentoo.org> CommitDate: Fri Jul 7 00:08:47 2017 +0200 net-misc/zerotier: new ebuild. zerotier-one is a smart Ethernet switch for Earth. Gentoo-Bug: https://bugs.gentoo.org/588324 Package-Manager: Portage-2.3.5, Repoman-2.3.1 net-misc/zerotier/Manifest | 1 + net-misc/zerotier/files/zerotier.init | 22 +++++++++++++++++ net-misc/zerotier/files/zerotier.service | 11 +++++++++ net-misc/zerotier/metadata.xml | 12 +++++++++ net-misc/zerotier/zerotier-1.2.4.ebuild | 42 ++++++++++++++++++++++++++++++++ 5 files changed, 88 insertions(+) create mode 100644 net-misc/zerotier/Manifest create mode 100644 net-misc/zerotier/files/zerotier.init create mode 100644 net-misc/zerotier/files/zerotier.service create mode 100644 net-misc/zerotier/metadata.xml create mode 100644 net-misc/zerotier/zerotier-1.2.4.ebuild In the tree now. Thanks!