Github messages for voidlinux
 help / color / mirror / Atom feed
* [PR PATCH] New package: zerotier-one-1.6.2
@ 2020-12-18 22:01 hadrianw
  2020-12-19  6:53 ` kawaiiamber
                   ` (7 more replies)
  0 siblings, 8 replies; 9+ messages in thread
From: hadrianw @ 2020-12-18 22:01 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 445 bytes --]

There is a new pull request by hadrianw against master on the void-packages repository

https://github.com/hadrianw/void-packages master
https://github.com/void-linux/void-packages/pull/27263

New package: zerotier-one-1.6.2
It was removed around version 1.4.0. Now it also has a different, non-free, license. I can maintain it, as I use it quite a bit.

A patch file from https://github.com/void-linux/void-packages/pull/27263.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-master-27263.patch --]
[-- Type: text/x-diff, Size: 1604 bytes --]

From 41a2c0029ecab0a848ecbc0e766d08b92a88d65b Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Hadrian=20W=C4=99grzynowski?= <hadrian@hawski.com>
Date: Fri, 18 Dec 2020 22:59:00 +0100
Subject: [PATCH] New package: zerotier-one-1.6.2

---
 srcpkgs/zerotier-one/files/zerotier/run |  2 ++
 srcpkgs/zerotier-one/template           | 24 ++++++++++++++++++++++++
 2 files changed, 26 insertions(+)
 create mode 100644 srcpkgs/zerotier-one/files/zerotier/run
 create mode 100644 srcpkgs/zerotier-one/template

diff --git a/srcpkgs/zerotier-one/files/zerotier/run b/srcpkgs/zerotier-one/files/zerotier/run
new file mode 100644
index 00000000000..fce86d3c6ab
--- /dev/null
+++ b/srcpkgs/zerotier-one/files/zerotier/run
@@ -0,0 +1,2 @@
+#!/bin/sh
+exec zerotier-one
diff --git a/srcpkgs/zerotier-one/template b/srcpkgs/zerotier-one/template
new file mode 100644
index 00000000000..dab993eeedf
--- /dev/null
+++ b/srcpkgs/zerotier-one/template
@@ -0,0 +1,24 @@
+# Template file for 'zerotier-one'
+pkgname=zerotier-one
+version=1.2.12
+revision=1
+wrksrc=ZeroTierOne-${version}
+build_style=gnu-makefile
+hostmakedepends="nodejs"
+makedepends="sqlite-devel"
+short_desc="Network Virtualization Everywhere"
+maintainer="Hadrian Węgrzynowski <hadrian@hawski.com>"
+license="custom:BPL-1.1"
+homepage="https://www.zerotier.com/"
+distfiles="https://github.com/zerotier/ZeroTierOne/archive/${version}.tar.gz"
+checksum=212799bfaeb5e7dff20f2cd83f15742c8e13b8e9535606cfb85abcfb5fb6fed4
+repository=nonfree
+
+pre_install() {
+	sed -i 's/sbin/bin/g' make-linux.mk
+}
+
+post_install() {
+	vsv zerotier
+	vlicense LICENSE.txt
+}

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: New package: zerotier-one-1.6.2
  2020-12-18 22:01 [PR PATCH] New package: zerotier-one-1.6.2 hadrianw
@ 2020-12-19  6:53 ` kawaiiamber
  2020-12-19  7:28 ` kawaiiamber
                   ` (6 subsequent siblings)
  7 siblings, 0 replies; 9+ messages in thread
From: kawaiiamber @ 2020-12-19  6:53 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 497 bytes --]

New comment by kawaiiamber on void-packages repository

https://github.com/void-linux/void-packages/pull/27263#issuecomment-748430360

Comment:
It looks like there are some `g++` errors for `march` arguments on the `armv7l` and `armv6l-musl` architectures. If you want to build for these archs, you might try editing `g++` flags to match `march` arguments. If you just want to build for other archs, you can specify arch in the template with `archs="x86_64 i686 aarch64 x86_64-musl aarch64-musl"`

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: New package: zerotier-one-1.6.2
  2020-12-18 22:01 [PR PATCH] New package: zerotier-one-1.6.2 hadrianw
  2020-12-19  6:53 ` kawaiiamber
