linux-nfs.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/7] nfs-utils: Merge libnfsidmap tree with nfs-utils UPDATED
@ 2017-09-14 14:02 Justin Mitchell
  2017-09-14 14:03 ` [PATCH 1/7] nfs-utils: const-ify the config handling functions Justin Mitchell
                   ` (7 more replies)
  0 siblings, 8 replies; 12+ messages in thread
From: Justin Mitchell @ 2017-09-14 14:02 UTC (permalink / raw)
  To: Steve Dickson; +Cc: linux-nfs, J. Bruce Fields

It was suggested that merging the trees is more desirable than splitting
the common code out into a shared library, so this patch set attempts to
merge the libnfsidmap code into nfs-utils.

The main body of the code, copyright notices, and readme are copied
across, omitting the shared conffile code, and trimming unused files
like strlcpy.c and queue.h. The build files of both are adjusted to the
new structure, and the dependent nfs-utils now link to the included
shared library instead of an external one.

The source libnfsidmap tree did include some packaging files for
debian/dkpg which have been omitted, there are no packaging materials in
nfs-utils to merge them with, and i welcome advice on what should be
done here.

Change: libnfsidmap imported as support/nfsidmap/ 

Justin Mitchell (7):
  nfs-utils: const-ify the config handling functions
  nfs-utils: Merge conf_get_str and conf_get_section
  nfs-utils: Add get_str with default value
  nfs-utils: split conffile to a separate convenience lib
  nfs-utils: Import libnfsidmap codebase
  integrate libnfsidmap code with rest of nfs-utils
  nfs-utils: cleanup warnings from merged libnfsidmap code

 configure.ac                         |   50 +-
 support/Makefile.am                  |    8 +-
 support/include/conffile.h           |   23 +-
 support/nfs/Makefile.am              |   13 +-
 support/nfs/conffile.c               |   85 +--
 support/nfs/xlog.c                   |    2 +
 support/nfsidmap/AUTHORS             |    1 +
 support/nfsidmap/COPYING             |   30 +
 support/nfsidmap/Makefile.am         |   61 ++
 support/nfsidmap/README              |  126 ++++
 support/nfsidmap/gums.c              |  788 ++++++++++++++++++++
 support/nfsidmap/idmapd.conf         |  137 ++++
 support/nfsidmap/idmapd.conf.5       |  308 ++++++++
 support/nfsidmap/libnfsidmap.c       |  712 +++++++++++++++++++
 support/nfsidmap/libnfsidmap.pc.in   |   11 +
 support/nfsidmap/libtest.c           |  160 +++++
 support/nfsidmap/nfs4_uid_to_name.3  |  174 +++++
 support/nfsidmap/nfsidmap.h          |   67 ++
 support/nfsidmap/nfsidmap_internal.h |   79 +++
 support/nfsidmap/nss.c               |  468 ++++++++++++
 support/nfsidmap/static.c            |  413 +++++++++++
 support/nfsidmap/umich_ldap.c        | 1303 ++++++++++++++++++++++++++++++++++
 utils/Makefile.am                    |    2 -
 utils/blkmapd/Makefile.am            |    2 +-
 utils/exportfs/Makefile.am           |    2 +-
 utils/gssd/Makefile.am               |    7 +-
 utils/idmapd/Makefile.am             |    4 +-
 utils/mount/Makefile.am              |    2 +-
 utils/mountd/Makefile.am             |    2 +-
 utils/nfsd/Makefile.am               |    2 +-
 utils/nfsdcltrack/Makefile.am        |    2 +-
 utils/nfsidmap/Makefile.am           |    4 +-
 utils/statd/Makefile.am              |    4 +-
 33 files changed, 4973 insertions(+), 79 deletions(-)
 create mode 100644 support/nfsidmap/AUTHORS
 create mode 100644 support/nfsidmap/COPYING
 create mode 100644 support/nfsidmap/Makefile.am
 create mode 100644 support/nfsidmap/README
 create mode 100644 support/nfsidmap/gums.c
 create mode 100644 support/nfsidmap/idmapd.conf
 create mode 100644 support/nfsidmap/idmapd.conf.5
 create mode 100644 support/nfsidmap/libnfsidmap.c
 create mode 100644 support/nfsidmap/libnfsidmap.pc.in
 create mode 100644 support/nfsidmap/libtest.c
 create mode 100644 support/nfsidmap/nfs4_uid_to_name.3
 create mode 100644 support/nfsidmap/nfsidmap.h
 create mode 100644 support/nfsidmap/nfsidmap_internal.h
 create mode 100644 support/nfsidmap/nss.c
 create mode 100644 support/nfsidmap/static.c
 create mode 100644 support/nfsidmap/umich_ldap.c

-- 
1.8.3.1




