I'm having trouble finding the correct upstream for libndsifmap. The URL the packages point at (http://www.citi.umich.edu/projects/nfsv4/linux/) only lists 0.25
Google shows me https://github.com/Distrotech/libnfsidmap as a git repo, but last commit there is from 2013, and the mirror it claims to be from gives a 403.
I then downloaded the 0.26 tarball from http://www.linuxfromscratch.org/blfs/view/systemd/general/libnfsidmap.html, did a diff to what we have in the packages, and maybe this is the fix that was mendioned in that mailing list thread?
diff -uNr '--exclude=.git' '--exclude=debian' libnfsidmap-0.25/nss.c libnfsidmap-0.26/nss.c --- libnfsidmap-0.25/nss.c 2011-12-05 18:28:10.000000000 -0200 +++ libnfsidmap-0.26/nss.c 2014-08-13 13:42:14.000000000 -0300 @@ -135,7 +135,7 @@ char *l = NULL; int len;
- c = strchr(name, '@'); + c = strrchr(name, '@'); if (c == NULL && domain != NULL) goto out; if (c == NULL && domain == NULL) {
But there are many other changes. It would help to get the git repo for this project, wherever it is maintained now.
I'm having trouble finding the correct upstream for libndsifmap. The URL the packages point at (http:// www.citi. umich.edu/ projects/ nfsv4/linux/) only lists 0.25
Google shows me https:/ /github. com/Distrotech/ libnfsidmap as a git repo, but last commit there is from 2013, and the mirror it claims to be from gives a 403.
I then downloaded the 0.26 tarball from http:// www.linuxfromsc ratch.org/ blfs/view/ systemd/ general/ libnfsidmap. html, did a diff to what we have in the packages, and maybe this is the fix that was mendioned in that mailing list thread?
diff -uNr '--exclude=.git' '--exclude=debian' libnfsidmap- 0.25/nss. c libnfsidmap- 0.26/nss. c 0.25/nss. c 2011-12-05 18:28:10.000000000 -0200 0.26/nss. c 2014-08-13 13:42:14.000000000 -0300
--- libnfsidmap-
+++ libnfsidmap-
@@ -135,7 +135,7 @@
char *l = NULL;
int len;
- c = strchr(name, '@');
+ c = strrchr(name, '@');
if (c == NULL && domain != NULL)
goto out;
if (c == NULL && domain == NULL) {
But there are many other changes. It would help to get the git repo for this project, wherever it is maintained now.