]> git.ipfire.org Git - ipfire-3.x.git/commitdiff
libnfsidmap: Drop package
authorStefan Schantl <stefan.schantl@ipfire.org>
Tue, 21 Feb 2023 14:45:06 +0000 (15:45 +0100)
committerMichael Tremer <michael.tremer@ipfire.org>
Wed, 22 Feb 2023 09:43:38 +0000 (09:43 +0000)
This package now will be provided by
the nfs-utils package.

Signed-off-by: Stefan Schantl <stefan.schantl@ipfire.org>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
libnfsidmap/libnfsidmap.nm [deleted file]
libnfsidmap/patches/libnfsidmap-0.26-rc1.patch [deleted file]

diff --git a/libnfsidmap/libnfsidmap.nm b/libnfsidmap/libnfsidmap.nm
deleted file mode 100644 (file)
index 7cd1bd1..0000000
+++ /dev/null
@@ -1,58 +0,0 @@
-###############################################################################
-# IPFire.org    - An Open Source Firewall Solution                            #
-# Copyright (C) - IPFire Development Team <info@ipfire.org>                   #
-###############################################################################
-
-name       = libnfsidmap
-version    = 0.25
-release    = 2
-
-groups     = System/Libraries
-url        = http://www.citi.umich.edu/projects/nfsv4/linux/
-license    = BSD
-summary    = Library to help mapping id's, mainly for NFSv4.
-
-description
-       libnfsidmap provides functions to map between NFSv4 names
-       (which are of the form user@domain) and local uid's and gid's.
-end
-
-source_dl  = http://www.citi.umich.edu/projects/nfsv4/linux/libnfsidmap/
-
-build
-       requires
-               autoconf
-               automake
-               gcc-c++
-               openldap-devel
-       end
-
-       configure_options += \
-               --with-pluginpath=%{libdir}/%{name} \
-               --disable-static
-
-       prepare_cmds
-               ./autogen.sh
-       end
-
-       install_cmds
-               mkdir -pv %{BUILDROOT}%{sysconfdir}
-               install -m 644 idmapd.conf %{BUILDROOT}%{sysconfdir}
-       end
-end
-
-packages
-       package %{name}
-               configfiles
-                       %{sysconfdir}/idmapd.conf
-               end
-       end
-
-       package %{name}-devel
-               template DEVEL
-       end
-
-       package %{name}-debuginfo
-               template DEBUGINFO
-       end
-end
diff --git a/libnfsidmap/patches/libnfsidmap-0.26-rc1.patch b/libnfsidmap/patches/libnfsidmap-0.26-rc1.patch
deleted file mode 100644 (file)
index e01e3f4..0000000
+++ /dev/null
@@ -1,77 +0,0 @@
-commit ee3099dbc71c6190cc612e923506c7d634b4b3c9
-Author: Ville Skyttä <ville.skytta@iki.fi>
-Date:   Tue Jun 19 10:10:40 2012 -0400
-
-    idmapd.conf.5: Fixed some syntax typos
-    
-    Signed-off-by: Steve Dickson <steved@redhat.com>
-
-diff --git a/idmapd.conf.5 b/idmapd.conf.5
-index 9c7f1ae..7b9e762 100644
---- a/idmapd.conf.5
-+++ b/idmapd.conf.5
-@@ -234,7 +234,6 @@ Number of seconds before timing out an LDAP request
- .\" -------------------------------------------------------------------
- .\"
- .SH EXAMPLES
--."
- An example
- .I /etc/idmapd.conf
- file:
-@@ -266,7 +265,7 @@ johndoe@OTHER.DOMAIN.ORG = johnny
- LDAP_server = ldap.domain.org
- LDAP_base = dc=org,dc=domain
--.fo
-+.fi
- .\"
- .\" -------------------------------------------------------------------
- .\" Additional sections
-@@ -275,11 +274,11 @@ LDAP_base = dc=org,dc=domain
- .SH SEE ALSO
- .BR idmapd (8)
- .BR svcgssd (8)
--.".SH COMPATIBILITY
--.".SH STANDARDS
--.".SH ACKNOWLEDGEMENTS
--.".SH AUTHORS
--.".SH HISTORY
-+.\".SH COMPATIBILITY
-+.\".SH STANDARDS
-+.\".SH ACKNOWLEDGEMENTS
-+.\".SH AUTHORS
-+.\".SH HISTORY
- .SH BUGS
- Report bugs to <nfsv4@linux-nfs.org>
--.".SH CAVEATS
-+.\".SH CAVEATS
-
-commit f079113f90366f1965b9fd3b0fdbce77415f37a7
-Author: Juno Krahn <Juno.Krahn@gmail.com>
-Date:   Mon Mar 19 08:33:58 2012 -0400
-
-    idmapd: logging of Local-Realms only lists the last realm
-    
-    The list of local realms can be logged with a massage like the following:
-       rpc.idmapd: libnfsidmap: Realms list: 'EXAMPLE2.COM'
-    Instead of printing a list of realms, only the last realm in the list is shown.
-    
-    https://bugzilla.redhat.com/show_bug.cgi?id=804152
-    
-    Signed-off-by: Steve Dickson <steved@redhat.com>
-
-diff --git a/libnfsidmap.c b/libnfsidmap.c
-index 57bb6c3..641d766 100644
---- a/libnfsidmap.c
-+++ b/libnfsidmap.c
-@@ -285,8 +285,9 @@ int nfs4_init_name_mapping(char *conffile)
-                       }
-                       buf = malloc(siz);
-                       if (buf) {
-+                              *buf = 0;
-                               TAILQ_FOREACH(r, &local_realms->fields, link) {
--                                      sprintf(buf, "'%s' ", r->field);
-+                                      sprintf(buf+strlen(buf), "'%s' ", r->field);
-                               }
-                               IDMAP_LOG(1, ("libnfsidmap: Realms list: %s", buf));
-                               free(buf);