mirror of
https://codeberg.org/guix/guix.git
synced 2025-10-02 02:15:12 +00:00
gnu: iwd: Update to 3.9.
* gnu/packages/networking.scm (iwd): Update to 3.9. Change-Id: I3e73595f534d63b6d4bd4b45d7eb9954630c5efb Signed-off-by: Maxim Cournoyer <maxim@guixotic.coop>
This commit is contained in:
parent
d3eab3c8bd
commit
fd12ed9997
1 changed files with 66 additions and 68 deletions
|
@ -4236,77 +4236,75 @@ powerful route filtering syntax and an easy-to-use configuration interface.")
|
||||||
(license license:gpl2+)))
|
(license license:gpl2+)))
|
||||||
|
|
||||||
(define-public iwd
|
(define-public iwd
|
||||||
(let ((commit "c4718a53553b8c13cbdd713d3783072589dd1620")
|
(package
|
||||||
(revision "1"))
|
(name "iwd")
|
||||||
(package
|
(version "3.9")
|
||||||
(name "iwd")
|
(source (origin
|
||||||
(version (git-version "3.8" revision commit))
|
(method git-fetch)
|
||||||
(source (origin
|
(uri (git-reference
|
||||||
(method git-fetch)
|
(url "https://git.kernel.org/pub/scm/network/wireless/iwd.git")
|
||||||
(uri (git-reference
|
(commit version)))
|
||||||
(url "https://git.kernel.org/pub/scm/network/wireless/iwd.git")
|
(file-name (git-file-name name version))
|
||||||
(commit commit)))
|
(sha256
|
||||||
(file-name (git-file-name name version))
|
(base32
|
||||||
(sha256
|
"0kk88ipi901gibz7275rh6p9hplh5xg00b4bxf3i51wyml3id39m"))))
|
||||||
(base32
|
(build-system gnu-build-system)
|
||||||
"1dqmqr63srgr8y5x2nb07hami7vva1zkg9lh1a1ca2pfspjpa8q3"))))
|
(inputs
|
||||||
(build-system gnu-build-system)
|
(list dbus ell (package-source ell) openresolv readline))
|
||||||
(inputs
|
(native-inputs
|
||||||
(list dbus ell (package-source ell) openresolv readline))
|
(list autoconf
|
||||||
(native-inputs
|
automake
|
||||||
(list autoconf
|
libtool
|
||||||
automake
|
pkg-config
|
||||||
libtool
|
python
|
||||||
pkg-config
|
python-docutils
|
||||||
python
|
openssl))
|
||||||
python-docutils
|
(arguments
|
||||||
openssl))
|
(list #:configure-flags
|
||||||
(arguments
|
#~(list "--disable-systemd-service"
|
||||||
(list #:configure-flags
|
"--enable-external-ell"
|
||||||
#~(list "--disable-systemd-service"
|
"--enable-hwsim"
|
||||||
"--enable-external-ell"
|
"--enable-tools"
|
||||||
"--enable-hwsim"
|
"--enable-wired"
|
||||||
"--enable-tools"
|
"--localstatedir=/var"
|
||||||
"--enable-wired"
|
(string-append "--with-dbus-datadir=" #$output "/share/")
|
||||||
"--localstatedir=/var"
|
(string-append "--with-dbus-busdir="
|
||||||
(string-append "--with-dbus-datadir=" #$output "/share/")
|
#$output "/share/dbus-1/system-services"))
|
||||||
(string-append "--with-dbus-busdir="
|
#:phases
|
||||||
#$output "/share/dbus-1/system-services"))
|
#~(modify-phases %standard-phases
|
||||||
#:phases
|
(add-after 'unpack 'copy-ell-header-files
|
||||||
#~(modify-phases %standard-phases
|
;; Copy into the source tree two of ell's private header files
|
||||||
(add-after 'unpack 'copy-ell-header-files
|
;; that it shares with iwd, as is required to build with the
|
||||||
;; Copy into the source tree two of ell's private header files
|
;; "--enable-external-ell" configure option. See the
|
||||||
;; that it shares with iwd, as is required to build with the
|
;; definition of "ell_shared" in iwd's Makefile.am.
|
||||||
;; "--enable-external-ell" configure option. See the
|
(lambda* (#:key inputs #:allow-other-keys)
|
||||||
;; definition of "ell_shared" in iwd's Makefile.am.
|
(let ((ell-header-dir (search-input-directory inputs "/ell"))
|
||||||
(lambda* (#:key inputs #:allow-other-keys)
|
(target-dir "ell"))
|
||||||
(let ((ell-header-dir (search-input-directory inputs "/ell"))
|
(mkdir target-dir)
|
||||||
(target-dir "ell"))
|
(for-each
|
||||||
(mkdir target-dir)
|
(lambda (file-name)
|
||||||
(for-each
|
(copy-file (string-append ell-header-dir "/" file-name)
|
||||||
(lambda (file-name)
|
(string-append target-dir "/" file-name)))
|
||||||
(copy-file (string-append ell-header-dir "/" file-name)
|
'("asn1-private.h" "useful.h")))))
|
||||||
(string-append target-dir "/" file-name)))
|
(add-after 'unpack 'patch-resolvconf-path
|
||||||
'("asn1-private.h" "useful.h")))))
|
(lambda* (#:key inputs #:allow-other-keys)
|
||||||
(add-after 'unpack 'patch-resolvconf-path
|
(substitute* "src/resolve.c"
|
||||||
(lambda* (#:key inputs #:allow-other-keys)
|
(("getenv\\(\"PATH\"\\)")
|
||||||
(substitute* "src/resolve.c"
|
(format #f "\"~a\""
|
||||||
(("getenv\\(\"PATH\"\\)")
|
(dirname (search-input-file
|
||||||
(format #f "\"~a\""
|
inputs "sbin/resolvconf")))))))
|
||||||
(dirname (search-input-file
|
(add-after 'configure 'patch-Makefile
|
||||||
inputs "sbin/resolvconf")))))))
|
(lambda _
|
||||||
(add-after 'configure 'patch-Makefile
|
(substitute* "Makefile"
|
||||||
(lambda _
|
;; Don't try to 'mkdir /var'.
|
||||||
(substitute* "Makefile"
|
(("\\$\\(MKDIR_P\\) -m 700") "true")))))))
|
||||||
;; Don't try to 'mkdir /var'.
|
(home-page "https://iwd.wiki.kernel.org/")
|
||||||
(("\\$\\(MKDIR_P\\) -m 700") "true")))))))
|
(synopsis "iNet Wireless Daemon")
|
||||||
(home-page "https://iwd.wiki.kernel.org/")
|
(description "iwd is a wireless daemon for Linux that aims to replace WPA
|
||||||
(synopsis "iNet Wireless Daemon")
|
|
||||||
(description "iwd is a wireless daemon for Linux that aims to replace WPA
|
|
||||||
Supplicant. It optimizes resource utilization by not depending on any external
|
Supplicant. It optimizes resource utilization by not depending on any external
|
||||||
libraries and instead utilizing features provided by the Linux kernel to the
|
libraries and instead utilizing features provided by the Linux kernel to the
|
||||||
maximum extent possible.")
|
maximum extent possible.")
|
||||||
(license license:lgpl2.1+))))
|
(license license:lgpl2.1+)))
|
||||||
|
|
||||||
(define-public iwgtk
|
(define-public iwgtk
|
||||||
(package
|
(package
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue