X-Git-Url: https://git.tld-linux.org/?p=packages%2Fcoreutils.git;a=blobdiff_plain;f=coreutils-getgid.patch;h=79c21d5f84f212689d430542a7884d834b92ee03;hp=b8c836cb0378913ae321bd83e72172ea3bb80847;hb=HEAD;hpb=d2e32af9cdc46552739eeb23420793cd13511132 diff --git a/coreutils-getgid.patch b/coreutils-getgid.patch index b8c836c..d73e737 100644 --- a/coreutils-getgid.patch +++ b/coreutils-getgid.patch @@ -1,29 +1,29 @@ -diff -urN coreutils-8.16.orig//README coreutils-8.16/README ---- coreutils-8.16.orig//README 2012-03-24 18:22:13.000000000 +0000 -+++ coreutils-8.16/README 2012-04-18 09:07:17.417662632 +0000 -@@ -9,7 +9,7 @@ +diff -urNp -x '*.orig' coreutils-8.32.org/README coreutils-8.32/README +--- coreutils-8.32.org/README 2020-01-01 15:13:12.000000000 +0100 ++++ coreutils-8.32/README 2021-03-21 00:28:40.313899186 +0100 +@@ -9,7 +9,7 @@ The programs that can be built with this - [ arch base64 basename cat chcon chgrp chmod chown chroot cksum comm cp - csplit cut date dd df dir dircolors dirname du echo env expand expr -- factor false fmt fold groups head hostid hostname id install join kill -+ factor false fmt fold getgid groups head hostid hostname id install join kill - link ln logname ls md5sum mkdir mkfifo mknod mktemp mv nice nl nohup - nproc od paste pathchk pinky pr printenv printf ptx pwd readlink realpath - rm rmdir runcon seq sha1sum sha224sum sha256sum sha384sum sha512sum shred -diff -urN coreutils-8.16.orig//man/Makefile.am coreutils-8.16/man/Makefile.am ---- coreutils-8.16.orig//man/Makefile.am 2012-03-26 09:50:41.000000000 +0000 -+++ coreutils-8.16/man/Makefile.am 2012-04-18 09:07:17.410850573 +0000 -@@ -60,6 +60,7 @@ - false.1: $(common_dep) $(srcdir)/false.x ../src/false.c - fmt.1: $(common_dep) $(srcdir)/fmt.x ../src/fmt.c - fold.1: $(common_dep) $(srcdir)/fold.x ../src/fold.c -+getgid.1: $(common_dep) $(srcdir)/getgid.x ../src/getgid.c - groups.1: $(common_dep) $(srcdir)/groups.x ../src/groups.c - head.1: $(common_dep) $(srcdir)/head.x ../src/head.c - hostid.1: $(common_dep) $(srcdir)/hostid.x ../src/hostid.c -diff -urN coreutils-8.16.orig//man/getgid.1 coreutils-8.16/man/getgid.1 ---- coreutils-8.16.orig//man/getgid.1 1970-01-01 00:00:00.000000000 +0000 -+++ coreutils-8.16/man/getgid.1 2012-04-18 09:07:17.410850573 +0000 + [ arch b2sum base32 base64 basename basenc cat chcon chgrp chmod chown + chroot cksum comm coreutils cp csplit cut date dd df dir dircolors dirname +- du echo env expand expr factor false fmt fold groups head hostid hostname ++ du echo env expand expr factor false fmt fold getgid groups head hostid hostname + id install join kill link ln logname ls md5sum mkdir mkfifo mknod mktemp + mv nice nl nohup nproc numfmt od paste pathchk pinky pr printenv printf ptx + pwd readlink realpath rm rmdir runcon seq sha1sum sha224sum sha256sum +diff -urNp -x '*.orig' coreutils-8.32.org/build-aux/gen-lists-of-programs.sh coreutils-8.32/build-aux/gen-lists-of-programs.sh +--- coreutils-8.32.org/build-aux/gen-lists-of-programs.sh 2018-12-31 13:19:23.000000000 +0100 ++++ coreutils-8.32/build-aux/gen-lists-of-programs.sh 2021-03-21 00:28:40.314899186 +0100 +@@ -71,6 +71,7 @@ normal_progs=' + false + fmt + fold ++ getgid + ginstall + groups + head +diff -urNp -x '*.orig' coreutils-8.32.org/man/getgid.1 coreutils-8.32/man/getgid.1 +--- coreutils-8.32.org/man/getgid.1 1970-01-01 01:00:00.000000000 +0100 ++++ coreutils-8.32/man/getgid.1 2021-03-21 00:28:40.314899186 +0100 @@ -0,0 +1,22 @@ +.TH GETGID "1" "October 2002" "getgid (coreutils) 4.5.3" "User Commands" +.SH NAME @@ -47,44 +47,44 @@ diff -urN coreutils-8.16.orig//man/getgid.1 coreutils-8.16/man/getgid.1 +warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. +.SH "SEE ALSO" +.BR id (1) -diff -urN coreutils-8.16.orig//man/getgid.x coreutils-8.16/man/getgid.x ---- coreutils-8.16.orig//man/getgid.x 1970-01-01 00:00:00.000000000 +0000 -+++ coreutils-8.16/man/getgid.x 2012-04-18 09:07:17.410850573 +0000 +diff -urNp -x '*.orig' coreutils-8.32.org/man/getgid.x coreutils-8.32/man/getgid.x +--- coreutils-8.32.org/man/getgid.x 1970-01-01 01:00:00.000000000 +0100 ++++ coreutils-8.32/man/getgid.x 2021-03-21 00:28:40.314899186 +0100 @@ -0,0 +1,4 @@ +[NAME] +getgid \- print ID of given group +[DESCRIPTION] +.\" Add any additional description here -diff -urN coreutils-8.16.orig//man/pl/getgid.1 coreutils-8.16/man/pl/getgid.1 ---- coreutils-8.16.orig//man/pl/getgid.1 1970-01-01 00:00:00.000000000 +0000 -+++ coreutils-8.16/man/pl/getgid.1 2012-04-18 09:07:17.410850573 +0000 +diff -urNp -x '*.orig' coreutils-8.32.org/man/pl/getgid.1 coreutils-8.32/man/pl/getgid.1 +--- coreutils-8.32.org/man/pl/getgid.1 1970-01-01 01:00:00.000000000 +0100 ++++ coreutils-8.32/man/pl/getgid.1 2021-03-21 00:28:40.314899186 +0100 @@ -0,0 +1,22 @@ -+.TH GETGID "1" "Pa¼dziernik 2002" "getgid (coreutils) 4.5.3" "Polecenia u¿ytkownika" ++.TH GETGID "1" "Pa?dziernik 2002" "getgid (coreutils) 4.5.3" "Polecenia u?ytkownika" +.SH NAZWA +getgid \- wypisuje identyfikator podanej grupy -+.SH SK£ADNIA ++.SH SK?ADNIA +.B getgid +\fINAZWA-GRUPY\fR +.SH OPIS +.PP +Wypisuje identyfikator grupy NAZWA-GRUPY. +.PP -+Bez ¿adnych opcji podaje sposób u¿ycia. ++Bez ?adnych opcji podaje spos?b u?ycia. +.SH AUTOR +Napisane przez Artura Frysiaka. -+.SH "ZG£ASZANIE B£ÊDÓW" -+B³êdy proszê zg³aszaæ (w jêz. polskim lub angielskim) pod . ++.SH "ZG?ASZANIE B??D?W" ++B??dy prosz? zg?asza? (w j?z. polskim lub angielskim) pod . +.SH COPYRIGHT +Copyright \(co 1999 Artur Frysiak. +.br +This is free software; see the source for copying conditions. There is NO +warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. -+.SH ZOBACZ TAK¯E ++.SH ZOBACZ TAK?E +.BR id (1) -diff -urN coreutils-8.16.orig//po/POTFILES.in coreutils-8.16/po/POTFILES.in ---- coreutils-8.16.orig//po/POTFILES.in 2012-03-24 18:22:13.000000000 +0000 -+++ coreutils-8.16/po/POTFILES.in 2012-04-18 09:07:17.412850440 +0000 -@@ -66,6 +66,7 @@ +diff -urNp -x '*.orig' coreutils-8.32.org/po/POTFILES.in coreutils-8.32/po/POTFILES.in +--- coreutils-8.32.org/po/POTFILES.in 2020-01-01 15:13:12.000000000 +0100 ++++ coreutils-8.32/po/POTFILES.in 2021-03-21 00:28:40.314899186 +0100 +@@ -66,6 +66,7 @@ src/false.c src/find-mount-point.c src/fmt.c src/fold.c @@ -92,12 +92,12 @@ diff -urN coreutils-8.16.orig//po/POTFILES.in coreutils-8.16/po/POTFILES.in src/getlimits.c src/group-list.c src/groups.c -diff -urN coreutils-8.16.orig//po/pl.po coreutils-8.16/po/pl.po ---- coreutils-8.16.orig//po/pl.po 2012-03-26 12:08:45.000000000 +0000 -+++ coreutils-8.16/po/pl.po 2012-04-18 09:07:17.417662632 +0000 -@@ -4109,6 +4109,15 @@ - " \\0NNN znak o kodzie ASCII wynoszącym NNN (ósemkowo, 1 do 3 cyfr)\n" - " \\xHH znak o kodzie ASCII wynoszącym HH (szestnastkowo, 1 do 2 cyfr)\n" +diff -urNp -x '*.orig' coreutils-8.32.org/po/pl.po coreutils-8.32/po/pl.po +--- coreutils-8.32.org/po/pl.po 2021-03-21 00:28:39.617899186 +0100 ++++ coreutils-8.32/po/pl.po 2021-03-21 00:28:40.316899186 +0100 +@@ -4199,6 +4199,15 @@ msgstr "przy czytaniu nazw na wejściu p + msgid "invalid zero-length file name" + msgstr "błędna nazwa pliku o zerowej długości" +#: src/getgid.c:37 +#, c-format @@ -109,22 +109,11 @@ diff -urN coreutils-8.16.orig//po/pl.po coreutils-8.16/po/pl.po +"\t%s nazwa-grupy\n" + #. This is a proper name. See the gettext manual, section Names. - #: src/env.c:32 src/printenv.c:45 src/whoami.c:35 - msgid "Richard Mlynarik" -diff -urN coreutils-8.16.orig//src/Makefile.am coreutils-8.16/src/Makefile.am ---- coreutils-8.16.orig//src/Makefile.am 2012-03-24 18:22:13.000000000 +0000 -+++ coreutils-8.16/src/Makefile.am 2012-04-18 09:07:17.411850524 +0000 -@@ -69,6 +69,7 @@ - false \ - fmt \ - fold \ -+ getgid \ - ginstall \ - groups \ - head \ -diff -urN coreutils-8.16.orig//src/getgid.c coreutils-8.16/src/getgid.c ---- coreutils-8.16.orig//src/getgid.c 1970-01-01 00:00:00.000000000 +0000 -+++ coreutils-8.16/src/getgid.c 2012-04-18 09:44:16.000000000 +0000 + #: src/echo.c:28 + msgid "Brian Fox" +diff -urNp -x '*.orig' coreutils-8.32.org/src/getgid.c coreutils-8.32/src/getgid.c +--- coreutils-8.32.org/src/getgid.c 1970-01-01 01:00:00.000000000 +0100 ++++ coreutils-8.32/src/getgid.c 2021-03-21 00:28:40.317899186 +0100 @@ -0,0 +1,88 @@ +/* getgid - print GID of given group + Copyright (C) 1999 Artur Frysiak @@ -172,7 +161,7 @@ diff -urN coreutils-8.16.orig//src/getgid.c coreutils-8.16/src/getgid.c +"), stdout); + fputs (HELP_OPTION_DESCRIPTION, stdout); + fputs (VERSION_OPTION_DESCRIPTION, stdout); -+ emit_ancillary_info (); ++ emit_ancillary_info (PROGRAM_NAME); + } + exit (status); +} @@ -214,3 +203,14 @@ diff -urN coreutils-8.16.orig//src/getgid.c coreutils-8.16/src/getgid.c + printf("%lu\n", (unsigned long int) gr->gr_gid); + exit(EXIT_SUCCESS); +} +diff -urNp -x '*.orig' coreutils-8.32.org/src/local.mk coreutils-8.32/src/local.mk +--- coreutils-8.32.org/src/local.mk 2020-02-25 13:54:28.000000000 +0100 ++++ coreutils-8.32/src/local.mk 2021-03-21 00:28:40.317899186 +0100 +@@ -130,6 +130,7 @@ src_factor_LDADD = $(LDADD) + src_false_LDADD = $(LDADD) + src_fmt_LDADD = $(LDADD) + src_fold_LDADD = $(LDADD) ++src_getgid_LDADD = $(LDADD) + src_getlimits_LDADD = $(LDADD) + src_ginstall_LDADD = $(LDADD) + src_groups_LDADD = $(LDADD)