1 --- coreutils-6.10/man/Makefile.am.orig 2008-01-11 11:34:22.000000000 +0100
2 +++ coreutils-6.10/man/Makefile.am 2008-03-02 02:14:20.884410857 +0100
4 false.1: $(common_dep) $(srcdir)/false.x ../src/false.c
5 fmt.1: $(common_dep) $(srcdir)/fmt.x ../src/fmt.c
6 fold.1: $(common_dep) $(srcdir)/fold.x ../src/fold.c
7 +getgid.1: $(common_dep) $(srcdir)/getgid.x ../src/getgid.c
8 groups.1: $(common_dep) $(srcdir)/groups.x ../src/groups.c
9 head.1: $(common_dep) $(srcdir)/head.x ../src/head.c
10 hostid.1: $(common_dep) $(srcdir)/hostid.x ../src/hostid.c
11 diff -Nur coreutils-4.5.3.orig/man/getgid.1 coreutils-4.5.3/man/getgid.1
12 --- coreutils-4.5.3.orig/man/getgid.1 Thu Jan 1 01:00:00 1970
13 +++ coreutils-4.5.3/man/getgid.1 Sun Oct 27 21:40:54 2002
15 +.TH GETGID "1" "October 2002" "getgid (coreutils) 4.5.3" "User Commands"
17 +getgid \- print ID of given group
23 +Print group ID for GROUPNAME.
25 +Without any OPTION, print usage information.
27 +Written by Artur Frysiak.
29 +Report bugs to <feedback@pld.org.pl>.
31 +Copyright \(co 1999 Artur Frysiak.
33 +This is free software; see the source for copying conditions. There is NO
34 +warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
37 --- coreutils-4.5.3.orig/man/getgid.x 2007-02-13 17:29:53.000000000 +0100
38 +++ coreutils-4.5.3.orig/man/getgid.x 2008-08-08 20:54:14.890808765 +0200
41 +getgid \- print ID of given group
43 +.\" Add any additional description here
44 diff -Nur coreutils-4.5.3.orig/man/pl/getgid.1 coreutils-4.5.3/man/pl/getgid.1
45 --- coreutils-4.5.3.orig/man/pl/getgid.1 Thu Jan 1 01:00:00 1970
46 +++ coreutils-4.5.3/man/pl/getgid.1 Sun Oct 27 21:46:48 2002
48 +.TH GETGID "1" "Pa¼dziernik 2002" "getgid (coreutils) 4.5.3" "Polecenia u¿ytkownika"
50 +getgid \- wypisuje identyfikator podanej grupy
56 +Wypisuje identyfikator grupy NAZWA-GRUPY.
58 +Bez ¿adnych opcji podaje sposób u¿ycia.
60 +Napisane przez Artura Frysiaka.
61 +.SH "ZG£ASZANIE B£ÊDÓW"
62 +B³êdy proszê zg³aszaæ (w jêz. polskim lub angielskim) pod <feedback@pld.org.pl>.
64 +Copyright \(co 1999 Artur Frysiak.
66 +This is free software; see the source for copying conditions. There is NO
67 +warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
70 --- coreutils-6.10/src/Makefile.am.orig 2008-03-02 02:12:29.418058752 +0100
71 +++ coreutils-6.10/src/Makefile.am 2008-03-02 02:14:46.205853844 +0100
73 cat cksum comm csplit cut expand fmt fold head join md5sum \
74 nl od paste pr ptx sha1sum sha224sum sha256sum sha384sum sha512sum \
75 shuf sort split sum tac tail tr tsort unexpand uniq wc \
76 - basename date dirname echo env expr factor false \
77 + basename date dirname echo env expr factor false getgid \
78 id kill logname pathchk printenv printf pwd \
79 runcon seq sleep tee \
80 test true tty whoami yes \
81 diff -Nur coreutils-4.5.3.orig/src/getgid.c coreutils-4.5.3/src/getgid.c
82 --- coreutils-4.5.3.orig/src/getgid.c Thu Jan 1 01:00:00 1970
83 +++ coreutils-4.5.3/src/getgid.c Sun Oct 27 21:52:01 2002
85 +/* getgid - print GID of given group
86 + Copyright (C) 1999 Artur Frysiak <wiget@pld-linux.org>
88 + This program is free software; you can redistribute it and/or modify
89 + it under the terms of the GNU General Public License as published by
90 + the Free Software Foundation; either version 2, or (at your option)
93 + This program is distributed in the hope that it will be useful,
94 + but WITHOUT ANY WARRANTY; without even the implied warranty of
95 + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
96 + GNU General Public License for more details.
98 + You should have received a copy of the GNU General Public License
99 + along with this program; if not, write to the Free Software Foundation,
100 + Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */
104 +#include <sys/types.h>
110 +#define PROGRAM_NAME "getgid"
112 +#define AUTHORS proper_name ("Artur Frysiak")
114 +/* The name by which this program was run. */
117 +static struct option const longopts[] =
119 + {GETOPT_HELP_OPTION_DECL},
120 + {GETOPT_VERSION_OPTION_DECL},
127 + if (status != EXIT_SUCCESS)
128 + fprintf (stderr, _("Try `%s --help' for more information.\n"),
133 +Usage: %s [OPTION]... [FILE]...\n\
137 +Prints ID of given group name.\
140 + fputs (HELP_OPTION_DESCRIPTION, stdout);
141 + fputs (VERSION_OPTION_DESCRIPTION, stdout);
142 + emit_bug_reporting_address ();
147 +int main(int argc, char **argv)
152 + initialize_main (&argc, &argv);
153 + program_name = argv[0];
155 + setlocale (LC_ALL, "");
156 + bindtextdomain (PACKAGE, LOCALEDIR);
157 + textdomain (PACKAGE);
159 + atexit (close_stdout);
161 + while ((optc = getopt_long (argc, argv, "+", longopts, NULL)) != -1) {
163 + case_GETOPT_HELP_CHAR;
164 + case_GETOPT_VERSION_CHAR (PROGRAM_NAME, AUTHORS);
166 + usage (EXIT_FAILURE);
170 + if (argc < optind + 1)
172 + error (0, 0, _("missing operand"));
173 + usage (EXIT_FAILURE);
176 + if (optind + 2 < argc)
178 + error (0, 0, _("extra operand %s"), quote (argv[optind + 2]));
179 + usage (EXIT_FAILURE);
182 + gr = getgrnam(argv[optind]);
184 + error (0, 0, _("cannot find group name %s"), quote(argv[optind]));
185 + exit(EXIT_FAILURE);
187 + printf("%lu\n", (unsigned long int) gr->gr_gid);
188 + exit(EXIT_SUCCESS);
191 --- coreutils-4.5.3/po/POTFILES.in.orig Mon Jul 1 23:26:55 2002
192 +++ coreutils-4.5.3/po/POTFILES.in Fri Nov 1 02:25:41 2002
201 --- coreutils-6.10/po/pl.po.orig 2008-03-02 02:12:29.526064907 +0100
202 +++ coreutils-6.10/po/pl.po 2008-03-02 02:15:20.139787629 +0100
203 @@ -3885,6 +3885,15 @@
204 msgid "invalid number of columns: %s"
205 msgstr "błędna liczba kolumn: %s"
214 +"\t%s nazwa-grupy\n"
216 #: src/group-list.c:68 src/id.c:313 src/setuidgid.c:186
218 msgid "failed to get groups for user %s"