* [gentoo-commits] repo/proj/guru:dev commit in: net-wireless/eiwd/files/, net-wireless/eiwd/
@ 2020-04-07 11:56 Volkmar W. Pogatzki
0 siblings, 0 replies; 4+ messages in thread
From: Volkmar W. Pogatzki @ 2020-04-07 11:56 UTC (permalink / raw
To: gentoo-commits
commit: 96e6d8e02daa4ecc0db0db39788fb9941705ae03
Author: Volkmar W. Pogatzki <gentoo <AT> pogatzki <DOT> net>
AuthorDate: Tue Apr 7 11:50:23 2020 +0000
Commit: Volkmar W. Pogatzki <gentoo <AT> pogatzki <DOT> net>
CommitDate: Tue Apr 7 11:51:07 2020 +0000
URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=96e6d8e0
net-wireless/eiwd: new package
Package-Manager: Portage-2.3.89, Repoman-2.3.20
Signed-off-by: Volkmar W. Pogatzki <gentoo <AT> pogatzki.net>
net-wireless/eiwd/Manifest | 1 +
net-wireless/eiwd/eiwd-1.6.1.ebuild | 43 +++++++++++++++++++++++++++++++++
net-wireless/eiwd/eiwd-9999.ebuild | 48 +++++++++++++++++++++++++++++++++++++
net-wireless/eiwd/files/iwd.initd | 13 ++++++++++
net-wireless/eiwd/metadata.xml | 13 ++++++++++
5 files changed, 118 insertions(+)
diff --git a/net-wireless/eiwd/Manifest b/net-wireless/eiwd/Manifest
new file mode 100644
index 0000000..65b311a
--- /dev/null
+++ b/net-wireless/eiwd/Manifest
@@ -0,0 +1 @@
+DIST eiwd-1.6-1.tar.xz 940492 BLAKE2B ba5256396510f6d092516ec210b7d274d7e984a1c7bf9f7ed5a8e1b7f0939c233d8a7e0d934f068c5bda5c7f54425134dca972ff1845396e7ed35298139e2923 SHA512 7f0e8522b01c455f16f43682b1f8b76ef15587f53cf4f6976870d9797e1d8f40f5c8146d23b277a3d555594ab534b832a837190734840429f58acce27e16edef
diff --git a/net-wireless/eiwd/eiwd-1.6.1.ebuild b/net-wireless/eiwd/eiwd-1.6.1.ebuild
new file mode 100644
index 0000000..b00e9d1
--- /dev/null
+++ b/net-wireless/eiwd/eiwd-1.6.1.ebuild
@@ -0,0 +1,43 @@
+# Copyright 2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit flag-o-matic
+
+MY_PV="$(ver_rs 2 '-')"
+MY_P="${PN}-${MY_PV}"
+
+DESCRIPTION="iwd without dbus"
+HOMEPAGE="https://github.com/dylanaraps/eiwd"
+SRC_URI="https://github.com/dylanaraps/eiwd/releases/download/${MY_PV}/${MY_P}.tar.xz"
+
+LICENSE="LGPL-2.1"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="+system-ell"
+
+COMMON_DEPEND="system-ell? ( ~dev-libs/ell-0.30 )"
+BDEPEND="virtual/pkgconfig"
+RDEPEND="${COMMON_DEPEND}
+ !net-wireless/iwd
+ net-wireless/wireless-regdb"
+DEPEND="${COMMON_DEPEND}"
+
+S="${WORKDIR}/${MY_P}"
+
+src_configure() {
+ append-cflags "-fsigned-char"
+ local myeconfargs=(
+ --sysconfdir="${EPREFIX}"/etc/iwd --localstatedir="${EPREFIX}"/var
+ --disable-dbus
+ $(use_enable system-ell external-ell)
+ )
+ econf "${myeconfargs[@]}"
+}
+
+src_install() {
+ default
+ keepdir /var/lib/iwd
+ newinitd "${FILESDIR}/iwd.initd" iwd
+}
diff --git a/net-wireless/eiwd/eiwd-9999.ebuild b/net-wireless/eiwd/eiwd-9999.ebuild
new file mode 100644
index 0000000..90565bd
--- /dev/null
+++ b/net-wireless/eiwd/eiwd-9999.ebuild
@@ -0,0 +1,48 @@
+# Copyright 2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit autotools flag-o-matic git-r3
+
+MY_PV="$(ver_rs 2 '-')"
+MY_P="${PN}-${MY_PV}"
+
+DESCRIPTION="iwd without dbus"
+HOMEPAGE="https://github.com/dylanaraps/eiwd"
+EGIT_REPO_URI="https://github.com/dylanaraps/eiwd.git"
+
+LICENSE="LGPL-2.1"
+SLOT="0"
+KEYWORDS=""
+IUSE="+system-ell"
+
+COMMON_DEPEND="system-ell? ( ~dev-libs/ell-0.30 )"
+BDEPEND="virtual/pkgconfig"
+RDEPEND="${COMMON_DEPEND}
+ !net-wireless/iwd
+ net-wireless/wireless-regdb"
+DEPEND="${COMMON_DEPEND}"
+
+S="${WORKDIR}/${MY_P}"
+
+src_prepare() {
+ default
+ eautoreconf
+}
+
+src_configure() {
+ append-cflags "-fsigned-char"
+ local myeconfargs=(
+ --sysconfdir="${EPREFIX}"/etc/iwd --localstatedir="${EPREFIX}"/var
+ --disable-dbus
+ $(use_enable system-ell external-ell)
+ )
+ econf "${myeconfargs[@]}"
+}
+
+src_install() {
+ default
+ keepdir /var/lib/iwd
+ newinitd "${FILESDIR}/iwd.initd" iwd
+}
diff --git a/net-wireless/eiwd/files/iwd.initd b/net-wireless/eiwd/files/iwd.initd
new file mode 100644
index 0000000..e2b1040
--- /dev/null
+++ b/net-wireless/eiwd/files/iwd.initd
@@ -0,0 +1,13 @@
+#!/sbin/openrc-run
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+command="/usr/libexec/iwd"
+pidfile="/run/iwd.pid"
+command_background="yes"
+
+depend() {
+ after bootmisc modules
+ before dns dhcpcd net
+ keyword -shutdown
+}
diff --git a/net-wireless/eiwd/metadata.xml b/net-wireless/eiwd/metadata.xml
new file mode 100644
index 0000000..12f4ea9
--- /dev/null
+++ b/net-wireless/eiwd/metadata.xml
@@ -0,0 +1,13 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <!-- maintainer-needed -->
+ <upstream>
+ <remote-id type="github">dylanaraps/eiwd</remote-id>
+ </upstream>
+ <use>
+ <flag name="system-ell">
+ Use the system-wide <pkg>dev-libs/ell</pkg>instead of bundled.
+ </flag>
+ </use>
+</pkgmetadata>
^ permalink raw reply related [flat|nested] 4+ messages in thread
* [gentoo-commits] repo/proj/guru:dev commit in: net-wireless/eiwd/files/, net-wireless/eiwd/
@ 2020-06-06 9:26 Volkmar W. Pogatzki
0 siblings, 0 replies; 4+ messages in thread
From: Volkmar W. Pogatzki @ 2020-06-06 9:26 UTC (permalink / raw
To: gentoo-commits
commit: 1fd01c26b6ce5ae14850f5df99973b2a51856b01
Author: Volkmar W. Pogatzki <gentoo <AT> pogatzki <DOT> net>
AuthorDate: Sat Jun 6 09:25:38 2020 +0000
Commit: Volkmar W. Pogatzki <gentoo <AT> pogatzki <DOT> net>
CommitDate: Sat Jun 6 09:25:54 2020 +0000
URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=1fd01c26
net-wireless/eiwd: Add resolvconf to RDEPEND
See https://github.com/kisslinux/repo/blob/master/extra/eiwd/post-install
Package-Manager: Portage-2.3.99, Repoman-2.3.22
Signed-off-by: Volkmar W. Pogatzki <gentoo <AT> pogatzki.net>
net-wireless/eiwd/eiwd-1.6.1.ebuild | 9 +++++++--
net-wireless/eiwd/eiwd-9999.ebuild | 12 ++++++++----
net-wireless/eiwd/files/iwd.initd | 2 +-
net-wireless/eiwd/files/main.conf | 4 ++++
net-wireless/eiwd/metadata.xml | 3 +++
5 files changed, 23 insertions(+), 7 deletions(-)
diff --git a/net-wireless/eiwd/eiwd-1.6.1.ebuild b/net-wireless/eiwd/eiwd-1.6.1.ebuild
index 3880b77..89de5dd 100644
--- a/net-wireless/eiwd/eiwd-1.6.1.ebuild
+++ b/net-wireless/eiwd/eiwd-1.6.1.ebuild
@@ -15,10 +15,11 @@ SRC_URI="https://github.com/dylanaraps/eiwd/releases/download/${MY_PV}/${MY_P}.t
LICENSE="LGPL-2.1"
SLOT="0"
KEYWORDS="~amd64 ~x86"
-IUSE="+system-ell"
+IUSE="+resolvconf +system-ell"
DEPEND="system-ell? ( >=dev-libs/ell-0.31 )"
RDEPEND="${DEPEND}
+ resolvconf? ( || ( net-dns/openresolv net-misc/dhcpcd ) )
!net-wireless/iwd
net-wireless/wireless-regdb"
BDEPEND="virtual/pkgconfig"
@@ -38,5 +39,9 @@ src_configure() {
src_install() {
default
keepdir /var/lib/iwd
- newinitd "${FILESDIR}/iwd.initd" iwd
+ newinitd "${FILESDIR}"/iwd.initd iwd
+ if use resolvconf ; then
+ insinto /etc/iwd/
+ doins "${FILESDIR}"/main.conf
+ fi
}
diff --git a/net-wireless/eiwd/eiwd-9999.ebuild b/net-wireless/eiwd/eiwd-9999.ebuild
index 12c7868..78157c4 100644
--- a/net-wireless/eiwd/eiwd-9999.ebuild
+++ b/net-wireless/eiwd/eiwd-9999.ebuild
@@ -15,11 +15,11 @@ EGIT_REPO_URI="https://github.com/dylanaraps/eiwd.git"
LICENSE="LGPL-2.1"
SLOT="0"
KEYWORDS=""
-IUSE="+system-ell"
+IUSE="+resolvconf +system-ell"
-DEPEND="system-ell? ( >=dev-libs/ell-0.31 )
- dev-python/docutils"
+DEPEND="system-ell? ( >=dev-libs/ell-0.31 )"
RDEPEND="${DEPEND}
+ resolvconf? ( || ( net-dns/openresolv net-misc/dhcpcd ) )
!net-wireless/iwd
net-wireless/wireless-regdb"
BDEPEND="virtual/pkgconfig"
@@ -44,5 +44,9 @@ src_configure() {
src_install() {
default
keepdir /var/lib/iwd
- newinitd "${FILESDIR}/iwd.initd" iwd
+ newinitd "${FILESDIR}"/iwd.initd iwd
+ if use resolvconf ; then
+ insinto /etc/iwd/
+ doins "${FILESDIR}"/main.conf
+ fi
}
diff --git a/net-wireless/eiwd/files/iwd.initd b/net-wireless/eiwd/files/iwd.initd
index 673bc47..6a1e086 100644
--- a/net-wireless/eiwd/files/iwd.initd
+++ b/net-wireless/eiwd/files/iwd.initd
@@ -9,6 +9,6 @@ command_background="yes"
depend() {
provide net
after bootmisc modules
- before dns dhcpcd net
+ before dns dhcpcd
keyword -shutdown
}
diff --git a/net-wireless/eiwd/files/main.conf b/net-wireless/eiwd/files/main.conf
new file mode 100644
index 0000000..72ec4fb
--- /dev/null
+++ b/net-wireless/eiwd/files/main.conf
@@ -0,0 +1,4 @@
+[General]
+EnableNetworkConfiguration=true
+[Network]
+NameResolvingService=resolvconf
diff --git a/net-wireless/eiwd/metadata.xml b/net-wireless/eiwd/metadata.xml
index 12f4ea9..31efe3f 100644
--- a/net-wireless/eiwd/metadata.xml
+++ b/net-wireless/eiwd/metadata.xml
@@ -9,5 +9,8 @@
<flag name="system-ell">
Use the system-wide <pkg>dev-libs/ell</pkg>instead of bundled.
</flag>
+ <flag name="resolvconf">
+ Use resolvconf to handle /etc/resolv.conf updates
+ </flag>
</use>
</pkgmetadata>
^ permalink raw reply related [flat|nested] 4+ messages in thread
* [gentoo-commits] repo/proj/guru:dev commit in: net-wireless/eiwd/files/, net-wireless/eiwd/
@ 2020-06-06 16:55 Volkmar W. Pogatzki
0 siblings, 0 replies; 4+ messages in thread
From: Volkmar W. Pogatzki @ 2020-06-06 16:55 UTC (permalink / raw
To: gentoo-commits
commit: 170c23b4e1f711bfcaa9104a373926ab169f797a
Author: Volkmar W. Pogatzki <gentoo <AT> pogatzki <DOT> net>
AuthorDate: Sat Jun 6 16:55:11 2020 +0000
Commit: Volkmar W. Pogatzki <gentoo <AT> pogatzki <DOT> net>
CommitDate: Sat Jun 6 16:55:11 2020 +0000
URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=170c23b4
net-wireless/eiwd: iwmon.1 patch
When upstream then remove it
Package-Manager: Portage-2.3.99, Repoman-2.3.22
Signed-off-by: Volkmar W. Pogatzki <gentoo <AT> pogatzki.net>
net-wireless/eiwd/eiwd-20200416.ebuild | 4 ++-
net-wireless/eiwd/files/iwmon.patch | 62 ++++++++++++++++++++++++++++++++++
2 files changed, 65 insertions(+), 1 deletion(-)
diff --git a/net-wireless/eiwd/eiwd-20200416.ebuild b/net-wireless/eiwd/eiwd-20200416.ebuild
index 1453d6a..96457f7 100644
--- a/net-wireless/eiwd/eiwd-20200416.ebuild
+++ b/net-wireless/eiwd/eiwd-20200416.ebuild
@@ -28,7 +28,9 @@ BDEPEND="virtual/pkgconfig"
S="${WORKDIR}/${MY_P}"
-PATCHES=( "${FILESDIR}"/20200416.patch )
+PATCHES=(
+ "${FILESDIR}"/20200416.patch
+ "${FILESDIR}"/iwmon.patch )
src_prepare() {
default
diff --git a/net-wireless/eiwd/files/iwmon.patch b/net-wireless/eiwd/files/iwmon.patch
new file mode 100644
index 0000000..5be901e
--- /dev/null
+++ b/net-wireless/eiwd/files/iwmon.patch
@@ -0,0 +1,62 @@
+diff --git a/monitor/iwmon.1 b/monitor/iwmon.1
+new file mode 100644
+index 00000000..433ce18b
+--- /dev/null
++++ b/monitor/iwmon.1
+@@ -0,0 +1,56 @@
++.\" Man page generated from reStructuredText.
++.
++.TH IWMON 1 "22 September 2019" "iwmon" "Linux Connectivity"
++.SH NAME
++iwmon \- Internet wireless monitor utility
++.
++.nr rst2man-indent-level 0
++.
++.de1 rstReportMargin
++\\$1 \\n[an-margin]
++level \\n[rst2man-indent-level]
++level margin: \\n[rst2man-indent\\n[rst2man-indent-level]]
++-
++\\n[rst2man-indent0]
++\\n[rst2man-indent1]
++\\n[rst2man-indent2]
++..
++.de1 INDENT
++.\" .rstReportMargin pre:
++. RS \\$1
++. nr rst2man-indent\\n[rst2man-indent-level] \\n[an-margin]
++. nr rst2man-indent-level +1
++.\" .rstReportMargin post:
++..
++.de UNINDENT
++. RE
++.\" indent \\n[an-margin]
++.\" old: \\n[rst2man-indent\\n[rst2man-indent-level]]
++.nr rst2man-indent-level -1
++.\" new: \\n[rst2man-indent\\n[rst2man-indent-level]]
++.in \\n[rst2man-indent\\n[rst2man-indent-level]]u
++..
++.SH SYNOPSIS
++.sp
++\fBiwmon\fP [\fIoptions\fP ...]
++.SH DESCRIPTION
++.sp
++Tool for monitoring and logging of Wireless control messages from nl80211.
++.SH OPTIONS
++.INDENT 0.0
++.TP
++.B \-\-version\fP,\fB \-v
++Show version number and exit.
++.TP
++.B \-\-help\fP,\fB \-h
++Show help message and exit.
++.UNINDENT
++.SH SEE ALSO
++.sp
++iwd(8)
++.SH AUTHOR
++Marcel Holtmann <marcel@holtmann.org>
++.SH COPYRIGHT
++2013-2019 Intel Corporation
++.\" Generated by docutils manpage writer.
++.
^ permalink raw reply related [flat|nested] 4+ messages in thread
* [gentoo-commits] repo/proj/guru:dev commit in: net-wireless/eiwd/files/, net-wireless/eiwd/
@ 2020-06-26 18:18 Volkmar W. Pogatzki
0 siblings, 0 replies; 4+ messages in thread
From: Volkmar W. Pogatzki @ 2020-06-26 18:18 UTC (permalink / raw
To: gentoo-commits
commit: 675da9634bdd0d50b659b66d2b3445401450c564
Author: Volkmar W. Pogatzki <gentoo <AT> pogatzki <DOT> net>
AuthorDate: Fri Jun 26 18:07:40 2020 +0000
Commit: Volkmar W. Pogatzki <gentoo <AT> pogatzki <DOT> net>
CommitDate: Fri Jun 26 18:18:03 2020 +0000
URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=675da963
net-wireless/eiwd: Version 1.7_pre20200606
Patch accepted upstream
PR https://github.com/dylanaraps/eiwd/pull/6 pulled
Package-Manager: Portage-2.3.99, Repoman-2.3.23
Signed-off-by: Volkmar W. Pogatzki <gentoo <AT> pogatzki.net>
...20200416.ebuild => eiwd-1.7_pre20200606.ebuild} | 6 +--
net-wireless/eiwd/eiwd-9999.ebuild | 1 -
net-wireless/eiwd/files/iwmon.patch | 62 ----------------------
3 files changed, 3 insertions(+), 66 deletions(-)
diff --git a/net-wireless/eiwd/eiwd-1.7_pre20200416.ebuild b/net-wireless/eiwd/eiwd-1.7_pre20200606.ebuild
similarity index 93%
rename from net-wireless/eiwd/eiwd-1.7_pre20200416.ebuild
rename to net-wireless/eiwd/eiwd-1.7_pre20200606.ebuild
index 1d2ec49..5a16f0a 100644
--- a/net-wireless/eiwd/eiwd-1.7_pre20200416.ebuild
+++ b/net-wireless/eiwd/eiwd-1.7_pre20200606.ebuild
@@ -11,8 +11,8 @@ MY_P="${PN}-${MY_PV}"
DESCRIPTION="iwd without dbus"
HOMEPAGE="https://github.com/dylanaraps/eiwd"
EGIT_REPO_URI="https://github.com/dylanaraps/eiwd.git"
-# Version 1.7 Apr 16, 2020
-EGIT_COMMIT="7b5545a"
+# Version 1.7 June 06,2020
+EGIT_COMMIT="9272d89"
LICENSE="LGPL-2.1"
SLOT="0"
@@ -29,7 +29,7 @@ S="${WORKDIR}/${MY_P}"
PATCHES=(
"${FILESDIR}"/20200416.patch
- "${FILESDIR}"/iwmon.patch )
+)
src_prepare() {
default
diff --git a/net-wireless/eiwd/eiwd-9999.ebuild b/net-wireless/eiwd/eiwd-9999.ebuild
index c7fb122..b648114 100644
--- a/net-wireless/eiwd/eiwd-9999.ebuild
+++ b/net-wireless/eiwd/eiwd-9999.ebuild
@@ -11,7 +11,6 @@ MY_P="${PN}-${MY_PV}"
DESCRIPTION="iwd without dbus"
HOMEPAGE="https://github.com/dylanaraps/eiwd"
EGIT_REPO_URI="https://github.com/dylanaraps/eiwd.git"
-EGIT_COMMIT="7b5545a"
LICENSE="LGPL-2.1"
SLOT="0"
diff --git a/net-wireless/eiwd/files/iwmon.patch b/net-wireless/eiwd/files/iwmon.patch
deleted file mode 100644
index 5be901e..0000000
--- a/net-wireless/eiwd/files/iwmon.patch
+++ /dev/null
@@ -1,62 +0,0 @@
-diff --git a/monitor/iwmon.1 b/monitor/iwmon.1
-new file mode 100644
-index 00000000..433ce18b
---- /dev/null
-+++ b/monitor/iwmon.1
-@@ -0,0 +1,56 @@
-+.\" Man page generated from reStructuredText.
-+.
-+.TH IWMON 1 "22 September 2019" "iwmon" "Linux Connectivity"
-+.SH NAME
-+iwmon \- Internet wireless monitor utility
-+.
-+.nr rst2man-indent-level 0
-+.
-+.de1 rstReportMargin
-+\\$1 \\n[an-margin]
-+level \\n[rst2man-indent-level]
-+level margin: \\n[rst2man-indent\\n[rst2man-indent-level]]
-+-
-+\\n[rst2man-indent0]
-+\\n[rst2man-indent1]
-+\\n[rst2man-indent2]
-+..
-+.de1 INDENT
-+.\" .rstReportMargin pre:
-+. RS \\$1
-+. nr rst2man-indent\\n[rst2man-indent-level] \\n[an-margin]
-+. nr rst2man-indent-level +1
-+.\" .rstReportMargin post:
-+..
-+.de UNINDENT
-+. RE
-+.\" indent \\n[an-margin]
-+.\" old: \\n[rst2man-indent\\n[rst2man-indent-level]]
-+.nr rst2man-indent-level -1
-+.\" new: \\n[rst2man-indent\\n[rst2man-indent-level]]
-+.in \\n[rst2man-indent\\n[rst2man-indent-level]]u
-+..
-+.SH SYNOPSIS
-+.sp
-+\fBiwmon\fP [\fIoptions\fP ...]
-+.SH DESCRIPTION
-+.sp
-+Tool for monitoring and logging of Wireless control messages from nl80211.
-+.SH OPTIONS
-+.INDENT 0.0
-+.TP
-+.B \-\-version\fP,\fB \-v
-+Show version number and exit.
-+.TP
-+.B \-\-help\fP,\fB \-h
-+Show help message and exit.
-+.UNINDENT
-+.SH SEE ALSO
-+.sp
-+iwd(8)
-+.SH AUTHOR
-+Marcel Holtmann <marcel@holtmann.org>
-+.SH COPYRIGHT
-+2013-2019 Intel Corporation
-+.\" Generated by docutils manpage writer.
-+.
^ permalink raw reply related [flat|nested] 4+ messages in thread
end of thread, other threads:[~2020-06-26 18:18 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-06-06 9:26 [gentoo-commits] repo/proj/guru:dev commit in: net-wireless/eiwd/files/, net-wireless/eiwd/ Volkmar W. Pogatzki
-- strict thread matches above, loose matches on Subject: below --
2020-06-26 18:18 Volkmar W. Pogatzki
2020-06-06 16:55 Volkmar W. Pogatzki
2020-04-07 11:56 Volkmar W. Pogatzki
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox