Github messages for voidlinux
 help / color / mirror / Atom feed
* [PR PATCH] New package: eiwd-1.6r1
@ 2020-04-26 18:57 svenper
  2020-04-26 22:25 ` [PR PATCH] [Updated] " svenper
                   ` (5 more replies)
  0 siblings, 6 replies; 7+ messages in thread
From: svenper @ 2020-04-26 18:57 UTC (permalink / raw)
  To: ml

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

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

https://github.com/svenper/void-packages eiwd
https://github.com/void-linux/void-packages/pull/21355

New package: eiwd-1.6r1
#18581 

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

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

From 73fc2dd318046d4a03a9915c85991b55790b7c1f Mon Sep 17 00:00:00 2001
From: svenper <svenper@tuta.io>
Date: Sun, 26 Apr 2020 20:53:37 +0200
Subject: [PATCH] New package: eiwd-1.6r1

---
 srcpkgs/eiwd/files/iwd/run                  |  4 ++
 srcpkgs/eiwd/patches/fix-name-request.patch | 51 +++++++++++++++++++++
 srcpkgs/eiwd/patches/musl-rawmemchr.patch   | 14 ++++++
 srcpkgs/eiwd/template                       | 30 ++++++++++++
 4 files changed, 99 insertions(+)
 create mode 100755 srcpkgs/eiwd/files/iwd/run
 create mode 100644 srcpkgs/eiwd/patches/fix-name-request.patch
 create mode 100644 srcpkgs/eiwd/patches/musl-rawmemchr.patch
 create mode 100644 srcpkgs/eiwd/template

