Skip to contentSkip to conversation

libtirpc : always include svc_auth_none

PATCH New Sagaert Johan 2 participants 4 messages Jun 14, 2014

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 libtirpc : always include svc_auth_none

This function is needed in rpcbind >= 0.2.1
without this patch the linking of rpcbind > 0.2.1 will fail. (based on http://www.spinics.net/lists/linux-nfs/msg27277.html )

---
 ...btirpc-0011-always-include-svc_auth_none.patch | 39 ++++++++++++++++++++++
 1 file changed, 39 insertions(+)
 create mode 100644 package/libtirpc/libtirpc-0011-always-include-svc_auth_none.patch
package/libtirpc/libtirpc-0011-always-include-svc_auth_none.patch new file +39 -0
new file mode 100644
index 0000000..66c660c
@@ -0,0 +1,39 @@
+From 02c9f3898e4189bb0ec817d492b36da6de31abf8 Mon Sep 17 00:00:00 2001
+From: Sagaert Johan <[email protected]>
+Date: Sat, 14 Jun 2014 22:02:59 +0200
+Subject: [PATCH 1/1] always include svc_auth_none
+
+(needed by rpcbind >=0.2.1 )
+
+Signed-off-by: Sagaert Johan <[email protected]>
+---
+ src/Makefile.am | 7 +++----
+ 1 file changed, 3 insertions(+), 4 deletions(-)
+
+diff --git a/src/Makefile.am b/src/Makefile.am
+index bd276cf..a6313b7 100644
+--- a/src/Makefile.am
++++ b/src/Makefile.am
+@@ -48,16 +48,15 @@ libtirpc_la_SOURCES = auth_none.c auth_unix.c authunix_prot.c bindresvport.c cln
+         getrpcport.c mt_misc.c pmap_clnt.c pmap_getmaps.c pmap_getport.c \
+         pmap_prot.c pmap_prot2.c pmap_rmt.c rpc_prot.c rpc_commondata.c \
+         rpc_callmsg.c rpc_generic.c rpc_soc.c rpcb_clnt.c rpcb_prot.c \
+-        rpcb_st_xdr.c svc.c svc_auth.c svc_dg.c svc_auth_unix.c svc_generic.c \
+-        svc_raw.c svc_run.c svc_simple.c svc_vc.c getpeereid.c
++        rpcb_st_xdr.c svc.c svc_auth.c svc_dg.c svc_auth_unix.c svc_auth_none.c \
++        svc_generic.c svc_raw.c svc_run.c svc_simple.c svc_vc.c getpeereid.c
+ 
+ ## XDR
+ libtirpc_la_SOURCES += xdr.c xdr_rec.c xdr_array.c xdr_float.c xdr_mem.c xdr_reference.c xdr_stdio.c
+ 
+ ## Secure-RPC
+ if GSS
+-    libtirpc_la_SOURCES += auth_gss.c authgss_prot.c svc_auth_gss.c \
+-		svc_auth_none.c
++    libtirpc_la_SOURCES += auth_gss.c authgss_prot.c svc_auth_gss.c
+     libtirpc_la_LDFLAGS += $(GSSGLUE_LIBS)
+     libtirpc_la_CFLAGS = -DHAVE_RPCSEC_GSS $(GSSGLUE_CFLAGS)
+ endif
+-- 
+2.0.0
+
Signature · 1 line
2.0.0
#1 lore raw

PATCH 1/1 libtirpc : always include svc_auth_none

Sagaert, All,

On 2014-06-14 22:57 +0200, Sagaert Johan spake thusly:

Quoted 3 lines

This function is needed in rpcbind >= 0.2.1
without this patch the linking of rpcbind > 0.2.1 will fail. (based on http://www.spinics.net/lists/linux-nfs/msg27277.html )

Does that fix an autobuilder issue? If so, please add:

Fixes:
http://autobuild.b.n/results/XXX/SHA1

Quoted 12 lines
---
 ...btirpc-0011-always-include-svc_auth_none.patch | 39 ++++++++++++++++++++++
 1 file changed, 39 insertions(+)
 create mode 100644 package/libtirpc/libtirpc-0011-always-include-svc_auth_none.patch
package/libtirpc/libtirpc-0011-always-include-svc_auth_none.patch new file +0 -0
new file mode 100644
index 0000000..66c660c

package/libtirpc/libtirpc-0011-always-include-svc_auth_none.patch line 8

Quoted 8 lines
package/libtirpc/libtirpc-0011-always-include-svc_auth_none.patch new file +8 -0
@@ -0,0 +1,39 @@
+From 02c9f3898e4189bb0ec817d492b36da6de31abf8 Mon Sep 17 00:00:00 2001
+From: Sagaert Johan <[email protected]>
+Date: Sat, 14 Jun 2014 22:02:59 +0200
+Subject: [PATCH 1/1] always include svc_auth_none
+
+(needed by rpcbind >=0.2.1 )
+
+Signed-off-by: Sagaert Johan <[email protected]>

Since you use the patch as-is, you should keep the authorship of the patch, and just add your own SoB line.

Regards,
Yann E. MORIN.

Quoted 38 lines
package/libtirpc/libtirpc-0011-always-include-svc_auth_none.patch new file +31 -0
+---
+ src/Makefile.am | 7 +++----
+ 1 file changed, 3 insertions(+), 4 deletions(-)
+
+diff --git a/src/Makefile.am b/src/Makefile.am
+index bd276cf..a6313b7 100644
+--- a/src/Makefile.am
++++ b/src/Makefile.am
+@@ -48,16 +48,15 @@ libtirpc_la_SOURCES = auth_none.c auth_unix.c authunix_prot.c bindresvport.c cln
+         getrpcport.c mt_misc.c pmap_clnt.c pmap_getmaps.c pmap_getport.c \
+         pmap_prot.c pmap_prot2.c pmap_rmt.c rpc_prot.c rpc_commondata.c \
+         rpc_callmsg.c rpc_generic.c rpc_soc.c rpcb_clnt.c rpcb_prot.c \
+-        rpcb_st_xdr.c svc.c svc_auth.c svc_dg.c svc_auth_unix.c svc_generic.c \
+-        svc_raw.c svc_run.c svc_simple.c svc_vc.c getpeereid.c
++        rpcb_st_xdr.c svc.c svc_auth.c svc_dg.c svc_auth_unix.c svc_auth_none.c \
++        svc_generic.c svc_raw.c svc_run.c svc_simple.c svc_vc.c getpeereid.c
+ 
+ ## XDR
+ libtirpc_la_SOURCES += xdr.c xdr_rec.c xdr_array.c xdr_float.c xdr_mem.c xdr_reference.c xdr_stdio.c
+ 
+ ## Secure-RPC
+ if GSS
+-    libtirpc_la_SOURCES += auth_gss.c authgss_prot.c svc_auth_gss.c \
+-		svc_auth_none.c
++    libtirpc_la_SOURCES += auth_gss.c authgss_prot.c svc_auth_gss.c
+     libtirpc_la_LDFLAGS += $(GSSGLUE_LIBS)
+     libtirpc_la_CFLAGS = -DHAVE_RPCSEC_GSS $(GSSGLUE_CFLAGS)
+ endif
+-- 
+2.0.0
+
Signature · 6 lines
2.0.0

_______________________________________________
buildroot mailing list
buildroot at busybox.net
http://lists.busybox.net/mailman/listinfo/buildroot
Signature · 6 lines
.-----------------.--------------------.------------------.--------------------.
|  Yann E. MORIN  | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: |
| +33 662 376 056 | Software  Designer | \ / CAMPAIGN     |  ___               |
| +33 223 225 172 `------------.-------:  X  AGAINST      |  \e/  There is no  |
| http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL    |   v   conspiracy.  |
'------------------------------^-------^------------------^--------------------'
#2 lore raw

PATCH 1/1 libtirpc : always include svc_auth_none

-----Oorspronkelijk bericht-----
Van: Yann E. MORIN [mailto:yann.morin.1998 at gmail.com] Namens Yann E. MORIN
Verzonden: zaterdag 14 juni 2014 23:04
Aan: Sagaert Johan
CC: buildroot at busybox.net
Onderwerp: Re: [Buildroot] [PATCH 1/1] libtirpc : always include svc_auth_none

Sagaert, All,

On 2014-06-14 22:57 +0200, Sagaert Johan spake thusly:

Quoted 5 lines

This function is needed in rpcbind >= 0.2.1 without this patch the linking of rpcbind > 0.2.1 will fail.
(based on http://www.spinics.net/lists/linux-nfs/msg27277.html )

Does that fix an autobuilder issue? If so, please add:

Not that I know of, its just needed before I can bump rpcbind to version 0.2.1 I have a few other patches ready to bump rpcbind to 0.2.1, reworked the patches and added a post install hook to add an rpcbind startup script to /etc/init.d

Quoted 2 lines

Fixes:
http://autobuild.b.n/results/XXX/SHA1

What do I need to look for here : http://autobuild.buildroot.net ?

Regards Johan

Quoted 17 lines
---
 ...btirpc-0011-always-include-svc_auth_none.patch | 39 
++++++++++++++++++++++
 1 file changed, 39 insertions(+)
 create mode 100644 

package/libtirpc/libtirpc-0011-always-include-svc_auth_none.patch

(quoted diff) +0 -0

a/package/libtirpc/libtirpc-0011-always-include-svc_auth_none.patch b/package/libtirpc/libtirpc-0011-always-include-svc_auth_none.patch new file mode 100644
index 0000000..66c660c

package/libtirpc/libtirpc-0011-always-include-svc_auth_none.patc new file +1 -0
+++ h

package/libtirpc/libtirpc-0011-always-include-svc_auth_none.patc line 9

Quoted 9 lines
package/libtirpc/libtirpc-0011-always-include-svc_auth_none.patc new file +9 -0
@@ -0,0 +1,39 @@
+From 02c9f3898e4189bb0ec817d492b36da6de31abf8 Mon Sep 17 00:00:00 
+2001
+From: Sagaert Johan <[email protected]>
+Date: Sat, 14 Jun 2014 22:02:59 +0200
+Subject: [PATCH 1/1] always include svc_auth_none
+
+(needed by rpcbind >=0.2.1 )
+
+Signed-off-by: Sagaert Johan <[email protected]>

Since you use the patch as-is, you should keep the authorship of the patch, and just add your own SoB line.

Regards,
Yann E. MORIN.

Quoted 35 lines
package/libtirpc/libtirpc-0011-always-include-svc_auth_none.patc new file +32 -1
+---
+ src/Makefile.am | 7 +++----
+ 1 file changed, 3 insertions(+), 4 deletions(-)
+
+diff --git a/src/Makefile.am b/src/Makefile.am index bd276cf..a6313b7 
+100644
+--- a/src/Makefile.am
++++ b/src/Makefile.am
+@@ -48,16 +48,15 @@ libtirpc_la_SOURCES = auth_none.c auth_unix.c authunix_prot.c bindresvport.c cln
+         getrpcport.c mt_misc.c pmap_clnt.c pmap_getmaps.c pmap_getport.c \
+         pmap_prot.c pmap_prot2.c pmap_rmt.c rpc_prot.c rpc_commondata.c \
+         rpc_callmsg.c rpc_generic.c rpc_soc.c rpcb_clnt.c rpcb_prot.c \
+-        rpcb_st_xdr.c svc.c svc_auth.c svc_dg.c svc_auth_unix.c svc_generic.c \
+-        svc_raw.c svc_run.c svc_simple.c svc_vc.c getpeereid.c
++        rpcb_st_xdr.c svc.c svc_auth.c svc_dg.c svc_auth_unix.c svc_auth_none.c \
++        svc_generic.c svc_raw.c svc_run.c svc_simple.c svc_vc.c 
++ getpeereid.c
+ 
+ ## XDR
+ libtirpc_la_SOURCES += xdr.c xdr_rec.c xdr_array.c xdr_float.c 
+ xdr_mem.c xdr_reference.c xdr_stdio.c
+ 
+ ## Secure-RPC
+ if GSS
+-    libtirpc_la_SOURCES += auth_gss.c authgss_prot.c svc_auth_gss.c \
+-		svc_auth_none.c
++    libtirpc_la_SOURCES += auth_gss.c authgss_prot.c svc_auth_gss.c
+     libtirpc_la_LDFLAGS += $(GSSGLUE_LIBS)
+     libtirpc_la_CFLAGS = -DHAVE_RPCSEC_GSS $(GSSGLUE_CFLAGS)  endif
+--
+2.0.0
+
--

2.0.0

Quoted 4 lines

_______________________________________________
buildroot mailing list
buildroot at busybox.net
http://lists.busybox.net/mailman/listinfo/buildroot

--
.-----------------.--------------------.------------------.--------------------.

|  Yann E. MORIN  | Real-Time Embedded | /"\ ASCII RIBBON | Erics' 
| conspiracy: |
| +33 662 376 056 | Software  Designer | \ / CAMPAIGN     |  ___               |
| +33 223 225 172 `------------.-------:  X  AGAINST      |  \e/  There is no  |
| http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL    |   v   conspiracy.  |

'------------------------------^-------^------------------^--------------------'

#3 lore raw

PATCH 1/1 libtirpc : always include svc_auth_none

Sagaert, All,

On 2014-06-14 23:27 +0200, Sagaert Johan spake thusly:

Quoted 6 lines

On 2014-06-14 22:57 +0200, Sagaert Johan spake thusly:

Quoted 5 lines

This function is needed in rpcbind >= 0.2.1 without this patch the linking of rpcbind > 0.2.1 will fail.
(based on http://www.spinics.net/lists/linux-nfs/msg27277.html )

Does that fix an autobuilder issue? If so, please add:

Quoted 8 lines

Not that I know of, its just needed before I can bump rpcbind to version 0.2.1 I have a few other patches ready to bump rpcbind to 0.2.1, reworked the patches and added a post install hook to add an rpcbind startup script to /etc/init.d

Quoted 2 lines

Fixes:
http://autobuild.b.n/results/XXX/SHA1

What do I need to look for here : http://autobuild.buildroot.net ?

http://autobuild.buildroot.net contains all the logs of the autobuilders that Thomas and Peter run continously. We get a bit over 100 builds per day, and we can quickly find build failures.

For each build, there is the .config, the end of the build-log and a few other files, so it is easy to reproduce a build error.

Since your patch looked like it was fixing such an issue, I was wondering if you had spotted a build failure you fixed with this patch. But it seems like not.

Regards,
Yann E. MORIN.

Quoted 83 lines

Regards Johan

Quoted 17 lines
---
 ...btirpc-0011-always-include-svc_auth_none.patch | 39 
++++++++++++++++++++++
 1 file changed, 39 insertions(+)
 create mode 100644 

package/libtirpc/libtirpc-0011-always-include-svc_auth_none.patch

(quoted diff) +0 -0

a/package/libtirpc/libtirpc-0011-always-include-svc_auth_none.patch b/package/libtirpc/libtirpc-0011-always-include-svc_auth_none.patch new file mode 100644
index 0000000..66c660c

package/libtirpc/libtirpc-0011-always-include-svc_auth_none.patc new file +1 -0
+++ h

package/libtirpc/libtirpc-0011-always-include-svc_auth_none.patc line 9

Quoted 9 lines
package/libtirpc/libtirpc-0011-always-include-svc_auth_none.patc new file +9 -0
@@ -0,0 +1,39 @@
+From 02c9f3898e4189bb0ec817d492b36da6de31abf8 Mon Sep 17 00:00:00 
+2001
+From: Sagaert Johan <[email protected]>
+Date: Sat, 14 Jun 2014 22:02:59 +0200
+Subject: [PATCH 1/1] always include svc_auth_none
+
+(needed by rpcbind >=0.2.1 )
+
+Signed-off-by: Sagaert Johan <[email protected]>

Since you use the patch as-is, you should keep the authorship of the patch, and just add your own SoB line.

Regards,
Yann E. MORIN.

Quoted 35 lines
package/libtirpc/libtirpc-0011-always-include-svc_auth_none.patc new file +32 -1
+---
+ src/Makefile.am | 7 +++----
+ 1 file changed, 3 insertions(+), 4 deletions(-)
+
+diff --git a/src/Makefile.am b/src/Makefile.am index bd276cf..a6313b7 
+100644
+--- a/src/Makefile.am
++++ b/src/Makefile.am
+@@ -48,16 +48,15 @@ libtirpc_la_SOURCES = auth_none.c auth_unix.c authunix_prot.c bindresvport.c cln
+         getrpcport.c mt_misc.c pmap_clnt.c pmap_getmaps.c pmap_getport.c \
+         pmap_prot.c pmap_prot2.c pmap_rmt.c rpc_prot.c rpc_commondata.c \
+         rpc_callmsg.c rpc_generic.c rpc_soc.c rpcb_clnt.c rpcb_prot.c \
+-        rpcb_st_xdr.c svc.c svc_auth.c svc_dg.c svc_auth_unix.c svc_generic.c \
+-        svc_raw.c svc_run.c svc_simple.c svc_vc.c getpeereid.c
++        rpcb_st_xdr.c svc.c svc_auth.c svc_dg.c svc_auth_unix.c svc_auth_none.c \
++        svc_generic.c svc_raw.c svc_run.c svc_simple.c svc_vc.c 
++ getpeereid.c
+ 
+ ## XDR
+ libtirpc_la_SOURCES += xdr.c xdr_rec.c xdr_array.c xdr_float.c 
+ xdr_mem.c xdr_reference.c xdr_stdio.c
+ 
+ ## Secure-RPC
+ if GSS
+-    libtirpc_la_SOURCES += auth_gss.c authgss_prot.c svc_auth_gss.c \
+-		svc_auth_none.c
++    libtirpc_la_SOURCES += auth_gss.c authgss_prot.c svc_auth_gss.c
+     libtirpc_la_LDFLAGS += $(GSSGLUE_LIBS)
+     libtirpc_la_CFLAGS = -DHAVE_RPCSEC_GSS $(GSSGLUE_CFLAGS)  endif
+--
+2.0.0
+
--

2.0.0

Quoted 4 lines

_______________________________________________
buildroot mailing list
buildroot at busybox.net
http://lists.busybox.net/mailman/listinfo/buildroot

--
.-----------------.--------------------.------------------.--------------------.

|  Yann E. MORIN  | Real-Time Embedded | /"\ ASCII RIBBON | Erics' 
| conspiracy: |
| +33 662 376 056 | Software  Designer | \ / CAMPAIGN     |  ___               |
| +33 223 225 172 `------------.-------:  X  AGAINST      |  \e/  There is no  |
| http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL    |   v   conspiracy.  |

'------------------------------^-------^------------------^--------------------'

Signature · 6 lines
.-----------------.--------------------.------------------.--------------------.
|  Yann E. MORIN  | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: |
| +33 662 376 056 | Software  Designer | \ / CAMPAIGN     |  ___               |
| +33 223 225 172 `------------.-------:  X  AGAINST      |  \e/  There is no  |
| http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL    |   v   conspiracy.  |
'------------------------------^-------^------------------^--------------------'