all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* [bug#54563] [PATCH] gnu: Add wsdd.
@ 2022-03-25 11:46 Simon Streit
  2022-03-26 10:17 ` Maxime Devos
                   ` (2 more replies)
  0 siblings, 3 replies; 7+ messages in thread
From: Simon Streit @ 2022-03-25 11:46 UTC (permalink / raw)
  To: 54563; +Cc: Simon Streit

* gnu/packages/samba.scm (wsdd): New variable.
---
 gnu/packages/samba.scm | 26 ++++++++++++++++++++++++++
 1 file changed, 26 insertions(+)

diff --git a/gnu/packages/samba.scm b/gnu/packages/samba.scm
index b775ad905c..21a5fe8617 100644
--- a/gnu/packages/samba.scm
+++ b/gnu/packages/samba.scm
@@ -500,3 +500,29 @@ (define-public ppp
     ;; chat is public domain.
     (license (list bsd-3 bsd-4 gpl2+ public-domain))))
 
+(define-public wsdd
+  (package
+    (name "wsdd")
+    (version "0.7.0")
+    (source
+     (origin
+       (method git-fetch)
+       (uri (git-reference (url "https://github.com/christgau/wsdd")
+                           (commit (string-append "v" version))))
+       (file-name (git-file-name name version))
+       (sha256
+        (base32 "04an2w6hamnai668ag4vq8x0i09fsg2jrayb4a7ar0x6bn837k7m"))))
+    (build-system copy-build-system)
+    (inputs
+     `(("python" ,python)))
+    (arguments
+     '(#:install-plan
+       '(("src/wsdd.py" "bin/wsdd")
+         ("man/wsdd.1" "share/man/man1/"))))
+    (home-page "https://github.com/christgau/wsdd")
+    (synopsis "A Web Service Discovery host daemon")
+    (description "This daemon allows (Samba) hosts to be found by Web
+Service Dicovery Clients.  It also implements the client side of the
+discovery protocol which allows to search for devices implementing
+WSD.")
+    (license expat)))
-- 
2.34.0





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

* [bug#54563] [PATCH] gnu: Add wsdd.
  2022-03-25 11:46 [bug#54563] [PATCH] gnu: Add wsdd Simon Streit
@ 2022-03-26 10:17 ` Maxime Devos
  2022-04-04 18:52   ` Simon Streit
  2022-03-26 10:19 ` Maxime Devos
  2023-09-01 23:37 ` bug#54563: " Vagrant Cascadian
  2 siblings, 1 reply; 7+ messages in thread
From: Maxime Devos @ 2022-03-26 10:17 UTC (permalink / raw)
  To: Simon Streit, 54563

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

Simon Streit schreef op vr 25-03-2022 om 12:46 [+0100]:
> +    (arguments
> +     '(#:install-plan
> +       '(("src/wsdd.py" "bin/wsdd")
> +         ("man/wsdd.1" "share/man/man1/"))))

There are a few tests in 'tests'.  Can they be run?

[-- Attachment #2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 260 bytes --]

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

* [bug#54563] [PATCH] gnu: Add wsdd.
  2022-03-25 11:46 [bug#54563] [PATCH] gnu: Add wsdd Simon Streit
  2022-03-26 10:17 ` Maxime Devos
@ 2022-03-26 10:19 ` Maxime Devos
  2022-04-04 18:48   ` Simon Streit
  2023-09-01 23:37 ` bug#54563: " Vagrant Cascadian
  2 siblings, 1 reply; 7+ messages in thread
From: Maxime Devos @ 2022-03-26 10:19 UTC (permalink / raw)
  To: Simon Streit, 54563

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

Simon Streit schreef op vr 25-03-2022 om 12:46 [+0100]:
> +       (uri (git-reference (url "https://github.com/christgau/wsdd")
> +                           (commit (string-append "v" version))))

This uses NetlinkAddressMonitor, which is Linux-specific.  Could
'supported-systems' be set to only Linux targets (and not, say,
GNU/Hurd)?

[-- Attachment #2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 260 bytes --]

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

* [bug#54563] [PATCH] gnu: Add wsdd.
  2022-03-26 10:19 ` Maxime Devos
@ 2022-04-04 18:48   ` Simon Streit
  2022-04-04 21:58     ` Maxime Devos
  0 siblings, 1 reply; 7+ messages in thread
From: Simon Streit @ 2022-04-04 18:48 UTC (permalink / raw)
  To: Maxime Devos; +Cc: 54563

Hello Maxime,

Maxime Devos <maximedevos@telenet.be> writes:

> Simon Streit schreef op vr 25-03-2022 om 12:46 [+0100]:
>> +       (uri (git-reference (url "https://github.com/christgau/wsdd")
>> +                           (commit (string-append "v" version))))
>
> This uses NetlinkAddressMonitor, which is Linux-specific.  Could
> 'supported-systems' be set to only Linux targets (and not, say,
> GNU/Hurd)?

I just figured you are meaning that WSDD only supports Linux specific
systems?  It appears so after reading the source code.  I can't tell if
it will work in GNU/Hurd though.  Should the package declaration be
modified to reflect this limitation? 




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

* [bug#54563] [PATCH] gnu: Add wsdd.
  2022-03-26 10:17 ` Maxime Devos
@ 2022-04-04 18:52   ` Simon Streit
  0 siblings, 0 replies; 7+ messages in thread
From: Simon Streit @ 2022-04-04 18:52 UTC (permalink / raw)
  To: Maxime Devos; +Cc: 54563

Maxime Devos <maximedevos@telenet.be> writes:

> Simon Streit schreef op vr 25-03-2022 om 12:46 [+0100]:
>> +    (arguments
>> +     '(#:install-plan
>> +       '(("src/wsdd.py" "bin/wsdd")
>> +         ("man/wsdd.1" "share/man/man1/"))))
>
> There are a few tests in 'tests'.  Can they be run?

They don't appear to be proper test files running unit tests or anything
close.  One monitors the address on all network interfaces.  The other
crashes.  The top comment in these files state though that they are “not
really a test case, but a PoC for getting notified about changes in
network addresses.”

I don't think it will be necessary to have then run while packaging.




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

* [bug#54563] [PATCH] gnu: Add wsdd.
  2022-04-04 18:48   ` Simon Streit
@ 2022-04-04 21:58     ` Maxime Devos
  0 siblings, 0 replies; 7+ messages in thread
From: Maxime Devos @ 2022-04-04 21:58 UTC (permalink / raw)
  To: Simon Streit; +Cc: 54563

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

Simon Streit schreef op ma 04-04-2022 om 20:48 [+0200]:
> Hello Maxime,
> 
> Maxime Devos <maximedevos@telenet.be> writes:
> 
> > Simon Streit schreef op vr 25-03-2022 om 12:46 [+0100]:
> > > +       (uri (git-reference (url "https://github.com/christgau/wsdd")
> > > +                           (commit (string-append "v" version))))
> > 
> > This uses NetlinkAddressMonitor, which is Linux-specific.  Could
> > 'supported-systems' be set to only Linux targets (and not, say,
> > GNU/Hurd)?
> 
> I just figured you are meaning that WSDD only supports Linux specific
> systems?  It appears so after reading the source code.  I can't tell if
> it will work in GNU/Hurd though.  Should the package declaration be
> modified to reflect this limitation? 

netlink is IIUC (currently) a Linux-specific interface.  Though
<https://github.com/christgau/wsdd/issues/80> mentions FreeBSD so maybe
it's ok after all.  As such, I would optimistically assume it works on
the Hurd as well.

Greetings,
Maxime.

[-- Attachment #2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 260 bytes --]

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

* bug#54563: [PATCH] gnu: Add wsdd.
  2022-03-25 11:46 [bug#54563] [PATCH] gnu: Add wsdd Simon Streit
  2022-03-26 10:17 ` Maxime Devos
  2022-03-26 10:19 ` Maxime Devos
@ 2023-09-01 23:37 ` Vagrant Cascadian
  2 siblings, 0 replies; 7+ messages in thread
From: Vagrant Cascadian @ 2023-09-01 23:37 UTC (permalink / raw)
  To: Simon Streit, 54563-done

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

On 2022-03-25, Simon Streit wrote:
> * gnu/packages/samba.scm (wsdd): New variable.

This was merged as:

14359befa92d2d54af0e584724610d8a31f5ac63 gnu: Add wsdd.

And updated to a newer version in:

79c2af7394a8a541fa2ed0126272025b09aa05cd gnu: wsdd: Update to 0.7.1.

Marking as done.

live well,
  vagrant

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 227 bytes --]

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

end of thread, other threads:[~2023-09-01 23:38 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-03-25 11:46 [bug#54563] [PATCH] gnu: Add wsdd Simon Streit
2022-03-26 10:17 ` Maxime Devos
2022-04-04 18:52   ` Simon Streit
2022-03-26 10:19 ` Maxime Devos
2022-04-04 18:48   ` Simon Streit
2022-04-04 21:58     ` Maxime Devos
2023-09-01 23:37 ` bug#54563: " Vagrant Cascadian

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/guix.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.