diff --git a/srcpkgs/eiwd/files/iwd/run b/srcpkgs/eiwd/files/iwd/run
new file mode 100755
index 00000000000..b7d22b7f9e4
--- /dev/null
+++ b/srcpkgs/eiwd/files/iwd/run
@@ -0,0 +1,4 @@
+#!/bin/sh
+[ -r ./conf ] && . ./conf
+exec 2>&1
+exec /usr/libexec/iwd ${OPTS}
diff --git a/srcpkgs/eiwd/patches/fix-name-request.patch b/srcpkgs/eiwd/patches/fix-name-request.patch
new file mode 100644
index 00000000000..cb584494d63
--- /dev/null
+++ b/srcpkgs/eiwd/patches/fix-name-request.patch
@@ -0,0 +1,51 @@
+--- Makefile.am
++++ Makefile.am
+@@ -139,15 +139,15 @@
+ if DBUS_POLICY
+ dbus_datadir = @DBUS_DATADIR@/dbus-1/system.d
+ dist_dbus_data_DATA =
++
++dbus_busdir = @DBUS_BUSDIR@
++dbus_bus_DATA =
+ endif
+ 
+ if SYSTEMD_SERVICE
+ systemd_unitdir = @SYSTEMD_UNITDIR@
+ systemd_unit_DATA =
+ 
+-dbus_busdir = @DBUS_BUSDIR@
+-dbus_bus_DATA =
+-
+ systemd_networkdir = @SYSTEMD_NETWORKDIR@
+ systemd_network_DATA =
+ 
+@@ -244,13 +244,13 @@
+ 
+ if DBUS_POLICY
+ dist_dbus_data_DATA += src/iwd-dbus.conf
++dbus_bus_DATA += src/net.connman.iwd.service
+ endif
+ 
+ if SYSTEMD_SERVICE
+ src_iwd_DEPENDENCIES += src/iwd.service
+ 
+ systemd_unit_DATA += src/iwd.service
+-dbus_bus_DATA += src/net.connman.iwd.service
+ 
+ systemd_network_DATA += src/80-iwd.link
+ endif
+@@ -320,13 +320,13 @@
+ 
+ if DBUS_POLICY
+ dist_dbus_data_DATA += wired/ead-dbus.conf
++dbus_bus_DATA += wired/net.connman.ead.service
+ endif
+ 
+ if SYSTEMD_SERVICE
+ wired_ead_DEPENDENCIES += wired/ead.service
+ 
+ systemd_unit_DATA += wired/ead.service
+-dbus_bus_DATA += wired/net.connman.ead.service
+ endif
+ 
+ if MANUAL_PAGES
diff --git a/srcpkgs/eiwd/patches/musl-rawmemchr.patch b/srcpkgs/eiwd/patches/musl-rawmemchr.patch
new file mode 100644
index 00000000000..f26ee53387a
--- /dev/null
+++ b/srcpkgs/eiwd/patches/musl-rawmemchr.patch
@@ -0,0 +1,14 @@
+--- src/wiphy.c
++++ src/wiphy.c
+@@ -500,7 +500,11 @@
+ 
+ 	if (out_num)
+ 		*out_num =
++#if defined(__GLIBC__) 
+ 			(uint8_t *) rawmemchr(wiphy->supported_rates[band], 0) -
++#else
++			(uint8_t *) memchr(wiphy->supported_rates[band], 0, SIZE_MAX) -
++#endif
+ 			wiphy->supported_rates[band];
+ 
+ 	return wiphy->supported_rates[band];
diff --git a/srcpkgs/eiwd/template b/srcpkgs/eiwd/template
new file mode 100644
index 00000000000..c9d41ca5dd3
--- /dev/null
+++ b/srcpkgs/eiwd/template
@@ -0,0 +1,30 @@
+# Template file for 'eiwd'
+pkgname=eiwd
+version=1.6r1
+revision=1
+wrksrc="${pkgname}-${version/r/-}"
+build_style=gnu-configure
+configure_args="--disable-systemd-service --enable-pie
+ --disable-external-ell --disable-dbus --enable-wired"
+hostmakedepends="python3-docutils pkg-config automake libtool"
+makedepends="readline-devel ell-devel>=0.31"
+depends="ell>=0.31"
+checkdepends="python3"
+short_desc="""iwd without dbus"
+maintainer="svenper <svenper@tuta.io>"
+license="LGPL-2.1-or-later"
+homepage="https://github.com/dylanaraps/eiwd"
+changelog="https://github.com/dylanaraps/eiwd/releases"
+distfiles="https://github.com/dylanaraps/eiwd/releases/download/${version/r/-}/eiwd-${version/r/-}.tar.xz"
+checksum=35e9938ccecad1a1336ee94d92ec5cfc2f059bd6d3b154034a450ac3385dbc19
+make_dirs="/var/lib/iwd 0600 root root
+ /etc/iwd 755 root root"
+conflicts="iwd>=0"
+
+pre_configure() {
+	autoreconf -fi
+}
+
+post_install() {
+	vsv iwd
+}

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

* Re: [PR PATCH] [Updated] New package: eiwd-1.6r1
  2020-04-26 18:57 [PR PATCH] New package: eiwd-1.6r1 svenper
@ 2020-04-26 22:25 ` svenper
  2020-04-27 13:39 ` svenper
                   ` (4 subsequent siblings)
  5 siblings, 0 replies; 7+ messages in thread
From: svenper @ 2020-04-26 22:25 UTC (permalink / raw)
  To: ml

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

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

https://github.com/svenper/void-packages eiwd
https://github.com/void-linux/void-packages/pull/21355

New package: eiwd-1.6r1
#18581 

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

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

From 4312c7633f7a5ae692e883ed2a0949beff4316cc Mon Sep 17 00:00:00 2001
From: svenper <svenper@tuta.io>
Date: Mon, 27 Apr 2020 00:24:46 +0200
Subject: [PATCH] New package: eiwd-1.6r1

---
 srcpkgs/eiwd/files/iwd/run                  |  4 ++
 srcpkgs/eiwd/patches/fix-name-request.patch | 51 +++++++++++++++++++++
 srcpkgs/eiwd/patches/musl-rawmemchr.patch   | 14 ++++++
 srcpkgs/eiwd/template                       | 30 ++++++++++++
 srcpkgs/eiwd/update                         |  2 +
 5 files changed, 101 insertions(+)
 create mode 100755 srcpkgs/eiwd/files/iwd/run
 create mode 100644 srcpkgs/eiwd/patches/fix-name-request.patch
 create mode 100644 srcpkgs/eiwd/patches/musl-rawmemchr.patch
 create mode 100644 srcpkgs/eiwd/template
 create mode 100644 srcpkgs/eiwd/update

diff --git a/srcpkgs/eiwd/files/iwd/run b/srcpkgs/eiwd/files/iwd/run
new file mode 100755
index 00000000000..b7d22b7f9e4
--- /dev/null
+++ b/srcpkgs/eiwd/files/iwd/run
@@ -0,0 +1,4 @@
+#!/bin/sh
+[ -r ./conf ] && . ./conf
+exec 2>&1
+exec /usr/libexec/iwd ${OPTS}
diff --git a/srcpkgs/eiwd/patches/fix-name-request.patch b/srcpkgs/eiwd/patches/fix-name-request.patch
new file mode 100644
index 00000000000..cb584494d63
--- /dev/null
+++ b/srcpkgs/eiwd/patches/fix-name-request.patch
@@ -0,0 +1,51 @@
+--- Makefile.am
++++ Makefile.am
+@@ -139,15 +139,15 @@
+ if DBUS_POLICY
+ dbus_datadir = @DBUS_DATADIR@/dbus-1/system.d
+ dist_dbus_data_DATA =
++
++dbus_busdir = @DBUS_BUSDIR@
++dbus_bus_DATA =
+ endif
+ 
+ if SYSTEMD_SERVICE
+ systemd_unitdir = @SYSTEMD_UNITDIR@
+ systemd_unit_DATA =
+ 
+-dbus_busdir = @DBUS_BUSDIR@
+-dbus_bus_DATA =
+-
+ systemd_networkdir = @SYSTEMD_NETWORKDIR@
+ systemd_network_DATA =
+ 
+@@ -244,13 +244,13 @@
+ 
+ if DBUS_POLICY
+ dist_dbus_data_DATA += src/iwd-dbus.conf
++dbus_bus_DATA += src/net.connman.iwd.service
+ endif
+ 
+ if SYSTEMD_SERVICE
+ src_iwd_DEPENDENCIES += src/iwd.service
+ 
+ systemd_unit_DATA += src/iwd.service
+-dbus_bus_DATA += src/net.connman.iwd.service
+ 
+ systemd_network_DATA += src/80-iwd.link
+ endif
+@@ -320,13 +320,13 @@
+ 
+ if DBUS_POLICY
+ dist_dbus_data_DATA += wired/ead-dbus.conf
++dbus_bus_DATA += wired/net.connman.ead.service
+ endif
+ 
+ if SYSTEMD_SERVICE
+ wired_ead_DEPENDENCIES += wired/ead.service
+ 
+ systemd_unit_DATA += wired/ead.service
+-dbus_bus_DATA += wired/net.connman.ead.service
+ endif
+ 
+ if MANUAL_PAGES
diff --git a/srcpkgs/eiwd/patches/musl-rawmemchr.patch b/srcpkgs/eiwd/patches/musl-rawmemchr.patch
new file mode 100644
index 00000000000..f26ee53387a
--- /dev/null
+++ b/srcpkgs/eiwd/patches/musl-rawmemchr.patch
@@ -0,0 +1,14 @@
+--- src/wiphy.c
++++ src/wiphy.c
+@@ -500,7 +500,11 @@
+ 
+ 	if (out_num)
+ 		*out_num =
++#if defined(__GLIBC__) 
+ 			(uint8_t *) rawmemchr(wiphy->supported_rates[band], 0) -
++#else
++			(uint8_t *) memchr(wiphy->supported_rates[band], 0, SIZE_MAX) -
++#endif
+ 			wiphy->supported_rates[band];
+ 
+ 	return wiphy->supported_rates[band];
diff --git a/srcpkgs/eiwd/template b/srcpkgs/eiwd/template
new file mode 100644
index 00000000000..c9d41ca5dd3
--- /dev/null
+++ b/srcpkgs/eiwd/template
@@ -0,0 +1,30 @@
+# Template file for 'eiwd'
+pkgname=eiwd
+version=1.6r1
+revision=1
+wrksrc="${pkgname}-${version/r/-}"
+build_style=gnu-configure
+configure_args="--disable-systemd-service --enable-pie
+ --disable-external-ell --disable-dbus --enable-wired"
+hostmakedepends="python3-docutils pkg-config automake libtool"
+makedepends="readline-devel ell-devel>=0.31"
+depends="ell>=0.31"
+checkdepends="python3"
+short_desc="""iwd without dbus"
+maintainer="svenper <svenper@tuta.io>"
+license="LGPL-2.1-or-later"
+homepage="https://github.com/dylanaraps/eiwd"
+changelog="https://github.com/dylanaraps/eiwd/releases"
+distfiles="https://github.com/dylanaraps/eiwd/releases/download/${version/r/-}/eiwd-${version/r/-}.tar.xz"
+checksum=35e9938ccecad1a1336ee94d92ec5cfc2f059bd6d3b154034a450ac3385dbc19
+make_dirs="/var/lib/iwd 0600 root root
+ /etc/iwd 755 root root"
+conflicts="iwd>=0"
+
+pre_configure() {
+	autoreconf -fi
+}
+
+post_install() {
+	vsv iwd
+}
diff --git a/srcpkgs/eiwd/update b/srcpkgs/eiwd/update
new file mode 100644
index 00000000000..27398689748
--- /dev/null
+++ b/srcpkgs/eiwd/update
@@ -0,0 +1,2 @@
+version="${version/r/-}"
+pattern='/tag/\K[\d.]+-\d+'

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

* Re: [PR PATCH] [Updated] New package: eiwd-1.6r1
  2020-04-26 18:57 [PR PATCH] New package: eiwd-1.6r1 svenper
  2020-04-26 22:25 ` [PR PATCH] [Updated] " svenper
@ 2020-04-27 13:39 ` svenper
  2020-04-27 17:23 ` svenper
                   ` (3 subsequent siblings)
  5 siblings, 0 replies; 7+ messages in thread
From: svenper @ 2020-04-27 13:39 UTC (permalink / raw)
  To: ml

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

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

https://github.com/svenper/void-packages eiwd
https://github.com/void-linux/void-packages/pull/21355

New package: eiwd-1.6r1
#18581 

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

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

From 27b18f72ca077b08a461c2cb5a215814646f51ff Mon Sep 17 00:00:00 2001
From: svenper <svenper@tuta.io>
Date: Mon, 27 Apr 2020 15:38:49 +0200
Subject: [PATCH] New package: eiwd-1.6r1

---
 srcpkgs/eiwd/files/iwd/run                |  4 +++
 srcpkgs/eiwd/patches/musl-rawmemchr.patch | 14 +++++++++++
 srcpkgs/eiwd/template                     | 30 +++++++++++++++++++++++
 srcpkgs/eiwd/update                       |  2 ++
 4 files changed, 50 insertions(+)
 create mode 100755 srcpkgs/eiwd/files/iwd/run
 create mode 100644 srcpkgs/eiwd/patches/musl-rawmemchr.patch
 create mode 100644 srcpkgs/eiwd/template
 create mode 100644 srcpkgs/eiwd/update

diff --git a/srcpkgs/eiwd/files/iwd/run b/srcpkgs/eiwd/files/iwd/run
new file mode 100755
index 00000000000..b7d22b7f9e4
--- /dev/null
+++ b/srcpkgs/eiwd/files/iwd/run
@@ -0,0 +1,4 @@
+#!/bin/sh
+[ -r ./conf ] && . ./conf
+exec 2>&1
+exec /usr/libexec/iwd ${OPTS}
diff --git a/srcpkgs/eiwd/patches/musl-rawmemchr.patch b/srcpkgs/eiwd/patches/musl-rawmemchr.patch
new file mode 100644
index 00000000000..f26ee53387a
--- /dev/null
+++ b/srcpkgs/eiwd/patches/musl-rawmemchr.patch
@@ -0,0 +1,14 @@
+--- src/wiphy.c
++++ src/wiphy.c
+@@ -500,7 +500,11 @@
+ 
+ 	if (out_num)
+ 		*out_num =
++#if defined(__GLIBC__) 
+ 			(uint8_t *) rawmemchr(wiphy->supported_rates[band], 0) -
++#else
++			(uint8_t *) memchr(wiphy->supported_rates[band], 0, SIZE_MAX) -
++#endif
+ 			wiphy->supported_rates[band];
+ 
+ 	return wiphy->supported_rates[band];
diff --git a/srcpkgs/eiwd/template b/srcpkgs/eiwd/template
new file mode 100644
index 00000000000..c9d41ca5dd3
--- /dev/null
+++ b/srcpkgs/eiwd/template
@@ -0,0 +1,30 @@
+# Template file for 'eiwd'
+pkgname=eiwd
+version=1.6r1
+revision=1
+wrksrc="${pkgname}-${version/r/-}"
+build_style=gnu-configure
+configure_args="--disable-systemd-service --enable-pie
+ --disable-external-ell --disable-dbus --enable-wired"
+hostmakedepends="python3-docutils pkg-config automake libtool"
+makedepends="readline-devel ell-devel>=0.31"
+depends="ell>=0.31"
+checkdepends="python3"
+short_desc="""iwd without dbus"
+maintainer="svenper <svenper@tuta.io>"
+license="LGPL-2.1-or-later"
+homepage="https://github.com/dylanaraps/eiwd"
+changelog="https://github.com/dylanaraps/eiwd/releases"
+distfiles="https://github.com/dylanaraps/eiwd/releases/download/${version/r/-}/eiwd-${version/r/-}.tar.xz"
+checksum=35e9938ccecad1a1336ee94d92ec5cfc2f059bd6d3b154034a450ac3385dbc19
+make_dirs="/var/lib/iwd 0600 root root
+ /etc/iwd 755 root root"
+conflicts="iwd>=0"
+
+pre_configure() {
+	autoreconf -fi
+}
+
+post_install() {
+	vsv iwd
+}
diff --git a/srcpkgs/eiwd/update b/srcpkgs/eiwd/update
new file mode 100644
index 00000000000..27398689748
--- /dev/null
+++ b/srcpkgs/eiwd/update
@@ -0,0 +1,2 @@
+version="${version/r/-}"
+pattern='/tag/\K[\d.]+-\d+'

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

* Re: [PR PATCH] [Updated] New package: eiwd-1.6r1
  2020-04-26 18:57 [PR PATCH] New package: eiwd-1.6r1 svenper
  2020-04-26 22:25 ` [PR PATCH] [Updated] " svenper
  2020-04-27 13:39 ` svenper
@ 2020-04-27 17:23 ` svenper
  2020-04-27 19:02 ` svenper
                   ` (2 subsequent siblings)
  5 siblings, 0 replies; 7+ messages in thread
From: svenper @ 2020-04-27 17:23 UTC (permalink / raw)
  To: ml

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

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

https://github.com/svenper/void-packages eiwd
https://github.com/void-linux/void-packages/pull/21355

New package: eiwd-1.6r1
#18581 

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

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

From 96757998f9e94d624bf8dd102dce84212933b35e Mon Sep 17 00:00:00 2001
From: svenper <svenper@tuta.io>
Date: Mon, 27 Apr 2020 19:22:51 +0200
Subject: [PATCH] New package: eiwd-1.6r1

---
 srcpkgs/eiwd/files/iwd/run                |  4 +++
 srcpkgs/eiwd/patches/musl-rawmemchr.patch | 14 +++++++++++
 srcpkgs/eiwd/template                     | 30 +++++++++++++++++++++++
 srcpkgs/eiwd/update                       |  2 ++
 4 files changed, 50 insertions(+)
 create mode 100755 srcpkgs/eiwd/files/iwd/run
 create mode 100644 srcpkgs/eiwd/patches/musl-rawmemchr.patch
 create mode 100644 srcpkgs/eiwd/template
 create mode 100644 srcpkgs/eiwd/update

diff --git a/srcpkgs/eiwd/files/iwd/run b/srcpkgs/eiwd/files/iwd/run
new file mode 100755
index 00000000000..b7d22b7f9e4
--- /dev/null
+++ b/srcpkgs/eiwd/files/iwd/run
@@ -0,0 +1,4 @@
+#!/bin/sh
+[ -r ./conf ] && . ./conf
+exec 2>&1
+exec /usr/libexec/iwd ${OPTS}
diff --git a/srcpkgs/eiwd/patches/musl-rawmemchr.patch b/srcpkgs/eiwd/patches/musl-rawmemchr.patch
new file mode 100644
index 00000000000..f26ee53387a
--- /dev/null
+++ b/srcpkgs/eiwd/patches/musl-rawmemchr.patch
@@ -0,0 +1,14 @@
+--- src/wiphy.c
++++ src/wiphy.c
+@@ -500,7 +500,11 @@
+ 
+ 	if (out_num)
+ 		*out_num =
++#if defined(__GLIBC__) 
+ 			(uint8_t *) rawmemchr(wiphy->supported_rates[band], 0) -
++#else
++			(uint8_t *) memchr(wiphy->supported_rates[band], 0, SIZE_MAX) -
++#endif
+ 			wiphy->supported_rates[band];
+ 
+ 	return wiphy->supported_rates[band];
diff --git a/srcpkgs/eiwd/template b/srcpkgs/eiwd/template
new file mode 100644
index 00000000000..d50f57fd5de
--- /dev/null
+++ b/srcpkgs/eiwd/template
@@ -0,0 +1,30 @@
+# Template file for 'eiwd'
+pkgname=eiwd
+version=1.6r1
+revision=1
+wrksrc="${pkgname}-${version/r/-}"
+build_style=gnu-configure
+configure_args="--disable-systemd-service --enable-pie
+ --disable-external-ell --disable-dbus --enable-wired"
+hostmakedepends="python3-docutils pkg-config automake libtool"
+makedepends="readline-devel ell-devel>=0.31"
+depends="ell>=0.31"
+checkdepends="python3"
+short_desc="Fork of iwd without dbus"
+maintainer="svenper <svenper@tuta.io>"
+license="LGPL-2.1-or-later"
+homepage="https://github.com/dylanaraps/eiwd"
+changelog="https://github.com/dylanaraps/eiwd/releases"
+distfiles="https://github.com/dylanaraps/eiwd/releases/download/${version/r/-}/eiwd-${version/r/-}.tar.xz"
+checksum=35e9938ccecad1a1336ee94d92ec5cfc2f059bd6d3b154034a450ac3385dbc19
+make_dirs="/var/lib/iwd 0600 root root
+ /etc/iwd 755 root root"
+conflicts="iwd>=0"
+
+pre_configure() {
+	autoreconf -fi
+}
+
+post_install() {
+	vsv iwd
+}
diff --git a/srcpkgs/eiwd/update b/srcpkgs/eiwd/update
new file mode 100644
index 00000000000..27398689748
--- /dev/null
+++ b/srcpkgs/eiwd/update
@@ -0,0 +1,2 @@
+version="${version/r/-}"
+pattern='/tag/\K[\d.]+-\d+'

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

* Re: [PR PATCH] [Updated] New package: eiwd-1.6r1
  2020-04-26 18:57 [PR PATCH] New package: eiwd-1.6r1 svenper
                   ` (2 preceding siblings ...)
  2020-04-27 17:23 ` svenper
@ 2020-04-27 19:02 ` svenper
  2021-01-21 14:36 ` ericonr
  2021-01-21 14:36 ` [PR PATCH] [Closed]: " ericonr
  5 siblings, 0 replies; 7+ messages in thread
From: svenper @ 2020-04-27 19:02 UTC (permalink / raw)
  To: ml

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

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

https://github.com/svenper/void-packages eiwd
https://github.com/void-linux/void-packages/pull/21355

New package: eiwd-1.6r1
#18581 

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

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

From 4ecc7b75ece593fecb7f6f8ec032c037d6859446 Mon Sep 17 00:00:00 2001
From: svenper <svenper@tuta.io>
Date: Mon, 27 Apr 2020 21:02:26 +0200
Subject: [PATCH] New package: eiwd-1.6r1

---
 srcpkgs/eiwd/files/iwd/run                |  4 ++++
 srcpkgs/eiwd/patches/musl-rawmemchr.patch | 14 +++++++++++
 srcpkgs/eiwd/template                     | 29 +++++++++++++++++++++++
 srcpkgs/eiwd/update                       |  2 ++
 4 files changed, 49 insertions(+)
 create mode 100755 srcpkgs/eiwd/files/iwd/run
 create mode 100644 srcpkgs/eiwd/patches/musl-rawmemchr.patch
 create mode 100644 srcpkgs/eiwd/template
 create mode 100644 srcpkgs/eiwd/update

diff --git a/srcpkgs/eiwd/files/iwd/run b/srcpkgs/eiwd/files/iwd/run
new file mode 100755
index 00000000000..b7d22b7f9e4
--- /dev/null
+++ b/srcpkgs/eiwd/files/iwd/run
@@ -0,0 +1,4 @@
+#!/bin/sh
+[ -r ./conf ] && . ./conf
+exec 2>&1
+exec /usr/libexec/iwd ${OPTS}
diff --git a/srcpkgs/eiwd/patches/musl-rawmemchr.patch b/srcpkgs/eiwd/patches/musl-rawmemchr.patch
new file mode 100644
index 00000000000..f26ee53387a
--- /dev/null
+++ b/srcpkgs/eiwd/patches/musl-rawmemchr.patch
@@ -0,0 +1,14 @@
+--- src/wiphy.c
++++ src/wiphy.c
+@@ -500,7 +500,11 @@
+ 
+ 	if (out_num)
+ 		*out_num =
++#if defined(__GLIBC__) 
+ 			(uint8_t *) rawmemchr(wiphy->supported_rates[band], 0) -
++#else
++			(uint8_t *) memchr(wiphy->supported_rates[band], 0, SIZE_MAX) -
++#endif
+ 			wiphy->supported_rates[band];
+ 
+ 	return wiphy->supported_rates[band];
diff --git a/srcpkgs/eiwd/template b/srcpkgs/eiwd/template
new file mode 100644
index 00000000000..0847dd85f7b
--- /dev/null
+++ b/srcpkgs/eiwd/template
@@ -0,0 +1,29 @@
+# Template file for 'eiwd'
+pkgname=eiwd
+version=1.6r1
+revision=1
+wrksrc="${pkgname}-${version/r/-}"
+build_style=gnu-configure
+configure_args="--disable-systemd-service --enable-pie
+ --disable-external-ell --disable-dbus --enable-wired"
+hostmakedepends="python3-docutils pkg-config automake libtool"
+makedepends="readline-devel"
+checkdepends="python3"
+short_desc="Fork of iwd without dbus"
+maintainer="svenper <svenper@tuta.io>"
+license="LGPL-2.1-or-later"
+homepage="https://github.com/dylanaraps/eiwd"
+changelog="https://github.com/dylanaraps/eiwd/releases"
+distfiles="https://github.com/dylanaraps/eiwd/releases/download/${version/r/-}/eiwd-${version/r/-}.tar.xz"
+checksum=35e9938ccecad1a1336ee94d92ec5cfc2f059bd6d3b154034a450ac3385dbc19
+make_dirs="/var/lib/iwd 0600 root root
+ /etc/iwd 755 root root"
+conflicts="iwd>=0"
+
+pre_configure() {
+	autoreconf -fi
+}
+
+post_install() {
+	vsv iwd
+}
diff --git a/srcpkgs/eiwd/update b/srcpkgs/eiwd/update
new file mode 100644
index 00000000000..27398689748
--- /dev/null
+++ b/srcpkgs/eiwd/update
@@ -0,0 +1,2 @@
+version="${version/r/-}"
+pattern='/tag/\K[\d.]+-\d+'

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

* Re: New package: eiwd-1.6r1
  2020-04-26 18:57 [PR PATCH] New package: eiwd-1.6r1 svenper
                   ` (3 preceding siblings ...)
  2020-04-27 19:02 ` svenper
@ 2021-01-21 14:36 ` ericonr
  2021-01-21 14:36 ` [PR PATCH] [Closed]: " ericonr
  5 siblings, 0 replies; 7+ messages in thread
From: ericonr @ 2021-01-21 14:36 UTC (permalink / raw)
  To: ml

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

New comment by ericonr on void-packages repository

https://github.com/void-linux/void-packages/pull/21355#issuecomment-764686614

Comment:
PR has been inactive for a while, and so has eiwd upstream.

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

* Re: [PR PATCH] [Closed]: New package: eiwd-1.6r1
  2020-04-26 18:57 [PR PATCH] New package: eiwd-1.6r1 svenper
                   ` (4 preceding siblings ...)
  2021-01-21 14:36 ` ericonr
@ 2021-01-21 14:36 ` ericonr
  5 siblings, 0 replies; 7+ messages in thread
From: ericonr @ 2021-01-21 14:36 UTC (permalink / raw)
  To: ml

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

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

New package: eiwd-1.6r1
https://github.com/void-linux/void-packages/pull/21355

Description:
#18581 

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

end of thread, other threads:[~2021-01-21 14:36 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-04-26 18:57 [PR PATCH] New package: eiwd-1.6r1 svenper
2020-04-26 22:25 ` [PR PATCH] [Updated] " svenper
2020-04-27 13:39 ` svenper
2020-04-27 17:23 ` svenper
2020-04-27 19:02 ` svenper
2021-01-21 14:36 ` ericonr
2021-01-21 14:36 ` [PR PATCH] [Closed]: " ericonr

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).