diff --git a/add-security-context-options-for-coreutils.patch b/add-security-context-options-for-coreutils.patch new file mode 100644 index 0000000..b48b79f --- /dev/null +++ b/add-security-context-options-for-coreutils.patch @@ -0,0 +1,112 @@ +diff -ru man-pages-fr-3.70.orig/man-pages-man1-2.49/cp.1 man-pages-fr-3.70/man-pages-man1-2.49/cp.1 +--- man-pages-fr-3.70.orig/man-pages-man1-2.49/cp.1 2007-11-19 13:30:08.000000000 +0100 ++++ man-pages-fr-3.70/man-pages-man1-2.49/cp.1 2016-06-27 11:25:14.362596934 +0200 +@@ -330,6 +330,14 @@ + .B "\-x, \-\-one-file-system" + Ignorer les sous-répertoires se trouvant sur un système de fichiers + différent de celui du départ de la copie. ++.TP ++.B "\-Z" ++Fixez le contexte de sécurité SELinux du fichier de destination ++au type par défaut. ++.TP ++.B "\-\-context[=CTX]" ++Comme \fB\-Z\fR ou, si CTS est spécifié, fixez le contexte ++de sécurité SELinux ou SMACK à CTX. + .SH OPTIONS DE SAUVEGARDE GNU + Les versions GNU des programmes comme + .BR cp , +diff -ru man-pages-fr-3.70.orig/man-pages-man1-2.49/install.1 man-pages-fr-3.70/man-pages-man1-2.49/install.1 +--- man-pages-fr-3.70.orig/man-pages-man1-2.49/install.1 2008-04-25 14:10:17.000000000 +0200 ++++ man-pages-fr-3.70/man-pages-man1-2.49/install.1 2016-06-27 11:26:52.139395444 +0200 +@@ -125,6 +125,14 @@ + .TP + .B "\-s, \-\-strip" + Réduire la table des symboles des exécutables binaires installés. ++.TP ++.B "\-Z" ++Fixez le contexte de sécurité SELinux du fichier de destination ++au type par défaut. ++.TP ++.B "\-\-context[=CTX]" ++Comme \fB\-Z\fR ou, si CTS est spécifié, fixez le contexte ++de sécurité SELinux ou SMACK à CTX. + .SH OPTIONS DE SAUVEGARDE GNU + Les versions GNU des programmes comme + .BR cp , +diff -ru man-pages-fr-3.70.orig/man-pages-man1-2.49/mkdir.1 man-pages-fr-3.70/man-pages-man1-2.49/mkdir.1 +--- man-pages-fr-3.70.orig/man-pages-man1-2.49/mkdir.1 2007-11-19 13:30:08.000000000 +0100 ++++ man-pages-fr-3.70/man-pages-man1-2.49/mkdir.1 2016-06-27 11:38:54.221292433 +0200 +@@ -52,8 +52,13 @@ + utile en conjonction avec l'option + .BR "\-\-parents" . + .TP +-.B "\-\-" +-Fin explicite de la liste des options. ++.B "\-Z" ++Fixez le contexte de sécurité SELinux de chaque répertoire créé ++au type par défaut. ++.TP ++.B "\-\-context[=CTX]" ++Comme \fB\-Z\fR ou, si CTS est spécifié, fixez le contexte ++de sécurité SELinux ou SMACK à CTX. + .SH OPTIONS STANDARDS GNU + .TP + .B "\-\-help" +@@ -62,6 +67,9 @@ + .B "\-\-version" + Afficher un numéro de version sur la sortie standard, et se terminer + normalement. ++.TP ++.B "\-\-" ++Fin explicite de la liste des options. + .SH ENVIRONNEMENT + Les variables d'environnement LANG, LC_ALL, LC_CTYPE et LC_MESSAGES ont + leur signification habituelle. +diff -ru man-pages-fr-3.70.orig/man-pages-man1-2.49/mkfifo.1 man-pages-fr-3.70/man-pages-man1-2.49/mkfifo.1 +--- man-pages-fr-3.70.orig/man-pages-man1-2.49/mkfifo.1 2007-11-19 13:30:08.000000000 +0100 ++++ man-pages-fr-3.70/man-pages-man1-2.49/mkfifo.1 2016-06-27 11:38:14.566968592 +0200 +@@ -45,8 +45,13 @@ + en utilisant + l'autorisation par défaut comme valeur de départ. + .TP +-.B "\-\-" +-Fin explicite de la liste des options. ++.B "\-Z" ++Fixez le contexte de sécurité SELinux ++au type par défaut. ++.TP ++.B "\-\-context[=CTX]" ++Comme \fB\-Z\fR ou, si CTS est spécifié, fixez le contexte ++de sécurité SELinux ou SMACK à CTX. + .SH OPTIONS STANDARDS GNU + .TP + .B "\-\-help" +@@ -54,6 +59,9 @@ + .TP + .B "\-\-version" + Afficher un numéro de version sur la sortie standard, et se terminer normalement. ++.TP ++.B "\-\-" ++Fin explicite de la liste des options. + .SH ENVIRONNEMENT + Les variables d'environnement LANG, LC_ALL, LC_TYPE et LC_MESSAGES ont leur + significations habituelles. +diff -ru man-pages-fr-3.70.orig/man-pages-man1-2.49/mknod.1 man-pages-fr-3.70/man-pages-man1-2.49/mknod.1 +--- man-pages-fr-3.70.orig/man-pages-man1-2.49/mknod.1 2007-11-19 13:30:08.000000000 +0100 ++++ man-pages-fr-3.70/man-pages-man1-2.49/mknod.1 2016-06-27 11:37:32.758627159 +0200 +@@ -88,6 +88,14 @@ + étant fourni sous forme symbolique, comme pour + .BR chmod (1), + les permissions par défaut étant utilisées comme valeur de départ. ++.TP ++.I "\-Z" ++Fixez le contexte de sécurité SELinux ++au type par défaut. ++.TP ++.I "\-\-context[=CTX]" ++Comme \fI\-Z\fR ou, si CTS est spécifié, fixez le contexte ++de sécurité SELinux ou SMACK à CTX. + .SH OPTIONS STANDARDS GNU + .TP + .I "\-\-help" diff --git a/man-pages-fr.spec b/man-pages-fr.spec index 3e7a3f1..b3d25b5 100644 --- a/man-pages-fr.spec +++ b/man-pages-fr.spec @@ -5,13 +5,14 @@ Summary: French version of the Linux man-pages Name: man-pages-fr Version: 3.70 -Release: 5%{?dist} +Release: 6%{?dist} License: GPL+ and GPLv2 and GPLv2+ and LGPLv2+ and GPLv3+ and ImageMagick and ISC and Public Domain and BSD and MIT and ASL 2.0 and and UCD and IBM and TCL and xinetd URL: https://alioth.debian.org/projects/perkamon/ Source0: https://alioth.debian.org/frs/download.php/file/4119/%{name}-%{version}-%{SUBREV}.tar.xz Source1: http://www.delafond.org/traducmanfr/mansupfr.tar.bz2 Source2: http://manpagesfr.free.fr/download/man-pages-extras-fr-%{REV_EXTRAS}.tar.bz2 Patch0: phony-targets.patch +Patch1: add-security-context-options-for-coreutils.patch BuildArch: noarch Requires: man-pages-reader @@ -44,6 +45,7 @@ mv man8/mgettyfedora.8 man8/mgetty.8 cp -a man-pages-extras-fr-%{REV_EXTRAS}/* . rm -rf man-pages-extras-fr-%{REV_EXTRAS}/ +%patch1 -p1 # fix bug rh 495703, rhbz#1135541 for i in mail.1 yum.8 xinetd.8 du.1; do @@ -129,6 +131,10 @@ rm -f $RPM_BUILD_ROOT%{_mandir}/fr/man2/getitimer.2 %{_mandir}/fr/man?/* %changelog +* Mon Jun 27 2016 Mike FABIAN - 3.70-6 +- add translations for security context options in coreutils + (see also rhbz#1263637) + * Thu May 19 2016 Mike FABIAN - 3.70-5 - Resolves: rhbz#1334283 - man-pages-fr included non-free docs.