^ permalink raw reply	[flat|nested] 12+ messages in thread
* [PATCH 0/7] nfs-utils: Merge libnfsidmap tree with nfs-utils
@ 2017-09-13 13:58 Justin Mitchell
  2017-09-13 14:03 ` [PATCH 4/7] nfs-utils: split conffile to a separate convenience lib Justin Mitchell
  0 siblings, 1 reply; 12+ messages in thread
From: Justin Mitchell @ 2017-09-13 13:58 UTC (permalink / raw)
  To: Steve Dickson; +Cc: linux-nfs, Bruce Fields

It was suggested that merging the trees is more desirable than splitting
the common code out into a shared library, so this patch set attempts to
merge the libnfsidmap code into nfs-utils.

The main body of the code, copyright notices, and readme are copied
across, omitting the shared conffile code, and trimming unused files
like strlcpy.c and queue.h. The build files of both are adjusted to the
new structure, and the dependent nfs-utils now link to the included
shared library instead of an external one.

The source libnfsidmap tree did include some packaging files for
debian/dkpg which have been omitted, there are no packaging materials in
nfs-utils to merge them with, and i welcome advice on what should be
done here.



Justin Mitchell (7):
  nfs-utils: const-ify the config handling functions
  nfs-utils: Merge conf_get_str and conf_get_section
  nfs-utils: Add get_str with default value
  nfs-utils: split conffile to a separate convenience lib
  nfs-utils: Import libnfsidmap codebase
  nfs-utils: integrate libnfsidmap code with rest of nfs-utils
  nfs-utils: cleanup warnings from merged libnfsidmap code

 configure.ac                          |   50 +-
 support/include/conffile.h            |   23 +-
 support/nfs/Makefile.am               |   13 +-
 support/nfs/conffile.c                |   85 +--
 support/nfs/xlog.c                    |    2 +
 utils/Makefile.am                     |    3 +-
 utils/blkmapd/Makefile.am             |    2 +-
 utils/exportfs/Makefile.am            |    2 +-
 utils/gssd/Makefile.am                |    7 +-
 utils/idmapd/Makefile.am              |    4 +-
 utils/libnfsidmap/AUTHORS             |    1 +
 utils/libnfsidmap/COPYING             |   30 +
 utils/libnfsidmap/Makefile.am         |   61 ++
 utils/libnfsidmap/README              |  126 ++++
 utils/libnfsidmap/gums.c              |  788 ++++++++++++++++++++
 utils/libnfsidmap/idmapd.conf         |  137 ++++
 utils/libnfsidmap/idmapd.conf.5       |  308 ++++++++
 utils/libnfsidmap/libnfsidmap.c       |  712 ++++++++++++++++++
 utils/libnfsidmap/libnfsidmap.pc.in   |   11 +
 utils/libnfsidmap/libtest.c           |  160 ++++
 utils/libnfsidmap/nfs4_uid_to_name.3  |  174 +++++
 utils/libnfsidmap/nfsidmap.h          |   67 ++
 utils/libnfsidmap/nfsidmap_internal.h |   79 ++
 utils/libnfsidmap/nss.c               |  468 ++++++++++++
 utils/libnfsidmap/static.c            |  413 +++++++++++
 utils/libnfsidmap/umich_ldap.c        | 1303 +++++++++++++++++++++++++++++++++
 utils/mount/Makefile.am               |    2 +-
 utils/mountd/Makefile.am              |    2 +-
 utils/nfsd/Makefile.am                |    2 +-
 utils/nfsdcltrack/Makefile.am         |    2 +-
 utils/nfsidmap/Makefile.am            |    4 +-
 utils/statd/Makefile.am               |    4 +-
 32 files changed, 4967 insertions(+), 78 deletions(-)
 create mode 100644 utils/libnfsidmap/AUTHORS
 create mode 100644 utils/libnfsidmap/COPYING
 create mode 100644 utils/libnfsidmap/Makefile.am
 create mode 100644 utils/libnfsidmap/README
 create mode 100644 utils/libnfsidmap/gums.c
 create mode 100644 utils/libnfsidmap/idmapd.conf
 create mode 100644 utils/libnfsidmap/idmapd.conf.5
 create mode 100644 utils/libnfsidmap/libnfsidmap.c
 create mode 100644 utils/libnfsidmap/libnfsidmap.pc.in
 create mode 100644 utils/libnfsidmap/libtest.c
 create mode 100644 utils/libnfsidmap/nfs4_uid_to_name.3
 create mode 100644 utils/libnfsidmap/nfsidmap.h
 create mode 100644 utils/libnfsidmap/nfsidmap_internal.h
 create mode 100644 utils/libnfsidmap/nss.c
 create mode 100644 utils/libnfsidmap/static.c
 create mode 100644 utils/libnfsidmap/umich_ldap.c

-- 
1.8.3.1



^ permalink raw reply	[flat|nested] 12+ messages in thread

end of thread, other threads:[~2017-10-30 14:50 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-09-14 14:02 [PATCH 0/7] nfs-utils: Merge libnfsidmap tree with nfs-utils UPDATED Justin Mitchell
2017-09-14 14:03 ` [PATCH 1/7] nfs-utils: const-ify the config handling functions Justin Mitchell
2017-09-14 14:03 ` [PATCH 2/7] nfs-utils: Merge conf_get_str and conf_get_section Justin Mitchell
2017-09-14 14:04 ` [PATCH 3/7] nfs-utils: Add get_str with default value Justin Mitchell
2017-09-14 14:05 ` [PATCH 4/7] nfs-utils: split conffile to a separate convenience lib Justin Mitchell
2017-09-14 14:06 ` [PATCH 6/7] integrate libnfsidmap code with rest of nfs-utils Justin Mitchell
2017-09-14 14:07 ` [PATCH 7/7] nfs-utils: cleanup warnings from merged libnfsidmap code Justin Mitchell
2017-10-02 14:03 ` [PATCH 0/7] nfs-utils: Merge libnfsidmap tree with nfs-utils UPDATED Steve Dickson
2017-10-02 16:38   ` J. Bruce Fields
2017-10-03  8:15     ` Justin Mitchell
2017-10-30 14:49 ` Steve Dickson
  -- strict thread matches above, loose matches on Subject: below --
2017-09-13 13:58 [PATCH 0/7] nfs-utils: Merge libnfsidmap tree with nfs-utils Justin Mitchell
2017-09-13 14:03 ` [PATCH 4/7] nfs-utils: split conffile to a separate convenience lib Justin Mitchell

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).