Package: librpcsecgss / 0.19-7

Metadata

Package Version Patches format
librpcsecgss 0.19-7 3.0 (quilt)

Patch series

view the series file
Patch File delta Description
01 535587 kbsd.patch | (download)

src/clnt_tcp.c | 2 1 + 1 - 0 !
src/clnt_udp.c | 2 1 + 1 - 0 !
2 files changed, 2 insertions(+), 2 deletions(-)

 librpcsecgss: ftbfs on gnu/kfreebsd

Fix FTBFS on GNU/kFreeBSD by using getpid() (rather than arc4random())
not only if __linux__ is defined, but also if __GLIBC__ is defined, in
both src/clnt_{tcp,udp}.c

Please find attached a trivial patch to fix the FTBFS on GNU/kFreeBSD:
| /bin/sh ../libtool --tag=CC   --mode=link i486-kfreebsd-gnu-gcc  -g -O2 -version-info 3:0:0 -Wl,-z,defs -o librpcsecgss.la -rpath /usr/lib librpcsecgss_la-auth_gss.lo librpcsecgss_la-authgss_prot.lo librpcsecgss_la-svc.lo librpcsecgss_la-svc_run.lo librpcsecgss_la-svc_auth.lo librpcsecgss_la-svc_auth_none.lo librpcsecgss_la-svc_auth_unix.lo librpcsecgss_la-svc_auth_gss.lo librpcsecgss_la-svc_raw.lo librpcsecgss_la-svc_simple.lo librpcsecgss_la-svc_tcp.lo librpcsecgss_la-svc_udp.lo librpcsecgss_la-rpc_commondata.lo librpcsecgss_la-clnt_generic.lo librpcsecgss_la-clnt_perror.lo librpcsecgss_la-clnt_raw.lo librpcsecgss_la-clnt_simple.lo librpcsecgss_la-clnt_tcp.lo librpcsecgss_la-clnt_udp.lo -lgssglue -ldl
| i486-kfreebsd-gnu-gcc -shared  .libs/librpcsecgss_la-auth_gss.o .libs/librpcsecgss_la-authgss_prot.o .libs/librpcsecgss_la-svc.o .libs/librpcsecgss_la-svc_run.o .libs/librpcsecgss_la-svc_auth.o .libs/librpcsecgss_la-svc_auth_none.o .libs/librpcsecgss_la-svc_auth_unix.o .libs/librpcsecgss_la-svc_auth_gss.o .libs/librpcsecgss_la-svc_raw.o .libs/librpcsecgss_la-svc_simple.o .libs/librpcsecgss_la-svc_tcp.o .libs/librpcsecgss_la-svc_udp.o .libs/librpcsecgss_la-rpc_commondata.o .libs/librpcsecgss_la-clnt_generic.o .libs/librpcsecgss_la-clnt_perror.o .libs/librpcsecgss_la-clnt_raw.o .libs/librpcsecgss_la-clnt_simple.o .libs/librpcsecgss_la-clnt_tcp.o .libs/librpcsecgss_la-clnt_udp.o  -lgssglue -ldl  -Wl,-z -Wl,defs -Wl,-soname -Wl,librpcsecgss.so.3 -o .libs/librpcsecgss.so.3.0.0
| .libs/librpcsecgss_la-clnt_tcp.o: In function `rpcsecgss_clnttcp_create':
| /build/buildd-librpcsecgss_0.18-2-kfreebsd-i386-Una4UY/librpcsecgss-0.18/src/clnt_tcp.c:232: undefined reference to `arc4random'
| .libs/librpcsecgss_la-clnt_udp.o: In function `rpcsecgss_clntudp_bufcreate':
| /build/buildd-librpcsecgss_0.18-2-kfreebsd-i386-Una4UY/librpcsecgss-0.18/src/clnt_udp.c:160: undefined reference to `arc4random'
| collect2: ld returned 1 exit status

See e.g. https://buildd.debian.org/fetch.cgi?pkg=librpcsecgss&arch=kfreebsd-i386&ver=0.18-2&stamp=1246620313&file=log&as=raw

Signed-off-by: Anibal Monsalve Salazar <anibal@debian.org>

02 be more verbose.patch | (download)

src/auth_gss.c | 7 6 + 1 - 0 !
1 file changed, 6 insertions(+), 1 deletion(-)

 [patch] librpcsecgss: be more verbose if context creation fails

the following little patch adds more verbosity to librpcsecgss if context
creation fails. In some cases, rpc.gssd just silently fails to create GSS
context and debuging on server is needed. With this patch, the error codes
are logged.

Signed-off-by: Lukas Hejtmanek <xhejtman@ics.muni.cz>
Signed-off-by: Kevin Coffman <kwc@citi.umich.edu>

03 729177 hurd i386.patch | (download)

src/svc_tcp.c | 4 2 + 2 - 0 !
1 file changed, 2 insertions(+), 2 deletions(-)

 bug#729177: librpcsecgss: ftbfs on hurd-i386

librpcsecgss currently FTBFS on hurd-i386, attached is a patch to fix it.

Signed-off-by: Anibal Monsalve Salazar <anibal@debian.org>