annotate modules/getgroups @ 17442:f397e0c78a14

mgetgroups: relax license to LGPLv2+ getgrouplist is part of glibc and LGPLv2+; the mgetgroups module is merely an ease-of-use wrapper around this interface. There's nothing in the algorithm worth protecting by the more-restrictive GPLv3+. See also this thread. https://lists.gnu.org/archive/html/bug-gnulib/2013-05/msg00092.html * modules/getugroups (License): Change from GPLv3+. * modules/mgetgroups (License): Likewise. * modules/getgroups (License): Change from LGPLv3+. Signed-off-by: Eric Blake <eblake@redhat.com>
author Eric Blake <eblake@redhat.com>
date Wed, 03 Jul 2013 15:45:04 -0600
parents e64f06363f01
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
4110
632b6cf5063f Module description.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
1 Description:
4172
5321105558d8 Add module descriptions.
Bruno Haible <bruno@clisp.org>
parents: 4110
diff changeset
2 getgroups() function: return the supplementary group IDs of the current process.
4110
632b6cf5063f Module description.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
3
632b6cf5063f Module description.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
4 Files:
632b6cf5063f Module description.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
5 lib/getgroups.c
632b6cf5063f Module description.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
6 m4/getgroups.m4
632b6cf5063f Module description.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
7
632b6cf5063f Module description.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
8 Depends-on:
12278
0a3dcff9559e getgroups: avoid calling exit
Eric Blake <ebb9@byu.net>
parents: 7497
diff changeset
9 unistd
14683
efab6978105e Avoid unnecessary compilation units, through conditional dependencies.
Bruno Haible <bruno@clisp.org>
parents: 12283
diff changeset
10 malloc-posix [test $HAVE_GETGROUPS = 0 || test $REPLACE_GETGROUPS = 1]
efab6978105e Avoid unnecessary compilation units, through conditional dependencies.
Bruno Haible <bruno@clisp.org>
parents: 12283
diff changeset
11 stdint [test $HAVE_GETGROUPS = 0 || test $REPLACE_GETGROUPS = 1]
4110
632b6cf5063f Module description.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
12
632b6cf5063f Module description.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
13 configure.ac:
5016
7141ea4946af Change jm_ to gl_ in AC_DEFINE'd names. Update all uses.
Jim Meyering <jim@meyering.net>
parents: 4197
diff changeset
14 gl_FUNC_GETGROUPS
14962
e64f06363f01 getgroups: Move AC_LIBOBJ invocations to module description.
Bruno Haible <bruno@clisp.org>
parents: 14693
diff changeset
15 if test $HAVE_GETGROUPS = 0 || test $REPLACE_GETGROUPS = 1; then
e64f06363f01 getgroups: Move AC_LIBOBJ invocations to module description.
Bruno Haible <bruno@clisp.org>
parents: 14693
diff changeset
16 AC_LIBOBJ([getgroups])
e64f06363f01 getgroups: Move AC_LIBOBJ invocations to module description.
Bruno Haible <bruno@clisp.org>
parents: 14693
diff changeset
17 fi
12279
6a41b8f5f874 getgroups, getugroups: provide stubs for mingw
Eric Blake <ebb9@byu.net>
parents: 12278
diff changeset
18 gl_UNISTD_MODULE_INDICATOR([getgroups])
4110
632b6cf5063f Module description.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
19
632b6cf5063f Module description.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
20 Makefile.am:
632b6cf5063f Module description.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
21
632b6cf5063f Module description.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
22 Include:
632b6cf5063f Module description.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
23 <unistd.h>
632b6cf5063f Module description.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
24
5251
42b53a22aee5 Add a license tag to every module.
Bruno Haible <bruno@clisp.org>
parents: 5016
diff changeset
25 License:
17442
f397e0c78a14 mgetgroups: relax license to LGPLv2+
Eric Blake <eblake@redhat.com>
parents: 14962
diff changeset
26 LGPLv2+
5251
42b53a22aee5 Add a license tag to every module.
Bruno Haible <bruno@clisp.org>
parents: 5016
diff changeset
27
4197
3ccc6d0d52bb Add a Maintainer.
Bruno Haible <bruno@clisp.org>
parents: 4172
diff changeset
28 Maintainer:
12278
0a3dcff9559e getgroups: avoid calling exit
Eric Blake <ebb9@byu.net>
parents: 7497
diff changeset
29 Jim Meyering, Eric Blake