# Source: Description: patch to get the from the sgml file For the moment, docbook2man doesn't use the tag date in to but `date "+%d %B %Y"`, and thus depend on the current locale. 06 September 2003 A patch against /usr/share/perl5/sgmlspl-specs/docbook2man-spec.pl allows to use the date written in the source SGML file (which can be localized) instead of the current date. However, if no correct date tag is present in the SGML file, the date written in the manpage will depend on the current locale. Author: Simon Paillard Forwarded: not-needed Bug-Debian: http://bugs.debian.org/214982 Index: docbook-utils-0.6.14/helpers/docbook2man-spec.pl =================================================================== --- docbook-utils-0.6.14.orig/helpers/docbook2man-spec.pl 2012-05-09 18:27:28.000000000 +0200 +++ docbook-utils-0.6.14/helpers/docbook2man-spec.pl 2012-05-09 18:55:53.276783163 +0200 @@ -278,8 +278,9 @@ .\\" etc. to Steve Cheng . _END_BANNER - my $manpage_date = `date "+%d %B %Y"`; - + my $date = `date "+%d %B %Y"`; + my $manpage_date = $manpage_date || $date ; + output '.TH "'; # If the title is not mixed-case, convention says to @@ -292,7 +293,7 @@ } output '" "', fold_string($manpage_sect), - '" "', fold_string(`date "+%d %B %Y"`), + '" "', fold_string($manpage_date), '" "', $manpage_misc, '" "', $manpage_manual, "\"\n"; @@ -568,6 +569,15 @@ sgml('', sub { $_[0]->parent->ext->{'attribution'} = pop_output(); }); +sgml('', sub { + save_cdata(); +}); +sgml('', sub { + $manpage_date = fold_string(pop_output()); + $raw_cdata--; +}); + + # IGNORE. sgml('', sub { push_output('nul'); }); sgml('', sub { pop_output(); }); 82bd50bb261ae99fef'>root/etc/init.d
AgeCommit message (Expand)Author
2024-06-26etc: Add explicit ‘--substitute-urls’ in guix-daemon service files....Having substitute URLs explicitly listed in the service startup file makes it clearer what should be modified to permanently change the list of substitute URLs. * config-daemon.ac: Rename ‘guix_substitute_urls’ to ‘GUIX_SUBSTITUTE_URLS’ and substitute it. * nix/local.mk (etc/guix-%.service, etc/init.d/guix-daemon) (etc/guix-%.conf): Substitute it. * etc/guix-daemon.conf.in, etc/guix-daemon.service.in, etc/init.d/guix-daemon.in: Add an explicit ‘--substitute-urls’ option. Change-Id: Ie491b7fab5c42e54dca582801c03805a85de2bf9 Ludovic Courtès
2021-07-07guix-install.sh: Prompt for configuring substitutes discovery....Also ensure prompt_yes_no always print the message with a trailing space, which is more pleasing to the eye. * etc/guix-daemon.conf.in <--discover=no>: New guix-daemon option. * etc/guix-daemon.service.in: Likewise. * etc/init.d/guix-daemon.in: Likewise. * etc/openrc/guix-daemon.in: Likewise. * etc/guix-install.sh (configure_substitute_discovery): New procedure. (sys_enable_guix_daemon): Ask the user whether automatic substitute discovery should be enabled. Set the '--discover' argument accordingly. (prompt_yes_no): Add a trailing space to the message. (sys_authorize_build_farms): Remove trailing space from the message argument. * NEWS (Distribution): Add news. Maxim Cournoyer