From 9f0f195fe951dcaadc6c25a8c4529e6f2d38ba47 Mon Sep 17 00:00:00 2001 From: Jakub Bogusz Date: Wed, 11 Jul 2018 19:08:28 +0200 Subject: [PATCH] - updated to 2.2.53 - updated pl.po-update patch - removed outdated miscfix,lt,LDFLAGS patches: buildsystem has been modernized --- acl-LDFLAGS.patch | 12 -- acl-lt.patch | 16 -- acl-miscfix.patch | 15 -- acl-pl.po-update.patch | 424 +++++++---------------------------------- acl.spec | 85 +++------ 5 files changed, 97 insertions(+), 455 deletions(-) delete mode 100644 acl-LDFLAGS.patch delete mode 100644 acl-lt.patch delete mode 100644 acl-miscfix.patch diff --git a/acl-LDFLAGS.patch b/acl-LDFLAGS.patch deleted file mode 100644 index 41f6017..0000000 --- a/acl-LDFLAGS.patch +++ /dev/null @@ -1,12 +0,0 @@ -diff -Nur acl-2.2.39/libacl/Makefile acl-2.2.39.LDFLAGS/libacl/Makefile ---- acl-2.2.39/libacl/Makefile 2006-06-20 08:51:25.000000000 +0200 -+++ acl-2.2.39.LDFLAGS/libacl/Makefile 2006-08-02 03:21:21.000000000 +0200 -@@ -4,7 +4,7 @@ - - TOPDIR = .. - --LTLDFLAGS += -Wl,--version-script,$(TOPDIR)/exports -+LTLDFLAGS += -Wl,--version-script,$(TOPDIR)/exports $(LLDFLAGS) - include $(TOPDIR)/include/builddefs - - LTLIBRARY = libacl.la diff --git a/acl-lt.patch b/acl-lt.patch deleted file mode 100644 index d7dae8a..0000000 --- a/acl-lt.patch +++ /dev/null @@ -1,16 +0,0 @@ ---- acl-2.2.28/include/buildmacros.orig 2004-10-15 15:05:14 +0000 -+++ acl-2.2.28/include/buildmacros 2005-05-24 22:09:15 +0000 -@@ -69,10 +69,10 @@ - LTOBJECTS = $(OBJECTS:.o=.lo) - LTVERSION = $(LT_CURRENT):$(LT_REVISION):$(LT_AGE) - --LTLINK = $(LIBTOOL) --mode=link $(CC) -+LTLINK = $(LIBTOOL) --mode=link --tag=CC $(CCF) - LTEXEC = $(LIBTOOL) --mode=execute - LTINSTALL = $(LIBTOOL) --mode=install $(INSTALL) --LTCOMPILE = $(LIBTOOL) --mode=compile $(CCF) -+LTCOMPILE = $(LIBTOOL) --mode=compile --tag=CC $(CCF) - - ifeq ($(ENABLE_SHARED),yes) - LTLDFLAGS += -rpath $(PKG_LIB_DIR) - diff --git a/acl-miscfix.patch b/acl-miscfix.patch deleted file mode 100644 index 951c852..0000000 --- a/acl-miscfix.patch +++ /dev/null @@ -1,15 +0,0 @@ ---- acl-2.2.13/m4/manual_format.m4.orig 2003-06-25 03:51:27.000000000 +0200 -+++ acl-2.2.13/m4/manual_format.m4 2003-08-08 21:14:48.000000000 +0200 -@@ -6,12 +6,5 @@ - # - AC_DEFUN([AC_MANUAL_FORMAT], - [ have_zipped_manpages=false -- for d in ${prefix}/share/man ${prefix}/man ; do -- if test -f $d/man1/man.1.gz -- then -- have_zipped_manpages=true -- break -- fi -- done - AC_SUBST(have_zipped_manpages) - ]) diff --git a/acl-pl.po-update.patch b/acl-pl.po-update.patch index c0a80bd..aae48f0 100644 --- a/acl-pl.po-update.patch +++ b/acl-pl.po-update.patch @@ -1,360 +1,58 @@ ---- acl-2.2.51/po/pl.po.orig 2010-01-23 00:00:28.000000000 +0100 -+++ acl-2.2.51/po/pl.po 2011-04-21 18:09:36.582567808 +0200 +--- acl-2.2.53/po/pl.po.orig 2018-06-19 05:27:20.000000000 +0200 ++++ acl-2.2.53/po/pl.po 2018-07-10 22:00:12.180986374 +0200 @@ -1,6 +1,6 @@ # Polish translation for acl. # Copyright (C) 2004 Free Software Foundation, Inc. -# Jakub Bogusz , 2004. -+# Jakub Bogusz , 2004-2011. ++# Jakub Bogusz , 2004-2018. # # This program is free software: you can redistribute it and/or modify it # under the terms of the GNU General Public License as published by -@@ -17,161 +17,168 @@ +@@ -17,10 +17,10 @@ # msgid "" msgstr "" -"Project-Id-Version: acl-2.2.22\n" --"POT-Creation-Date: 2004-01-28 22:30+0100\n" ++"Project-Id-Version: acl-2.2.53\n" + "Report-Msgid-Bugs-To: acl-devel@nongnu.org\n" + "POT-Creation-Date: 2014-01-10 09:16-0500\n" -"PO-Revision-Date: 2004-01-28 22:31+0100\n" -+"Project-Id-Version: acl-2.2.51\n" -+"Report-Msgid-Bugs-To: \n" -+"POT-Creation-Date: 2011-04-19 10:54-0700\n" -+"PO-Revision-Date: 2011-04-21 18:01+0200\n" ++"PO-Revision-Date: 2018-07-10 21:52+0200\n" "Last-Translator: Jakub Bogusz \n" "Language-Team: Polish \n" -+"Language: pl\n" - "MIME-Version: 1.0\n" - "Content-Type: text/plain; charset=ISO-8859-2\n" - "Content-Transfer-Encoding: 8bit\n" + "Language: pl\n" +@@ -80,7 +80,7 @@ + " -d, --default wy¶wietlenie domy¶lnej listy kontroli dostêpu\n" --#: ../chacl/chacl.c:59 -+#: ../chacl/chacl.c:46 - #, c-format - msgid "Usage:\n" - msgstr "Sk³adnia:\n" - --#: ../chacl/chacl.c:60 -+#: ../chacl/chacl.c:47 - #, c-format - msgid "\t%s acl pathname...\n" - msgstr "\t%s acl ¶cie¿ka...\n" - --#: ../chacl/chacl.c:61 -+#: ../chacl/chacl.c:48 - #, c-format - msgid "\t%s -b acl dacl pathname...\n" - msgstr "\t%s -b acl dacl ¶cie¿ka...\n" - --#: ../chacl/chacl.c:62 -+#: ../chacl/chacl.c:49 - #, c-format - msgid "\t%s -d dacl pathname...\n" - msgstr "\t%s -d dacl ¶cie¿ka...\n" - --#: ../chacl/chacl.c:63 -+#: ../chacl/chacl.c:50 - #, c-format - msgid "\t%s -R pathname...\n" - msgstr "\t%s -R ¶cie¿ka...\n" - --#: ../chacl/chacl.c:64 -+#: ../chacl/chacl.c:51 - #, c-format - msgid "\t%s -D pathname...\n" - msgstr "\t%s -D ¶cie¿ka...\n" - --#: ../chacl/chacl.c:65 -+#: ../chacl/chacl.c:52 - #, c-format - msgid "\t%s -B pathname...\n" - msgstr "\t%s -B ¶cie¿ka...\n" - --#: ../chacl/chacl.c:66 -+#: ../chacl/chacl.c:53 - #, c-format - msgid "\t%s -l pathname...\t[not IRIX compatible]\n" - msgstr "\t%s -l ¶cie¿ka...\t[niekompatybilne z IRIX-em]\n" - --#: ../chacl/chacl.c:68 -+#: ../chacl/chacl.c:55 - #, c-format - msgid "\t%s -r pathname...\t[not IRIX compatible]\n" - msgstr "\t%s -r ¶cie¿ka...\t[niekompatybilne z IRIX-em]\n" - --#: ../chacl/chacl.c:159 -+#: ../chacl/chacl.c:146 - #, c-format - msgid "%s: error removing access acl on \"%s\": %s\n" - msgstr "%s: b³±d przy usuwaniu dostêpowego acl dla \"%s\": %s\n" - --#: ../chacl/chacl.c:166 -+#: ../chacl/chacl.c:153 - #, c-format - msgid "%s: error removing default acl on \"%s\": %s\n" - msgstr "%s: b³±d przy usuwaniu domy¶lnego acl dla \"%s\": %s\n" - --#: ../chacl/chacl.c:185 ../chacl/chacl.c:204 -+#: ../chacl/chacl.c:172 ../chacl/chacl.c:191 - #, c-format - msgid "%s: access ACL '%s': %s at entry %d\n" - msgstr "%s: dostêpowe ACL '%s': %s na pozycji %d\n" - --#: ../chacl/chacl.c:272 -+#: ../chacl/chacl.c:259 - #, c-format - msgid "%s: cannot get access ACL on '%s': %s\n" - msgstr "%s: nie mo¿na odczytaæ dostêpowego ACL dla '%s': %s\n" - --#: ../chacl/chacl.c:278 -+#: ../chacl/chacl.c:265 - #, c-format - msgid "%s: cannot get default ACL on '%s': %s\n" - msgstr "%s: nie mo¿na odczytaæ domy¶lnego ACL dla '%s': %s\n" - --#: ../chacl/chacl.c:284 -+#: ../chacl/chacl.c:271 - #, c-format - msgid "%s: cannot get access ACL text on '%s': %s\n" - msgstr "%s: nie mo¿na odczytaæ dostêpowego tekstu ACL dla '%s': %s\n" - --#: ../chacl/chacl.c:291 -+#: ../chacl/chacl.c:278 - #, c-format - msgid "%s: cannot get default ACL text on '%s': %s\n" - msgstr "%s: nie mo¿na odczytaæ domy¶lnego tekstu ACL dla '%s': %s\n" - --#: ../chacl/chacl.c:317 -+#: ../chacl/chacl.c:304 - #, c-format - msgid "%s: cannot set access acl on \"%s\": %s\n" - msgstr "%s: nie mo¿na ustawiæ dostêpowego acl dla \"%s\": %s\n" - --#: ../chacl/chacl.c:323 -+#: ../chacl/chacl.c:310 - #, c-format - msgid "%s: cannot set default acl on \"%s\": %s\n" - msgstr "%s: nie mo¿na ustawiæ domy¶lnego acl dla \"%s\": %s\n" - --#: ../chacl/chacl.c:341 -+#: ../chacl/chacl.c:328 - #, c-format - msgid "%s: opendir failed: %s\n" - msgstr "%s: opendir nie powiod³o siê: %s\n" - --#: ../chacl/chacl.c:355 -+#: ../chacl/chacl.c:342 - #, c-format - msgid "%s: malloc failed: %s\n" - msgstr "%s: malloc nie powiód³ siê: %s\n" - --#: ../setfacl/do_set.c:404 -+#: ../setfacl/do_set.c:409 - #, c-format - msgid "%s: %s: Malformed access ACL `%s': %s at entry %d\n" - msgstr "%s: %s: ¬le sformu³owane dostêpowe ACL `%s': %s na pozycji %d\n" - --#: ../setfacl/do_set.c:431 -+#: ../setfacl/do_set.c:436 - #, c-format - msgid "%s: %s: Malformed default ACL `%s': %s at entry %d\n" - msgstr "%s: %s: ¬le sformu³owane domy¶lne ACL `%s': %s na pozycji %d\n" - --#: ../setfacl/do_set.c:494 -+#: ../setfacl/do_set.c:500 - #, c-format - msgid "%s: %s: Only directories can have default ACLs\n" - msgstr "%s: %s: Tylko katalogi mog± mieæ domy¶lne ACL-e\n" - --#: ../setfacl/setfacl.c:151 -+#: ../setfacl/setfacl.c:148 - #, c-format - msgid "%s: %s: No filename found in line %d, aborting\n" - msgstr "%s: %s: Nie znaleziono nazwy pliku w linii %d, przerwanie pracy\n" - --#: ../setfacl/setfacl.c:156 -+#: ../setfacl/setfacl.c:153 - #, c-format - msgid "%s: No filename found in line %d of standard input, aborting\n" - msgstr "%s: Nie znaleziono nazwy pliku w linii %d standardowego wej¶cia, przerwanie pracy\n" - --#: ../setfacl/setfacl.c:177 -+#: ../setfacl/setfacl.c:174 - #, c-format - msgid "%s: %s: %s in line %d\n" - msgstr "%s: %s: %s w linii %d\n" - --#: ../setfacl/setfacl.c:201 -+#: ../setfacl/setfacl.c:206 - #, c-format - msgid "%s: %s: Cannot change owner/group: %s\n" - msgstr "%s: %s: Nie mo¿na zmieniæ w³a¶ciciela/grupy: %s\n" - --#: ../setfacl/setfacl.c:241 -+#: ../setfacl/setfacl.c:225 + #: tools/getfacl.c:571 +-#, fuzzy, c-format +#, c-format -+msgid "%s: %s: Cannot change mode: %s\n" -+msgstr "%s: %s: Nie mo¿na zmieniæ uprawnieñ: %s\n" -+ -+#: ../setfacl/setfacl.c:267 - #, c-format - msgid "%s %s -- set file access control lists\n" - msgstr "%s %s -- ustawianie list kontroli dostêpu do plików (ACL-i)\n" - --#: ../setfacl/setfacl.c:243 ../setfacl/setfacl.c:701 -+#: ../setfacl/setfacl.c:269 ../setfacl/setfacl.c:655 - #, c-format - msgid "Usage: %s %s\n" - msgstr "Sk³adnia: %s %s\n" - --#: ../setfacl/setfacl.c:246 -+#: ../setfacl/setfacl.c:272 - #, c-format msgid "" - " -m, --modify=acl modify the current ACL(s) of file(s)\n" -@@ -188,7 +195,7 @@ - " -b, --remove-all usuniêcie wszystkich rozszerzonych pozycji ACL\n" - " -k, --remove-default usuniêcie domy¶lnego ACL\n" - --#: ../setfacl/setfacl.c:255 -+#: ../setfacl/setfacl.c:281 - #, c-format - msgid "" - " --set=acl set the ACL of file(s), replacing the current ACL\n" -@@ -199,7 +206,7 @@ - " --set-file=plik odczytanie z pliku pozycji ACL do ustawienia\n" - " --mask przeliczenie maski efektywnych uprawnieñ\n" - --#: ../setfacl/setfacl.c:261 -+#: ../setfacl/setfacl.c:287 - #, c-format - msgid "" - " -n, --no-mask don't recalculate the effective rights mask\n" -@@ -208,7 +215,7 @@ - " -n, --no-mask nie przeliczanie maski efektywnych uprawnieñ\n" - " -d, --default wykonywanie operacji na domy¶lnym ACL\n" - --#: ../setfacl/setfacl.c:266 -+#: ../setfacl/setfacl.c:292 - #, c-format - msgid "" - " -R, --recursive recurse into subdirectories\n" -@@ -225,96 +232,96 @@ - " --restore=plik odtworzenie ACL-i (odwrotno¶æ `getfacl -R')\n" - " --test tryb testowy (ACL-e nie s± modyfikowane)\n" - --#: ../setfacl/setfacl.c:274 ../getfacl/getfacl.c:558 -+#: ../setfacl/setfacl.c:300 ../getfacl/getfacl.c:587 - #, c-format - msgid "" --" --version print version and exit\n" --" --help this help text\n" -+" -v, --version print version and exit\n" -+" -h, --help this help text\n" - msgstr "" --" --version wy¶wietlenie informacji o wersji i zakoñczenie\n" --" --help ten tekst pomocy\n" -+" -v, --version wy¶wietlenie informacji o wersji i zakoñczenie\n" -+" -h, --help ten tekst pomocy\n" - --#: ../setfacl/setfacl.c:493 -+#: ../setfacl/setfacl.c:317 ../getfacl/getfacl.c:729 -+#, c-format -+msgid "%s: Standard input: %s\n" -+msgstr "%s: Standardowe wej¶cie: %s\n" -+ -+#: ../setfacl/setfacl.c:453 - #, c-format - msgid "%s: Option -%c incomplete\n" - msgstr "%s: Opcja -%c niekompletna\n" - --#: ../setfacl/setfacl.c:498 -+#: ../setfacl/setfacl.c:458 - #, c-format - msgid "%s: Option -%c: %s near character %d\n" - msgstr "%s: Opcja -%c: %s obok znaku %d\n" - --#: ../setfacl/setfacl.c:584 -+#: ../setfacl/setfacl.c:534 - #, c-format - msgid "%s: %s in line %d of file %s\n" - msgstr "%s: %s w linii %d pliku %s\n" - --#: ../setfacl/setfacl.c:592 -+#: ../setfacl/setfacl.c:542 - #, c-format - msgid "%s: %s in line %d of standard input\n" - msgstr "%s: %s w linii %d standardowego wej¶cia\n" - --#: ../setfacl/setfacl.c:703 ../getfacl/getfacl.c:774 -+#: ../setfacl/setfacl.c:657 ../getfacl/getfacl.c:744 - #, c-format - msgid "Try `%s --help' for more information.\n" - msgstr "`%s --help' wy¶wietli wiêcej informacji.\n" - --#: ../getfacl/getfacl.c:462 -+#: ../getfacl/getfacl.c:489 - #, c-format - msgid "%s: Removing leading '/' from absolute path names\n" - msgstr "%s: Usuniêcie wiod±cego '/' ze ¶cie¿ek bezwzglêdnych\n" - --#: ../getfacl/getfacl.c:531 -+#: ../getfacl/getfacl.c:560 - #, c-format - msgid "%s %s -- get file access control lists\n" - msgstr "%s %s -- odczyt list kontroli dostêpu do plików (ACL-i)\n" - --#: ../getfacl/getfacl.c:533 ../getfacl/getfacl.c:772 -+#: ../getfacl/getfacl.c:562 ../getfacl/getfacl.c:742 - #, c-format - msgid "Usage: %s [-%s] file ...\n" - msgstr "Sk³adnia: %s [-%s] plik ...\n" - --#: ../getfacl/getfacl.c:539 -+#: ../getfacl/getfacl.c:568 - #, c-format - msgid " -d, --default display the default access control list\n" - msgstr " -d, --default wy¶wietlenie domy¶lnej listy kontroli dostêpu\n" - --#: ../getfacl/getfacl.c:543 -+#: ../getfacl/getfacl.c:572 - #, c-format - msgid "" --" --access display the file access control list only\n" -+" -a, --access display the file access control list only\n" + " -a, --access display the file access control list only\n" " -d, --default display the default access control list only\n" --" --omit-header do not display the comment header\n" --" --all-effective print all effective rights\n" --" --no-effective print no effective rights\n" --" --skip-base skip files that only have the base entries\n" -+" -c, --omit-header do not display the comment header\n" -+" -e, --all-effective print all effective rights\n" -+" -E, --no-effective print no effective rights\n" -+" -s, --skip-base skip files that only have the base entries\n" - " -R, --recursive recurse into subdirectories\n" - " -L, --logical logical walk, follow symbolic links\n" --" -P --physical physical walk, do not follow symbolic links\n" --" --tabular use tabular output format\n" --" --numeric print numeric user/group identifiers\n" --" --absolute-names don't strip leading '/' in pathnames\n" -+" -P, --physical physical walk, do not follow symbolic links\n" -+" -t, --tabular use tabular output format\n" -+" -n, --numeric print numeric user/group identifiers\n" -+" -p, --absolute-names don't strip leading '/' in pathnames\n" +@@ -95,33 +95,33 @@ + " -n, --numeric print numeric user/group identifiers\n" + " -p, --absolute-names don't strip leading '/' in pathnames\n" msgstr "" --" --access wy¶wietlenie tylko listy kontroli dostêpu do pliku\n" -+" -a, --access wy¶wietlenie tylko listy kontroli dostêpu do pliku\n" - " -d, --default wy¶wietlenie tylko domy¶lnej listy kontroli dostêpu\n" +-" --access wy¶wietlenie tylko listy kontroli dostêpu do " ++" -a, --access wy¶wietlenie tylko listy kontroli dostêpu do " + "pliku\n" + " -d, --default wy¶wietlenie tylko domy¶lnej listy kontroli " + "dostêpu\n" -" --omit-header nie wy¶wietlanie nag³ówka z komentarzem\n" -" --all-effective wy¶wietlanie wszystkich efektywnych uprawnieñ\n" -" --no-effective nie wy¶wietlanie efektywnych uprawnieñ\n" -" --skip-base pominiêcie plików z sam± podstawow± pozycj±\n" -+" -c, --omit-header nie wy¶wietlanie nag³ówka z komentarzem\n" ++" -c, --omit-header niewy¶wietlanie nag³ówka z komentarzem\n" +" -e, --all-effective wy¶wietlanie wszystkich efektywnych uprawnieñ\n" -+" -E, --no-effective nie wy¶wietlanie efektywnych uprawnieñ\n" ++" -E, --no-effective niewy¶wietlanie efektywnych uprawnieñ\n" +" -s, --skip-base pominiêcie plików z sam± podstawow± pozycj±\n" " -R, --recursive rekurencyjne wchodzenie do katalogów\n" " -L, --logical przechodzenie logiczne, pod±¿anie za dowi±zaniami\n" " symbolicznymi\n" - " -P, --physical przechodzenie fizyczne, nie pod±¿anie za dowi±zaniami\n" +-" -P, --physical przechodzenie fizyczne, nie pod±¿anie za " ++" -P, --physical przechodzenie fizyczne, niepod±¿anie za " + "dowi±zaniami\n" " symbolicznymi\n" -" --tabular wyj¶cie w formacie tabeli\n" -" --numeric wy¶wietlanie liczbowych identyfikatorów\n" @@ -362,35 +60,49 @@ +" -n, --numeric wy¶wietlanie liczbowych identyfikatorów\n" " u¿ytkowników/grup\n" -" --absolute-names nie usuwanie wiod±cego '/' z nazw plików\n" -- --#: ../getfacl/getfacl.c:760 --#, c-format --msgid "%s: Standard input: %s\n" --msgstr "%s: Standardowe wej¶cie: %s\n" -+" -p, --absolute-names nie usuwanie wiod±cego '/' z nazw plików\n" ++" -p, --absolute-names nieusuwanie wiod±cego '/' z nazw plików\n" - #: ../libacl/acl_error.c:34 - msgid "Multiple entries of same type" -@@ -332,16 +339,16 @@ - msgid "Invalid entry type" - msgstr "Nieprawid³owy typ pozycji" + #: tools/getfacl.c:586 tools/setfacl.c:300 +-#, fuzzy, c-format ++#, c-format + msgid "" + " -v, --version print version and exit\n" + " -h, --help this help text\n" + msgstr "" +-" --version wy¶wietlenie informacji o wersji i zakoñczenie\n" +-" --help ten tekst pomocy\n" ++" -v, --version wy¶wietlenie informacji o wersji i zakoñczenie\n" ++" -h, --help ten tekst pomocy\n" --#: ../libacl/perm_copy_fd.c:123 ../libacl/perm_copy_fd.c:135 --#: ../libacl/perm_copy_fd.c:197 ../libacl/perm_copy_file.c:123 --#: ../libacl/perm_copy_file.c:138 ../libacl/perm_copy_file.c:149 --#: ../libacl/perm_copy_file.c:234 -+#: ../libacl/perm_copy_fd.c:124 ../libacl/perm_copy_fd.c:136 -+#: ../libacl/perm_copy_fd.c:198 ../libacl/perm_copy_file.c:124 -+#: ../libacl/perm_copy_file.c:139 ../libacl/perm_copy_file.c:150 -+#: ../libacl/perm_copy_file.c:235 + #: tools/getfacl.c:728 tools/setfacl.c:317 #, c-format - msgid "setting permissions for %s" - msgstr "ustawianie uprawnieñ dla %s" +@@ -171,9 +171,9 @@ + msgstr "%s: %s: Nie mo¿na zmieniæ w³a¶ciciela/grupy: %s\n" + + #: tools/setfacl.c:225 +-#, fuzzy, c-format ++#, c-format + msgid "%s: %s: Cannot change mode: %s\n" +-msgstr "%s: %s: Nie mo¿na zmieniæ w³a¶ciciela/grupy: %s\n" ++msgstr "%s: %s: Nie mo¿na zmieniæ uprawnieñ: %s\n" --#: ../libacl/perm_copy_fd.c:185 ../libacl/perm_copy_file.c:198 --#: ../libacl/perm_copy_file.c:223 -+#: ../libacl/perm_copy_fd.c:186 ../libacl/perm_copy_file.c:199 -+#: ../libacl/perm_copy_file.c:224 + #: tools/setfacl.c:267 #, c-format - msgid "preserving permissions for %s" - msgstr "zachowywanie uprawnieñ dla %s" +@@ -219,7 +219,7 @@ + " -n, --no-mask don't recalculate the effective rights mask\n" + " -d, --default operations apply to the default ACL\n" + msgstr "" +-" -n, --no-mask nie przeliczanie maski efektywnych uprawnieñ\n" ++" -n, --no-mask nieprzeliczanie maski efektywnych uprawnieñ\n" + " -d, --default wykonywanie operacji na domy¶lnym ACL\n" + + #: tools/setfacl.c:292 +@@ -234,7 +234,7 @@ + " -R, --recursive rekurencyjne wchodzenie do katalogów\n" + " -L, --logical przechodzenie logiczne, pod±¿anie za dowi±zaniami\n" + " symbolicznymi\n" +-" -P, --physical przechodzenie fizyczne, nie pod±¿anie za " ++" -P, --physical przechodzenie fizyczne, niepod±¿anie za " + "dowi±zaniami\n" + " symbolicznymi\n" + " --restore=plik odtworzenie ACL-i (odwrotno¶æ `getfacl -R')\n" diff --git a/acl.spec b/acl.spec index 338d0ec..edf53be 100644 --- a/acl.spec +++ b/acl.spec @@ -1,30 +1,26 @@ Summary: Command and library for manipulating access control lists Summary(pl.UTF-8): Polecenie i biblioteka do manipulacji listami kontroli dostępu (ACL) Name: acl -Version: 2.2.52 -Release: 2 +Version: 2.2.53 +Release: 1 License: LGPL v2+ (library), GPL v2 (utilities) Group: Applications/System Source0: http://git.savannah.gnu.org/cgit/acl.git/snapshot/%{name}-%{version}.tar.gz -# Source0-md5: 8d720d6bf9ef41d8995f145637f48d57 -Patch0: %{name}-miscfix.patch -Patch1: %{name}-lt.patch -Patch2: %{name}-LDFLAGS.patch -Patch3: %{name}-pl.po-update.patch +# Source0-md5: 0c72e292be55ac60e890c00e6c561af8 +Patch0: %{name}-pl.po-update.patch URL: http://savannah.nongnu.org/projects/acl/ BuildRequires: attr-devel >= 2.4.16-3 -BuildRequires: autoconf -BuildRequires: automake -BuildRequires: gettext-tools -BuildRequires: libtool +BuildRequires: autoconf >= 2.50 +BuildRequires: automake >= 1:1.11 +BuildRequires: gettext-tools >= 0.18.2 +BuildRequires: libtool >= 2:2 BuildRequires: rpmbuild(macros) >= 1.402 +BuildRequires: sed >= 4.0 Requires: attr >= 2.4.15 Obsoletes: libacl BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) %define _bindir /bin -%define _libdir /%{_lib} -%define _libexecdir /usr/%{_lib} %description A command (chacl) and a library (libacl) to manipulate POSIX access @@ -64,59 +60,35 @@ Statyczna biblioteka acl. %prep %setup -q %patch0 -p1 -%patch1 -p1 -%patch2 -p1 -%patch3 -p1 -%{__rm} -f aclocal.m4 +# prepare for gettextize +%{__sed} -i -e 's,po/Makefile\.in,,' configure.ac %build +po/update-potfiles +%{__gettextize} %{__libtoolize} %{__aclocal} -I m4 %{__autoconf} -cp -f /usr/share/automake/config.sub . -install include/install-sh . +%{__autoheader} +%{__automake} -%configure \ - DEBUG="%{?debug:-DDEBUG}%{!?debug:-DNDEBUG}" \ - OPTIMIZER="%{rpmcflags} -DENABLE_GETTEXT" +%configure -%{__make} \ - LLDFLAGS="%{rpmldflags}" \ - top_builddir="../" +%{__make} %install rm -rf $RPM_BUILD_ROOT -install -d $RPM_BUILD_ROOT{%{_includedir}/acl,%{_mandir}/man3} - -export DIST_ROOT=$RPM_BUILD_ROOT -P=$(pwd) -DIST_INSTALL=$P/install.manifest -DIST_INSTALL_DEV=$P/install-dev.manifest -DIST_INSTALL_LIB=$P/install-lib.manifest %{__make} install \ - DIST_MANIFEST=$DIST_INSTALL \ - top_builddir="../" -%{__make} install-dev \ - DIST_MANIFEST=$DIST_INSTALL_DEV \ - top_builddir="../" -%{__make} install-lib \ - DIST_MANIFEST=$DIST_INSTALL_LIB \ - top_builddir="../" - -ln -snf %{_libdir}/$(basename $RPM_BUILD_ROOT%{_libdir}/libacl.so.*.*.*) \ - $RPM_BUILD_ROOT%{_libexecdir}/libacl.so -%{__sed} -i "s|libdir='%{_libdir}'|libdir='%{_libexecdir}'|" \ - $RPM_BUILD_ROOT%{_libexecdir}/libacl.la - -%{__rm} -r $RPM_BUILD_ROOT%{_docdir}/%{name} + DESTDIR=$RPM_BUILD_ROOT -# already in /usr -%{__rm} $RPM_BUILD_ROOT%{_libdir}/libacl.{so,la,a} +install -d $RPM_BUILD_ROOT/%{_lib} +%{__mv} $RPM_BUILD_ROOT%{_libdir}/libacl.so.* $RPM_BUILD_ROOT/%{_lib} +ln -snf /%{_lib}/$(basename $RPM_BUILD_ROOT/%{_lib}/libacl.so.*.*.*) \ + $RPM_BUILD_ROOT%{_libdir}/libacl.so -# fix perms (needed for debuginfo and autorequires/provides) -chmod a+x $RPM_BUILD_ROOT%{_libdir}/libacl.so.*.*.* +%{__rm} -r $RPM_BUILD_ROOT%{_docdir}/%{name} %find_lang %{name} @@ -132,8 +104,8 @@ rm -rf $RPM_BUILD_ROOT %attr(755,root,root) %{_bindir}/chacl %attr(755,root,root) %{_bindir}/getfacl %attr(755,root,root) %{_bindir}/setfacl -%attr(755,root,root) %{_libdir}/libacl.so.*.*.* -%attr(755,root,root) %ghost %{_libdir}/libacl.so.1 +%attr(755,root,root) /%{_lib}/libacl.so.*.*.* +%attr(755,root,root) %ghost /%{_lib}/libacl.so.1 %{_mandir}/man1/chacl.1* %{_mandir}/man1/getfacl.1* %{_mandir}/man1/setfacl.1* @@ -142,12 +114,13 @@ rm -rf $RPM_BUILD_ROOT %files devel %defattr(644,root,root,755) %doc doc/{extensions.txt,libacl.txt} -%attr(755,root,root) %{_libexecdir}/libacl.so -%{_libexecdir}/libacl.la +%attr(755,root,root) %{_libdir}/libacl.so +%{_libdir}/libacl.la %{_includedir}/acl %{_includedir}/sys/acl.h +%{_pkgconfigdir}/libacl.pc %{_mandir}/man3/acl_*.3* %files static %defattr(644,root,root,755) -%{_libexecdir}/libacl.a +%{_libdir}/libacl.a -- 2.43.0