From mboxrd@z Thu Jan 1 00:00:00 1970 From: Stefan Schantl To: development@lists.ipfire.org Subject: [PATCH 3/3] libnfsidmap: Drop package Date: Tue, 21 Feb 2023 15:45:52 +0100 Message-ID: <20230221144552.857087-3-stefan.schantl@ipfire.org> In-Reply-To: <20230221144552.857087-1-stefan.schantl@ipfire.org> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="===============5892904080357695438==" List-Id: --===============5892904080357695438== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable This package now will be provided by the nfs-utils package. Signed-off-by: Stefan Schantl --- libnfsidmap/libnfsidmap.nm | 58 -------------- .../patches/libnfsidmap-0.26-rc1.patch | 77 ------------------- 2 files changed, 135 deletions(-) delete mode 100644 libnfsidmap/libnfsidmap.nm delete mode 100644 libnfsidmap/patches/libnfsidmap-0.26-rc1.patch diff --git a/libnfsidmap/libnfsidmap.nm b/libnfsidmap/libnfsidmap.nm deleted file mode 100644 index 7cd1bd102..000000000 --- a/libnfsidmap/libnfsidmap.nm +++ /dev/null @@ -1,58 +0,0 @@ -############################################################################= ### -# IPFire.org - An Open Source Firewall Solution = # -# Copyright (C) - IPFire Development Team = # -############################################################################= ### - -name =3D libnfsidmap -version =3D 0.25 -release =3D 2 - -groups =3D System/Libraries -url =3D http://www.citi.umich.edu/projects/nfsv4/linux/ -license =3D BSD -summary =3D Library to help mapping id's, mainly for NFSv4. - -description - libnfsidmap provides functions to map between NFSv4 names - (which are of the form user(a)domain) and local uid's and gid's. -end - -source_dl =3D http://www.citi.umich.edu/projects/nfsv4/linux/libnfsidmap/ - -build - requires - autoconf - automake - gcc-c++ - openldap-devel - end - - configure_options +=3D \ - --with-pluginpath=3D%{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/pat= ches/libnfsidmap-0.26-rc1.patch deleted file mode 100644 index e01e3f441..000000000 --- a/libnfsidmap/patches/libnfsidmap-0.26-rc1.patch +++ /dev/null @@ -1,77 +0,0 @@ -commit ee3099dbc71c6190cc612e923506c7d634b4b3c9 -Author: Ville Skytt=EF=BF=BD -Date: Tue Jun 19 10:10:40 2012 -0400 - - idmapd.conf.5: Fixed some syntax typos - =20 - Signed-off-by: Steve Dickson - -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(a)OTHER.DOMAIN.ORG =3D johnny - LDAP_server =3D ldap.domain.org - LDAP_base =3D dc=3Dorg,dc=3Ddomain -=20 --.fo -+.fi - .\" - .\" ------------------------------------------------------------------- - .\" Additional sections -@@ -275,11 +274,11 @@ LDAP_base =3D dc=3Dorg,dc=3Ddomain - .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 --.".SH CAVEATS -+.\".SH CAVEATS - -commit f079113f90366f1965b9fd3b0fdbce77415f37a7 -Author: Juno Krahn -Date: Mon Mar 19 08:33:58 2012 -0400 - - idmapd: logging of Local-Realms only lists the last realm - =20 - 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. - =20 - https://bugzilla.redhat.com/show_bug.cgi?id=3D804152 - =20 - Signed-off-by: Steve Dickson - -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 =3D malloc(siz); - if (buf) { -+ *buf =3D 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); --=20 2.30.2 --===============5892904080357695438==--