@ 2020-12-19  7:28 ` kawaiiamber
  2020-12-19 11:45 ` [PR PATCH] [Updated] " hadrianw
                   ` (5 subsequent siblings)
  7 siblings, 0 replies; 9+ messages in thread
From: kawaiiamber @ 2020-12-19  7:28 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 378 bytes --]

New comment by kawaiiamber on void-packages repository

https://github.com/void-linux/void-packages/pull/27263#issuecomment-748430360

Comment:
It looks like there are some `g++` errors for `march` arguments on the `armv7l` and `armv6l-musl` architectures. If you want to build for these archs, you might try editing `g++` flags to match `march` arguments from what I can tell.

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: [PR PATCH] [Updated] New package: zerotier-one-1.6.2
  2020-12-18 22:01 [PR PATCH] New package: zerotier-one-1.6.2 hadrianw
  2020-12-19  6:53 ` kawaiiamber
  2020-12-19  7:28 ` kawaiiamber
@ 2020-12-19 11:45 ` hadrianw
  2020-12-19 11:50 ` hadrianw
                   ` (4 subsequent siblings)
  7 siblings, 0 replies; 9+ messages in thread
From: hadrianw @ 2020-12-19 11:45 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 450 bytes --]

There is an updated pull request by hadrianw against master on the void-packages repository

https://github.com/hadrianw/void-packages master
https://github.com/void-linux/void-packages/pull/27263

New package: zerotier-one-1.6.2
It was removed around version 1.4.0. Now it also has a different, non-free, license. I can maintain it, as I use it quite a bit.

A patch file from https://github.com/void-linux/void-packages/pull/27263.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-master-27263.patch --]
[-- Type: text/x-diff, Size: 1603 bytes --]

From 2a5944ee8bf567640b2192acf958d5fc0da5896e Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Hadrian=20W=C4=99grzynowski?= <hadrian@hawski.com>
Date: Fri, 18 Dec 2020 22:59:00 +0100
Subject: [PATCH] New package: zerotier-one-1.6.2

---
 srcpkgs/zerotier-one/files/zerotier/run |  2 ++
 srcpkgs/zerotier-one/template           | 24 ++++++++++++++++++++++++
 2 files changed, 26 insertions(+)
 create mode 100644 srcpkgs/zerotier-one/files/zerotier/run
 create mode 100644 srcpkgs/zerotier-one/template

diff --git a/srcpkgs/zerotier-one/files/zerotier/run b/srcpkgs/zerotier-one/files/zerotier/run
new file mode 100644
index 00000000000..fce86d3c6ab
--- /dev/null
+++ b/srcpkgs/zerotier-one/files/zerotier/run
@@ -0,0 +1,2 @@
+#!/bin/sh
+exec zerotier-one
diff --git a/srcpkgs/zerotier-one/template b/srcpkgs/zerotier-one/template
new file mode 100644
index 00000000000..babab7145a3
--- /dev/null
+++ b/srcpkgs/zerotier-one/template
@@ -0,0 +1,24 @@
+# Template file for 'zerotier-one'
+pkgname=zerotier-one
+version=1.6.2
+revision=1
+wrksrc=ZeroTierOne-${version}
+build_style=gnu-makefile
+hostmakedepends="nodejs"
+makedepends="sqlite-devel"
+short_desc="Network Virtualization Everywhere"
+maintainer="Hadrian Węgrzynowski <hadrian@hawski.com>"
+license="custom:BPL-1.1"
+homepage="https://www.zerotier.com/"
+distfiles="https://github.com/zerotier/ZeroTierOne/archive/${version}.tar.gz"
+checksum=212799bfaeb5e7dff20f2cd83f15742c8e13b8e9535606cfb85abcfb5fb6fed4
+repository=nonfree
+
+pre_install() {
+	sed -i 's/sbin/bin/g' make-linux.mk
+}
+
+post_install() {
+	vsv zerotier
+	vlicense LICENSE.txt
+}

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: New package: zerotier-one-1.6.2
  2020-12-18 22:01 [PR PATCH] New package: zerotier-one-1.6.2 hadrianw
                   ` (2 preceding siblings ...)
  2020-12-19 11:45 ` [PR PATCH] [Updated] " hadrianw
