all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* [PATCH] gnu: Add rpcbind
@ 2016-08-28 21:25 John Darrington
  2016-08-31 19:35 ` Leo Famulari
  2016-08-31 20:25 ` Ludovic Courtès
  0 siblings, 2 replies; 7+ messages in thread
From: John Darrington @ 2016-08-28 21:25 UTC (permalink / raw)
  To: guix-devel; +Cc: John Darrington

From: John Darrington <jmd@gnu.org>

* gnu/packages/linux.scm (rpcbind): New variable.
---
 gnu/packages/linux.scm | 28 ++++++++++++++++++++++++++++
 1 file changed, 28 insertions(+)

diff --git a/gnu/packages/linux.scm b/gnu/packages/linux.scm
index 2d39be1..ff6b220 100644
--- a/gnu/packages/linux.scm
+++ b/gnu/packages/linux.scm
@@ -225,6 +225,34 @@ the default nsswitch and the experimental umich_ldap.")
     (license (license:non-copyleft "file://COPYING"
                                    "See COPYING in the distribution."))))
 
+(define-public rpcbind
+  (package
+    (name "rpcbind")
+    (version "0.2.3")
+    (source
+     (origin
+      (method url-fetch)
+      (uri (string-append "mirror://sourceforge/" name "/" name "/"
+                          version "/"
+                          name "-" version ".tar.bz2"))
+      (sha256
+       (base32
+        "0yyjzv4161rqxrgjcijkrawnk55rb96ha0pav48s03l2klx855wq"))))
+    (build-system gnu-build-system)
+    (arguments
+     `(#:configure-flags
+       `("--with-systemdsystemunitdir=no")))
+    (inputs
+     `(("libtirpc" ,libtirpc)))
+    (native-inputs
+     `(("pkg-config" ,pkg-config)))
+    (home-page "http://rpcbind.sourceforge.net/")
+    (synopsis "A server to convert RPC program numbers into universal addresses")
+    (description
+     "The rpcbind utility is a server that converts RPC program numbers into 
+universal addresses.")
+    (license license:bsd-3)))
+
 (define-public nfs-utils
   (package
     (name "nfs-utils")
-- 
2.1.4

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

* Re: [PATCH] gnu: Add rpcbind
  2016-08-28 21:25 [PATCH] gnu: Add rpcbind John Darrington
@ 2016-08-31 19:35 ` Leo Famulari
  2016-08-31 20:17   ` John Darrington
  2016-08-31 20:25 ` Ludovic Courtès
  1 sibling, 1 reply; 7+ messages in thread
From: Leo Famulari @ 2016-08-31 19:35 UTC (permalink / raw)
  To: John Darrington; +Cc: guix-devel, John Darrington

On Sun, Aug 28, 2016 at 11:25:23PM +0200, John Darrington wrote:
> From: John Darrington <jmd@gnu.org>
> 
> * gnu/packages/linux.scm (rpcbind): New variable.

The patch looks good, but I think it depends on some context that we
don't have in Guix:

[...]

> +     "The rpcbind utility is a server that converts RPC program numbers into 
> +universal addresses.")
> +    (license license:bsd-3)))
> +
>  (define-public nfs-utils
>    (package
>      (name "nfs-utils")

I don't think we have nfs-utils yet :)

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

* Re: [PATCH] gnu: Add rpcbind
  2016-08-31 19:35 ` Leo Famulari
@ 2016-08-31 20:17   ` John Darrington
  0 siblings, 0 replies; 7+ messages in thread
From: John Darrington @ 2016-08-31 20:17 UTC (permalink / raw)
  To: Leo Famulari; +Cc: guix-devel, John Darrington

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

On Wed, Aug 31, 2016 at 03:35:05PM -0400, Leo Famulari wrote:
     On Sun, Aug 28, 2016 at 11:25:23PM +0200, John Darrington wrote:
     > From: John Darrington <jmd@gnu.org>
     > 
     > * gnu/packages/linux.scm (rpcbind): New variable.
     
     The patch looks good, but I think it depends on some context that we
     don't have in Guix:
     
     [...]
     
     > +     "The rpcbind utility is a server that converts RPC program numbers into 
     > +universal addresses.")
     > +    (license license:bsd-3)))
     > +
     >  (define-public nfs-utils
     >    (package
     >      (name "nfs-utils")
     
     I don't think we have nfs-utils yet :)

Right.  That's the next patch (when I get it debugged).

-- 
Avoid eavesdropping.  Send strong encryted email.
PGP Public key ID: 1024D/2DE827B3 
fingerprint = 8797 A26D 0854 2EAB 0285  A290 8A67 719C 2DE8 27B3
See http://sks-keyservers.net or any PGP keyserver for public key.


[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 181 bytes --]

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

* Re: [PATCH] gnu: Add rpcbind
  2016-08-28 21:25 [PATCH] gnu: Add rpcbind John Darrington
  2016-08-31 19:35 ` Leo Famulari
@ 2016-08-31 20:25 ` Ludovic Courtès
  2016-08-31 20:38   ` John Darrington
  1 sibling, 1 reply; 7+ messages in thread
From: Ludovic Courtès @ 2016-08-31 20:25 UTC (permalink / raw)
  To: John Darrington; +Cc: guix-devel, John Darrington

John Darrington <john@darrington.wattle.id.au> skribis:

> From: John Darrington <jmd@gnu.org>
>
> * gnu/packages/linux.scm (rpcbind): New variable.
> +    (synopsis "A server to convert RPC program numbers into universal addresses")
                  ^
If I were ‘guix lint’ I’d complain about that.  ;-)

What about: “Convert ONC RPC program numbers to addresses”?

> +    (description
> +     "The rpcbind utility is a server that converts RPC program numbers into 
> +universal addresses.")

Maybe: “The @command{rpcbind} utility is a directory server that convert
ONC RPC program numbers to IP addresses.”

Otherwise LGTM, thank you!

Ludo’.

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

* Re: [PATCH] gnu: Add rpcbind
  2016-08-31 20:25 ` Ludovic Courtès
@ 2016-08-31 20:38   ` John Darrington
  2016-09-01  4:42     ` John Darrington
  0 siblings, 1 reply; 7+ messages in thread
From: John Darrington @ 2016-08-31 20:38 UTC (permalink / raw)
  To: Ludovic Court??s; +Cc: guix-devel, John Darrington

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

On Wed, Aug 31, 2016 at 10:25:36PM +0200, Ludovic Court??s wrote:
     John Darrington <john@darrington.wattle.id.au> skribis:
     
     > +    (synopsis "A server to convert RPC program numbers into universal addresses")
                       ^
     What about: ???Convert ONC??RPC program numbers to addresses????

I have no idea what ONC is.
     
     > +    (description
     > +     "The rpcbind utility is a server that converts RPC program numbers into 
     > +universal addresses.")
     
     Maybe: ???The @command{rpcbind} utility is a directory server that convert
     ONC??RPC program numbers to IP addresses.???
     
What is a "directory server"  it doesn't serve up directories.

J'



-- 
Avoid eavesdropping.  Send strong encryted email.
PGP Public key ID: 1024D/2DE827B3 
fingerprint = 8797 A26D 0854 2EAB 0285  A290 8A67 719C 2DE8 27B3
See http://sks-keyservers.net or any PGP keyserver for public key.


[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 181 bytes --]

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

* Re: [PATCH] gnu: Add rpcbind
  2016-08-31 20:38   ` John Darrington
@ 2016-09-01  4:42     ` John Darrington
  2016-09-01 12:07       ` Ludovic Courtès
  0 siblings, 1 reply; 7+ messages in thread
From: John Darrington @ 2016-09-01  4:42 UTC (permalink / raw)
  To: John Darrington; +Cc: guix-devel

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

On Wed, Aug 31, 2016 at 10:38:00PM +0200, John Darrington wrote:
     On Wed, Aug 31, 2016 at 10:25:36PM +0200, Ludovic Court??s wrote:
          John Darrington <john@darrington.wattle.id.au> skribis:
          
          > +    (synopsis "A server to convert RPC program numbers into universal addresses")
                            ^
          What about: ???Convert ONC??RPC program numbers to addresses????
     
     I have no idea what ONC is.

Oh according to Wikipedia "Open Network Computing".  Maybe then I will move this code
out of linux.scm and into onc-rpc.scm

J'
          
-- 
Avoid eavesdropping.  Send strong encryted email.
PGP Public key ID: 1024D/2DE827B3 
fingerprint = 8797 A26D 0854 2EAB 0285  A290 8A67 719C 2DE8 27B3
See http://sks-keyservers.net or any PGP keyserver for public key.


[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 181 bytes --]

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

* Re: [PATCH] gnu: Add rpcbind
  2016-09-01  4:42     ` John Darrington
@ 2016-09-01 12:07       ` Ludovic Courtès
  0 siblings, 0 replies; 7+ messages in thread
From: Ludovic Courtès @ 2016-09-01 12:07 UTC (permalink / raw)
  To: John Darrington; +Cc: guix-devel

John Darrington <john@darrington.wattle.id.au> skribis:

> On Wed, Aug 31, 2016 at 10:38:00PM +0200, John Darrington wrote:
>      On Wed, Aug 31, 2016 at 10:25:36PM +0200, Ludovic Court??s wrote:
>           John Darrington <john@darrington.wattle.id.au> skribis:
>           
>           > +    (synopsis "A server to convert RPC program numbers into universal addresses")
>                             ^
>           What about: ???Convert ONC??RPC program numbers to addresses????
>      
>      I have no idea what ONC is.
>
> Oh according to Wikipedia "Open Network Computing".  Maybe then I will move this code
> out of linux.scm and into onc-rpc.scm

Probably (“ONC RPC” used to be known as “Sun RPC”.)

By “directory server”, I probably meant “directory service”: you lookup
a name (program number), and it gives you a number (IPC address).

Ludo’.

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

end of thread, other threads:[~2016-09-01 12:07 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-08-28 21:25 [PATCH] gnu: Add rpcbind John Darrington
2016-08-31 19:35 ` Leo Famulari
2016-08-31 20:17   ` John Darrington
2016-08-31 20:25 ` Ludovic Courtès
2016-08-31 20:38   ` John Darrington
2016-09-01  4:42     ` John Darrington
2016-09-01 12:07       ` Ludovic Courtès

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.