GNU bug report logs -
#61727
Add rust libs for IP address and DNS
Previous Next
Reported by: Steve George <steve <at> futurile.net>
Date: Thu, 23 Feb 2023 08:40:02 UTC
Severity: normal
Done: Efraim Flashner <efraim <at> flashner.co.il>
Bug is archived. No further changes may be made.
To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 61727 in the body.
You can then email your comments to 61727 AT debbugs.gnu.org in the normal way.
Toggle the display of automated, internal messages from the tracker.
Report forwarded
to
guix-patches <at> gnu.org
:
bug#61727
; Package
guix-patches
.
(Thu, 23 Feb 2023 08:40:02 GMT)
Full text and
rfc822 format available.
Acknowledgement sent
to
Steve George <steve <at> futurile.net>
:
New bug report received and forwarded. Copy sent to
guix-patches <at> gnu.org
.
(Thu, 23 Feb 2023 08:40:02 GMT)
Full text and
rfc822 format available.
Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):
Hi,
Part of a series of Crates that will (eventually) add rust-librespot.
Contributing the easiest parts in sections.
Add:
- rust-dns-sd,
- rust-if-addrs-sys,
- rust-if-addrs,
- rust-libmdns,
- rust-aes-ctr
Update:
- rust-base64
Information forwarded
to
guix-patches <at> gnu.org
:
bug#61727
; Package
guix-patches
.
(Thu, 23 Feb 2023 08:44:02 GMT)
Full text and
rfc822 format available.
Message #8 received at 61727 <at> debbugs.gnu.org (full text, mbox):
* gnu/packages/crates-io.scm (rust-base64): Update to 0.13.1
---
Tested update on rust-sequoia-autocrypt, sniffglue, rust-bson and
rust-cookie.
gnu/packages/crates-io.scm | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index e615a51b01..aa1fc169c4 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -5610,7 +5610,7 @@ (define-public rust-base58-0.1
(define-public rust-base64-0.13
(package
(name "rust-base64")
- (version "0.13.0")
+ (version "0.13.1")
(source
(origin
(method url-fetch)
@@ -5618,7 +5618,7 @@ (define-public rust-base64-0.13
(file-name
(string-append name "-" version ".tar.gz"))
(sha256
- (base32 "1z82g23mbzjgijkpcrilc7nljpxpvpf7zxf6iyiapkgka2ngwkch"))))
+ (base32 "1s494mqmzjb766fy1kqlccgfg2sdcjb6hzbvzqv2jw65fdi5h6wy"))))
(build-system cargo-build-system)
(arguments
`(#:skip-build? #t
--
2.39.1
Information forwarded
to
guix-patches <at> gnu.org
:
bug#61727
; Package
guix-patches
.
(Thu, 23 Feb 2023 08:44:02 GMT)
Full text and
rfc822 format available.
Message #11 received at 61727 <at> debbugs.gnu.org (full text, mbox):
* gnu/packages/crates-io.scm (rust-dns-sd): New variable.
---
gnu/packages/crates-io.scm | 25 +++++++++++++++++++++++++
1 file changed, 25 insertions(+)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index aa1fc169c4..db18d62870 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -57,6 +57,7 @@ (define-module (gnu packages crates-io)
#:use-module (gnu packages)
#:use-module (gnu packages admin)
#:use-module (gnu packages autotools)
+ #:use-module (gnu packages avahi)
#:use-module (gnu packages bash)
#:use-module (gnu packages cmake)
#:use-module (gnu packages compression)
@@ -17616,6 +17617,30 @@ (define-public rust-dns-parser-0.8
not support network, only raw protocol parser.")
(license (list license:expat license:asl2.0))))
+(define-public rust-dns-sd-0.1
+ (package
+ (name "rust-dns-sd")
+ (version "0.1.3")
+ (source (origin
+ (method url-fetch)
+ (uri (crate-uri "dns-sd" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "11r0jymjshfnn3sh2nqjhrikk4r5rr1g36sip9iqy8i0xafm0j6p"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:skip-build? #f
+ #:cargo-inputs
+ (("rust-libc" ,rust-libc-0.2))
+ #:cargo-development-inputs
+ (("rust-pkg-config" ,rust-pkg-config-0.3))))
+ (inputs (list avahi))
+ (native-inputs (list pkg-config))
+ (home-page "https://github.com/plietar/rust-dns-sd")
+ (synopsis "Rust binding for DNS-SD")
+ (description "Rust bindings for DNS Service Discovery (DNS-SD)")
+ (license license:expat)))
+
(define-public rust-doc-comment-0.3
(package
(name "rust-doc-comment")
--
2.39.1
Information forwarded
to
guix-patches <at> gnu.org
:
bug#61727
; Package
guix-patches
.
(Thu, 23 Feb 2023 08:44:02 GMT)
Full text and
rfc822 format available.
Message #14 received at 61727 <at> debbugs.gnu.org (full text, mbox):
* gnu/packages/crates-io.scm (rust-if-addrs-sys): New variable.
---
gnu/packages/crates-io.scm | 23 +++++++++++++++++++++++
1 file changed, 23 insertions(+)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index db18d62870..c79d2d15d5 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -27015,6 +27015,29 @@ (define-public rust-ieee754-0.2
floating-point numbers.")
(license (list license:expat license:asl2.0))))
+(define-public rust-if-addrs-sys-0.3
+ (package
+ (name "rust-if-addrs-sys")
+ (version "0.3.2")
+ (source (origin
+ (method url-fetch)
+ (uri (crate-uri "if-addrs-sys" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "1skrzs79rafv185064p44r0k1va9ig4bfnpbwlvyhxh4g3fvjx6y"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:skip-build? #f
+ #:cargo-inputs
+ (("rust-libc" ,rust-libc-0.2))
+ #:cargo-development-inputs
+ (("rust-cc", rust-cc-1))))
+ (home-page "https://github.com/messense/if-addrs")
+ (synopsis "Retrieve the IP addresses for all network interfaces")
+ (description "Retrieve the IP addresses for all network interfaces.
+Works on POSIX and Windows hosts.")
+ (license (list license:expat license:bsd-3))))
+
(define-public rust-if-chain-1
(package
(name "rust-if-chain")
--
2.39.1
Information forwarded
to
guix-patches <at> gnu.org
:
bug#61727
; Package
guix-patches
.
(Thu, 23 Feb 2023 08:44:03 GMT)
Full text and
rfc822 format available.
Message #17 received at 61727 <at> debbugs.gnu.org (full text, mbox):
* gnu/packages/crates-io.scm (rust-if-addrs): New variable.
---
gnu/packages/crates-io.scm | 25 +++++++++++++++++++++++++
1 file changed, 25 insertions(+)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index c79d2d15d5..26b607753b 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -27015,6 +27015,31 @@ (define-public rust-ieee754-0.2
floating-point numbers.")
(license (list license:expat license:asl2.0))))
+(define-public rust-if-addrs-0.6
+ (package
+ (name "rust-if-addrs")
+ (version "0.6.7")
+ (source (origin
+ (method url-fetch)
+ (uri (crate-uri "if-addrs" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "1pkkkwm9znn07xq9s6glf8lxzn2rdxvy8kwkw6czrw64ywhy8wr2"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:skip-build? #f
+ #:cargo-inputs
+ (("rust-if-addrs-sys" ,rust-if-addrs-sys-0.3)
+ ("rust-libc" ,rust-libc-0.2)
+ ("rust-winapi" ,rust-winapi-0.3)
+ ("rust-cc" ,rust-cc-1))))
+ (native-inputs (list iproute))
+ (home-page "https://github.com/messense/if-addrs")
+ (synopsis "Return interface IP addresses on POSIX and Windows systems")
+ (description "Returns the IP addresses for all network interfaces,
+on both POSIX and Microsoft Windows hosts.")
+ (license (list license:expat license:bsd-3))))
+
(define-public rust-if-addrs-sys-0.3
(package
(name "rust-if-addrs-sys")
--
2.39.1
Information forwarded
to
guix-patches <at> gnu.org
:
bug#61727
; Package
guix-patches
.
(Thu, 23 Feb 2023 08:45:01 GMT)
Full text and
rfc822 format available.
Message #20 received at 61727 <at> debbugs.gnu.org (full text, mbox):
* gnu/packages/crates-io.scm (rust-aes-ctr): New variable.
---
gnu/packages/crates-io.scm | 29 +++++++++++++++++++++++++++++
1 file changed, 29 insertions(+)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index a18247c65f..310cec113f 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -1923,6 +1923,35 @@ (define-public rust-aes-0.3
("rust-aesni" ,rust-aesni-0.6)
("rust-block-cipher-trait" ,rust-block-cipher-trait-0.6))))))
+(define-public rust-aes-ctr-0.6
+ (package
+ (name "rust-aes-ctr")
+ (version "0.6.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "aes-ctr" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "0qspjxzrclnb83501595y01dhc0km1ssrbjnwlxhcrsdwp6w6abp"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:skip-build? #f
+ #:cargo-inputs
+ (("rust-aesni" ,rust-aesni-0.10)
+ ("rust-aes-soft" ,rust-aes-soft-0.6)
+ ("rust-cipher" ,rust-cipher-0.2)
+ ("rust-ctr", rust-ctr-0.6))
+ #:cargo-development-inputs
+ (("rust-cipher" ,rust-cipher-0.2))))
+ (home-page
+ "https://github.com/RustCrypto/block-ciphers/tree/master/aes")
+ (synopsis "Pure Rust implementation of AES")
+ (description "A pure Rust implementation of the Advanced Encryption
+Standard (AES). Use the aes crate if possible, as the aes-ctr has been
+deprecated.")
+ (license (list license:expat license:asl2.0))))
+
(define-public rust-aes-gcm-0.8
(package
(name "rust-aes-gcm")
--
2.39.1
Information forwarded
to
guix-patches <at> gnu.org
:
bug#61727
; Package
guix-patches
.
(Thu, 23 Feb 2023 08:45:02 GMT)
Full text and
rfc822 format available.
Message #23 received at 61727 <at> debbugs.gnu.org (full text, mbox):
* gnu/packages/crates-io.scm (rust-libmdns): New variable.
---
gnu/packages/crates-io.scm | 34 ++++++++++++++++++++++++++++++++++
1 file changed, 34 insertions(+)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 26b607753b..a18247c65f 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -30387,6 +30387,40 @@ (define-public rust-libmimalloc-sys-0.1
allocator.")
(license license:expat)))
+(define-public rust-libmdns-0.6
+ (package
+ (name "rust-libmdns")
+ (version "0.6.3")
+ (source (origin
+ (method url-fetch)
+ (uri (crate-uri "libmdns" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "0n1ymkv5246c5yj2m70ql07z38hrz6b2l16lg3wpb98vz7mbqd59"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:skip-build? #f
+ #:cargo-inputs
+ (("rust-byteorder" ,rust-byteorder-1)
+ ("rust-futures-util" ,rust-futures-util-0.3)
+ ("rust-hostname" ,rust-hostname-0.3)
+ ("rust-if-addrs" ,rust-if-addrs-0.6)
+ ("rust-log" ,rust-log-0.4)
+ ("rust-multimap" ,rust-multimap-0.8)
+ ("rust-rand" ,rust-rand-0.8)
+ ("rust-socket2" ,rust-socket2-0.4)
+ ("rust-thiserror" ,rust-thiserror-1)
+ ("rust-tokio" ,rust-tokio-1))
+ #:cargo-development-inputs
+ (("rust-env-logger" ,rust-env-logger-0.8))))
+ (home-page "https://github.com/librespot-org/libmdns")
+ (synopsis "DNS-SD and mDNS library for building discoverable LAN services")
+ (description "A Multi-Cast DNS (RFC 6762) and DNS Service Discovery
+(RFC 6763) library. Used for resolution of hostnames to IP addresses on
+networks that do not have a local name server. Network services can be
+advertised and discovered using this mechanism.")
+ (license license:expat)))
+
(define-public rust-libnghttp2-sys-0.1
(package
(name "rust-libnghttp2-sys")
--
2.39.1
Reply sent
to
Efraim Flashner <efraim <at> flashner.co.il>
:
You have taken responsibility.
(Mon, 13 Mar 2023 13:02:02 GMT)
Full text and
rfc822 format available.
Notification sent
to
Steve George <steve <at> futurile.net>
:
bug acknowledged by developer.
(Mon, 13 Mar 2023 13:02:02 GMT)
Full text and
rfc822 format available.
Message #28 received at 61727-done <at> debbugs.gnu.org (full text, mbox):
[Message part 1 (text/plain, inline)]
Thanks for the patches. The first one was already taken care of in the
rust-team branch (which I hope to merge soon). The others I had to make
a few changes on. On some of them the cargo-inputs weren't correct, or
were split between cargo-inputs and cargo-development-inputs. I fixed
them up and pushed the patches.
Thanks! I've pushed them to the rust-team branch.
--
Efraim Flashner <efraim <at> flashner.co.il> אפרים פלשנר
GPG key = A28B F40C 3E55 1372 662D 14F7 41AA E7DC CA3D 8351
Confidentiality cannot be guaranteed on emails sent or received unencrypted
[signature.asc (application/pgp-signature, inline)]
bug archived.
Request was from
Debbugs Internal Request <help-debbugs <at> gnu.org>
to
internal_control <at> debbugs.gnu.org
.
(Tue, 11 Apr 2023 11:24:07 GMT)
Full text and
rfc822 format available.
This bug report was last modified 2 years and 32 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.