@ 2020-12-19 11:50 ` hadrianw
  2020-12-19 12:18 ` [PR PATCH] [Updated] " hadrianw
                   ` (3 subsequent siblings)
  7 siblings, 0 replies; 9+ messages in thread
From: hadrianw @ 2020-12-19 11:50 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 504 bytes --]

New comment by hadrianw on void-packages repository

https://github.com/void-linux/void-packages/pull/27263#issuecomment-748463736

Comment:
It's silly, but for some reason I had the template with a wrong version - 1.2.12 instead of 1.6.2 as it should be. I probably screw up after pulling last changes. I previously checked on my machine and 1.6.2 built on x86_64, x86_64-musl, i686, aarch64, armv7l, armv6l-musl and aarch64-musl. But as it still fails, I probably screwed the pull also somewhere else.

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: [PR PATCH] [Updated] New package: zerotier-one-1.6.2
  2020-12-18 22:01 [PR PATCH] New package: zerotier-one-1.6.2 hadrianw
                   ` (3 preceding siblings ...)
  2020-12-19 11:50 ` hadrianw
@ 2020-12-19 12:18 ` hadrianw
  2020-12-19 13:06 ` hadrianw
                   ` (2 subsequent siblings)
  7 siblings, 0 replies; 9+ messages in thread
From: hadrianw @ 2020-12-19 12:18 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 450 bytes --]

There is an updated pull request by hadrianw against master on the void-packages repository

https://github.com/hadrianw/void-packages master
https://github.com/void-linux/void-packages/pull/27263

New package: zerotier-one-1.6.2
It was removed around version 1.4.0. Now it also has a different, non-free, license. I can maintain it, as I use it quite a bit.

A patch file from https://github.com/void-linux/void-packages/pull/27263.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-master-27263.patch --]
[-- Type: text/x-diff, Size: 3877 bytes --]

From 13ab15e7f82dd15e29e492d43900be59b44790d8 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Hadrian=20W=C4=99grzynowski?= <hadrian@hawski.com>
Date: Fri, 18 Dec 2020 22:59:00 +0100
Subject: [PATCH] New package: zerotier-one-1.6.2

---
 srcpkgs/zerotier-one/files/zerotier/run      |  2 +
 srcpkgs/zerotier-one/patches/fix-cross.patch | 59 ++++++++++++++++++++
 srcpkgs/zerotier-one/template                | 24 ++++++++
 3 files changed, 85 insertions(+)
 create mode 100644 srcpkgs/zerotier-one/files/zerotier/run
 create mode 100644 srcpkgs/zerotier-one/patches/fix-cross.patch
 create mode 100644 srcpkgs/zerotier-one/template

diff --git a/srcpkgs/zerotier-one/files/zerotier/run b/srcpkgs/zerotier-one/files/zerotier/run
new file mode 100644
index 00000000000..fce86d3c6ab
--- /dev/null
+++ b/srcpkgs/zerotier-one/files/zerotier/run
@@ -0,0 +1,2 @@
+#!/bin/sh
+exec zerotier-one
diff --git a/srcpkgs/zerotier-one/patches/fix-cross.patch b/srcpkgs/zerotier-one/patches/fix-cross.patch
new file mode 100644
index 00000000000..e0ae562f953
--- /dev/null
+++ b/srcpkgs/zerotier-one/patches/fix-cross.patch
@@ -0,0 +1,59 @@
+--- make-linux.mk	2020-12-01 01:33:39.000000000 +0100
++++ make-linux.mk	2020-12-19 13:00:35.311711026 +0100
+@@ -144,6 +144,9 @@
+ ifeq ($(CC_MACH),ppc64el)
+ 	ZT_ARCHITECTURE=8
+ endif
++ifeq ($(CC_MACH),powerpc64)
++	ZT_ARCHITECTURE=8
++endif
+ ifeq ($(CC_MACH),e2k)
+ 	ZT_ARCHITECTURE=2
+ endif
+@@ -177,22 +180,22 @@
+ ifeq ($(CC_MACH),armv6)
+ 	ZT_ARCHITECTURE=3
+ 	override DEFS+=-DZT_NO_TYPE_PUNNING
+-	ZT_USE_ARM32_NEON_ASM_CRYPTO=1
++	ZT_USE_ARM32_NEON_ASM_CRYPTO=0
+ endif
+ ifeq ($(CC_MACH),armv6l)
+ 	ZT_ARCHITECTURE=3
+ 	override DEFS+=-DZT_NO_TYPE_PUNNING
+-	ZT_USE_ARM32_NEON_ASM_CRYPTO=1
++	ZT_USE_ARM32_NEON_ASM_CRYPTO=0
+ endif
+ ifeq ($(CC_MACH),armv6zk)
+ 	ZT_ARCHITECTURE=3
+ 	override DEFS+=-DZT_NO_TYPE_PUNNING
+-	ZT_USE_ARM32_NEON_ASM_CRYPTO=1
++	ZT_USE_ARM32_NEON_ASM_CRYPTO=0
+ endif
+ ifeq ($(CC_MACH),armv6kz)
+ 	ZT_ARCHITECTURE=3
+ 	override DEFS+=-DZT_NO_TYPE_PUNNING
+-	ZT_USE_ARM32_NEON_ASM_CRYPTO=1
++	ZT_USE_ARM32_NEON_ASM_CRYPTO=0
+ endif
+ ifeq ($(CC_MACH),armv7)
+ 	ZT_ARCHITECTURE=3
+@@ -275,19 +278,6 @@
+ 	override INCLUDES+=-I/usr/pgsql-10/include -Iext/hiredis-0.14.1/include/ -Iext/redis-plus-plus-1.1.1/install/centos8/include/sw/
+ endif
+ 
+-# ARM32 hell -- use conservative CFLAGS
+-ifeq ($(ZT_ARCHITECTURE),3)
+-	ifeq ($(shell if [ -e /usr/bin/dpkg ]; then dpkg --print-architecture; fi),armel)
+-		override CFLAGS+=-march=armv5t -mfloat-abi=soft -msoft-float -mno-unaligned-access -marm
+-		override CXXFLAGS+=-march=armv5t -mfloat-abi=soft -msoft-float -mno-unaligned-access -marm
+-		ZT_USE_ARM32_NEON_ASM_CRYPTO=0
+-	else
+-		override CFLAGS+=-march=armv5t -mno-unaligned-access -marm -fexceptions
+-		override CXXFLAGS+=-march=armv5t -mno-unaligned-access -marm -fexceptions
+-		ZT_USE_ARM32_NEON_ASM_CRYPTO=0
+-	endif
+-endif
+-
+ # Build faster crypto on some targets
+ ifeq ($(ZT_USE_X64_ASM_SALSA),1)
+ 	override DEFS+=-DZT_USE_X64_ASM_SALSA2012
diff --git a/srcpkgs/zerotier-one/template b/srcpkgs/zerotier-one/template
new file mode 100644
index 00000000000..141e251e44d
--- /dev/null
+++ b/srcpkgs/zerotier-one/template
@@ -0,0 +1,24 @@
+# Template file for 'zerotier-one'
+pkgname=zerotier-one
+version=1.6.2
+revision=1
+wrksrc=ZeroTierOne-${version}
+build_style=gnu-makefile
+hostmakedepends="nodejs"
+makedepends="sqlite-devel"
+short_desc="Network Virtualization Everywhere"
+maintainer="Hadrian Węgrzynowski <hadrian@hawski.com>"
+license="custom:BPL-1.1"
+homepage="https://www.zerotier.com/"
+distfiles="https://github.com/zerotier/ZeroTierOne/archive/${version}.tar.gz"
+checksum=c8087b26c1191d36fda004b42cdfed31042cafd8586e49015586eef786f2c9a5
+repository=nonfree
+
+pre_install() {
+	sed -i 's/sbin/bin/g' make-linux.mk
+}
+
+post_install() {
+	vsv zerotier
+	vlicense LICENSE.txt
+}

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: New package: zerotier-one-1.6.2
  2020-12-18 22:01 [PR PATCH] New package: zerotier-one-1.6.2 hadrianw
                   ` (4 preceding siblings ...)
  2020-12-19 12:18 ` [PR PATCH] [Updated] " hadrianw
@ 2020-12-19 13:06 ` hadrianw
  2020-12-30  6:37 ` the-maldridge
  2020-12-30  6:37 ` [PR PATCH] [Closed]: " the-maldridge
  7 siblings, 0 replies; 9+ messages in thread
From: hadrianw @ 2020-12-19 13:06 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 489 bytes --]

New comment by hadrianw on void-packages repository

https://github.com/void-linux/void-packages/pull/27263#issuecomment-748463736

Comment:
It's silly, but for some reason I had the template with a wrong version - 1.2.12 instead of 1.6.2 as it should be. I probably screw up after pulling last changes. I previously checked on my machine and 1.6.2 built on x86_64, x86_64-musl, i686, aarch64, armv7l, armv6l-musl and aarch64-musl. Everything's good now. Although I tested only on x86_64.

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: New package: zerotier-one-1.6.2
  2020-12-18 22:01 [PR PATCH] New package: zerotier-one-1.6.2 hadrianw
                   ` (5 preceding siblings ...)
  2020-12-19 13:06 ` hadrianw
@ 2020-12-30  6:37 ` the-maldridge
  2020-12-30  6:37 ` [PR PATCH] [Closed]: " the-maldridge
  7 siblings, 0 replies; 9+ messages in thread
From: the-maldridge @ 2020-12-30  6:37 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 284 bytes --]

New comment by the-maldridge on void-packages repository

https://github.com/void-linux/void-packages/pull/27263#issuecomment-752346991

Comment:
Due to the uncertainties around the BPL and similar licenses such as the SSPL, this package will not be accepted back into the Void tree.

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: [PR PATCH] [Closed]: New package: zerotier-one-1.6.2
  2020-12-18 22:01 [PR PATCH] New package: zerotier-one-1.6.2 hadrianw
                   ` (6 preceding siblings ...)
  2020-12-30  6:37 ` the-maldridge
@ 2020-12-30  6:37 ` the-maldridge
  7 siblings, 0 replies; 9+ messages in thread
From: the-maldridge @ 2020-12-30  6:37 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 293 bytes --]

There's a closed pull request on the void-packages repository

New package: zerotier-one-1.6.2
https://github.com/void-linux/void-packages/pull/27263

Description:
It was removed around version 1.4.0. Now it also has a different, non-free, license. I can maintain it, as I use it quite a bit.

^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2020-12-30  6:37 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-12-18 22:01 [PR PATCH] New package: zerotier-one-1.6.2 hadrianw
2020-12-19  6:53 ` kawaiiamber
2020-12-19  7:28 ` kawaiiamber
2020-12-19 11:45 ` [PR PATCH] [Updated] " hadrianw
2020-12-19 11:50 ` hadrianw
2020-12-19 12:18 ` [PR PATCH] [Updated] " hadrianw
2020-12-19 13:06 ` hadrianw
2020-12-30  6:37 ` the-maldridge
2020-12-30  6:37 ` [PR PATCH] [Closed]: " the-maldridge

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).