summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.gitlab-ci.yml23
-rw-r--r--Makefile2
-rw-r--r--autoscripts/postinst-emacsen7
-rw-r--r--autoscripts/postinst-icons6
-rw-r--r--autoscripts/postinst-init2
-rw-r--r--autoscripts/postinst-init-nostart2
-rw-r--r--autoscripts/postinst-init-restart2
-rw-r--r--autoscripts/postinst-init-tmpfiles2
-rw-r--r--autoscripts/postinst-initramfs-hook5
-rw-r--r--autoscripts/postinst-modules2
-rw-r--r--autoscripts/postinst-systemd-dont-enable22
-rw-r--r--autoscripts/postinst-systemd-enable24
-rw-r--r--autoscripts/postinst-systemd-restart16
-rw-r--r--autoscripts/postinst-systemd-restartnostart10
-rw-r--r--autoscripts/postinst-systemd-start8
-rw-r--r--autoscripts/postinst-ucf2
-rw-r--r--autoscripts/postinst-usrlocal19
-rw-r--r--autoscripts/postinst-wm2
-rw-r--r--autoscripts/postinst-wm-noman2
-rw-r--r--autoscripts/postrm-initramfs-hook5
-rw-r--r--autoscripts/postrm-systemd6
-rw-r--r--autoscripts/prerm-systemd2
-rw-r--r--autoscripts/prerm-systemd-restart2
-rw-r--r--debhelper.pod179
-rw-r--r--debian/changelog592
-rw-r--r--debian/control50
-rw-r--r--debian/gen-provides16
-rwxr-xr-xdebian/rules7
-rw-r--r--debian/tests/pkg-perl/use-name1
-rwxr-xr-xdh442
-rwxr-xr-xdh_clean3
-rwxr-xr-xdh_compress25
-rwxr-xr-xdh_dwz48
-rwxr-xr-xdh_gencontrol10
-rwxr-xr-xdh_install41
-rwxr-xr-xdh_installchangelogs117
-rwxr-xr-xdh_installdeb63
-rwxr-xr-xdh_installdirs47
-rwxr-xr-xdh_installdocs25
-rwxr-xr-xdh_installexamples6
-rwxr-xr-xdh_installinfo12
-rwxr-xr-xdh_installinit72
-rwxr-xr-xdh_installinitramfs94
-rwxr-xr-xdh_installman6
-rwxr-xr-xdh_installsystemd400
-rwxr-xr-xdh_installwm5
-rwxr-xr-xdh_installxfonts10
-rwxr-xr-xdh_link2
-rwxr-xr-xdh_listpackages2
-rwxr-xr-xdh_makeshlibs156
-rwxr-xr-xdh_md5sums70
-rwxr-xr-xdh_missing45
-rwxr-xr-xdh_shlibdeps8
-rwxr-xr-xdh_strip61
-rwxr-xr-xdh_testroot59
-rwxr-xr-xdh_ucf12
-rwxr-xr-xdh_usrlocal112
-rw-r--r--doc/PROGRAMMING7
-rw-r--r--lib/Debian/Debhelper/Buildsystem.pm203
-rw-r--r--lib/Debian/Debhelper/Buildsystem/autoconf.pm4
-rw-r--r--lib/Debian/Debhelper/Buildsystem/cmake.pm61
-rw-r--r--lib/Debian/Debhelper/Buildsystem/makefile.pm17
-rw-r--r--lib/Debian/Debhelper/Buildsystem/meson.pm38
-rw-r--r--lib/Debian/Debhelper/Buildsystem/ninja.pm44
-rw-r--r--lib/Debian/Debhelper/Buildsystem/python_distutils.pm7
-rw-r--r--lib/Debian/Debhelper/Buildsystem/qmake.pm64
-rw-r--r--lib/Debian/Debhelper/Buildsystem/qmake_qt4.pm6
-rw-r--r--lib/Debian/Debhelper/Dh_Buildsystems.pm80
-rw-r--r--lib/Debian/Debhelper/Dh_Lib.pm761
-rw-r--r--lib/Debian/Debhelper/Sequence/dwz.pm6
-rw-r--r--lib/Debian/Debhelper/Sequence/installinitramfs.pm14
-rw-r--r--lib/Debian/Debhelper/SequencerUtil.pm152
-rw-r--r--man/po4a/po/de.po3267
-rw-r--r--man/po4a/po/debhelper.pot1797
-rw-r--r--man/po4a/po/es.po2449
-rw-r--r--man/po4a/po/fr.po3275
-rw-r--r--man/po4a/po/ja.po2408
-rw-r--r--man/po4a/po/pt.po3104
-rw-r--r--man/po4a/po4a.cfg2
-rwxr-xr-xt/Dh_Lib/00-use.t20
-rwxr-xr-xt/Dh_Lib/path.t26
-rw-r--r--t/Test/DH.pm30
-rwxr-xr-xt/buildsystems/03-bs-auto-buildable.t16
-rwxr-xr-xt/buildsystems/autoconf/configure9
-rwxr-xr-xt/buildsystems/buildsystem_tests.t1
-rw-r--r--t/debhelper-compat/debian/control12
-rwxr-xr-xt/debhelper-compat/syntax.t82
-rwxr-xr-xt/dh-sequencer.t173
-rwxr-xr-xt/dh_compress.t35
-rw-r--r--t/dh_installdocs/debian/control1
-rwxr-xr-xt/dh_installdocs/dh_installdocs.t23
-rwxr-xr-xt/dh_installinit/dh_installinit.t18
-rw-r--r--t/dh_installsystemd/debian/foo.init4
-rwxr-xr-xt/dh_installsystemd/dh_installsystemd.t167
-rwxr-xr-xt/dh_installsystemd/dh_installsystemd_tmpfiles.t45
-rwxr-xr-xt/dh_installsystemd/dh_systemd.t41
-rw-r--r--t/dh_installsystemd/simple/debian/changelog5
-rw-r--r--t/dh_installsystemd/simple/debian/control10
-rw-r--r--t/dh_installsystemd/simple/debian/foo.service8
-rwxr-xr-xt/dh_link/03-894229.t55
-rwxr-xr-xt/dh_missing/04-not-installed-glob.t37
-rwxr-xr-xt/dh_usrlocal/01-basic.t157
-rwxr-xr-xt/maintscript.t42
-rwxr-xr-xt/override_target.t8
-rwxr-xr-xt/size.t2
105 files changed, 14495 insertions, 7269 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
new file mode 100644
index 00000000..cfecfe10
--- /dev/null
+++ b/.gitlab-ci.yml
@@ -0,0 +1,23 @@
+tests-stable-backports:
+ stage: test
+ image: debian:stable-backports
+ script:
+ - apt-get update
+ - apt-get build-dep -y .
+ - dpkg-buildpackage -us -uc -tc
+
+tests-testing:
+ stage: test
+ image: debian:testing
+ script:
+ - apt-get update
+ - apt-get build-dep -y .
+ - dpkg-buildpackage -us -uc -tc
+
+tests-unstable:
+ stage: test
+ image: debian:unstable
+ script:
+ - apt-get update
+ - apt-get build-dep -y .
+ - dpkg-buildpackage -us -uc -tc
diff --git a/Makefile b/Makefile
index 6bfbc4f9..50f7bda7 100644
--- a/Makefile
+++ b/Makefile
@@ -41,7 +41,7 @@ MAKEMANLIST=$(PERL) -e ' \
} \
END { \
my $$recommended_compat = q{$(VERSION)}; \
- $$recommended_compat =~ s{\..*}{}; \
+ $$recommended_compat =~ s{^\d+\K(?:\D.*|\..*)?}{}; \
while (<STDIN>) { \
s/\#LIST\#/$$list/g; \
s/\#LIST_DEPRECATED\#/$$list_deprecated/g; \
diff --git a/autoscripts/postinst-emacsen b/autoscripts/postinst-emacsen
index 82ce9576..0d3fd133 100644
--- a/autoscripts/postinst-emacsen
+++ b/autoscripts/postinst-emacsen
@@ -1,4 +1,5 @@
-if [ "$1" = "configure" ] && [ -e /var/lib/emacsen-common/state/package/installed/emacsen-common -a -x /usr/lib/emacsen-common/emacs-package-install ]
-then
- /usr/lib/emacsen-common/emacs-package-install --postinst #PACKAGE#
+if [ "$1" = "configure" ] || [ "$1" = "abort-upgrade" ] || [ "$1" = "abort-deconfigure" ] || [ "$1" = "abort-remove" ] ; then
+ if [ -e /var/lib/emacsen-common/state/package/installed/emacsen-common -a -x /usr/lib/emacsen-common/emacs-package-install ] ; then
+ /usr/lib/emacsen-common/emacs-package-install --postinst #PACKAGE#
+ fi
fi
diff --git a/autoscripts/postinst-icons b/autoscripts/postinst-icons
index 9e00f039..aa2eed0e 100644
--- a/autoscripts/postinst-icons
+++ b/autoscripts/postinst-icons
@@ -1,3 +1,5 @@
-if which update-icon-caches >/dev/null 2>&1 ; then
- update-icon-caches #DIRLIST#
+if [ "$1" = "configure" ] || [ "$1" = "abort-upgrade" ] || [ "$1" = "abort-deconfigure" ] || [ "$1" = "abort-remove" ] ; then
+ if which update-icon-caches >/dev/null 2>&1 ; then
+ update-icon-caches #DIRLIST#
+ fi
fi
diff --git a/autoscripts/postinst-init b/autoscripts/postinst-init
index 9652c770..0cf40857 100644
--- a/autoscripts/postinst-init
+++ b/autoscripts/postinst-init
@@ -1,4 +1,4 @@
-if [ "$1" = "configure" ] || [ "$1" = "abort-upgrade" ]; then
+if [ "$1" = "configure" ] || [ "$1" = "abort-upgrade" ] || [ "$1" = "abort-deconfigure" ] || [ "$1" = "abort-remove" ] ; then
if [ -x "/etc/init.d/#SCRIPT#" ]; then
update-rc.d #SCRIPT# #INITPARMS# >/dev/null
invoke-rc.d #SCRIPT# start || #ERROR_HANDLER#
diff --git a/autoscripts/postinst-init-nostart b/autoscripts/postinst-init-nostart
index 687a4f6e..820a106a 100644
--- a/autoscripts/postinst-init-nostart
+++ b/autoscripts/postinst-init-nostart
@@ -1,4 +1,4 @@
-if [ "$1" = "configure" ] || [ "$1" = "abort-upgrade" ]; then
+if [ "$1" = "configure" ] || [ "$1" = "abort-upgrade" ] || [ "$1" = "abort-deconfigure" ] || [ "$1" = "abort-remove" ] ; then
if [ -x "/etc/init.d/#SCRIPT#" ]; then
update-rc.d #SCRIPT# #INITPARMS# >/dev/null || #ERROR_HANDLER#
fi
diff --git a/autoscripts/postinst-init-restart b/autoscripts/postinst-init-restart
index 3fffa309..3eadaf67 100644
--- a/autoscripts/postinst-init-restart
+++ b/autoscripts/postinst-init-restart
@@ -1,4 +1,4 @@
-if [ "$1" = "configure" ] || [ "$1" = "abort-upgrade" ]; then
+if [ "$1" = "configure" ] || [ "$1" = "abort-upgrade" ] || [ "$1" = "abort-deconfigure" ] || [ "$1" = "abort-remove" ] ; then
if [ -x "/etc/init.d/#SCRIPT#" ]; then
update-rc.d #SCRIPT# #INITPARMS# >/dev/null
if [ -n "$2" ]; then
diff --git a/autoscripts/postinst-init-tmpfiles b/autoscripts/postinst-init-tmpfiles
index 9bce94c7..f2582933 100644
--- a/autoscripts/postinst-init-tmpfiles
+++ b/autoscripts/postinst-init-tmpfiles
@@ -1,4 +1,4 @@
-if [ "$1" = "configure" ] || [ "$1" = "abort-upgrade" ]; then
+if [ "$1" = "configure" ] || [ "$1" = "abort-upgrade" ] || [ "$1" = "abort-deconfigure" ] || [ "$1" = "abort-remove" ] ; then
# In case this system is running systemd, we need to ensure that all
# necessary tmpfiles (if any) are created before starting.
if [ -d /run/systemd/system ] ; then
diff --git a/autoscripts/postinst-initramfs-hook b/autoscripts/postinst-initramfs-hook
new file mode 100644
index 00000000..7785c643
--- /dev/null
+++ b/autoscripts/postinst-initramfs-hook
@@ -0,0 +1,5 @@
+if [ "$1" = "configure" ] || [ "$1" = "abort-upgrade" ] || [ "$1" = "abort-deconfigure" ] || [ "$1" = "abort-remove" ] ; then
+ if [ -x /usr/sbin/update-initramfs ] && [ -e /etc/initramfs-tools/initramfs.conf ]; then
+ update-initramfs -u
+ fi
+fi
diff --git a/autoscripts/postinst-modules b/autoscripts/postinst-modules
index f17dc2da..9f8d205b 100644
--- a/autoscripts/postinst-modules
+++ b/autoscripts/postinst-modules
@@ -1,4 +1,4 @@
-if [ "$1" = "configure" ]; then
+if [ "$1" = "configure" ] || [ "$1" = "abort-upgrade" ] || [ "$1" = "abort-deconfigure" ] || [ "$1" = "abort-remove" ] ; then
if [ -e /boot/System.map-#KVERS# ]; then
depmod -a -F /boot/System.map-#KVERS# #KVERS# || true
fi
diff --git a/autoscripts/postinst-systemd-dont-enable b/autoscripts/postinst-systemd-dont-enable
index 2dd86a1f..6ecec628 100644
--- a/autoscripts/postinst-systemd-dont-enable
+++ b/autoscripts/postinst-systemd-dont-enable
@@ -1,13 +1,15 @@
-if deb-systemd-helper debian-installed #UNITFILE#; then
- # This will only remove masks created by d-s-h on package removal.
- deb-systemd-helper unmask #UNITFILE# >/dev/null || true
+if [ "$1" = "configure" ] || [ "$1" = "abort-upgrade" ] || [ "$1" = "abort-deconfigure" ] || [ "$1" = "abort-remove" ] ; then
+ if deb-systemd-helper debian-installed #UNITFILE#; then
+ # This will only remove masks created by d-s-h on package removal.
+ deb-systemd-helper unmask #UNITFILE# >/dev/null || true
- if deb-systemd-helper --quiet was-enabled #UNITFILE#; then
- # Create new symlinks, if any.
- deb-systemd-helper enable #UNITFILE# >/dev/null || true
+ if deb-systemd-helper --quiet was-enabled #UNITFILE#; then
+ # Create new symlinks, if any.
+ deb-systemd-helper enable #UNITFILE# >/dev/null || true
+ fi
fi
-fi
-# Update the statefile to add new symlinks (if any), which need to be cleaned
-# up on purge. Also remove old symlinks.
-deb-systemd-helper update-state #UNITFILE# >/dev/null || true
+ # Update the statefile to add new symlinks (if any), which need to be cleaned
+ # up on purge. Also remove old symlinks.
+ deb-systemd-helper update-state #UNITFILE# >/dev/null || true
+fi
diff --git a/autoscripts/postinst-systemd-enable b/autoscripts/postinst-systemd-enable
index b9030380..c0b2574e 100644
--- a/autoscripts/postinst-systemd-enable
+++ b/autoscripts/postinst-systemd-enable
@@ -1,13 +1,15 @@
-# This will only remove masks created by d-s-h on package removal.
-deb-systemd-helper unmask #UNITFILE# >/dev/null || true
+if [ "$1" = "configure" ] || [ "$1" = "abort-upgrade" ] || [ "$1" = "abort-deconfigure" ] || [ "$1" = "abort-remove" ] ; then
+ # This will only remove masks created by d-s-h on package removal.
+ deb-systemd-helper unmask #UNITFILE# >/dev/null || true
-# was-enabled defaults to true, so new installations run enable.
-if deb-systemd-helper --quiet was-enabled #UNITFILE#; then
- # Enables the unit on first installation, creates new
- # symlinks on upgrades if the unit file has changed.
- deb-systemd-helper enable #UNITFILE# >/dev/null || true
-else
- # Update the statefile to add new symlinks (if any), which need to be
- # cleaned up on purge. Also remove old symlinks.
- deb-systemd-helper update-state #UNITFILE# >/dev/null || true
+ # was-enabled defaults to true, so new installations run enable.
+ if deb-systemd-helper --quiet was-enabled #UNITFILE#; then
+ # Enables the unit on first installation, creates new
+ # symlinks on upgrades if the unit file has changed.
+ deb-systemd-helper enable #UNITFILE# >/dev/null || true
+ else
+ # Update the statefile to add new symlinks (if any), which need to be
+ # cleaned up on purge. Also remove old symlinks.
+ deb-systemd-helper update-state #UNITFILE# >/dev/null || true
+ fi
fi
diff --git a/autoscripts/postinst-systemd-restart b/autoscripts/postinst-systemd-restart
index 7d5b0da0..048e9685 100644
--- a/autoscripts/postinst-systemd-restart
+++ b/autoscripts/postinst-systemd-restart
@@ -1,9 +1,11 @@
-if [ -d /run/systemd/system ]; then
- systemctl --system daemon-reload >/dev/null || true
- if [ -n "$2" ]; then
- _dh_action=restart
- else
- _dh_action=start
+if [ "$1" = "configure" ] || [ "$1" = "abort-upgrade" ] || [ "$1" = "abort-deconfigure" ] || [ "$1" = "abort-remove" ] ; then
+ if [ -d /run/systemd/system ]; then
+ systemctl --system daemon-reload >/dev/null || true
+ if [ -n "$2" ]; then
+ _dh_action=restart
+ else
+ _dh_action=start
+ fi
+ deb-systemd-invoke $_dh_action #UNITFILES# >/dev/null || true
fi
- deb-systemd-invoke $_dh_action #UNITFILES# >/dev/null || true
fi
diff --git a/autoscripts/postinst-systemd-restartnostart b/autoscripts/postinst-systemd-restartnostart
index eb52e273..8ac28fb3 100644
--- a/autoscripts/postinst-systemd-restartnostart
+++ b/autoscripts/postinst-systemd-restartnostart
@@ -1,6 +1,8 @@
-if [ -d /run/systemd/system ]; then
- systemctl --system daemon-reload >/dev/null || true
- if [ -n "$2" ]; then
- deb-systemd-invoke try-restart #UNITFILES# >/dev/null || true
+if [ "$1" = "configure" ] || [ "$1" = "abort-upgrade" ] || [ "$1" = "abort-deconfigure" ] || [ "$1" = "abort-remove" ] ; then
+ if [ -d /run/systemd/system ]; then
+ systemctl --system daemon-reload >/dev/null || true
+ if [ -n "$2" ]; then
+ deb-systemd-invoke try-restart #UNITFILES# >/dev/null || true
+ fi
fi
fi
diff --git a/autoscripts/postinst-systemd-start b/autoscripts/postinst-systemd-start
index 8134a040..6a24ad87 100644
--- a/autoscripts/postinst-systemd-start
+++ b/autoscripts/postinst-systemd-start
@@ -1,4 +1,6 @@
-if [ -d /run/systemd/system ]; then
- systemctl --system daemon-reload >/dev/null || true
- deb-systemd-invoke start #UNITFILES# >/dev/null || true
+if [ "$1" = "configure" ] || [ "$1" = "abort-upgrade" ] || [ "$1" = "abort-deconfigure" ] || [ "$1" = "abort-remove" ] ; then
+ if [ -d /run/systemd/system ]; then
+ systemctl --system daemon-reload >/dev/null || true
+ deb-systemd-invoke start #UNITFILES# >/dev/null || true
+ fi
fi
diff --git a/autoscripts/postinst-ucf b/autoscripts/postinst-ucf
index 05468310..7445e942 100644
--- a/autoscripts/postinst-ucf
+++ b/autoscripts/postinst-ucf
@@ -1,4 +1,4 @@
-if [ "$1" = "configure" ]; then
+if [ "$1" = "configure" ] || [ "$1" = "abort-upgrade" ]; then
ucf "#UCFSRC#" "#UCFDEST#"
ucfr #PACKAGE# "#UCFDEST#"
fi
diff --git a/autoscripts/postinst-usrlocal b/autoscripts/postinst-usrlocal
index a2f004db..e856e0f8 100644
--- a/autoscripts/postinst-usrlocal
+++ b/autoscripts/postinst-usrlocal
@@ -1,12 +1,25 @@
-if [ "$1" = configure ]; then
+if [ "$1" = "configure" ] || [ "$1" = "abort-upgrade" ] || [ "$1" = "abort-deconfigure" ] || [ "$1" = "abort-remove" ]; then
(
+ default_mode=0755
+ default_user=root
+ default_group=root
+ if [ -e /etc/staff-group-for-usr-local ]; then
+ default_mode=02775
+ default_group=staff
+ fi
while read line; do
set -- $line
dir="$1"; mode="$2"; user="$3"; group="$4"
+ if [ "$mode" = "default" ]; then
+ mode="$default_mode"
+ user="$default_user"
+ group="$default_group"
+ fi
if [ ! -e "$dir" ]; then
if mkdir "$dir" 2>/dev/null; then
- chown "$user":"$group" "$dir"
- chmod "$mode" "$dir"
+ if chown "$user":"$group" "$dir" ; then
+ chmod "$mode" "$dir" || true
+ fi
fi
fi
done
diff --git a/autoscripts/postinst-wm b/autoscripts/postinst-wm
index ee636287..be008728 100644
--- a/autoscripts/postinst-wm
+++ b/autoscripts/postinst-wm
@@ -1,4 +1,4 @@
-if [ "$1" = "configure" ]; then
+if [ "$1" = "configure" ] || [ "$1" = "abort-upgrade" ] || [ "$1" = "abort-deconfigure" ] || [ "$1" = "abort-remove" ]; then
update-alternatives --install /usr/bin/x-window-manager \
x-window-manager #WM# #PRIORITY# \
--slave /usr/share/man/man1/x-window-manager.1.gz \
diff --git a/autoscripts/postinst-wm-noman b/autoscripts/postinst-wm-noman
index aef412a3..07e8d9a2 100644
--- a/autoscripts/postinst-wm-noman
+++ b/autoscripts/postinst-wm-noman
@@ -1,4 +1,4 @@
-if [ "$1" = "configure" ]; then
+if [ "$1" = "configure" ] || [ "$1" = "abort-upgrade" ] || [ "$1" = "abort-deconfigure" ] || [ "$1" = "abort-remove" ] ; then
update-alternatives --install /usr/bin/x-window-manager \
x-window-manager #WM# #PRIORITY#
fi
diff --git a/autoscripts/postrm-initramfs-hook b/autoscripts/postrm-initramfs-hook
new file mode 100644
index 00000000..9f688943
--- /dev/null
+++ b/autoscripts/postrm-initramfs-hook
@@ -0,0 +1,5 @@
+if [ "$1" = "remove" ]; then
+ if [ -x /usr/sbin/update-initramfs ] && [ -e /etc/initramfs-tools/initramfs.conf ]; then
+ update-initramfs -u
+ fi
+fi
diff --git a/autoscripts/postrm-systemd b/autoscripts/postrm-systemd
index 22725ce1..d95013b6 100644
--- a/autoscripts/postrm-systemd
+++ b/autoscripts/postrm-systemd
@@ -1,12 +1,12 @@
if [ "$1" = "remove" ]; then
if [ -x "/usr/bin/deb-systemd-helper" ]; then
- deb-systemd-helper mask #UNITFILES# >/dev/null
+ deb-systemd-helper mask #UNITFILES# >/dev/null || true
fi
fi
if [ "$1" = "purge" ]; then
if [ -x "/usr/bin/deb-systemd-helper" ]; then
- deb-systemd-helper purge #UNITFILES# >/dev/null
- deb-systemd-helper unmask #UNITFILES# >/dev/null
+ deb-systemd-helper purge #UNITFILES# >/dev/null || true
+ deb-systemd-helper unmask #UNITFILES# >/dev/null || true
fi
fi
diff --git a/autoscripts/prerm-systemd b/autoscripts/prerm-systemd
index 6cc72423..d85223f7 100644
--- a/autoscripts/prerm-systemd
+++ b/autoscripts/prerm-systemd
@@ -1,3 +1,3 @@
if [ -d /run/systemd/system ]; then
- deb-systemd-invoke stop #UNITFILES# >/dev/null
+ deb-systemd-invoke stop #UNITFILES# >/dev/null || true
fi
diff --git a/autoscripts/prerm-systemd-restart b/autoscripts/prerm-systemd-restart
index 51abb0b0..13b0388e 100644
--- a/autoscripts/prerm-systemd-restart
+++ b/autoscripts/prerm-systemd-restart
@@ -1,3 +1,3 @@
if [ -d /run/systemd/system ] && [ "$1" = remove ]; then
- deb-systemd-invoke stop #UNITFILES# >/dev/null
+ deb-systemd-invoke stop #UNITFILES# >/dev/null || true
fi
diff --git a/debhelper.pod b/debhelper.pod
index 1c60bf55..acdda660 100644
--- a/debhelper.pod
+++ b/debhelper.pod
@@ -78,7 +78,11 @@ complicated formats.
Note for the first (or only) binary package listed in
F<debian/control>, debhelper will use F<debian/foo> when there's no
-F<debian/package.foo> file.
+F<debian/I<package>.foo> file. However, it is often a good idea to keep
+the F<I<package>.> prefix as it is more explicit. The primary exception
+to this are files that debhelper by default installs in every binary
+package when it does not have a package prefix (such as
+F<debian/copyright> or F<debian/changelog>).
In some rare cases, you may want to have different versions of these files
for different architectures or OSes. If files named debian/I<package>.foo.I<ARCH>
@@ -95,10 +99,41 @@ You can also put comments in these files; lines beginning with B<#> are
ignored.
The syntax of these files is intentionally kept very simple to make them
-easy to read, understand, and modify. If you prefer power and complexity,
-you can make the file executable, and write a program that outputs
-whatever content is appropriate for a given situation. When you do so,
-the output is not further processed to expand wildcards or strip comments.
+easy to read, understand, and modify.
+
+=head2 Executable debhelper config files
+
+If you need additional flexibility, many of the debhelper tools
+(e.g. L<dh_install(1)>) support executing a config file as a script.
+
+To use this feature, simply mark the config file as executable
+(e.g. B<< chmod +x debian/I<package>.install >>) and the tool will
+attempt to execute it and use the output of the script. In many
+cases, you can use L<dh-exec(1)> as interpreter of the config file to
+retain most of the original syntax while getting the additional
+flexibility you need.
+
+
+When using executable debhelper config files, please be aware of the
+following:
+
+=over 4
+
+=item *
+
+The executable config file B<must> exit with success (i.e. its return
+code should indicate success).
+
+=item *
+
+The output will be used exactly as it is. Notably, debhelper will
+I<not> expand wildcards or strip comments in the output.
+
+=back
+
+If you need the package to build on a file system where you cannot
+disable the executable bit, then you can use L<dh-exec(1)> and its
+B<strip-output> script.
=head1 SHARED DEBHELPER OPTIONS
@@ -133,6 +168,8 @@ times to make debhelper operate on a given set of packages.
Deprecated alias of B<-a>.
+This option is removed in compat 12.
+
=item B<-N>I<package>, B<--no-package=>I<package>
Do not act on the specified package even if an B<-a>, B<-i>, or B<-p> option lists
@@ -191,7 +228,7 @@ Do not modify F<postinst>, F<postrm>, etc. scripts.
=item B<-X>I<item>, B<--exclude=>I<item>
Exclude an item from processing. This option may be used multiple times,
-to exclude more than one thing. The \fIitem\fR is typically part of a
+to exclude more than one thing. The I<item> is typically part of a
filename, and any file containing the specified text will be excluded.
=item B<-A>, B<--all>
@@ -250,7 +287,7 @@ If neither option is specified, debhelper currently defaults to
B<--parallel> in compat 10 (or later) and B<--no-parallel> otherwise.
As an optimization, B<dh> will try to avoid passing these options to
-subprocesses, if they are unncessary and the only options passed.
+subprocesses, if they are unnecessary and the only options passed.
Notably this happens when B<DEB_BUILD_OPTIONS> does not have a
I<parallel> parameter (or its value is 1).
@@ -292,7 +329,7 @@ Your package will also need a versioned build dependency on a version of
debhelper equal to (or greater than) the compatibility level your package
uses. So for compatibility level #RECOMMENDED_COMPAT#, ensure debian/control has:
- Build-Depends: debhelper (>= #RECOMMENDED_COMPAT#)
+ Build-Depends: debhelper (>= #RECOMMENDED_COMPAT#~)
Unless otherwise indicated, all debhelper documentation assumes that you
are using the most recent compatibility level, and in most cases does not
@@ -470,9 +507,6 @@ configuration.
=item v10
-This is the recommended mode of operation.
-
-
Changes from v9 are:
=over 8
@@ -586,7 +620,7 @@ package.
=item v11
-This compatibility level is open for beta testing; changes may occur.
+This is the recommended mode of operation.
Changes from v10 are:
@@ -606,7 +640,7 @@ the B<systemd> sequence for B<dh> has also been removed. If you need
to disable the B<dh_installsystemd> helper tool, please use an empty
override target.
-Please note that the B<dh_installsystemd> tool have a slightly
+Please note that the B<dh_installsystemd> tool has a slightly
different behaviour in some cases (e.g. when using the B<--name>
parameter).
@@ -634,11 +668,6 @@ F<./configure>.
The B<cmake> buildsystem now passes
B<-DCMAKE_INSTALL_RUNSTATEDIR=/run> to L<cmake(1)>.
-B<Caveat>: This option silently does nothing in cmake versions prior
-to 3.8. Please keep this in mind if your package is regularly
-backported to a suite (e.g. stretch-backports) where cmake is older
-than 3.8.
-
=item -
B<dh_installman> will now prefer detecting the language from the
@@ -669,12 +698,15 @@ and B<dh_installman> now accept the parameter B<--sourcedir> with same
meaning as B<dh_install>. Furthermore, they now also fall back to
F<debian/tmp> like B<dh_install>.
+Migration note: A bug in debhelper 11 up to 11.1.5 made
+B<dh_installinfo> incorrectly ignore B<--sourcedir>.
+
=item -
The B<perl-makemaker> and B<perl-build> build systems no longer pass
-B<-I.> to perl. Packages that still need this behaviour can get
-emulate it by using the B<PERL5LIB> environment variable. E.g. by
-adding B<export PERL5LIB=.> in their debian/rules file (or similar).
+B<-I.> to perl. Packages that still need this behaviour can emulate
+it by using the B<PERL5LIB> environment variable. E.g. by adding
+B<export PERL5LIB=.> in their debian/rules file (or similar).
=item -
@@ -695,16 +727,31 @@ returns a non-zero exit from analysing a given file.
=item -
-The B<dh_installdocs> and B<dh_installexamples> tools will now attempt
-to guess the "main package" for a given documentation package
-(e.g. I<pkg-doc> will have I<pkg> as main package if the latter
-exists). If a main package is found, I<most> of the documentation
-will be installed into F<< /usr/share/doc/I<main-pkg> >> by default as
-recommended by Debian policy §12.3 since version 3.9.7. Notable
-exceptions include the copyright file and changelog files.
+The B<dh_installdocs> and B<dh_installexamples> tools may now install
+I<most> of the documentation in a different path to comply with the
+recommendation from Debian policy §12.3 (since version 3.9.7).
+
+Note that if a given source package only contains a single binary
+package in F<debian/control> or none of the packages are I<-doc>
+packages, then this change is not relevant for that source package and
+you can skip to the next change.
+
+By default, these tools will now attempt to determine a "main package
+for the documentation" (called a I<doc-main-package> from here on) for
+every I<-doc> package. If they find such a I<doc-main-package>, they
+will now install the documentation into the path F<<
+/usr/share/doc/I<doc-main-package> >> in the given doc package.
+I.e. the path can change but the documentation is still shipped in the
+I<-doc> package.
The B<--doc-main-package> option can be used when the auto-detection
-is insufficient.
+is insufficient or to reset the path to its previous value if there is
+a reason to diverge from Debian policy recommendation.
+
+Some documentation will not be affected by this change. These
+exceptions include the copyright file, changelog files, README.Debian,
+etc. These files will still be installed in the path F<<
+/usr/share/doc/I<package> >>.
=item -
@@ -727,6 +774,16 @@ Changes from v11 are:
=item -
+The B<dh_makeshlibs> tool now generates shlibs files with versioned
+dependency by default. This means that B<-VUpstream-Version>
+(a.k.a. B<-V>) is now the default.
+
+If an unversioned dependency in the shlibs file is wanted, this can be
+obtained by passing B<-VNone> instead. However, please see
+L<dh_makeshlibs(1)> for the caveat of unversioned dependencies.
+
+=item -
+
The B<-s> (B<--same-arch>) option is removed. Please use B<-a> (B<--arch>) instead.
=item -
@@ -760,6 +817,58 @@ finds an old upstart configuration file. The error is there to
remind the package maintainer to ensure the proper removal of the
conffiles shipped in previous versions of the package (if any).
+=item -
+
+The B<dh_installdeb> tool will do basic validation of some
+L<dpkg-maintscript-helper(1)> commands and will error out if the
+commands appear to be invalid.
+
+=item -
+
+The B<dh_missing> tool will now default to B<--list-missing>.
+
+=item -
+
+The B<dh_makeshlibs> tool will now only pass libraries to L<dpkg-gensymbols(1)>
+if the ELF binary has a SONAME (containing ".so").
+
+=item -
+
+The B<dh_compress> tool no longer compresses examples (i.e. anything installed
+in F<</usr/share/doc/I<package>/examples>>.)
+
+=item -
+
+The standard sequence in B<dh> now includes B<dh_dwz> and
+B<dh_installinitramfs> by default. This makes the B<dwz> and
+B<installinitramfs> sequences obsolete and they will now fail with an
+error. If you want to skip these commands, then please insert an
+empty override target for them in F<debian/rules>
+(e.g. I<override_dh_dwz:>)
+
+=item -
+
+The build systems B<meson> and B<autoconf> no longer explicitly set
+the B<--libexecdir> variable and thus relies on the build system
+default - which should be B</usr/libexec> (per FHS 3.0, adopted in
+Debian Policy 4.1.5).
+
+If a particular upstream package does not use the correct default, the
+parameter can often be passed manually via L<dh_auto_configure(1)>. E.g.
+via the following example:
+
+ override_dh_auto_configure:
+ dh_auto_configure -- --libexecdir=/usr/libexec
+
+Note the B<--> before the B<--libexecdir> parameter.
+
+=item -
+
+The B<dh_installdeb> tool no longer installs the maintainer provided
+F<conffiles> file. The file has mostly been obsolete since
+compatibility level 3, where B<dh_installdeb> began to automatically
+compute the resulting F<conffiles> control file.
+
=back
=back
@@ -955,6 +1064,18 @@ your package is built.
Multiple things to exclude can be separated with colons, as in
B<DH_ALWAYS_EXCLUDE=CVS:.svn>
+=item B<DH_EXTRA_ADDONS>
+
+If set, this adds the specified dh addons to be run in the appropriate places
+in the sequence of commands. This is equivalent to specifying the addon to run
+with the --with flag in the debian/rules file. Any --without calls specifying
+an addon in this environment variable will not be run.
+
+This is intended to be used by downstreams or specific local configurations
+that require a debhelper addon to be run during multiple builds without
+having to patch a large number of rules file. If at all possible, this should
+be avoided in favor of a --with flag in the rules file.
+
=back
=head1 SEE ALSO
diff --git a/debian/changelog b/debian/changelog
index 556f0879..cd5ad4df 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,582 @@
+debhelper (11.4) UNRELEASED; urgency=medium
+
+ [ Niels Thykier ]
+ * dh_dwz.1: Remove now obsolete note in manpage claming that dh_dwz
+ was experimental. Since debhelper/11.3, dh_dwz was no longer
+ experimental.
+ * cmake.pm: Explicitly set CMAKE_INSTALL_LIBDIR on native builds.
+ This should not make any pratical difference but aligns the
+ behaviour of native and cross builds. Thanks to Simon McVittie
+ for the suggestion. (Closes: #903042)
+ * autoconf.pm: Leave --libexecdir at upstream default (/usr/libexec)
+ in compat 12 and later. (Closes: #859724)
+ * meson.pm: Ditto.
+ * dh: Support implicitly loading addons via "dh-sequence-${name}"
+ relations in Build-Depends (which would imply "dh ... --with ${name}").
+ Only simple relations in Build-Depends are considered at the moment.
+ * debian/control: Provide dh-sequence-dwz, dh-sequence-installinitramfs,
+ and dh-sequence-systemd, which enables packages to use the new
+ feature to implicitly autoload dh addons via Build-Depends.
+ * dh_md5sums: Rewrite handling of conffiles and excludes to better
+ support an arbitrary number of files that should be omitted from the
+ md5sums file. Previously, dh_md5sums could fail with the error:
+ """... "/bin/sh": Argument list too long at ..."""
+ (Closes: #864182)
+ * dh_installinit.1: Correct documentation which was inaccurate in relation
+ to which compat levels where dh_installinit still supported systemd
+ items and upstart jobs. Thanks to Theodore Y. Ts'o for bring up the
+ issue.
+ * dh_installdeb: In compat 12, ignore the maintainer provided conffiles.
+ It has not been useful since compat 3.
+
+ [ Juhani Numminen ]
+ * dh_installsystemd.1: Fix typo in manpage.
+ * dh_installinit.1: Ditto.
+
+ -- Niels Thykier <niels@thykier.net> Wed, 01 Aug 2018 10:27:22 +0000
+
+debhelper (11.3.5) unstable; urgency=medium
+
+ * Dh_Lib.pm: Introduce a new glob_expand error handler to
+ better emulate the old style glob code to fail when a
+ non-glob entry in the config file is missing.
+ * dh_installdocs: Use the new glob_expand error handler to
+ restore the behaviour to that of debhelper/10.5.1 and older.
+ Thanks to Christoph Berg for reporting the issue.
+ (Closes: #902355)
+ * dh_installexamples: Ditto.
+ * dh_installinfo: Ditto.
+ * dh_installman: Ditto.
+ * Dh_Lib.pm: Fix a bug where ending debian/control on (what
+ debhelper believed was) a comment line could cause debhelper
+ to omit the last package listed in the file. Thanks to
+ Santiago Vila for reporting the bug. (Closes: #902748)
+
+ -- Niels Thykier <niels@thykier.net> Sat, 30 Jun 2018 11:52:51 +0000
+
+debhelper (11.3.4) unstable; urgency=medium
+
+ * Dh_Lib.pm: Fix bug that made the parser assign the wrong
+ value from the Build-Profiles field. Thanks to Sven Joachim
+ for reporting the bug. (Closes: #902268)
+ * debhelper.pod: Rewrite the compat 11 change on "main doc
+ packages" in an attempt to clarify what is happening in
+ compat 11. Thanks to Paul Gevers for pointing out some of
+ the confusing aspects.
+
+ -- Niels Thykier <niels@thykier.net> Sun, 24 Jun 2018 09:46:35 +0000
+
+debhelper (11.3.3) unstable; urgency=medium
+
+ [ Niels Thykier ]
+ * d/control: Remove versioned Breaks on qt5-qmake as it
+ prevents others from backporting qt5 packages to
+ stable-backports. The Breaks was added to assist
+ cross-building in buster and it has already served that
+ purpose by now.
+ * Dh_Lib.pm: Provide a more helpful diagnostic message when
+ an executable config file fails and it does not have a
+ #!-line (and is not an ELF binary). Thanks to Nadav
+ Ruskin for the suggestion. (Closes: #902214)
+ * debhelper.pod: Make a dedicated subsection about executable
+ debhelper config files to make them more prominent. Thanks
+ to Nadav Ruskin for the suggestion. (Closes: #901715)
+ * Dh_Lib.pm: Avoid forking a shell when running executable
+ debhelper config files.
+ * Dh_Lib.pm: Validate package names according the rules for
+ Debian packages. Thanks to Raphael Geissert and Tim
+ Düsterhus for the suggestion. (Closes: #567178)
+ * Dh_Lib.pm: Rewrite deb822 parser to validate d/control
+ more strictly. Particularly, debhelper no longer permits
+ the same field twice in a stanza. Thanks to Tim Düsterhus
+ for the suggestion.
+ * Dh_Lib.pm: Ensure that at most once definition of
+ (X-)Package-Type is used per stanza.
+
+ [ Roberto C. Sánchez ]
+ * cmake.pm: Reorder arguments to cmake to make "-D FOO=BAR"
+ work. This form only works if it is before the directory
+ passed to cmake.
+
+ [ Daniele Nicolodi ]
+ * dh_installsystemd: Improve man page.
+ * dh_installsystemd: Tighten error handling: fail immediately if an unit
+ name not installed by the package is specified on the command line.
+ * dh_installsystemd: Fix the undocumented '--no-also' command line
+ option to do not affect handling of the Alias= directives.
+ * dh_installsystemd: Add timer units to the list of units considered
+ when the '--name' option is specified.
+
+ -- Niels Thykier <niels@thykier.net> Sat, 23 Jun 2018 18:30:08 +0000
+
+debhelper (11.3.2) unstable; urgency=medium
+
+ * dh_installchangelogs: Fix a second regression that made
+ dh_installchangelogs ignore upstream changelogs in the
+ source directories. Thanks to gregor herrmann for
+ reporting the imcomplete fix. (Closes: #899248)
+
+ -- Niels Thykier <niels@thykier.net> Wed, 23 May 2018 05:59:59 +0000
+
+debhelper (11.3.1) unstable; urgency=medium
+
+ * dh_installchangelogs: Fix logic error that made
+ dh_installchangelogs incorrectly ignore explicitly passed
+ changelogs. Thanks to Sven Joachim and Rene Engelhard
+ for reporting the bug. (Closes: #899248)
+
+ -- Niels Thykier <niels@thykier.net> Mon, 21 May 2018 20:02:32 +0000
+
+debhelper (11.3) unstable; urgency=medium
+
+ [ Niels Thykier ]
+ * Buildsystem.pm: Fix use of undefined variable in certain
+ error conditions.
+ * dh_makeshlibs: Support -VUpstream-Version and -VNone as
+ alternative to passing -V or omitting -V respectively.
+ * dh_makeshlibs: Make -VUpstream-Version the default in
+ compat 12 when -V is omitted. (Closes: #896464)
+ * dh_makeshlibs: Correct handling of an explicit -V when
+ a source builds multiple library packages and provides
+ explicit shlibs files for a subset of them. Previously,
+ the -V option could have been ignored for some of the
+ packages containing libraries.
+ * Dh_Lib.pm: Fall back to a regular mv(1) when rename fails
+ with EXDEV (cross mount point moves). This restores
+ debhelper's ability to move files between mount points,
+ which can happen in dh_builddeb has to correct the
+ extension of a binary package built by dpkg-deb.
+ Thanks to Evan Krall for the report. (Closes: #897569)
+ * dh_missing.1: Consistently mention that dh_missing
+ defaults to --list-missing in compat 12. Thanks to
+ Robie Basak for spotting the contradicting documentation.
+ (Closes: #898161)
+ * dh_compress: Avoid adding a duplicate ".gz" extension on
+ a symlink if it already has it. This can happen e.g. with
+ dh_installman recompresses a manpage that was compressed and
+ had a valid symlink to it. Thanks to Andreas Hasenack for
+ reporting the bug. (Closes: LP: #1765851)
+ * debian/control: Depend on dwz for dh_dwz.
+ * dh_dwz: Generate a per-package multifile by default. This
+ feature can be disabled by --no-dwz-multifile.
+ * dh: Run dh_dwz by default in compat 12.
+ * dh_dwz: Remove warning about the dwz feature being experimental.
+ * dwz.pm: Ditto.
+ * dh_installsystemd: Use the basename of the "tmpfiles" config
+ files. This makes "systemd-tmpfiles --create" search for it
+ in both /usr/lib/tmpfiles.d and in /etc/tmpfiles.d. With
+ this change the system administrator can now override the
+ "tmpfiles" config shipped by the package in
+ /usr/libtmpfiles.d. Thanks to Nick Groenen and Seyeong Kim
+ for filing the bug. (Closes: #894510)
+ * dh_installinit: Ditto.
+ * dh_installchangelogs: Look for changelog files installed by the
+ upstream build system in the package build dir (i.e. d/<pkg>/
+ and *not* debian/tmp!) and use them in preference to the one in the
+ source package where available. This avoids some cases of duplicated
+ upstream changelogs. Thanks to Evgeni Golov for the suggestion.
+ (Closes: #513521)
+ * dh_md5sums: Stop deleting empty md5sums files as dpkg (now) creates
+ the empty file on install if absent. Thanks to Rhonda D'Vine for
+ suggesting the improvement. (Closes: #776853)
+ * Dh_Lib.pm: Re-organise exports.
+ * Dh_Lib.pm: Retract "print_and_complex_doit"; the only potential
+ consumer went with a different code snippet.
+ * dh_installinitramfs: New tool to install initramfs hook scripts and
+ handle related maintscripts. Thanks to Evgeni Golov for the
+ suggestion. (Closes: #491027)
+ * installinitramfs.pm: New sequence to enable dh_installinitramfs in
+ compat 11 and earlier.
+ * dh_installdirs: Add --(no-)create-in-sourcedir option to make
+ dh_installdirs create directories in the source directory in addition
+ in the package build directory. Furthermore, dh_installdirs now
+ accepts --sourcedir to overrule the default source directory (just
+ like e.g. dh_install). Thanks to Robert Luberda for the suggestion.
+ (Closes: #816332)
+ * Buildsystem.pm: Move code from Dh_Buildsystems.pm to Buildsystem.pm
+ to make the latter independent of the former. This makes it possible
+ to load Buildsystem.pm without debian/control being present. Thanks
+ to Andreas Tille for the bug report. (Closes: #897026)
+ * dh_installinit.1: Fix some incorrect markup in the documentation of
+ --no-enable.
+ * makefile.pm: Revert the use of -O/-Oline for make, which helps
+ debugging what commands time out on the buildds. Thanks to
+ Adrian Bunk for the report. (Closes: #895196)
+ * dh_testroot.1: Update R³ documentation to reflect the current
+ implementation and not the initial draft. Thanks to Jens Reyer
+ for reporting the inconsistency. (Closes: #899125)
+ * d/changelog: Retroactively add Closes for LP bug #1766102 in 11.2
+ release.
+ * Dh_Lib.pm: Correct control parser to permit zero or more leading
+ space after the "Section" field (instead of "exactly one" space).
+ * python_distutils.pm: Deprecate the python-distutils build system
+ and mark it as removed in compat 12. Users are recommended to
+ migrate to the third-party build system called "pybuild". This
+ deprecation implies that python3 (among other) will not be
+ supported in the python-distutils build system.
+ (Closes: #568033, #597105, #597342, #769840, #813686, #898347)
+ * Dh_Lib.pm: Remove warning for using "debhelper-compat"
+ build-dependency.
+
+ [ Dmitry Shachnev ]
+ * qmake.pm: Use ${DEB_HOST_GNU_TYPE}-qmake wrapper for
+ cross-compilation. (Closes: #895286)
+
+ [ Helmut Grohne ]
+ * cmake: Pass CC/CXX environment variables down during native
+ compilation as well. (Closes: #897083)
+
+ [ Chris Lamb ]
+ * dh_listpackages.1: Document that packages are listed in the
+ order that they appear in debian/control.
+ (Closes: #897949)
+
+ [ Peter Pentchev ]
+ * Dh_Lib: Permit leading and trailing whitespace around the
+ debhelper-compat dependency when it is the first or the last
+ relation listed. (Closes: #897937)
+
+ [ Jakub Wilk ]
+ * dh_usrlocal: Fix invalid POD markup.
+
+ -- Niels Thykier <niels@thykier.net> Sun, 20 May 2018 20:35:00 +0000
+
+debhelper (11.2.1) unstable; urgency=medium
+
+ * Buildsystem.pm: Correctly pass build directory values to
+ target buildsystems. Thanks to Helmut Grohne, Adrian Bunk
+ and Tobias Frost for the reports and debugging.
+ (Closes: #895174, #895181)
+ * Buildsystems: Avoid choosing a build system for the clean
+ step if it is not necessary. Previously, debhelper could
+ choose a "random" build system that would prefer building
+ in a separate build directory on the basis that the build
+ directory should be removed. With this, change we only
+ choose such a build system if there is a build directory
+ to remove.
+
+ -- Niels Thykier <niels@thykier.net> Sun, 08 Apr 2018 08:47:35 +0000
+
+debhelper (11.2) unstable; urgency=medium
+
+ [ Niels Thykier ]
+ * debhelper.7: Add a ~ to the suggested Build-Depends to ensure
+ backports also work for debhelper with single integer versions.
+ Thanks to Trent W. Buck for the suggestion. (Closes: #894666)
+ * makefile.pm: Use -Oline with make. This avoids make mistaking
+ a target name for a value for -O and should make build time
+ outs less likely for "long" targets. (Closes: #894573)
+ * Dh_Lib.pm: Fix bug that make debhelper trip on packages with
+ the version "0". Thanks to Chris Lamb for reporting the bug
+ plus debugging the issue. (Closes: #894895, LP: #1766102)
+ * Buildsystem.pm: Rewrite to support build systems that generate
+ build files for another build system (without using
+ inheritance). This enables generator build systems to have
+ multiple backends.
+ * cmake.pm: Support ninja as alternative backend (by using the
+ build system cmake+ninja). Thanks to Kyle Edwards for the
+ suggestion. (Closes: #895044)
+ * meson.pm: Rewrite as a generator build system with ninja as
+ the only backend.
+ * debhelper.7: Recommend packagers to use "debian/<pkg>.<file>"
+ over "debian/<file>" in most cases. Thanks to Johannes
+ Schauer for the suggestion.
+ * dh_usrlocal: Implement a simple guard for directories that
+ will likely cause issues in the shell snippets.
+ * dh_usrlocal: Use the new rules from Debian Policy 4.1.4 to
+ determine the default ownership and mode for directories.
+ * d/control: Bump Standards-Versions to 4.1.4. Beyond the
+ dh_usrlocal change listed above, no changes were required.
+
+ [ Nicolas Boulenguez ]
+ * dh_installxfonts: Fix typo that causes a misc:Depends on
+ non-existing xfont-utils. (Closes: #894835)
+ * dh_installwm.1: Document --all. (Closes: #895011)
+ * dh_usrlocal: Fix bug where the generated prerm script generated
+ by dh_usrlocal could remove a directory directly in /usr/local.
+ (Closes: #894549)
+
+ [ Mattia Rizzolo ]
+ * Lower the version restrictions on dpkg and dpkg-dev. They are not
+ needed anymore, as R³ support is not implied anymore, but requires
+ an environment variable to be passed.
+
+ -- Niels Thykier <niels@thykier.net> Sat, 07 Apr 2018 19:23:32 +0000
+
+debhelper (11.1.6) unstable; urgency=medium
+
+ * Dh_Lib: Avoid passing invalid parameters to a function, which
+ caused tons of "package ARRAY(...) is not in control info"
+ warnings from dh in some cases. It triggers when dh thinks
+ the package might have architecture qualified debhelper config
+ files. The warning is harmless (besides the noise) for all
+ native builds and most cross builds, but it did invalidate
+ attempt to make pkgfile() use "DEB_TARGET_ARCH{,_OS}"
+ (see 11.1.5~alpha1). Thanks to Andreas Beckmann for reporting
+ the issue. (Closes: #891546)
+ * dh: Refactor handling of sequences to simplify some code paths.
+ * autopkgtests: Remove "use-name" tests as it no longer works.
+ The debhelper module makes assumptions in which directory it is
+ run from and the test breaks these assumptions.
+ * debian/control: Comment out versioned dependency on make.
+ It is not strictly necessary for Debian and causes issues with
+ make-guile. On the other hand, it is useful for people
+ backporting debhelper on derivatives and hench leaving it as a
+ comment. (Closes: #892586)
+ * debian/control: Bump dependency on dh-autoreconf for the fix for
+ #889567.
+ * dh_installinfo: Accept --sourcedir like the documentation says
+ for compat 11. Prevently the option was incorrectly silently
+ ignored. Thanks to Nicolas Boulenguez for the report and the
+ patch. (Closes: #894226)
+ * dh_ucf.1: Apply patch from Nicolas Boulenguez to add missing
+ documentation of the "--all" and non-option parameters.
+ (Closes: #894228)
+ * dh_installxfonts: Apply patch from Nicolas Boulenguez. This
+ ensures that the generated maintscript snippets are bit-for-bit
+ reproducible when a package ships xfons in multiple fonts
+ directories. (Closes: #894227)
+ * Dh_Lib: Improve the "make_symlink" code to avoid non-compliant
+ symlinks when the link name was not a normalized path. Note
+ that ".."-segments are now disallowed in the link name (but not
+ the link target). Thanks to Nicolas Boulenguez for reporting
+ the bug plus the test cases. (Closes: #894229)
+ * dh_installinfo: Report installed files to dh_missing. Thanks
+ to Daniel Kahn Gillmor for reporting this omission.
+ (Closes: #893160)
+ * Dh_Lib: Make Dh_Lib loadable again without a debian/control being
+ present. This makes the autopkgtests work again.
+
+ -- Niels Thykier <niels@thykier.net> Thu, 29 Mar 2018 19:26:59 +0000
+
+debhelper (11.1.5) unstable; urgency=medium
+
+ * Upload to unstable.
+ * Add a warning for using the new experimental feature for
+ requesting the compat level via the Build-Depends field.
+
+ -- Niels Thykier <niels@thykier.net> Sun, 25 Feb 2018 10:05:22 +0000
+
+debhelper (11.1.5~alpha1) experimental; urgency=medium
+
+ * dh_installdocs: Add missing documentation about --sourcedir
+ in compat 11.
+ * dh_installdocs: Document that d/tmp is used by default
+ in compat 11.
+ * dh_installexamples: Ditto.
+ * dh_installinfo: Ditto.
+ * dh_installman: Ditto.
+ * meson.pm: Apply patch from Jakub Wilk to fix typo in the name
+ of the "C.UTF-8" locale.
+ * autoscripts/postinst-systemd-restart: Apply patch from
+ Christoph Biedl to fix indentation. (Closes: #890373)
+ * dh_testroot: With the advent of DEB_RULES_REQUIRES_ROOT, it
+ no longer needs to read debian/control to tell whether root
+ is needed or not. However, the warning remains for calling
+ dh_testroot outside the source root (as we may need to check
+ the compat level in a future version of debhelper).
+ * makefile.pm: Synchronize output from make (via -O) when
+ make runs in parallel except when STDOUT is a TTY. Thanks
+ to Goswin von Brederlow for the suggestion. (Closes: #768791)
+ * dh_gencontrol: Avoid uninitialized value warning when there
+ are no build-ids (e.g. because the builder disabled the
+ dbgsym building via DEB_BUILD_OPTIONS). This regression
+ was introduced in 11.1. Thanks to Christian Marillat for
+ reporting the bug. (Closes: #890736)
+ * Dh_Lib: pkgfile() now properly uses for DEB_TARGET_ARCH{,_OS}
+ when the package is set to be built for the target
+ architecture.
+ * d/control: Drop dependency on binutils; it does not reflect
+ our actual requirement and the package or builder will ensure
+ that the current binutils is installed for other reasons
+ any way. Thanks to Helmut Grohne for the report.
+ (Closes: #891187)
+ * Dh_Lib: Add an experimental feature to determine the requested
+ compat level from the Build-Depends field.
+
+ -- Niels Thykier <niels@thykier.net> Sat, 24 Feb 2018 16:01:31 +0000
+
+debhelper (11.1.4) unstable; urgency=medium
+
+ * qmake.pm/qmake4.pm: Avoid global state in the build systems.
+ * dh_makeshlibs: Fix --no-act, which could still cause writes
+ to the shlibs file. Thanks to Sven Joachim for reporting it.
+ (Closes: #888974)
+ * dh_installdocs: Discard auto-detected main doc package when
+ passed -A/--all as it causes file-conflicts.
+ (Closes: #886108, #888294)
+ * Dh_Lib: Fix regression where "foo{bar}" would not be matched
+ when the pattern was handled as a glob. The bug was
+ introduced in debhelper/10.6. Thanks to Wouter Verhelst for
+ finding the bug. (Closes: #888251)
+ * d/control: Update the Vcs-* fields to point to
+ salsa.debian.org as a part of the migration from alioth.
+ * d/control: Update maintainer address debhelper@packages.d.o
+ as a part of the migration from alioth. Any subscription
+ to debhelper-devel@lists.alioth.debian.org should be
+ replaced by a subscription in tracker.debian.org or
+ salsa.debian.org.
+ * d/control: Remove Bernhard R. Link from uploaders as he does
+ not appear to be active in debhelper at the moment. Thanks
+ to Bernhard for his past contributions.
+ * d/control: Bump (Build-)Dependency on dpkg to ensure that
+ dpkg provides DEB_RULES_REQUIRES_ROOT and DEB_GAIN_ROOT_CMD
+ as a part of its Rules-Requires-Root support.
+ * Dh_Lib.pm: Rely on DEB_RULES_REQUIRES_ROOT instead of the
+ field to determine whether or not tools may "root-only"
+ actions (such as chown'ing).
+ * d/control: Bump dependency on dh-autoreconf to ensure that
+ packages do not experience #887482.
+ * makefile.pm: Ensure that command line arguments are passed
+ deterministically to make when cross-compiling.
+
+ -- Niels Thykier <niels@thykier.net> Wed, 31 Jan 2018 21:36:13 +0000
+
+debhelper (11.1.3) unstable; urgency=medium
+
+ * autoscripts/*: Improve rollback handling of many scripts.
+ Notably a lot of scripts failed to rerun the postinst parts
+ on an "abort-upgrade". (Closes: #446856)
+ * debian/control: Add a Breaks on meson to ensure that we have
+ meson (>= 0.40.0) as the meson build system uses --wrap-mode.
+ This is mostly relevant for backports.
+ * Dh_Lib.pm: When printing commands (e.g. for doit), also show
+ changes to the environment (when done as a part of the
+ command).
+ * ninja.pm: Set LC_ALL=C.UTF-8 when calling ninja to avoid
+ meson choking on UTF-8 characters when it embeds itself into
+ e.g. the build or install. (Closes: #873831)
+ * dh: Remove the assumption that sequences will supply only
+ "safe no-op" parameters to commands. Thanks to Axel Beckert
+ and Sascha Steinbiss for the report. (Closes: #887727)
+
+ -- Niels Thykier <niels@thykier.net> Sat, 20 Jan 2018 18:26:06 +0000
+
+debhelper (11.1.2) unstable; urgency=medium
+
+ * dh: Fix non-sense error about a missing "startpoint object
+ method".
+
+ -- Niels Thykier <niels@thykier.net> Sun, 07 Jan 2018 21:31:40 +0000
+
+debhelper (11.1.1) unstable; urgency=medium
+
+ * dh: Fix an off-by-one in a compat check. This fixes an
+ internal error for compat 9 packages that requires dh to
+ recurse into the debian/rules file. Thanks to Helmut
+ Grohne for reporting the bug. (Closes: #886518)
+
+ -- Niels Thykier <niels@thykier.net> Sun, 07 Jan 2018 09:48:17 +0000
+
+debhelper (11.1) unstable; urgency=medium
+
+ [ Paul Tagliamonte ]
+ * dh: Provide the DH_EXTRA_ADDONS environment as a method for
+ e.g. derivatives to enable additional debhelper add-ons.
+ It is *not* a replacement for the --with parameter (which
+ package maintainers should still use). (Closes: #570935)
+
+ [ Hideki Yamane ]
+ * Fix typo of unnecessary. (Closes: #884574)
+
+ [ Niels Thykier ]
+ * dh_missing: Support wildcards in debian/not-installed. Thanks
+ to Maximiliano Curia for the suggestion. (Closes: #884556)
+ * dh_missing: Tweak handling of missing source directory and
+ single binary packages.
+ * dh_missing: Make --list-missing the default in compat 12.
+ Thanks to Daniel Leidert and Christian Göttsche for the
+ suggestions. (Closes: #650129, #858834)
+ * meson.pm: Set LC_ALL to C.UTF-8 when invoking meson and
+ debcrossgen (helper tool for cross-building). Thanks to
+ Jeremy Bicha for the suggestion. (Closes: #873831)
+ * dh_makeshlibs: Avoid forking a shell per line in the
+ generated shlibs file.
+ * dh_makeshlibs: Find all libraries with an unversioned SONAME
+ field (and not just the unversioned ones containing ".so").
+ * dh_makeshlibs: In compat 12, stop passing ELF binaries without
+ a SONAME to dpkg-gensymbols. Thanks to Steve Langasek for the
+ report. (Closes: #653640)
+ * dh_compress: In compat 12, stop compressing any thing in
+ /usr/share/doc/$pkg/examples. Thanks to Piotr Ożarowski for
+ the suggestion. (Closes: #593382)
+ * dh_installinit: Support a new --no-enable parameter to setup the
+ init script with the "defaults-disabled" and add the proper
+ versioned dependency on "init-system-helpers (>= 1.51)", which is
+ the first (functional) version with support for
+ "defaults-disabled". Thanks to Laurent Bigonville for the
+ report and Evgeni Golov for filing #857452. (Closes: #709384)
+ * Dh_Lib.pm: Make "exit 1" the default error-handler instead of
+ "exit $?" as this makes it easier to migrate from sed-based
+ autoscript substitutions to the new hash-based ones.
+ * autoscripts/*systemd*: Also use "|| true" in removal scripts for
+ systemd related tools if we do it in other scripts for the same
+ command. Thanks to Laurent Bigonville for the report.
+ (Closes: #761272)
+ * dh_installinit: Perform the autoscript substitutions without
+ needing a shell.
+ * dh_clean: Skip cleaning in the '.pc' and '_darcs' directories.
+ (Closes: #566861)
+ * dh_strip: Do not strip debug symbols in ".../debug/.build-id/".
+ Thanks to Mattia Rizzolo for reporting the bug.
+ (Closes: #886037)
+ * dh_gencontrol: Deduplicate debug-ids before inserting them into
+ the control file. Thanks to Mattia Rizzolo for reporting the
+ bug. (Closes: #886038)
+ * dh: Rewrite sequence handling to ensure that dh does not "inline"
+ a subtarget of a target it recurses into. Thanks to James
+ Cowgill for reporting the bug. (Closes: #880840)
+ * d/control: Add a Breaks against cmake (<< 3.8~) to ensure that
+ cmake response to the /run change in compat 11. Thanks to
+ Adrian Bunk for the suggestion. (Closes: #886127)
+ * Dh_Lib.pm/dh_testroot: Support the DEB_GAIN_ROOT_CMD environment
+ that replaces DPKG_GAIN_ROOT_CMD.
+ * dh_installinit/dh_installsystemd: Re-order snippets so service
+ handling is always the first to happen in removal scripts and last
+ to happen on install scripts. This means that configuration file
+ management and systemd-tmpfiles handling will now always happen
+ before the service is started on install/upgrade. Thanks to
+ Дилян Палаузов and Simon McVittie for reporting the bug.
+ (Closes: #814285, #885998)
+ - Note that the deprecated dh_systemd_enable and dh_systemd_start
+ helpers have not been changed. Services handled by these may
+ still be started before configuration management happens.
+ * debian/control: Drop some very old versioned constraints that are
+ no longer important.
+ * dh_installsystemd: Fix NOOP PROMISE to account for the tmpfiles.d
+ files.
+ * debian/control: Bump Standards-Versions to 4.1.3 - no additional
+ changes required.
+
+ [ Translations ]
+ * Update French translation (Baptiste Jammet) (Closes: #886279)
+
+ -- Niels Thykier <niels@thykier.net> Sat, 06 Jan 2018 21:17:47 +0000
+
+debhelper (11) unstable; urgency=medium
+
+ [ Niels Thykier ]
+ * dh_installdeb: Do basic validation of rm_conffile and mv_conffile
+ parameters in "maintscript" parameters in compat 10 and newer.
+ In compat 12, this is an error. Thanks to Andreas Beckmann for
+ the suggestions. (Closes: #882626)
+ * dh_strip: Fix bug where the Build-Id field would not be properly
+ filled when using --dbg-package. Thanks to Paul Wise for finding
+ and reporting the bug. (Closes: #884152)
+ * d/control: Bump Standards-Version to 4.1.2 - no changes required.
+ * dh_installsystemd: Remove neutering of dh_installsystemd in compat
+ levels prior to 11 now that compat 11 is stable.
+
+ [ Chris Leick ]
+ * debhelper.pod: Improve the wording of two parapraphs.
+
+ [ Translations ]
+ * Update Portuguese translation (Américo Monteiro)
+ (Closes: #883635)
+ * Update German translation (Chris Leick) (Closes: #884205)
+
+ -- Niels Thykier <niels@thykier.net> Sat, 16 Dec 2017 15:41:17 +0000
+
debhelper (10.10.9~dyson1) unstable; urgency=medium
[ Dmitry Shachnev ]
@@ -969,14 +1548,6 @@ debhelper (10+unreleased+dyson1) unstable; urgency=medium
pass the CC and CXX variables set to the host compilers when
cross-building. Thanks to Helmut Grohne for the idea and
the initial patch. (Closes: #836988)
-<<<<<<< HEAD
-
- [ Igor Pashev ]
- * Package for Dyson
- * dh_systemd_* are stubs on non-linux
-
- -- Igor Pashev <pashev.igor@gmail.com> Wed, 21 Sep 2016 22:57:21 +0300
-=======
* dh_md5sums.1: Mention dpkg --verify as a consumer of the
output file. Thanks to Guillem Jover for reporting it.
* debhelper-obsolete-compat.pod: Add a manpage for the
@@ -993,8 +1564,11 @@ debhelper (10+unreleased+dyson1) unstable; urgency=medium
* d/copyright: Correct copyright and license of dh_systemd*
tools.
+ [ Igor Pashev ]
+ * Package for Dyson
+ * dh_systemd_* are stubs on non-linux
+
-- Niels Thykier <niels@thykier.net> Sat, 01 Oct 2016 20:45:27 +0000
->>>>>>> 1a52f701f3c9fb3d1dc18461e06176dc046b0f42
debhelper (10) unstable; urgency=medium
diff --git a/debian/control b/debian/control
index bc82c57b..e1fa38b4 100644
--- a/debian/control
+++ b/debian/control
@@ -1,36 +1,56 @@
Source: debhelper
Section: devel
Priority: optional
-Maintainer: Debhelper Maintainers <debhelper-devel@lists.alioth.debian.org>
+Maintainer: Debhelper Maintainers <debhelper@packages.debian.org>
Uploaders: Niels Thykier <niels@thykier.net>,
- Bernhard R. Link <brlink@debian.org>
-Build-Depends: dpkg (>= 1.19.0.3~),
- dpkg-dev (>= 1.19.0.3~),
+Build-Depends: dpkg-dev (>= 1.18.0~),
perl:any,
- po4a (>= 0.24)
+ po4a,
Rules-Requires-Root: no
-Standards-Version: 4.1.1
+Standards-Version: 4.1.4
Testsuite: autopkgtest-pkg-perl
-Vcs-Git: https://anonscm.debian.org/git/debhelper/debhelper.git
-Vcs-Browser: https://anonscm.debian.org/git/debhelper/debhelper.git
+Vcs-Git: https://salsa.debian.org/debian/debhelper.git
+Vcs-Browser: https://salsa.debian.org/debian/debhelper
Package: debhelper
Architecture: all
Depends: autotools-dev,
- binutils,
- dh-autoreconf (>= 12~),
+# Version 12 is where dh-autoreconf supports --sourcedirectory.
+# Version 16 fixes #887482, version 17 fixes #889567
+# Constraint can be relaxed if packages do not rely/require any of the
+# above fixes
+ dh-autoreconf (>= 17~),
+# Version constraint is to get a version of dh-strip-nondeterminism
+# without several bugs. The constraint can be relaxed if an older
+# version is sufficient.
dh-strip-nondeterminism (>= 0.028~),
- dpkg (>= 1.19.0.3~),
- dpkg-dev (>= 1.19.0.3~),
+# dbgsym support landed in 1.18.0, 1.18.2 fixes a related nasty bug.
+ dpkg (>= 1.18.0~),
+ dpkg-dev (>= 1.18.2~),
+ dwz,
file (>= 3.23),
libdpkg-perl (>= 1.17.14),
- man-db (>= 2.5.1-1),
+ man-db,
po-debconf,
${misc:Depends},
${perl:Depends}
-Breaks: dh-systemd (<< 1.38)
+Breaks: dh-systemd (<< 1.38),
+# To ensure cmake understands -DCMAKE_INSTALL_RUNSTATEDIR=/run as used in compat 11
+# - Can be dropped (with the caveat that cmake packages may behave differently
+# depending on the version of cmake).
+ cmake (<< 3.9~),
+# meson build system uses --wrap-mode, which requires meson (>= 0.40.0)
+ meson (<< 0.40.0~),
+# Re-add if qt5-qmake is added to stretch-backports
+# The qmake cross wrapper was introduced in 5.9.2+dfsg-5, but got some important
+# fixes in the subsequent uploads. It is only needed for cross-building.
+# qt5-qmake (<< 5.9.2+dfsg-8),
Replaces: dh-systemd (<< 1.38)
-Suggests: dh-make, dwz
+Suggests: dh-make
+Provides: ${dh:CompatLevels},
+ dh-sequence-dwz,
+ dh-sequence-installinitramfs,
+ dh-sequence-systemd,
Multi-Arch: foreign
Description: helper programs for debian/rules
A collection of programs that can be used in a debian/rules file to
diff --git a/debian/gen-provides b/debian/gen-provides
new file mode 100644
index 00000000..5efd5a98
--- /dev/null
+++ b/debian/gen-provides
@@ -0,0 +1,16 @@
+#!/usr/bin/perl
+
+use strict;
+use warnings;
+use Debian::Debhelper::Dh_Version;
+use Debian::Debhelper::Dh_Lib ();
+
+my @provides;
+my $version = $Debian::Debhelper::Dh_Version::version;
+$version =~ s/~.*//; # Drop backports marker
+$version =~ s/^\d+\K\..*//;
+for (my $i = Debian::Debhelper::Dh_Lib::LOWEST_NON_DEPRECATED_COMPAT_LEVEL ; $i <= $version ; $i++) {
+ push(@provides, "debhelper-compat (= $i)");
+}
+print "dh:CompatLevels=" . join(", ", @provides) . "\n";
+
diff --git a/debian/rules b/debian/rules
index 6ac1ec55..756fe9c0 100755
--- a/debian/rules
+++ b/debian/rules
@@ -9,9 +9,16 @@
# We disable autoreconf to avoid build-depending on it (it does
# nothing for debhelper and it keeps the set of B-D smaller)
+PERL ?= perl
+
%:
./run dh $@ --without autoreconf --with build-stamp
# Disable as they are unneeded (and we can then be sure debhelper
# builds without needing autotools-dev, dh-strip-nondetermism etc.)
override_dh_update_autotools_config override_dh_strip_nondeterminism:
+
+override_dh_auto_install:
+ ./run dh_auto_install --destdir=debian/debhelper
+ PERLLIBDIR=$$($(PERL) -MConfig -e 'print $$Config{vendorlib}')/Debian/Debhelper ; \
+ $(PERL) -I"debian/debhelper/$${PERLLIBDIR}" debian/gen-provides > debian/debhelper.substvars
diff --git a/debian/tests/pkg-perl/use-name b/debian/tests/pkg-perl/use-name
deleted file mode 100644
index ffff5eca..00000000
--- a/debian/tests/pkg-perl/use-name
+++ /dev/null
@@ -1 +0,0 @@
-Debian::Debhelper::Dh_Lib
diff --git a/dh b/dh
index e4e77abf..dd23ba98 100755
--- a/dh
+++ b/dh
@@ -9,6 +9,7 @@ dh - debhelper command sequencer
use strict;
use warnings;
use Debian::Debhelper::Dh_Lib;
+use Debian::Debhelper::SequencerUtil;
our $VERSION = DH_BUILTIN_VERSION;
@@ -54,6 +55,16 @@ This is used when there is a third-party package that provides
debhelper commands. See the F<PROGRAMMING> file for documentation about
the sequence addon interface.
+A B<Build-Depends> relation on the package B<dh-sequence->I<addon>
+implies a B<--with> I<addon>. This avoids the need for an explicit
+B<--with> in F<debian/rules> that only duplicates what is already
+declared via the build dependencies in F<debian/control>. Note that
+only relations in the B<Build-Depends> field are considered
+(i.e. B<Build-Depends-Indep> and B<Build-Depends-Arch> are
+deliberately unsupported). Please keep in mind that B<dh> insists on
+"simple" relations (e.g. a relation like "B<dh-sequence->I<addon> |
+B<some-other-pkg>" will I<not> imply B<--with> I<addon>).
+
=item B<--without> I<addon>
The inverse of B<--with>, disables using the given addon. This option
@@ -291,18 +302,7 @@ matches, the last one in the sequence will be used.
# Stash this away before init modifies it.
my @ARGV_orig=@ARGV;
-
-if (not compat(9, 1)) {
- # Enable autoreconf'ing by default in compat 10 or later. Use the
- # sequence add-on so existing --without=autoreconf
- unshift(@ARGV, "--with=autoreconf");
- # Enable systemd support by default in compat 10 or later.
- # - compat 11 injects the dh_installsystemd tool directly in the
- # sequence instead of using a --with sequence.
- unshift(@ARGV, "--with=systemd") if compat(10, 1);
- unshift(@ARGV, "--with=build-stamp");
-}
-
+my (@addons, @addon_requests);
inhibit_log();
@@ -312,13 +312,12 @@ init(options => {
"before=s" => \$dh{BEFORE},
"remaining" => \$dh{REMAINING},
"with=s" => sub {
- my ($option,$value)=@_;
- push @{$dh{WITH}},split(",", $value);
+ my ($option, $value) = @_;
+ push(@addon_requests, map { "+${_}" } split(",", $value));
},
"without=s" => sub {
- my ($option,$value)=@_;
- my %without = map { $_ => 1 } split(",", $value);
- @{$dh{WITH}} = grep { ! $without{$_} } @{$dh{WITH}};
+ my ($option, $value) = @_;
+ push(@addon_requests, map { "-${_}" } split(",", $value));
},
"l" => \&list_addons,
"list" => \&list_addons,
@@ -363,10 +362,9 @@ if (! defined $sequence) {
# Also support completely empty override targets.
# Note: it's not safe to use rules_explicit_target before this check,
# since it causes dh to be run.
-my $dummy_target="debhelper-fail-me";
if ($sequence eq 'debian/rules' ||
$sequence =~ /^override_dh_/ ||
- $sequence eq $dummy_target) {
+ $sequence eq DUMMY_TARGET) {
exit 0;
}
@@ -413,6 +411,9 @@ qw{
dh_installppp
dh_installudev
dh_installgsettings
+},
+ (!compat(11) ? qw(dh_installinitramfs) : qw()),
+qw{
dh_bugfiles
dh_ucf
dh_lintian
@@ -429,11 +430,13 @@ qw{
dh_fixperms
dh_missing
});
-my @ba=qw{
+my @ba=(
+ (!compat(11) ? qw(dh_dwz) : qw()),
+qw{
dh_strip
dh_makeshlibs
dh_shlibdeps
-};
+});
if (! getpackages("arch")) {
@ba=();
}
@@ -449,25 +452,13 @@ $sequences{clean} = [@bd_minimal, qw{
}];
$sequences{'build-indep'} = [@bd];
$sequences{'build-arch'} = [@bd];
-if (! compat(8)) {
- # From v9, sequences take standard rules targets into account.
- $sequences{build} = [@bd_minimal, rules("build-arch"), rules("build-indep")];
- $sequences{'install-indep'} = [rules("build-indep"), @i];
- $sequences{'install-arch'} = [rules("build-arch"), @i];
- $sequences{'install'} = [rules("build"), rules("install-arch"), rules("install-indep")];
- $sequences{'binary-indep'} = [rules("install-indep"), @b];
- $sequences{'binary-arch'} = [rules("install-arch"), @ba, @b];
- $sequences{binary} = [rules("install"), rules("binary-arch"), rules("binary-indep")];
-}
-else {
- $sequences{build} = [@bd];
- $sequences{'install'} = [@{$sequences{build}}, @i];
- $sequences{'install-indep'} = [@{$sequences{'build-indep'}}, @i];
- $sequences{'install-arch'} = [@{$sequences{'build-arch'}}, @i];
- $sequences{binary} = [@{$sequences{install}}, @ba, @b];
- $sequences{'binary-indep'} = [@{$sequences{'install-indep'}}, @b];
- $sequences{'binary-arch'} = [@{$sequences{'install-arch'}}, @ba, @b];
-}
+$sequences{build} = [to_rules_target("build-arch"), to_rules_target("build-indep")];
+$sequences{'install-indep'} = [to_rules_target("build-indep"), @i];
+$sequences{'install-arch'} = [to_rules_target("build-arch"), @i];
+$sequences{'install'} = [to_rules_target("build"), to_rules_target("install-arch"), to_rules_target("install-indep")];
+$sequences{'binary-indep'} = [to_rules_target("install-indep"), @b];
+$sequences{'binary-arch'} = [to_rules_target("install-arch"), @ba, @b];
+$sequences{binary} = [to_rules_target("install"), to_rules_target("binary-arch"), to_rules_target("binary-indep")];
# Additional command options
my %command_opts;
@@ -557,13 +548,65 @@ sub list_addons {
exit 0;
}
-if (dpkg_architecture_value('DEB_HOST_ARCH_OS') eq 'illumos'
- && -x '/usr/bin/dh_smf') {
- push @{$dh{WITH}}, 'smf';
+sub _compute_addons {
+ my (@addon_requests_from_args) = @_;
+ my (@enabled_addons, %disabled_addons, %enabled);
+ my @addon_requests;
+
+ # Order is important; DH_EXTRA_ADDONS must come before everything
+ # else; then comes built-in and finally argument provided add-ons
+ # requests.
+ push(@addon_requests, map { "+${_}" } split(",", $ENV{DH_EXTRA_ADDONS}))
+ if $ENV{DH_EXTRA_ADDONS};
+ if (not compat(9, 1)) {
+ # Enable autoreconf'ing by default in compat 10 or later.
+ push(@addon_requests, '+autoreconf');
+
+ # Enable systemd support by default in compat 10 or later.
+ # - compat 11 injects the dh_installsystemd tool directly in the
+ # sequence instead of using a --with sequence.
+ push(@addon_requests, '+systemd') if compat(10, 1);
+ push(@addon_requests, '+build-stamp');
+ }
+ push(@addon_requests, map { "+${_}" } Debian::Debhelper::Dh_Lib::bd_dh_sequences());
+ push(@addon_requests, @addon_requests_from_args);
+
+ if (dpkg_architecture_value('DEB_HOST_ARCH_OS') eq 'illumos'
+ && -x '/usr/bin/dh_smf') {
+ push(@addon_requests, '+smf');
+ }
+
+ # Removing disabled add-ons are expensive (O(N) per time), so we
+ # attempt to make removals in bulk. Note that we have to be order
+ # preserving (due to #885580), so there is a limit to how "smart"
+ # we can be.
+ my $flush_disable_cache = sub {
+ @enabled_addons = grep { not exists($disabled_addons{$_}) } @enabled_addons;
+ for my $addon (keys(%disabled_addons)) {
+ delete($enabled{$addon});
+ }
+ %disabled_addons = ();
+ };
+
+ for my $request (@addon_requests) {
+ if ($request =~ s/^[+]//) {
+ $flush_disable_cache->() if %disabled_addons;
+ push(@enabled_addons, $request) if not $enabled{$request}++;
+ } elsif ($request =~ s/^-//) {
+ $disabled_addons{$request} = 1;
+ } else {
+ error("Internal error: Invalid add-on request: $request (Missing +/- prefix)");
+ }
+ }
+
+ $flush_disable_cache->() if %disabled_addons;
+ return @enabled_addons;
}
+@addons = _compute_addons(@addon_requests);
+
# Load addons, which can modify sequences.
-foreach my $addon (@{$dh{WITH}}) {
+foreach my $addon (@addons) {
my $mod="Debian::Debhelper::Sequence::$addon";
$mod=~s/-/_/g;
eval "use $mod";
@@ -576,10 +619,27 @@ if (! exists $sequences{$sequence}) {
error "Unknown sequence $sequence (choose from: ".
join(" ", sort keys %sequences).")";
}
-my @sequence=optimize_sequence(@{$sequences{$sequence}});
# The list of all packages that can be acted on.
my @packages=@{$dh{DOPACKAGES}};
+my @arch_packages = getpackages("arch");
+my @indep_packages = getpackages("indep");
+my %sequence2packages = (
+ 'build-arch' => \@arch_packages,
+ 'install-arch' => \@arch_packages,
+ 'binary-arch' => \@arch_packages,
+
+ 'build-indep' => \@indep_packages,
+ 'install-indep' => \@indep_packages,
+ 'binary-indep' => \@indep_packages,
+
+ 'clean' => \@packages,
+ 'build' => \@packages,
+ 'install' => \@packages,
+ 'binary' => \@packages,
+);
+
+my %completed_sequences;
# Get the options to pass to commands in the sequence.
# Filter out options intended only for this program.
@@ -592,16 +652,14 @@ if ($sequence eq 'build-arch' ||
push @options, "-a";
# as an optimisation, remove from the list any packages
# that are not arch dependent
- my %arch_packages = map { $_ => 1 } getpackages("arch");
- @packages = grep { $arch_packages{$_} } @packages;
+ @packages = @{$sequence2packages{$sequence}};
}
elsif ($sequence eq 'build-indep' ||
$sequence eq 'install-indep' ||
$sequence eq 'binary-indep') {
push @options, "-i";
# ditto optimisation for arch indep
- my %indep_packages = map { $_ => 1 } getpackages("indep");
- @packages = grep { $indep_packages{$_} } @packages;
+ @packages = @{$sequence2packages{$sequence}};
}
while (@ARGV_orig) {
my $opt=shift @ARGV_orig;
@@ -646,63 +704,115 @@ while (@ARGV_orig) {
}
# Figure out at what point in the sequence to start for each package.
-my %logged;
-my %startpoint;
-my %stamp_file;
+my (%logged, %startpoint, %stamp_file);
-if ( -f $build_stamp_file) {
+if ( -f $build_stamp_file and not compat(9)) {
open(my $fd, '<', $build_stamp_file) or error("open($build_stamp_file, ro) failed: $!");
while (my $line = <$fd>) {
chomp($line);
$stamp_file{$line} = 1;
}
close($fd);
+ my $build_indep_target_done = 1;
+ my $build_arch_target_done = 1;
+ for my $pkg (@{$sequence2packages{'build-arch'}}) {
+ if (not $stamp_file{$pkg}) {
+ $build_arch_target_done = 0;
+ last;
+ }
+ }
+ for my $pkg (@{$sequence2packages{'build-indep'}}) {
+ if (not $stamp_file{$pkg}) {
+ $build_indep_target_done = 0;
+ last;
+ }
+ }
+ $completed_sequences{'build-arch'} = 1 if $build_arch_target_done;
+ $completed_sequences{'build-indep'} = 1 if $build_indep_target_done;
+ $completed_sequences{'build'} = 1 if $build_indep_target_done and $build_arch_target_done;
}
-# Lazy cache of the result of optimize_sequence on the "build"
-# sequence
-my $optimized_build_seq;
-foreach my $package (@packages) {
- my @log;
- if (compat(9)) {
- @log = load_log($package, \%logged);
- } elsif (exists($stamp_file{$package})) {
- if (not defined($optimized_build_seq)) {
- # Expand "build" so we can accurately filter out
- # everything (admittedly, it is bit of an over
- # approximation)
- # Related bug: #851071
- my @seq = optimize_sequence(@{$sequences{'build'}});
- $optimized_build_seq = \@seq;
+# In compat <= 8, the sequences are always inlined (those versions do not
+# recurse into debian/rules anyway). In compat 9+, we never inline an
+# existing rules target.
+my ($rules_targets, $full_sequence) = unpack_sequence(\%sequences,
+ $sequence,
+ (!compat(8) ? 0 : 1),
+ \%completed_sequences
+ );
+my $stoppoint = $#{$full_sequence};
+
+if (compat(9)) {
+ foreach my $package (@packages) {
+ my @log = load_log($package, \%logged);
+ if ($dh{AFTER}) {
+ # Run commands in the sequence that come after the
+ # specified command.
+ $startpoint{$package} = command_pos($dh{AFTER}, @{$full_sequence}) + 1;
+ # Write a dummy log entry indicating that the specified
+ # command was, in fact, run. This handles the case where
+ # no commands remain to run after it, communicating to
+ # future dh instances that the specified command should not
+ # be run again.
+ write_log($full_sequence->[$startpoint{$package} - 1], $package);
+ }
+ elsif ($dh{REMAINING}) {
+ # Start at the beginning so all remaining commands will get
+ # run.
+ $startpoint{$package} = 0;
+ }
+ else {
+ # Find the last logged command that is in the sequence, and
+ # continue with the next command after it. If no logged
+ # command is in the sequence, we're starting at the beginning..
+ $startpoint{$package} = 0;
+ COMMAND:
+ foreach my $command (reverse @log) {
+ foreach my $i (0 .. $#{$full_sequence}) {
+ if ($command eq $full_sequence->[$i]) {
+ $startpoint{$package} = $i + 1;
+ last COMMAND;
+ }
+ }
+ }
}
- @log = @{$optimized_build_seq};
- # We do not need %logged in compat 10
}
- if ($dh{AFTER}) {
- # Run commands in the sequence that come after the
- # specified command.
- $startpoint{$package}=command_pos($dh{AFTER}, @sequence) + 1;
- # Write a dummy log entry indicating that the specified
- # command was, in fact, run. This handles the case where
- # no commands remain to run after it, communicating to
- # future dh instances that the specified command should not
- # be run again.
- write_log($sequence[$startpoint{$package}-1], $package);
+ # Figure out what point in the sequence to go to.
+ if ($dh{UNTIL}) {
+ $stoppoint = command_pos($dh{UNTIL}, @{$full_sequence});
+ } elsif ($dh{BEFORE}) {
+ $stoppoint = command_pos($dh{BEFORE}, @{$full_sequence}) - 1;
}
- elsif ($dh{REMAINING}) {
- # Start at the beginning so all remaining commands will get
- # run.
- $startpoint{$package}=0;
+} else {
+ foreach my $package (@packages) {
+ $startpoint{$package} = 0;
}
- else {
- # Find the last logged command that is in the sequence, and
- # continue with the next command after it. If no logged
- # command is in the sequence, we're starting at the beginning..
- $startpoint{$package}=0;
-COMMAND: foreach my $command (reverse @log) {
- foreach my $i (0..$#sequence) {
- if ($command eq $sequence[$i]) {
- $startpoint{$package}=$i+1;
+}
+
+for my $rules_command (@{$rules_targets}) {
+ my $rules_target = extract_rules_target_name($rules_command)
+ // error("Internal error: $rules_command was not a rules target!?");
+ # Don't pass DH_ environment variables, since this is
+ # a fresh invocation of debian/rules and any sub-dh commands.
+ delete($ENV{DH_INTERNAL_OPTIONS});
+ delete($ENV{DH_INTERNAL_OVERRIDE});
+ run("debian/rules", $rules_target);
+ my $override_packages = $sequence2packages{$rules_target} // \@packages;
+ for my $package (@{$override_packages}) {
+ my (undef, $seq) = unpack_sequence(\%sequences, $rules_target, 1);
+ COMMAND: for my $c (reverse(@{$seq})) {
+ for my $j (0 .. $#{$full_sequence}) {
+ if ($c eq $full_sequence->[$j]) {
+ # Unfortunately, we do not guarantee any order
+ # between the run targets. Assuming e.g.
+ # "install-arch" and "build" are opague targets
+ # then we could process "install-arch" first and
+ # then "build". In this case, it is important
+ # that we do not "reset" the starting point for
+ # "arch" packages. Otherwise, we might repeat
+ # part of the "install-arch" sequence when we
+ # should not.
+ $startpoint{$package} = $j + 1 if $j + 1 > $startpoint{$package};
last COMMAND;
}
}
@@ -710,25 +820,16 @@ COMMAND: foreach my $command (reverse @log) {
}
}
-# Figure out what point in the sequence to go to.
-my $stoppoint=$#sequence;
-if ($dh{UNTIL}) {
- $stoppoint=command_pos($dh{UNTIL}, @sequence);
-}
-elsif ($dh{BEFORE}) {
- $stoppoint=command_pos($dh{BEFORE}, @sequence) - 1;
-}
-
# Now run the commands in the sequence.
foreach my $i (0..$stoppoint) {
- my $command=$sequence[$i];
+ my $command = $full_sequence->[$i];
# Figure out which packages need to run this command.
my @todo;
my @opts=@options;
foreach my $package (@packages) {
if ($startpoint{$package} > $i ||
- $logged{$package}{$sequence[$i]}) {
+ $logged{$package}{$full_sequence->[$i]}) {
push @opts, "-N$package";
}
else {
@@ -737,15 +838,9 @@ foreach my $i (0..$stoppoint) {
}
next unless @todo;
- my $rules_target = rules_target($command);
- if (defined $rules_target) {
- # Don't pass DH_ environment variables, since this is
- # a fresh invocation of debian/rules and any sub-dh commands.
- delete $ENV{DH_INTERNAL_OPTIONS};
- delete $ENV{DH_INTERNAL_OVERRIDE};
- run("debian/rules", $rules_target);
- next;
- }
+ my $rules_target = extract_rules_target_name($command);
+ error("Internal error: $command is a rules target, but it is not supported to be!?") if defined($rules_target);
+
if (my $stamp_file = stamp_target($command)) {
my %seen;
print " create-stamp ".escape_shell($stamp_file)."\n";
@@ -897,42 +992,6 @@ sub run_override {
return @rest;
}
-sub optimize_sequence {
- my (@commands) = @_;
- my (@sequence, %seen);
- my $add=sub {
- # commands can appear multiple times when sequences are
- # inlined together; only the first should be needed
- my $command=shift;
- if (! $seen{$command}) {
- $seen{$command}=1;
- push @sequence, $command;
- }
- };
- foreach my $command (@commands) {
- my $rules_target=rules_target($command);
- if (defined $rules_target &&
- ! defined rules_explicit_target($rules_target)) {
- # inline the sequence for this implicit target
- $add->($_) foreach optimize_sequence(@{$sequences{$rules_target}});
- }
- else {
- $add->($command);
- }
- }
- return @sequence;
-}
-
-sub rules_target {
- my ($command) = @_;
- if ($command =~ /^debian\/rules\s+(.*)/) {
- return $1
- }
- else {
- return undef;
- }
-}
-
sub stamp_target {
my ($command) = @_;
if ($command =~ s/^create-stamp\s+//) {
@@ -941,71 +1000,6 @@ sub stamp_target {
return;
}
-sub rules {
- return "debian/rules ".join(" ", @_);
-}
-
-{
-my %targets;
-my $rules_parsed;
-
-sub rules_explicit_target {
- # Checks if a specified target exists as an explicit target
- # in debian/rules.
- # undef is returned if target does not exist, 0 if target is noop
- # and 1 if target has dependencies or executes commands.
- my ($target) = @_;
-
- if (! $rules_parsed) {
- my $processing_targets = 0;
- my $not_a_target = 0;
- my $current_target;
- open(MAKE, "LC_ALL=C make -Rrnpsf debian/rules $dummy_target 2>/dev/null |");
- while (<MAKE>) {
- if ($processing_targets) {
- if (/^# Not a target:/) {
- $not_a_target = 1;
- }
- else {
- if (!$not_a_target && /^([^#:]+)::?\s*(.*)$/) {
- # Target is defined. NOTE: if it is a dependency of
- # .PHONY it will be defined too but that's ok.
- # $2 contains target dependencies if any.
- $current_target = $1;
- $targets{$current_target} = ($2) ? 1 : 0;
- }
- else {
- if (defined $current_target) {
- if (/^#/) {
- # Check if target has commands to execute
- if (/^#\s*(commands|recipe) to execute/) {
- $targets{$current_target} = 1;
- }
- }
- else {
- # Target parsed.
- $current_target = undef;
- }
- }
- }
- # "Not a target:" is always followed by
- # a target name, so resetting this one
- # here is safe.
- $not_a_target = 0;
- }
- }
- elsif (/^# Files$/) {
- $processing_targets = 1;
- }
- }
- close MAKE;
- $rules_parsed = 1;
- }
-
- return $targets{$target};
-}
-
-}
sub warn_deprecated {
foreach my $deprecated ('until', 'after', 'before', 'remaining') {
@@ -1049,6 +1043,9 @@ sub can_skip {
return 0 if $user_specified_options ||
(exists $ENV{DH_OPTIONS} && length $ENV{DH_OPTIONS});
+ return 0 if exists($command_opts{$command})
+ and @{$command_opts{$command}};
+
if (! defined $skipinfo{$command}) {
$skipinfo{$command}=[extract_skipinfo($command)];
}
@@ -1095,23 +1092,6 @@ sub can_skip {
return 1;
}
-sub extract_skipinfo {
- my ($command) = @_;
-
- foreach my $dir (split (':', $ENV{PATH})) {
- if (open (my $h, "<", "$dir/$command")) {
- while (<$h>) {
- if (m/PROMISE: DH NOOP( WITHOUT\s+(.*))?\s*$/) {
- close $h;
- return split(' ', $2) if defined($2);
- return ('always-skip');
- }
- }
- close $h;
- return ();
- }
- }
-}
=head1 SEE ALSO
diff --git a/dh_clean b/dh_clean
index dc1ba5d6..15466a9b 100755
--- a/dh_clean
+++ b/dh_clean
@@ -162,8 +162,9 @@ if (! $dh{D_FLAG}) {
}
# vcs directories that should not have their contents cleaned
+ # (plus the internal "quilt" directory)
my $vcs_dirs=join " -o ", map { "-path .\\*/" . $_ }
- (".git", ".svn", ".bzr", ".hg", "CVS");
+ (".git", ".svn", ".bzr", ".hg", "CVS", '.pc', '_darcs');
# Remove other temp files.
complex_doit("find . $find_options \\( \\( \\
diff --git a/dh_compress b/dh_compress
index b4a891bf..ac426323 100755
--- a/dh_compress
+++ b/dh_compress
@@ -90,6 +90,8 @@ on_pkgs_in_parallel {
# Run the file name gathering commands from within the directory
# structure that will be effected.
next unless -d $tmp;
+ my $ignore_doc_dirs = '-name _sources';
+ $ignore_doc_dirs .= qq{ -o -path "usr/share/doc/$package/examples"} if not compat(11);
$olddir = getcwd() if not defined $olddir;
verbose_print("cd $tmp");
chdir($tmp) || error("Can't cd to $tmp: $!");
@@ -117,7 +119,7 @@ on_pkgs_in_parallel {
! -iname "*.jpeg" \\
2>/dev/null || true;
find usr/share/doc \\
- \\( -type d -name _sources -prune -false \\) -o \\
+ \\( -type d \\( $ignore_doc_dirs \\) -prune -false \\) -o \\
-type f \\( -size +4k -o -name "changelog*" -o -name "NEWS*" \\) \\
\\( -name changelog.html -o ! -iname "*.htm*" \\) \\
! -iname "*.xhtml" \\
@@ -139,17 +141,7 @@ on_pkgs_in_parallel {
# Exclude files from compression.
if (@files && defined($dh{EXCLUDE}) && $dh{EXCLUDE}) {
- my @new=();
- foreach (@files) {
- my $ok=1;
- foreach my $x (@{$dh{EXCLUDE}}) {
- if (/\Q$x\E/) {
- $ok='';
- last;
- }
- }
- push @new,$_ if $ok;
- }
+ my @new = grep { not excludefile($_) } @files;
@files=@new;
}
@@ -201,8 +193,15 @@ on_pkgs_in_parallel {
my ($directory) = $link =~ m:(.*)/:;
my $linkval = readlink($link);
if (! -e "$directory/$linkval" && -e "$directory/$linkval.gz") {
+ # Avoid duplicate ".gz.gz" if the link already has
+ # the .gz extension. This can happen via
+ # dh_installman when the .so is already compressed
+ # and then dh_installman reencodes the target
+ # manpage.
+ my $link_name = $link;
+ $link_name .= '.gz' if $link_name !~ m/[.]gz$/;
rm_files($link, "$link.gz");
- make_symlink_raw_target("$linkval.gz","$link.gz");
+ make_symlink_raw_target("$linkval.gz", $link_name);
delete $links{$link};
$changed++;
}
diff --git a/dh_dwz b/dh_dwz
index 39844d41..a714c766 100755
--- a/dh_dwz
+++ b/dh_dwz
@@ -19,9 +19,6 @@ B<dh_dwz> [S<I<debhelper options>>] [B<-X>I<item>] [S<B<--> I<params>>]
=head1 DESCRIPTION
-B<Caveat>: This tool is experimental and may disappear or change
-behaviour without any notice.
-
B<dh_dwz> is a debhelper program that will optimize the (uncompressed)
size of the DWARF debug information in ELF binaries. It does so by
running L<dwz(1)> on all the ELF binaries in the package.
@@ -30,6 +27,20 @@ running L<dwz(1)> on all the ELF binaries in the package.
=over 4
+=item B<--dwz-multifile>, B<--no-dwz-multifile>
+
+Whether L<dwz(1)> should generate a I<multifile> from the ELF binaries
+in the same package (it does by default). When enabled, if a package
+ships at least 2 ELF binaries, B<dh_dwz> will instruct L<dwz(1)> to
+generate a multifile for the package.
+
+Note this options may not work if a package contains more ELF binaries
+than can fit on a single command line. If this becomes a problem,
+please pass B<--no-dwz-multifile> to work around the issue.
+
+The generated multifile will be compressed with B<objcopy
+--compress-debug-sections>.
+
=item B<-X>I<item>, B<--exclude=>I<item>
Exclude files that contain I<item> anywhere in their filename from being
@@ -57,13 +68,15 @@ test"-cycles) rather than optimizing for size.
=cut
-init();
+my $create_multifile = 1;
+
+init(options => {
+ 'dwz-multifile!' => \$create_multifile,
+});
# This variable can be used to turn off stripping (see Policy).
exit 0 if get_buildoption('nostrip');
-warning('This tool is experimental and may change (or be retired) without any notice');
-
my @elf_files;
sub testfile {
@@ -72,11 +85,9 @@ sub testfile {
# See if we were asked to exclude this file.
# Note that we have to test on the full filename, including directory.
- foreach my $f (@{$dh{EXCLUDE}}) {
- if ($fn =~ m/\Q$f\E/) {
- $File::Find::prune = 1 if -d _;
- return;
- }
+ if (excludefile($fn)) {
+ $File::Find::prune = 1 if -d _;
+ return;
}
return if -d _;
# Do not process output files from dwz
@@ -101,10 +112,21 @@ for my $package (@{$dh{DOPACKAGES}}) {
# Consistent order;
@elf_files = sort(@elf_files);
my ($unique_files, $hardlinks) = find_hardlinks(@elf_files);
+ my @dwz_options;
+ if ($create_multifile and @{$unique_files} > 1) {
+ my $objcopy = cross_command($package, 'objcopy');
+ my $ma_dir = dpkg_architecture_value('DEB_HOST_MULTIARCH');
+ my $dwz_dir = "usr/lib/debug/.dwz/${ma_dir}";
+ my $m = "${dwz_dir}/${package}.debug";
+ my @dwz_options = ("-m${tmp}/${m}", "-M/${m}");
+ install_dir("${tmp}/${dwz_dir}");
+ doit('dwz', '-q', @dwz_options, @{$dh{U_PARAMS}}, '--', @{$unique_files});
+ doit($objcopy, '--compress-debug-sections', "${tmp}/${m}");
+ } else {
+ xargs($unique_files, 'dwz', '-q', @{$dh{U_PARAMS}}, '--');
+ }
- # TODO: Support multifile (-m)
- xargs($unique_files, 'dwz', '-q', @{$dh{U_PARAMS}}, '--');
# Now change over any files we can that used to be hard links so
# they are again.
for my $hardlink (keys %{$hardlinks}) {
diff --git a/dh_gencontrol b/dh_gencontrol
index 8552dc33..b65ee595 100755
--- a/dh_gencontrol
+++ b/dh_gencontrol
@@ -183,6 +183,7 @@ sub read_dbgsym_file {
open(my $fd, '<', $dbgsym_path)
or error("open $dbgsym_path failed: $!");
chomp($result = <$fd>);
+ $result =~ s/\s++$//;
close($fd);
}
return $result;
@@ -193,7 +194,14 @@ sub read_dbgsym_migration {
}
sub read_dbgsym_build_ids {
- return read_dbgsym_file('dbgsym-build-ids', @_);
+ my $res = read_dbgsym_file('dbgsym-build-ids', @_);
+ my (%seen, @unique);
+ return '' if not defined($res);
+ for my $id (split(' ', $res)) {
+ next if $seen{$id}++;
+ push(@unique, $id);
+ }
+ return join(' ', @unique);
}
=head1 SEE ALSO
diff --git a/dh_install b/dh_install
index 05bcf761..f7326659 100755
--- a/dh_install
+++ b/dh_install
@@ -34,7 +34,7 @@ F<Makefile> to install it all into F<debian/tmp>, and then use B<dh_install> to
directories and files from there into the proper package build directories.
From debhelper compatibility level 7 on, B<dh_install> will fall back to
-looking in F<debian/tmp> for files, if it doesn't find them in the current
+looking in F<debian/tmp> for files, if it does not find them in the current
directory (or wherever you've told it to look using B<--sourcedir>).
=head1 FILES
@@ -58,14 +58,8 @@ will automatically guess the destination to use, the same as if the
=item debian/not-installed
-List the files that are deliberately not installed in I<any> binary
-package. Paths listed in this file are (I<only>) ignored by the check
-done via B<--list-missing> (or B<--fail-missing>). However, it is
-B<not> a method to exclude files from being installed. Please use
-B<--exclude> for that.
-
-Please keep in mind that dh_install will B<not> expand wildcards in
-this file.
+Used with the deprecated B<--list-missing> and B<--fail-missing> options.
+Please refer to L<dh_missing(1)> for the documentation of this file.
=back
@@ -75,30 +69,21 @@ this file.
=item B<--list-missing>
-B<Deprecated>: Please use B<dh_missing --list-missing> instead.
-
-This option makes B<dh_install> keep track of the files it installs, and then at
-the end, compare that list with the files in the source directory. If any of
-the files (and symlinks) in the source directory were not installed to
-somewhere, it will warn on stderr about that.
-
-This may be useful if you have a large package and want to make sure that
-you don't miss installing newly added files in new upstream releases.
+B<Deprecated>: Please use B<dh_missing --list-missing> instead. If you use
+this option, B<dh_install> will call B<dh_missing> with that option after it has
+processed all the files. Please see L<dh_missing(1)> for the documentation of
+this option.
-Note that files that are excluded from being moved via the B<-X> option are not
-warned about.
+This option is removed in compat 12.
=item B<--fail-missing>
-B<Deprecated>: Please use B<dh_missing --fail-missing> instead.
-
-This option is like B<--list-missing>, except if a file was missed, it will
-not only list the missing files, but also fail with a nonzero exit code.
-
-=item B<-X>I<item>, B<--exclude=>I<item>
+B<Deprecated>: Please use B<dh_missing --fail-missing> instead. If you use
+this option, B<dh_install> will call B<dh_missing> with that option after it has
+processed all the files. Please see L<dh_missing(1)> for the documentation of
+this option.
-Exclude files that contain I<item> anywhere in their filename from
-being installed.
+This option is removed in compat 12.
=item B<--sourcedir=>I<dir>
diff --git a/dh_installchangelogs b/dh_installchangelogs
index 5ae9be3a..8eb9e190 100755
--- a/dh_installchangelogs
+++ b/dh_installchangelogs
@@ -21,14 +21,25 @@ B<dh_installchangelogs> [S<I<debhelper options>>] [B<-k>] [B<-X>I<item>] [I<upst
B<dh_installchangelogs> is a debhelper program that is responsible for
installing changelogs into package build directories.
-An upstream F<changelog> file may be specified as an option. If none is
-specified, it looks for files with names that seem likely to be changelogs.
-(In compatibility level 7 and above.)
+An upstream F<changelog> file may be specified as an option. If none
+is specified, B<dh_installchangelogs> may look for files with names
+that seem likely to be changelogs as described in the next paragraphs
+(assuming the package is using compatibility level 7 or above).
+
+In non-native packages, B<dh_installchangelogs> will first look for
+changelog files installed by the upstream build system into F<<
+usr/share/doc/I<package> >> (of the package build directory) and
+rename the most likely candidate (if any) to F<<
+usr/share/doc/I<package>/changelog >>. Note that
+B<dh_installchangelogs> does I<not> look into any source directory
+(such as F<debian/tmp>). Otherwise, B<dh_installchangelogs> (at
+compatibility level 7 or any later) will look for changelog files in
+the source directory (e.g. the root or the F<docs> subdirectory).
If there is an upstream F<changelog> file, it will be installed as
F<usr/share/doc/package/changelog> in the package build directory.
-If the upstream changelog is an F<html> file (determined by file
+If the specified upstream changelog is an F<html> file (determined by file
extension), it will be installed as F<usr/share/doc/package/changelog.html>
instead. If the html changelog is converted to plain text, that variant
can be specified as a second upstream changelog file. When no plain
@@ -76,6 +87,8 @@ package refers to the F<changelog> file.
Exclude upstream F<changelog> files that contain I<item> anywhere in their
filename from being installed.
+Note that directory name of the changelog is also part of the match.
+
=item I<upstream>
Install this file as the upstream changelog.
@@ -139,24 +152,18 @@ init();
my $news_name="NEWS.Debian";
my $changelog_name="changelog.Debian";
-my $upstream=shift;
-my $upstream_text=$upstream;
-my $upstream_html;
-if (! defined $upstream) {
+my $explicit_changelog = @ARGV ? 1 : 0;
+my $default_upstream = $ARGV[0];
+my $default_upstream_text=$default_upstream;
+my $default_upstream_html;
+if (! defined($default_upstream)) {
if (! isnative($dh{MAINPACKAGE}) && !compat(6)) {
foreach my $dir (qw{. doc docs}) {
- my @files=sort glob("$dir/*");
- foreach my $suffix ('', qw(.txt .md .rst)) {
- foreach my $name (qw{changelog changes history}) {
- my @matches=grep {
- lc basename($_) eq "$name$suffix" && -f $_ && -s _ && ! excludefile($_)
- } @files;
- if (@matches) {
- $upstream=shift @matches;
- $upstream_text=$upstream;
- last;
- }
- }
+ my $changelog = find_changelog($dir);
+ if ($changelog) {
+ $default_upstream = $changelog;
+ $default_upstream_text = $default_upstream;
+ last;
}
}
}
@@ -164,9 +171,25 @@ if (! defined $upstream) {
$changelog_name='changelog';
}
}
-elsif ($upstream=~m/\.html?$/i) {
- $upstream_html=$upstream;
- $upstream_text=shift;
+elsif ($default_upstream=~m/\.html?$/i) {
+ $default_upstream_html=$default_upstream;
+ $default_upstream_text=$ARGV[1];
+}
+
+sub find_changelog {
+ my ($dir) = @_;
+ my @files=sort glob("$dir/*");
+ foreach my $suffix ('', qw(.txt .md .rst)) {
+ foreach my $name (qw{changelog changes history}) {
+ my @matches=grep {
+ lc basename($_) eq "$name$suffix" && -f $_ && -s _ && ! excludefile($_)
+ } @files;
+ if (@matches) {
+ return shift(@matches);
+ }
+ }
+ }
+ return;
}
on_pkgs_in_parallel {
@@ -176,6 +199,26 @@ on_pkgs_in_parallel {
my $tmp=tmpdir($package);
my $changelog=pkgfile($package,"changelog");
my $news=pkgfile($package,"NEWS");
+ my $upstream_changelog;
+ my ($upstream_changelog_text, $upstream_changelog_html);
+ my $changelog_from_tmp_dir = 0;
+
+ if ($explicit_changelog) {
+ $upstream_changelog = $default_upstream;
+ $upstream_changelog_text = $default_upstream_text;
+ $upstream_changelog_html = $default_upstream_html;
+ } else {
+ # Check if the upstream build system provided a
+ # changelog
+ $upstream_changelog = find_changelog("${tmp}/usr/share/doc/${package}");
+ if ($upstream_changelog) {
+ $upstream_changelog_text = $upstream_changelog;
+ $changelog_from_tmp_dir = 1;
+ } else {
+ $upstream_changelog = $default_upstream;
+ $upstream_changelog_text = $upstream_changelog;
+ }
+ }
if (!$changelog) {
$changelog="debian/changelog";
@@ -216,17 +259,31 @@ on_pkgs_in_parallel {
install_file($news, "$tmp/usr/share/doc/$package/$news_name");
}
- if (defined $upstream) {
+ if (defined($upstream_changelog)) {
my $link_to;
my $base="$tmp/usr/share/doc/$package";
- if (defined $upstream_text) {
- install_file($upstream_text, "$base/changelog");
+ if (defined($upstream_changelog_text)) {
+ if ($changelog_from_tmp_dir and not $dh{K_FLAG}) {
+ # mv (unless if it is the same file)
+ rename_path($upstream_changelog_text, "$base/changelog")
+ if basename($upstream_changelog_text) ne 'changelog';
+ reset_perm_and_owner(0644, "$base/changelog");
+ } else {
+ install_file($upstream_changelog_text, "$base/changelog");
+ }
$link_to='changelog';
}
- if (defined $upstream_html) {
- install_file($upstream_html,"$base/changelog.html");
+ if (defined($upstream_changelog_html)) {
+ if ($changelog_from_tmp_dir and not $dh{K_FLAG}) {
+ # mv (unless if it is the same file)
+ rename_path($upstream_changelog_html, "$base/changelog.html")
+ if basename($upstream_changelog_text) ne 'changelog.html';
+ reset_perm_and_owner(0644, "$base/changelog.html");
+ } else {
+ install_file($upstream_changelog_html,"$base/changelog.html");
+ }
$link_to='changelog.html';
- if (! defined $upstream_text) {
+ if (! defined($upstream_changelog_text)) {
complex_doit("echo 'See changelog.html.gz' > $base/changelog");
reset_perm_and_owner(0644,"$base/changelog");
}
@@ -234,7 +291,7 @@ on_pkgs_in_parallel {
if ($dh{K_FLAG}) {
# Install symlink to original name of the upstream changelog file.
# Use basename in case original file was in a subdirectory or something.
- doit("ln","-sf",$link_to,"$tmp/usr/share/doc/$package/".basename($upstream));
+ doit('ln', '-sf', $link_to, "$tmp/usr/share/doc/$package/".basename($upstream_changelog));
}
}
}
diff --git a/dh_installdeb b/dh_installdeb
index 8dc0bd63..111f3bb6 100755
--- a/dh_installdeb
+++ b/dh_installdeb
@@ -50,11 +50,13 @@ earlier. In compat 10, please use L<dh_makeshlibs(1)>.
=item I<package>.conffiles
-This control file will be installed into the F<DEBIAN> directory.
+Historically, this file was needed to manually mark files files as
+conffiles. However, it has become de facto obsolete since debhelper
+automatically computed which files should be marked as conffiles.
-In v3 compatibility mode and higher, all files in the F<etc/> directory in a
-package will automatically be flagged as conffiles by this program, so
-there is no need to list them manually here.
+In compatibility level up and including 11, this control file will be
+installed into the F<DEBIAN> directory. In compatibility level 12 and
+later, the file is silently ignored.
=item I<package>.maintscript
@@ -79,6 +81,11 @@ It was also the intention to escape shell metacharacters in previous
compat levels. However, it did not work properly and as such it was
possible to embed arbitrary shell code in earlier compat levels.
+The B<dh_installdeb> tool will do some basic validation of some of
+the commands listed in this file to catch common mistakes. The
+validation is enabled as a warning since compat 10 and as a hard
+error in compat 12.
+
=back
=cut
@@ -93,6 +100,10 @@ my %maintscript_predeps = (
"symlink_to_dir" => "",
"dir_to_symlink" => "",
);
+my %maintscript_validator = (
+ "rm_conffile" => \&_validate_conffile_args,
+ "mv_conffile" => \&_validate_conffile_args,
+);
foreach my $package (@{$dh{DOPACKAGES}}) {
my $tmp=tmpdir($package);
@@ -139,6 +150,9 @@ foreach my $package (@{$dh{DOPACKAGES}}) {
addsubstvar($package, "misc:Pre-Depends", "dpkg",
">= $maintscript_predeps{$cmd}")
if length $maintscript_predeps{$cmd};
+ if (my $validator = $maintscript_validator{$cmd}) {
+ $validator->($package, @{$line});
+ }
push(@params, escape_shell(@{$line}) );
}
foreach my $script (qw{postinst preinst prerm postrm}) {
@@ -163,7 +177,9 @@ foreach my $package (@{$dh{DOPACKAGES}}) {
}
# Install non-executable files
- my @non_exec_files = (qw{conffiles});
+ my @non_exec_files;
+ # Removed in compat 12.
+ push(@non_exec_files, 'conffiles') if compat(11);
# In compat 10, we let dh_makeshlibs handle "shlibs".
push(@non_exec_files, 'shlibs') if compat(9);
foreach my $file (@non_exec_files) {
@@ -214,6 +230,43 @@ sub install_triggers {
install_file($sources[0], $target);
}
+sub _validate_conffile_args {
+ my ($package, $cmd, @args) = @_;
+ my ($current_conffile, $new_conffile, $prior_version, $owning_package, $other);
+ for my $arg (@args) {
+ if ($arg eq '--') {
+ _maybe_error("The maintscripts file for $package includes a \"--\" for one of the ${cmd} commands, but it should not");
+ }
+ }
+ if ($cmd eq 'rm_conffile') {
+ ($current_conffile, $prior_version, $owning_package, $other) = @args;
+ } else {
+ ($current_conffile, $new_conffile, $prior_version, $owning_package, $other) = @args;
+ }
+ $current_conffile //= '';
+ _maybe_error("The current conffile path for ${cmd} must be present and absolute, got ${current_conffile}")
+ if not $current_conffile or substr($current_conffile, 0, 1) ne '/';
+ _maybe_error("The new conffile path for ${cmd} must be present and absolute, got ${new_conffile}")
+ if $cmd eq 'mv_conffile' and (not $new_conffile or substr($new_conffile, 0, 1) ne '/');
+
+ _maybe_error("The version for ${cmd} ${current_conffile} is not valid, got ${prior_version}")
+ if $prior_version and $prior_version !~ m{^${Debian::Debhelper::Dh_Lib::PKGVERSION_REGEX}$}o;
+ _maybe_error("The owning package for ${cmd} ${current_conffile} is not valid, got ${owning_package}")
+ if $owning_package and $owning_package !~ m{^${Debian::Debhelper::Dh_Lib::PKGNAME_REGEX}$}o;
+ if (defined($other)) {
+ warning("Too many arguments for ${cmd} ${current_conffile}");
+ }
+}
+
+sub _maybe_error {
+ my ($msg) = @_;
+ if (compat(11)) {
+ warning($msg);
+ } else {
+ error($msg);
+ }
+}
+
=head1 SEE ALSO
L<debhelper(7)>
diff --git a/dh_installdirs b/dh_installdirs
index 7254df16..97d31d47 100755
--- a/dh_installdirs
+++ b/dh_installdirs
@@ -14,7 +14,7 @@ our $VERSION = DH_BUILTIN_VERSION;
=head1 SYNOPSIS
-B<dh_installdirs> [S<I<debhelper options>>] [B<-A>] [S<I<dir> ...>]
+B<dh_installdirs> [S<I<debhelper options>>] [B<-A>] [B<--sourcedir=>I<dir>] [B<--create-in-sourcedir>] [S<I<dir> ...>]
=head1 DESCRIPTION
@@ -48,6 +48,23 @@ commands.
Create any directories specified by command line parameters in ALL packages
acted on, not just the first.
+=item B<--create-in-sourcedir>, B<--no-create-in-sourcedir>
+
+Whether to create the specified directories in the source directory
+(usually F<debian/tmp>) I<in addition to> in the package build directory
+(usually F<< debian/I<package> >>).
+
+The default is B<--no-create-in-sourcedir>.
+
+=item B<--sourcedir=>I<dir>
+
+Consider I<dir> the source directory for the packages acted on instead
+of the default (which is usually F<debian/tmp>).
+
+Please note that this option is dependent on the
+B<--create-in-sourcedir> option (when B<--no-create-in-sourcedir> is
+in effect, this option does nothing in B<dh_installdirs>).
+
=item I<dir> ...
Create these directories in the package build directory of the first
@@ -57,13 +74,19 @@ package acted on. (Or in all packages if B<-A> is specified.)
=cut
-init();
+my $create_in_sourcedir = 0;
+
+init(options => {
+ 'sourcedir=s' => \$dh{SOURCEDIR},
+ 'create-in-sourcedir!' => \$create_in_sourcedir,
+});
# PROMISE: DH NOOP WITHOUT dirs
foreach my $package (@{$dh{DOPACKAGES}}) {
my $tmp=tmpdir($package);
my $file=pkgfile($package,"dirs");
+ my $srcdir = $dh{SOURCEDIR} // default_sourcedir($package);
install_dir($tmp) if compat(10);
@@ -83,14 +106,22 @@ foreach my $package (@{$dh{DOPACKAGES}}) {
# be in the right directory, but more importantly, it
# protects against the danger of absolute dirs being
# specified.
- @dirs=map {
- $_="$tmp/$_";
- tr:/:/:s; # just beautification.
- $_
- } @dirs;
+ my @make_dirs;
+ push(@make_dirs, map {
+ my $dir = "$tmp/$_";
+ $dir =~ tr:/:/:s; # just beautification.
+ $dir;
+ } @dirs);
+ if ($create_in_sourcedir) {
+ push(@make_dirs, map {
+ my $dir = "${srcdir}/$_";
+ $dir =~ tr:/:/:s; # just beautification.
+ $dir;
+ } @dirs);
+ }
# Create dirs.
- install_dir(@dirs);
+ install_dir(@make_dirs);
}
}
diff --git a/dh_installdocs b/dh_installdocs
index 867d34a4..61535c6e 100755
--- a/dh_installdocs
+++ b/dh_installdocs
@@ -28,8 +28,12 @@ the upstream documentation, when upstream's own build system installs all the de
correctly. In this case, B<dh_installdocs> is still useful for installing
packaging related documentation (e.g. the F<debian/copyright> file).
+From debhelper compatibility level 11 on, B<dh_install> will fall back to
+looking in F<debian/tmp> for files, if it does not find them in the current
+directory (or wherever you've told it to look using B<--sourcedir>).
+
In compat 11 and later, B<dh_installdocs> offers many of the features that
-L<dh_install(1)> also have. Furthermore, B<dh_installdocs> also supports
+L<dh_install(1)> also has. Furthermore, B<dh_installdocs> also supports
the B<nodoc> build profile to exclude documentation (regardless of compat
level).
@@ -97,6 +101,16 @@ acted on.
Exclude files that contain I<item> anywhere in their filename from
being installed. Note that this includes doc-base files.
+=item B<--sourcedir=>I<dir>
+
+Look in the specified directory for files to be installed. This option
+requires compat 11 or later (it is silently ignored in compat 10 or earlier).
+
+Note that this is not the same as the B<--sourcedirectory> option used
+by the B<dh_auto_>I<*> commands. You rarely need to use this option, since
+B<dh_installman> automatically looks for files in F<debian/tmp> in debhelper
+compatibility level 11 and above.
+
=item B<--doc-main-package=>I<main-package>
Set the main package for a documentation package. This is used to
@@ -152,8 +166,8 @@ and using L<dh_installdeb(1)> to provide the relevant maintainer
script snippets.
B<CAVEAT 2>: The use of B<--link-doc> should only be done when the
-packages have same "architecture" type. A link from a architecture
-independent package to a architecture dependent package (or vice
+packages have same "architecture" type. A link from an architecture
+independent package to an architecture dependent package (or vice
versa) will not work. Since compat 10, debhelper will actively reject
unsupported combinations.
@@ -214,7 +228,7 @@ init(options => {
});
my $called_getpackages = 0;
-my $default_error_handler = compat(10) ? \&glob_expand_error_handler_warn_and_discard : \&glob_expand_error_handler_reject;
+my $default_error_handler = compat(10) ? \&glob_expand_error_handler_reject_nomagic_warn_discard : \&glob_expand_error_handler_reject;
my $nodocs = is_build_profile_active('nodoc') || get_buildoption('nodoc') ? 1 : 0;
# We cannot assume documentation is built under nodoc, but if it is we must flag it as handled
# or dh_missing might make noise.
@@ -289,6 +303,9 @@ foreach my $package (getpackages()) {
if (not defined($target_package)) {
warning("Cannot auto-detect main package for ${package}. If the default is wrong, please use --doc-main-package");
$target_package = $package;
+ } elsif ($dh{PARAMS_ALL} and $package ne $target_package and not $dh{DOC_MAIN_PACKAGE}) {
+ warning("Not using auto-detected $target_package as main doc package for $package: With -A/--all, this would cause file-conflicts.");
+ $target_package = $package;
}
if ($dh{EXCLUDE_FIND}) {
$exclude .= ' -and ! \( '.$dh{EXCLUDE_FIND}.' \)';
diff --git a/dh_installexamples b/dh_installexamples
index 01c4820a..23de5d72 100755
--- a/dh_installexamples
+++ b/dh_installexamples
@@ -24,6 +24,10 @@ B<dh_installexamples> is a debhelper program that is responsible for
installing examples into F<usr/share/doc/package/examples> in package
build directories.
+From debhelper compatibility level 11 on, B<dh_install> will fall back to
+looking in F<debian/tmp> for files, if it does not find them in the current
+directory (or wherever you've told it to look using B<--sourcedir>).
+
=head1 FILES
=over 4
@@ -98,7 +102,7 @@ init(options => {
# PROMISE: DH NOOP WITHOUT pkgfile-logged(examples)
my $pwd;
-my $default_error_handler = compat(10) ? \&glob_expand_error_handler_warn_and_discard : \&glob_expand_error_handler_reject;
+my $default_error_handler = compat(10) ? \&glob_expand_error_handler_reject_nomagic_warn_discard : \&glob_expand_error_handler_reject;
my $nodocs = is_build_profile_active('nodoc') || get_buildoption('nodoc') ? 1 : 0;
# We cannot assume documentation is built under nodoc, but if it is we must flag it as handled
# or dh_missing might make noise.
diff --git a/dh_installinfo b/dh_installinfo
index 8f48ecff..34bd478e 100755
--- a/dh_installinfo
+++ b/dh_installinfo
@@ -21,6 +21,10 @@ B<dh_installinfo> [S<I<debhelper options>>] [B<-A>] [S<I<file> ...>]
B<dh_installinfo> is a debhelper program that is responsible for installing
info files into F<usr/share/info> in the package build directory.
+From debhelper compatibility level 11 on, B<dh_install> will fall back to
+looking in F<debian/tmp> for files, if it does not find them in the current
+directory (or wherever you've told it to look using B<--sourcedir>).
+
=head1 FILES
=over 4
@@ -59,11 +63,13 @@ all packages if B<-A> is specified).
=cut
-init();
+init(options => {
+ "sourcedir=s" => \$dh{SOURCEDIR},
+});
# PROMISE: DH NOOP WITHOUT info
-my $default_error_handler = compat(10) ? \&glob_expand_error_handler_warn_and_discard : \&glob_expand_error_handler_reject;
+my $default_error_handler = compat(10) ? \&glob_expand_error_handler_reject_nomagic_warn_discard : \&glob_expand_error_handler_reject;
my $nodocs = is_build_profile_active('nodoc') || get_buildoption('nodoc') ? 1 : 0;
# We cannot assume documentation is built under nodoc, but if it is we must flag it as handled
# or dh_missing might make noise.
@@ -87,6 +93,8 @@ foreach my $package (getpackages()) {
push @info, @ARGV;
}
+ log_installed_files($package, @info);
+
next if $skip_install or $nodocs;
if (@info) {
diff --git a/dh_installinit b/dh_installinit
index 308aa4b6..1a049279 100755
--- a/dh_installinit
+++ b/dh_installinit
@@ -24,9 +24,14 @@ B<dh_installinit> [S<I<debhelper options>>] [B<--name=>I<name>] [B<-n>] [B<-R>]
B<dh_installinit> on illumos-based systems does nothing and is kept only for
compatibility and consistency.
-B<dh_installinit> is a debhelper program that is responsible for installing
-init scripts with associated defaults files. In compatibility levels up to
-11, B<dh_installinit> also handled upstart job files and systemd service files.
+B<dh_installinit> is a debhelper program that is responsible for
+installing init scripts with associated defaults files. In
+compatibility levels up to and including 10, B<dh_installinit> will
+also install some systemd related files provided by the debian
+packaging (see the L</FILES> section below). In compatibility levels
+up to and including 11, B<dh_installinit> will also handle upstart
+jobs provided in the debian packaging (see the L</FILES> for more
+information on this as well).
It also automatically generates the F<postinst> and F<postrm> and F<prerm>
commands needed to set up the symlinks in F</etc/rc*.d/> to start and stop
@@ -139,6 +144,20 @@ variant was introduced in debhelper 10.2 (included in Debian stretch).
Do not start the init script on install or upgrade, or stop it on removal.
Only call B<update-rc.d>. Useful for rcS scripts.
+=item B<--no-enable>
+
+Disable the init script on purge, but do not enable them on install.
+This implies a versioned dependency on B<< init-system-helpers (E<gt>=
+1.51) >> as it is the first (functional) version that supports
+B<< update-rc.d E<lt>scriptE<gt> defaults-disabled >>.
+
+B<Note> that this option does not affect whether the services are
+started. Please remember to also use B<--no-start> if the service
+should not be started.
+
+Cannot be combined with B<-u>I<params>,
+B<--update-rcd-params=>I<params>, or B<--> I<params>.
+
=item B<-d>, B<--remove-d>
Remove trailing B<d> from the name of the package, and use the result for the
@@ -152,8 +171,11 @@ described below.)
=item B<--> I<params>
-Pass I<params> to L<update-rc.d(8)>. If not specified, B<defaults> will be
-passed to L<update-rc.d(8)>.
+Pass I<params> to L<update-rc.d(8)>. If not specified, B<defaults> (or
+B<defaults-disabled> with B<--no-enable>) will be passed to
+L<update-rc.d(8)>.
+
+Cannot be combined with B<--no-enable>.
=item B<--name=>I<name>
@@ -208,10 +230,13 @@ init(options => {
"init-script=s" => \$dh{INIT_SCRIPT},
"update-rcd-params=s", => \$dh{U_PARAMS},
"remove-d" => \$dh{D_FLAG},
+ "no-enable" => \$dh{NO_ENABLE},
});
# PROMISE: DH NOOP WITHOUT service tmpfile default upstart init init.d tmp(usr/lib/tmpfiles.d) tmp(etc/tmpfiles.d)
+my %snippet_options = ('snippet-order' => 'service');
+
foreach my $package (@{$dh{DOPACKAGES}}) {
my $tmp=tmpdir($package);
@@ -311,12 +336,14 @@ foreach my $package (@{$dh{DOPACKAGES}}) {
$name =~ s/^\Q$tmp\E//g;
if ($name =~ m,^/usr/lib/tmpfiles\.d/, ||
$name =~ m,^/etc/tmpfiles\.d/,) {
- push @tmpfiles, $name;
+ push(@tmpfiles, basename($name));
}
},
no_chdir => 1,
}, $tmp);
if (@tmpfiles > 0) {
+ # Not migrated to hashref based autoscripts. This will
+ # happen as people migrate to dh_installsystemd.
autoscript($package,"postinst", "postinst-init-tmpfiles",
"s,#TMPFILES#," . join(" ", sort @tmpfiles).",g");
}
@@ -326,13 +353,16 @@ foreach my $package (@{$dh{DOPACKAGES}}) {
# This is set by the -u "foo" command line switch, it's
# the parameters to pass to update-rc.d. If not set,
# we have to say "defaults".
- my $params='';
- if (defined($dh{U_PARAMS})) {
+ my $params = 'defaults';
+ if ($dh{NO_ENABLE}) {
+ $params = 'defaults-disabled';
+ addsubstvar($package, "misc:Depends", "init-system-helpers (>= 1.51)");
+ }
+
+ if (defined($dh{U_PARAMS}) and @{$dh{U_PARAMS}}) {
+ error("--no-enable and -- params/-u/--update-rcd-params/ are mutually exclusive") if $dh{NO_ENABLE};
$params=join(' ',@{$dh{U_PARAMS}});
}
- if ($params eq '') {
- $params="defaults";
- }
if (! $dh{NOSCRIPTS}) {
if (! $dh{NO_START}) {
@@ -340,41 +370,47 @@ foreach my $package (@{$dh{DOPACKAGES}}) {
# update-rc.d, and restart (or
# start if new install) script
autoscript($package,"postinst", "postinst-init-restart",
- "s/#SCRIPT#/$script/g;s/#INITPARMS#/$params/g;s/#ERROR_HANDLER#/$dh{ERROR_HANDLER}/g");
+ { 'SCRIPT' => $script, 'INITPARMS' => $params, 'ERROR_HANDLER' => $dh{ERROR_HANDLER} },
+ \%snippet_options);
}
else {
# update-rc.d, and start script
autoscript($package,"postinst", "postinst-init",
- "s/#SCRIPT#/$script/g;s/#INITPARMS#/$params/g;s/#ERROR_HANDLER#/$dh{ERROR_HANDLER}/g");
+ { 'SCRIPT' => $script, 'INITPARMS' => $params, 'ERROR_HANDLER' => $dh{ERROR_HANDLER} },
+ \%snippet_options);
}
if ($dh{R_FLAG} || $dh{RESTART_AFTER_UPGRADE}) {
# stops script only on remove
autoscript($package,"prerm","prerm-init-norestart",
- "s/#SCRIPT#/$script/g;s/#INITPARMS#/$params/g;s/#ERROR_HANDLER#/$dh{ERROR_HANDLER}/g");
+ { 'SCRIPT' => $script, 'ERROR_HANDLER' => $dh{ERROR_HANDLER} },
+ \%snippet_options);
}
else {
# always stops script
autoscript($package,"prerm","prerm-init",
- "s/#SCRIPT#/$script/g;s/#INITPARMS#/$params/g;s/#ERROR_HANDLER#/$dh{ERROR_HANDLER}/g");
+ { 'SCRIPT' => $script, 'ERROR_HANDLER' => $dh{ERROR_HANDLER} },
+ \%snippet_options);
}
}
else {
# just update-rc.d
autoscript($package,"postinst", "postinst-init-nostart",
- "s/#SCRIPT#/$script/g;s/#INITPARMS#/$params/g;s/#ERROR_HANDLER#/$dh{ERROR_HANDLER}/g");
+ { 'SCRIPT' => $script, 'INITPARMS' => $params, 'ERROR_HANDLER' => $dh{ERROR_HANDLER} },
+ \%snippet_options);
}
# removes rc.d links
autoscript($package,"postrm","postrm-init",
- "s/#SCRIPT#/$script/g;s/#INITPARMS#/$params/g;s/#ERROR_HANDLER#/$dh{ERROR_HANDLER}/g");
+ { 'SCRIPT' => $script, 'ERROR_HANDLER' => $dh{ERROR_HANDLER} },
+ \%snippet_options);
}
}
}
=head1 SEE ALSO
-L<debhelper(7)>
+L<debhelper(7)>, L<dh_installsystemd(1)>
This program is a part of debhelper.
diff --git a/dh_installinitramfs b/dh_installinitramfs
new file mode 100755
index 00000000..c6c9cb82
--- /dev/null
+++ b/dh_installinitramfs
@@ -0,0 +1,94 @@
+#!/usr/bin/perl
+
+=head1 NAME
+
+dh_installinitramfs - install initramfs hooks and setup maintscripts
+
+=cut
+
+use strict;
+use warnings;
+use Debian::Debhelper::Dh_Lib;
+
+our $VERSION = DH_BUILTIN_VERSION;
+
+=head1 SYNOPSIS
+
+B<dh_installinitramfs> [S<B<debhelper options>>] [B<-n>]
+
+=head1 DESCRIPTION
+
+B<dh_installinitramfs> is a debhelper program that is responsible for
+installing Debian package provided initramfs hooks.
+
+If B<dh_installinitramfs> installs or (in compat 12 or later) detects
+one or more initramfs hooks in the package, then it also automatically
+generates the F<postinst> and F<postrm> commands needed to interface
+with the Debian initramfs system. These commands are inserted into
+the maintainer scripts by L<dh_installdeb(1)>.
+
+=head1 FILES
+
+=over 4
+
+=item debian/I<package>.initramfs-hook
+
+Assumed to be an initramfs hook that will be installed into F<<
+usr/share/initramfs-tools/hooks/I<package> >> in the package build
+directory. See B<HOOK SCRIPTS> in L<initramfs-tools(8)> for more
+information about initramfs hooks.
+
+=back
+
+=head1 OPTIONS
+
+=over 4
+
+=item B<-n>, B<--no-scripts>
+
+Do not modify F<postinst>/F<postrm> scripts.
+
+=back
+
+=head1 NOTES
+
+Note that this command is not idempotent. L<dh_prep(1)> should be called
+between invocations of this command. Otherwise, it may cause multiple
+instances of the same text to be added to maintainer scripts.
+
+=cut
+
+init();
+
+# PROMISE: DH NOOP WITHOUT initramfs-hook tmp(usr/share/initramfs-tools/hooks)
+
+foreach my $package (@{$dh{DOPACKAGES}}) {
+ my $tmp = tmpdir($package);
+ my $hook_script = pkgfile($package, 'initramfs-hook');
+ my $has_hooks;
+ my $hook_dir = "${tmp}/usr/share/initramfs-tools/hooks";
+
+ if ($hook_script ne '') {
+ install_dir($hook_dir);
+ install_file($hook_script, "${hook_dir}/${package}");
+ $has_hooks = 1;
+ } elsif (-d $hook_dir and not is_empty_dir($hook_dir)) {
+ $has_hooks = 1;
+
+ }
+
+ if ($has_hooks && ! $dh{NOSCRIPTS}) {
+ autoscript($package, 'postinst', 'postinst-initramfs-hook');
+ autoscript($package, 'postrm', 'postrm-initramfs-hook')
+ }
+}
+
+=head1 SEE ALSO
+
+L<debhelper(7)>
+L<update-initramfs(8)>
+L<initramfs-tools(8)>
+
+This program is a part of debhelper.
+
+=cut
diff --git a/dh_installman b/dh_installman
index c1583a76..8fabf88b 100755
--- a/dh_installman
+++ b/dh_installman
@@ -66,6 +66,10 @@ manual page and convert it to UTF-8. If the guesswork fails for some
reason, you can override it using an encoding declaration. See
L<manconv(1)> for details.
+From debhelper compatibility level 11 on, B<dh_install> will fall back to
+looking in F<debian/tmp> for files, if it does not find them in the current
+directory (or wherever you've told it to look using B<--sourcedir>).
+
=head1 FILES
=over 4
@@ -141,7 +145,7 @@ init(options => {
my (@sofiles, @sodests);
my @all_packages = getpackages();
-my $default_error_handler = compat(10) ? \&glob_expand_error_handler_warn_and_discard : \&glob_expand_error_handler_reject;
+my $default_error_handler = compat(10) ? \&glob_expand_error_handler_reject_nomagic_warn_discard : \&glob_expand_error_handler_reject;
my $nodocs = is_build_profile_active('nodoc') || get_buildoption('nodoc') ? 1 : 0;
# We cannot assume documentation is built under nodoc, but if it is we must flag it as handled
# or dh_missing might make noise.
diff --git a/dh_installsystemd b/dh_installsystemd
index 8dd4edc6..bed680b1 100755
--- a/dh_installsystemd
+++ b/dh_installsystemd
@@ -16,61 +16,55 @@ our $VERSION = DH_BUILTIN_VERSION;
=head1 SYNOPSIS
-B<dh_installsystemd> [S<I<debhelper options>>] [B<--restart-after-upgrade>] [B<--no-stop-on-upgrade>] [B<--no-enable>] [B<--name=>I<name>] [S<I<unit file> ...>]
+B<dh_installsystemd> [S<I<debhelper options>>] [B<--restart-after-upgrade>] [B<--no-stop-on-upgrade>] [B<--no-enable>] [B<--no-start>] [B<--name=>I<name>] [S<I<unit file> ...>]
=head1 DESCRIPTION
-B<dh_installsystemd> is a debhelper program that is responsible for enabling,
-disabling, starting, stopping and restarting systemd unit files.
+B<dh_installsystemd> is a debhelper program that is responsible for
+installing package maintainer supplied systemd unit files.
-In the simple case, it finds all unit files installed by a package (e.g.
-bacula-fd.service) and enables them. It is not necessary that the machine
-actually runs systemd during package installation time, enabling happens on all
-machines in order to be able to switch from sysvinit to systemd and back.
+It also finds the service files installed by a package and generates
+F<preinst>, F<postinst>, and F<prerm> code blocks for enabling,
+disabling, starting, stopping, and restarting the corresponding
+systemd services, when the package is installed, updated, or
+removed. These snippets are added to the maintainer scripts by
+L<dh_installdeb(1)>.
-For only generating blocks for specific service files, you need to pass them as
-arguments, e.g. B<dh_installsystemd quota.service> and B<dh_installsystemd
---name=quotarpc quotarpc.service>.
+L<deb-systemd-helper(1)> is used to enable and disable systemd units,
+thus it is not necessary that the machine actually runs systemd during
+package installation time, enabling happens on all machines in order
+to be able to switch from sysvinit to systemd and back.
+
+B<dh_installsystemd> operates on all unit files installed by a
+package. For only generating blocks for specific unit files, pass them
+as arguments, C<dh_installsystemd quota.service>. Specific unit files
+can be excluded from processing using the B<-X> common L<debhelper(1)>
+option.
=head1 FILES
=over 4
-=item debian/I<package>.service, debian/I<package>@.service
-
-If this exists, it is installed into lib/systemd/system/I<package>.service (or
-lib/systemd/system/I<package>@.service) in the package build directory.
+=item debian/I<package>.mount,
+ debian/I<package>.path,
+ debian/I<package>@.path,
+ debian/I<package>.service,
+ debian/I<package>@.service,
+ debian/I<package>.socket,
+ debian/I<package>@.socket,
+ debian/I<package>.target,
+ debian/I<package>@.target,
+ debian/I<package>.timer,
+ debian/I<package>@.timer
+
+If any of those files exists, they are installed into
+F<lib/systemd/system/> in the package build directory.
=item debian/I<package>.tmpfile
-If this exists, it is installed into usr/lib/tmpfiles.d/I<package>.conf in the
-package build directory. (The tmpfiles.d mechanism is currently only used
-by systemd.)
-
-=item debian/I<package>.target, debian/I<package>@.target
-
-If this exists, it is installed into lib/systemd/system/I<package>.target (or
-lib/systemd/system/I<package>@.target) in the package build directory.
-
-=item debian/I<package>.socket, debian/I<package>@.socket
-
-If this exists, it is installed into lib/systemd/system/I<package>.socket (or
-lib/systemd/system/I<package>@.socket) in the package build directory.
-
-=item debian/I<package>.mount
-
-If this exists, it is installed into lib/systemd/system/I<package>.mount
-in the package build directory.
-
-=item debian/I<package>.path, debian/I<package>@.path
-
-If this exists, it is installed into lib/systemd/system/I<package>.path (or
-lib/systemd/system/I<package>@.path) in the package build directory.
-
-=item debian/I<package>.timer, debian/I<package>@.timer
-
-If this exists, it is installed into lib/systemd/system/I<package>.timer (or
-lib/systemd/system/I<package>@.timer) in the package build directory.
+If this exists, it is installed into F<usr/lib/tmpfiles.d/> in the
+package build directory. Note that the C<tmpfiles.d> mechanism is
+currently only used by systemd.
=back
@@ -88,12 +82,12 @@ should not be started.
=item B<--name=>I<name>
-Install the service file as I<name.service> instead of the default filename,
-which is the I<package.service>. When this parameter is used,
+Install the service file as I<name.service> instead of the default
+filename I<package.service>. When this parameter is used,
B<dh_installsystemd> looks for and installs files named
-F<debian/package.name.service> instead of the usual F<debian/package.service>.
-Moreover, maintainer scripts are only generated for units that match the given
-I<name>.
+F<debian/package.name.service> instead of the usual
+F<debian/package.service>. Moreover, maintainer scripts are only
+generated for units that match the given I<name>.
=item B<--restart-after-upgrade>
@@ -132,15 +126,13 @@ should not be enabled.
=head1 NOTES
-Note that this command is not idempotent. L<dh_prep(1)> should be called
-between invocations of this command (with the same arguments). Otherwise, it
-may cause multiple instances of the same text to be added to maintainer
-scripts.
+This command is not idempotent. L<dh_prep(1)> should be called between
+invocations of this command (with the same arguments). Otherwise, it
+may cause multiple instances of the same text to be added to
+maintainer scripts.
=cut
-exit 0 if compat(10);
-
$dh{RESTART_AFTER_UPGRADE} = 1;
init(options => {
@@ -150,13 +142,23 @@ init(options => {
"no-restart-on-upgrade" => \$dh{R_FLAG},
"no-start" => \$dh{NO_START},
"R|restart-after-upgrade!" => \$dh{RESTART_AFTER_UPGRADE},
- "no-also" => \$dh{NO_ALSO},
+ "no-also" => \$dh{NO_ALSO}, # undocumented option
});
+sub quote {
+ # Add single quotes around the argument.
+ return '\'' . $_[0] . '\'';
+}
+
+sub uniq {
+ my %seen;
+ return grep { !$seen{$_}++ } @_;
+}
+
sub contains_install_section {
my ($unit_path) = @_;
- open(my $fh, '<', $unit_path) or error("Cannot open($unit_path) to check for [Install]: $!");
+ open(my $fh, '<', $unit_path) or error("Cannot open($unit_path): $!");
while (my $line = <$fh>) {
chomp($line);
@@ -166,6 +168,13 @@ sub contains_install_section {
return 0;
}
+sub has_sysv_equivalent {
+ my ($tmpdir, $unit) = @_;
+
+ $unit =~ s/\.(?:mount|service|socket|target|path)$//g;
+ return -f "$tmpdir/etc/init.d/$unit";
+}
+
sub install_unit {
my ($package, $script, $pkgsuffix, $path, $installsuffix) = @_;
$installsuffix = $installsuffix || $pkgsuffix;
@@ -175,26 +184,22 @@ sub install_unit {
install_file($unit, "${path}/${script}.${installsuffix}");
}
-# Extracts the Also= or Alias= line(s) from a unit file.
-# In case this produces horribly wrong results, you can pass --no-also, but
-# that should really not be necessary. Please report bugs to
-# pkg-systemd-maintainers.
+# Extracts the directive values from a unit file. Handles repeated
+# directives in the same unit file. Assumes values can only be
+# composed of lists of unit names. This is good enough for the 'Also='
+# and 'Alias=' directives handled here.
sub extract_key {
my ($unit_path, $key) = @_;
my @values;
- return @values if $dh{NO_ALSO};
-
- open(my $fh, '<', $unit_path) or error("Cannot open($unit_path) for extracting the Also= line(s): $!");
+ open(my $fh, '<', $unit_path) or error("Cannot open($unit_path): $!");
while (my $line = <$fh>) {
chomp($line);
- # The keys parsed from the unit file below can only have
- # unit names as values. Since unit names can't have
- # whitespace in systemd, simply use split and strip any
- # leading/trailing quotes. See systemd-escape(1) for
- # examples of valid unit names.
+ # Since unit names can't have whitespace in systemd, simply
+ # use split and strip any leading/trailing quotes. See
+ # systemd-escape(1) for examples of valid unit names.
if ($line =~ /^\s*$key=(.+)$/i) {
for my $value (split(/\s+/, $1)) {
$value =~ s/^(["'])(.*)\g1$/$2/;
@@ -202,207 +207,194 @@ sub extract_key {
}
}
}
+
close($fh);
return @values;
}
+sub list_installed_units {
+ my ($tmpdir, $aliases) = @_;
+
+ my $lib_systemd_system = "$tmpdir/lib/systemd/system";
+ my @installed;
+
+ return unless -d $lib_systemd_system;
+ opendir(my $dh, "$lib_systemd_system") or error("Cannot opendir($lib_systemd_system): $!");
+
+ foreach my $name (readdir($dh)) {
+ my $path = "$lib_systemd_system/$name";
+ next unless -f $path;
+ if (-l "$path") {
+ my $dest = basename(readlink($path));
+ $aliases->{$dest} //= [ ];
+ push @{$aliases->{$dest}}, $name;
+ } else {
+ push @installed, $name;
+ }
+ }
+
+ closedir($dh);
+ return @installed;
+}
+
-# PROMISE: DH NOOP WITHOUT tmp(lib/systemd/system) mount path service socket target tmpfile timer
+# PROMISE: DH NOOP WITHOUT tmp(lib/systemd/system) tmp(usr/lib/tmpfiles.d) tmp(etc/tmpfiles.d) mount path service socket target tmpfile timer
-my %requested_files = map { basename($_) => 1 } @ARGV;
-my %installed_files;
+# Install package maintainer supplied unit files
foreach my $package (@{$dh{DOPACKAGES}}) {
my $tmpdir = tmpdir($package);
- my (@installed_units, @start_units, @enable_units, %aliases, @tmpfiles);
- # Figure out what filename to install it as.
- my $script;
- if (defined $dh{NAME}) {
- $script=$dh{NAME};
- }
- else {
- $script=$package;
- }
+ # Intall all unit files in the debian/ directory with names in the
+ # form $package.(service|target|socket|path|timer|mount|tmpfile)
+ # and their templated versison when relevant.
- for my $service_type (qw(service target socket path timer)) {
- install_unit($package, $script, $service_type, "$tmpdir/lib/systemd/system");
- install_unit("${package}@", "${script}@", $service_type, "$tmpdir/lib/systemd/system");
+ # This can be modified with the --name option to look for unit
+ # files with names in the form $package.$name.(service|...) and
+ # $name.(service|target|socket|path|timer|mount|tmpfile) and their
+ # templated version when relevant.
+ my $name = $dh{NAME} // $package;
+
+ for my $type (qw(service target socket path timer)) {
+ install_unit($package, $name, $type, "$tmpdir/lib/systemd/system");
+ install_unit("${package}@", "${name}@", $type, "$tmpdir/lib/systemd/system");
}
- install_unit($package, $script, 'mount', "$tmpdir/lib/systemd/system");
- install_unit($package, $script, 'tmpfile', "$tmpdir/usr/lib/tmpfiles.d", 'conf');
+ install_unit($package, $name, 'mount', "$tmpdir/lib/systemd/system");
+ install_unit($package, $name, 'tmpfile', "$tmpdir/usr/lib/tmpfiles.d", 'conf');
+}
+
+
+# Add postinst code blocks to handle tmpfiles
+foreach my $package (@{$dh{DOPACKAGES}}) {
+ my $tmpdir = tmpdir($package);
+ my @tmpfiles;
+
+ my @dirs = grep { -d } map { "${tmpdir}/$_" } qw(usr/lib/tmpfiles.d etc/tmpfiles.d);
- my $oldcwd = getcwd();
find({
wanted => sub {
my $name = $File::Find::name;
return unless -f $name;
- return unless $name =~ m,^\Q${tmpdir}\E/lib/systemd/system/[^/]+$,;
- if (-l) {
- my $target = abs_path(readlink());
- $target =~ s,^\Q${oldcwd}\E/,,g;
- $aliases{$target} = [ $_ ];
- } else {
- push @installed_units, $name;
- }
- },
+ push(@tmpfiles, basename($name)); },
no_chdir => 1,
- }, "${tmpdir}/lib/systemd/system") if -d "${tmpdir}/lib/systemd/system";
+ }, @dirs) if @dirs;
+
+ if (@tmpfiles) {
+ autoscript($package, 'postinst', 'postinst-init-tmpfiles', { 'TMPFILES' => join(' ', sort @tmpfiles) });
+ }
+}
+
- # Handle either only the unit files which were passed as arguments or
- # all unit files that are installed in this package.
- my @args;
- if (@ARGV > 0) {
+# Add postinst, prerm, and postrm code blocks to handle activation,
+# deactivation, start and stopping of services when the package is
+# installed, upgraded or removed.
+foreach my $package (@{$dh{DOPACKAGES}}) {
+ my $tmpdir = tmpdir($package);
+ my (@args, @start_units, @enable_units, %aliases);
+
+ my @installed_units = list_installed_units($tmpdir, \%aliases);
+
+ # Handle either only the unit files which were passed as arguments
+ # or all unit files that are installed in this package.
+ if (@ARGV) {
@args = @ARGV;
}
elsif ($dh{NAME}) {
- # treat --name flag as if the corresponding units were passed in the command line
- @args = grep /(^|\/)$dh{NAME}\.(mount|path|service|socket|target|tmpfile)$/, @installed_units;
+ # Treat --name option as if the corresponding unit names were
+ # passed in the command line.
+ @args = grep /(^|\/)$dh{NAME}\.(mount|path|service|socket|target|timer)$/, @installed_units;
}
else {
@args = @installed_units;
}
- # support excluding units via -X
+ # Support excluding units via the -X debhelper common option.
foreach my $x (@{$dh{EXCLUDE}}) {
@args = grep !/(^|\/)$x$/, @args;
}
- # This hash prevents us from looping forever in the following while loop.
- # An actual real-world example of such a loop is systemd’s
- # systemd-readahead-drop.service, which contains
+ # This hash prevents us from looping forever in the following
+ # while loop. An actual real-world example of such a loop is
+ # systemd's systemd-readahead-drop.service, which contains
# Also=systemd-readahead-collect.service, and that file in turn
- # contains Also=systemd-readahead-drop.service, thus forming an endless
- # loop.
+ # contains Also=systemd-readahead-drop.service, thus forming an
+ # endless loop.
my %seen;
- # We use while/shift because we push to the list in the body.
+
+ # Must use while and shift because the loop alters the list.
while (@args) {
- my $name = shift @args;
- my $base = basename($name);
-
- # Try to make the path absolute, so that the user can call
- # dh_installsystemd bacula-fd.service
- if ($base eq $name) {
- # NB: This works because @installed_units contains
- # files from precisely one directory.
- my ($full) = grep { basename($_) eq $base } @installed_units;
- if (defined($full)) {
- $name = $full;
- } else {
- warning(qq|Could not find "$name" in the /lib/systemd/system directory of $package. | .
- qq|This could be a typo, or using Also= with a service file from another package. | .
- qq|Please check carefully that this message is harmless.|);
- }
+ my $unit = shift @args;
+ my $path = "${tmpdir}/lib/systemd/system/${unit}";
+
+ error("Package '$package' does not install unit '$unit'.") unless (-f $path);
+
+ # Skip template service files. Enabling, disabling, starting
+ # or stopping those services without specifying the instance
+ # is not useful.
+ next if ($unit =~ /\@/);
+
+ # Handle all unit files specified via Also= explicitly. This
+ # is not necessary for enabling, but for disabling, as we
+ # cannot read the unit file when disabling as it has already
+ # been deleted. The undocumented --no-also option disables
+ # handling of units linked via Also=. This option is provided
+ # only to suport a very specific use case in network-manager.
+ unless ($dh{NO_ALSO}) {
+ push @args, $_ for grep { !$seen{$_}++ } extract_key($path, 'Also');
}
- $installed_files{$base} = 1 if exists($requested_files{$base});
+ # Extract unit aliases.
+ push @{$aliases{$unit}}, $_ for extract_key($path, 'Alias');
- # Skip template service files like e.g. getty@.service.
- # Enabling, disabling, starting or stopping those services
- # without specifying the instance (e.g. getty@ttyS0.service) is
- # not useful.
- if ($name =~ /\@/) {
- next;
+ if (! grep { has_sysv_equivalent($tmpdir, $_) } ($unit, @{$aliases{$unit}})) {
+ push @start_units, $unit;
}
- # Handle all unit files specified via Also= explicitly.
- # This is not necessary for enabling, but for disabling, as we
- # cannot read the unit file when disabling (it was already
- # deleted).
- my @also = grep { !exists($seen{$_}) } extract_key($name, 'Also');
- $seen{$_} = 1 for @also;
- @args = (@args, @also);
-
- push @{$aliases{$name}}, $_ for extract_key($name, 'Alias');
- my @sysv = grep {
- my $base = $_;
- $base =~ s/\.(?:mount|service|socket|target|path)$//g;
- -f "$tmpdir/etc/init.d/$base"
- } ($base, @{$aliases{$name}});
- if (@sysv == 0 && !grep { $_ eq $name } @start_units) {
- push @start_units, $name;
- }
-
- if (contains_install_section($name) && !grep { $_ eq $name } @enable_units) {
- push @enable_units, $name;
+ if (contains_install_section($path)) {
+ push @enable_units, $unit;
}
}
- # Include postinst-init-tmpfiles if the package ships any files
- # in /usr/lib/tmpfiles.d or /etc/tmpfiles.d
- if (-d $tmpdir) {
- my @dirs = grep { -d } map { "${tmpdir}/$_" } qw(usr/lib/tmpfiles.d etc/tmpfiles.d);
- find({
- wanted => sub {
- my $name = $File::Find::name;
- return unless -f $name;
- $name =~ s/^\Q$tmpdir\E//g;
- push(@tmpfiles, $name);
- },
- no_chdir => 1,
- }, @dirs) if @dirs;
- if (@tmpfiles > 0) {
- autoscript($package, 'postinst', 'postinst-init-tmpfiles', { 'TMPFILES' => join(' ', sort @tmpfiles) });
- }
- }
+ @enable_units = map { quote($_) } uniq sort @enable_units;
+ @start_units = map { quote($_) } uniq sort @start_units;
+
+ my %options = ('snippet-order' => 'service');
if (@enable_units) {
- for my $unit (sort @enable_units) {
- my $base = q{'} . basename($unit) . q{'};
- if ($dh{NO_ENABLE}) {
- autoscript($package, 'postinst', 'postinst-systemd-dont-enable', { 'UNITFILE' => $base });
- } else {
- autoscript($package, 'postinst', 'postinst-systemd-enable', { 'UNITFILE' => $base });
- }
+ for my $unit (@enable_units) {
+ my $snippet = $dh{NO_ENABLE} ? 'postinst-systemd-dont-enable' : 'postinst-systemd-enable';
+ autoscript($package, 'postinst', $snippet, { 'UNITFILE' => $unit }, \%options);
}
- my $enableunitargs = join(' ', sort map { q{'} . basename($_) . q{'} } @enable_units);
- autoscript($package, 'postrm', 'postrm-systemd', {'UNITFILES' => $enableunitargs });
+ autoscript($package, 'postrm', 'postrm-systemd', {'UNITFILES' => join(' ', @enable_units) });
}
-
+
if (@start_units) {
- # The $package and $sed parameters are always the same.
- # This wrapper function makes the following logic easier to read.
- my $startunitargs = join(' ', sort map { q{'} . basename($_) . q{'} } @start_units);
- my $start_autoscript = sub {
- my ($script, $filename) = @_;
- autoscript($package, $script, $filename, { 'UNITFILES' => $startunitargs });
- };
+ my $units = { 'UNITFILES' => join(' ', @start_units) };
if ($dh{RESTART_AFTER_UPGRADE}) {
- my $snippet = "postinst-systemd-restart" . ($dh{NO_START} ? "nostart" : "");
- $start_autoscript->("postinst", $snippet);
+ my $snippet = $dh{NO_START} ? 'postinst-systemd-restartnostart' : 'postinst-systemd-restart';
+ autoscript($package, 'postinst', $snippet, $units, \%options);
} elsif (!$dh{NO_START}) {
- # We need to stop/start before/after the upgrade.
- $start_autoscript->("postinst", "postinst-systemd-start");
+ # (stop|start) service (before|after) upgrade
+ autoscript($package, 'postinst', 'postinst-systemd-start', $units, \%options);
}
- $start_autoscript->("postrm", "postrm-systemd-reload-only");
+ autoscript($package, 'postrm', 'postrm-systemd-reload-only', $units, \%options);
if ($dh{R_FLAG} || $dh{RESTART_AFTER_UPGRADE}) {
# stop service only on remove
- $start_autoscript->("prerm", "prerm-systemd-restart");
+ autoscript($package, 'prerm', 'prerm-systemd-restart', $units, \%options);
} elsif (!$dh{NO_START}) {
# always stop service
- $start_autoscript->("prerm", "prerm-systemd");
- }
- }
-}
-
-if (%requested_files) {
- my $any_missing = 0;
- for my $name (sort(keys(%requested_files))) {
- if (not exists($installed_files{$name})) {
- warning(qq{Requested unit "$name" but it was not found in any package acted on.});
- $any_missing = 1;
+ autoscript($package, 'prerm', 'prerm-systemd', $units, \%options);
}
}
- error("Could not handle all of the requested services") if $any_missing;
}
=head1 SEE ALSO
-L<debhelper(7)>
+L<debhelper(7)>, L<dh_installinit(1)>, L<deb-systemd-helper(1)>
=head1 AUTHORS
diff --git a/dh_installwm b/dh_installwm
index bc687040..280a6b1e 100755
--- a/dh_installwm
+++ b/dh_installwm
@@ -49,6 +49,11 @@ calculating the correct value.
Do not modify F<postinst>/F<prerm> scripts. Turns this command into a no-op.
+=item B<-A>, B<--all>
+
+Modify scripts for window managers specified by command line
+parameters in ALL packages acted on, not just the first.
+
=item I<wm> ...
Window manager programs to register.
diff --git a/dh_installxfonts b/dh_installxfonts
index 444dc194..cee3c279 100755
--- a/dh_installxfonts
+++ b/dh_installxfonts
@@ -68,7 +68,8 @@ foreach my $package (@{$dh{DOPACKAGES}}) {
my @cmds;
my @cmds_postinst;
my @cmds_postrm;
- foreach my $f (@fontdirs) {
+ # Sort items for reproducible binary package contents.
+ foreach my $f (sort @fontdirs) {
# This must come before update-fonts-dir.
push @cmds, "update-fonts-scale $f"
if -f "$tmp/etc/X11/fonts/$f/$package.scale";
@@ -76,7 +77,6 @@ foreach my $package (@{$dh{DOPACKAGES}}) {
if (-f "$tmp/etc/X11/fonts/$f/$package.alias") {
push @cmds_postinst, "update-fonts-alias --include /etc/X11/fonts/$f/$package.alias $f";
push @cmds_postrm, "update-fonts-alias --exclude /etc/X11/fonts/$f/$package.alias $f";
- addsubstvar($package, "misc:Depends", "xfonts-utils (>= 1:7.5+2)");
}
}
@@ -85,7 +85,11 @@ foreach my $package (@{$dh{DOPACKAGES}}) {
autoscript($package, "postrm", "postrm-xfonts",
{ 'CMDS' => join(";", @cmds, @cmds_postrm) });
- addsubstvar($package, "misc:Depends", "xfonts-utils");
+ if (@cmds_postrm) {
+ addsubstvar($package, "misc:Depends", "xfonts-utils", ">= 1:7.5+2");
+ } else {
+ addsubstvar($package, "misc:Depends", "xfonts-utils");
+ }
}
}
diff --git a/dh_link b/dh_link
index 7e2fe3ba..23b540f8 100755
--- a/dh_link
+++ b/dh_link
@@ -56,7 +56,7 @@ whitespace.
In each pair the source file (called B<target> by L<ln(1)>) comes
first and is followed by the destination file (called B<link name> by
L<ln(1)>). Thus the pairs of source and destination files in each line
-are give in the same order as they would be given to L<ln(1)>.
+are given in the same order as they would be given to L<ln(1)>.
In contrast to L<ln(1)>, source and destination paths must be absolute
(the leading slash is optional).
diff --git a/dh_listpackages b/dh_listpackages
index 170f16b8..87bcbd5e 100755
--- a/dh_listpackages
+++ b/dh_listpackages
@@ -23,6 +23,8 @@ packages debhelper commands will act on. If you pass it some options, it
will change the list to match the packages other debhelper commands would
act on if passed the same options.
+Packages are listed in the order they appear in F<debian/control>.
+
=cut
$dh{BLOCK_NOOP_WARNINGS}=1;
diff --git a/dh_makeshlibs b/dh_makeshlibs
index 8bb3354c..03f6a7c3 100755
--- a/dh_makeshlibs
+++ b/dh_makeshlibs
@@ -64,24 +64,70 @@ looked at library filenames rather than using objdump.
=item B<--version-info>, B<--version-info=>I<dependencies>
-By default, the shlibs file generated by this program does not make packages
-depend on any particular version of the package containing the shared
-library. It may be necessary for you to add some version dependency
-information to the shlibs file. If B<-V> is specified with no dependency
-information, the current upstream version of the package is plugged into a
-dependency that looks like "I<packagename> B<(E<gt>>= I<packageversion>B<)>". Note that in
-debhelper compatibility levels before v4, the Debian part of the package
-version number is also included. If B<-V> is specified with parameters, the
-parameters can be used to specify the exact dependency information needed
-(be sure to include the package name).
-
-Beware of using B<-V> without any parameters; this is a conservative setting
-that always ensures that other packages' shared library dependencies are at
-least as tight as they need to be (unless your library is prone to changing
-ABI without updating the upstream version number), so that if the
-maintainer screws up then they won't break. The flip side is that packages
-might end up with dependencies that are too tight and so find it harder to
-be upgraded.
+If a shlibs file is generated by this program, this option controls
+what version will be used in the dependency relation.
+
+In compat 12 and later, B<dh_makeshlibs> defaults to B<-VUpstream-Version>.
+In compat 11 and earlier the default behaved like B<-VNone>..
+
+The B<dh_makeshlibs> tool can generate dependencies in three variants:
+
+=over 4
+
+=item B<-VUpstream-Version>
+
+The dependency will be "I<packagename> B<(E<gt>>= I<packageversion>B<)>".
+Note that I<Upstream-Version> is case-sensitive and must be written
+exactly as shown here.
+
+This is a conservative setting that always ensures that other packages'
+shared library dependencies are at least as tight as they need to be
+(unless the library is prone to changing ABI without updating the
+upstream version number).
+
+The flip side is that packages might end up with dependencies that are
+too tight in some cases (note a symbols file can mitigate this issue).
+This is often of minor temporary inconvenience and usually a lot
+better than the fall out caused by forgetting to bump the dependency
+information.
+
+This explicit form was added in debhelper/11.3. In previous versions,
+a B<-V> without any dependency information was used instead (and that
+form still works)
+
+=item B<-VNone>
+
+The dependency will be "I<packagename>". Note that I<None> is
+case-sensitive and must be written exactly as shown here.
+
+This form is generally unsafe with the only exception being if upstream
+does not extend the ABI in any way. However, most upstreams improve their
+interfaces over time and packagers are recommended to use
+B<-VUpstream-Version> (or one of the other forms of B<-V>I<dependencies>).
+
+Alternatively, this may be sufficient if (and only if) the package uses
+symbol versioning (see L<dpkg-gensymbols(1)>) and does I<not> build any
+udeb packages. Note that symbols are not supported for udeb packages,
+which solely relies on shlibs for dependency handling.
+
+=item B<-V>I<package-relation>
+
+In this case, the value passed to B<-V> will be used as a dependency
+relation. The I<package-relation> should generally be of the form
+"I<some-package-name> B<(E<gt>>= I<some-package-version>B<)>". Remember
+to include the package name.
+
+Note that debhelper will use the value I<as it is> with no sanity
+checking or modification. In I<rare special> cases, this is needed to
+generate a dependency on a different package than the one containing
+the library.
+
+=back
+
+When choosing a value for this option, please keep mind that if the
+package provides a symbols file, then that it generally preferred over
+the shlibs file for regular .deb packages. See L<dpkg-shlibdeps(1)>
+for more information on this topic.
=item B<-n>, B<--no-scripts>
@@ -110,13 +156,13 @@ Pass I<params> to L<dpkg-gensymbols(1)>.
=over 4
-=item B<dh_makeshlibs>
+=item B<dh_makeshlibs -VNone>
Assuming this is a package named F<libfoobar1>, generates a shlibs file that
looks something like:
libfoobar 1 libfoobar1
-=item B<dh_makeshlibs -V>
+=item B<dh_makeshlibs -VUpstream-Version>
Assuming the current version of the package is 1.1-3, generates a shlibs
file that looks something like:
@@ -149,6 +195,10 @@ foreach my $package (@{$dh{DOPACKAGES}}) {
my (%seen, $unversioned_so);
my $need_ldconfig = 0;
+ # Note that since each package can have a shlibs file independently of
+ # each other, we need to make these local.
+ my $v_flag_set = $dh{V_FLAG_SET};
+ my $v_flag = $dh{V_FLAG} // '';
my $shlibs_file = pkgfile($package, 'shlibs');
rm_files("$tmp/DEBIAN/shlibs");
@@ -160,17 +210,17 @@ foreach my $package (@{$dh{DOPACKAGES}}) {
# because only if we can get a library name and a major number from
# objdump is anything actually added.
my $exclude='';
- my (@udeb_lines, @lib_files);
+ my (@udeb_lines, @deb_lines, @lib_files);
if (defined($dh{EXCLUDE_FIND}) && $dh{EXCLUDE_FIND} ne '') {
$exclude="! \\( $dh{EXCLUDE_FIND} \\) ";
}
open (FIND, "test -d $tmp && find $tmp -type f \\( -name '*.so' -or -name '*.so.*' \\) $exclude | LC_ALL=C sort |");
- while (<FIND>) {
+ while (my $lib_file = <FIND>) {
my ($library, $major);
- chomp;
- next if not is_so_or_exec_elf_file($_);
- push @lib_files, $_;
- my $ret = compat(10) ? `$objdump -p "$_"` : qx_cmd($objdump, '-p', $_);
+ chomp($lib_file);
+ next if not is_so_or_exec_elf_file($lib_file);
+ push(@lib_files, $lib_file) if compat(11);
+ my $ret = compat(10) ? `$objdump -p "$lib_file"` : qx_cmd($objdump, '-p', $lib_file);
if ($ret=~m/\s+SONAME\s+(.*)\.so\.(.*)/) {
# proper soname format
$library=$1;
@@ -180,28 +230,32 @@ foreach my $package (@{$dh{DOPACKAGES}}) {
# idiotic crap soname format
$library=$1;
$major=$2;
- } elsif ($ret =~ m/\s+SONAME\s+(?:.*)\.so/) {
+ } elsif ($ret =~ m/\s+SONAME\s+(?:\S)/) {
$unversioned_so = 1;
+ push(@lib_files, $lib_file) if not compat(11);
}
if (defined($dh{M_PARAMS}) && $dh{M_PARAMS} ne '') {
$major=$dh{M_PARAMS};
}
-
- install_dir("$tmp/DEBIAN");
+
my $deps=$package;
- if ($dh{V_FLAG_SET}) {
+ if ($v_flag_set) {
if ($shlibs_file) {
warning("The provided ${shlibs_file} file overwrites -V");
- # Clear the flag to avoid duplicate warnings. Note
- # we can safely fallthrough as the result will be
- # replaced regardless.
- $dh{V_FLAG_SET} = 0;
+ # Clear the flag to avoid duplicate warnings.
+ $v_flag_set = 0;
+ $v_flag = '';
+ } else {
+ # Set the default "-V" (with no value) is passed.
+ $v_flag = 'Upstream-Version' if $v_flag eq '';
}
- if ($dh{V_FLAG} ne '') {
- $deps=$dh{V_FLAG};
- }
- else {
+ } elsif ($v_flag eq '') {
+ # Set the default if "-V" is omitted.
+ $v_flag = compat(11) ? 'None' : 'Upstream-Version';
+ }
+ if ($v_flag ne '') {
+ if ($v_flag eq 'Upstream-Version') {
# Call isnative because it sets $dh{VERSION}
# as a side effect.
isnative($package);
@@ -210,21 +264,24 @@ foreach my $package (@{$dh{DOPACKAGES}}) {
# debian revision, while new do not.
# Remove debian version, if any.
$version =~ s/-[^-]+$//;
- $deps="$package (>= $version)";
+ $deps = "$package (>= $version)";
+ } elsif ($v_flag ne 'None') {
+ $deps = $v_flag;
}
}
if (defined($library) && defined($major) && defined($deps) &&
$library ne '' && $major ne '' && $deps ne '') {
$need_ldconfig=1;
+ push(@lib_files, $lib_file) if not compat(11);
# Prevent duplicate lines from entering the file.
my $line="$library $major $deps";
if (! $seen{$line}) {
$seen{$line}=1;
- complex_doit("echo '$line' >>$tmp/DEBIAN/shlibs");
+ push(@deb_lines, $line);
if (defined($dh{SHLIBS_UDEB}) && $dh{SHLIBS_UDEB} ne '') {
my $udeb_deps = $deps;
$udeb_deps =~ s/\Q$package\E/$dh{SHLIBS_UDEB}/e;
- $line="udeb: "."$library $major $udeb_deps";
+ $line="udeb: $library $major $udeb_deps";
push @udeb_lines, $line;
}
}
@@ -232,14 +289,21 @@ foreach my $package (@{$dh{DOPACKAGES}}) {
}
close FIND;
- # Write udeb: lines last.
- foreach (@udeb_lines) {
- complex_doit("echo '$_' >>$tmp/DEBIAN/shlibs");
- }
-
if ($shlibs_file) {
install_dir("$tmp/DEBIAN");
install_file($shlibs_file, "$tmp/DEBIAN/shlibs");
+ } elsif (@deb_lines or @udeb_lines) {
+ install_dir("$tmp/DEBIAN");
+ if ($dh{VERBOSE}) {
+ verbose_print('echo ' . escape_shell($_) . ' >> ' . escape_shell("$tmp/DEBIAN/shlibs"))
+ for @deb_lines, @udeb_lines;
+ }
+ if (not $dh{NO_ACT}) {
+ open(my $shlibs_fd, '>', "$tmp/DEBIAN/shlibs") or error("open($tmp/DEBIAN/shlibs): $!");
+ # Write the shlibs file with the udeb: lines last.
+ print {$shlibs_fd} "$_\n" for @deb_lines, @udeb_lines;
+ close($shlibs_fd) or error("close($tmp/DEBIAN/shlibs");
+ }
}
if (-e "$tmp/DEBIAN/shlibs") {
diff --git a/dh_md5sums b/dh_md5sums
index dea8e800..04c7ddb8 100755
--- a/dh_md5sums
+++ b/dh_md5sums
@@ -61,51 +61,59 @@ on_pkgs_in_parallel {
install_dir("$tmp/DEBIAN");
# Check if we should exclude conffiles.
- my $exclude="";
+ my %conffiles;
if (! $dh{INCLUDE_CONFFILES} && -r "$tmp/DEBIAN/conffiles") {
# Generate exclude regexp.
open(my $fd, '<', "$tmp/DEBIAN/conffiles")
or die("open $tmp/DEBIAN/conffiles failed: $!");
- while (<$fd>) {
- chomp;
- s/^\///;
- $exclude.="! -path \"./$_\" ";
+ while (my $line = <$fd>) {
+ chomp($line);
+ $line =~ s/^\///;
+ $conffiles{$line} = 1;
}
close($fd);
}
- # See if we should exclude other files.
- if (defined($dh{EXCLUDE_FIND}) && $dh{EXCLUDE_FIND} ne '') {
- $exclude.="! \\( $dh{EXCLUDE_FIND} \\) ";
- }
-
- my $find="find . -type f $exclude ! -regex './DEBIAN/.*' -printf '%P\\0'";
- complex_doit("(cd $tmp >/dev/null ; $find | LC_ALL=C sort -z | xargs -r0 md5sum | " .
- q{perl -pe 'if (s@^\\\\@@) { s/\\\\\\\\/\\\\/g; }' > DEBIAN/md5sums) >/dev/null});
- # If the file's empty, no reason to waste inodes on it.
- if (-z "$tmp/DEBIAN/md5sums") {
- rm_files("$tmp/DEBIAN/md5sums");
- }
- else {
- reset_perm_and_owner(0644, "$tmp/DEBIAN/md5sums");
- }
+ generate_md5sums_file($tmp, \%conffiles);
if ( -d $dbgsym_tmp) {
install_dir("${dbgsym_tmp}/DEBIAN");
-
- $find = "find . -type f ! -regex './DEBIAN/.*' -printf '%P\\0'";
- complex_doit("(cd $dbgsym_tmp >/dev/null ; $find | LC_ALL=C sort -z | xargs -r0 md5sum | " .
- q{perl -pe 'if (s@^\\\\@@) { s/\\\\\\\\/\\\\/g; }' > DEBIAN/md5sums) >/dev/null});
- # If the file's empty, no reason to waste inodes on it.
- if (-z "${dbgsym_tmp}/DEBIAN/md5sums") {
- rm_files("${dbgsym_tmp}/DEBIAN/md5sums");
- }
- else {
- reset_perm_and_owner(0644, "${dbgsym_tmp}/DEBIAN/md5sums");
- }
+ generate_md5sums_file($dbgsym_tmp);
}
}
};
+sub generate_md5sums_file {
+ my ($tmpdir, $conffiles) = @_;
+ my $find_pid = open(my $find_fd, '-|') // error("fork failed: $!");
+ my (@files, $pipeline_pid);
+ if (not $find_pid) {
+ # Child
+ chdir($tmpdir) or error("chdir($tmpdir) failed: $!");
+ exec { 'find' } 'find', '-type', 'f', '!', '-regex', './DEBIAN/.*', '-printf', "%P\\0";
+ }
+ local $/ = "\0"; # NUL-terminated input/"lines"
+ while (my $line = <$find_fd>) {
+ chomp($line);
+ next if excludefile($line);
+ next if %{$conffiles} and exists($conffiles->{$line});
+ push(@files, $line);
+ }
+ close($find_fd) or error_exitcode("find -type f ! -regex './DEBIAN/.*' -printf '%P\\0'");
+ @files = sort(@files);
+ verbose_print("cd $tmpdir >/dev/null && " . q{xargs -r0 md5sum | perl -pe 'if (s@^\\\\@@) { s/\\\\\\\\/\\\\/g; }' > DEBIAN/md5sums});
+ $pipeline_pid = open(my $pipeline_fd, '|-') // error("fork failed: $!");
+ if (not $pipeline_pid) {
+ # Child
+ chdir($tmpdir) or error("chdir($tmpdir) failed: $!");
+ exec { 'sh' } '/bin/sh', '-c', q{xargs -r0 md5sum | perl -pe 'if (s@^\\\\@@) { s/\\\\\\\\/\\\\/g; }' > DEBIAN/md5sums};
+ }
+
+ printf {$pipeline_fd} "%s\0", $_ for @files; # @files include NUL-terminator
+ close($pipeline_fd) or error_exitcode("cd $tmpdir >/dev/null && xargs -r0 md5sum | perl -pe 'if (s@^\\\\@@) { s/\\\\\\\\/\\\\/g; }' > DEBIAN/md5sums");
+ reset_perm_and_owner(0644, "${tmpdir}/DEBIAN/md5sums");
+ return;
+}
+
=head1 SEE ALSO
L<debhelper(7)>
diff --git a/dh_missing b/dh_missing
index 2f9e029c..fb68ffa9 100755
--- a/dh_missing
+++ b/dh_missing
@@ -21,9 +21,11 @@ B<dh_missing> [B<-X>I<item>] [B<--sourcedir=>I<dir>] [S<I<debhelper options>>]
B<dh_missing> compares the list of installed files with the files in
the source directory. If any of the files (and symlinks) in the source
directory were not installed to somewhere, it will warn on stderr
-about that (B<--list-missing>) or fail (B<--fail-missing>). Please
-note that without either of these options, B<dh_missing> will silently
-do nothing.
+about that (B<--list-missing>) or fail (B<--fail-missing>).
+
+Please note that in compat 11 and earlier without either of these
+options, B<dh_missing> will silently do nothing. From compat 12 on,
+B<--list-missing> is the default.
This may be useful if you have a large package and want to make sure that
you don't miss installing newly added files in new upstream releases.
@@ -44,8 +46,8 @@ However, it is B<not> a method to exclude files from being installed
by any of the debhelper tool. If you want a tool to not install a
given file, please use its B<--exclude> option (where available).
-Please keep in mind that B<dh_missing> will B<not> expand wildcards in
-this file.
+B<dh_missing> will expand wildcards in this file (since debhelper 11.1).
+Wildcards without matches will be ignored.
=back
@@ -60,6 +62,8 @@ Warn on stderr about source files not installed to somewhere.
Note that files that are excluded from being moved via the B<-X> option are not
warned about.
+This is the default in compat 12 and later.
+
=item B<--fail-missing>
This option is like B<--list-missing>, except if a file was missed, it will
@@ -80,6 +84,9 @@ my (@installed, %helpers);
my $srcdir = '.';
$srcdir = $dh{SOURCEDIR} if defined $dh{SOURCEDIR};
+# --list-missing is the default in compat 12+
+$dh{LIST_MISSING} = 1 if !$dh{FAIL_MISSING} && !compat(11);
+
if (!$dh{LIST_MISSING} && !$dh{FAIL_MISSING}) {
exit 0;
}
@@ -90,14 +97,15 @@ if ($srcdir eq '.') {
}
if (! -d $srcdir) {
- if (scalar(getpackages()) == 1 && not defined($dh{SOURCEDIR})) {
+ # If there was no explicit source directory, then we do not care
+ # if it is missing.
+ exit(0) if not defined $dh{SOURCEDIR};
+
+ if (scalar(getpackages()) == 1 && defined($dh{SOURCEDIR})) {
warning("$srcdir does not exist and there is only binary package.");
warning("Assuming everything is installed directly into the package directory.");
exit(0);
}
- # If there was no explicit source directory, then we do not care
- # if it is missing.
- exit(0) if not defined $dh{SOURCEDIR};
if (compat(10)) {
# Prevent "dh $@ --list-missing --destdir=... ..." from failing in compat 10.
warning("Cannot check if installation is missing files: $srcdir does not exist");
@@ -107,7 +115,7 @@ if (! -d $srcdir) {
}
}
-for my $file (<debian/.debhelper/generated/*/installed-by-*>) {
+for my $file (glob('debian/.debhelper/generated/*/installed-by-*')) {
my ($target_pkg, $helper) = ('unknown', 'unknown');
my $had_files = 0;
my %seen;
@@ -130,10 +138,21 @@ for my $file (<debian/.debhelper/generated/*/installed-by-*>) {
my @missing;
if ( -f 'debian/not-installed') {
my @not_installed = filearray('debian/not-installed');
- foreach (@not_installed) {
- s:^\s*:debian/tmp/: unless m:^\s*debian/tmp/:;
+ for my $pattern (@not_installed) {
+ my @matches;
+ # Add an explicit d/tmp if absent as there is no point in
+ # looking outside the debian staging directory
+ $pattern =~ s:^\s*:debian/tmp/: unless $pattern =~ m:^\s*debian/tmp/:;
+ @matches = glob_expand(['.'], \&glob_expand_error_handler_silently_ignore, $pattern);
+ if (@matches) {
+ # Assume classify them as installed
+ push(@installed, @matches);
+ } else {
+ # Assume it is not a pattern and classify it as installed
+ push(@installed, $pattern);
+ }
}
- # Pretend that these are also installed.
+
push(@installed, @not_installed);
}
my $installed=join("|", map {
diff --git a/dh_shlibdeps b/dh_shlibdeps
index ac06e20a..09ce19fd 100755
--- a/dh_shlibdeps
+++ b/dh_shlibdeps
@@ -140,11 +140,9 @@ on_pkgs_in_parallel {
return if -l $fn; # Ignore symlinks
# See if we were asked to exclude this file.
# Note that we have to test on the full filename, including directory.
- foreach my $f (@{$dh{EXCLUDE}}) {
- if ($fn =~ m/\Q$f\E/) {
- $File::Find::prune = 1 if -d _;
- return;
- }
+ if (excludefile($fn)) {
+ $File::Find::prune = 1 if -d _;
+ return;
}
if (-d _) {
# Prune directories that contain separated debug symbols.
diff --git a/dh_strip b/dh_strip
index ade28a57..d345c696 100755
--- a/dh_strip
+++ b/dh_strip
@@ -178,12 +178,13 @@ sub testfile {
# See if we were asked to exclude this file.
# Note that we have to test on the full filename, including directory.
- foreach my $f (@{$dh{EXCLUDE}}) {
- if ($fn =~ m/\Q$f\E/) {
- $File::Find::prune = 1 if -d _;
- return;
- }
+ if (excludefile($fn)) {
+ $File::Find::prune = 1 if -d _;
+ return;
}
+ # Ignore the .../debug/.build-id/ directory. It is not really helpful
+ # to strip debug symbols.
+ $File::Find::prune = 1 if -d _ && index($fn, '/debug/.build-id/') > -1;
return if -d _;
# Is it a debug library in a debug subdir?
@@ -245,6 +246,16 @@ sub testfile {
}
}
+sub write_buildid_file {
+ my ($package, $build_ids) = @_;
+ my $dir = "debian/.debhelper/${package}";
+ my $path = "${dir}/dbgsym-build-ids";
+ install_dir($dir);
+ open(my $fd, '>>', $path) or error("open $path failed: $!");
+ print {$fd} join(q{ }, sort(@{$build_ids})) . ' ';
+ close($fd) or error("close $path failed: $!");
+}
+
# I could just use `file $_[0]`, but this is safer
sub get_file_type {
my ($file, $cache_ok) = @_;
@@ -337,7 +348,7 @@ sub process_packages {
$use_build_id = 2;
}
}
- %file_output=@shared_libs=@executables=@static_libs=@build_ids=();
+ %file_output=@shared_libs=@executables=@static_libs=();
find({
wanted => \&testfile,
no_chdir => 1,
@@ -357,15 +368,19 @@ sub process_packages {
attach_debug($objcopy, $_, $debug_path) if defined $debug_path;
}
- if (@static_libs) {
- foreach (@static_libs) {
- # NB: The short variant (-D) is broken in Jessie
- # (binutils/2.25-3)
- doit($strip, '--strip-debug', '--remove-section=.comment',
- '--remove-section=.note', '--enable-deterministic-archives',
- $_);
- }
+ foreach (@static_libs) {
+ # NB: The short variant (-D) is broken in Jessie
+ # (binutils/2.25-3)
+ doit($strip, '--strip-debug', '--remove-section=.comment',
+ '--remove-section=.note', '--enable-deterministic-archives', $_);
+ }
+ if (-d "$tmp/usr/lib/debug/.dwz" and ($use_build_id > 1 or $dh{DEBUGPACKAGE})) {
+ my @files = glob_expand(["$tmp/usr/lib/debug/.dwz"], \&glob_expand_error_handler_reject, '*');
+ install_dir("$debugtmp/usr/lib/debug/.dwz");
+ xargs(\@files, 'cp', '--reflink=auto', "-a", XARGS_INSERT_PARAMS_HERE, "$debugtmp/usr/lib/debug/.dwz");
+ doit('rm', '-fr', "$tmp/usr/lib/debug/.dwz");
}
+
if ($no_auto_dbgsym and $use_build_id > 1) {
# When DEB_BUILD_OPTIONS contains noautodbgsym, remove the
# dbgsym dir and clear the build-ids.
@@ -390,20 +405,14 @@ sub process_packages {
close($fd) or error("close $path failed: $!");
}
}
- if (@build_ids && ($use_build_id > 1 || $dh{DEBUGPACKAGE})) {
- my ($dir, $path);
- if ($use_build_id > 1) {
- $dir = "debian/.debhelper/${package}";
- } else {
- $dir = "debian/.debhelper/$dh{DEBUGPACKAGE}";
- }
- $path = "${dir}/dbgsym-build-ids";
- install_dir($dir);
- open(my $fd, '>>', $path) or error("open $path failed: $!");
- print {$fd} join(q{ }, sort(@build_ids)) . "\n";
- close($fd) or error("close $path failed: $!");
+ if ($use_build_id > 1 and @build_ids) {
+ write_buildid_file($package, \@build_ids);
+ @build_ids = ();
}
}
+ if (@build_ids and $dh{DEBUGPACKAGE}) {
+ write_buildid_file($dh{DEBUGPACKAGE}, \@build_ids);
+ }
}
if ($dh{DEBUGPACKAGE}) {
diff --git a/dh_testroot b/dh_testroot
index 91ac26a6..042331b6 100755
--- a/dh_testroot
+++ b/dh_testroot
@@ -12,33 +12,52 @@ B<dh_testroot> [S<I<debhelper options>>]
=head1 DESCRIPTION
-B<dh_testroot> is used to determine if the package has access to at
-least the level of root access that it declared it needed via the
-Rules-Requires-Root (R³) field.
+B<dh_testroot> is used to determine if the target is being run with
+sufficient access to (fake)root.
-The following is how B<dh_testroot> behaves based on the effective
-value of the R³ field:
+The definition of sufficient access depends on whether the builder
+(the tool invoking the F<debian/rules> target) supports the
+I<Rules-Requires-Root> (R³) field. If the builder supports R³, then
+it will set the environment variable I<DEB_RULES_REQUIRES_ROOT> and
+B<dh_testroot> will validate that the builder followed the minimum
+requirements for the given value of I<DEB_RULES_REQUIRES_ROOT>.
+
+If the builder does not support I<Rules-Requires-Root>, then it will
+not set the I<DEB_RULES_REQUIRES_ROOT> environment variable. This
+will in turn make B<dh_testroot> (and the rest of debhelper) fall back
+to assuming that (fake)root is implied.
+
+The following is a summary of how B<dh_testroot> behaves based on the
+I<DEB_RULES_REQUIRES_ROOT> environment variable (leading and trailing
+whitespace in the variable is ignored).
=over 4
-=item "binary-targets"
+=item -
-B<dh_testroot> asserts that it is run as root or under L<fakeroot(1)>.
+If unset, or set to C<binary-targets>, then B<dh_testroot> asserts
+that it is run as root or under L<fakeroot(1)>.
-=item "no"
+=item -
-B<dh_testroot> returns successfully.
+If set to C<no>, then B<dh_testroot> returns successfully (without
+performing any additional checks).
-=item Any other value than the above
+=item -
-B<dh_testroot> asserts that it is either run as root (or under
-L<fakeroot(1)>) or the builder has provided the B<DPKG_GAIN_ROOT_CMD>
-environment variable (e.g. via dpkg-buildpackage -r).
+If set to any other value than the above, then B<dh_testroot> asserts
+that it is either run as root (or under L<fakeroot(1)>) or the builder
+has provided the B<DEB_GAIN_ROOT_CMD> environment variable (e.g. via
+dpkg-buildpackage -r).
=back
-For backwards compatibility, B<dh_testroot> will consider the absence
-of the R³ field as if the R³ field was set to "binary-targets".
+Please note that B<dh_testroot> does I<not> read the
+I<Rules-Requires-Root> field. Which implies that B<dh_testroot> may
+produce incorrect result if the builder lies in
+I<DEB_RULES_REQUIRES_ROOT>. On the flip side, it also enables things
+like testing for what will happen when I<DEB_RULES_REQUIRES_ROOT> is
+set to a given value.
=cut
@@ -50,11 +69,9 @@ our $VERSION = DH_BUILTIN_VERSION;
inhibit_log();
-my $requirements = 'legacy-root';
+my $requirements = Debian::Debhelper::Dh_Lib::root_requirements();
-if (-f 'debian/control') {
- $requirements = Debian::Debhelper::Dh_Lib::root_requirements();
-} else {
+if (! -f 'debian/control') {
warning('dh_testroot must be called from the source root');
}
@@ -66,8 +83,8 @@ exit 0 if $< == 0;
if ($requirements eq 'legacy-root') {
error("You must run this as root (or use fakeroot).");
} else {
- my $env = $ENV{'DPKG_GAIN_ROOT_CMD'};
- error("Package needs targetted root but builder has not provided a gain-root command via \${DPKG_GAIN_ROOT_CMD}")
+ my $env = $ENV{DEB_GAIN_ROOT_CMD};
+ error("Package needs targeted root but builder has not provided a gain-root command via \${DEB_GAIN_ROOT_CMD}")
if not $env;
}
diff --git a/dh_ucf b/dh_ucf
index 4f940dc1..459328a4 100755
--- a/dh_ucf
+++ b/dh_ucf
@@ -14,7 +14,7 @@ our $VERSION = DH_BUILTIN_VERSION;
=head1 SYNOPSIS
-B<dh_ucf> [S<I<debhelper options>>] [B<-n>]
+B<dh_ucf> [S<I<debhelper options>>] [B<-A>] [B<-n>] [S<I<file> ...>]
=head1 DESCRIPTION
@@ -41,10 +41,20 @@ A dependency on ucf will be generated in B<${misc:Depends}>.
=over 4
+=item B<-A>, B<--all>
+
+Install all files specified by command line parameters in ALL packages
+acted on.
+
=item B<-n>, B<--no-scripts>
Do not modify F<postinst>/F<postrm> scripts. Turns this command into a no-op.
+=item I<file> ...
+
+Install these info files into the first package acted on. (Or in
+all packages if B<-A> is specified).
+
=back
=head1 NOTES
diff --git a/dh_usrlocal b/dh_usrlocal
index 5e06e658..5ee1fc28 100755
--- a/dh_usrlocal
+++ b/dh_usrlocal
@@ -33,18 +33,19 @@ snippets are inserted into the maintainer scripts by B<dh_installdeb>. See
L<dh_installdeb(1)> for an explanation of debhelper maintainer script
snippets.
-When the I<Rules-Requires-Root> field is not (effectively)
-I<binary-targets>, the directories in F</usr/local> will have
-ownership root:staff and the mode will be 02775. These values have
-been chosen to comply with the recommendations of the Debian policy
-for directories in F</usr/local>.
+When the I<DEB_RULES_REQUIRES_ROOT> environment variable is not (effectively)
+I<binary-targets>, the directories in F</usr/local> will be handled as if
+they were owned by root:root (see below).
-When I<Rules-Requires-Root> has an effective value of
+When the I<DEB_RULES_REQUIRES_ROOT> environment variable has an effective value of
I<binary-targets>, the owners, groups and permissions will be
-preserved with one exception. If the directory is owned by root:root,
-then ownership will be reset to root:staff and mode will be reset to
-02775. This is useful, since that is the group and mode policy
-recommends for directories in F</usr/local>.
+preserved with the sole exception where the directory is owned by root:root.
+
+If a directory is owned by root:root, then ownership will be determined
+at install time. The ownership and permission bits will either be root:root
+mode 0755 or root:staff mode 02775. The actual choice depends on whether
+the system has F</etc/staff-group-for-usr-local> (as documented in the Debian
+Policy Manual §9.1.2 since version 4.1.4)
=head1 OPTIONS
@@ -77,54 +78,57 @@ foreach my $package (@{$dh{DOPACKAGES}}) {
if (-d "$tmp/usr/local") {
my (@dirs, @justdirs);
- find({bydepth => 1,
- no_chdir => 1,
- wanted => sub {
- my $fn = $File::Find::name;
- if (-d $fn) {
- my $user = 'root';
- my $group = 'staff';
- my $mode = '02775';
- if (should_use_root()) {
- my $stat = stat $fn;
- $user = getpwuid $stat->uid;
- $group = getgrgid $stat->gid;
- $mode = sprintf "%04lo", ($stat->mode & 07777);
- if ($stat->uid == 0 && $stat->gid == 0) {
- $group = 'staff';
- $mode = '02775';
- }
- }
-
-
-
- $fn =~ s!^\Q$tmp\E!!;
- return if $fn eq '/usr/local';
-
- # @dirs is in parents-first order for dir creation...
- unshift @dirs, "$fn $mode $user $group";
- # ...whereas @justdirs is depth-first for removal.
- push @justdirs, $fn;
- doit('rmdir', $_);
- }
- else {
- warning("$fn is not a directory");
- }
+ find({no_chdir => 1,
+ preprocess => sub {
+ # Ensure a reproducible traversal.
+ return sort @_;
+ },
+ postprocess => sub {
+ # Uninstall, unless a direct child of /usr/local.
+ $_ = $File::Find::dir;
+ s!^\Q$tmp\E!!;
+ push @justdirs, $_ if m!/usr/local/.*/!;
+ # Remove a directory after its childs.
+ doit('rmdir', $File::Find::dir);
+ },
+ wanted => sub {
+ # rmdir would fail later anyways.
+ error("${File::Find::name} is not a directory")
+ if not -d $File::Find::name;
+ # Install directory before its childs.
+ my $fn = $File::Find::name;
+ $fn =~ s!^\Q$tmp\E!!;
+ return if $fn eq '/usr/local';
+ # Detect some obvious cases of "this will not end
+ # well". We rely on what "while read dir ... ; do"
+ # can handle for correctness.
+ if ($fn =~ m{[\s!'"\$()*#;<>?@\[\]\\`|]}) {
+ error("Cannot generate a correct shell script for $fn due to shell metacharacters");
+ }
+ if (should_use_root()) {
+ my $stat = stat $File::Find::dir;
+ if ($stat->uid == 0 && $stat->gid == 0) {
+ # Figure out the ownership and permission at runtime
+ # (required by Policy 9.1.2)
+ push(@dirs, "$fn default");
+ } else {
+ my $user = getpwuid $stat->uid;
+ my $group = getgrgid $stat->gid;
+ my $mode = sprintf "%04lo", ($stat->mode & 07777);
+ push @dirs, "$fn $mode $user $group";
+ }
+ } else {
+ # Figure out the ownership and permission at runtime
+ # (required by Policy 9.1.2)
+ push(@dirs, "$fn default");
+ }
}}, "$tmp/usr/local");
- doit('rmdir', "$tmp/usr/local");
-
- my $bs = "\\"; # A single plain backslash
- my $ebs = $bs x 2; # Escape the backslash from the shell
- # This constructs the body of a 'sed' c\ expression which
- # is parsed by the shell in double-quotes
- my $dirs = join("$ebs\n", sort @dirs);
- pop @justdirs; # don't remove directories directly in /usr/local
- my $justdirs = join("$ebs\n", reverse sort @justdirs);
+
if (! $dh{NOSCRIPTS}) {
autoscript($package,"postinst", "postinst-usrlocal",
- "/#DIRS#/ c${ebs}\n${dirs}");
+ { 'DIRS' => join ("\n", @dirs)}) if @dirs;
autoscript($package,"prerm", "prerm-usrlocal",
- "/#JUSTDIRS#/ c${ebs}\n${justdirs}") if length $justdirs;
+ { 'JUSTDIRS' => join ("\n", @justdirs)}) if @justdirs;
}
}
}
diff --git a/doc/PROGRAMMING b/doc/PROGRAMMING
index b76bc9ec..bb8a35b9 100644
--- a/doc/PROGRAMMING
+++ b/doc/PROGRAMMING
@@ -168,9 +168,14 @@ doit([$options, ]@command)
to that file. [debhelper (>= 10.7)]
* chdir => A directory. The child process will do a chdir into that
directory before executing the command. [debhelper (>= 10.9)]
+ * update_env => A hashref. Each key in it represents an environment variable
+ that should be set in the child (possibly replacing the existing value)
+ prior to the exec. If the value is undef, the environment variable will
+ be unset. Environment variables in %ENV but not listed in the update_env
+ hashref will be preserved as-is. [debhelper (>= 11.1)]
This will *not* invoke a shell, so meta characters will not have any special
- meaning. Use complex_doit for that.
+ meaning. Use complex_doit for that (or emulate via "bash -c").
NB: In compat 11 and below, there was a bug that would make doit fork a shell
in one special case. This is deprecated and will be removed in compat 12.
The detection code for this can be disabled by passing an empty hashref for
diff --git a/lib/Debian/Debhelper/Buildsystem.pm b/lib/Debian/Debhelper/Buildsystem.pm
index 4d2ee728..8176c7bf 100644
--- a/lib/Debian/Debhelper/Buildsystem.pm
+++ b/lib/Debian/Debhelper/Buildsystem.pm
@@ -16,10 +16,22 @@ use Debian::Debhelper::Dh_Lib;
# name. Do not override this method unless you know what you are
# doing.
sub NAME {
- my $this=shift;
- my $class = ref($this) || $this;
+ my ($this) = @_;
+ my $class = ref($this);
+ my $target_name;
+ if ($class) {
+ # Do not assume that the target buildsystem has been provided.
+ # NAME could be called during an error in the constructor.
+ if ($this->IS_GENERATOR_BUILD_SYSTEM and $this->get_targetbuildsystem) {
+ $target_name = $this->get_targetbuildsystem->NAME;
+ }
+ } else {
+ $class = $this;
+ }
if ($class =~ m/^.+::([^:]+)$/) {
- return $1;
+ my $name = $1;
+ return "${name}+${target_name}" if defined($target_name);
+ return $name;
}
else {
error("ınvalid build system class name: $class");
@@ -37,6 +49,43 @@ sub DEFAULT_BUILD_DIRECTORY {
"obj-" . dpkg_architecture_value("DEB_HOST_GNU_TYPE");
}
+# Return 1 if the build system generator
+sub IS_GENERATOR_BUILD_SYSTEM {
+ return 0;
+}
+
+# Generator build-systems only
+# The name of the supported target systems. The first one is
+# assumed to be the default if DEFAULT_TARGET_BUILD_SYSTEM is
+# not overridden.
+sub SUPPORTED_TARGET_BUILD_SYSTEMS {
+ error("class lacking SUPPORTED_TARGET_BUILD_SYSTEMS");
+}
+
+# Generator build-systems only
+# Name of default target build system if target is unspecified
+# (e.g. --buildsystem=cmake instead of cmake+makefile).
+sub DEFAULT_TARGET_BUILD_SYSTEM {
+ my ($this) = @_;
+ my @targets = $this->SUPPORTED_TARGET_BUILD_SYSTEMS;
+ # Assume they are listed in order.
+ return $targets[0];
+}
+
+# For regular build systems, the same as DESCRIPTION
+# For generator based build systems, the DESCRIPTION of the generator build
+# system + the target build system. Do not override this method unless you
+# know what you are doing.
+sub FULL_DESCRIPTION {
+ my ($this) = @_;
+ my $description = $this->DESCRIPTION;
+ return $description if not exists($this->{'targetbuildsystem'});
+ my $target_build_system = $this->{'targetbuildsystem'};
+ return $description if not defined($target_build_system);
+ my $target_desc = $target_build_system->FULL_DESCRIPTION;
+ return "${description} combined with ${target_desc}";
+}
+
# Constructs a new build system object. Named parameters:
# - sourcedir- specifies source directory (relative to the current (top)
# directory) where the sources to be built live. If not
@@ -46,6 +95,8 @@ sub DEFAULT_BUILD_DIRECTORY {
# DEFAULT_BUILD_DIRECTORY directory will be used.
# - parallel - max number of parallel processes to be spawned for building
# sources (-1 = unlimited; 1 = no parallel)
+# - targetbuildsystem - The target build system for generator based build
+# systems. Only set for generator build systems.
# Derived class can override the constructor to initialize common object
# parameters. Do NOT use constructor to execute commands or otherwise
# configure/setup build environment. There is absolutely no guarantee the
@@ -59,6 +110,23 @@ sub new {
parallel => undef,
cwd => Cwd::getcwd() }, $class);
+ # Setup the target buildsystem early, so e.g. _set_builddir also
+ # applies to the target build system. Useful if the generator
+ # and target does not agree on (e.g.) the default build dir.
+ my $target_bs_name;
+ if (exists $opts{targetbuildsystem}) {
+ $target_bs_name = $opts{targetbuildsystem};
+ }
+
+ $target_bs_name //= $this->DEFAULT_TARGET_BUILD_SYSTEM if $this->IS_GENERATOR_BUILD_SYSTEM;
+
+ if (defined($target_bs_name)) {
+ my %target_opts = %opts;
+ delete($target_opts{'targetbuildsystem'});
+ my $target_system =_create_buildsystem_instance($target_bs_name, 1, %target_opts);
+ $this->set_targetbuildsystem($target_system);
+ }
+
if (exists $opts{sourcedir}) {
# Get relative sourcedir abs_path (without symlinks)
my $abspath = Cwd::abs_path($opts{sourcedir});
@@ -73,6 +141,7 @@ sub new {
if (defined $opts{parallel}) {
$this->{parallel} = $opts{parallel};
}
+
return $this;
}
@@ -101,9 +170,42 @@ sub _set_builddir {
}
}
$this->{builddir} = $builddir;
+ # Use get as guard because this method is (also) called from the
+ # constructor before the target build system is setup.
+ if ($this->get_targetbuildsystem) {
+ $this->get_targetbuildsystem->{builddir} = $builddir;
+ };
return $builddir;
}
+sub set_targetbuildsystem {
+ my ($this, $target_system) = @_;
+ my $ok = 0;
+ my $target_bs_name = $target_system->NAME;
+ if (not $this->IS_GENERATOR_BUILD_SYSTEM) {
+ my $name = $this->NAME;
+ error("Cannot set a target build system: Buildsystem ${name} is not a generator build system");
+ }
+ for my $supported_bs_name ($this->SUPPORTED_TARGET_BUILD_SYSTEMS) {
+ if ($supported_bs_name eq $target_bs_name) {
+ $ok = 1;
+ last;
+ }
+ }
+ if (not $ok) {
+ my $name = $this->NAME;
+ error("Buildsystem ${name} does not support ${target_bs_name} as target build system.");
+ }
+ $this->{'targetbuildsystem'} = $target_system
+}
+
+# Returns the target build system if it is provided
+sub get_targetbuildsystem {
+ my $this = shift;
+ return if not exists($this->{'targetbuildsystem'});
+ return $this->{'targetbuildsystem'};
+}
+
# This instance method is called to check if the build system is able
# to build a source package. It will be called during the build
# system auto-selection process, inside the root directory of the debian
@@ -137,6 +239,11 @@ sub enforce_in_source_building {
$this->{warn_insource} = 1;
$this->{builddir} = undef;
}
+ if ($this->IS_GENERATOR_BUILD_SYSTEM) {
+ $this->get_targetbuildsystem->enforce_in_source_building(@_);
+ # Only warn in one build system.
+ delete($this->{warn_insource});
+ }
}
# Derived class can call this method in its constructor to *prefer*
@@ -155,6 +262,9 @@ sub prefer_out_of_source_building {
error("default build directory is the same as the source directory." .
" Please specify a custom build directory");
}
+ if ($this->IS_GENERATOR_BUILD_SYSTEM) {
+ $this->get_targetbuildsystem->prefer_out_of_source_building(@_);
+ }
}
}
@@ -263,6 +373,9 @@ sub get_parallel {
sub disable_parallel {
my ($this) = @_;
$this->{parallel} = 1;
+ if ($this->IS_GENERATOR_BUILD_SYSTEM) {
+ $this->get_targetbuildsystem->disable_parallel;
+ }
}
# When given a relative path to the build directory, converts it
@@ -291,6 +404,17 @@ sub mkdir_builddir {
}
}
+sub check_auto_buildable_clean_oos_buildir {
+ my $this = shift;
+ my ($step) = @_;
+ # This only applies to clean
+ return 0 if $step ne 'clean';
+ my $builddir = $this->get_builddir;
+ # If there is no builddir, then this rule does not apply.
+ return 0 if not defined($builddir) or not -d $builddir;
+ return 1;
+}
+
sub _cd {
my ($this, $dir)=@_;
verbose_print("cd $dir");
@@ -315,12 +439,22 @@ sub _in_dir {
return $code->(@args);
}
+sub _generic_doit_in_dir {
+ my ($this, $dir, $sub, @args) = @_;
+ my %args;
+ if (ref($args[0])) {
+ %args = %{shift(@args)};
+ }
+ $args{chdir} = $dir;
+ return $sub->(\%args, @args);
+}
+
# Changes working directory to the source directory (if needed),
# calls print_and_doit(@_) and changes working directory back to the
# top directory.
sub doit_in_sourcedir {
my ($this, @args) = @_;
- print_and_doit({ chdir => $this->get_sourcedir }, @args);
+ $this->_generic_doit_in_dir($this->get_sourcedir, \&print_and_doit, @args);
return 1;
}
@@ -329,7 +463,7 @@ sub doit_in_sourcedir {
# top directory. Errors are ignored.
sub doit_in_sourcedir_noerror {
my ($this, @args) = @_;
- return print_and_doit_noerror({ chdir => $this->get_sourcedir }, @args);
+ return $this->_generic_doit_in_dir($this->get_sourcedir, \&print_and_doit_noerror, @args);
}
# Changes working directory to the build directory (if needed),
@@ -337,7 +471,7 @@ sub doit_in_sourcedir_noerror {
# top directory.
sub doit_in_builddir {
my ($this, @args) = @_;
- print_and_doit({ chdir => $this->get_buildpath }, @args);
+ $this->_generic_doit_in_dir($this->get_buildpath, \&print_and_doit, @args);
return 1;
}
@@ -346,15 +480,7 @@ sub doit_in_builddir {
# top directory. Errors are ignored.
sub doit_in_builddir_noerror {
my ($this, @args) = @_;
- return print_and_doit_noerror({ chdir => $this->get_buildpath }, @args);
-}
-
-# Changes working directory to the build directory (if needed),
-# calls print_and_complex_doit(@_) and changes working directory back to the
-# top directory.
-sub complex_doit_in_builddir {
- my ($this, @args) = @_;
- return $this->_in_dir($this->get_buildpath, \&print_and_complex_doit, @args);
+ return $this->_generic_doit_in_dir($this->get_buildpath, \&print_and_doit_noerror, @args);
}
# In case of out of source tree building, whole build directory
@@ -402,6 +528,9 @@ sub pre_building_step {
" does not support building out of source tree. In source building enforced.");
delete $this->{warn_insource};
}
+ if ($this->IS_GENERATOR_BUILD_SYSTEM) {
+ $this->get_targetbuildsystem->pre_building_step(@_);
+ }
}
# Instance method that is called after performing any step (see below).
@@ -410,6 +539,9 @@ sub pre_building_step {
sub post_building_step {
my $this=shift;
my ($step)=@_;
+ if ($this->IS_GENERATOR_BUILD_SYSTEM) {
+ $this->get_targetbuildsystem->post_building_step(@_);
+ }
}
# The instance methods below provide support for configuring,
@@ -420,26 +552,65 @@ sub post_building_step {
# implement build system specific steps needed to build the
# source. Arbitrary number of custom step arguments might be
# passed. Default implementations do nothing.
+#
+# Note: For generator build systems, the default is to
+# delegate the step to the target build system for all
+# steps except configure.
sub configure {
my $this=shift;
}
sub build {
my $this=shift;
+ if ($this->IS_GENERATOR_BUILD_SYSTEM) {
+ $this->get_targetbuildsystem->build(@_);
+ }
}
sub test {
my $this=shift;
+ if ($this->IS_GENERATOR_BUILD_SYSTEM) {
+ $this->get_targetbuildsystem->test(@_);
+ }
}
# destdir parameter specifies where to install files.
sub install {
my $this=shift;
- my $destdir=shift;
+ my ($destdir) = @_;
+
+ if ($this->IS_GENERATOR_BUILD_SYSTEM) {
+ $this->get_targetbuildsystem->install(@_);
+ }
}
sub clean {
my $this=shift;
+
+ if ($this->IS_GENERATOR_BUILD_SYSTEM) {
+ $this->get_targetbuildsystem->clean(@_);
+ }
+}
+
+
+sub _create_buildsystem_instance {
+ my ($full_name, $required, %bsopts) = @_;
+ my @parts = split(m{[+]}, $full_name, 2);
+ my $name = $parts[0];
+ my $module = "Debian::Debhelper::Buildsystem::$name";
+ if (@parts > 1) {
+ if (exists($bsopts{'targetbuildsystem'})) {
+ error("Conflicting target buildsystem for ${name} (load as ${full_name}, but target configured in bsopts)");
+ }
+ $bsopts{'targetbuildsystem'} = $parts[1];
+ }
+
+ eval "use $module";
+ if ($@) {
+ return if not $required;
+ error("unable to load build system class '$name': $@");
+ }
+ return $module->new(%bsopts);
}
1
diff --git a/lib/Debian/Debhelper/Buildsystem/autoconf.pm b/lib/Debian/Debhelper/Buildsystem/autoconf.pm
index e31951b0..142c27ea 100644
--- a/lib/Debian/Debhelper/Buildsystem/autoconf.pm
+++ b/lib/Debian/Debhelper/Buildsystem/autoconf.pm
@@ -47,10 +47,10 @@ sub configure {
if (! compat(8)) {
if (defined $multiarch) {
push @opts, "--libdir=\${prefix}/lib/$multiarch";
- push @opts, "--libexecdir=\${prefix}/lib/$multiarch";
+ push(@opts, "--libexecdir=\${prefix}/lib/$multiarch") if not compat(11);
}
else {
- push @opts, "--libexecdir=\${prefix}/lib";
+ push(@opts, "--libexecdir=\${prefix}/lib") if not compat(11);
}
}
else {
diff --git a/lib/Debian/Debhelper/Buildsystem/cmake.pm b/lib/Debian/Debhelper/Buildsystem/cmake.pm
index 5e3ce082..c732ba41 100644
--- a/lib/Debian/Debhelper/Buildsystem/cmake.pm
+++ b/lib/Debian/Debhelper/Buildsystem/cmake.pm
@@ -9,7 +9,7 @@ package Debian::Debhelper::Buildsystem::cmake;
use strict;
use warnings;
use Debian::Debhelper::Dh_Lib qw(compat dpkg_architecture_value error is_cross_compiling);
-use parent qw(Debian::Debhelper::Buildsystem::makefile);
+use parent qw(Debian::Debhelper::Buildsystem);
my @STANDARD_CMAKE_FLAGS = qw(
-DCMAKE_INSTALL_PREFIX=/usr
@@ -27,16 +27,35 @@ my %DEB_HOST2CMAKE_SYSTEM = (
'hurd' => 'GNU',
);
+my %TARGET_BUILD_SYSTEM2CMAKE_GENERATOR = (
+ 'makefile' => 'Unix Makefiles',
+ 'ninja' => 'Ninja',
+);
+
sub DESCRIPTION {
"CMake (CMakeLists.txt)"
}
+sub IS_GENERATOR_BUILD_SYSTEM {
+ return 1;
+}
+
+sub SUPPORTED_TARGET_BUILD_SYSTEMS {
+ return qw(makefile ninja);
+}
+
sub check_auto_buildable {
my $this=shift;
my ($step)=@_;
if (-e $this->get_sourcepath("CMakeLists.txt")) {
my $ret = ($step eq "configure" && 1) ||
- $this->SUPER::check_auto_buildable(@_);
+ $this->get_targetbuildsystem->check_auto_buildable(@_);
+ if ($this->check_auto_buildable_clean_oos_buildir(@_)) {
+ # Assume that the package can be cleaned (i.e. the build directory can
+ # be removed) as long as it is built out-of-source tree and can be
+ # configured.
+ $ret++ if not $ret;
+ }
# Existence of CMakeCache.txt indicates cmake has already
# been used by a prior build step, so should be used
# instead of the parent makefile class.
@@ -57,11 +76,22 @@ sub configure {
my $this=shift;
# Standard set of cmake flags
my @flags = @STANDARD_CMAKE_FLAGS;
+ my $backend = $this->get_targetbuildsystem->NAME;
if (not compat(10)) {
push(@flags, '-DCMAKE_INSTALL_RUNSTATEDIR=/run');
}
+ if (exists($TARGET_BUILD_SYSTEM2CMAKE_GENERATOR{$backend})) {
+ my $generator = $TARGET_BUILD_SYSTEM2CMAKE_GENERATOR{$backend};
+ push(@flags, "-G${generator}");
+ }
+ if ($ENV{CC}) {
+ push @flags, "-DCMAKE_C_COMPILER=" . $ENV{CC};
+ }
+ if ($ENV{CXX}) {
+ push @flags, "-DCMAKE_CXX_COMPILER=" . $ENV{CXX};
+ }
if (is_cross_compiling()) {
my $deb_host = dpkg_architecture_value("DEB_HOST_ARCH_OS");
if (my $cmake_system = $DEB_HOST2CMAKE_SYSTEM{$deb_host}) {
@@ -70,20 +100,16 @@ sub configure {
error("Cannot cross-compile - CMAKE_SYSTEM_NAME not known for ${deb_host}");
}
push @flags, "-DCMAKE_SYSTEM_PROCESSOR=" . dpkg_architecture_value("DEB_HOST_GNU_CPU");
- if ($ENV{CC}) {
- push @flags, "-DCMAKE_C_COMPILER=" . $ENV{CC};
- } else {
+ if (not $ENV{CC}) {
push @flags, "-DCMAKE_C_COMPILER=" . dpkg_architecture_value("DEB_HOST_GNU_TYPE") . "-gcc";
}
- if ($ENV{CXX}) {
- push @flags, "-DCMAKE_CXX_COMPILER=" . $ENV{CXX};
- } else {
+ if (not $ENV{CXX}) {
push @flags, "-DCMAKE_CXX_COMPILER=" . dpkg_architecture_value("DEB_HOST_GNU_TYPE") . "-g++";
}
push(@flags, "-DPKG_CONFIG_EXECUTABLE=/usr/bin/" . dpkg_architecture_value("DEB_HOST_GNU_TYPE") . "-pkg-config");
push(@flags, "-DPKGCONFIG_EXECUTABLE=/usr/bin/" . dpkg_architecture_value("DEB_HOST_GNU_TYPE") . "-pkg-config");
- push(@flags, "-DCMAKE_INSTALL_LIBDIR=lib/" . dpkg_architecture_value("DEB_HOST_MULTIARCH"));
}
+ push(@flags, "-DCMAKE_INSTALL_LIBDIR=lib/" . dpkg_architecture_value("DEB_HOST_MULTIARCH"));
# CMake doesn't respect CPPFLAGS, see #653916.
if ($ENV{CPPFLAGS} && ! compat(8)) {
@@ -93,7 +119,7 @@ sub configure {
$this->mkdir_builddir();
eval {
- $this->doit_in_builddir("cmake", $this->get_source_rel2builddir(), @flags, @_);
+ $this->doit_in_builddir("cmake", @flags, @_, $this->get_source_rel2builddir());
};
if (my $err = $@) {
if (-e $this->get_buildpath("CMakeCache.txt")) {
@@ -111,13 +137,16 @@ sub configure {
sub test {
my $this=shift;
-
- # Unlike make, CTest does not have "unlimited parallel" setting (-j implies
- # -j1). So in order to simulate unlimited parallel, allow to fork a huge
- # number of threads instead.
- my $parallel = ($this->get_parallel() > 0) ? $this->get_parallel() : 999;
+ my $target = $this->get_targetbuildsystem;
$ENV{CTEST_OUTPUT_ON_FAILURE} = 1;
- return $this->SUPER::test(@_, "ARGS+=-j$parallel");
+ if ($target->NAME eq 'makefile') {
+ # Unlike make, CTest does not have "unlimited parallel" setting (-j implies
+ # -j1). So in order to simulate unlimited parallel, allow to fork a huge
+ # number of threads instead.
+ my $parallel = ($this->get_parallel() > 0) ? $this->get_parallel() : 999;
+ push(@_, "ARGS+=-j$parallel")
+ }
+ return $this->SUPER::test(@_);
}
1
diff --git a/lib/Debian/Debhelper/Buildsystem/makefile.pm b/lib/Debian/Debhelper/Buildsystem/makefile.pm
index 49a368db..052af0b4 100644
--- a/lib/Debian/Debhelper/Buildsystem/makefile.pm
+++ b/lib/Debian/Debhelper/Buildsystem/makefile.pm
@@ -80,7 +80,14 @@ sub do_make {
clean_jobserver_makeflags();
# Note that this will override any -j settings in MAKEFLAGS.
- unshift @_, "-j" . ($this->get_parallel() > 0 ? $this->get_parallel() : "");
+ my $parallel = $this->get_parallel();
+ if ($parallel == 0 or $parallel > 1) {
+ # We have to use the empty string for "unlimited"
+ $parallel = '' if $parallel == 0;
+ unshift(@_, "-j${parallel}");
+ } else {
+ unshift(@_, '-j1');
+ }
my @root_cmd;
if (exists($this->{_run_make_as_root}) and $this->{_run_make_as_root}) {
@@ -124,9 +131,8 @@ sub check_auto_buildable {
# This is always called in the source directory, but generally
# Makefiles are created (or live) in the build directory.
return 1;
- } elsif ($step eq "clean" && defined $this->get_builddir() &&
- $this->check_auto_buildable("configure"))
- {
+ } elsif ($this->check_auto_buildable_clean_oos_buildir(@_)
+ and $this->check_auto_buildable('configure')) {
# Assume that the package can be cleaned (i.e. the build directory can
# be removed) as long as it is built out-of-source tree and can be
# configured. This is useful for derivative buildsystems which
@@ -139,7 +145,8 @@ sub check_auto_buildable {
sub build {
my $this=shift;
if (ref($this) eq 'Debian::Debhelper::Buildsystem::makefile' and is_cross_compiling()) {
- while (my ($var, $tool) = each %DEB_DEFAULT_TOOLS) {
+ for my $var (sort(keys(%DEB_DEFAULT_TOOLS))) {
+ my $tool = $DEB_DEFAULT_TOOLS{$var};
if ($ENV{$var}) {
unshift @_, $var . "=" . $ENV{$var};
} else {
diff --git a/lib/Debian/Debhelper/Buildsystem/meson.pm b/lib/Debian/Debhelper/Buildsystem/meson.pm
index dcad89f9..890112bd 100644
--- a/lib/Debian/Debhelper/Buildsystem/meson.pm
+++ b/lib/Debian/Debhelper/Buildsystem/meson.pm
@@ -8,12 +8,21 @@ package Debian::Debhelper::Buildsystem::meson;
use strict;
use warnings;
use Debian::Debhelper::Dh_Lib qw(dpkg_architecture_value is_cross_compiling doit warning error generated_file);
-use parent qw(Debian::Debhelper::Buildsystem::ninja);
+use parent qw(Debian::Debhelper::Buildsystem);
sub DESCRIPTION {
"Meson (meson.build)"
}
+sub IS_GENERATOR_BUILD_SYSTEM {
+ return 1;
+}
+
+sub SUPPORTED_TARGET_BUILD_SYSTEMS {
+ return qw(ninja);
+}
+
+
sub check_auto_buildable {
my $this=shift;
my ($step)=@_;
@@ -22,7 +31,14 @@ sub check_auto_buildable {
# Handle configure explicitly; inherit the rest
return 1 if $step eq "configure";
- return $this->SUPER::check_auto_buildable(@_);
+ my $ret = $this->get_targetbuildsystem->check_auto_buildable(@_);
+ if ($ret == 0 and $this->check_auto_buildable_clean_oos_buildir(@_)) {
+ # Assume that the package can be cleaned (i.e. the build directory can
+ # be removed) as long as it is built out-of-source tree and can be
+ # configured.
+ $ret++;
+ }
+ return $ret;
}
sub new {
@@ -45,7 +61,7 @@ sub configure {
push @opts, "--localstatedir=/var";
my $multiarch=dpkg_architecture_value("DEB_HOST_MULTIARCH");
push @opts, "--libdir=lib/$multiarch";
- push @opts, "--libexecdir=lib/$multiarch";
+ push(@opts, "--libexecdir=lib/$multiarch") if not compat(11);
if (is_cross_compiling()) {
# http://mesonbuild.com/Cross-compilation.html
@@ -57,7 +73,11 @@ sub configure {
error("Cannot cross-compile: Please use meson (>= 0.42.1) or provide a cross file via DH_MESON_CROSS_FILE");
}
my $filename = generated_file('_source', 'meson-cross-file.conf');
- doit({ stdout => '/dev/null' }, $debcrossgen, "-o${filename}");
+ my %options = (
+ stdout => '/dev/null',
+ update_env => { LC_ALL => 'C.UTF-8'},
+ );
+ doit(\%options, $debcrossgen, "-o${filename}");
$cross_file = $filename;
}
if ($cross_file !~ m{^/}) {
@@ -71,7 +91,10 @@ sub configure {
$this->mkdir_builddir();
eval {
- $this->doit_in_builddir("meson", $this->get_source_rel2builddir(), @opts, @_);
+ my %options = (
+ update_env => { LC_ALL => 'C.UTF-8'},
+ );
+ $this->doit_in_builddir(\%options, "meson", $this->get_source_rel2builddir(), @opts, @_);
};
if ($@) {
if (-e $this->get_buildpath("meson-logs/meson-log.txt")) {
@@ -81,9 +104,4 @@ sub configure {
}
}
-sub test {
- my $this=shift;
- return $this->SUPER::test(@_);
-}
-
1
diff --git a/lib/Debian/Debhelper/Buildsystem/ninja.pm b/lib/Debian/Debhelper/Buildsystem/ninja.pm
index 5d6c874d..c08ff166 100644
--- a/lib/Debian/Debhelper/Buildsystem/ninja.pm
+++ b/lib/Debian/Debhelper/Buildsystem/ninja.pm
@@ -30,52 +30,60 @@ sub check_auto_buildable {
# This is always called in the source directory, but generally
# Ninja files are created (or live) in the build directory.
return 1;
- } elsif ($step eq "clean" && defined $this->get_builddir() &&
- $this->check_auto_buildable("configure"))
- {
- # Assume that the package can be cleaned (i.e. the build directory can
- # be removed) as long as it is built out-of-source tree and can be
- # configured. This is useful for derivative buildsystems which
- # generate Ninja files.
- return 1;
}
return 0;
}
sub build {
my $this=shift;
-
+ my %options = (
+ update_env => {
+ 'LC_ALL' => 'C.UTF-8',
+ }
+ );
if (!$dh{QUIET}) {
unshift @_, "-v";
}
if ($this->get_parallel() > 0) {
unshift @_, "-j" . $this->get_parallel();
}
- $this->doit_in_builddir($this->{buildcmd}, @_);
+ $this->doit_in_builddir(\%options, $this->{buildcmd}, @_);
}
sub test {
my $this=shift;
-
+ my %options = (
+ update_env => {
+ 'LC_ALL' => 'C.UTF-8',
+ }
+ );
if ($this->get_parallel() > 0) {
- $ENV{MESON_TESTTHREADS}=$this->get_parallel();
+ $options{update_env}{MESON_TESTTHREADS} = $this->get_parallel();
}
- $this->doit_in_builddir($this->{buildcmd}, "test", @_);
+ $this->doit_in_builddir(\%options, $this->{buildcmd}, "test", @_);
}
sub install {
my $this=shift;
my $destdir=shift;
-
- $ENV{DESTDIR}=$destdir;
- $this->doit_in_builddir($this->{buildcmd}, "install", @_);
+ my %options = (
+ update_env => {
+ 'LC_ALL' => 'C.UTF-8',
+ 'DESTDIR' => $destdir,
+ }
+ );
+ $this->doit_in_builddir(\%options, $this->{buildcmd}, "install", @_);
}
sub clean {
my $this=shift;
-
if (!$this->rmdir_builddir()) {
- $this->doit_in_builddir($this->{buildcmd}, "clean", @_);
+ my %options = (
+ update_env => {
+ 'LC_ALL' => 'C.UTF-8',
+ }
+ );
+ $this->doit_in_builddir(\%options, $this->{buildcmd}, "clean", @_);
}
}
diff --git a/lib/Debian/Debhelper/Buildsystem/python_distutils.pm b/lib/Debian/Debhelper/Buildsystem/python_distutils.pm
index 4c2a5f8d..e5fe7edc 100644
--- a/lib/Debian/Debhelper/Buildsystem/python_distutils.pm
+++ b/lib/Debian/Debhelper/Buildsystem/python_distutils.pm
@@ -10,11 +10,11 @@ package Debian::Debhelper::Buildsystem::python_distutils;
use strict;
use warnings;
use Cwd ();
-use Debian::Debhelper::Dh_Lib qw(error);
+use Debian::Debhelper::Dh_Lib qw(error deprecated_functionality);
use parent qw(Debian::Debhelper::Buildsystem);
sub DESCRIPTION {
- "Python Distutils (setup.py)"
+ "Python Distutils (setup.py) [DEPRECATED]"
}
sub DEFAULT_BUILD_DIRECTORY {
@@ -60,6 +60,9 @@ sub pre_building_step {
my $this=shift;
my $step=shift;
+ deprecated_functionality('Please use the third-party "pybuild" build system instead of python-distutils',
+ 12);
+
return unless grep /$step/, qw(build install clean);
if ($this->get_buildpath() ne $this->DEFAULT_BUILD_DIRECTORY()) {
diff --git a/lib/Debian/Debhelper/Buildsystem/qmake.pm b/lib/Debian/Debhelper/Buildsystem/qmake.pm
index 6e7f87f1..18b896d8 100644
--- a/lib/Debian/Debhelper/Buildsystem/qmake.pm
+++ b/lib/Debian/Debhelper/Buildsystem/qmake.pm
@@ -8,11 +8,9 @@ package Debian::Debhelper::Buildsystem::qmake;
use strict;
use warnings;
-use Debian::Debhelper::Dh_Lib qw(dpkg_architecture_value error generated_file is_cross_compiling);
+use Debian::Debhelper::Dh_Lib qw(dpkg_architecture_value error is_cross_compiling);
use parent qw(Debian::Debhelper::Buildsystem::makefile);
-our $qmake="qmake";
-
my %OS_MKSPEC_MAPPING = (
'linux' => 'linux-g++',
'kfreebsd' => 'gnukfreebsd-g++',
@@ -65,38 +63,6 @@ sub configure {
} else {
error("Cannot cross-compile: Missing entry for HOST OS ${host_os} for qmake's -spec option");
}
-
- my $filename = generated_file('_source', 'qmake-cross.conf');
- my $host_multiarch = dpkg_architecture_value("DEB_HOST_MULTIARCH");
- open(my $fh, '>', $filename) or error("open($filename) failed: $!");
-
- $fh->print("[Paths]\n");
- $fh->print("Prefix=/usr\n");
- $fh->print("ArchData=lib/$host_multiarch/qt5\n");
- $fh->print("Binaries=lib/qt5/bin\n");
- $fh->print("Data=share/qt5\n");
- $fh->print("Documentation=share/qt5/doc\n");
- $fh->print("Examples=lib/$host_multiarch/qt5/examples\n");
- $fh->print("Headers=include/$host_multiarch/qt5\n");
- $fh->print("HostBinaries=lib/qt5/bin\n");
- $fh->print("HostData=lib/$host_multiarch/qt5\n");
- $fh->print("HostLibraries=lib/$host_multiarch\n");
- $fh->print("Imports=lib/$host_multiarch/qt5/imports\n");
- $fh->print("Libraries=lib/$host_multiarch\n");
- $fh->print("LibraryExecutables=lib/$host_multiarch/qt5/libexec\n");
- $fh->print("Plugins=lib/$host_multiarch/qt5/plugins\n");
- $fh->print("Qml2Imports=lib/$host_multiarch/qt5/qml\n");
- $fh->print("Settings=/etc/xdg\n");
- $fh->print("Translations=share/qt5/translations\n");
-
- close($fh) or error("close($filename) failed: $!");
- if ($filename !~ m{^/}) {
- # Make the file name absolute (just in case qmake cares).
- require Cwd;
- $filename =~ s{^\./}{};
- $filename = Cwd::cwd() . "/${filename}";
- }
- push @options, ("-qtconf", $filename);
}
if ($ENV{CFLAGS}) {
@@ -114,27 +80,8 @@ sub configure {
push @flags, "QMAKE_STRIP=:";
push @flags, "PREFIX=/usr";
- if (is_cross_compiling()) {
- # qmake calls $$QMAKE_CXX in toolchain.prf to get a list of library/include paths,
- # we need -early flag to make sure $$QMAKE_CXX is already properly set on that step.
- push @flags, "-early";
- if ($ENV{CC}) {
- push @flags, "QMAKE_CC=" . $ENV{CC};
- } else {
- push @flags, "QMAKE_CC=" . dpkg_architecture_value("DEB_HOST_GNU_TYPE") . "-gcc";
- }
- if ($ENV{CXX}) {
- push @flags, "QMAKE_CXX=" . $ENV{CXX};
- push @flags, "QMAKE_LINK=" . $ENV{CXX};
- } else {
- push @flags, "QMAKE_CXX=" . dpkg_architecture_value("DEB_HOST_GNU_TYPE") . "-g++";
- push @flags, "QMAKE_LINK=" . dpkg_architecture_value("DEB_HOST_GNU_TYPE") . "-g++";
- }
- push @flags, "PKG_CONFIG=" . dpkg_architecture_value("DEB_HOST_GNU_TYPE") . "-pkg-config";
- }
-
$this->mkdir_builddir();
- $this->doit_in_builddir($qmake, @options, @flags, @_);
+ $this->doit_in_builddir($this->_qmake(), @options, @flags, @_);
}
sub install {
@@ -146,4 +93,11 @@ sub install {
$this->SUPER::install($destdir, "INSTALL_ROOT=$destdir", @_);
}
+sub _qmake {
+ if (is_cross_compiling()) {
+ return dpkg_architecture_value("DEB_HOST_GNU_TYPE") . "-qmake";
+ }
+ return 'qmake';
+}
+
1
diff --git a/lib/Debian/Debhelper/Buildsystem/qmake_qt4.pm b/lib/Debian/Debhelper/Buildsystem/qmake_qt4.pm
index ac7ce98a..60d9084c 100644
--- a/lib/Debian/Debhelper/Buildsystem/qmake_qt4.pm
+++ b/lib/Debian/Debhelper/Buildsystem/qmake_qt4.pm
@@ -8,10 +8,8 @@ sub DESCRIPTION {
"qmake for QT 4 (*.pro)";
}
-sub configure {
- my $this=shift;
- $Debian::Debhelper::Buildsystem::qmake::qmake="qmake-qt4";
- $this->SUPER::configure(@_);
+sub _qmake {
+ return 'qmake-qt4';
}
1
diff --git a/lib/Debian/Debhelper/Dh_Buildsystems.pm b/lib/Debian/Debhelper/Dh_Buildsystems.pm
index 7d4b421c..a386507c 100644
--- a/lib/Debian/Debhelper/Dh_Buildsystems.pm
+++ b/lib/Debian/Debhelper/Dh_Buildsystems.pm
@@ -8,6 +8,7 @@ package Debian::Debhelper::Dh_Buildsystems;
use strict;
use warnings;
+use Debian::Debhelper::Buildsystem;
use Debian::Debhelper::Dh_Lib;
use File::Spec;
@@ -25,11 +26,12 @@ our @BUILDSYSTEMS = (
"makefile",
"python_distutils",
(compat(7) ? "perl_build" : ()),
- "cmake",
+ "cmake+makefile",
+ "cmake+ninja",
"ant",
"qmake",
"qmake_qt4",
- "meson",
+ "meson+ninja",
"ninja",
);
@@ -44,16 +46,10 @@ my $opt_builddir;
my $opt_list;
my $opt_parallel;
-sub create_buildsystem_instance {
- my ($system, $required, %bsopts) = @_;
- my $module = "Debian::Debhelper::Buildsystem::$system";
-
- eval "use $module";
- if ($@) {
- return if not $required;
- error("unable to load build system class '$system': $@");
- }
+*create_buildsystem_instance = \&Debian::Debhelper::Buildsystem::_create_buildsystem_instance;
+sub _insert_cmd_opts {
+ my (%bsopts) = @_;
if (!exists $bsopts{builddir} && defined $opt_builddir) {
$bsopts{builddir} = ($opt_builddir eq "") ? undef : $opt_builddir;
}
@@ -63,7 +59,7 @@ sub create_buildsystem_instance {
if (!exists $bsopts{parallel}) {
$bsopts{parallel} = $opt_parallel;
}
- return $module->new(%bsopts);
+ return %bsopts;
}
# Autoselect a build system from the list of instances
@@ -73,9 +69,15 @@ sub autoselect_buildsystem {
my $selected_level = 0;
foreach my $inst (@_) {
- # Only derived (i.e. more specific) build system can be
- # considered beyond the currently selected one.
- next if defined $selected && !$inst->isa(ref $selected);
+ # Only more specific build system can be considered beyond
+ # the currently selected one.
+ if (defined($selected)) {
+ my $ok = $inst->isa(ref($selected)) ? 1 : 0;
+ if (not $ok and $inst->IS_GENERATOR_BUILD_SYSTEM) {
+ $ok = 1 if $inst->get_targetbuildsystem->NAME eq $selected->NAME;
+ }
+ next if not $ok;
+ }
# If the build system says it is auto-buildable at the current
# step and it can provide more specific information about its
@@ -95,24 +97,25 @@ sub autoselect_buildsystem {
sub load_buildsystem {
my $system=shift;
my $step=shift;
+ my %opts = _insert_cmd_opts(@_);
my $system_options;
if (defined($system) && ref($system) eq 'HASH') {
$system_options = $system;
$system = $system_options->{'system'};
}
if (defined $system) {
- my $inst = create_buildsystem_instance($system, 1, @_);
+ my $inst = create_buildsystem_instance($system, 1, %opts);
return $inst;
}
else {
# Try to determine build system automatically
my @buildsystems;
foreach $system (@BUILDSYSTEMS) {
- push @buildsystems, create_buildsystem_instance($system, 1, @_);
+ push @buildsystems, create_buildsystem_instance($system, 1, %opts);
}
if (!$system_options || $system_options->{'enable-thirdparty'}) {
foreach $system (@THIRD_PARTY_BUILDSYSTEMS) {
- push @buildsystems, create_buildsystem_instance($system, 0, @_);
+ push @buildsystems, create_buildsystem_instance($system, 0, %opts);
}
}
return autoselect_buildsystem($step, @buildsystems);
@@ -121,7 +124,8 @@ sub load_buildsystem {
sub load_all_buildsystems {
my $incs=shift || \@INC;
- my (%buildsystems, @buildsystems);
+ my %opts = _insert_cmd_opts(@_);
+ my (%buildsystems, %genbuildsystems, @buildsystems);
foreach my $inc (@$incs) {
my $path = File::Spec->catdir($inc, "Debian/Debhelper/Buildsystem");
@@ -129,8 +133,19 @@ sub load_all_buildsystems {
foreach my $module_path (glob "$path/*.pm") {
my $name = basename($module_path);
$name =~ s/\.pm$//;
- next if exists $buildsystems{$name};
- $buildsystems{$name} = create_buildsystem_instance($name, 1, @_);
+ next if exists $buildsystems{$name} or exists $genbuildsystems{$name};
+ my $system = create_buildsystem_instance($name, 1, %opts);
+ if ($system->IS_GENERATOR_BUILD_SYSTEM) {
+ $genbuildsystems{$name} = 1;
+ for my $target_name ($system->SUPPORTED_TARGET_BUILD_SYSTEMS) {
+ my $full_name = "${name}+${target_name}";
+ my $full_system = create_buildsystem_instance($name, 1, %opts,
+ 'targetbuildsystem' => $target_name);
+ $buildsystems{$full_name} = $full_system;
+ }
+ } else {
+ $buildsystems{$name} = $system;
+ }
}
}
}
@@ -209,22 +224,31 @@ sub buildsystems_list {
my @buildsystems = load_all_buildsystems();
my %auto_selectable = map { $_ => 1 } @THIRD_PARTY_BUILDSYSTEMS;
my $auto = autoselect_buildsystem($step, grep { ! $_->{thirdparty} || $auto_selectable{$_->NAME} } @buildsystems);
- my $specified;
+ my $specified_text;
+
+ if ($opt_buildsys) {
+ for my $inst (@buildsystems) {
+ my $full_name = $inst->NAME;
+ if ($full_name eq $opt_buildsys) {
+ $specified_text = $full_name;
+ } elsif ($inst->IS_GENERATOR_BUILD_SYSTEM and ref($inst)->NAME eq $opt_buildsys) {
+ my $default = $inst->DEFAULT_TARGET_BUILD_SYSTEM;
+ $specified_text = "${opt_buildsys}+${default} (default for ${opt_buildsys})";
+ }
+ }
+ }
# List build systems (including auto and specified status)
foreach my $inst (@buildsystems) {
- if (! defined $specified && defined $opt_buildsys && $opt_buildsys eq $inst->NAME()) {
- $specified = $inst;
- }
- printf("%-20s %s", $inst->NAME(), $inst->DESCRIPTION());
+ printf("%-20s %s", $inst->NAME(), $inst->FULL_DESCRIPTION());
print " [3rd party]" if $inst->{thirdparty};
print "\n";
}
print "\n";
print "Auto-selected: ", $auto->NAME(), "\n" if defined $auto;
- print "Specified: ", $specified->NAME(), "\n" if defined $specified;
+ print "Specified: ", $specified_text, "\n" if defined $specified_text;
print "No system auto-selected or specified\n"
- if ! defined $auto && ! defined $specified;
+ if ! defined $auto && ! defined $specified_text;
}
sub buildsystems_do {
diff --git a/lib/Debian/Debhelper/Dh_Lib.pm b/lib/Debian/Debhelper/Dh_Lib.pm
index 37be1cc2..8d9f3476 100644
--- a/lib/Debian/Debhelper/Dh_Lib.pm
+++ b/lib/Debian/Debhelper/Dh_Lib.pm
@@ -7,6 +7,7 @@
package Debian::Debhelper::Dh_Lib;
use strict;
use warnings;
+use utf8;
use constant {
# Lowest compat level supported
@@ -14,9 +15,6 @@ use constant {
# Lowest compat level that does *not* cause deprecation
# warnings
'LOWEST_NON_DEPRECATED_COMPAT_LEVEL' => 9,
- # Highest "open-beta" compat level. Remember to notify
- # debian-devel@l.d.o before bumping this.
- 'BETA_TESTER_COMPAT' => 10,
# Highest compat level permitted
'MAX_COMPAT_LEVEL' => 12,
# Magic value for xargs
@@ -25,9 +23,6 @@ use constant {
'DH_BUILTIN_VERSION' => \'<DH_LIB_VERSION>', #'# Hi emacs.
# Default Package-Type / extension (must be aligned with dpkg)
'DEFAULT_PACKAGE_TYPE' => 'deb',
-
- # Kill-switch for R³ (for backports)
- 'DH_ENABLE_RRR_SUPPORT' => 1,
};
use constant {
@@ -37,40 +32,142 @@ use constant {
'DBGSYM_PACKAGE_TYPE' => DEFAULT_PACKAGE_TYPE,
};
-use Errno qw(ENOENT);
+use Errno qw(ENOENT EXDEV);
use Exporter qw(import);
use File::Glob qw(bsd_glob GLOB_CSH GLOB_NOMAGIC GLOB_TILDE);
our (@EXPORT, %dh);
-@EXPORT=qw(&init &doit &doit_noerror &complex_doit &verbose_print &error
- &nonquiet_print &print_and_doit &print_and_doit_noerror
- &warning &tmpdir &pkgfile &pkgext &pkgfilename &isnative
- &autoscript &filearray &filedoublearray &is_build_profile_active
- &getpackages &basename &dirname &xargs %dh &process_pkg
- &compat &addsubstvar &delsubstvar &excludefile &package_arch
- &package_is_arch_all &package_binary_arch &package_declared_arch
- &is_udeb &debhelper_script_subst &escape_shell
- &inhibit_log &load_log &write_log &commit_override_log
- &dpkg_architecture_value &sourcepackage &make_symlink
- &is_make_jobserver_unavailable &clean_jobserver_makeflags
- &cross_command &set_buildflags &get_buildoption
- &install_dh_config_file &error_exitcode &package_multiarch
- &install_file &install_prog &install_lib &install_dir
- &get_source_date_epoch &is_cross_compiling
- &generated_file &autotrigger &package_section
- &restore_file_on_clean &restore_all_files
- &open_gz &reset_perm_and_owner &deprecated_functionality
- &log_installed_files &buildarch &rename_path
- &on_pkgs_in_parallel &on_selected_pkgs_in_parallel
- &rm_files &make_symlink_raw_target &on_items_in_parallel
- XARGS_INSERT_PARAMS_HERE &glob_expand_error_handler_reject
- &glob_expand_error_handler_warn_and_discard &glob_expand
- &glob_expand_error_handler_silently_ignore DH_BUILTIN_VERSION
- &print_and_complex_doit &default_sourcedir &qx_cmd
- &compute_doc_main_package &is_so_or_exec_elf_file &hostarch
- &assert_opt_is_known_package &dbgsym_tmpdir &find_hardlinks
- &should_use_root &gain_root_cmd DEFAULT_PACKAGE_TYPE
- DBGSYM_PACKAGE_TYPE
-);
+@EXPORT = (
+ # debhelper basis functionality
+qw(
+ init
+ %dh
+ compat
+),
+ # External command tooling API
+qw(
+ doit
+ doit_noerror
+ qx_cmd
+ xargs
+ XARGS_INSERT_PARAMS_HERE
+ print_and_doit
+ print_and_doit_noerror
+
+ complex_doit
+ escape_shell
+),
+ # Logging/messaging/error handling
+qw(
+ error
+ error_exitcode
+ warning
+ verbose_print
+ nonquiet_print
+),
+ # Package related actions
+qw(
+ getpackages
+ sourcepackage
+ tmpdir
+ dbgsym_tmpdir
+ default_sourcedir
+ pkgfile
+ pkgext
+ pkgfilename
+ package_is_arch_all
+ package_binary_arch
+ package_declared_arch
+ package_multiarch
+ package_section
+ package_arch
+ process_pkg
+ compute_doc_main_package
+ isnative
+ is_udeb
+),
+ # File/path related actions
+qw(
+ basename
+ dirname
+ install_file
+ install_prog
+ install_lib
+ install_dir
+ install_dh_config_file
+ make_symlink
+ make_symlink_raw_target
+ rename_path
+ find_hardlinks
+ rm_files
+ excludefile
+ is_so_or_exec_elf_file
+ is_empty_dir
+ reset_perm_and_owner
+ log_installed_files
+
+ filearray
+ filedoublearray
+ glob_expand
+ glob_expand_error_handler_reject
+ glob_expand_error_handler_warn_and_discard
+ glob_expand_error_handler_silently_ignore
+ glob_expand_error_handler_reject_nomagic_warn_discard
+),
+ # Generate triggers, substvars, maintscripts, build-time temporary files
+qw(
+ autoscript
+ autotrigger
+ addsubstvar
+ delsubstvar
+
+ generated_file
+ restore_file_on_clean
+),
+ # Split tasks among different cores
+qw(
+ on_pkgs_in_parallel
+ on_items_in_parallel
+ on_selected_pkgs_in_parallel
+),
+ # R³ framework
+qw(
+ should_use_root
+ gain_root_cmd
+
+),
+ # Architecture, cross-tooling, build options and profiles
+qw(
+ dpkg_architecture_value
+ hostarch
+ cross_command
+ is_cross_compiling
+ is_build_profile_active
+ get_buildoption
+),
+ # Other
+qw(
+ open_gz
+ get_source_date_epoch
+ deprecated_functionality
+),
+ # Special-case functionality (e.g. tool specific), debhelper(-core) functionality and deprecated functions
+qw(
+ inhibit_log
+ load_log
+ write_log
+ commit_override_log
+ debhelper_script_subst
+ is_make_jobserver_unavailable
+ clean_jobserver_makeflags
+ set_buildflags
+ DEFAULT_PACKAGE_TYPE
+ DBGSYM_PACKAGE_TYPE
+ DH_BUILTIN_VERSION
+ assert_opt_is_known_package
+ restore_all_files
+
+ buildarch
+));
# The Makefile changes this if debhelper is installed in a PREFIX.
my $prefix="/usr";
@@ -78,6 +175,25 @@ my $prefix="/usr";
my $MAX_PROCS = get_buildoption("parallel") || 1;
my $DH_TOOL_VERSION;
+our $PKGNAME_REGEX = qr/[a-z0-9][-+\.a-z0-9]+/o;
+our $PKGVERSION_REGEX = qr/
+ (?: \d+ : )? # Optional epoch
+ [0-9][0-9A-Za-z.+:~]* # Upstream version (with no hyphens)
+ (?: - [0-9A-Za-z.+:~]+ )* # Optional debian revision (+ upstreams versions with hyphens)
+ /xoa;
+
+# From Policy 5.1:
+#
+# The field name is composed of US-ASCII characters excluding control
+# characters, space, and colon (i.e., characters in the ranges U+0021
+# (!) through U+0039 (9), and U+003B (;) through U+007E (~),
+# inclusive). Field names must not begin with the comment character
+# (U+0023 #), nor with the hyphen character (U+002D -).
+our $DEB822_FIELD_REGEX = qr/
+ [\x21\x22\x24-\x2C\x2F-\x39\x3B-\x7F] # First character
+ [\x21-\x39\x3B-\x7F]* # Subsequent characters (if any)
+ /xoa;
+
sub init {
my %params=@_;
@@ -177,7 +293,7 @@ sub init {
# If no error handling function was specified, just propagate
# errors out.
if (! exists $dh{ERROR_HANDLER} || ! defined $dh{ERROR_HANDLER}) {
- $dh{ERROR_HANDLER}='exit \$?';
+ $dh{ERROR_HANDLER}='exit 1';
}
$dh{U_PARAMS} //= [];
@@ -187,6 +303,10 @@ sub init {
# on, if it's exiting successfully.
my $write_log=1;
sub END {
+ # If there is no 'debian/control', then we are not being run from
+ # a package directory and then the write_log will not do what we
+ # expect.
+ return if not -f 'debian/control';
if ($? == 0 && $write_log && (compat(9, 1) || $ENV{DH_INTERNAL_OVERRIDE})) {
write_log(basename($0), @{$dh{DOPACKAGES}});
}
@@ -336,6 +456,15 @@ sub _doit {
if (defined(my $output = $options->{stdout})) {
open(STDOUT, '>', $output) or error("redirect STDOUT failed: $!");
}
+ if (defined(my $update_env = $options->{update_env})) {
+ while (my ($k, $v) = each(%{$update_env})) {
+ if (defined($v)) {
+ $ENV{$k} = $v;
+ } else {
+ delete($ENV{$k});
+ }
+ }
+ }
}
# Force execvp call to avoid shell. Apparently, even exec can
# involve a shell if you don't do this.
@@ -348,6 +477,25 @@ sub _format_cmdline {
my (@cmd) = @_;
my $options = ref($cmd[0]) ? shift(@cmd) : {};
my $cmd_line = escape_shell(@cmd);
+ if (defined(my $update_env = $options->{update_env})) {
+ my $need_env = 0;
+ my @params;
+ for my $key (sort(keys(%{$update_env}))) {
+ my $value = $update_env->{$key};
+ if (defined($value)) {
+ my $quoted_key = escape_shell($key);
+ push(@params, join('=', $quoted_key, escape_shell($value)));
+ # shell does not like: "FU BAR"=1 cmd
+ # if the ENV key has weird symbols, the best bet is to use env
+ $need_env = 1 if $quoted_key ne $key;
+ } else {
+ $need_env = 1;
+ push(@params, escape_shell("--unset=${key}"));
+ }
+ }
+ unshift(@params, 'env', '--') if $need_env;
+ $cmd_line = join(' ', @params, $cmd_line);
+ }
if (defined(my $dir = $options->{chdir})) {
$cmd_line = join(' ', 'cd', escape_shell($dir), '&&', $cmd_line) if $dir ne '.';
}
@@ -388,19 +536,6 @@ sub complex_doit {
}
}
-# Run a command and display the command to stdout except when quiet
-# Use print_and_doit() if you can, instead of this function, because
-# this function forks a shell. However, this function can handle more
-# complicated stuff like redirection.
-sub print_and_complex_doit {
- nonquiet_print(join(" ",@_));
-
- if (! $dh{NO_ACT}) {
- # The join makes system get a scalar so it forks off a shell.
- system(join(" ", @_)) == 0 || error_exitcode(join(" ", @_))
- }
-}
-
sub error_exitcode {
my $command=shift;
@@ -502,8 +637,16 @@ sub rename_path {
}
return 1 if $dh{NO_ACT};
if (not rename($source, $dest)) {
- my $files = escape_shell($source, $dest);
- error("mv $files: $!")
+ my $ok = 0;
+ if ($! == EXDEV) {
+ # Replay with a fork+exec to handle crossing two mount
+ # points (See #897569)
+ $ok = _doit('mv', $source, $dest);
+ }
+ if (not $ok) {
+ my $files = escape_shell($source, $dest);
+ error("mv $files: $!");
+ }
}
return 1;
}
@@ -620,7 +763,8 @@ sub error {
# Output a warning.
sub warning {
- my $message=shift;
+ my ($message) = @_;
+ $message //= '';
print STDERR basename($0).": $message\n";
}
@@ -645,13 +789,22 @@ sub dirname {
# Pass in a number, will return true iff the current compatibility level
# is less than or equal to that number.
+my $compat_from_bd;
{
my $warned_compat = $ENV{DH_INTERNAL_TESTSUITE_SILENT_WARNINGS} ? 1 : 0;
my $c;
+ # Used mainly for testing
+ sub resetcompat {
+ undef $c;
+ undef $compat_from_bd;
+ }
+
sub compat {
my $num=shift;
my $nowarn=shift;
+
+ getpackages() if not defined($compat_from_bd);
if (! defined $c) {
$c=1;
@@ -665,15 +818,23 @@ sub dirname {
}
else {
chomp $l;
- $c=$l;
- $c =~ s/^\s*+//;
- $c =~ s/\s*+$//;
- if ($c !~ m/^\d+$/) {
- error("debian/compat must contain a positive number (found: \"$c\")");
+ my $new_compat = $l;
+ $new_compat =~ s/^\s*+//;
+ $new_compat =~ s/\s*+$//;
+ if ($new_compat !~ m/^\d+$/) {
+ error("debian/compat must contain a positive number (found: \"${new_compat}\")");
}
+ if (defined($compat_from_bd) and $compat_from_bd != -1) {
+ warning("Please specify the debhelper compat level exactly once.");
+ warning(" * debian/compat requests compat ${new_compat}.");
+ warning(" * debian/control requests compat ${compat_from_bd} via \"debhelper-compat (= ${compat_from_bd})\"");
+ error("debhelper compat level specified both in debian/compat and via build-dependency on debhelper-compat");
+ }
+ $c = $new_compat;
}
- }
- elsif (not $nowarn) {
+ } elsif ($compat_from_bd != -1) {
+ $c = $compat_from_bd;
+ } elsif (not $nowarn) {
error("Please specify the compatibility level in debian/compat");
}
@@ -777,9 +938,10 @@ sub default_sourcedir {
for my $pkg (@{$package}) {
push(@try, "debian/${pkg}.${filename}");
if ($check_expensive) {
+ my $cross_type = uc(package_cross_type($pkg));
push(@try,
- "debian/${pkg}.${filename}.".hostarch(),
- "debian/${pkg}.${filename}.".dpkg_architecture_value("DEB_HOST_ARCH_OS"),
+ "debian/${pkg}.${filename}.".dpkg_architecture_value("DEB_${cross_type}_ARCH"),
+ "debian/${pkg}.${filename}.".dpkg_architecture_value("DEB_${cross_type}_ARCH_OS"),
);
}
}
@@ -787,9 +949,10 @@ sub default_sourcedir {
# Avoid checking for hostarch+hostos unless we have reason
# to believe that they exist.
if ($check_expensive) {
+ my $cross_type = uc(package_cross_type($package));
push(@try,
- "debian/${package}.${filename}.".hostarch(),
- "debian/${package}.${filename}.".dpkg_architecture_value("DEB_HOST_ARCH_OS"),
+ "debian/${package}.${filename}.".dpkg_architecture_value("DEB_${cross_type}_ARCH"),
+ "debian/${package}.${filename}.".dpkg_architecture_value("DEB_${cross_type}_ARCH_OS"),
);
}
push(@try, "debian/$package.$filename");
@@ -861,12 +1024,13 @@ sub pkgfilename {
if (not defined($res)) {
error("No changelog entries for $package!? (changelog file: ${isnative_changelog})");
}
- # Get the package version.
- $dh{VERSION} = $res->{'Version'};
- # Did the changelog parse fail?
- if ($dh{VERSION} eq q{}) {
- error("changelog parse failure");
+ my $version = $res->{'Version'};
+ # Do we have a valid version?
+ if (not defined($version) or not $version->is_valid) {
+ error("changelog parse failure; invalid or missing version");
}
+ # Get the package version.
+ $dh{VERSION} = $version->as_string;
# Is this a native Debian package?
if (index($dh{VERSION}, '-') > -1) {
@@ -905,12 +1069,20 @@ sub _tool_version {
# 3: filename of snippet
# 4: either text: shell-quoted sed to run on the snippet. Ie, 's/#PACKAGE#/$PACKAGE/'
# or a sub to run on each line of the snippet. Ie sub { s/#PACKAGE#/$PACKAGE/ }
+# or a hashref with keys being variables and values being their replacement. Ie. { PACKAGE => $PACKAGE }
+# 5: Internal usage only
sub autoscript {
- my ($package, $script, $filename, $sed) = @_;
+ my ($package, $script, $filename, $sed, $extra_options) = @_;
my $tool_version = _tool_version();
# This is the file we will modify.
my $outfile="debian/".pkgext($package)."$script.debhelper";
+ if ($extra_options && exists($extra_options->{'snippet-order'})) {
+ my $order = $extra_options->{'snippet-order'};
+ error("Internal error - snippet order set to unknown value: \"${order}\"")
+ if $order ne 'service';
+ $outfile = generated_file($package, "${script}.${order}");
+ }
# Figure out what shell script snippet to use.
my $infile;
@@ -1133,6 +1305,20 @@ sub glob_expand_error_handler_warn_and_discard {
return;
}
+# Emulates the "old" glob mechanism; not recommended for new code as
+# it permits some globs expand to nothing with only a warning.
+sub glob_expand_error_handler_reject_nomagic_warn_discard {
+ my ($pattern, $dir_ref) = @_;
+ for my $dir (@{$dir_ref}) {
+ my $full_pattern = "$dir/$pattern";
+ my @matches = bsd_glob($full_pattern, GLOB_CSH & ~(GLOB_TILDE));
+ if (@matches) {
+ goto \&glob_expand_error_handler_reject;
+ }
+ }
+ goto \&glob_expand_error_handler_warn_and_discard;
+}
+
sub glob_expand_error_handler_silently_ignore {
return;
}
@@ -1144,8 +1330,14 @@ sub glob_expand {
for my $pattern (@patterns) {
my @m;
for my $dir (@dirs) {
- @m = bsd_glob("$dir/$pattern", GLOB_CSH & ~(GLOB_NOMAGIC|GLOB_TILDE));
- last if @m;# > 1 or (@m and (-l $m[0] or -e _));
+ my $full_pattern = "$dir/$pattern";
+ @m = bsd_glob($full_pattern, GLOB_CSH & ~(GLOB_NOMAGIC|GLOB_TILDE));
+ last if @m;
+ # Handle "foo{bar}" pattern (#888251)
+ if (-l $full_pattern or -e _) {
+ push(@m, $full_pattern);
+ last;
+ }
}
if (not @m) {
$error_handler //= \&glob_expand_error_handler_reject;
@@ -1170,7 +1362,7 @@ sub filedoublearray {
require Cwd;
my $cmd=Cwd::abs_path($file);
$ENV{"DH_CONFIG_ACT_ON_PACKAGES"} = join(",", @{$dh{"DOPACKAGES"}});
- open (DH_FARRAY_IN, "$cmd |") || error("cannot run $file: $!");
+ open(DH_FARRAY_IN, '-|', $cmd) || error("cannot run $file: $!");
delete $ENV{"DH_CONFIG_ACT_ON_PACKAGES"};
}
else {
@@ -1209,7 +1401,22 @@ sub filedoublearray {
if (!close(DH_FARRAY_IN)) {
if ($x) {
- error("Error closing fd/process for $file: $!") if $!;
+ my ($err, $proc_err) = ($!, $?);
+ error("Error closing fd/process for $file: $err") if $err;
+ # The interpreter did not like the file for some reason.
+ # Lets check if the maintainer intended it to be
+ # executable.
+ if (not is_so_or_exec_elf_file($file) and not _has_shbang_line($file)) {
+ warning("$file is marked executable but does not appear to an executable config.");
+ warning();
+ warning("If $file is intended to be an executable config file, please ensure it can");
+ warning("be run as a stand-alone script/program (e.g. \"./${file}\")");
+ warning("Otherwise, please remove the executable bit from the file (e.g. chmod -x \"${file}\")");
+ warning();
+ warning('Please see "Executable debhelper config files" in debhelper(7) for more information.');
+ warning();
+ }
+ $? = $proc_err;
error_exitcode("$file (executable config)");
} else {
error("problem reading $file: $!");
@@ -1317,7 +1524,15 @@ sub is_cross_compiling {
# As a side effect, populates %package_arches and %package_types
# with the types of all packages (not only those returned).
my (%package_types, %package_arches, %package_multiarches, %packages_by_type,
- %package_sections, $sourcepackage, %rrr, %package_cross_type);
+ %package_sections, $sourcepackage, %package_cross_type, %dh_bd_sequences);
+
+# Resets the arrays; used mostly for testing
+sub resetpackages {
+ undef $sourcepackage;
+ %package_types = %package_arches = %package_multiarches =
+ %packages_by_type = %package_sections = %package_cross_type = ();
+ %dh_bd_sequences = ();
+}
# Returns source package name
sub sourcepackage {
@@ -1340,8 +1555,10 @@ sub getpackages {
my $package="";
my $arch="";
my $section="";
+ my $valid_pkg_re = qr{^${PKGNAME_REGEX}$}o;
my ($package_type, $multiarch, %seen, @profiles, $source_section,
- $included_in_build_profile, $cross_type, $cross_target_arch);
+ $included_in_build_profile, $cross_type, $cross_target_arch,
+ %bd_fields, $bd_field_value, %seen_fields);
if (exists $ENV{'DEB_BUILD_PROFILES'}) {
@profiles=split /\s+/, $ENV{'DEB_BUILD_PROFILES'};
}
@@ -1357,68 +1574,197 @@ sub getpackages {
s/\s+$//;
next if m/^\s*+\#/;
- if (/^Source:\s*(.*)/i) {
- $sourcepackage = $1;
- next;
- } elsif (/^Rules-Requires-Root:\s*(.*)/i) {
- for my $keyword (split(' ', $1)) {
- $rrr{$keyword} = 1;
+ if (/^\s/) {
+ if (not %seen_fields) {
+ error("Continuation line seen before first stanza in debian/control (line $.)");
}
+ # Continuation line
+ push(@{$bd_field_value}, $_) if $bd_field_value;
+ } elsif (not $_ and not %seen_fields) {
+ # Ignore empty lines before first stanza
next;
- } elsif (/^Section:\s(.*)$/i) {
- $source_section = $1;
- next;
+ } elsif ($_) {
+ my ($field_name, $value);
+
+ if (m/^($DEB822_FIELD_REGEX):\s*(.*)/o) {
+ ($field_name, $value) = (lc($1), $2);
+ if (exists($seen_fields{$field_name})) {
+ my $first_time = $seen_fields{$field_name};
+ error("${field_name}-field appears twice in the same stanza of debian/control. " .
+ "First time on line $first_time, second time: $.");
+ }
+ $seen_fields{$field_name} = $.;
+ $bd_field_value = undef;
+ } else {
+ # Invalid file
+ error("Parse error in debian/control, line $., read: $_");
+ }
+ if ($field_name eq 'source') {
+ $sourcepackage = $value;
+ if ($sourcepackage !~ $valid_pkg_re) {
+ error('Source-field must be a valid package name, ' .
+ "got: \"${sourcepackage}\", should match \"${valid_pkg_re}\"");
+ }
+ next;
+ } elsif ($field_name eq 'section') {
+ $source_section = $value;
+ next;
+ } elsif ($field_name =~ /^(?:build-depends(?:-arch|-indep)?)$/) {
+ $bd_field_value = [$value];
+ $bd_fields{$field_name} = $bd_field_value;
+ }
}
- next if not $_ and not defined($sourcepackage);
- last if (!$_ or eof); # end of stanza.
+ last if not $_ or eof;
}
error("could not find Source: line in control file.") if not defined($sourcepackage);
- $rrr{'binary-targets'} = 1 if not %rrr;
+ if (%bd_fields) {
+ my ($dh_compat_bd, $final_level);
+ for my $field (sort(keys(%bd_fields))) {
+ my $value = join(' ', @{$bd_fields{$field}});
+ $value =~ s/^\s*//;
+ $value =~ s/\s*(?:,\s*)?$//;
+ for my $dep (split(/\s*,\s*/, $value)) {
+ if ($dep =~ m/^debhelper-compat\s*[(]\s*=\s*(${PKGVERSION_REGEX})\s*[)]$/) {
+ my $version = $1;
+ if ($version =~m/^(\d+)\D.*$/) {
+ my $guessed_compat = $1;
+ warning("Please use the compat level as the exact version rather than the full version.");
+ warning(" Perhaps you meant: debhelper-compat (= ${guessed_compat})");
+ if ($field ne 'build-depends') {
+ warning(" * Also, please move the declaration to Build-Depends (it was found in ${field})");
+ }
+ error("Invalid compat level ${version}, derived from relation: ${dep}");
+ }
+ $final_level = $version;
+ error("Duplicate debhelper-compat build-dependency: ${dh_compat_bd} vs. ${dep}") if $dh_compat_bd;
+ error("The debhelper-compat build-dependency must be in the Build-Depends field (not $field)")
+ if $field ne 'build-depends';
+ $dh_compat_bd = $dep;
+ } elsif ($dep =~ m/^debhelper-compat\s*(?:\S.*)?$/) {
+ my $clevel = "${\MAX_COMPAT_LEVEL}";
+ eval {
+ require Debian::Debhelper::Dh_Version;
+ $clevel = $Debian::Debhelper::Dh_Version::version;
+ };
+ $clevel =~ s/^\d+\K\D.*$//;
+ warning("Found invalid debhelper-compat relation: ${dep}");
+ warning(" * Please format the relation as (example): debhelper-compat (= ${clevel})");
+ warning(" * Note that alternatives, architecture restrictions, build-profiles etc. are not supported.");
+ if ($field ne 'build-depends') {
+ warning(" * Also, please move the declaration to Build-Depends (it was found in ${field})");
+ }
+ warning(" * If this is not possible, then please remove the debhelper-compat relation and insert the");
+ warning(" compat level into the file debian/compat. (E.g. \"echo ${clevel} > debian/compat\")");
+ error("Could not parse desired debhelper compat level from relation: $dep");
+ }
+ # Build-Depends on dh-sequence-<foo> OR dh-sequence-<foo> (<op> <version>)
+ if ($dep =~ m/^dh-sequence-(${PKGNAME_REGEX})\s*(?:[(]\s*(?:[<>]?=|<<|>>)\s*(${PKGVERSION_REGEX})\s*[)])?$/) {
+ my $sequence = $1;
+ if ($field ne 'build-depends') {
+ warning("Ignoring dh sequence add-on request for sequenece ${sequence} via ${field}: Please move it to the Build-Depends field");
+ warning("The relation that triggered this warning was: ${dep} (from the ${field} field)");
+ next;
+ }
+ $dh_bd_sequences{$sequence} = 1;
+ }
+ }
+ }
+ $compat_from_bd = $final_level // -1;
+ } else {
+ $compat_from_bd = -1;
+ }
+
+ %seen_fields = ();
while (<$fd>) {
chomp;
s/\s+$//;
- if (/^Package:\s*(.*)/i) {
- $package=$1;
- # Detect duplicate package names in the same control file.
- if (! $seen{$package}) {
- $seen{$package}=1;
- }
- else {
- error("debian/control has a duplicate entry for $package");
+ if (m/^\#/) {
+ # Skip unless EOF for the special case where the last line
+ # is a comment line directly after the last stanza. In
+ # that case we need to "commit" the last stanza as well or
+ # we end up omitting the last package.
+ next if not eof;
+ $_ = '';
+ }
+
+
+ if (/^\s/) {
+ # Continuation line
+ if (not %seen_fields) {
+ error("Continuation line seen outside stanza in debian/control (line $.)");
}
- $included_in_build_profile=1;
- } elsif (/^Section:\s(.*)$/i) {
- $section = $1;
- } elsif (/^Architecture:\s*(.*)/i) {
- $arch=$1;
- } elsif (/^(?:X[BC]*-)?Package-Type:\s*(.*)/i) {
- $package_type=$1;
- } elsif (/^Multi-Arch:\s*(.*)/i) {
- $multiarch = $1;
- } elsif (/^X-DH-Build-For-Type:\s*(.*)/i) {
- $cross_type = $1;
- if ($cross_type ne 'host' and $cross_type ne 'target') {
- error("Unknown value of X-DH-Build-For-Type \"$cross_type\" at debian/control:$.");
+ } elsif (not $_ and not %seen_fields) {
+ # Ignore empty lines before first stanza
+ next;
+ } elsif ($_) {
+ my ($field_name, $value);
+
+ if (m/^($DEB822_FIELD_REGEX):\s*(.*)/o) {
+ ($field_name, $value) = (lc($1), $2);
+ if (exists($seen_fields{$field_name})) {
+ my $first_time = $seen_fields{$field_name};
+ error("${field_name}-field appears twice in the same stanza of debian/control. " .
+ "First time on line $first_time, second time: $.");
+ }
+ $seen_fields{$field_name} = $.;
+ $bd_field_value = undef;
+ } else {
+ # Invalid file
+ error("Parse error in debian/control, line $., read: $_");
}
- } elsif (/^Build-Profiles:\s*(.*)/i) {
- # rely on libdpkg-perl providing the parsing functions
- # because if we work on a package with a Build-Profiles
- # field, then a high enough version of dpkg-dev is needed
- # anyways
- my $build_profiles=$1;
- eval {
- require Dpkg::BuildProfiles;
- my @restrictions=Dpkg::BuildProfiles::parse_build_profiles($build_profiles);
- if (@restrictions) {
- $included_in_build_profile=Dpkg::BuildProfiles::evaluate_restriction_formula(\@restrictions, \@profiles);
+
+ if ($field_name eq 'package') {
+ $package = $value;
+ # Detect duplicate package names in the same control file.
+ if (! $seen{$package}) {
+ $seen{$package}=1;
+ } else {
+ error("debian/control has a duplicate entry for $package");
+ }
+ if ($package !~ $valid_pkg_re) {
+ error('Package-field must be a valid package name, ' .
+ "got: \"${package}\", should match \"${valid_pkg_re}\"");
+ }
+ $included_in_build_profile=1;
+ } elsif ($field_name eq 'section') {
+ $section = $value;
+ } elsif ($field_name eq 'architecture') {
+ $arch = $value;
+ } elsif ($field_name =~ m/^(?:x[bc]*-)?package-type$/) {
+ if (defined($package_type)) {
+ my $help = "(issue seen prior \"Package\"-field)";
+ $help = "for package ${package}" if $package;
+ error("Multiple definitions of (X-)Package-Type in line $. ${help}");
+ }
+ $package_type = $value;
+ } elsif ($field_name eq 'multi-arch') {
+ $multiarch = $value;
+ } elsif ($field_name eq 'x-dh-build-for-type') {
+ $cross_type = $value;
+ if ($cross_type ne 'host' and $cross_type ne 'target') {
+ error("Unknown value of X-DH-Build-For-Type \"$cross_type\" at debian/control:$.");
+ }
+ } elsif ($field_name eq 'build-profiles') {
+ # rely on libdpkg-perl providing the parsing functions
+ # because if we work on a package with a Build-Profiles
+ # field, then a high enough version of dpkg-dev is needed
+ # anyways
+ my $build_profiles = $value;
+ eval {
+ require Dpkg::BuildProfiles;
+ my @restrictions=Dpkg::BuildProfiles::parse_build_profiles($build_profiles);
+ if (@restrictions) {
+ $included_in_build_profile = Dpkg::BuildProfiles::evaluate_restriction_formula(
+ \@restrictions,
+ \@profiles);
+ }
+ };
+ if ($@) {
+ error("The control file has a Build-Profiles field. Requires libdpkg-perl >= 1.17.14");
}
- };
- if ($@) {
- error("The control file has a Build-Profiles field. Requires libdpkg-perl >= 1.17.14");
}
}
-
if (!$_ or eof) { # end of stanza.
if ($package) {
$package_types{$package}=$package_type // 'deb';
@@ -1444,8 +1790,8 @@ sub getpackages {
$included = 1 if samearch($desired_arch, $arch);
}
if ($included) {
- push(@{$packages_by_type{'arch'}}, $package);
- push(@{$packages_by_type{'both'}}, $package);
+ push(@{$packages_by_type{'arch'}}, $package);
+ push(@{$packages_by_type{'both'}}, $package);
}
}
}
@@ -1455,6 +1801,7 @@ sub getpackages {
$cross_type = undef;
$arch='';
$section='';
+ %seen_fields = ();
}
}
close($fd);
@@ -1466,32 +1813,36 @@ sub getpackages {
# - Takes an optional keyword; if passed, this will return true if the keyword is listed in R^3 (Rules-Requires-Root)
# - If the optional keyword is omitted or not present in R^3 and R^3 is not 'binary-targets', then returns false
# - Returns true otherwise (i.e. keyword is in R^3 or R^3 is 'binary-targets')
-sub should_use_root {
- my ($keyword) = @_;
- return 1 if not DH_ENABLE_RRR_SUPPORT;
- getpackages() if not %rrr;
-
- return 0 if exists($rrr{'no'});
- return 1 if exists($rrr{'binary-targets'});
- return 0 if not defined($keyword);
- return 1 if exists($rrr{$keyword});
- return 0;
+{
+ my %rrr;
+ sub should_use_root {
+ my ($keyword) = @_;
+ my $rrr_env = $ENV{'DEB_RULES_REQUIRES_ROOT'} // 'binary-targets';
+ $rrr_env =~ s/^\s++//;
+ $rrr_env =~ s/\s++$//;
+ return 0 if $rrr_env eq 'no';
+ return 1 if $rrr_env eq 'binary-targets';
+ return 0 if not defined($keyword);
+
+ %rrr = map { $_ => 1 } split(' ', $rrr_env) if not %rrr;
+ return 1 if exists($rrr{$keyword});
+ return 0;
+ }
}
# Returns the "gain root command" as a list suitable for passing as a part of the command to "doit()"
sub gain_root_cmd {
- my $raw_cmd = $ENV{DPKG_GAIN_ROOT_CMD};
+ my $raw_cmd = $ENV{DEB_GAIN_ROOT_CMD};
return if not defined($raw_cmd) or $raw_cmd =~ m/^\s*+$/;
return split(' ', $raw_cmd);
}
sub root_requirements {
- return 'legacy-root' if not DH_ENABLE_RRR_SUPPORT;
-
- getpackages() if not %rrr;
-
- return 'none' if exists($rrr{'no'});
- return 'legacy-root' if exists($rrr{'binary-targets'});
+ my $rrr_env = $ENV{'DEB_RULES_REQUIRES_ROOT'} // 'binary-targets';
+ $rrr_env =~ s/^\s++//;
+ $rrr_env =~ s/\s++$//;
+ return 'none' if $rrr_env eq 'no';
+ return 'legacy-root' if $rrr_env eq 'binary-targets';
return 'targeted-promotion';
}
@@ -1602,6 +1953,26 @@ sub is_udeb {
}
}
+# Only useful for dh(1)
+sub bd_dh_sequences {
+ # Use $sourcepackage as check because %dh_bd_sequence can be empty
+ # after running getpackages().
+ getpackages() if not defined($sourcepackage);
+ return sort(keys(%dh_bd_sequences));
+}
+
+sub _concat_slurp_script_files {
+ my (@files) = @_;
+ my $res = '';
+ for my $file (@files) {
+ open(my $fd, '<', $file) or error("open($file) failed: $!");
+ my $f = join('', <$fd>);
+ close($fd);
+ $res .= $f;
+ }
+ return $res;
+}
+
# Handles #DEBHELPER# substitution in a script; also can generate a new
# script from scratch if none exists but there is a .debhelper file for it.
sub debhelper_script_subst {
@@ -1611,34 +1982,56 @@ sub debhelper_script_subst {
my $tmp=tmpdir($package);
my $ext=pkgext($package);
my $file=pkgfile($package,$script);
+ my $service_script = generated_file($package, "${script}.service", 0);
+ my @generated_scripts = ("debian/$ext$script.debhelper", $service_script);
+ if ($script eq 'prerm' or $script eq 'postrm') {
+ @generated_scripts = reverse(@generated_scripts);
+ }
+ @generated_scripts = grep { -f } @generated_scripts;
if ($file ne '') {
- if (-f "debian/$ext$script.debhelper") {
+ if (@generated_scripts) {
+ if ($dh{VERBOSE}) {
+ verbose_print('cp -f ' . escape_shell($file) . " $tmp/DEBIAN/$script");
+ verbose_print("perl -p -i -e \"s~#DEBHELPER#~qx{cat @generated_scripts}~eg\" $tmp/DEBIAN/$script");
+ }
# Add this into the script, where it has #DEBHELPER#
- doit({ stdout => "$tmp/DEBIAN/$script" }, 'perl', '-pe',
- "s~#DEBHELPER#~qx{cat debian/$ext$script.debhelper}~eg", $file);
- }
- else {
+ my $text = _concat_slurp_script_files(@generated_scripts);
+ if (not $dh{NO_ACT}) {
+ open(my $out_fd, '>', "$tmp/DEBIAN/$script") or error("open($tmp/DEBIAN/$script) failed: $!");
+ open(my $in_fd, '<', $file) or error("open($file) failed: $!");
+ while (my $line = <$in_fd>) {
+ $line =~ s/#DEBHELPER#/$text/g;
+ print {$out_fd} $line;
+ }
+ close($in_fd);
+ close($out_fd) or error("close($tmp/DEBIAN/$script) failed: $!");
+ }
+ } else {
# Just get rid of any #DEBHELPER# in the script.
doit({ stdout => "$tmp/DEBIAN/$script" }, 'sed', 's/#DEBHELPER#//', $file);
}
reset_perm_and_owner('0755', "$tmp/DEBIAN/$script");
}
- elsif ( -f "debian/$ext$script.debhelper" ) {
+ elsif (@generated_scripts) {
if ($dh{VERBOSE}) {
verbose_print(q{printf '#!/bin/sh\nset -e\n' > } . "$tmp/DEBIAN/$script");
- verbose_print("cat debian/$ext$script.debhelper >> $tmp/DEBIAN/$script");
- }
- open(my $out_fd, '>', "$tmp/DEBIAN/$script") or error("open($tmp/DEBIAN/$script): $!");
- print {$out_fd} "#!/bin/sh\n";
- print {$out_fd} "set -e\n";
- open(my $in_fd, '<', "debian/$ext$script.debhelper")
- or error("open(debian/$ext$script.debhelper): $!");
- while (my $line = <$in_fd>) {
- print {$out_fd} $line;
- }
- close($in_fd);
- close($out_fd) or error("close($tmp/DEBIAN/$script): $!");
+ verbose_print("cat @generated_scripts >> $tmp/DEBIAN/$script");
+ }
+ if (not $dh{NO_ACT}) {
+ open(my $out_fd, '>', "$tmp/DEBIAN/$script") or error("open($tmp/DEBIAN/$script): $!");
+ print {$out_fd} "#!/bin/sh\n";
+ print {$out_fd} "set -e\n";
+ for my $generated_script (@generated_scripts) {
+ open(my $in_fd, '<', $generated_script)
+ or error("open($generated_script) failed: $!");
+ while (my $line = <$in_fd>) {
+ print {$out_fd} $line;
+ }
+ close($in_fd);
+ }
+ close($out_fd) or error("close($tmp/DEBIAN/$script) failed: $!");
+ }
reset_perm_and_owner('0755', "$tmp/DEBIAN/$script");
}
}
@@ -1674,9 +2067,17 @@ sub make_symlink{
my $dest = shift;
my $src = _expand_path(shift);
my $tmp = shift;
- $tmp = '' if not defined($tmp);
- $src=~s:^/::;
- $dest=~s:^/::;
+ $tmp = '' if not defined($tmp);
+
+ if ($dest =~ m{(?:^|/)*[.]{2}(?:/|$)}) {
+ error("Invalid destination/link name (contains \"..\"-segments): $dest");
+ }
+
+ $src =~ s{^(?:[.]/+)++}{};
+ $dest =~ s{^(?:[.]/+)++}{};
+
+ $src=~s:^/++::;
+ $dest=~s:^/++::;
if ($src eq $dest) {
warning("skipping link from $src to self");
@@ -1688,8 +2089,8 @@ sub make_symlink{
# Policy says that if the link is all within one toplevel
# directory, it should be relative. If it's between
# top level directories, leave it absolute.
- my @src_dirs=split(m:/+:,$src);
- my @dest_dirs=split(m:/+:,$dest);
+ my @src_dirs = grep { $_ ne '.' } split(m:/+:,$src);
+ my @dest_dirs = grep { $_ ne '.' } split(m:/+:,$dest);
if (@src_dirs > 0 && $src_dirs[0] eq $dest_dirs[0]) {
# Figure out how much of a path $src and $dest
# share in common.
@@ -2089,6 +2490,32 @@ sub is_so_or_exec_elf_file {
return 1;
}
+sub _has_shbang_line {
+ my ($file) = @_;
+ open(my $fd, '<', $file) or error("open $file: $!");
+ my $line = <$fd>;
+ close($fd);
+ return 1 if (defined($line) and substr($line, 0, 2) eq '#!');
+ return 0;
+}
+
+# Returns true iff the given argument is an empty directory.
+# Corner-cases:
+# - false if not a directory
+sub is_empty_dir {
+ my ($dir) = @_;
+ return 0 if not -d $dir;
+ my $ret = 1;
+ opendir(my $dir_fd, $dir) or error("opendir($dir) failed: $!");
+ while (defined(my $entry = readdir($dir_fd))) {
+ next if $entry eq '.' or $entry eq '..';
+ $ret = 0;
+ last;
+ }
+ closedir($dir_fd);
+ return $ret;
+}
+
sub on_pkgs_in_parallel(&) {
unshift(@_, $dh{DOPACKAGES});
goto \&on_items_in_parallel;
diff --git a/lib/Debian/Debhelper/Sequence/dwz.pm b/lib/Debian/Debhelper/Sequence/dwz.pm
index 3db77561..eb8ef13e 100644
--- a/lib/Debian/Debhelper/Sequence/dwz.pm
+++ b/lib/Debian/Debhelper/Sequence/dwz.pm
@@ -3,9 +3,11 @@
use strict;
use warnings;
-use Debian::Debhelper::Dh_Lib qw(warning);
+use Debian::Debhelper::Dh_Lib;
-warning('The "dwz"-sequence is experimental and may change (or be retired) without any notice');
+if (not compat(11)) {
+ error("In compat 12, dh_dwz is run by default and the dwz-sequence is no longer required.");
+}
insert_before('dh_strip', 'dh_dwz');
diff --git a/lib/Debian/Debhelper/Sequence/installinitramfs.pm b/lib/Debian/Debhelper/Sequence/installinitramfs.pm
new file mode 100644
index 00000000..3c7b2b81
--- /dev/null
+++ b/lib/Debian/Debhelper/Sequence/installinitramfs.pm
@@ -0,0 +1,14 @@
+#!/usr/bin/perl
+# Enable dh_installinitramfs
+
+use strict;
+use warnings;
+use Debian::Debhelper::Dh_Lib;
+
+if (not compat(11)) {
+ error("In compat 12, dh_installinitramfs is run by default and the installinitramfs-sequence is no longer required.");
+}
+
+insert_after('dh_installgsettings', 'dh_installinitramfs');
+
+1;
diff --git a/lib/Debian/Debhelper/SequencerUtil.pm b/lib/Debian/Debhelper/SequencerUtil.pm
new file mode 100644
index 00000000..9a9ce2bf
--- /dev/null
+++ b/lib/Debian/Debhelper/SequencerUtil.pm
@@ -0,0 +1,152 @@
+#!/usr/bin/perl
+#
+# Internal library functions for the dh(1) command
+
+package Debian::Debhelper::SequencerUtil;
+use strict;
+use warnings;
+use constant DUMMY_TARGET => 'debhelper-fail-me';
+
+use Exporter qw(import);
+
+our @EXPORT = qw(
+ extract_rules_target_name
+ to_rules_target
+ unpack_sequence
+ rules_explicit_target
+ extract_skipinfo
+ DUMMY_TARGET
+);
+
+our (%EXPLICIT_TARGETS, $RULES_PARSED);
+
+sub extract_rules_target_name {
+ my ($command) = @_;
+ if ($command =~ m{^debian/rules\s++(.++)}) {
+ return $1
+ }
+ return;
+}
+
+sub to_rules_target {
+ return 'debian/rules '.join(' ', @_);
+}
+
+sub unpack_sequence {
+ my ($sequences, $sequence_name, $always_inline, $completed_sequences) = @_;
+ my (@sequence, @targets, %seen, %non_inlineable_targets, @stack);
+ # Walk through the sequence effectively doing a DFS of the rules targets
+ # (when we are allowed to inline them).
+ push(@stack, [@{$sequences->{$sequence_name}}]);
+ while (@stack) {
+ my $current_sequence = pop(@stack);
+ COMMAND:
+ while (@{$current_sequence}) {
+ my $command = shift(@{$current_sequence});
+ my $rules_target=extract_rules_target_name($command);
+ next if (defined($rules_target) and exists($completed_sequences->{$rules_target}));
+ if (defined($rules_target) && ($always_inline ||
+ ! exists($non_inlineable_targets{$rules_target}) &&
+ ! defined(rules_explicit_target($rules_target)))) {
+
+ # inline the sequence for this implicit target.
+ push(@stack, $current_sequence);
+ $current_sequence = [@{$sequences->{$rules_target}}];
+ next COMMAND;
+ } else {
+ if (defined($rules_target) and not $always_inline) {
+ next COMMAND if exists($non_inlineable_targets{$rules_target});
+ my @opaque_targets = ($rules_target);
+ while (my $opaque_target = pop(@opaque_targets)) {
+ for my $c (@{$sequences->{$opaque_target}}) {
+ my $subtarget = extract_rules_target_name($c);
+ next if not defined($subtarget);
+ next if exists($non_inlineable_targets{$subtarget});
+ $non_inlineable_targets{$subtarget} = $rules_target;
+ }
+ }
+ push(@targets, $command) if not $seen{$command}++;
+ } elsif (! $seen{$command}) {
+ $seen{$command} = 1;
+ push(@sequence, $command);
+ }
+ }
+ }
+ }
+ return (\@targets, \@sequence);
+}
+
+
+sub rules_explicit_target {
+ # Checks if a specified target exists as an explicit target
+ # in debian/rules.
+ # undef is returned if target does not exist, 0 if target is noop
+ # and 1 if target has dependencies or executes commands.
+ my ($target) = @_;
+
+ if (! $RULES_PARSED) {
+ my $processing_targets = 0;
+ my $not_a_target = 0;
+ my $current_target;
+ open(MAKE, "LC_ALL=C make -Rrnpsf debian/rules ${\DUMMY_TARGET} 2>/dev/null |");
+ while (<MAKE>) {
+ if ($processing_targets) {
+ if (/^# Not a target:/) {
+ $not_a_target = 1;
+ } else {
+ if (!$not_a_target && m/^([^#:]+)::?\s*(.*)$/) {
+ # Target is defined. NOTE: if it is a dependency of
+ # .PHONY it will be defined too but that's ok.
+ # $2 contains target dependencies if any.
+ $current_target = $1;
+ $EXPLICIT_TARGETS{$current_target} = ($2) ? 1 : 0;
+ } else {
+ if (defined($current_target)) {
+ if (m/^#/) {
+ # Check if target has commands to execute
+ if (m/^#\s*(commands|recipe) to execute/) {
+ $EXPLICIT_TARGETS{$current_target} = 1;
+ }
+ } else {
+ # Target parsed.
+ $current_target = undef;
+ }
+ }
+ }
+ # "Not a target:" is always followed by
+ # a target name, so resetting this one
+ # here is safe.
+ $not_a_target = 0;
+ }
+ } elsif (m/^# Files$/) {
+ $processing_targets = 1;
+ }
+ }
+ close MAKE;
+ $RULES_PARSED = 1;
+ }
+
+ return $EXPLICIT_TARGETS{$target};
+}
+
+sub extract_skipinfo {
+ my ($command) = @_;
+
+ foreach my $dir (split(':', $ENV{PATH})) {
+ if (open (my $h, "<", "$dir/$command")) {
+ while (<$h>) {
+ if (m/PROMISE: DH NOOP( WITHOUT\s+(.*))?\s*$/) {
+ close $h;
+ return split(' ', $2) if defined($2);
+ return ('always-skip');
+ }
+ }
+ close $h;
+ return;
+ }
+ }
+ return;
+}
+
+
+1;
diff --git a/man/po4a/po/de.po b/man/po4a/po/de.po
index baf292f9..dd679ccb 100644
--- a/man/po4a/po/de.po
+++ b/man/po4a/po/de.po
@@ -1,14 +1,14 @@
# Translation of the debhelper documentation to German.
# Copyright (C) 1997-2011 Joey Hess.
# This file is distributed under the same license as the debhelper package.
-# Copyright (C) of this file 2011-2016 Chris Leick.
+# Copyright (C) of this file 2011-2017 Chris Leick.
#
msgid ""
msgstr ""
-"Project-Id-Version: debhelper 9.20160814\n"
+"Project-Id-Version: debhelper 10.10.10\n"
"Report-Msgid-Bugs-To: debhelper@packages.debian.org\n"
-"POT-Creation-Date: 2017-11-11 13:57+0000\n"
-"PO-Revision-Date: 2017-01-18 20:01+0100\n"
+"POT-Creation-Date: 2018-08-08 14:37+0200\n"
+"PO-Revision-Date: 2017-12-12 18:01+0100\n"
"Last-Translator: Chris Leick <c.leick@vollbio.de>\n"
"Language-Team: German <debian-l10n-german@lists.debian.org>\n"
"Language: de\n"
@@ -20,17 +20,18 @@ msgstr ""
#. type: =head1
#: debhelper.pod:3 debhelper-obsolete-compat.pod:1 dh:3 dh_auto_build:3
#: dh_auto_clean:3 dh_auto_configure:3 dh_auto_install:3 dh_auto_test:3
-#: dh_bugfiles:3 dh_builddeb:5 dh_clean:3 dh_compress:3 dh_fixperms:3
+#: dh_bugfiles:3 dh_builddeb:5 dh_clean:3 dh_compress:3 dh_dwz:3 dh_fixperms:3
#: dh_gconf:3 dh_gencontrol:3 dh_icons:3 dh_install:3 dh_installcatalogs:3
#: dh_installchangelogs:3 dh_installcron:3 dh_installdeb:3 dh_installdebconf:3
#: dh_installdirs:3 dh_installdocs:5 dh_installemacsen:3 dh_installexamples:5
-#: dh_installifupdown:3 dh_installinfo:3 dh_installinit:3 dh_installlogcheck:3
-#: dh_installlogrotate:3 dh_installman:3 dh_installmanpages:3 dh_installmenu:3
-#: dh_installmime:3 dh_installmodules:3 dh_installpam:3 dh_installppp:3
-#: dh_installudev:3 dh_installwm:3 dh_installxfonts:3 dh_link:3 dh_lintian:3
-#: dh_listpackages:3 dh_makeshlibs:3 dh_md5sums:3 dh_movefiles:3 dh_perl:3
-#: dh_prep:3 dh_shlibdeps:3 dh_strip:3 dh_testdir:3 dh_testroot:5 dh_usrlocal:5
-#: dh_systemd_enable:3 dh_systemd_start:3
+#: dh_installifupdown:3 dh_installinfo:3 dh_installinit:3 dh_installinitramfs:3
+#: dh_installlogcheck:3 dh_installlogrotate:3 dh_installman:3
+#: dh_installmanpages:3 dh_installmenu:3 dh_installmime:3 dh_installmodules:3
+#: dh_installpam:3 dh_installppp:3 dh_installudev:3 dh_installwm:3
+#: dh_installxfonts:3 dh_link:3 dh_lintian:3 dh_listpackages:3 dh_makeshlibs:3
+#: dh_md5sums:3 dh_movefiles:3 dh_perl:3 dh_prep:3 dh_shlibdeps:3 dh_strip:3
+#: dh_testdir:3 dh_testroot:5 dh_usrlocal:5 dh_systemd_enable:3
+#: dh_systemd_start:3
msgid "NAME"
msgstr "NAME"
@@ -40,21 +41,21 @@ msgid "debhelper - the debhelper tool suite"
msgstr "debhelper - die Debhelper-Werkzeugsammlung"
#. type: =head1
-#: debhelper.pod:7 debhelper-obsolete-compat.pod:5 dh:15 dh_auto_build:16
+#: debhelper.pod:7 debhelper-obsolete-compat.pod:5 dh:16 dh_auto_build:16
#: dh_auto_clean:16 dh_auto_configure:16 dh_auto_install:18 dh_auto_test:16
-#: dh_bugfiles:15 dh_builddeb:17 dh_clean:15 dh_compress:17 dh_fixperms:16
-#: dh_gconf:15 dh_gencontrol:16 dh_icons:16 dh_install:15 dh_installcatalogs:17
-#: dh_installchangelogs:15 dh_installcron:15 dh_installdeb:15
-#: dh_installdebconf:15 dh_installdirs:15 dh_installdocs:17
+#: dh_bugfiles:15 dh_builddeb:17 dh_clean:15 dh_compress:17 dh_dwz:16
+#: dh_fixperms:16 dh_gconf:15 dh_gencontrol:16 dh_icons:16 dh_install:15
+#: dh_installcatalogs:17 dh_installchangelogs:15 dh_installcron:15
+#: dh_installdeb:15 dh_installdebconf:15 dh_installdirs:15 dh_installdocs:17
#: dh_installemacsen:15 dh_installexamples:17 dh_installifupdown:15
-#: dh_installinfo:15 dh_installinit:16 dh_installlogcheck:15
-#: dh_installlogrotate:15 dh_installman:16 dh_installmanpages:16
-#: dh_installmenu:15 dh_installmime:15 dh_installmodules:16 dh_installpam:15
-#: dh_installppp:15 dh_installudev:15 dh_installwm:15 dh_installxfonts:15
-#: dh_link:16 dh_lintian:15 dh_listpackages:15 dh_makeshlibs:15 dh_md5sums:16
-#: dh_movefiles:15 dh_perl:17 dh_prep:15 dh_shlibdeps:17 dh_strip:16
-#: dh_testdir:15 dh_testroot:9 dh_usrlocal:19 dh_systemd_enable:16
-#: dh_systemd_start:17
+#: dh_installinfo:15 dh_installinit:16 dh_installinitramfs:15
+#: dh_installlogcheck:15 dh_installlogrotate:15 dh_installman:16
+#: dh_installmanpages:16 dh_installmenu:15 dh_installmime:15
+#: dh_installmodules:16 dh_installpam:15 dh_installppp:15 dh_installudev:15
+#: dh_installwm:15 dh_installxfonts:15 dh_link:16 dh_lintian:15
+#: dh_listpackages:15 dh_makeshlibs:15 dh_md5sums:16 dh_movefiles:15 dh_perl:17
+#: dh_prep:15 dh_shlibdeps:17 dh_strip:16 dh_testdir:15 dh_testroot:9
+#: dh_usrlocal:19 dh_systemd_enable:16 dh_systemd_start:17
msgid "SYNOPSIS"
msgstr "ÜBERSICHT"
@@ -68,21 +69,21 @@ msgstr ""
"N>I<Paket>] [B<-P>I<temporäres_Verzeichnis>]"
#. type: =head1
-#: debhelper.pod:11 dh:19 dh_auto_build:20 dh_auto_clean:20
+#: debhelper.pod:11 dh:20 dh_auto_build:20 dh_auto_clean:20
#: dh_auto_configure:20 dh_auto_install:22 dh_auto_test:20 dh_bugfiles:19
-#: dh_builddeb:21 dh_clean:19 dh_compress:21 dh_fixperms:20 dh_gconf:19
-#: dh_gencontrol:20 dh_icons:20 dh_install:19 dh_installcatalogs:21
+#: dh_builddeb:21 dh_clean:19 dh_compress:21 dh_dwz:20 dh_fixperms:20
+#: dh_gconf:19 dh_gencontrol:20 dh_icons:20 dh_install:19 dh_installcatalogs:21
#: dh_installchangelogs:19 dh_installcron:19 dh_installdeb:19
#: dh_installdebconf:19 dh_installdirs:19 dh_installdocs:21
#: dh_installemacsen:19 dh_installexamples:21 dh_installifupdown:19
-#: dh_installinfo:19 dh_installinit:20 dh_installlogcheck:19
-#: dh_installlogrotate:19 dh_installman:20 dh_installmanpages:20
-#: dh_installmenu:19 dh_installmime:19 dh_installmodules:20 dh_installpam:19
-#: dh_installppp:19 dh_installudev:19 dh_installwm:19 dh_installxfonts:19
-#: dh_link:20 dh_lintian:19 dh_listpackages:19 dh_makeshlibs:19 dh_md5sums:20
-#: dh_movefiles:19 dh_perl:21 dh_prep:19 dh_shlibdeps:21 dh_strip:20
-#: dh_testdir:19 dh_testroot:13 dh_usrlocal:23 dh_systemd_enable:20
-#: dh_systemd_start:21
+#: dh_installinfo:19 dh_installinit:20 dh_installinitramfs:19
+#: dh_installlogcheck:19 dh_installlogrotate:19 dh_installman:20
+#: dh_installmanpages:20 dh_installmenu:19 dh_installmime:19
+#: dh_installmodules:20 dh_installpam:19 dh_installppp:19 dh_installudev:19
+#: dh_installwm:19 dh_installxfonts:19 dh_link:20 dh_lintian:19
+#: dh_listpackages:19 dh_makeshlibs:19 dh_md5sums:20 dh_movefiles:19 dh_perl:21
+#: dh_prep:19 dh_shlibdeps:21 dh_strip:20 dh_testdir:19 dh_testroot:13
+#: dh_usrlocal:23 dh_systemd_enable:20 dh_systemd_start:21
msgid "DESCRIPTION"
msgstr "BESCHREIBUNG"
@@ -145,6 +146,10 @@ msgid ""
"This is so they can locate find F<debian/control> and F<debian/compat> when "
"needed."
msgstr ""
+"Wo das Werkzeug es nicht ausdrücklich kennzeichnet, gehen alle Debhelper-"
+"Werkzeuge davon aus, dass sie aus dem Wurzelverzeichnis eines entpackten "
+"Quellpakets ausgeführt werden. Dies ist deshalb so, weil sie dann F<debian/"
+"control> und F<debian/compat> finden können, wenn nötig."
#. type: =head1
#: debhelper.pod:36
@@ -243,14 +248,15 @@ msgstr ""
#: debhelper.pod:79
msgid ""
"Note for the first (or only) binary package listed in F<debian/control>, "
-"debhelper will use F<debian/foo> when there's no F<debian/package.foo> file."
+"debhelper will use F<debian/foo> when there's no F<debian/I<package>.foo> "
+"file. However, it is often a good idea to keep the F<I<package>.> prefix as "
+"it is more explicit. The primary exception to this are files that debhelper "
+"by default installs in every binary package when it does not have a package "
+"prefix (such as F<debian/copyright> or F<debian/changelog>)."
msgstr ""
-"Beachten Sie, dass Debhelper für das erste (oder einzige) in F<debian/"
-"control> aufgelistete Binärpaket F<debian/foo> benutzen wird, wenn es dort "
-"keine F<debian/package.foo>-Datei gibt."
#. type: textblock
-#: debhelper.pod:83
+#: debhelper.pod:87
msgid ""
"In some rare cases, you may want to have different versions of these files "
"for different architectures or OSes. If files named debian/I<package>.foo."
@@ -268,7 +274,7 @@ msgstr ""
"allgemeineren Dateien, bevorzugt."
#. type: textblock
-#: debhelper.pod:90
+#: debhelper.pod:94
msgid ""
"Mostly, these config files are used to specify lists of various types of "
"files. Documentation or example files to install, files to move, and so on. "
@@ -286,28 +292,77 @@ msgstr ""
"beginnen, werden ignoriert."
#. type: textblock
-#: debhelper.pod:97
+#: debhelper.pod:101
msgid ""
"The syntax of these files is intentionally kept very simple to make them "
-"easy to read, understand, and modify. If you prefer power and complexity, "
-"you can make the file executable, and write a program that outputs whatever "
-"content is appropriate for a given situation. When you do so, the output is "
-"not further processed to expand wildcards or strip comments."
-msgstr ""
-"Die Syntax dieser Dateien ist absichtlich sehr einfach gehalten, damit sie "
-"leicht zu lesen, zu verstehen und zu ändern sind. Falls Sie Leistung und "
-"Komplexität vorziehen, können Sie die Datei ausführbar machen und ein "
-"Programm schreiben, das das ausgibt, was auch immer für eine gegebene "
-"Situation geeignet ist. Wenn Sie dies tun, wird die Ausgabe nicht weiter "
-"verarbeitet, um Platzhalter zu expandieren oder Kommentare zu entfernen."
+"easy to read, understand, and modify."
+msgstr ""
+
+#. type: =head2
+#: debhelper.pod:104
+#, fuzzy
+#| msgid "Comments are ignored in debhelper config files."
+msgid "Executable debhelper config files"
+msgstr "Kommentare in Debhelper-Konfigurationsdateien werden ignoriert."
+
+#. type: textblock
+#: debhelper.pod:106
+msgid ""
+"If you need additional flexibility, many of the debhelper tools (e.g. "
+"L<dh_install(1)>) support executing a config file as a script."
+msgstr ""
+
+#. type: textblock
+#: debhelper.pod:109
+msgid ""
+"To use this feature, simply mark the config file as executable (e.g. B<< "
+"chmod +x debian/I<package>.install >>) and the tool will attempt to execute "
+"it and use the output of the script. In many cases, you can use L<dh-"
+"exec(1)> as interpreter of the config file to retain most of the original "
+"syntax while getting the additional flexibility you need."
+msgstr ""
+
+#. type: textblock
+#: debhelper.pod:117
+msgid ""
+"When using executable debhelper config files, please be aware of the "
+"following:"
+msgstr ""
+
+#. type: =item
+#: debhelper.pod:122 debhelper.pod:127
+msgid "*"
+msgstr ""
+
+#. type: textblock
+#: debhelper.pod:124
+msgid ""
+"The executable config file B<must> exit with success (i.e. its return code "
+"should indicate success)."
+msgstr ""
+
+#. type: textblock
+#: debhelper.pod:129
+msgid ""
+"The output will be used exactly as it is. Notably, debhelper will I<not> "
+"expand wildcards or strip comments in the output."
+msgstr ""
+
+#. type: textblock
+#: debhelper.pod:134
+msgid ""
+"If you need the package to build on a file system where you cannot disable "
+"the executable bit, then you can use L<dh-exec(1)> and its B<strip-output> "
+"script."
+msgstr ""
#. type: =head1
-#: debhelper.pod:103
+#: debhelper.pod:138
msgid "SHARED DEBHELPER OPTIONS"
msgstr "GEMEINSAM BENUTZTE DEBHELPER-OPTIONEN"
#. type: textblock
-#: debhelper.pod:105
+#: debhelper.pod:140
msgid ""
"The following command line options are supported by all debhelper programs."
msgstr ""
@@ -315,24 +370,24 @@ msgstr ""
"unterstützt."
#. type: =item
-#: debhelper.pod:109
+#: debhelper.pod:144
msgid "B<-v>, B<--verbose>"
msgstr "B<-v>, B<--verbose>"
#. type: textblock
-#: debhelper.pod:111
+#: debhelper.pod:146
msgid ""
"Verbose mode: show all commands that modify the package build directory."
msgstr ""
"Detailreicher Modus: zeigt alle Befehle, die das Paketbauverzeichnis ändern"
#. type: =item
-#: debhelper.pod:113 dh:71
+#: debhelper.pod:148 dh:82
msgid "B<--no-act>"
msgstr "B<--no-act>"
#. type: textblock
-#: debhelper.pod:115
+#: debhelper.pod:150
msgid ""
"Do not really do anything. If used with -v, the result is that the command "
"will output what it would have done."
@@ -341,12 +396,12 @@ msgstr ""
"ausgegeben, was der Befehl getan hätte."
#. type: =item
-#: debhelper.pod:118
+#: debhelper.pod:153
msgid "B<-a>, B<--arch>"
msgstr "B<-a>, B<--arch>"
#. type: textblock
-#: debhelper.pod:120
+#: debhelper.pod:155
msgid ""
"Act on architecture dependent packages that should be built for the "
"B<DEB_HOST_ARCH> architecture."
@@ -355,22 +410,22 @@ msgstr ""
"B<DEB_HOST_ARCH> gebaut werden sollen."
#. type: =item
-#: debhelper.pod:123
+#: debhelper.pod:158
msgid "B<-i>, B<--indep>"
msgstr "B<-i>, B<--indep>"
#. type: textblock
-#: debhelper.pod:125
+#: debhelper.pod:160
msgid "Act on all architecture independent packages."
msgstr "wirkt sich auf alle architekturunabhängigen Pakete aus."
#. type: =item
-#: debhelper.pod:127
+#: debhelper.pod:162
msgid "B<-p>I<package>, B<--package=>I<package>"
msgstr "B<-p>I<Paket>, B<--package=>I<Paket>"
#. type: textblock
-#: debhelper.pod:129
+#: debhelper.pod:164
msgid ""
"Act on the package named I<package>. This option may be specified multiple "
"times to make debhelper operate on a given set of packages."
@@ -380,22 +435,29 @@ msgstr ""
"arbeitet."
#. type: =item
-#: debhelper.pod:132
+#: debhelper.pod:167
msgid "B<-s>, B<--same-arch>"
msgstr "B<-s>, B<--same-arch>"
#. type: textblock
-#: debhelper.pod:134
+#: debhelper.pod:169
msgid "Deprecated alias of B<-a>."
msgstr "missbilligter Alias von B<-a>."
+#. type: textblock
+#: debhelper.pod:171 dh_install:77 dh_install:86
+#, fuzzy
+#| msgid "The option is removed in compat 12."
+msgid "This option is removed in compat 12."
+msgstr "Die Option wurde in Kompatibilitätsstufe 12 entfernt."
+
#. type: =item
-#: debhelper.pod:136
+#: debhelper.pod:173
msgid "B<-N>I<package>, B<--no-package=>I<package>"
msgstr "B<-N>I<Paket>, B<--no-package=>I<Paket>"
#. type: textblock
-#: debhelper.pod:138
+#: debhelper.pod:175
msgid ""
"Do not act on the specified package even if an B<-a>, B<-i>, or B<-p> option "
"lists the package as one that should be acted on."
@@ -404,12 +466,12 @@ msgstr ""
"a>, B<-i> oder B<-p> das Paket als zu verarbeiten auflisten."
#. type: =item
-#: debhelper.pod:141
+#: debhelper.pod:178
msgid "B<--remaining-packages>"
msgstr "B<--remaining-packages>"
#. type: textblock
-#: debhelper.pod:143
+#: debhelper.pod:180
msgid ""
"Do not act on the packages which have already been acted on by this "
"debhelper command earlier (i.e. if the command is present in the package "
@@ -425,12 +487,12 @@ msgstr ""
"Standardeinstellungen zu verarbeiten."
#. type: =item
-#: debhelper.pod:149
+#: debhelper.pod:186
msgid "B<--ignore=>I<file>"
msgstr "B<--ignore=>I<Datei>"
#. type: textblock
-#: debhelper.pod:151
+#: debhelper.pod:188
msgid ""
"Ignore the specified file. This can be used if F<debian/> contains a "
"debhelper config file that a debhelper command should not act on. Note that "
@@ -444,7 +506,7 @@ msgstr ""
"nie einen Grund geben, diese Dateien zu ignorieren."
#. type: textblock
-#: debhelper.pod:156
+#: debhelper.pod:193
msgid ""
"For example, if upstream ships a F<debian/init> that you don't want "
"B<dh_installinit> to install, use B<--ignore=debian/init>"
@@ -454,12 +516,12 @@ msgstr ""
"ignore=debian/init>"
#. type: =item
-#: debhelper.pod:159
+#: debhelper.pod:196
msgid "B<-P>I<tmpdir>, B<--tmpdir=>I<tmpdir>"
msgstr "B<-P>I<temporäres_Verzeichnis>, B<--tmpdir=>I<temporäres_Verzeichnis>"
#. type: textblock
-#: debhelper.pod:161
+#: debhelper.pod:198
msgid ""
"Use I<tmpdir> for package build directory. The default is debian/I<package>"
msgstr ""
@@ -467,12 +529,12 @@ msgstr ""
"Voreinstellung ist debian/I<Paket>."
#. type: =item
-#: debhelper.pod:163
+#: debhelper.pod:200
msgid "B<--mainpackage=>I<package>"
msgstr "B<--mainpackage=>I<Paket>"
#. type: textblock
-#: debhelper.pod:165
+#: debhelper.pod:202
msgid ""
"This little-used option changes the package which debhelper considers the "
"\"main package\", that is, the first one listed in F<debian/control>, and "
@@ -485,12 +547,12 @@ msgstr ""
"Dateien, verwandt werden können."
#. type: =item
-#: debhelper.pod:170
+#: debhelper.pod:207
msgid "B<-O=>I<option>|I<bundle>"
msgstr "B<-O=>I<Option>|I<Bündel>"
#. type: textblock
-#: debhelper.pod:172
+#: debhelper.pod:209
msgid ""
"This is used by L<dh(1)> when passing user-specified options to all the "
"commands it runs. If the command supports the specified option or option "
@@ -504,12 +566,12 @@ msgstr ""
"Befehl nicht unterstützt, wird er ignoriert."
#. type: =head1
-#: debhelper.pod:179
+#: debhelper.pod:216
msgid "COMMON DEBHELPER OPTIONS"
msgstr "HÄUFIGE DEBHELPER-OPTIONEN"
#. type: textblock
-#: debhelper.pod:181
+#: debhelper.pod:218
msgid ""
"The following command line options are supported by some debhelper "
"programs. See the man page of each program for a complete explanation of "
@@ -520,28 +582,33 @@ msgstr ""
"Handbuchseiten jedes einzelnen Programms."
#. type: =item
-#: debhelper.pod:187
+#: debhelper.pod:224
msgid "B<-n>"
msgstr "B<-n>"
#. type: textblock
-#: debhelper.pod:189
+#: debhelper.pod:226
msgid "Do not modify F<postinst>, F<postrm>, etc. scripts."
msgstr "verändert keine F<postinst>-, F<postrm>- etc. Skripte"
#. type: =item
-#: debhelper.pod:191 dh_compress:56 dh_install:98 dh_installchangelogs:74
-#: dh_installdocs:95 dh_installexamples:73 dh_link:75 dh_makeshlibs:93
+#: debhelper.pod:228 dh_compress:56 dh_dwz:44 dh_installchangelogs:85
+#: dh_installdocs:99 dh_installexamples:77 dh_link:75 dh_makeshlibs:139
#: dh_md5sums:40 dh_shlibdeps:34 dh_strip:42
msgid "B<-X>I<item>, B<--exclude=>I<item>"
msgstr "B<-X>I<Element>, B<--exclude=>I<Element>"
#. type: textblock
-#: debhelper.pod:193
+#: debhelper.pod:230
+#, fuzzy
+#| msgid ""
+#| "Exclude an item from processing. This option may be used multiple times, "
+#| "to exclude more than one thing. The \\fIitem\\fR is typically part of a "
+#| "filename, and any file containing the specified text will be excluded."
msgid ""
"Exclude an item from processing. This option may be used multiple times, to "
-"exclude more than one thing. The \\fIitem\\fR is typically part of a "
-"filename, and any file containing the specified text will be excluded."
+"exclude more than one thing. The I<item> is typically part of a filename, "
+"and any file containing the specified text will be excluded."
msgstr ""
"schließt ein Element von der Verarbeitung aus. Diese Option kann mehrfach "
"benutzt werden, um mehr als nur eins auszuschließen. Das \\fElement\\fR ist "
@@ -549,14 +616,14 @@ msgstr ""
"Text enthält, wird ausgeschlossen."
#. type: =item
-#: debhelper.pod:197 dh_bugfiles:57 dh_compress:63 dh_installdirs:46
-#: dh_installdocs:90 dh_installexamples:41 dh_installinfo:38 dh_installman:83
-#: dh_link:70
+#: debhelper.pod:234 dh_bugfiles:57 dh_compress:63 dh_installdirs:46
+#: dh_installdocs:94 dh_installexamples:45 dh_installinfo:42 dh_installman:87
+#: dh_installwm:52 dh_link:70
msgid "B<-A>, B<--all>"
msgstr "B<-A>, B<--all>"
#. type: textblock
-#: debhelper.pod:199
+#: debhelper.pod:236
msgid ""
"Makes files or other items that are specified on the command line take "
"effect in ALL packages acted on, not just the first."
@@ -566,12 +633,12 @@ msgstr ""
"im ersten."
#. type: =head1
-#: debhelper.pod:204
+#: debhelper.pod:241
msgid "BUILD SYSTEM OPTIONS"
msgstr "BAUSYSTEMOPTIONEN"
#. type: textblock
-#: debhelper.pod:206
+#: debhelper.pod:243
msgid ""
"The following command line options are supported by all of the "
"B<dh_auto_>I<*> debhelper programs. These programs support a variety of "
@@ -589,12 +656,12 @@ msgstr ""
"B<dh_auto_>I<*>-Programme übergibt."
#. type: =item
-#: debhelper.pod:215
+#: debhelper.pod:252
msgid "B<-S>I<buildsystem>, B<--buildsystem=>I<buildsystem>"
msgstr "B<-S>I<Bausystem>, B<--buildsystem=>I<Bausystem>"
#. type: textblock
-#: debhelper.pod:217
+#: debhelper.pod:254
msgid ""
"Force use of the specified I<buildsystem>, instead of trying to auto-select "
"one which might be applicable for the package."
@@ -603,12 +670,12 @@ msgstr ""
"automatisch eins auszuwählen, das für das Paket geeignet sein könnte."
#. type: =item
-#: debhelper.pod:220
+#: debhelper.pod:257
msgid "B<-D>I<directory>, B<--sourcedirectory=>I<directory>"
msgstr "B<-D>I<Verzeichnis>, B<--sourcedirectory=>I<Verzeichnis>"
#. type: textblock
-#: debhelper.pod:222
+#: debhelper.pod:259
msgid ""
"Assume that the original package source tree is at the specified "
"I<directory> rather than the top level directory of the Debian source "
@@ -619,12 +686,12 @@ msgstr ""
"Debian-Quellpaketverzeichnisbaums, liegt."
#. type: =item
-#: debhelper.pod:226
+#: debhelper.pod:263
msgid "B<-B>[I<directory>], B<--builddirectory=>[I<directory>]"
msgstr "B<-B>[I<Verzeichnis>], B<--builddirectory=>[I<Verzeichnis>]"
#. type: textblock
-#: debhelper.pod:228
+#: debhelper.pod:265
msgid ""
"Enable out of source building and use the specified I<directory> as the "
"build directory. If I<directory> parameter is omitted, a default build "
@@ -635,7 +702,7 @@ msgstr ""
"weggelassen wurde, wird ein Vorgabebauverzeichnis ausgewählt."
#. type: textblock
-#: debhelper.pod:232
+#: debhelper.pod:269
msgid ""
"If this option is not specified, building will be done in source by default "
"unless the build system requires or prefers out of source tree building. In "
@@ -649,7 +716,7 @@ msgstr ""
"angegeben wurde."
#. type: textblock
-#: debhelper.pod:237
+#: debhelper.pod:274
msgid ""
"If the build system prefers out of source tree building but still allows in "
"source building, the latter can be re-enabled by passing a build directory "
@@ -661,12 +728,12 @@ msgstr ""
"dem Quellverzeichnispfad entspricht."
#. type: =item
-#: debhelper.pod:241
+#: debhelper.pod:278
msgid "B<--parallel>, B<--no-parallel>"
msgstr "B<--parallel>, B<--no-parallel>"
#. type: textblock
-#: debhelper.pod:243
+#: debhelper.pod:280
msgid ""
"Control whether parallel builds should be used if underlying build system "
"supports them. The number of parallel jobs is controlled by the "
@@ -680,20 +747,20 @@ msgstr ""
"bausystemspezifischen Begrenzung sein."
#. type: textblock
-#: debhelper.pod:249
+#: debhelper.pod:286
msgid ""
"If neither option is specified, debhelper currently defaults to B<--"
"parallel> in compat 10 (or later) and B<--no-parallel> otherwise."
msgstr ""
"Falls keine der Optionen angegeben wurde, ist die Voreinstellung von "
-"Debhelper derzeit B<--parallel> in Kompatibilitätsversion 10 (oder neuer) "
+"Debhelper derzeit B<--parallel> in Kompatibilitätsversion 10 (oder höher) "
"und andernfalls B<--no-parallel>."
#. type: textblock
-#: debhelper.pod:252
+#: debhelper.pod:289
msgid ""
"As an optimization, B<dh> will try to avoid passing these options to "
-"subprocesses, if they are unncessary and the only options passed. Notably "
+"subprocesses, if they are unnecessary and the only options passed. Notably "
"this happens when B<DEB_BUILD_OPTIONS> does not have a I<parallel> parameter "
"(or its value is 1)."
msgstr ""
@@ -704,12 +771,12 @@ msgstr ""
"ist)."
#. type: =item
-#: debhelper.pod:257
+#: debhelper.pod:294
msgid "B<--max-parallel=>I<maximum>"
msgstr "B<--max-parallel=>I<Maximum>"
#. type: textblock
-#: debhelper.pod:259
+#: debhelper.pod:296
msgid ""
"This option implies B<--parallel> and allows further limiting the number of "
"jobs that can be used in a parallel build. If the package build is known to "
@@ -724,7 +791,7 @@ msgstr ""
"wünschen, dass sie unterstützt wird."
#. type: textblock
-#: debhelper.pod:264
+#: debhelper.pod:301
msgid ""
"Notably, setting the maximum to 1 is effectively the same as using B<--no-"
"parallel>."
@@ -733,12 +800,12 @@ msgstr ""
"wie die Verwendung von B<--no-parallel>."
#. type: =item
-#: debhelper.pod:267 dh:63
+#: debhelper.pod:304 dh:74
msgid "B<--list>, B<-l>"
msgstr "B<--list>, B<-l>"
#. type: textblock
-#: debhelper.pod:269
+#: debhelper.pod:306
msgid ""
"List all build systems supported by debhelper on this system. The list "
"includes both default and third party build systems (marked as such). Also "
@@ -752,12 +819,12 @@ msgstr ""
"manuell angegeben wird."
#. type: =head1
-#: debhelper.pod:276
+#: debhelper.pod:313
msgid "COMPATIBILITY LEVELS"
msgstr "KOMPATIBILITÄTSSTUFEN"
#. type: textblock
-#: debhelper.pod:278
+#: debhelper.pod:315
msgid ""
"From time to time, major non-backwards-compatible changes need to be made to "
"debhelper, to keep it clean and well-designed as needs change and its author "
@@ -778,7 +845,7 @@ msgstr ""
"Datei muss vorhanden sein."
#. type: textblock
-#: debhelper.pod:286
+#: debhelper.pod:323
msgid ""
"Tell debhelper what compatibility level to use by writing a number to "
"F<debian/compat>. For example, to use v#RECOMMENDED_COMPAT# mode:"
@@ -788,7 +855,7 @@ msgstr ""
"V#RECOMMENDED_COMPAT# zu benutzen, geben Sie Folgendes ein:"
#. type: verbatim
-#: debhelper.pod:289
+#: debhelper.pod:326
#, no-wrap
msgid ""
" % echo #RECOMMENDED_COMPAT# > debian/compat\n"
@@ -798,7 +865,7 @@ msgstr ""
"\n"
#. type: textblock
-#: debhelper.pod:291
+#: debhelper.pod:328
msgid ""
"Your package will also need a versioned build dependency on a version of "
"debhelper equal to (or greater than) the compatibility level your package "
@@ -812,17 +879,20 @@ msgstr ""
"Folgendes hat:"
#. type: verbatim
-#: debhelper.pod:295
-#, no-wrap
+#: debhelper.pod:332
+#, fuzzy, no-wrap
+#| msgid ""
+#| " Build-Depends: debhelper (>= #RECOMMENDED_COMPAT#)\n"
+#| "\n"
msgid ""
-" Build-Depends: debhelper (>= #RECOMMENDED_COMPAT#)\n"
+" Build-Depends: debhelper (>= #RECOMMENDED_COMPAT#~)\n"
"\n"
msgstr ""
" Build-Depends: debhelper (>= #RECOMMENDED_COMPAT#)\n"
"\n"
#. type: textblock
-#: debhelper.pod:297
+#: debhelper.pod:334
msgid ""
"Unless otherwise indicated, all debhelper documentation assumes that you are "
"using the most recent compatibility level, and in most cases does not "
@@ -838,29 +908,27 @@ msgstr ""
"den Unterschieden gegenüber älteren Kompatibilitätsstufen zu lesen."
#. type: =head2
-#: debhelper.pod:304
-#, fuzzy
-#| msgid "This is the lowest supported compatibility level."
+#: debhelper.pod:341
msgid "Supported compatibility levels"
-msgstr "Dies ist die unterste unterstützte Kompatibilitätsstufe."
+msgstr "Unterstützte Kompatibilitätsstufen"
#. type: textblock
-#: debhelper.pod:306
+#: debhelper.pod:343
msgid "These are the available compatibility levels:"
msgstr "Folgende Kompatibilitätsstufen sind verfügbar:"
#. type: =item
-#: debhelper.pod:310 debhelper-obsolete-compat.pod:89
+#: debhelper.pod:347 debhelper-obsolete-compat.pod:89
msgid "v5"
msgstr "v5"
#. type: textblock
-#: debhelper.pod:312 debhelper-obsolete-compat.pod:91
+#: debhelper.pod:349 debhelper-obsolete-compat.pod:91
msgid "This is the lowest supported compatibility level."
msgstr "Dies ist die unterste unterstützte Kompatibilitätsstufe."
#. type: textblock
-#: debhelper.pod:314
+#: debhelper.pod:351
msgid ""
"If you are upgrading from an earlier compatibility level, please review "
"L<debhelper-obsolete-compat(7)>."
@@ -869,48 +937,51 @@ msgstr ""
"durchführen, überprüfen Sie bitte L<debhelper-obsolete-compat(7)>."
#. type: textblock
-#: debhelper.pod:317 debhelper.pod:349 debhelper.pod:379 debhelper.pod:410
+#: debhelper.pod:354 debhelper.pod:386 debhelper.pod:416 debhelper.pod:447
#: debhelper-obsolete-compat.pod:28 debhelper-obsolete-compat.pod:35
#: debhelper-obsolete-compat.pod:58 debhelper-obsolete-compat.pod:87
msgid "This mode is deprecated."
msgstr "Dieser Modus ist missbilligt."
#. type: =item
-#: debhelper.pod:319
+#: debhelper.pod:356
msgid "v6"
msgstr "v6"
#. type: textblock
-#: debhelper.pod:321
+#: debhelper.pod:358
msgid "Changes from v5 are:"
msgstr "Änderungen gegenüber v5 sind:"
#. type: =item
-#: debhelper.pod:325 debhelper.pod:330 debhelper.pod:336 debhelper.pod:342
-#: debhelper.pod:357 debhelper.pod:364 debhelper.pod:368 debhelper.pod:372
-#: debhelper.pod:387 debhelper.pod:391 debhelper.pod:399 debhelper.pod:404
-#: debhelper.pod:418 debhelper.pod:423 debhelper.pod:430 debhelper.pod:435
-#: debhelper.pod:440 debhelper.pod:448 debhelper.pod:454 debhelper.pod:459
-#: debhelper.pod:464 debhelper.pod:480 debhelper.pod:485 debhelper.pod:491
-#: debhelper.pod:498 debhelper.pod:504 debhelper.pod:509 debhelper.pod:515
-#: debhelper.pod:521 debhelper.pod:531 debhelper.pod:537 debhelper.pod:560
-#: debhelper.pod:567 debhelper.pod:573 debhelper.pod:579 debhelper.pod:595
-#: debhelper.pod:601 debhelper.pod:613 debhelper.pod:621 debhelper.pod:627
-#: debhelper.pod:632 debhelper.pod:642 debhelper.pod:647 debhelper.pod:655
-#: debhelper.pod:665 debhelper.pod:672 debhelper.pod:679 debhelper.pod:691
-#: debhelper.pod:696 debhelper.pod:709 debhelper.pod:728 debhelper.pod:732
-#: debhelper.pod:737 debhelper.pod:742 debhelper.pod:749 debhelper.pod:755
+#: debhelper.pod:362 debhelper.pod:367 debhelper.pod:373 debhelper.pod:379
+#: debhelper.pod:394 debhelper.pod:401 debhelper.pod:405 debhelper.pod:409
+#: debhelper.pod:424 debhelper.pod:428 debhelper.pod:436 debhelper.pod:441
+#: debhelper.pod:455 debhelper.pod:460 debhelper.pod:467 debhelper.pod:472
+#: debhelper.pod:477 debhelper.pod:485 debhelper.pod:491 debhelper.pod:496
+#: debhelper.pod:501 debhelper.pod:514 debhelper.pod:519 debhelper.pod:525
+#: debhelper.pod:532 debhelper.pod:538 debhelper.pod:543 debhelper.pod:549
+#: debhelper.pod:555 debhelper.pod:565 debhelper.pod:571 debhelper.pod:594
+#: debhelper.pod:601 debhelper.pod:607 debhelper.pod:613 debhelper.pod:629
+#: debhelper.pod:635 debhelper.pod:647 debhelper.pod:655 debhelper.pod:661
+#: debhelper.pod:666 debhelper.pod:671 debhelper.pod:676 debhelper.pod:684
+#: debhelper.pod:694 debhelper.pod:704 debhelper.pod:711 debhelper.pod:723
+#: debhelper.pod:728 debhelper.pod:756 debhelper.pod:775 debhelper.pod:785
+#: debhelper.pod:789 debhelper.pod:794 debhelper.pod:799 debhelper.pod:806
+#: debhelper.pod:812 debhelper.pod:820 debhelper.pod:826 debhelper.pod:830
+#: debhelper.pod:835 debhelper.pod:840 debhelper.pod:849
#: debhelper-obsolete-compat.pod:43 debhelper-obsolete-compat.pod:48
#: debhelper-obsolete-compat.pod:52 debhelper-obsolete-compat.pod:66
#: debhelper-obsolete-compat.pod:71 debhelper-obsolete-compat.pod:76
#: debhelper-obsolete-compat.pod:81 debhelper-obsolete-compat.pod:97
#: debhelper-obsolete-compat.pod:101 debhelper-obsolete-compat.pod:106
-#: debhelper-obsolete-compat.pod:110
+#: debhelper-obsolete-compat.pod:110 dh_testroot:36 dh_testroot:41
+#: dh_testroot:46
msgid "-"
msgstr "-"
#. type: textblock
-#: debhelper.pod:327
+#: debhelper.pod:364
msgid ""
"Commands that generate maintainer script fragments will order the fragments "
"in reverse order for the F<prerm> and F<postrm> scripts."
@@ -919,18 +990,18 @@ msgstr ""
"für die F<prerm>- und F<postrm>-Skripte in umgekehrter Reiherfolge anordnen."
#. type: textblock
-#: debhelper.pod:332
+#: debhelper.pod:369
msgid ""
"B<dh_installwm> will install a slave manpage link for F<x-window-manager.1."
"gz>, if it sees the man page in F<usr/share/man/man1> in the package build "
"directory."
msgstr ""
-"B<dh_installwm> wird einen untergeordneten Handbuchseitenverweis für F<x-"
+"B<dh_installwm> wird einen untergeordneten Handbuchseiten-Link für F<x-"
"window-manager.1.gz> installieren. falls es die Handbuchseite in F<usr/share/"
"man/man1> im Bauverzeichnis des Pakets entdeckt."
#. type: textblock
-#: debhelper.pod:338
+#: debhelper.pod:375
msgid ""
"B<dh_builddeb> did not previously delete everything matching "
"B<DH_ALWAYS_EXCLUDE>, if it was set to a list of things to exclude, such as "
@@ -941,7 +1012,7 @@ msgstr ""
"sollen, wie B<CVS:.svn:.git>. Nun tut es dies."
#. type: textblock
-#: debhelper.pod:344
+#: debhelper.pod:381
msgid ""
"B<dh_installman> allows overwriting existing man pages in the package build "
"directory. In previous compatibility levels it silently refuses to do this."
@@ -951,17 +1022,17 @@ msgstr ""
"lautlos ab, dies zu tun."
#. type: =item
-#: debhelper.pod:351
+#: debhelper.pod:388
msgid "v7"
msgstr "v7"
#. type: textblock
-#: debhelper.pod:353
+#: debhelper.pod:390
msgid "Changes from v6 are:"
msgstr "Änderungen gegenüber v6 sind:"
#. type: textblock
-#: debhelper.pod:359
+#: debhelper.pod:396
msgid ""
"B<dh_install>, will fall back to looking for files in F<debian/tmp> if it "
"doesn't find them in the current directory (or wherever you tell it look "
@@ -976,19 +1047,19 @@ msgstr ""
"tmp> installiert, ohne irgendwelche besonderen Parameter zu benötigen."
#. type: textblock
-#: debhelper.pod:366
+#: debhelper.pod:403
msgid "B<dh_clean> will read F<debian/clean> and delete files listed there."
msgstr ""
"B<dh_clean> wird F<debian/clean> lesen und die dort aufgeführten Dateien "
"löschen."
#. type: textblock
-#: debhelper.pod:370
+#: debhelper.pod:407
msgid "B<dh_clean> will delete toplevel F<*-stamp> files."
msgstr "<dh_clean> wird die F<*-stamp>-Dateien der obersten Ebene löschen."
#. type: textblock
-#: debhelper.pod:374
+#: debhelper.pod:411
msgid ""
"B<dh_installchangelogs> will guess at what file is the upstream changelog if "
"none is specified."
@@ -997,17 +1068,17 @@ msgstr ""
"Änderungsprotokoll der Originalautoren liegt, falls keines angegeben wurde."
#. type: =item
-#: debhelper.pod:381
+#: debhelper.pod:418
msgid "v8"
msgstr "v8"
#. type: textblock
-#: debhelper.pod:383
+#: debhelper.pod:420
msgid "Changes from v7 are:"
msgstr "Änderungen gegenüber v7 sind:"
#. type: textblock
-#: debhelper.pod:389
+#: debhelper.pod:426
msgid ""
"Commands will fail rather than warning when they are passed unknown options."
msgstr ""
@@ -1015,7 +1086,7 @@ msgstr ""
"Optionen übergeben werden."
#. type: textblock
-#: debhelper.pod:393
+#: debhelper.pod:430
msgid ""
"B<dh_makeshlibs> will run B<dpkg-gensymbols> on all shared libraries that it "
"generates shlibs files for. So B<-X> can be used to exclude libraries. "
@@ -1031,7 +1102,7 @@ msgstr ""
"Pakete zum Scheitern bringen."
#. type: textblock
-#: debhelper.pod:401
+#: debhelper.pod:438
msgid ""
"B<dh> requires the sequence to run be specified as the first parameter, and "
"any switches come after it. Ie, use \"B<dh $@ --foo>\", not \"B<dh --foo $@>"
@@ -1042,7 +1113,7 @@ msgstr ""
"»B<dh --foo $@>«."
#. type: textblock
-#: debhelper.pod:406
+#: debhelper.pod:443
msgid ""
"B<dh_auto_>I<*> prefer to use Perl's B<Module::Build> in preference to "
"F<Makefile.PL>."
@@ -1050,17 +1121,17 @@ msgstr ""
"B<dh_auto_>I<*> bevorzugt Perls B<Module::Build> gegenüber F<Makefile.PL>."
#. type: =item
-#: debhelper.pod:412
+#: debhelper.pod:449
msgid "v9"
msgstr "v9"
#. type: textblock
-#: debhelper.pod:414
+#: debhelper.pod:451
msgid "Changes from v8 are:"
msgstr "Änderungen gegenüber v8 sind:"
#. type: textblock
-#: debhelper.pod:420
+#: debhelper.pod:457
msgid ""
"Multiarch support. In particular, B<dh_auto_configure> passes multiarch "
"directories to autoconf in --libdir and --libexecdir."
@@ -1069,7 +1140,7 @@ msgstr ""
"Verzeichnisse an Autoconf in --libdir and --libexecdir weiter."
#. type: textblock
-#: debhelper.pod:425
+#: debhelper.pod:462
msgid ""
"dh is aware of the usual dependencies between targets in debian/rules. So, "
"\"dh binary\" will run any build, build-arch, build-indep, install, etc "
@@ -1083,7 +1154,7 @@ msgstr ""
"Zielen zu definieren."
#. type: textblock
-#: debhelper.pod:432
+#: debhelper.pod:469
msgid ""
"B<dh_strip> compresses debugging symbol files to reduce the installed size "
"of -dbg packages."
@@ -1092,7 +1163,7 @@ msgstr ""
"dbg«-Paketen zu verringern."
#. type: textblock
-#: debhelper.pod:437
+#: debhelper.pod:474
msgid ""
"B<dh_auto_configure> does not include the source package name in --"
"libexecdir when using autoconf."
@@ -1101,20 +1172,23 @@ msgstr ""
"Autoconf benutzt wird."
#. type: textblock
-#: debhelper.pod:442
+#: debhelper.pod:479
msgid "B<dh> does not default to enabling --with=python-support"
msgstr "Standardmäßig aktiviert B<dh> nicht --with=python-support."
#. type: textblock
-#: debhelper.pod:444
+#: debhelper.pod:481
msgid ""
"(Obsolete: As the B<dh_pysupport> tool was removed from Debian stretch. "
"Since debhelper/10.3, B<dh> no longer enables this sequence add-on "
"regardless of compat level)"
msgstr ""
+"(hinfällig, da das Werkzeug B<dh_pysupport> aus Debian Stretch entfernt "
+"wurde) Seit Debhelper/10.3 aktiviert B<dh> diese Abfolgeerweiterung "
+"unabhängig von der Kompatibilitätsstufe nicht mehr."
#. type: textblock
-#: debhelper.pod:450
+#: debhelper.pod:487
msgid ""
"All of the B<dh_auto_>I<*> debhelper programs and B<dh> set environment "
"variables listed by B<dpkg-buildflags>, unless they are already set."
@@ -1124,7 +1198,7 @@ msgstr ""
"sie nicht bereits gesetzt sind."
#. type: textblock
-#: debhelper.pod:456
+#: debhelper.pod:493
msgid ""
"B<dh_auto_configure> passes B<dpkg-buildflags> CFLAGS, CPPFLAGS, and LDFLAGS "
"to perl F<Makefile.PL> and F<Build.PL>"
@@ -1133,7 +1207,7 @@ msgstr ""
"buildflags> an Perls F<Makefile.PL> und F<Build.PL.>"
#. type: textblock
-#: debhelper.pod:461
+#: debhelper.pod:498
msgid ""
"B<dh_strip> puts separated debug symbols in a location based on their build-"
"id."
@@ -1142,7 +1216,7 @@ msgstr ""
"ihrer Baukennzahl basiert."
#. type: textblock
-#: debhelper.pod:466
+#: debhelper.pod:503
msgid ""
"Executable debhelper config files are run and their output used as the "
"configuration."
@@ -1151,22 +1225,17 @@ msgstr ""
"Ausgabe wird als Konfiguration benutzt."
#. type: =item
-#: debhelper.pod:471
+#: debhelper.pod:508
msgid "v10"
msgstr "v10"
#. type: textblock
-#: debhelper.pod:473
-msgid "This is the recommended mode of operation."
-msgstr "Dies ist der empfohlene Betriebsmodus."
-
-#. type: textblock
-#: debhelper.pod:476
+#: debhelper.pod:510
msgid "Changes from v9 are:"
msgstr "Änderungen gegenüber v9 sind:"
#. type: textblock
-#: debhelper.pod:482
+#: debhelper.pod:516
msgid ""
"B<dh_installinit> will no longer install a file named debian/I<package> as "
"an init script."
@@ -1175,7 +1244,7 @@ msgstr ""
"Skript installieren."
#. type: textblock
-#: debhelper.pod:487
+#: debhelper.pod:521
msgid ""
"B<dh_installdocs> will error out if it detects links created with --link-doc "
"between packages of architecture \"all\" and non-\"all\" as it breaks "
@@ -1186,7 +1255,7 @@ msgstr ""
"nicht-»all« erzeugt wurden, da es binNMUs beschädigt."
#. type: textblock
-#: debhelper.pod:493
+#: debhelper.pod:527
msgid ""
"B<dh> no longer creates the package build directory when skipping running "
"debhelper commands. This will not affect packages that only build with "
@@ -1199,7 +1268,7 @@ msgstr ""
"Befehlen offenlegen, die nicht in Debhelper enthalten sind."
#. type: textblock
-#: debhelper.pod:500
+#: debhelper.pod:534
msgid ""
"B<dh_installdeb> no longer installs a maintainer-provided debian/I<package>."
"shlibs file. This is now done by B<dh_makeshlibs> instead."
@@ -1209,7 +1278,7 @@ msgstr ""
"erledigt."
#. type: textblock
-#: debhelper.pod:506
+#: debhelper.pod:540
msgid ""
"B<dh_installwm> refuses to create a broken package if no man page can be "
"found (required to register for the x-window-manager alternative)."
@@ -1219,7 +1288,7 @@ msgstr ""
"Window-Manager zu registrieren)."
#. type: textblock
-#: debhelper.pod:511
+#: debhelper.pod:545
msgid ""
"Debhelper will default to B<--parallel> for all buildsystems that support "
"parallel building. This can be disabled by using either B<--no-parallel> or "
@@ -1231,7 +1300,7 @@ msgstr ""
"deaktiviert werden."
#. type: textblock
-#: debhelper.pod:517
+#: debhelper.pod:551
msgid ""
"The B<dh> command will not accept any of the deprecated \"manual sequence "
"control\" parameters (B<--before>, B<--after>, etc.). Please use override "
@@ -1242,7 +1311,7 @@ msgstr ""
"verwenden Sie stattdessen Aufhebungsziele."
#. type: textblock
-#: debhelper.pod:523
+#: debhelper.pod:557
msgid ""
"The B<dh> command will no longer use log files to track which commands have "
"been run. The B<dh> command I<still> keeps track of whether it already ran "
@@ -1254,12 +1323,12 @@ msgstr ""
"diesem Fall."
#. type: textblock
-#: debhelper.pod:527
+#: debhelper.pod:561
msgid "The main effects of this are:"
msgstr "Die wichtigsten Auswirkungen davon sind:"
#. type: textblock
-#: debhelper.pod:533
+#: debhelper.pod:567
msgid ""
"With this, it is now easier to debug the I<install> or/and I<binary> "
"sequences because they can now trivially be re-run (without having to do a "
@@ -1271,7 +1340,7 @@ msgstr ""
"ist)."
#. type: textblock
-#: debhelper.pod:539
+#: debhelper.pod:573
msgid ""
"The main caveat is that B<dh_*> now only keeps track of what happened in a "
"single override target. When all the calls to a given B<dh_cmd> command "
@@ -1283,12 +1352,12 @@ msgstr ""
"stattfinden, wird alles wie zuvor funktionieren."
#. type: textblock
-#: debhelper.pod:544
+#: debhelper.pod:578
msgid "Example of where it can go wrong:"
msgstr "Beispiel, bei dem es schiefgehen kann:"
#. type: verbatim
-#: debhelper.pod:546
+#: debhelper.pod:580
#, no-wrap
msgid ""
" override_dh_foo:\n"
@@ -1300,7 +1369,7 @@ msgstr ""
"\n"
#. type: verbatim
-#: debhelper.pod:549
+#: debhelper.pod:583
#, no-wrap
msgid ""
" override_dh_bar:\n"
@@ -1314,7 +1383,7 @@ msgstr ""
"\n"
#. type: textblock
-#: debhelper.pod:553
+#: debhelper.pod:587
msgid ""
"In this case, the call to B<dh_foo --remaining> will I<also> include I<my-"
"pkg>, since B<dh_foo -pmy-pkg> was run in a separate override target. This "
@@ -1326,7 +1395,7 @@ msgstr ""
"begrenzt, es umfasst außerdem B<-a>, B<-i>, etc."
#. type: textblock
-#: debhelper.pod:562
+#: debhelper.pod:596
msgid ""
"The B<dh_installdeb> command now shell-escapes the lines in the "
"F<maintscript> config file. This was the original intent but it did not "
@@ -1340,7 +1409,7 @@ msgstr ""
"(z.B. Dateinamen in Anführungszeichen setzen)."
#. type: textblock
-#: debhelper.pod:569
+#: debhelper.pod:603
msgid ""
"The B<dh_installinit> command now defaults to B<--restart-after-upgrade>. "
"For packages needing the previous behaviour, please use B<--no-restart-after-"
@@ -1351,7 +1420,7 @@ msgstr ""
"erfordern, B<--no-restart-after-upgrade>."
#. type: textblock
-#: debhelper.pod:575
+#: debhelper.pod:609
msgid ""
"The B<autoreconf> sequence is now enabled by default. Please pass B<--"
"without autoreconf> to B<dh> if this is not desirable for a given package"
@@ -1361,7 +1430,7 @@ msgstr ""
"nicht gewünscht wird."
#. type: textblock
-#: debhelper.pod:581
+#: debhelper.pod:615
msgid ""
"The B<systemd> sequence is now enabled by default. Please pass B<--without "
"systemd> to B<dh> if this is not desirable for a given package."
@@ -1371,57 +1440,58 @@ msgstr ""
"gewünscht wird."
#. type: =item
-#: debhelper.pod:587
+#: debhelper.pod:621
msgid "v11"
msgstr "v11"
#. type: textblock
-#: debhelper.pod:589 debhelper.pod:722
-msgid ""
-"This compatibility level is still open for development; use with caution."
-msgstr ""
-"Diese Kompatibilitätsstufe ist immer noch für die Entwicklung offen. "
-"Verwenden Sie sie mit Vorsicht."
+#: debhelper.pod:623
+msgid "This is the recommended mode of operation."
+msgstr "Dies ist der empfohlene Betriebsmodus."
#. type: textblock
-#: debhelper.pod:591
+#: debhelper.pod:625
msgid "Changes from v10 are:"
msgstr "Änderungen gegenüber v10 sind:"
#. type: textblock
-#: debhelper.pod:597
-#, fuzzy
-#| msgid ""
-#| "B<dh_installinit> no longer installs F<service> or F<tmpfile> files, nor "
-#| "generates maintainer scripts for those files. Use B<dh_systemd_enable> "
-#| "and B<dh_systemd_start> instead."
+#: debhelper.pod:631
msgid ""
"B<dh_installinit> no longer installs F<service> or F<tmpfile> files, nor "
"generates maintainer scripts for those files. Please use the new "
"B<dh_installsystemd> helper."
msgstr ""
"B<dh_installinit> installiert keine F<service>- oder F<tmpfile>-Dateien "
-"mehr. Es erstellt auch keine Betreuerskripte dafür. Verwenden Sie "
-"stattdessen B<dh_systemd_enable> und B<dh_systemd_start>."
+"mehr. Es erstellt auch keine Betreuerskripte dafür. Bitte verwenden Sie das "
+"neue Hilfsprogramm B<dh_installsystemd>."
#. type: textblock
-#: debhelper.pod:603
+#: debhelper.pod:637
msgid ""
"The B<dh_systemd_enable> and B<dh_systemd_start> helpers have been replaced "
"by the new B<dh_installsystemd> helper. For the same reason, the B<systemd> "
"sequence for B<dh> has also been removed. If you need to disable the "
"B<dh_installsystemd> helper tool, please use an empty override target."
msgstr ""
+"Die Hilfsprogramme B<dh_systemd_enable> und B<dh_systemd_start> wurden durch "
+"das neue Hilfsprogramm B<dh_installsystemd> ersetzt. Aus demselben Grund "
+"wurde auch die B<systemd>-Abfolge für B<dh> entfernt. Wenn Sie das "
+"Hilfswerkzeug B<dh_installsystemd> deaktivieren möchten, verwenden Sie bitte "
+"ein leeres außer Kraft setzendes Ziel."
+# FIXME s/have/has/
#. type: textblock
-#: debhelper.pod:609
+#: debhelper.pod:643
msgid ""
-"Please note that the B<dh_installsystemd> tool have a slightly different "
+"Please note that the B<dh_installsystemd> tool has a slightly different "
"behaviour in some cases (e.g. when using the B<--name> parameter)."
msgstr ""
+"Bitte beachten Sie, dass sich das Werkzeug B<dh_installsystemd> in manchen "
+"Fällen (z.B. bei der Verwendung des Parameters B<--name>) geringfügig anders "
+"verhält."
#. type: textblock
-#: debhelper.pod:615
+#: debhelper.pod:649
msgid ""
"B<dh_installdirs> no longer creates debian/I<package> directories unless "
"explicitly requested (or it has to create a subdirectory in it)."
@@ -1431,184 +1501,274 @@ msgstr ""
"darin erstellt werden)."
#. type: textblock
-#: debhelper.pod:619
+#: debhelper.pod:653
msgid "The vast majority of all packages will be unaffected by this change."
msgstr ""
"Die große Mehrheit aller Pakete wird von dieser Änderung nicht betroffen "
"sein."
#. type: textblock
-#: debhelper.pod:623
+#: debhelper.pod:657
msgid ""
"The B<makefile> buildsystem now passes B<INSTALL=install --strip-"
"program=true> to L<make(1)>. Derivative buildsystems (e.g. B<configure> or "
"B<cmake>) are unaffected by this change."
msgstr ""
+"Das B<makefile>-Bausystem übergibt nun B<INSTALL=install --strip-"
+"program=true> an L<make(1)>. Davon abgeleitete Bausysteme (z.B. B<configure> "
+"oder B<cmake>) sind von dieser Änderung nicht betroffen."
#. type: textblock
-#: debhelper.pod:629
+#: debhelper.pod:663
msgid ""
"The B<autoconf> buildsystem now passes B<--runstatedir=/run> to F<./"
"configure>."
msgstr ""
+"Das B<autoconf>-Bausystem übergibt nun B<--runstatedir=/run> an F<./"
+"configure>."
#. type: textblock
-#: debhelper.pod:634
+#: debhelper.pod:668
msgid ""
"The B<cmake> buildsystem now passes B<-DCMAKE_INSTALL_RUNSTATEDIR=/run> to "
"L<cmake(1)>."
msgstr ""
+"Das B<cmake>-Bausystem übergibt nun B<-DCMAKE_INSTALL_RUNSTATEDIR=/run> an "
+"L<cmake(1)>."
#. type: textblock
-#: debhelper.pod:637
-msgid ""
-"B<Caveat>: This option silently does nothing in cmake versions prior to "
-"3.8. Please keep this in mind if your package is regularly backported to a "
-"suite (e.g. stretch-backports) where cmake is older than 3.8."
-msgstr ""
-
-#. type: textblock
-#: debhelper.pod:644
+#: debhelper.pod:673
msgid ""
"B<dh_installman> will now prefer detecting the language from the path name "
"rather than the extension."
msgstr ""
+"B<dh_installman> wird nun vorzugsweise die Sprache anhand des Pfadnamens "
+"statt der Erweiterung bestimmen."
#. type: textblock
-#: debhelper.pod:649
-#, fuzzy
-#| msgid ""
-#| "B<dh> no longer creates the package build directory when skipping running "
-#| "debhelper commands. This will not affect packages that only build with "
-#| "debhelper commands, but it may expose bugs in commands not included in "
-#| "debhelper."
+#: debhelper.pod:678
msgid ""
"B<dh_auto_install> will now only create the destination directory it needs. "
"Previously, it would create the package build directory for all packages. "
"This will not affect packages that only build with debhelper commands, but "
"it may expose bugs in commands not included in debhelper."
msgstr ""
-"B<dh> erstellt das Bauverzeichnis des Pakets nicht mehr, wenn die Ausführung "
-"von Debhelper-Befehlen übersprungen wird. Dies hat keine Auswirkungen auf "
-"Pakete, die nur mit Debhelper-Befehlen bauen, es könnte aber Fehler in "
-"Befehlen offenlegen, die nicht in Debhelper enthalten sind."
+"B<dh_auto_install> wird nun nur das Zielverzeichnis erstellen, das es "
+"benötigt. Vorher hätte es die Bauverzeichnisse für alle Pakete erstellt. "
+"Dies hat keine Auswirkungen auf Pakete, die nur mit Debhelper-Befehlen "
+"bauen, es könnte aber Fehler in Befehlen offenlegen, die nicht in Debhelper "
+"enthalten sind."
#. type: textblock
-#: debhelper.pod:657
+#: debhelper.pod:686
msgid ""
"The helpers B<dh_installdocs>, B<dh_installexamples>, B<dh_installinfo>, and "
"B<dh_installman> now error out if their config has a pattern that does not "
"match anything or reference a path that does not exist."
msgstr ""
+"Die Hilfsprogramme B<dh_installdocs>, B<dh_installexamples>, "
+"B<dh_installinfo> und B<dh_installman> geben nun Fehlermeldungen aus, falls "
+"ihre Konfiguration ein Muster aufweist, das zu nichts passt oder sich auf "
+"einen Pfad bezieht, den es nicht gibt."
#. type: textblock
-#: debhelper.pod:661
+#: debhelper.pod:690
msgid ""
"Known exceptions include building with the B<nodoc> profile, where the above "
"tools will silently permit failed matches where the patterns are used to "
"specify documentation."
msgstr ""
+"Bekannte Ausnahmen umfassen das Bauen mit dem Profil B<nodoc>, wobei obige "
+"Werkzeuge stillschweigend fehlschlagende Suchen erlauben, wobei die "
+"Suchmuster zur Angabe von Dokumentation benutzt werden."
#. type: textblock
-#: debhelper.pod:667
+#: debhelper.pod:696
msgid ""
"The helpers B<dh_installdocs>, B<dh_installexamples>, B<dh_installinfo>, and "
"B<dh_installman> now accept the parameter B<--sourcedir> with same meaning "
"as B<dh_install>. Furthermore, they now also fall back to F<debian/tmp> like "
"B<dh_install>."
msgstr ""
+"Die Hilfsprogramme B<dh_installdocs>, B<dh_installexamples>, "
+"B<dh_installinfo> und B<dh_installman> akzeptieren nun den Parameter B<--"
+"sourcedir> mit derselben Bedeutung wie für B<dh_install>. Überdies fallen "
+"sie nun auch auf F<debian/tmp> wie B<dh_install> zurück."
+
+#. type: textblock
+#: debhelper.pod:701
+msgid ""
+"Migration note: A bug in debhelper 11 up to 11.1.5 made B<dh_installinfo> "
+"incorrectly ignore B<--sourcedir>."
+msgstr ""
+# FIXME s/can emulate it/can get an emulation of it/ (or emulate it)
#. type: textblock
-#: debhelper.pod:674
+#: debhelper.pod:706
msgid ""
"The B<perl-makemaker> and B<perl-build> build systems no longer pass B<-I.> "
-"to perl. Packages that still need this behaviour can get emulate it by "
-"using the B<PERL5LIB> environment variable. E.g. by adding B<export "
-"PERL5LIB=.> in their debian/rules file (or similar)."
+"to perl. Packages that still need this behaviour can emulate it by using "
+"the B<PERL5LIB> environment variable. E.g. by adding B<export PERL5LIB=.> "
+"in their debian/rules file (or similar)."
msgstr ""
+"Die Bausysteme B<perl-makemaker> und B<perl-build> übergeben nicht mehr B<-I."
+"> an Perl. Pakete, die dieses Verhalten immer noch benötigen, können es "
+"durch Verwendung der Umgebungsvariable B<PERL5LIB> emulieren, z.B. durch "
+"Hinzufügen von B<export PERL5LIB=.> in ihre »debian/rules«-Datei (oder "
+"dergleichen)."
#. type: textblock
-#: debhelper.pod:681
+#: debhelper.pod:713
msgid ""
"The B<PERL_USE_UNSAFE_INC> environment variable is no longer set by B<dh> or "
"any of the B<dh_auto_*> tools. It was added as a temporary work around to "
"avoid a lot of packages failing to build at the same time."
msgstr ""
+"Die Umgebungsvariable B<PERL_USE_UNSAFE_INC> wird nicht mehr durch B<dh> "
+"oder eins der B<dh_auto_*>-Werkzeuge gesetzt. Sie wurde vorübergehend als "
+"Behelfslösung gesetzt, um zu verhindern, dass das gleichzeitige Bauen vieler "
+"Pakete scheitert."
#. type: textblock
-#: debhelper.pod:686
+#: debhelper.pod:718
msgid ""
"Note this item will eventually become obsolete as upstream intends to drop "
"support for the B<PERL_USE_UNSAFE_INC> environment variable. When perl "
"drops support for it, then this variable will be removed retroactively from "
"existing compat levels as well."
msgstr ""
+"Beachten Sie, dass dieses Element eventuell hinfällig wird, da die "
+"Ursprungsautoren beabsichtigen, die Unterstützung für die Umgebungsvariable "
+"B<PERL_USE_UNSAFE_INC> einzustellen. Wenn Perl die Unterstützung dafür "
+"einstellt, wird diese Variable nachträglich auch aus bestehenden "
+"Kompatibilitätsstufen entfernt."
#. type: textblock
-#: debhelper.pod:693
+#: debhelper.pod:725
msgid ""
"The B<dh_makeshlibs> helper will now exit with an error if objdump returns a "
"non-zero exit from analysing a given file."
msgstr ""
+"Das Hilfsprogramm B<dh_makeshlibs> wird nun mit einer Fehlermeldung beendet, "
+"falls Objdump einen Rückgabewert ungleich Null von der Auswertung einer "
+"übergebenen Datei zurückgibt."
#. type: textblock
-#: debhelper.pod:698
+#: debhelper.pod:730
msgid ""
-"The B<dh_installdocs> and B<dh_installexamples> tools will now attempt to "
-"guess the \"main package\" for a given documentation package (e.g. I<pkg-"
-"doc> will have I<pkg> as main package if the latter exists). If a main "
-"package is found, I<most> of the documentation will be installed into F<< /"
-"usr/share/doc/I<main-pkg> >> by default as recommended by Debian policy "
-"§12.3 since version 3.9.7. Notable exceptions include the copyright file "
-"and changelog files."
+"The B<dh_installdocs> and B<dh_installexamples> tools may now install "
+"I<most> of the documentation in a different path to comply with the "
+"recommendation from Debian policy §12.3 (since version 3.9.7)."
msgstr ""
#. type: textblock
-#: debhelper.pod:706
+#: debhelper.pod:734
+msgid ""
+"Note that if a given source package only contains a single binary package in "
+"F<debian/control> or none of the packages are I<-doc> packages, then this "
+"change is not relevant for that source package and you can skip to the next "
+"change."
+msgstr ""
+
+#. type: textblock
+#: debhelper.pod:739
+msgid ""
+"By default, these tools will now attempt to determine a \"main package for "
+"the documentation\" (called a I<doc-main-package> from here on) for every I<-"
+"doc> package. If they find such a I<doc-main-package>, they will now "
+"install the documentation into the path F<< /usr/share/doc/I<doc-main-"
+"package> >> in the given doc package. I.e. the path can change but the "
+"documentation is still shipped in the I<-doc> package."
+msgstr ""
+
+#. type: textblock
+#: debhelper.pod:747
+#, fuzzy
+#| msgid ""
+#| "The B<--doc-main-package> option can be used when the auto-detection is "
+#| "insufficient."
msgid ""
"The B<--doc-main-package> option can be used when the auto-detection is "
-"insufficient."
+"insufficient or to reset the path to its previous value if there is a reason "
+"to diverge from Debian policy recommendation."
msgstr ""
+"Die Option B<--doc-main-package> kann benutzt werden, wenn die automatische "
+"Erkennung unzureichend ist."
#. type: textblock
-#: debhelper.pod:711
+#: debhelper.pod:751
+msgid ""
+"Some documentation will not be affected by this change. These exceptions "
+"include the copyright file, changelog files, README.Debian, etc. These "
+"files will still be installed in the path F<< /usr/share/doc/I<package> >>."
+msgstr ""
+
+#. type: textblock
+#: debhelper.pod:758
msgid ""
"The B<dh_strip> and B<dh_shlibdeps> tools no longer uses filename patterns "
"to determine which files to process. Instead, they open the file and look "
"for an ELF header to determine if a given file is an shared object or an ELF "
"executable."
msgstr ""
+"Die Werkzeuge B<dh_strip> und B<dh_shlibdeps> verwenden keine "
+"Dateinamenmuster mehr, um zu bestimmen, welche Dateien verarbeitet werden. "
+"Stattdessen öffnen sie die Datei und schauen nach einem ELF-Header, um zu "
+"bestimmen, ob eine übergebene Datei ein gemeinsam benutztes Objekt oder ein "
+"ausführbares binäres Programm ist."
#. type: textblock
-#: debhelper.pod:716
+#: debhelper.pod:763
msgid "This change may cause the tools to process more files than previously."
msgstr ""
+"Diese Änderung kann dazu führen, dass mehr Dateien als vorher verarbeitet "
+"werden."
#. type: =item
-#: debhelper.pod:720
-#, fuzzy
-#| msgid "v1"
+#: debhelper.pod:767
msgid "v12"
-msgstr "v1"
+msgstr "v12"
#. type: textblock
-#: debhelper.pod:724
-#, fuzzy
-#| msgid "Changes from v10 are:"
+#: debhelper.pod:769
+msgid ""
+"This compatibility level is still open for development; use with caution."
+msgstr ""
+"Diese Kompatibilitätsstufe ist immer noch für die Entwicklung offen. "
+"Verwenden Sie sie mit Vorsicht."
+
+#. type: textblock
+#: debhelper.pod:771
msgid "Changes from v11 are:"
-msgstr "Änderungen gegenüber v10 sind:"
+msgstr "Änderungen gegenüber v11 sind:"
#. type: textblock
-#: debhelper.pod:730
-#, fuzzy
-#| msgid "The B<-s> (B<--same-arch>) option is removed."
+#: debhelper.pod:777
+msgid ""
+"The B<dh_makeshlibs> tool now generates shlibs files with versioned "
+"dependency by default. This means that B<-VUpstream-Version> (a.k.a. B<-V>) "
+"is now the default."
+msgstr ""
+
+#. type: textblock
+#: debhelper.pod:781
+msgid ""
+"If an unversioned dependency in the shlibs file is wanted, this can be "
+"obtained by passing B<-VNone> instead. However, please see "
+"L<dh_makeshlibs(1)> for the caveat of unversioned dependencies."
+msgstr ""
+
+#. type: textblock
+#: debhelper.pod:787
msgid ""
"The B<-s> (B<--same-arch>) option is removed. Please use B<-a> (B<--arch>) "
"instead."
-msgstr "Die Option B<-s> (B<--same-arch>) wurde entfernt."
+msgstr ""
+"Die Option B<-s> (B<--same-arch>) wurde entfernt. Bitte verwenden Sie "
+"stattdessen B<-a> (B<--arch>)."
#. type: textblock
-#: debhelper.pod:734
+#: debhelper.pod:791
msgid ""
"Invoking B<dh_clean -k> now causes an error instead of a deprecation warning."
msgstr ""
@@ -1616,31 +1776,40 @@ msgstr ""
"Warnung, es sei missbilligt."
#. type: textblock
-#: debhelper.pod:739
+#: debhelper.pod:796
msgid ""
"The B<--no-restart-on-upgrade> option in B<dh_installinit> has been "
"removed. Please use the new name B<--no-stop-on-upgrade>"
msgstr ""
+"Die Option B<--no-restart-on-upgrade> in B<dh_installinit> wurde entfernt. "
+"Bitte verwenden Sie den neuen Namen B<--no-stop-on-upgrade>."
#. type: textblock
-#: debhelper.pod:744
+#: debhelper.pod:801
msgid ""
"There was a bug in the B<doit> (and similar) functions from L<Debian::"
"Debhelper::Dh_Lib> that made them spawn a shell in one particular "
"circumstance. This bug is now removed and will cause helpers that rely on "
"the bug to fail with a \"command not found\"-error."
msgstr ""
+"Es gab einen Fehler in den B<doit>-Funktionen (und ähnlichen) von L<Debian::"
+"Debhelper::Dh_Lib>, der unter einem bestimmten Umstand zum Öffnen einer "
+"Shell führte. Dieser Fehler wurde nun entfernt, wodurch Hilfsprogramme, die "
+"auf den Fehler setzen, mit der Meldung »command not found« fehlschlagen."
#. type: textblock
-#: debhelper.pod:751
+#: debhelper.pod:808
msgid ""
"The B<--list-missing> and B<--fail-missing> in B<dh_install> has been "
"removed. Please use B<dh_missing> and its corresponding options, which can "
"also see the files installed by other helpers."
msgstr ""
+"B<--list-missing> und B<--fail-missing> in B<dh_install> wurden entfernt. "
+"Bitte verwenden Sie B<dh_missing> und die zugehörigen Optionen, die die "
+"durch andere Hilfsprogramme installierten Dateien ebenfalls sehen können."
#. type: textblock
-#: debhelper.pod:757
+#: debhelper.pod:814
msgid ""
"The B<dh_installinit> helper no longer installs configuration for the "
"upstart init system. Instead, it will abort the build if it finds an old "
@@ -1648,23 +1817,107 @@ msgid ""
"maintainer to ensure the proper removal of the conffiles shipped in previous "
"versions of the package (if any)."
msgstr ""
+"Das Hilfsprogramm B<dh_installinit> installiert nicht mehr die Konfiguration "
+"für das Init-System Upstart. Stattdessen bricht es das Bauen ab, wenn es "
+"eine alte Upstart-Konfigurationsdatei findet. Der Fehler ist dort, um den "
+"Paketbetreuer daran zu erinnern, dass er sicherstellt, die mit vorherigen "
+"Versionen des Pakets mitgelieferten Conffiles (falls vorhanden) sauber zu "
+"entfernen."
+
+#. type: textblock
+#: debhelper.pod:822
+msgid ""
+"The B<dh_installdeb> tool will do basic validation of some L<dpkg-"
+"maintscript-helper(1)> commands and will error out if the commands appear to "
+"be invalid."
+msgstr ""
+"Das Werkzeug B<dh_installdeb> wird die Grundprüfung einiger L<dpkg-"
+"maintscript-helper(1)>-Befehle durchführen und eine Fehlermeldung ausgeben, "
+"falls die Befehle ungültig zu sein scheinen."
+
+#. type: textblock
+#: debhelper.pod:828
+msgid "The B<dh_missing> tool will now default to B<--list-missing>."
+msgstr ""
+
+#. type: textblock
+#: debhelper.pod:832
+msgid ""
+"The B<dh_makeshlibs> tool will now only pass libraries to L<dpkg-"
+"gensymbols(1)> if the ELF binary has a SONAME (containing \".so\")."
+msgstr ""
+
+#. type: textblock
+#: debhelper.pod:837
+msgid ""
+"The B<dh_compress> tool no longer compresses examples (i.e. anything "
+"installed in F<</usr/share/doc/I<package>/examples>>.)"
+msgstr ""
+
+#. type: textblock
+#: debhelper.pod:842
+msgid ""
+"The standard sequence in B<dh> now includes B<dh_dwz> and "
+"B<dh_installinitramfs> by default. This makes the B<dwz> and "
+"B<installinitramfs> sequences obsolete and they will now fail with an "
+"error. If you want to skip these commands, then please insert an empty "
+"override target for them in F<debian/rules> (e.g. I<override_dh_dwz:>)"
+msgstr ""
+
+#. type: textblock
+#: debhelper.pod:851
+msgid ""
+"The build systems B<meson> and B<autoconf> no longer explicitly set the B<--"
+"libexecdir> variable and thus relies on the build system default - which "
+"should be B</usr/libexec> (per FHS 3.0, adopted in Debian Policy 4.1.5)."
+msgstr ""
+
+#. type: textblock
+#: debhelper.pod:856
+msgid ""
+"If a particular upstream package does not use the correct default, the "
+"parameter can often be passed manually via L<dh_auto_configure(1)>. E.g. "
+"via the following example:"
+msgstr ""
+
+#. type: verbatim
+#: debhelper.pod:860
+#, fuzzy, no-wrap
+#| msgid ""
+#| "\toverride_dh_auto_configure:\n"
+#| "\t\tdh_auto_configure -- --with-foo --disable-bar\n"
+#| "\n"
+msgid ""
+" override_dh_auto_configure:\n"
+" \tdh_auto_configure -- --libexecdir=/usr/libexec\n"
+"\n"
+msgstr ""
+"\toverride_dh_auto_configure:\n"
+"\t\tdh_auto_configure -- --with-foo --disable-bar\n"
+"\n"
+
+#. type: textblock
+#: debhelper.pod:863
+msgid "Note the B<--> before the B<--libexecdir> parameter."
+msgstr ""
#. type: =head1
-#: debhelper.pod:767 dh_auto_test:48 dh_installcatalogs:64 dh_installdocs:178
-#: dh_installemacsen:75 dh_installexamples:85 dh_installinit:183
-#: dh_installman:124 dh_installmodules:57 dh_installudev:50 dh_installwm:58
-#: dh_installxfonts:40 dh_movefiles:67 dh_strip:119 dh_usrlocal:59
-#: dh_systemd_enable:104 dh_systemd_start:68
+#: debhelper.pod:869 dh_auto_test:48 dh_dwz:57 dh_installcatalogs:64
+#: dh_installdocs:192 dh_installemacsen:75 dh_installexamples:89
+#: dh_installinit:205 dh_installinitramfs:53 dh_installman:128
+#: dh_installmodules:57 dh_installudev:50 dh_installwm:63 dh_installxfonts:40
+#: dh_movefiles:67 dh_strip:119 dh_usrlocal:60 dh_systemd_enable:104
+#: dh_systemd_start:68
msgid "NOTES"
msgstr "ANMERKUNGEN"
#. type: =head2
-#: debhelper.pod:769
+#: debhelper.pod:871
msgid "Multiple binary package support"
msgstr "Unterstützung mehrerer Binärpakete"
#. type: textblock
-#: debhelper.pod:771
+#: debhelper.pod:873
msgid ""
"If your source package generates more than one binary package, debhelper "
"programs will default to acting on all binary packages when run. If your "
@@ -1683,7 +1936,7 @@ msgstr ""
"Ziel »binary-indep«."
#. type: textblock
-#: debhelper.pod:779
+#: debhelper.pod:881
msgid ""
"To facilitate this, as well as give you more control over which packages are "
"acted on by debhelper programs, all debhelper programs accept the B<-a>, B<-"
@@ -1699,7 +1952,7 @@ msgstr ""
"sind, mit nachfolgenden Ausnahmen."
#. type: textblock
-#: debhelper.pod:785
+#: debhelper.pod:887
msgid ""
"First, any package whose B<Architecture> field in B<debian/control> does not "
"match the B<DEB_HOST_ARCH> architecture will be excluded (L<Debian Policy, "
@@ -1710,7 +1963,7 @@ msgstr ""
"(L<Debian Policy, Abschnitt 5.6.8>)."
#. type: textblock
-#: debhelper.pod:789
+#: debhelper.pod:891
msgid ""
"Also, some additional packages may be excluded based on the contents of the "
"B<DEB_BUILD_PROFILES> environment variable and B<Build-Profiles> fields in "
@@ -1724,12 +1977,12 @@ msgstr ""
"BuildProfileSpec>."
#. type: =head3
-#: debhelper.pod:794
+#: debhelper.pod:896
msgid "Interaction between package selections and Build-Profiles"
-msgstr ""
+msgstr "Zusammenspiel zwischen Paketauswahl und Bauprofilen"
#. type: textblock
-#: debhelper.pod:796
+#: debhelper.pod:898
msgid ""
"Build-Profiles affect which packages are included in the package selections "
"mechanisms in debhelper. Generally, the package selections are described "
@@ -1737,65 +1990,76 @@ msgid ""
"how the selections react when a package is disabled due to the active Build-"
"Profiles (or lack of active Build-Profiles)."
msgstr ""
+"Bauprofile beeinflussen, welche Pakete im Paketauswahlmechanismus von "
+"Debhelper enthalten sind. Im Allgemeinen wird die Paketauswahl unter der "
+"Annahme beschrieben, dass alle Pakete aktiviert sind. Dieser Abschnitt "
+"beschreibt wie die Auswahl reagiert, wenn ein Paket aufgrund des aktiven "
+"Bauprofils (oder das Fehlen des aktiven Bauprofils) deaktiviert wird."
#. type: =item
-#: debhelper.pod:804
+#: debhelper.pod:906
msgid "-a/--arch, -i/--indep OR no selection options (a raw \"dh_X\" call)"
msgstr ""
+"-a/--arch, -i/--indep ODER keine Auswahloptionen (ein roher »dh_X«-Aufruf)"
#. type: textblock
-#: debhelper.pod:806
+#: debhelper.pod:908
msgid ""
"The package disabled by Build-Profiles is silently excluded from the "
"selection."
msgstr ""
+"Das durch Bauprofile deaktivierte Paket wird stillschweigend aus der Auswahl "
+"ausgeschlossen."
#. type: textblock
-#: debhelper.pod:809
+#: debhelper.pod:911
msgid ""
"Note you will receive a warning if I<all> packages related to these "
"selections are disabled. In that case, it generally does not make sense to "
"do the build in the first place."
msgstr ""
+"Beachten Sie, dass Sie eine Warnung bekommen, falls I<alle> zu dieser "
+"Auswahl gehörenden Pakete deaktiviert werden. In diesem Fall ist der Bau im "
+"Allgemeinen überhaupt sinnlos."
#. type: =item
-#: debhelper.pod:813
-#, fuzzy
-#| msgid "B<-N>I<package>, B<--no-package=>I<package>"
+#: debhelper.pod:915
msgid "-N I<package> / --no-package I<package>"
-msgstr "B<-N>I<Paket>, B<--no-package=>I<Paket>"
+msgstr "-N I<Paket> / --no-package I<Paket>"
#. type: textblock
-#: debhelper.pod:815
+#: debhelper.pod:917
msgid "The option is accepted and effectively does nothing."
-msgstr ""
+msgstr "Die Option wird akzeptiert und hat keine Wirkung."
#. type: =item
-#: debhelper.pod:817
-#, fuzzy
-#| msgid "B<-p>I<package>, B<--package=>I<package>"
+#: debhelper.pod:919
msgid "-p I<package> / --package I<package>"
-msgstr "B<-p>I<Paket>, B<--package=>I<Paket>"
+msgstr "-p I<Paket> / --package I<Paket>"
#. type: textblock
-#: debhelper.pod:819
+#: debhelper.pod:921
msgid "The option is accepted, but debhelper will not act on the package."
msgstr ""
+"Die Option wird akzeptiert, aber Debhelper wird nichts an dem Paket "
+"vornehmen."
#. type: textblock
-#: debhelper.pod:823
+#: debhelper.pod:925
msgid ""
"Note that it does not matter whether a package is enabled or disabled by "
"default."
msgstr ""
+"Beachten Sie, dass es keine Rolle spielt, ob das Paket standardmäßig "
+"aktiviert oder deaktiviert ist."
#. type: =head2
-#: debhelper.pod:826
+#: debhelper.pod:928
msgid "Automatic generation of Debian install scripts"
msgstr "Automatisches Erzeugen von Debian-Installationsskripten"
#. type: textblock
-#: debhelper.pod:828
+#: debhelper.pod:930
msgid ""
"Some debhelper commands will automatically generate parts of Debian "
"maintainer scripts. If you want these automatically generated things "
@@ -1812,7 +2076,7 @@ msgstr ""
"erzeugten Kode ersetzt."
#. type: textblock
-#: debhelper.pod:835
+#: debhelper.pod:937
msgid ""
"If a script does not exist at all and debhelper needs to add something to "
"it, then debhelper will create the complete script."
@@ -1821,7 +2085,7 @@ msgstr ""
"hinzufügen muss, dann wird Debhelper das komplette Skript erstellen."
#. type: textblock
-#: debhelper.pod:838
+#: debhelper.pod:940
msgid ""
"All debhelper commands that automatically generate code in this way let it "
"be disabled by the -n parameter (see above)."
@@ -1830,7 +2094,7 @@ msgstr ""
"dies durch den Parameter -n deaktiviert (siehe oben)."
#. type: textblock
-#: debhelper.pod:841
+#: debhelper.pod:943
msgid ""
"Note that the inserted code will be shell code, so you cannot directly use "
"it in a Perl script. If you would like to embed it into a Perl script, here "
@@ -1844,7 +2108,7 @@ msgstr ""
"etc. gesetzt sind):"
#. type: verbatim
-#: debhelper.pod:846
+#: debhelper.pod:948
#, no-wrap
msgid ""
" my $temp=\"set -e\\nset -- @ARGV\\n\" . << 'EOF';\n"
@@ -1876,12 +2140,12 @@ msgstr ""
"\n"
#. type: =head2
-#: debhelper.pod:859
+#: debhelper.pod:961
msgid "Automatic generation of miscellaneous dependencies."
msgstr "Automatisches Erzeugen verschiedener Abhängigkeiten"
#. type: textblock
-#: debhelper.pod:861
+#: debhelper.pod:963
msgid ""
"Some debhelper commands may make the generated package need to depend on "
"some other packages. For example, if you use L<dh_installdebconf(1)>, your "
@@ -1901,7 +2165,7 @@ msgstr ""
"bietet, sie zu automatisieren."
#. type: textblock
-#: debhelper.pod:869
+#: debhelper.pod:971
msgid ""
"All commands of this type, besides documenting what dependencies may be "
"needed on their man pages, will automatically generate a substvar called B<"
@@ -1915,7 +2179,7 @@ msgstr ""
"Debhelper findet, dass Sie sie benötigen."
#. type: textblock
-#: debhelper.pod:874
+#: debhelper.pod:976
msgid ""
"This is entirely independent of the standard B<${shlibs:Depends}> generated "
"by L<dh_makeshlibs(1)>, and the B<${perl:Depends}> generated by "
@@ -1929,12 +2193,12 @@ msgstr ""
"entspricht."
#. type: =head2
-#: debhelper.pod:879
+#: debhelper.pod:981
msgid "Package build directories"
msgstr "Paketbauverzeichnisse"
#. type: textblock
-#: debhelper.pod:881
+#: debhelper.pod:983
msgid ""
"By default, all debhelper programs assume that the temporary directory used "
"for assembling the tree of files in a package is debian/I<package>."
@@ -1944,7 +2208,7 @@ msgstr ""
"debian/I<Paket> ist."
#. type: textblock
-#: debhelper.pod:884
+#: debhelper.pod:986
msgid ""
"Sometimes, you might want to use some other temporary directory. This is "
"supported by the B<-P> flag. For example, \"B<dh_installdocs -Pdebian/tmp>"
@@ -1964,12 +2228,12 @@ msgstr ""
"Debhelper-Programm auswirkt."
#. type: =head2
-#: debhelper.pod:892
+#: debhelper.pod:994
msgid "udebs"
msgstr "Udebs"
#. type: textblock
-#: debhelper.pod:894
+#: debhelper.pod:996
msgid ""
"Debhelper includes support for udebs. To create a udeb with debhelper, add "
"\"B<Package-Type: udeb>\" to the package's stanza in F<debian/control>. "
@@ -1987,12 +2251,12 @@ msgstr ""
"übersprungen werden."
#. type: =head1
-#: debhelper.pod:901
+#: debhelper.pod:1003
msgid "ENVIRONMENT"
msgstr "UMGEBUNGSVARIABLEN"
#. type: textblock
-#: debhelper.pod:903
+#: debhelper.pod:1005
msgid ""
"The following environment variables can influence the behavior of "
"debhelper. It is important to note that these must be actual environment "
@@ -2008,12 +2272,12 @@ msgstr ""
"Beispiel »B<export DH_VERBOSE>«."
#. type: =item
-#: debhelper.pod:911
+#: debhelper.pod:1013
msgid "B<DH_VERBOSE>"
msgstr "B<DH_VERBOSE>"
#. type: textblock
-#: debhelper.pod:913
+#: debhelper.pod:1015
msgid ""
"Set to B<1> to enable verbose mode. Debhelper will output every command it "
"runs. Also enables verbose build logs for some build systems like autoconf."
@@ -2024,12 +2288,12 @@ msgstr ""
"aktiviert."
#. type: =item
-#: debhelper.pod:916
+#: debhelper.pod:1018
msgid "B<DH_QUIET>"
msgstr "B<DH_QUIET>"
#. type: textblock
-#: debhelper.pod:918
+#: debhelper.pod:1020
msgid ""
"Set to B<1> to enable quiet mode. Debhelper will not output commands calling "
"the upstream build system nor will dh print which subcommands are called and "
@@ -2046,12 +2310,12 @@ msgstr ""
"wird diese Einstellung ignoriert."
#. type: =item
-#: debhelper.pod:925
+#: debhelper.pod:1027
msgid "B<DH_COMPAT>"
msgstr "B<DH_COMPAT>"
#. type: textblock
-#: debhelper.pod:927
+#: debhelper.pod:1029
msgid ""
"Temporarily specifies what compatibility level debhelper should run at, "
"overriding any value in F<debian/compat>."
@@ -2060,22 +2324,22 @@ msgstr ""
"werden sollte und setzt dabei jeden Wert in F<debian/compat> außer Kraft."
#. type: =item
-#: debhelper.pod:930
+#: debhelper.pod:1032
msgid "B<DH_NO_ACT>"
msgstr "B<DH_NO_ACT>"
#. type: textblock
-#: debhelper.pod:932
+#: debhelper.pod:1034
msgid "Set to B<1> to enable no-act mode."
msgstr "auf B<1> gesetzt, um Modus ohne Aktion zu aktivieren."
#. type: =item
-#: debhelper.pod:934
+#: debhelper.pod:1036
msgid "B<DH_OPTIONS>"
msgstr "B<DH_OPTIONS>"
#. type: textblock
-#: debhelper.pod:936
+#: debhelper.pod:1038
msgid ""
"Anything in this variable will be prepended to the command line arguments of "
"all debhelper commands."
@@ -2084,7 +2348,7 @@ msgstr ""
"Befehle vorangestellt."
#. type: textblock
-#: debhelper.pod:939
+#: debhelper.pod:1041
msgid ""
"When using L<dh(1)>, it can be passed options that will be passed on to each "
"debhelper command, which is generally better than using DH_OPTIONS."
@@ -2094,12 +2358,12 @@ msgstr ""
"DH_OPTIONS zu verwenden."
#. type: =item
-#: debhelper.pod:942
+#: debhelper.pod:1044
msgid "B<DH_ALWAYS_EXCLUDE>"
msgstr "B<DH_ALWAYS_EXCLUDE>"
#. type: textblock
-#: debhelper.pod:944
+#: debhelper.pod:1046
msgid ""
"If set, this adds the value the variable is set to to the B<-X> options of "
"all commands that support the B<-X> option. Moreover, B<dh_builddeb> will "
@@ -2111,7 +2375,7 @@ msgstr ""
"entspricht, B<rm -rf> ausführen."
#. type: textblock
-#: debhelper.pod:948
+#: debhelper.pod:1050
msgid ""
"This can be useful if you are doing a build from a CVS source tree, in which "
"case setting B<DH_ALWAYS_EXCLUDE=CVS> will prevent any CVS directories from "
@@ -2129,7 +2393,7 @@ msgstr ""
"ist, wo auch immer Ihr Paket gebaut wird."
#. type: textblock
-#: debhelper.pod:955
+#: debhelper.pod:1057
msgid ""
"Multiple things to exclude can be separated with colons, as in "
"B<DH_ALWAYS_EXCLUDE=CVS:.svn>"
@@ -2137,78 +2401,103 @@ msgstr ""
"Mehrere Dinge, die ausgeschlossen werden sollen, können mit Doppelpunkten "
"getrennt werden, wie in B<DH_ALWAYS_EXCLUDE=CVS:.svn>."
+#. type: =item
+#: debhelper.pod:1060
+#, fuzzy
+#| msgid "B<DH_OPTIONS>"
+msgid "B<DH_EXTRA_ADDONS>"
+msgstr "B<DH_OPTIONS>"
+
+#. type: textblock
+#: debhelper.pod:1062
+msgid ""
+"If set, this adds the specified dh addons to be run in the appropriate "
+"places in the sequence of commands. This is equivalent to specifying the "
+"addon to run with the --with flag in the debian/rules file. Any --without "
+"calls specifying an addon in this environment variable will not be run."
+msgstr ""
+
+#. type: textblock
+#: debhelper.pod:1067
+msgid ""
+"This is intended to be used by downstreams or specific local configurations "
+"that require a debhelper addon to be run during multiple builds without "
+"having to patch a large number of rules file. If at all possible, this "
+"should be avoided in favor of a --with flag in the rules file."
+msgstr ""
+
#. type: =head1
-#: debhelper.pod:960 debhelper-obsolete-compat.pod:118 dh:1113 dh_auto_build:53
-#: dh_auto_clean:55 dh_auto_configure:58 dh_auto_install:97 dh_auto_test:64
-#: dh_bugfiles:133 dh_builddeb:183 dh_clean:184 dh_compress:237 dh_fixperms:162
-#: dh_gconf:101 dh_gencontrol:199 dh_icons:75 dh_install:363
-#: dh_installcatalogs:125 dh_installchangelogs:243 dh_installcron:78
-#: dh_installdeb:217 dh_installdebconf:128 dh_installdirs:97 dh_installdocs:427
-#: dh_installemacsen:137 dh_installexamples:171 dh_installifupdown:72
-#: dh_installinfo:99 dh_installinit:370 dh_installlogcheck:81
-#: dh_installlogrotate:53 dh_installman:358 dh_installmanpages:198
-#: dh_installmenu:88 dh_installmime:63 dh_installmodules:109 dh_installpam:62
-#: dh_installppp:68 dh_installudev:100 dh_installwm:122 dh_installxfonts:92
-#: dh_link:163 dh_lintian:60 dh_listpackages:33 dh_makeshlibs:291
-#: dh_md5sums:109 dh_movefiles:161 dh_perl:159 dh_prep:70 dh_shlibdeps:201
-#: dh_strip:417 dh_testdir:63 dh_testroot:74 dh_usrlocal:132
-#: dh_systemd_enable:281 dh_systemd_start:269
+#: debhelper.pod:1074 debhelper-obsolete-compat.pod:118 dh:1093
+#: dh_auto_build:53 dh_auto_clean:55 dh_auto_configure:58 dh_auto_install:97
+#: dh_auto_test:64 dh_bugfiles:133 dh_builddeb:182 dh_clean:185 dh_compress:236
+#: dh_dwz:141 dh_fixperms:162 dh_gconf:101 dh_gencontrol:207 dh_icons:75
+#: dh_install:350 dh_installcatalogs:125 dh_installchangelogs:300
+#: dh_installcron:78 dh_installdeb:266 dh_installdebconf:128 dh_installdirs:128
+#: dh_installdocs:444 dh_installemacsen:137 dh_installexamples:175
+#: dh_installifupdown:72 dh_installinfo:107 dh_installinit:406
+#: dh_installinitramfs:86 dh_installlogcheck:81 dh_installlogrotate:53
+#: dh_installman:362 dh_installmanpages:198 dh_installmenu:88 dh_installmime:63
+#: dh_installmodules:109 dh_installpam:62 dh_installppp:68 dh_installudev:100
+#: dh_installwm:127 dh_installxfonts:96 dh_link:163 dh_lintian:60
+#: dh_listpackages:35 dh_makeshlibs:355 dh_md5sums:117 dh_movefiles:161
+#: dh_perl:159 dh_prep:70 dh_shlibdeps:199 dh_strip:426 dh_testdir:63
+#: dh_testroot:91 dh_usrlocal:136 dh_systemd_enable:281 dh_systemd_start:269
msgid "SEE ALSO"
msgstr "SIEHE AUCH"
#. type: =item
-#: debhelper.pod:964
+#: debhelper.pod:1078
msgid "F</usr/share/doc/debhelper/examples/>"
msgstr "F</usr/share/doc/debhelper/examples/>"
#. type: textblock
-#: debhelper.pod:966
+#: debhelper.pod:1080
msgid "A set of example F<debian/rules> files that use debhelper."
msgstr ""
"eine Zusammenstellung von F<debian/rules>-Beispieldateien, die Debhelper "
"benutzen"
#. type: =item
-#: debhelper.pod:968
+#: debhelper.pod:1082
msgid "L<http://joeyh.name/code/debhelper/>"
msgstr "L<http://joeyh.name/code/debhelper/>"
#. type: textblock
-#: debhelper.pod:970
+#: debhelper.pod:1084
msgid "Debhelper web site."
msgstr "Debhelper-Website"
#. type: =head1
-#: debhelper.pod:974 dh:1119 dh_auto_build:59 dh_auto_clean:61
+#: debhelper.pod:1088 dh:1099 dh_auto_build:59 dh_auto_clean:61
#: dh_auto_configure:64 dh_auto_install:103 dh_auto_test:70 dh_bugfiles:141
-#: dh_builddeb:189 dh_clean:190 dh_compress:243 dh_fixperms:168 dh_gconf:107
-#: dh_gencontrol:205 dh_icons:81 dh_install:369 dh_installcatalogs:131
-#: dh_installchangelogs:249 dh_installcron:84 dh_installdeb:223
-#: dh_installdebconf:134 dh_installdirs:103 dh_installdocs:433
-#: dh_installemacsen:144 dh_installexamples:177 dh_installifupdown:78
-#: dh_installinfo:105 dh_installlogcheck:87 dh_installlogrotate:59
-#: dh_installman:364 dh_installmanpages:204 dh_installmenu:96 dh_installmime:69
-#: dh_installmodules:115 dh_installpam:68 dh_installppp:74 dh_installudev:106
-#: dh_installwm:128 dh_installxfonts:98 dh_link:169 dh_lintian:68
-#: dh_listpackages:39 dh_makeshlibs:297 dh_md5sums:115 dh_movefiles:167
-#: dh_perl:165 dh_prep:76 dh_shlibdeps:207 dh_strip:423 dh_testdir:69
-#: dh_testroot:80 dh_usrlocal:138
+#: dh_builddeb:188 dh_clean:191 dh_compress:242 dh_dwz:147 dh_fixperms:168
+#: dh_gconf:107 dh_gencontrol:213 dh_icons:81 dh_install:356
+#: dh_installcatalogs:131 dh_installchangelogs:306 dh_installcron:84
+#: dh_installdeb:272 dh_installdebconf:134 dh_installdirs:134
+#: dh_installdocs:450 dh_installemacsen:144 dh_installexamples:181
+#: dh_installifupdown:78 dh_installinfo:113 dh_installlogcheck:87
+#: dh_installlogrotate:59 dh_installman:368 dh_installmanpages:204
+#: dh_installmenu:96 dh_installmime:69 dh_installmodules:115 dh_installpam:68
+#: dh_installppp:74 dh_installudev:106 dh_installwm:133 dh_installxfonts:102
+#: dh_link:169 dh_lintian:68 dh_listpackages:41 dh_makeshlibs:361
+#: dh_md5sums:123 dh_movefiles:167 dh_perl:165 dh_prep:76 dh_shlibdeps:205
+#: dh_strip:432 dh_testdir:69 dh_testroot:97 dh_usrlocal:142
msgid "AUTHOR"
msgstr "AUTOR"
#. type: textblock
-#: debhelper.pod:976 dh:1121 dh_auto_build:61 dh_auto_clean:63
-#: dh_auto_configure:66 dh_auto_install:105 dh_auto_test:72 dh_builddeb:191
-#: dh_clean:192 dh_compress:245 dh_fixperms:170 dh_gencontrol:207
-#: dh_install:371 dh_installchangelogs:251 dh_installcron:86 dh_installdeb:225
-#: dh_installdebconf:136 dh_installdirs:105 dh_installdocs:435
-#: dh_installemacsen:146 dh_installexamples:179 dh_installifupdown:80
-#: dh_installinfo:107 dh_installinit:378 dh_installlogrotate:61
-#: dh_installman:366 dh_installmanpages:206 dh_installmenu:98 dh_installmime:71
+#: debhelper.pod:1090 dh:1101 dh_auto_build:61 dh_auto_clean:63
+#: dh_auto_configure:66 dh_auto_install:105 dh_auto_test:72 dh_builddeb:190
+#: dh_clean:193 dh_compress:244 dh_fixperms:170 dh_gencontrol:215
+#: dh_install:358 dh_installchangelogs:308 dh_installcron:86 dh_installdeb:274
+#: dh_installdebconf:136 dh_installdirs:136 dh_installdocs:452
+#: dh_installemacsen:146 dh_installexamples:183 dh_installifupdown:80
+#: dh_installinfo:115 dh_installinit:414 dh_installlogrotate:61
+#: dh_installman:370 dh_installmanpages:206 dh_installmenu:98 dh_installmime:71
#: dh_installmodules:117 dh_installpam:70 dh_installppp:76 dh_installudev:108
-#: dh_installwm:130 dh_installxfonts:100 dh_link:171 dh_listpackages:41
-#: dh_makeshlibs:299 dh_md5sums:117 dh_movefiles:169 dh_prep:78
-#: dh_shlibdeps:209 dh_strip:425 dh_testdir:71 dh_testroot:82
+#: dh_installwm:135 dh_installxfonts:104 dh_link:171 dh_listpackages:43
+#: dh_makeshlibs:363 dh_md5sums:125 dh_movefiles:169 dh_prep:78
+#: dh_shlibdeps:207 dh_strip:434 dh_testdir:71 dh_testroot:99
msgid "Joey Hess <joeyh@debian.org>"
msgstr "Joey Hess <joeyh@debian.org>"
@@ -2364,7 +2653,7 @@ msgstr ""
#: debhelper-obsolete-compat.pod:83
msgid "B<dh_link> will correct existing links to conform with policy."
msgstr ""
-"B<dh_link> wird bestehende Verweise korrigieren, damit sie konform mit der "
+"B<dh_link> wird bestehende Links korrigieren, damit sie konform mit der "
"Richtlinie sind."
#. type: textblock
@@ -2401,30 +2690,30 @@ msgstr ""
"expandieren."
#. type: textblock
-#: debhelper-obsolete-compat.pod:120 dh:1115 dh_auto_build:55 dh_auto_clean:57
-#: dh_auto_configure:60 dh_auto_install:99 dh_auto_test:66 dh_builddeb:185
-#: dh_clean:186 dh_compress:239 dh_fixperms:164 dh_gconf:103 dh_gencontrol:201
-#: dh_install:365 dh_installcatalogs:127 dh_installchangelogs:245
-#: dh_installcron:80 dh_installdeb:219 dh_installdebconf:130 dh_installdirs:99
-#: dh_installdocs:429 dh_installexamples:173 dh_installifupdown:74
-#: dh_installinfo:101 dh_installinit:372 dh_installlogcheck:83
-#: dh_installlogrotate:55 dh_installman:360 dh_installmanpages:200
-#: dh_installmime:65 dh_installmodules:111 dh_installpam:64 dh_installppp:70
-#: dh_installudev:102 dh_installwm:124 dh_installxfonts:94 dh_link:165
-#: dh_listpackages:35 dh_makeshlibs:293 dh_md5sums:111 dh_movefiles:163
-#: dh_perl:161 dh_prep:72 dh_strip:419 dh_testdir:65 dh_testroot:76
-#: dh_usrlocal:134 dh_systemd_start:271
+#: debhelper-obsolete-compat.pod:120 dh:1095 dh_auto_build:55 dh_auto_clean:57
+#: dh_auto_configure:60 dh_auto_install:99 dh_auto_test:66 dh_builddeb:184
+#: dh_clean:187 dh_compress:238 dh_dwz:143 dh_fixperms:164 dh_gconf:103
+#: dh_gencontrol:209 dh_install:352 dh_installcatalogs:127
+#: dh_installchangelogs:302 dh_installcron:80 dh_installdeb:268
+#: dh_installdebconf:130 dh_installdirs:130 dh_installdocs:446
+#: dh_installexamples:177 dh_installifupdown:74 dh_installinfo:109
+#: dh_installlogcheck:83 dh_installlogrotate:55 dh_installman:364
+#: dh_installmanpages:200 dh_installmime:65 dh_installmodules:111
+#: dh_installpam:64 dh_installppp:70 dh_installudev:102 dh_installwm:129
+#: dh_installxfonts:98 dh_link:165 dh_listpackages:37 dh_makeshlibs:357
+#: dh_md5sums:119 dh_movefiles:163 dh_perl:161 dh_prep:72 dh_strip:428
+#: dh_testdir:65 dh_testroot:93 dh_usrlocal:138 dh_systemd_start:271
msgid "L<debhelper(7)>"
msgstr "L<debhelper(7)>"
#. type: =head1
-#: debhelper-obsolete-compat.pod:122 dh_installinit:376 dh_systemd_enable:285
+#: debhelper-obsolete-compat.pod:122 dh_installinit:412 dh_systemd_enable:285
#: dh_systemd_start:273
msgid "AUTHORS"
msgstr "AUTOREN"
#. type: textblock
-#: debhelper-obsolete-compat.pod:124
+#: debhelper-obsolete-compat.pod:124 dh_dwz:149
msgid "Niels Thykier <niels@thykier.net>"
msgstr "Niels Thykier <niels@thykier.net>"
@@ -2439,7 +2728,7 @@ msgid "dh - debhelper command sequencer"
msgstr "dh - Debhelper-Befehls-Sequenzer"
#. type: textblock
-#: dh:17
+#: dh:18
msgid ""
"B<dh> I<sequence> [B<--with> I<addon>[B<,>I<addon> ...]] [B<--list>] "
"[S<I<debhelper options>>]"
@@ -2448,7 +2737,7 @@ msgstr ""
"[S<I<Debhelper-Optionen>>]"
#. type: textblock
-#: dh:21
+#: dh:22
msgid ""
"B<dh> runs a sequence of debhelper commands. The supported I<sequence>s "
"correspond to the targets of a F<debian/rules> file: B<build-arch>, B<build-"
@@ -2461,12 +2750,12 @@ msgstr ""
"arch>, B<install>, B<binary-arch>, B<binary-indep> und B<binary>."
#. type: =head1
-#: dh:26
+#: dh:27
msgid "OVERRIDE TARGETS"
msgstr "ZIELE AUßER KRAFT SETZEN"
#. type: textblock
-#: dh:28
+#: dh:29
msgid ""
"A F<debian/rules> file using B<dh> can override the command that is run at "
"any step in a sequence, by defining an override target."
@@ -2476,7 +2765,7 @@ msgstr ""
"setzendes Ziel definiert wird."
#. type: textblock
-#: dh:31
+#: dh:32
msgid ""
"To override I<dh_command>, add a target named B<override_>I<dh_command> to "
"the rules file. When it would normally run I<dh_command>, B<dh> will instead "
@@ -2491,7 +2780,7 @@ msgstr ""
"stattdessen ganz andere Befehle ausführen. Lesen Sie die folgenden Beispiele."
#. type: textblock
-#: dh:37
+#: dh:38
msgid ""
"Override targets can also be defined to run only when building architecture "
"dependent or architecture independent packages. Use targets with names like "
@@ -2507,28 +2796,29 @@ msgstr ""
"haben sollten."
#. type: =head1
-#: dh:44 dh_auto_build:32 dh_auto_clean:33 dh_auto_configure:35
+#: dh:45 dh_auto_build:32 dh_auto_clean:33 dh_auto_configure:35
#: dh_auto_install:46 dh_auto_test:34 dh_bugfiles:53 dh_builddeb:34 dh_clean:47
-#: dh_compress:52 dh_fixperms:40 dh_gconf:42 dh_gencontrol:38 dh_icons:33
-#: dh_install:72 dh_installcatalogs:53 dh_installchangelogs:62
-#: dh_installcron:43 dh_installdebconf:64 dh_installdirs:42 dh_installdocs:86
-#: dh_installemacsen:56 dh_installexamples:37 dh_installifupdown:42
-#: dh_installinfo:34 dh_installinit:73 dh_installlogcheck:45
-#: dh_installlogrotate:25 dh_installman:79 dh_installmanpages:43
-#: dh_installmenu:44 dh_installmodules:41 dh_installpam:34 dh_installppp:38
-#: dh_installudev:34 dh_installwm:38 dh_link:66 dh_makeshlibs:52 dh_md5sums:31
-#: dh_movefiles:41 dh_perl:34 dh_prep:29 dh_shlibdeps:30 dh_strip:38
-#: dh_testdir:26 dh_usrlocal:49 dh_systemd_enable:83 dh_systemd_start:33
+#: dh_compress:52 dh_dwz:26 dh_fixperms:40 dh_gconf:42 dh_gencontrol:38
+#: dh_icons:33 dh_install:66 dh_installcatalogs:53 dh_installchangelogs:73
+#: dh_installcron:43 dh_installdebconf:64 dh_installdirs:42 dh_installdocs:90
+#: dh_installemacsen:56 dh_installexamples:41 dh_installifupdown:42
+#: dh_installinfo:38 dh_installinit:78 dh_installinitramfs:43
+#: dh_installlogcheck:45 dh_installlogrotate:25 dh_installman:83
+#: dh_installmanpages:43 dh_installmenu:44 dh_installmodules:41
+#: dh_installpam:34 dh_installppp:38 dh_installudev:34 dh_installwm:38
+#: dh_link:66 dh_makeshlibs:52 dh_md5sums:31 dh_movefiles:41 dh_perl:34
+#: dh_prep:29 dh_shlibdeps:30 dh_strip:38 dh_testdir:26 dh_usrlocal:50
+#: dh_systemd_enable:83 dh_systemd_start:33
msgid "OPTIONS"
msgstr "OPTIONEN"
#. type: =item
-#: dh:48
+#: dh:49
msgid "B<--with> I<addon>[B<,>I<addon> ...]"
msgstr "B<--with> I<Add-on>[B<,>I<Add-on> …]"
#. type: textblock
-#: dh:50
+#: dh:51
msgid ""
"Add the debhelper commands specified by the given addon to appropriate "
"places in the sequence of commands that is run. This option can be repeated "
@@ -2544,13 +2834,26 @@ msgstr ""
"Fremdpaket gibt, das Debhelper-Befehle bereitstellt. Dokumentation über die "
"Sequenz-Add-on-Schnittstelle finden Sie in der Datei F<PROGRAMMING>."
+#. type: textblock
+#: dh:58
+msgid ""
+"A B<Build-Depends> relation on the package B<dh-sequence->I<addon> implies a "
+"B<--with> I<addon>. This avoids the need for an explicit B<--with> in "
+"F<debian/rules> that only duplicates what is already declared via the build "
+"dependencies in F<debian/control>. Note that only relations in the B<Build-"
+"Depends> field are considered (i.e. B<Build-Depends-Indep> and B<Build-"
+"Depends-Arch> are deliberately unsupported). Please keep in mind that B<dh> "
+"insists on \"simple\" relations (e.g. a relation like \"B<dh-sequence-"
+">I<addon> | B<some-other-pkg>\" will I<not> imply B<--with> I<addon>)."
+msgstr ""
+
#. type: =item
-#: dh:57
+#: dh:68
msgid "B<--without> I<addon>"
msgstr "B<--without> I<Add-on>"
#. type: textblock
-#: dh:59
+#: dh:70
msgid ""
"The inverse of B<--with>, disables using the given addon. This option can be "
"repeated more than once, or multiple addons to disable can be listed, "
@@ -2561,19 +2864,22 @@ msgstr ""
"ons zum Deaktivieren durch Kommas getrennt aufgelistet werden."
#. type: textblock
-#: dh:65
+#: dh:76
msgid "List all available addons."
msgstr "listet alle verfügbaren Add-ons auf."
#. type: textblock
-#: dh:67
+#: dh:78
msgid ""
"When called only with this option, B<dh> can be called from any directory (i."
"e. it does not need access to files from a source package)."
msgstr ""
+"Wenn es nur mit dieser Option aufgerufen wird, kann B<dh> aus jedem "
+"Verzeichnis aufgerufen werden (d.h. es benötigt keinen Zugriff auf Dateien "
+"aus einem Quellpaket)."
#. type: textblock
-#: dh:73
+#: dh:84
msgid ""
"Prints commands that would run for a given sequence, but does not run them."
msgstr ""
@@ -2581,7 +2887,7 @@ msgstr ""
"sie aber nicht aus"
#. type: textblock
-#: dh:75
+#: dh:86
msgid ""
"Note that dh normally skips running commands that it knows will do nothing. "
"With --no-act, the full list of commands in a sequence is printed."
@@ -2591,7 +2897,7 @@ msgstr ""
"vollständige Liste der Befehle der Reihe nach ausgegeben."
#. type: textblock
-#: dh:80
+#: dh:91
msgid ""
"Other options passed to B<dh> are passed on to each command it runs. This "
"can be used to set an option like B<-v> or B<-X> or B<-N>, as well as for "
@@ -2602,13 +2908,13 @@ msgstr ""
"oder B<-N> sowie spezialisiertere Optionen zu setzen."
#. type: =head1
-#: dh:84 dh_installdocs:167 dh_installman:110 dh_link:88 dh_makeshlibs:109
+#: dh:95 dh_installdocs:181 dh_installman:114 dh_link:88 dh_makeshlibs:155
#: dh_shlibdeps:78
msgid "EXAMPLES"
msgstr "BEISPIELE"
#. type: textblock
-#: dh:86
+#: dh:97
msgid ""
"To see what commands are included in a sequence, without actually doing "
"anything:"
@@ -2617,7 +2923,7 @@ msgstr ""
"tatsächlich etwas zu tun, geben Sie Folgendes ein:"
#. type: verbatim
-#: dh:89
+#: dh:100
#, no-wrap
msgid ""
"\tdh binary-arch --no-act\n"
@@ -2627,7 +2933,7 @@ msgstr ""
"\n"
#. type: textblock
-#: dh:91
+#: dh:102
msgid ""
"This is a very simple rules file, for packages where the default sequences "
"of commands work with no additional options."
@@ -2636,7 +2942,7 @@ msgstr ""
"Befehlssequenzen ohne zusätzliche Optionen arbeiten."
#. type: verbatim
-#: dh:94 dh:115 dh:128
+#: dh:105 dh:126 dh:139
#, no-wrap
msgid ""
"\t#!/usr/bin/make -f\n"
@@ -2650,7 +2956,7 @@ msgstr ""
"\n"
#. type: textblock
-#: dh:98
+#: dh:109
msgid ""
"Often you'll want to pass an option to a specific debhelper command. The "
"easy way to do with is by adding an override target for that command."
@@ -2660,7 +2966,7 @@ msgstr ""
"Ziel für diesen Befehl hinzuzufügen."
#. type: verbatim
-#: dh:101 dh:185 dh:196
+#: dh:112 dh:196 dh:207
#, no-wrap
msgid ""
"\t#!/usr/bin/make -f\n"
@@ -2674,7 +2980,7 @@ msgstr ""
"\t\n"
#. type: verbatim
-#: dh:105
+#: dh:116
#, no-wrap
msgid ""
"\toverride_dh_strip:\n"
@@ -2686,7 +2992,7 @@ msgstr ""
"\t\n"
#. type: verbatim
-#: dh:108
+#: dh:119
#, no-wrap
msgid ""
"\toverride_dh_auto_configure:\n"
@@ -2698,7 +3004,7 @@ msgstr ""
"\n"
#. type: textblock
-#: dh:111
+#: dh:122
msgid ""
"Sometimes the automated L<dh_auto_configure(1)> and L<dh_auto_build(1)> "
"can't guess what to do for a strange package. Here's how to avoid running "
@@ -2710,7 +3016,7 @@ msgstr ""
"Befehle ausgeführt werden."
#. type: verbatim
-#: dh:119
+#: dh:130
#, no-wrap
msgid ""
"\toverride_dh_auto_configure:\n"
@@ -2722,7 +3028,7 @@ msgstr ""
"\n"
#. type: verbatim
-#: dh:122
+#: dh:133
#, no-wrap
msgid ""
"\toverride_dh_auto_build:\n"
@@ -2734,7 +3040,7 @@ msgstr ""
"\n"
#. type: textblock
-#: dh:125
+#: dh:136
msgid ""
"Another common case is wanting to do something manually before or after a "
"particular debhelper command is run."
@@ -2743,7 +3049,7 @@ msgstr ""
"besonderen Debhelper-Befehls manuell etwas tun möchten."
#. type: verbatim
-#: dh:132
+#: dh:143
#, no-wrap
msgid ""
"\toverride_dh_fixperms:\n"
@@ -2757,22 +3063,17 @@ msgstr ""
"\n"
#. type: textblock
-#: dh:136
-#, fuzzy
-#| msgid ""
-#| "Python tools are not run by dh by default, due to the continual change in "
-#| "that area. (Before compatibility level v9, dh does run B<dh_pysupport>.) "
-#| "Here is how to use B<dh_python2>."
+#: dh:147
msgid ""
"Python tools are not run by dh by default, due to the continual change in "
"that area. Here is how to use B<dh_python2>."
msgstr ""
"Python-Werkzeuge werden aufgrund ständiger Änderungen in diesem Bereich "
-"nicht standardmäßig von dh ausgeführt. (Vor Kompatibilitätsstufe v9 führt dh "
-"B<dh_pysupport> aus.) Hier wird gezeigt, wie B<dh_python2> benutzt wird."
+"nicht standardmäßig von dh ausgeführt. Hier wird gezeigt, wie B<dh_python2> "
+"benutzt wird."
#. type: verbatim
-#: dh:139
+#: dh:150
#, no-wrap
msgid ""
"\t#!/usr/bin/make -f\n"
@@ -2786,7 +3087,7 @@ msgstr ""
"\n"
#. type: textblock
-#: dh:143
+#: dh:154
msgid ""
"Here is how to force use of Perl's B<Module::Build> build system, which can "
"be necessary if debhelper wrongly detects that the package uses MakeMaker."
@@ -2796,7 +3097,7 @@ msgstr ""
"entdeckt, dass das Programm MakeMaker verwendet."
#. type: verbatim
-#: dh:147
+#: dh:158
#, no-wrap
msgid ""
"\t#!/usr/bin/make -f\n"
@@ -2810,7 +3111,7 @@ msgstr ""
"\n"
#. type: textblock
-#: dh:151
+#: dh:162
msgid ""
"Here is an example of overriding where the B<dh_auto_>I<*> commands find the "
"package's source, for a package where the source is located in a "
@@ -2821,7 +3122,7 @@ msgstr ""
"einem Unterverzeichnis liegt."
#. type: verbatim
-#: dh:155
+#: dh:166
#, no-wrap
msgid ""
"\t#!/usr/bin/make -f\n"
@@ -2835,7 +3136,7 @@ msgstr ""
"\n"
#. type: textblock
-#: dh:159
+#: dh:170
msgid ""
"And here is an example of how to tell the B<dh_auto_>I<*> commands to build "
"in a subdirectory, which will be removed on B<clean>."
@@ -2844,7 +3145,7 @@ msgstr ""
"dass in einem Unterverzeichnis gebaut wird, das mit B<clean> entfernt wird."
#. type: verbatim
-#: dh:162
+#: dh:173
#, no-wrap
msgid ""
"\t#!/usr/bin/make -f\n"
@@ -2858,7 +3159,7 @@ msgstr ""
"\n"
#. type: textblock
-#: dh:166
+#: dh:177
msgid ""
"If your package can be built in parallel, please either use compat 10 or "
"pass B<--parallel> to dh. Then B<dpkg-buildpackage -j> will work."
@@ -2868,7 +3169,7 @@ msgstr ""
"B<dpkg-buildpackage -j> funktionieren."
#. type: verbatim
-#: dh:169
+#: dh:180
#, no-wrap
msgid ""
"\t#!/usr/bin/make -f\n"
@@ -2882,7 +3183,7 @@ msgstr ""
"\n"
#. type: textblock
-#: dh:173
+#: dh:184
msgid ""
"If your package cannot be built reliably while using multiple threads, "
"please pass B<--no-parallel> to dh (or the relevant B<dh_auto_>I<*> command):"
@@ -2892,7 +3193,7 @@ msgstr ""
"zuständigen B<dh_auto_>I<*>-Befehl):"
#. type: verbatim
-#: dh:178
+#: dh:189
#, no-wrap
msgid ""
"\t#!/usr/bin/make -f\n"
@@ -2906,7 +3207,7 @@ msgstr ""
"\n"
#. type: textblock
-#: dh:182
+#: dh:193
msgid ""
"Here is a way to prevent B<dh> from running several commands that you don't "
"want it to run, by defining empty override targets for each command."
@@ -2916,7 +3217,7 @@ msgstr ""
"setzende Ziele für jeden Befehl definieren."
#. type: verbatim
-#: dh:189
+#: dh:200
#, no-wrap
msgid ""
"\t# Commands not to run:\n"
@@ -2928,7 +3229,7 @@ msgstr ""
"\n"
#. type: textblock
-#: dh:192
+#: dh:203
msgid ""
"A long build process for a separate documentation package can be separated "
"out using architecture independent overrides. These will be skipped when "
@@ -2940,7 +3241,7 @@ msgstr ""
"ausgeführt werden."
#. type: verbatim
-#: dh:200
+#: dh:211
#, no-wrap
msgid ""
"\toverride_dh_auto_build-indep:\n"
@@ -2952,7 +3253,7 @@ msgstr ""
"\n"
#. type: verbatim
-#: dh:203
+#: dh:214
#, no-wrap
msgid ""
"\t# No tests needed for docs\n"
@@ -2964,7 +3265,7 @@ msgstr ""
"\n"
#. type: verbatim
-#: dh:206
+#: dh:217
#, no-wrap
msgid ""
"\toverride_dh_auto_install-indep:\n"
@@ -2976,7 +3277,7 @@ msgstr ""
"\n"
#. type: textblock
-#: dh:209
+#: dh:220
msgid ""
"Adding to the example above, suppose you need to chmod a file, but only when "
"building the architecture dependent package, as it's not present when "
@@ -2988,7 +3289,7 @@ msgstr ""
"vorhanden ist."
#. type: verbatim
-#: dh:213
+#: dh:224
#, no-wrap
msgid ""
"\toverride_dh_fixperms-arch:\n"
@@ -3002,12 +3303,12 @@ msgstr ""
"\n"
#. type: =head1
-#: dh:217
+#: dh:228
msgid "INTERNALS"
msgstr "INTERNA"
#. type: textblock
-#: dh:219
+#: dh:230
msgid ""
"If you're curious about B<dh>'s internals, here's how it works under the "
"hood."
@@ -3016,15 +3317,7 @@ msgstr ""
"wie es unter der Haube arbeitet."
#. type: textblock
-#: dh:221
-#, fuzzy
-#| msgid ""
-#| "In compat 10 (or later), B<dh> creates a stamp file F<debian/debhelper-"
-#| "build-stamp> after the build step(s) are complete to avoid re-running "
-#| "them. Inside an override target, B<dh_*> commands will create a log file "
-#| "F<debian/package.debhelper.log> to keep track of which packages the "
-#| "command(s) have been run for. These log files are then removed once the "
-#| "override target is complete."
+#: dh:232
msgid ""
"In compat 10 (or later), B<dh> creates a stamp file F<debian/debhelper-build-"
"stamp> after the build step(s) are complete to avoid re-running them. It is "
@@ -3033,40 +3326,30 @@ msgid ""
"expect at the expense of possibly running the build and test twice (the "
"second time as root or under L<fakeroot(1)>)."
msgstr ""
-"Im Kompatibilitätsmodus 10 (oder neuer) erzeugt B<dh> eine Stempeldatei "
+"Im Kompatibilitätsmodus 10 (oder höher) erzeugt B<dh> eine Stempeldatei "
"F<debian/debhelper-build-stamp>, nachdem die Bauschritte abgeschlossen sind, "
-"um ein erneutes Ausführen zu vermeiden. Innerhalb eines außer Kraft "
-"setzenden Ziels werden B<dh_*>-Befehle eine F<debian/package.debhelper.log>-"
-"Protokolldatei erzeugen, um den Überblick zu behalten, für welche Pakete die "
-"Befehle ausgeführt wurden. Diese Protokolldateien werden entfernt, sobald "
-"die außer Kraft setzenden Ziele erledigt sind."
+"um ein erneutes Ausführen zu vermeiden. Es ist möglich, die Stempeldatei zu "
+"vermeiden, indem B<--without=build-stamp> an B<dh> übergeben wird. Dies "
+"sorgt dafür, dass »unsauber« gebaute Pakete sich eher so verhalten, wie es "
+"manche Leute erwarten. Allerdings wird der Bau und das Testen möglicherweise "
+"zweimal ausgeführt (das zweite Mal als Root oder unter L<fakeroot(1)>)."
#. type: textblock
-#: dh:229
-#, fuzzy
-#| msgid ""
-#| "In compat 10 (or later), B<dh> creates a stamp file F<debian/debhelper-"
-#| "build-stamp> after the build step(s) are complete to avoid re-running "
-#| "them. Inside an override target, B<dh_*> commands will create a log file "
-#| "F<debian/package.debhelper.log> to keep track of which packages the "
-#| "command(s) have been run for. These log files are then removed once the "
-#| "override target is complete."
+#: dh:240
msgid ""
"Inside an override target, B<dh_*> commands will create a log file F<debian/"
"package.debhelper.log> to keep track of which packages the command(s) have "
"been run for. These log files are then removed once the override target is "
"complete."
msgstr ""
-"Im Kompatibilitätsmodus 10 (oder neuer) erzeugt B<dh> eine Stempeldatei "
-"F<debian/debhelper-build-stamp>, nachdem die Bauschritte abgeschlossen sind, "
-"um ein erneutes Ausführen zu vermeiden. Innerhalb eines außer Kraft "
-"setzenden Ziels werden B<dh_*>-Befehle eine F<debian/package.debhelper.log>-"
-"Protokolldatei erzeugen, um den Überblick zu behalten, für welche Pakete die "
-"Befehle ausgeführt wurden. Diese Protokolldateien werden entfernt, sobald "
-"die außer Kraft setzenden Ziele erledigt sind."
+"Innerhalb eines außer Kraft setzenden Ziels werden B<dh_*>-Befehle eine "
+"F<debian/package.debhelper.log>-Protokolldatei erzeugen, um den Überblick zu "
+"behalten, für welche Pakete die Befehle ausgeführt wurden. Diese "
+"Protokolldateien werden entfernt, sobald die außer Kraft setzenden Ziele "
+"erledigt sind."
#. type: textblock
-#: dh:234
+#: dh:245
msgid ""
"In compat 9 or earlier, each debhelper command will record when it's "
"successfully run in F<debian/package.debhelper.log>. (Which B<dh_clean> "
@@ -3080,7 +3363,7 @@ msgstr ""
"Ausführung dieser Befehle überspringen."
#. type: textblock
-#: dh:239
+#: dh:250
msgid ""
"Each time B<dh> is run (in compat 9 or earlier), it examines the log, and "
"finds the last logged command that is in the specified sequence. It then "
@@ -3096,7 +3379,7 @@ msgstr ""
"Kompatibilitätsmodus 10 entfernt wurden)."
#. type: textblock
-#: dh:245
+#: dh:256
msgid ""
"A sequence can also run dependent targets in debian/rules. For example, the "
"\"binary\" sequence runs the \"install\" target."
@@ -3105,7 +3388,7 @@ msgstr ""
"Sequenz »binary« führt zum Beispiel das Ziel »install« aus."
#. type: textblock
-#: dh:248
+#: dh:259
msgid ""
"B<dh> uses the B<DH_INTERNAL_OPTIONS> environment variable to pass "
"information through to debhelper commands that are run inside override "
@@ -3118,7 +3401,7 @@ msgstr ""
"ist, wie der Name schon andeutet, Gegenstand dauernder Änderungen."
#. type: textblock
-#: dh:253
+#: dh:264
msgid ""
"Commands in the B<build-indep>, B<install-indep> and B<binary-indep> "
"sequences are passed the B<-i> option to ensure they only work on "
@@ -3134,12 +3417,12 @@ msgstr ""
"architekturabhängigen Paketen funktionieren."
#. type: =head1
-#: dh:259
+#: dh:270
msgid "DEPRECATED OPTIONS"
msgstr "MISSBILLIGTE OPTIONEN"
#. type: textblock
-#: dh:261
+#: dh:272
msgid ""
"The following options are deprecated. It's much better to use override "
"targets instead. They are B<not> available in compat 10."
@@ -3149,49 +3432,49 @@ msgstr ""
"Kompatibilitätsmodus 10 verfügbar."
#. type: =item
-#: dh:267
+#: dh:278
msgid "B<--until> I<cmd>"
msgstr "B<--until> I<Befehl>"
#. type: textblock
-#: dh:269
+#: dh:280
msgid "Run commands in the sequence until and including I<cmd>, then stop."
msgstr ""
"führt Befehle in der Sequenz bis einschließlich I<Befehl> aus und stoppt "
"dann."
#. type: =item
-#: dh:271
+#: dh:282
msgid "B<--before> I<cmd>"
msgstr "B<--before> I<Befehl>"
#. type: textblock
-#: dh:273
+#: dh:284
msgid "Run commands in the sequence before I<cmd>, then stop."
msgstr "führt Befehle in der Sequenz vor I<Befehl> aus und stoppt dann."
#. type: =item
-#: dh:275
+#: dh:286
msgid "B<--after> I<cmd>"
msgstr "B<--after> I<Befehl>"
#. type: textblock
-#: dh:277
+#: dh:288
msgid "Run commands in the sequence that come after I<cmd>."
msgstr "führt Befehle in der Sequenz aus, die nach I<Befehl> kommen."
#. type: =item
-#: dh:279
+#: dh:290
msgid "B<--remaining>"
msgstr "B<--remaining>"
#. type: textblock
-#: dh:281
+#: dh:292
msgid "Run all commands in the sequence that have yet to be run."
msgstr "führt alle Befehle in der Sequenz aus, die noch auszuführen sind."
#. type: textblock
-#: dh:285
+#: dh:296
msgid ""
"In the above options, I<cmd> can be a full name of a debhelper command, or a "
"substring. It'll first search for a command in the sequence exactly matching "
@@ -3205,19 +3488,20 @@ msgstr ""
"der letzte in der Sequenz benutzt."
#. type: textblock
-#: dh:1117 dh_auto_build:57 dh_auto_clean:59 dh_auto_configure:62
-#: dh_auto_install:101 dh_auto_test:68 dh_bugfiles:139 dh_builddeb:187
-#: dh_clean:188 dh_compress:241 dh_fixperms:166 dh_gconf:105 dh_gencontrol:203
-#: dh_icons:79 dh_install:367 dh_installchangelogs:247 dh_installcron:82
-#: dh_installdeb:221 dh_installdebconf:132 dh_installdirs:101
-#: dh_installdocs:431 dh_installemacsen:142 dh_installexamples:175
-#: dh_installifupdown:76 dh_installinfo:103 dh_installinit:374
-#: dh_installlogrotate:57 dh_installman:362 dh_installmanpages:202
-#: dh_installmenu:94 dh_installmime:67 dh_installmodules:113 dh_installpam:66
-#: dh_installppp:72 dh_installudev:104 dh_installwm:126 dh_installxfonts:96
-#: dh_link:167 dh_lintian:64 dh_listpackages:37 dh_makeshlibs:295
-#: dh_md5sums:113 dh_movefiles:165 dh_perl:163 dh_prep:74 dh_shlibdeps:205
-#: dh_strip:421 dh_testdir:67 dh_testroot:78 dh_usrlocal:136
+#: dh:1097 dh_auto_build:57 dh_auto_clean:59 dh_auto_configure:62
+#: dh_auto_install:101 dh_auto_test:68 dh_bugfiles:139 dh_builddeb:186
+#: dh_clean:189 dh_compress:240 dh_dwz:145 dh_fixperms:166 dh_gconf:105
+#: dh_gencontrol:211 dh_icons:79 dh_install:354 dh_installchangelogs:304
+#: dh_installcron:82 dh_installdeb:270 dh_installdebconf:132 dh_installdirs:132
+#: dh_installdocs:448 dh_installemacsen:142 dh_installexamples:179
+#: dh_installifupdown:76 dh_installinfo:111 dh_installinit:410
+#: dh_installinitramfs:92 dh_installlogrotate:57 dh_installman:366
+#: dh_installmanpages:202 dh_installmenu:94 dh_installmime:67
+#: dh_installmodules:113 dh_installpam:66 dh_installppp:72 dh_installudev:104
+#: dh_installwm:131 dh_installxfonts:100 dh_link:167 dh_lintian:64
+#: dh_listpackages:39 dh_makeshlibs:359 dh_md5sums:121 dh_movefiles:165
+#: dh_perl:163 dh_prep:74 dh_shlibdeps:203 dh_strip:430 dh_testdir:67
+#: dh_testroot:95 dh_usrlocal:140
msgid "This program is a part of debhelper."
msgstr "Dieses Programm ist Teil von Debhelper."
@@ -3275,8 +3559,8 @@ msgstr ""
#. type: =item
#: dh_auto_build:39 dh_auto_clean:40 dh_auto_configure:42 dh_auto_install:59
-#: dh_auto_test:41 dh_builddeb:48 dh_gencontrol:42 dh_installdebconf:72
-#: dh_installinit:148 dh_makeshlibs:103 dh_shlibdeps:41
+#: dh_auto_test:41 dh_builddeb:48 dh_dwz:50 dh_gencontrol:42
+#: dh_installdebconf:72 dh_installinit:167 dh_makeshlibs:149 dh_shlibdeps:41
msgid "B<--> I<params>"
msgstr "B<--> I<Parameter>"
@@ -3603,13 +3887,14 @@ msgstr ""
#. type: =head1
#: dh_bugfiles:25 dh_clean:34 dh_compress:35 dh_gconf:26 dh_install:40
-#: dh_installcatalogs:39 dh_installchangelogs:38 dh_installcron:24
-#: dh_installdeb:25 dh_installdebconf:37 dh_installdirs:28 dh_installdocs:36
-#: dh_installemacsen:30 dh_installexamples:27 dh_installifupdown:25
-#: dh_installinfo:24 dh_installinit:36 dh_installlogcheck:24 dh_installman:69
-#: dh_installmenu:28 dh_installmime:24 dh_installmodules:31 dh_installpam:24
-#: dh_installppp:24 dh_installudev:24 dh_installwm:28 dh_link:46 dh_lintian:24
-#: dh_makeshlibs:29 dh_movefiles:29 dh_systemd_enable:41
+#: dh_installcatalogs:39 dh_installchangelogs:49 dh_installcron:24
+#: dh_installdeb:25 dh_installdebconf:37 dh_installdirs:28 dh_installdocs:40
+#: dh_installemacsen:30 dh_installexamples:31 dh_installifupdown:25
+#: dh_installinfo:28 dh_installinit:41 dh_installinitramfs:30
+#: dh_installlogcheck:24 dh_installman:73 dh_installmenu:28 dh_installmime:24
+#: dh_installmodules:31 dh_installpam:24 dh_installppp:24 dh_installudev:24
+#: dh_installwm:28 dh_link:46 dh_lintian:24 dh_makeshlibs:29 dh_movefiles:29
+#: dh_systemd_enable:41
msgid "FILES"
msgstr "DATEIEN"
@@ -3738,6 +4023,8 @@ msgid ""
"When the I<Rules-Requires-Root> field is not (effectively) I<binary-"
"targets>, B<dh_builddeb> will pass B<--root-owner-group> to L<dpkg-deb(1)>."
msgstr ""
+"Wenn dass Feld I<Rules-Requires-Root> nicht (tatsächlich) I<binary-targets> "
+"ist, wird B<dh_builddeb> B<--root-owner-group> an L<dpkg-deb(1)> übergeben."
#. type: textblock
#: dh_builddeb:40
@@ -3858,7 +4145,7 @@ msgstr ""
"ebenfalls entfernt."
#. type: =item
-#: dh_clean:51 dh_installchangelogs:66
+#: dh_clean:51 dh_installchangelogs:77
msgid "B<-k>, B<--keep>"
msgstr "B<-k>, B<--keep>"
@@ -3869,10 +4156,8 @@ msgstr "Dies ist veraltet, benutzen Sie stattdessen L<dh_prep(1)>."
#. type: textblock
#: dh_clean:55
-#, fuzzy
-#| msgid "The option is removed in compat 11."
msgid "The option is removed in compat 12."
-msgstr "Die Option wurde in Kompatibilitätsstufe 11 entfernt."
+msgstr "Die Option wurde in Kompatibilitätsstufe 12 entfernt."
#. type: =item
#: dh_clean:57
@@ -3929,7 +4214,7 @@ msgstr ""
msgid ""
"dh_compress - compress files and fix symlinks in package build directories"
msgstr ""
-"dh_compress - komprimiert Dateien und feste symbolische Verweise in "
+"dh_compress - komprimiert Dateien und feste symbolische Links in "
"Bauverzeichnissen von Paketen"
#. type: textblock
@@ -3951,7 +4236,7 @@ msgid ""
msgstr ""
"B<dh_compress> ist ein Debhelper-Programm, das für das Komprimieren von "
"Dateien in Bauverzeichnissen von Paketen zuständig ist und sicherstellt, "
-"dass jegliche symbolischen Verweise, die vor dem Komprimieren auf Dateien "
+"dass jegliche symbolischen Links, die vor dem Komprimieren auf Dateien "
"zeigten, aktualisiert werden, damit sie auf die neuen Dateien zeigen."
#. type: textblock
@@ -4023,7 +4308,7 @@ msgstr ""
"Paketen, auf die es sich auswirken wird."
#. type: =item
-#: dh_compress:68 dh_installdocs:160 dh_installexamples:78 dh_installinfo:53
+#: dh_compress:68 dh_installdocs:174 dh_installexamples:82 dh_installinfo:57
#: dh_installmanpages:47 dh_movefiles:58 dh_testdir:30
msgid "I<file> ..."
msgstr "<I<Datei> …"
@@ -4035,7 +4320,7 @@ msgstr ""
"fügt diese Dateien zu der Liste der Dateien hinzu, die komprimiert werden"
#. type: =head1
-#: dh_compress:74 dh_perl:64 dh_strip:133 dh_usrlocal:65
+#: dh_compress:74 dh_perl:64 dh_strip:133 dh_usrlocal:66
msgid "CONFORMS TO"
msgstr "KONFORM ZU"
@@ -4045,6 +4330,105 @@ msgid "Debian policy, version 3.0"
msgstr "Debian-Richtlinie, Version 3.0"
#. type: textblock
+#: dh_dwz:5
+msgid "dh_dwz - optimize DWARF debug information in ELF binaries via dwz"
+msgstr ""
+
+#. type: textblock
+#: dh_dwz:18
+#, fuzzy
+#| msgid ""
+#| "B<dh_installdebconf> [S<I<debhelper options>>] [B<-n>] [S<B<--> "
+#| "I<params>>]"
+msgid "B<dh_dwz> [S<I<debhelper options>>] [B<-X>I<item>] [S<B<--> I<params>>]"
+msgstr ""
+"B<dh_installdebconf> [S<I<Debhelper-Optionen>>] [B<-n>] [S<B<--> "
+"I<Parameter>>]"
+
+#. type: textblock
+#: dh_dwz:22
+msgid ""
+"B<dh_dwz> is a debhelper program that will optimize the (uncompressed) size "
+"of the DWARF debug information in ELF binaries. It does so by running "
+"L<dwz(1)> on all the ELF binaries in the package."
+msgstr ""
+
+#. type: =item
+#: dh_dwz:30
+msgid "B<--dwz-multifile>, B<--no-dwz-multifile>"
+msgstr ""
+
+#. type: textblock
+#: dh_dwz:32
+msgid ""
+"Whether L<dwz(1)> should generate a I<multifile> from the ELF binaries in "
+"the same package (it does by default). When enabled, if a package ships at "
+"least 2 ELF binaries, B<dh_dwz> will instruct L<dwz(1)> to generate a "
+"multifile for the package."
+msgstr ""
+
+#. type: textblock
+#: dh_dwz:37
+msgid ""
+"Note this options may not work if a package contains more ELF binaries than "
+"can fit on a single command line. If this becomes a problem, please pass "
+"B<--no-dwz-multifile> to work around the issue."
+msgstr ""
+
+#. type: textblock
+#: dh_dwz:41
+msgid ""
+"The generated multifile will be compressed with B<objcopy --compress-debug-"
+"sections>."
+msgstr ""
+
+#. type: textblock
+#: dh_dwz:46 dh_strip:44
+msgid ""
+"Exclude files that contain I<item> anywhere in their filename from being "
+"stripped. You may use this option multiple times to build up a list of "
+"things to exclude."
+msgstr ""
+"schließt Dateien vom Entfernen der Symbole aus, die irgendwo in ihrem "
+"Dateinamen I<Element> enthalten. Sie können diese Option mehrfach benutzen, "
+"um eine Liste auszuschließender Dinge zu erstellen."
+
+#. type: textblock
+#: dh_dwz:52
+msgid ""
+"Pass I<params> to L<dwz(1)> when it processes ELF binaries. This is mostly "
+"useful for setting memory related parameters (e.g. -l and -L)."
+msgstr ""
+
+#. type: textblock
+#: dh_dwz:59
+#, fuzzy
+#| msgid ""
+#| "If the B<DEB_BUILD_OPTIONS> environment variable contains B<nostrip>, "
+#| "nothing will be stripped, in accordance with Debian policy (section 10.1 "
+#| "\"Binaries\"). This will also inhibit the automatic creation of debug "
+#| "symbol packages."
+msgid ""
+"If the B<DEB_BUILD_OPTIONS> environment variable contains B<nostrip>, "
+"nothing will be stripped, in accordance with Debian policy (section 10.1 "
+"\"Binaries\")."
+msgstr ""
+"Falls die Umgebungsvariable B<DEB_BUILD_OPTIONS> B<nostrip> enthält, werden "
+"getreu der Debian-Richlinie (Abschnitt 10.1. »Binaries«) keine Symbole "
+"entfernt. Dies wird auch das Erstellen automatischer Fehlersuch-Symbolpakete "
+"verhindern."
+
+#. type: textblock
+#: dh_dwz:63
+msgid ""
+"While this tool technically does not remove debug information from binaries, "
+"it is still skipped when the B<DEB_BUILD_OPTIONS> environment variable "
+"contains B<nostrip>. This is because B<nostrip> is often used to optimize "
+"build times (e.g. for \"build and test\"-cycles) rather than optimizing for "
+"size."
+msgstr ""
+
+#. type: textblock
#: dh_fixperms:5
msgid "dh_fixperms - fix permissions of files in package build directories"
msgstr ""
@@ -4069,17 +4453,6 @@ msgstr ""
#. type: textblock
#: dh_fixperms:26
-#, fuzzy
-#| msgid ""
-#| "B<dh_fixperms> makes all files in F<usr/share/doc> in the package build "
-#| "directory (excluding files in the F<examples/> directory) be mode 644. It "
-#| "also changes the permissions of all man pages to mode 644. It makes all "
-#| "files be owned by root, and it removes group and other write permission "
-#| "from all files. It removes execute permissions from any libraries, "
-#| "headers, Perl modules, or desktop files that have it set. It makes all "
-#| "files in the standard F<bin> and F<sbin> directories, F<usr/games/> and "
-#| "F<etc/init.d> executable (since v4). Finally, it removes the setuid and "
-#| "setgid bits from all files in the package."
msgid ""
"B<dh_fixperms> makes all files in F<usr/share/doc> in the package build "
"directory (excluding files in the F<examples/> directory) be mode 644. It "
@@ -4093,12 +4466,12 @@ msgstr ""
"B<dh_fixperms> gibt allen Dateien in F<usr/share/doc> im Bauverzeichnis des "
"Pakets (ausgenommen Dateien im Verzeichnis F<examples/>) die Rechte-Bits "
"644. Es ändert außerdem die Rechte-Bits aller Handbuchseiten auf 644. Es "
-"gibt Root die Besitzrechte und entfernt Schreibrechte von Gruppen und "
-"Anderen von allen Dateien. Es entfernt Ausführungsrechte von jeglichen "
-"Bibliotheken, Headern, Perl-Modulen oder Desktop-Dateien, bei denen sie "
-"gesetzt sind. Es macht alle Dateien in den Verzeichnissen F<bin>, F<sbin>, "
-"<usr/games/> und F<etc/init.d> ausführbar (seit v4). Am Ende entfernt es die "
-"Setuid- und Setgid-Bits von allen Dateien im Paket."
+"entfernt Schreibrechte von Gruppen und Anderen von allen Dateien. Es "
+"entfernt Ausführungsrechte von jeglichen Bibliotheken, Headern, Perl-Modulen "
+"oder Desktop-Dateien, bei denen sie gesetzt sind. Es macht alle Dateien in "
+"den Verzeichnissen F<bin>, F<sbin>, <usr/games/> und F<etc/init.d> "
+"ausführbar (seit v4). Am Ende entfernt es die Setuid- und Setgid-Bits von "
+"allen Dateien im Paket."
#. type: textblock
#: dh_fixperms:36
@@ -4107,6 +4480,9 @@ msgid ""
"targets>, B<dh_fixperms> will also reset the ownership of all paths to "
"\"root:root\"."
msgstr ""
+"Wenn das Feld I<Rules-Requires-Root> den (tatsächlichen) Wert von I<binary-"
+"targets> hat, wird B<dh_fixperms> auch den Eigentümer an allen Pfaden auf "
+"»root:root« zurücksetzen."
#. type: =item
#: dh_fixperms:44
@@ -4311,8 +4687,8 @@ msgstr ""
#. type: =item
#: dh_icons:37 dh_installcatalogs:57 dh_installdebconf:68 dh_installemacsen:60
-#: dh_installinit:77 dh_installmenu:48 dh_installmodules:45 dh_installwm:48
-#: dh_makeshlibs:86 dh_usrlocal:53
+#: dh_installinit:82 dh_installinitramfs:47 dh_installmenu:48
+#: dh_installmodules:45 dh_installwm:48 dh_makeshlibs:132 dh_usrlocal:54
msgid "B<-n>, B<--no-scripts>"
msgstr "B<-n>, B<--no-scripts>"
@@ -4391,9 +4767,15 @@ msgstr ""
#. type: textblock
#: dh_install:36
+#, fuzzy
+#| msgid ""
+#| "From debhelper compatibility level 7 on, B<dh_install> will fall back to "
+#| "looking in F<debian/tmp> for files, if it doesn't find them in the "
+#| "current directory (or wherever you've told it to look using B<--"
+#| "sourcedir>)."
msgid ""
"From debhelper compatibility level 7 on, B<dh_install> will fall back to "
-"looking in F<debian/tmp> for files, if it doesn't find them in the current "
+"looking in F<debian/tmp> for files, if it does not find them in the current "
"directory (or wherever you've told it to look using B<--sourcedir>)."
msgstr ""
"Ab Debhelper-Kompatibilitätsstufe 7 wird B<dh_install> in F<debian/tmp> nach "
@@ -4407,16 +4789,6 @@ msgstr "debian/I<Paket>.install"
#. type: textblock
#: dh_install:46
-#, fuzzy
-#| msgid ""
-#| "List the files to install into each package and the directory they should "
-#| "be installed to. The format is a set of lines, where each line lists a "
-#| "file or files to install, and at the end of the line tells the directory "
-#| "it should be installed in. The name of the files (or directories) to "
-#| "install should be given relative to the current directory, while the "
-#| "installation directory is given relative to the package build directory. "
-#| "You may use wildcards in the names of the files to install (in v3 mode "
-#| "and above)."
msgid ""
"List the files to install into each package and the directory they should be "
"installed to. The format is a set of lines, where each line lists a file or "
@@ -4434,7 +4806,7 @@ msgstr ""
"zum aktuellen Verzeichnis angegeben werden, während das "
"Installationsverzeichnis relativ zum Bauverzeichnis des Pakets angegeben "
"wird. Sie können Platzhalter in den Namen der zu installierenden Dateien "
-"benutzen (im Modus v3 und darüber)."
+"benutzen."
#. type: textblock
#: dh_install:54
@@ -4456,113 +4828,52 @@ msgstr "debian/not-installed"
#. type: textblock
#: dh_install:61
msgid ""
-"List the files that are deliberately not installed in I<any> binary "
-"package. Paths listed in this file are (I<only>) ignored by the check done "
-"via B<--list-missing> (or B<--fail-missing>). However, it is B<not> a "
-"method to exclude files from being installed. Please use B<--exclude> for "
-"that."
+"Used with the deprecated B<--list-missing> and B<--fail-missing> options. "
+"Please refer to L<dh_missing(1)> for the documentation of this file."
msgstr ""
-"listet die Dateien auf, die absichtlich in keinem Binärpaket installiert "
-"sind. Pfade, die in dieser Datei aufgeführt werden, werden (I<nur>) bei der "
-"Prüfung per B<--list-missing> (oder B<--fail-missing>) ignoriert. Es ist "
-"jedoch B<keine> Methode, um die Installation von Dateien zu verhindern. "
-"Bitte verwenden zu hierfür B<--exclude>."
-
-#. type: textblock
-#: dh_install:67
-msgid ""
-"Please keep in mind that dh_install will B<not> expand wildcards in this "
-"file."
-msgstr ""
-"Bitte vergessen Sie nicht, dass Dh_install Platzhalter in dieser Datei "
-"B<nicht> expandiert."
#. type: =item
-#: dh_install:76
+#: dh_install:70
msgid "B<--list-missing>"
msgstr "B<--list-missing>"
#. type: textblock
-#: dh_install:78
-msgid "B<Deprecated>: Please use B<dh_missing --list-missing> instead."
-msgstr ""
-
-#. type: textblock
-#: dh_install:80
+#: dh_install:72
msgid ""
-"This option makes B<dh_install> keep track of the files it installs, and "
-"then at the end, compare that list with the files in the source directory. "
-"If any of the files (and symlinks) in the source directory were not "
-"installed to somewhere, it will warn on stderr about that."
+"B<Deprecated>: Please use B<dh_missing --list-missing> instead. If you use "
+"this option, B<dh_install> will call B<dh_missing> with that option after it "
+"has processed all the files. Please see L<dh_missing(1)> for the "
+"documentation of this option."
msgstr ""
-"Diese Option veranlasst B<dh_install>, aufzuzeichnen, welche Dateien es "
-"installiert und diese Liste am Ende mit den Dateien im Quellverzeichnis zu "
-"vergleichen. Falls irgendwelche der Dateien (oder symbolischen Verweise) "
-"nicht irgendwo im Quellverzeichnis installiert wurden, wird es diesbezüglich "
-"auf der Standardfehlerausgabe warnen."
-
-#. type: textblock
-#: dh_install:85
-msgid ""
-"This may be useful if you have a large package and want to make sure that "
-"you don't miss installing newly added files in new upstream releases."
-msgstr ""
-"Dies könnte nützlich sein, falls Sie ein großes Paket haben und "
-"sicherstellen möchten, dass Sie keine neu hinzugefügten Dateien in neuen "
-"Veröffentlichungen der Originalautoren übersehen."
-
-#. type: textblock
-#: dh_install:88
-msgid ""
-"Note that files that are excluded from being moved via the B<-X> option are "
-"not warned about."
-msgstr ""
-"Beachten Sie, dass nicht bezüglich Dateien gewarnt wird, die mittels der "
-"Option B<-X> ausgeschlossen wurden."
#. type: =item
-#: dh_install:91
+#: dh_install:79
msgid "B<--fail-missing>"
msgstr "B<--fail-missing>"
#. type: textblock
-#: dh_install:93
-msgid "B<Deprecated>: Please use B<dh_missing --fail-missing> instead."
-msgstr ""
-
-#. type: textblock
-#: dh_install:95
+#: dh_install:81
msgid ""
-"This option is like B<--list-missing>, except if a file was missed, it will "
-"not only list the missing files, but also fail with a nonzero exit code."
+"B<Deprecated>: Please use B<dh_missing --fail-missing> instead. If you use "
+"this option, B<dh_install> will call B<dh_missing> with that option after it "
+"has processed all the files. Please see L<dh_missing(1)> for the "
+"documentation of this option."
msgstr ""
-"Diese Option ist wie B<--list-missing>, außer dass sie, wenn eine Datei "
-"fehlt, nicht nur die fehlenden Dateien auflistet, sondern auch mit einem "
-"Rückgabewert ungleich Null fehlschlägt."
-
-#. type: textblock
-#: dh_install:100 dh_installexamples:75
-msgid ""
-"Exclude files that contain I<item> anywhere in their filename from being "
-"installed."
-msgstr ""
-"schließt Dateien von der Installation aus, die irgendwo in ihrem Dateinamen "
-"I<Element> enthalten"
#. type: =item
-#: dh_install:103 dh_installexamples:46 dh_installinfo:43 dh_installman:93
-#: dh_movefiles:45
+#: dh_install:88 dh_installdirs:59 dh_installdocs:104 dh_installexamples:50
+#: dh_installinfo:47 dh_installman:97 dh_movefiles:45
msgid "B<--sourcedir=>I<dir>"
msgstr "B<--sourcedir=>I<Verz>"
#. type: textblock
-#: dh_install:105
+#: dh_install:90
msgid "Look in the specified directory for files to be installed."
msgstr ""
"sucht im angegebenen Verzeichnis nach Dateien, die installiert werden sollen."
#. type: textblock
-#: dh_install:107
+#: dh_install:92
msgid ""
"Note that this is not the same as the B<--sourcedirectory> option used by "
"the B<dh_auto_>I<*> commands. You rarely need to use this option, since "
@@ -4576,12 +4887,12 @@ msgstr ""
"sucht."
#. type: =item
-#: dh_install:112
+#: dh_install:97
msgid "B<--autodest>"
msgstr "B<--autodest>"
#. type: textblock
-#: dh_install:114
+#: dh_install:99
msgid ""
"Guess as the destination directory to install things to. If this is "
"specified, you should not list destination directories in F<debian/package."
@@ -4594,7 +4905,7 @@ msgstr ""
"B<dh_install> wie folgt raten:"
#. type: textblock
-#: dh_install:119
+#: dh_install:104
msgid ""
"Strip off F<debian/tmp> (or the sourcedir if one is given) from the front of "
"the filename, if it is present, and install into the dirname of the "
@@ -4610,12 +4921,12 @@ msgstr ""
"nach F<debian/Paket/etc/> kopiert."
#. type: =item
-#: dh_install:125
+#: dh_install:110
msgid "I<file|dir> ... I<destdir>"
msgstr "<I<Datei|Verz> … I<Zielverz>"
#. type: textblock
-#: dh_install:127
+#: dh_install:112
msgid ""
"Lists files (or directories) to install and where to install them to. The "
"files will be installed into the first package F<dh_install> acts on."
@@ -4625,12 +4936,12 @@ msgstr ""
"installiert, auf das sich F<dh_install> auswirkt."
#. type: =head1
-#: dh_install:338
+#: dh_install:325
msgid "LIMITATIONS"
msgstr "EINSCHRÄNKUNGEN"
#. type: textblock
-#: dh_install:340
+#: dh_install:327
msgid ""
"B<dh_install> cannot rename files or directories, it can only install them "
"with the names they already have into wherever you want in the package build "
@@ -4641,7 +4952,7 @@ msgstr ""
"installieren, wo Sie es wünschen."
#. type: textblock
-#: dh_install:344
+#: dh_install:331
msgid ""
"However, renaming can be achieved by using B<dh-exec> with compatibility "
"level 9 or later. An example debian/I<package>.install file using B<dh-"
@@ -4652,7 +4963,7 @@ msgstr ""
"install-Beispieldatei, die B<dh-exec> verwendet, könnte wie folgt aussehen:"
#. type: verbatim
-#: dh_install:348
+#: dh_install:335
#, no-wrap
msgid ""
" #!/usr/bin/dh-exec\n"
@@ -4664,12 +4975,12 @@ msgstr ""
"\n"
#. type: textblock
-#: dh_install:351
+#: dh_install:338
msgid "Please remember the following three things:"
msgstr "Bitte vergessen Sie nicht die folgenden drei Dinge:"
#. type: =item
-#: dh_install:355
+#: dh_install:342
msgid ""
"* The package must be using compatibility level 9 or later (see "
"L<debhelper(7)>)"
@@ -4678,12 +4989,12 @@ msgstr ""
"L<debhelper(7)>)."
#. type: =item
-#: dh_install:357
+#: dh_install:344
msgid "* The package will need a build-dependency on dh-exec."
msgstr "* Das Paket muss eine Bauabhängigkeit zu Dh-exec haben."
#. type: =item
-#: dh_install:359
+#: dh_install:346
msgid "* The install file must be marked as executable."
msgstr "* Die Installationsdatei muss als ausführbar markiert sein."
@@ -4770,8 +5081,9 @@ msgstr ""
"Aktivierungsauslöser hinzugefügt."
#. type: textblock
-#: dh_installcatalogs:66 dh_installemacsen:77 dh_installinit:185
-#: dh_installmodules:59 dh_installudev:52 dh_installwm:60 dh_usrlocal:61
+#: dh_installcatalogs:66 dh_installemacsen:77 dh_installinit:207
+#: dh_installinitramfs:55 dh_installmodules:59 dh_installudev:52
+#: dh_installwm:65 dh_usrlocal:62
msgid ""
"Note that this command is not idempotent. L<dh_prep(1)> should be called "
"between invocations of this command. Otherwise, it may cause multiple "
@@ -4820,10 +5132,16 @@ msgstr ""
#. type: textblock
#: dh_installchangelogs:24
+#, fuzzy
+#| msgid ""
+#| "An upstream F<changelog> file may be specified as an option. If none is "
+#| "specified, it looks for files with names that seem likely to be "
+#| "changelogs. (In compatibility level 7 and above.)"
msgid ""
"An upstream F<changelog> file may be specified as an option. If none is "
-"specified, it looks for files with names that seem likely to be changelogs. "
-"(In compatibility level 7 and above.)"
+"specified, B<dh_installchangelogs> may look for files with names that seem "
+"likely to be changelogs as described in the next paragraphs (assuming the "
+"package is using compatibility level 7 or above)."
msgstr ""
"Optional könnte eine F<changelog>-Datei der Originalautoren angegeben "
"werden. Falls keine angegeben wurde, sucht es nach Dateien mit Namen, die "
@@ -4831,7 +5149,20 @@ msgstr ""
"darüber)."
#. type: textblock
-#: dh_installchangelogs:28
+#: dh_installchangelogs:29
+msgid ""
+"In non-native packages, B<dh_installchangelogs> will first look for "
+"changelog files installed by the upstream build system into F<< usr/share/"
+"doc/I<package> >> (of the package build directory) and rename the most "
+"likely candidate (if any) to F<< usr/share/doc/I<package>/changelog >>. "
+"Note that B<dh_installchangelogs> does I<not> look into any source directory "
+"(such as F<debian/tmp>). Otherwise, B<dh_installchangelogs> (at "
+"compatibility level 7 or any later) will look for changelog files in the "
+"source directory (e.g. the root or the F<docs> subdirectory)."
+msgstr ""
+
+#. type: textblock
+#: dh_installchangelogs:39
msgid ""
"If there is an upstream F<changelog> file, it will be installed as F<usr/"
"share/doc/package/changelog> in the package build directory."
@@ -4840,14 +5171,22 @@ msgstr ""
"Paketbauverzeichnis als F<usr/share/doc/Paket/changelog> installiert."
#. type: textblock
-#: dh_installchangelogs:31
-msgid ""
-"If the upstream changelog is an F<html> file (determined by file extension), "
-"it will be installed as F<usr/share/doc/package/changelog.html> instead. If "
-"the html changelog is converted to plain text, that variant can be specified "
-"as a second upstream changelog file. When no plain text variant is "
-"specified, a short F<usr/share/doc/package/changelog> is generated, pointing "
-"readers at the html changelog file."
+#: dh_installchangelogs:42
+#, fuzzy
+#| msgid ""
+#| "If the upstream changelog is an F<html> file (determined by file "
+#| "extension), it will be installed as F<usr/share/doc/package/changelog."
+#| "html> instead. If the html changelog is converted to plain text, that "
+#| "variant can be specified as a second upstream changelog file. When no "
+#| "plain text variant is specified, a short F<usr/share/doc/package/"
+#| "changelog> is generated, pointing readers at the html changelog file."
+msgid ""
+"If the specified upstream changelog is an F<html> file (determined by file "
+"extension), it will be installed as F<usr/share/doc/package/changelog.html> "
+"instead. If the html changelog is converted to plain text, that variant can "
+"be specified as a second upstream changelog file. When no plain text variant "
+"is specified, a short F<usr/share/doc/package/changelog> is generated, "
+"pointing readers at the html changelog file."
msgstr ""
"Falls das Changelog der Ursprungsautoren eine F<html>-Datei ist (durch die "
"Dateiendung festgelegt), wird es stattdessen als F<usr/share/doc/Paket/"
@@ -4858,27 +5197,27 @@ msgstr ""
"auf die HTML-Changelog-Datei verweist."
#. type: =item
-#: dh_installchangelogs:42
+#: dh_installchangelogs:53
msgid "F<debian/changelog>"
msgstr "F<debian/changelog>"
#. type: =item
-#: dh_installchangelogs:44
+#: dh_installchangelogs:55
msgid "F<debian/NEWS>"
msgstr "F<debian/NEWS>"
#. type: =item
-#: dh_installchangelogs:46
+#: dh_installchangelogs:57
msgid "debian/I<package>.changelog"
msgstr "debian/I<Paket>.changelog"
#. type: =item
-#: dh_installchangelogs:48
+#: dh_installchangelogs:59
msgid "debian/I<package>.NEWS"
msgstr "debian/I<Paket>.NEWS"
#. type: textblock
-#: dh_installchangelogs:50
+#: dh_installchangelogs:61
msgid ""
"Automatically installed into usr/share/doc/I<package>/ in the package build "
"directory."
@@ -4887,7 +5226,7 @@ msgstr ""
"installiert."
#. type: textblock
-#: dh_installchangelogs:53
+#: dh_installchangelogs:64
msgid ""
"Use the package specific name if I<package> needs a different F<NEWS> or "
"F<changelog> file."
@@ -4896,7 +5235,7 @@ msgstr ""
"oder F<changelog>-Datei benötigt."
#. type: textblock
-#: dh_installchangelogs:56
+#: dh_installchangelogs:67
msgid ""
"The F<changelog> file is installed with a name of changelog for native "
"packages, and F<changelog.Debian> for non-native packages. The F<NEWS> file "
@@ -4907,7 +5246,7 @@ msgstr ""
"Datei F<NEWS> wird immer mit dem Namen F<NEWS.Debian> installiert."
#. type: textblock
-#: dh_installchangelogs:68
+#: dh_installchangelogs:79
msgid ""
"Keep the original name of the upstream changelog. This will be accomplished "
"by installing the upstream changelog as F<changelog>, and making a symlink "
@@ -4917,14 +5256,13 @@ msgid ""
msgstr ""
"behält den Originalnamen des Änderungsprotokolls der Originalautoren. Dies "
"wird durch Installieren des Änderungsprotokolls der Originalautoren als "
-"F<changelog> und Erstellen eines symbolischen Verweises davon zum "
-"Originalnamen der F<changelog>-Datei bewerkstelligt. Dies kann nützlich "
-"sein, falls das Änderungsprotokoll der Originalautoren einen unüblichen "
-"Dateinamen hat oder falls andere Dokumentation im Paket sich auf die Datei "
-"F<changelog> bezieht."
+"F<changelog> und Erstellen eines symbolischen Links davon zum Originalnamen "
+"der F<changelog>-Datei bewerkstelligt. Dies kann nützlich sein, falls das "
+"Änderungsprotokoll der Originalautoren einen unüblichen Dateinamen hat oder "
+"falls andere Dokumentation im Paket sich auf die Datei F<changelog> bezieht."
#. type: textblock
-#: dh_installchangelogs:76
+#: dh_installchangelogs:87
msgid ""
"Exclude upstream F<changelog> files that contain I<item> anywhere in their "
"filename from being installed."
@@ -4932,13 +5270,18 @@ msgstr ""
"schließt F<changelog>-Dateien der Originalautoren von der Installation aus, "
"die irgendwo in ihrem Dateinamen I<Element> enthalten."
+#. type: textblock
+#: dh_installchangelogs:90
+msgid "Note that directory name of the changelog is also part of the match."
+msgstr ""
+
#. type: =item
-#: dh_installchangelogs:79
+#: dh_installchangelogs:92
msgid "I<upstream>"
msgstr "I<Originalautoren>"
#. type: textblock
-#: dh_installchangelogs:81
+#: dh_installchangelogs:94
msgid "Install this file as the upstream changelog."
msgstr "installiert diese Datei als Änderungsprotokoll der Originalautoren."
@@ -4995,7 +5338,7 @@ msgstr ""
"installiert im passenden F<etc/cron.*/>-Verzeichnis im Paketbauverzeichnis"
#. type: =item
-#: dh_installcron:47 dh_installifupdown:46 dh_installinit:153
+#: dh_installcron:47 dh_installifupdown:46 dh_installinit:175
#: dh_installlogcheck:49 dh_installlogrotate:29 dh_installmodules:49
#: dh_installpam:38 dh_installppp:42 dh_installudev:38 dh_systemd_enable:95
msgid "B<--name=>I<name>"
@@ -5158,7 +5501,7 @@ msgid ""
"C<mv_conffile /etc/oldconffile /etc/newconffile> will insert maintainer "
"script snippets into all maintainer scripts sufficient to move that conffile."
msgstr ""
-"Im Kompatibilitätsmodus 10 oder neuer werden alle Shell-Metazeichen "
+"Im Kompatibilitätsmodus 10 oder höher werden alle Shell-Metazeichen "
"maskiert, daher kann hier kein beliebiger Shell-Code eingefügt werden. Eine "
"Zeile wie C<mv_conffile /etc/oldconffile /etc/newconffile> wird zum Beispiel "
"Schnipsel von Betreuerskripten in alle Betreuerskripte einfügen, die "
@@ -5177,6 +5520,18 @@ msgstr ""
"vorhergehenden Kompatibilitätsstufen einzubetten."
#. type: textblock
+#: dh_installdeb:82
+msgid ""
+"The B<dh_installdeb> tool will do some basic validation of some of the "
+"commands listed in this file to catch common mistakes. The validation is "
+"enabled as a warning since compat 10 and as a hard error in compat 12."
+msgstr ""
+"Das Werkzeug B<dh_installdeb> wird einige grundlegende Prüfungen einiger der "
+"in dieser Datei aufgeführten Befehle durchführen, um häufige Fehler "
+"abzufangen. Die Überprüfung wird als Warnung seit Kompatibilitätsstufe 10 "
+"aktiviert und in Kompatibilitätsstufe 12 als harter Fehler."
+
+#. type: textblock
#: dh_installdebconf:5
msgid ""
"dh_installdebconf - install files used by debconf in package build "
@@ -5317,8 +5672,16 @@ msgstr ""
#. type: textblock
#: dh_installdirs:17
-msgid "B<dh_installdirs> [S<I<debhelper options>>] [B<-A>] [S<I<dir> ...>]"
-msgstr "B<dh_installdirs> [S<I<Debhelper-Optionen>>] [B<-A>] [S<I<Verz> …>]"
+#, fuzzy
+#| msgid ""
+#| "B<dh_movefiles> [S<I<debhelper options>>] [B<--sourcedir=>I<dir>] [B<-"
+#| "X>I<item>] [S<I<file> ...>]"
+msgid ""
+"B<dh_installdirs> [S<I<debhelper options>>] [B<-A>] [B<--sourcedir=>I<dir>] "
+"[B<--create-in-sourcedir>] [S<I<dir> ...>]"
+msgstr ""
+"B<dh_movefiles> [S<I<Debhelper-Optionen>>] [B<--sourcedir=>I<Verz>] [B<-"
+"X>I<Element>] S<I<Datei> …>]"
#. type: textblock
#: dh_installdirs:21
@@ -5371,11 +5734,46 @@ msgstr ""
#. type: =item
#: dh_installdirs:51
+msgid "B<--create-in-sourcedir>, B<--no-create-in-sourcedir>"
+msgstr ""
+
+#. type: textblock
+#: dh_installdirs:53
+msgid ""
+"Whether to create the specified directories in the source directory (usually "
+"F<debian/tmp>) I<in addition to> in the package build directory (usually F<< "
+"debian/I<package> >>)."
+msgstr ""
+
+#. type: textblock
+#: dh_installdirs:57
+#, fuzzy
+#| msgid "The default is to create debug symbol packages."
+msgid "The default is B<--no-create-in-sourcedir>."
+msgstr "Die Vorgabe ist, Fehlersuch-Symbolpakete zu erstellen."
+
+#. type: textblock
+#: dh_installdirs:61
+msgid ""
+"Consider I<dir> the source directory for the packages acted on instead of "
+"the default (which is usually F<debian/tmp>)."
+msgstr ""
+
+#. type: textblock
+#: dh_installdirs:64
+msgid ""
+"Please note that this option is dependent on the B<--create-in-sourcedir> "
+"option (when B<--no-create-in-sourcedir> is in effect, this option does "
+"nothing in B<dh_installdirs>)."
+msgstr ""
+
+#. type: =item
+#: dh_installdirs:68
msgid "I<dir> ..."
msgstr "I<Verz> …"
#. type: textblock
-#: dh_installdirs:53
+#: dh_installdirs:70
msgid ""
"Create these directories in the package build directory of the first package "
"acted on. (Or in all packages if B<-A> is specified.)"
@@ -5415,34 +5813,61 @@ msgid ""
"still useful for installing packaging related documentation (e.g. the "
"F<debian/copyright> file)."
msgstr ""
+"In Kompatibilitätsstufe 10 und älter war L<dh_install(1)> möglicherweise ein "
+"besseres Werkzeug zur Handhabung von Dokumentation der Ursprungsautoren, "
+"wenn das eigene Bausystem der Ursprungsautoren sämtliche gewünschte "
+"Dokumentation korrekt installierte. In diesem Fall ist B<dh_installdocs> "
+"immer noch nützlich, um paketierungsbezogene Dokumentation (z.B. die Datei "
+"F<debian/copyright>) zu installieren."
+
+#. type: textblock
+#: dh_installdocs:31 dh_installexamples:27 dh_installinfo:24 dh_installman:69
+#, fuzzy
+#| msgid ""
+#| "From debhelper compatibility level 7 on, B<dh_install> will fall back to "
+#| "looking in F<debian/tmp> for files, if it doesn't find them in the "
+#| "current directory (or wherever you've told it to look using B<--"
+#| "sourcedir>)."
+msgid ""
+"From debhelper compatibility level 11 on, B<dh_install> will fall back to "
+"looking in F<debian/tmp> for files, if it does not find them in the current "
+"directory (or wherever you've told it to look using B<--sourcedir>)."
+msgstr ""
+"Ab Debhelper-Kompatibilitätsstufe 7 wird B<dh_install> in F<debian/tmp> nach "
+"Dateien suchen, wenn es sie nicht im aktuellen Verzeichnis findet (oder wo "
+"auch immer Sie ihm mit B<--sourcedir> aufgetragen haben, zu suchen)."
#. type: textblock
-#: dh_installdocs:31
+#: dh_installdocs:35
msgid ""
"In compat 11 and later, B<dh_installdocs> offers many of the features that "
"L<dh_install(1)> also have. Furthermore, B<dh_installdocs> also supports "
"the B<nodoc> build profile to exclude documentation (regardless of compat "
"level)."
msgstr ""
+"In Kompatibilitätsstufe 11 und neuer bietet B<dh_installdocs> viele der "
+"Funktionalitäten, die auch L<dh_install(1)> hat. Desweiteren unterstützt "
+"B<dh_installdocs> außerdem das Bauprofil B<nodoc>, um Dokumentation "
+"(unabhängig von der Kompatibilitätsstufe) auszuschließen."
#. type: =item
-#: dh_installdocs:40
+#: dh_installdocs:44
msgid "debian/I<package>.docs"
msgstr "debian/I<Paket>.docs"
#. type: textblock
-#: dh_installdocs:42
+#: dh_installdocs:46
msgid "List documentation files to be installed into I<package>."
msgstr ""
"listet Dokumentationsdateien auf, die in I<Paket> installiert werden sollen."
#. type: =item
-#: dh_installdocs:44
+#: dh_installdocs:48
msgid "F<debian/copyright>"
msgstr "F<debian/copyright>"
#. type: textblock
-#: dh_installdocs:46
+#: dh_installdocs:50
msgid ""
"The copyright file is installed into all packages, unless a more specific "
"copyright file is available."
@@ -5451,22 +5876,22 @@ msgstr ""
"speziellere Copyright-Datei verfügbar ist."
#. type: =item
-#: dh_installdocs:49
+#: dh_installdocs:53
msgid "debian/I<package>.copyright"
msgstr "debian/I<Paket>.copyright"
#. type: =item
-#: dh_installdocs:51
+#: dh_installdocs:55
msgid "debian/I<package>.README.Debian"
msgstr "debian/I<Paket>.README.Debian"
#. type: =item
-#: dh_installdocs:53
+#: dh_installdocs:57
msgid "debian/I<package>.TODO"
msgstr "debian/I<Paket>.TODO"
#. type: textblock
-#: dh_installdocs:55
+#: dh_installdocs:59
msgid ""
"Each of these files is automatically installed if present for a I<package>."
msgstr ""
@@ -5474,17 +5899,17 @@ msgstr ""
"vorhanden ist."
#. type: =item
-#: dh_installdocs:58
+#: dh_installdocs:62
msgid "F<debian/README.Debian>"
msgstr "F<debian/README.Debian>"
#. type: =item
-#: dh_installdocs:60
+#: dh_installdocs:64
msgid "F<debian/TODO>"
msgstr "F<debian/TODO>"
#. type: textblock
-#: dh_installdocs:62
+#: dh_installdocs:66
msgid ""
"These files are installed into the first binary package listed in debian/"
"control."
@@ -5493,7 +5918,7 @@ msgstr ""
"control« aufgeführt ist."
#. type: textblock
-#: dh_installdocs:65
+#: dh_installdocs:69
msgid ""
"Note that F<README.debian> files are also installed as F<README.Debian>, and "
"F<TODO> files will be installed as F<TODO.Debian> in non-native packages."
@@ -5503,12 +5928,12 @@ msgstr ""
"werden."
#. type: =item
-#: dh_installdocs:68
+#: dh_installdocs:72
msgid "debian/I<package>.doc-base"
msgstr "debian/I<Paket>.doc-base"
#. type: textblock
-#: dh_installdocs:70
+#: dh_installdocs:74
msgid ""
"Installed as doc-base control files. Note that the doc-id will be determined "
"from the B<Document:> entry in the doc-base control file in question. In the "
@@ -5523,12 +5948,12 @@ msgstr ""
"package statt nach usr/share/doc-base/doc-id installiert."
#. type: =item
-#: dh_installdocs:76
+#: dh_installdocs:80
msgid "debian/I<package>.doc-base.*"
msgstr "debian/I<Paket>.doc-base.*"
#. type: textblock
-#: dh_installdocs:78
+#: dh_installdocs:82
msgid ""
"If your package needs to register more than one document, you need multiple "
"doc-base files, and can name them like this. In the event that multiple doc-"
@@ -5543,7 +5968,7 @@ msgstr ""
"doc-base/package-* statt nach usr/share/doc-base/doc-id installiert."
#. type: textblock
-#: dh_installdocs:92 dh_installinfo:40 dh_installman:85
+#: dh_installdocs:96 dh_installinfo:44 dh_installman:89
msgid ""
"Install all files specified by command line parameters in ALL packages acted "
"on."
@@ -5552,7 +5977,7 @@ msgstr ""
"angegeben werden, auf die es sich auswirkt."
#. type: textblock
-#: dh_installdocs:97
+#: dh_installdocs:101
msgid ""
"Exclude files that contain I<item> anywhere in their filename from being "
"installed. Note that this includes doc-base files."
@@ -5560,52 +5985,89 @@ msgstr ""
"schließt Dateien von der Installation aus, die I<Element> in ihrem "
"Dateinamen enthalten. Beachten Sie, dass dies doc-base-Dateien einschließt."
+#. type: textblock
+#: dh_installdocs:106 dh_installexamples:52 dh_installinfo:49 dh_installman:99
+msgid ""
+"Look in the specified directory for files to be installed. This option "
+"requires compat 11 or later (it is silently ignored in compat 10 or earlier)."
+msgstr ""
+"schaut im angegebenen Verzeichnis nach Dateien, die installiert werden "
+"sollen. Diese Option erfordert Kompatibilitätsstufe 11 oder höher (sie wird "
+"in Kompatibilitätsstufe 10 und darunter stillschweigend ignoriert)."
+
+#. type: textblock
+#: dh_installdocs:109 dh_installman:102
+msgid ""
+"Note that this is not the same as the B<--sourcedirectory> option used by "
+"the B<dh_auto_>I<*> commands. You rarely need to use this option, since "
+"B<dh_installman> automatically looks for files in F<debian/tmp> in debhelper "
+"compatibility level 11 and above."
+msgstr ""
+"Beachten Sie, dass dies nicht das Gleiche wie die Option B<--"
+"sourcedirectory> ist, die von B<dh_auto_>I<*>-Befehlen benutzt wird. Sie "
+"benötigen diese Option selten, da B<dh_installman> in Debhelper-"
+"Kompatibilitätsstufe 11 und darüber automatisch in F<debian/tmp> nach "
+"Dateien sucht."
+
#. type: =item
-#: dh_installdocs:100 dh_installexamples:56
-#, fuzzy
-#| msgid "B<--mainpackage=>I<package>"
+#: dh_installdocs:114 dh_installexamples:60
msgid "B<--doc-main-package=>I<main-package>"
-msgstr "B<--mainpackage=>I<Paket>"
+msgstr "B<--doc-main-package=>I<Hauptpaket>"
#. type: textblock
-#: dh_installdocs:102 dh_installexamples:58
+#: dh_installdocs:116 dh_installexamples:62
msgid ""
"Set the main package for a documentation package. This is used to install "
"the documentation of the documentation package in F<< /usr/share/doc/I<main-"
"package> >> as recommended by the Debian policy manual 3.9.7 in §12.3."
msgstr ""
+"setzt das Hauptpaket für ein Dokumentationspaket. Dies wird zur Installation "
+"der Dokumentation des Dokumentationspakets in F<< /usr/share/doc/"
+"I<Hauptpaket> >> benutzt, wie es das Debian-Richlinienhandbuch 3.9.7 in "
+"§12.3 empfiehlt."
#. type: textblock
-#: dh_installdocs:107 dh_installexamples:63
+#: dh_installdocs:121 dh_installexamples:67
msgid ""
"In compat 11 (or later), this option is only useful if debhelper's auto-"
"detection of the main package is wrong. The option can also be used to "
"silence a warning from debhelper when the auto-detection fails but the "
"default happens to be correct."
msgstr ""
+"In Kompatibilitätsstufe 11 (oder höher) ist diese Option nur dann nützlich, "
+"falls Debhelpers automatische Erkennung des Hauptpakets falsch ist. Die "
+"Option kann außerdem benutzt werden, um eine Warnung von Debhelper zum "
+"Schweigen zu bringen, wenn die automatische Erkennung fehlschlägt, die "
+"Voreinstellung aber korrekt funktioniert."
#. type: textblock
-#: dh_installdocs:112
+#: dh_installdocs:126
msgid ""
"This option cannot be used when B<dh_installdocs> is instructed to act on "
"multiple packages. If you need this option, you will generally need to "
"combine it with B<-p> to ensure exactly one package is acted on."
msgstr ""
+"Diese Option kann nicht verwendet werden, wenn B<dh_installdocs> angewiesen "
+"wurde, auf mehrere Pakete einzuwirken. Falls Sie diese Option benötigen, "
+"werden Sie sie üblicherweise mit B<-p> kombinieren müssen, um "
+"sicherzustellen, dass nur auf exakt ein Paket eingewirkt wird."
#. type: textblock
-#: dh_installdocs:117
+#: dh_installdocs:131
msgid ""
"Please keep in mind that some documentation (the copyright file, README."
"Debian, etc.) will be unaffected by this option."
msgstr ""
+"Bitte denken Sie daran, dass manche Dokumentation (die Copyright-Datei, "
+"README.Debian, etc.) nicht von dieser Option beeinflusst wird."
#. type: =item
-#: dh_installdocs:120
+#: dh_installdocs:134
msgid "B<--link-doc=>I<package>"
msgstr "B<--link-doc=>I<Paket>"
#. type: textblock
-#: dh_installdocs:122
+#: dh_installdocs:136
msgid ""
"Make the documentation directory of all packages acted on be a symlink to "
"the documentation directory of I<package>. This has no effect when acting on "
@@ -5614,7 +6076,7 @@ msgid ""
"be a binary package that comes from the same source package."
msgstr ""
"veranlasst, dass das Dokumentationsverzeichnis aller Pakete, auf die es sich "
-"auswirkt, ein symbolischer Link auf das Dokumentationsverzeichnis von "
+"auswirkt, ein symbolischer Links auf das Dokumentationsverzeichnis von "
"I<Paket> ist. Dies hat keine Auswirkungen, wenn auf das I<Paket> selbst "
"eingewirkt wird oder falls das Dokumentationsverzeichnis, das erstellt "
"werden soll, bereits bei der Ausführung von B<dh_installdocs> existiert. Um "
@@ -5622,7 +6084,7 @@ msgstr ""
"selben Quellpaket stammt."
#. type: textblock
-#: dh_installdocs:128
+#: dh_installdocs:142
msgid ""
"debhelper will try to avoid installing files into linked documentation "
"directories that would cause conflicts with the linked package. The B<-A> "
@@ -5638,7 +6100,7 @@ msgstr ""
"installiert."
#. type: textblock
-#: dh_installdocs:134
+#: dh_installdocs:148
msgid ""
"(An older method to accomplish the same thing, which is still supported, is "
"to make the documentation directory of a package be a dangling symlink, "
@@ -5649,36 +6111,34 @@ msgstr ""
"symbolischen Link zu erstellen, bevor B<dh_installdocs> aufgerufen wird.)"
#. type: textblock
-#: dh_installdocs:138
+#: dh_installdocs:152
msgid ""
"Please note that this option only applies to the documentation directory for "
"the package itself. When the package ships documentation for another "
"package (e.g. see B<--doc-main-package>), it will not use a symlink for the "
"documentation of the other package."
msgstr ""
+"Bitte beachten Sie, dass diese Option nur für das Dokumentationsverzeichnis "
+"des Pakets selbst gilt. Wenn das Paket Dokumentation für ein anderes Paket "
+"mitbringt (siehe z.B. B<--doc-main-package>), wird es keinen symbolischen "
+"Link für die Dokumentation des anderen Pakets verwenden."
#. type: textblock
-#: dh_installdocs:144
-#, fuzzy
-#| msgid ""
-#| "B<CAVEAT>: If a previous version of the package was built without this "
-#| "option and is now built with it (or vice-versa), it requires a \"dir to "
-#| "symlink\" (or \"symlink to dir\") migration. Since debhelper has no "
-#| "knowledge of previous versions, you have to enable this migration itself."
+#: dh_installdocs:158
msgid ""
"B<CAVEAT 1>: If a previous version of the package was built without this "
"option and is now built with it (or vice-versa), it requires a \"dir to "
"symlink\" (or \"symlink to dir\") migration. Since debhelper has no "
"knowledge of previous versions, you have to enable this migration itself."
msgstr ""
-"B<WARNUNG>: Falls eine vorhergehende Version des Pakets ohne diese Option "
+"B<WARNUNG 1>: Falls eine vorhergehende Version des Pakets ohne diese Option "
"gebaut wurde und nun mit ihr gebaut wird (oder umgekehrt), erfordert es eine "
-"»Verzeichnis-zu-symbolischer-Link-Migration (oder »symbolischer-Link-zu-"
+"»Verzeichnis-zu-symbolischem-Link-Migration (oder »symbolischer-Link-zu-"
"Verzeichnis«). Da Debhelper nichts von vorhergehenden Versionen weiß, müssen "
"Sie diese Migration selbst anstoßen."
#. type: textblock
-#: dh_installdocs:150
+#: dh_installdocs:164
msgid ""
"This can be done by providing a \"debian/I<package>.maintscript\" file and "
"using L<dh_installdeb(1)> to provide the relevant maintainer script snippets."
@@ -5688,16 +6148,28 @@ msgstr ""
"Betreuerskriptschnipsel zur Verfügung gestellt."
#. type: textblock
-#: dh_installdocs:154
+#: dh_installdocs:168
+#, fuzzy
+#| msgid ""
+#| "B<CAVEAT 2>: The use of B<--link-doc> should only be done when the "
+#| "packages have same \"architecture\" type. A link from a architecture "
+#| "independent package to a architecture dependent package (or vice versa) "
+#| "will not work. Since compat 10, debhelper will actively reject "
+#| "unsupported combinations."
msgid ""
"B<CAVEAT 2>: The use of B<--link-doc> should only be done when the packages "
-"have same \"architecture\" type. A link from a architecture independent "
-"package to a architecture dependent package (or vice versa) will not work. "
+"have same \"architecture\" type. A link from an architecture independent "
+"package to an architecture dependent package (or vice versa) will not work. "
"Since compat 10, debhelper will actively reject unsupported combinations."
msgstr ""
+"B<WARNUNG 2>: B<--link-doc> sollte nur benutzt werden, wenn die Pakete "
+"denselben »architecture«-Typ haben. Ein Link von einem "
+"architekturunabhängigen zu einem architekturabhängigen Paket (oder "
+"umgekehrt) wird nicht funktionieren. Seit Kompatibilitätsstufe 10 wird "
+"Debhelper nicht unterstützte Kombinationen aktiv zurückweisen."
#. type: textblock
-#: dh_installdocs:162
+#: dh_installdocs:176
msgid ""
"Install these files as documentation into the first package acted on. (Or in "
"all packages if B<-A> is specified)."
@@ -5706,12 +6178,12 @@ msgstr ""
"sich auswirkt (oder in allen Paketen, falls B<-A> angegeben wurde)."
#. type: textblock
-#: dh_installdocs:169
+#: dh_installdocs:183
msgid "This is an example of a F<debian/package.docs> file:"
msgstr "Dies ist ein Beispiel einer F<debian/Paket.docs>-Datei:"
#. type: verbatim
-#: dh_installdocs:171
+#: dh_installdocs:185
#, no-wrap
msgid ""
" README\n"
@@ -5731,7 +6203,7 @@ msgstr ""
"\n"
#. type: textblock
-#: dh_installdocs:180
+#: dh_installdocs:194
msgid ""
"Note that B<dh_installdocs> will happily copy entire directory hierarchies "
"if you ask it to (similar to B<cp -a>). If it is asked to install a "
@@ -5764,7 +6236,7 @@ msgid ""
"build directories."
msgstr ""
"B<dh_installemacsen> ist ein Debhelper-Programm, das für die Installation "
-"von Dateien in Paketbauverzeichnissea zuständig, die vom Debian-Paket "
+"von Dateien in Paketbauverzeichnissen zuständig, die vom Debian-Paket "
"B<emacsen-common> benutzt werden."
#. type: textblock
@@ -5838,7 +6310,7 @@ msgstr ""
"Benutzen Sie B<--priority>, um eine andere Priorität als 50 zu verwenden."
#. type: textblock
-#: dh_installemacsen:62 dh_usrlocal:55
+#: dh_installemacsen:62 dh_usrlocal:56
msgid "Do not modify F<postinst>/F<prerm> scripts."
msgstr "ändert keine F<postinst>-/F<prerm>-Skripte."
@@ -5902,17 +6374,17 @@ msgstr ""
"Paketbauverzeichnissen zuständig ist."
#. type: =item
-#: dh_installexamples:31
+#: dh_installexamples:35
msgid "debian/I<package>.examples"
msgstr "debian/I<Paket>.examples"
#. type: textblock
-#: dh_installexamples:33
+#: dh_installexamples:37
msgid "Lists example files or directories to be installed."
msgstr "listet zu installierende Beispieldateien oder -verzeichnisse auf"
#. type: textblock
-#: dh_installexamples:43
+#: dh_installexamples:47
msgid ""
"Install any files specified by command line parameters in ALL packages acted "
"on."
@@ -5921,20 +6393,7 @@ msgstr ""
"ALLEN Paketen, auf die es sich auswirkt."
#. type: textblock
-#: dh_installexamples:48 dh_installinfo:45 dh_installman:95
-msgid ""
-"Look in the specified directory for files to be installed. This option "
-"requires compat 11 or later (it is silently ignored in compat 10 or earlier)."
-msgstr ""
-
-#. type: textblock
-#: dh_installexamples:51
-#, fuzzy
-#| msgid ""
-#| "Note that this is not the same as the B<--sourcedirectory> option used by "
-#| "the B<dh_auto_>I<*> commands. You rarely need to use this option, since "
-#| "B<dh_install> automatically looks for files in F<debian/tmp> in debhelper "
-#| "compatibility level 7 and above."
+#: dh_installexamples:55
msgid ""
"Note that this is not the same as the B<--sourcedirectory> option used by "
"the B<dh_auto_>I<*> commands. You rarely need to use this option, since "
@@ -5943,20 +6402,33 @@ msgid ""
msgstr ""
"Beachten Sie, dass dies nicht das Gleiche wie die Option B<--"
"sourcedirectory> ist, die von B<dh_auto_>I<*>-Befehlen benutzt wird. Sie "
-"benötigen diese Option selten, da B<dh_install> in Debhelper-"
-"Kompatibilitätsstufe 7 und darüber automatisch in F<debian/tmp> nach Dateien "
-"sucht."
+"benötigen diese Option selten, da B<dh_installexamples> in Debhelper-"
+"Kompatibilitätsstufe 11 und darüber automatisch in F<debian/tmp> nach "
+"Dateien sucht."
#. type: textblock
-#: dh_installexamples:68
+#: dh_installexamples:72
msgid ""
"This option cannot be used when B<dh_installexamples> is instructed to act "
"on multiple packages. If you need this option, you will generally need to "
"combine it with B<-p> to ensure exactly one package is acted on."
msgstr ""
+"Diese Option kann nicht benutzt werden, wenn B<dh_installexamples> "
+"angewiesen wurde, auf mehrere Pakete einzuwirken. Falls Sie diese Option "
+"benötigen, werden Sie sie üblicherweise mit B<-p> kombinieren müssen, um "
+"sicherzustellen, dass exakt nur auf ein Paket eingewirkt wird."
+
+#. type: textblock
+#: dh_installexamples:79
+msgid ""
+"Exclude files that contain I<item> anywhere in their filename from being "
+"installed."
+msgstr ""
+"schließt Dateien von der Installation aus, die irgendwo in ihrem Dateinamen "
+"I<Element> enthalten"
#. type: textblock
-#: dh_installexamples:80
+#: dh_installexamples:84
msgid ""
"Install these files (or directories) as examples into the first package "
"acted on. (Or into all packages if B<-A> is specified.)"
@@ -5966,7 +6438,7 @@ msgstr ""
"wurde)."
#. type: textblock
-#: dh_installexamples:87
+#: dh_installexamples:91
msgid ""
"Note that B<dh_installexamples> will happily copy entire directory "
"hierarchies if you ask it to (similar to B<cp -a>). If it is asked to "
@@ -6058,23 +6530,17 @@ msgstr ""
"Dateien in F<usr/share/info> im Paketbauverzeichnis zuständig ist."
#. type: =item
-#: dh_installinfo:28
+#: dh_installinfo:32
msgid "debian/I<package>.info"
msgstr "debian/I<Paket>.info"
#. type: textblock
-#: dh_installinfo:30
+#: dh_installinfo:34
msgid "List info files to be installed."
msgstr "listet zu installierende Info-Dateien auf."
#. type: textblock
-#: dh_installinfo:48
-#, fuzzy
-#| msgid ""
-#| "Note that this is not the same as the B<--sourcedirectory> option used by "
-#| "the B<dh_auto_>I<*> commands. You rarely need to use this option, since "
-#| "B<dh_install> automatically looks for files in F<debian/tmp> in debhelper "
-#| "compatibility level 7 and above."
+#: dh_installinfo:52
msgid ""
"Note that this is not the same as the B<--sourcedirectory> option used by "
"the B<dh_auto_>I<*> commands. You rarely need to use this option, since "
@@ -6083,12 +6549,12 @@ msgid ""
msgstr ""
"Beachten Sie, dass dies nicht das Gleiche wie die Option B<--"
"sourcedirectory> ist, die von B<dh_auto_>I<*>-Befehlen benutzt wird. Sie "
-"benötigen diese Option selten, da B<dh_install> in Debhelper-"
-"Kompatibilitätsstufe 7 und darüber automatisch in F<debian/tmp> nach Dateien "
-"sucht."
+"benötigen diese Option selten, da B<dh_installinfo> in Debhelper-"
+"Kompatibilitätsstufe 11 und darüber automatisch in F<debian/tmp> nach "
+"Dateien sucht."
#. type: textblock
-#: dh_installinfo:55
+#: dh_installinfo:59
msgid ""
"Install these info files into the first package acted on. (Or in all "
"packages if B<-A> is specified)."
@@ -6118,21 +6584,25 @@ msgstr ""
#, fuzzy
#| msgid ""
#| "B<dh_installinit> is a debhelper program that is responsible for "
-#| "installing init scripts with associated defaults files, as well as "
-#| "upstart job files, and systemd service files into package build "
-#| "directories."
+#| "installing init scripts with associated defaults files. In compatibility "
+#| "levels up to 11, B<dh_installinit> also handled upstart job files and "
+#| "systemd service files."
msgid ""
"B<dh_installinit> is a debhelper program that is responsible for installing "
"init scripts with associated defaults files. In compatibility levels up to "
-"11, B<dh_installinit> also handled upstart job files and systemd service "
-"files."
+"and including 10, B<dh_installinit> will also install some systemd related "
+"files provided by the debian packaging (see the L</FILES> section below). "
+"In compatibility levels up to and including 11, B<dh_installinit> will also "
+"handle upstart jobs provided in the debian packaging (see the L</FILES> for "
+"more information on this as well)."
msgstr ""
"B<dh_installinit> ist ein Debhelper-Programm, das für die Installation von "
-"Init-Skripten mit zugehörigen Standarddateien sowie Upstart- und Systemd-Job-"
-"Dateien in Paketbauverzeichnisse zuständig ist."
+"Init-Skripten mit zugehörigen Standarddateien verantwortlich ist. In "
+"Kompatibilitätsstufen bis zu 11 handhabte B<dh_installinit> auch Upstart-"
+"Jobs und Systemd-Dienstdateien."
#. type: textblock
-#: dh_installinit:26
+#: dh_installinit:31
msgid ""
"It also automatically generates the F<postinst> and F<postrm> and F<prerm> "
"commands needed to set up the symlinks in F</etc/rc*.d/> to start and stop "
@@ -6143,21 +6613,26 @@ msgstr ""
"einzurichten und die Init-Skripte zu starten und zu stoppen."
#. type: textblock
-#: dh_installinit:30
+#: dh_installinit:35
msgid ""
"In compat 10 or earlier: If a package only ships a systemd service file and "
"no sysvinit script is provided, you may want to exclude the call to "
"dh_installinit for that package (e.g. via B<-N>). Otherwise, you may get "
"warnings from lintian about init.d scripts not being included in the package."
msgstr ""
+"In Kompatibilitätsstufe 10 oder älter: Falls ein Paket nur eine Systemd-"
+"Dienstdatei mitbringt und kein Sysvinit-Skript bereitgestellt wird, möchten "
+"Sie möglicherweise den Aufruf von »dh_installinit« für dieses Paket "
+"ausschließen (z.B. per B<-N>). Andernfalls könnten Sie Warnungen von Lintian "
+"über »init.d«-Skripte bekommen, die nicht im Paket enthalten sind."
#. type: =item
-#: dh_installinit:40
+#: dh_installinit:45
msgid "debian/I<package>.init"
msgstr "debian/I<Paket>.init"
#. type: textblock
-#: dh_installinit:42
+#: dh_installinit:47
msgid ""
"If this exists, it is installed into etc/init.d/I<package> in the package "
"build directory."
@@ -6166,12 +6641,12 @@ msgstr ""
"installiert."
#. type: =item
-#: dh_installinit:45
+#: dh_installinit:50
msgid "debian/I<package>.default"
msgstr "debian/I<Paket>.default"
#. type: textblock
-#: dh_installinit:47
+#: dh_installinit:52
msgid ""
"If this exists, it is installed into etc/default/I<package> in the package "
"build directory."
@@ -6180,39 +6655,40 @@ msgstr ""
"installiert."
#. type: =item
-#: dh_installinit:50
+#: dh_installinit:55
msgid "debian/I<package>.upstart"
msgstr "debian/I<Paket>.upstart"
#. type: textblock
-#: dh_installinit:52
+#: dh_installinit:57
msgid ""
"In compatibility level 11, this file will trigger an error with a reminder "
"about ensuring the proper removal of the upstart file in the previous "
"package version. Please consider using the \"rm_conffile\" feature from "
"L<dh_installdeb(1)> to ensure the proper removal of previous upstart files."
msgstr ""
+"In Kompatibilitätsstufe 11 wird diese Datei einen Fehler auslösen, der daran "
+"erinnert, dass das ordentliche Entfernen der Upstart-Datei in der vorherigen "
+"Paketversion sichergestellt werden soll. Bitte ziehen Sie die Verwendung der "
+"Funktionalität »rm_conffile« von L<dh_installdeb(1)> in Betracht, um das "
+"ordentliche Entfernen früherer Upstart-Dateien sicherzustellen."
#. type: textblock
-#: dh_installinit:57
-#, fuzzy
-#| msgid ""
-#| "If this exists, it is installed into etc/init/I<package>.conf in the "
-#| "package build directory."
+#: dh_installinit:62
msgid ""
"In compatibility level 10, if this file exists, it is installed into etc/"
"init/I<package>.conf in the package build directory."
msgstr ""
-"Falls dies existiert, wird es in etc/init/I<Paket>.conf im "
-"Paketbauverzeichnis installiert."
+"Falls diese Datei in Kompatibilitätsstufe 10 existiert, wird sie in etc/init/"
+"I<Paket>.conf im Paketbauverzeichnis installiert."
#. type: =item
-#: dh_installinit:60
+#: dh_installinit:65
msgid "debian/I<package>.service"
msgstr "debian/I<Paket>.service"
#. type: textblock
-#: dh_installinit:62
+#: dh_installinit:67
msgid ""
"If this exists, it is installed into lib/systemd/system/I<package>.service "
"in the package build directory. Only used in compat levels 10 and below."
@@ -6222,12 +6698,12 @@ msgstr ""
"darunter benutzt."
#. type: =item
-#: dh_installinit:65 dh_systemd_enable:50
+#: dh_installinit:70 dh_systemd_enable:50
msgid "debian/I<package>.tmpfile"
msgstr "debian/I<Paket>.tmpfile"
#. type: textblock
-#: dh_installinit:67
+#: dh_installinit:72
msgid ""
"If this exists, it is installed into usr/lib/tmpfiles.d/I<package>.conf in "
"the package build directory. (The tmpfiles.d mechanism is currently only "
@@ -6238,17 +6714,17 @@ msgstr ""
"nur von Systemd benutzt.) Nur in Kompatibilitätsstufe 10 und darunter."
#. type: textblock
-#: dh_installinit:79
+#: dh_installinit:84
msgid "Do not modify F<postinst>/F<postrm>/F<prerm> scripts."
msgstr "ändert keine F<postinst>-/F<postrm>/F<prerm>-Skripte."
#. type: =item
-#: dh_installinit:81
+#: dh_installinit:86
msgid "B<-o>, B<--only-scripts>"
msgstr "B<-o>, B<--only-scripts>"
#. type: textblock
-#: dh_installinit:83
+#: dh_installinit:88
msgid ""
"Only modify F<postinst>/F<postrm>/F<prerm> scripts, do not actually install "
"any init script, default files, upstart job or systemd service file. May be "
@@ -6262,7 +6738,7 @@ msgstr ""
"B<dh_installinit> nicht leicht macht, sie zu finden."
#. type: textblock
-#: dh_installinit:88
+#: dh_installinit:93
msgid ""
"B<Caveat>: This will bypass all the regular checks and I<unconditionally> "
"modify the scripts. You will almost certainly want to use this with B<-p> "
@@ -6274,7 +6750,7 @@ msgstr ""
"sind. Beispiel:"
#. type: verbatim
-#: dh_installinit:93
+#: dh_installinit:98
#, no-wrap
msgid ""
" override_dh_installinit:\n"
@@ -6288,12 +6764,12 @@ msgstr ""
"\n"
#. type: =item
-#: dh_installinit:97
+#: dh_installinit:102
msgid "B<-R>, B<--restart-after-upgrade>"
msgstr "B<-R>, B<--restart-after-upgrade>"
#. type: textblock
-#: dh_installinit:99
+#: dh_installinit:104
msgid ""
"Do not stop the init script until after the package upgrade has been "
"completed. This is the default behaviour in compat 10."
@@ -6302,7 +6778,7 @@ msgstr ""
"wurde. Dies ist das Standardverhalten für Kompatibilitätsmodus 10."
#. type: textblock
-#: dh_installinit:102
+#: dh_installinit:107
msgid ""
"In early compat levels, the default was to stop the script in the F<prerm>, "
"and starts it again in the F<postinst>."
@@ -6311,7 +6787,7 @@ msgstr ""
"F<prerm> stoppt und es in F<postinst> wieder startet."
#. type: textblock
-#: dh_installinit:105 dh_systemd_start:45
+#: dh_installinit:110 dh_systemd_start:45
msgid ""
"This can be useful for daemons that should not have a possibly long downtime "
"during upgrade. But you should make sure that the daemon will not get "
@@ -6328,12 +6804,12 @@ msgstr ""
"wenn dessen Paket zwischendurch aktualisiert wird."
#. type: =item
-#: dh_installinit:110 dh_systemd_start:50
+#: dh_installinit:115 dh_systemd_start:50
msgid "B<--no-restart-after-upgrade>"
msgstr "B<--no-restart-after-upgrade>"
#. type: textblock
-#: dh_installinit:112 dh_systemd_start:52
+#: dh_installinit:117 dh_systemd_start:52
msgid ""
"Undo a previous B<--restart-after-upgrade> (or the default of compat 10). "
"If no other options are given, this will cause the service to be stopped in "
@@ -6345,42 +6821,53 @@ msgstr ""
"gestoppt und im F<postinst>-Skript wieder gestartet wird."
#. type: =item
-#: dh_installinit:117 dh_systemd_start:57
+#: dh_installinit:122 dh_systemd_start:57
msgid "B<-r>, B<--no-stop-on-upgrade>, B<--no-restart-on-upgrade>"
msgstr "B<-r>, B<--no-stop-on-upgrade>, B<--no-restart-on-upgrade>"
#. type: textblock
-#: dh_installinit:119
+#: dh_installinit:124
msgid ""
"Do not stop init script on upgrade. This has the side-effect of not "
"restarting the service as a part of the upgrade."
msgstr ""
+"stoppt das Init-Skript nicht beim Upgrade. Dies hat den Nebeneffekt, dass "
+"der Dienst nicht als Teil des Upgrades neu gestartet wird."
#. type: textblock
-#: dh_installinit:122
+#: dh_installinit:127
msgid ""
"If you want to restart the service with minimal downtime, please use B<--"
"restart-after-upgrade> (default in compat 10 or later). If you want the "
"service to be restarted but be stopped during the upgrade, then please use "
"B<--no-restart-after-upgrade> (note the \"after-upgrade\")."
msgstr ""
+"Falls Sie den Dienst mit minimaler Stillstandzeit neu starten möchten, "
+"benutzen Sie bitte B<--restart-after-upgrade> (Voreinstellung in "
+"Kompatibilitätsstufe 10 oder höher). Falls Sie wollen, dass der Dienst neu "
+"gestartet, jedoch während des Upgrades gestoppt wird, benutzen Sie bitte B<--"
+"no-restart-after-upgrade> (beachten Sie das »after-upgrade«)."
#. type: textblock
-#: dh_installinit:127
+#: dh_installinit:132
msgid ""
"Note that the B<--no-restart-on-upgrade> alias is deprecated and will be "
"removed in compat 12. This is to avoid confusion with the B<--no-restart-"
"after-upgrade> option. The B<--no-stop-on-upgrade> variant was introduced "
"in debhelper 10.2 (included in Debian stretch)."
msgstr ""
+"Beachten Sie, dass der Alias B<--no-restart-on-upgrade> missbilligt ist und "
+"in Kompatibilitätsstufe 12 entfernt wird. Dies soll Verwirrung mit der "
+"Option B<--no-restart-after-upgrade> vermeiden. Die Variante B<--no-stop-on-"
+"upgrade> wurde in Debhelper 10.2 eingeführt (enthalten in Debian Stretch)."
#. type: =item
-#: dh_installinit:132 dh_systemd_start:61
+#: dh_installinit:137 dh_systemd_start:61
msgid "B<--no-start>"
msgstr "B<--no-start>"
#. type: textblock
-#: dh_installinit:134
+#: dh_installinit:139
msgid ""
"Do not start the init script on install or upgrade, or stop it on removal. "
"Only call B<update-rc.d>. Useful for rcS scripts."
@@ -6390,12 +6877,51 @@ msgstr ""
"für rcS-Skripte."
#. type: =item
-#: dh_installinit:137
+#: dh_installinit:142 dh_systemd_enable:87
+msgid "B<--no-enable>"
+msgstr "B<--no-enable>"
+
+#. type: textblock
+#: dh_installinit:144
+msgid ""
+"Disable the init script on purge, but do not enable them on install. This "
+"implies a versioned dependency on B<< init-system-helpers (E<gt>= 1.51) >> "
+"as it is the first (functional) version that supports B<< update-rc.d "
+"E<lt>scriptE<gt> defaults-disabled >>."
+msgstr ""
+
+#. type: textblock
+#: dh_installinit:149
+#, fuzzy
+#| msgid ""
+#| "B<Note> that this option does not affect whether the services are "
+#| "started. That is controlled by L<dh_systemd_start(1)> (using e.g. its "
+#| "B<--no-start> option)."
+msgid ""
+"B<Note> that this option does not affect whether the services are started. "
+"Please remember to also use B<--no-start> if the service should not be "
+"started."
+msgstr ""
+"B<Beachten Sie>, dass diese Option nicht beeinflusst, ob die Dienste "
+"gestartet werden. Dies wird durch L<dh_systemd_start(1)> gesteuert (benutzt "
+"z.B. seine B<--no-start>-Option)."
+
+#. type: textblock
+#: dh_installinit:153
+#, fuzzy
+#| msgid "B<-u>I<params> B<--update-rcd-params=>I<params>"
+msgid ""
+"Cannot be combined with B<-u>I<params>, B<--update-rcd-params=>I<params>, or "
+"B<--> I<params>."
+msgstr "B<-u>I<Parameter> B<--update-rcd-params=>I<Parameter>"
+
+#. type: =item
+#: dh_installinit:156
msgid "B<-d>, B<--remove-d>"
msgstr "B<-d>, B<--remove-d>"
#. type: textblock
-#: dh_installinit:139
+#: dh_installinit:158
msgid ""
"Remove trailing B<d> from the name of the package, and use the result for "
"the filename the upstart job file is installed as in F<etc/init/> , and for "
@@ -6412,21 +6938,31 @@ msgstr ""
"gegenüber dem im Folgenden beschriebenen Parameter B<--init-script>.)"
#. type: =item
-#: dh_installinit:146
+#: dh_installinit:165
msgid "B<-u>I<params> B<--update-rcd-params=>I<params>"
msgstr "B<-u>I<Parameter> B<--update-rcd-params=>I<Parameter>"
#. type: textblock
-#: dh_installinit:150
+#: dh_installinit:169
+#, fuzzy
+#| msgid ""
+#| "Pass I<params> to L<update-rc.d(8)>. If not specified, B<defaults> will "
+#| "be passed to L<update-rc.d(8)>."
msgid ""
-"Pass I<params> to L<update-rc.d(8)>. If not specified, B<defaults> will be "
-"passed to L<update-rc.d(8)>."
+"Pass I<params> to L<update-rc.d(8)>. If not specified, B<defaults> (or "
+"B<defaults-disabled> with B<--no-enable>) will be passed to L<update-rc."
+"d(8)>."
msgstr ""
"übergibt I<Parameter> an L<update-rc.d(8)>. Falls nicht angegeben, wird "
"B<defaults> an L<update-rc.d(8)> übergeben."
#. type: textblock
-#: dh_installinit:155
+#: dh_installinit:173
+msgid "Cannot be combined with B<--no-enable>."
+msgstr ""
+
+#. type: textblock
+#: dh_installinit:177
msgid ""
"Install the init script (and default file) as well as upstart job file using "
"the filename I<name> instead of the default filename, which is the package "
@@ -6444,12 +6980,12 @@ msgstr ""
"F<debian/package.default> and F<debian/package.upstart>."
#. type: =item
-#: dh_installinit:163
+#: dh_installinit:185
msgid "B<--init-script=>I<scriptname>"
msgstr "B<--init-script=>I<Skriptname>"
#. type: textblock
-#: dh_installinit:165
+#: dh_installinit:187
msgid ""
"Use I<scriptname> as the filename the init script is installed as in F<etc/"
"init.d/> (and also use it as the filename for the defaults file, if it is "
@@ -6467,7 +7003,7 @@ msgstr ""
"die normalerweise installiert werden."
#. type: textblock
-#: dh_installinit:172
+#: dh_installinit:194
msgid ""
"This parameter is deprecated, use the B<--name> parameter instead. This "
"parameter is incompatible with the use of upstart jobs."
@@ -6476,12 +7012,12 @@ msgstr ""
"name>. Dieser Parameter ist für die Benutzung mit Upstart-Jobs inkompatibel."
#. type: =item
-#: dh_installinit:175
+#: dh_installinit:197
msgid "B<--error-handler=>I<function>"
msgstr "B<--error-handler=>I<Funktion>"
#. type: textblock
-#: dh_installinit:177
+#: dh_installinit:199
msgid ""
"Call the named shell I<function> if running the init script fails. The "
"function should be provided in the F<prerm> and F<postinst> scripts, before "
@@ -6492,16 +7028,99 @@ msgstr ""
"F<postinst>-Skripten vor der Markierung B<#DEBHELPER#> bereitgestellt werden."
#. type: textblock
-#: dh_installinit:380
+#: dh_installinit:408
+#, fuzzy
+#| msgid "L<debhelper(7)>, L<dpkg-shlibdeps(1)>"
+msgid "L<debhelper(7)>, L<dh_installsystemd(1)>"
+msgstr "L<debhelper(7)>, L<dpkg-shlibdeps(1)>"
+
+#. type: textblock
+#: dh_installinit:416
msgid "Steve Langasek <steve.langasek@canonical.com>"
msgstr "Steve Langasek <steve.langasek@canonical.com>"
#. type: textblock
-#: dh_installinit:382
+#: dh_installinit:418
msgid "Michael Stapelberg <stapelberg@debian.org>"
msgstr "Michael Stapelberg <stapelberg@debian.org>"
#. type: textblock
+#: dh_installinitramfs:5
+#, fuzzy
+#| msgid ""
+#| "dh_installinit - install service init files into package build directories"
+msgid "dh_installinitramfs - install initramfs hooks and setup maintscripts"
+msgstr ""
+"dh_installinit - installiert Dienstinitialisierungsdateien in "
+"Paketbauverzeichnisse"
+
+#. type: textblock
+#: dh_installinitramfs:17
+#, fuzzy
+#| msgid "B<dh_installmenu> [S<B<debhelper options>>] [B<-n>]"
+msgid "B<dh_installinitramfs> [S<B<debhelper options>>] [B<-n>]"
+msgstr "B<dh_installmenu> [S<B<Debhelper-Optionen>>] [B<-n>]"
+
+#. type: textblock
+#: dh_installinitramfs:21
+#, fuzzy
+#| msgid ""
+#| "B<dh_installmime> is a debhelper program that is responsible for "
+#| "installing mime files into package build directories."
+msgid ""
+"B<dh_installinitramfs> is a debhelper program that is responsible for "
+"installing Debian package provided initramfs hooks."
+msgstr ""
+"B<dh_installmime> ist ein Debhelper-Programm, das für die Installation von "
+"MIME-Dateien in Paketbauverzeichnisse zuständig ist."
+
+#. type: textblock
+#: dh_installinitramfs:24
+#, fuzzy
+#| msgid ""
+#| "It also automatically generates the F<postinst> and F<postrm> commands "
+#| "needed to interface with the Debian B<menu> package. These commands are "
+#| "inserted into the maintainer scripts by L<dh_installdeb(1)>."
+msgid ""
+"If B<dh_installinitramfs> installs or (in compat 12 or later) detects one or "
+"more initramfs hooks in the package, then it also automatically generates "
+"the F<postinst> and F<postrm> commands needed to interface with the Debian "
+"initramfs system. These commands are inserted into the maintainer scripts "
+"by L<dh_installdeb(1)>."
+msgstr ""
+"Außerdem erzeugt es die F<postinst>- und F<postrm>-Befehl, die zum Verbinden "
+"mit dem Debian-Paket B<menu> benötigt werden. Diese Befehle werden durch "
+"L<dh_installdeb(1)> in die Betreuerskripte eingefügt."
+
+#. type: =item
+#: dh_installinitramfs:34
+#, fuzzy
+#| msgid "debian/I<package>.init"
+msgid "debian/I<package>.initramfs-hook"
+msgstr "debian/I<Paket>.init"
+
+#. type: textblock
+#: dh_installinitramfs:36
+msgid ""
+"Assumed to be an initramfs hook that will be installed into F<< usr/share/"
+"initramfs-tools/hooks/I<package> >> in the package build directory. See "
+"B<HOOK SCRIPTS> in L<initramfs-tools(8)> for more information about "
+"initramfs hooks."
+msgstr ""
+
+#. type: textblock
+#: dh_installinitramfs:49 dh_installmenu:50
+msgid "Do not modify F<postinst>/F<postrm> scripts."
+msgstr "ändert keine F<postinst>-/F<postrm>-Skripte."
+
+#. type: textblock
+#: dh_installinitramfs:88
+#, fuzzy
+#| msgid "L<debhelper(7)> L<update-menus(1)> L<menufile(5)>"
+msgid "L<debhelper(7)> L<update-initramfs(8)> L<initramfs-tools(8)>"
+msgstr "L<update-menus(1)>, L<menufile(5)>, L<debhelper(7)>"
+
+#. type: textblock
#: dh_installlogcheck:5
msgid "dh_installlogcheck - install logcheck rulefiles into etc/logcheck/"
msgstr ""
@@ -6632,18 +7251,12 @@ msgstr "B<dh_installman> [S<I<Debhelper-Optionen>>] [S<I<Handbuchseite> …>]"
#. type: textblock
#: dh_installman:22
-#, fuzzy
-#| msgid ""
-#| "B<dh_installmanpages> is a debhelper program that is responsible for "
-#| "automatically installing man pages into F<usr/share/man/> in package "
-#| "build directories."
msgid ""
"B<dh_installman> is a debhelper program that handles installing man pages "
"into the correct locations in package build directories."
msgstr ""
-"B<dh_installmanpages> ist ein Debhelper-Programm, das für die automatische "
-"Installation von Handbuchseiten in F<usr/share/man/> in "
-"Paketbauverzeichnissen zuständig ist."
+"B<dh_installman> ist ein Debhelper-Programm, das die Installation von "
+"Handbuchseiten an korrekten Stellen in Paketbauverzeichnissen handhabt."
#. type: textblock
#: dh_installman:25
@@ -6654,6 +7267,13 @@ msgid ""
"the same features of L<dh_install(1)> and has the advantage that it respects "
"the B<nodoc> build profile (unlike L<dh_install(1)>)."
msgstr ""
+"In Kompatibilitätsstufe 10 und älter war dieses Programm in erster Linie "
+"dafür da, wenn das Bausystem der Ursprungsautoren sie nicht ordentlich als "
+"Teil ihres Installationsschritts installierte (oder keinen "
+"Installationsschritt hatte). In Kompatibilitätsstufe 11 und höher "
+"unterstützt es dieselben Funktionalitäten wie L<dh_install(1)> und hat den "
+"Vorteil, dass es (im Gegensatz zu L<dh_install(1)>) das Bauprofil B<nodoc> "
+"beachtet."
#. type: textblock
#: dh_installman:32
@@ -6663,21 +7283,14 @@ msgid ""
"UTF-8 and for converting F<.so> links (as described below). However, that "
"part happens automatically without any explicit configuration."
msgstr ""
+"Sogar wenn Sie die Verwendung von L<dh_install(1)> für das Installieren der "
+"Handbuchseiten vorziehen, kann B<dh_installman> immer noch nützlich (wie "
+"unten beschreiben) sein für die Umwandlung der Handbuchseitenkodierung in "
+"UTF-8 und die Umwandlung von F<.so>-Links . Dieser Teil geschieht jedoch "
+"ohne ausdrückliche Konfiguration automatisch."
#. type: textblock
#: dh_installman:38
-#, fuzzy
-#| msgid ""
-#| "B<dh_installman> is a debhelper program that handles installing man pages "
-#| "into the correct locations in package build directories. You tell it what "
-#| "man pages go in your packages, and it figures out where to install them "
-#| "based on the section field in their B<.TH> or B<.Dt> line. If you have a "
-#| "properly formatted B<.TH> or B<.Dt> line, your man page will be installed "
-#| "into the right directory, with the right name (this includes proper "
-#| "handling of pages with a subsection, like B<3perl>, which are placed in "
-#| "F<man3>, and given an extension of F<.3perl>). If your B<.TH> or B<.Dt> "
-#| "line is incorrect or missing, the program may guess wrong based on the "
-#| "file extension."
msgid ""
"You tell B<dh_installman> what man pages go in your packages, and it figures "
"out where to install them based on the section field in their B<.TH> or B<."
@@ -6688,13 +7301,11 @@ msgid ""
"or B<.Dt> line is incorrect or missing, the program may guess wrong based on "
"the file extension."
msgstr ""
-"B<dh_installman> ist ein Debhelper-Programm, das die Installation von "
-"Handbuchseiten an die korrekten Speicherorte in Paketbauverzeichnissen "
-"handhabt. Sie teilen ihm mit, welche Handbuchseiten in Ihr Paket kommen und "
-"es ergründet, wohin sie installiert werden, basierend auf dem Abschnittsfeld "
-"in ihrer B<.TH>- oder B<.Dt>-Zeile. Falls Sie eine ordentlich formatierte B<."
-"TH>- oder B<.Dt>-Zeile haben, wird Ihre Handbuchseite in das richtige "
-"Verzeichnis mit dem richtigen Namen installiert (dies umfasst eine "
+"Sie teilen B<dh_installman> mit, welche Handbuchseiten in Ihr Paket kommen "
+"und es ergründet, wohin sie installiert werden, basierend auf dem "
+"Abschnittsfeld in ihrer B<.TH>- oder B<.Dt>-Zeile. Falls Sie eine ordentlich "
+"formatierte B<.TH>- oder B<.Dt>-Zeile haben, wird Ihre Handbuchseite in das "
+"richtige Verzeichnis mit dem richtigen Namen installiert (dies umfasst eine "
"ordentliche Handhabung von Seiten mit einem Unterabschnitt wie B<3perl>, die "
"in F<man3> platziert werden und Angabe einer Erweiterung von F<.3perl>). "
"Falls Ihre B<.TH>- oder B<.Dt>-Zeile nicht korrekt ist oder fehlt, wird das "
@@ -6760,22 +7371,22 @@ msgstr ""
"benutzen. Einzelheiten finden Sie unter L<manconv(1)>."
#. type: =item
-#: dh_installman:73
+#: dh_installman:77
msgid "debian/I<package>.manpages"
msgstr "debian/I<Paket>.manpages"
#. type: textblock
-#: dh_installman:75
+#: dh_installman:79
msgid "Lists man pages to be installed."
msgstr "listet zu installierende Handbuchseiten auf."
#. type: =item
-#: dh_installman:88
+#: dh_installman:92
msgid "B<--language=>I<ll>"
msgstr "B<--language=>I<ll>"
#. type: textblock
-#: dh_installman:90
+#: dh_installman:94
msgid ""
"Use this to specify that the man pages being acted on are written in the "
"specified language."
@@ -6783,33 +7394,13 @@ msgstr ""
"Benutzen Sie dies, um anzugeben, dass die Handbuchseiten, auf die es sich "
"auswirkt, in der angegebenen Sprache geschrieben sind."
-#. type: textblock
-#: dh_installman:98
-#, fuzzy
-#| msgid ""
-#| "Note that this is not the same as the B<--sourcedirectory> option used by "
-#| "the B<dh_auto_>I<*> commands. You rarely need to use this option, since "
-#| "B<dh_install> automatically looks for files in F<debian/tmp> in debhelper "
-#| "compatibility level 7 and above."
-msgid ""
-"Note that this is not the same as the B<--sourcedirectory> option used by "
-"the B<dh_auto_>I<*> commands. You rarely need to use this option, since "
-"B<dh_installman> automatically looks for files in F<debian/tmp> in debhelper "
-"compatibility level 11 and above."
-msgstr ""
-"Beachten Sie, dass dies nicht das Gleiche wie die Option B<--"
-"sourcedirectory> ist, die von B<dh_auto_>I<*>-Befehlen benutzt wird. Sie "
-"benötigen diese Option selten, da B<dh_install> in Debhelper-"
-"Kompatibilitätsstufe 7 und darüber automatisch in F<debian/tmp> nach Dateien "
-"sucht."
-
#. type: =item
-#: dh_installman:103
+#: dh_installman:107
msgid "I<manpage> ..."
msgstr "I<Handbuchseite> …>"
#. type: textblock
-#: dh_installman:105
+#: dh_installman:109
msgid ""
"Install these man pages into the first package acted on. (Or in all packages "
"if B<-A> is specified)."
@@ -6818,12 +7409,12 @@ msgstr ""
"auswirkt (oder in allen Paketen, falls B<-A> angegeben wurde)."
#. type: textblock
-#: dh_installman:112
+#: dh_installman:116
msgid "An example F<debian/manpages> file could look like this:"
-msgstr ""
+msgstr "Eine F<debian/manpages>-Datei könnte wie folgt aussehen:"
#. type: verbatim
-#: dh_installman:114
+#: dh_installman:118
#, no-wrap
msgid ""
" doc/man/foo.1\n"
@@ -6837,9 +7428,19 @@ msgid ""
" # ...\n"
"\n"
msgstr ""
+" doc/man/foo.1\n"
+" # Übersetzungen\n"
+" doc/man/foo.da.1\n"
+" doc/man/foo.de.1\n"
+" doc/man/foo.fr.1\n"
+" # NB: Die folgende Zeile wird als polnische Übersetzung von »foo.1« (und\n"
+" # nicht als in Perl geschriebene Handbuchseite namens »foo.pl«) betrachtet\n"
+" doc/man/foo.pl.1\n"
+" # …\n"
+"\n"
#. type: textblock
-#: dh_installman:126
+#: dh_installman:130
msgid ""
"An older version of this program, L<dh_installmanpages(1)>, is still used by "
"some packages, and so is still included in debhelper. It is, however, "
@@ -7030,11 +7631,6 @@ msgstr ""
"Paketbauverzeichnis."
#. type: textblock
-#: dh_installmenu:50
-msgid "Do not modify F<postinst>/F<postrm> scripts."
-msgstr "ändert keine F<postinst>-/F<postrm>-Skripte."
-
-#. type: textblock
#: dh_installmenu:90
msgid "L<debhelper(7)> L<update-menus(1)> L<menufile(5)>"
msgstr "L<update-menus(1)>, L<menufile(5)>, L<debhelper(7)>"
@@ -7296,7 +7892,7 @@ msgstr "setzt die Priorität der Datei. Vorgabe ist 60."
#. type: textblock
#: dh_installwm:5
msgid "dh_installwm - register a window manager"
-msgstr "dh_installwm - registriert einen Fenster-Manager"
+msgstr "dh_installwm - registriert einen Fenstermanager"
#. type: textblock
#: dh_installwm:17
@@ -7305,17 +7901,10 @@ msgid ""
"[S<I<wm> ...>]"
msgstr ""
"B<dh_installwm> [S<I<Debhelper-Optionen>>] [B<-n>] [B<--priority=>I<n>] "
-"[S<I<Fenster-Manager> …>]"
+"[S<I<Fenstermanager> …>]"
#. type: textblock
#: dh_installwm:21
-#, fuzzy
-#| msgid ""
-#| "B<dh_installwm> is a debhelper program that is responsible for generating "
-#| "the F<postinst> and F<prerm> commands that register a window manager with "
-#| "L<update-alternatives(8)>. The window manager's man page is also "
-#| "registered as a slave symlink (in v6 mode and up), if it is found in "
-#| "F<usr/share/man/man1/> in the package build directory."
msgid ""
"B<dh_installwm> is a debhelper program that is responsible for generating "
"the F<postinst> and F<prerm> commands that register a window manager with "
@@ -7325,11 +7914,12 @@ msgid ""
"In compat 9 and earlier, the manpage was optional."
msgstr ""
"B<dh_installwm> ist ein Debhelper-Programm, das für das Erzeugen der "
-"F<postinst>- und F<prerm>-Befehle zuständig ist, die einen Fenster-Manager "
+"F<postinst>- und F<prerm>-Befehle zuständig ist, die einen Fenstermanager "
"mit L<update-alternatives(8)> registrieren. Außerdem wird die Handbuchseite "
-"des Fenster-Managers als untergeordneter symbolischer Link (im v6-Modus und "
-"darüber) registriert, falls sie in F<usr/share/man/man1/> im "
-"Paketbauverzeichnis gefunden wird."
+"des Fenstermanagers als symbolischer Slave-Link (im v6-Modus und höher) "
+"registriert. Sie muss vor dem Aufruf von B<dh_installwm> in F<usr/share/man/"
+"man1/> im Paketbauverzeichnis installiert sein. Im Kompatibilitätsmodus 9 "
+"und älter war die Handbuchseite optional."
#. type: =item
#: dh_installwm:32
@@ -7339,7 +7929,7 @@ msgstr "debian/I<Paket>.wm"
#. type: textblock
#: dh_installwm:34
msgid "List window manager programs to register."
-msgstr "listet zu registrierende Fenster-Manager-Programme auf."
+msgstr "listet zu registrierende Fenstermanager-Programme auf."
#. type: textblock
#: dh_installwm:44
@@ -7348,9 +7938,9 @@ msgid ""
"most window managers; see the Debian Policy document for instructions on "
"calculating the correct value."
msgstr ""
-"setzt die Priorität des Fenster-Managers. Vorgabe ist 20, was für die "
-"meisten Fenster-Manager zu niedrig ist; Anleitungen zur Berechnung des "
-"korrekten Wertes finden Sie in der Debian-Richtlinie."
+"setzt die Priorität des Fenstermanagers. Vorgabe ist 20, was für die meisten "
+"Fenstermanager zu niedrig ist; Anleitungen zur Berechnung des korrekten "
+"Wertes finden Sie in der Debian-Richtlinie."
#. type: textblock
#: dh_installwm:50
@@ -7360,15 +7950,28 @@ msgstr ""
"ändert keine F<postinst>-/F<prerm>-Skripte; wandelt diesen Befehl in einen "
"Leerbefehl."
+#. type: textblock
+#: dh_installwm:54
+#, fuzzy
+#| msgid ""
+#| "Create any links specified by command line parameters in ALL packages "
+#| "acted on, not just the first."
+msgid ""
+"Modify scripts for window managers specified by command line parameters in "
+"ALL packages acted on, not just the first."
+msgstr ""
+"erstellt jegliche durch Befehlszeilenparameter angegebenen Links in ALLEN "
+"Paketen, auf die es sich auswirkt, nicht nur im ersten."
+
#. type: =item
-#: dh_installwm:52
+#: dh_installwm:57
msgid "I<wm> ..."
-msgstr "I<Fenster-Manager> …"
+msgstr "I<Fenstermanager> …"
#. type: textblock
-#: dh_installwm:54
+#: dh_installwm:59
msgid "Window manager programs to register."
-msgstr "zu registrierende Fenster-Manager-Programme"
+msgstr "zu registrierende Fenstermanager-Programme"
#. type: textblock
#: dh_installxfonts:5
@@ -7474,12 +8077,6 @@ msgstr ""
#. type: textblock
#: dh_link:25
-#, fuzzy
-#| msgid ""
-#| "B<dh_link> accepts a list of pairs of source and destination files. The "
-#| "source files are the already existing files that will be symlinked from. "
-#| "The destination files are the symlinks that will be created. There "
-#| "B<must> be an equal number of source and destination files specified."
msgid ""
"B<dh_link> accepts a list of pairs of source and destination files. The "
"source files are the already existing files that will be symlinked from "
@@ -7489,25 +8086,21 @@ msgid ""
msgstr ""
"B<dh_link> akzeptiert eine Liste von Paaren aus Quell- und Zieldateien. Die "
"Quelldateien sind bereits existierende Dateien, auf die dann symbolisch "
-"verwiesen wird. Die Zieldateien sind die symbolischen Links, die erstellt "
-"werden. Es B<muss> eine gleiche Anzahl von Quell- und Zieldateien angegeben "
-"werden."
+"verwiesen wird (durch L<ln(1)> B<link name> genannt). Die Zieldateien sind "
+"die symbolischen Links, die erstellt werden. Es B<muss> eine gleiche Anzahl "
+"von Quell- und Zieldateien angegeben werden."
#. type: textblock
#: dh_link:32
-#, fuzzy
-#| msgid ""
-#| "Be sure you B<do> specify the full filename to both the source and "
-#| "destination files (unlike you would do if you were using something like "
-#| "L<ln(1)>)."
msgid ""
"Be sure you B<do> specify the absolute path to both the source and "
"destination files (unlike you would do if you were using something like "
"L<ln(1)>). Please note that the leading slash is optional."
msgstr ""
-"Stellen Sie sicher, dass Sie den vollständigen Dateinamen sowohl für die "
-"Quell- als auch für die Zieldateien I<angeben> (anderes Vorgehen als bei der "
-"Verwendung von L<ln(1)> oder ähnlichem)."
+"Stellen Sie sicher, dass Sie den absoluten Pfad sowohl für die Quell- als "
+"auch für die Zieldateien I<angeben> (anderes Vorgehen als bei der Verwendung "
+"von L<ln(1)> oder ähnlichem). Bitte beachten Sie, dass der führende "
+"Schrägstrich optional ist."
#. type: textblock
#: dh_link:36
@@ -7527,7 +8120,7 @@ msgstr ""
#: dh_link:41
msgid "Any pre-existing destination files will be replaced with symlinks."
msgstr ""
-"Alle vorher existierenden Zieldateien werden durch symbolische Link ersetzt."
+"Alle vorher existierenden Zieldateien werden durch symbolische Links ersetzt."
#. type: textblock
#: dh_link:43
@@ -7563,6 +8156,10 @@ msgid ""
"the pairs of source and destination files in each line are give in the same "
"order as they would be given to L<ln(1)>."
msgstr ""
+"In jedem Paar kommt die Quelldatei (durch L<ln(1)> B<Ziel> genannt) zuerst. "
+"Ihr folgt die Zieldatei (durch L<ln(1)> B<link name> genannt). Daher werden "
+"die Paare von Quell- und Zieldatei in jeder Zeile in derselben Reihenfolge "
+"angegeben, in der sie an L<ln(1)> übergeben würden."
#. type: textblock
#: dh_link:61
@@ -7570,6 +8167,8 @@ msgid ""
"In contrast to L<ln(1)>, source and destination paths must be absolute (the "
"leading slash is optional)."
msgstr ""
+"Im Gegensatz zu L<ln(1)> müssen Quell- und Zielpfade absolut sein (der "
+"führende Schrägstrich ist optional)."
#. type: textblock
#: dh_link:72
@@ -7643,24 +8242,20 @@ msgstr ""
#. type: verbatim
#: dh_link:100
-#, fuzzy, no-wrap
-#| msgid ""
-#| " dh_link var/lib/foo usr/lib/foo \\\n"
-#| " usr/share/man/man1/foo.1 usr/share/man/man1/bar.1\n"
-#| "\n"
+#, no-wrap
msgid ""
" var/lib/foo usr/lib/foo\n"
" usr/share/man/man1/foo.1 usr/share/man/man1/bar.1\n"
"\n"
msgstr ""
-" dh_link var/lib/foo usr/lib/foo \\\n"
-" usr/share/man/man1/foo.1 usr/share/man/man1/bar.1\n"
+" var/lib/foo usr/lib/foo\n"
+" usr/share/man/man1/foo.1 usr/share/man/man1/bar.1\n"
"\n"
#. type: textblock
#: dh_link:103
msgid "Same as above but as content for a debian/I<package>.links file."
-msgstr ""
+msgstr "genau wie oben, jedoch Inhalt für eine debian/I<Paket>.links-Datei."
#. type: textblock
#: dh_lintian:5
@@ -7749,6 +8344,17 @@ msgstr ""
"sie die gleichen Optionen übergeben bekämen."
#. type: textblock
+#: dh_listpackages:26
+#, fuzzy
+#| msgid ""
+#| "These files are installed into the first binary package listed in debian/"
+#| "control."
+msgid "Packages are listed in the order they appear in F<debian/control>."
+msgstr ""
+"Diese Dateien werden in das erste Binärpaket installiert, das in »debian/"
+"control« aufgeführt ist."
+
+#. type: textblock
#: dh_makeshlibs:5
msgid ""
"dh_makeshlibs - automatically create shlibs file and call dpkg-gensymbols"
@@ -7868,38 +8474,51 @@ msgstr "B<--version-info>, B<--version-info=>I<Abhängigkeiten>"
#. type: textblock
#: dh_makeshlibs:67
msgid ""
-"By default, the shlibs file generated by this program does not make packages "
-"depend on any particular version of the package containing the shared "
-"library. It may be necessary for you to add some version dependency "
-"information to the shlibs file. If B<-V> is specified with no dependency "
-"information, the current upstream version of the package is plugged into a "
-"dependency that looks like \"I<packagename> B<(E<gt>>= I<packageversion>B<)>"
-"\". Note that in debhelper compatibility levels before v4, the Debian part "
-"of the package version number is also included. If B<-V> is specified with "
-"parameters, the parameters can be used to specify the exact dependency "
-"information needed (be sure to include the package name)."
-msgstr ""
-"Standardmäßig macht die von diesem Programm erzeugte Shlibs-Datei Pakete "
-"nicht von einer bestimmten Version des Pakets abhängig, das die gemeinsam "
-"benutzte Bibliothek enthält. Es könnte nötig sein, dass Sie der Shlibs-Datei "
-"einige Informationen zur Abhängigkeit von Versionen hinzufügen. Falls B<-V> "
-"ohne Abhängigkeitsinformationen angegeben wurde, wird die aktuelle Version "
-"der Originalautoren des Pakets an eine Abhängigkeit angeschlossen, die die "
-"Form »I<Paketname> B<(E<gt>>= I<Paketversion>B<)> hat. Beachten Sie, dass "
-"der Debian-Teil der Versionsnummer in Kompatibilitätsstufen vor v4 ebenfalls "
-"eingefügt wird. Falls B<-V> mit Parametern angegeben wurde, können die "
-"Parameter verwandt werden, um die exakte benötigte Abhängigkeitsinformation "
-"anzugeben (stellen Sie sicher, dass der Paketname enthalten ist)."
-
-#. type: textblock
-#: dh_makeshlibs:78
-msgid ""
-"Beware of using B<-V> without any parameters; this is a conservative setting "
-"that always ensures that other packages' shared library dependencies are at "
-"least as tight as they need to be (unless your library is prone to changing "
-"ABI without updating the upstream version number), so that if the maintainer "
-"screws up then they won't break. The flip side is that packages might end up "
-"with dependencies that are too tight and so find it harder to be upgraded."
+"If a shlibs file is generated by this program, this option controls what "
+"version will be used in the dependency relation."
+msgstr ""
+
+#. type: textblock
+#: dh_makeshlibs:70
+msgid ""
+"In compat 12 and later, B<dh_makeshlibs> defaults to B<-VUpstream-Version>. "
+"In compat 11 and earlier the default behaved like B<-VNone>.."
+msgstr ""
+
+#. type: textblock
+#: dh_makeshlibs:73
+msgid "The B<dh_makeshlibs> tool can generate dependencies in three variants:"
+msgstr ""
+
+#. type: =item
+#: dh_makeshlibs:77
+msgid "B<-VUpstream-Version>"
+msgstr ""
+
+#. type: textblock
+#: dh_makeshlibs:79
+msgid ""
+"The dependency will be \"I<packagename> B<(E<gt>>= I<packageversion>B<)>\". "
+"Note that I<Upstream-Version> is case-sensitive and must be written exactly "
+"as shown here."
+msgstr ""
+
+#. type: textblock
+#: dh_makeshlibs:83
+#, fuzzy
+#| msgid ""
+#| "Beware of using B<-V> without any parameters; this is a conservative "
+#| "setting that always ensures that other packages' shared library "
+#| "dependencies are at least as tight as they need to be (unless your "
+#| "library is prone to changing ABI without updating the upstream version "
+#| "number), so that if the maintainer screws up then they won't break. The "
+#| "flip side is that packages might end up with dependencies that are too "
+#| "tight and so find it harder to be upgraded."
+msgid ""
+"This is a conservative setting that always ensures that other packages' "
+"shared library dependencies are at least as tight as they need to be (unless "
+"the library is prone to changing ABI without updating the upstream version "
+"number)."
msgstr ""
"Hüten Sie sich davor, B<-V> ohne irgendwelche Parameter zu benutzen. Dies "
"ist eine konservative Einstellung, die immer sicherstellt, dass die "
@@ -7913,6 +8532,88 @@ msgstr ""
#. type: textblock
#: dh_makeshlibs:88
msgid ""
+"The flip side is that packages might end up with dependencies that are too "
+"tight in some cases (note a symbols file can mitigate this issue). This is "
+"often of minor temporary inconvenience and usually a lot better than the "
+"fall out caused by forgetting to bump the dependency information."
+msgstr ""
+
+#. type: textblock
+#: dh_makeshlibs:94
+msgid ""
+"This explicit form was added in debhelper/11.3. In previous versions, a B<-"
+"V> without any dependency information was used instead (and that form still "
+"works)"
+msgstr ""
+
+#. type: =item
+#: dh_makeshlibs:98
+#, fuzzy
+#| msgid "B<-V>"
+msgid "B<-VNone>"
+msgstr "B<-V>"
+
+#. type: textblock
+#: dh_makeshlibs:100
+msgid ""
+"The dependency will be \"I<packagename>\". Note that I<None> is case-"
+"sensitive and must be written exactly as shown here."
+msgstr ""
+
+#. type: textblock
+#: dh_makeshlibs:103
+msgid ""
+"This form is generally unsafe with the only exception being if upstream does "
+"not extend the ABI in any way. However, most upstreams improve their "
+"interfaces over time and packagers are recommended to use B<-VUpstream-"
+"Version> (or one of the other forms of B<-V>I<dependencies>)."
+msgstr ""
+
+#. type: textblock
+#: dh_makeshlibs:108
+msgid ""
+"Alternatively, this may be sufficient if (and only if) the package uses "
+"symbol versioning (see L<dpkg-gensymbols(1)>) and does I<not> build any udeb "
+"packages. Note that symbols are not supported for udeb packages, which "
+"solely relies on shlibs for dependency handling."
+msgstr ""
+
+#. type: =item
+#: dh_makeshlibs:113
+#, fuzzy
+#| msgid "B<--ddeb-migration=>I<package-relation>"
+msgid "B<-V>I<package-relation>"
+msgstr "B<--ddeb-migration=>I<Paketbeziehung>"
+
+#. type: textblock
+#: dh_makeshlibs:115
+msgid ""
+"In this case, the value passed to B<-V> will be used as a dependency "
+"relation. The I<package-relation> should generally be of the form \"I<some-"
+"package-name> B<(E<gt>>= I<some-package-version>B<)>\". Remember to include "
+"the package name."
+msgstr ""
+
+#. type: textblock
+#: dh_makeshlibs:120
+msgid ""
+"Note that debhelper will use the value I<as it is> with no sanity checking "
+"or modification. In I<rare special> cases, this is needed to generate a "
+"dependency on a different package than the one containing the library."
+msgstr ""
+
+#. type: textblock
+#: dh_makeshlibs:127
+msgid ""
+"When choosing a value for this option, please keep mind that if the package "
+"provides a symbols file, then that it generally preferred over the shlibs "
+"file for regular .deb packages. See L<dpkg-shlibdeps(1)> for more "
+"information on this topic."
+msgstr ""
+
+#. type: textblock
+#: dh_makeshlibs:134
+msgid ""
"Do not add the \"ldconfig\" trigger even if it seems like the package might "
"need it. The option is called B<--no-scripts> for historical reasons as "
"B<dh_makeshlibs> would previously generate maintainer scripts that called "
@@ -7924,7 +8625,7 @@ msgstr ""
"würde, die B<ldconfig> aufriefen."
#. type: textblock
-#: dh_makeshlibs:95
+#: dh_makeshlibs:141
msgid ""
"Exclude files that contain I<item> anywhere in their filename or directory "
"from being treated as shared libraries."
@@ -7933,12 +8634,12 @@ msgstr ""
"I<Element> enthalten, als Bibliotheken betrachtet zu werden."
#. type: =item
-#: dh_makeshlibs:98
+#: dh_makeshlibs:144
msgid "B<--add-udeb=>I<udeb>"
msgstr "B<--add-udeb=>I<Udeb>"
#. type: textblock
-#: dh_makeshlibs:100
+#: dh_makeshlibs:146
msgid ""
"Create an additional line for udebs in the shlibs file and use I<udeb> as "
"the package name for udebs to depend on instead of the regular library "
@@ -7949,17 +8650,19 @@ msgstr ""
"Bibliothekpakets."
#. type: textblock
-#: dh_makeshlibs:105
+#: dh_makeshlibs:151
msgid "Pass I<params> to L<dpkg-gensymbols(1)>."
msgstr "übergibt I<Parameter> an L<dpkg-gensymbols(1)>."
#. type: =item
-#: dh_makeshlibs:113
-msgid "B<dh_makeshlibs>"
-msgstr "B<dh_makeshlibs>"
+#: dh_makeshlibs:159
+#, fuzzy
+#| msgid "B<dh_makeshlibs -V>"
+msgid "B<dh_makeshlibs -VNone>"
+msgstr "B<dh_makeshlibs -V>"
#. type: verbatim
-#: dh_makeshlibs:115
+#: dh_makeshlibs:161
#, no-wrap
msgid ""
"Assuming this is a package named F<libfoobar1>, generates a shlibs file that\n"
@@ -7973,12 +8676,14 @@ msgstr ""
"\n"
#. type: =item
-#: dh_makeshlibs:119
-msgid "B<dh_makeshlibs -V>"
+#: dh_makeshlibs:165
+#, fuzzy
+#| msgid "B<dh_makeshlibs -V>"
+msgid "B<dh_makeshlibs -VUpstream-Version>"
msgstr "B<dh_makeshlibs -V>"
#. type: verbatim
-#: dh_makeshlibs:121
+#: dh_makeshlibs:167
#, no-wrap
msgid ""
"Assuming the current version of the package is 1.1-3, generates a shlibs\n"
@@ -7992,12 +8697,12 @@ msgstr ""
"\n"
#. type: =item
-#: dh_makeshlibs:125
+#: dh_makeshlibs:171
msgid "B<dh_makeshlibs -V 'libfoobar1 (E<gt>= 1.0)'>"
msgstr "B<dh_makeshlibs -V 'libfoobar1 (E<gt>= 1.0)'>"
#. type: verbatim
-#: dh_makeshlibs:127
+#: dh_makeshlibs:173
#, no-wrap
msgid ""
"Generates a shlibs file that looks something like:\n"
@@ -8564,7 +9269,7 @@ msgstr ""
"\t\n"
#. type: textblock
-#: dh_shlibdeps:203
+#: dh_shlibdeps:201
msgid "L<debhelper(7)>, L<dpkg-shlibdeps(1)>"
msgstr "L<debhelper(7)>, L<dpkg-shlibdeps(1)>"
@@ -8628,17 +9333,6 @@ msgstr ""
"bewältigt B<dh_strip> derzeit nicht das Entfernen von Symbolen binärer "
"Module, wie etwa F<.o>-Dateien."
-#. type: textblock
-#: dh_strip:44
-msgid ""
-"Exclude files that contain I<item> anywhere in their filename from being "
-"stripped. You may use this option multiple times to build up a list of "
-"things to exclude."
-msgstr ""
-"schließt Dateien vom Entfernen der Symbole aus, die irgendwo in ihrem "
-"Dateinamen I<Element> enthalten. Sie können diese Option mehrfach benutzen, "
-"um eine Liste auszuschließender Dinge zu erstellen."
-
#. type: =item
#: dh_strip:48
msgid "B<--dbg-package=>I<package>"
@@ -8839,7 +9533,7 @@ msgstr ""
"Das automatische Erzeugen von Symbolpaketen zur Fehlersuche kann außerdem "
"durch Hinzufügen von B<noautodbgsym> zur Umgebungsvariablen "
"B<DEB_BUILD_OPTIONS> verhindert werden. B<dh_strip> wird jedoch auch "
-"weiterhin Fehlersuchverweise auf ELF-Binärdateien hinzufügen, wenn dieser "
+"weiterhin Fehlersuch-Links auf ELF-Binärdateien hinzufügen, wenn dieser "
"Schalter gesetzt ist. Dies stellt sicher, dass das normale Deb-Paket mit "
"oder ohne diesen Schalter identisch ist (unter der Annahme, dass es "
"ansonsten »Bit-für-Bit« reproduzierbar ist)."
@@ -8879,12 +9573,12 @@ msgstr "testet auch, ob diese Dateien existieren."
#. type: textblock
#: dh_testroot:7
-#, fuzzy
-#| msgid "dh_testroot - ensure that a package is built as root"
msgid ""
"dh_testroot - ensure that a package is built with necessary level of root "
"permissions"
-msgstr "dh_testroot - stellt sicher, dass ein Paket als Root gebaut wird."
+msgstr ""
+"dh_testroot - stellt sicher, dass ein Paket mit der notwendigen Stufe von "
+"Root-Rechten gebaut wird."
#. type: textblock
#: dh_testroot:11
@@ -8894,56 +9588,81 @@ msgstr "B<dh_testroot> [S<I<Debhelper-Optionen>>]"
#. type: textblock
#: dh_testroot:15
msgid ""
-"B<dh_testroot> is used to determine if the package has access to at least "
-"the level of root access that it declared it needed via the Rules-Requires-"
-"Root (R³) field."
+"B<dh_testroot> is used to determine if the target is being run with "
+"sufficient access to (fake)root."
msgstr ""
#. type: textblock
-#: dh_testroot:19
+#: dh_testroot:18
msgid ""
-"The following is how B<dh_testroot> behaves based on the effective value of "
-"the R³ field:"
-msgstr ""
-
-#. type: =item
-#: dh_testroot:24
-msgid "\"binary-targets\""
+"The definition of sufficient access depends on whether the builder (the tool "
+"invoking the F<debian/rules> target) supports the I<Rules-Requires-Root> "
+"(R³) field. If the builder supports R³, then it will set the environment "
+"variable I<DEB_RULES_REQUIRES_ROOT> and B<dh_testroot> will validate that "
+"the builder followed the minimum requirements for the given value of "
+"I<DEB_RULES_REQUIRES_ROOT>."
msgstr ""
#. type: textblock
-#: dh_testroot:26
-msgid "B<dh_testroot> asserts that it is run as root or under L<fakeroot(1)>."
+#: dh_testroot:25
+msgid ""
+"If the builder does not support I<Rules-Requires-Root>, then it will not set "
+"the I<DEB_RULES_REQUIRES_ROOT> environment variable. This will in turn make "
+"B<dh_testroot> (and the rest of debhelper) fall back to assuming that "
+"(fake)root is implied."
msgstr ""
-#. type: =item
-#: dh_testroot:28
-msgid "\"no\""
+#. type: textblock
+#: dh_testroot:30
+msgid ""
+"The following is a summary of how B<dh_testroot> behaves based on the "
+"I<DEB_RULES_REQUIRES_ROOT> environment variable (leading and trailing "
+"whitespace in the variable is ignored)."
msgstr ""
#. type: textblock
-#: dh_testroot:30
-msgid "B<dh_testroot> returns successfully."
+#: dh_testroot:38
+#, fuzzy
+#| msgid ""
+#| "B<dh_testroot> asserts that it is run as root or under L<fakeroot(1)>."
+msgid ""
+"If unset, or set to C<binary-targets>, then B<dh_testroot> asserts that it "
+"is run as root or under L<fakeroot(1)>."
msgstr ""
+"B<dh_testroot> versichert, dass es als Root oder unter L<fakeroot(1)> läuft."
-#. type: =item
-#: dh_testroot:32
-msgid "Any other value than the above"
+#. type: textblock
+#: dh_testroot:43
+msgid ""
+"If set to C<no>, then B<dh_testroot> returns successfully (without "
+"performing any additional checks)."
msgstr ""
#. type: textblock
-#: dh_testroot:34
+#: dh_testroot:48
+#, fuzzy
+#| msgid ""
+#| "B<dh_testroot> asserts that it is either run as root (or under "
+#| "L<fakeroot(1)>) or the builder has provided the B<DPKG_GAIN_ROOT_CMD> "
+#| "environment variable (e.g. via dpkg-buildpackage -r)."
msgid ""
-"B<dh_testroot> asserts that it is either run as root (or under "
-"L<fakeroot(1)>) or the builder has provided the B<DPKG_GAIN_ROOT_CMD> "
-"environment variable (e.g. via dpkg-buildpackage -r)."
+"If set to any other value than the above, then B<dh_testroot> asserts that "
+"it is either run as root (or under L<fakeroot(1)>) or the builder has "
+"provided the B<DEB_GAIN_ROOT_CMD> environment variable (e.g. via dpkg-"
+"buildpackage -r)."
msgstr ""
+"B<dh_testroot> versichert, dass es entweder als Root (oder unter "
+"L<fakeroot(1)>) läuft oder das Bauprogramm hat die Umgebungsvariable "
+"B<DPKG_GAIN_ROOT_CMD> bereitgestellt (z.B. per dpkg-buildpackage -r)."
#. type: textblock
-#: dh_testroot:40
+#: dh_testroot:55
msgid ""
-"For backwards compatibility, B<dh_testroot> will consider the absence of the "
-"R³ field as if the R³ field was set to \"binary-targets\"."
+"Please note that B<dh_testroot> does I<not> read the I<Rules-Requires-Root> "
+"field. Which implies that B<dh_testroot> may produce incorrect result if "
+"the builder lies in I<DEB_RULES_REQUIRES_ROOT>. On the flip side, it also "
+"enables things like testing for what will happen when "
+"I<DEB_RULES_REQUIRES_ROOT> is set to a given value."
msgstr ""
#. type: textblock
@@ -8988,44 +9707,36 @@ msgstr ""
#. type: textblock
#: dh_usrlocal:36
msgid ""
-"When the I<Rules-Requires-Root> field is not (effectively) I<binary-"
-"targets>, the directories in F</usr/local> will have ownership root:staff "
-"and the mode will be 02775. These values have been chosen to comply with "
-"the recommendations of the Debian policy for directories in F</usr/local>."
+"When the I<DEB_RULES_REQUIRES_ROOT> environment variable is not "
+"(effectively) I<binary-targets>, the directories in F</usr/local> will be "
+"handled as if they were owned by root:root (see below)."
msgstr ""
#. type: textblock
-#: dh_usrlocal:42
-#, fuzzy
-#| msgid ""
-#| "If the directories found in the build tree have unusual owners, groups, "
-#| "or permissions, then those values will be preserved in the directories "
-#| "made by the F<postinst> script. However, as a special exception, if a "
-#| "directory is owned by root.root, it will be treated as if it is owned by "
-#| "root.staff and is mode 2775. This is useful, since that is the group and "
-#| "mode policy recommends for directories in F</usr/local>."
-msgid ""
-"When I<Rules-Requires-Root> has an effective value of I<binary-targets>, the "
-"owners, groups and permissions will be preserved with one exception. If the "
-"directory is owned by root:root, then ownership will be reset to root:staff "
-"and mode will be reset to 02775. This is useful, since that is the group and "
-"mode policy recommends for directories in F</usr/local>."
-msgstr ""
-"Falls die im Baubaum gefundenen Verzeichnisse unübliche Besitzer, Gruppen "
-"oder Zugriffsrechte haben, werden diese Werte in den durch das F<postinst>-"
-"Skript erstellten Verzeichnissen aufbewahrt. Falls ein Verzeichnis jedoch "
-"als besondere Ausnahme root.root gehört, wird es als Besitz von root.staff "
-"mit den Rechte-Bits 2775 betrachtet. Dies ist nützlich, da dies die Gruppen- "
-"und die Rechte-Bits sind, die die Richtlinie für Verzeichnisse in F</usr/"
-"local> empfiehlt."
-
-#. type: textblock
-#: dh_usrlocal:67
+#: dh_usrlocal:40
+msgid ""
+"When the I<DEB_RULES_REQUIRES_ROOT> environment variable has an effective "
+"value of I<binary-targets>, the owners, groups and permissions will be "
+"preserved with the sole exception where the directory is owned by root:root."
+msgstr ""
+
+#. type: textblock
+#: dh_usrlocal:44
+msgid ""
+"If a directory is owned by root:root, then ownership will be determined at "
+"install time. The ownership and permission bits will either be root:root "
+"mode 0755 or root:staff mode 02775. The actual choice depends on whether "
+"the system has F</etc/staff-group-for-usr-local> (as documented in the "
+"Debian Policy Manual §9.1.2 since version 4.1.4)"
+msgstr ""
+
+#. type: textblock
+#: dh_usrlocal:68
msgid "Debian policy, version 2.2"
msgstr "Debian-Richtlinie, Version 2.2"
#. type: textblock
-#: dh_usrlocal:140
+#: dh_usrlocal:144
msgid "Andrew Stribblehill <ads@debian.org>"
msgstr "Andrew Stribblehill <ads@debian.org>"
@@ -9098,23 +9809,17 @@ msgstr ""
#. type: =item
#: dh_systemd_enable:45
-#, fuzzy
-#| msgid "debian/I<package>.logcheck.ignore.server"
msgid "debian/I<package>.service, debian/I<package>@.service"
-msgstr "debian/I<Paket>.logcheck.ignore.server"
+msgstr "debian/I<Paket>.service, debian/I<Paket>@.service"
#. type: textblock
#: dh_systemd_enable:47
-#, fuzzy
-#| msgid ""
-#| "If this exists, it is installed into lib/systemd/system/I<package>."
-#| "service in the package build directory."
msgid ""
"If this exists, it is installed into lib/systemd/system/I<package>.service "
"(or lib/systemd/system/I<package>@.service) in the package build directory."
msgstr ""
-"Falls dies existiert, wird es in lib/systemd/system/I<Paket>.service im "
-"Paketbauverzeichnis installiert."
+"Falls dies existiert, wird es in lib/systemd/system/I<Paket>.service (oder "
+"lib/systemd/system/I<Paket>@.service) im Paketbauverzeichnis installiert."
#. type: textblock
#: dh_systemd_enable:52
@@ -9129,117 +9834,79 @@ msgstr ""
#. type: =item
#: dh_systemd_enable:56
-#, fuzzy
-#| msgid "debian/I<package>.manpages"
msgid "debian/I<package>.target, debian/I<package>@.target"
-msgstr "debian/I<Paket>.manpages"
+msgstr "debian/I<Paket>.target, debian/I<Paket>@.target"
#. type: textblock
#: dh_systemd_enable:58
-#, fuzzy
-#| msgid ""
-#| "If this exists, it is installed into lib/systemd/system/I<package>."
-#| "service in the package build directory."
msgid ""
"If this exists, it is installed into lib/systemd/system/I<package>.target "
"(or lib/systemd/system/I<package>@.target) in the package build directory."
msgstr ""
-"Falls dies existiert, wird es in lib/systemd/system/I<Paket>.service im "
-"Paketbauverzeichnis installiert."
+"Falls dies existiert, wird es in lib/systemd/system/I<Paket>.target (oder "
+"lib/systemd/system/I<Paket>@.target) im Paketbauverzeichnis installiert."
#. type: =item
#: dh_systemd_enable:61
-#, fuzzy
-#| msgid "debian/I<package>.manpages"
msgid "debian/I<package>.socket, debian/I<package>@.socket"
-msgstr "debian/I<Paket>.manpages"
+msgstr "debian/I<Paket>.socket, debian/I<Paket>@.socket"
#. type: textblock
#: dh_systemd_enable:63
-#, fuzzy
-#| msgid ""
-#| "If this exists, it is installed into lib/systemd/system/I<package>."
-#| "service in the package build directory."
msgid ""
"If this exists, it is installed into lib/systemd/system/I<package>.socket "
"(or lib/systemd/system/I<package>@.socket) in the package build directory."
msgstr ""
-"Falls dies existiert, wird es in lib/systemd/system/I<Paket>.service im "
-"Paketbauverzeichnis installiert."
+"Falls dies existiert, wird es in lib/systemd/system/I<Paket>.socket (oder "
+"lib/systemd/system/I<Paket>@.socket) im Paketbauverzeichnis installiert."
#. type: =item
#: dh_systemd_enable:66
-#, fuzzy
-#| msgid "debian/I<package>.menu"
msgid "debian/I<package>.mount"
-msgstr "debian/I<Paket>.menu"
+msgstr "debian/I<Paket>.mount"
#. type: textblock
#: dh_systemd_enable:68
-#, fuzzy
-#| msgid ""
-#| "If this exists, it is installed into lib/systemd/system/I<package>."
-#| "service in the package build directory."
msgid ""
"If this exists, it is installed into lib/systemd/system/I<package>.mount in "
"the package build directory."
msgstr ""
-"Falls dies existiert, wird es in lib/systemd/system/I<Paket>.service im "
+"Falls dies existiert, wird es in lib/systemd/system/I<Paket>.mount im "
"Paketbauverzeichnis installiert."
#. type: =item
#: dh_systemd_enable:71
-#, fuzzy
-#| msgid "debian/I<package>.manpages"
msgid "debian/I<package>.path, debian/I<package>@.path"
-msgstr "debian/I<Paket>.manpages"
+msgstr "debian/I<Paket>.path, debian/I<Paket>@.path"
#. type: textblock
#: dh_systemd_enable:73
-#, fuzzy
-#| msgid ""
-#| "If this exists, it is installed into lib/systemd/system/I<package>."
-#| "service in the package build directory."
msgid ""
"If this exists, it is installed into lib/systemd/system/I<package>.path (or "
"lib/systemd/system/I<package>@.path) in the package build directory."
msgstr ""
-"Falls dies existiert, wird es in lib/systemd/system/I<Paket>.service im "
-"Paketbauverzeichnis installiert."
+"Falls dies existiert, wird es in lib/systemd/system/I<Paket>.path (oder lib/"
+"systemd/system/I<Paket>@.path) im Paketbauverzeichnis installiert."
#. type: =item
#: dh_systemd_enable:76
-#, fuzzy
-#| msgid "debian/I<package>.manpages"
msgid "debian/I<package>.timer, debian/I<package>@.timer"
-msgstr "debian/I<Paket>.manpages"
+msgstr "debian/I<Paket>.timer, debian/I<Paket>@.timer"
#. type: textblock
#: dh_systemd_enable:78
-#, fuzzy
-#| msgid ""
-#| "If this exists, it is installed into lib/systemd/system/I<package>."
-#| "service in the package build directory."
msgid ""
"If this exists, it is installed into lib/systemd/system/I<package>.timer (or "
"lib/systemd/system/I<package>@.timer) in the package build directory."
msgstr ""
-"Falls dies existiert, wird es in lib/systemd/system/I<Paket>.service im "
-"Paketbauverzeichnis installiert."
-
-#. type: =item
-#: dh_systemd_enable:87
-msgid "B<--no-enable>"
-msgstr "B<--no-enable>"
+"Falls dies existiert, wird es in lib/systemd/system/I<Paket>.timer (oder lib/"
+"systemd/system/I<Paket>@.timer) im Paketbauverzeichnis installiert."
#. type: textblock
#: dh_systemd_enable:89
-#, fuzzy
-#| msgid ""
-#| "Just disable the service(s) on purge, but do not enable them by default."
msgid "Disable the service(s) on purge, but do not enable them on install."
msgstr ""
-"deaktiviert den Dienst oder die Dienste beim vollständigen Löschen nur, "
+"deaktiviert nur den Dienst oder die Dienste beim vollständigen Löschen nur, "
"aktiviert sie aber nicht standardmäßig."
#. type: textblock
@@ -9249,6 +9916,9 @@ msgid ""
"That is controlled by L<dh_systemd_start(1)> (using e.g. its B<--no-start> "
"option)."
msgstr ""
+"B<Beachten Sie>, dass diese Option nicht beeinflusst, ob die Dienste "
+"gestartet werden. Dies wird durch L<dh_systemd_start(1)> gesteuert (benutzt "
+"z.B. seine B<--no-start>-Option)."
#. type: textblock
#: dh_systemd_enable:97
@@ -9394,208 +10064,213 @@ msgstr ""
msgid "This compatibility level is open for beta testing; changes may occur."
msgstr "Diese Kompatibilitätsstufe ist im Beta-Test; Änderungen sind möglich."
-#~ msgid "Participating in the open beta testing of new compat levels"
-#~ msgstr "Teilnahme an offenen Beta-Tests neuer Kompatibilitätsstufen"
-
#~ msgid ""
-#~ "It is possible to opt-in to the open beta testing of new compat levels. "
-#~ "This is done by setting the compat level to the string \"beta-tester\"."
+#~ "The B<dh_installdocs> and B<dh_installexamples> tools will now attempt to "
+#~ "guess the \"main package\" for a given documentation package (e.g. I<pkg-"
+#~ "doc> will have I<pkg> as main package if the latter exists). If a main "
+#~ "package is found, I<most> of the documentation will be installed into "
+#~ "F<< /usr/share/doc/I<main-pkg> >> by default as recommended by Debian "
+#~ "policy §12.3 since version 3.9.7. Notable exceptions include the "
+#~ "copyright file and changelog files."
#~ msgstr ""
-#~ "Es ist möglich, der Teilnahme an offenen Beta-Tests neuer "
-#~ "Kompatibilitätsstufen beizutreten. Dies wird durch Setzen der "
-#~ "Kompatibilitätsstufe auf die Zeichenkette »beta-tester« erledigt."
+#~ "Die Werkzeuge B<dh_installdocs> und B<dh_installexamples> werden nun "
+#~ "versuchen, das »Hauptpaket« für ein angegebenes Dokumentationspaket zu "
+#~ "erraten (das Hauptpaket von I<Dokumentationspaket> wird z.B. I<Paket> "
+#~ "sein, falls letzteres existiert). Falls ein Hauptpaket gefunden wird, "
+#~ "wird die I<meiste> Dokumentation standardmäßig in F<< /usr/share/doc/"
+#~ "I<main-pkg> >> installiert, wie es durch die Debian-Richtlinien §12.3 "
+#~ "seit Version 3.9.7 empfohlen wird. Beachtenswerte Ausnahmen enthalten die "
+#~ "Copyright-Datei und die Changelog-Dateien."
#~ msgid ""
-#~ "Packages using this compat level will automatically be upgraded to the "
-#~ "highest compatibility level in open beta. In periods without any open "
-#~ "beta versions, the compat level will be the highest stable compatibility "
-#~ "level."
+#~ "The syntax of these files is intentionally kept very simple to make them "
+#~ "easy to read, understand, and modify. If you prefer power and complexity, "
+#~ "you can make the file executable, and write a program that outputs "
+#~ "whatever content is appropriate for a given situation. When you do so, "
+#~ "the output is not further processed to expand wildcards or strip comments."
#~ msgstr ""
-#~ "Für Pakete, die diese Kompatibilitätsstufe benutzen, wird automatisch ein "
-#~ "Upgrade auf die höchste Kompatibilitätsstufe im offenen Beta-Status "
-#~ "durchgeführt. In Zeiträumen ohne irgendwelche offenen Beta-Versionen wird "
-#~ "die Kompatibilitätsstufe die höchste stabile Kompatibilitätsstufe sein."
+#~ "Die Syntax dieser Dateien ist absichtlich sehr einfach gehalten, damit "
+#~ "sie leicht zu lesen, zu verstehen und zu ändern sind. Falls Sie Leistung "
+#~ "und Komplexität vorziehen, können Sie die Datei ausführbar machen und ein "
+#~ "Programm schreiben, das das ausgibt, was auch immer für eine gegebene "
+#~ "Situation geeignet ist. Wenn Sie dies tun, wird die Ausgabe nicht weiter "
+#~ "verarbeitet, um Platzhalter zu expandieren oder Kommentare zu entfernen."
-#~ msgid "Please consider the following before opting in:"
-#~ msgstr "Bitte bedenken Sie vor der Teilnahme Folgendes:"
-
-#~ msgid "*"
-#~ msgstr "*"
+#~ msgid "B<dh_installdirs> [S<I<debhelper options>>] [B<-A>] [S<I<dir> ...>]"
+#~ msgstr "B<dh_installdirs> [S<I<Debhelper-Optionen>>] [B<-A>] [S<I<Verz> …>]"
#~ msgid ""
-#~ "The automatic upgrade in compatibility level may cause the package (or a "
-#~ "feature in it) to stop functioning."
+#~ "By default, the shlibs file generated by this program does not make "
+#~ "packages depend on any particular version of the package containing the "
+#~ "shared library. It may be necessary for you to add some version "
+#~ "dependency information to the shlibs file. If B<-V> is specified with no "
+#~ "dependency information, the current upstream version of the package is "
+#~ "plugged into a dependency that looks like \"I<packagename> B<(E<gt>>= "
+#~ "I<packageversion>B<)>\". Note that in debhelper compatibility levels "
+#~ "before v4, the Debian part of the package version number is also "
+#~ "included. If B<-V> is specified with parameters, the parameters can be "
+#~ "used to specify the exact dependency information needed (be sure to "
+#~ "include the package name)."
#~ msgstr ""
-#~ "Das automatische Upgrade der Kompatibilitätsstufe kann dazu führen, dass "
-#~ "das Paket (oder eine enthaltene Funktionalität) nicht mehr funktioniert."
+#~ "Standardmäßig macht die von diesem Programm erzeugte Shlibs-Datei Pakete "
+#~ "nicht von einer bestimmten Version des Pakets abhängig, das die gemeinsam "
+#~ "benutzte Bibliothek enthält. Es könnte nötig sein, dass Sie der Shlibs-"
+#~ "Datei einige Informationen zur Abhängigkeit von Versionen hinzufügen. "
+#~ "Falls B<-V> ohne Abhängigkeitsinformationen angegeben wurde, wird die "
+#~ "aktuelle Version der Originalautoren des Pakets an eine Abhängigkeit "
+#~ "angeschlossen, die die Form »I<Paketname> B<(E<gt>>= I<Paketversion>B<)> "
+#~ "hat. Beachten Sie, dass der Debian-Teil der Versionsnummer in "
+#~ "Kompatibilitätsstufen vor v4 ebenfalls eingefügt wird. Falls B<-V> mit "
+#~ "Parametern angegeben wurde, können die Parameter verwandt werden, um die "
+#~ "exakte benötigte Abhängigkeitsinformation anzugeben (stellen Sie sicher, "
+#~ "dass der Paketname enthalten ist)."
+
+#~ msgid "B<dh_makeshlibs>"
+#~ msgstr "B<dh_makeshlibs>"
#~ msgid ""
-#~ "Compatibility levels in open beta are still subject to change. We will "
-#~ "try to keep the changes to a minimal once the beta starts. However, "
-#~ "there are no guarantees that the compat will not change during the beta."
+#~ "B<dh_testroot> is used to determine if the package has access to at least "
+#~ "the level of root access that it declared it needed via the Rules-"
+#~ "Requires-Root (R³) field."
#~ msgstr ""
-#~ "Kompatibilitätsstufen im offenen Beta-Status sind immer Gegenstand von "
-#~ "Änderungen. Wir versuchen die Änderungen gering zu halten, sobald die "
-#~ "Beta-Phase beginnt. Es gibt jedoch keine Garantien, dass die "
-#~ "Kompatibilität sich nicht während der Beta-Phase ändert."
+#~ "B<dh_testroot> wird benutzt, um zu bestimmen, ob ein Paket zumindest "
+#~ "Zugriff auf die Stufe von Root-Rechten hat, deren Notwendigkeit über das "
+#~ "Feld Rules-Requires-Root (R³) deklariert wird."
-#, fuzzy
-#~| msgid ""
-#~| "We will notify you via debian-devel@lists.debian.org before we start a "
-#~| "new open beta compat level. However, once the beta starts we expect "
-#~| "that you keep yourself up to date on changes to debhelper."
#~ msgid ""
-#~ "We will notify you via debian-devel-announce@lists.debian.org or debian-"
-#~ "devel@lists.debian.org before we start a new open beta compat level. "
-#~ "However, once the beta starts we expect that you keep yourself up to date "
-#~ "on changes to debhelper for that compat level."
+#~ "The following is how B<dh_testroot> behaves based on the effective value "
+#~ "of the R³ field:"
#~ msgstr ""
-#~ "Sie werden vor dem Start einer neuen offenen Beta-Kompatibilitätsstufe "
-#~ "per debian-devel@lists.debian.org benachrichtigt. Es wird jedoch von "
-#~ "Ihnen erwartet, dass Sie sich dann selbst über Änderungen an Debhelper "
-#~ "auf dem Laufenden halten."
+#~ "Es folgt, wie B<dh_testroot> sich basierend auf dem effektiven Wert des "
+#~ "R³-Felds verhält:"
-#, fuzzy
-#~| msgid ""
-#~| "The \"beta-tester\" compatibility version in unstable and testing will "
-#~| "often be different than the one in stable-backports. Accordingly, it is "
-#~| "not recommended for packages being backported regularly."
-#~ msgid ""
-#~ "The \"beta-tester\" compatibility version in unstable and testing will "
-#~ "often be different than the one in stable. Accordingly, it is not "
-#~ "recommended for packages being backported regularly. Alternatively, "
-#~ "please be sure to add explicit versioned Build-Depends on debhelper, so "
-#~ "you get exactly the compatibility version you expect."
-#~ msgstr ""
-#~ "Die Kompatibilitätsversion »beta-tester« in Unstable und Testing wird "
-#~ "sich oft von der in Stable-Backports unterscheiden. Dementsprechend wird "
-#~ "sie nicht für Pakete empfohlen, die regulär zurückportiert werden."
+#~ msgid "\"binary-targets\""
+#~ msgstr "»binary-targets«"
-#~ msgid ""
-#~ "You can always opt-out of the beta by resetting the compatibility level "
-#~ "of your package to a stable version."
-#~ msgstr ""
-#~ "Sie können sich immer von der Beta abmelden, indem Sie die "
-#~ "Kompatibilitätsstufe Ihres Pakets auf eine stabile Version setzen."
+#~ msgid "\"no\""
+#~ msgstr "»nein«"
-# CHECKME (english text correct?)
-#~ msgid "Should you still be interested in the open beta testing, please run:"
-#~ msgstr ""
-#~ "Sollten Sie immer noch am offenen Beta-Test interessiert sein, führen Sie "
-#~ "Folgendes aus:"
+#~ msgid "B<dh_testroot> returns successfully."
+#~ msgstr "B<dh_testroot> kehrt erfolgreich zurück."
-#~ msgid ""
-#~ " % echo beta-tester > debian/compat\n"
-#~ "\n"
-#~ msgstr ""
-#~ " % echo beta-tester > debian/compat\n"
-#~ "\n"
+#~ msgid "Any other value than the above"
+#~ msgstr "jeder andere Wert als der obige"
-# CHECKME (english text correct?)
-#~ msgid "You will also need to ensure that debian/control contains:"
+#~ msgid ""
+#~ "For backwards compatibility, B<dh_testroot> will consider the absence of "
+#~ "the R³ field as if the R³ field was set to \"binary-targets\"."
#~ msgstr ""
-#~ "Außerdem müssen Sie sicherstellen, dass debian/control dies enthält:"
+#~ "Um Rückwärtskompatibilität zu wahren, wird B<dh_testroot> das Fehlen des "
+#~ "R³-Feld betrachten, als ob das R³-Feld auf »binary targets« gesetzt "
+#~ "worden wäre."
#~ msgid ""
-#~ " Build-Depends: debhelper (>= 9.20160815~)\n"
-#~ "\n"
+#~ "Note for the first (or only) binary package listed in F<debian/control>, "
+#~ "debhelper will use F<debian/foo> when there's no F<debian/package.foo> "
+#~ "file."
#~ msgstr ""
-#~ " Build-Depends: debhelper (>= 9.20160815~)\n"
-#~ "\n"
+#~ "Beachten Sie, dass Debhelper für das erste (oder einzige) in F<debian/"
+#~ "control> aufgelistete Binärpaket F<debian/foo> benutzen wird, wenn es "
+#~ "dort keine F<debian/package.foo>-Datei gibt."
#~ msgid ""
-#~ "To ensure that debhelper knows about the \"beta-tester\" compat level."
+#~ "When the I<Rules-Requires-Root> field is not (effectively) I<binary-"
+#~ "targets>, the directories in F</usr/local> will have ownership root:staff "
+#~ "and the mode will be 02775. These values have been chosen to comply with "
+#~ "the recommendations of the Debian policy for directories in F</usr/local>."
#~ msgstr ""
-#~ "Dadurch wird sichergestellt, dass Debhelper von der Kompatibilitätsstufe "
-#~ "»beta-tester« weiß."
-
-#~ msgid "This can be used without a F<debian/compat> file."
-#~ msgstr "Dies kann ohne eine F<debian/compat>-Datei benutzt werden."
+#~ "Wenn das I<Rules-Requires-Root>-Feld nicht (tatsächlich) I<binary-"
+#~ "targets> ist, werden die Verzeichnisse in F</usr/local> die "
+#~ "Eigentumsrechte root:staff haben und die Modus-Bits werden 02775 sein. "
+#~ "Diese Werte wurden gewählt, um den Empfehlungen der Debian-Richtlinien "
+#~ "für Verzeichnisse in F</usr/local> zu entsprechen."
#~ msgid ""
-#~ "B<dh_testroot> simply checks to see if you are root. If not, it exits "
-#~ "with an error. Debian packages must be built as root, though you can use "
-#~ "L<fakeroot(1)>"
+#~ "When I<Rules-Requires-Root> has an effective value of I<binary-targets>, "
+#~ "the owners, groups and permissions will be preserved with one exception. "
+#~ "If the directory is owned by root:root, then ownership will be reset to "
+#~ "root:staff and mode will be reset to 02775. This is useful, since that is "
+#~ "the group and mode policy recommends for directories in F</usr/local>."
#~ msgstr ""
-#~ "B<dh_testroot> prüft nur, ob Sie Root sind. Falls nicht, beendet es sich "
-#~ "mit einem Fehler. Debian-Pakete müssen als Root gebaut werden. Sie können "
-#~ "aber L<fakeroot(1)> benutzen."
+#~ "Wenn I<Rules-Requires-Root> einen tatsächlichen Wert von I<binary-"
+#~ "targets> hat, werden die Besitzer, Gruppen oder Zugriffsrechte mit einer "
+#~ "Ausnahme erhalten. Falls das Verzeichnis root:root gehört, werden die "
+#~ "Eigentumsrechte auf root:staff und die Modus-Bits auf 02775 "
+#~ "zurückgesetzt. Dies ist nützlich, da dies die Gruppe und Modus sind, den "
+#~ "die Richtlinie für Verzeichnisse in F</usr/local> empfiehlt."
#~ msgid ""
-#~ "B<dh_installmenu> no longer installs F<menu> files. The F<menu-method> "
-#~ "files are still installed."
+#~ "B<Caveat>: This option silently does nothing in cmake versions prior to "
+#~ "3.8. Please keep this in mind if your package is regularly backported to "
+#~ "a suite (e.g. stretch-backports) where cmake is older than 3.8."
#~ msgstr ""
-#~ "B<dh_installmenu> installiert keine F<menu>-Dateien mehr. Die F<menu-"
-#~ "method>-Dateien werden weiterhin installiert."
+#~ "B<Warnung>: Diese Option macht in Cmake-Versionen vor 3.8 stillschweigend "
+#~ "nichts. Bitte vergessen Sie dies nicht, falls Ihr Paket regelmäßig für "
+#~ "eine Suite zurückportiert wird (z.B. Stretch-Backports), in der Cmake "
+#~ "älter als 3.8 ist."
#~ msgid ""
-#~ "B<dh> no longer creates a stamp (or log) file to record whether the build "
-#~ "already ran or not. This means that unless upstream's build system "
-#~ "correctly tracks this, the build will be run twice (once for the \"build"
-#~ "\" target and once for the \"binary\" target)."
+#~ "List the files that are deliberately not installed in I<any> binary "
+#~ "package. Paths listed in this file are (I<only>) ignored by the check "
+#~ "done via B<--list-missing> (or B<--fail-missing>). However, it is B<not> "
+#~ "a method to exclude files from being installed. Please use B<--exclude> "
+#~ "for that."
#~ msgstr ""
-#~ "B<dh> erstellt keine Stempel- (oder Protokoll-) Dateien mehr, um "
-#~ "aufzuzeichnen, ob das Bauen bereits lief oder nicht. Falls das Bausystem "
-#~ "der Ursprungsautoren dies nicht korrekt verfolgt, bedeutet dies, dass das "
-#~ "Bauen zweimal laufen wird (einmal für das Ziel »build« und einmal für das "
-#~ "Ziel »binary«)."
+#~ "listet die Dateien auf, die absichtlich in keinem Binärpaket installiert "
+#~ "sind. Pfade, die in dieser Datei aufgeführt werden, werden (I<nur>) bei "
+#~ "der Prüfung per B<--list-missing> (oder B<--fail-missing>) ignoriert. Es "
+#~ "ist jedoch B<keine> Methode, um die Installation von Dateien zu "
+#~ "verhindern. Bitte verwenden zu hierfür B<--exclude>."
#~ msgid ""
-#~ "On the other hand, this means that rebuild without cleaning (e.g. B<dpkg-"
-#~ "buildpackage -nc>) will behave as most people would expect."
+#~ "Please keep in mind that dh_install will B<not> expand wildcards in this "
+#~ "file."
#~ msgstr ""
-#~ "Andererseits bedeutet dies, dass sich erneutes Bauen ohne aufzuräumen (z."
-#~ "B. B<dpkg-buildpackage -nc>) so verhält, wie es die meisten Leute "
-#~ "erwarten würden."
+#~ "Bitte vergessen Sie nicht, dass Dh_install Platzhalter in dieser Datei "
+#~ "B<nicht> expandiert."
-# FIXME s/can restored/can be restored/
-#~ msgid "The previous behaviour can restored by using B<--with build-stamp>"
+#~ msgid "B<Deprecated>: Please use B<dh_missing --list-missing> instead."
#~ msgstr ""
-#~ "Das vorherige Verhalten kann mittels B<--with build-stamp> wieder "
-#~ "hergestellt werden."
+#~ "B<Missbilligt>: Bitte verwenden Sie stattdessen B<dh_missing --list-"
+#~ "missing>."
#~ msgid ""
-#~ "In compat 11, this file is no longer installed the format has been "
-#~ "deprecated. Please migrate to a desktop file instead."
+#~ "This option makes B<dh_install> keep track of the files it installs, and "
+#~ "then at the end, compare that list with the files in the source "
+#~ "directory. If any of the files (and symlinks) in the source directory "
+#~ "were not installed to somewhere, it will warn on stderr about that."
#~ msgstr ""
-#~ "Im Kompatibilitätsmodus 11 wird diese Datei nicht mehr installiert, ihr "
-#~ "Format ist missbilligt. Bitte migrieren Sie stattdessen auf eine "
-#~ "»desktop«-Datei."
+#~ "Diese Option veranlasst B<dh_install>, aufzuzeichnen, welche Dateien es "
+#~ "installiert und diese Liste am Ende mit den Dateien im Quellverzeichnis "
+#~ "zu vergleichen. Falls irgendwelche der Dateien (oder symbolischen Links) "
+#~ "nicht irgendwo im Quellverzeichnis installiert wurden, wird es "
+#~ "diesbezüglich auf der Standardfehlerausgabe warnen."
#~ msgid ""
-#~ "B<dh_installdocs> now installs user-supplied documentation (e.g. debian/"
-#~ "I<package>.docs) into F</usr/share/doc/mainpackage> rather than F</usr/"
-#~ "share/doc/package> by default as recommended by Debian Policy 3.9.7."
+#~ "This may be useful if you have a large package and want to make sure that "
+#~ "you don't miss installing newly added files in new upstream releases."
#~ msgstr ""
-#~ "B<dh_installdocs> installiert nun standardmäßig vom Benutzer "
-#~ "bereitgestellte Dokumentation (z.B. debian/I<package>.docs) in F</usr/"
-#~ "share/doc/mainpackage> anstatt in </usr/share/doc/package>, wie von den "
-#~ "Debian-Richtlinien 3.9.7 empfohlen."
+#~ "Dies könnte nützlich sein, falls Sie ein großes Paket haben und "
+#~ "sicherstellen möchten, dass Sie keine neu hinzugefügten Dateien in neuen "
+#~ "Veröffentlichungen der Originalautoren übersehen."
#~ msgid ""
-#~ "If you need the old behaviour, it can be emulated by using the B<--"
-#~ "mainpackage> option."
-#~ msgstr ""
-#~ "Falls Sie das frühere Verhalten benötigen, kann es mittels der Option B<--"
-#~ "mainpackage> emuliert werden."
-
-#~ msgid "Please remember to check/update your doc-base files."
+#~ "Note that files that are excluded from being moved via the B<-X> option "
+#~ "are not warned about."
#~ msgstr ""
-#~ "Bitte denken Sie daran, Ihre Doc-Base-Dateien zu prüfen/aktualisieren."
+#~ "Beachten Sie, dass nicht bezüglich Dateien gewarnt wird, die mittels der "
+#~ "Option B<-X> ausgeschlossen wurden."
-#~ msgid ""
-#~ "In compat 11 (or later), these will be installed into F</usr/share/doc/"
-#~ "mainpackage>. Previously it would be F</usr/share/doc/package>."
+#~ msgid "B<Deprecated>: Please use B<dh_missing --fail-missing> instead."
#~ msgstr ""
-#~ "Im Kompatibilitätsmodus 11 werden diese in F</usr/share/doc/mainpackage> "
-#~ "installiert. Vorher wäre dies F</usr/share/doc/package> gewesen."
-
-#~ msgid "Do not stop init script on upgrade."
-#~ msgstr "stoppt das Init-Skript nicht beim Upgrade."
+#~ "B<Missbilligt>: Bitte verwenden Sie stattdessen B<dh_missing --fail-"
+#~ "missing>."
#~ msgid ""
-#~ "dh_auto_test does not run the test suite when a package is being cross "
-#~ "compiled."
+#~ "This option is like B<--list-missing>, except if a file was missed, it "
+#~ "will not only list the missing files, but also fail with a nonzero exit "
+#~ "code."
#~ msgstr ""
-#~ "dh_auto_test führt die Testsuite nicht aus, wenn das Paket cross-"
-#~ "kompiliert wird."
+#~ "Diese Option ist wie B<--list-missing>, außer dass sie, wenn eine Datei "
+#~ "fehlt, nicht nur die fehlenden Dateien auflistet, sondern auch mit einem "
+#~ "Rückgabewert ungleich Null fehlschlägt."
diff --git a/man/po4a/po/debhelper.pot b/man/po4a/po/debhelper.pot
index 4414e8f5..043cc87f 100644
--- a/man/po4a/po/debhelper.pot
+++ b/man/po4a/po/debhelper.pot
@@ -7,7 +7,7 @@
msgid ""
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
-"POT-Creation-Date: 2017-11-11 13:57+0000\n"
+"POT-Creation-Date: 2018-08-08 14:37+0200\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <LL@li.org>\n"
@@ -17,7 +17,7 @@ msgstr ""
"Content-Transfer-Encoding: 8bit\n"
#. type: =head1
-#: debhelper.pod:3 debhelper-obsolete-compat.pod:1 dh:3 dh_auto_build:3 dh_auto_clean:3 dh_auto_configure:3 dh_auto_install:3 dh_auto_test:3 dh_bugfiles:3 dh_builddeb:5 dh_clean:3 dh_compress:3 dh_fixperms:3 dh_gconf:3 dh_gencontrol:3 dh_icons:3 dh_install:3 dh_installcatalogs:3 dh_installchangelogs:3 dh_installcron:3 dh_installdeb:3 dh_installdebconf:3 dh_installdirs:3 dh_installdocs:5 dh_installemacsen:3 dh_installexamples:5 dh_installifupdown:3 dh_installinfo:3 dh_installinit:3 dh_installlogcheck:3 dh_installlogrotate:3 dh_installman:3 dh_installmanpages:3 dh_installmenu:3 dh_installmime:3 dh_installmodules:3 dh_installpam:3 dh_installppp:3 dh_installudev:3 dh_installwm:3 dh_installxfonts:3 dh_link:3 dh_lintian:3 dh_listpackages:3 dh_makeshlibs:3 dh_md5sums:3 dh_movefiles:3 dh_perl:3 dh_prep:3 dh_shlibdeps:3 dh_strip:3 dh_testdir:3 dh_testroot:5 dh_usrlocal:5 dh_systemd_enable:3 dh_systemd_start:3
+#: debhelper.pod:3 debhelper-obsolete-compat.pod:1 dh:3 dh_auto_build:3 dh_auto_clean:3 dh_auto_configure:3 dh_auto_install:3 dh_auto_test:3 dh_bugfiles:3 dh_builddeb:5 dh_clean:3 dh_compress:3 dh_dwz:3 dh_fixperms:3 dh_gconf:3 dh_gencontrol:3 dh_icons:3 dh_install:3 dh_installcatalogs:3 dh_installchangelogs:3 dh_installcron:3 dh_installdeb:3 dh_installdebconf:3 dh_installdirs:3 dh_installdocs:5 dh_installemacsen:3 dh_installexamples:5 dh_installifupdown:3 dh_installinfo:3 dh_installinit:3 dh_installinitramfs:3 dh_installlogcheck:3 dh_installlogrotate:3 dh_installman:3 dh_installmanpages:3 dh_installmenu:3 dh_installmime:3 dh_installmodules:3 dh_installpam:3 dh_installppp:3 dh_installudev:3 dh_installwm:3 dh_installxfonts:3 dh_link:3 dh_lintian:3 dh_listpackages:3 dh_makeshlibs:3 dh_md5sums:3 dh_movefiles:3 dh_perl:3 dh_prep:3 dh_shlibdeps:3 dh_strip:3 dh_testdir:3 dh_testroot:5 dh_usrlocal:5 dh_systemd_enable:3 dh_systemd_start:3
msgid "NAME"
msgstr ""
@@ -27,7 +27,7 @@ msgid "debhelper - the debhelper tool suite"
msgstr ""
#. type: =head1
-#: debhelper.pod:7 debhelper-obsolete-compat.pod:5 dh:15 dh_auto_build:16 dh_auto_clean:16 dh_auto_configure:16 dh_auto_install:18 dh_auto_test:16 dh_bugfiles:15 dh_builddeb:17 dh_clean:15 dh_compress:17 dh_fixperms:16 dh_gconf:15 dh_gencontrol:16 dh_icons:16 dh_install:15 dh_installcatalogs:17 dh_installchangelogs:15 dh_installcron:15 dh_installdeb:15 dh_installdebconf:15 dh_installdirs:15 dh_installdocs:17 dh_installemacsen:15 dh_installexamples:17 dh_installifupdown:15 dh_installinfo:15 dh_installinit:16 dh_installlogcheck:15 dh_installlogrotate:15 dh_installman:16 dh_installmanpages:16 dh_installmenu:15 dh_installmime:15 dh_installmodules:16 dh_installpam:15 dh_installppp:15 dh_installudev:15 dh_installwm:15 dh_installxfonts:15 dh_link:16 dh_lintian:15 dh_listpackages:15 dh_makeshlibs:15 dh_md5sums:16 dh_movefiles:15 dh_perl:17 dh_prep:15 dh_shlibdeps:17 dh_strip:16 dh_testdir:15 dh_testroot:9 dh_usrlocal:19 dh_systemd_enable:16 dh_systemd_start:17
+#: debhelper.pod:7 debhelper-obsolete-compat.pod:5 dh:16 dh_auto_build:16 dh_auto_clean:16 dh_auto_configure:16 dh_auto_install:18 dh_auto_test:16 dh_bugfiles:15 dh_builddeb:17 dh_clean:15 dh_compress:17 dh_dwz:16 dh_fixperms:16 dh_gconf:15 dh_gencontrol:16 dh_icons:16 dh_install:15 dh_installcatalogs:17 dh_installchangelogs:15 dh_installcron:15 dh_installdeb:15 dh_installdebconf:15 dh_installdirs:15 dh_installdocs:17 dh_installemacsen:15 dh_installexamples:17 dh_installifupdown:15 dh_installinfo:15 dh_installinit:16 dh_installinitramfs:15 dh_installlogcheck:15 dh_installlogrotate:15 dh_installman:16 dh_installmanpages:16 dh_installmenu:15 dh_installmime:15 dh_installmodules:16 dh_installpam:15 dh_installppp:15 dh_installudev:15 dh_installwm:15 dh_installxfonts:15 dh_link:16 dh_lintian:15 dh_listpackages:15 dh_makeshlibs:15 dh_md5sums:16 dh_movefiles:15 dh_perl:17 dh_prep:15 dh_shlibdeps:17 dh_strip:16 dh_testdir:15 dh_testroot:9 dh_usrlocal:19 dh_systemd_enable:16 dh_systemd_start:17
msgid "SYNOPSIS"
msgstr ""
@@ -39,7 +39,7 @@ msgid ""
msgstr ""
#. type: =head1
-#: debhelper.pod:11 dh:19 dh_auto_build:20 dh_auto_clean:20 dh_auto_configure:20 dh_auto_install:22 dh_auto_test:20 dh_bugfiles:19 dh_builddeb:21 dh_clean:19 dh_compress:21 dh_fixperms:20 dh_gconf:19 dh_gencontrol:20 dh_icons:20 dh_install:19 dh_installcatalogs:21 dh_installchangelogs:19 dh_installcron:19 dh_installdeb:19 dh_installdebconf:19 dh_installdirs:19 dh_installdocs:21 dh_installemacsen:19 dh_installexamples:21 dh_installifupdown:19 dh_installinfo:19 dh_installinit:20 dh_installlogcheck:19 dh_installlogrotate:19 dh_installman:20 dh_installmanpages:20 dh_installmenu:19 dh_installmime:19 dh_installmodules:20 dh_installpam:19 dh_installppp:19 dh_installudev:19 dh_installwm:19 dh_installxfonts:19 dh_link:20 dh_lintian:19 dh_listpackages:19 dh_makeshlibs:19 dh_md5sums:20 dh_movefiles:19 dh_perl:21 dh_prep:19 dh_shlibdeps:21 dh_strip:20 dh_testdir:19 dh_testroot:13 dh_usrlocal:23 dh_systemd_enable:20 dh_systemd_start:21
+#: debhelper.pod:11 dh:20 dh_auto_build:20 dh_auto_clean:20 dh_auto_configure:20 dh_auto_install:22 dh_auto_test:20 dh_bugfiles:19 dh_builddeb:21 dh_clean:19 dh_compress:21 dh_dwz:20 dh_fixperms:20 dh_gconf:19 dh_gencontrol:20 dh_icons:20 dh_install:19 dh_installcatalogs:21 dh_installchangelogs:19 dh_installcron:19 dh_installdeb:19 dh_installdebconf:19 dh_installdirs:19 dh_installdocs:21 dh_installemacsen:19 dh_installexamples:21 dh_installifupdown:19 dh_installinfo:19 dh_installinit:20 dh_installinitramfs:19 dh_installlogcheck:19 dh_installlogrotate:19 dh_installman:20 dh_installmanpages:20 dh_installmenu:19 dh_installmime:19 dh_installmodules:20 dh_installpam:19 dh_installppp:19 dh_installudev:19 dh_installwm:19 dh_installxfonts:19 dh_link:20 dh_lintian:19 dh_listpackages:19 dh_makeshlibs:19 dh_md5sums:20 dh_movefiles:19 dh_perl:21 dh_prep:19 dh_shlibdeps:21 dh_strip:20 dh_testdir:19 dh_testroot:13 dh_usrlocal:23 dh_systemd_enable:20 dh_systemd_start:21
msgid "DESCRIPTION"
msgstr ""
@@ -160,11 +160,15 @@ msgstr ""
#: debhelper.pod:79
msgid ""
"Note for the first (or only) binary package listed in F<debian/control>, "
-"debhelper will use F<debian/foo> when there's no F<debian/package.foo> file."
+"debhelper will use F<debian/foo> when there's no F<debian/I<package>.foo> "
+"file. However, it is often a good idea to keep the F<I<package>.> prefix as "
+"it is more explicit. The primary exception to this are files that debhelper "
+"by default installs in every binary package when it does not have a package "
+"prefix (such as F<debian/copyright> or F<debian/changelog>)."
msgstr ""
#. type: textblock
-#: debhelper.pod:83
+#: debhelper.pod:87
msgid ""
"In some rare cases, you may want to have different versions of these files "
"for different architectures or OSes. If files named "
@@ -175,7 +179,7 @@ msgid ""
msgstr ""
#. type: textblock
-#: debhelper.pod:90
+#: debhelper.pod:94
msgid ""
"Mostly, these config files are used to specify lists of various types of "
"files. Documentation or example files to install, files to move, and so on. "
@@ -186,110 +190,168 @@ msgid ""
msgstr ""
#. type: textblock
-#: debhelper.pod:97
+#: debhelper.pod:101
msgid ""
"The syntax of these files is intentionally kept very simple to make them "
-"easy to read, understand, and modify. If you prefer power and complexity, "
-"you can make the file executable, and write a program that outputs whatever "
-"content is appropriate for a given situation. When you do so, the output is "
-"not further processed to expand wildcards or strip comments."
+"easy to read, understand, and modify."
+msgstr ""
+
+#. type: =head2
+#: debhelper.pod:104
+msgid "Executable debhelper config files"
+msgstr ""
+
+#. type: textblock
+#: debhelper.pod:106
+msgid ""
+"If you need additional flexibility, many of the debhelper tools "
+"(e.g. L<dh_install(1)>) support executing a config file as a script."
+msgstr ""
+
+#. type: textblock
+#: debhelper.pod:109
+msgid ""
+"To use this feature, simply mark the config file as executable (e.g. B<< "
+"chmod +x debian/I<package>.install >>) and the tool will attempt to execute "
+"it and use the output of the script. In many cases, you can use "
+"L<dh-exec(1)> as interpreter of the config file to retain most of the "
+"original syntax while getting the additional flexibility you need."
+msgstr ""
+
+#. type: textblock
+#: debhelper.pod:117
+msgid ""
+"When using executable debhelper config files, please be aware of the "
+"following:"
+msgstr ""
+
+#. type: =item
+#: debhelper.pod:122 debhelper.pod:127
+msgid "*"
+msgstr ""
+
+#. type: textblock
+#: debhelper.pod:124
+msgid ""
+"The executable config file B<must> exit with success (i.e. its return code "
+"should indicate success)."
+msgstr ""
+
+#. type: textblock
+#: debhelper.pod:129
+msgid ""
+"The output will be used exactly as it is. Notably, debhelper will I<not> "
+"expand wildcards or strip comments in the output."
+msgstr ""
+
+#. type: textblock
+#: debhelper.pod:134
+msgid ""
+"If you need the package to build on a file system where you cannot disable "
+"the executable bit, then you can use L<dh-exec(1)> and its B<strip-output> "
+"script."
msgstr ""
#. type: =head1
-#: debhelper.pod:103
+#: debhelper.pod:138
msgid "SHARED DEBHELPER OPTIONS"
msgstr ""
#. type: textblock
-#: debhelper.pod:105
+#: debhelper.pod:140
msgid "The following command line options are supported by all debhelper programs."
msgstr ""
#. type: =item
-#: debhelper.pod:109
+#: debhelper.pod:144
msgid "B<-v>, B<--verbose>"
msgstr ""
#. type: textblock
-#: debhelper.pod:111
+#: debhelper.pod:146
msgid "Verbose mode: show all commands that modify the package build directory."
msgstr ""
#. type: =item
-#: debhelper.pod:113 dh:71
+#: debhelper.pod:148 dh:82
msgid "B<--no-act>"
msgstr ""
#. type: textblock
-#: debhelper.pod:115
+#: debhelper.pod:150
msgid ""
"Do not really do anything. If used with -v, the result is that the command "
"will output what it would have done."
msgstr ""
#. type: =item
-#: debhelper.pod:118
+#: debhelper.pod:153
msgid "B<-a>, B<--arch>"
msgstr ""
#. type: textblock
-#: debhelper.pod:120
+#: debhelper.pod:155
msgid ""
"Act on architecture dependent packages that should be built for the "
"B<DEB_HOST_ARCH> architecture."
msgstr ""
#. type: =item
-#: debhelper.pod:123
+#: debhelper.pod:158
msgid "B<-i>, B<--indep>"
msgstr ""
#. type: textblock
-#: debhelper.pod:125
+#: debhelper.pod:160
msgid "Act on all architecture independent packages."
msgstr ""
#. type: =item
-#: debhelper.pod:127
+#: debhelper.pod:162
msgid "B<-p>I<package>, B<--package=>I<package>"
msgstr ""
#. type: textblock
-#: debhelper.pod:129
+#: debhelper.pod:164
msgid ""
"Act on the package named I<package>. This option may be specified multiple "
"times to make debhelper operate on a given set of packages."
msgstr ""
#. type: =item
-#: debhelper.pod:132
+#: debhelper.pod:167
msgid "B<-s>, B<--same-arch>"
msgstr ""
#. type: textblock
-#: debhelper.pod:134
+#: debhelper.pod:169
msgid "Deprecated alias of B<-a>."
msgstr ""
+#. type: textblock
+#: debhelper.pod:171 dh_install:77 dh_install:86
+msgid "This option is removed in compat 12."
+msgstr ""
+
#. type: =item
-#: debhelper.pod:136
+#: debhelper.pod:173
msgid "B<-N>I<package>, B<--no-package=>I<package>"
msgstr ""
#. type: textblock
-#: debhelper.pod:138
+#: debhelper.pod:175
msgid ""
"Do not act on the specified package even if an B<-a>, B<-i>, or B<-p> option "
"lists the package as one that should be acted on."
msgstr ""
#. type: =item
-#: debhelper.pod:141
+#: debhelper.pod:178
msgid "B<--remaining-packages>"
msgstr ""
#. type: textblock
-#: debhelper.pod:143
+#: debhelper.pod:180
msgid ""
"Do not act on the packages which have already been acted on by this "
"debhelper command earlier (i.e. if the command is present in the package "
@@ -299,12 +361,12 @@ msgid ""
msgstr ""
#. type: =item
-#: debhelper.pod:149
+#: debhelper.pod:186
msgid "B<--ignore=>I<file>"
msgstr ""
#. type: textblock
-#: debhelper.pod:151
+#: debhelper.pod:188
msgid ""
"Ignore the specified file. This can be used if F<debian/> contains a "
"debhelper config file that a debhelper command should not act on. Note that "
@@ -313,29 +375,29 @@ msgid ""
msgstr ""
#. type: textblock
-#: debhelper.pod:156
+#: debhelper.pod:193
msgid ""
"For example, if upstream ships a F<debian/init> that you don't want "
"B<dh_installinit> to install, use B<--ignore=debian/init>"
msgstr ""
#. type: =item
-#: debhelper.pod:159
+#: debhelper.pod:196
msgid "B<-P>I<tmpdir>, B<--tmpdir=>I<tmpdir>"
msgstr ""
#. type: textblock
-#: debhelper.pod:161
+#: debhelper.pod:198
msgid "Use I<tmpdir> for package build directory. The default is debian/I<package>"
msgstr ""
#. type: =item
-#: debhelper.pod:163
+#: debhelper.pod:200
msgid "B<--mainpackage=>I<package>"
msgstr ""
#. type: textblock
-#: debhelper.pod:165
+#: debhelper.pod:202
msgid ""
"This little-used option changes the package which debhelper considers the "
"\"main package\", that is, the first one listed in F<debian/control>, and "
@@ -344,12 +406,12 @@ msgid ""
msgstr ""
#. type: =item
-#: debhelper.pod:170
+#: debhelper.pod:207
msgid "B<-O=>I<option>|I<bundle>"
msgstr ""
#. type: textblock
-#: debhelper.pod:172
+#: debhelper.pod:209
msgid ""
"This is used by L<dh(1)> when passing user-specified options to all the "
"commands it runs. If the command supports the specified option or option "
@@ -358,12 +420,12 @@ msgid ""
msgstr ""
#. type: =head1
-#: debhelper.pod:179
+#: debhelper.pod:216
msgid "COMMON DEBHELPER OPTIONS"
msgstr ""
#. type: textblock
-#: debhelper.pod:181
+#: debhelper.pod:218
msgid ""
"The following command line options are supported by some debhelper "
"programs. See the man page of each program for a complete explanation of "
@@ -371,47 +433,47 @@ msgid ""
msgstr ""
#. type: =item
-#: debhelper.pod:187
+#: debhelper.pod:224
msgid "B<-n>"
msgstr ""
#. type: textblock
-#: debhelper.pod:189
+#: debhelper.pod:226
msgid "Do not modify F<postinst>, F<postrm>, etc. scripts."
msgstr ""
#. type: =item
-#: debhelper.pod:191 dh_compress:56 dh_install:98 dh_installchangelogs:74 dh_installdocs:95 dh_installexamples:73 dh_link:75 dh_makeshlibs:93 dh_md5sums:40 dh_shlibdeps:34 dh_strip:42
+#: debhelper.pod:228 dh_compress:56 dh_dwz:44 dh_installchangelogs:85 dh_installdocs:99 dh_installexamples:77 dh_link:75 dh_makeshlibs:139 dh_md5sums:40 dh_shlibdeps:34 dh_strip:42
msgid "B<-X>I<item>, B<--exclude=>I<item>"
msgstr ""
#. type: textblock
-#: debhelper.pod:193
+#: debhelper.pod:230
msgid ""
"Exclude an item from processing. This option may be used multiple times, to "
-"exclude more than one thing. The \\fIitem\\fR is typically part of a "
-"filename, and any file containing the specified text will be excluded."
+"exclude more than one thing. The I<item> is typically part of a filename, "
+"and any file containing the specified text will be excluded."
msgstr ""
#. type: =item
-#: debhelper.pod:197 dh_bugfiles:57 dh_compress:63 dh_installdirs:46 dh_installdocs:90 dh_installexamples:41 dh_installinfo:38 dh_installman:83 dh_link:70
+#: debhelper.pod:234 dh_bugfiles:57 dh_compress:63 dh_installdirs:46 dh_installdocs:94 dh_installexamples:45 dh_installinfo:42 dh_installman:87 dh_installwm:52 dh_link:70
msgid "B<-A>, B<--all>"
msgstr ""
#. type: textblock
-#: debhelper.pod:199
+#: debhelper.pod:236
msgid ""
"Makes files or other items that are specified on the command line take "
"effect in ALL packages acted on, not just the first."
msgstr ""
#. type: =head1
-#: debhelper.pod:204
+#: debhelper.pod:241
msgid "BUILD SYSTEM OPTIONS"
msgstr ""
#. type: textblock
-#: debhelper.pod:206
+#: debhelper.pod:243
msgid ""
"The following command line options are supported by all of the "
"B<dh_auto_>I<*> debhelper programs. These programs support a variety of "
@@ -422,24 +484,24 @@ msgid ""
msgstr ""
#. type: =item
-#: debhelper.pod:215
+#: debhelper.pod:252
msgid "B<-S>I<buildsystem>, B<--buildsystem=>I<buildsystem>"
msgstr ""
#. type: textblock
-#: debhelper.pod:217
+#: debhelper.pod:254
msgid ""
"Force use of the specified I<buildsystem>, instead of trying to auto-select "
"one which might be applicable for the package."
msgstr ""
#. type: =item
-#: debhelper.pod:220
+#: debhelper.pod:257
msgid "B<-D>I<directory>, B<--sourcedirectory=>I<directory>"
msgstr ""
#. type: textblock
-#: debhelper.pod:222
+#: debhelper.pod:259
msgid ""
"Assume that the original package source tree is at the specified "
"I<directory> rather than the top level directory of the Debian source "
@@ -447,12 +509,12 @@ msgid ""
msgstr ""
#. type: =item
-#: debhelper.pod:226
+#: debhelper.pod:263
msgid "B<-B>[I<directory>], B<--builddirectory=>[I<directory>]"
msgstr ""
#. type: textblock
-#: debhelper.pod:228
+#: debhelper.pod:265
msgid ""
"Enable out of source building and use the specified I<directory> as the "
"build directory. If I<directory> parameter is omitted, a default build "
@@ -460,7 +522,7 @@ msgid ""
msgstr ""
#. type: textblock
-#: debhelper.pod:232
+#: debhelper.pod:269
msgid ""
"If this option is not specified, building will be done in source by default "
"unless the build system requires or prefers out of source tree building. In "
@@ -469,7 +531,7 @@ msgid ""
msgstr ""
#. type: textblock
-#: debhelper.pod:237
+#: debhelper.pod:274
msgid ""
"If the build system prefers out of source tree building but still allows in "
"source building, the latter can be re-enabled by passing a build directory "
@@ -477,12 +539,12 @@ msgid ""
msgstr ""
#. type: =item
-#: debhelper.pod:241
+#: debhelper.pod:278
msgid "B<--parallel>, B<--no-parallel>"
msgstr ""
#. type: textblock
-#: debhelper.pod:243
+#: debhelper.pod:280
msgid ""
"Control whether parallel builds should be used if underlying build system "
"supports them. The number of parallel jobs is controlled by the "
@@ -491,28 +553,28 @@ msgid ""
msgstr ""
#. type: textblock
-#: debhelper.pod:249
+#: debhelper.pod:286
msgid ""
"If neither option is specified, debhelper currently defaults to "
"B<--parallel> in compat 10 (or later) and B<--no-parallel> otherwise."
msgstr ""
#. type: textblock
-#: debhelper.pod:252
+#: debhelper.pod:289
msgid ""
"As an optimization, B<dh> will try to avoid passing these options to "
-"subprocesses, if they are unncessary and the only options passed. Notably "
+"subprocesses, if they are unnecessary and the only options passed. Notably "
"this happens when B<DEB_BUILD_OPTIONS> does not have a I<parallel> parameter "
"(or its value is 1)."
msgstr ""
#. type: =item
-#: debhelper.pod:257
+#: debhelper.pod:294
msgid "B<--max-parallel=>I<maximum>"
msgstr ""
#. type: textblock
-#: debhelper.pod:259
+#: debhelper.pod:296
msgid ""
"This option implies B<--parallel> and allows further limiting the number of "
"jobs that can be used in a parallel build. If the package build is known to "
@@ -521,19 +583,19 @@ msgid ""
msgstr ""
#. type: textblock
-#: debhelper.pod:264
+#: debhelper.pod:301
msgid ""
"Notably, setting the maximum to 1 is effectively the same as using "
"B<--no-parallel>."
msgstr ""
#. type: =item
-#: debhelper.pod:267 dh:63
+#: debhelper.pod:304 dh:74
msgid "B<--list>, B<-l>"
msgstr ""
#. type: textblock
-#: debhelper.pod:269
+#: debhelper.pod:306
msgid ""
"List all build systems supported by debhelper on this system. The list "
"includes both default and third party build systems (marked as such). Also "
@@ -542,12 +604,12 @@ msgid ""
msgstr ""
#. type: =head1
-#: debhelper.pod:276
+#: debhelper.pod:313
msgid "COMPATIBILITY LEVELS"
msgstr ""
#. type: textblock
-#: debhelper.pod:278
+#: debhelper.pod:315
msgid ""
"From time to time, major non-backwards-compatible changes need to be made to "
"debhelper, to keep it clean and well-designed as needs change and its author "
@@ -559,14 +621,14 @@ msgid ""
msgstr ""
#. type: textblock
-#: debhelper.pod:286
+#: debhelper.pod:323
msgid ""
"Tell debhelper what compatibility level to use by writing a number to "
"F<debian/compat>. For example, to use v#RECOMMENDED_COMPAT# mode:"
msgstr ""
#. type: verbatim
-#: debhelper.pod:289
+#: debhelper.pod:326
#, no-wrap
msgid ""
" % echo #RECOMMENDED_COMPAT# > debian/compat\n"
@@ -574,7 +636,7 @@ msgid ""
msgstr ""
#. type: textblock
-#: debhelper.pod:291
+#: debhelper.pod:328
msgid ""
"Your package will also need a versioned build dependency on a version of "
"debhelper equal to (or greater than) the compatibility level your package "
@@ -583,15 +645,15 @@ msgid ""
msgstr ""
#. type: verbatim
-#: debhelper.pod:295
+#: debhelper.pod:332
#, no-wrap
msgid ""
-" Build-Depends: debhelper (>= #RECOMMENDED_COMPAT#)\n"
+" Build-Depends: debhelper (>= #RECOMMENDED_COMPAT#~)\n"
"\n"
msgstr ""
#. type: textblock
-#: debhelper.pod:297
+#: debhelper.pod:334
msgid ""
"Unless otherwise indicated, all debhelper documentation assumes that you are "
"using the most recent compatibility level, and in most cases does not "
@@ -602,61 +664,61 @@ msgid ""
msgstr ""
#. type: =head2
-#: debhelper.pod:304
+#: debhelper.pod:341
msgid "Supported compatibility levels"
msgstr ""
#. type: textblock
-#: debhelper.pod:306
+#: debhelper.pod:343
msgid "These are the available compatibility levels:"
msgstr ""
#. type: =item
-#: debhelper.pod:310 debhelper-obsolete-compat.pod:89
+#: debhelper.pod:347 debhelper-obsolete-compat.pod:89
msgid "v5"
msgstr ""
#. type: textblock
-#: debhelper.pod:312 debhelper-obsolete-compat.pod:91
+#: debhelper.pod:349 debhelper-obsolete-compat.pod:91
msgid "This is the lowest supported compatibility level."
msgstr ""
#. type: textblock
-#: debhelper.pod:314
+#: debhelper.pod:351
msgid ""
"If you are upgrading from an earlier compatibility level, please review "
"L<debhelper-obsolete-compat(7)>."
msgstr ""
#. type: textblock
-#: debhelper.pod:317 debhelper.pod:349 debhelper.pod:379 debhelper.pod:410 debhelper-obsolete-compat.pod:28 debhelper-obsolete-compat.pod:35 debhelper-obsolete-compat.pod:58 debhelper-obsolete-compat.pod:87
+#: debhelper.pod:354 debhelper.pod:386 debhelper.pod:416 debhelper.pod:447 debhelper-obsolete-compat.pod:28 debhelper-obsolete-compat.pod:35 debhelper-obsolete-compat.pod:58 debhelper-obsolete-compat.pod:87
msgid "This mode is deprecated."
msgstr ""
#. type: =item
-#: debhelper.pod:319
+#: debhelper.pod:356
msgid "v6"
msgstr ""
#. type: textblock
-#: debhelper.pod:321
+#: debhelper.pod:358
msgid "Changes from v5 are:"
msgstr ""
#. type: =item
-#: debhelper.pod:325 debhelper.pod:330 debhelper.pod:336 debhelper.pod:342 debhelper.pod:357 debhelper.pod:364 debhelper.pod:368 debhelper.pod:372 debhelper.pod:387 debhelper.pod:391 debhelper.pod:399 debhelper.pod:404 debhelper.pod:418 debhelper.pod:423 debhelper.pod:430 debhelper.pod:435 debhelper.pod:440 debhelper.pod:448 debhelper.pod:454 debhelper.pod:459 debhelper.pod:464 debhelper.pod:480 debhelper.pod:485 debhelper.pod:491 debhelper.pod:498 debhelper.pod:504 debhelper.pod:509 debhelper.pod:515 debhelper.pod:521 debhelper.pod:531 debhelper.pod:537 debhelper.pod:560 debhelper.pod:567 debhelper.pod:573 debhelper.pod:579 debhelper.pod:595 debhelper.pod:601 debhelper.pod:613 debhelper.pod:621 debhelper.pod:627 debhelper.pod:632 debhelper.pod:642 debhelper.pod:647 debhelper.pod:655 debhelper.pod:665 debhelper.pod:672 debhelper.pod:679 debhelper.pod:691 debhelper.pod:696 debhelper.pod:709 debhelper.pod:728 debhelper.pod:732 debhelper.pod:737 debhelper.pod:742 debhelper.pod:749 debhelper.pod:755 debhelper-obsolete-compat.pod:43 debhelper-obsolete-compat.pod:48 debhelper-obsolete-compat.pod:52 debhelper-obsolete-compat.pod:66 debhelper-obsolete-compat.pod:71 debhelper-obsolete-compat.pod:76 debhelper-obsolete-compat.pod:81 debhelper-obsolete-compat.pod:97 debhelper-obsolete-compat.pod:101 debhelper-obsolete-compat.pod:106 debhelper-obsolete-compat.pod:110
+#: debhelper.pod:362 debhelper.pod:367 debhelper.pod:373 debhelper.pod:379 debhelper.pod:394 debhelper.pod:401 debhelper.pod:405 debhelper.pod:409 debhelper.pod:424 debhelper.pod:428 debhelper.pod:436 debhelper.pod:441 debhelper.pod:455 debhelper.pod:460 debhelper.pod:467 debhelper.pod:472 debhelper.pod:477 debhelper.pod:485 debhelper.pod:491 debhelper.pod:496 debhelper.pod:501 debhelper.pod:514 debhelper.pod:519 debhelper.pod:525 debhelper.pod:532 debhelper.pod:538 debhelper.pod:543 debhelper.pod:549 debhelper.pod:555 debhelper.pod:565 debhelper.pod:571 debhelper.pod:594 debhelper.pod:601 debhelper.pod:607 debhelper.pod:613 debhelper.pod:629 debhelper.pod:635 debhelper.pod:647 debhelper.pod:655 debhelper.pod:661 debhelper.pod:666 debhelper.pod:671 debhelper.pod:676 debhelper.pod:684 debhelper.pod:694 debhelper.pod:704 debhelper.pod:711 debhelper.pod:723 debhelper.pod:728 debhelper.pod:756 debhelper.pod:775 debhelper.pod:785 debhelper.pod:789 debhelper.pod:794 debhelper.pod:799 debhelper.pod:806 debhelper.pod:812 debhelper.pod:820 debhelper.pod:826 debhelper.pod:830 debhelper.pod:835 debhelper.pod:840 debhelper.pod:849 debhelper-obsolete-compat.pod:43 debhelper-obsolete-compat.pod:48 debhelper-obsolete-compat.pod:52 debhelper-obsolete-compat.pod:66 debhelper-obsolete-compat.pod:71 debhelper-obsolete-compat.pod:76 debhelper-obsolete-compat.pod:81 debhelper-obsolete-compat.pod:97 debhelper-obsolete-compat.pod:101 debhelper-obsolete-compat.pod:106 debhelper-obsolete-compat.pod:110 dh_testroot:36 dh_testroot:41 dh_testroot:46
msgid "-"
msgstr ""
#. type: textblock
-#: debhelper.pod:327
+#: debhelper.pod:364
msgid ""
"Commands that generate maintainer script fragments will order the fragments "
"in reverse order for the F<prerm> and F<postrm> scripts."
msgstr ""
#. type: textblock
-#: debhelper.pod:332
+#: debhelper.pod:369
msgid ""
"B<dh_installwm> will install a slave manpage link for "
"F<x-window-manager.1.gz>, if it sees the man page in F<usr/share/man/man1> "
@@ -664,7 +726,7 @@ msgid ""
msgstr ""
#. type: textblock
-#: debhelper.pod:338
+#: debhelper.pod:375
msgid ""
"B<dh_builddeb> did not previously delete everything matching "
"B<DH_ALWAYS_EXCLUDE>, if it was set to a list of things to exclude, such as "
@@ -672,24 +734,24 @@ msgid ""
msgstr ""
#. type: textblock
-#: debhelper.pod:344
+#: debhelper.pod:381
msgid ""
"B<dh_installman> allows overwriting existing man pages in the package build "
"directory. In previous compatibility levels it silently refuses to do this."
msgstr ""
#. type: =item
-#: debhelper.pod:351
+#: debhelper.pod:388
msgid "v7"
msgstr ""
#. type: textblock
-#: debhelper.pod:353
+#: debhelper.pod:390
msgid "Changes from v6 are:"
msgstr ""
#. type: textblock
-#: debhelper.pod:359
+#: debhelper.pod:396
msgid ""
"B<dh_install>, will fall back to looking for files in F<debian/tmp> if it "
"doesn't find them in the current directory (or wherever you tell it look "
@@ -699,39 +761,39 @@ msgid ""
msgstr ""
#. type: textblock
-#: debhelper.pod:366
+#: debhelper.pod:403
msgid "B<dh_clean> will read F<debian/clean> and delete files listed there."
msgstr ""
#. type: textblock
-#: debhelper.pod:370
+#: debhelper.pod:407
msgid "B<dh_clean> will delete toplevel F<*-stamp> files."
msgstr ""
#. type: textblock
-#: debhelper.pod:374
+#: debhelper.pod:411
msgid ""
"B<dh_installchangelogs> will guess at what file is the upstream changelog if "
"none is specified."
msgstr ""
#. type: =item
-#: debhelper.pod:381
+#: debhelper.pod:418
msgid "v8"
msgstr ""
#. type: textblock
-#: debhelper.pod:383
+#: debhelper.pod:420
msgid "Changes from v7 are:"
msgstr ""
#. type: textblock
-#: debhelper.pod:389
+#: debhelper.pod:426
msgid "Commands will fail rather than warning when they are passed unknown options."
msgstr ""
#. type: textblock
-#: debhelper.pod:393
+#: debhelper.pod:430
msgid ""
"B<dh_makeshlibs> will run B<dpkg-gensymbols> on all shared libraries that it "
"generates shlibs files for. So B<-X> can be used to exclude libraries. "
@@ -741,7 +803,7 @@ msgid ""
msgstr ""
#. type: textblock
-#: debhelper.pod:401
+#: debhelper.pod:438
msgid ""
"B<dh> requires the sequence to run be specified as the first parameter, and "
"any switches come after it. Ie, use \"B<dh $@ --foo>\", not \"B<dh --foo "
@@ -749,31 +811,31 @@ msgid ""
msgstr ""
#. type: textblock
-#: debhelper.pod:406
+#: debhelper.pod:443
msgid ""
"B<dh_auto_>I<*> prefer to use Perl's B<Module::Build> in preference to "
"F<Makefile.PL>."
msgstr ""
#. type: =item
-#: debhelper.pod:412
+#: debhelper.pod:449
msgid "v9"
msgstr ""
#. type: textblock
-#: debhelper.pod:414
+#: debhelper.pod:451
msgid "Changes from v8 are:"
msgstr ""
#. type: textblock
-#: debhelper.pod:420
+#: debhelper.pod:457
msgid ""
"Multiarch support. In particular, B<dh_auto_configure> passes multiarch "
"directories to autoconf in --libdir and --libexecdir."
msgstr ""
#. type: textblock
-#: debhelper.pod:425
+#: debhelper.pod:462
msgid ""
"dh is aware of the usual dependencies between targets in debian/rules. So, "
"\"dh binary\" will run any build, build-arch, build-indep, install, etc "
@@ -782,26 +844,26 @@ msgid ""
msgstr ""
#. type: textblock
-#: debhelper.pod:432
+#: debhelper.pod:469
msgid ""
"B<dh_strip> compresses debugging symbol files to reduce the installed size "
"of -dbg packages."
msgstr ""
#. type: textblock
-#: debhelper.pod:437
+#: debhelper.pod:474
msgid ""
"B<dh_auto_configure> does not include the source package name in "
"--libexecdir when using autoconf."
msgstr ""
#. type: textblock
-#: debhelper.pod:442
+#: debhelper.pod:479
msgid "B<dh> does not default to enabling --with=python-support"
msgstr ""
#. type: textblock
-#: debhelper.pod:444
+#: debhelper.pod:481
msgid ""
"(Obsolete: As the B<dh_pysupport> tool was removed from Debian stretch. "
"Since debhelper/10.3, B<dh> no longer enables this sequence add-on "
@@ -809,57 +871,52 @@ msgid ""
msgstr ""
#. type: textblock
-#: debhelper.pod:450
+#: debhelper.pod:487
msgid ""
"All of the B<dh_auto_>I<*> debhelper programs and B<dh> set environment "
"variables listed by B<dpkg-buildflags>, unless they are already set."
msgstr ""
#. type: textblock
-#: debhelper.pod:456
+#: debhelper.pod:493
msgid ""
"B<dh_auto_configure> passes B<dpkg-buildflags> CFLAGS, CPPFLAGS, and LDFLAGS "
"to perl F<Makefile.PL> and F<Build.PL>"
msgstr ""
#. type: textblock
-#: debhelper.pod:461
+#: debhelper.pod:498
msgid ""
"B<dh_strip> puts separated debug symbols in a location based on their "
"build-id."
msgstr ""
#. type: textblock
-#: debhelper.pod:466
+#: debhelper.pod:503
msgid ""
"Executable debhelper config files are run and their output used as the "
"configuration."
msgstr ""
#. type: =item
-#: debhelper.pod:471
+#: debhelper.pod:508
msgid "v10"
msgstr ""
#. type: textblock
-#: debhelper.pod:473
-msgid "This is the recommended mode of operation."
-msgstr ""
-
-#. type: textblock
-#: debhelper.pod:476
+#: debhelper.pod:510
msgid "Changes from v9 are:"
msgstr ""
#. type: textblock
-#: debhelper.pod:482
+#: debhelper.pod:516
msgid ""
"B<dh_installinit> will no longer install a file named debian/I<package> as "
"an init script."
msgstr ""
#. type: textblock
-#: debhelper.pod:487
+#: debhelper.pod:521
msgid ""
"B<dh_installdocs> will error out if it detects links created with --link-doc "
"between packages of architecture \"all\" and non-\"all\" as it breaks "
@@ -867,7 +924,7 @@ msgid ""
msgstr ""
#. type: textblock
-#: debhelper.pod:493
+#: debhelper.pod:527
msgid ""
"B<dh> no longer creates the package build directory when skipping running "
"debhelper commands. This will not affect packages that only build with "
@@ -876,7 +933,7 @@ msgid ""
msgstr ""
#. type: textblock
-#: debhelper.pod:500
+#: debhelper.pod:534
msgid ""
"B<dh_installdeb> no longer installs a maintainer-provided "
"debian/I<package>.shlibs file. This is now done by B<dh_makeshlibs> "
@@ -884,14 +941,14 @@ msgid ""
msgstr ""
#. type: textblock
-#: debhelper.pod:506
+#: debhelper.pod:540
msgid ""
"B<dh_installwm> refuses to create a broken package if no man page can be "
"found (required to register for the x-window-manager alternative)."
msgstr ""
#. type: textblock
-#: debhelper.pod:511
+#: debhelper.pod:545
msgid ""
"Debhelper will default to B<--parallel> for all buildsystems that support "
"parallel building. This can be disabled by using either B<--no-parallel> or "
@@ -899,7 +956,7 @@ msgid ""
msgstr ""
#. type: textblock
-#: debhelper.pod:517
+#: debhelper.pod:551
msgid ""
"The B<dh> command will not accept any of the deprecated \"manual sequence "
"control\" parameters (B<--before>, B<--after>, etc.). Please use override "
@@ -907,7 +964,7 @@ msgid ""
msgstr ""
#. type: textblock
-#: debhelper.pod:523
+#: debhelper.pod:557
msgid ""
"The B<dh> command will no longer use log files to track which commands have "
"been run. The B<dh> command I<still> keeps track of whether it already ran "
@@ -915,12 +972,12 @@ msgid ""
msgstr ""
#. type: textblock
-#: debhelper.pod:527
+#: debhelper.pod:561
msgid "The main effects of this are:"
msgstr ""
#. type: textblock
-#: debhelper.pod:533
+#: debhelper.pod:567
msgid ""
"With this, it is now easier to debug the I<install> or/and I<binary> "
"sequences because they can now trivially be re-run (without having to do a "
@@ -928,7 +985,7 @@ msgid ""
msgstr ""
#. type: textblock
-#: debhelper.pod:539
+#: debhelper.pod:573
msgid ""
"The main caveat is that B<dh_*> now only keeps track of what happened in a "
"single override target. When all the calls to a given B<dh_cmd> command "
@@ -936,12 +993,12 @@ msgid ""
msgstr ""
#. type: textblock
-#: debhelper.pod:544
+#: debhelper.pod:578
msgid "Example of where it can go wrong:"
msgstr ""
#. type: verbatim
-#: debhelper.pod:546
+#: debhelper.pod:580
#, no-wrap
msgid ""
" override_dh_foo:\n"
@@ -950,7 +1007,7 @@ msgid ""
msgstr ""
#. type: verbatim
-#: debhelper.pod:549
+#: debhelper.pod:583
#, no-wrap
msgid ""
" override_dh_bar:\n"
@@ -960,7 +1017,7 @@ msgid ""
msgstr ""
#. type: textblock
-#: debhelper.pod:553
+#: debhelper.pod:587
msgid ""
"In this case, the call to B<dh_foo --remaining> will I<also> include "
"I<my-pkg>, since B<dh_foo -pmy-pkg> was run in a separate override target. "
@@ -969,7 +1026,7 @@ msgid ""
msgstr ""
#. type: textblock
-#: debhelper.pod:562
+#: debhelper.pod:596
msgid ""
"The B<dh_installdeb> command now shell-escapes the lines in the "
"F<maintscript> config file. This was the original intent but it did not "
@@ -978,7 +1035,7 @@ msgid ""
msgstr ""
#. type: textblock
-#: debhelper.pod:569
+#: debhelper.pod:603
msgid ""
"The B<dh_installinit> command now defaults to B<--restart-after-upgrade>. "
"For packages needing the previous behaviour, please use "
@@ -986,7 +1043,7 @@ msgid ""
msgstr ""
#. type: textblock
-#: debhelper.pod:575
+#: debhelper.pod:609
msgid ""
"The B<autoreconf> sequence is now enabled by default. Please pass "
"B<--without autoreconf> to B<dh> if this is not desirable for a given "
@@ -994,29 +1051,29 @@ msgid ""
msgstr ""
#. type: textblock
-#: debhelper.pod:581
+#: debhelper.pod:615
msgid ""
"The B<systemd> sequence is now enabled by default. Please pass B<--without "
"systemd> to B<dh> if this is not desirable for a given package."
msgstr ""
#. type: =item
-#: debhelper.pod:587
+#: debhelper.pod:621
msgid "v11"
msgstr ""
#. type: textblock
-#: debhelper.pod:589 debhelper.pod:722
-msgid "This compatibility level is still open for development; use with caution."
+#: debhelper.pod:623
+msgid "This is the recommended mode of operation."
msgstr ""
#. type: textblock
-#: debhelper.pod:591
+#: debhelper.pod:625
msgid "Changes from v10 are:"
msgstr ""
#. type: textblock
-#: debhelper.pod:597
+#: debhelper.pod:631
msgid ""
"B<dh_installinit> no longer installs F<service> or F<tmpfile> files, nor "
"generates maintainer scripts for those files. Please use the new "
@@ -1024,7 +1081,7 @@ msgid ""
msgstr ""
#. type: textblock
-#: debhelper.pod:603
+#: debhelper.pod:637
msgid ""
"The B<dh_systemd_enable> and B<dh_systemd_start> helpers have been replaced "
"by the new B<dh_installsystemd> helper. For the same reason, the B<systemd> "
@@ -1033,26 +1090,26 @@ msgid ""
msgstr ""
#. type: textblock
-#: debhelper.pod:609
+#: debhelper.pod:643
msgid ""
-"Please note that the B<dh_installsystemd> tool have a slightly different "
+"Please note that the B<dh_installsystemd> tool has a slightly different "
"behaviour in some cases (e.g. when using the B<--name> parameter)."
msgstr ""
#. type: textblock
-#: debhelper.pod:615
+#: debhelper.pod:649
msgid ""
"B<dh_installdirs> no longer creates debian/I<package> directories unless "
"explicitly requested (or it has to create a subdirectory in it)."
msgstr ""
#. type: textblock
-#: debhelper.pod:619
+#: debhelper.pod:653
msgid "The vast majority of all packages will be unaffected by this change."
msgstr ""
#. type: textblock
-#: debhelper.pod:623
+#: debhelper.pod:657
msgid ""
"The B<makefile> buildsystem now passes B<INSTALL=install "
"--strip-program=true> to L<make(1)>. Derivative buildsystems "
@@ -1060,36 +1117,28 @@ msgid ""
msgstr ""
#. type: textblock
-#: debhelper.pod:629
+#: debhelper.pod:663
msgid ""
"The B<autoconf> buildsystem now passes B<--runstatedir=/run> to "
"F<./configure>."
msgstr ""
#. type: textblock
-#: debhelper.pod:634
+#: debhelper.pod:668
msgid ""
"The B<cmake> buildsystem now passes B<-DCMAKE_INSTALL_RUNSTATEDIR=/run> to "
"L<cmake(1)>."
msgstr ""
#. type: textblock
-#: debhelper.pod:637
-msgid ""
-"B<Caveat>: This option silently does nothing in cmake versions prior to "
-"3.8. Please keep this in mind if your package is regularly backported to a "
-"suite (e.g. stretch-backports) where cmake is older than 3.8."
-msgstr ""
-
-#. type: textblock
-#: debhelper.pod:644
+#: debhelper.pod:673
msgid ""
"B<dh_installman> will now prefer detecting the language from the path name "
"rather than the extension."
msgstr ""
#. type: textblock
-#: debhelper.pod:649
+#: debhelper.pod:678
msgid ""
"B<dh_auto_install> will now only create the destination directory it needs. "
"Previously, it would create the package build directory for all packages. "
@@ -1098,7 +1147,7 @@ msgid ""
msgstr ""
#. type: textblock
-#: debhelper.pod:657
+#: debhelper.pod:686
msgid ""
"The helpers B<dh_installdocs>, B<dh_installexamples>, B<dh_installinfo>, and "
"B<dh_installman> now error out if their config has a pattern that does not "
@@ -1106,7 +1155,7 @@ msgid ""
msgstr ""
#. type: textblock
-#: debhelper.pod:661
+#: debhelper.pod:690
msgid ""
"Known exceptions include building with the B<nodoc> profile, where the above "
"tools will silently permit failed matches where the patterns are used to "
@@ -1114,7 +1163,7 @@ msgid ""
msgstr ""
#. type: textblock
-#: debhelper.pod:667
+#: debhelper.pod:696
msgid ""
"The helpers B<dh_installdocs>, B<dh_installexamples>, B<dh_installinfo>, and "
"B<dh_installman> now accept the parameter B<--sourcedir> with same meaning "
@@ -1123,16 +1172,23 @@ msgid ""
msgstr ""
#. type: textblock
-#: debhelper.pod:674
+#: debhelper.pod:701
+msgid ""
+"Migration note: A bug in debhelper 11 up to 11.1.5 made B<dh_installinfo> "
+"incorrectly ignore B<--sourcedir>."
+msgstr ""
+
+#. type: textblock
+#: debhelper.pod:706
msgid ""
"The B<perl-makemaker> and B<perl-build> build systems no longer pass B<-I.> "
-"to perl. Packages that still need this behaviour can get emulate it by "
-"using the B<PERL5LIB> environment variable. E.g. by adding B<export "
-"PERL5LIB=.> in their debian/rules file (or similar)."
+"to perl. Packages that still need this behaviour can emulate it by using "
+"the B<PERL5LIB> environment variable. E.g. by adding B<export PERL5LIB=.> "
+"in their debian/rules file (or similar)."
msgstr ""
#. type: textblock
-#: debhelper.pod:681
+#: debhelper.pod:713
msgid ""
"The B<PERL_USE_UNSAFE_INC> environment variable is no longer set by B<dh> or "
"any of the B<dh_auto_*> tools. It was added as a temporary work around to "
@@ -1140,7 +1196,7 @@ msgid ""
msgstr ""
#. type: textblock
-#: debhelper.pod:686
+#: debhelper.pod:718
msgid ""
"Note this item will eventually become obsolete as upstream intends to drop "
"support for the B<PERL_USE_UNSAFE_INC> environment variable. When perl "
@@ -1149,33 +1205,59 @@ msgid ""
msgstr ""
#. type: textblock
-#: debhelper.pod:693
+#: debhelper.pod:725
msgid ""
"The B<dh_makeshlibs> helper will now exit with an error if objdump returns a "
"non-zero exit from analysing a given file."
msgstr ""
#. type: textblock
-#: debhelper.pod:698
+#: debhelper.pod:730
msgid ""
-"The B<dh_installdocs> and B<dh_installexamples> tools will now attempt to "
-"guess the \"main package\" for a given documentation package "
-"(e.g. I<pkg-doc> will have I<pkg> as main package if the latter exists). If "
-"a main package is found, I<most> of the documentation will be installed into "
-"F<< /usr/share/doc/I<main-pkg> >> by default as recommended by Debian policy "
-"§12.3 since version 3.9.7. Notable exceptions include the copyright file "
-"and changelog files."
+"The B<dh_installdocs> and B<dh_installexamples> tools may now install "
+"I<most> of the documentation in a different path to comply with the "
+"recommendation from Debian policy §12.3 (since version 3.9.7)."
msgstr ""
#. type: textblock
-#: debhelper.pod:706
+#: debhelper.pod:734
+msgid ""
+"Note that if a given source package only contains a single binary package in "
+"F<debian/control> or none of the packages are I<-doc> packages, then this "
+"change is not relevant for that source package and you can skip to the next "
+"change."
+msgstr ""
+
+#. type: textblock
+#: debhelper.pod:739
+msgid ""
+"By default, these tools will now attempt to determine a \"main package for "
+"the documentation\" (called a I<doc-main-package> from here on) for every "
+"I<-doc> package. If they find such a I<doc-main-package>, they will now "
+"install the documentation into the path F<< "
+"/usr/share/doc/I<doc-main-package> >> in the given doc package. I.e. the "
+"path can change but the documentation is still shipped in the I<-doc> "
+"package."
+msgstr ""
+
+#. type: textblock
+#: debhelper.pod:747
msgid ""
"The B<--doc-main-package> option can be used when the auto-detection is "
-"insufficient."
+"insufficient or to reset the path to its previous value if there is a reason "
+"to diverge from Debian policy recommendation."
msgstr ""
#. type: textblock
-#: debhelper.pod:711
+#: debhelper.pod:751
+msgid ""
+"Some documentation will not be affected by this change. These exceptions "
+"include the copyright file, changelog files, README.Debian, etc. These "
+"files will still be installed in the path F<< /usr/share/doc/I<package> >>."
+msgstr ""
+
+#. type: textblock
+#: debhelper.pod:758
msgid ""
"The B<dh_strip> and B<dh_shlibdeps> tools no longer uses filename patterns "
"to determine which files to process. Instead, they open the file and look "
@@ -1184,43 +1266,64 @@ msgid ""
msgstr ""
#. type: textblock
-#: debhelper.pod:716
+#: debhelper.pod:763
msgid "This change may cause the tools to process more files than previously."
msgstr ""
#. type: =item
-#: debhelper.pod:720
+#: debhelper.pod:767
msgid "v12"
msgstr ""
#. type: textblock
-#: debhelper.pod:724
+#: debhelper.pod:769
+msgid "This compatibility level is still open for development; use with caution."
+msgstr ""
+
+#. type: textblock
+#: debhelper.pod:771
msgid "Changes from v11 are:"
msgstr ""
#. type: textblock
-#: debhelper.pod:730
+#: debhelper.pod:777
+msgid ""
+"The B<dh_makeshlibs> tool now generates shlibs files with versioned "
+"dependency by default. This means that B<-VUpstream-Version> (a.k.a. B<-V>) "
+"is now the default."
+msgstr ""
+
+#. type: textblock
+#: debhelper.pod:781
+msgid ""
+"If an unversioned dependency in the shlibs file is wanted, this can be "
+"obtained by passing B<-VNone> instead. However, please see "
+"L<dh_makeshlibs(1)> for the caveat of unversioned dependencies."
+msgstr ""
+
+#. type: textblock
+#: debhelper.pod:787
msgid ""
"The B<-s> (B<--same-arch>) option is removed. Please use B<-a> (B<--arch>) "
"instead."
msgstr ""
#. type: textblock
-#: debhelper.pod:734
+#: debhelper.pod:791
msgid ""
"Invoking B<dh_clean -k> now causes an error instead of a deprecation "
"warning."
msgstr ""
#. type: textblock
-#: debhelper.pod:739
+#: debhelper.pod:796
msgid ""
"The B<--no-restart-on-upgrade> option in B<dh_installinit> has been "
"removed. Please use the new name B<--no-stop-on-upgrade>"
msgstr ""
#. type: textblock
-#: debhelper.pod:744
+#: debhelper.pod:801
msgid ""
"There was a bug in the B<doit> (and similar) functions from "
"L<Debian::Debhelper::Dh_Lib> that made them spawn a shell in one particular "
@@ -1229,7 +1332,7 @@ msgid ""
msgstr ""
#. type: textblock
-#: debhelper.pod:751
+#: debhelper.pod:808
msgid ""
"The B<--list-missing> and B<--fail-missing> in B<dh_install> has been "
"removed. Please use B<dh_missing> and its corresponding options, which can "
@@ -1237,7 +1340,7 @@ msgid ""
msgstr ""
#. type: textblock
-#: debhelper.pod:757
+#: debhelper.pod:814
msgid ""
"The B<dh_installinit> helper no longer installs configuration for the "
"upstart init system. Instead, it will abort the build if it finds an old "
@@ -1246,18 +1349,85 @@ msgid ""
"versions of the package (if any)."
msgstr ""
+#. type: textblock
+#: debhelper.pod:822
+msgid ""
+"The B<dh_installdeb> tool will do basic validation of some "
+"L<dpkg-maintscript-helper(1)> commands and will error out if the commands "
+"appear to be invalid."
+msgstr ""
+
+#. type: textblock
+#: debhelper.pod:828
+msgid "The B<dh_missing> tool will now default to B<--list-missing>."
+msgstr ""
+
+#. type: textblock
+#: debhelper.pod:832
+msgid ""
+"The B<dh_makeshlibs> tool will now only pass libraries to "
+"L<dpkg-gensymbols(1)> if the ELF binary has a SONAME (containing \".so\")."
+msgstr ""
+
+#. type: textblock
+#: debhelper.pod:837
+msgid ""
+"The B<dh_compress> tool no longer compresses examples (i.e. anything "
+"installed in F<</usr/share/doc/I<package>/examples>>.)"
+msgstr ""
+
+#. type: textblock
+#: debhelper.pod:842
+msgid ""
+"The standard sequence in B<dh> now includes B<dh_dwz> and "
+"B<dh_installinitramfs> by default. This makes the B<dwz> and "
+"B<installinitramfs> sequences obsolete and they will now fail with an "
+"error. If you want to skip these commands, then please insert an empty "
+"override target for them in F<debian/rules> (e.g. I<override_dh_dwz:>)"
+msgstr ""
+
+#. type: textblock
+#: debhelper.pod:851
+msgid ""
+"The build systems B<meson> and B<autoconf> no longer explicitly set the "
+"B<--libexecdir> variable and thus relies on the build system default - which "
+"should be B</usr/libexec> (per FHS 3.0, adopted in Debian Policy 4.1.5)."
+msgstr ""
+
+#. type: textblock
+#: debhelper.pod:856
+msgid ""
+"If a particular upstream package does not use the correct default, the "
+"parameter can often be passed manually via L<dh_auto_configure(1)>. E.g. "
+"via the following example:"
+msgstr ""
+
+#. type: verbatim
+#: debhelper.pod:860
+#, no-wrap
+msgid ""
+" override_dh_auto_configure:\n"
+" \tdh_auto_configure -- --libexecdir=/usr/libexec\n"
+"\n"
+msgstr ""
+
+#. type: textblock
+#: debhelper.pod:863
+msgid "Note the B<--> before the B<--libexecdir> parameter."
+msgstr ""
+
#. type: =head1
-#: debhelper.pod:767 dh_auto_test:48 dh_installcatalogs:64 dh_installdocs:178 dh_installemacsen:75 dh_installexamples:85 dh_installinit:183 dh_installman:124 dh_installmodules:57 dh_installudev:50 dh_installwm:58 dh_installxfonts:40 dh_movefiles:67 dh_strip:119 dh_usrlocal:59 dh_systemd_enable:104 dh_systemd_start:68
+#: debhelper.pod:869 dh_auto_test:48 dh_dwz:57 dh_installcatalogs:64 dh_installdocs:192 dh_installemacsen:75 dh_installexamples:89 dh_installinit:205 dh_installinitramfs:53 dh_installman:128 dh_installmodules:57 dh_installudev:50 dh_installwm:63 dh_installxfonts:40 dh_movefiles:67 dh_strip:119 dh_usrlocal:60 dh_systemd_enable:104 dh_systemd_start:68
msgid "NOTES"
msgstr ""
#. type: =head2
-#: debhelper.pod:769
+#: debhelper.pod:871
msgid "Multiple binary package support"
msgstr ""
#. type: textblock
-#: debhelper.pod:771
+#: debhelper.pod:873
msgid ""
"If your source package generates more than one binary package, debhelper "
"programs will default to acting on all binary packages when run. If your "
@@ -1269,7 +1439,7 @@ msgid ""
msgstr ""
#. type: textblock
-#: debhelper.pod:779
+#: debhelper.pod:881
msgid ""
"To facilitate this, as well as give you more control over which packages are "
"acted on by debhelper programs, all debhelper programs accept the B<-a>, "
@@ -1279,7 +1449,7 @@ msgid ""
msgstr ""
#. type: textblock
-#: debhelper.pod:785
+#: debhelper.pod:887
msgid ""
"First, any package whose B<Architecture> field in B<debian/control> does not "
"match the B<DEB_HOST_ARCH> architecture will be excluded (L<Debian Policy, "
@@ -1287,7 +1457,7 @@ msgid ""
msgstr ""
#. type: textblock
-#: debhelper.pod:789
+#: debhelper.pod:891
msgid ""
"Also, some additional packages may be excluded based on the contents of the "
"B<DEB_BUILD_PROFILES> environment variable and B<Build-Profiles> fields in "
@@ -1296,12 +1466,12 @@ msgid ""
msgstr ""
#. type: =head3
-#: debhelper.pod:794
+#: debhelper.pod:896
msgid "Interaction between package selections and Build-Profiles"
msgstr ""
#. type: textblock
-#: debhelper.pod:796
+#: debhelper.pod:898
msgid ""
"Build-Profiles affect which packages are included in the package selections "
"mechanisms in debhelper. Generally, the package selections are described "
@@ -1311,19 +1481,19 @@ msgid ""
msgstr ""
#. type: =item
-#: debhelper.pod:804
+#: debhelper.pod:906
msgid "-a/--arch, -i/--indep OR no selection options (a raw \"dh_X\" call)"
msgstr ""
#. type: textblock
-#: debhelper.pod:806
+#: debhelper.pod:908
msgid ""
"The package disabled by Build-Profiles is silently excluded from the "
"selection."
msgstr ""
#. type: textblock
-#: debhelper.pod:809
+#: debhelper.pod:911
msgid ""
"Note you will receive a warning if I<all> packages related to these "
"selections are disabled. In that case, it generally does not make sense to "
@@ -1331,39 +1501,39 @@ msgid ""
msgstr ""
#. type: =item
-#: debhelper.pod:813
+#: debhelper.pod:915
msgid "-N I<package> / --no-package I<package>"
msgstr ""
#. type: textblock
-#: debhelper.pod:815
+#: debhelper.pod:917
msgid "The option is accepted and effectively does nothing."
msgstr ""
#. type: =item
-#: debhelper.pod:817
+#: debhelper.pod:919
msgid "-p I<package> / --package I<package>"
msgstr ""
#. type: textblock
-#: debhelper.pod:819
+#: debhelper.pod:921
msgid "The option is accepted, but debhelper will not act on the package."
msgstr ""
#. type: textblock
-#: debhelper.pod:823
+#: debhelper.pod:925
msgid ""
"Note that it does not matter whether a package is enabled or disabled by "
"default."
msgstr ""
#. type: =head2
-#: debhelper.pod:826
+#: debhelper.pod:928
msgid "Automatic generation of Debian install scripts"
msgstr ""
#. type: textblock
-#: debhelper.pod:828
+#: debhelper.pod:930
msgid ""
"Some debhelper commands will automatically generate parts of Debian "
"maintainer scripts. If you want these automatically generated things "
@@ -1374,21 +1544,21 @@ msgid ""
msgstr ""
#. type: textblock
-#: debhelper.pod:835
+#: debhelper.pod:937
msgid ""
"If a script does not exist at all and debhelper needs to add something to "
"it, then debhelper will create the complete script."
msgstr ""
#. type: textblock
-#: debhelper.pod:838
+#: debhelper.pod:940
msgid ""
"All debhelper commands that automatically generate code in this way let it "
"be disabled by the -n parameter (see above)."
msgstr ""
#. type: textblock
-#: debhelper.pod:841
+#: debhelper.pod:943
msgid ""
"Note that the inserted code will be shell code, so you cannot directly use "
"it in a Perl script. If you would like to embed it into a Perl script, here "
@@ -1397,7 +1567,7 @@ msgid ""
msgstr ""
#. type: verbatim
-#: debhelper.pod:846
+#: debhelper.pod:948
#, no-wrap
msgid ""
" my $temp=\"set -e\\nset -- @ARGV\\n\" . << 'EOF';\n"
@@ -1417,12 +1587,12 @@ msgid ""
msgstr ""
#. type: =head2
-#: debhelper.pod:859
+#: debhelper.pod:961
msgid "Automatic generation of miscellaneous dependencies."
msgstr ""
#. type: textblock
-#: debhelper.pod:861
+#: debhelper.pod:963
msgid ""
"Some debhelper commands may make the generated package need to depend on "
"some other packages. For example, if you use L<dh_installdebconf(1)>, your "
@@ -1434,7 +1604,7 @@ msgid ""
msgstr ""
#. type: textblock
-#: debhelper.pod:869
+#: debhelper.pod:971
msgid ""
"All commands of this type, besides documenting what dependencies may be "
"needed on their man pages, will automatically generate a substvar called "
@@ -1443,7 +1613,7 @@ msgid ""
msgstr ""
#. type: textblock
-#: debhelper.pod:874
+#: debhelper.pod:976
msgid ""
"This is entirely independent of the standard B<${shlibs:Depends}> generated "
"by L<dh_makeshlibs(1)>, and the B<${perl:Depends}> generated by "
@@ -1452,19 +1622,19 @@ msgid ""
msgstr ""
#. type: =head2
-#: debhelper.pod:879
+#: debhelper.pod:981
msgid "Package build directories"
msgstr ""
#. type: textblock
-#: debhelper.pod:881
+#: debhelper.pod:983
msgid ""
"By default, all debhelper programs assume that the temporary directory used "
"for assembling the tree of files in a package is debian/I<package>."
msgstr ""
#. type: textblock
-#: debhelper.pod:884
+#: debhelper.pod:986
msgid ""
"Sometimes, you might want to use some other temporary directory. This is "
"supported by the B<-P> flag. For example, \"B<dh_installdocs "
@@ -1476,12 +1646,12 @@ msgid ""
msgstr ""
#. type: =head2
-#: debhelper.pod:892
+#: debhelper.pod:994
msgid "udebs"
msgstr ""
#. type: textblock
-#: debhelper.pod:894
+#: debhelper.pod:996
msgid ""
"Debhelper includes support for udebs. To create a udeb with debhelper, add "
"\"B<Package-Type: udeb>\" to the package's stanza in F<debian/control>. "
@@ -1492,12 +1662,12 @@ msgid ""
msgstr ""
#. type: =head1
-#: debhelper.pod:901
+#: debhelper.pod:1003
msgid "ENVIRONMENT"
msgstr ""
#. type: textblock
-#: debhelper.pod:903
+#: debhelper.pod:1005
msgid ""
"The following environment variables can influence the behavior of "
"debhelper. It is important to note that these must be actual environment "
@@ -1507,24 +1677,24 @@ msgid ""
msgstr ""
#. type: =item
-#: debhelper.pod:911
+#: debhelper.pod:1013
msgid "B<DH_VERBOSE>"
msgstr ""
#. type: textblock
-#: debhelper.pod:913
+#: debhelper.pod:1015
msgid ""
"Set to B<1> to enable verbose mode. Debhelper will output every command it "
"runs. Also enables verbose build logs for some build systems like autoconf."
msgstr ""
#. type: =item
-#: debhelper.pod:916
+#: debhelper.pod:1018
msgid "B<DH_QUIET>"
msgstr ""
#. type: textblock
-#: debhelper.pod:918
+#: debhelper.pod:1020
msgid ""
"Set to B<1> to enable quiet mode. Debhelper will not output commands calling "
"the upstream build system nor will dh print which subcommands are called and "
@@ -1534,53 +1704,53 @@ msgid ""
msgstr ""
#. type: =item
-#: debhelper.pod:925
+#: debhelper.pod:1027
msgid "B<DH_COMPAT>"
msgstr ""
#. type: textblock
-#: debhelper.pod:927
+#: debhelper.pod:1029
msgid ""
"Temporarily specifies what compatibility level debhelper should run at, "
"overriding any value in F<debian/compat>."
msgstr ""
#. type: =item
-#: debhelper.pod:930
+#: debhelper.pod:1032
msgid "B<DH_NO_ACT>"
msgstr ""
#. type: textblock
-#: debhelper.pod:932
+#: debhelper.pod:1034
msgid "Set to B<1> to enable no-act mode."
msgstr ""
#. type: =item
-#: debhelper.pod:934
+#: debhelper.pod:1036
msgid "B<DH_OPTIONS>"
msgstr ""
#. type: textblock
-#: debhelper.pod:936
+#: debhelper.pod:1038
msgid ""
"Anything in this variable will be prepended to the command line arguments of "
"all debhelper commands."
msgstr ""
#. type: textblock
-#: debhelper.pod:939
+#: debhelper.pod:1041
msgid ""
"When using L<dh(1)>, it can be passed options that will be passed on to each "
"debhelper command, which is generally better than using DH_OPTIONS."
msgstr ""
#. type: =item
-#: debhelper.pod:942
+#: debhelper.pod:1044
msgid "B<DH_ALWAYS_EXCLUDE>"
msgstr ""
#. type: textblock
-#: debhelper.pod:944
+#: debhelper.pod:1046
msgid ""
"If set, this adds the value the variable is set to to the B<-X> options of "
"all commands that support the B<-X> option. Moreover, B<dh_builddeb> will "
@@ -1588,7 +1758,7 @@ msgid ""
msgstr ""
#. type: textblock
-#: debhelper.pod:948
+#: debhelper.pod:1050
msgid ""
"This can be useful if you are doing a build from a CVS source tree, in which "
"case setting B<DH_ALWAYS_EXCLUDE=CVS> will prevent any CVS directories from "
@@ -1599,44 +1769,67 @@ msgid ""
msgstr ""
#. type: textblock
-#: debhelper.pod:955
+#: debhelper.pod:1057
msgid ""
"Multiple things to exclude can be separated with colons, as in "
"B<DH_ALWAYS_EXCLUDE=CVS:.svn>"
msgstr ""
+#. type: =item
+#: debhelper.pod:1060
+msgid "B<DH_EXTRA_ADDONS>"
+msgstr ""
+
+#. type: textblock
+#: debhelper.pod:1062
+msgid ""
+"If set, this adds the specified dh addons to be run in the appropriate "
+"places in the sequence of commands. This is equivalent to specifying the "
+"addon to run with the --with flag in the debian/rules file. Any --without "
+"calls specifying an addon in this environment variable will not be run."
+msgstr ""
+
+#. type: textblock
+#: debhelper.pod:1067
+msgid ""
+"This is intended to be used by downstreams or specific local configurations "
+"that require a debhelper addon to be run during multiple builds without "
+"having to patch a large number of rules file. If at all possible, this "
+"should be avoided in favor of a --with flag in the rules file."
+msgstr ""
+
#. type: =head1
-#: debhelper.pod:960 debhelper-obsolete-compat.pod:118 dh:1113 dh_auto_build:53 dh_auto_clean:55 dh_auto_configure:58 dh_auto_install:97 dh_auto_test:64 dh_bugfiles:133 dh_builddeb:183 dh_clean:184 dh_compress:237 dh_fixperms:162 dh_gconf:101 dh_gencontrol:199 dh_icons:75 dh_install:363 dh_installcatalogs:125 dh_installchangelogs:243 dh_installcron:78 dh_installdeb:217 dh_installdebconf:128 dh_installdirs:97 dh_installdocs:427 dh_installemacsen:137 dh_installexamples:171 dh_installifupdown:72 dh_installinfo:99 dh_installinit:370 dh_installlogcheck:81 dh_installlogrotate:53 dh_installman:358 dh_installmanpages:198 dh_installmenu:88 dh_installmime:63 dh_installmodules:109 dh_installpam:62 dh_installppp:68 dh_installudev:100 dh_installwm:122 dh_installxfonts:92 dh_link:163 dh_lintian:60 dh_listpackages:33 dh_makeshlibs:291 dh_md5sums:109 dh_movefiles:161 dh_perl:159 dh_prep:70 dh_shlibdeps:201 dh_strip:417 dh_testdir:63 dh_testroot:74 dh_usrlocal:132 dh_systemd_enable:281 dh_systemd_start:269
+#: debhelper.pod:1074 debhelper-obsolete-compat.pod:118 dh:1093 dh_auto_build:53 dh_auto_clean:55 dh_auto_configure:58 dh_auto_install:97 dh_auto_test:64 dh_bugfiles:133 dh_builddeb:182 dh_clean:185 dh_compress:236 dh_dwz:141 dh_fixperms:162 dh_gconf:101 dh_gencontrol:207 dh_icons:75 dh_install:350 dh_installcatalogs:125 dh_installchangelogs:300 dh_installcron:78 dh_installdeb:266 dh_installdebconf:128 dh_installdirs:128 dh_installdocs:444 dh_installemacsen:137 dh_installexamples:175 dh_installifupdown:72 dh_installinfo:107 dh_installinit:406 dh_installinitramfs:86 dh_installlogcheck:81 dh_installlogrotate:53 dh_installman:362 dh_installmanpages:198 dh_installmenu:88 dh_installmime:63 dh_installmodules:109 dh_installpam:62 dh_installppp:68 dh_installudev:100 dh_installwm:127 dh_installxfonts:96 dh_link:163 dh_lintian:60 dh_listpackages:35 dh_makeshlibs:355 dh_md5sums:117 dh_movefiles:161 dh_perl:159 dh_prep:70 dh_shlibdeps:199 dh_strip:426 dh_testdir:63 dh_testroot:91 dh_usrlocal:136 dh_systemd_enable:281 dh_systemd_start:269
msgid "SEE ALSO"
msgstr ""
#. type: =item
-#: debhelper.pod:964
+#: debhelper.pod:1078
msgid "F</usr/share/doc/debhelper/examples/>"
msgstr ""
#. type: textblock
-#: debhelper.pod:966
+#: debhelper.pod:1080
msgid "A set of example F<debian/rules> files that use debhelper."
msgstr ""
#. type: =item
-#: debhelper.pod:968
+#: debhelper.pod:1082
msgid "L<http://joeyh.name/code/debhelper/>"
msgstr ""
#. type: textblock
-#: debhelper.pod:970
+#: debhelper.pod:1084
msgid "Debhelper web site."
msgstr ""
#. type: =head1
-#: debhelper.pod:974 dh:1119 dh_auto_build:59 dh_auto_clean:61 dh_auto_configure:64 dh_auto_install:103 dh_auto_test:70 dh_bugfiles:141 dh_builddeb:189 dh_clean:190 dh_compress:243 dh_fixperms:168 dh_gconf:107 dh_gencontrol:205 dh_icons:81 dh_install:369 dh_installcatalogs:131 dh_installchangelogs:249 dh_installcron:84 dh_installdeb:223 dh_installdebconf:134 dh_installdirs:103 dh_installdocs:433 dh_installemacsen:144 dh_installexamples:177 dh_installifupdown:78 dh_installinfo:105 dh_installlogcheck:87 dh_installlogrotate:59 dh_installman:364 dh_installmanpages:204 dh_installmenu:96 dh_installmime:69 dh_installmodules:115 dh_installpam:68 dh_installppp:74 dh_installudev:106 dh_installwm:128 dh_installxfonts:98 dh_link:169 dh_lintian:68 dh_listpackages:39 dh_makeshlibs:297 dh_md5sums:115 dh_movefiles:167 dh_perl:165 dh_prep:76 dh_shlibdeps:207 dh_strip:423 dh_testdir:69 dh_testroot:80 dh_usrlocal:138
+#: debhelper.pod:1088 dh:1099 dh_auto_build:59 dh_auto_clean:61 dh_auto_configure:64 dh_auto_install:103 dh_auto_test:70 dh_bugfiles:141 dh_builddeb:188 dh_clean:191 dh_compress:242 dh_dwz:147 dh_fixperms:168 dh_gconf:107 dh_gencontrol:213 dh_icons:81 dh_install:356 dh_installcatalogs:131 dh_installchangelogs:306 dh_installcron:84 dh_installdeb:272 dh_installdebconf:134 dh_installdirs:134 dh_installdocs:450 dh_installemacsen:144 dh_installexamples:181 dh_installifupdown:78 dh_installinfo:113 dh_installlogcheck:87 dh_installlogrotate:59 dh_installman:368 dh_installmanpages:204 dh_installmenu:96 dh_installmime:69 dh_installmodules:115 dh_installpam:68 dh_installppp:74 dh_installudev:106 dh_installwm:133 dh_installxfonts:102 dh_link:169 dh_lintian:68 dh_listpackages:41 dh_makeshlibs:361 dh_md5sums:123 dh_movefiles:167 dh_perl:165 dh_prep:76 dh_shlibdeps:205 dh_strip:432 dh_testdir:69 dh_testroot:97 dh_usrlocal:142
msgid "AUTHOR"
msgstr ""
#. type: textblock
-#: debhelper.pod:976 dh:1121 dh_auto_build:61 dh_auto_clean:63 dh_auto_configure:66 dh_auto_install:105 dh_auto_test:72 dh_builddeb:191 dh_clean:192 dh_compress:245 dh_fixperms:170 dh_gencontrol:207 dh_install:371 dh_installchangelogs:251 dh_installcron:86 dh_installdeb:225 dh_installdebconf:136 dh_installdirs:105 dh_installdocs:435 dh_installemacsen:146 dh_installexamples:179 dh_installifupdown:80 dh_installinfo:107 dh_installinit:378 dh_installlogrotate:61 dh_installman:366 dh_installmanpages:206 dh_installmenu:98 dh_installmime:71 dh_installmodules:117 dh_installpam:70 dh_installppp:76 dh_installudev:108 dh_installwm:130 dh_installxfonts:100 dh_link:171 dh_listpackages:41 dh_makeshlibs:299 dh_md5sums:117 dh_movefiles:169 dh_prep:78 dh_shlibdeps:209 dh_strip:425 dh_testdir:71 dh_testroot:82
+#: debhelper.pod:1090 dh:1101 dh_auto_build:61 dh_auto_clean:63 dh_auto_configure:66 dh_auto_install:105 dh_auto_test:72 dh_builddeb:190 dh_clean:193 dh_compress:244 dh_fixperms:170 dh_gencontrol:215 dh_install:358 dh_installchangelogs:308 dh_installcron:86 dh_installdeb:274 dh_installdebconf:136 dh_installdirs:136 dh_installdocs:452 dh_installemacsen:146 dh_installexamples:183 dh_installifupdown:80 dh_installinfo:115 dh_installinit:414 dh_installlogrotate:61 dh_installman:370 dh_installmanpages:206 dh_installmenu:98 dh_installmime:71 dh_installmodules:117 dh_installpam:70 dh_installppp:76 dh_installudev:108 dh_installwm:135 dh_installxfonts:104 dh_link:171 dh_listpackages:43 dh_makeshlibs:363 dh_md5sums:125 dh_movefiles:169 dh_prep:78 dh_shlibdeps:207 dh_strip:434 dh_testdir:71 dh_testroot:99
msgid "Joey Hess <joeyh@debian.org>"
msgstr ""
@@ -1792,17 +1985,17 @@ msgid "B<dh_install> errors out if wildcards expand to nothing."
msgstr ""
#. type: textblock
-#: debhelper-obsolete-compat.pod:120 dh:1115 dh_auto_build:55 dh_auto_clean:57 dh_auto_configure:60 dh_auto_install:99 dh_auto_test:66 dh_builddeb:185 dh_clean:186 dh_compress:239 dh_fixperms:164 dh_gconf:103 dh_gencontrol:201 dh_install:365 dh_installcatalogs:127 dh_installchangelogs:245 dh_installcron:80 dh_installdeb:219 dh_installdebconf:130 dh_installdirs:99 dh_installdocs:429 dh_installexamples:173 dh_installifupdown:74 dh_installinfo:101 dh_installinit:372 dh_installlogcheck:83 dh_installlogrotate:55 dh_installman:360 dh_installmanpages:200 dh_installmime:65 dh_installmodules:111 dh_installpam:64 dh_installppp:70 dh_installudev:102 dh_installwm:124 dh_installxfonts:94 dh_link:165 dh_listpackages:35 dh_makeshlibs:293 dh_md5sums:111 dh_movefiles:163 dh_perl:161 dh_prep:72 dh_strip:419 dh_testdir:65 dh_testroot:76 dh_usrlocal:134 dh_systemd_start:271
+#: debhelper-obsolete-compat.pod:120 dh:1095 dh_auto_build:55 dh_auto_clean:57 dh_auto_configure:60 dh_auto_install:99 dh_auto_test:66 dh_builddeb:184 dh_clean:187 dh_compress:238 dh_dwz:143 dh_fixperms:164 dh_gconf:103 dh_gencontrol:209 dh_install:352 dh_installcatalogs:127 dh_installchangelogs:302 dh_installcron:80 dh_installdeb:268 dh_installdebconf:130 dh_installdirs:130 dh_installdocs:446 dh_installexamples:177 dh_installifupdown:74 dh_installinfo:109 dh_installlogcheck:83 dh_installlogrotate:55 dh_installman:364 dh_installmanpages:200 dh_installmime:65 dh_installmodules:111 dh_installpam:64 dh_installppp:70 dh_installudev:102 dh_installwm:129 dh_installxfonts:98 dh_link:165 dh_listpackages:37 dh_makeshlibs:357 dh_md5sums:119 dh_movefiles:163 dh_perl:161 dh_prep:72 dh_strip:428 dh_testdir:65 dh_testroot:93 dh_usrlocal:138 dh_systemd_start:271
msgid "L<debhelper(7)>"
msgstr ""
#. type: =head1
-#: debhelper-obsolete-compat.pod:122 dh_installinit:376 dh_systemd_enable:285 dh_systemd_start:273
+#: debhelper-obsolete-compat.pod:122 dh_installinit:412 dh_systemd_enable:285 dh_systemd_start:273
msgid "AUTHORS"
msgstr ""
#. type: textblock
-#: debhelper-obsolete-compat.pod:124
+#: debhelper-obsolete-compat.pod:124 dh_dwz:149
msgid "Niels Thykier <niels@thykier.net>"
msgstr ""
@@ -1817,14 +2010,14 @@ msgid "dh - debhelper command sequencer"
msgstr ""
#. type: textblock
-#: dh:17
+#: dh:18
msgid ""
"B<dh> I<sequence> [B<--with> I<addon>[B<,>I<addon> ...]] [B<--list>] "
"[S<I<debhelper options>>]"
msgstr ""
#. type: textblock
-#: dh:21
+#: dh:22
msgid ""
"B<dh> runs a sequence of debhelper commands. The supported I<sequence>s "
"correspond to the targets of a F<debian/rules> file: B<build-arch>, "
@@ -1833,19 +2026,19 @@ msgid ""
msgstr ""
#. type: =head1
-#: dh:26
+#: dh:27
msgid "OVERRIDE TARGETS"
msgstr ""
#. type: textblock
-#: dh:28
+#: dh:29
msgid ""
"A F<debian/rules> file using B<dh> can override the command that is run at "
"any step in a sequence, by defining an override target."
msgstr ""
#. type: textblock
-#: dh:31
+#: dh:32
msgid ""
"To override I<dh_command>, add a target named B<override_>I<dh_command> to "
"the rules file. When it would normally run I<dh_command>, B<dh> will instead "
@@ -1855,7 +2048,7 @@ msgid ""
msgstr ""
#. type: textblock
-#: dh:37
+#: dh:38
msgid ""
"Override targets can also be defined to run only when building architecture "
"dependent or architecture independent packages. Use targets with names like "
@@ -1865,17 +2058,17 @@ msgid ""
msgstr ""
#. type: =head1
-#: dh:44 dh_auto_build:32 dh_auto_clean:33 dh_auto_configure:35 dh_auto_install:46 dh_auto_test:34 dh_bugfiles:53 dh_builddeb:34 dh_clean:47 dh_compress:52 dh_fixperms:40 dh_gconf:42 dh_gencontrol:38 dh_icons:33 dh_install:72 dh_installcatalogs:53 dh_installchangelogs:62 dh_installcron:43 dh_installdebconf:64 dh_installdirs:42 dh_installdocs:86 dh_installemacsen:56 dh_installexamples:37 dh_installifupdown:42 dh_installinfo:34 dh_installinit:73 dh_installlogcheck:45 dh_installlogrotate:25 dh_installman:79 dh_installmanpages:43 dh_installmenu:44 dh_installmodules:41 dh_installpam:34 dh_installppp:38 dh_installudev:34 dh_installwm:38 dh_link:66 dh_makeshlibs:52 dh_md5sums:31 dh_movefiles:41 dh_perl:34 dh_prep:29 dh_shlibdeps:30 dh_strip:38 dh_testdir:26 dh_usrlocal:49 dh_systemd_enable:83 dh_systemd_start:33
+#: dh:45 dh_auto_build:32 dh_auto_clean:33 dh_auto_configure:35 dh_auto_install:46 dh_auto_test:34 dh_bugfiles:53 dh_builddeb:34 dh_clean:47 dh_compress:52 dh_dwz:26 dh_fixperms:40 dh_gconf:42 dh_gencontrol:38 dh_icons:33 dh_install:66 dh_installcatalogs:53 dh_installchangelogs:73 dh_installcron:43 dh_installdebconf:64 dh_installdirs:42 dh_installdocs:90 dh_installemacsen:56 dh_installexamples:41 dh_installifupdown:42 dh_installinfo:38 dh_installinit:78 dh_installinitramfs:43 dh_installlogcheck:45 dh_installlogrotate:25 dh_installman:83 dh_installmanpages:43 dh_installmenu:44 dh_installmodules:41 dh_installpam:34 dh_installppp:38 dh_installudev:34 dh_installwm:38 dh_link:66 dh_makeshlibs:52 dh_md5sums:31 dh_movefiles:41 dh_perl:34 dh_prep:29 dh_shlibdeps:30 dh_strip:38 dh_testdir:26 dh_usrlocal:50 dh_systemd_enable:83 dh_systemd_start:33
msgid "OPTIONS"
msgstr ""
#. type: =item
-#: dh:48
+#: dh:49
msgid "B<--with> I<addon>[B<,>I<addon> ...]"
msgstr ""
#. type: textblock
-#: dh:50
+#: dh:51
msgid ""
"Add the debhelper commands specified by the given addon to appropriate "
"places in the sequence of commands that is run. This option can be repeated "
@@ -1885,13 +2078,27 @@ msgid ""
"addon interface."
msgstr ""
+#. type: textblock
+#: dh:58
+msgid ""
+"A B<Build-Depends> relation on the package B<dh-sequence->I<addon> implies a "
+"B<--with> I<addon>. This avoids the need for an explicit B<--with> in "
+"F<debian/rules> that only duplicates what is already declared via the build "
+"dependencies in F<debian/control>. Note that only relations in the "
+"B<Build-Depends> field are considered (i.e. B<Build-Depends-Indep> and "
+"B<Build-Depends-Arch> are deliberately unsupported). Please keep in mind "
+"that B<dh> insists on \"simple\" relations (e.g. a relation like "
+"\"B<dh-sequence->I<addon> | B<some-other-pkg>\" will I<not> imply B<--with> "
+"I<addon>)."
+msgstr ""
+
#. type: =item
-#: dh:57
+#: dh:68
msgid "B<--without> I<addon>"
msgstr ""
#. type: textblock
-#: dh:59
+#: dh:70
msgid ""
"The inverse of B<--with>, disables using the given addon. This option can be "
"repeated more than once, or multiple addons to disable can be listed, "
@@ -1899,31 +2106,31 @@ msgid ""
msgstr ""
#. type: textblock
-#: dh:65
+#: dh:76
msgid "List all available addons."
msgstr ""
#. type: textblock
-#: dh:67
+#: dh:78
msgid ""
"When called only with this option, B<dh> can be called from any directory "
"(i.e. it does not need access to files from a source package)."
msgstr ""
#. type: textblock
-#: dh:73
+#: dh:84
msgid "Prints commands that would run for a given sequence, but does not run them."
msgstr ""
#. type: textblock
-#: dh:75
+#: dh:86
msgid ""
"Note that dh normally skips running commands that it knows will do nothing. "
"With --no-act, the full list of commands in a sequence is printed."
msgstr ""
#. type: textblock
-#: dh:80
+#: dh:91
msgid ""
"Other options passed to B<dh> are passed on to each command it runs. This "
"can be used to set an option like B<-v> or B<-X> or B<-N>, as well as for "
@@ -1931,19 +2138,19 @@ msgid ""
msgstr ""
#. type: =head1
-#: dh:84 dh_installdocs:167 dh_installman:110 dh_link:88 dh_makeshlibs:109 dh_shlibdeps:78
+#: dh:95 dh_installdocs:181 dh_installman:114 dh_link:88 dh_makeshlibs:155 dh_shlibdeps:78
msgid "EXAMPLES"
msgstr ""
#. type: textblock
-#: dh:86
+#: dh:97
msgid ""
"To see what commands are included in a sequence, without actually doing "
"anything:"
msgstr ""
#. type: verbatim
-#: dh:89
+#: dh:100
#, no-wrap
msgid ""
"\tdh binary-arch --no-act\n"
@@ -1951,14 +2158,14 @@ msgid ""
msgstr ""
#. type: textblock
-#: dh:91
+#: dh:102
msgid ""
"This is a very simple rules file, for packages where the default sequences "
"of commands work with no additional options."
msgstr ""
#. type: verbatim
-#: dh:94 dh:115 dh:128
+#: dh:105 dh:126 dh:139
#, no-wrap
msgid ""
"\t#!/usr/bin/make -f\n"
@@ -1968,14 +2175,14 @@ msgid ""
msgstr ""
#. type: textblock
-#: dh:98
+#: dh:109
msgid ""
"Often you'll want to pass an option to a specific debhelper command. The "
"easy way to do with is by adding an override target for that command."
msgstr ""
#. type: verbatim
-#: dh:101 dh:185 dh:196
+#: dh:112 dh:196 dh:207
#, no-wrap
msgid ""
"\t#!/usr/bin/make -f\n"
@@ -1985,7 +2192,7 @@ msgid ""
msgstr ""
#. type: verbatim
-#: dh:105
+#: dh:116
#, no-wrap
msgid ""
"\toverride_dh_strip:\n"
@@ -1994,7 +2201,7 @@ msgid ""
msgstr ""
#. type: verbatim
-#: dh:108
+#: dh:119
#, no-wrap
msgid ""
"\toverride_dh_auto_configure:\n"
@@ -2003,7 +2210,7 @@ msgid ""
msgstr ""
#. type: textblock
-#: dh:111
+#: dh:122
msgid ""
"Sometimes the automated L<dh_auto_configure(1)> and L<dh_auto_build(1)> "
"can't guess what to do for a strange package. Here's how to avoid running "
@@ -2011,7 +2218,7 @@ msgid ""
msgstr ""
#. type: verbatim
-#: dh:119
+#: dh:130
#, no-wrap
msgid ""
"\toverride_dh_auto_configure:\n"
@@ -2020,7 +2227,7 @@ msgid ""
msgstr ""
#. type: verbatim
-#: dh:122
+#: dh:133
#, no-wrap
msgid ""
"\toverride_dh_auto_build:\n"
@@ -2029,14 +2236,14 @@ msgid ""
msgstr ""
#. type: textblock
-#: dh:125
+#: dh:136
msgid ""
"Another common case is wanting to do something manually before or after a "
"particular debhelper command is run."
msgstr ""
#. type: verbatim
-#: dh:132
+#: dh:143
#, no-wrap
msgid ""
"\toverride_dh_fixperms:\n"
@@ -2046,14 +2253,14 @@ msgid ""
msgstr ""
#. type: textblock
-#: dh:136
+#: dh:147
msgid ""
"Python tools are not run by dh by default, due to the continual change in "
"that area. Here is how to use B<dh_python2>."
msgstr ""
#. type: verbatim
-#: dh:139
+#: dh:150
#, no-wrap
msgid ""
"\t#!/usr/bin/make -f\n"
@@ -2063,14 +2270,14 @@ msgid ""
msgstr ""
#. type: textblock
-#: dh:143
+#: dh:154
msgid ""
"Here is how to force use of Perl's B<Module::Build> build system, which can "
"be necessary if debhelper wrongly detects that the package uses MakeMaker."
msgstr ""
#. type: verbatim
-#: dh:147
+#: dh:158
#, no-wrap
msgid ""
"\t#!/usr/bin/make -f\n"
@@ -2080,7 +2287,7 @@ msgid ""
msgstr ""
#. type: textblock
-#: dh:151
+#: dh:162
msgid ""
"Here is an example of overriding where the B<dh_auto_>I<*> commands find the "
"package's source, for a package where the source is located in a "
@@ -2088,7 +2295,7 @@ msgid ""
msgstr ""
#. type: verbatim
-#: dh:155
+#: dh:166
#, no-wrap
msgid ""
"\t#!/usr/bin/make -f\n"
@@ -2098,14 +2305,14 @@ msgid ""
msgstr ""
#. type: textblock
-#: dh:159
+#: dh:170
msgid ""
"And here is an example of how to tell the B<dh_auto_>I<*> commands to build "
"in a subdirectory, which will be removed on B<clean>."
msgstr ""
#. type: verbatim
-#: dh:162
+#: dh:173
#, no-wrap
msgid ""
"\t#!/usr/bin/make -f\n"
@@ -2115,14 +2322,14 @@ msgid ""
msgstr ""
#. type: textblock
-#: dh:166
+#: dh:177
msgid ""
"If your package can be built in parallel, please either use compat 10 or "
"pass B<--parallel> to dh. Then B<dpkg-buildpackage -j> will work."
msgstr ""
#. type: verbatim
-#: dh:169
+#: dh:180
#, no-wrap
msgid ""
"\t#!/usr/bin/make -f\n"
@@ -2132,7 +2339,7 @@ msgid ""
msgstr ""
#. type: textblock
-#: dh:173
+#: dh:184
msgid ""
"If your package cannot be built reliably while using multiple threads, "
"please pass B<--no-parallel> to dh (or the relevant B<dh_auto_>I<*> "
@@ -2140,7 +2347,7 @@ msgid ""
msgstr ""
#. type: verbatim
-#: dh:178
+#: dh:189
#, no-wrap
msgid ""
"\t#!/usr/bin/make -f\n"
@@ -2150,14 +2357,14 @@ msgid ""
msgstr ""
#. type: textblock
-#: dh:182
+#: dh:193
msgid ""
"Here is a way to prevent B<dh> from running several commands that you don't "
"want it to run, by defining empty override targets for each command."
msgstr ""
#. type: verbatim
-#: dh:189
+#: dh:200
#, no-wrap
msgid ""
"\t# Commands not to run:\n"
@@ -2166,7 +2373,7 @@ msgid ""
msgstr ""
#. type: textblock
-#: dh:192
+#: dh:203
msgid ""
"A long build process for a separate documentation package can be separated "
"out using architecture independent overrides. These will be skipped when "
@@ -2174,7 +2381,7 @@ msgid ""
msgstr ""
#. type: verbatim
-#: dh:200
+#: dh:211
#, no-wrap
msgid ""
"\toverride_dh_auto_build-indep:\n"
@@ -2183,7 +2390,7 @@ msgid ""
msgstr ""
#. type: verbatim
-#: dh:203
+#: dh:214
#, no-wrap
msgid ""
"\t# No tests needed for docs\n"
@@ -2192,7 +2399,7 @@ msgid ""
msgstr ""
#. type: verbatim
-#: dh:206
+#: dh:217
#, no-wrap
msgid ""
"\toverride_dh_auto_install-indep:\n"
@@ -2201,7 +2408,7 @@ msgid ""
msgstr ""
#. type: textblock
-#: dh:209
+#: dh:220
msgid ""
"Adding to the example above, suppose you need to chmod a file, but only when "
"building the architecture dependent package, as it's not present when "
@@ -2209,7 +2416,7 @@ msgid ""
msgstr ""
#. type: verbatim
-#: dh:213
+#: dh:224
#, no-wrap
msgid ""
"\toverride_dh_fixperms-arch:\n"
@@ -2219,19 +2426,19 @@ msgid ""
msgstr ""
#. type: =head1
-#: dh:217
+#: dh:228
msgid "INTERNALS"
msgstr ""
#. type: textblock
-#: dh:219
+#: dh:230
msgid ""
"If you're curious about B<dh>'s internals, here's how it works under the "
"hood."
msgstr ""
#. type: textblock
-#: dh:221
+#: dh:232
msgid ""
"In compat 10 (or later), B<dh> creates a stamp file "
"F<debian/debhelper-build-stamp> after the build step(s) are complete to "
@@ -2242,7 +2449,7 @@ msgid ""
msgstr ""
#. type: textblock
-#: dh:229
+#: dh:240
msgid ""
"Inside an override target, B<dh_*> commands will create a log file "
"F<debian/package.debhelper.log> to keep track of which packages the "
@@ -2251,7 +2458,7 @@ msgid ""
msgstr ""
#. type: textblock
-#: dh:234
+#: dh:245
msgid ""
"In compat 9 or earlier, each debhelper command will record when it's "
"successfully run in F<debian/package.debhelper.log>. (Which B<dh_clean> "
@@ -2260,7 +2467,7 @@ msgid ""
msgstr ""
#. type: textblock
-#: dh:239
+#: dh:250
msgid ""
"Each time B<dh> is run (in compat 9 or earlier), it examines the log, and "
"finds the last logged command that is in the specified sequence. It then "
@@ -2270,14 +2477,14 @@ msgid ""
msgstr ""
#. type: textblock
-#: dh:245
+#: dh:256
msgid ""
"A sequence can also run dependent targets in debian/rules. For example, the "
"\"binary\" sequence runs the \"install\" target."
msgstr ""
#. type: textblock
-#: dh:248
+#: dh:259
msgid ""
"B<dh> uses the B<DH_INTERNAL_OPTIONS> environment variable to pass "
"information through to debhelper commands that are run inside override "
@@ -2286,7 +2493,7 @@ msgid ""
msgstr ""
#. type: textblock
-#: dh:253
+#: dh:264
msgid ""
"Commands in the B<build-indep>, B<install-indep> and B<binary-indep> "
"sequences are passed the B<-i> option to ensure they only work on "
@@ -2296,59 +2503,59 @@ msgid ""
msgstr ""
#. type: =head1
-#: dh:259
+#: dh:270
msgid "DEPRECATED OPTIONS"
msgstr ""
#. type: textblock
-#: dh:261
+#: dh:272
msgid ""
"The following options are deprecated. It's much better to use override "
"targets instead. They are B<not> available in compat 10."
msgstr ""
#. type: =item
-#: dh:267
+#: dh:278
msgid "B<--until> I<cmd>"
msgstr ""
#. type: textblock
-#: dh:269
+#: dh:280
msgid "Run commands in the sequence until and including I<cmd>, then stop."
msgstr ""
#. type: =item
-#: dh:271
+#: dh:282
msgid "B<--before> I<cmd>"
msgstr ""
#. type: textblock
-#: dh:273
+#: dh:284
msgid "Run commands in the sequence before I<cmd>, then stop."
msgstr ""
#. type: =item
-#: dh:275
+#: dh:286
msgid "B<--after> I<cmd>"
msgstr ""
#. type: textblock
-#: dh:277
+#: dh:288
msgid "Run commands in the sequence that come after I<cmd>."
msgstr ""
#. type: =item
-#: dh:279
+#: dh:290
msgid "B<--remaining>"
msgstr ""
#. type: textblock
-#: dh:281
+#: dh:292
msgid "Run all commands in the sequence that have yet to be run."
msgstr ""
#. type: textblock
-#: dh:285
+#: dh:296
msgid ""
"In the above options, I<cmd> can be a full name of a debhelper command, or a "
"substring. It'll first search for a command in the sequence exactly matching "
@@ -2357,7 +2564,7 @@ msgid ""
msgstr ""
#. type: textblock
-#: dh:1117 dh_auto_build:57 dh_auto_clean:59 dh_auto_configure:62 dh_auto_install:101 dh_auto_test:68 dh_bugfiles:139 dh_builddeb:187 dh_clean:188 dh_compress:241 dh_fixperms:166 dh_gconf:105 dh_gencontrol:203 dh_icons:79 dh_install:367 dh_installchangelogs:247 dh_installcron:82 dh_installdeb:221 dh_installdebconf:132 dh_installdirs:101 dh_installdocs:431 dh_installemacsen:142 dh_installexamples:175 dh_installifupdown:76 dh_installinfo:103 dh_installinit:374 dh_installlogrotate:57 dh_installman:362 dh_installmanpages:202 dh_installmenu:94 dh_installmime:67 dh_installmodules:113 dh_installpam:66 dh_installppp:72 dh_installudev:104 dh_installwm:126 dh_installxfonts:96 dh_link:167 dh_lintian:64 dh_listpackages:37 dh_makeshlibs:295 dh_md5sums:113 dh_movefiles:165 dh_perl:163 dh_prep:74 dh_shlibdeps:205 dh_strip:421 dh_testdir:67 dh_testroot:78 dh_usrlocal:136
+#: dh:1097 dh_auto_build:57 dh_auto_clean:59 dh_auto_configure:62 dh_auto_install:101 dh_auto_test:68 dh_bugfiles:139 dh_builddeb:186 dh_clean:189 dh_compress:240 dh_dwz:145 dh_fixperms:166 dh_gconf:105 dh_gencontrol:211 dh_icons:79 dh_install:354 dh_installchangelogs:304 dh_installcron:82 dh_installdeb:270 dh_installdebconf:132 dh_installdirs:132 dh_installdocs:448 dh_installemacsen:142 dh_installexamples:179 dh_installifupdown:76 dh_installinfo:111 dh_installinit:410 dh_installinitramfs:92 dh_installlogrotate:57 dh_installman:366 dh_installmanpages:202 dh_installmenu:94 dh_installmime:67 dh_installmodules:113 dh_installpam:66 dh_installppp:72 dh_installudev:104 dh_installwm:131 dh_installxfonts:100 dh_link:167 dh_lintian:64 dh_listpackages:39 dh_makeshlibs:359 dh_md5sums:121 dh_movefiles:165 dh_perl:163 dh_prep:74 dh_shlibdeps:203 dh_strip:430 dh_testdir:67 dh_testroot:95 dh_usrlocal:140
msgid "This program is a part of debhelper."
msgstr ""
@@ -2399,7 +2606,7 @@ msgid ""
msgstr ""
#. type: =item
-#: dh_auto_build:39 dh_auto_clean:40 dh_auto_configure:42 dh_auto_install:59 dh_auto_test:41 dh_builddeb:48 dh_gencontrol:42 dh_installdebconf:72 dh_installinit:148 dh_makeshlibs:103 dh_shlibdeps:41
+#: dh_auto_build:39 dh_auto_clean:40 dh_auto_configure:42 dh_auto_install:59 dh_auto_test:41 dh_builddeb:48 dh_dwz:50 dh_gencontrol:42 dh_installdebconf:72 dh_installinit:167 dh_makeshlibs:149 dh_shlibdeps:41
msgid "B<--> I<params>"
msgstr ""
@@ -2635,7 +2842,7 @@ msgid ""
msgstr ""
#. type: =head1
-#: dh_bugfiles:25 dh_clean:34 dh_compress:35 dh_gconf:26 dh_install:40 dh_installcatalogs:39 dh_installchangelogs:38 dh_installcron:24 dh_installdeb:25 dh_installdebconf:37 dh_installdirs:28 dh_installdocs:36 dh_installemacsen:30 dh_installexamples:27 dh_installifupdown:25 dh_installinfo:24 dh_installinit:36 dh_installlogcheck:24 dh_installman:69 dh_installmenu:28 dh_installmime:24 dh_installmodules:31 dh_installpam:24 dh_installppp:24 dh_installudev:24 dh_installwm:28 dh_link:46 dh_lintian:24 dh_makeshlibs:29 dh_movefiles:29 dh_systemd_enable:41
+#: dh_bugfiles:25 dh_clean:34 dh_compress:35 dh_gconf:26 dh_install:40 dh_installcatalogs:39 dh_installchangelogs:49 dh_installcron:24 dh_installdeb:25 dh_installdebconf:37 dh_installdirs:28 dh_installdocs:40 dh_installemacsen:30 dh_installexamples:31 dh_installifupdown:25 dh_installinfo:28 dh_installinit:41 dh_installinitramfs:30 dh_installlogcheck:24 dh_installman:73 dh_installmenu:28 dh_installmime:24 dh_installmodules:31 dh_installpam:24 dh_installppp:24 dh_installudev:24 dh_installwm:28 dh_link:46 dh_lintian:24 dh_makeshlibs:29 dh_movefiles:29 dh_systemd_enable:41
msgid "FILES"
msgstr ""
@@ -2837,7 +3044,7 @@ msgid ""
msgstr ""
#. type: =item
-#: dh_clean:51 dh_installchangelogs:66
+#: dh_clean:51 dh_installchangelogs:77
msgid "B<-k>, B<--keep>"
msgstr ""
@@ -2964,7 +3171,7 @@ msgid ""
msgstr ""
#. type: =item
-#: dh_compress:68 dh_installdocs:160 dh_installexamples:78 dh_installinfo:53 dh_installmanpages:47 dh_movefiles:58 dh_testdir:30
+#: dh_compress:68 dh_installdocs:174 dh_installexamples:82 dh_installinfo:57 dh_installmanpages:47 dh_movefiles:58 dh_testdir:30
msgid "I<file> ..."
msgstr ""
@@ -2974,7 +3181,7 @@ msgid "Add these files to the list of files to compress."
msgstr ""
#. type: =head1
-#: dh_compress:74 dh_perl:64 dh_strip:133 dh_usrlocal:65
+#: dh_compress:74 dh_perl:64 dh_strip:133 dh_usrlocal:66
msgid "CONFORMS TO"
msgstr ""
@@ -2984,6 +3191,86 @@ msgid "Debian policy, version 3.0"
msgstr ""
#. type: textblock
+#: dh_dwz:5
+msgid "dh_dwz - optimize DWARF debug information in ELF binaries via dwz"
+msgstr ""
+
+#. type: textblock
+#: dh_dwz:18
+msgid "B<dh_dwz> [S<I<debhelper options>>] [B<-X>I<item>] [S<B<--> I<params>>]"
+msgstr ""
+
+#. type: textblock
+#: dh_dwz:22
+msgid ""
+"B<dh_dwz> is a debhelper program that will optimize the (uncompressed) size "
+"of the DWARF debug information in ELF binaries. It does so by running "
+"L<dwz(1)> on all the ELF binaries in the package."
+msgstr ""
+
+#. type: =item
+#: dh_dwz:30
+msgid "B<--dwz-multifile>, B<--no-dwz-multifile>"
+msgstr ""
+
+#. type: textblock
+#: dh_dwz:32
+msgid ""
+"Whether L<dwz(1)> should generate a I<multifile> from the ELF binaries in "
+"the same package (it does by default). When enabled, if a package ships at "
+"least 2 ELF binaries, B<dh_dwz> will instruct L<dwz(1)> to generate a "
+"multifile for the package."
+msgstr ""
+
+#. type: textblock
+#: dh_dwz:37
+msgid ""
+"Note this options may not work if a package contains more ELF binaries than "
+"can fit on a single command line. If this becomes a problem, please pass "
+"B<--no-dwz-multifile> to work around the issue."
+msgstr ""
+
+#. type: textblock
+#: dh_dwz:41
+msgid ""
+"The generated multifile will be compressed with B<objcopy "
+"--compress-debug-sections>."
+msgstr ""
+
+#. type: textblock
+#: dh_dwz:46 dh_strip:44
+msgid ""
+"Exclude files that contain I<item> anywhere in their filename from being "
+"stripped. You may use this option multiple times to build up a list of "
+"things to exclude."
+msgstr ""
+
+#. type: textblock
+#: dh_dwz:52
+msgid ""
+"Pass I<params> to L<dwz(1)> when it processes ELF binaries. This is mostly "
+"useful for setting memory related parameters (e.g. -l and -L)."
+msgstr ""
+
+#. type: textblock
+#: dh_dwz:59
+msgid ""
+"If the B<DEB_BUILD_OPTIONS> environment variable contains B<nostrip>, "
+"nothing will be stripped, in accordance with Debian policy (section 10.1 "
+"\"Binaries\")."
+msgstr ""
+
+#. type: textblock
+#: dh_dwz:63
+msgid ""
+"While this tool technically does not remove debug information from binaries, "
+"it is still skipped when the B<DEB_BUILD_OPTIONS> environment variable "
+"contains B<nostrip>. This is because B<nostrip> is often used to optimize "
+"build times (e.g. for \"build and test\"-cycles) rather than optimizing for "
+"size."
+msgstr ""
+
+#. type: textblock
#: dh_fixperms:5
msgid "dh_fixperms - fix permissions of files in package build directories"
msgstr ""
@@ -3184,7 +3471,7 @@ msgid ""
msgstr ""
#. type: =item
-#: dh_icons:37 dh_installcatalogs:57 dh_installdebconf:68 dh_installemacsen:60 dh_installinit:77 dh_installmenu:48 dh_installmodules:45 dh_installwm:48 dh_makeshlibs:86 dh_usrlocal:53
+#: dh_icons:37 dh_installcatalogs:57 dh_installdebconf:68 dh_installemacsen:60 dh_installinit:82 dh_installinitramfs:47 dh_installmenu:48 dh_installmodules:45 dh_installwm:48 dh_makeshlibs:132 dh_usrlocal:54
msgid "B<-n>, B<--no-scripts>"
msgstr ""
@@ -3245,7 +3532,7 @@ msgstr ""
#: dh_install:36
msgid ""
"From debhelper compatibility level 7 on, B<dh_install> will fall back to "
-"looking in F<debian/tmp> for files, if it doesn't find them in the current "
+"looking in F<debian/tmp> for files, if it does not find them in the current "
"directory (or wherever you've told it to look using B<--sourcedir>)."
msgstr ""
@@ -3283,89 +3570,50 @@ msgstr ""
#. type: textblock
#: dh_install:61
msgid ""
-"List the files that are deliberately not installed in I<any> binary "
-"package. Paths listed in this file are (I<only>) ignored by the check done "
-"via B<--list-missing> (or B<--fail-missing>). However, it is B<not> a "
-"method to exclude files from being installed. Please use B<--exclude> for "
-"that."
-msgstr ""
-
-#. type: textblock
-#: dh_install:67
-msgid ""
-"Please keep in mind that dh_install will B<not> expand wildcards in this "
-"file."
+"Used with the deprecated B<--list-missing> and B<--fail-missing> options. "
+"Please refer to L<dh_missing(1)> for the documentation of this file."
msgstr ""
#. type: =item
-#: dh_install:76
+#: dh_install:70
msgid "B<--list-missing>"
msgstr ""
#. type: textblock
-#: dh_install:78
-msgid "B<Deprecated>: Please use B<dh_missing --list-missing> instead."
-msgstr ""
-
-#. type: textblock
-#: dh_install:80
-msgid ""
-"This option makes B<dh_install> keep track of the files it installs, and "
-"then at the end, compare that list with the files in the source "
-"directory. If any of the files (and symlinks) in the source directory were "
-"not installed to somewhere, it will warn on stderr about that."
-msgstr ""
-
-#. type: textblock
-#: dh_install:85
-msgid ""
-"This may be useful if you have a large package and want to make sure that "
-"you don't miss installing newly added files in new upstream releases."
-msgstr ""
-
-#. type: textblock
-#: dh_install:88
+#: dh_install:72
msgid ""
-"Note that files that are excluded from being moved via the B<-X> option are "
-"not warned about."
+"B<Deprecated>: Please use B<dh_missing --list-missing> instead. If you use "
+"this option, B<dh_install> will call B<dh_missing> with that option after it "
+"has processed all the files. Please see L<dh_missing(1)> for the "
+"documentation of this option."
msgstr ""
#. type: =item
-#: dh_install:91
+#: dh_install:79
msgid "B<--fail-missing>"
msgstr ""
#. type: textblock
-#: dh_install:93
-msgid "B<Deprecated>: Please use B<dh_missing --fail-missing> instead."
-msgstr ""
-
-#. type: textblock
-#: dh_install:95
+#: dh_install:81
msgid ""
-"This option is like B<--list-missing>, except if a file was missed, it will "
-"not only list the missing files, but also fail with a nonzero exit code."
-msgstr ""
-
-#. type: textblock
-#: dh_install:100 dh_installexamples:75
-msgid ""
-"Exclude files that contain I<item> anywhere in their filename from being "
-"installed."
+"B<Deprecated>: Please use B<dh_missing --fail-missing> instead. If you use "
+"this option, B<dh_install> will call B<dh_missing> with that option after it "
+"has processed all the files. Please see L<dh_missing(1)> for the "
+"documentation of this option."
msgstr ""
#. type: =item
-#: dh_install:103 dh_installexamples:46 dh_installinfo:43 dh_installman:93 dh_movefiles:45
+#: dh_install:88 dh_installdirs:59 dh_installdocs:104 dh_installexamples:50 dh_installinfo:47 dh_installman:97 dh_movefiles:45
msgid "B<--sourcedir=>I<dir>"
msgstr ""
#. type: textblock
-#: dh_install:105
+#: dh_install:90
msgid "Look in the specified directory for files to be installed."
msgstr ""
#. type: textblock
-#: dh_install:107
+#: dh_install:92
msgid ""
"Note that this is not the same as the B<--sourcedirectory> option used by "
"the B<dh_auto_>I<*> commands. You rarely need to use this option, since "
@@ -3374,12 +3622,12 @@ msgid ""
msgstr ""
#. type: =item
-#: dh_install:112
+#: dh_install:97
msgid "B<--autodest>"
msgstr ""
#. type: textblock
-#: dh_install:114
+#: dh_install:99
msgid ""
"Guess as the destination directory to install things to. If this is "
"specified, you should not list destination directories in "
@@ -3388,7 +3636,7 @@ msgid ""
msgstr ""
#. type: textblock
-#: dh_install:119
+#: dh_install:104
msgid ""
"Strip off F<debian/tmp> (or the sourcedir if one is given) from the front of "
"the filename, if it is present, and install into the dirname of the "
@@ -3398,24 +3646,24 @@ msgid ""
msgstr ""
#. type: =item
-#: dh_install:125
+#: dh_install:110
msgid "I<file|dir> ... I<destdir>"
msgstr ""
#. type: textblock
-#: dh_install:127
+#: dh_install:112
msgid ""
"Lists files (or directories) to install and where to install them to. The "
"files will be installed into the first package F<dh_install> acts on."
msgstr ""
#. type: =head1
-#: dh_install:338
+#: dh_install:325
msgid "LIMITATIONS"
msgstr ""
#. type: textblock
-#: dh_install:340
+#: dh_install:327
msgid ""
"B<dh_install> cannot rename files or directories, it can only install them "
"with the names they already have into wherever you want in the package build "
@@ -3423,7 +3671,7 @@ msgid ""
msgstr ""
#. type: textblock
-#: dh_install:344
+#: dh_install:331
msgid ""
"However, renaming can be achieved by using B<dh-exec> with compatibility "
"level 9 or later. An example debian/I<package>.install file using "
@@ -3431,7 +3679,7 @@ msgid ""
msgstr ""
#. type: verbatim
-#: dh_install:348
+#: dh_install:335
#, no-wrap
msgid ""
" #!/usr/bin/dh-exec\n"
@@ -3440,24 +3688,24 @@ msgid ""
msgstr ""
#. type: textblock
-#: dh_install:351
+#: dh_install:338
msgid "Please remember the following three things:"
msgstr ""
#. type: =item
-#: dh_install:355
+#: dh_install:342
msgid ""
"* The package must be using compatibility level 9 or later (see "
"L<debhelper(7)>)"
msgstr ""
#. type: =item
-#: dh_install:357
+#: dh_install:344
msgid "* The package will need a build-dependency on dh-exec."
msgstr ""
#. type: =item
-#: dh_install:359
+#: dh_install:346
msgid "* The install file must be marked as executable."
msgstr ""
@@ -3525,7 +3773,7 @@ msgid ""
msgstr ""
#. type: textblock
-#: dh_installcatalogs:66 dh_installemacsen:77 dh_installinit:185 dh_installmodules:59 dh_installudev:52 dh_installwm:60 dh_usrlocal:61
+#: dh_installcatalogs:66 dh_installemacsen:77 dh_installinit:207 dh_installinitramfs:55 dh_installmodules:59 dh_installudev:52 dh_installwm:65 dh_usrlocal:62
msgid ""
"Note that this command is not idempotent. L<dh_prep(1)> should be called "
"between invocations of this command. Otherwise, it may cause multiple "
@@ -3565,64 +3813,78 @@ msgstr ""
#: dh_installchangelogs:24
msgid ""
"An upstream F<changelog> file may be specified as an option. If none is "
-"specified, it looks for files with names that seem likely to be changelogs. "
-"(In compatibility level 7 and above.)"
+"specified, B<dh_installchangelogs> may look for files with names that seem "
+"likely to be changelogs as described in the next paragraphs (assuming the "
+"package is using compatibility level 7 or above)."
+msgstr ""
+
+#. type: textblock
+#: dh_installchangelogs:29
+msgid ""
+"In non-native packages, B<dh_installchangelogs> will first look for "
+"changelog files installed by the upstream build system into F<< "
+"usr/share/doc/I<package> >> (of the package build directory) and rename the "
+"most likely candidate (if any) to F<< usr/share/doc/I<package>/changelog "
+">>. Note that B<dh_installchangelogs> does I<not> look into any source "
+"directory (such as F<debian/tmp>). Otherwise, B<dh_installchangelogs> (at "
+"compatibility level 7 or any later) will look for changelog files in the "
+"source directory (e.g. the root or the F<docs> subdirectory)."
msgstr ""
#. type: textblock
-#: dh_installchangelogs:28
+#: dh_installchangelogs:39
msgid ""
"If there is an upstream F<changelog> file, it will be installed as "
"F<usr/share/doc/package/changelog> in the package build directory."
msgstr ""
#. type: textblock
-#: dh_installchangelogs:31
+#: dh_installchangelogs:42
msgid ""
-"If the upstream changelog is an F<html> file (determined by file extension), "
-"it will be installed as F<usr/share/doc/package/changelog.html> instead. If "
-"the html changelog is converted to plain text, that variant can be specified "
-"as a second upstream changelog file. When no plain text variant is "
-"specified, a short F<usr/share/doc/package/changelog> is generated, pointing "
-"readers at the html changelog file."
+"If the specified upstream changelog is an F<html> file (determined by file "
+"extension), it will be installed as F<usr/share/doc/package/changelog.html> "
+"instead. If the html changelog is converted to plain text, that variant can "
+"be specified as a second upstream changelog file. When no plain text variant "
+"is specified, a short F<usr/share/doc/package/changelog> is generated, "
+"pointing readers at the html changelog file."
msgstr ""
#. type: =item
-#: dh_installchangelogs:42
+#: dh_installchangelogs:53
msgid "F<debian/changelog>"
msgstr ""
#. type: =item
-#: dh_installchangelogs:44
+#: dh_installchangelogs:55
msgid "F<debian/NEWS>"
msgstr ""
#. type: =item
-#: dh_installchangelogs:46
+#: dh_installchangelogs:57
msgid "debian/I<package>.changelog"
msgstr ""
#. type: =item
-#: dh_installchangelogs:48
+#: dh_installchangelogs:59
msgid "debian/I<package>.NEWS"
msgstr ""
#. type: textblock
-#: dh_installchangelogs:50
+#: dh_installchangelogs:61
msgid ""
"Automatically installed into usr/share/doc/I<package>/ in the package build "
"directory."
msgstr ""
#. type: textblock
-#: dh_installchangelogs:53
+#: dh_installchangelogs:64
msgid ""
"Use the package specific name if I<package> needs a different F<NEWS> or "
"F<changelog> file."
msgstr ""
#. type: textblock
-#: dh_installchangelogs:56
+#: dh_installchangelogs:67
msgid ""
"The F<changelog> file is installed with a name of changelog for native "
"packages, and F<changelog.Debian> for non-native packages. The F<NEWS> file "
@@ -3630,7 +3892,7 @@ msgid ""
msgstr ""
#. type: textblock
-#: dh_installchangelogs:68
+#: dh_installchangelogs:79
msgid ""
"Keep the original name of the upstream changelog. This will be accomplished "
"by installing the upstream changelog as F<changelog>, and making a symlink "
@@ -3640,19 +3902,24 @@ msgid ""
msgstr ""
#. type: textblock
-#: dh_installchangelogs:76
+#: dh_installchangelogs:87
msgid ""
"Exclude upstream F<changelog> files that contain I<item> anywhere in their "
"filename from being installed."
msgstr ""
+#. type: textblock
+#: dh_installchangelogs:90
+msgid "Note that directory name of the changelog is also part of the match."
+msgstr ""
+
#. type: =item
-#: dh_installchangelogs:79
+#: dh_installchangelogs:92
msgid "I<upstream>"
msgstr ""
#. type: textblock
-#: dh_installchangelogs:81
+#: dh_installchangelogs:94
msgid "Install this file as the upstream changelog."
msgstr ""
@@ -3706,7 +3973,7 @@ msgid ""
msgstr ""
#. type: =item
-#: dh_installcron:47 dh_installifupdown:46 dh_installinit:153 dh_installlogcheck:49 dh_installlogrotate:29 dh_installmodules:49 dh_installpam:38 dh_installppp:42 dh_installudev:38 dh_systemd_enable:95
+#: dh_installcron:47 dh_installifupdown:46 dh_installinit:175 dh_installlogcheck:49 dh_installlogrotate:29 dh_installmodules:49 dh_installpam:38 dh_installppp:42 dh_installudev:38 dh_systemd_enable:95
msgid "B<--name=>I<name>"
msgstr ""
@@ -3856,6 +4123,14 @@ msgid ""
msgstr ""
#. type: textblock
+#: dh_installdeb:82
+msgid ""
+"The B<dh_installdeb> tool will do some basic validation of some of the "
+"commands listed in this file to catch common mistakes. The validation is "
+"enabled as a warning since compat 10 and as a hard error in compat 12."
+msgstr ""
+
+#. type: textblock
#: dh_installdebconf:5
msgid ""
"dh_installdebconf - install files used by debconf in package build "
@@ -3965,7 +4240,9 @@ msgstr ""
#. type: textblock
#: dh_installdirs:17
-msgid "B<dh_installdirs> [S<I<debhelper options>>] [B<-A>] [S<I<dir> ...>]"
+msgid ""
+"B<dh_installdirs> [S<I<debhelper options>>] [B<-A>] [B<--sourcedir=>I<dir>] "
+"[B<--create-in-sourcedir>] [S<I<dir> ...>]"
msgstr ""
#. type: textblock
@@ -4009,12 +4286,45 @@ msgstr ""
#. type: =item
#: dh_installdirs:51
-msgid "I<dir> ..."
+msgid "B<--create-in-sourcedir>, B<--no-create-in-sourcedir>"
msgstr ""
#. type: textblock
#: dh_installdirs:53
msgid ""
+"Whether to create the specified directories in the source directory (usually "
+"F<debian/tmp>) I<in addition to> in the package build directory (usually F<< "
+"debian/I<package> >>)."
+msgstr ""
+
+#. type: textblock
+#: dh_installdirs:57
+msgid "The default is B<--no-create-in-sourcedir>."
+msgstr ""
+
+#. type: textblock
+#: dh_installdirs:61
+msgid ""
+"Consider I<dir> the source directory for the packages acted on instead of "
+"the default (which is usually F<debian/tmp>)."
+msgstr ""
+
+#. type: textblock
+#: dh_installdirs:64
+msgid ""
+"Please note that this option is dependent on the B<--create-in-sourcedir> "
+"option (when B<--no-create-in-sourcedir> is in effect, this option does "
+"nothing in B<dh_installdirs>)."
+msgstr ""
+
+#. type: =item
+#: dh_installdirs:68
+msgid "I<dir> ..."
+msgstr ""
+
+#. type: textblock
+#: dh_installdirs:70
+msgid ""
"Create these directories in the package build directory of the first package "
"acted on. (Or in all packages if B<-A> is specified.)"
msgstr ""
@@ -4049,7 +4359,15 @@ msgid ""
msgstr ""
#. type: textblock
-#: dh_installdocs:31
+#: dh_installdocs:31 dh_installexamples:27 dh_installinfo:24 dh_installman:69
+msgid ""
+"From debhelper compatibility level 11 on, B<dh_install> will fall back to "
+"looking in F<debian/tmp> for files, if it does not find them in the current "
+"directory (or wherever you've told it to look using B<--sourcedir>)."
+msgstr ""
+
+#. type: textblock
+#: dh_installdocs:35
msgid ""
"In compat 11 and later, B<dh_installdocs> offers many of the features that "
"L<dh_install(1)> also have. Furthermore, B<dh_installdocs> also supports "
@@ -4058,78 +4376,78 @@ msgid ""
msgstr ""
#. type: =item
-#: dh_installdocs:40
+#: dh_installdocs:44
msgid "debian/I<package>.docs"
msgstr ""
#. type: textblock
-#: dh_installdocs:42
+#: dh_installdocs:46
msgid "List documentation files to be installed into I<package>."
msgstr ""
#. type: =item
-#: dh_installdocs:44
+#: dh_installdocs:48
msgid "F<debian/copyright>"
msgstr ""
#. type: textblock
-#: dh_installdocs:46
+#: dh_installdocs:50
msgid ""
"The copyright file is installed into all packages, unless a more specific "
"copyright file is available."
msgstr ""
#. type: =item
-#: dh_installdocs:49
+#: dh_installdocs:53
msgid "debian/I<package>.copyright"
msgstr ""
#. type: =item
-#: dh_installdocs:51
+#: dh_installdocs:55
msgid "debian/I<package>.README.Debian"
msgstr ""
#. type: =item
-#: dh_installdocs:53
+#: dh_installdocs:57
msgid "debian/I<package>.TODO"
msgstr ""
#. type: textblock
-#: dh_installdocs:55
+#: dh_installdocs:59
msgid "Each of these files is automatically installed if present for a I<package>."
msgstr ""
#. type: =item
-#: dh_installdocs:58
+#: dh_installdocs:62
msgid "F<debian/README.Debian>"
msgstr ""
#. type: =item
-#: dh_installdocs:60
+#: dh_installdocs:64
msgid "F<debian/TODO>"
msgstr ""
#. type: textblock
-#: dh_installdocs:62
+#: dh_installdocs:66
msgid ""
"These files are installed into the first binary package listed in "
"debian/control."
msgstr ""
#. type: textblock
-#: dh_installdocs:65
+#: dh_installdocs:69
msgid ""
"Note that F<README.debian> files are also installed as F<README.Debian>, and "
"F<TODO> files will be installed as F<TODO.Debian> in non-native packages."
msgstr ""
#. type: =item
-#: dh_installdocs:68
+#: dh_installdocs:72
msgid "debian/I<package>.doc-base"
msgstr ""
#. type: textblock
-#: dh_installdocs:70
+#: dh_installdocs:74
msgid ""
"Installed as doc-base control files. Note that the doc-id will be determined "
"from the B<Document:> entry in the doc-base control file in question. In the "
@@ -4139,12 +4457,12 @@ msgid ""
msgstr ""
#. type: =item
-#: dh_installdocs:76
+#: dh_installdocs:80
msgid "debian/I<package>.doc-base.*"
msgstr ""
#. type: textblock
-#: dh_installdocs:78
+#: dh_installdocs:82
msgid ""
"If your package needs to register more than one document, you need multiple "
"doc-base files, and can name them like this. In the event that multiple "
@@ -4154,26 +4472,43 @@ msgid ""
msgstr ""
#. type: textblock
-#: dh_installdocs:92 dh_installinfo:40 dh_installman:85
+#: dh_installdocs:96 dh_installinfo:44 dh_installman:89
msgid ""
"Install all files specified by command line parameters in ALL packages acted "
"on."
msgstr ""
#. type: textblock
-#: dh_installdocs:97
+#: dh_installdocs:101
msgid ""
"Exclude files that contain I<item> anywhere in their filename from being "
"installed. Note that this includes doc-base files."
msgstr ""
+#. type: textblock
+#: dh_installdocs:106 dh_installexamples:52 dh_installinfo:49 dh_installman:99
+msgid ""
+"Look in the specified directory for files to be installed. This option "
+"requires compat 11 or later (it is silently ignored in compat 10 or "
+"earlier)."
+msgstr ""
+
+#. type: textblock
+#: dh_installdocs:109 dh_installman:102
+msgid ""
+"Note that this is not the same as the B<--sourcedirectory> option used by "
+"the B<dh_auto_>I<*> commands. You rarely need to use this option, since "
+"B<dh_installman> automatically looks for files in F<debian/tmp> in debhelper "
+"compatibility level 11 and above."
+msgstr ""
+
#. type: =item
-#: dh_installdocs:100 dh_installexamples:56
+#: dh_installdocs:114 dh_installexamples:60
msgid "B<--doc-main-package=>I<main-package>"
msgstr ""
#. type: textblock
-#: dh_installdocs:102 dh_installexamples:58
+#: dh_installdocs:116 dh_installexamples:62
msgid ""
"Set the main package for a documentation package. This is used to install "
"the documentation of the documentation package in F<< "
@@ -4182,7 +4517,7 @@ msgid ""
msgstr ""
#. type: textblock
-#: dh_installdocs:107 dh_installexamples:63
+#: dh_installdocs:121 dh_installexamples:67
msgid ""
"In compat 11 (or later), this option is only useful if debhelper's "
"auto-detection of the main package is wrong. The option can also be used to "
@@ -4191,7 +4526,7 @@ msgid ""
msgstr ""
#. type: textblock
-#: dh_installdocs:112
+#: dh_installdocs:126
msgid ""
"This option cannot be used when B<dh_installdocs> is instructed to act on "
"multiple packages. If you need this option, you will generally need to "
@@ -4199,19 +4534,19 @@ msgid ""
msgstr ""
#. type: textblock
-#: dh_installdocs:117
+#: dh_installdocs:131
msgid ""
"Please keep in mind that some documentation (the copyright file, "
"README.Debian, etc.) will be unaffected by this option."
msgstr ""
#. type: =item
-#: dh_installdocs:120
+#: dh_installdocs:134
msgid "B<--link-doc=>I<package>"
msgstr ""
#. type: textblock
-#: dh_installdocs:122
+#: dh_installdocs:136
msgid ""
"Make the documentation directory of all packages acted on be a symlink to "
"the documentation directory of I<package>. This has no effect when acting on "
@@ -4221,7 +4556,7 @@ msgid ""
msgstr ""
#. type: textblock
-#: dh_installdocs:128
+#: dh_installdocs:142
msgid ""
"debhelper will try to avoid installing files into linked documentation "
"directories that would cause conflicts with the linked package. The B<-A> "
@@ -4231,7 +4566,7 @@ msgid ""
msgstr ""
#. type: textblock
-#: dh_installdocs:134
+#: dh_installdocs:148
msgid ""
"(An older method to accomplish the same thing, which is still supported, is "
"to make the documentation directory of a package be a dangling symlink, "
@@ -4239,7 +4574,7 @@ msgid ""
msgstr ""
#. type: textblock
-#: dh_installdocs:138
+#: dh_installdocs:152
msgid ""
"Please note that this option only applies to the documentation directory for "
"the package itself. When the package ships documentation for another "
@@ -4248,7 +4583,7 @@ msgid ""
msgstr ""
#. type: textblock
-#: dh_installdocs:144
+#: dh_installdocs:158
msgid ""
"B<CAVEAT 1>: If a previous version of the package was built without this "
"option and is now built with it (or vice-versa), it requires a \"dir to "
@@ -4257,7 +4592,7 @@ msgid ""
msgstr ""
#. type: textblock
-#: dh_installdocs:150
+#: dh_installdocs:164
msgid ""
"This can be done by providing a \"debian/I<package>.maintscript\" file and "
"using L<dh_installdeb(1)> to provide the relevant maintainer script "
@@ -4265,28 +4600,28 @@ msgid ""
msgstr ""
#. type: textblock
-#: dh_installdocs:154
+#: dh_installdocs:168
msgid ""
"B<CAVEAT 2>: The use of B<--link-doc> should only be done when the packages "
-"have same \"architecture\" type. A link from a architecture independent "
-"package to a architecture dependent package (or vice versa) will not work. "
+"have same \"architecture\" type. A link from an architecture independent "
+"package to an architecture dependent package (or vice versa) will not work. "
"Since compat 10, debhelper will actively reject unsupported combinations."
msgstr ""
#. type: textblock
-#: dh_installdocs:162
+#: dh_installdocs:176
msgid ""
"Install these files as documentation into the first package acted on. (Or in "
"all packages if B<-A> is specified)."
msgstr ""
#. type: textblock
-#: dh_installdocs:169
+#: dh_installdocs:183
msgid "This is an example of a F<debian/package.docs> file:"
msgstr ""
#. type: verbatim
-#: dh_installdocs:171
+#: dh_installdocs:185
#, no-wrap
msgid ""
" README\n"
@@ -4299,7 +4634,7 @@ msgid ""
msgstr ""
#. type: textblock
-#: dh_installdocs:180
+#: dh_installdocs:194
msgid ""
"Note that B<dh_installdocs> will happily copy entire directory hierarchies "
"if you ask it to (similar to B<cp -a>). If it is asked to install a "
@@ -4384,7 +4719,7 @@ msgid ""
msgstr ""
#. type: textblock
-#: dh_installemacsen:62 dh_usrlocal:55
+#: dh_installemacsen:62 dh_usrlocal:56
msgid "Do not modify F<postinst>/F<prerm> scripts."
msgstr ""
@@ -4436,32 +4771,24 @@ msgid ""
msgstr ""
#. type: =item
-#: dh_installexamples:31
+#: dh_installexamples:35
msgid "debian/I<package>.examples"
msgstr ""
#. type: textblock
-#: dh_installexamples:33
+#: dh_installexamples:37
msgid "Lists example files or directories to be installed."
msgstr ""
#. type: textblock
-#: dh_installexamples:43
+#: dh_installexamples:47
msgid ""
"Install any files specified by command line parameters in ALL packages acted "
"on."
msgstr ""
#. type: textblock
-#: dh_installexamples:48 dh_installinfo:45 dh_installman:95
-msgid ""
-"Look in the specified directory for files to be installed. This option "
-"requires compat 11 or later (it is silently ignored in compat 10 or "
-"earlier)."
-msgstr ""
-
-#. type: textblock
-#: dh_installexamples:51
+#: dh_installexamples:55
msgid ""
"Note that this is not the same as the B<--sourcedirectory> option used by "
"the B<dh_auto_>I<*> commands. You rarely need to use this option, since "
@@ -4470,7 +4797,7 @@ msgid ""
msgstr ""
#. type: textblock
-#: dh_installexamples:68
+#: dh_installexamples:72
msgid ""
"This option cannot be used when B<dh_installexamples> is instructed to act "
"on multiple packages. If you need this option, you will generally need to "
@@ -4478,14 +4805,21 @@ msgid ""
msgstr ""
#. type: textblock
-#: dh_installexamples:80
+#: dh_installexamples:79
+msgid ""
+"Exclude files that contain I<item> anywhere in their filename from being "
+"installed."
+msgstr ""
+
+#. type: textblock
+#: dh_installexamples:84
msgid ""
"Install these files (or directories) as examples into the first package "
"acted on. (Or into all packages if B<-A> is specified.)"
msgstr ""
#. type: textblock
-#: dh_installexamples:87
+#: dh_installexamples:91
msgid ""
"Note that B<dh_installexamples> will happily copy entire directory "
"hierarchies if you ask it to (similar to B<cp -a>). If it is asked to "
@@ -4563,17 +4897,17 @@ msgid ""
msgstr ""
#. type: =item
-#: dh_installinfo:28
+#: dh_installinfo:32
msgid "debian/I<package>.info"
msgstr ""
#. type: textblock
-#: dh_installinfo:30
+#: dh_installinfo:34
msgid "List info files to be installed."
msgstr ""
#. type: textblock
-#: dh_installinfo:48
+#: dh_installinfo:52
msgid ""
"Note that this is not the same as the B<--sourcedirectory> option used by "
"the B<dh_auto_>I<*> commands. You rarely need to use this option, since "
@@ -4582,7 +4916,7 @@ msgid ""
msgstr ""
#. type: textblock
-#: dh_installinfo:55
+#: dh_installinfo:59
msgid ""
"Install these info files into the first package acted on. (Or in all "
"packages if B<-A> is specified)."
@@ -4605,12 +4939,15 @@ msgstr ""
msgid ""
"B<dh_installinit> is a debhelper program that is responsible for installing "
"init scripts with associated defaults files. In compatibility levels up to "
-"11, B<dh_installinit> also handled upstart job files and systemd service "
-"files."
+"and including 10, B<dh_installinit> will also install some systemd related "
+"files provided by the debian packaging (see the L</FILES> section below). "
+"In compatibility levels up to and including 11, B<dh_installinit> will also "
+"handle upstart jobs provided in the debian packaging (see the L</FILES> for "
+"more information on this as well)."
msgstr ""
#. type: textblock
-#: dh_installinit:26
+#: dh_installinit:31
msgid ""
"It also automatically generates the F<postinst> and F<postrm> and F<prerm> "
"commands needed to set up the symlinks in F</etc/rc*.d/> to start and stop "
@@ -4618,7 +4955,7 @@ msgid ""
msgstr ""
#. type: textblock
-#: dh_installinit:30
+#: dh_installinit:35
msgid ""
"In compat 10 or earlier: If a package only ships a systemd service file and "
"no sysvinit script is provided, you may want to exclude the call to "
@@ -4628,36 +4965,36 @@ msgid ""
msgstr ""
#. type: =item
-#: dh_installinit:40
+#: dh_installinit:45
msgid "debian/I<package>.init"
msgstr ""
#. type: textblock
-#: dh_installinit:42
+#: dh_installinit:47
msgid ""
"If this exists, it is installed into etc/init.d/I<package> in the package "
"build directory."
msgstr ""
#. type: =item
-#: dh_installinit:45
+#: dh_installinit:50
msgid "debian/I<package>.default"
msgstr ""
#. type: textblock
-#: dh_installinit:47
+#: dh_installinit:52
msgid ""
"If this exists, it is installed into etc/default/I<package> in the package "
"build directory."
msgstr ""
#. type: =item
-#: dh_installinit:50
+#: dh_installinit:55
msgid "debian/I<package>.upstart"
msgstr ""
#. type: textblock
-#: dh_installinit:52
+#: dh_installinit:57
msgid ""
"In compatibility level 11, this file will trigger an error with a reminder "
"about ensuring the proper removal of the upstart file in the previous "
@@ -4666,31 +5003,31 @@ msgid ""
msgstr ""
#. type: textblock
-#: dh_installinit:57
+#: dh_installinit:62
msgid ""
"In compatibility level 10, if this file exists, it is installed into "
"etc/init/I<package>.conf in the package build directory."
msgstr ""
#. type: =item
-#: dh_installinit:60
+#: dh_installinit:65
msgid "debian/I<package>.service"
msgstr ""
#. type: textblock
-#: dh_installinit:62
+#: dh_installinit:67
msgid ""
"If this exists, it is installed into lib/systemd/system/I<package>.service "
"in the package build directory. Only used in compat levels 10 and below."
msgstr ""
#. type: =item
-#: dh_installinit:65 dh_systemd_enable:50
+#: dh_installinit:70 dh_systemd_enable:50
msgid "debian/I<package>.tmpfile"
msgstr ""
#. type: textblock
-#: dh_installinit:67
+#: dh_installinit:72
msgid ""
"If this exists, it is installed into usr/lib/tmpfiles.d/I<package>.conf in "
"the package build directory. (The tmpfiles.d mechanism is currently only "
@@ -4698,17 +5035,17 @@ msgid ""
msgstr ""
#. type: textblock
-#: dh_installinit:79
+#: dh_installinit:84
msgid "Do not modify F<postinst>/F<postrm>/F<prerm> scripts."
msgstr ""
#. type: =item
-#: dh_installinit:81
+#: dh_installinit:86
msgid "B<-o>, B<--only-scripts>"
msgstr ""
#. type: textblock
-#: dh_installinit:83
+#: dh_installinit:88
msgid ""
"Only modify F<postinst>/F<postrm>/F<prerm> scripts, do not actually install "
"any init script, default files, upstart job or systemd service file. May be "
@@ -4717,7 +5054,7 @@ msgid ""
msgstr ""
#. type: textblock
-#: dh_installinit:88
+#: dh_installinit:93
msgid ""
"B<Caveat>: This will bypass all the regular checks and I<unconditionally> "
"modify the scripts. You will almost certainly want to use this with B<-p> "
@@ -4725,7 +5062,7 @@ msgid ""
msgstr ""
#. type: verbatim
-#: dh_installinit:93
+#: dh_installinit:98
#, no-wrap
msgid ""
" override_dh_installinit:\n"
@@ -4735,26 +5072,26 @@ msgid ""
msgstr ""
#. type: =item
-#: dh_installinit:97
+#: dh_installinit:102
msgid "B<-R>, B<--restart-after-upgrade>"
msgstr ""
#. type: textblock
-#: dh_installinit:99
+#: dh_installinit:104
msgid ""
"Do not stop the init script until after the package upgrade has been "
"completed. This is the default behaviour in compat 10."
msgstr ""
#. type: textblock
-#: dh_installinit:102
+#: dh_installinit:107
msgid ""
"In early compat levels, the default was to stop the script in the F<prerm>, "
"and starts it again in the F<postinst>."
msgstr ""
#. type: textblock
-#: dh_installinit:105 dh_systemd_start:45
+#: dh_installinit:110 dh_systemd_start:45
msgid ""
"This can be useful for daemons that should not have a possibly long downtime "
"during upgrade. But you should make sure that the daemon will not get "
@@ -4763,12 +5100,12 @@ msgid ""
msgstr ""
#. type: =item
-#: dh_installinit:110 dh_systemd_start:50
+#: dh_installinit:115 dh_systemd_start:50
msgid "B<--no-restart-after-upgrade>"
msgstr ""
#. type: textblock
-#: dh_installinit:112 dh_systemd_start:52
+#: dh_installinit:117 dh_systemd_start:52
msgid ""
"Undo a previous B<--restart-after-upgrade> (or the default of compat 10). "
"If no other options are given, this will cause the service to be stopped in "
@@ -4776,19 +5113,19 @@ msgid ""
msgstr ""
#. type: =item
-#: dh_installinit:117 dh_systemd_start:57
+#: dh_installinit:122 dh_systemd_start:57
msgid "B<-r>, B<--no-stop-on-upgrade>, B<--no-restart-on-upgrade>"
msgstr ""
#. type: textblock
-#: dh_installinit:119
+#: dh_installinit:124
msgid ""
"Do not stop init script on upgrade. This has the side-effect of not "
"restarting the service as a part of the upgrade."
msgstr ""
#. type: textblock
-#: dh_installinit:122
+#: dh_installinit:127
msgid ""
"If you want to restart the service with minimal downtime, please use "
"B<--restart-after-upgrade> (default in compat 10 or later). If you want the "
@@ -4797,7 +5134,7 @@ msgid ""
msgstr ""
#. type: textblock
-#: dh_installinit:127
+#: dh_installinit:132
msgid ""
"Note that the B<--no-restart-on-upgrade> alias is deprecated and will be "
"removed in compat 12. This is to avoid confusion with the "
@@ -4806,24 +5143,53 @@ msgid ""
msgstr ""
#. type: =item
-#: dh_installinit:132 dh_systemd_start:61
+#: dh_installinit:137 dh_systemd_start:61
msgid "B<--no-start>"
msgstr ""
#. type: textblock
-#: dh_installinit:134
+#: dh_installinit:139
msgid ""
"Do not start the init script on install or upgrade, or stop it on removal. "
"Only call B<update-rc.d>. Useful for rcS scripts."
msgstr ""
#. type: =item
-#: dh_installinit:137
+#: dh_installinit:142 dh_systemd_enable:87
+msgid "B<--no-enable>"
+msgstr ""
+
+#. type: textblock
+#: dh_installinit:144
+msgid ""
+"Disable the init script on purge, but do not enable them on install. This "
+"implies a versioned dependency on B<< init-system-helpers (E<gt>= 1.51) >> "
+"as it is the first (functional) version that supports B<< update-rc.d "
+"E<lt>scriptE<gt> defaults-disabled >>."
+msgstr ""
+
+#. type: textblock
+#: dh_installinit:149
+msgid ""
+"B<Note> that this option does not affect whether the services are started. "
+"Please remember to also use B<--no-start> if the service should not be "
+"started."
+msgstr ""
+
+#. type: textblock
+#: dh_installinit:153
+msgid ""
+"Cannot be combined with B<-u>I<params>, B<--update-rcd-params=>I<params>, or "
+"B<--> I<params>."
+msgstr ""
+
+#. type: =item
+#: dh_installinit:156
msgid "B<-d>, B<--remove-d>"
msgstr ""
#. type: textblock
-#: dh_installinit:139
+#: dh_installinit:158
msgid ""
"Remove trailing B<d> from the name of the package, and use the result for "
"the filename the upstart job file is installed as in F<etc/init/> , and for "
@@ -4834,19 +5200,25 @@ msgid ""
msgstr ""
#. type: =item
-#: dh_installinit:146
+#: dh_installinit:165
msgid "B<-u>I<params> B<--update-rcd-params=>I<params>"
msgstr ""
#. type: textblock
-#: dh_installinit:150
+#: dh_installinit:169
msgid ""
-"Pass I<params> to L<update-rc.d(8)>. If not specified, B<defaults> will be "
-"passed to L<update-rc.d(8)>."
+"Pass I<params> to L<update-rc.d(8)>. If not specified, B<defaults> (or "
+"B<defaults-disabled> with B<--no-enable>) will be passed to "
+"L<update-rc.d(8)>."
msgstr ""
#. type: textblock
-#: dh_installinit:155
+#: dh_installinit:173
+msgid "Cannot be combined with B<--no-enable>."
+msgstr ""
+
+#. type: textblock
+#: dh_installinit:177
msgid ""
"Install the init script (and default file) as well as upstart job file using "
"the filename I<name> instead of the default filename, which is the package "
@@ -4857,12 +5229,12 @@ msgid ""
msgstr ""
#. type: =item
-#: dh_installinit:163
+#: dh_installinit:185
msgid "B<--init-script=>I<scriptname>"
msgstr ""
#. type: textblock
-#: dh_installinit:165
+#: dh_installinit:187
msgid ""
"Use I<scriptname> as the filename the init script is installed as in "
"F<etc/init.d/> (and also use it as the filename for the defaults file, if it "
@@ -4873,19 +5245,19 @@ msgid ""
msgstr ""
#. type: textblock
-#: dh_installinit:172
+#: dh_installinit:194
msgid ""
"This parameter is deprecated, use the B<--name> parameter instead. This "
"parameter is incompatible with the use of upstart jobs."
msgstr ""
#. type: =item
-#: dh_installinit:175
+#: dh_installinit:197
msgid "B<--error-handler=>I<function>"
msgstr ""
#. type: textblock
-#: dh_installinit:177
+#: dh_installinit:199
msgid ""
"Call the named shell I<function> if running the init script fails. The "
"function should be provided in the F<prerm> and F<postinst> scripts, before "
@@ -4893,16 +5265,72 @@ msgid ""
msgstr ""
#. type: textblock
-#: dh_installinit:380
+#: dh_installinit:408
+msgid "L<debhelper(7)>, L<dh_installsystemd(1)>"
+msgstr ""
+
+#. type: textblock
+#: dh_installinit:416
msgid "Steve Langasek <steve.langasek@canonical.com>"
msgstr ""
#. type: textblock
-#: dh_installinit:382
+#: dh_installinit:418
msgid "Michael Stapelberg <stapelberg@debian.org>"
msgstr ""
#. type: textblock
+#: dh_installinitramfs:5
+msgid "dh_installinitramfs - install initramfs hooks and setup maintscripts"
+msgstr ""
+
+#. type: textblock
+#: dh_installinitramfs:17
+msgid "B<dh_installinitramfs> [S<B<debhelper options>>] [B<-n>]"
+msgstr ""
+
+#. type: textblock
+#: dh_installinitramfs:21
+msgid ""
+"B<dh_installinitramfs> is a debhelper program that is responsible for "
+"installing Debian package provided initramfs hooks."
+msgstr ""
+
+#. type: textblock
+#: dh_installinitramfs:24
+msgid ""
+"If B<dh_installinitramfs> installs or (in compat 12 or later) detects one or "
+"more initramfs hooks in the package, then it also automatically generates "
+"the F<postinst> and F<postrm> commands needed to interface with the Debian "
+"initramfs system. These commands are inserted into the maintainer scripts "
+"by L<dh_installdeb(1)>."
+msgstr ""
+
+#. type: =item
+#: dh_installinitramfs:34
+msgid "debian/I<package>.initramfs-hook"
+msgstr ""
+
+#. type: textblock
+#: dh_installinitramfs:36
+msgid ""
+"Assumed to be an initramfs hook that will be installed into F<< "
+"usr/share/initramfs-tools/hooks/I<package> >> in the package build "
+"directory. See B<HOOK SCRIPTS> in L<initramfs-tools(8)> for more information "
+"about initramfs hooks."
+msgstr ""
+
+#. type: textblock
+#: dh_installinitramfs:49 dh_installmenu:50
+msgid "Do not modify F<postinst>/F<postrm> scripts."
+msgstr ""
+
+#. type: textblock
+#: dh_installinitramfs:88
+msgid "L<debhelper(7)> L<update-initramfs(8)> L<initramfs-tools(8)>"
+msgstr ""
+
+#. type: textblock
#: dh_installlogcheck:5
msgid "dh_installlogcheck - install logcheck rulefiles into etc/logcheck/"
msgstr ""
@@ -5091,55 +5519,46 @@ msgid ""
msgstr ""
#. type: =item
-#: dh_installman:73
+#: dh_installman:77
msgid "debian/I<package>.manpages"
msgstr ""
#. type: textblock
-#: dh_installman:75
+#: dh_installman:79
msgid "Lists man pages to be installed."
msgstr ""
#. type: =item
-#: dh_installman:88
+#: dh_installman:92
msgid "B<--language=>I<ll>"
msgstr ""
#. type: textblock
-#: dh_installman:90
+#: dh_installman:94
msgid ""
"Use this to specify that the man pages being acted on are written in the "
"specified language."
msgstr ""
-#. type: textblock
-#: dh_installman:98
-msgid ""
-"Note that this is not the same as the B<--sourcedirectory> option used by "
-"the B<dh_auto_>I<*> commands. You rarely need to use this option, since "
-"B<dh_installman> automatically looks for files in F<debian/tmp> in debhelper "
-"compatibility level 11 and above."
-msgstr ""
-
#. type: =item
-#: dh_installman:103
+#: dh_installman:107
msgid "I<manpage> ..."
msgstr ""
#. type: textblock
-#: dh_installman:105
+#: dh_installman:109
msgid ""
"Install these man pages into the first package acted on. (Or in all packages "
"if B<-A> is specified)."
msgstr ""
#. type: textblock
-#: dh_installman:112
+#: dh_installman:116
msgid "An example F<debian/manpages> file could look like this:"
msgstr ""
#. type: verbatim
-#: dh_installman:114
+#: dh_installman:118
#, no-wrap
msgid ""
" doc/man/foo.1\n"
@@ -5155,7 +5574,7 @@ msgid ""
msgstr ""
#. type: textblock
-#: dh_installman:126
+#: dh_installman:130
msgid ""
"An older version of this program, L<dh_installmanpages(1)>, is still used by "
"some packages, and so is still included in debhelper. It is, however, "
@@ -5299,11 +5718,6 @@ msgid ""
msgstr ""
#. type: textblock
-#: dh_installmenu:50
-msgid "Do not modify F<postinst>/F<postrm> scripts."
-msgstr ""
-
-#. type: textblock
#: dh_installmenu:90
msgid "L<debhelper(7)> L<update-menus(1)> L<menufile(5)>"
msgstr ""
@@ -5572,13 +5986,20 @@ msgstr ""
msgid "Do not modify F<postinst>/F<prerm> scripts. Turns this command into a no-op."
msgstr ""
+#. type: textblock
+#: dh_installwm:54
+msgid ""
+"Modify scripts for window managers specified by command line parameters in "
+"ALL packages acted on, not just the first."
+msgstr ""
+
#. type: =item
-#: dh_installwm:52
+#: dh_installwm:57
msgid "I<wm> ..."
msgstr ""
#. type: textblock
-#: dh_installwm:54
+#: dh_installwm:59
msgid "Window manager programs to register."
msgstr ""
@@ -5869,6 +6290,11 @@ msgid ""
msgstr ""
#. type: textblock
+#: dh_listpackages:26
+msgid "Packages are listed in the order they appear in F<debian/control>."
+msgstr ""
+
+#. type: textblock
#: dh_makeshlibs:5
msgid "dh_makeshlibs - automatically create shlibs file and call dpkg-gensymbols"
msgstr ""
@@ -5961,32 +6387,125 @@ msgstr ""
#. type: textblock
#: dh_makeshlibs:67
msgid ""
-"By default, the shlibs file generated by this program does not make packages "
-"depend on any particular version of the package containing the shared "
-"library. It may be necessary for you to add some version dependency "
-"information to the shlibs file. If B<-V> is specified with no dependency "
-"information, the current upstream version of the package is plugged into a "
-"dependency that looks like \"I<packagename> B<(E<gt>>= "
-"I<packageversion>B<)>\". Note that in debhelper compatibility levels before "
-"v4, the Debian part of the package version number is also included. If B<-V> "
-"is specified with parameters, the parameters can be used to specify the "
-"exact dependency information needed (be sure to include the package name)."
+"If a shlibs file is generated by this program, this option controls what "
+"version will be used in the dependency relation."
+msgstr ""
+
+#. type: textblock
+#: dh_makeshlibs:70
+msgid ""
+"In compat 12 and later, B<dh_makeshlibs> defaults to B<-VUpstream-Version>. "
+"In compat 11 and earlier the default behaved like B<-VNone>.."
+msgstr ""
+
+#. type: textblock
+#: dh_makeshlibs:73
+msgid "The B<dh_makeshlibs> tool can generate dependencies in three variants:"
+msgstr ""
+
+#. type: =item
+#: dh_makeshlibs:77
+msgid "B<-VUpstream-Version>"
+msgstr ""
+
+#. type: textblock
+#: dh_makeshlibs:79
+msgid ""
+"The dependency will be \"I<packagename> B<(E<gt>>= I<packageversion>B<)>\". "
+"Note that I<Upstream-Version> is case-sensitive and must be written exactly "
+"as shown here."
msgstr ""
#. type: textblock
-#: dh_makeshlibs:78
+#: dh_makeshlibs:83
msgid ""
-"Beware of using B<-V> without any parameters; this is a conservative setting "
-"that always ensures that other packages' shared library dependencies are at "
-"least as tight as they need to be (unless your library is prone to changing "
-"ABI without updating the upstream version number), so that if the maintainer "
-"screws up then they won't break. The flip side is that packages might end up "
-"with dependencies that are too tight and so find it harder to be upgraded."
+"This is a conservative setting that always ensures that other packages' "
+"shared library dependencies are at least as tight as they need to be (unless "
+"the library is prone to changing ABI without updating the upstream version "
+"number)."
msgstr ""
#. type: textblock
#: dh_makeshlibs:88
msgid ""
+"The flip side is that packages might end up with dependencies that are too "
+"tight in some cases (note a symbols file can mitigate this issue). This is "
+"often of minor temporary inconvenience and usually a lot better than the "
+"fall out caused by forgetting to bump the dependency information."
+msgstr ""
+
+#. type: textblock
+#: dh_makeshlibs:94
+msgid ""
+"This explicit form was added in debhelper/11.3. In previous versions, a "
+"B<-V> without any dependency information was used instead (and that form "
+"still works)"
+msgstr ""
+
+#. type: =item
+#: dh_makeshlibs:98
+msgid "B<-VNone>"
+msgstr ""
+
+#. type: textblock
+#: dh_makeshlibs:100
+msgid ""
+"The dependency will be \"I<packagename>\". Note that I<None> is "
+"case-sensitive and must be written exactly as shown here."
+msgstr ""
+
+#. type: textblock
+#: dh_makeshlibs:103
+msgid ""
+"This form is generally unsafe with the only exception being if upstream does "
+"not extend the ABI in any way. However, most upstreams improve their "
+"interfaces over time and packagers are recommended to use "
+"B<-VUpstream-Version> (or one of the other forms of B<-V>I<dependencies>)."
+msgstr ""
+
+#. type: textblock
+#: dh_makeshlibs:108
+msgid ""
+"Alternatively, this may be sufficient if (and only if) the package uses "
+"symbol versioning (see L<dpkg-gensymbols(1)>) and does I<not> build any udeb "
+"packages. Note that symbols are not supported for udeb packages, which "
+"solely relies on shlibs for dependency handling."
+msgstr ""
+
+#. type: =item
+#: dh_makeshlibs:113
+msgid "B<-V>I<package-relation>"
+msgstr ""
+
+#. type: textblock
+#: dh_makeshlibs:115
+msgid ""
+"In this case, the value passed to B<-V> will be used as a dependency "
+"relation. The I<package-relation> should generally be of the form "
+"\"I<some-package-name> B<(E<gt>>= I<some-package-version>B<)>\". Remember "
+"to include the package name."
+msgstr ""
+
+#. type: textblock
+#: dh_makeshlibs:120
+msgid ""
+"Note that debhelper will use the value I<as it is> with no sanity checking "
+"or modification. In I<rare special> cases, this is needed to generate a "
+"dependency on a different package than the one containing the library."
+msgstr ""
+
+#. type: textblock
+#: dh_makeshlibs:127
+msgid ""
+"When choosing a value for this option, please keep mind that if the package "
+"provides a symbols file, then that it generally preferred over the shlibs "
+"file for regular .deb packages. See L<dpkg-shlibdeps(1)> for more "
+"information on this topic."
+msgstr ""
+
+#. type: textblock
+#: dh_makeshlibs:134
+msgid ""
"Do not add the \"ldconfig\" trigger even if it seems like the package might "
"need it. The option is called B<--no-scripts> for historical reasons as "
"B<dh_makeshlibs> would previously generate maintainer scripts that called "
@@ -5994,19 +6513,19 @@ msgid ""
msgstr ""
#. type: textblock
-#: dh_makeshlibs:95
+#: dh_makeshlibs:141
msgid ""
"Exclude files that contain I<item> anywhere in their filename or directory "
"from being treated as shared libraries."
msgstr ""
#. type: =item
-#: dh_makeshlibs:98
+#: dh_makeshlibs:144
msgid "B<--add-udeb=>I<udeb>"
msgstr ""
#. type: textblock
-#: dh_makeshlibs:100
+#: dh_makeshlibs:146
msgid ""
"Create an additional line for udebs in the shlibs file and use I<udeb> as "
"the package name for udebs to depend on instead of the regular library "
@@ -6014,17 +6533,17 @@ msgid ""
msgstr ""
#. type: textblock
-#: dh_makeshlibs:105
+#: dh_makeshlibs:151
msgid "Pass I<params> to L<dpkg-gensymbols(1)>."
msgstr ""
#. type: =item
-#: dh_makeshlibs:113
-msgid "B<dh_makeshlibs>"
+#: dh_makeshlibs:159
+msgid "B<dh_makeshlibs -VNone>"
msgstr ""
#. type: verbatim
-#: dh_makeshlibs:115
+#: dh_makeshlibs:161
#, no-wrap
msgid ""
"Assuming this is a package named F<libfoobar1>, generates a shlibs file "
@@ -6035,12 +6554,12 @@ msgid ""
msgstr ""
#. type: =item
-#: dh_makeshlibs:119
-msgid "B<dh_makeshlibs -V>"
+#: dh_makeshlibs:165
+msgid "B<dh_makeshlibs -VUpstream-Version>"
msgstr ""
#. type: verbatim
-#: dh_makeshlibs:121
+#: dh_makeshlibs:167
#, no-wrap
msgid ""
"Assuming the current version of the package is 1.1-3, generates a shlibs\n"
@@ -6050,12 +6569,12 @@ msgid ""
msgstr ""
#. type: =item
-#: dh_makeshlibs:125
+#: dh_makeshlibs:171
msgid "B<dh_makeshlibs -V 'libfoobar1 (E<gt>= 1.0)'>"
msgstr ""
#. type: verbatim
-#: dh_makeshlibs:127
+#: dh_makeshlibs:173
#, no-wrap
msgid ""
"Generates a shlibs file that looks something like:\n"
@@ -6477,7 +6996,7 @@ msgid ""
msgstr ""
#. type: textblock
-#: dh_shlibdeps:203
+#: dh_shlibdeps:201
msgid "L<debhelper(7)>, L<dpkg-shlibdeps(1)>"
msgstr ""
@@ -6521,14 +7040,6 @@ msgid ""
"stripping binary modules such as F<.o> files."
msgstr ""
-#. type: textblock
-#: dh_strip:44
-msgid ""
-"Exclude files that contain I<item> anywhere in their filename from being "
-"stripped. You may use this option multiple times to build up a list of "
-"things to exclude."
-msgstr ""
-
#. type: =item
#: dh_strip:48
msgid "B<--dbg-package=>I<package>"
@@ -6733,56 +7244,69 @@ msgstr ""
#. type: textblock
#: dh_testroot:15
msgid ""
-"B<dh_testroot> is used to determine if the package has access to at least "
-"the level of root access that it declared it needed via the "
-"Rules-Requires-Root (R³) field."
+"B<dh_testroot> is used to determine if the target is being run with "
+"sufficient access to (fake)root."
msgstr ""
#. type: textblock
-#: dh_testroot:19
+#: dh_testroot:18
msgid ""
-"The following is how B<dh_testroot> behaves based on the effective value of "
-"the R³ field:"
-msgstr ""
-
-#. type: =item
-#: dh_testroot:24
-msgid "\"binary-targets\""
+"The definition of sufficient access depends on whether the builder (the tool "
+"invoking the F<debian/rules> target) supports the I<Rules-Requires-Root> "
+"(R³) field. If the builder supports R³, then it will set the environment "
+"variable I<DEB_RULES_REQUIRES_ROOT> and B<dh_testroot> will validate that "
+"the builder followed the minimum requirements for the given value of "
+"I<DEB_RULES_REQUIRES_ROOT>."
msgstr ""
#. type: textblock
-#: dh_testroot:26
-msgid "B<dh_testroot> asserts that it is run as root or under L<fakeroot(1)>."
+#: dh_testroot:25
+msgid ""
+"If the builder does not support I<Rules-Requires-Root>, then it will not set "
+"the I<DEB_RULES_REQUIRES_ROOT> environment variable. This will in turn make "
+"B<dh_testroot> (and the rest of debhelper) fall back to assuming that "
+"(fake)root is implied."
msgstr ""
-#. type: =item
-#: dh_testroot:28
-msgid "\"no\""
+#. type: textblock
+#: dh_testroot:30
+msgid ""
+"The following is a summary of how B<dh_testroot> behaves based on the "
+"I<DEB_RULES_REQUIRES_ROOT> environment variable (leading and trailing "
+"whitespace in the variable is ignored)."
msgstr ""
#. type: textblock
-#: dh_testroot:30
-msgid "B<dh_testroot> returns successfully."
+#: dh_testroot:38
+msgid ""
+"If unset, or set to C<binary-targets>, then B<dh_testroot> asserts that it "
+"is run as root or under L<fakeroot(1)>."
msgstr ""
-#. type: =item
-#: dh_testroot:32
-msgid "Any other value than the above"
+#. type: textblock
+#: dh_testroot:43
+msgid ""
+"If set to C<no>, then B<dh_testroot> returns successfully (without "
+"performing any additional checks)."
msgstr ""
#. type: textblock
-#: dh_testroot:34
+#: dh_testroot:48
msgid ""
-"B<dh_testroot> asserts that it is either run as root (or under "
-"L<fakeroot(1)>) or the builder has provided the B<DPKG_GAIN_ROOT_CMD> "
-"environment variable (e.g. via dpkg-buildpackage -r)."
+"If set to any other value than the above, then B<dh_testroot> asserts that "
+"it is either run as root (or under L<fakeroot(1)>) or the builder has "
+"provided the B<DEB_GAIN_ROOT_CMD> environment variable (e.g. via "
+"dpkg-buildpackage -r)."
msgstr ""
#. type: textblock
-#: dh_testroot:40
+#: dh_testroot:55
msgid ""
-"For backwards compatibility, B<dh_testroot> will consider the absence of the "
-"R³ field as if the R³ field was set to \"binary-targets\"."
+"Please note that B<dh_testroot> does I<not> read the I<Rules-Requires-Root> "
+"field. Which implies that B<dh_testroot> may produce incorrect result if "
+"the builder lies in I<DEB_RULES_REQUIRES_ROOT>. On the flip side, it also "
+"enables things like testing for what will happen when "
+"I<DEB_RULES_REQUIRES_ROOT> is set to a given value."
msgstr ""
#. type: textblock
@@ -6817,30 +7341,36 @@ msgstr ""
#. type: textblock
#: dh_usrlocal:36
msgid ""
-"When the I<Rules-Requires-Root> field is not (effectively) "
-"I<binary-targets>, the directories in F</usr/local> will have ownership "
-"root:staff and the mode will be 02775. These values have been chosen to "
-"comply with the recommendations of the Debian policy for directories in "
-"F</usr/local>."
+"When the I<DEB_RULES_REQUIRES_ROOT> environment variable is not "
+"(effectively) I<binary-targets>, the directories in F</usr/local> will be "
+"handled as if they were owned by root:root (see below)."
+msgstr ""
+
+#. type: textblock
+#: dh_usrlocal:40
+msgid ""
+"When the I<DEB_RULES_REQUIRES_ROOT> environment variable has an effective "
+"value of I<binary-targets>, the owners, groups and permissions will be "
+"preserved with the sole exception where the directory is owned by root:root."
msgstr ""
#. type: textblock
-#: dh_usrlocal:42
+#: dh_usrlocal:44
msgid ""
-"When I<Rules-Requires-Root> has an effective value of I<binary-targets>, the "
-"owners, groups and permissions will be preserved with one exception. If the "
-"directory is owned by root:root, then ownership will be reset to root:staff "
-"and mode will be reset to 02775. This is useful, since that is the group and "
-"mode policy recommends for directories in F</usr/local>."
+"If a directory is owned by root:root, then ownership will be determined at "
+"install time. The ownership and permission bits will either be root:root "
+"mode 0755 or root:staff mode 02775. The actual choice depends on whether "
+"the system has F</etc/staff-group-for-usr-local> (as documented in the "
+"Debian Policy Manual §9.1.2 since version 4.1.4)"
msgstr ""
#. type: textblock
-#: dh_usrlocal:67
+#: dh_usrlocal:68
msgid "Debian policy, version 2.2"
msgstr ""
#. type: textblock
-#: dh_usrlocal:140
+#: dh_usrlocal:144
msgid "Andrew Stribblehill <ads@debian.org>"
msgstr ""
@@ -6973,11 +7503,6 @@ msgid ""
"lib/systemd/system/I<package>@.timer) in the package build directory."
msgstr ""
-#. type: =item
-#: dh_systemd_enable:87
-msgid "B<--no-enable>"
-msgstr ""
-
#. type: textblock
#: dh_systemd_enable:89
msgid "Disable the service(s) on purge, but do not enable them on install."
diff --git a/man/po4a/po/es.po b/man/po4a/po/es.po
index f90198cc..d13e16c2 100644
--- a/man/po4a/po/es.po
+++ b/man/po4a/po/es.po
@@ -31,7 +31,7 @@ msgid ""
msgstr ""
"Project-Id-Version: debhelper 9.20120609\n"
"Report-Msgid-Bugs-To: \n"
-"POT-Creation-Date: 2017-11-11 13:57+0000\n"
+"POT-Creation-Date: 2018-08-08 14:37+0200\n"
"PO-Revision-Date: 2012-08-20 11:17+0200\n"
"Last-Translator: Omar Campagne <ocampagne@gmail.com>\n"
"Language-Team: Debian l10n Spanish <debian-l10n-spanish@lists.debian.org>\n"
@@ -46,17 +46,18 @@ msgstr ""
#. type: =head1
#: debhelper.pod:3 debhelper-obsolete-compat.pod:1 dh:3 dh_auto_build:3
#: dh_auto_clean:3 dh_auto_configure:3 dh_auto_install:3 dh_auto_test:3
-#: dh_bugfiles:3 dh_builddeb:5 dh_clean:3 dh_compress:3 dh_fixperms:3
+#: dh_bugfiles:3 dh_builddeb:5 dh_clean:3 dh_compress:3 dh_dwz:3 dh_fixperms:3
#: dh_gconf:3 dh_gencontrol:3 dh_icons:3 dh_install:3 dh_installcatalogs:3
#: dh_installchangelogs:3 dh_installcron:3 dh_installdeb:3 dh_installdebconf:3
#: dh_installdirs:3 dh_installdocs:5 dh_installemacsen:3 dh_installexamples:5
-#: dh_installifupdown:3 dh_installinfo:3 dh_installinit:3 dh_installlogcheck:3
-#: dh_installlogrotate:3 dh_installman:3 dh_installmanpages:3 dh_installmenu:3
-#: dh_installmime:3 dh_installmodules:3 dh_installpam:3 dh_installppp:3
-#: dh_installudev:3 dh_installwm:3 dh_installxfonts:3 dh_link:3 dh_lintian:3
-#: dh_listpackages:3 dh_makeshlibs:3 dh_md5sums:3 dh_movefiles:3 dh_perl:3
-#: dh_prep:3 dh_shlibdeps:3 dh_strip:3 dh_testdir:3 dh_testroot:5 dh_usrlocal:5
-#: dh_systemd_enable:3 dh_systemd_start:3
+#: dh_installifupdown:3 dh_installinfo:3 dh_installinit:3 dh_installinitramfs:3
+#: dh_installlogcheck:3 dh_installlogrotate:3 dh_installman:3
+#: dh_installmanpages:3 dh_installmenu:3 dh_installmime:3 dh_installmodules:3
+#: dh_installpam:3 dh_installppp:3 dh_installudev:3 dh_installwm:3
+#: dh_installxfonts:3 dh_link:3 dh_lintian:3 dh_listpackages:3 dh_makeshlibs:3
+#: dh_md5sums:3 dh_movefiles:3 dh_perl:3 dh_prep:3 dh_shlibdeps:3 dh_strip:3
+#: dh_testdir:3 dh_testroot:5 dh_usrlocal:5 dh_systemd_enable:3
+#: dh_systemd_start:3
msgid "NAME"
msgstr "NOMBRE"
@@ -68,21 +69,21 @@ msgstr "debhelper - El conjunto de herramientas debhelper"
# type: =head1
#. type: =head1
-#: debhelper.pod:7 debhelper-obsolete-compat.pod:5 dh:15 dh_auto_build:16
+#: debhelper.pod:7 debhelper-obsolete-compat.pod:5 dh:16 dh_auto_build:16
#: dh_auto_clean:16 dh_auto_configure:16 dh_auto_install:18 dh_auto_test:16
-#: dh_bugfiles:15 dh_builddeb:17 dh_clean:15 dh_compress:17 dh_fixperms:16
-#: dh_gconf:15 dh_gencontrol:16 dh_icons:16 dh_install:15 dh_installcatalogs:17
-#: dh_installchangelogs:15 dh_installcron:15 dh_installdeb:15
-#: dh_installdebconf:15 dh_installdirs:15 dh_installdocs:17
+#: dh_bugfiles:15 dh_builddeb:17 dh_clean:15 dh_compress:17 dh_dwz:16
+#: dh_fixperms:16 dh_gconf:15 dh_gencontrol:16 dh_icons:16 dh_install:15
+#: dh_installcatalogs:17 dh_installchangelogs:15 dh_installcron:15
+#: dh_installdeb:15 dh_installdebconf:15 dh_installdirs:15 dh_installdocs:17
#: dh_installemacsen:15 dh_installexamples:17 dh_installifupdown:15
-#: dh_installinfo:15 dh_installinit:16 dh_installlogcheck:15
-#: dh_installlogrotate:15 dh_installman:16 dh_installmanpages:16
-#: dh_installmenu:15 dh_installmime:15 dh_installmodules:16 dh_installpam:15
-#: dh_installppp:15 dh_installudev:15 dh_installwm:15 dh_installxfonts:15
-#: dh_link:16 dh_lintian:15 dh_listpackages:15 dh_makeshlibs:15 dh_md5sums:16
-#: dh_movefiles:15 dh_perl:17 dh_prep:15 dh_shlibdeps:17 dh_strip:16
-#: dh_testdir:15 dh_testroot:9 dh_usrlocal:19 dh_systemd_enable:16
-#: dh_systemd_start:17
+#: dh_installinfo:15 dh_installinit:16 dh_installinitramfs:15
+#: dh_installlogcheck:15 dh_installlogrotate:15 dh_installman:16
+#: dh_installmanpages:16 dh_installmenu:15 dh_installmime:15
+#: dh_installmodules:16 dh_installpam:15 dh_installppp:15 dh_installudev:15
+#: dh_installwm:15 dh_installxfonts:15 dh_link:16 dh_lintian:15
+#: dh_listpackages:15 dh_makeshlibs:15 dh_md5sums:16 dh_movefiles:15 dh_perl:17
+#: dh_prep:15 dh_shlibdeps:17 dh_strip:16 dh_testdir:15 dh_testroot:9
+#: dh_usrlocal:19 dh_systemd_enable:16 dh_systemd_start:17
msgid "SYNOPSIS"
msgstr "SINOPSIS"
@@ -102,21 +103,21 @@ msgstr ""
# type: =head1
#. type: =head1
-#: debhelper.pod:11 dh:19 dh_auto_build:20 dh_auto_clean:20
+#: debhelper.pod:11 dh:20 dh_auto_build:20 dh_auto_clean:20
#: dh_auto_configure:20 dh_auto_install:22 dh_auto_test:20 dh_bugfiles:19
-#: dh_builddeb:21 dh_clean:19 dh_compress:21 dh_fixperms:20 dh_gconf:19
-#: dh_gencontrol:20 dh_icons:20 dh_install:19 dh_installcatalogs:21
+#: dh_builddeb:21 dh_clean:19 dh_compress:21 dh_dwz:20 dh_fixperms:20
+#: dh_gconf:19 dh_gencontrol:20 dh_icons:20 dh_install:19 dh_installcatalogs:21
#: dh_installchangelogs:19 dh_installcron:19 dh_installdeb:19
#: dh_installdebconf:19 dh_installdirs:19 dh_installdocs:21
#: dh_installemacsen:19 dh_installexamples:21 dh_installifupdown:19
-#: dh_installinfo:19 dh_installinit:20 dh_installlogcheck:19
-#: dh_installlogrotate:19 dh_installman:20 dh_installmanpages:20
-#: dh_installmenu:19 dh_installmime:19 dh_installmodules:20 dh_installpam:19
-#: dh_installppp:19 dh_installudev:19 dh_installwm:19 dh_installxfonts:19
-#: dh_link:20 dh_lintian:19 dh_listpackages:19 dh_makeshlibs:19 dh_md5sums:20
-#: dh_movefiles:19 dh_perl:21 dh_prep:19 dh_shlibdeps:21 dh_strip:20
-#: dh_testdir:19 dh_testroot:13 dh_usrlocal:23 dh_systemd_enable:20
-#: dh_systemd_start:21
+#: dh_installinfo:19 dh_installinit:20 dh_installinitramfs:19
+#: dh_installlogcheck:19 dh_installlogrotate:19 dh_installman:20
+#: dh_installmanpages:20 dh_installmenu:19 dh_installmime:19
+#: dh_installmodules:20 dh_installpam:19 dh_installppp:19 dh_installudev:19
+#: dh_installwm:19 dh_installxfonts:19 dh_link:20 dh_lintian:19
+#: dh_listpackages:19 dh_makeshlibs:19 dh_md5sums:20 dh_movefiles:19 dh_perl:21
+#: dh_prep:19 dh_shlibdeps:21 dh_strip:20 dh_testdir:19 dh_testroot:13
+#: dh_usrlocal:23 dh_systemd_enable:20 dh_systemd_start:21
msgid "DESCRIPTION"
msgstr "DESCRIPCIÓN"
@@ -283,20 +284,20 @@ msgstr ""
"programas de debhelper utilizan parejas de ficheros y destinos o algún "
"formato un poco más complicado."
-# type: textblock
#. type: textblock
#: debhelper.pod:79
msgid ""
"Note for the first (or only) binary package listed in F<debian/control>, "
-"debhelper will use F<debian/foo> when there's no F<debian/package.foo> file."
+"debhelper will use F<debian/foo> when there's no F<debian/I<package>.foo> "
+"file. However, it is often a good idea to keep the F<I<package>.> prefix as "
+"it is more explicit. The primary exception to this are files that debhelper "
+"by default installs in every binary package when it does not have a package "
+"prefix (such as F<debian/copyright> or F<debian/changelog>)."
msgstr ""
-"Tenga en cuenta que si un paquete es el primero (o el único) paquete binario "
-"listado en F<debian/control>, debhelper utiliza F<debian/tal> si no existe "
-"un fichero F<debian/paquete.tal>."
# type: textblock
#. type: textblock
-#: debhelper.pod:83
+#: debhelper.pod:87
msgid ""
"In some rare cases, you may want to have different versions of these files "
"for different architectures or OSes. If files named debian/I<package>.foo."
@@ -314,7 +315,7 @@ msgstr ""
# type: textblock
#. type: textblock
-#: debhelper.pod:90
+#: debhelper.pod:94
msgid ""
"Mostly, these config files are used to specify lists of various types of "
"files. Documentation or example files to install, files to move, and so on. "
@@ -331,29 +332,81 @@ msgstr ""
"en estos ficheros; se ignoran las líneas que empiezan con B<#>."
#. type: textblock
-#: debhelper.pod:97
+#: debhelper.pod:101
msgid ""
"The syntax of these files is intentionally kept very simple to make them "
-"easy to read, understand, and modify. If you prefer power and complexity, "
-"you can make the file executable, and write a program that outputs whatever "
-"content is appropriate for a given situation. When you do so, the output is "
-"not further processed to expand wildcards or strip comments."
+"easy to read, understand, and modify."
+msgstr ""
+
+# type: textblock
+#. type: =head2
+#: debhelper.pod:104
+#, fuzzy
+#| msgid "Comments are ignored in debhelper config files."
+msgid "Executable debhelper config files"
+msgstr ""
+"Se ignoran los comentarios en los ficheros de configuración de debhelper."
+
+#. type: textblock
+#: debhelper.pod:106
+msgid ""
+"If you need additional flexibility, many of the debhelper tools (e.g. "
+"L<dh_install(1)>) support executing a config file as a script."
+msgstr ""
+
+#. type: textblock
+#: debhelper.pod:109
+msgid ""
+"To use this feature, simply mark the config file as executable (e.g. B<< "
+"chmod +x debian/I<package>.install >>) and the tool will attempt to execute "
+"it and use the output of the script. In many cases, you can use L<dh-"
+"exec(1)> as interpreter of the config file to retain most of the original "
+"syntax while getting the additional flexibility you need."
+msgstr ""
+
+#. type: textblock
+#: debhelper.pod:117
+msgid ""
+"When using executable debhelper config files, please be aware of the "
+"following:"
+msgstr ""
+
+#. type: =item
+#: debhelper.pod:122 debhelper.pod:127
+msgid "*"
+msgstr ""
+
+#. type: textblock
+#: debhelper.pod:124
+msgid ""
+"The executable config file B<must> exit with success (i.e. its return code "
+"should indicate success)."
+msgstr ""
+
+#. type: textblock
+#: debhelper.pod:129
+msgid ""
+"The output will be used exactly as it is. Notably, debhelper will I<not> "
+"expand wildcards or strip comments in the output."
+msgstr ""
+
+#. type: textblock
+#: debhelper.pod:134
+msgid ""
+"If you need the package to build on a file system where you cannot disable "
+"the executable bit, then you can use L<dh-exec(1)> and its B<strip-output> "
+"script."
msgstr ""
-"La sintaxis de estos ficheros es intencionadamente sencilla para facilitar "
-"la lectura, la comprensión y la modificación. Si prefiere potencia y "
-"complejidad, puede dar al fichero permisos de ejecución, y crear un programa "
-"que muestra un contenido adecuado para la situación dada. Si lo hace, la "
-"salida no se proceso para expandir comodines o eliminar comentarios."
# type: =head1
#. type: =head1
-#: debhelper.pod:103
+#: debhelper.pod:138
msgid "SHARED DEBHELPER OPTIONS"
msgstr "OPCIONES COMPARTIDAS DE DEBHELPER"
# type: textblock
#. type: textblock
-#: debhelper.pod:105
+#: debhelper.pod:140
msgid ""
"The following command line options are supported by all debhelper programs."
msgstr ""
@@ -362,13 +415,13 @@ msgstr ""
# type: =item
#. type: =item
-#: debhelper.pod:109
+#: debhelper.pod:144
msgid "B<-v>, B<--verbose>"
msgstr "B<-v>, B<--verbose>"
# type: textblock
#. type: textblock
-#: debhelper.pod:111
+#: debhelper.pod:146
msgid ""
"Verbose mode: show all commands that modify the package build directory."
msgstr ""
@@ -377,13 +430,13 @@ msgstr ""
# type: =item
#. type: =item
-#: debhelper.pod:113 dh:71
+#: debhelper.pod:148 dh:82
msgid "B<--no-act>"
msgstr "B<--no-act>"
# type: textblock
#. type: textblock
-#: debhelper.pod:115
+#: debhelper.pod:150
msgid ""
"Do not really do anything. If used with -v, the result is that the command "
"will output what it would have done."
@@ -393,13 +446,13 @@ msgstr ""
# type: =item
#. type: =item
-#: debhelper.pod:118
+#: debhelper.pod:153
msgid "B<-a>, B<--arch>"
msgstr "B<-a>, B<--arch>"
# type: textblock
#. type: textblock
-#: debhelper.pod:120
+#: debhelper.pod:155
#, fuzzy
#| msgid ""
#| "Act on architecture dependent packages that should be built for the build "
@@ -413,25 +466,25 @@ msgstr ""
# type: =item
#. type: =item
-#: debhelper.pod:123
+#: debhelper.pod:158
msgid "B<-i>, B<--indep>"
msgstr "B<-i>, B<--indep>"
# type: textblock
#. type: textblock
-#: debhelper.pod:125
+#: debhelper.pod:160
msgid "Act on all architecture independent packages."
msgstr "Actúa en todos los paquetes independientes de la arquitectura."
# type: =item
#. type: =item
-#: debhelper.pod:127
+#: debhelper.pod:162
msgid "B<-p>I<package>, B<--package=>I<package>"
msgstr "B<-p>I<paquete>, B<--package=>I<paquete>"
# type: textblock
#. type: textblock
-#: debhelper.pod:129
+#: debhelper.pod:164
msgid ""
"Act on the package named I<package>. This option may be specified multiple "
"times to make debhelper operate on a given set of packages."
@@ -442,24 +495,29 @@ msgstr ""
# type: =item
#. type: =item
-#: debhelper.pod:132
+#: debhelper.pod:167
msgid "B<-s>, B<--same-arch>"
msgstr "B<-s>, B<--same-arch>"
#. type: textblock
-#: debhelper.pod:134
+#: debhelper.pod:169
msgid "Deprecated alias of B<-a>."
msgstr ""
+#. type: textblock
+#: debhelper.pod:171 dh_install:77 dh_install:86
+msgid "This option is removed in compat 12."
+msgstr ""
+
# type: =item
#. type: =item
-#: debhelper.pod:136
+#: debhelper.pod:173
msgid "B<-N>I<package>, B<--no-package=>I<package>"
msgstr "B<-N>I<paquete>, B<--no-package=>I<paquete>"
# type: textblock
#. type: textblock
-#: debhelper.pod:138
+#: debhelper.pod:175
msgid ""
"Do not act on the specified package even if an B<-a>, B<-i>, or B<-p> option "
"lists the package as one that should be acted on."
@@ -469,12 +527,12 @@ msgstr ""
# type: =item
#. type: =item
-#: debhelper.pod:141
+#: debhelper.pod:178
msgid "B<--remaining-packages>"
msgstr "B<--remaining-packages>"
#. type: textblock
-#: debhelper.pod:143
+#: debhelper.pod:180
msgid ""
"Do not act on the packages which have already been acted on by this "
"debhelper command earlier (i.e. if the command is present in the package "
@@ -491,13 +549,13 @@ msgstr ""
# type: =item
#. type: =item
-#: debhelper.pod:149
+#: debhelper.pod:186
msgid "B<--ignore=>I<file>"
msgstr "B<--ignore=>I<fichero>"
# type: textblock
#. type: textblock
-#: debhelper.pod:151
+#: debhelper.pod:188
msgid ""
"Ignore the specified file. This can be used if F<debian/> contains a "
"debhelper config file that a debhelper command should not act on. Note that "
@@ -512,7 +570,7 @@ msgstr ""
# type: textblock
#. type: textblock
-#: debhelper.pod:156
+#: debhelper.pod:193
msgid ""
"For example, if upstream ships a F<debian/init> that you don't want "
"B<dh_installinit> to install, use B<--ignore=debian/init>"
@@ -522,13 +580,13 @@ msgstr ""
# type: =item
#. type: =item
-#: debhelper.pod:159
+#: debhelper.pod:196
msgid "B<-P>I<tmpdir>, B<--tmpdir=>I<tmpdir>"
msgstr "B<-P>I<directorio_temporal>, B<--tmpdir=>I<directorio_temporal>"
# type: textblock
#. type: textblock
-#: debhelper.pod:161
+#: debhelper.pod:198
msgid ""
"Use I<tmpdir> for package build directory. The default is debian/I<package>"
msgstr ""
@@ -537,13 +595,13 @@ msgstr ""
# type: =item
#. type: =item
-#: debhelper.pod:163
+#: debhelper.pod:200
msgid "B<--mainpackage=>I<package>"
msgstr "B<--mainpackage=>I<paquete>"
# type: textblock
#. type: textblock
-#: debhelper.pod:165
+#: debhelper.pod:202
msgid ""
"This little-used option changes the package which debhelper considers the "
"\"main package\", that is, the first one listed in F<debian/control>, and "
@@ -556,12 +614,12 @@ msgstr ""
"usuales F<debian/package.tal>."
#. type: =item
-#: debhelper.pod:170
+#: debhelper.pod:207
msgid "B<-O=>I<option>|I<bundle>"
msgstr "B<-O=>I<opción>|I<fichero>"
#. type: textblock
-#: debhelper.pod:172
+#: debhelper.pod:209
msgid ""
"This is used by L<dh(1)> when passing user-specified options to all the "
"commands it runs. If the command supports the specified option or option "
@@ -575,13 +633,13 @@ msgstr ""
# type: =head1
#. type: =head1
-#: debhelper.pod:179
+#: debhelper.pod:216
msgid "COMMON DEBHELPER OPTIONS"
msgstr "OPCIONES COMUNES DE DEBHELPER"
# type: textblock
#. type: textblock
-#: debhelper.pod:181
+#: debhelper.pod:218
msgid ""
"The following command line options are supported by some debhelper "
"programs. See the man page of each program for a complete explanation of "
@@ -593,50 +651,50 @@ msgstr ""
# type: =item
#. type: =item
-#: debhelper.pod:187
+#: debhelper.pod:224
msgid "B<-n>"
msgstr "B<-n>"
# type: textblock
#. type: textblock
-#: debhelper.pod:189
+#: debhelper.pod:226
msgid "Do not modify F<postinst>, F<postrm>, etc. scripts."
msgstr "No modifica los scripts F<postinst>, F<postrm>, etc."
# type: =item
#. type: =item
-#: debhelper.pod:191 dh_compress:56 dh_install:98 dh_installchangelogs:74
-#: dh_installdocs:95 dh_installexamples:73 dh_link:75 dh_makeshlibs:93
+#: debhelper.pod:228 dh_compress:56 dh_dwz:44 dh_installchangelogs:85
+#: dh_installdocs:99 dh_installexamples:77 dh_link:75 dh_makeshlibs:139
#: dh_md5sums:40 dh_shlibdeps:34 dh_strip:42
msgid "B<-X>I<item>, B<--exclude=>I<item>"
msgstr "B<-X>I<elemento>, B<--exclude=>I<elemento>"
# type: textblock
#. type: textblock
-#: debhelper.pod:193
+#: debhelper.pod:230
#, fuzzy
#| msgid ""
#| "Exclude an item from processing. This option may be used multiple times, "
#| "to exclude more than one thing."
msgid ""
"Exclude an item from processing. This option may be used multiple times, to "
-"exclude more than one thing. The \\fIitem\\fR is typically part of a "
-"filename, and any file containing the specified text will be excluded."
+"exclude more than one thing. The I<item> is typically part of a filename, "
+"and any file containing the specified text will be excluded."
msgstr ""
"No procesa un elemento. Esta opción se puede utilizar varias veces para "
"excluir distintos elementos."
# type: =item
#. type: =item
-#: debhelper.pod:197 dh_bugfiles:57 dh_compress:63 dh_installdirs:46
-#: dh_installdocs:90 dh_installexamples:41 dh_installinfo:38 dh_installman:83
-#: dh_link:70
+#: debhelper.pod:234 dh_bugfiles:57 dh_compress:63 dh_installdirs:46
+#: dh_installdocs:94 dh_installexamples:45 dh_installinfo:42 dh_installman:87
+#: dh_installwm:52 dh_link:70
msgid "B<-A>, B<--all>"
msgstr "B<-A>, B<--all>"
# type: textblock
#. type: textblock
-#: debhelper.pod:199
+#: debhelper.pod:236
msgid ""
"Makes files or other items that are specified on the command line take "
"effect in ALL packages acted on, not just the first."
@@ -645,12 +703,12 @@ msgstr ""
"tengan efecto en TODOS los paquetes sobre los que actúa, no sólo el primero."
#. type: =head1
-#: debhelper.pod:204
+#: debhelper.pod:241
msgid "BUILD SYSTEM OPTIONS"
msgstr "OPCIONES DEL SISTEMA DE CONSTRUCCIÓN"
#. type: textblock
-#: debhelper.pod:206
+#: debhelper.pod:243
msgid ""
"The following command line options are supported by all of the "
"B<dh_auto_>I<*> debhelper programs. These programs support a variety of "
@@ -668,13 +726,13 @@ msgstr ""
# type: =item
#. type: =item
-#: debhelper.pod:215
+#: debhelper.pod:252
msgid "B<-S>I<buildsystem>, B<--buildsystem=>I<buildsystem>"
msgstr ""
"B<-S>I<sistema-de-construcción>, B<--buildsystem=>I<sistema-de-construcción>"
#. type: textblock
-#: debhelper.pod:217
+#: debhelper.pod:254
msgid ""
"Force use of the specified I<buildsystem>, instead of trying to auto-select "
"one which might be applicable for the package."
@@ -684,12 +742,12 @@ msgstr ""
# type: =item
#. type: =item
-#: debhelper.pod:220
+#: debhelper.pod:257
msgid "B<-D>I<directory>, B<--sourcedirectory=>I<directory>"
msgstr "B<-D>I<directorio>, B<--sourcedirectory=>I<directorio>"
#. type: textblock
-#: debhelper.pod:222
+#: debhelper.pod:259
msgid ""
"Assume that the original package source tree is at the specified "
"I<directory> rather than the top level directory of the Debian source "
@@ -701,12 +759,12 @@ msgstr ""
# type: =item
#. type: =item
-#: debhelper.pod:226
+#: debhelper.pod:263
msgid "B<-B>[I<directory>], B<--builddirectory=>[I<directory>]"
msgstr "B<-B>[I<directorio>], B<--builddirectory=>[I<directorio>]"
#. type: textblock
-#: debhelper.pod:228
+#: debhelper.pod:265
#, fuzzy
#| msgid ""
#| "Enable out of source building and use the specified I<directory> as the "
@@ -722,7 +780,7 @@ msgstr ""
"de construcción predeterminado si se omite el parámetro I<directorio>."
#. type: textblock
-#: debhelper.pod:232
+#: debhelper.pod:269
msgid ""
"If this option is not specified, building will be done in source by default "
"unless the build system requires or prefers out of source tree building. In "
@@ -736,7 +794,7 @@ msgstr ""
"define B<--builddirectory>."
#. type: textblock
-#: debhelper.pod:237
+#: debhelper.pod:274
msgid ""
"If the build system prefers out of source tree building but still allows in "
"source building, the latter can be re-enabled by passing a build directory "
@@ -749,14 +807,14 @@ msgstr ""
# type: =item
#. type: =item
-#: debhelper.pod:241
+#: debhelper.pod:278
#, fuzzy
#| msgid "B<-A>, B<--all>"
msgid "B<--parallel>, B<--no-parallel>"
msgstr "B<-A>, B<--all>"
#. type: textblock
-#: debhelper.pod:243
+#: debhelper.pod:280
#, fuzzy
#| msgid ""
#| "Enable parallel builds if underlying build system supports them. The "
@@ -776,7 +834,7 @@ msgstr ""
"sistema de construcción."
#. type: textblock
-#: debhelper.pod:249
+#: debhelper.pod:286
#, fuzzy
#| msgid ""
#| "If this option is not specified, debhelper currently defaults to not "
@@ -789,21 +847,21 @@ msgstr ""
"paralelo de paquetes de forma predeterminada."
#. type: textblock
-#: debhelper.pod:252
+#: debhelper.pod:289
msgid ""
"As an optimization, B<dh> will try to avoid passing these options to "
-"subprocesses, if they are unncessary and the only options passed. Notably "
+"subprocesses, if they are unnecessary and the only options passed. Notably "
"this happens when B<DEB_BUILD_OPTIONS> does not have a I<parallel> parameter "
"(or its value is 1)."
msgstr ""
#. type: =item
-#: debhelper.pod:257
+#: debhelper.pod:294
msgid "B<--max-parallel=>I<maximum>"
msgstr "B<--max-parallel=>I<máximo>"
#. type: textblock
-#: debhelper.pod:259
+#: debhelper.pod:296
msgid ""
"This option implies B<--parallel> and allows further limiting the number of "
"jobs that can be used in a parallel build. If the package build is known to "
@@ -817,7 +875,7 @@ msgstr ""
"desea permitir."
#. type: textblock
-#: debhelper.pod:264
+#: debhelper.pod:301
msgid ""
"Notably, setting the maximum to 1 is effectively the same as using B<--no-"
"parallel>."
@@ -825,12 +883,12 @@ msgstr ""
# type: =item
#. type: =item
-#: debhelper.pod:267 dh:63
+#: debhelper.pod:304 dh:74
msgid "B<--list>, B<-l>"
msgstr "B<--list>, B<-l>"
#. type: textblock
-#: debhelper.pod:269
+#: debhelper.pod:306
msgid ""
"List all build systems supported by debhelper on this system. The list "
"includes both default and third party build systems (marked as such). Also "
@@ -844,13 +902,13 @@ msgstr ""
"buildsystem>."
#. type: =head1
-#: debhelper.pod:276
+#: debhelper.pod:313
msgid "COMPATIBILITY LEVELS"
msgstr "NIVELES DE COMPATIBILIDAD"
# type: textblock
#. type: textblock
-#: debhelper.pod:278
+#: debhelper.pod:315
#, fuzzy
#| msgid ""
#| "From time to time, major non-backwards-compatible changes need to be made "
@@ -878,7 +936,7 @@ msgstr ""
# type: textblock
#. type: textblock
-#: debhelper.pod:286
+#: debhelper.pod:323
#, fuzzy
#| msgid ""
#| "Tell debhelper what compatibility level to use by writing a number to "
@@ -893,7 +951,7 @@ msgstr ""
# type: verbatim
#. type: verbatim
-#: debhelper.pod:289
+#: debhelper.pod:326
#, no-wrap
msgid ""
" % echo #RECOMMENDED_COMPAT# > debian/compat\n"
@@ -904,7 +962,7 @@ msgstr ""
# type: textblock
#. type: textblock
-#: debhelper.pod:291
+#: debhelper.pod:328
msgid ""
"Your package will also need a versioned build dependency on a version of "
"debhelper equal to (or greater than) the compatibility level your package "
@@ -919,10 +977,13 @@ msgstr ""
# type: verbatim
#. type: verbatim
-#: debhelper.pod:295
-#, no-wrap
+#: debhelper.pod:332
+#, fuzzy, no-wrap
+#| msgid ""
+#| " Build-Depends: debhelper (>= #RECOMMENDED_COMPAT#)\n"
+#| "\n"
msgid ""
-" Build-Depends: debhelper (>= #RECOMMENDED_COMPAT#)\n"
+" Build-Depends: debhelper (>= #RECOMMENDED_COMPAT#~)\n"
"\n"
msgstr ""
" Build-Depends: debhelper (>= #RECOMMENDED_COMPAT#)\n"
@@ -930,7 +991,7 @@ msgstr ""
# type: textblock
#. type: textblock
-#: debhelper.pod:297
+#: debhelper.pod:334
msgid ""
"Unless otherwise indicated, all debhelper documentation assumes that you are "
"using the most recent compatibility level, and in most cases does not "
@@ -947,7 +1008,7 @@ msgstr ""
# type: =head2
#. type: =head2
-#: debhelper.pod:304
+#: debhelper.pod:341
#, fuzzy
#| msgid "Debhelper compatibility levels"
msgid "Supported compatibility levels"
@@ -955,25 +1016,25 @@ msgstr "Niveles de compatibilidad de debhelper"
# type: textblock
#. type: textblock
-#: debhelper.pod:306
+#: debhelper.pod:343
msgid "These are the available compatibility levels:"
msgstr "Los niveles de compatibilidad disponibles son:"
#. type: =item
-#: debhelper.pod:310 debhelper-obsolete-compat.pod:89
+#: debhelper.pod:347 debhelper-obsolete-compat.pod:89
msgid "v5"
msgstr "v5"
# type: textblock
#. type: textblock
-#: debhelper.pod:312 debhelper-obsolete-compat.pod:91
+#: debhelper.pod:349 debhelper-obsolete-compat.pod:91
#, fuzzy
#| msgid "These are the available compatibility levels:"
msgid "This is the lowest supported compatibility level."
msgstr "Los niveles de compatibilidad disponibles son:"
#. type: textblock
-#: debhelper.pod:314
+#: debhelper.pod:351
msgid ""
"If you are upgrading from an earlier compatibility level, please review "
"L<debhelper-obsolete-compat(7)>."
@@ -981,50 +1042,53 @@ msgstr ""
# type: textblock
#. type: textblock
-#: debhelper.pod:317 debhelper.pod:349 debhelper.pod:379 debhelper.pod:410
+#: debhelper.pod:354 debhelper.pod:386 debhelper.pod:416 debhelper.pod:447
#: debhelper-obsolete-compat.pod:28 debhelper-obsolete-compat.pod:35
#: debhelper-obsolete-compat.pod:58 debhelper-obsolete-compat.pod:87
msgid "This mode is deprecated."
msgstr "Este modo está obsoleto."
#. type: =item
-#: debhelper.pod:319
+#: debhelper.pod:356
msgid "v6"
msgstr "v6"
#. type: textblock
-#: debhelper.pod:321
+#: debhelper.pod:358
msgid "Changes from v5 are:"
msgstr "Los cambios desde el nivel v5 son:"
# type: =item
#. type: =item
-#: debhelper.pod:325 debhelper.pod:330 debhelper.pod:336 debhelper.pod:342
-#: debhelper.pod:357 debhelper.pod:364 debhelper.pod:368 debhelper.pod:372
-#: debhelper.pod:387 debhelper.pod:391 debhelper.pod:399 debhelper.pod:404
-#: debhelper.pod:418 debhelper.pod:423 debhelper.pod:430 debhelper.pod:435
-#: debhelper.pod:440 debhelper.pod:448 debhelper.pod:454 debhelper.pod:459
-#: debhelper.pod:464 debhelper.pod:480 debhelper.pod:485 debhelper.pod:491
-#: debhelper.pod:498 debhelper.pod:504 debhelper.pod:509 debhelper.pod:515
-#: debhelper.pod:521 debhelper.pod:531 debhelper.pod:537 debhelper.pod:560
-#: debhelper.pod:567 debhelper.pod:573 debhelper.pod:579 debhelper.pod:595
-#: debhelper.pod:601 debhelper.pod:613 debhelper.pod:621 debhelper.pod:627
-#: debhelper.pod:632 debhelper.pod:642 debhelper.pod:647 debhelper.pod:655
-#: debhelper.pod:665 debhelper.pod:672 debhelper.pod:679 debhelper.pod:691
-#: debhelper.pod:696 debhelper.pod:709 debhelper.pod:728 debhelper.pod:732
-#: debhelper.pod:737 debhelper.pod:742 debhelper.pod:749 debhelper.pod:755
+#: debhelper.pod:362 debhelper.pod:367 debhelper.pod:373 debhelper.pod:379
+#: debhelper.pod:394 debhelper.pod:401 debhelper.pod:405 debhelper.pod:409
+#: debhelper.pod:424 debhelper.pod:428 debhelper.pod:436 debhelper.pod:441
+#: debhelper.pod:455 debhelper.pod:460 debhelper.pod:467 debhelper.pod:472
+#: debhelper.pod:477 debhelper.pod:485 debhelper.pod:491 debhelper.pod:496
+#: debhelper.pod:501 debhelper.pod:514 debhelper.pod:519 debhelper.pod:525
+#: debhelper.pod:532 debhelper.pod:538 debhelper.pod:543 debhelper.pod:549
+#: debhelper.pod:555 debhelper.pod:565 debhelper.pod:571 debhelper.pod:594
+#: debhelper.pod:601 debhelper.pod:607 debhelper.pod:613 debhelper.pod:629
+#: debhelper.pod:635 debhelper.pod:647 debhelper.pod:655 debhelper.pod:661
+#: debhelper.pod:666 debhelper.pod:671 debhelper.pod:676 debhelper.pod:684
+#: debhelper.pod:694 debhelper.pod:704 debhelper.pod:711 debhelper.pod:723
+#: debhelper.pod:728 debhelper.pod:756 debhelper.pod:775 debhelper.pod:785
+#: debhelper.pod:789 debhelper.pod:794 debhelper.pod:799 debhelper.pod:806
+#: debhelper.pod:812 debhelper.pod:820 debhelper.pod:826 debhelper.pod:830
+#: debhelper.pod:835 debhelper.pod:840 debhelper.pod:849
#: debhelper-obsolete-compat.pod:43 debhelper-obsolete-compat.pod:48
#: debhelper-obsolete-compat.pod:52 debhelper-obsolete-compat.pod:66
#: debhelper-obsolete-compat.pod:71 debhelper-obsolete-compat.pod:76
#: debhelper-obsolete-compat.pod:81 debhelper-obsolete-compat.pod:97
#: debhelper-obsolete-compat.pod:101 debhelper-obsolete-compat.pod:106
-#: debhelper-obsolete-compat.pod:110
+#: debhelper-obsolete-compat.pod:110 dh_testroot:36 dh_testroot:41
+#: dh_testroot:46
msgid "-"
msgstr "-"
# type: textblock
#. type: textblock
-#: debhelper.pod:327
+#: debhelper.pod:364
msgid ""
"Commands that generate maintainer script fragments will order the fragments "
"in reverse order for the F<prerm> and F<postrm> scripts."
@@ -1034,7 +1098,7 @@ msgstr ""
# type: textblock
#. type: textblock
-#: debhelper.pod:332
+#: debhelper.pod:369
msgid ""
"B<dh_installwm> will install a slave manpage link for F<x-window-manager.1."
"gz>, if it sees the man page in F<usr/share/man/man1> in the package build "
@@ -1046,7 +1110,7 @@ msgstr ""
# type: textblock
#. type: textblock
-#: debhelper.pod:338
+#: debhelper.pod:375
msgid ""
"B<dh_builddeb> did not previously delete everything matching "
"B<DH_ALWAYS_EXCLUDE>, if it was set to a list of things to exclude, such as "
@@ -1058,7 +1122,7 @@ msgstr ""
# type: textblock
#. type: textblock
-#: debhelper.pod:344
+#: debhelper.pod:381
msgid ""
"B<dh_installman> allows overwriting existing man pages in the package build "
"directory. In previous compatibility levels it silently refuses to do this."
@@ -1068,18 +1132,18 @@ msgstr ""
"anteriores simplemente rechazaba hacerlo, de forma silenciosa."
#. type: =item
-#: debhelper.pod:351
+#: debhelper.pod:388
msgid "v7"
msgstr "v7"
#. type: textblock
-#: debhelper.pod:353
+#: debhelper.pod:390
msgid "Changes from v6 are:"
msgstr "Los cambios desde el nivel v6 son:"
# type: textblock
#. type: textblock
-#: debhelper.pod:359
+#: debhelper.pod:396
msgid ""
"B<dh_install>, will fall back to looking for files in F<debian/tmp> if it "
"doesn't find them in the current directory (or wherever you tell it look "
@@ -1095,20 +1159,20 @@ msgstr ""
# type: textblock
#. type: textblock
-#: debhelper.pod:366
+#: debhelper.pod:403
msgid "B<dh_clean> will read F<debian/clean> and delete files listed there."
msgstr ""
"B<dh_clean> leerá F<debian/clean> y eliminará los ficheros ahí listados."
# type: textblock
#. type: textblock
-#: debhelper.pod:370
+#: debhelper.pod:407
msgid "B<dh_clean> will delete toplevel F<*-stamp> files."
msgstr "B<dh_clean> eliminará ficheros F<*-stamp> del nivel superior."
# type: textblock
#. type: textblock
-#: debhelper.pod:374
+#: debhelper.pod:411
msgid ""
"B<dh_installchangelogs> will guess at what file is the upstream changelog if "
"none is specified."
@@ -1117,17 +1181,17 @@ msgstr ""
"cambios de la fuente original si no se especifica ninguno."
#. type: =item
-#: debhelper.pod:381
+#: debhelper.pod:418
msgid "v8"
msgstr "v8"
#. type: textblock
-#: debhelper.pod:383
+#: debhelper.pod:420
msgid "Changes from v7 are:"
msgstr "Los cambios desde el nivel v7 son:"
#. type: textblock
-#: debhelper.pod:389
+#: debhelper.pod:426
msgid ""
"Commands will fail rather than warning when they are passed unknown options."
msgstr ""
@@ -1135,7 +1199,7 @@ msgstr ""
"opciones desconocidas."
#. type: textblock
-#: debhelper.pod:393
+#: debhelper.pod:430
msgid ""
"B<dh_makeshlibs> will run B<dpkg-gensymbols> on all shared libraries that it "
"generates shlibs files for. So B<-X> can be used to exclude libraries. "
@@ -1151,7 +1215,7 @@ msgstr ""
"paquetes."
#. type: textblock
-#: debhelper.pod:401
+#: debhelper.pod:438
msgid ""
"B<dh> requires the sequence to run be specified as the first parameter, and "
"any switches come after it. Ie, use \"B<dh $@ --foo>\", not \"B<dh --foo $@>"
@@ -1162,7 +1226,7 @@ msgstr ""
"B<dh $@ --foo>, no B<dh --foo $@>."
#. type: textblock
-#: debhelper.pod:406
+#: debhelper.pod:443
msgid ""
"B<dh_auto_>I<*> prefer to use Perl's B<Module::Build> in preference to "
"F<Makefile.PL>."
@@ -1171,17 +1235,17 @@ msgstr ""
"preferencia a un fichero F<Makefile.PL>."
#. type: =item
-#: debhelper.pod:412
+#: debhelper.pod:449
msgid "v9"
msgstr "v9"
#. type: textblock
-#: debhelper.pod:414
+#: debhelper.pod:451
msgid "Changes from v8 are:"
msgstr "Los cambios desde el nivel v8 son:"
#. type: textblock
-#: debhelper.pod:420
+#: debhelper.pod:457
msgid ""
"Multiarch support. In particular, B<dh_auto_configure> passes multiarch "
"directories to autoconf in --libdir and --libexecdir."
@@ -1190,7 +1254,7 @@ msgstr ""
"multiarquitectura a autoconf en «--libdir» y «--libexecdir»."
#. type: textblock
-#: debhelper.pod:425
+#: debhelper.pod:462
msgid ""
"dh is aware of the usual dependencies between targets in debian/rules. So, "
"\"dh binary\" will run any build, build-arch, build-indep, install, etc "
@@ -1204,7 +1268,7 @@ msgstr ""
"sobre otros objetivos."
#. type: textblock
-#: debhelper.pod:432
+#: debhelper.pod:469
msgid ""
"B<dh_strip> compresses debugging symbol files to reduce the installed size "
"of -dbg packages."
@@ -1213,7 +1277,7 @@ msgstr ""
"reducir el tamaño de los paquetes -dbg."
#. type: textblock
-#: debhelper.pod:437
+#: debhelper.pod:474
msgid ""
"B<dh_auto_configure> does not include the source package name in --"
"libexecdir when using autoconf."
@@ -1222,12 +1286,12 @@ msgstr ""
"libexecdir» al utilizar autoconf."
#. type: textblock
-#: debhelper.pod:442
+#: debhelper.pod:479
msgid "B<dh> does not default to enabling --with=python-support"
msgstr "B<dh> no activa «--with=python-support» de forma predeterminada."
#. type: textblock
-#: debhelper.pod:444
+#: debhelper.pod:481
msgid ""
"(Obsolete: As the B<dh_pysupport> tool was removed from Debian stretch. "
"Since debhelper/10.3, B<dh> no longer enables this sequence add-on "
@@ -1235,7 +1299,7 @@ msgid ""
msgstr ""
#. type: textblock
-#: debhelper.pod:450
+#: debhelper.pod:487
msgid ""
"All of the B<dh_auto_>I<*> debhelper programs and B<dh> set environment "
"variables listed by B<dpkg-buildflags>, unless they are already set."
@@ -1244,7 +1308,7 @@ msgstr ""
"entorno listados en B<dpkg-buildflags>, a menos que ya estén definidas."
#. type: textblock
-#: debhelper.pod:456
+#: debhelper.pod:493
msgid ""
"B<dh_auto_configure> passes B<dpkg-buildflags> CFLAGS, CPPFLAGS, and LDFLAGS "
"to perl F<Makefile.PL> and F<Build.PL>"
@@ -1253,7 +1317,7 @@ msgstr ""
"LDFLAGS a ficheros de Perl F<Makefile.PL> y F<Build.PL>"
#. type: textblock
-#: debhelper.pod:461
+#: debhelper.pod:498
msgid ""
"B<dh_strip> puts separated debug symbols in a location based on their build-"
"id."
@@ -1262,7 +1326,7 @@ msgstr ""
"build-id."
#. type: textblock
-#: debhelper.pod:466
+#: debhelper.pod:503
msgid ""
"Executable debhelper config files are run and their output used as the "
"configuration."
@@ -1271,30 +1335,24 @@ msgstr ""
"debhelper y su salida."
#. type: =item
-#: debhelper.pod:471
+#: debhelper.pod:508
msgid "v10"
msgstr "v10"
-# type: textblock
#. type: textblock
-#: debhelper.pod:473
-msgid "This is the recommended mode of operation."
-msgstr "Este es el modo de operación aconsejado."
-
-#. type: textblock
-#: debhelper.pod:476
+#: debhelper.pod:510
msgid "Changes from v9 are:"
msgstr "Los cambios desde el nivel v9 son:"
#. type: textblock
-#: debhelper.pod:482
+#: debhelper.pod:516
msgid ""
"B<dh_installinit> will no longer install a file named debian/I<package> as "
"an init script."
msgstr ""
#. type: textblock
-#: debhelper.pod:487
+#: debhelper.pod:521
msgid ""
"B<dh_installdocs> will error out if it detects links created with --link-doc "
"between packages of architecture \"all\" and non-\"all\" as it breaks "
@@ -1302,7 +1360,7 @@ msgid ""
msgstr ""
#. type: textblock
-#: debhelper.pod:493
+#: debhelper.pod:527
msgid ""
"B<dh> no longer creates the package build directory when skipping running "
"debhelper commands. This will not affect packages that only build with "
@@ -1311,21 +1369,21 @@ msgid ""
msgstr ""
#. type: textblock
-#: debhelper.pod:500
+#: debhelper.pod:534
msgid ""
"B<dh_installdeb> no longer installs a maintainer-provided debian/I<package>."
"shlibs file. This is now done by B<dh_makeshlibs> instead."
msgstr ""
#. type: textblock
-#: debhelper.pod:506
+#: debhelper.pod:540
msgid ""
"B<dh_installwm> refuses to create a broken package if no man page can be "
"found (required to register for the x-window-manager alternative)."
msgstr ""
#. type: textblock
-#: debhelper.pod:511
+#: debhelper.pod:545
msgid ""
"Debhelper will default to B<--parallel> for all buildsystems that support "
"parallel building. This can be disabled by using either B<--no-parallel> or "
@@ -1333,7 +1391,7 @@ msgid ""
msgstr ""
#. type: textblock
-#: debhelper.pod:517
+#: debhelper.pod:551
msgid ""
"The B<dh> command will not accept any of the deprecated \"manual sequence "
"control\" parameters (B<--before>, B<--after>, etc.). Please use override "
@@ -1341,7 +1399,7 @@ msgid ""
msgstr ""
#. type: textblock
-#: debhelper.pod:523
+#: debhelper.pod:557
msgid ""
"The B<dh> command will no longer use log files to track which commands have "
"been run. The B<dh> command I<still> keeps track of whether it already ran "
@@ -1349,12 +1407,12 @@ msgid ""
msgstr ""
#. type: textblock
-#: debhelper.pod:527
+#: debhelper.pod:561
msgid "The main effects of this are:"
msgstr ""
#. type: textblock
-#: debhelper.pod:533
+#: debhelper.pod:567
msgid ""
"With this, it is now easier to debug the I<install> or/and I<binary> "
"sequences because they can now trivially be re-run (without having to do a "
@@ -1362,7 +1420,7 @@ msgid ""
msgstr ""
#. type: textblock
-#: debhelper.pod:539
+#: debhelper.pod:573
msgid ""
"The main caveat is that B<dh_*> now only keeps track of what happened in a "
"single override target. When all the calls to a given B<dh_cmd> command "
@@ -1370,12 +1428,12 @@ msgid ""
msgstr ""
#. type: textblock
-#: debhelper.pod:544
+#: debhelper.pod:578
msgid "Example of where it can go wrong:"
msgstr ""
#. type: verbatim
-#: debhelper.pod:546
+#: debhelper.pod:580
#, no-wrap
msgid ""
" override_dh_foo:\n"
@@ -1384,7 +1442,7 @@ msgid ""
msgstr ""
#. type: verbatim
-#: debhelper.pod:549
+#: debhelper.pod:583
#, no-wrap
msgid ""
" override_dh_bar:\n"
@@ -1394,7 +1452,7 @@ msgid ""
msgstr ""
#. type: textblock
-#: debhelper.pod:553
+#: debhelper.pod:587
msgid ""
"In this case, the call to B<dh_foo --remaining> will I<also> include I<my-"
"pkg>, since B<dh_foo -pmy-pkg> was run in a separate override target. This "
@@ -1402,7 +1460,7 @@ msgid ""
msgstr ""
#. type: textblock
-#: debhelper.pod:562
+#: debhelper.pod:596
msgid ""
"The B<dh_installdeb> command now shell-escapes the lines in the "
"F<maintscript> config file. This was the original intent but it did not "
@@ -1411,7 +1469,7 @@ msgid ""
msgstr ""
#. type: textblock
-#: debhelper.pod:569
+#: debhelper.pod:603
msgid ""
"The B<dh_installinit> command now defaults to B<--restart-after-upgrade>. "
"For packages needing the previous behaviour, please use B<--no-restart-after-"
@@ -1419,46 +1477,41 @@ msgid ""
msgstr ""
#. type: textblock
-#: debhelper.pod:575
+#: debhelper.pod:609
msgid ""
"The B<autoreconf> sequence is now enabled by default. Please pass B<--"
"without autoreconf> to B<dh> if this is not desirable for a given package"
msgstr ""
#. type: textblock
-#: debhelper.pod:581
+#: debhelper.pod:615
msgid ""
"The B<systemd> sequence is now enabled by default. Please pass B<--without "
"systemd> to B<dh> if this is not desirable for a given package."
msgstr ""
#. type: =item
-#: debhelper.pod:587
+#: debhelper.pod:621
#, fuzzy
#| msgid "v1"
msgid "v11"
msgstr "v1"
+# type: textblock
#. type: textblock
-#: debhelper.pod:589 debhelper.pod:722
-#, fuzzy
-#| msgid ""
-#| "This compatibility level is still open for development; use with caution."
-msgid ""
-"This compatibility level is still open for development; use with caution."
-msgstr ""
-"Este nivel de compatibilidad aún está en desarrollo, utilícelo con "
-"precaución."
+#: debhelper.pod:623
+msgid "This is the recommended mode of operation."
+msgstr "Este es el modo de operación aconsejado."
#. type: textblock
-#: debhelper.pod:591
+#: debhelper.pod:625
#, fuzzy
#| msgid "Changes from v3 are:"
msgid "Changes from v10 are:"
msgstr "Los cambios desde el nivel v3 son:"
#. type: textblock
-#: debhelper.pod:597
+#: debhelper.pod:631
msgid ""
"B<dh_installinit> no longer installs F<service> or F<tmpfile> files, nor "
"generates maintainer scripts for those files. Please use the new "
@@ -1466,7 +1519,7 @@ msgid ""
msgstr ""
#. type: textblock
-#: debhelper.pod:603
+#: debhelper.pod:637
msgid ""
"The B<dh_systemd_enable> and B<dh_systemd_start> helpers have been replaced "
"by the new B<dh_installsystemd> helper. For the same reason, the B<systemd> "
@@ -1475,26 +1528,26 @@ msgid ""
msgstr ""
#. type: textblock
-#: debhelper.pod:609
+#: debhelper.pod:643
msgid ""
-"Please note that the B<dh_installsystemd> tool have a slightly different "
+"Please note that the B<dh_installsystemd> tool has a slightly different "
"behaviour in some cases (e.g. when using the B<--name> parameter)."
msgstr ""
#. type: textblock
-#: debhelper.pod:615
+#: debhelper.pod:649
msgid ""
"B<dh_installdirs> no longer creates debian/I<package> directories unless "
"explicitly requested (or it has to create a subdirectory in it)."
msgstr ""
#. type: textblock
-#: debhelper.pod:619
+#: debhelper.pod:653
msgid "The vast majority of all packages will be unaffected by this change."
msgstr ""
#. type: textblock
-#: debhelper.pod:623
+#: debhelper.pod:657
msgid ""
"The B<makefile> buildsystem now passes B<INSTALL=install --strip-"
"program=true> to L<make(1)>. Derivative buildsystems (e.g. B<configure> or "
@@ -1502,36 +1555,28 @@ msgid ""
msgstr ""
#. type: textblock
-#: debhelper.pod:629
+#: debhelper.pod:663
msgid ""
"The B<autoconf> buildsystem now passes B<--runstatedir=/run> to F<./"
"configure>."
msgstr ""
#. type: textblock
-#: debhelper.pod:634
+#: debhelper.pod:668
msgid ""
"The B<cmake> buildsystem now passes B<-DCMAKE_INSTALL_RUNSTATEDIR=/run> to "
"L<cmake(1)>."
msgstr ""
#. type: textblock
-#: debhelper.pod:637
-msgid ""
-"B<Caveat>: This option silently does nothing in cmake versions prior to "
-"3.8. Please keep this in mind if your package is regularly backported to a "
-"suite (e.g. stretch-backports) where cmake is older than 3.8."
-msgstr ""
-
-#. type: textblock
-#: debhelper.pod:644
+#: debhelper.pod:673
msgid ""
"B<dh_installman> will now prefer detecting the language from the path name "
"rather than the extension."
msgstr ""
#. type: textblock
-#: debhelper.pod:649
+#: debhelper.pod:678
msgid ""
"B<dh_auto_install> will now only create the destination directory it needs. "
"Previously, it would create the package build directory for all packages. "
@@ -1540,7 +1585,7 @@ msgid ""
msgstr ""
#. type: textblock
-#: debhelper.pod:657
+#: debhelper.pod:686
msgid ""
"The helpers B<dh_installdocs>, B<dh_installexamples>, B<dh_installinfo>, and "
"B<dh_installman> now error out if their config has a pattern that does not "
@@ -1548,7 +1593,7 @@ msgid ""
msgstr ""
#. type: textblock
-#: debhelper.pod:661
+#: debhelper.pod:690
msgid ""
"Known exceptions include building with the B<nodoc> profile, where the above "
"tools will silently permit failed matches where the patterns are used to "
@@ -1556,7 +1601,7 @@ msgid ""
msgstr ""
#. type: textblock
-#: debhelper.pod:667
+#: debhelper.pod:696
msgid ""
"The helpers B<dh_installdocs>, B<dh_installexamples>, B<dh_installinfo>, and "
"B<dh_installman> now accept the parameter B<--sourcedir> with same meaning "
@@ -1565,16 +1610,23 @@ msgid ""
msgstr ""
#. type: textblock
-#: debhelper.pod:674
+#: debhelper.pod:701
+msgid ""
+"Migration note: A bug in debhelper 11 up to 11.1.5 made B<dh_installinfo> "
+"incorrectly ignore B<--sourcedir>."
+msgstr ""
+
+#. type: textblock
+#: debhelper.pod:706
msgid ""
"The B<perl-makemaker> and B<perl-build> build systems no longer pass B<-I.> "
-"to perl. Packages that still need this behaviour can get emulate it by "
-"using the B<PERL5LIB> environment variable. E.g. by adding B<export "
-"PERL5LIB=.> in their debian/rules file (or similar)."
+"to perl. Packages that still need this behaviour can emulate it by using "
+"the B<PERL5LIB> environment variable. E.g. by adding B<export PERL5LIB=.> "
+"in their debian/rules file (or similar)."
msgstr ""
#. type: textblock
-#: debhelper.pod:681
+#: debhelper.pod:713
msgid ""
"The B<PERL_USE_UNSAFE_INC> environment variable is no longer set by B<dh> or "
"any of the B<dh_auto_*> tools. It was added as a temporary work around to "
@@ -1582,7 +1634,7 @@ msgid ""
msgstr ""
#. type: textblock
-#: debhelper.pod:686
+#: debhelper.pod:718
msgid ""
"Note this item will eventually become obsolete as upstream intends to drop "
"support for the B<PERL_USE_UNSAFE_INC> environment variable. When perl "
@@ -1591,33 +1643,58 @@ msgid ""
msgstr ""
#. type: textblock
-#: debhelper.pod:693
+#: debhelper.pod:725
msgid ""
"The B<dh_makeshlibs> helper will now exit with an error if objdump returns a "
"non-zero exit from analysing a given file."
msgstr ""
#. type: textblock
-#: debhelper.pod:698
+#: debhelper.pod:730
msgid ""
-"The B<dh_installdocs> and B<dh_installexamples> tools will now attempt to "
-"guess the \"main package\" for a given documentation package (e.g. I<pkg-"
-"doc> will have I<pkg> as main package if the latter exists). If a main "
-"package is found, I<most> of the documentation will be installed into F<< /"
-"usr/share/doc/I<main-pkg> >> by default as recommended by Debian policy "
-"§12.3 since version 3.9.7. Notable exceptions include the copyright file "
-"and changelog files."
+"The B<dh_installdocs> and B<dh_installexamples> tools may now install "
+"I<most> of the documentation in a different path to comply with the "
+"recommendation from Debian policy §12.3 (since version 3.9.7)."
msgstr ""
#. type: textblock
-#: debhelper.pod:706
+#: debhelper.pod:734
+msgid ""
+"Note that if a given source package only contains a single binary package in "
+"F<debian/control> or none of the packages are I<-doc> packages, then this "
+"change is not relevant for that source package and you can skip to the next "
+"change."
+msgstr ""
+
+#. type: textblock
+#: debhelper.pod:739
+msgid ""
+"By default, these tools will now attempt to determine a \"main package for "
+"the documentation\" (called a I<doc-main-package> from here on) for every I<-"
+"doc> package. If they find such a I<doc-main-package>, they will now "
+"install the documentation into the path F<< /usr/share/doc/I<doc-main-"
+"package> >> in the given doc package. I.e. the path can change but the "
+"documentation is still shipped in the I<-doc> package."
+msgstr ""
+
+#. type: textblock
+#: debhelper.pod:747
msgid ""
"The B<--doc-main-package> option can be used when the auto-detection is "
-"insufficient."
+"insufficient or to reset the path to its previous value if there is a reason "
+"to diverge from Debian policy recommendation."
msgstr ""
#. type: textblock
-#: debhelper.pod:711
+#: debhelper.pod:751
+msgid ""
+"Some documentation will not be affected by this change. These exceptions "
+"include the copyright file, changelog files, README.Debian, etc. These "
+"files will still be installed in the path F<< /usr/share/doc/I<package> >>."
+msgstr ""
+
+#. type: textblock
+#: debhelper.pod:758
msgid ""
"The B<dh_strip> and B<dh_shlibdeps> tools no longer uses filename patterns "
"to determine which files to process. Instead, they open the file and look "
@@ -1626,27 +1703,54 @@ msgid ""
msgstr ""
#. type: textblock
-#: debhelper.pod:716
+#: debhelper.pod:763
msgid "This change may cause the tools to process more files than previously."
msgstr ""
#. type: =item
-#: debhelper.pod:720
+#: debhelper.pod:767
#, fuzzy
#| msgid "v10"
msgid "v12"
msgstr "v10"
#. type: textblock
-#: debhelper.pod:724
+#: debhelper.pod:769
+#, fuzzy
+#| msgid ""
+#| "This compatibility level is still open for development; use with caution."
+msgid ""
+"This compatibility level is still open for development; use with caution."
+msgstr ""
+"Este nivel de compatibilidad aún está en desarrollo, utilícelo con "
+"precaución."
+
+#. type: textblock
+#: debhelper.pod:771
#, fuzzy
#| msgid "Changes from v3 are:"
msgid "Changes from v11 are:"
msgstr "Los cambios desde el nivel v3 son:"
+#. type: textblock
+#: debhelper.pod:777
+msgid ""
+"The B<dh_makeshlibs> tool now generates shlibs files with versioned "
+"dependency by default. This means that B<-VUpstream-Version> (a.k.a. B<-V>) "
+"is now the default."
+msgstr ""
+
+#. type: textblock
+#: debhelper.pod:781
+msgid ""
+"If an unversioned dependency in the shlibs file is wanted, this can be "
+"obtained by passing B<-VNone> instead. However, please see "
+"L<dh_makeshlibs(1)> for the caveat of unversioned dependencies."
+msgstr ""
+
# type: =item
#. type: textblock
-#: debhelper.pod:730
+#: debhelper.pod:787
#, fuzzy
#| msgid "B<-s>, B<--same-arch>"
msgid ""
@@ -1655,20 +1759,20 @@ msgid ""
msgstr "B<-s>, B<--same-arch>"
#. type: textblock
-#: debhelper.pod:734
+#: debhelper.pod:791
msgid ""
"Invoking B<dh_clean -k> now causes an error instead of a deprecation warning."
msgstr ""
#. type: textblock
-#: debhelper.pod:739
+#: debhelper.pod:796
msgid ""
"The B<--no-restart-on-upgrade> option in B<dh_installinit> has been "
"removed. Please use the new name B<--no-stop-on-upgrade>"
msgstr ""
#. type: textblock
-#: debhelper.pod:744
+#: debhelper.pod:801
msgid ""
"There was a bug in the B<doit> (and similar) functions from L<Debian::"
"Debhelper::Dh_Lib> that made them spawn a shell in one particular "
@@ -1677,7 +1781,7 @@ msgid ""
msgstr ""
#. type: textblock
-#: debhelper.pod:751
+#: debhelper.pod:808
msgid ""
"The B<--list-missing> and B<--fail-missing> in B<dh_install> has been "
"removed. Please use B<dh_missing> and its corresponding options, which can "
@@ -1685,7 +1789,7 @@ msgid ""
msgstr ""
#. type: textblock
-#: debhelper.pod:757
+#: debhelper.pod:814
msgid ""
"The B<dh_installinit> helper no longer installs configuration for the "
"upstart init system. Instead, it will abort the build if it finds an old "
@@ -1694,25 +1798,100 @@ msgid ""
"versions of the package (if any)."
msgstr ""
+#. type: textblock
+#: debhelper.pod:822
+msgid ""
+"The B<dh_installdeb> tool will do basic validation of some L<dpkg-"
+"maintscript-helper(1)> commands and will error out if the commands appear to "
+"be invalid."
+msgstr ""
+
+#. type: textblock
+#: debhelper.pod:828
+msgid "The B<dh_missing> tool will now default to B<--list-missing>."
+msgstr ""
+
+#. type: textblock
+#: debhelper.pod:832
+msgid ""
+"The B<dh_makeshlibs> tool will now only pass libraries to L<dpkg-"
+"gensymbols(1)> if the ELF binary has a SONAME (containing \".so\")."
+msgstr ""
+
+#. type: textblock
+#: debhelper.pod:837
+msgid ""
+"The B<dh_compress> tool no longer compresses examples (i.e. anything "
+"installed in F<</usr/share/doc/I<package>/examples>>.)"
+msgstr ""
+
+#. type: textblock
+#: debhelper.pod:842
+msgid ""
+"The standard sequence in B<dh> now includes B<dh_dwz> and "
+"B<dh_installinitramfs> by default. This makes the B<dwz> and "
+"B<installinitramfs> sequences obsolete and they will now fail with an "
+"error. If you want to skip these commands, then please insert an empty "
+"override target for them in F<debian/rules> (e.g. I<override_dh_dwz:>)"
+msgstr ""
+
+#. type: textblock
+#: debhelper.pod:851
+msgid ""
+"The build systems B<meson> and B<autoconf> no longer explicitly set the B<--"
+"libexecdir> variable and thus relies on the build system default - which "
+"should be B</usr/libexec> (per FHS 3.0, adopted in Debian Policy 4.1.5)."
+msgstr ""
+
+#. type: textblock
+#: debhelper.pod:856
+msgid ""
+"If a particular upstream package does not use the correct default, the "
+"parameter can often be passed manually via L<dh_auto_configure(1)>. E.g. "
+"via the following example:"
+msgstr ""
+
+#. type: verbatim
+#: debhelper.pod:860
+#, fuzzy, no-wrap
+#| msgid ""
+#| "\toverride_dh_auto_configure:\n"
+#| "\t\tdh_auto_configure -- --with-foo --disable-bar\n"
+#| "\n"
+msgid ""
+" override_dh_auto_configure:\n"
+" \tdh_auto_configure -- --libexecdir=/usr/libexec\n"
+"\n"
+msgstr ""
+"\toverride_dh_auto_configure:\n"
+"\t\tdh_auto_configure -- --with-foo --disable-bar\n"
+"\n"
+
+#. type: textblock
+#: debhelper.pod:863
+msgid "Note the B<--> before the B<--libexecdir> parameter."
+msgstr ""
+
# type: =head1
#. type: =head1
-#: debhelper.pod:767 dh_auto_test:48 dh_installcatalogs:64 dh_installdocs:178
-#: dh_installemacsen:75 dh_installexamples:85 dh_installinit:183
-#: dh_installman:124 dh_installmodules:57 dh_installudev:50 dh_installwm:58
-#: dh_installxfonts:40 dh_movefiles:67 dh_strip:119 dh_usrlocal:59
-#: dh_systemd_enable:104 dh_systemd_start:68
+#: debhelper.pod:869 dh_auto_test:48 dh_dwz:57 dh_installcatalogs:64
+#: dh_installdocs:192 dh_installemacsen:75 dh_installexamples:89
+#: dh_installinit:205 dh_installinitramfs:53 dh_installman:128
+#: dh_installmodules:57 dh_installudev:50 dh_installwm:63 dh_installxfonts:40
+#: dh_movefiles:67 dh_strip:119 dh_usrlocal:60 dh_systemd_enable:104
+#: dh_systemd_start:68
msgid "NOTES"
msgstr "NOTAS"
# type: =head2
#. type: =head2
-#: debhelper.pod:769
+#: debhelper.pod:871
msgid "Multiple binary package support"
msgstr "Compatibilidad con varios paquetes binarios"
# type: textblock
#. type: textblock
-#: debhelper.pod:771
+#: debhelper.pod:873
msgid ""
"If your source package generates more than one binary package, debhelper "
"programs will default to acting on all binary packages when run. If your "
@@ -1733,7 +1912,7 @@ msgstr ""
# type: textblock
#. type: textblock
-#: debhelper.pod:779
+#: debhelper.pod:881
#, fuzzy
#| msgid ""
#| "To facilitate this, as well as give you more control over which packages "
@@ -1755,7 +1934,7 @@ msgstr ""
"los paquetes listados en el fichero de control."
#. type: textblock
-#: debhelper.pod:785
+#: debhelper.pod:887
msgid ""
"First, any package whose B<Architecture> field in B<debian/control> does not "
"match the B<DEB_HOST_ARCH> architecture will be excluded (L<Debian Policy, "
@@ -1763,7 +1942,7 @@ msgid ""
msgstr ""
#. type: textblock
-#: debhelper.pod:789
+#: debhelper.pod:891
msgid ""
"Also, some additional packages may be excluded based on the contents of the "
"B<DEB_BUILD_PROFILES> environment variable and B<Build-Profiles> fields in "
@@ -1772,12 +1951,12 @@ msgid ""
msgstr ""
#. type: =head3
-#: debhelper.pod:794
+#: debhelper.pod:896
msgid "Interaction between package selections and Build-Profiles"
msgstr ""
#. type: textblock
-#: debhelper.pod:796
+#: debhelper.pod:898
msgid ""
"Build-Profiles affect which packages are included in the package selections "
"mechanisms in debhelper. Generally, the package selections are described "
@@ -1787,19 +1966,19 @@ msgid ""
msgstr ""
#. type: =item
-#: debhelper.pod:804
+#: debhelper.pod:906
msgid "-a/--arch, -i/--indep OR no selection options (a raw \"dh_X\" call)"
msgstr ""
#. type: textblock
-#: debhelper.pod:806
+#: debhelper.pod:908
msgid ""
"The package disabled by Build-Profiles is silently excluded from the "
"selection."
msgstr ""
#. type: textblock
-#: debhelper.pod:809
+#: debhelper.pod:911
msgid ""
"Note you will receive a warning if I<all> packages related to these "
"selections are disabled. In that case, it generally does not make sense to "
@@ -1808,32 +1987,32 @@ msgstr ""
# type: =item
#. type: =item
-#: debhelper.pod:813
+#: debhelper.pod:915
#, fuzzy
#| msgid "B<-N>I<package>, B<--no-package=>I<package>"
msgid "-N I<package> / --no-package I<package>"
msgstr "B<-N>I<paquete>, B<--no-package=>I<paquete>"
#. type: textblock
-#: debhelper.pod:815
+#: debhelper.pod:917
msgid "The option is accepted and effectively does nothing."
msgstr ""
# type: =item
#. type: =item
-#: debhelper.pod:817
+#: debhelper.pod:919
#, fuzzy
#| msgid "B<-p>I<package>, B<--package=>I<package>"
msgid "-p I<package> / --package I<package>"
msgstr "B<-p>I<paquete>, B<--package=>I<paquete>"
#. type: textblock
-#: debhelper.pod:819
+#: debhelper.pod:921
msgid "The option is accepted, but debhelper will not act on the package."
msgstr ""
#. type: textblock
-#: debhelper.pod:823
+#: debhelper.pod:925
msgid ""
"Note that it does not matter whether a package is enabled or disabled by "
"default."
@@ -1841,13 +2020,13 @@ msgstr ""
# type: =head2
#. type: =head2
-#: debhelper.pod:826
+#: debhelper.pod:928
msgid "Automatic generation of Debian install scripts"
msgstr "Generación automática de los scripts de instalación de Debian"
# type: textblock
#. type: textblock
-#: debhelper.pod:828
+#: debhelper.pod:930
msgid ""
"Some debhelper commands will automatically generate parts of Debian "
"maintainer scripts. If you want these automatically generated things "
@@ -1865,7 +2044,7 @@ msgstr ""
# type: textblock
#. type: textblock
-#: debhelper.pod:835
+#: debhelper.pod:937
msgid ""
"If a script does not exist at all and debhelper needs to add something to "
"it, then debhelper will create the complete script."
@@ -1875,7 +2054,7 @@ msgstr ""
# type: textblock
#. type: textblock
-#: debhelper.pod:838
+#: debhelper.pod:940
msgid ""
"All debhelper commands that automatically generate code in this way let it "
"be disabled by the -n parameter (see above)."
@@ -1885,7 +2064,7 @@ msgstr ""
# type: textblock
#. type: textblock
-#: debhelper.pod:841
+#: debhelper.pod:943
msgid ""
"Note that the inserted code will be shell code, so you cannot directly use "
"it in a Perl script. If you would like to embed it into a Perl script, here "
@@ -1898,7 +2077,7 @@ msgstr ""
"caso comprobé que $1, $2, etc se definen con la orden «set»):"
#. type: verbatim
-#: debhelper.pod:846
+#: debhelper.pod:948
#, no-wrap
msgid ""
" my $temp=\"set -e\\nset -- @ARGV\\n\" . << 'EOF';\n"
@@ -1918,12 +2097,12 @@ msgstr ""
# type: =head2
#. type: =head2
-#: debhelper.pod:859
+#: debhelper.pod:961
msgid "Automatic generation of miscellaneous dependencies."
msgstr "Generación automática de diversas dependencias."
#. type: textblock
-#: debhelper.pod:861
+#: debhelper.pod:963
msgid ""
"Some debhelper commands may make the generated package need to depend on "
"some other packages. For example, if you use L<dh_installdebconf(1)>, your "
@@ -1943,7 +2122,7 @@ msgstr ""
# type: textblock
#. type: textblock
-#: debhelper.pod:869
+#: debhelper.pod:971
msgid ""
"All commands of this type, besides documenting what dependencies may be "
"needed on their man pages, will automatically generate a substvar called B<"
@@ -1958,7 +2137,7 @@ msgstr ""
# type: textblock
#. type: textblock
-#: debhelper.pod:874
+#: debhelper.pod:976
msgid ""
"This is entirely independent of the standard B<${shlibs:Depends}> generated "
"by L<dh_makeshlibs(1)>, and the B<${perl:Depends}> generated by "
@@ -1972,13 +2151,13 @@ msgstr ""
# type: =head2
#. type: =head2
-#: debhelper.pod:879
+#: debhelper.pod:981
msgid "Package build directories"
msgstr "Directorios de construcción del paquete"
# type: textblock
#. type: textblock
-#: debhelper.pod:881
+#: debhelper.pod:983
msgid ""
"By default, all debhelper programs assume that the temporary directory used "
"for assembling the tree of files in a package is debian/I<package>."
@@ -1989,7 +2168,7 @@ msgstr ""
# type: textblock
#. type: textblock
-#: debhelper.pod:884
+#: debhelper.pod:986
msgid ""
"Sometimes, you might want to use some other temporary directory. This is "
"supported by the B<-P> flag. For example, \"B<dh_installdocs -Pdebian/tmp>"
@@ -2009,13 +2188,13 @@ msgstr ""
# type: =head2
#. type: =head2
-#: debhelper.pod:892
+#: debhelper.pod:994
msgid "udebs"
msgstr "udebs"
# type: textblock
#. type: textblock
-#: debhelper.pod:894
+#: debhelper.pod:996
msgid ""
"Debhelper includes support for udebs. To create a udeb with debhelper, add "
"\"B<Package-Type: udeb>\" to the package's stanza in F<debian/control>. "
@@ -2034,12 +2213,12 @@ msgstr ""
# type: =head1
#. type: =head1
-#: debhelper.pod:901
+#: debhelper.pod:1003
msgid "ENVIRONMENT"
msgstr "ENTORNO"
#. type: textblock
-#: debhelper.pod:903
+#: debhelper.pod:1005
msgid ""
"The following environment variables can influence the behavior of "
"debhelper. It is important to note that these must be actual environment "
@@ -2050,13 +2229,13 @@ msgstr ""
# type: =item
#. type: =item
-#: debhelper.pod:911
+#: debhelper.pod:1013
msgid "B<DH_VERBOSE>"
msgstr "B<DH_VERBOSE>"
# type: textblock
#. type: textblock
-#: debhelper.pod:913
+#: debhelper.pod:1015
#, fuzzy
#| msgid ""
#| "Set to B<1> to enable verbose mode. Debhelper will output every command "
@@ -2071,14 +2250,14 @@ msgstr ""
# type: =item
#. type: =item
-#: debhelper.pod:916
+#: debhelper.pod:1018
#, fuzzy
#| msgid "B<DH_COMPAT>"
msgid "B<DH_QUIET>"
msgstr "B<DH_COMPAT>"
#. type: textblock
-#: debhelper.pod:918
+#: debhelper.pod:1020
msgid ""
"Set to B<1> to enable quiet mode. Debhelper will not output commands calling "
"the upstream build system nor will dh print which subcommands are called and "
@@ -2089,13 +2268,13 @@ msgstr ""
# type: =item
#. type: =item
-#: debhelper.pod:925
+#: debhelper.pod:1027
msgid "B<DH_COMPAT>"
msgstr "B<DH_COMPAT>"
# type: textblock
#. type: textblock
-#: debhelper.pod:927
+#: debhelper.pod:1029
msgid ""
"Temporarily specifies what compatibility level debhelper should run at, "
"overriding any value in F<debian/compat>."
@@ -2105,25 +2284,25 @@ msgstr ""
# type: =item
#. type: =item
-#: debhelper.pod:930
+#: debhelper.pod:1032
msgid "B<DH_NO_ACT>"
msgstr "B<DH_NO_ACT>"
# type: textblock
#. type: textblock
-#: debhelper.pod:932
+#: debhelper.pod:1034
msgid "Set to B<1> to enable no-act mode."
msgstr "Defina como B<1> para habilitar el modo no-act."
# type: =item
#. type: =item
-#: debhelper.pod:934
+#: debhelper.pod:1036
msgid "B<DH_OPTIONS>"
msgstr "B<DH_OPTIONS>"
# type: textblock
#. type: textblock
-#: debhelper.pod:936
+#: debhelper.pod:1038
msgid ""
"Anything in this variable will be prepended to the command line arguments of "
"all debhelper commands."
@@ -2132,7 +2311,7 @@ msgstr ""
"de órdenes de todas las órdenes de debhelper."
#. type: textblock
-#: debhelper.pod:939
+#: debhelper.pod:1041
msgid ""
"When using L<dh(1)>, it can be passed options that will be passed on to each "
"debhelper command, which is generally better than using DH_OPTIONS."
@@ -2142,13 +2321,13 @@ msgstr ""
# type: =item
#. type: =item
-#: debhelper.pod:942
+#: debhelper.pod:1044
msgid "B<DH_ALWAYS_EXCLUDE>"
msgstr "B<DH_ALWAYS_EXCLUDE>"
# type: textblock
#. type: textblock
-#: debhelper.pod:944
+#: debhelper.pod:1046
msgid ""
"If set, this adds the value the variable is set to to the B<-X> options of "
"all commands that support the B<-X> option. Moreover, B<dh_builddeb> will "
@@ -2160,7 +2339,7 @@ msgstr ""
# type: textblock
#. type: textblock
-#: debhelper.pod:948
+#: debhelper.pod:1050
msgid ""
"This can be useful if you are doing a build from a CVS source tree, in which "
"case setting B<DH_ALWAYS_EXCLUDE=CVS> will prevent any CVS directories from "
@@ -2178,7 +2357,7 @@ msgstr ""
# type: textblock
#. type: textblock
-#: debhelper.pod:955
+#: debhelper.pod:1057
msgid ""
"Multiple things to exclude can be separated with colons, as in "
"B<DH_ALWAYS_EXCLUDE=CVS:.svn>"
@@ -2186,41 +2365,67 @@ msgstr ""
"Puede separar varias cosas a excluir mediante dos puntos, por ejemplo: "
"B<DH_ALWAYS_EXCLUDE=CVS:.svn>"
+# type: =item
+#. type: =item
+#: debhelper.pod:1060
+#, fuzzy
+#| msgid "B<DH_OPTIONS>"
+msgid "B<DH_EXTRA_ADDONS>"
+msgstr "B<DH_OPTIONS>"
+
+#. type: textblock
+#: debhelper.pod:1062
+msgid ""
+"If set, this adds the specified dh addons to be run in the appropriate "
+"places in the sequence of commands. This is equivalent to specifying the "
+"addon to run with the --with flag in the debian/rules file. Any --without "
+"calls specifying an addon in this environment variable will not be run."
+msgstr ""
+
+#. type: textblock
+#: debhelper.pod:1067
+msgid ""
+"This is intended to be used by downstreams or specific local configurations "
+"that require a debhelper addon to be run during multiple builds without "
+"having to patch a large number of rules file. If at all possible, this "
+"should be avoided in favor of a --with flag in the rules file."
+msgstr ""
+
# type: =head1
#. type: =head1
-#: debhelper.pod:960 debhelper-obsolete-compat.pod:118 dh:1113 dh_auto_build:53
-#: dh_auto_clean:55 dh_auto_configure:58 dh_auto_install:97 dh_auto_test:64
-#: dh_bugfiles:133 dh_builddeb:183 dh_clean:184 dh_compress:237 dh_fixperms:162
-#: dh_gconf:101 dh_gencontrol:199 dh_icons:75 dh_install:363
-#: dh_installcatalogs:125 dh_installchangelogs:243 dh_installcron:78
-#: dh_installdeb:217 dh_installdebconf:128 dh_installdirs:97 dh_installdocs:427
-#: dh_installemacsen:137 dh_installexamples:171 dh_installifupdown:72
-#: dh_installinfo:99 dh_installinit:370 dh_installlogcheck:81
-#: dh_installlogrotate:53 dh_installman:358 dh_installmanpages:198
-#: dh_installmenu:88 dh_installmime:63 dh_installmodules:109 dh_installpam:62
-#: dh_installppp:68 dh_installudev:100 dh_installwm:122 dh_installxfonts:92
-#: dh_link:163 dh_lintian:60 dh_listpackages:33 dh_makeshlibs:291
-#: dh_md5sums:109 dh_movefiles:161 dh_perl:159 dh_prep:70 dh_shlibdeps:201
-#: dh_strip:417 dh_testdir:63 dh_testroot:74 dh_usrlocal:132
-#: dh_systemd_enable:281 dh_systemd_start:269
+#: debhelper.pod:1074 debhelper-obsolete-compat.pod:118 dh:1093
+#: dh_auto_build:53 dh_auto_clean:55 dh_auto_configure:58 dh_auto_install:97
+#: dh_auto_test:64 dh_bugfiles:133 dh_builddeb:182 dh_clean:185 dh_compress:236
+#: dh_dwz:141 dh_fixperms:162 dh_gconf:101 dh_gencontrol:207 dh_icons:75
+#: dh_install:350 dh_installcatalogs:125 dh_installchangelogs:300
+#: dh_installcron:78 dh_installdeb:266 dh_installdebconf:128 dh_installdirs:128
+#: dh_installdocs:444 dh_installemacsen:137 dh_installexamples:175
+#: dh_installifupdown:72 dh_installinfo:107 dh_installinit:406
+#: dh_installinitramfs:86 dh_installlogcheck:81 dh_installlogrotate:53
+#: dh_installman:362 dh_installmanpages:198 dh_installmenu:88 dh_installmime:63
+#: dh_installmodules:109 dh_installpam:62 dh_installppp:68 dh_installudev:100
+#: dh_installwm:127 dh_installxfonts:96 dh_link:163 dh_lintian:60
+#: dh_listpackages:35 dh_makeshlibs:355 dh_md5sums:117 dh_movefiles:161
+#: dh_perl:159 dh_prep:70 dh_shlibdeps:199 dh_strip:426 dh_testdir:63
+#: dh_testroot:91 dh_usrlocal:136 dh_systemd_enable:281 dh_systemd_start:269
msgid "SEE ALSO"
msgstr "VÉASE TAMBIÉN"
# type: =item
#. type: =item
-#: debhelper.pod:964
+#: debhelper.pod:1078
msgid "F</usr/share/doc/debhelper/examples/>"
msgstr "F</usr/share/doc/debhelper/examples/>"
# type: textblock
#. type: textblock
-#: debhelper.pod:966
+#: debhelper.pod:1080
msgid "A set of example F<debian/rules> files that use debhelper."
msgstr "Varios ficheros de ejemplo F<debian/rules> que utilizan debhelper."
# type: =item
#. type: =item
-#: debhelper.pod:968
+#: debhelper.pod:1082
#, fuzzy
#| msgid "L<http://kitenet.net/~joey/code/debhelper/>"
msgid "L<http://joeyh.name/code/debhelper/>"
@@ -2228,43 +2433,43 @@ msgstr "L<http://kitenet.net/~joey/code/debhelper/>"
# type: textblock
#. type: textblock
-#: debhelper.pod:970
+#: debhelper.pod:1084
msgid "Debhelper web site."
msgstr "Sitio web de Debhelper."
# type: =head1
#. type: =head1
-#: debhelper.pod:974 dh:1119 dh_auto_build:59 dh_auto_clean:61
+#: debhelper.pod:1088 dh:1099 dh_auto_build:59 dh_auto_clean:61
#: dh_auto_configure:64 dh_auto_install:103 dh_auto_test:70 dh_bugfiles:141
-#: dh_builddeb:189 dh_clean:190 dh_compress:243 dh_fixperms:168 dh_gconf:107
-#: dh_gencontrol:205 dh_icons:81 dh_install:369 dh_installcatalogs:131
-#: dh_installchangelogs:249 dh_installcron:84 dh_installdeb:223
-#: dh_installdebconf:134 dh_installdirs:103 dh_installdocs:433
-#: dh_installemacsen:144 dh_installexamples:177 dh_installifupdown:78
-#: dh_installinfo:105 dh_installlogcheck:87 dh_installlogrotate:59
-#: dh_installman:364 dh_installmanpages:204 dh_installmenu:96 dh_installmime:69
-#: dh_installmodules:115 dh_installpam:68 dh_installppp:74 dh_installudev:106
-#: dh_installwm:128 dh_installxfonts:98 dh_link:169 dh_lintian:68
-#: dh_listpackages:39 dh_makeshlibs:297 dh_md5sums:115 dh_movefiles:167
-#: dh_perl:165 dh_prep:76 dh_shlibdeps:207 dh_strip:423 dh_testdir:69
-#: dh_testroot:80 dh_usrlocal:138
+#: dh_builddeb:188 dh_clean:191 dh_compress:242 dh_dwz:147 dh_fixperms:168
+#: dh_gconf:107 dh_gencontrol:213 dh_icons:81 dh_install:356
+#: dh_installcatalogs:131 dh_installchangelogs:306 dh_installcron:84
+#: dh_installdeb:272 dh_installdebconf:134 dh_installdirs:134
+#: dh_installdocs:450 dh_installemacsen:144 dh_installexamples:181
+#: dh_installifupdown:78 dh_installinfo:113 dh_installlogcheck:87
+#: dh_installlogrotate:59 dh_installman:368 dh_installmanpages:204
+#: dh_installmenu:96 dh_installmime:69 dh_installmodules:115 dh_installpam:68
+#: dh_installppp:74 dh_installudev:106 dh_installwm:133 dh_installxfonts:102
+#: dh_link:169 dh_lintian:68 dh_listpackages:41 dh_makeshlibs:361
+#: dh_md5sums:123 dh_movefiles:167 dh_perl:165 dh_prep:76 dh_shlibdeps:205
+#: dh_strip:432 dh_testdir:69 dh_testroot:97 dh_usrlocal:142
msgid "AUTHOR"
msgstr "AUTOR"
# type: textblock
#. type: textblock
-#: debhelper.pod:976 dh:1121 dh_auto_build:61 dh_auto_clean:63
-#: dh_auto_configure:66 dh_auto_install:105 dh_auto_test:72 dh_builddeb:191
-#: dh_clean:192 dh_compress:245 dh_fixperms:170 dh_gencontrol:207
-#: dh_install:371 dh_installchangelogs:251 dh_installcron:86 dh_installdeb:225
-#: dh_installdebconf:136 dh_installdirs:105 dh_installdocs:435
-#: dh_installemacsen:146 dh_installexamples:179 dh_installifupdown:80
-#: dh_installinfo:107 dh_installinit:378 dh_installlogrotate:61
-#: dh_installman:366 dh_installmanpages:206 dh_installmenu:98 dh_installmime:71
+#: debhelper.pod:1090 dh:1101 dh_auto_build:61 dh_auto_clean:63
+#: dh_auto_configure:66 dh_auto_install:105 dh_auto_test:72 dh_builddeb:190
+#: dh_clean:193 dh_compress:244 dh_fixperms:170 dh_gencontrol:215
+#: dh_install:358 dh_installchangelogs:308 dh_installcron:86 dh_installdeb:274
+#: dh_installdebconf:136 dh_installdirs:136 dh_installdocs:452
+#: dh_installemacsen:146 dh_installexamples:183 dh_installifupdown:80
+#: dh_installinfo:115 dh_installinit:414 dh_installlogrotate:61
+#: dh_installman:370 dh_installmanpages:206 dh_installmenu:98 dh_installmime:71
#: dh_installmodules:117 dh_installpam:70 dh_installppp:76 dh_installudev:108
-#: dh_installwm:130 dh_installxfonts:100 dh_link:171 dh_listpackages:41
-#: dh_makeshlibs:299 dh_md5sums:117 dh_movefiles:169 dh_prep:78
-#: dh_shlibdeps:209 dh_strip:425 dh_testdir:71 dh_testroot:82
+#: dh_installwm:135 dh_installxfonts:104 dh_link:171 dh_listpackages:43
+#: dh_makeshlibs:363 dh_md5sums:125 dh_movefiles:169 dh_prep:78
+#: dh_shlibdeps:207 dh_strip:434 dh_testdir:71 dh_testroot:99
msgid "Joey Hess <joeyh@debian.org>"
msgstr "Joey Hess <joeyh@debian.org>"
@@ -2465,31 +2670,31 @@ msgstr ""
# type: textblock
#. type: textblock
-#: debhelper-obsolete-compat.pod:120 dh:1115 dh_auto_build:55 dh_auto_clean:57
-#: dh_auto_configure:60 dh_auto_install:99 dh_auto_test:66 dh_builddeb:185
-#: dh_clean:186 dh_compress:239 dh_fixperms:164 dh_gconf:103 dh_gencontrol:201
-#: dh_install:365 dh_installcatalogs:127 dh_installchangelogs:245
-#: dh_installcron:80 dh_installdeb:219 dh_installdebconf:130 dh_installdirs:99
-#: dh_installdocs:429 dh_installexamples:173 dh_installifupdown:74
-#: dh_installinfo:101 dh_installinit:372 dh_installlogcheck:83
-#: dh_installlogrotate:55 dh_installman:360 dh_installmanpages:200
-#: dh_installmime:65 dh_installmodules:111 dh_installpam:64 dh_installppp:70
-#: dh_installudev:102 dh_installwm:124 dh_installxfonts:94 dh_link:165
-#: dh_listpackages:35 dh_makeshlibs:293 dh_md5sums:111 dh_movefiles:163
-#: dh_perl:161 dh_prep:72 dh_strip:419 dh_testdir:65 dh_testroot:76
-#: dh_usrlocal:134 dh_systemd_start:271
+#: debhelper-obsolete-compat.pod:120 dh:1095 dh_auto_build:55 dh_auto_clean:57
+#: dh_auto_configure:60 dh_auto_install:99 dh_auto_test:66 dh_builddeb:184
+#: dh_clean:187 dh_compress:238 dh_dwz:143 dh_fixperms:164 dh_gconf:103
+#: dh_gencontrol:209 dh_install:352 dh_installcatalogs:127
+#: dh_installchangelogs:302 dh_installcron:80 dh_installdeb:268
+#: dh_installdebconf:130 dh_installdirs:130 dh_installdocs:446
+#: dh_installexamples:177 dh_installifupdown:74 dh_installinfo:109
+#: dh_installlogcheck:83 dh_installlogrotate:55 dh_installman:364
+#: dh_installmanpages:200 dh_installmime:65 dh_installmodules:111
+#: dh_installpam:64 dh_installppp:70 dh_installudev:102 dh_installwm:129
+#: dh_installxfonts:98 dh_link:165 dh_listpackages:37 dh_makeshlibs:357
+#: dh_md5sums:119 dh_movefiles:163 dh_perl:161 dh_prep:72 dh_strip:428
+#: dh_testdir:65 dh_testroot:93 dh_usrlocal:138 dh_systemd_start:271
msgid "L<debhelper(7)>"
msgstr "L<debhelper(7)>"
# type: =head1
#. type: =head1
-#: debhelper-obsolete-compat.pod:122 dh_installinit:376 dh_systemd_enable:285
+#: debhelper-obsolete-compat.pod:122 dh_installinit:412 dh_systemd_enable:285
#: dh_systemd_start:273
msgid "AUTHORS"
msgstr "AUTORES"
#. type: textblock
-#: debhelper-obsolete-compat.pod:124
+#: debhelper-obsolete-compat.pod:124 dh_dwz:149
msgid "Niels Thykier <niels@thykier.net>"
msgstr ""
@@ -2504,7 +2709,7 @@ msgid "dh - debhelper command sequencer"
msgstr "dh - Secuenciador de órdenes de debhelper"
#. type: textblock
-#: dh:17
+#: dh:18
msgid ""
"B<dh> I<sequence> [B<--with> I<addon>[B<,>I<addon> ...]] [B<--list>] "
"[S<I<debhelper options>>]"
@@ -2513,7 +2718,7 @@ msgstr ""
"[S<I<opciones-de-debhelper>>]"
#. type: textblock
-#: dh:21
+#: dh:22
msgid ""
"B<dh> runs a sequence of debhelper commands. The supported I<sequence>s "
"correspond to the targets of a F<debian/rules> file: B<build-arch>, B<build-"
@@ -2526,12 +2731,12 @@ msgstr ""
"B<install-arch>, B<install>, B<binary-arch>, B<binary-indep>, y B<binary>."
#. type: =head1
-#: dh:26
+#: dh:27
msgid "OVERRIDE TARGETS"
msgstr "OBJETIVOS «OVERRIDE»"
#. type: textblock
-#: dh:28
+#: dh:29
msgid ""
"A F<debian/rules> file using B<dh> can override the command that is run at "
"any step in a sequence, by defining an override target."
@@ -2541,7 +2746,7 @@ msgstr ""
"«override»."
#. type: textblock
-#: dh:31
+#: dh:32
#, fuzzy
#| msgid ""
#| "To override I<dh_command>, add a target named B<override_>I<dh_command> "
@@ -2566,7 +2771,7 @@ msgstr ""
"la versión 7.0.50 o superior de debhelper."
#. type: textblock
-#: dh:37
+#: dh:38
msgid ""
"Override targets can also be defined to run only when building architecture "
"dependent or architecture independent packages. Use targets with names like "
@@ -2583,28 +2788,29 @@ msgstr ""
# type: =head1
#. type: =head1
-#: dh:44 dh_auto_build:32 dh_auto_clean:33 dh_auto_configure:35
+#: dh:45 dh_auto_build:32 dh_auto_clean:33 dh_auto_configure:35
#: dh_auto_install:46 dh_auto_test:34 dh_bugfiles:53 dh_builddeb:34 dh_clean:47
-#: dh_compress:52 dh_fixperms:40 dh_gconf:42 dh_gencontrol:38 dh_icons:33
-#: dh_install:72 dh_installcatalogs:53 dh_installchangelogs:62
-#: dh_installcron:43 dh_installdebconf:64 dh_installdirs:42 dh_installdocs:86
-#: dh_installemacsen:56 dh_installexamples:37 dh_installifupdown:42
-#: dh_installinfo:34 dh_installinit:73 dh_installlogcheck:45
-#: dh_installlogrotate:25 dh_installman:79 dh_installmanpages:43
-#: dh_installmenu:44 dh_installmodules:41 dh_installpam:34 dh_installppp:38
-#: dh_installudev:34 dh_installwm:38 dh_link:66 dh_makeshlibs:52 dh_md5sums:31
-#: dh_movefiles:41 dh_perl:34 dh_prep:29 dh_shlibdeps:30 dh_strip:38
-#: dh_testdir:26 dh_usrlocal:49 dh_systemd_enable:83 dh_systemd_start:33
+#: dh_compress:52 dh_dwz:26 dh_fixperms:40 dh_gconf:42 dh_gencontrol:38
+#: dh_icons:33 dh_install:66 dh_installcatalogs:53 dh_installchangelogs:73
+#: dh_installcron:43 dh_installdebconf:64 dh_installdirs:42 dh_installdocs:90
+#: dh_installemacsen:56 dh_installexamples:41 dh_installifupdown:42
+#: dh_installinfo:38 dh_installinit:78 dh_installinitramfs:43
+#: dh_installlogcheck:45 dh_installlogrotate:25 dh_installman:83
+#: dh_installmanpages:43 dh_installmenu:44 dh_installmodules:41
+#: dh_installpam:34 dh_installppp:38 dh_installudev:34 dh_installwm:38
+#: dh_link:66 dh_makeshlibs:52 dh_md5sums:31 dh_movefiles:41 dh_perl:34
+#: dh_prep:29 dh_shlibdeps:30 dh_strip:38 dh_testdir:26 dh_usrlocal:50
+#: dh_systemd_enable:83 dh_systemd_start:33
msgid "OPTIONS"
msgstr "OPCIONES"
#. type: =item
-#: dh:48
+#: dh:49
msgid "B<--with> I<addon>[B<,>I<addon> ...]"
msgstr "B<--with> I<extensión>[B<,>I<extensión>,...]"
#. type: textblock
-#: dh:50
+#: dh:51
msgid ""
"Add the debhelper commands specified by the given addon to appropriate "
"places in the sequence of commands that is run. This option can be repeated "
@@ -2620,14 +2826,27 @@ msgstr ""
"órdenes de debhelper. Para más documentación sobre la interfaz de extensión "
"de secuencia consulte el fichero F<PROGRAMMING>."
+#. type: textblock
+#: dh:58
+msgid ""
+"A B<Build-Depends> relation on the package B<dh-sequence->I<addon> implies a "
+"B<--with> I<addon>. This avoids the need for an explicit B<--with> in "
+"F<debian/rules> that only duplicates what is already declared via the build "
+"dependencies in F<debian/control>. Note that only relations in the B<Build-"
+"Depends> field are considered (i.e. B<Build-Depends-Indep> and B<Build-"
+"Depends-Arch> are deliberately unsupported). Please keep in mind that B<dh> "
+"insists on \"simple\" relations (e.g. a relation like \"B<dh-sequence-"
+">I<addon> | B<some-other-pkg>\" will I<not> imply B<--with> I<addon>)."
+msgstr ""
+
# type: =item
#. type: =item
-#: dh:57
+#: dh:68
msgid "B<--without> I<addon>"
msgstr "B<--without> I<extensión>"
#. type: textblock
-#: dh:59
+#: dh:70
msgid ""
"The inverse of B<--with>, disables using the given addon. This option can be "
"repeated more than once, or multiple addons to disable can be listed, "
@@ -2638,19 +2857,19 @@ msgstr ""
"extensiones que desactivar."
#. type: textblock
-#: dh:65
+#: dh:76
msgid "List all available addons."
msgstr "Lista todas las extensiones disponibles."
#. type: textblock
-#: dh:67
+#: dh:78
msgid ""
"When called only with this option, B<dh> can be called from any directory (i."
"e. it does not need access to files from a source package)."
msgstr ""
#. type: textblock
-#: dh:73
+#: dh:84
msgid ""
"Prints commands that would run for a given sequence, but does not run them."
msgstr ""
@@ -2658,14 +2877,14 @@ msgstr ""
"ejecuta."
#. type: textblock
-#: dh:75
+#: dh:86
msgid ""
"Note that dh normally skips running commands that it knows will do nothing. "
"With --no-act, the full list of commands in a sequence is printed."
msgstr ""
#. type: textblock
-#: dh:80
+#: dh:91
msgid ""
"Other options passed to B<dh> are passed on to each command it runs. This "
"can be used to set an option like B<-v> or B<-X> or B<-N>, as well as for "
@@ -2677,13 +2896,13 @@ msgstr ""
# type: =head1
#. type: =head1
-#: dh:84 dh_installdocs:167 dh_installman:110 dh_link:88 dh_makeshlibs:109
+#: dh:95 dh_installdocs:181 dh_installman:114 dh_link:88 dh_makeshlibs:155
#: dh_shlibdeps:78
msgid "EXAMPLES"
msgstr "EJEMPLOS"
#. type: textblock
-#: dh:86
+#: dh:97
msgid ""
"To see what commands are included in a sequence, without actually doing "
"anything:"
@@ -2692,7 +2911,7 @@ msgstr ""
"realidad:"
#. type: verbatim
-#: dh:89
+#: dh:100
#, no-wrap
msgid ""
"\tdh binary-arch --no-act\n"
@@ -2702,7 +2921,7 @@ msgstr ""
"\n"
#. type: textblock
-#: dh:91
+#: dh:102
msgid ""
"This is a very simple rules file, for packages where the default sequences "
"of commands work with no additional options."
@@ -2711,7 +2930,7 @@ msgstr ""
"predeterminadas de órdenes funcionan sin opciones adicionales."
#. type: verbatim
-#: dh:94 dh:115 dh:128
+#: dh:105 dh:126 dh:139
#, no-wrap
msgid ""
"\t#!/usr/bin/make -f\n"
@@ -2725,7 +2944,7 @@ msgstr ""
"\n"
#. type: textblock
-#: dh:98
+#: dh:109
msgid ""
"Often you'll want to pass an option to a specific debhelper command. The "
"easy way to do with is by adding an override target for that command."
@@ -2735,7 +2954,7 @@ msgstr ""
"para esa orden."
#. type: verbatim
-#: dh:101 dh:185 dh:196
+#: dh:112 dh:196 dh:207
#, no-wrap
msgid ""
"\t#!/usr/bin/make -f\n"
@@ -2749,7 +2968,7 @@ msgstr ""
"\t\n"
#. type: verbatim
-#: dh:105
+#: dh:116
#, no-wrap
msgid ""
"\toverride_dh_strip:\n"
@@ -2761,7 +2980,7 @@ msgstr ""
"\t\n"
#. type: verbatim
-#: dh:108
+#: dh:119
#, no-wrap
msgid ""
"\toverride_dh_auto_configure:\n"
@@ -2773,7 +2992,7 @@ msgstr ""
"\n"
#. type: textblock
-#: dh:111
+#: dh:122
msgid ""
"Sometimes the automated L<dh_auto_configure(1)> and L<dh_auto_build(1)> "
"can't guess what to do for a strange package. Here's how to avoid running "
@@ -2785,7 +3004,7 @@ msgstr ""
"ejecutar sus propias órdenes."
#. type: verbatim
-#: dh:119
+#: dh:130
#, no-wrap
msgid ""
"\toverride_dh_auto_configure:\n"
@@ -2797,7 +3016,7 @@ msgstr ""
"\n"
#. type: verbatim
-#: dh:122
+#: dh:133
#, no-wrap
msgid ""
"\toverride_dh_auto_build:\n"
@@ -2809,7 +3028,7 @@ msgstr ""
"\n"
#. type: textblock
-#: dh:125
+#: dh:136
msgid ""
"Another common case is wanting to do something manually before or after a "
"particular debhelper command is run."
@@ -2818,7 +3037,7 @@ msgstr ""
"se ejecute una orden en particular de debhelper."
#. type: verbatim
-#: dh:132
+#: dh:143
#, no-wrap
msgid ""
"\toverride_dh_fixperms:\n"
@@ -2832,7 +3051,7 @@ msgstr ""
"\n"
#. type: textblock
-#: dh:136
+#: dh:147
#, fuzzy
#| msgid ""
#| "Python tools are not run by dh by default, due to the continual change in "
@@ -2848,7 +3067,7 @@ msgstr ""
"B<dh_python2>."
#. type: verbatim
-#: dh:139
+#: dh:150
#, no-wrap
msgid ""
"\t#!/usr/bin/make -f\n"
@@ -2862,7 +3081,7 @@ msgstr ""
"\n"
#. type: textblock
-#: dh:143
+#: dh:154
msgid ""
"Here is how to force use of Perl's B<Module::Build> build system, which can "
"be necessary if debhelper wrongly detects that the package uses MakeMaker."
@@ -2872,7 +3091,7 @@ msgstr ""
"detecta erróneamente que el paquete utiliza MakeMaker."
#. type: verbatim
-#: dh:147
+#: dh:158
#, no-wrap
msgid ""
"\t#!/usr/bin/make -f\n"
@@ -2886,7 +3105,7 @@ msgstr ""
"\n"
#. type: textblock
-#: dh:151
+#: dh:162
msgid ""
"Here is an example of overriding where the B<dh_auto_>I<*> commands find the "
"package's source, for a package where the source is located in a "
@@ -2897,7 +3116,7 @@ msgstr ""
"en el que las fuentes se ubican en un subdirectorio."
#. type: verbatim
-#: dh:155
+#: dh:166
#, no-wrap
msgid ""
"\t#!/usr/bin/make -f\n"
@@ -2911,7 +3130,7 @@ msgstr ""
"\n"
#. type: textblock
-#: dh:159
+#: dh:170
msgid ""
"And here is an example of how to tell the B<dh_auto_>I<*> commands to build "
"in a subdirectory, which will be removed on B<clean>."
@@ -2921,7 +3140,7 @@ msgstr ""
"B<clean>."
#. type: verbatim
-#: dh:162
+#: dh:173
#, no-wrap
msgid ""
"\t#!/usr/bin/make -f\n"
@@ -2935,7 +3154,7 @@ msgstr ""
"\n"
#. type: textblock
-#: dh:166
+#: dh:177
#, fuzzy
#| msgid ""
#| "If your package can be built in parallel, you can support parallel "
@@ -2949,7 +3168,7 @@ msgstr ""
"j> funcionará."
#. type: verbatim
-#: dh:169
+#: dh:180
#, no-wrap
msgid ""
"\t#!/usr/bin/make -f\n"
@@ -2963,14 +3182,14 @@ msgstr ""
"\n"
#. type: textblock
-#: dh:173
+#: dh:184
msgid ""
"If your package cannot be built reliably while using multiple threads, "
"please pass B<--no-parallel> to dh (or the relevant B<dh_auto_>I<*> command):"
msgstr ""
#. type: verbatim
-#: dh:178
+#: dh:189
#, fuzzy, no-wrap
#| msgid ""
#| "\t#!/usr/bin/make -f\n"
@@ -2989,7 +3208,7 @@ msgstr ""
"\n"
#. type: textblock
-#: dh:182
+#: dh:193
msgid ""
"Here is a way to prevent B<dh> from running several commands that you don't "
"want it to run, by defining empty override targets for each command."
@@ -2999,7 +3218,7 @@ msgstr ""
"cada orden."
#. type: verbatim
-#: dh:189
+#: dh:200
#, no-wrap
msgid ""
"\t# Commands not to run:\n"
@@ -3011,7 +3230,7 @@ msgstr ""
"\n"
#. type: textblock
-#: dh:192
+#: dh:203
msgid ""
"A long build process for a separate documentation package can be separated "
"out using architecture independent overrides. These will be skipped when "
@@ -3022,7 +3241,7 @@ msgstr ""
"omiten al ejecutar las secuencias build-arch y binary-arch."
#. type: verbatim
-#: dh:200
+#: dh:211
#, no-wrap
msgid ""
"\toverride_dh_auto_build-indep:\n"
@@ -3034,7 +3253,7 @@ msgstr ""
"\n"
#. type: verbatim
-#: dh:203
+#: dh:214
#, no-wrap
msgid ""
"\t# No tests needed for docs\n"
@@ -3046,7 +3265,7 @@ msgstr ""
"\n"
#. type: verbatim
-#: dh:206
+#: dh:217
#, no-wrap
msgid ""
"\toverride_dh_auto_install-indep:\n"
@@ -3058,7 +3277,7 @@ msgstr ""
"\n"
#. type: textblock
-#: dh:209
+#: dh:220
msgid ""
"Adding to the example above, suppose you need to chmod a file, but only when "
"building the architecture dependent package, as it's not present when "
@@ -3069,7 +3288,7 @@ msgstr ""
"arquitectura, ya que no está presente cuando solo se construye documentación."
#. type: verbatim
-#: dh:213
+#: dh:224
#, no-wrap
msgid ""
"\toverride_dh_fixperms-arch:\n"
@@ -3083,12 +3302,12 @@ msgstr ""
"\n"
#. type: =head1
-#: dh:217
+#: dh:228
msgid "INTERNALS"
msgstr "FUNCIONAMIENTO INTERNO"
#. type: textblock
-#: dh:219
+#: dh:230
msgid ""
"If you're curious about B<dh>'s internals, here's how it works under the "
"hood."
@@ -3097,7 +3316,7 @@ msgstr ""
"puede ver como funciona por dentro."
#. type: textblock
-#: dh:221
+#: dh:232
msgid ""
"In compat 10 (or later), B<dh> creates a stamp file F<debian/debhelper-build-"
"stamp> after the build step(s) are complete to avoid re-running them. It is "
@@ -3108,7 +3327,7 @@ msgid ""
msgstr ""
#. type: textblock
-#: dh:229
+#: dh:240
msgid ""
"Inside an override target, B<dh_*> commands will create a log file F<debian/"
"package.debhelper.log> to keep track of which packages the command(s) have "
@@ -3117,7 +3336,7 @@ msgid ""
msgstr ""
#. type: textblock
-#: dh:234
+#: dh:245
#, fuzzy
#| msgid ""
#| "Each debhelper command will record when it's successfully run in F<debian/"
@@ -3136,7 +3355,7 @@ msgstr ""
"esas órdenes otra vez."
#. type: textblock
-#: dh:239
+#: dh:250
#, fuzzy
#| msgid ""
#| "Each time B<dh> is run, it examines the log, and finds the last logged "
@@ -3156,7 +3375,7 @@ msgstr ""
"before>, B<--after> y B<--remaining> pueden anular este comportamiento."
#. type: textblock
-#: dh:245
+#: dh:256
msgid ""
"A sequence can also run dependent targets in debian/rules. For example, the "
"\"binary\" sequence runs the \"install\" target."
@@ -3166,7 +3385,7 @@ msgstr ""
"ejecuta el objeto «install»."
#. type: textblock
-#: dh:248
+#: dh:259
msgid ""
"B<dh> uses the B<DH_INTERNAL_OPTIONS> environment variable to pass "
"information through to debhelper commands that are run inside override "
@@ -3179,7 +3398,7 @@ msgstr ""
"entorno, como el nombre sugiere, está sujeto a cambios en cualquier momento."
#. type: textblock
-#: dh:253
+#: dh:264
msgid ""
"Commands in the B<build-indep>, B<install-indep> and B<binary-indep> "
"sequences are passed the B<-i> option to ensure they only work on "
@@ -3195,12 +3414,12 @@ msgstr ""
"la arquitectura."
#. type: =head1
-#: dh:259
+#: dh:270
msgid "DEPRECATED OPTIONS"
msgstr "OPCIONES OBSOLETAS"
#. type: textblock
-#: dh:261
+#: dh:272
#, fuzzy
#| msgid ""
#| "The following options are deprecated. It's much better to use override "
@@ -3214,51 +3433,51 @@ msgstr ""
# type: =item
#. type: =item
-#: dh:267
+#: dh:278
msgid "B<--until> I<cmd>"
msgstr "B<--until> I<orden>"
#. type: textblock
-#: dh:269
+#: dh:280
msgid "Run commands in the sequence until and including I<cmd>, then stop."
msgstr ""
"Ejecuta las órdenes en la secuencia hasta la I<orden>, incluido, y cierra."
# type: =item
#. type: =item
-#: dh:271
+#: dh:282
msgid "B<--before> I<cmd>"
msgstr "B<--before> I<orden>"
#. type: textblock
-#: dh:273
+#: dh:284
msgid "Run commands in the sequence before I<cmd>, then stop."
msgstr "Ejecuta las órdenes en la secuencia anteriores a I<orden>, y cierra."
# type: =item
#. type: =item
-#: dh:275
+#: dh:286
msgid "B<--after> I<cmd>"
msgstr "B<--after> I<orden>"
#. type: textblock
-#: dh:277
+#: dh:288
msgid "Run commands in the sequence that come after I<cmd>."
msgstr "Ejecuta las órdenes en la secuencia posteriores a I<orden>."
# type: =item
#. type: =item
-#: dh:279
+#: dh:290
msgid "B<--remaining>"
msgstr "B<--remaining>"
#. type: textblock
-#: dh:281
+#: dh:292
msgid "Run all commands in the sequence that have yet to be run."
msgstr "Ejecuta todas las órdenes en la secuencia que aún no se han ejecutado."
#. type: textblock
-#: dh:285
+#: dh:296
msgid ""
"In the above options, I<cmd> can be a full name of a debhelper command, or a "
"substring. It'll first search for a command in the sequence exactly matching "
@@ -3273,19 +3492,20 @@ msgstr ""
# type: textblock
#. type: textblock
-#: dh:1117 dh_auto_build:57 dh_auto_clean:59 dh_auto_configure:62
-#: dh_auto_install:101 dh_auto_test:68 dh_bugfiles:139 dh_builddeb:187
-#: dh_clean:188 dh_compress:241 dh_fixperms:166 dh_gconf:105 dh_gencontrol:203
-#: dh_icons:79 dh_install:367 dh_installchangelogs:247 dh_installcron:82
-#: dh_installdeb:221 dh_installdebconf:132 dh_installdirs:101
-#: dh_installdocs:431 dh_installemacsen:142 dh_installexamples:175
-#: dh_installifupdown:76 dh_installinfo:103 dh_installinit:374
-#: dh_installlogrotate:57 dh_installman:362 dh_installmanpages:202
-#: dh_installmenu:94 dh_installmime:67 dh_installmodules:113 dh_installpam:66
-#: dh_installppp:72 dh_installudev:104 dh_installwm:126 dh_installxfonts:96
-#: dh_link:167 dh_lintian:64 dh_listpackages:37 dh_makeshlibs:295
-#: dh_md5sums:113 dh_movefiles:165 dh_perl:163 dh_prep:74 dh_shlibdeps:205
-#: dh_strip:421 dh_testdir:67 dh_testroot:78 dh_usrlocal:136
+#: dh:1097 dh_auto_build:57 dh_auto_clean:59 dh_auto_configure:62
+#: dh_auto_install:101 dh_auto_test:68 dh_bugfiles:139 dh_builddeb:186
+#: dh_clean:189 dh_compress:240 dh_dwz:145 dh_fixperms:166 dh_gconf:105
+#: dh_gencontrol:211 dh_icons:79 dh_install:354 dh_installchangelogs:304
+#: dh_installcron:82 dh_installdeb:270 dh_installdebconf:132 dh_installdirs:132
+#: dh_installdocs:448 dh_installemacsen:142 dh_installexamples:179
+#: dh_installifupdown:76 dh_installinfo:111 dh_installinit:410
+#: dh_installinitramfs:92 dh_installlogrotate:57 dh_installman:366
+#: dh_installmanpages:202 dh_installmenu:94 dh_installmime:67
+#: dh_installmodules:113 dh_installpam:66 dh_installppp:72 dh_installudev:104
+#: dh_installwm:131 dh_installxfonts:100 dh_link:167 dh_lintian:64
+#: dh_listpackages:39 dh_makeshlibs:359 dh_md5sums:121 dh_movefiles:165
+#: dh_perl:163 dh_prep:74 dh_shlibdeps:203 dh_strip:430 dh_testdir:67
+#: dh_testroot:95 dh_usrlocal:140
msgid "This program is a part of debhelper."
msgstr "Este programa es parte de debhelper."
@@ -3345,8 +3565,8 @@ msgstr ""
# type: =item
#. type: =item
#: dh_auto_build:39 dh_auto_clean:40 dh_auto_configure:42 dh_auto_install:59
-#: dh_auto_test:41 dh_builddeb:48 dh_gencontrol:42 dh_installdebconf:72
-#: dh_installinit:148 dh_makeshlibs:103 dh_shlibdeps:41
+#: dh_auto_test:41 dh_builddeb:48 dh_dwz:50 dh_gencontrol:42
+#: dh_installdebconf:72 dh_installinit:167 dh_makeshlibs:149 dh_shlibdeps:41
msgid "B<--> I<params>"
msgstr "B<--> I<parámetros>"
@@ -3679,13 +3899,14 @@ msgstr ""
#. type: =head1
#: dh_bugfiles:25 dh_clean:34 dh_compress:35 dh_gconf:26 dh_install:40
-#: dh_installcatalogs:39 dh_installchangelogs:38 dh_installcron:24
-#: dh_installdeb:25 dh_installdebconf:37 dh_installdirs:28 dh_installdocs:36
-#: dh_installemacsen:30 dh_installexamples:27 dh_installifupdown:25
-#: dh_installinfo:24 dh_installinit:36 dh_installlogcheck:24 dh_installman:69
-#: dh_installmenu:28 dh_installmime:24 dh_installmodules:31 dh_installpam:24
-#: dh_installppp:24 dh_installudev:24 dh_installwm:28 dh_link:46 dh_lintian:24
-#: dh_makeshlibs:29 dh_movefiles:29 dh_systemd_enable:41
+#: dh_installcatalogs:39 dh_installchangelogs:49 dh_installcron:24
+#: dh_installdeb:25 dh_installdebconf:37 dh_installdirs:28 dh_installdocs:40
+#: dh_installemacsen:30 dh_installexamples:31 dh_installifupdown:25
+#: dh_installinfo:28 dh_installinit:41 dh_installinitramfs:30
+#: dh_installlogcheck:24 dh_installman:73 dh_installmenu:28 dh_installmime:24
+#: dh_installmodules:31 dh_installpam:24 dh_installppp:24 dh_installudev:24
+#: dh_installwm:28 dh_link:46 dh_lintian:24 dh_makeshlibs:29 dh_movefiles:29
+#: dh_systemd_enable:41
msgid "FILES"
msgstr "FICHEROS"
@@ -3957,7 +4178,7 @@ msgstr ""
# type: =item
#. type: =item
-#: dh_clean:51 dh_installchangelogs:66
+#: dh_clean:51 dh_installchangelogs:77
msgid "B<-k>, B<--keep>"
msgstr "B<-k>, B<--keep>"
@@ -4136,7 +4357,7 @@ msgstr ""
# type: =item
#. type: =item
-#: dh_compress:68 dh_installdocs:160 dh_installexamples:78 dh_installinfo:53
+#: dh_compress:68 dh_installdocs:174 dh_installexamples:82 dh_installinfo:57
#: dh_installmanpages:47 dh_movefiles:58 dh_testdir:30
msgid "I<file> ..."
msgstr "I<fichero> ..."
@@ -4149,7 +4370,7 @@ msgstr "Añade estos ficheros a la lista de ficheros a comprimir."
# type: =head1
#. type: =head1
-#: dh_compress:74 dh_perl:64 dh_strip:133 dh_usrlocal:65
+#: dh_compress:74 dh_perl:64 dh_strip:133 dh_usrlocal:66
msgid "CONFORMS TO"
msgstr "CONFORME A"
@@ -4159,6 +4380,105 @@ msgstr "CONFORME A"
msgid "Debian policy, version 3.0"
msgstr "Normas de Debian, versión 3.0"
+#. type: textblock
+#: dh_dwz:5
+msgid "dh_dwz - optimize DWARF debug information in ELF binaries via dwz"
+msgstr ""
+
+# type: textblock
+#. type: textblock
+#: dh_dwz:18
+#, fuzzy
+#| msgid ""
+#| "B<dh_installdebconf> [S<I<debhelper options>>] [B<-n>] [S<B<--> "
+#| "I<params>>]"
+msgid "B<dh_dwz> [S<I<debhelper options>>] [B<-X>I<item>] [S<B<--> I<params>>]"
+msgstr ""
+"B<dh_installdebconf> [S<I<opciones-de-debhelper>>] [B<-n>] [S<B<--> "
+"I<parámetros>>]"
+
+#. type: textblock
+#: dh_dwz:22
+msgid ""
+"B<dh_dwz> is a debhelper program that will optimize the (uncompressed) size "
+"of the DWARF debug information in ELF binaries. It does so by running "
+"L<dwz(1)> on all the ELF binaries in the package."
+msgstr ""
+
+#. type: =item
+#: dh_dwz:30
+msgid "B<--dwz-multifile>, B<--no-dwz-multifile>"
+msgstr ""
+
+#. type: textblock
+#: dh_dwz:32
+msgid ""
+"Whether L<dwz(1)> should generate a I<multifile> from the ELF binaries in "
+"the same package (it does by default). When enabled, if a package ships at "
+"least 2 ELF binaries, B<dh_dwz> will instruct L<dwz(1)> to generate a "
+"multifile for the package."
+msgstr ""
+
+#. type: textblock
+#: dh_dwz:37
+msgid ""
+"Note this options may not work if a package contains more ELF binaries than "
+"can fit on a single command line. If this becomes a problem, please pass "
+"B<--no-dwz-multifile> to work around the issue."
+msgstr ""
+
+#. type: textblock
+#: dh_dwz:41
+msgid ""
+"The generated multifile will be compressed with B<objcopy --compress-debug-"
+"sections>."
+msgstr ""
+
+# type: textblock
+#. type: textblock
+#: dh_dwz:46 dh_strip:44
+msgid ""
+"Exclude files that contain I<item> anywhere in their filename from being "
+"stripped. You may use this option multiple times to build up a list of "
+"things to exclude."
+msgstr ""
+"No elimina los ficheros que contienen I<elemento> en cualquier lugar de su "
+"nombres. Puede utilizar esta opción muchas veces para construir una lista de "
+"cosas a excluir."
+
+#. type: textblock
+#: dh_dwz:52
+msgid ""
+"Pass I<params> to L<dwz(1)> when it processes ELF binaries. This is mostly "
+"useful for setting memory related parameters (e.g. -l and -L)."
+msgstr ""
+
+# type: textblock
+#. type: textblock
+#: dh_dwz:59
+#, fuzzy
+#| msgid ""
+#| "If the B<DEB_BUILD_OPTIONS> environment variable contains B<nostrip>, "
+#| "nothing will be stripped, in accordance with Debian policy (section 10.1 "
+#| "\"Binaries\")."
+msgid ""
+"If the B<DEB_BUILD_OPTIONS> environment variable contains B<nostrip>, "
+"nothing will be stripped, in accordance with Debian policy (section 10.1 "
+"\"Binaries\")."
+msgstr ""
+"Si la variable de entorno B<DEB_BUILD_OPTIONS> contiene B<nostrip>, no se "
+"eliminará nada, conforme a las normas de Debian (sección 10.1 «Binarios»)."
+
+#. type: textblock
+#: dh_dwz:63
+msgid ""
+"While this tool technically does not remove debug information from binaries, "
+"it is still skipped when the B<DEB_BUILD_OPTIONS> environment variable "
+"contains B<nostrip>. This is because B<nostrip> is often used to optimize "
+"build times (e.g. for \"build and test\"-cycles) rather than optimizing for "
+"size."
+msgstr ""
+
# type: textblock
#. type: textblock
#: dh_fixperms:5
@@ -4467,8 +4787,8 @@ msgstr ""
# type: =item
#. type: =item
#: dh_icons:37 dh_installcatalogs:57 dh_installdebconf:68 dh_installemacsen:60
-#: dh_installinit:77 dh_installmenu:48 dh_installmodules:45 dh_installwm:48
-#: dh_makeshlibs:86 dh_usrlocal:53
+#: dh_installinit:82 dh_installinitramfs:47 dh_installmenu:48
+#: dh_installmodules:45 dh_installwm:48 dh_makeshlibs:132 dh_usrlocal:54
msgid "B<-n>, B<--no-scripts>"
msgstr "B<-n>, B<--no-scripts>"
@@ -4564,7 +4884,7 @@ msgstr ""
#| "sourcedir>)."
msgid ""
"From debhelper compatibility level 7 on, B<dh_install> will fall back to "
-"looking in F<debian/tmp> for files, if it doesn't find them in the current "
+"looking in F<debian/tmp> for files, if it does not find them in the current "
"directory (or wherever you've told it to look using B<--sourcedir>)."
msgstr ""
"A partir del nivel 7 de compatibilidad de debhelper en adelante, "
@@ -4631,112 +4951,54 @@ msgstr "debian/I<paquete>.install"
#. type: textblock
#: dh_install:61
msgid ""
-"List the files that are deliberately not installed in I<any> binary "
-"package. Paths listed in this file are (I<only>) ignored by the check done "
-"via B<--list-missing> (or B<--fail-missing>). However, it is B<not> a "
-"method to exclude files from being installed. Please use B<--exclude> for "
-"that."
-msgstr ""
-
-#. type: textblock
-#: dh_install:67
-msgid ""
-"Please keep in mind that dh_install will B<not> expand wildcards in this "
-"file."
+"Used with the deprecated B<--list-missing> and B<--fail-missing> options. "
+"Please refer to L<dh_missing(1)> for the documentation of this file."
msgstr ""
# type: =item
#. type: =item
-#: dh_install:76
+#: dh_install:70
msgid "B<--list-missing>"
msgstr "B<--list-missing>"
#. type: textblock
-#: dh_install:78
-msgid "B<Deprecated>: Please use B<dh_missing --list-missing> instead."
-msgstr ""
-
-# type: textblock
-#. type: textblock
-#: dh_install:80
+#: dh_install:72
msgid ""
-"This option makes B<dh_install> keep track of the files it installs, and "
-"then at the end, compare that list with the files in the source directory. "
-"If any of the files (and symlinks) in the source directory were not "
-"installed to somewhere, it will warn on stderr about that."
+"B<Deprecated>: Please use B<dh_missing --list-missing> instead. If you use "
+"this option, B<dh_install> will call B<dh_missing> with that option after it "
+"has processed all the files. Please see L<dh_missing(1)> for the "
+"documentation of this option."
msgstr ""
-"Esta opción hace que B<dh_install> registre los ficheros que instala y, al "
-"final, compare esa lista con los ficheros en el directorio fuente. Si alguno "
-"de los ficheros (o enlaces simbólicos) en el directorio fuente no se "
-"instalaron en algún lugar, dará un aviso a través de la salida de error "
-"estándar."
-
-# type: textblock
-#. type: textblock
-#: dh_install:85
-msgid ""
-"This may be useful if you have a large package and want to make sure that "
-"you don't miss installing newly added files in new upstream releases."
-msgstr ""
-"Puede ser útil si tiene un paquete grande y quiere comprobar que no olvida "
-"instalar ningún fichero nuevo añadido en una nueva versión del programa."
-
-# type: textblock
-#. type: textblock
-#: dh_install:88
-msgid ""
-"Note that files that are excluded from being moved via the B<-X> option are "
-"not warned about."
-msgstr ""
-"Tenga en cuenta de que no avisa de los ficheros excluidos mediante la opción "
-"B<-X>."
# type: =item
#. type: =item
-#: dh_install:91
+#: dh_install:79
msgid "B<--fail-missing>"
msgstr "B<--fail-missing>"
#. type: textblock
-#: dh_install:93
-msgid "B<Deprecated>: Please use B<dh_missing --fail-missing> instead."
-msgstr ""
-
-# type: textblock
-#. type: textblock
-#: dh_install:95
+#: dh_install:81
msgid ""
-"This option is like B<--list-missing>, except if a file was missed, it will "
-"not only list the missing files, but also fail with a nonzero exit code."
+"B<Deprecated>: Please use B<dh_missing --fail-missing> instead. If you use "
+"this option, B<dh_install> will call B<dh_missing> with that option after it "
+"has processed all the files. Please see L<dh_missing(1)> for the "
+"documentation of this option."
msgstr ""
-"Esta opción es como B<--list-missing>, excepto que si olvida un fichero, no "
-"sólo se listarán los ficheros olvidados, sino que además se devolverá un "
-"código de salida distinto de cero."
-
-# type: textblock
-#. type: textblock
-#: dh_install:100 dh_installexamples:75
-msgid ""
-"Exclude files that contain I<item> anywhere in their filename from being "
-"installed."
-msgstr ""
-"No instala ficheros que contienen I<elemento> en cualquier parte de su "
-"nombre."
# type: =item
#. type: =item
-#: dh_install:103 dh_installexamples:46 dh_installinfo:43 dh_installman:93
-#: dh_movefiles:45
+#: dh_install:88 dh_installdirs:59 dh_installdocs:104 dh_installexamples:50
+#: dh_installinfo:47 dh_installman:97 dh_movefiles:45
msgid "B<--sourcedir=>I<dir>"
msgstr "B<--sourcedir=>I<directorio>"
#. type: textblock
-#: dh_install:105
+#: dh_install:90
msgid "Look in the specified directory for files to be installed."
msgstr "Busca en el directorio especificado los ficheros a instalar."
#. type: textblock
-#: dh_install:107
+#: dh_install:92
msgid ""
"Note that this is not the same as the B<--sourcedirectory> option used by "
"the B<dh_auto_>I<*> commands. You rarely need to use this option, since "
@@ -4750,13 +5012,13 @@ msgstr ""
# type: =item
#. type: =item
-#: dh_install:112
+#: dh_install:97
msgid "B<--autodest>"
msgstr "B<--autodest>"
# type: textblock
#. type: textblock
-#: dh_install:114
+#: dh_install:99
msgid ""
"Guess as the destination directory to install things to. If this is "
"specified, you should not list destination directories in F<debian/package."
@@ -4770,7 +5032,7 @@ msgstr ""
# type: textblock
#. type: textblock
-#: dh_install:119
+#: dh_install:104
msgid ""
"Strip off F<debian/tmp> (or the sourcedir if one is given) from the front of "
"the filename, if it is present, and install into the dirname of the "
@@ -4787,13 +5049,13 @@ msgstr ""
# type: =item
#. type: =item
-#: dh_install:125
+#: dh_install:110
msgid "I<file|dir> ... I<destdir>"
msgstr "I<fichero|destino> ... I<directorio-de-destino>"
# type: textblock
#. type: textblock
-#: dh_install:127
+#: dh_install:112
msgid ""
"Lists files (or directories) to install and where to install them to. The "
"files will be installed into the first package F<dh_install> acts on."
@@ -4804,13 +5066,13 @@ msgstr ""
# type: =head1
#. type: =head1
-#: dh_install:338
+#: dh_install:325
msgid "LIMITATIONS"
msgstr "LIMITACIONES"
# type: verbatim
#. type: textblock
-#: dh_install:340
+#: dh_install:327
#, fuzzy
#| msgid ""
#| "B<dh_install> cannot rename files or directories, it can only install "
@@ -4829,7 +5091,7 @@ msgstr ""
" \n"
#. type: textblock
-#: dh_install:344
+#: dh_install:331
msgid ""
"However, renaming can be achieved by using B<dh-exec> with compatibility "
"level 9 or later. An example debian/I<package>.install file using B<dh-"
@@ -4837,7 +5099,7 @@ msgid ""
msgstr ""
#. type: verbatim
-#: dh_install:348
+#: dh_install:335
#, no-wrap
msgid ""
" #!/usr/bin/dh-exec\n"
@@ -4846,24 +5108,24 @@ msgid ""
msgstr ""
#. type: textblock
-#: dh_install:351
+#: dh_install:338
msgid "Please remember the following three things:"
msgstr ""
#. type: =item
-#: dh_install:355
+#: dh_install:342
msgid ""
"* The package must be using compatibility level 9 or later (see "
"L<debhelper(7)>)"
msgstr ""
#. type: =item
-#: dh_install:357
+#: dh_install:344
msgid "* The package will need a build-dependency on dh-exec."
msgstr ""
#. type: =item
-#: dh_install:359
+#: dh_install:346
msgid "* The install file must be marked as executable."
msgstr ""
@@ -4967,8 +5229,9 @@ msgstr "No modifica los scripts F<postinst>/F<postrm>/F<prerm>."
# type: textblock
#. type: textblock
-#: dh_installcatalogs:66 dh_installemacsen:77 dh_installinit:185
-#: dh_installmodules:59 dh_installudev:52 dh_installwm:60 dh_usrlocal:61
+#: dh_installcatalogs:66 dh_installemacsen:77 dh_installinit:207
+#: dh_installinitramfs:55 dh_installmodules:59 dh_installudev:52
+#: dh_installwm:65 dh_usrlocal:62
msgid ""
"Note that this command is not idempotent. L<dh_prep(1)> should be called "
"between invocations of this command. Otherwise, it may cause multiple "
@@ -5022,19 +5285,38 @@ msgstr ""
#. type: textblock
#: dh_installchangelogs:24
+#, fuzzy
+#| msgid ""
+#| "An upstream F<changelog> file may be specified as an option. If none is "
+#| "specified, it looks for files with names that seem likely to be "
+#| "changelogs. (In compatibility level 7 and above.)"
msgid ""
"An upstream F<changelog> file may be specified as an option. If none is "
-"specified, it looks for files with names that seem likely to be changelogs. "
-"(In compatibility level 7 and above.)"
+"specified, B<dh_installchangelogs> may look for files with names that seem "
+"likely to be changelogs as described in the next paragraphs (assuming the "
+"package is using compatibility level 7 or above)."
msgstr ""
"De forma opcional, puede definir un fichero F<changelog> de la fuente de "
"software original. Si no se define, busca ficheros con nombres que indican "
"la posibilidad de que sean ficheros de cambios (a partir del nivel 7 de "
"compatibilidad y superior)."
+#. type: textblock
+#: dh_installchangelogs:29
+msgid ""
+"In non-native packages, B<dh_installchangelogs> will first look for "
+"changelog files installed by the upstream build system into F<< usr/share/"
+"doc/I<package> >> (of the package build directory) and rename the most "
+"likely candidate (if any) to F<< usr/share/doc/I<package>/changelog >>. "
+"Note that B<dh_installchangelogs> does I<not> look into any source directory "
+"(such as F<debian/tmp>). Otherwise, B<dh_installchangelogs> (at "
+"compatibility level 7 or any later) will look for changelog files in the "
+"source directory (e.g. the root or the F<docs> subdirectory)."
+msgstr ""
+
# type: textblock
#. type: textblock
-#: dh_installchangelogs:28
+#: dh_installchangelogs:39
#, fuzzy
#| msgid ""
#| "Automatically installed into usr/share/doc/I<package>/ in the package "
@@ -5047,39 +5329,39 @@ msgstr ""
"construcción del paquete."
#. type: textblock
-#: dh_installchangelogs:31
+#: dh_installchangelogs:42
msgid ""
-"If the upstream changelog is an F<html> file (determined by file extension), "
-"it will be installed as F<usr/share/doc/package/changelog.html> instead. If "
-"the html changelog is converted to plain text, that variant can be specified "
-"as a second upstream changelog file. When no plain text variant is "
-"specified, a short F<usr/share/doc/package/changelog> is generated, pointing "
-"readers at the html changelog file."
+"If the specified upstream changelog is an F<html> file (determined by file "
+"extension), it will be installed as F<usr/share/doc/package/changelog.html> "
+"instead. If the html changelog is converted to plain text, that variant can "
+"be specified as a second upstream changelog file. When no plain text variant "
+"is specified, a short F<usr/share/doc/package/changelog> is generated, "
+"pointing readers at the html changelog file."
msgstr ""
#. type: =item
-#: dh_installchangelogs:42
+#: dh_installchangelogs:53
msgid "F<debian/changelog>"
msgstr "F<debian/changelog>"
#. type: =item
-#: dh_installchangelogs:44
+#: dh_installchangelogs:55
msgid "F<debian/NEWS>"
msgstr "F<debian/NEWS>"
#. type: =item
-#: dh_installchangelogs:46
+#: dh_installchangelogs:57
msgid "debian/I<package>.changelog"
msgstr "debian/I<paquete>.changelog"
#. type: =item
-#: dh_installchangelogs:48
+#: dh_installchangelogs:59
msgid "debian/I<package>.NEWS"
msgstr "debian/I<paquete>.NEWS"
# type: textblock
#. type: textblock
-#: dh_installchangelogs:50
+#: dh_installchangelogs:61
msgid ""
"Automatically installed into usr/share/doc/I<package>/ in the package build "
"directory."
@@ -5088,7 +5370,7 @@ msgstr ""
"construcción del paquete."
#. type: textblock
-#: dh_installchangelogs:53
+#: dh_installchangelogs:64
msgid ""
"Use the package specific name if I<package> needs a different F<NEWS> or "
"F<changelog> file."
@@ -5097,7 +5379,7 @@ msgstr ""
"F<changelog> o F<NEWS> diferente."
#. type: textblock
-#: dh_installchangelogs:56
+#: dh_installchangelogs:67
msgid ""
"The F<changelog> file is installed with a name of changelog for native "
"packages, and F<changelog.Debian> for non-native packages. The F<NEWS> file "
@@ -5109,7 +5391,7 @@ msgstr ""
# type: textblock
#. type: textblock
-#: dh_installchangelogs:68
+#: dh_installchangelogs:79
msgid ""
"Keep the original name of the upstream changelog. This will be accomplished "
"by installing the upstream changelog as F<changelog>, and making a symlink "
@@ -5126,7 +5408,7 @@ msgstr ""
# type: textblock
#. type: textblock
-#: dh_installchangelogs:76
+#: dh_installchangelogs:87
msgid ""
"Exclude upstream F<changelog> files that contain I<item> anywhere in their "
"filename from being installed."
@@ -5134,15 +5416,20 @@ msgstr ""
"No se instalarán los ficheros de registro de cambios del desarrollador "
"principal que contengan I<elemento> en alguna parte de su nombre."
+#. type: textblock
+#: dh_installchangelogs:90
+msgid "Note that directory name of the changelog is also part of the match."
+msgstr ""
+
# type: =item
#. type: =item
-#: dh_installchangelogs:79
+#: dh_installchangelogs:92
msgid "I<upstream>"
msgstr "I<upstream>"
# type: textblock
#. type: textblock
-#: dh_installchangelogs:81
+#: dh_installchangelogs:94
msgid "Install this file as the upstream changelog."
msgstr ""
"Instala este fichero como el fichero de cambios del desarrollador principal."
@@ -5206,7 +5493,7 @@ msgstr ""
# type: =item
#. type: =item
-#: dh_installcron:47 dh_installifupdown:46 dh_installinit:153
+#: dh_installcron:47 dh_installifupdown:46 dh_installinit:175
#: dh_installlogcheck:49 dh_installlogrotate:29 dh_installmodules:49
#: dh_installpam:38 dh_installppp:42 dh_installudev:38 dh_systemd_enable:95
msgid "B<--name=>I<name>"
@@ -5390,6 +5677,14 @@ msgid ""
"embed arbitrary shell code in earlier compat levels."
msgstr ""
+#. type: textblock
+#: dh_installdeb:82
+msgid ""
+"The B<dh_installdeb> tool will do some basic validation of some of the "
+"commands listed in this file to catch common mistakes. The validation is "
+"enabled as a warning since compat 10 and as a hard error in compat 12."
+msgstr ""
+
# type: textblock
#. type: textblock
#: dh_installdebconf:5
@@ -5544,10 +5839,16 @@ msgstr ""
# type: textblock
#. type: textblock
#: dh_installdirs:17
-msgid "B<dh_installdirs> [S<I<debhelper options>>] [B<-A>] [S<I<dir> ...>]"
+#, fuzzy
+#| msgid ""
+#| "B<dh_movefiles> [S<I<debhelper options>>] [B<--sourcedir=>I<dir>] [B<-"
+#| "X>I<item>] S<I<file> ...>]"
+msgid ""
+"B<dh_installdirs> [S<I<debhelper options>>] [B<-A>] [B<--sourcedir=>I<dir>] "
+"[B<--create-in-sourcedir>] [S<I<dir> ...>]"
msgstr ""
-"B<dh_installdirs> [S<I<opciones-de-debhelper>>] [B<-A>] [S<I<directorio> ..."
-">]"
+"B<dh_movefiles> [S<I<opciones-de-debhelper>>] [B<--sourcedir=>I<dir>] [B<-"
+"X>I<elemento>] S<I<fichero> ...>]"
# type: textblock
#. type: textblock
@@ -5594,15 +5895,48 @@ msgstr ""
"Crea cualquier directorio especificado mediante los parámetros de la línea "
"de órdenes en TODOS los paquetes sobre los que actúa, no sólo en el primero."
-# type: =item
#. type: =item
#: dh_installdirs:51
+msgid "B<--create-in-sourcedir>, B<--no-create-in-sourcedir>"
+msgstr ""
+
+#. type: textblock
+#: dh_installdirs:53
+msgid ""
+"Whether to create the specified directories in the source directory (usually "
+"F<debian/tmp>) I<in addition to> in the package build directory (usually F<< "
+"debian/I<package> >>)."
+msgstr ""
+
+#. type: textblock
+#: dh_installdirs:57
+msgid "The default is B<--no-create-in-sourcedir>."
+msgstr ""
+
+#. type: textblock
+#: dh_installdirs:61
+msgid ""
+"Consider I<dir> the source directory for the packages acted on instead of "
+"the default (which is usually F<debian/tmp>)."
+msgstr ""
+
+#. type: textblock
+#: dh_installdirs:64
+msgid ""
+"Please note that this option is dependent on the B<--create-in-sourcedir> "
+"option (when B<--no-create-in-sourcedir> is in effect, this option does "
+"nothing in B<dh_installdirs>)."
+msgstr ""
+
+# type: =item
+#. type: =item
+#: dh_installdirs:68
msgid "I<dir> ..."
msgstr "I<directorio> ..."
# type: textblock
#. type: textblock
-#: dh_installdirs:53
+#: dh_installdirs:70
msgid ""
"Create these directories in the package build directory of the first package "
"acted on. (Or in all packages if B<-A> is specified.)"
@@ -5649,8 +5983,27 @@ msgid ""
"F<debian/copyright> file)."
msgstr ""
+# type: textblock
+#. type: textblock
+#: dh_installdocs:31 dh_installexamples:27 dh_installinfo:24 dh_installman:69
+#, fuzzy
+#| msgid ""
+#| "From debhelper compatibility level 7 on, B<dh_install> will fall back to "
+#| "looking in F<debian/tmp> for files, if it doesn't find them in the "
+#| "current directory (or whereever you've told it to look using B<--"
+#| "sourcedir>)."
+msgid ""
+"From debhelper compatibility level 11 on, B<dh_install> will fall back to "
+"looking in F<debian/tmp> for files, if it does not find them in the current "
+"directory (or wherever you've told it to look using B<--sourcedir>)."
+msgstr ""
+"A partir del nivel 7 de compatibilidad de debhelper en adelante, "
+"B<dh_install> buscará por omisión ficheros en F<debian/tmp>, si no los "
+"encuentra en el directorio actual (o en la ubicación donde indicó que mirase "
+"utilizando B<--sourcedir>)."
+
#. type: textblock
-#: dh_installdocs:31
+#: dh_installdocs:35
msgid ""
"In compat 11 and later, B<dh_installdocs> offers many of the features that "
"L<dh_install(1)> also have. Furthermore, B<dh_installdocs> also supports "
@@ -5659,22 +6012,22 @@ msgid ""
msgstr ""
#. type: =item
-#: dh_installdocs:40
+#: dh_installdocs:44
msgid "debian/I<package>.docs"
msgstr "debian/I<paquete>.docs"
#. type: textblock
-#: dh_installdocs:42
+#: dh_installdocs:46
msgid "List documentation files to be installed into I<package>."
msgstr "Lista los ficheros de documentación a instalar en el I<package>."
#. type: =item
-#: dh_installdocs:44
+#: dh_installdocs:48
msgid "F<debian/copyright>"
msgstr "F<debian/copyright>"
#. type: textblock
-#: dh_installdocs:46
+#: dh_installdocs:50
msgid ""
"The copyright file is installed into all packages, unless a more specific "
"copyright file is available."
@@ -5683,22 +6036,22 @@ msgstr ""
"disponga de un fichero «copyright» más específico."
#. type: =item
-#: dh_installdocs:49
+#: dh_installdocs:53
msgid "debian/I<package>.copyright"
msgstr "debian/I<paquete>.copyright"
#. type: =item
-#: dh_installdocs:51
+#: dh_installdocs:55
msgid "debian/I<package>.README.Debian"
msgstr "debian/I<paquete>.README.Debian"
#. type: =item
-#: dh_installdocs:53
+#: dh_installdocs:57
msgid "debian/I<package>.TODO"
msgstr "debian/I<paquete>.TODO"
#. type: textblock
-#: dh_installdocs:55
+#: dh_installdocs:59
msgid ""
"Each of these files is automatically installed if present for a I<package>."
msgstr ""
@@ -5706,18 +6059,18 @@ msgstr ""
"para el I<paquete>."
#. type: =item
-#: dh_installdocs:58
+#: dh_installdocs:62
msgid "F<debian/README.Debian>"
msgstr "F<debian/README.Debian>"
#. type: =item
-#: dh_installdocs:60
+#: dh_installdocs:64
msgid "F<debian/TODO>"
msgstr "F<debian/TODO>"
# type: textblock
#. type: textblock
-#: dh_installdocs:62
+#: dh_installdocs:66
msgid ""
"These files are installed into the first binary package listed in debian/"
"control."
@@ -5726,7 +6079,7 @@ msgstr ""
"control»."
#. type: textblock
-#: dh_installdocs:65
+#: dh_installdocs:69
msgid ""
"Note that F<README.debian> files are also installed as F<README.Debian>, and "
"F<TODO> files will be installed as F<TODO.Debian> in non-native packages."
@@ -5736,13 +6089,13 @@ msgstr ""
"nativos."
#. type: =item
-#: dh_installdocs:68
+#: dh_installdocs:72
msgid "debian/I<package>.doc-base"
msgstr "debian/I<paquete>.doc-base"
# type: textblock
#. type: textblock
-#: dh_installdocs:70
+#: dh_installdocs:74
#, fuzzy
#| msgid ""
#| "Installed as doc-base control files. Note that the doc-id will be "
@@ -5760,12 +6113,12 @@ msgstr ""
"> en el fichero de control de doc-base en cuestión."
#. type: =item
-#: dh_installdocs:76
+#: dh_installdocs:80
msgid "debian/I<package>.doc-base.*"
msgstr "debian/I<paquete>.doc-base.*"
#. type: textblock
-#: dh_installdocs:78
+#: dh_installdocs:82
msgid ""
"If your package needs to register more than one document, you need multiple "
"doc-base files, and can name them like this. In the event that multiple doc-"
@@ -5776,7 +6129,7 @@ msgstr ""
# type: textblock
#. type: textblock
-#: dh_installdocs:92 dh_installinfo:40 dh_installman:85
+#: dh_installdocs:96 dh_installinfo:44 dh_installman:89
msgid ""
"Install all files specified by command line parameters in ALL packages acted "
"on."
@@ -5786,7 +6139,7 @@ msgstr ""
# type: textblock
#. type: textblock
-#: dh_installdocs:97
+#: dh_installdocs:101
msgid ""
"Exclude files that contain I<item> anywhere in their filename from being "
"installed. Note that this includes doc-base files."
@@ -5794,16 +6147,42 @@ msgstr ""
"No instala ficheros que contienen I<elemento> en cualquier lugar de su "
"nombre. Tenga en cuenta que esto incluye ficheros de doc-base."
+#. type: textblock
+#: dh_installdocs:106 dh_installexamples:52 dh_installinfo:49 dh_installman:99
+msgid ""
+"Look in the specified directory for files to be installed. This option "
+"requires compat 11 or later (it is silently ignored in compat 10 or earlier)."
+msgstr ""
+
+#. type: textblock
+#: dh_installdocs:109 dh_installman:102
+#, fuzzy
+#| msgid ""
+#| "Note that this is not the same as the B<--sourcedirectory> option used by "
+#| "the B<dh_auto_>I<*> commands. You rarely need to use this option, since "
+#| "B<dh_install> automatically looks for files in F<debian/tmp> in debhelper "
+#| "compatibility level 7 and above."
+msgid ""
+"Note that this is not the same as the B<--sourcedirectory> option used by "
+"the B<dh_auto_>I<*> commands. You rarely need to use this option, since "
+"B<dh_installman> automatically looks for files in F<debian/tmp> in debhelper "
+"compatibility level 11 and above."
+msgstr ""
+"Tenga en cuenta que no es igual que la opción B<--sourcedirectory> utilizada "
+"por las órdenes B<dh_auto_>I<*>. Rara vez utilizará esta opción, ya que "
+"B<dh_install> busca ficheros de forma automática en F<debian/tmp> con el "
+"nivel de compatibilidad 7 y posterior."
+
# type: =item
#. type: =item
-#: dh_installdocs:100 dh_installexamples:56
+#: dh_installdocs:114 dh_installexamples:60
#, fuzzy
#| msgid "B<--mainpackage=>I<package>"
msgid "B<--doc-main-package=>I<main-package>"
msgstr "B<--mainpackage=>I<paquete>"
#. type: textblock
-#: dh_installdocs:102 dh_installexamples:58
+#: dh_installdocs:116 dh_installexamples:62
msgid ""
"Set the main package for a documentation package. This is used to install "
"the documentation of the documentation package in F<< /usr/share/doc/I<main-"
@@ -5811,7 +6190,7 @@ msgid ""
msgstr ""
#. type: textblock
-#: dh_installdocs:107 dh_installexamples:63
+#: dh_installdocs:121 dh_installexamples:67
msgid ""
"In compat 11 (or later), this option is only useful if debhelper's auto-"
"detection of the main package is wrong. The option can also be used to "
@@ -5820,7 +6199,7 @@ msgid ""
msgstr ""
#. type: textblock
-#: dh_installdocs:112
+#: dh_installdocs:126
msgid ""
"This option cannot be used when B<dh_installdocs> is instructed to act on "
"multiple packages. If you need this option, you will generally need to "
@@ -5828,7 +6207,7 @@ msgid ""
msgstr ""
#. type: textblock
-#: dh_installdocs:117
+#: dh_installdocs:131
msgid ""
"Please keep in mind that some documentation (the copyright file, README."
"Debian, etc.) will be unaffected by this option."
@@ -5836,12 +6215,12 @@ msgstr ""
# type: =item
#. type: =item
-#: dh_installdocs:120
+#: dh_installdocs:134
msgid "B<--link-doc=>I<package>"
msgstr "B<--link-doc=>I<paquete>"
#. type: textblock
-#: dh_installdocs:122
+#: dh_installdocs:136
msgid ""
"Make the documentation directory of all packages acted on be a symlink to "
"the documentation directory of I<package>. This has no effect when acting on "
@@ -5857,7 +6236,7 @@ msgstr ""
"paquete binario que se origina del mismo paquete fuente."
#. type: textblock
-#: dh_installdocs:128
+#: dh_installdocs:142
msgid ""
"debhelper will try to avoid installing files into linked documentation "
"directories that would cause conflicts with the linked package. The B<-A> "
@@ -5872,7 +6251,7 @@ msgstr ""
"F<README.Debian> y F<TODO>."
#. type: textblock
-#: dh_installdocs:134
+#: dh_installdocs:148
msgid ""
"(An older method to accomplish the same thing, which is still supported, is "
"to make the documentation directory of a package be a dangling symlink, "
@@ -5882,7 +6261,7 @@ msgstr ""
"enlace simbólico colgante, «dangling», antes de invocar B<dh_installdocs>.)"
#. type: textblock
-#: dh_installdocs:138
+#: dh_installdocs:152
msgid ""
"Please note that this option only applies to the documentation directory for "
"the package itself. When the package ships documentation for another "
@@ -5891,7 +6270,7 @@ msgid ""
msgstr ""
#. type: textblock
-#: dh_installdocs:144
+#: dh_installdocs:158
msgid ""
"B<CAVEAT 1>: If a previous version of the package was built without this "
"option and is now built with it (or vice-versa), it requires a \"dir to "
@@ -5900,24 +6279,24 @@ msgid ""
msgstr ""
#. type: textblock
-#: dh_installdocs:150
+#: dh_installdocs:164
msgid ""
"This can be done by providing a \"debian/I<package>.maintscript\" file and "
"using L<dh_installdeb(1)> to provide the relevant maintainer script snippets."
msgstr ""
#. type: textblock
-#: dh_installdocs:154
+#: dh_installdocs:168
msgid ""
"B<CAVEAT 2>: The use of B<--link-doc> should only be done when the packages "
-"have same \"architecture\" type. A link from a architecture independent "
-"package to a architecture dependent package (or vice versa) will not work. "
+"have same \"architecture\" type. A link from an architecture independent "
+"package to an architecture dependent package (or vice versa) will not work. "
"Since compat 10, debhelper will actively reject unsupported combinations."
msgstr ""
# type: textblock
#. type: textblock
-#: dh_installdocs:162
+#: dh_installdocs:176
msgid ""
"Install these files as documentation into the first package acted on. (Or in "
"all packages if B<-A> is specified)."
@@ -5927,14 +6306,14 @@ msgstr ""
# type: textblock
#. type: textblock
-#: dh_installdocs:169
+#: dh_installdocs:183
msgid "This is an example of a F<debian/package.docs> file:"
msgstr ""
"A continuación se muestra un ejemplo de un fichero F<debian/paquete.docs>:"
# type: verbatim
#. type: verbatim
-#: dh_installdocs:171
+#: dh_installdocs:185
#, no-wrap
msgid ""
" README\n"
@@ -5955,7 +6334,7 @@ msgstr ""
# type: textblock
#. type: textblock
-#: dh_installdocs:180
+#: dh_installdocs:194
msgid ""
"Note that B<dh_installdocs> will happily copy entire directory hierarchies "
"if you ask it to (similar to B<cp -a>). If it is asked to install a "
@@ -6080,7 +6459,7 @@ msgstr ""
# type: textblock
#. type: textblock
-#: dh_installemacsen:62 dh_usrlocal:55
+#: dh_installemacsen:62 dh_usrlocal:56
msgid "Do not modify F<postinst>/F<prerm> scripts."
msgstr "No modifica los scripts F<postinst>/F<prerm>."
@@ -6151,19 +6530,19 @@ msgstr ""
"construcción del paquete."
#. type: =item
-#: dh_installexamples:31
+#: dh_installexamples:35
msgid "debian/I<package>.examples"
msgstr "debian/I<paquete>.examples"
# type: textblock
#. type: textblock
-#: dh_installexamples:33
+#: dh_installexamples:37
msgid "Lists example files or directories to be installed."
msgstr "Lista ficheros de ejemplo o directorios a instalar."
# type: textblock
#. type: textblock
-#: dh_installexamples:43
+#: dh_installexamples:47
msgid ""
"Install any files specified by command line parameters in ALL packages acted "
"on."
@@ -6172,14 +6551,7 @@ msgstr ""
"órdenes en TODOS los paquetes sobre los que actúa."
#. type: textblock
-#: dh_installexamples:48 dh_installinfo:45 dh_installman:95
-msgid ""
-"Look in the specified directory for files to be installed. This option "
-"requires compat 11 or later (it is silently ignored in compat 10 or earlier)."
-msgstr ""
-
-#. type: textblock
-#: dh_installexamples:51
+#: dh_installexamples:55
#, fuzzy
#| msgid ""
#| "Note that this is not the same as the B<--sourcedirectory> option used by "
@@ -6198,7 +6570,7 @@ msgstr ""
"nivel de compatibilidad 7 y posterior."
#. type: textblock
-#: dh_installexamples:68
+#: dh_installexamples:72
msgid ""
"This option cannot be used when B<dh_installexamples> is instructed to act "
"on multiple packages. If you need this option, you will generally need to "
@@ -6207,7 +6579,17 @@ msgstr ""
# type: textblock
#. type: textblock
-#: dh_installexamples:80
+#: dh_installexamples:79
+msgid ""
+"Exclude files that contain I<item> anywhere in their filename from being "
+"installed."
+msgstr ""
+"No instala ficheros que contienen I<elemento> en cualquier parte de su "
+"nombre."
+
+# type: textblock
+#. type: textblock
+#: dh_installexamples:84
msgid ""
"Install these files (or directories) as examples into the first package "
"acted on. (Or into all packages if B<-A> is specified.)"
@@ -6217,7 +6599,7 @@ msgstr ""
# type: textblock
#. type: textblock
-#: dh_installexamples:87
+#: dh_installexamples:91
msgid ""
"Note that B<dh_installexamples> will happily copy entire directory "
"hierarchies if you ask it to (similar to B<cp -a>). If it is asked to "
@@ -6320,17 +6702,17 @@ msgstr ""
"paquete."
#. type: =item
-#: dh_installinfo:28
+#: dh_installinfo:32
msgid "debian/I<package>.info"
msgstr "debian/I<paquete>.info"
#. type: textblock
-#: dh_installinfo:30
+#: dh_installinfo:34
msgid "List info files to be installed."
msgstr "Lista los ficheros info a instalar."
#. type: textblock
-#: dh_installinfo:48
+#: dh_installinfo:52
#, fuzzy
#| msgid ""
#| "Note that this is not the same as the B<--sourcedirectory> option used by "
@@ -6350,7 +6732,7 @@ msgstr ""
# type: textblock
#. type: textblock
-#: dh_installinfo:55
+#: dh_installinfo:59
msgid ""
"Install these info files into the first package acted on. (Or in all "
"packages if B<-A> is specified)."
@@ -6390,8 +6772,11 @@ msgstr ""
msgid ""
"B<dh_installinit> is a debhelper program that is responsible for installing "
"init scripts with associated defaults files. In compatibility levels up to "
-"11, B<dh_installinit> also handled upstart job files and systemd service "
-"files."
+"and including 10, B<dh_installinit> will also install some systemd related "
+"files provided by the debian packaging (see the L</FILES> section below). "
+"In compatibility levels up to and including 11, B<dh_installinit> will also "
+"handle upstart jobs provided in the debian packaging (see the L</FILES> for "
+"more information on this as well)."
msgstr ""
"B<dh_installmime> es un programa de debhelper responsable de instalar "
"scripts de init, y sus ficheros «default» correspondientes, así como "
@@ -6399,7 +6784,7 @@ msgstr ""
# type: textblock
#. type: textblock
-#: dh_installinit:26
+#: dh_installinit:31
msgid ""
"It also automatically generates the F<postinst> and F<postrm> and F<prerm> "
"commands needed to set up the symlinks in F</etc/rc*.d/> to start and stop "
@@ -6410,7 +6795,7 @@ msgstr ""
"iniciar y detener los scripts de init."
#. type: textblock
-#: dh_installinit:30
+#: dh_installinit:35
msgid ""
"In compat 10 or earlier: If a package only ships a systemd service file and "
"no sysvinit script is provided, you may want to exclude the call to "
@@ -6419,13 +6804,13 @@ msgid ""
msgstr ""
#. type: =item
-#: dh_installinit:40
+#: dh_installinit:45
msgid "debian/I<package>.init"
msgstr "debian/I<paquete>.init"
# type: textblock
#. type: textblock
-#: dh_installinit:42
+#: dh_installinit:47
msgid ""
"If this exists, it is installed into etc/init.d/I<package> in the package "
"build directory."
@@ -6434,13 +6819,13 @@ msgstr ""
"construcción del paquete."
#. type: =item
-#: dh_installinit:45
+#: dh_installinit:50
msgid "debian/I<package>.default"
msgstr "debian/I<paquete>.default"
# type: textblock
#. type: textblock
-#: dh_installinit:47
+#: dh_installinit:52
msgid ""
"If this exists, it is installed into etc/default/I<package> in the package "
"build directory."
@@ -6449,12 +6834,12 @@ msgstr ""
"construcción del paquete."
#. type: =item
-#: dh_installinit:50
+#: dh_installinit:55
msgid "debian/I<package>.upstart"
msgstr "debian/I<paquete>.upstart"
#. type: textblock
-#: dh_installinit:52
+#: dh_installinit:57
msgid ""
"In compatibility level 11, this file will trigger an error with a reminder "
"about ensuring the proper removal of the upstart file in the previous "
@@ -6464,7 +6849,7 @@ msgstr ""
# type: textblock
#. type: textblock
-#: dh_installinit:57
+#: dh_installinit:62
#, fuzzy
#| msgid ""
#| "If this exists, it is installed into etc/init/I<package>.conf in the "
@@ -6477,7 +6862,7 @@ msgstr ""
"construcción del paquete."
#. type: =item
-#: dh_installinit:60
+#: dh_installinit:65
#, fuzzy
#| msgid "debian/I<package>.mime"
msgid "debian/I<package>.service"
@@ -6485,7 +6870,7 @@ msgstr "debian/I<paquete>.mime"
# type: textblock
#. type: textblock
-#: dh_installinit:62
+#: dh_installinit:67
#, fuzzy
#| msgid ""
#| "If this exists, it is installed into etc/init/I<package>.conf in the "
@@ -6498,7 +6883,7 @@ msgstr ""
"construcción del paquete."
#. type: =item
-#: dh_installinit:65 dh_systemd_enable:50
+#: dh_installinit:70 dh_systemd_enable:50
#, fuzzy
#| msgid "debian/I<package>.files"
msgid "debian/I<package>.tmpfile"
@@ -6506,7 +6891,7 @@ msgstr "debian/I<paquete>.files"
# type: textblock
#. type: textblock
-#: dh_installinit:67
+#: dh_installinit:72
#, fuzzy
#| msgid ""
#| "If this exists, it is installed into etc/init/I<package>.conf in the "
@@ -6521,18 +6906,18 @@ msgstr ""
# type: textblock
#. type: textblock
-#: dh_installinit:79
+#: dh_installinit:84
msgid "Do not modify F<postinst>/F<postrm>/F<prerm> scripts."
msgstr "No modifica los scripts F<postinst>/F<postrm>/F<prerm>."
# type: =item
#. type: =item
-#: dh_installinit:81
+#: dh_installinit:86
msgid "B<-o>, B<--only-scripts>"
msgstr "B<-o>, B<--only-scripts>"
#. type: textblock
-#: dh_installinit:83
+#: dh_installinit:88
#, fuzzy
#| msgid ""
#| "Only modify F<postinst>/F<postrm>/F<prerm> scripts, do not actually "
@@ -6552,7 +6937,7 @@ msgstr ""
"encuentre."
#. type: textblock
-#: dh_installinit:88
+#: dh_installinit:93
msgid ""
"B<Caveat>: This will bypass all the regular checks and I<unconditionally> "
"modify the scripts. You will almost certainly want to use this with B<-p> "
@@ -6560,7 +6945,7 @@ msgid ""
msgstr ""
#. type: verbatim
-#: dh_installinit:93
+#: dh_installinit:98
#, no-wrap
msgid ""
" override_dh_installinit:\n"
@@ -6571,13 +6956,13 @@ msgstr ""
# type: =item
#. type: =item
-#: dh_installinit:97
+#: dh_installinit:102
msgid "B<-R>, B<--restart-after-upgrade>"
msgstr "B<-R>, B<--restart-after-upgrade>"
# type: textblock
#. type: textblock
-#: dh_installinit:99
+#: dh_installinit:104
#, fuzzy
#| msgid ""
#| "Do not stop the init script until after the package upgrade has been "
@@ -6593,7 +6978,7 @@ msgstr ""
# type: textblock
#. type: textblock
-#: dh_installinit:102
+#: dh_installinit:107
#, fuzzy
#| msgid ""
#| "Do not stop the init script until after the package upgrade has been "
@@ -6609,7 +6994,7 @@ msgstr ""
# type: textblock
#. type: textblock
-#: dh_installinit:105 dh_systemd_start:45
+#: dh_installinit:110 dh_systemd_start:45
msgid ""
"This can be useful for daemons that should not have a possibly long downtime "
"during upgrade. But you should make sure that the daemon will not get "
@@ -6623,14 +7008,14 @@ msgstr ""
# type: =item
#. type: =item
-#: dh_installinit:110 dh_systemd_start:50
+#: dh_installinit:115 dh_systemd_start:50
#, fuzzy
#| msgid "B<-R>, B<--restart-after-upgrade>"
msgid "B<--no-restart-after-upgrade>"
msgstr "B<-R>, B<--restart-after-upgrade>"
#. type: textblock
-#: dh_installinit:112 dh_systemd_start:52
+#: dh_installinit:117 dh_systemd_start:52
msgid ""
"Undo a previous B<--restart-after-upgrade> (or the default of compat 10). "
"If no other options are given, this will cause the service to be stopped in "
@@ -6639,19 +7024,19 @@ msgstr ""
# type: =item
#. type: =item
-#: dh_installinit:117 dh_systemd_start:57
+#: dh_installinit:122 dh_systemd_start:57
msgid "B<-r>, B<--no-stop-on-upgrade>, B<--no-restart-on-upgrade>"
msgstr "B<-r>, B<--no-stop-on-upgrade>, B<--no-restart-on-upgrade>"
#. type: textblock
-#: dh_installinit:119
+#: dh_installinit:124
msgid ""
"Do not stop init script on upgrade. This has the side-effect of not "
"restarting the service as a part of the upgrade."
msgstr ""
#. type: textblock
-#: dh_installinit:122
+#: dh_installinit:127
msgid ""
"If you want to restart the service with minimal downtime, please use B<--"
"restart-after-upgrade> (default in compat 10 or later). If you want the "
@@ -6660,7 +7045,7 @@ msgid ""
msgstr ""
#. type: textblock
-#: dh_installinit:127
+#: dh_installinit:132
msgid ""
"Note that the B<--no-restart-on-upgrade> alias is deprecated and will be "
"removed in compat 12. This is to avoid confusion with the B<--no-restart-"
@@ -6670,13 +7055,13 @@ msgstr ""
# type: =item
#. type: =item
-#: dh_installinit:132 dh_systemd_start:61
+#: dh_installinit:137 dh_systemd_start:61
msgid "B<--no-start>"
msgstr "B<--no-start>"
# type: textblock
#. type: textblock
-#: dh_installinit:134
+#: dh_installinit:139
msgid ""
"Do not start the init script on install or upgrade, or stop it on removal. "
"Only call B<update-rc.d>. Useful for rcS scripts."
@@ -6687,13 +7072,48 @@ msgstr ""
# type: =item
#. type: =item
-#: dh_installinit:137
+#: dh_installinit:142 dh_systemd_enable:87
+#, fuzzy
+#| msgid "B<--no-act>"
+msgid "B<--no-enable>"
+msgstr "B<--no-act>"
+
+#. type: textblock
+#: dh_installinit:144
+msgid ""
+"Disable the init script on purge, but do not enable them on install. This "
+"implies a versioned dependency on B<< init-system-helpers (E<gt>= 1.51) >> "
+"as it is the first (functional) version that supports B<< update-rc.d "
+"E<lt>scriptE<gt> defaults-disabled >>."
+msgstr ""
+
+#. type: textblock
+#: dh_installinit:149
+msgid ""
+"B<Note> that this option does not affect whether the services are started. "
+"Please remember to also use B<--no-start> if the service should not be "
+"started."
+msgstr ""
+
+# type: =item
+#. type: textblock
+#: dh_installinit:153
+#, fuzzy
+#| msgid "B<-u>I<params> B<--update-rcd-params=>I<params>"
+msgid ""
+"Cannot be combined with B<-u>I<params>, B<--update-rcd-params=>I<params>, or "
+"B<--> I<params>."
+msgstr "B<-u>I<parámetros> B<--update-rcd-params=>I<parámetros>"
+
+# type: =item
+#. type: =item
+#: dh_installinit:156
msgid "B<-d>, B<--remove-d>"
msgstr "B<-d>, B<--remove-d>"
# type: textblock
#. type: textblock
-#: dh_installinit:139
+#: dh_installinit:158
msgid ""
"Remove trailing B<d> from the name of the package, and use the result for "
"the filename the upstart job file is installed as in F<etc/init/> , and for "
@@ -6711,23 +7131,33 @@ msgstr ""
# type: =item
#. type: =item
-#: dh_installinit:146
+#: dh_installinit:165
msgid "B<-u>I<params> B<--update-rcd-params=>I<params>"
msgstr "B<-u>I<parámetros> B<--update-rcd-params=>I<parámetros>"
# type: textblock
#. type: textblock
-#: dh_installinit:150
+#: dh_installinit:169
+#, fuzzy
+#| msgid ""
+#| "Pass I<params> to L<update-rc.d(8)>. If not specified, B<defaults> will "
+#| "be passed to L<update-rc.d(8)>."
msgid ""
-"Pass I<params> to L<update-rc.d(8)>. If not specified, B<defaults> will be "
-"passed to L<update-rc.d(8)>."
+"Pass I<params> to L<update-rc.d(8)>. If not specified, B<defaults> (or "
+"B<defaults-disabled> with B<--no-enable>) will be passed to L<update-rc."
+"d(8)>."
msgstr ""
"Introduce los I<parámetros> a L<update-rc.d(8)>. Si no se especifica, se "
"introduce B<defaults> a L<update-rc.d(8)>."
+#. type: textblock
+#: dh_installinit:173
+msgid "Cannot be combined with B<--no-enable>."
+msgstr ""
+
# type: textblock
#. type: textblock
-#: dh_installinit:155
+#: dh_installinit:177
msgid ""
"Install the init script (and default file) as well as upstart job file using "
"the filename I<name> instead of the default filename, which is the package "
@@ -6746,13 +7176,13 @@ msgstr ""
# type: =item
#. type: =item
-#: dh_installinit:163
+#: dh_installinit:185
msgid "B<--init-script=>I<scriptname>"
msgstr "B<--init-script=>I<nombre-script>"
# type: textblock
#. type: textblock
-#: dh_installinit:165
+#: dh_installinit:187
msgid ""
"Use I<scriptname> as the filename the init script is installed as in F<etc/"
"init.d/> (and also use it as the filename for the defaults file, if it is "
@@ -6771,7 +7201,7 @@ msgstr ""
# type: textblock
#. type: textblock
-#: dh_installinit:172
+#: dh_installinit:194
msgid ""
"This parameter is deprecated, use the B<--name> parameter instead. This "
"parameter is incompatible with the use of upstart jobs."
@@ -6781,13 +7211,13 @@ msgstr ""
# type: =item
#. type: =item
-#: dh_installinit:175
+#: dh_installinit:197
msgid "B<--error-handler=>I<function>"
msgstr "B<--error-handler=>I<función>"
# type: textblock
#. type: textblock
-#: dh_installinit:177
+#: dh_installinit:199
msgid ""
"Call the named shell I<function> if running the init script fails. The "
"function should be provided in the F<prerm> and F<postinst> scripts, before "
@@ -6797,18 +7227,108 @@ msgstr ""
"La función se debe proporcionar en los scripts F<prerm> y F<postinst>, antes "
"del comodín B<#DEBHELPER#>."
+# type: textblock
+#. type: textblock
+#: dh_installinit:408
+#, fuzzy
+#| msgid "L<debhelper(7)>, L<dpkg-shlibdeps(1)>"
+msgid "L<debhelper(7)>, L<dh_installsystemd(1)>"
+msgstr "L<debhelper(7)>, L<dpkg-shlibdeps(1)>"
+
#. type: textblock
-#: dh_installinit:380
+#: dh_installinit:416
msgid "Steve Langasek <steve.langasek@canonical.com>"
msgstr "Steve Langasek <steve.langasek@canonical.com>"
#. type: textblock
-#: dh_installinit:382
+#: dh_installinit:418
msgid "Michael Stapelberg <stapelberg@debian.org>"
msgstr ""
# type: textblock
#. type: textblock
+#: dh_installinitramfs:5
+#, fuzzy
+#| msgid "dh_installmime - install mime files into package build directories"
+msgid "dh_installinitramfs - install initramfs hooks and setup maintscripts"
+msgstr ""
+"dh_installmime - Instala ficheros mime en los directorios de construcción "
+"del paquete"
+
+# type: textblock
+#. type: textblock
+#: dh_installinitramfs:17
+#, fuzzy
+#| msgid "B<dh_installmenu> [S<B<debhelper options>>] [B<-n>]"
+msgid "B<dh_installinitramfs> [S<B<debhelper options>>] [B<-n>]"
+msgstr "B<dh_installmenu> [S<B<opciones-de-debhelper>>] [B<-n>]"
+
+# type: textblock
+#. type: textblock
+#: dh_installinitramfs:21
+#, fuzzy
+#| msgid ""
+#| "B<dh_installmime> is a debhelper program that is responsible for "
+#| "installing mime files into package build directories."
+msgid ""
+"B<dh_installinitramfs> is a debhelper program that is responsible for "
+"installing Debian package provided initramfs hooks."
+msgstr ""
+"B<dh_installmime> es un programa de debhelper responsable de instalar "
+"ficheros mime en los directorios de construcción del paquete."
+
+# type: textblock
+#. type: textblock
+#: dh_installinitramfs:24
+#, fuzzy
+#| msgid ""
+#| "It also automatically generates the F<postinst> and F<postrm> commands "
+#| "needed to interface with the Debian B<menu> package. These commands are "
+#| "inserted into the maintainer scripts by L<dh_installdeb(1)>."
+msgid ""
+"If B<dh_installinitramfs> installs or (in compat 12 or later) detects one or "
+"more initramfs hooks in the package, then it also automatically generates "
+"the F<postinst> and F<postrm> commands needed to interface with the Debian "
+"initramfs system. These commands are inserted into the maintainer scripts "
+"by L<dh_installdeb(1)>."
+msgstr ""
+"Además, genera automáticamente las órdenes de F<postinst> y F<postrm> "
+"necesarias para interactuar con el paquete del B<menú> de Debian. Estas "
+"órdenes se insertan en los scripts del desarrollador mediante "
+"L<dh_installdeb(1)>."
+
+#. type: =item
+#: dh_installinitramfs:34
+#, fuzzy
+#| msgid "debian/I<package>.init"
+msgid "debian/I<package>.initramfs-hook"
+msgstr "debian/I<paquete>.init"
+
+#. type: textblock
+#: dh_installinitramfs:36
+msgid ""
+"Assumed to be an initramfs hook that will be installed into F<< usr/share/"
+"initramfs-tools/hooks/I<package> >> in the package build directory. See "
+"B<HOOK SCRIPTS> in L<initramfs-tools(8)> for more information about "
+"initramfs hooks."
+msgstr ""
+
+# type: textblock
+#. type: textblock
+#: dh_installinitramfs:49 dh_installmenu:50
+msgid "Do not modify F<postinst>/F<postrm> scripts."
+msgstr "No modifica los scripts F<postinst>/F<postrm>."
+
+# type: textblock
+#. type: textblock
+#: dh_installinitramfs:88
+#, fuzzy
+#| msgid "L<debhelper(7)> L<update-menus(1)> L<menufile(5)>"
+msgid "L<debhelper(7)> L<update-initramfs(8)> L<initramfs-tools(8)>"
+msgstr "L<debhelper(7)> L<update-menus(1)> L<menufile(5)>"
+
+# type: textblock
+#. type: textblock
#: dh_installlogcheck:5
msgid "dh_installlogcheck - install logcheck rulefiles into etc/logcheck/"
msgstr ""
@@ -7087,24 +7607,24 @@ msgstr ""
"codificación. Para más detalles consulte L<manconv(1)>."
#. type: =item
-#: dh_installman:73
+#: dh_installman:77
msgid "debian/I<package>.manpages"
msgstr "debian/I<paquete>.manpages"
#. type: textblock
-#: dh_installman:75
+#: dh_installman:79
msgid "Lists man pages to be installed."
msgstr "Lista las páginas de manual a instalar."
# type: =item
#. type: =item
-#: dh_installman:88
+#: dh_installman:92
msgid "B<--language=>I<ll>"
msgstr "B<--language=>I<ll>"
# type: textblock
#. type: textblock
-#: dh_installman:90
+#: dh_installman:94
msgid ""
"Use this to specify that the man pages being acted on are written in the "
"specified language."
@@ -7112,34 +7632,15 @@ msgstr ""
"Use esto para definir que el idioma que las páginas de manual sobre las que "
"se actúa están escritas en el idioma especificado."
-#. type: textblock
-#: dh_installman:98
-#, fuzzy
-#| msgid ""
-#| "Note that this is not the same as the B<--sourcedirectory> option used by "
-#| "the B<dh_auto_>I<*> commands. You rarely need to use this option, since "
-#| "B<dh_install> automatically looks for files in F<debian/tmp> in debhelper "
-#| "compatibility level 7 and above."
-msgid ""
-"Note that this is not the same as the B<--sourcedirectory> option used by "
-"the B<dh_auto_>I<*> commands. You rarely need to use this option, since "
-"B<dh_installman> automatically looks for files in F<debian/tmp> in debhelper "
-"compatibility level 11 and above."
-msgstr ""
-"Tenga en cuenta que no es igual que la opción B<--sourcedirectory> utilizada "
-"por las órdenes B<dh_auto_>I<*>. Rara vez utilizará esta opción, ya que "
-"B<dh_install> busca ficheros de forma automática en F<debian/tmp> con el "
-"nivel de compatibilidad 7 y posterior."
-
# type: =item
#. type: =item
-#: dh_installman:103
+#: dh_installman:107
msgid "I<manpage> ..."
msgstr "I<página-de-manual> ..."
# type: textblock
#. type: textblock
-#: dh_installman:105
+#: dh_installman:109
msgid ""
"Install these man pages into the first package acted on. (Or in all packages "
"if B<-A> is specified)."
@@ -7148,12 +7649,12 @@ msgstr ""
"en todos si se define B<-A>)."
#. type: textblock
-#: dh_installman:112
+#: dh_installman:116
msgid "An example F<debian/manpages> file could look like this:"
msgstr ""
#. type: verbatim
-#: dh_installman:114
+#: dh_installman:118
#, no-wrap
msgid ""
" doc/man/foo.1\n"
@@ -7170,7 +7671,7 @@ msgstr ""
# type: textblock
#. type: textblock
-#: dh_installman:126
+#: dh_installman:130
msgid ""
"An older version of this program, L<dh_installmanpages(1)>, is still used by "
"some packages, and so is still included in debhelper. It is, however, "
@@ -7383,12 +7884,6 @@ msgstr ""
# type: textblock
#. type: textblock
-#: dh_installmenu:50
-msgid "Do not modify F<postinst>/F<postrm> scripts."
-msgstr "No modifica los scripts F<postinst>/F<postrm>."
-
-# type: textblock
-#. type: textblock
#: dh_installmenu:90
msgid "L<debhelper(7)> L<update-menus(1)> L<menufile(5)>"
msgstr "L<debhelper(7)> L<update-menus(1)> L<menufile(5)>"
@@ -7775,14 +8270,28 @@ msgstr ""
"No modifica los scripts F<postinst>/F<prerm>. Si se especifica esta orden, "
"no hará nada."
+# type: textblock
+#. type: textblock
+#: dh_installwm:54
+#, fuzzy
+#| msgid ""
+#| "Create any links specified by command line parameters in ALL packages "
+#| "acted on, not just the first."
+msgid ""
+"Modify scripts for window managers specified by command line parameters in "
+"ALL packages acted on, not just the first."
+msgstr ""
+"Crea cualquier enlace especificado por los parámetros de la linea de órdenes "
+"en TODOS los paquetes sobre los que se actúa, no solamente en el primero."
+
# type: =item
#. type: =item
-#: dh_installwm:52
+#: dh_installwm:57
msgid "I<wm> ..."
msgstr "I<gestor> ..."
#. type: textblock
-#: dh_installwm:54
+#: dh_installwm:59
msgid "Window manager programs to register."
msgstr "Programas del gestor de ventanas a registrar."
@@ -8208,6 +8717,18 @@ msgstr ""
# type: textblock
#. type: textblock
+#: dh_listpackages:26
+#, fuzzy
+#| msgid ""
+#| "These files are installed into the first binary package listed in debian/"
+#| "control."
+msgid "Packages are listed in the order they appear in F<debian/control>."
+msgstr ""
+"Estos ficheros se instalan en el primer paquete binario listado en «debian/"
+"control»."
+
+# type: textblock
+#. type: textblock
#: dh_makeshlibs:5
msgid ""
"dh_makeshlibs - automatically create shlibs file and call dpkg-gensymbols"
@@ -8325,40 +8846,52 @@ msgstr "B<--version-info>, B<--version-info=>I<dependencias>"
#. type: textblock
#: dh_makeshlibs:67
msgid ""
-"By default, the shlibs file generated by this program does not make packages "
-"depend on any particular version of the package containing the shared "
-"library. It may be necessary for you to add some version dependency "
-"information to the shlibs file. If B<-V> is specified with no dependency "
-"information, the current upstream version of the package is plugged into a "
-"dependency that looks like \"I<packagename> B<(E<gt>>= I<packageversion>B<)>"
-"\". Note that in debhelper compatibility levels before v4, the Debian part "
-"of the package version number is also included. If B<-V> is specified with "
-"parameters, the parameters can be used to specify the exact dependency "
-"information needed (be sure to include the package name)."
-msgstr ""
-"Por omisión, el fichero «shlibs» generado por este programa no hace que los "
-"paquetes dependan de alguna versión particular del paquete que contiene la "
-"biblioteca compartida. Podría ser necesario que añada alguna información de "
-"dependencia de versión al fichero «shlibs». Si especifica B<-V> sin "
-"información de dependencia, la versión actual del desarrollador principal "
-"del paquete es conectada con una dependencia de la forma "
-"I<nombre_de_paquete> B<(E<gt>>= I<versión_de_paquete>B<)>. Tenga en cuenta "
-"que en los niveles de compatibilidad de debhelper anteriores a v4 también se "
-"incluye la parte de Debian del número de versión del paquete. Si especifica "
-"B<-V> con parámetros, los parámetros se pueden utilizar para especificar la "
-"información de dependencia exacta requerida (asegúrese de incluir el nombre "
-"del paquete)."
-
-# type: textblock
-#. type: textblock
-#: dh_makeshlibs:78
-msgid ""
-"Beware of using B<-V> without any parameters; this is a conservative setting "
-"that always ensures that other packages' shared library dependencies are at "
-"least as tight as they need to be (unless your library is prone to changing "
-"ABI without updating the upstream version number), so that if the maintainer "
-"screws up then they won't break. The flip side is that packages might end up "
-"with dependencies that are too tight and so find it harder to be upgraded."
+"If a shlibs file is generated by this program, this option controls what "
+"version will be used in the dependency relation."
+msgstr ""
+
+#. type: textblock
+#: dh_makeshlibs:70
+msgid ""
+"In compat 12 and later, B<dh_makeshlibs> defaults to B<-VUpstream-Version>. "
+"In compat 11 and earlier the default behaved like B<-VNone>.."
+msgstr ""
+
+#. type: textblock
+#: dh_makeshlibs:73
+msgid "The B<dh_makeshlibs> tool can generate dependencies in three variants:"
+msgstr ""
+
+#. type: =item
+#: dh_makeshlibs:77
+msgid "B<-VUpstream-Version>"
+msgstr ""
+
+#. type: textblock
+#: dh_makeshlibs:79
+msgid ""
+"The dependency will be \"I<packagename> B<(E<gt>>= I<packageversion>B<)>\". "
+"Note that I<Upstream-Version> is case-sensitive and must be written exactly "
+"as shown here."
+msgstr ""
+
+# type: textblock
+#. type: textblock
+#: dh_makeshlibs:83
+#, fuzzy
+#| msgid ""
+#| "Beware of using B<-V> without any parameters; this is a conservative "
+#| "setting that always ensures that other packages' shared library "
+#| "dependencies are at least as tight as they need to be (unless your "
+#| "library is prone to changing ABI without updating the upstream version "
+#| "number), so that if the maintainer screws up then they won't break. The "
+#| "flip side is that packages might end up with dependencies that are too "
+#| "tight and so find it harder to be upgraded."
+msgid ""
+"This is a conservative setting that always ensures that other packages' "
+"shared library dependencies are at least as tight as they need to be (unless "
+"the library is prone to changing ABI without updating the upstream version "
+"number)."
msgstr ""
"Tenga cuidado al utilizar B<-V> sin ningún parámetro; ésta es una "
"configuración conservadora que siempre asegura que las dependencias de "
@@ -8372,6 +8905,90 @@ msgstr ""
#. type: textblock
#: dh_makeshlibs:88
msgid ""
+"The flip side is that packages might end up with dependencies that are too "
+"tight in some cases (note a symbols file can mitigate this issue). This is "
+"often of minor temporary inconvenience and usually a lot better than the "
+"fall out caused by forgetting to bump the dependency information."
+msgstr ""
+
+#. type: textblock
+#: dh_makeshlibs:94
+msgid ""
+"This explicit form was added in debhelper/11.3. In previous versions, a B<-"
+"V> without any dependency information was used instead (and that form still "
+"works)"
+msgstr ""
+
+# type: =item
+#. type: =item
+#: dh_makeshlibs:98
+#, fuzzy
+#| msgid "B<-V>"
+msgid "B<-VNone>"
+msgstr "B<-V>"
+
+#. type: textblock
+#: dh_makeshlibs:100
+msgid ""
+"The dependency will be \"I<packagename>\". Note that I<None> is case-"
+"sensitive and must be written exactly as shown here."
+msgstr ""
+
+#. type: textblock
+#: dh_makeshlibs:103
+msgid ""
+"This form is generally unsafe with the only exception being if upstream does "
+"not extend the ABI in any way. However, most upstreams improve their "
+"interfaces over time and packagers are recommended to use B<-VUpstream-"
+"Version> (or one of the other forms of B<-V>I<dependencies>)."
+msgstr ""
+
+#. type: textblock
+#: dh_makeshlibs:108
+msgid ""
+"Alternatively, this may be sufficient if (and only if) the package uses "
+"symbol versioning (see L<dpkg-gensymbols(1)>) and does I<not> build any udeb "
+"packages. Note that symbols are not supported for udeb packages, which "
+"solely relies on shlibs for dependency handling."
+msgstr ""
+
+# type: =item
+#. type: =item
+#: dh_makeshlibs:113
+#, fuzzy
+#| msgid "B<--dbg-package=>I<package>"
+msgid "B<-V>I<package-relation>"
+msgstr "B<--dbg-package=>I<paquete>"
+
+#. type: textblock
+#: dh_makeshlibs:115
+msgid ""
+"In this case, the value passed to B<-V> will be used as a dependency "
+"relation. The I<package-relation> should generally be of the form \"I<some-"
+"package-name> B<(E<gt>>= I<some-package-version>B<)>\". Remember to include "
+"the package name."
+msgstr ""
+
+#. type: textblock
+#: dh_makeshlibs:120
+msgid ""
+"Note that debhelper will use the value I<as it is> with no sanity checking "
+"or modification. In I<rare special> cases, this is needed to generate a "
+"dependency on a different package than the one containing the library."
+msgstr ""
+
+#. type: textblock
+#: dh_makeshlibs:127
+msgid ""
+"When choosing a value for this option, please keep mind that if the package "
+"provides a symbols file, then that it generally preferred over the shlibs "
+"file for regular .deb packages. See L<dpkg-shlibdeps(1)> for more "
+"information on this topic."
+msgstr ""
+
+#. type: textblock
+#: dh_makeshlibs:134
+msgid ""
"Do not add the \"ldconfig\" trigger even if it seems like the package might "
"need it. The option is called B<--no-scripts> for historical reasons as "
"B<dh_makeshlibs> would previously generate maintainer scripts that called "
@@ -8380,7 +8997,7 @@ msgstr ""
# type: textblock
#. type: textblock
-#: dh_makeshlibs:95
+#: dh_makeshlibs:141
msgid ""
"Exclude files that contain I<item> anywhere in their filename or directory "
"from being treated as shared libraries."
@@ -8390,13 +9007,13 @@ msgstr ""
# type: =item
#. type: =item
-#: dh_makeshlibs:98
+#: dh_makeshlibs:144
msgid "B<--add-udeb=>I<udeb>"
msgstr "B<--add-udeb=>I<udeb>"
# type: textblock
#. type: textblock
-#: dh_makeshlibs:100
+#: dh_makeshlibs:146
msgid ""
"Create an additional line for udebs in the shlibs file and use I<udeb> as "
"the package name for udebs to depend on instead of the regular library "
@@ -8408,19 +9025,21 @@ msgstr ""
# type: textblock
#. type: textblock
-#: dh_makeshlibs:105
+#: dh_makeshlibs:151
msgid "Pass I<params> to L<dpkg-gensymbols(1)>."
msgstr "Introduce los I<parámetros> a L<dpkg-gensymbols(1)>."
# type: =item
#. type: =item
-#: dh_makeshlibs:113
-msgid "B<dh_makeshlibs>"
-msgstr "B<dh_makeshlibs>"
+#: dh_makeshlibs:159
+#, fuzzy
+#| msgid "B<dh_makeshlibs -V>"
+msgid "B<dh_makeshlibs -VNone>"
+msgstr "B<dh_makeshlibs -V>"
# type: verbatim
#. type: verbatim
-#: dh_makeshlibs:115
+#: dh_makeshlibs:161
#, no-wrap
msgid ""
"Assuming this is a package named F<libfoobar1>, generates a shlibs file that\n"
@@ -8435,13 +9054,15 @@ msgstr ""
# type: =item
#. type: =item
-#: dh_makeshlibs:119
-msgid "B<dh_makeshlibs -V>"
+#: dh_makeshlibs:165
+#, fuzzy
+#| msgid "B<dh_makeshlibs -V>"
+msgid "B<dh_makeshlibs -VUpstream-Version>"
msgstr "B<dh_makeshlibs -V>"
# type: verbatim
#. type: verbatim
-#: dh_makeshlibs:121
+#: dh_makeshlibs:167
#, no-wrap
msgid ""
"Assuming the current version of the package is 1.1-3, generates a shlibs\n"
@@ -8456,13 +9077,13 @@ msgstr ""
# type: =item
#. type: =item
-#: dh_makeshlibs:125
+#: dh_makeshlibs:171
msgid "B<dh_makeshlibs -V 'libfoobar1 (E<gt>= 1.0)'>"
msgstr "B<dh_makeshlibs -V 'libfoobar1 (E<gt>= 1.0)'>"
# type: verbatim
#. type: verbatim
-#: dh_makeshlibs:127
+#: dh_makeshlibs:173
#, no-wrap
msgid ""
"Generates a shlibs file that looks something like:\n"
@@ -9089,7 +9710,7 @@ msgstr ""
# type: textblock
#. type: textblock
-#: dh_shlibdeps:203
+#: dh_shlibdeps:201
msgid "L<debhelper(7)>, L<dpkg-shlibdeps(1)>"
msgstr "L<debhelper(7)>, L<dpkg-shlibdeps(1)>"
@@ -9156,18 +9777,6 @@ msgstr ""
"módulo, y determinar cómo eliminar un módulo, B<dh_strip> actualmente no "
"trata de eliminar los símbolos de módulos binarios, como los ficheros F<.o>."
-# type: textblock
-#. type: textblock
-#: dh_strip:44
-msgid ""
-"Exclude files that contain I<item> anywhere in their filename from being "
-"stripped. You may use this option multiple times to build up a list of "
-"things to exclude."
-msgstr ""
-"No elimina los ficheros que contienen I<elemento> en cualquier lugar de su "
-"nombres. Puede utilizar esta opción muchas veces para construir una lista de "
-"cosas a excluir."
-
# type: =item
#. type: =item
#: dh_strip:48
@@ -9425,56 +10034,69 @@ msgstr "B<dh_testroot> [S<I<opciones-de-debhelper>>]"
#. type: textblock
#: dh_testroot:15
msgid ""
-"B<dh_testroot> is used to determine if the package has access to at least "
-"the level of root access that it declared it needed via the Rules-Requires-"
-"Root (R³) field."
+"B<dh_testroot> is used to determine if the target is being run with "
+"sufficient access to (fake)root."
msgstr ""
#. type: textblock
-#: dh_testroot:19
+#: dh_testroot:18
msgid ""
-"The following is how B<dh_testroot> behaves based on the effective value of "
-"the R³ field:"
-msgstr ""
-
-#. type: =item
-#: dh_testroot:24
-msgid "\"binary-targets\""
+"The definition of sufficient access depends on whether the builder (the tool "
+"invoking the F<debian/rules> target) supports the I<Rules-Requires-Root> "
+"(R³) field. If the builder supports R³, then it will set the environment "
+"variable I<DEB_RULES_REQUIRES_ROOT> and B<dh_testroot> will validate that "
+"the builder followed the minimum requirements for the given value of "
+"I<DEB_RULES_REQUIRES_ROOT>."
msgstr ""
#. type: textblock
-#: dh_testroot:26
-msgid "B<dh_testroot> asserts that it is run as root or under L<fakeroot(1)>."
+#: dh_testroot:25
+msgid ""
+"If the builder does not support I<Rules-Requires-Root>, then it will not set "
+"the I<DEB_RULES_REQUIRES_ROOT> environment variable. This will in turn make "
+"B<dh_testroot> (and the rest of debhelper) fall back to assuming that "
+"(fake)root is implied."
msgstr ""
-#. type: =item
-#: dh_testroot:28
-msgid "\"no\""
+#. type: textblock
+#: dh_testroot:30
+msgid ""
+"The following is a summary of how B<dh_testroot> behaves based on the "
+"I<DEB_RULES_REQUIRES_ROOT> environment variable (leading and trailing "
+"whitespace in the variable is ignored)."
msgstr ""
#. type: textblock
-#: dh_testroot:30
-msgid "B<dh_testroot> returns successfully."
+#: dh_testroot:38
+msgid ""
+"If unset, or set to C<binary-targets>, then B<dh_testroot> asserts that it "
+"is run as root or under L<fakeroot(1)>."
msgstr ""
-#. type: =item
-#: dh_testroot:32
-msgid "Any other value than the above"
+#. type: textblock
+#: dh_testroot:43
+msgid ""
+"If set to C<no>, then B<dh_testroot> returns successfully (without "
+"performing any additional checks)."
msgstr ""
#. type: textblock
-#: dh_testroot:34
+#: dh_testroot:48
msgid ""
-"B<dh_testroot> asserts that it is either run as root (or under "
-"L<fakeroot(1)>) or the builder has provided the B<DPKG_GAIN_ROOT_CMD> "
-"environment variable (e.g. via dpkg-buildpackage -r)."
+"If set to any other value than the above, then B<dh_testroot> asserts that "
+"it is either run as root (or under L<fakeroot(1)>) or the builder has "
+"provided the B<DEB_GAIN_ROOT_CMD> environment variable (e.g. via dpkg-"
+"buildpackage -r)."
msgstr ""
#. type: textblock
-#: dh_testroot:40
+#: dh_testroot:55
msgid ""
-"For backwards compatibility, B<dh_testroot> will consider the absence of the "
-"R³ field as if the R³ field was set to \"binary-targets\"."
+"Please note that B<dh_testroot> does I<not> read the I<Rules-Requires-Root> "
+"field. Which implies that B<dh_testroot> may produce incorrect result if "
+"the builder lies in I<DEB_RULES_REQUIRES_ROOT>. On the flip side, it also "
+"enables things like testing for what will happen when "
+"I<DEB_RULES_REQUIRES_ROOT> is set to a given value."
msgstr ""
# type: textblock
@@ -9523,47 +10145,38 @@ msgstr ""
#. type: textblock
#: dh_usrlocal:36
msgid ""
-"When the I<Rules-Requires-Root> field is not (effectively) I<binary-"
-"targets>, the directories in F</usr/local> will have ownership root:staff "
-"and the mode will be 02775. These values have been chosen to comply with "
-"the recommendations of the Debian policy for directories in F</usr/local>."
+"When the I<DEB_RULES_REQUIRES_ROOT> environment variable is not "
+"(effectively) I<binary-targets>, the directories in F</usr/local> will be "
+"handled as if they were owned by root:root (see below)."
+msgstr ""
+
+#. type: textblock
+#: dh_usrlocal:40
+msgid ""
+"When the I<DEB_RULES_REQUIRES_ROOT> environment variable has an effective "
+"value of I<binary-targets>, the owners, groups and permissions will be "
+"preserved with the sole exception where the directory is owned by root:root."
+msgstr ""
+
+#. type: textblock
+#: dh_usrlocal:44
+msgid ""
+"If a directory is owned by root:root, then ownership will be determined at "
+"install time. The ownership and permission bits will either be root:root "
+"mode 0755 or root:staff mode 02775. The actual choice depends on whether "
+"the system has F</etc/staff-group-for-usr-local> (as documented in the "
+"Debian Policy Manual §9.1.2 since version 4.1.4)"
msgstr ""
# type: textblock
#. type: textblock
-#: dh_usrlocal:42
-#, fuzzy
-#| msgid ""
-#| "If the directories found in the build tree have unusual owners, groups, "
-#| "or permissions, then those values will be preserved in the directories "
-#| "made by the F<postinst> script. However, as a special exception, if a "
-#| "directory is owned by root.root, it will be treated as if it is owned by "
-#| "root.staff and is mode 2775. This is useful, since that is the group and "
-#| "mode policy recommends for directories in F</usr/local>."
-msgid ""
-"When I<Rules-Requires-Root> has an effective value of I<binary-targets>, the "
-"owners, groups and permissions will be preserved with one exception. If the "
-"directory is owned by root:root, then ownership will be reset to root:staff "
-"and mode will be reset to 02775. This is useful, since that is the group and "
-"mode policy recommends for directories in F</usr/local>."
-msgstr ""
-"Si los directorios encontrados en el árbol de construcción tienen "
-"propietarios, grupos o permisos inusuales, estos valores serán preservados "
-"en los directorios hechos por el script F<postinst>. Sin embargo, como una "
-"excepción especial, si un directorio tiene como propietario root.root, se "
-"tratará como si tuviese como dueño root.staff y en modo 2775. Esto último es "
-"útil, puesto que esa es la norma recomendada para el grupo y modo de los "
-"directorios en F</usr/local>."
-
-# type: textblock
-#. type: textblock
-#: dh_usrlocal:67
+#: dh_usrlocal:68
msgid "Debian policy, version 2.2"
msgstr "Normas de Debian, versión 2.2"
# type: textblock
#. type: textblock
-#: dh_usrlocal:140
+#: dh_usrlocal:144
msgid "Andrew Stribblehill <ads@debian.org>"
msgstr "Andrew Stribblehill <ads@debian.org>"
@@ -9770,14 +10383,6 @@ msgstr ""
"Si existe, se instala en «etc/init/I<paquete>.conf» en el directorio de "
"construcción del paquete."
-# type: =item
-#. type: =item
-#: dh_systemd_enable:87
-#, fuzzy
-#| msgid "B<--no-act>"
-msgid "B<--no-enable>"
-msgstr "B<--no-act>"
-
#. type: textblock
#: dh_systemd_enable:89
msgid "Disable the service(s) on purge, but do not enable them on install."
@@ -9973,6 +10578,130 @@ msgstr ""
"Este nivel de compatibilidad aún está en desarrollo, utilícelo con "
"precaución."
+#~ msgid ""
+#~ "The syntax of these files is intentionally kept very simple to make them "
+#~ "easy to read, understand, and modify. If you prefer power and complexity, "
+#~ "you can make the file executable, and write a program that outputs "
+#~ "whatever content is appropriate for a given situation. When you do so, "
+#~ "the output is not further processed to expand wildcards or strip comments."
+#~ msgstr ""
+#~ "La sintaxis de estos ficheros es intencionadamente sencilla para "
+#~ "facilitar la lectura, la comprensión y la modificación. Si prefiere "
+#~ "potencia y complejidad, puede dar al fichero permisos de ejecución, y "
+#~ "crear un programa que muestra un contenido adecuado para la situación "
+#~ "dada. Si lo hace, la salida no se proceso para expandir comodines o "
+#~ "eliminar comentarios."
+
+# type: textblock
+#~ msgid "B<dh_installdirs> [S<I<debhelper options>>] [B<-A>] [S<I<dir> ...>]"
+#~ msgstr ""
+#~ "B<dh_installdirs> [S<I<opciones-de-debhelper>>] [B<-A>] "
+#~ "[S<I<directorio> ...>]"
+
+#~ msgid ""
+#~ "By default, the shlibs file generated by this program does not make "
+#~ "packages depend on any particular version of the package containing the "
+#~ "shared library. It may be necessary for you to add some version "
+#~ "dependency information to the shlibs file. If B<-V> is specified with no "
+#~ "dependency information, the current upstream version of the package is "
+#~ "plugged into a dependency that looks like \"I<packagename> B<(E<gt>>= "
+#~ "I<packageversion>B<)>\". Note that in debhelper compatibility levels "
+#~ "before v4, the Debian part of the package version number is also "
+#~ "included. If B<-V> is specified with parameters, the parameters can be "
+#~ "used to specify the exact dependency information needed (be sure to "
+#~ "include the package name)."
+#~ msgstr ""
+#~ "Por omisión, el fichero «shlibs» generado por este programa no hace que "
+#~ "los paquetes dependan de alguna versión particular del paquete que "
+#~ "contiene la biblioteca compartida. Podría ser necesario que añada alguna "
+#~ "información de dependencia de versión al fichero «shlibs». Si especifica "
+#~ "B<-V> sin información de dependencia, la versión actual del desarrollador "
+#~ "principal del paquete es conectada con una dependencia de la forma "
+#~ "I<nombre_de_paquete> B<(E<gt>>= I<versión_de_paquete>B<)>. Tenga en "
+#~ "cuenta que en los niveles de compatibilidad de debhelper anteriores a v4 "
+#~ "también se incluye la parte de Debian del número de versión del paquete. "
+#~ "Si especifica B<-V> con parámetros, los parámetros se pueden utilizar "
+#~ "para especificar la información de dependencia exacta requerida "
+#~ "(asegúrese de incluir el nombre del paquete)."
+
+# type: =item
+#~ msgid "B<dh_makeshlibs>"
+#~ msgstr "B<dh_makeshlibs>"
+
+# type: textblock
+#~ msgid ""
+#~ "Note for the first (or only) binary package listed in F<debian/control>, "
+#~ "debhelper will use F<debian/foo> when there's no F<debian/package.foo> "
+#~ "file."
+#~ msgstr ""
+#~ "Tenga en cuenta que si un paquete es el primero (o el único) paquete "
+#~ "binario listado en F<debian/control>, debhelper utiliza F<debian/tal> si "
+#~ "no existe un fichero F<debian/paquete.tal>."
+
+# type: textblock
+#, fuzzy
+#~| msgid ""
+#~| "If the directories found in the build tree have unusual owners, groups, "
+#~| "or permissions, then those values will be preserved in the directories "
+#~| "made by the F<postinst> script. However, as a special exception, if a "
+#~| "directory is owned by root.root, it will be treated as if it is owned by "
+#~| "root.staff and is mode 2775. This is useful, since that is the group and "
+#~| "mode policy recommends for directories in F</usr/local>."
+#~ msgid ""
+#~ "When I<Rules-Requires-Root> has an effective value of I<binary-targets>, "
+#~ "the owners, groups and permissions will be preserved with one exception. "
+#~ "If the directory is owned by root:root, then ownership will be reset to "
+#~ "root:staff and mode will be reset to 02775. This is useful, since that is "
+#~ "the group and mode policy recommends for directories in F</usr/local>."
+#~ msgstr ""
+#~ "Si los directorios encontrados en el árbol de construcción tienen "
+#~ "propietarios, grupos o permisos inusuales, estos valores serán "
+#~ "preservados en los directorios hechos por el script F<postinst>. Sin "
+#~ "embargo, como una excepción especial, si un directorio tiene como "
+#~ "propietario root.root, se tratará como si tuviese como dueño root.staff y "
+#~ "en modo 2775. Esto último es útil, puesto que esa es la norma recomendada "
+#~ "para el grupo y modo de los directorios en F</usr/local>."
+
+# type: textblock
+#~ msgid ""
+#~ "This option makes B<dh_install> keep track of the files it installs, and "
+#~ "then at the end, compare that list with the files in the source "
+#~ "directory. If any of the files (and symlinks) in the source directory "
+#~ "were not installed to somewhere, it will warn on stderr about that."
+#~ msgstr ""
+#~ "Esta opción hace que B<dh_install> registre los ficheros que instala y, "
+#~ "al final, compare esa lista con los ficheros en el directorio fuente. Si "
+#~ "alguno de los ficheros (o enlaces simbólicos) en el directorio fuente no "
+#~ "se instalaron en algún lugar, dará un aviso a través de la salida de "
+#~ "error estándar."
+
+# type: textblock
+#~ msgid ""
+#~ "This may be useful if you have a large package and want to make sure that "
+#~ "you don't miss installing newly added files in new upstream releases."
+#~ msgstr ""
+#~ "Puede ser útil si tiene un paquete grande y quiere comprobar que no "
+#~ "olvida instalar ningún fichero nuevo añadido en una nueva versión del "
+#~ "programa."
+
+# type: textblock
+#~ msgid ""
+#~ "Note that files that are excluded from being moved via the B<-X> option "
+#~ "are not warned about."
+#~ msgstr ""
+#~ "Tenga en cuenta de que no avisa de los ficheros excluidos mediante la "
+#~ "opción B<-X>."
+
+# type: textblock
+#~ msgid ""
+#~ "This option is like B<--list-missing>, except if a file was missed, it "
+#~ "will not only list the missing files, but also fail with a nonzero exit "
+#~ "code."
+#~ msgstr ""
+#~ "Esta opción es como B<--list-missing>, excepto que si olvida un fichero, "
+#~ "no sólo se listarán los ficheros olvidados, sino que además se devolverá "
+#~ "un código de salida distinto de cero."
+
# type: verbatim
#, fuzzy
#~| msgid ""
diff --git a/man/po4a/po/fr.po b/man/po4a/po/fr.po
index 4c15176f..5f31dba1 100644
--- a/man/po4a/po/fr.po
+++ b/man/po4a/po/fr.po
@@ -1,36 +1,37 @@
# Translation of debhelper manpages to French
# Valery Perrin <valery.perrin.debian@free.fr>, 2005, 2006, 2010, 2011.
# David Prévot <david@tilapin.org>, 2012-2014.
-# Baptiste Jammet <baptiste@mailoo.org>, 2015, 2016, 2017.
+# Baptiste Jammet <baptiste@mailoo.org>, 2015-2017.
msgid ""
msgstr ""
"Project-Id-Version: debhelper manpages\n"
-"POT-Creation-Date: 2017-11-11 13:57+0000\n"
-"PO-Revision-Date: 2017-01-11 21:37+0100\n"
+"POT-Creation-Date: 2018-08-08 14:37+0200\n"
+"PO-Revision-Date: 2017-12-17 17:44+0100\n"
"Last-Translator: Baptiste Jammet <baptiste@mailoo.org>\n"
"Language-Team: French <debian-l10n-french@lists.debian.org>\n"
"Language: fr\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
-"X-Generator: Lokalize 1.5\n"
+"X-Generator: Lokalize 2.0\n"
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
# type: =head1
#. type: =head1
#: debhelper.pod:3 debhelper-obsolete-compat.pod:1 dh:3 dh_auto_build:3
#: dh_auto_clean:3 dh_auto_configure:3 dh_auto_install:3 dh_auto_test:3
-#: dh_bugfiles:3 dh_builddeb:5 dh_clean:3 dh_compress:3 dh_fixperms:3
+#: dh_bugfiles:3 dh_builddeb:5 dh_clean:3 dh_compress:3 dh_dwz:3 dh_fixperms:3
#: dh_gconf:3 dh_gencontrol:3 dh_icons:3 dh_install:3 dh_installcatalogs:3
#: dh_installchangelogs:3 dh_installcron:3 dh_installdeb:3 dh_installdebconf:3
#: dh_installdirs:3 dh_installdocs:5 dh_installemacsen:3 dh_installexamples:5
-#: dh_installifupdown:3 dh_installinfo:3 dh_installinit:3 dh_installlogcheck:3
-#: dh_installlogrotate:3 dh_installman:3 dh_installmanpages:3 dh_installmenu:3
-#: dh_installmime:3 dh_installmodules:3 dh_installpam:3 dh_installppp:3
-#: dh_installudev:3 dh_installwm:3 dh_installxfonts:3 dh_link:3 dh_lintian:3
-#: dh_listpackages:3 dh_makeshlibs:3 dh_md5sums:3 dh_movefiles:3 dh_perl:3
-#: dh_prep:3 dh_shlibdeps:3 dh_strip:3 dh_testdir:3 dh_testroot:5 dh_usrlocal:5
-#: dh_systemd_enable:3 dh_systemd_start:3
+#: dh_installifupdown:3 dh_installinfo:3 dh_installinit:3 dh_installinitramfs:3
+#: dh_installlogcheck:3 dh_installlogrotate:3 dh_installman:3
+#: dh_installmanpages:3 dh_installmenu:3 dh_installmime:3 dh_installmodules:3
+#: dh_installpam:3 dh_installppp:3 dh_installudev:3 dh_installwm:3
+#: dh_installxfonts:3 dh_link:3 dh_lintian:3 dh_listpackages:3 dh_makeshlibs:3
+#: dh_md5sums:3 dh_movefiles:3 dh_perl:3 dh_prep:3 dh_shlibdeps:3 dh_strip:3
+#: dh_testdir:3 dh_testroot:5 dh_usrlocal:5 dh_systemd_enable:3
+#: dh_systemd_start:3
msgid "NAME"
msgstr "NOM"
@@ -42,21 +43,21 @@ msgstr "debhelper - Ensemble d'outils regroupés sous le nom de debhelper"
# type: =head1
#. type: =head1
-#: debhelper.pod:7 debhelper-obsolete-compat.pod:5 dh:15 dh_auto_build:16
+#: debhelper.pod:7 debhelper-obsolete-compat.pod:5 dh:16 dh_auto_build:16
#: dh_auto_clean:16 dh_auto_configure:16 dh_auto_install:18 dh_auto_test:16
-#: dh_bugfiles:15 dh_builddeb:17 dh_clean:15 dh_compress:17 dh_fixperms:16
-#: dh_gconf:15 dh_gencontrol:16 dh_icons:16 dh_install:15 dh_installcatalogs:17
-#: dh_installchangelogs:15 dh_installcron:15 dh_installdeb:15
-#: dh_installdebconf:15 dh_installdirs:15 dh_installdocs:17
+#: dh_bugfiles:15 dh_builddeb:17 dh_clean:15 dh_compress:17 dh_dwz:16
+#: dh_fixperms:16 dh_gconf:15 dh_gencontrol:16 dh_icons:16 dh_install:15
+#: dh_installcatalogs:17 dh_installchangelogs:15 dh_installcron:15
+#: dh_installdeb:15 dh_installdebconf:15 dh_installdirs:15 dh_installdocs:17
#: dh_installemacsen:15 dh_installexamples:17 dh_installifupdown:15
-#: dh_installinfo:15 dh_installinit:16 dh_installlogcheck:15
-#: dh_installlogrotate:15 dh_installman:16 dh_installmanpages:16
-#: dh_installmenu:15 dh_installmime:15 dh_installmodules:16 dh_installpam:15
-#: dh_installppp:15 dh_installudev:15 dh_installwm:15 dh_installxfonts:15
-#: dh_link:16 dh_lintian:15 dh_listpackages:15 dh_makeshlibs:15 dh_md5sums:16
-#: dh_movefiles:15 dh_perl:17 dh_prep:15 dh_shlibdeps:17 dh_strip:16
-#: dh_testdir:15 dh_testroot:9 dh_usrlocal:19 dh_systemd_enable:16
-#: dh_systemd_start:17
+#: dh_installinfo:15 dh_installinit:16 dh_installinitramfs:15
+#: dh_installlogcheck:15 dh_installlogrotate:15 dh_installman:16
+#: dh_installmanpages:16 dh_installmenu:15 dh_installmime:15
+#: dh_installmodules:16 dh_installpam:15 dh_installppp:15 dh_installudev:15
+#: dh_installwm:15 dh_installxfonts:15 dh_link:16 dh_lintian:15
+#: dh_listpackages:15 dh_makeshlibs:15 dh_md5sums:16 dh_movefiles:15 dh_perl:17
+#: dh_prep:15 dh_shlibdeps:17 dh_strip:16 dh_testdir:15 dh_testroot:9
+#: dh_usrlocal:19 dh_systemd_enable:16 dh_systemd_start:17
msgid "SYNOPSIS"
msgstr "SYNOPSIS"
@@ -72,21 +73,21 @@ msgstr ""
# type: =head1
#. type: =head1
-#: debhelper.pod:11 dh:19 dh_auto_build:20 dh_auto_clean:20
+#: debhelper.pod:11 dh:20 dh_auto_build:20 dh_auto_clean:20
#: dh_auto_configure:20 dh_auto_install:22 dh_auto_test:20 dh_bugfiles:19
-#: dh_builddeb:21 dh_clean:19 dh_compress:21 dh_fixperms:20 dh_gconf:19
-#: dh_gencontrol:20 dh_icons:20 dh_install:19 dh_installcatalogs:21
+#: dh_builddeb:21 dh_clean:19 dh_compress:21 dh_dwz:20 dh_fixperms:20
+#: dh_gconf:19 dh_gencontrol:20 dh_icons:20 dh_install:19 dh_installcatalogs:21
#: dh_installchangelogs:19 dh_installcron:19 dh_installdeb:19
#: dh_installdebconf:19 dh_installdirs:19 dh_installdocs:21
#: dh_installemacsen:19 dh_installexamples:21 dh_installifupdown:19
-#: dh_installinfo:19 dh_installinit:20 dh_installlogcheck:19
-#: dh_installlogrotate:19 dh_installman:20 dh_installmanpages:20
-#: dh_installmenu:19 dh_installmime:19 dh_installmodules:20 dh_installpam:19
-#: dh_installppp:19 dh_installudev:19 dh_installwm:19 dh_installxfonts:19
-#: dh_link:20 dh_lintian:19 dh_listpackages:19 dh_makeshlibs:19 dh_md5sums:20
-#: dh_movefiles:19 dh_perl:21 dh_prep:19 dh_shlibdeps:21 dh_strip:20
-#: dh_testdir:19 dh_testroot:13 dh_usrlocal:23 dh_systemd_enable:20
-#: dh_systemd_start:21
+#: dh_installinfo:19 dh_installinit:20 dh_installinitramfs:19
+#: dh_installlogcheck:19 dh_installlogrotate:19 dh_installman:20
+#: dh_installmanpages:20 dh_installmenu:19 dh_installmime:19
+#: dh_installmodules:20 dh_installpam:19 dh_installppp:19 dh_installudev:19
+#: dh_installwm:19 dh_installxfonts:19 dh_link:20 dh_lintian:19
+#: dh_listpackages:19 dh_makeshlibs:19 dh_md5sums:20 dh_movefiles:19 dh_perl:21
+#: dh_prep:19 dh_shlibdeps:21 dh_strip:20 dh_testdir:19 dh_testroot:13
+#: dh_usrlocal:23 dh_systemd_enable:20 dh_systemd_start:21
msgid "DESCRIPTION"
msgstr "DESCRIPTION"
@@ -153,6 +154,10 @@ msgid ""
"This is so they can locate find F<debian/control> and F<debian/compat> when "
"needed."
msgstr ""
+"Sauf lorsque l'outil explicite le contraire, tous les outils debhelper sont "
+"prévus pour être exécutés dans le répertoire racine d'un paquet source "
+"désarchivé. Cela leur permet de trouver les fichiers F<debian/control> et "
+"F<debian/compat>."
# type: =head1
#. type: =head1
@@ -257,20 +262,20 @@ msgstr ""
"debhelper emploient des paires fichier/destination voire des formats "
"légèrement plus compliqués."
-# type: textblock
#. type: textblock
#: debhelper.pod:79
msgid ""
"Note for the first (or only) binary package listed in F<debian/control>, "
-"debhelper will use F<debian/foo> when there's no F<debian/package.foo> file."
+"debhelper will use F<debian/foo> when there's no F<debian/I<package>.foo> "
+"file. However, it is often a good idea to keep the F<I<package>.> prefix as "
+"it is more explicit. The primary exception to this are files that debhelper "
+"by default installs in every binary package when it does not have a package "
+"prefix (such as F<debian/copyright> or F<debian/changelog>)."
msgstr ""
-"Nota : pour le premier (ou le seul) paquet binaire énuméré dans le fichier "
-"F<debian/control>, debhelper exploitera F<debian/toto> quand aucun fichier "
-"F<debian/paquet.toto> n'est présent."
# type: textblock
#. type: textblock
-#: debhelper.pod:83
+#: debhelper.pod:87
msgid ""
"In some rare cases, you may want to have different versions of these files "
"for different architectures or OSes. If files named debian/I<package>.foo."
@@ -289,7 +294,7 @@ msgstr ""
# type: textblock
#. type: textblock
-#: debhelper.pod:90
+#: debhelper.pod:94
msgid ""
"Mostly, these config files are used to specify lists of various types of "
"files. Documentation or example files to install, files to move, and so on. "
@@ -307,43 +312,95 @@ msgstr ""
"fichiers : les lignes commençant par B<#> sont ignorées."
#. type: textblock
-#: debhelper.pod:97
+#: debhelper.pod:101
msgid ""
"The syntax of these files is intentionally kept very simple to make them "
-"easy to read, understand, and modify. If you prefer power and complexity, "
-"you can make the file executable, and write a program that outputs whatever "
-"content is appropriate for a given situation. When you do so, the output is "
-"not further processed to expand wildcards or strip comments."
-msgstr ""
-"La syntaxe de ces fichiers est volontairement gardée très simple pour les "
-"rendre faciles à lire, comprendre et modifier. Si vous préférez la puissance "
-"et la complexité, vous pouvez rendre le fichier exécutable, et écrire un "
-"programme qui affiche n'importe quel contenu approprié à la situation. Dans "
-"ce cas, la sortie n'est plus traitée pour développer les jokers (wildcards) "
-"ou supprimer les commentaires."
+"easy to read, understand, and modify."
+msgstr ""
+
+# type: textblock
+#. type: =head2
+#: debhelper.pod:104
+#, fuzzy
+#| msgid "Comments are ignored in debhelper config files."
+msgid "Executable debhelper config files"
+msgstr ""
+"Les commentaires sont ignorés dans les fichiers de configuration de "
+"debhelper."
+
+#. type: textblock
+#: debhelper.pod:106
+msgid ""
+"If you need additional flexibility, many of the debhelper tools (e.g. "
+"L<dh_install(1)>) support executing a config file as a script."
+msgstr ""
+
+#. type: textblock
+#: debhelper.pod:109
+msgid ""
+"To use this feature, simply mark the config file as executable (e.g. B<< "
+"chmod +x debian/I<package>.install >>) and the tool will attempt to execute "
+"it and use the output of the script. In many cases, you can use L<dh-"
+"exec(1)> as interpreter of the config file to retain most of the original "
+"syntax while getting the additional flexibility you need."
+msgstr ""
+
+#. type: textblock
+#: debhelper.pod:117
+msgid ""
+"When using executable debhelper config files, please be aware of the "
+"following:"
+msgstr ""
+
+#. type: =item
+#: debhelper.pod:122 debhelper.pod:127
+msgid "*"
+msgstr "*"
+
+#. type: textblock
+#: debhelper.pod:124
+msgid ""
+"The executable config file B<must> exit with success (i.e. its return code "
+"should indicate success)."
+msgstr ""
+
+#. type: textblock
+#: debhelper.pod:129
+msgid ""
+"The output will be used exactly as it is. Notably, debhelper will I<not> "
+"expand wildcards or strip comments in the output."
+msgstr ""
+
+#. type: textblock
+#: debhelper.pod:134
+msgid ""
+"If you need the package to build on a file system where you cannot disable "
+"the executable bit, then you can use L<dh-exec(1)> and its B<strip-output> "
+"script."
+msgstr ""
# type: =head1
#. type: =head1
-#: debhelper.pod:103
+#: debhelper.pod:138
msgid "SHARED DEBHELPER OPTIONS"
msgstr "OPTIONS PARTAGÉES DE DEBHELPER"
# type: textblock
#. type: textblock
-#: debhelper.pod:105
+#: debhelper.pod:140
msgid ""
"The following command line options are supported by all debhelper programs."
msgstr "Tous les programmes de debhelper acceptent les options suivantes."
# type: =item
#. type: =item
-#: debhelper.pod:109
+#: debhelper.pod:144
msgid "B<-v>, B<--verbose>"
msgstr "B<-v>, B<--verbose>"
# type: textblock
#. type: textblock
-#: debhelper.pod:111
+#: debhelper.pod:146
msgid ""
"Verbose mode: show all commands that modify the package build directory."
msgstr ""
@@ -352,13 +409,13 @@ msgstr ""
# type: =item
#. type: =item
-#: debhelper.pod:113 dh:71
+#: debhelper.pod:148 dh:82
msgid "B<--no-act>"
msgstr "B<--no-act>"
# type: textblock
#. type: textblock
-#: debhelper.pod:115
+#: debhelper.pod:150
msgid ""
"Do not really do anything. If used with -v, the result is that the command "
"will output what it would have done."
@@ -369,13 +426,13 @@ msgstr ""
# type: =item
#. type: =item
-#: debhelper.pod:118
+#: debhelper.pod:153
msgid "B<-a>, B<--arch>"
msgstr "B<-a>, B<--arch>"
# type: textblock
#. type: textblock
-#: debhelper.pod:120
+#: debhelper.pod:155
msgid ""
"Act on architecture dependent packages that should be built for the "
"B<DEB_HOST_ARCH> architecture."
@@ -384,25 +441,25 @@ msgstr ""
# type: =item
#. type: =item
-#: debhelper.pod:123
+#: debhelper.pod:158
msgid "B<-i>, B<--indep>"
msgstr "B<-i>, B<--indep>"
# type: textblock
#. type: textblock
-#: debhelper.pod:125
+#: debhelper.pod:160
msgid "Act on all architecture independent packages."
msgstr "Construit tous les paquets indépendants de l'architecture."
# type: =item
#. type: =item
-#: debhelper.pod:127
+#: debhelper.pod:162
msgid "B<-p>I<package>, B<--package=>I<package>"
msgstr "B<-p>I<paquet>, B<--package=>I<paquet>"
# type: textblock
#. type: textblock
-#: debhelper.pod:129
+#: debhelper.pod:164
msgid ""
"Act on the package named I<package>. This option may be specified multiple "
"times to make debhelper operate on a given set of packages."
@@ -412,24 +469,31 @@ msgstr ""
# type: =item
#. type: =item
-#: debhelper.pod:132
+#: debhelper.pod:167
msgid "B<-s>, B<--same-arch>"
msgstr "B<-s>, B<--same-arch>"
#. type: textblock
-#: debhelper.pod:134
+#: debhelper.pod:169
msgid "Deprecated alias of B<-a>."
msgstr "Alias obsolète pour B<-a>."
+#. type: textblock
+#: debhelper.pod:171 dh_install:77 dh_install:86
+#, fuzzy
+#| msgid "The option is removed in compat 12."
+msgid "This option is removed in compat 12."
+msgstr "L'option est supprimée dans le niveau de compatibilité 12."
+
# type: =item
#. type: =item
-#: debhelper.pod:136
+#: debhelper.pod:173
msgid "B<-N>I<package>, B<--no-package=>I<package>"
msgstr "B<-N>I<paquet>, B<--no-package=>I<paquet>"
# type: textblock
#. type: textblock
-#: debhelper.pod:138
+#: debhelper.pod:175
msgid ""
"Do not act on the specified package even if an B<-a>, B<-i>, or B<-p> option "
"lists the package as one that should be acted on."
@@ -439,12 +503,12 @@ msgstr ""
# type: =item
#. type: =item
-#: debhelper.pod:141
+#: debhelper.pod:178
msgid "B<--remaining-packages>"
msgstr "B<--remaining-packages>"
#. type: textblock
-#: debhelper.pod:143
+#: debhelper.pod:180
msgid ""
"Do not act on the packages which have already been acted on by this "
"debhelper command earlier (i.e. if the command is present in the package "
@@ -462,13 +526,13 @@ msgstr ""
# type: =item
#. type: =item
-#: debhelper.pod:149
+#: debhelper.pod:186
msgid "B<--ignore=>I<file>"
msgstr "B<--ignore=>I<fichier>"
# type: textblock
#. type: textblock
-#: debhelper.pod:151
+#: debhelper.pod:188
msgid ""
"Ignore the specified file. This can be used if F<debian/> contains a "
"debhelper config file that a debhelper command should not act on. Note that "
@@ -483,7 +547,7 @@ msgstr ""
# type: textblock
#. type: textblock
-#: debhelper.pod:156
+#: debhelper.pod:193
msgid ""
"For example, if upstream ships a F<debian/init> that you don't want "
"B<dh_installinit> to install, use B<--ignore=debian/init>"
@@ -494,13 +558,13 @@ msgstr ""
# type: =item
#. type: =item
-#: debhelper.pod:159
+#: debhelper.pod:196
msgid "B<-P>I<tmpdir>, B<--tmpdir=>I<tmpdir>"
msgstr "B<-P>I<tmpdir>, B<--tmpdir=>I<tmpdir>"
# type: textblock
#. type: textblock
-#: debhelper.pod:161
+#: debhelper.pod:198
msgid ""
"Use I<tmpdir> for package build directory. The default is debian/I<package>"
msgstr ""
@@ -509,13 +573,13 @@ msgstr ""
# type: =item
#. type: =item
-#: debhelper.pod:163
+#: debhelper.pod:200
msgid "B<--mainpackage=>I<package>"
msgstr "B<--mainpackage=>I<paquet>"
# type: textblock
#. type: textblock
-#: debhelper.pod:165
+#: debhelper.pod:202
msgid ""
"This little-used option changes the package which debhelper considers the "
"\"main package\", that is, the first one listed in F<debian/control>, and "
@@ -529,12 +593,12 @@ msgstr ""
"fichier F<debian/control>."
#. type: =item
-#: debhelper.pod:170
+#: debhelper.pod:207
msgid "B<-O=>I<option>|I<bundle>"
msgstr "B<-O=>I<option>|I<ensemble>"
#. type: textblock
-#: debhelper.pod:172
+#: debhelper.pod:209
msgid ""
"This is used by L<dh(1)> when passing user-specified options to all the "
"commands it runs. If the command supports the specified option or option "
@@ -549,13 +613,13 @@ msgstr ""
# type: =head1
#. type: =head1
-#: debhelper.pod:179
+#: debhelper.pod:216
msgid "COMMON DEBHELPER OPTIONS"
msgstr "OPTIONS COURANTES DE DEBHELPER"
# type: textblock
#. type: textblock
-#: debhelper.pod:181
+#: debhelper.pod:218
msgid ""
"The following command line options are supported by some debhelper "
"programs. See the man page of each program for a complete explanation of "
@@ -567,13 +631,13 @@ msgstr ""
# type: =item
#. type: =item
-#: debhelper.pod:187
+#: debhelper.pod:224
msgid "B<-n>"
msgstr "B<-n>"
# type: textblock
#. type: textblock
-#: debhelper.pod:189
+#: debhelper.pod:226
msgid "Do not modify F<postinst>, F<postrm>, etc. scripts."
msgstr ""
"Ne pas modifier les scripts de maintenance du paquet (F<postinst>, "
@@ -581,19 +645,24 @@ msgstr ""
# type: =item
#. type: =item
-#: debhelper.pod:191 dh_compress:56 dh_install:98 dh_installchangelogs:74
-#: dh_installdocs:95 dh_installexamples:73 dh_link:75 dh_makeshlibs:93
+#: debhelper.pod:228 dh_compress:56 dh_dwz:44 dh_installchangelogs:85
+#: dh_installdocs:99 dh_installexamples:77 dh_link:75 dh_makeshlibs:139
#: dh_md5sums:40 dh_shlibdeps:34 dh_strip:42
msgid "B<-X>I<item>, B<--exclude=>I<item>"
msgstr "B<-X>I<élément>, B<--exclude=>I<élément>"
# type: textblock
#. type: textblock
-#: debhelper.pod:193
+#: debhelper.pod:230
+#, fuzzy
+#| msgid ""
+#| "Exclude an item from processing. This option may be used multiple times, "
+#| "to exclude more than one thing. The \\fIitem\\fR is typically part of a "
+#| "filename, and any file containing the specified text will be excluded."
msgid ""
"Exclude an item from processing. This option may be used multiple times, to "
-"exclude more than one thing. The \\fIitem\\fR is typically part of a "
-"filename, and any file containing the specified text will be excluded."
+"exclude more than one thing. The I<item> is typically part of a filename, "
+"and any file containing the specified text will be excluded."
msgstr ""
"Permet d'exclure un élément du traitement. Cette option peut être employée "
"plusieurs fois afin d'exclure plusieurs éléments. L'I<élément> est en "
@@ -602,15 +671,15 @@ msgstr ""
# type: =item
#. type: =item
-#: debhelper.pod:197 dh_bugfiles:57 dh_compress:63 dh_installdirs:46
-#: dh_installdocs:90 dh_installexamples:41 dh_installinfo:38 dh_installman:83
-#: dh_link:70
+#: debhelper.pod:234 dh_bugfiles:57 dh_compress:63 dh_installdirs:46
+#: dh_installdocs:94 dh_installexamples:45 dh_installinfo:42 dh_installman:87
+#: dh_installwm:52 dh_link:70
msgid "B<-A>, B<--all>"
msgstr "B<-A>, B<--all>"
# type: textblock
#. type: textblock
-#: debhelper.pod:199
+#: debhelper.pod:236
msgid ""
"Makes files or other items that are specified on the command line take "
"effect in ALL packages acted on, not just the first."
@@ -620,12 +689,12 @@ msgstr ""
"premier."
#. type: =head1
-#: debhelper.pod:204
+#: debhelper.pod:241
msgid "BUILD SYSTEM OPTIONS"
msgstr "OPTIONS DU PROCESSUS DE CONSTRUCTION"
#. type: textblock
-#: debhelper.pod:206
+#: debhelper.pod:243
msgid ""
"The following command line options are supported by all of the "
"B<dh_auto_>I<*> debhelper programs. These programs support a variety of "
@@ -643,14 +712,14 @@ msgstr ""
# type: =item
#. type: =item
-#: debhelper.pod:215
+#: debhelper.pod:252
msgid "B<-S>I<buildsystem>, B<--buildsystem=>I<buildsystem>"
msgstr ""
"B<-S>I<processus de construction>, B<--"
"buildsystem=>I<processus_de_construction>"
#. type: textblock
-#: debhelper.pod:217
+#: debhelper.pod:254
msgid ""
"Force use of the specified I<buildsystem>, instead of trying to auto-select "
"one which might be applicable for the package."
@@ -660,12 +729,12 @@ msgstr ""
# type: =item
#. type: =item
-#: debhelper.pod:220
+#: debhelper.pod:257
msgid "B<-D>I<directory>, B<--sourcedirectory=>I<directory>"
msgstr "B<-D>I<répertoire>, B<--sourcedirectory=>I<répertoire>"
#. type: textblock
-#: debhelper.pod:222
+#: debhelper.pod:259
msgid ""
"Assume that the original package source tree is at the specified "
"I<directory> rather than the top level directory of the Debian source "
@@ -676,12 +745,12 @@ msgstr ""
# type: =item
#. type: =item
-#: debhelper.pod:226
+#: debhelper.pod:263
msgid "B<-B>[I<directory>], B<--builddirectory=>[I<directory>]"
msgstr "B<-B>[I<répertoire>], B<--builddirectory=>[I<répertoire>]"
#. type: textblock
-#: debhelper.pod:228
+#: debhelper.pod:265
msgid ""
"Enable out of source building and use the specified I<directory> as the "
"build directory. If I<directory> parameter is omitted, a default build "
@@ -693,7 +762,7 @@ msgstr ""
"sera choisi."
#. type: textblock
-#: debhelper.pod:232
+#: debhelper.pod:269
msgid ""
"If this option is not specified, building will be done in source by default "
"unless the build system requires or prefers out of source tree building. In "
@@ -706,7 +775,7 @@ msgstr ""
"utilisé même si B<--builddirectory> n'est pas indiqué."
#. type: textblock
-#: debhelper.pod:237
+#: debhelper.pod:274
msgid ""
"If the build system prefers out of source tree building but still allows in "
"source building, the latter can be re-enabled by passing a build directory "
@@ -720,12 +789,12 @@ msgstr ""
# type: =item
#. type: =item
-#: debhelper.pod:241
+#: debhelper.pod:278
msgid "B<--parallel>, B<--no-parallel>"
msgstr "B<-parallel>, B<--no-parallel>"
#. type: textblock
-#: debhelper.pod:243
+#: debhelper.pod:280
msgid ""
"Control whether parallel builds should be used if underlying build system "
"supports them. The number of parallel jobs is controlled by the "
@@ -739,20 +808,26 @@ msgstr ""
"limites spécifiques du système de construction."
#. type: textblock
-#: debhelper.pod:249
+#: debhelper.pod:286
msgid ""
"If neither option is specified, debhelper currently defaults to B<--"
"parallel> in compat 10 (or later) and B<--no-parallel> otherwise."
msgstr ""
"Si aucune de ces options n'est précisée, debhelper active la parallélisation "
-"par défaut (B<--parallel>) dans la version 10 (ou supérieure), et la "
-"désactive (B<--no-parallel>) dans les autres versions."
+"par défaut (B<--parallel>) dans le niveau de compatibilité 10 (ou "
+"supérieur), et la désactive (B<--no-parallel>) dans les autres niveaux."
#. type: textblock
-#: debhelper.pod:252
+#: debhelper.pod:289
+#, fuzzy
+#| msgid ""
+#| "As an optimization, B<dh> will try to avoid passing these options to "
+#| "subprocesses, if they are unncessary and the only options passed. "
+#| "Notably this happens when B<DEB_BUILD_OPTIONS> does not have a "
+#| "I<parallel> parameter (or its value is 1)."
msgid ""
"As an optimization, B<dh> will try to avoid passing these options to "
-"subprocesses, if they are unncessary and the only options passed. Notably "
+"subprocesses, if they are unnecessary and the only options passed. Notably "
"this happens when B<DEB_BUILD_OPTIONS> does not have a I<parallel> parameter "
"(or its value is 1)."
msgstr ""
@@ -762,12 +837,12 @@ msgstr ""
"pas de paramètre I<parallel> (ou si sa valeur est B<1>)."
#. type: =item
-#: debhelper.pod:257
+#: debhelper.pod:294
msgid "B<--max-parallel=>I<maximum>"
msgstr "B<--max-parallel=>I<maximum>"
#. type: textblock
-#: debhelper.pod:259
+#: debhelper.pod:296
msgid ""
"This option implies B<--parallel> and allows further limiting the number of "
"jobs that can be used in a parallel build. If the package build is known to "
@@ -781,7 +856,7 @@ msgstr ""
"censée fonctionner, ou que vous souhaitez mettre en œuvre."
#. type: textblock
-#: debhelper.pod:264
+#: debhelper.pod:301
msgid ""
"Notably, setting the maximum to 1 is effectively the same as using B<--no-"
"parallel>."
@@ -791,12 +866,12 @@ msgstr ""
# type: =item
#. type: =item
-#: debhelper.pod:267 dh:63
+#: debhelper.pod:304 dh:74
msgid "B<--list>, B<-l>"
msgstr "B<--list>, B<-l>"
#. type: textblock
-#: debhelper.pod:269
+#: debhelper.pod:306
msgid ""
"List all build systems supported by debhelper on this system. The list "
"includes both default and third party build systems (marked as such). Also "
@@ -810,13 +885,13 @@ msgstr ""
"l'option B<--buildsystem>."
#. type: =head1
-#: debhelper.pod:276
+#: debhelper.pod:313
msgid "COMPATIBILITY LEVELS"
msgstr "NIVEAUX DE COMPATIBILITÉ"
# type: textblock
#. type: textblock
-#: debhelper.pod:278
+#: debhelper.pod:315
msgid ""
"From time to time, major non-backwards-compatible changes need to be made to "
"debhelper, to keep it clean and well-designed as needs change and its author "
@@ -838,7 +913,7 @@ msgstr ""
# type: textblock
#. type: textblock
-#: debhelper.pod:286
+#: debhelper.pod:323
msgid ""
"Tell debhelper what compatibility level to use by writing a number to "
"F<debian/compat>. For example, to use v#RECOMMENDED_COMPAT# mode:"
@@ -849,7 +924,7 @@ msgstr ""
# type: verbatim
#. type: verbatim
-#: debhelper.pod:289
+#: debhelper.pod:326
#, no-wrap
msgid ""
" % echo #RECOMMENDED_COMPAT# > debian/compat\n"
@@ -860,7 +935,7 @@ msgstr ""
# type: textblock
#. type: textblock
-#: debhelper.pod:291
+#: debhelper.pod:328
msgid ""
"Your package will also need a versioned build dependency on a version of "
"debhelper equal to (or greater than) the compatibility level your package "
@@ -875,10 +950,13 @@ msgstr ""
# type: verbatim
#. type: verbatim
-#: debhelper.pod:295
-#, no-wrap
+#: debhelper.pod:332
+#, fuzzy, no-wrap
+#| msgid ""
+#| " Build-Depends: debhelper (>= #RECOMMENDED_COMPAT#)\n"
+#| "\n"
msgid ""
-" Build-Depends: debhelper (>= #RECOMMENDED_COMPAT#)\n"
+" Build-Depends: debhelper (>= #RECOMMENDED_COMPAT#~)\n"
"\n"
msgstr ""
" Build-Depends: debhelper (>= #RECOMMENDED_COMPAT#)\n"
@@ -886,7 +964,7 @@ msgstr ""
# type: textblock
#. type: textblock
-#: debhelper.pod:297
+#: debhelper.pod:334
msgid ""
"Unless otherwise indicated, all debhelper documentation assumes that you are "
"using the most recent compatibility level, and in most cases does not "
@@ -904,31 +982,29 @@ msgstr ""
# type: =head2
#. type: =head2
-#: debhelper.pod:304
-#, fuzzy
-#| msgid "Debhelper compatibility levels"
+#: debhelper.pod:341
msgid "Supported compatibility levels"
-msgstr "Niveaux de compatibilité de debhelper"
+msgstr "Niveaux de compatibilité pris en charge"
# type: textblock
#. type: textblock
-#: debhelper.pod:306
+#: debhelper.pod:343
msgid "These are the available compatibility levels:"
msgstr "Les niveaux de compatibilité sont les suivants :"
#. type: =item
-#: debhelper.pod:310 debhelper-obsolete-compat.pod:89
+#: debhelper.pod:347 debhelper-obsolete-compat.pod:89
msgid "v5"
msgstr "v5"
# type: textblock
#. type: textblock
-#: debhelper.pod:312 debhelper-obsolete-compat.pod:91
+#: debhelper.pod:349 debhelper-obsolete-compat.pod:91
msgid "This is the lowest supported compatibility level."
msgstr "C'est le niveau de compatibilité le plus bas pris en charge."
#. type: textblock
-#: debhelper.pod:314
+#: debhelper.pod:351
msgid ""
"If you are upgrading from an earlier compatibility level, please review "
"L<debhelper-obsolete-compat(7)>."
@@ -938,51 +1014,54 @@ msgstr ""
# type: textblock
#. type: textblock
-#: debhelper.pod:317 debhelper.pod:349 debhelper.pod:379 debhelper.pod:410
+#: debhelper.pod:354 debhelper.pod:386 debhelper.pod:416 debhelper.pod:447
#: debhelper-obsolete-compat.pod:28 debhelper-obsolete-compat.pod:35
#: debhelper-obsolete-compat.pod:58 debhelper-obsolete-compat.pod:87
msgid "This mode is deprecated."
msgstr "Ce mode est déconseillé."
#. type: =item
-#: debhelper.pod:319
+#: debhelper.pod:356
msgid "v6"
msgstr "v6"
# type: textblock
#. type: textblock
-#: debhelper.pod:321
+#: debhelper.pod:358
msgid "Changes from v5 are:"
msgstr "Les changements par rapport à la version 5 sont :"
# type: =item
#. type: =item
-#: debhelper.pod:325 debhelper.pod:330 debhelper.pod:336 debhelper.pod:342
-#: debhelper.pod:357 debhelper.pod:364 debhelper.pod:368 debhelper.pod:372
-#: debhelper.pod:387 debhelper.pod:391 debhelper.pod:399 debhelper.pod:404
-#: debhelper.pod:418 debhelper.pod:423 debhelper.pod:430 debhelper.pod:435
-#: debhelper.pod:440 debhelper.pod:448 debhelper.pod:454 debhelper.pod:459
-#: debhelper.pod:464 debhelper.pod:480 debhelper.pod:485 debhelper.pod:491
-#: debhelper.pod:498 debhelper.pod:504 debhelper.pod:509 debhelper.pod:515
-#: debhelper.pod:521 debhelper.pod:531 debhelper.pod:537 debhelper.pod:560
-#: debhelper.pod:567 debhelper.pod:573 debhelper.pod:579 debhelper.pod:595
-#: debhelper.pod:601 debhelper.pod:613 debhelper.pod:621 debhelper.pod:627
-#: debhelper.pod:632 debhelper.pod:642 debhelper.pod:647 debhelper.pod:655
-#: debhelper.pod:665 debhelper.pod:672 debhelper.pod:679 debhelper.pod:691
-#: debhelper.pod:696 debhelper.pod:709 debhelper.pod:728 debhelper.pod:732
-#: debhelper.pod:737 debhelper.pod:742 debhelper.pod:749 debhelper.pod:755
+#: debhelper.pod:362 debhelper.pod:367 debhelper.pod:373 debhelper.pod:379
+#: debhelper.pod:394 debhelper.pod:401 debhelper.pod:405 debhelper.pod:409
+#: debhelper.pod:424 debhelper.pod:428 debhelper.pod:436 debhelper.pod:441
+#: debhelper.pod:455 debhelper.pod:460 debhelper.pod:467 debhelper.pod:472
+#: debhelper.pod:477 debhelper.pod:485 debhelper.pod:491 debhelper.pod:496
+#: debhelper.pod:501 debhelper.pod:514 debhelper.pod:519 debhelper.pod:525
+#: debhelper.pod:532 debhelper.pod:538 debhelper.pod:543 debhelper.pod:549
+#: debhelper.pod:555 debhelper.pod:565 debhelper.pod:571 debhelper.pod:594
+#: debhelper.pod:601 debhelper.pod:607 debhelper.pod:613 debhelper.pod:629
+#: debhelper.pod:635 debhelper.pod:647 debhelper.pod:655 debhelper.pod:661
+#: debhelper.pod:666 debhelper.pod:671 debhelper.pod:676 debhelper.pod:684
+#: debhelper.pod:694 debhelper.pod:704 debhelper.pod:711 debhelper.pod:723
+#: debhelper.pod:728 debhelper.pod:756 debhelper.pod:775 debhelper.pod:785
+#: debhelper.pod:789 debhelper.pod:794 debhelper.pod:799 debhelper.pod:806
+#: debhelper.pod:812 debhelper.pod:820 debhelper.pod:826 debhelper.pod:830
+#: debhelper.pod:835 debhelper.pod:840 debhelper.pod:849
#: debhelper-obsolete-compat.pod:43 debhelper-obsolete-compat.pod:48
#: debhelper-obsolete-compat.pod:52 debhelper-obsolete-compat.pod:66
#: debhelper-obsolete-compat.pod:71 debhelper-obsolete-compat.pod:76
#: debhelper-obsolete-compat.pod:81 debhelper-obsolete-compat.pod:97
#: debhelper-obsolete-compat.pod:101 debhelper-obsolete-compat.pod:106
-#: debhelper-obsolete-compat.pod:110
+#: debhelper-obsolete-compat.pod:110 dh_testroot:36 dh_testroot:41
+#: dh_testroot:46
msgid "-"
msgstr "-"
# type: textblock
#. type: textblock
-#: debhelper.pod:327
+#: debhelper.pod:364
msgid ""
"Commands that generate maintainer script fragments will order the fragments "
"in reverse order for the F<prerm> and F<postrm> scripts."
@@ -992,7 +1071,7 @@ msgstr ""
# type: textblock
#. type: textblock
-#: debhelper.pod:332
+#: debhelper.pod:369
msgid ""
"B<dh_installwm> will install a slave manpage link for F<x-window-manager.1."
"gz>, if it sees the man page in F<usr/share/man/man1> in the package build "
@@ -1004,7 +1083,7 @@ msgstr ""
# type: textblock
#. type: textblock
-#: debhelper.pod:338
+#: debhelper.pod:375
msgid ""
"B<dh_builddeb> did not previously delete everything matching "
"B<DH_ALWAYS_EXCLUDE>, if it was set to a list of things to exclude, such as "
@@ -1016,7 +1095,7 @@ msgstr ""
# type: textblock
#. type: textblock
-#: debhelper.pod:344
+#: debhelper.pod:381
msgid ""
"B<dh_installman> allows overwriting existing man pages in the package build "
"directory. In previous compatibility levels it silently refuses to do this."
@@ -1026,19 +1105,19 @@ msgstr ""
"de le faire."
#. type: =item
-#: debhelper.pod:351
+#: debhelper.pod:388
msgid "v7"
msgstr "v7"
# type: textblock
#. type: textblock
-#: debhelper.pod:353
+#: debhelper.pod:390
msgid "Changes from v6 are:"
msgstr "Les changements par rapport à la version 6 sont :"
# type: textblock
#. type: textblock
-#: debhelper.pod:359
+#: debhelper.pod:396
msgid ""
"B<dh_install>, will fall back to looking for files in F<debian/tmp> if it "
"doesn't find them in the current directory (or wherever you tell it look "
@@ -1054,7 +1133,7 @@ msgstr ""
# type: textblock
#. type: textblock
-#: debhelper.pod:366
+#: debhelper.pod:403
msgid "B<dh_clean> will read F<debian/clean> and delete files listed there."
msgstr ""
"B<dh_clean> lit le répertoire F<debian/clean> et supprime les fichiers qui y "
@@ -1062,13 +1141,13 @@ msgstr ""
# type: textblock
#. type: textblock
-#: debhelper.pod:370
+#: debhelper.pod:407
msgid "B<dh_clean> will delete toplevel F<*-stamp> files."
msgstr "B<dh_clean> supprime les fichiers F<*-stamp>."
# type: textblock
#. type: textblock
-#: debhelper.pod:374
+#: debhelper.pod:411
msgid ""
"B<dh_installchangelogs> will guess at what file is the upstream changelog if "
"none is specified."
@@ -1077,18 +1156,18 @@ msgstr ""
"amont si rien n'est indiqué."
#. type: =item
-#: debhelper.pod:381
+#: debhelper.pod:418
msgid "v8"
msgstr "v8"
# type: textblock
#. type: textblock
-#: debhelper.pod:383
+#: debhelper.pod:420
msgid "Changes from v7 are:"
msgstr "Les changements par rapport à la version 7 sont :"
#. type: textblock
-#: debhelper.pod:389
+#: debhelper.pod:426
msgid ""
"Commands will fail rather than warning when they are passed unknown options."
msgstr ""
@@ -1096,7 +1175,7 @@ msgstr ""
"recevront des options inconnues."
#. type: textblock
-#: debhelper.pod:393
+#: debhelper.pod:430
msgid ""
"B<dh_makeshlibs> will run B<dpkg-gensymbols> on all shared libraries that it "
"generates shlibs files for. So B<-X> can be used to exclude libraries. "
@@ -1113,7 +1192,7 @@ msgstr ""
"certains paquets."
#. type: textblock
-#: debhelper.pod:401
+#: debhelper.pod:438
msgid ""
"B<dh> requires the sequence to run be specified as the first parameter, and "
"any switches come after it. Ie, use \"B<dh $@ --foo>\", not \"B<dh --foo $@>"
@@ -1124,7 +1203,7 @@ msgstr ""
"faut écrire « B<dh $@ --toto> », et non « B<dh --toto $@> »"
#. type: textblock
-#: debhelper.pod:406
+#: debhelper.pod:443
msgid ""
"B<dh_auto_>I<*> prefer to use Perl's B<Module::Build> in preference to "
"F<Makefile.PL>."
@@ -1133,18 +1212,18 @@ msgstr ""
"F<Makefile.PL>."
#. type: =item
-#: debhelper.pod:412
+#: debhelper.pod:449
msgid "v9"
msgstr "v9"
# type: textblock
#. type: textblock
-#: debhelper.pod:414
+#: debhelper.pod:451
msgid "Changes from v8 are:"
msgstr "Les changements par rapport à la version 8 sont :"
#. type: textblock
-#: debhelper.pod:420
+#: debhelper.pod:457
msgid ""
"Multiarch support. In particular, B<dh_auto_configure> passes multiarch "
"directories to autoconf in --libdir and --libexecdir."
@@ -1154,7 +1233,7 @@ msgstr ""
"libexecdir>."
#. type: textblock
-#: debhelper.pod:425
+#: debhelper.pod:462
msgid ""
"dh is aware of the usual dependencies between targets in debian/rules. So, "
"\"dh binary\" will run any build, build-arch, build-indep, install, etc "
@@ -1168,7 +1247,7 @@ msgstr ""
"les autres cibles."
#. type: textblock
-#: debhelper.pod:432
+#: debhelper.pod:469
msgid ""
"B<dh_strip> compresses debugging symbol files to reduce the installed size "
"of -dbg packages."
@@ -1177,7 +1256,7 @@ msgstr ""
"la taille d'installation des paquets -dbg."
#. type: textblock
-#: debhelper.pod:437
+#: debhelper.pod:474
msgid ""
"B<dh_auto_configure> does not include the source package name in --"
"libexecdir when using autoconf."
@@ -1186,20 +1265,23 @@ msgstr ""
"libexecdir> en utilisant B<autoconf>."
#. type: textblock
-#: debhelper.pod:442
+#: debhelper.pod:479
msgid "B<dh> does not default to enabling --with=python-support"
msgstr "B<dh> n'active pas B<--with=python-support> par défaut."
#. type: textblock
-#: debhelper.pod:444
+#: debhelper.pod:481
msgid ""
"(Obsolete: As the B<dh_pysupport> tool was removed from Debian stretch. "
"Since debhelper/10.3, B<dh> no longer enables this sequence add-on "
"regardless of compat level)"
msgstr ""
+"(Obsolète puisque l'outil B<dh_pysupport> a été retiré de Debian Stretch. "
+"Depuis debhelper 10.3, B<dh> n'active plus cette séquence quel que soit le "
+"niveau de compatibilité)"
#. type: textblock
-#: debhelper.pod:450
+#: debhelper.pod:487
msgid ""
"All of the B<dh_auto_>I<*> debhelper programs and B<dh> set environment "
"variables listed by B<dpkg-buildflags>, unless they are already set."
@@ -1209,7 +1291,7 @@ msgstr ""
"sont déjà configurées."
#. type: textblock
-#: debhelper.pod:456
+#: debhelper.pod:493
msgid ""
"B<dh_auto_configure> passes B<dpkg-buildflags> CFLAGS, CPPFLAGS, and LDFLAGS "
"to perl F<Makefile.PL> and F<Build.PL>"
@@ -1218,7 +1300,7 @@ msgstr ""
"buildflags> à F<Makefile.PL> et F<Build.PL> de Perl."
#. type: textblock
-#: debhelper.pod:461
+#: debhelper.pod:498
msgid ""
"B<dh_strip> puts separated debug symbols in a location based on their build-"
"id."
@@ -1227,7 +1309,7 @@ msgstr ""
"fonction de leur identifiant de construction (build-id)."
#. type: textblock
-#: debhelper.pod:466
+#: debhelper.pod:503
msgid ""
"Executable debhelper config files are run and their output used as the "
"configuration."
@@ -1236,24 +1318,18 @@ msgstr ""
"sortie est utilisée comme configuration."
#. type: =item
-#: debhelper.pod:471
+#: debhelper.pod:508
msgid "v10"
msgstr "v10"
# type: textblock
#. type: textblock
-#: debhelper.pod:473
-msgid "This is the recommended mode of operation."
-msgstr "C'est la version dont l'usage est recommandé."
-
-# type: textblock
-#. type: textblock
-#: debhelper.pod:476
+#: debhelper.pod:510
msgid "Changes from v9 are:"
msgstr "Les changements par rapport à la version 9 sont :"
#. type: textblock
-#: debhelper.pod:482
+#: debhelper.pod:516
msgid ""
"B<dh_installinit> will no longer install a file named debian/I<package> as "
"an init script."
@@ -1262,7 +1338,7 @@ msgstr ""
"script d'initialisation."
#. type: textblock
-#: debhelper.pod:487
+#: debhelper.pod:521
msgid ""
"B<dh_installdocs> will error out if it detects links created with --link-doc "
"between packages of architecture \"all\" and non-\"all\" as it breaks "
@@ -1274,7 +1350,7 @@ msgstr ""
"responsable)."
#. type: textblock
-#: debhelper.pod:493
+#: debhelper.pod:527
msgid ""
"B<dh> no longer creates the package build directory when skipping running "
"debhelper commands. This will not affect packages that only build with "
@@ -1288,7 +1364,7 @@ msgstr ""
"debhelper."
#. type: textblock
-#: debhelper.pod:500
+#: debhelper.pod:534
msgid ""
"B<dh_installdeb> no longer installs a maintainer-provided debian/I<package>."
"shlibs file. This is now done by B<dh_makeshlibs> instead."
@@ -1298,7 +1374,7 @@ msgstr ""
"B<dh_makeshlibs>."
#. type: textblock
-#: debhelper.pod:506
+#: debhelper.pod:540
msgid ""
"B<dh_installwm> refuses to create a broken package if no man page can be "
"found (required to register for the x-window-manager alternative)."
@@ -1308,7 +1384,7 @@ msgstr ""
"manager)."
#. type: textblock
-#: debhelper.pod:511
+#: debhelper.pod:545
msgid ""
"Debhelper will default to B<--parallel> for all buildsystems that support "
"parallel building. This can be disabled by using either B<--no-parallel> or "
@@ -1320,7 +1396,7 @@ msgstr ""
"parallel>."
#. type: textblock
-#: debhelper.pod:517
+#: debhelper.pod:551
msgid ""
"The B<dh> command will not accept any of the deprecated \"manual sequence "
"control\" parameters (B<--before>, B<--after>, etc.). Please use override "
@@ -1331,7 +1407,7 @@ msgstr ""
"cibles de réécritures à la place."
#. type: textblock
-#: debhelper.pod:523
+#: debhelper.pod:557
msgid ""
"The B<dh> command will no longer use log files to track which commands have "
"been run. The B<dh> command I<still> keeps track of whether it already ran "
@@ -1343,12 +1419,12 @@ msgstr ""
"cas."
#. type: textblock
-#: debhelper.pod:527
+#: debhelper.pod:561
msgid "The main effects of this are:"
msgstr "Les principales conséquences de cela sont :"
#. type: textblock
-#: debhelper.pod:533
+#: debhelper.pod:567
msgid ""
"With this, it is now easier to debug the I<install> or/and I<binary> "
"sequences because they can now trivially be re-run (without having to do a "
@@ -1359,7 +1435,7 @@ msgstr ""
"(sans avoir à refaire un cycle complet de « clean & rebuild »)"
#. type: textblock
-#: debhelper.pod:539
+#: debhelper.pod:573
msgid ""
"The main caveat is that B<dh_*> now only keeps track of what happened in a "
"single override target. When all the calls to a given B<dh_cmd> command "
@@ -1371,12 +1447,12 @@ msgstr ""
"fonctionnera comme avant."
#. type: textblock
-#: debhelper.pod:544
+#: debhelper.pod:578
msgid "Example of where it can go wrong:"
msgstr "Exemple de ce qui pourrait mal se passer :"
#. type: verbatim
-#: debhelper.pod:546
+#: debhelper.pod:580
#, no-wrap
msgid ""
" override_dh_foo:\n"
@@ -1388,7 +1464,7 @@ msgstr ""
"\n"
#. type: verbatim
-#: debhelper.pod:549
+#: debhelper.pod:583
#, no-wrap
msgid ""
" override_dh_bar:\n"
@@ -1402,7 +1478,7 @@ msgstr ""
"\n"
#. type: textblock
-#: debhelper.pod:553
+#: debhelper.pod:587
msgid ""
"In this case, the call to B<dh_foo --remaining> will I<also> include I<my-"
"pkg>, since B<dh_foo -pmy-pkg> was run in a separate override target. This "
@@ -1414,7 +1490,7 @@ msgstr ""
"B<-a>, B<-i>, etc."
#. type: textblock
-#: debhelper.pod:562
+#: debhelper.pod:596
msgid ""
"The B<dh_installdeb> command now shell-escapes the lines in the "
"F<maintscript> config file. This was the original intent but it did not "
@@ -1428,7 +1504,7 @@ msgstr ""
"de fichiers de guillemets)."
#. type: textblock
-#: debhelper.pod:569
+#: debhelper.pod:603
msgid ""
"The B<dh_installinit> command now defaults to B<--restart-after-upgrade>. "
"For packages needing the previous behaviour, please use B<--no-restart-after-"
@@ -1439,7 +1515,7 @@ msgstr ""
"utiliser l'option B<--no-restart-after-upgrade>."
#. type: textblock
-#: debhelper.pod:575
+#: debhelper.pod:609
msgid ""
"The B<autoreconf> sequence is now enabled by default. Please pass B<--"
"without autoreconf> to B<dh> if this is not desirable for a given package"
@@ -1449,7 +1525,7 @@ msgstr ""
"certains paquets."
#. type: textblock
-#: debhelper.pod:581
+#: debhelper.pod:615
msgid ""
"The B<systemd> sequence is now enabled by default. Please pass B<--without "
"systemd> to B<dh> if this is not desirable for a given package."
@@ -1459,58 +1535,62 @@ msgstr ""
"paquets."
#. type: =item
-#: debhelper.pod:587
+#: debhelper.pod:621
msgid "v11"
msgstr "v11"
+# type: textblock
#. type: textblock
-#: debhelper.pod:589 debhelper.pod:722
-msgid ""
-"This compatibility level is still open for development; use with caution."
-msgstr ""
-"Ce niveau de compatibilité est encore en développement ; à utiliser avec "
-"précaution."
+#: debhelper.pod:623
+msgid "This is the recommended mode of operation."
+msgstr "C'est la version dont l'usage est recommandé."
# type: textblock
#. type: textblock
-#: debhelper.pod:591
+#: debhelper.pod:625
msgid "Changes from v10 are:"
msgstr "Les changements par rapport à la version 10 sont :"
#. type: textblock
-#: debhelper.pod:597
-#, fuzzy
-#| msgid ""
-#| "B<dh_installinit> no longer installs F<service> or F<tmpfile> files, nor "
-#| "generates maintainer scripts for those files. Use B<dh_systemd_enable> "
-#| "and B<dh_systemd_start> instead."
+#: debhelper.pod:631
msgid ""
"B<dh_installinit> no longer installs F<service> or F<tmpfile> files, nor "
"generates maintainer scripts for those files. Please use the new "
"B<dh_installsystemd> helper."
msgstr ""
"B<dh_installinit> n'installe plus de fichiers F<service> ou F<tmpfile>, ni "
-"ne crée de scripts de maintenance pour ces fichiers. Utilisez "
-"B<dh_systemd_enable> et B<dh_systemd_start> à la place."
+"ne crée de scripts de maintenance pour ces fichiers. Veuillez utiliser le "
+"nouvel assistant B<dh_installsystemd> à la place."
#. type: textblock
-#: debhelper.pod:603
+#: debhelper.pod:637
msgid ""
"The B<dh_systemd_enable> and B<dh_systemd_start> helpers have been replaced "
"by the new B<dh_installsystemd> helper. For the same reason, the B<systemd> "
"sequence for B<dh> has also been removed. If you need to disable the "
"B<dh_installsystemd> helper tool, please use an empty override target."
msgstr ""
+"Les outils B<dh_systemd_enable> et B<dh_systemd_start> ont été remplacés par "
+"un nouvel assistant B<dh_installsystemd>. Pour la même raison, la séquence "
+"B<systemd> de B<dh> a aussi été retirée. Si vous avez besoin de désactiver "
+"B<dh_installsystemd>, veuillez utiliser une cible de réécriture vide."
#. type: textblock
-#: debhelper.pod:609
+#: debhelper.pod:643
+#, fuzzy
+#| msgid ""
+#| "Please note that the B<dh_installsystemd> tool have a slightly different "
+#| "behaviour in some cases (e.g. when using the B<--name> parameter)."
msgid ""
-"Please note that the B<dh_installsystemd> tool have a slightly different "
+"Please note that the B<dh_installsystemd> tool has a slightly different "
"behaviour in some cases (e.g. when using the B<--name> parameter)."
msgstr ""
+"Veuillez noter que B<dh_installsystemd> a un comportement légèrement "
+"différent dans certains cas (par exemple lors de l'utilisation du paramètre "
+"B<--name>)."
#. type: textblock
-#: debhelper.pod:615
+#: debhelper.pod:649
msgid ""
"B<dh_installdirs> no longer creates debian/I<package> directories unless "
"explicitly requested (or it has to create a subdirectory in it)."
@@ -1520,186 +1600,277 @@ msgstr ""
"l'intérieur)."
#. type: textblock
-#: debhelper.pod:619
+#: debhelper.pod:653
msgid "The vast majority of all packages will be unaffected by this change."
msgstr ""
"La grande majorité des paquets ne seront pas affectés par ce changement."
#. type: textblock
-#: debhelper.pod:623
+#: debhelper.pod:657
msgid ""
"The B<makefile> buildsystem now passes B<INSTALL=install --strip-"
"program=true> to L<make(1)>. Derivative buildsystems (e.g. B<configure> or "
"B<cmake>) are unaffected by this change."
msgstr ""
+"Le système de construction B<makefile> passe maintenant les options "
+"B<INSTALL=install --strip-program=true> à L<make(1)>. Les systèmes dérivés "
+"(comme B<configure> ou B<cmake>) ne sont pas affectés par ce changement."
#. type: textblock
-#: debhelper.pod:629
+#: debhelper.pod:663
msgid ""
"The B<autoconf> buildsystem now passes B<--runstatedir=/run> to F<./"
"configure>."
msgstr ""
+"Le système de construction B<autoconf> passe maintenant l'option B<--"
+"runstatedir=/run> à F<./configure>."
#. type: textblock
-#: debhelper.pod:634
+#: debhelper.pod:668
msgid ""
"The B<cmake> buildsystem now passes B<-DCMAKE_INSTALL_RUNSTATEDIR=/run> to "
"L<cmake(1)>."
msgstr ""
+"Le système de construction B<cmake> passe maintenant l'option B<-"
+"DCMAKE_INSTALL_RUNSTATEDIR=/run> à L<cmake(1)>."
#. type: textblock
-#: debhelper.pod:637
-msgid ""
-"B<Caveat>: This option silently does nothing in cmake versions prior to "
-"3.8. Please keep this in mind if your package is regularly backported to a "
-"suite (e.g. stretch-backports) where cmake is older than 3.8."
-msgstr ""
-
-#. type: textblock
-#: debhelper.pod:644
+#: debhelper.pod:673
msgid ""
"B<dh_installman> will now prefer detecting the language from the path name "
"rather than the extension."
msgstr ""
+"B<dh_installman> préfère maintenant détecter le langage à partir du chemin "
+"plutôt que de l'extension."
#. type: textblock
-#: debhelper.pod:649
-#, fuzzy
-#| msgid ""
-#| "B<dh> no longer creates the package build directory when skipping running "
-#| "debhelper commands. This will not affect packages that only build with "
-#| "debhelper commands, but it may expose bugs in commands not included in "
-#| "debhelper."
+#: debhelper.pod:678
msgid ""
"B<dh_auto_install> will now only create the destination directory it needs. "
"Previously, it would create the package build directory for all packages. "
"This will not affect packages that only build with debhelper commands, but "
"it may expose bugs in commands not included in debhelper."
msgstr ""
-"B<dh> ne crée plus le répertoire de construction du paquet lors de "
-"l'omission des commandes debhelper en cours. Cela n'affectera pas les "
-"paquets qui se construisent uniquement avec dehelper, mais pourrait faire "
-"apparaître des bogues dans les commandes qui ne sont pas incluses avec "
-"debhelper."
+"B<dh_auto_install> crée maintenant uniquement le répertoire de destination "
+"nécessaire. Auparavant, le répertoire de construction de chaque paquet était "
+"créé. Cela n'affectera pas les paquets qui se construisent uniquement avec "
+"debhelper, mais pourrait faire apparaître des bogues dans les commandes qui "
+"ne sont pas incluses avec debhelper."
#. type: textblock
-#: debhelper.pod:657
+#: debhelper.pod:686
msgid ""
"The helpers B<dh_installdocs>, B<dh_installexamples>, B<dh_installinfo>, and "
"B<dh_installman> now error out if their config has a pattern that does not "
"match anything or reference a path that does not exist."
msgstr ""
+"Les outils B<dh_installdocs>, B<dh_installexamples>, B<dh_installinfo> et "
+"B<dh_installman> renvoient maintenant une erreur si leur configuration "
+"contient un motif qui ne correspond à rien ou qui référence un chemin qui "
+"n'existe pas."
#. type: textblock
-#: debhelper.pod:661
+#: debhelper.pod:690
msgid ""
"Known exceptions include building with the B<nodoc> profile, where the above "
"tools will silently permit failed matches where the patterns are used to "
"specify documentation."
msgstr ""
+"Les exceptions connues incluent la construction avec le profil B<nodoc>, où "
+"les outils ci-dessus permettront un échec silencieux de la correspondance "
+"lorsque le motif est utilisé pour spécifier la documentation."
#. type: textblock
-#: debhelper.pod:667
+#: debhelper.pod:696
msgid ""
"The helpers B<dh_installdocs>, B<dh_installexamples>, B<dh_installinfo>, and "
"B<dh_installman> now accept the parameter B<--sourcedir> with same meaning "
"as B<dh_install>. Furthermore, they now also fall back to F<debian/tmp> like "
"B<dh_install>."
msgstr ""
+"Les outils B<dh_installdocs>, B<dh_installexamples>, B<dh_installinfo> et "
+"B<dh_installman> acceptent maintenant le paramètre B<--sourcedir> avec la "
+"même signification que dans B<dh_install>. De plus, ils se rabattent sur "
+"F<debian/tmp> comme B<dh_install>."
#. type: textblock
-#: debhelper.pod:674
+#: debhelper.pod:701
+msgid ""
+"Migration note: A bug in debhelper 11 up to 11.1.5 made B<dh_installinfo> "
+"incorrectly ignore B<--sourcedir>."
+msgstr ""
+
+#. type: textblock
+#: debhelper.pod:706
+#, fuzzy
+#| msgid ""
+#| "The B<perl-makemaker> and B<perl-build> build systems no longer pass B<-I."
+#| "> to perl. Packages that still need this behaviour can get emulate it by "
+#| "using the B<PERL5LIB> environment variable. E.g. by adding B<export "
+#| "PERL5LIB=.> in their debian/rules file (or similar)."
msgid ""
"The B<perl-makemaker> and B<perl-build> build systems no longer pass B<-I.> "
-"to perl. Packages that still need this behaviour can get emulate it by "
-"using the B<PERL5LIB> environment variable. E.g. by adding B<export "
-"PERL5LIB=.> in their debian/rules file (or similar)."
+"to perl. Packages that still need this behaviour can emulate it by using "
+"the B<PERL5LIB> environment variable. E.g. by adding B<export PERL5LIB=.> "
+"in their debian/rules file (or similar)."
msgstr ""
+"Les systèmes de construction B<perl-makemaker> et B<perl-build> ne passent "
+"plus l'option B<-I.> à Perl. Les paquets qui ont encore besoin de ce "
+"comportement peuvent l'émuler en utilisant la variable d'environnement "
+"B<PERL5LIB>. Par exemple en ajoutant B<export PERL5LIB=.> dans leur fichier "
+"F<debian/rules> (ou équivalent)."
#. type: textblock
-#: debhelper.pod:681
+#: debhelper.pod:713
msgid ""
"The B<PERL_USE_UNSAFE_INC> environment variable is no longer set by B<dh> or "
"any of the B<dh_auto_*> tools. It was added as a temporary work around to "
"avoid a lot of packages failing to build at the same time."
msgstr ""
+"La variable d'environnement B<PERL_USE_UNSAFE_INC> n'est plus définie par "
+"B<dh>, ni aucun des outils B<dh_auto_*>. Cela avait été ajouté comme "
+"contournement temporaire, pour éviter les échecs de construction d’un grand "
+"nombre de paquets en même temps."
#. type: textblock
-#: debhelper.pod:686
+#: debhelper.pod:718
msgid ""
"Note this item will eventually become obsolete as upstream intends to drop "
"support for the B<PERL_USE_UNSAFE_INC> environment variable. When perl "
"drops support for it, then this variable will be removed retroactively from "
"existing compat levels as well."
msgstr ""
+"De plus, cette fonction deviendra peut-être obsolète car l'amont a "
+"l'intention de retirer la prise en charge de la variable d'environnement "
+"B<PERL_USE_UNSAFE_INC>. Lorsque ce sera le cas, cette variable sera aussi "
+"supprimée rétroactivement des niveaux de compatibilités existants."
#. type: textblock
-#: debhelper.pod:693
+#: debhelper.pod:725
msgid ""
"The B<dh_makeshlibs> helper will now exit with an error if objdump returns a "
"non-zero exit from analysing a given file."
msgstr ""
+"L'assistant B<dh_makeshlibs> termine maintenant sur une erreur si objdump "
+"renvoie une valeur de sortie différente de zéro lors de l'analyse d'un "
+"fichier."
#. type: textblock
-#: debhelper.pod:698
+#: debhelper.pod:730
msgid ""
-"The B<dh_installdocs> and B<dh_installexamples> tools will now attempt to "
-"guess the \"main package\" for a given documentation package (e.g. I<pkg-"
-"doc> will have I<pkg> as main package if the latter exists). If a main "
-"package is found, I<most> of the documentation will be installed into F<< /"
-"usr/share/doc/I<main-pkg> >> by default as recommended by Debian policy "
-"§12.3 since version 3.9.7. Notable exceptions include the copyright file "
-"and changelog files."
+"The B<dh_installdocs> and B<dh_installexamples> tools may now install "
+"I<most> of the documentation in a different path to comply with the "
+"recommendation from Debian policy §12.3 (since version 3.9.7)."
msgstr ""
#. type: textblock
-#: debhelper.pod:706
+#: debhelper.pod:734
+msgid ""
+"Note that if a given source package only contains a single binary package in "
+"F<debian/control> or none of the packages are I<-doc> packages, then this "
+"change is not relevant for that source package and you can skip to the next "
+"change."
+msgstr ""
+
+#. type: textblock
+#: debhelper.pod:739
+msgid ""
+"By default, these tools will now attempt to determine a \"main package for "
+"the documentation\" (called a I<doc-main-package> from here on) for every I<-"
+"doc> package. If they find such a I<doc-main-package>, they will now "
+"install the documentation into the path F<< /usr/share/doc/I<doc-main-"
+"package> >> in the given doc package. I.e. the path can change but the "
+"documentation is still shipped in the I<-doc> package."
+msgstr ""
+
+#. type: textblock
+#: debhelper.pod:747
+#, fuzzy
+#| msgid ""
+#| "The B<--doc-main-package> option can be used when the auto-detection is "
+#| "insufficient."
msgid ""
"The B<--doc-main-package> option can be used when the auto-detection is "
-"insufficient."
+"insufficient or to reset the path to its previous value if there is a reason "
+"to diverge from Debian policy recommendation."
msgstr ""
+"L'option B<--doc-main-package> peut être utilisée si la détection "
+"automatique est insuffisante."
#. type: textblock
-#: debhelper.pod:711
+#: debhelper.pod:751
+msgid ""
+"Some documentation will not be affected by this change. These exceptions "
+"include the copyright file, changelog files, README.Debian, etc. These "
+"files will still be installed in the path F<< /usr/share/doc/I<package> >>."
+msgstr ""
+
+#. type: textblock
+#: debhelper.pod:758
msgid ""
"The B<dh_strip> and B<dh_shlibdeps> tools no longer uses filename patterns "
"to determine which files to process. Instead, they open the file and look "
"for an ELF header to determine if a given file is an shared object or an ELF "
"executable."
msgstr ""
+"Les outils B<dh_strip> et B<dh_shlibdeps> n'utilisent plus les motifs de "
+"noms de fichiers pour déterminer les fichiers à traiter. À la place, ils "
+"ouvrent le fichier et cherchent un en-tête ELF pour déterminer si ce fichier "
+"est un objet partagé ou un exécutable ELF."
#. type: textblock
-#: debhelper.pod:716
+#: debhelper.pod:763
msgid "This change may cause the tools to process more files than previously."
msgstr ""
+"Ce changement peut forcer les outils à traiter plus de fichiers qu'avant."
#. type: =item
-#: debhelper.pod:720
-#, fuzzy
-#| msgid "v1"
+#: debhelper.pod:767
msgid "v12"
-msgstr "v1"
+msgstr "v12"
+
+#. type: textblock
+#: debhelper.pod:769
+msgid ""
+"This compatibility level is still open for development; use with caution."
+msgstr ""
+"Ce niveau de compatibilité est encore en développement ; à utiliser avec "
+"précaution."
# type: textblock
#. type: textblock
-#: debhelper.pod:724
-#, fuzzy
-#| msgid "Changes from v10 are:"
+#: debhelper.pod:771
msgid "Changes from v11 are:"
-msgstr "Les changements par rapport à la version 10 sont :"
+msgstr "Les changements par rapport à la version 11 sont :"
+
+#. type: textblock
+#: debhelper.pod:777
+msgid ""
+"The B<dh_makeshlibs> tool now generates shlibs files with versioned "
+"dependency by default. This means that B<-VUpstream-Version> (a.k.a. B<-V>) "
+"is now the default."
+msgstr ""
+
+#. type: textblock
+#: debhelper.pod:781
+msgid ""
+"If an unversioned dependency in the shlibs file is wanted, this can be "
+"obtained by passing B<-VNone> instead. However, please see "
+"L<dh_makeshlibs(1)> for the caveat of unversioned dependencies."
+msgstr ""
# type: =item
#. type: textblock
-#: debhelper.pod:730
-#, fuzzy
-#| msgid "The B<-s> (B<--same-arch>) option is removed."
+#: debhelper.pod:787
msgid ""
"The B<-s> (B<--same-arch>) option is removed. Please use B<-a> (B<--arch>) "
"instead."
-msgstr "L'option B<-s> (B<--same-arch>) est supprimée."
+msgstr ""
+"L'option B<-s> (B<--same-arch>) est supprimée. Veuillez utiliser B<-a> (B<--"
+"arch>) à la place."
#. type: textblock
-#: debhelper.pod:734
+#: debhelper.pod:791
msgid ""
"Invoking B<dh_clean -k> now causes an error instead of a deprecation warning."
msgstr ""
@@ -1707,31 +1878,40 @@ msgstr ""
"l'avertissement d'obsolescence."
#. type: textblock
-#: debhelper.pod:739
+#: debhelper.pod:796
msgid ""
"The B<--no-restart-on-upgrade> option in B<dh_installinit> has been "
"removed. Please use the new name B<--no-stop-on-upgrade>"
msgstr ""
+"L'option B<--no-restart-on-upgrade> de B<dh_installinit> a été supprimée. "
+"Veuillez utiliser le nouveau nom B<--no-stop-on-upgrade>."
#. type: textblock
-#: debhelper.pod:744
+#: debhelper.pod:801
msgid ""
"There was a bug in the B<doit> (and similar) functions from L<Debian::"
"Debhelper::Dh_Lib> that made them spawn a shell in one particular "
"circumstance. This bug is now removed and will cause helpers that rely on "
"the bug to fail with a \"command not found\"-error."
msgstr ""
+"Il y avait un bogue dans les fonctions B<doit> (et équivalent) de L<Debian::"
+"Debhelper::Dh_Lib> qui créait un shell dans une circonstance particulière. "
+"Ce bogue est maintenant supprimé et provoquera une erreur de type « commande "
+"non trouvée » dans les outils qui l'utilisaient."
#. type: textblock
-#: debhelper.pod:751
+#: debhelper.pod:808
msgid ""
"The B<--list-missing> and B<--fail-missing> in B<dh_install> has been "
"removed. Please use B<dh_missing> and its corresponding options, which can "
"also see the files installed by other helpers."
msgstr ""
+"Les options B<--list-missing> et B<--fail-missing> de B<dh_install> ont été "
+"supprimées. Veuillez utiliser B<dh_missing> et ses options correspondantes, "
+"qui peuvent aussi voir les fichiers installés par les autres outils."
#. type: textblock
-#: debhelper.pod:757
+#: debhelper.pod:814
msgid ""
"The B<dh_installinit> helper no longer installs configuration for the "
"upstart init system. Instead, it will abort the build if it finds an old "
@@ -1739,26 +1919,110 @@ msgid ""
"maintainer to ensure the proper removal of the conffiles shipped in previous "
"versions of the package (if any)."
msgstr ""
+"L'outil B<dh_installinit> n'installe plus de configuration pour upstart. À "
+"la place, il abandonnera la construction s'il trouve un ancien fichier de "
+"configuration upstart. Cela pour rappeler au mainteneur de s'assurer de "
+"correctement supprimer les anciens fichiers de configuration livrés dans les "
+"anciennes versions du paquet."
+
+#. type: textblock
+#: debhelper.pod:822
+msgid ""
+"The B<dh_installdeb> tool will do basic validation of some L<dpkg-"
+"maintscript-helper(1)> commands and will error out if the commands appear to "
+"be invalid."
+msgstr ""
+"L'outil B<dh_installdeb> valide basiquement quelques commandes L<dpkg-"
+"maintscript-helper(1)> et renvoie une erreur si la commande semble "
+"incorrecte."
+
+#. type: textblock
+#: debhelper.pod:828
+msgid "The B<dh_missing> tool will now default to B<--list-missing>."
+msgstr ""
+
+#. type: textblock
+#: debhelper.pod:832
+msgid ""
+"The B<dh_makeshlibs> tool will now only pass libraries to L<dpkg-"
+"gensymbols(1)> if the ELF binary has a SONAME (containing \".so\")."
+msgstr ""
+
+#. type: textblock
+#: debhelper.pod:837
+msgid ""
+"The B<dh_compress> tool no longer compresses examples (i.e. anything "
+"installed in F<</usr/share/doc/I<package>/examples>>.)"
+msgstr ""
+
+#. type: textblock
+#: debhelper.pod:842
+msgid ""
+"The standard sequence in B<dh> now includes B<dh_dwz> and "
+"B<dh_installinitramfs> by default. This makes the B<dwz> and "
+"B<installinitramfs> sequences obsolete and they will now fail with an "
+"error. If you want to skip these commands, then please insert an empty "
+"override target for them in F<debian/rules> (e.g. I<override_dh_dwz:>)"
+msgstr ""
+
+#. type: textblock
+#: debhelper.pod:851
+msgid ""
+"The build systems B<meson> and B<autoconf> no longer explicitly set the B<--"
+"libexecdir> variable and thus relies on the build system default - which "
+"should be B</usr/libexec> (per FHS 3.0, adopted in Debian Policy 4.1.5)."
+msgstr ""
+
+#. type: textblock
+#: debhelper.pod:856
+msgid ""
+"If a particular upstream package does not use the correct default, the "
+"parameter can often be passed manually via L<dh_auto_configure(1)>. E.g. "
+"via the following example:"
+msgstr ""
+
+# type: verbatim
+#. type: verbatim
+#: debhelper.pod:860
+#, fuzzy, no-wrap
+#| msgid ""
+#| "\toverride_dh_auto_configure:\n"
+#| "\t\tdh_auto_configure -- --with-foo --disable-bar\n"
+#| "\n"
+msgid ""
+" override_dh_auto_configure:\n"
+" \tdh_auto_configure -- --libexecdir=/usr/libexec\n"
+"\n"
+msgstr ""
+"\toverride_dh_auto_configure:\n"
+"\t\tdh_auto_configure -- --with-toto --disable-titi\n"
+"\n"
+
+#. type: textblock
+#: debhelper.pod:863
+msgid "Note the B<--> before the B<--libexecdir> parameter."
+msgstr ""
# type: =head1
#. type: =head1
-#: debhelper.pod:767 dh_auto_test:48 dh_installcatalogs:64 dh_installdocs:178
-#: dh_installemacsen:75 dh_installexamples:85 dh_installinit:183
-#: dh_installman:124 dh_installmodules:57 dh_installudev:50 dh_installwm:58
-#: dh_installxfonts:40 dh_movefiles:67 dh_strip:119 dh_usrlocal:59
-#: dh_systemd_enable:104 dh_systemd_start:68
+#: debhelper.pod:869 dh_auto_test:48 dh_dwz:57 dh_installcatalogs:64
+#: dh_installdocs:192 dh_installemacsen:75 dh_installexamples:89
+#: dh_installinit:205 dh_installinitramfs:53 dh_installman:128
+#: dh_installmodules:57 dh_installudev:50 dh_installwm:63 dh_installxfonts:40
+#: dh_movefiles:67 dh_strip:119 dh_usrlocal:60 dh_systemd_enable:104
+#: dh_systemd_start:68
msgid "NOTES"
msgstr "REMARQUES"
# type: =head2
#. type: =head2
-#: debhelper.pod:769
+#: debhelper.pod:871
msgid "Multiple binary package support"
msgstr "Prise en charge de plusieurs paquets binaires"
# type: textblock
#. type: textblock
-#: debhelper.pod:771
+#: debhelper.pod:873
msgid ""
"If your source package generates more than one binary package, debhelper "
"programs will default to acting on all binary packages when run. If your "
@@ -1778,7 +2042,7 @@ msgstr ""
# type: textblock
#. type: textblock
-#: debhelper.pod:779
+#: debhelper.pod:881
msgid ""
"To facilitate this, as well as give you more control over which packages are "
"acted on by debhelper programs, all debhelper programs accept the B<-a>, B<-"
@@ -1793,7 +2057,7 @@ msgstr ""
"paquets énumérés dans le fichier de contrôle, avec les exceptions ci-dessous."
#. type: textblock
-#: debhelper.pod:785
+#: debhelper.pod:887
msgid ""
"First, any package whose B<Architecture> field in B<debian/control> does not "
"match the B<DEB_HOST_ARCH> architecture will be excluded (L<Debian Policy, "
@@ -1804,7 +2068,7 @@ msgstr ""
"(L<Charte Debian, section 5.6.8>)."
#. type: textblock
-#: debhelper.pod:789
+#: debhelper.pod:891
msgid ""
"Also, some additional packages may be excluded based on the contents of the "
"B<DEB_BUILD_PROFILES> environment variable and B<Build-Profiles> fields in "
@@ -1818,12 +2082,12 @@ msgstr ""
"BuildProfileSpec>)."
#. type: =head3
-#: debhelper.pod:794
+#: debhelper.pod:896
msgid "Interaction between package selections and Build-Profiles"
-msgstr ""
+msgstr "Interaction entre les sélections de paquets et les Build-Profiles"
#. type: textblock
-#: debhelper.pod:796
+#: debhelper.pod:898
msgid ""
"Build-Profiles affect which packages are included in the package selections "
"mechanisms in debhelper. Generally, the package selections are described "
@@ -1831,69 +2095,78 @@ msgid ""
"how the selections react when a package is disabled due to the active Build-"
"Profiles (or lack of active Build-Profiles)."
msgstr ""
+"Les profils de construction (« Build-Profiles ») ont un effet sur le choix "
+"des paquets inclus dans les mécanismes de sélection de paquets de debhelper. "
+"Généralement, les sélections partent du principe que tous les paquets sont "
+"activés. Cette section décrit comment les sélections fonctionnent lorsqu'un "
+"paquet est désactivé par un profil de construction (ou par son absence)."
#. type: =item
-#: debhelper.pod:804
+#: debhelper.pod:906
msgid "-a/--arch, -i/--indep OR no selection options (a raw \"dh_X\" call)"
msgstr ""
+"B<-a>/B<--arch>, B<-i>/B<--indep> ou aucune option de sélection (un simple "
+"appel « dh_X »)"
#. type: textblock
-#: debhelper.pod:806
+#: debhelper.pod:908
msgid ""
"The package disabled by Build-Profiles is silently excluded from the "
"selection."
msgstr ""
+"Le paquet désactivé par le profil est silencieusement exclu de la sélection."
#. type: textblock
-#: debhelper.pod:809
+#: debhelper.pod:911
msgid ""
"Note you will receive a warning if I<all> packages related to these "
"selections are disabled. In that case, it generally does not make sense to "
"do the build in the first place."
msgstr ""
+"Veuillez noter que vous recevrez un avertissement si I<tous> les paquets "
+"relatifs à cette sélection sont désactivés. Dans ce cas, il est généralement "
+"d'aucune utilité de construire."
# type: =item
#. type: =item
-#: debhelper.pod:813
-#, fuzzy
-#| msgid "B<-N>I<package>, B<--no-package=>I<package>"
+#: debhelper.pod:915
msgid "-N I<package> / --no-package I<package>"
-msgstr "B<-N>I<paquet>, B<--no-package=>I<paquet>"
+msgstr "B<-N> I<paquet> / B<--no-package> I<paquet>"
#. type: textblock
-#: debhelper.pod:815
+#: debhelper.pod:917
msgid "The option is accepted and effectively does nothing."
-msgstr ""
+msgstr "Cette option est acceptée et ne fait rien."
# type: =item
#. type: =item
-#: debhelper.pod:817
-#, fuzzy
-#| msgid "B<-p>I<package>, B<--package=>I<package>"
+#: debhelper.pod:919
msgid "-p I<package> / --package I<package>"
-msgstr "B<-p>I<paquet>, B<--package=>I<paquet>"
+msgstr "B<-p> I<paquet> / B<--package> I<paquet>"
#. type: textblock
-#: debhelper.pod:819
+#: debhelper.pod:921
msgid "The option is accepted, but debhelper will not act on the package."
-msgstr ""
+msgstr "Cette option est acceptée, mais debhelper n'agira pas sur le paquet."
#. type: textblock
-#: debhelper.pod:823
+#: debhelper.pod:925
msgid ""
"Note that it does not matter whether a package is enabled or disabled by "
"default."
msgstr ""
+"Veuillez noter que cela n'a pas d'importance que le paquet soit activé ou "
+"désactivé par défaut."
# type: =head2
#. type: =head2
-#: debhelper.pod:826
+#: debhelper.pod:928
msgid "Automatic generation of Debian install scripts"
msgstr "Génération automatique des scripts Debian d’installation"
# type: textblock
#. type: textblock
-#: debhelper.pod:828
+#: debhelper.pod:930
msgid ""
"Some debhelper commands will automatically generate parts of Debian "
"maintainer scripts. If you want these automatically generated things "
@@ -1911,7 +2184,7 @@ msgstr ""
# type: textblock
#. type: textblock
-#: debhelper.pod:835
+#: debhelper.pod:937
msgid ""
"If a script does not exist at all and debhelper needs to add something to "
"it, then debhelper will create the complete script."
@@ -1921,7 +2194,7 @@ msgstr ""
# type: textblock
#. type: textblock
-#: debhelper.pod:838
+#: debhelper.pod:940
msgid ""
"All debhelper commands that automatically generate code in this way let it "
"be disabled by the -n parameter (see above)."
@@ -1932,7 +2205,7 @@ msgstr ""
# type: textblock
#. type: textblock
-#: debhelper.pod:841
+#: debhelper.pod:943
msgid ""
"Note that the inserted code will be shell code, so you cannot directly use "
"it in a Perl script. If you would like to embed it into a Perl script, here "
@@ -1946,7 +2219,7 @@ msgstr ""
"la commande set) :"
#. type: verbatim
-#: debhelper.pod:846
+#: debhelper.pod:948
#, no-wrap
msgid ""
" my $temp=\"set -e\\nset -- @ARGV\\n\" . << 'EOF';\n"
@@ -1979,13 +2252,13 @@ msgstr ""
# type: =head2
#. type: =head2
-#: debhelper.pod:859
+#: debhelper.pod:961
msgid "Automatic generation of miscellaneous dependencies."
msgstr "Génération automatique des diverses dépendances."
# type: textblock
#. type: textblock
-#: debhelper.pod:861
+#: debhelper.pod:963
msgid ""
"Some debhelper commands may make the generated package need to depend on "
"some other packages. For example, if you use L<dh_installdebconf(1)>, your "
@@ -2005,7 +2278,7 @@ msgstr ""
# type: textblock
#. type: textblock
-#: debhelper.pod:869
+#: debhelper.pod:971
msgid ""
"All commands of this type, besides documenting what dependencies may be "
"needed on their man pages, will automatically generate a substvar called B<"
@@ -2020,7 +2293,7 @@ msgstr ""
# type: textblock
#. type: textblock
-#: debhelper.pod:874
+#: debhelper.pod:976
msgid ""
"This is entirely independent of the standard B<${shlibs:Depends}> generated "
"by L<dh_makeshlibs(1)>, and the B<${perl:Depends}> generated by "
@@ -2034,13 +2307,13 @@ msgstr ""
# type: =head2
#. type: =head2
-#: debhelper.pod:879
+#: debhelper.pod:981
msgid "Package build directories"
msgstr "Répertoires de construction du paquet"
# type: textblock
#. type: textblock
-#: debhelper.pod:881
+#: debhelper.pod:983
msgid ""
"By default, all debhelper programs assume that the temporary directory used "
"for assembling the tree of files in a package is debian/I<package>."
@@ -2051,7 +2324,7 @@ msgstr ""
# type: textblock
#. type: textblock
-#: debhelper.pod:884
+#: debhelper.pod:986
msgid ""
"Sometimes, you might want to use some other temporary directory. This is "
"supported by the B<-P> flag. For example, \"B<dh_installdocs -Pdebian/tmp>"
@@ -2071,13 +2344,13 @@ msgstr ""
# type: =head2
#. type: =head2
-#: debhelper.pod:892
+#: debhelper.pod:994
msgid "udebs"
msgstr "udebs"
# type: textblock
#. type: textblock
-#: debhelper.pod:894
+#: debhelper.pod:996
msgid ""
"Debhelper includes support for udebs. To create a udeb with debhelper, add "
"\"B<Package-Type: udeb>\" to the package's stanza in F<debian/control>. "
@@ -2096,12 +2369,12 @@ msgstr ""
# type: =head1
#. type: =head1
-#: debhelper.pod:901
+#: debhelper.pod:1003
msgid "ENVIRONMENT"
msgstr "VARIABLES D'ENVIRONNEMENT"
#. type: textblock
-#: debhelper.pod:903
+#: debhelper.pod:1005
msgid ""
"The following environment variables can influence the behavior of "
"debhelper. It is important to note that these must be actual environment "
@@ -2118,13 +2391,13 @@ msgstr ""
# type: =item
#. type: =item
-#: debhelper.pod:911
+#: debhelper.pod:1013
msgid "B<DH_VERBOSE>"
msgstr "B<DH_VERBOSE>"
# type: textblock
#. type: textblock
-#: debhelper.pod:913
+#: debhelper.pod:1015
msgid ""
"Set to B<1> to enable verbose mode. Debhelper will output every command it "
"runs. Also enables verbose build logs for some build systems like autoconf."
@@ -2135,12 +2408,12 @@ msgstr ""
# type: =item
#. type: =item
-#: debhelper.pod:916
+#: debhelper.pod:1018
msgid "B<DH_QUIET>"
msgstr "B<DH_QUIET>"
#. type: textblock
-#: debhelper.pod:918
+#: debhelper.pod:1020
msgid ""
"Set to B<1> to enable quiet mode. Debhelper will not output commands calling "
"the upstream build system nor will dh print which subcommands are called and "
@@ -2158,13 +2431,13 @@ msgstr ""
# type: =item
#. type: =item
-#: debhelper.pod:925
+#: debhelper.pod:1027
msgid "B<DH_COMPAT>"
msgstr "B<DH_COMPAT>"
# type: textblock
#. type: textblock
-#: debhelper.pod:927
+#: debhelper.pod:1029
msgid ""
"Temporarily specifies what compatibility level debhelper should run at, "
"overriding any value in F<debian/compat>."
@@ -2175,25 +2448,25 @@ msgstr ""
# type: =item
#. type: =item
-#: debhelper.pod:930
+#: debhelper.pod:1032
msgid "B<DH_NO_ACT>"
msgstr "B<DH_NO_ACT>"
# type: textblock
#. type: textblock
-#: debhelper.pod:932
+#: debhelper.pod:1034
msgid "Set to B<1> to enable no-act mode."
msgstr "Mettre cette variable à B<1> pour activer le mode simulation (no-act)."
# type: =item
#. type: =item
-#: debhelper.pod:934
+#: debhelper.pod:1036
msgid "B<DH_OPTIONS>"
msgstr "B<DH_OPTIONS>"
# type: textblock
#. type: textblock
-#: debhelper.pod:936
+#: debhelper.pod:1038
msgid ""
"Anything in this variable will be prepended to the command line arguments of "
"all debhelper commands."
@@ -2202,7 +2475,7 @@ msgstr ""
"les commandes debhelper."
#. type: textblock
-#: debhelper.pod:939
+#: debhelper.pod:1041
msgid ""
"When using L<dh(1)>, it can be passed options that will be passed on to each "
"debhelper command, which is generally better than using DH_OPTIONS."
@@ -2212,13 +2485,13 @@ msgstr ""
# type: =item
#. type: =item
-#: debhelper.pod:942
+#: debhelper.pod:1044
msgid "B<DH_ALWAYS_EXCLUDE>"
msgstr "B<DH_ALWAYS_EXCLUDE>"
# type: textblock
#. type: textblock
-#: debhelper.pod:944
+#: debhelper.pod:1046
msgid ""
"If set, this adds the value the variable is set to to the B<-X> options of "
"all commands that support the B<-X> option. Moreover, B<dh_builddeb> will "
@@ -2231,7 +2504,7 @@ msgstr ""
# type: textblock
#. type: textblock
-#: debhelper.pod:948
+#: debhelper.pod:1050
msgid ""
"This can be useful if you are doing a build from a CVS source tree, in which "
"case setting B<DH_ALWAYS_EXCLUDE=CVS> will prevent any CVS directories from "
@@ -2250,7 +2523,7 @@ msgstr ""
# type: textblock
#. type: textblock
-#: debhelper.pod:955
+#: debhelper.pod:1057
msgid ""
"Multiple things to exclude can be separated with colons, as in "
"B<DH_ALWAYS_EXCLUDE=CVS:.svn>"
@@ -2258,84 +2531,110 @@ msgstr ""
"Des exclusions multiples peuvent être séparées avec des caractères deux "
"points, comme dans F<DH_ALWAYS_EXCLUDE=CVS:.svn>."
+# type: =item
+#. type: =item
+#: debhelper.pod:1060
+#, fuzzy
+#| msgid "B<DH_OPTIONS>"
+msgid "B<DH_EXTRA_ADDONS>"
+msgstr "B<DH_OPTIONS>"
+
+#. type: textblock
+#: debhelper.pod:1062
+msgid ""
+"If set, this adds the specified dh addons to be run in the appropriate "
+"places in the sequence of commands. This is equivalent to specifying the "
+"addon to run with the --with flag in the debian/rules file. Any --without "
+"calls specifying an addon in this environment variable will not be run."
+msgstr ""
+
+#. type: textblock
+#: debhelper.pod:1067
+msgid ""
+"This is intended to be used by downstreams or specific local configurations "
+"that require a debhelper addon to be run during multiple builds without "
+"having to patch a large number of rules file. If at all possible, this "
+"should be avoided in favor of a --with flag in the rules file."
+msgstr ""
+
# type: =head1
#. type: =head1
-#: debhelper.pod:960 debhelper-obsolete-compat.pod:118 dh:1113 dh_auto_build:53
-#: dh_auto_clean:55 dh_auto_configure:58 dh_auto_install:97 dh_auto_test:64
-#: dh_bugfiles:133 dh_builddeb:183 dh_clean:184 dh_compress:237 dh_fixperms:162
-#: dh_gconf:101 dh_gencontrol:199 dh_icons:75 dh_install:363
-#: dh_installcatalogs:125 dh_installchangelogs:243 dh_installcron:78
-#: dh_installdeb:217 dh_installdebconf:128 dh_installdirs:97 dh_installdocs:427
-#: dh_installemacsen:137 dh_installexamples:171 dh_installifupdown:72
-#: dh_installinfo:99 dh_installinit:370 dh_installlogcheck:81
-#: dh_installlogrotate:53 dh_installman:358 dh_installmanpages:198
-#: dh_installmenu:88 dh_installmime:63 dh_installmodules:109 dh_installpam:62
-#: dh_installppp:68 dh_installudev:100 dh_installwm:122 dh_installxfonts:92
-#: dh_link:163 dh_lintian:60 dh_listpackages:33 dh_makeshlibs:291
-#: dh_md5sums:109 dh_movefiles:161 dh_perl:159 dh_prep:70 dh_shlibdeps:201
-#: dh_strip:417 dh_testdir:63 dh_testroot:74 dh_usrlocal:132
-#: dh_systemd_enable:281 dh_systemd_start:269
+#: debhelper.pod:1074 debhelper-obsolete-compat.pod:118 dh:1093
+#: dh_auto_build:53 dh_auto_clean:55 dh_auto_configure:58 dh_auto_install:97
+#: dh_auto_test:64 dh_bugfiles:133 dh_builddeb:182 dh_clean:185 dh_compress:236
+#: dh_dwz:141 dh_fixperms:162 dh_gconf:101 dh_gencontrol:207 dh_icons:75
+#: dh_install:350 dh_installcatalogs:125 dh_installchangelogs:300
+#: dh_installcron:78 dh_installdeb:266 dh_installdebconf:128 dh_installdirs:128
+#: dh_installdocs:444 dh_installemacsen:137 dh_installexamples:175
+#: dh_installifupdown:72 dh_installinfo:107 dh_installinit:406
+#: dh_installinitramfs:86 dh_installlogcheck:81 dh_installlogrotate:53
+#: dh_installman:362 dh_installmanpages:198 dh_installmenu:88 dh_installmime:63
+#: dh_installmodules:109 dh_installpam:62 dh_installppp:68 dh_installudev:100
+#: dh_installwm:127 dh_installxfonts:96 dh_link:163 dh_lintian:60
+#: dh_listpackages:35 dh_makeshlibs:355 dh_md5sums:117 dh_movefiles:161
+#: dh_perl:159 dh_prep:70 dh_shlibdeps:199 dh_strip:426 dh_testdir:63
+#: dh_testroot:91 dh_usrlocal:136 dh_systemd_enable:281 dh_systemd_start:269
msgid "SEE ALSO"
msgstr "VOIR AUSSI"
# type: =item
#. type: =item
-#: debhelper.pod:964
+#: debhelper.pod:1078
msgid "F</usr/share/doc/debhelper/examples/>"
msgstr "F</usr/share/doc/debhelper/examples/>"
# type: textblock
#. type: textblock
-#: debhelper.pod:966
+#: debhelper.pod:1080
msgid "A set of example F<debian/rules> files that use debhelper."
msgstr ""
"Un ensemble d'exemples de fichiers F<debian/rules> qui utilisent debhelper."
# type: =item
#. type: =item
-#: debhelper.pod:968
+#: debhelper.pod:1082
msgid "L<http://joeyh.name/code/debhelper/>"
msgstr "L<http://joeyh.name/code/debhelper/>"
# type: textblock
#. type: textblock
-#: debhelper.pod:970
+#: debhelper.pod:1084
msgid "Debhelper web site."
msgstr "Le site internet de debhelper."
# type: =head1
#. type: =head1
-#: debhelper.pod:974 dh:1119 dh_auto_build:59 dh_auto_clean:61
+#: debhelper.pod:1088 dh:1099 dh_auto_build:59 dh_auto_clean:61
#: dh_auto_configure:64 dh_auto_install:103 dh_auto_test:70 dh_bugfiles:141
-#: dh_builddeb:189 dh_clean:190 dh_compress:243 dh_fixperms:168 dh_gconf:107
-#: dh_gencontrol:205 dh_icons:81 dh_install:369 dh_installcatalogs:131
-#: dh_installchangelogs:249 dh_installcron:84 dh_installdeb:223
-#: dh_installdebconf:134 dh_installdirs:103 dh_installdocs:433
-#: dh_installemacsen:144 dh_installexamples:177 dh_installifupdown:78
-#: dh_installinfo:105 dh_installlogcheck:87 dh_installlogrotate:59
-#: dh_installman:364 dh_installmanpages:204 dh_installmenu:96 dh_installmime:69
-#: dh_installmodules:115 dh_installpam:68 dh_installppp:74 dh_installudev:106
-#: dh_installwm:128 dh_installxfonts:98 dh_link:169 dh_lintian:68
-#: dh_listpackages:39 dh_makeshlibs:297 dh_md5sums:115 dh_movefiles:167
-#: dh_perl:165 dh_prep:76 dh_shlibdeps:207 dh_strip:423 dh_testdir:69
-#: dh_testroot:80 dh_usrlocal:138
+#: dh_builddeb:188 dh_clean:191 dh_compress:242 dh_dwz:147 dh_fixperms:168
+#: dh_gconf:107 dh_gencontrol:213 dh_icons:81 dh_install:356
+#: dh_installcatalogs:131 dh_installchangelogs:306 dh_installcron:84
+#: dh_installdeb:272 dh_installdebconf:134 dh_installdirs:134
+#: dh_installdocs:450 dh_installemacsen:144 dh_installexamples:181
+#: dh_installifupdown:78 dh_installinfo:113 dh_installlogcheck:87
+#: dh_installlogrotate:59 dh_installman:368 dh_installmanpages:204
+#: dh_installmenu:96 dh_installmime:69 dh_installmodules:115 dh_installpam:68
+#: dh_installppp:74 dh_installudev:106 dh_installwm:133 dh_installxfonts:102
+#: dh_link:169 dh_lintian:68 dh_listpackages:41 dh_makeshlibs:361
+#: dh_md5sums:123 dh_movefiles:167 dh_perl:165 dh_prep:76 dh_shlibdeps:205
+#: dh_strip:432 dh_testdir:69 dh_testroot:97 dh_usrlocal:142
msgid "AUTHOR"
msgstr "AUTEUR"
# type: textblock
#. type: textblock
-#: debhelper.pod:976 dh:1121 dh_auto_build:61 dh_auto_clean:63
-#: dh_auto_configure:66 dh_auto_install:105 dh_auto_test:72 dh_builddeb:191
-#: dh_clean:192 dh_compress:245 dh_fixperms:170 dh_gencontrol:207
-#: dh_install:371 dh_installchangelogs:251 dh_installcron:86 dh_installdeb:225
-#: dh_installdebconf:136 dh_installdirs:105 dh_installdocs:435
-#: dh_installemacsen:146 dh_installexamples:179 dh_installifupdown:80
-#: dh_installinfo:107 dh_installinit:378 dh_installlogrotate:61
-#: dh_installman:366 dh_installmanpages:206 dh_installmenu:98 dh_installmime:71
+#: debhelper.pod:1090 dh:1101 dh_auto_build:61 dh_auto_clean:63
+#: dh_auto_configure:66 dh_auto_install:105 dh_auto_test:72 dh_builddeb:190
+#: dh_clean:193 dh_compress:244 dh_fixperms:170 dh_gencontrol:215
+#: dh_install:358 dh_installchangelogs:308 dh_installcron:86 dh_installdeb:274
+#: dh_installdebconf:136 dh_installdirs:136 dh_installdocs:452
+#: dh_installemacsen:146 dh_installexamples:183 dh_installifupdown:80
+#: dh_installinfo:115 dh_installinit:414 dh_installlogrotate:61
+#: dh_installman:370 dh_installmanpages:206 dh_installmenu:98 dh_installmime:71
#: dh_installmodules:117 dh_installpam:70 dh_installppp:76 dh_installudev:108
-#: dh_installwm:130 dh_installxfonts:100 dh_link:171 dh_listpackages:41
-#: dh_makeshlibs:299 dh_md5sums:117 dh_movefiles:169 dh_prep:78
-#: dh_shlibdeps:209 dh_strip:425 dh_testdir:71 dh_testroot:82
+#: dh_installwm:135 dh_installxfonts:104 dh_link:171 dh_listpackages:43
+#: dh_makeshlibs:363 dh_md5sums:125 dh_movefiles:169 dh_prep:78
+#: dh_shlibdeps:207 dh_strip:434 dh_testdir:71 dh_testroot:99
msgid "Joey Hess <joeyh@debian.org>"
msgstr "Joey Hess <joeyh@debian.org>"
@@ -2396,7 +2695,7 @@ msgstr ""
"C'est le niveau initial de compatibilité de debhelper d'où son numéro 1. "
"Dans ce mode, debhelper emploiera F<debian/tmp> comme répertoire de "
"l'arborescence du premier paquet binaire énuméré dans le fichier F<control> "
-"et « debian/I<paquet> » pour tous les autres."
+"et « debian/I<paquet> » pour tous les autres."
#. type: =item
#: debhelper-obsolete-compat.pod:30
@@ -2410,7 +2709,7 @@ msgid ""
"In this mode, debhelper will consistently use debian/I<package> as the "
"package tree directory for every package that is built."
msgstr ""
-"Dans ce mode, debhelper emploiera uniformément « debian/I<paquet> » comme "
+"Dans ce mode, debhelper emploiera uniformément « debian/I<paquet> » comme "
"répertoire de l'arborescence de chaque paquet construit."
#. type: =item
@@ -2546,31 +2845,31 @@ msgstr ""
# type: textblock
#. type: textblock
-#: debhelper-obsolete-compat.pod:120 dh:1115 dh_auto_build:55 dh_auto_clean:57
-#: dh_auto_configure:60 dh_auto_install:99 dh_auto_test:66 dh_builddeb:185
-#: dh_clean:186 dh_compress:239 dh_fixperms:164 dh_gconf:103 dh_gencontrol:201
-#: dh_install:365 dh_installcatalogs:127 dh_installchangelogs:245
-#: dh_installcron:80 dh_installdeb:219 dh_installdebconf:130 dh_installdirs:99
-#: dh_installdocs:429 dh_installexamples:173 dh_installifupdown:74
-#: dh_installinfo:101 dh_installinit:372 dh_installlogcheck:83
-#: dh_installlogrotate:55 dh_installman:360 dh_installmanpages:200
-#: dh_installmime:65 dh_installmodules:111 dh_installpam:64 dh_installppp:70
-#: dh_installudev:102 dh_installwm:124 dh_installxfonts:94 dh_link:165
-#: dh_listpackages:35 dh_makeshlibs:293 dh_md5sums:111 dh_movefiles:163
-#: dh_perl:161 dh_prep:72 dh_strip:419 dh_testdir:65 dh_testroot:76
-#: dh_usrlocal:134 dh_systemd_start:271
+#: debhelper-obsolete-compat.pod:120 dh:1095 dh_auto_build:55 dh_auto_clean:57
+#: dh_auto_configure:60 dh_auto_install:99 dh_auto_test:66 dh_builddeb:184
+#: dh_clean:187 dh_compress:238 dh_dwz:143 dh_fixperms:164 dh_gconf:103
+#: dh_gencontrol:209 dh_install:352 dh_installcatalogs:127
+#: dh_installchangelogs:302 dh_installcron:80 dh_installdeb:268
+#: dh_installdebconf:130 dh_installdirs:130 dh_installdocs:446
+#: dh_installexamples:177 dh_installifupdown:74 dh_installinfo:109
+#: dh_installlogcheck:83 dh_installlogrotate:55 dh_installman:364
+#: dh_installmanpages:200 dh_installmime:65 dh_installmodules:111
+#: dh_installpam:64 dh_installppp:70 dh_installudev:102 dh_installwm:129
+#: dh_installxfonts:98 dh_link:165 dh_listpackages:37 dh_makeshlibs:357
+#: dh_md5sums:119 dh_movefiles:163 dh_perl:161 dh_prep:72 dh_strip:428
+#: dh_testdir:65 dh_testroot:93 dh_usrlocal:138 dh_systemd_start:271
msgid "L<debhelper(7)>"
msgstr "L<debhelper(7)>"
# type: =head1
#. type: =head1
-#: debhelper-obsolete-compat.pod:122 dh_installinit:376 dh_systemd_enable:285
+#: debhelper-obsolete-compat.pod:122 dh_installinit:412 dh_systemd_enable:285
#: dh_systemd_start:273
msgid "AUTHORS"
msgstr "AUTEURS"
#. type: textblock
-#: debhelper-obsolete-compat.pod:124
+#: debhelper-obsolete-compat.pod:124 dh_dwz:149
msgid "Niels Thykier <niels@thykier.net>"
msgstr "Niels Thykier <niels@thykier.net>"
@@ -2587,7 +2886,7 @@ msgstr "dh - Automate de commandes debhelper"
# type: textblock
#. type: textblock
-#: dh:17
+#: dh:18
msgid ""
"B<dh> I<sequence> [B<--with> I<addon>[B<,>I<addon> ...]] [B<--list>] "
"[S<I<debhelper options>>]"
@@ -2597,7 +2896,7 @@ msgstr ""
# type: textblock
#. type: textblock
-#: dh:21
+#: dh:22
msgid ""
"B<dh> runs a sequence of debhelper commands. The supported I<sequence>s "
"correspond to the targets of a F<debian/rules> file: B<build-arch>, B<build-"
@@ -2610,12 +2909,12 @@ msgstr ""
"B<install>, B<binary-arch>, B<binary-indep> et B<binary>."
#. type: =head1
-#: dh:26
+#: dh:27
msgid "OVERRIDE TARGETS"
msgstr "CIBLES DE RÉÉCRITURE"
#. type: textblock
-#: dh:28
+#: dh:29
msgid ""
"A F<debian/rules> file using B<dh> can override the command that is run at "
"any step in a sequence, by defining an override target."
@@ -2626,7 +2925,7 @@ msgstr ""
# type: textblock
#. type: textblock
-#: dh:31
+#: dh:32
msgid ""
"To override I<dh_command>, add a target named B<override_>I<dh_command> to "
"the rules file. When it would normally run I<dh_command>, B<dh> will instead "
@@ -2641,7 +2940,7 @@ msgstr ""
"commande entièrement différente. Consultez les exemples ci-dessous."
#. type: textblock
-#: dh:37
+#: dh:38
msgid ""
"Override targets can also be defined to run only when building architecture "
"dependent or architecture independent packages. Use targets with names like "
@@ -2659,30 +2958,31 @@ msgstr ""
# type: =head1
#. type: =head1
-#: dh:44 dh_auto_build:32 dh_auto_clean:33 dh_auto_configure:35
+#: dh:45 dh_auto_build:32 dh_auto_clean:33 dh_auto_configure:35
#: dh_auto_install:46 dh_auto_test:34 dh_bugfiles:53 dh_builddeb:34 dh_clean:47
-#: dh_compress:52 dh_fixperms:40 dh_gconf:42 dh_gencontrol:38 dh_icons:33
-#: dh_install:72 dh_installcatalogs:53 dh_installchangelogs:62
-#: dh_installcron:43 dh_installdebconf:64 dh_installdirs:42 dh_installdocs:86
-#: dh_installemacsen:56 dh_installexamples:37 dh_installifupdown:42
-#: dh_installinfo:34 dh_installinit:73 dh_installlogcheck:45
-#: dh_installlogrotate:25 dh_installman:79 dh_installmanpages:43
-#: dh_installmenu:44 dh_installmodules:41 dh_installpam:34 dh_installppp:38
-#: dh_installudev:34 dh_installwm:38 dh_link:66 dh_makeshlibs:52 dh_md5sums:31
-#: dh_movefiles:41 dh_perl:34 dh_prep:29 dh_shlibdeps:30 dh_strip:38
-#: dh_testdir:26 dh_usrlocal:49 dh_systemd_enable:83 dh_systemd_start:33
+#: dh_compress:52 dh_dwz:26 dh_fixperms:40 dh_gconf:42 dh_gencontrol:38
+#: dh_icons:33 dh_install:66 dh_installcatalogs:53 dh_installchangelogs:73
+#: dh_installcron:43 dh_installdebconf:64 dh_installdirs:42 dh_installdocs:90
+#: dh_installemacsen:56 dh_installexamples:41 dh_installifupdown:42
+#: dh_installinfo:38 dh_installinit:78 dh_installinitramfs:43
+#: dh_installlogcheck:45 dh_installlogrotate:25 dh_installman:83
+#: dh_installmanpages:43 dh_installmenu:44 dh_installmodules:41
+#: dh_installpam:34 dh_installppp:38 dh_installudev:34 dh_installwm:38
+#: dh_link:66 dh_makeshlibs:52 dh_md5sums:31 dh_movefiles:41 dh_perl:34
+#: dh_prep:29 dh_shlibdeps:30 dh_strip:38 dh_testdir:26 dh_usrlocal:50
+#: dh_systemd_enable:83 dh_systemd_start:33
msgid "OPTIONS"
msgstr "OPTIONS"
# type: =item
#. type: =item
-#: dh:48
+#: dh:49
msgid "B<--with> I<addon>[B<,>I<addon> ...]"
msgstr "B<--with> I<rajout>[B<,>I<rajout> ...]"
# type: textblock
#. type: textblock
-#: dh:50
+#: dh:51
msgid ""
"Add the debhelper commands specified by the given addon to appropriate "
"places in the sequence of commands that is run. This option can be repeated "
@@ -2698,14 +2998,27 @@ msgstr ""
"Consulter le fichier F<PROGRAMMING> pour obtenir des informations à propos "
"de l'interface de ces rajouts."
+#. type: textblock
+#: dh:58
+msgid ""
+"A B<Build-Depends> relation on the package B<dh-sequence->I<addon> implies a "
+"B<--with> I<addon>. This avoids the need for an explicit B<--with> in "
+"F<debian/rules> that only duplicates what is already declared via the build "
+"dependencies in F<debian/control>. Note that only relations in the B<Build-"
+"Depends> field are considered (i.e. B<Build-Depends-Indep> and B<Build-"
+"Depends-Arch> are deliberately unsupported). Please keep in mind that B<dh> "
+"insists on \"simple\" relations (e.g. a relation like \"B<dh-sequence-"
+">I<addon> | B<some-other-pkg>\" will I<not> imply B<--with> I<addon>)."
+msgstr ""
+
# type: =item
#. type: =item
-#: dh:57
+#: dh:68
msgid "B<--without> I<addon>"
msgstr "B<--without> I<rajout>"
#. type: textblock
-#: dh:59
+#: dh:70
msgid ""
"The inverse of B<--with>, disables using the given addon. This option can be "
"repeated more than once, or multiple addons to disable can be listed, "
@@ -2717,19 +3030,22 @@ msgstr ""
# type: textblock
#. type: textblock
-#: dh:65
+#: dh:76
msgid "List all available addons."
msgstr "Liste tous les rajouts disponibles."
#. type: textblock
-#: dh:67
+#: dh:78
msgid ""
"When called only with this option, B<dh> can be called from any directory (i."
"e. it does not need access to files from a source package)."
msgstr ""
+"Lorsqu'il est appelé uniquement avec cette option, B<dh> peut être invoqué "
+"depuis n'importe quel répertoire (c'est-à-dire qu'il ne nécessite aucun "
+"accès à des fichiers d'un paquet source)."
#. type: textblock
-#: dh:73
+#: dh:84
msgid ""
"Prints commands that would run for a given sequence, but does not run them."
msgstr ""
@@ -2737,18 +3053,18 @@ msgstr ""
"les exécuter."
#. type: textblock
-#: dh:75
+#: dh:86
msgid ""
"Note that dh normally skips running commands that it knows will do nothing. "
"With --no-act, the full list of commands in a sequence is printed."
msgstr ""
-"Veuillez remarquer que dh élimine les commandes en cours lorsqu'il sait "
-"qu'elles ne font rien. Avec l'option B<--no-act>, la liste complète des "
-"commandes est affichée de manière séquentielle."
+"Veuillez remarquer que B<dh> élimine les commandes en cours lorsqu'il sait "
+"qu'elles ne font rien. Avec l'option B<--no-act>, la liste complète des "
+"commandes dans une séquence est affichée."
# type: textblock
#. type: textblock
-#: dh:80
+#: dh:91
msgid ""
"Other options passed to B<dh> are passed on to each command it runs. This "
"can be used to set an option like B<-v> or B<-X> or B<-N>, as well as for "
@@ -2760,14 +3076,14 @@ msgstr ""
# type: =head1
#. type: =head1
-#: dh:84 dh_installdocs:167 dh_installman:110 dh_link:88 dh_makeshlibs:109
+#: dh:95 dh_installdocs:181 dh_installman:114 dh_link:88 dh_makeshlibs:155
#: dh_shlibdeps:78
msgid "EXAMPLES"
msgstr "EXEMPLES"
# type: textblock
#. type: textblock
-#: dh:86
+#: dh:97
msgid ""
"To see what commands are included in a sequence, without actually doing "
"anything:"
@@ -2777,7 +3093,7 @@ msgstr ""
# type: verbatim
#. type: verbatim
-#: dh:89
+#: dh:100
#, no-wrap
msgid ""
"\tdh binary-arch --no-act\n"
@@ -2788,7 +3104,7 @@ msgstr ""
# type: textblock
#. type: textblock
-#: dh:91
+#: dh:102
msgid ""
"This is a very simple rules file, for packages where the default sequences "
"of commands work with no additional options."
@@ -2798,7 +3114,7 @@ msgstr ""
# type: verbatim
#. type: verbatim
-#: dh:94 dh:115 dh:128
+#: dh:105 dh:126 dh:139
#, no-wrap
msgid ""
"\t#!/usr/bin/make -f\n"
@@ -2813,7 +3129,7 @@ msgstr ""
# type: verbatim
#. type: textblock
-#: dh:98
+#: dh:109
msgid ""
"Often you'll want to pass an option to a specific debhelper command. The "
"easy way to do with is by adding an override target for that command."
@@ -2824,7 +3140,7 @@ msgstr ""
# type: verbatim
#. type: verbatim
-#: dh:101 dh:185 dh:196
+#: dh:112 dh:196 dh:207
#, no-wrap
msgid ""
"\t#!/usr/bin/make -f\n"
@@ -2839,7 +3155,7 @@ msgstr ""
# type: verbatim
#. type: verbatim
-#: dh:105
+#: dh:116
#, no-wrap
msgid ""
"\toverride_dh_strip:\n"
@@ -2852,7 +3168,7 @@ msgstr ""
# type: verbatim
#. type: verbatim
-#: dh:108
+#: dh:119
#, no-wrap
msgid ""
"\toverride_dh_auto_configure:\n"
@@ -2865,7 +3181,7 @@ msgstr ""
# type: textblock
#. type: textblock
-#: dh:111
+#: dh:122
msgid ""
"Sometimes the automated L<dh_auto_configure(1)> and L<dh_auto_build(1)> "
"can't guess what to do for a strange package. Here's how to avoid running "
@@ -2878,7 +3194,7 @@ msgstr ""
# type: verbatim
#. type: verbatim
-#: dh:119
+#: dh:130
#, no-wrap
msgid ""
"\toverride_dh_auto_configure:\n"
@@ -2891,7 +3207,7 @@ msgstr ""
# type: verbatim
#. type: verbatim
-#: dh:122
+#: dh:133
#, no-wrap
msgid ""
"\toverride_dh_auto_build:\n"
@@ -2904,7 +3220,7 @@ msgstr ""
# type: textblock
#. type: textblock
-#: dh:125
+#: dh:136
msgid ""
"Another common case is wanting to do something manually before or after a "
"particular debhelper command is run."
@@ -2914,7 +3230,7 @@ msgstr ""
# type: verbatim
#. type: verbatim
-#: dh:132
+#: dh:143
#, no-wrap
msgid ""
"\toverride_dh_fixperms:\n"
@@ -2928,24 +3244,18 @@ msgstr ""
"\n"
#. type: textblock
-#: dh:136
-#, fuzzy
-#| msgid ""
-#| "Python tools are not run by dh by default, due to the continual change in "
-#| "that area. (Before compatibility level v9, dh does run B<dh_pysupport>.) "
-#| "Here is how to use B<dh_python2>."
+#: dh:147
msgid ""
"Python tools are not run by dh by default, due to the continual change in "
"that area. Here is how to use B<dh_python2>."
msgstr ""
"Les outils Python ne sont pas exécutés par défaut par B<dh>, à cause des "
-"modifications incessantes dans ce domaine (avant le niveau de "
-"compatibilité 9, B<dh> exécute B<dh_pysupport>). Voici comment utiliser "
+"modifications incessantes dans ce domaine. Voici comment utiliser "
"B<dh_python2>."
# type: verbatim
#. type: verbatim
-#: dh:139
+#: dh:150
#, no-wrap
msgid ""
"\t#!/usr/bin/make -f\n"
@@ -2960,7 +3270,7 @@ msgstr ""
# type: textblock
#. type: textblock
-#: dh:143
+#: dh:154
msgid ""
"Here is how to force use of Perl's B<Module::Build> build system, which can "
"be necessary if debhelper wrongly detects that the package uses MakeMaker."
@@ -2971,7 +3281,7 @@ msgstr ""
# type: verbatim
#. type: verbatim
-#: dh:147
+#: dh:158
#, no-wrap
msgid ""
"\t#!/usr/bin/make -f\n"
@@ -2986,7 +3296,7 @@ msgstr ""
# type: textblock
#. type: textblock
-#: dh:151
+#: dh:162
msgid ""
"Here is an example of overriding where the B<dh_auto_>I<*> commands find the "
"package's source, for a package where the source is located in a "
@@ -2997,7 +3307,7 @@ msgstr ""
# type: verbatim
#. type: verbatim
-#: dh:155
+#: dh:166
#, no-wrap
msgid ""
"\t#!/usr/bin/make -f\n"
@@ -3011,7 +3321,7 @@ msgstr ""
"\n"
#. type: textblock
-#: dh:159
+#: dh:170
msgid ""
"And here is an example of how to tell the B<dh_auto_>I<*> commands to build "
"in a subdirectory, which will be removed on B<clean>."
@@ -3022,7 +3332,7 @@ msgstr ""
# type: verbatim
#. type: verbatim
-#: dh:162
+#: dh:173
#, no-wrap
msgid ""
"\t#!/usr/bin/make -f\n"
@@ -3036,18 +3346,18 @@ msgstr ""
"\n"
#. type: textblock
-#: dh:166
+#: dh:177
msgid ""
"If your package can be built in parallel, please either use compat 10 or "
"pass B<--parallel> to dh. Then B<dpkg-buildpackage -j> will work."
msgstr ""
-"Si le paquet peut être construit en parallèle, veuillez utiliser le mode "
-"compat 10 ou passer l'option B<--parallel> à dh. Dans ce cas B<dpkg-"
-"buildpackage -j> fonctionnera."
+"Si le paquet peut être construit en parallèle, veuillez utiliser le niveau "
+"de compatibilité 10 ou passer l'option B<--parallel> à B<dh>. Dans ce cas "
+"B<dpkg-buildpackage -j> fonctionnera."
# type: verbatim
#. type: verbatim
-#: dh:169
+#: dh:180
#, no-wrap
msgid ""
"\t#!/usr/bin/make -f\n"
@@ -3061,7 +3371,7 @@ msgstr ""
"\n"
#. type: textblock
-#: dh:173
+#: dh:184
msgid ""
"If your package cannot be built reliably while using multiple threads, "
"please pass B<--no-parallel> to dh (or the relevant B<dh_auto_>I<*> command):"
@@ -3072,7 +3382,7 @@ msgstr ""
# type: verbatim
#. type: verbatim
-#: dh:178
+#: dh:189
#, no-wrap
msgid ""
"\t#!/usr/bin/make -f\n"
@@ -3086,7 +3396,7 @@ msgstr ""
"\n"
#. type: textblock
-#: dh:182
+#: dh:193
msgid ""
"Here is a way to prevent B<dh> from running several commands that you don't "
"want it to run, by defining empty override targets for each command."
@@ -3096,7 +3406,7 @@ msgstr ""
"voulez pas lancer."
#. type: verbatim
-#: dh:189
+#: dh:200
#, no-wrap
msgid ""
"\t# Commands not to run:\n"
@@ -3108,7 +3418,7 @@ msgstr ""
"\n"
#. type: textblock
-#: dh:192
+#: dh:203
msgid ""
"A long build process for a separate documentation package can be separated "
"out using architecture independent overrides. These will be skipped when "
@@ -3121,7 +3431,7 @@ msgstr ""
# type: verbatim
#. type: verbatim
-#: dh:200
+#: dh:211
#, no-wrap
msgid ""
"\toverride_dh_auto_build-indep:\n"
@@ -3133,7 +3443,7 @@ msgstr ""
"\n"
#. type: verbatim
-#: dh:203
+#: dh:214
#, no-wrap
msgid ""
"\t# No tests needed for docs\n"
@@ -3146,7 +3456,7 @@ msgstr ""
# type: verbatim
#. type: verbatim
-#: dh:206
+#: dh:217
#, no-wrap
msgid ""
"\toverride_dh_auto_install-indep:\n"
@@ -3158,7 +3468,7 @@ msgstr ""
"\n"
#. type: textblock
-#: dh:209
+#: dh:220
msgid ""
"Adding to the example above, suppose you need to chmod a file, but only when "
"building the architecture dependent package, as it's not present when "
@@ -3171,7 +3481,7 @@ msgstr ""
# type: verbatim
#. type: verbatim
-#: dh:213
+#: dh:224
#, no-wrap
msgid ""
"\toverride_dh_fixperms-arch:\n"
@@ -3185,12 +3495,12 @@ msgstr ""
"\n"
#. type: =head1
-#: dh:217
+#: dh:228
msgid "INTERNALS"
msgstr "FONCTIONNEMENT INTERNE"
#. type: textblock
-#: dh:219
+#: dh:230
msgid ""
"If you're curious about B<dh>'s internals, here's how it works under the "
"hood."
@@ -3199,15 +3509,7 @@ msgstr ""
"ce qu'il y a sous le capot."
#. type: textblock
-#: dh:221
-#, fuzzy
-#| msgid ""
-#| "In compat 10 (or later), B<dh> creates a stamp file F<debian/debhelper-"
-#| "build-stamp> after the build step(s) are complete to avoid re-running "
-#| "them. Inside an override target, B<dh_*> commands will create a log file "
-#| "F<debian/package.debhelper.log> to keep track of which packages the "
-#| "command(s) have been run for. These log files are then removed once the "
-#| "override target is complete."
+#: dh:232
msgid ""
"In compat 10 (or later), B<dh> creates a stamp file F<debian/debhelper-build-"
"stamp> after the build step(s) are complete to avoid re-running them. It is "
@@ -3216,54 +3518,46 @@ msgid ""
"expect at the expense of possibly running the build and test twice (the "
"second time as root or under L<fakeroot(1)>)."
msgstr ""
-"En compat 10 (ou supérieure), B<dh> crée un fichier F<debian/debhelper-build-"
-"stamp> après la construction pour ne pas la refaire. À l'intérieur d'une "
-"cible de réécriture, les commandes B<dh_*> écrivent dans un journal F<debian/"
-"paquet.debhelper.log> pour savoir quelle commande a été exécutée pour quel "
-"paquet. Ces fichiers journaux seront supprimés une fois la cible de "
-"réécriture terminée."
+"Dans les niveaux de compatibilité 10 (ou supérieurs), B<dh> crée un fichier "
+"F<debian/debhelper-build-stamp> après la construction pour ne pas la "
+"refaire. Il est possible d'éviter la création de ce fichier en passant "
+"l'argument B<--without=build-stamp> à B<dh>. Cela rend le comportement des "
+"construction « no clean » plus cohérent avec l'usage courant au détriment de "
+"possiblement effectuer la construction et le test deux fois (la seconde en "
+"tant que « root » ou avec L<fakeroot(1)>)."
#. type: textblock
-#: dh:229
-#, fuzzy
-#| msgid ""
-#| "In compat 10 (or later), B<dh> creates a stamp file F<debian/debhelper-"
-#| "build-stamp> after the build step(s) are complete to avoid re-running "
-#| "them. Inside an override target, B<dh_*> commands will create a log file "
-#| "F<debian/package.debhelper.log> to keep track of which packages the "
-#| "command(s) have been run for. These log files are then removed once the "
-#| "override target is complete."
+#: dh:240
msgid ""
"Inside an override target, B<dh_*> commands will create a log file F<debian/"
"package.debhelper.log> to keep track of which packages the command(s) have "
"been run for. These log files are then removed once the override target is "
"complete."
msgstr ""
-"En compat 10 (ou supérieure), B<dh> crée un fichier F<debian/debhelper-build-"
-"stamp> après la construction pour ne pas la refaire. À l'intérieur d'une "
-"cible de réécriture, les commandes B<dh_*> écrivent dans un journal F<debian/"
-"paquet.debhelper.log> pour savoir quelle commande a été exécutée pour quel "
-"paquet. Ces fichiers journaux seront supprimés une fois la cible de "
-"réécriture terminée."
+"À l'intérieur d'une cible de réécriture, les commandes B<dh_*> écrivent dans "
+"un journal F<debian/paquet.debhelper.log> pour savoir quelle commande a été "
+"exécutée pour quel paquet. Ces fichiers journaux seront supprimés une fois "
+"la cible de réécriture terminée."
# type: textblock
#. type: textblock
-#: dh:234
+#: dh:245
msgid ""
"In compat 9 or earlier, each debhelper command will record when it's "
"successfully run in F<debian/package.debhelper.log>. (Which B<dh_clean> "
"deletes.) So B<dh> can tell which commands have already been run, for which "
"packages, and skip running those commands again."
msgstr ""
-"Dans les modes de compatibilité 9 et précédents, chaque commande debhelper, "
-"qui s'accomplit correctement, est journalisée dans F<debian/package."
-"debhelper.log> (que B<dh_clean> supprimera). Ainsi B<dh> peut déterminer "
-"quelles commandes ont déjà été exécutées et pour quels paquets. De cette "
-"manière il pourra passer outre l'exécution de ces commandes ultérieurement."
+"Dans les niveaux de compatibilité 9 et précédents, chaque commande "
+"debhelper, qui s'accomplit correctement, est journalisée dans F<debian/"
+"package.debhelper.log> (que B<dh_clean> supprimera). Ainsi B<dh> peut "
+"déterminer quelles commandes ont déjà été exécutées et pour quels paquets. "
+"De cette manière il pourra passer outre l'exécution de ces commandes "
+"ultérieurement."
# type: textblock
#. type: textblock
-#: dh:239
+#: dh:250
msgid ""
"Each time B<dh> is run (in compat 9 or earlier), it examines the log, and "
"finds the last logged command that is in the specified sequence. It then "
@@ -3278,7 +3572,7 @@ msgstr ""
"modifier ce comportement (mais ont été supprimées dans la v10)."
#. type: textblock
-#: dh:245
+#: dh:256
msgid ""
"A sequence can also run dependent targets in debian/rules. For example, the "
"\"binary\" sequence runs the \"install\" target."
@@ -3287,7 +3581,7 @@ msgstr ""
"Par exemple, la suite « binary » exécute la cible « install »."
#. type: textblock
-#: dh:248
+#: dh:259
msgid ""
"B<dh> uses the B<DH_INTERNAL_OPTIONS> environment variable to pass "
"information through to debhelper commands that are run inside override "
@@ -3302,7 +3596,7 @@ msgstr ""
# type: textblock
#. type: textblock
-#: dh:253
+#: dh:264
msgid ""
"Commands in the B<build-indep>, B<install-indep> and B<binary-indep> "
"sequences are passed the B<-i> option to ensure they only work on "
@@ -3318,28 +3612,29 @@ msgstr ""
"ne s'accompliront que sur des paquets dépendants de l'architecture."
#. type: =head1
-#: dh:259
+#: dh:270
msgid "DEPRECATED OPTIONS"
msgstr "OPTIONS OBSOLÈTES"
#. type: textblock
-#: dh:261
+#: dh:272
msgid ""
"The following options are deprecated. It's much better to use override "
"targets instead. They are B<not> available in compat 10."
msgstr ""
"Les options suivantes sont obsolètes. Il vaut mieux utiliser les cibles de "
-"réécritures à la place. Elles ne sont B<pas> disponibles en compat 10."
+"réécritures à la place. Elles ne sont B<pas> disponibles dans le niveau de "
+"compatibilité 10."
# type: =item
#. type: =item
-#: dh:267
+#: dh:278
msgid "B<--until> I<cmd>"
msgstr "B<--until> I<commande>"
# type: textblock
#. type: textblock
-#: dh:269
+#: dh:280
msgid "Run commands in the sequence until and including I<cmd>, then stop."
msgstr ""
"Exécute les commandes de la suite jusqu'à la I<commande> indiquée, l'exécute "
@@ -3347,13 +3642,13 @@ msgstr ""
# type: =item
#. type: =item
-#: dh:271
+#: dh:282
msgid "B<--before> I<cmd>"
msgstr "B<--before> I<commande>"
# type: textblock
#. type: textblock
-#: dh:273
+#: dh:284
msgid "Run commands in the sequence before I<cmd>, then stop."
msgstr ""
"Exécute les commandes de la suite situées avant la I<commande> indiquée puis "
@@ -3361,33 +3656,33 @@ msgstr ""
# type: =item
#. type: =item
-#: dh:275
+#: dh:286
msgid "B<--after> I<cmd>"
msgstr "B<--after> I<commande>"
# type: textblock
#. type: textblock
-#: dh:277
+#: dh:288
msgid "Run commands in the sequence that come after I<cmd>."
msgstr ""
"Exécute les commandes de la suite situées après la I<commande> indiquée."
# type: =item
#. type: =item
-#: dh:279
+#: dh:290
msgid "B<--remaining>"
msgstr "B<--remaining>"
# type: textblock
#. type: textblock
-#: dh:281
+#: dh:292
msgid "Run all commands in the sequence that have yet to be run."
msgstr ""
"Exécute toutes les commandes de la suite qui n'ont pas encore été exécutées."
# type: textblock
#. type: textblock
-#: dh:285
+#: dh:296
msgid ""
"In the above options, I<cmd> can be a full name of a debhelper command, or a "
"substring. It'll first search for a command in the sequence exactly matching "
@@ -3402,19 +3697,20 @@ msgstr ""
# type: textblock
#. type: textblock
-#: dh:1117 dh_auto_build:57 dh_auto_clean:59 dh_auto_configure:62
-#: dh_auto_install:101 dh_auto_test:68 dh_bugfiles:139 dh_builddeb:187
-#: dh_clean:188 dh_compress:241 dh_fixperms:166 dh_gconf:105 dh_gencontrol:203
-#: dh_icons:79 dh_install:367 dh_installchangelogs:247 dh_installcron:82
-#: dh_installdeb:221 dh_installdebconf:132 dh_installdirs:101
-#: dh_installdocs:431 dh_installemacsen:142 dh_installexamples:175
-#: dh_installifupdown:76 dh_installinfo:103 dh_installinit:374
-#: dh_installlogrotate:57 dh_installman:362 dh_installmanpages:202
-#: dh_installmenu:94 dh_installmime:67 dh_installmodules:113 dh_installpam:66
-#: dh_installppp:72 dh_installudev:104 dh_installwm:126 dh_installxfonts:96
-#: dh_link:167 dh_lintian:64 dh_listpackages:37 dh_makeshlibs:295
-#: dh_md5sums:113 dh_movefiles:165 dh_perl:163 dh_prep:74 dh_shlibdeps:205
-#: dh_strip:421 dh_testdir:67 dh_testroot:78 dh_usrlocal:136
+#: dh:1097 dh_auto_build:57 dh_auto_clean:59 dh_auto_configure:62
+#: dh_auto_install:101 dh_auto_test:68 dh_bugfiles:139 dh_builddeb:186
+#: dh_clean:189 dh_compress:240 dh_dwz:145 dh_fixperms:166 dh_gconf:105
+#: dh_gencontrol:211 dh_icons:79 dh_install:354 dh_installchangelogs:304
+#: dh_installcron:82 dh_installdeb:270 dh_installdebconf:132 dh_installdirs:132
+#: dh_installdocs:448 dh_installemacsen:142 dh_installexamples:179
+#: dh_installifupdown:76 dh_installinfo:111 dh_installinit:410
+#: dh_installinitramfs:92 dh_installlogrotate:57 dh_installman:366
+#: dh_installmanpages:202 dh_installmenu:94 dh_installmime:67
+#: dh_installmodules:113 dh_installpam:66 dh_installppp:72 dh_installudev:104
+#: dh_installwm:131 dh_installxfonts:100 dh_link:167 dh_lintian:64
+#: dh_listpackages:39 dh_makeshlibs:359 dh_md5sums:121 dh_movefiles:165
+#: dh_perl:163 dh_prep:74 dh_shlibdeps:203 dh_strip:430 dh_testdir:67
+#: dh_testroot:95 dh_usrlocal:140
msgid "This program is a part of debhelper."
msgstr "Ce programme fait partie de debhelper."
@@ -3479,8 +3775,8 @@ msgstr ""
# type: =item
#. type: =item
#: dh_auto_build:39 dh_auto_clean:40 dh_auto_configure:42 dh_auto_install:59
-#: dh_auto_test:41 dh_builddeb:48 dh_gencontrol:42 dh_installdebconf:72
-#: dh_installinit:148 dh_makeshlibs:103 dh_shlibdeps:41
+#: dh_auto_test:41 dh_builddeb:48 dh_dwz:50 dh_gencontrol:42
+#: dh_installdebconf:72 dh_installinit:167 dh_makeshlibs:149 dh_shlibdeps:41
msgid "B<--> I<params>"
msgstr "B<--> I<paramètres>"
@@ -3835,19 +4131,20 @@ msgstr ""
"B<dh_bugfiles> est le programme de la suite debhelper chargé de "
"l'installation des fichiers personnalisés de production de rapports de bogue "
"(scripts de bogue et/ou fichiers de contrôle de bogue et/ou fichiers de "
-"préparation des rapports de bogues (presubj)), dans le répertoire de "
+"préparation des rapports de bogue (presubj)), dans le répertoire de "
"construction du paquet."
# type: =head1
#. type: =head1
#: dh_bugfiles:25 dh_clean:34 dh_compress:35 dh_gconf:26 dh_install:40
-#: dh_installcatalogs:39 dh_installchangelogs:38 dh_installcron:24
-#: dh_installdeb:25 dh_installdebconf:37 dh_installdirs:28 dh_installdocs:36
-#: dh_installemacsen:30 dh_installexamples:27 dh_installifupdown:25
-#: dh_installinfo:24 dh_installinit:36 dh_installlogcheck:24 dh_installman:69
-#: dh_installmenu:28 dh_installmime:24 dh_installmodules:31 dh_installpam:24
-#: dh_installppp:24 dh_installudev:24 dh_installwm:28 dh_link:46 dh_lintian:24
-#: dh_makeshlibs:29 dh_movefiles:29 dh_systemd_enable:41
+#: dh_installcatalogs:39 dh_installchangelogs:49 dh_installcron:24
+#: dh_installdeb:25 dh_installdebconf:37 dh_installdirs:28 dh_installdocs:40
+#: dh_installemacsen:30 dh_installexamples:31 dh_installifupdown:25
+#: dh_installinfo:28 dh_installinit:41 dh_installinitramfs:30
+#: dh_installlogcheck:24 dh_installman:73 dh_installmenu:28 dh_installmime:24
+#: dh_installmodules:31 dh_installpam:24 dh_installppp:24 dh_installudev:24
+#: dh_installwm:28 dh_link:46 dh_lintian:24 dh_makeshlibs:29 dh_movefiles:29
+#: dh_systemd_enable:41
msgid "FILES"
msgstr "FICHIERS"
@@ -3989,6 +4286,8 @@ msgid ""
"When the I<Rules-Requires-Root> field is not (effectively) I<binary-"
"targets>, B<dh_builddeb> will pass B<--root-owner-group> to L<dpkg-deb(1)>."
msgstr ""
+"Lorsque le champ I<Rules-Requires-Root> n'est pas I<binary-targets>, "
+"B<dh_builddeb> passera l'option B<--root-owner-group> à L<dpkg-deb(1)>."
# type: textblock
#. type: textblock
@@ -4117,7 +4416,7 @@ msgstr ""
# type: =item
#. type: =item
-#: dh_clean:51 dh_installchangelogs:66
+#: dh_clean:51 dh_installchangelogs:77
msgid "B<-k>, B<--keep>"
msgstr "B<-k>, B<--keep>"
@@ -4129,10 +4428,8 @@ msgstr "Ce paramètre est déconseillé. Utiliser L<dh_prep(1)> à la place."
#. type: textblock
#: dh_clean:55
-#, fuzzy
-#| msgid "The option is removed in compat 11."
msgid "The option is removed in compat 12."
-msgstr "L'option est supprimée dans le mode compat 11."
+msgstr "L'option est supprimée dans le niveau de compatibilité 12."
# type: =item
#. type: =item
@@ -4301,7 +4598,7 @@ msgstr ""
# type: =item
#. type: =item
-#: dh_compress:68 dh_installdocs:160 dh_installexamples:78 dh_installinfo:53
+#: dh_compress:68 dh_installdocs:174 dh_installexamples:82 dh_installinfo:57
#: dh_installmanpages:47 dh_movefiles:58 dh_testdir:30
msgid "I<file> ..."
msgstr "I<fichier> ..."
@@ -4314,7 +4611,7 @@ msgstr "Ajoute ces fichiers à la liste des fichiers à compresser."
# type: =head1
#. type: =head1
-#: dh_compress:74 dh_perl:64 dh_strip:133 dh_usrlocal:65
+#: dh_compress:74 dh_perl:64 dh_strip:133 dh_usrlocal:66
msgid "CONFORMS TO"
msgstr "CONFORMITÉ"
@@ -4324,6 +4621,107 @@ msgstr "CONFORMITÉ"
msgid "Debian policy, version 3.0"
msgstr "Charte Debian, version 3.0"
+#. type: textblock
+#: dh_dwz:5
+msgid "dh_dwz - optimize DWARF debug information in ELF binaries via dwz"
+msgstr ""
+
+# type: textblock
+#. type: textblock
+#: dh_dwz:18
+#, fuzzy
+#| msgid ""
+#| "B<dh_installdebconf> [S<I<debhelper options>>] [B<-n>] [S<B<--> "
+#| "I<params>>]"
+msgid "B<dh_dwz> [S<I<debhelper options>>] [B<-X>I<item>] [S<B<--> I<params>>]"
+msgstr ""
+"B<dh_installdebconf> [I<options_de_debhelper>] [B<-n>] [B<--> I<paramètres>]"
+
+#. type: textblock
+#: dh_dwz:22
+msgid ""
+"B<dh_dwz> is a debhelper program that will optimize the (uncompressed) size "
+"of the DWARF debug information in ELF binaries. It does so by running "
+"L<dwz(1)> on all the ELF binaries in the package."
+msgstr ""
+
+#. type: =item
+#: dh_dwz:30
+msgid "B<--dwz-multifile>, B<--no-dwz-multifile>"
+msgstr ""
+
+#. type: textblock
+#: dh_dwz:32
+msgid ""
+"Whether L<dwz(1)> should generate a I<multifile> from the ELF binaries in "
+"the same package (it does by default). When enabled, if a package ships at "
+"least 2 ELF binaries, B<dh_dwz> will instruct L<dwz(1)> to generate a "
+"multifile for the package."
+msgstr ""
+
+#. type: textblock
+#: dh_dwz:37
+msgid ""
+"Note this options may not work if a package contains more ELF binaries than "
+"can fit on a single command line. If this becomes a problem, please pass "
+"B<--no-dwz-multifile> to work around the issue."
+msgstr ""
+
+#. type: textblock
+#: dh_dwz:41
+msgid ""
+"The generated multifile will be compressed with B<objcopy --compress-debug-"
+"sections>."
+msgstr ""
+
+# type: textblock
+#. type: textblock
+#: dh_dwz:46 dh_strip:44
+msgid ""
+"Exclude files that contain I<item> anywhere in their filename from being "
+"stripped. You may use this option multiple times to build up a list of "
+"things to exclude."
+msgstr ""
+"Exclut du traitement les fichiers qui comportent I<élément> n'importe où "
+"dans leur nom. Il est possible d'utiliser cette option à plusieurs reprises "
+"pour établir une liste des éléments à exclure."
+
+#. type: textblock
+#: dh_dwz:52
+msgid ""
+"Pass I<params> to L<dwz(1)> when it processes ELF binaries. This is mostly "
+"useful for setting memory related parameters (e.g. -l and -L)."
+msgstr ""
+
+# type: textblock
+#. type: textblock
+#: dh_dwz:59
+#, fuzzy
+#| msgid ""
+#| "If the B<DEB_BUILD_OPTIONS> environment variable contains B<nostrip>, "
+#| "nothing will be stripped, in accordance with Debian policy (section 10.1 "
+#| "\"Binaries\"). This will also inhibit the automatic creation of debug "
+#| "symbol packages."
+msgid ""
+"If the B<DEB_BUILD_OPTIONS> environment variable contains B<nostrip>, "
+"nothing will be stripped, in accordance with Debian policy (section 10.1 "
+"\"Binaries\")."
+msgstr ""
+"Si la variable d'environnement B<DEB_BUILD_OPTIONS> contient B<nostrip>, "
+"rien ne sera dépouillé, conformément à la Charte Debian (section 10.1 "
+"« Binaries »). Cela empêchera aussi la création automatique des paquets de "
+"symboles de débogage."
+
+#. type: textblock
+#: dh_dwz:63
+msgid ""
+"While this tool technically does not remove debug information from binaries, "
+"it is still skipped when the B<DEB_BUILD_OPTIONS> environment variable "
+"contains B<nostrip>. This is because B<nostrip> is often used to optimize "
+"build times (e.g. for \"build and test\"-cycles) rather than optimizing for "
+"size."
+msgstr ""
+
# type: textblock
#. type: textblock
#: dh_fixperms:5
@@ -4353,17 +4751,6 @@ msgstr ""
# type: textblock
#. type: textblock
#: dh_fixperms:26
-#, fuzzy
-#| msgid ""
-#| "B<dh_fixperms> makes all files in F<usr/share/doc> in the package build "
-#| "directory (excluding files in the F<examples/> directory) be mode 644. It "
-#| "also changes the permissions of all man pages to mode 644. It makes all "
-#| "files be owned by root, and it removes group and other write permission "
-#| "from all files. It removes execute permissions from any libraries, "
-#| "headers, Perl modules, or desktop files that have it set. It makes all "
-#| "files in the standard F<bin> and F<sbin> directories, F<usr/games/> and "
-#| "F<etc/init.d> executable (since v4). Finally, it removes the setuid and "
-#| "setgid bits from all files in the package."
msgid ""
"B<dh_fixperms> makes all files in F<usr/share/doc> in the package build "
"directory (excluding files in the F<examples/> directory) be mode 644. It "
@@ -4376,11 +4763,10 @@ msgid ""
msgstr ""
"B<dh_fixperms> règle à 644 les droits sur tous les fichiers de F<usr/share/"
"doc> à l'exclusion de ceux contenus dans le répertoire F<examples/>. Il "
-"règle également à 644 les droits de toutes les pages de manuel. Il donne la "
-"propriété de tous les fichiers au superutilisateur (root), et enlève "
+"règle également à 644 les droits de toutes les pages de manuel. Il enlève "
"l'autorisation d'écrire au groupe et aux autres utilisateurs sur tous les "
"fichiers. Il retire le droit d'exécution sur toutes les bibliothèques, en-"
-"tête (header), modules Perl ou fichiers desktop. Il rend exécutables tous "
+"têtes (header), modules Perl ou fichiers desktop. Il rend exécutables tous "
"les fichiers de F<bin/>, F<sbin/>, F</usr/games/> et F<etc/init.d> (à partir "
"de la version 4 seulement). Pour finir il annule les bits setuid et setgid "
"de tous les fichiers du paquet."
@@ -4392,6 +4778,9 @@ msgid ""
"targets>, B<dh_fixperms> will also reset the ownership of all paths to "
"\"root:root\"."
msgstr ""
+"Lorsque le champ I<Rules-Requires-Root> a la valeur I<binary-targets>, "
+"B<dh_fixperms> réinitialisera aussi la propriété de tous les chemins à« root:"
+"root »."
# type: =item
#. type: =item
@@ -4624,8 +5013,8 @@ msgstr ""
# type: =item
#. type: =item
#: dh_icons:37 dh_installcatalogs:57 dh_installdebconf:68 dh_installemacsen:60
-#: dh_installinit:77 dh_installmenu:48 dh_installmodules:45 dh_installwm:48
-#: dh_makeshlibs:86 dh_usrlocal:53
+#: dh_installinit:82 dh_installinitramfs:47 dh_installmenu:48
+#: dh_installmodules:45 dh_installwm:48 dh_makeshlibs:132 dh_usrlocal:54
msgid "B<-n>, B<--no-scripts>"
msgstr "B<-n>, B<--no-scripts>"
@@ -4718,9 +5107,15 @@ msgstr ""
# type: textblock
#. type: textblock
#: dh_install:36
+#, fuzzy
+#| msgid ""
+#| "From debhelper compatibility level 7 on, B<dh_install> will fall back to "
+#| "looking in F<debian/tmp> for files, if it doesn't find them in the "
+#| "current directory (or wherever you've told it to look using B<--"
+#| "sourcedir>)."
msgid ""
"From debhelper compatibility level 7 on, B<dh_install> will fall back to "
-"looking in F<debian/tmp> for files, if it doesn't find them in the current "
+"looking in F<debian/tmp> for files, if it does not find them in the current "
"directory (or wherever you've told it to look using B<--sourcedir>)."
msgstr ""
"Depuis la version 7 de debhelper, B<dh_install> cherchera dans "
@@ -4737,16 +5132,6 @@ msgstr "debian/I<paquet>.install"
# type: textblock
#. type: textblock
#: dh_install:46
-#, fuzzy
-#| msgid ""
-#| "List the files to install into each package and the directory they should "
-#| "be installed to. The format is a set of lines, where each line lists a "
-#| "file or files to install, and at the end of the line tells the directory "
-#| "it should be installed in. The name of the files (or directories) to "
-#| "install should be given relative to the current directory, while the "
-#| "installation directory is given relative to the package build directory. "
-#| "You may use wildcards in the names of the files to install (in v3 mode "
-#| "and above)."
msgid ""
"List the files to install into each package and the directory they should be "
"installed to. The format is a set of lines, where each line lists a file or "
@@ -4763,8 +5148,7 @@ msgstr ""
"répertoires) à installer doit être fourni avec un chemin relatif au "
"répertoire courant, alors que le répertoire de destination est indiqué "
"relativement au répertoire de construction du paquet. Il est possible "
-"d'employer des jokers (wildcard) dans les noms des fichiers à installer (à "
-"partir de la version 3)."
+"d'employer des jokers (wildcard) dans les noms des fichiers à installer."
# type: textblock
#. type: textblock
@@ -4788,120 +5172,54 @@ msgstr "debian/not-installed"
#. type: textblock
#: dh_install:61
msgid ""
-"List the files that are deliberately not installed in I<any> binary "
-"package. Paths listed in this file are (I<only>) ignored by the check done "
-"via B<--list-missing> (or B<--fail-missing>). However, it is B<not> a "
-"method to exclude files from being installed. Please use B<--exclude> for "
-"that."
-msgstr ""
-"Liste les fichiers qui ne sont installés par I<aucun> paquet binaire. Les "
-"chemins listés dans ce fichier sont (I<uniquement>) ignorés par la "
-"vérification avec B<--list-missing> (ou B<--fail-missing>). Quoi qu'il en "
-"soit, ce n'est B<pas> une méthode pour exclure les fichiers de "
-"l'installation. Veuillez utiliser B<--exclude> pour cela."
-
-#. type: textblock
-#: dh_install:67
-msgid ""
-"Please keep in mind that dh_install will B<not> expand wildcards in this "
-"file."
+"Used with the deprecated B<--list-missing> and B<--fail-missing> options. "
+"Please refer to L<dh_missing(1)> for the documentation of this file."
msgstr ""
-"Veuillez garder à l'esprit que dh_install ne développera B<pas> les jokers "
-"dans ce fichier."
# type: =item
#. type: =item
-#: dh_install:76
+#: dh_install:70
msgid "B<--list-missing>"
msgstr "B<--list-missing>"
#. type: textblock
-#: dh_install:78
-msgid "B<Deprecated>: Please use B<dh_missing --list-missing> instead."
-msgstr ""
-
-# type: textblock
-#. type: textblock
-#: dh_install:80
+#: dh_install:72
msgid ""
-"This option makes B<dh_install> keep track of the files it installs, and "
-"then at the end, compare that list with the files in the source directory. "
-"If any of the files (and symlinks) in the source directory were not "
-"installed to somewhere, it will warn on stderr about that."
+"B<Deprecated>: Please use B<dh_missing --list-missing> instead. If you use "
+"this option, B<dh_install> will call B<dh_missing> with that option after it "
+"has processed all the files. Please see L<dh_missing(1)> for the "
+"documentation of this option."
msgstr ""
-"Cette option impose à B<dh_install> de garder la trace des fichiers qu'il "
-"installe et, à la fin, de comparer cette liste aux fichiers du répertoire "
-"source. Si un des fichiers (ou des liens symboliques) du répertoire source, "
-"n'était pas installé quelque part, il le signalerait par un message sur "
-"stderr."
-
-# type: textblock
-#. type: textblock
-#: dh_install:85
-msgid ""
-"This may be useful if you have a large package and want to make sure that "
-"you don't miss installing newly added files in new upstream releases."
-msgstr ""
-"Cette option peut être utile dans le cas d'un gros paquet pour lequel on "
-"veut être certain de ne pas oublier l'installation d'un des nouveaux "
-"fichiers récemment ajoutés dans la version."
-
-# type: textblock
-#. type: textblock
-#: dh_install:88
-msgid ""
-"Note that files that are excluded from being moved via the B<-X> option are "
-"not warned about."
-msgstr ""
-"Nota : Les fichiers qui sont exclus par l'option B<-X> n'entraînent aucun "
-"message d'erreur."
# type: =item
#. type: =item
-#: dh_install:91
+#: dh_install:79
msgid "B<--fail-missing>"
msgstr "B<--fail-missing>"
#. type: textblock
-#: dh_install:93
-msgid "B<Deprecated>: Please use B<dh_missing --fail-missing> instead."
-msgstr ""
-
-# type: textblock
-#. type: textblock
-#: dh_install:95
-msgid ""
-"This option is like B<--list-missing>, except if a file was missed, it will "
-"not only list the missing files, but also fail with a nonzero exit code."
-msgstr ""
-"Cette option est similaire à B<--list-missing>, sauf que, si un fichier est "
-"oublié, cela produira non seulement un message sur stderr mais également un "
-"échec du programme avec une valeur de retour différente de zéro."
-
-# type: textblock
-#. type: textblock
-#: dh_install:100 dh_installexamples:75
+#: dh_install:81
msgid ""
-"Exclude files that contain I<item> anywhere in their filename from being "
-"installed."
+"B<Deprecated>: Please use B<dh_missing --fail-missing> instead. If you use "
+"this option, B<dh_install> will call B<dh_missing> with that option after it "
+"has processed all the files. Please see L<dh_missing(1)> for the "
+"documentation of this option."
msgstr ""
-"Exclut du traitement les fichiers qui comportent I<élément> n'importe où "
-"dans leur nom."
# type: =item
#. type: =item
-#: dh_install:103 dh_installexamples:46 dh_installinfo:43 dh_installman:93
-#: dh_movefiles:45
+#: dh_install:88 dh_installdirs:59 dh_installdocs:104 dh_installexamples:50
+#: dh_installinfo:47 dh_installman:97 dh_movefiles:45
msgid "B<--sourcedir=>I<dir>"
msgstr "B<--sourcedir=>I<répertoire>"
#. type: textblock
-#: dh_install:105
+#: dh_install:90
msgid "Look in the specified directory for files to be installed."
msgstr "Cherche dans le répertoire indiqué les fichiers à installer."
#. type: textblock
-#: dh_install:107
+#: dh_install:92
msgid ""
"Note that this is not the same as the B<--sourcedirectory> option used by "
"the B<dh_auto_>I<*> commands. You rarely need to use this option, since "
@@ -4915,13 +5233,13 @@ msgstr ""
# type: =item
#. type: =item
-#: dh_install:112
+#: dh_install:97
msgid "B<--autodest>"
msgstr "B<--autodest>"
# type: textblock
#. type: textblock
-#: dh_install:114
+#: dh_install:99
msgid ""
"Guess as the destination directory to install things to. If this is "
"specified, you should not list destination directories in F<debian/package."
@@ -4936,7 +5254,7 @@ msgstr ""
# type: textblock
#. type: textblock
-#: dh_install:119
+#: dh_install:104
msgid ""
"Strip off F<debian/tmp> (or the sourcedir if one is given) from the front of "
"the filename, if it is present, and install into the dirname of the "
@@ -4954,13 +5272,13 @@ msgstr ""
# type: =item
#. type: =item
-#: dh_install:125
+#: dh_install:110
msgid "I<file|dir> ... I<destdir>"
msgstr "I<fichier|répertoire> ... I<répertoire_destination>"
# type: textblock
#. type: textblock
-#: dh_install:127
+#: dh_install:112
msgid ""
"Lists files (or directories) to install and where to install them to. The "
"files will be installed into the first package F<dh_install> acts on."
@@ -4971,13 +5289,13 @@ msgstr ""
# type: =head1
#. type: =head1
-#: dh_install:338
+#: dh_install:325
msgid "LIMITATIONS"
msgstr "LIMITES"
# type: verbatim
#. type: textblock
-#: dh_install:340
+#: dh_install:327
msgid ""
"B<dh_install> cannot rename files or directories, it can only install them "
"with the names they already have into wherever you want in the package build "
@@ -4988,7 +5306,7 @@ msgstr ""
"mais avec les noms qu'ils possèdent déjà."
#. type: textblock
-#: dh_install:344
+#: dh_install:331
msgid ""
"However, renaming can be achieved by using B<dh-exec> with compatibility "
"level 9 or later. An example debian/I<package>.install file using B<dh-"
@@ -4999,7 +5317,7 @@ msgstr ""
"<paquet>.install utilisant B<dh_exec> ressemblerait à :"
#. type: verbatim
-#: dh_install:348
+#: dh_install:335
#, no-wrap
msgid ""
" #!/usr/bin/dh-exec\n"
@@ -5011,12 +5329,12 @@ msgstr ""
"\n"
#. type: textblock
-#: dh_install:351
+#: dh_install:338
msgid "Please remember the following three things:"
msgstr "Veuillez vous souvenir de ces trois remarques :"
#. type: =item
-#: dh_install:355
+#: dh_install:342
msgid ""
"* The package must be using compatibility level 9 or later (see "
"L<debhelper(7)>)"
@@ -5025,12 +5343,12 @@ msgstr ""
"L<debhelper(7)>) ;"
#. type: =item
-#: dh_install:357
+#: dh_install:344
msgid "* The package will need a build-dependency on dh-exec."
msgstr "* Le paquet doit contenir une dépendance de construction sur dh_exec ;"
#. type: =item
-#: dh_install:359
+#: dh_install:346
msgid "* The install file must be marked as executable."
msgstr "* Le fichier install doit être marqué comme exécutable."
@@ -5130,8 +5448,9 @@ msgstr ""
# type: textblock
#. type: textblock
-#: dh_installcatalogs:66 dh_installemacsen:77 dh_installinit:185
-#: dh_installmodules:59 dh_installudev:52 dh_installwm:60 dh_usrlocal:61
+#: dh_installcatalogs:66 dh_installemacsen:77 dh_installinit:207
+#: dh_installinitramfs:55 dh_installmodules:59 dh_installudev:52
+#: dh_installwm:65 dh_usrlocal:62
msgid ""
"Note that this command is not idempotent. L<dh_prep(1)> should be called "
"between invocations of this command. Otherwise, it may cause multiple "
@@ -5187,18 +5506,37 @@ msgstr ""
# type: textblock
#. type: textblock
#: dh_installchangelogs:24
+#, fuzzy
+#| msgid ""
+#| "An upstream F<changelog> file may be specified as an option. If none is "
+#| "specified, it looks for files with names that seem likely to be "
+#| "changelogs. (In compatibility level 7 and above.)"
msgid ""
"An upstream F<changelog> file may be specified as an option. If none is "
-"specified, it looks for files with names that seem likely to be changelogs. "
-"(In compatibility level 7 and above.)"
+"specified, B<dh_installchangelogs> may look for files with names that seem "
+"likely to be changelogs as described in the next paragraphs (assuming the "
+"package is using compatibility level 7 or above)."
msgstr ""
"Un journal amont des modifications (upstream F<changelog>) peut être indiqué "
"en option. Si rien n'est indiqué, le processus cherche des fichiers portant "
"des noms susceptibles d'être des changelog. (à partir de la version 7)."
+#. type: textblock
+#: dh_installchangelogs:29
+msgid ""
+"In non-native packages, B<dh_installchangelogs> will first look for "
+"changelog files installed by the upstream build system into F<< usr/share/"
+"doc/I<package> >> (of the package build directory) and rename the most "
+"likely candidate (if any) to F<< usr/share/doc/I<package>/changelog >>. "
+"Note that B<dh_installchangelogs> does I<not> look into any source directory "
+"(such as F<debian/tmp>). Otherwise, B<dh_installchangelogs> (at "
+"compatibility level 7 or any later) will look for changelog files in the "
+"source directory (e.g. the root or the F<docs> subdirectory)."
+msgstr ""
+
# type: textblock
#. type: textblock
-#: dh_installchangelogs:28
+#: dh_installchangelogs:39
msgid ""
"If there is an upstream F<changelog> file, it will be installed as F<usr/"
"share/doc/package/changelog> in the package build directory."
@@ -5207,17 +5545,25 @@ msgstr ""
"doc/paquet/changelog> du répertoire de construction du paquet."
#. type: textblock
-#: dh_installchangelogs:31
-msgid ""
-"If the upstream changelog is an F<html> file (determined by file extension), "
-"it will be installed as F<usr/share/doc/package/changelog.html> instead. If "
-"the html changelog is converted to plain text, that variant can be specified "
-"as a second upstream changelog file. When no plain text variant is "
-"specified, a short F<usr/share/doc/package/changelog> is generated, pointing "
-"readers at the html changelog file."
+#: dh_installchangelogs:42
+#, fuzzy
+#| msgid ""
+#| "If the upstream changelog is an F<html> file (determined by file "
+#| "extension), it will be installed as F<usr/share/doc/package/changelog."
+#| "html> instead. If the html changelog is converted to plain text, that "
+#| "variant can be specified as a second upstream changelog file. When no "
+#| "plain text variant is specified, a short F<usr/share/doc/package/"
+#| "changelog> is generated, pointing readers at the html changelog file."
+msgid ""
+"If the specified upstream changelog is an F<html> file (determined by file "
+"extension), it will be installed as F<usr/share/doc/package/changelog.html> "
+"instead. If the html changelog is converted to plain text, that variant can "
+"be specified as a second upstream changelog file. When no plain text variant "
+"is specified, a short F<usr/share/doc/package/changelog> is generated, "
+"pointing readers at the html changelog file."
msgstr ""
"Si le fichier changelog amont est un fichier F<html> (d'après son "
-"extension), il sera installé dans F<usr/share/doc/paquet/changelog.html> à "
+"extension), il sera installé dans F<usr/share/doc/paquet/changelog.html> à "
"la place. Si le changelog html est converti en texte, cette variante peut "
"être définie comme un second fichier changelog amont. Lorsqu'aucune variante "
"texte n'est spécifiée, un court F<usr/share/doc/paquet/changelog> est "
@@ -5225,31 +5571,31 @@ msgstr ""
# type: =item
#. type: =item
-#: dh_installchangelogs:42
+#: dh_installchangelogs:53
msgid "F<debian/changelog>"
msgstr "F<debian/changelog>"
# type: =item
#. type: =item
-#: dh_installchangelogs:44
+#: dh_installchangelogs:55
msgid "F<debian/NEWS>"
msgstr "F<debian/NEWS>"
# type: =item
#. type: =item
-#: dh_installchangelogs:46
+#: dh_installchangelogs:57
msgid "debian/I<package>.changelog"
msgstr "debian/I<paquet>.changelog"
# type: =item
#. type: =item
-#: dh_installchangelogs:48
+#: dh_installchangelogs:59
msgid "debian/I<package>.NEWS"
msgstr "debian/I<paquet>.NEWS"
# type: textblock
#. type: textblock
-#: dh_installchangelogs:50
+#: dh_installchangelogs:61
msgid ""
"Automatically installed into usr/share/doc/I<package>/ in the package build "
"directory."
@@ -5259,7 +5605,7 @@ msgstr ""
# type: textblock
#. type: textblock
-#: dh_installchangelogs:53
+#: dh_installchangelogs:64
msgid ""
"Use the package specific name if I<package> needs a different F<NEWS> or "
"F<changelog> file."
@@ -5269,7 +5615,7 @@ msgstr ""
# type: textblock
#. type: textblock
-#: dh_installchangelogs:56
+#: dh_installchangelogs:67
msgid ""
"The F<changelog> file is installed with a name of changelog for native "
"packages, and F<changelog.Debian> for non-native packages. The F<NEWS> file "
@@ -5281,7 +5627,7 @@ msgstr ""
# type: textblock
#. type: textblock
-#: dh_installchangelogs:68
+#: dh_installchangelogs:79
msgid ""
"Keep the original name of the upstream changelog. This will be accomplished "
"by installing the upstream changelog as F<changelog>, and making a symlink "
@@ -5297,7 +5643,7 @@ msgstr ""
# type: textblock
#. type: textblock
-#: dh_installchangelogs:76
+#: dh_installchangelogs:87
msgid ""
"Exclude upstream F<changelog> files that contain I<item> anywhere in their "
"filename from being installed."
@@ -5305,15 +5651,20 @@ msgstr ""
"Exclut du traitement les journaux amont qui comportent I<élément> n'importe "
"où dans leur nom."
+#. type: textblock
+#: dh_installchangelogs:90
+msgid "Note that directory name of the changelog is also part of the match."
+msgstr ""
+
# type: =item
#. type: =item
-#: dh_installchangelogs:79
+#: dh_installchangelogs:92
msgid "I<upstream>"
msgstr "I<journal-amont>"
# type: textblock
#. type: textblock
-#: dh_installchangelogs:81
+#: dh_installchangelogs:94
msgid "Install this file as the upstream changelog."
msgstr ""
"Installe ce fichier en tant que journal amont de suivi des modifications."
@@ -5382,7 +5733,7 @@ msgstr ""
# type: =item
#. type: =item
-#: dh_installcron:47 dh_installifupdown:46 dh_installinit:153
+#: dh_installcron:47 dh_installifupdown:46 dh_installinit:175
#: dh_installlogcheck:49 dh_installlogrotate:29 dh_installmodules:49
#: dh_installpam:38 dh_installppp:42 dh_installudev:38 dh_systemd_enable:95
msgid "B<--name=>I<name>"
@@ -5563,12 +5914,12 @@ msgid ""
"C<mv_conffile /etc/oldconffile /etc/newconffile> will insert maintainer "
"script snippets into all maintainer scripts sufficient to move that conffile."
msgstr ""
-"En compat 10 ou suivante, tous les métacaractères de l'interpréteur de "
-"commandes seront protégés, aussi du code arbitraire d'interpréteur de "
-"commande ne peut pas être inséré ici. Par exemple, une ligne comme "
-"C<mv_conffile /etc/oldconffile /etc/newconffile> insérera des extraits du "
-"script de maintenance dans tous les scripts de maintenance, suffisant pour "
-"déplacer le fichier F<conffile>."
+"Dans les niveaux de compatibilité 10 ou suivants, tous les métacaractères de "
+"l'interpréteur de commandes seront protégés, aussi du code arbitraire "
+"d'interpréteur de commandes ne peut pas être inséré ici. Par exemple, une "
+"ligne comme C<mv_conffile /etc/oldconffile /etc/newconffile> insérera des "
+"extraits du script de maintenance dans tous les scripts de maintenance, "
+"suffisant pour déplacer le fichier F<conffile>."
#. type: textblock
#: dh_installdeb:78
@@ -5582,6 +5933,18 @@ msgstr ""
"était possible d'embarquer du code shell arbitraire dans les modes "
"précédents."
+#. type: textblock
+#: dh_installdeb:82
+msgid ""
+"The B<dh_installdeb> tool will do some basic validation of some of the "
+"commands listed in this file to catch common mistakes. The validation is "
+"enabled as a warning since compat 10 and as a hard error in compat 12."
+msgstr ""
+"L'outil B<dh_installdeb> effectuera quelques validations basiques sur "
+"certaines commandes listées dans ce fichier pour éviter les erreurs "
+"habituelles. Cette validation renvoie un avertissement depuis la version 10, "
+"et une erreur en version 12."
+
# type: textblock
#. type: textblock
#: dh_installdebconf:5
@@ -5741,9 +6104,16 @@ msgstr ""
# type: textblock
#. type: textblock
#: dh_installdirs:17
-msgid "B<dh_installdirs> [S<I<debhelper options>>] [B<-A>] [S<I<dir> ...>]"
+#, fuzzy
+#| msgid ""
+#| "B<dh_movefiles> [S<I<debhelper options>>] [B<--sourcedir=>I<dir>] [B<-"
+#| "X>I<item>] [S<I<file> ...>]"
+msgid ""
+"B<dh_installdirs> [S<I<debhelper options>>] [B<-A>] [B<--sourcedir=>I<dir>] "
+"[B<--create-in-sourcedir>] [S<I<dir> ...>]"
msgstr ""
-"B<dh_installdirs> [S<I<options_de_debhelper>>] [B<-A>] [S<I<répertoire> ...>]"
+"B<dh_movefiles> [S<I<options_de_debhelper>>] [B<--sourcedir=>I<répertoire>] "
+"[B<-X>I<élément>] [S<I<fichier> ...>]"
# type: textblock
#. type: textblock
@@ -5798,15 +6168,51 @@ msgstr ""
"Crée l'ensemble des répertoires indiqués en ligne de commande dans B<tous> "
"les paquets construits et pas seulement dans le premier."
-# type: =item
#. type: =item
#: dh_installdirs:51
+msgid "B<--create-in-sourcedir>, B<--no-create-in-sourcedir>"
+msgstr ""
+
+#. type: textblock
+#: dh_installdirs:53
+msgid ""
+"Whether to create the specified directories in the source directory (usually "
+"F<debian/tmp>) I<in addition to> in the package build directory (usually F<< "
+"debian/I<package> >>)."
+msgstr ""
+
+#. type: textblock
+#: dh_installdirs:57
+#, fuzzy
+#| msgid "The default is to create debug symbol packages."
+msgid "The default is B<--no-create-in-sourcedir>."
+msgstr ""
+"Le comportement par défaut est de créer un paquet de symboles de débogage."
+
+#. type: textblock
+#: dh_installdirs:61
+msgid ""
+"Consider I<dir> the source directory for the packages acted on instead of "
+"the default (which is usually F<debian/tmp>)."
+msgstr ""
+
+#. type: textblock
+#: dh_installdirs:64
+msgid ""
+"Please note that this option is dependent on the B<--create-in-sourcedir> "
+"option (when B<--no-create-in-sourcedir> is in effect, this option does "
+"nothing in B<dh_installdirs>)."
+msgstr ""
+
+# type: =item
+#. type: =item
+#: dh_installdirs:68
msgid "I<dir> ..."
msgstr "I<répertoire> ..."
# type: textblock
#. type: textblock
-#: dh_installdirs:53
+#: dh_installdirs:70
msgid ""
"Create these directories in the package build directory of the first package "
"acted on. (Or in all packages if B<-A> is specified.)"
@@ -5852,36 +6258,64 @@ msgid ""
"still useful for installing packaging related documentation (e.g. the "
"F<debian/copyright> file)."
msgstr ""
+"Dans les niveaux de compatibilité 10 et inférieurs, L<dh_install(1)> est "
+"mieux adapté à la gestion de la documentation si le système de construction "
+"amont installe la documentation voulue correctement. Dans ce cas, "
+"B<dh_installdocs> est toujours utile pour installer la documentation de "
+"l'empaquetage (par exemple le fichier F<debian/copyright>)."
+# type: textblock
#. type: textblock
-#: dh_installdocs:31
+#: dh_installdocs:31 dh_installexamples:27 dh_installinfo:24 dh_installman:69
+#, fuzzy
+#| msgid ""
+#| "From debhelper compatibility level 7 on, B<dh_install> will fall back to "
+#| "looking in F<debian/tmp> for files, if it doesn't find them in the "
+#| "current directory (or wherever you've told it to look using B<--"
+#| "sourcedir>)."
+msgid ""
+"From debhelper compatibility level 11 on, B<dh_install> will fall back to "
+"looking in F<debian/tmp> for files, if it does not find them in the current "
+"directory (or wherever you've told it to look using B<--sourcedir>)."
+msgstr ""
+"Depuis la version 7 de debhelper, B<dh_install> cherchera dans "
+"l'arborescence F<debian/tmp> pour trouver les fichiers s'il ne les trouve "
+"pas dans le répertoire courant (ou dans celui indiqué par l'utilisation de "
+"B<--sourcedir>)."
+
+#. type: textblock
+#: dh_installdocs:35
msgid ""
"In compat 11 and later, B<dh_installdocs> offers many of the features that "
"L<dh_install(1)> also have. Furthermore, B<dh_installdocs> also supports "
"the B<nodoc> build profile to exclude documentation (regardless of compat "
"level)."
msgstr ""
+"Dans les niveaux de compatibilité 11 et au delà, B<dh_installdocs> offre la "
+"plupart des fonctionnalités de L<dh_install(1)>. De plus, B<dh_installdocs> "
+"prend aussi en charge le profil de construction B<nodoc> pour exclure la "
+"documentation (quelle que soit le niveau de compatibilité)."
# type: =item
#. type: =item
-#: dh_installdocs:40
+#: dh_installdocs:44
msgid "debian/I<package>.docs"
msgstr "debian/I<paquet>.docs"
# type: textblock
#. type: textblock
-#: dh_installdocs:42
+#: dh_installdocs:46
msgid "List documentation files to be installed into I<package>."
msgstr "Liste les fichiers de documentation à installer dans I<paquet>."
# type: =item
#. type: =item
-#: dh_installdocs:44
+#: dh_installdocs:48
msgid "F<debian/copyright>"
msgstr "F<debian/copyright>"
#. type: textblock
-#: dh_installdocs:46
+#: dh_installdocs:50
msgid ""
"The copyright file is installed into all packages, unless a more specific "
"copyright file is available."
@@ -5891,25 +6325,25 @@ msgstr ""
# type: =item
#. type: =item
-#: dh_installdocs:49
+#: dh_installdocs:53
msgid "debian/I<package>.copyright"
msgstr "debian/I<paquet>.copyright"
# type: =item
#. type: =item
-#: dh_installdocs:51
+#: dh_installdocs:55
msgid "debian/I<package>.README.Debian"
msgstr "debian/I<paquet>.README.Debian"
# type: =item
#. type: =item
-#: dh_installdocs:53
+#: dh_installdocs:57
msgid "debian/I<package>.TODO"
msgstr "debian/I<paquet>.TODO"
# type: textblock
#. type: textblock
-#: dh_installdocs:55
+#: dh_installdocs:59
msgid ""
"Each of these files is automatically installed if present for a I<package>."
msgstr ""
@@ -5918,19 +6352,19 @@ msgstr ""
# type: =item
#. type: =item
-#: dh_installdocs:58
+#: dh_installdocs:62
msgid "F<debian/README.Debian>"
msgstr "F<debian/README.Debian>"
# type: =item
#. type: =item
-#: dh_installdocs:60
+#: dh_installdocs:64
msgid "F<debian/TODO>"
msgstr "F<debian/TODO>"
# type: textblock
#. type: textblock
-#: dh_installdocs:62
+#: dh_installdocs:66
msgid ""
"These files are installed into the first binary package listed in debian/"
"control."
@@ -5940,7 +6374,7 @@ msgstr ""
# type: textblock
#. type: textblock
-#: dh_installdocs:65
+#: dh_installdocs:69
msgid ""
"Note that F<README.debian> files are also installed as F<README.Debian>, and "
"F<TODO> files will be installed as F<TODO.Debian> in non-native packages."
@@ -5951,13 +6385,13 @@ msgstr ""
# type: =item
#. type: =item
-#: dh_installdocs:68
+#: dh_installdocs:72
msgid "debian/I<package>.doc-base"
msgstr "debian/I<paquet>.doc-base"
# type: textblock
#. type: textblock
-#: dh_installdocs:70
+#: dh_installdocs:74
msgid ""
"Installed as doc-base control files. Note that the doc-id will be determined "
"from the B<Document:> entry in the doc-base control file in question. In the "
@@ -5974,12 +6408,12 @@ msgstr ""
# type: =item
#. type: =item
-#: dh_installdocs:76
+#: dh_installdocs:80
msgid "debian/I<package>.doc-base.*"
msgstr "debian/I<paquet>.doc-base.*"
#. type: textblock
-#: dh_installdocs:78
+#: dh_installdocs:82
msgid ""
"If your package needs to register more than one document, you need multiple "
"doc-base files, and can name them like this. In the event that multiple doc-"
@@ -5995,7 +6429,7 @@ msgstr ""
# type: textblock
#. type: textblock
-#: dh_installdocs:92 dh_installinfo:40 dh_installman:85
+#: dh_installdocs:96 dh_installinfo:44 dh_installman:89
msgid ""
"Install all files specified by command line parameters in ALL packages acted "
"on."
@@ -6005,7 +6439,7 @@ msgstr ""
# type: textblock
#. type: textblock
-#: dh_installdocs:97
+#: dh_installdocs:101
msgid ""
"Exclude files that contain I<item> anywhere in their filename from being "
"installed. Note that this includes doc-base files."
@@ -6013,55 +6447,91 @@ msgstr ""
"Exclut les fichiers qui comportent I<élément>, n'importe où dans leur nom, "
"de l'installation. Il est à noter que cela inclut les fichiers doc-base."
+#. type: textblock
+#: dh_installdocs:106 dh_installexamples:52 dh_installinfo:49 dh_installman:99
+msgid ""
+"Look in the specified directory for files to be installed. This option "
+"requires compat 11 or later (it is silently ignored in compat 10 or earlier)."
+msgstr ""
+"Cherche dans le répertoire indiqué les fichiers à installer. Cette option "
+"nécessite le niveau de compatibilité 11 ou supérieur (et sera "
+"silencieusement ignorée en compat 10 et avant)."
+
+#. type: textblock
+#: dh_installdocs:109 dh_installman:102
+msgid ""
+"Note that this is not the same as the B<--sourcedirectory> option used by "
+"the B<dh_auto_>I<*> commands. You rarely need to use this option, since "
+"B<dh_installman> automatically looks for files in F<debian/tmp> in debhelper "
+"compatibility level 11 and above."
+msgstr ""
+"Nota : cette option ne fait pas la même chose que B<--sourcedirectory> "
+"utilisée par B<dh_auto_>I<*>. Il est rare d'avoir besoin d'utiliser cette "
+"option puisque B<dh_installman> cherche automatiquement les fichiers dans "
+"F<debian/tmp> depuis le niveau de compatibilité 11 de debhelper."
+
# type: =item
#. type: =item
-#: dh_installdocs:100 dh_installexamples:56
-#, fuzzy
-#| msgid "B<--mainpackage=>I<package>"
+#: dh_installdocs:114 dh_installexamples:60
msgid "B<--doc-main-package=>I<main-package>"
-msgstr "B<--mainpackage=>I<paquet>"
+msgstr "B<--doc-main-package=>I<paquet-principal>"
#. type: textblock
-#: dh_installdocs:102 dh_installexamples:58
+#: dh_installdocs:116 dh_installexamples:62
msgid ""
"Set the main package for a documentation package. This is used to install "
"the documentation of the documentation package in F<< /usr/share/doc/I<main-"
"package> >> as recommended by the Debian policy manual 3.9.7 in §12.3."
msgstr ""
+"Définit le paquet principal pour un paquet de documentation. Cela est "
+"utilisé pour installer la documentation du paquet de documentation dans F<< /"
+"usr/share/doc/I<paquet-principal> >> comme recommandé par la Charte "
+"Debian 3.9.7 au paragraphe 12.3."
#. type: textblock
-#: dh_installdocs:107 dh_installexamples:63
+#: dh_installdocs:121 dh_installexamples:67
msgid ""
"In compat 11 (or later), this option is only useful if debhelper's auto-"
"detection of the main package is wrong. The option can also be used to "
"silence a warning from debhelper when the auto-detection fails but the "
"default happens to be correct."
msgstr ""
+"Dans les niveaux de compatibilité 11 ou suivants, cette option n'est utile "
+"que si l'auto-détection du paquet principal de debhelper est erronée. Cette "
+"option peut aussi être utilisée pour masquer un avertissement de debhelper "
+"lorsque l'auto-détection échoue mais que le comportement par défaut est "
+"correct."
#. type: textblock
-#: dh_installdocs:112
+#: dh_installdocs:126
msgid ""
"This option cannot be used when B<dh_installdocs> is instructed to act on "
"multiple packages. If you need this option, you will generally need to "
"combine it with B<-p> to ensure exactly one package is acted on."
msgstr ""
+"Cette option ne peut pas être utilisée lorsque B<dh_installdocs> doit agir "
+"sur plusieurs paquets. Si vous avez besoin de cette option, vous devrez "
+"généralement l'associer à B<-p> pour vous assurer de n'agir que sur un "
+"paquet."
#. type: textblock
-#: dh_installdocs:117
+#: dh_installdocs:131
msgid ""
"Please keep in mind that some documentation (the copyright file, README."
"Debian, etc.) will be unaffected by this option."
msgstr ""
+"Veuillez garder à l'esprit que certains documents (les fichiers copyright, "
+"README.Debian, etc.) ne seront pas affectés par cette option."
# type: =item
#. type: =item
-#: dh_installdocs:120
+#: dh_installdocs:134
msgid "B<--link-doc=>I<package>"
msgstr "B<--link-doc=>I<paquet>"
# type: textblock
#. type: textblock
-#: dh_installdocs:122
+#: dh_installdocs:136
msgid ""
"Make the documentation directory of all packages acted on be a symlink to "
"the documentation directory of I<package>. This has no effect when acting on "
@@ -6078,7 +6548,7 @@ msgstr ""
# type: textblock
#. type: textblock
-#: dh_installdocs:128
+#: dh_installdocs:142
msgid ""
"debhelper will try to avoid installing files into linked documentation "
"directories that would cause conflicts with the linked package. The B<-A> "
@@ -6094,7 +6564,7 @@ msgstr ""
# type: textblock
#. type: textblock
-#: dh_installdocs:134
+#: dh_installdocs:148
msgid ""
"(An older method to accomplish the same thing, which is still supported, is "
"to make the documentation directory of a package be a dangling symlink, "
@@ -6105,37 +6575,35 @@ msgstr ""
"« en l'air » avant l'appel à B<dh_installdocs>.)"
#. type: textblock
-#: dh_installdocs:138
+#: dh_installdocs:152
msgid ""
"Please note that this option only applies to the documentation directory for "
"the package itself. When the package ships documentation for another "
"package (e.g. see B<--doc-main-package>), it will not use a symlink for the "
"documentation of the other package."
msgstr ""
+"Veuillez noter que cette option ne s'applique qu'au répertoire de "
+"documentation du paquet lui-même. Lorsque le paquet fournit de la "
+"documentation pour un autre (voir par exemple B<--doc-main-package>), il "
+"n'utilisera pas de lien symbolique pour la documentation de l'autre paquet."
#. type: textblock
-#: dh_installdocs:144
-#, fuzzy
-#| msgid ""
-#| "B<CAVEAT>: If a previous version of the package was built without this "
-#| "option and is now built with it (or vice-versa), it requires a \"dir to "
-#| "symlink\" (or \"symlink to dir\") migration. Since debhelper has no "
-#| "knowledge of previous versions, you have to enable this migration itself."
+#: dh_installdocs:158
msgid ""
"B<CAVEAT 1>: If a previous version of the package was built without this "
"option and is now built with it (or vice-versa), it requires a \"dir to "
"symlink\" (or \"symlink to dir\") migration. Since debhelper has no "
"knowledge of previous versions, you have to enable this migration itself."
msgstr ""
-"B<AVERTISSEMENT> : si une version précédente du paquet était construite sans "
-"cette option et qu'elle est maintenant construite avec (ou vice-versa), une "
-"migration est nécessaire, « répertoire vers lien symbolique » (« dir to "
+"B<AVERTISSEMENT 1> : si une version précédente du paquet était construite "
+"sans cette option et qu'elle est maintenant construite avec (ou vice-versa), "
+"une migration est nécessaire, « répertoire vers lien symbolique » (« dir to "
"symlink ») ou « lien symbolique vers répertoire » (« symlink to dir »). "
"Puisque debhelper n'a aucune connaissance des versions précédentes, vous "
"devez activer cette migration vous-même."
#. type: textblock
-#: dh_installdocs:150
+#: dh_installdocs:164
msgid ""
"This can be done by providing a \"debian/I<package>.maintscript\" file and "
"using L<dh_installdeb(1)> to provide the relevant maintainer script snippets."
@@ -6145,17 +6613,29 @@ msgstr ""
"des scripts de maintenance correspondants."
#. type: textblock
-#: dh_installdocs:154
+#: dh_installdocs:168
+#, fuzzy
+#| msgid ""
+#| "B<CAVEAT 2>: The use of B<--link-doc> should only be done when the "
+#| "packages have same \"architecture\" type. A link from a architecture "
+#| "independent package to a architecture dependent package (or vice versa) "
+#| "will not work. Since compat 10, debhelper will actively reject "
+#| "unsupported combinations."
msgid ""
"B<CAVEAT 2>: The use of B<--link-doc> should only be done when the packages "
-"have same \"architecture\" type. A link from a architecture independent "
-"package to a architecture dependent package (or vice versa) will not work. "
+"have same \"architecture\" type. A link from an architecture independent "
+"package to an architecture dependent package (or vice versa) will not work. "
"Since compat 10, debhelper will actively reject unsupported combinations."
msgstr ""
+"B<AVERTISSEMENT 2> : B<--link-doc> ne doit être utilisé que lorsque les "
+"paquets ont la même « architecture ». Un lien depuis un paquet indépendant "
+"de l'architecture vers un paquet dépendant de l'architecture (ou vice-versa) "
+"ne fonctionnera pas. Depuis la version 10, debhelper rejette activement les "
+"combinaisons non prises en charge."
# type: textblock
#. type: textblock
-#: dh_installdocs:162
+#: dh_installdocs:176
msgid ""
"Install these files as documentation into the first package acted on. (Or in "
"all packages if B<-A> is specified)."
@@ -6165,13 +6645,13 @@ msgstr ""
# type: textblock
#. type: textblock
-#: dh_installdocs:169
+#: dh_installdocs:183
msgid "This is an example of a F<debian/package.docs> file:"
msgstr "Voici un exemple de fichier F<debian/paquet.docs> :"
# type: verbatim
#. type: verbatim
-#: dh_installdocs:171
+#: dh_installdocs:185
#, no-wrap
msgid ""
" README\n"
@@ -6192,7 +6672,7 @@ msgstr ""
# type: textblock
#. type: textblock
-#: dh_installdocs:180
+#: dh_installdocs:194
msgid ""
"Note that B<dh_installdocs> will happily copy entire directory hierarchies "
"if you ask it to (similar to B<cp -a>). If it is asked to install a "
@@ -6313,7 +6793,7 @@ msgstr ""
# type: textblock
#. type: textblock
-#: dh_installemacsen:62 dh_usrlocal:55
+#: dh_installemacsen:62 dh_usrlocal:56
msgid "Do not modify F<postinst>/F<prerm> scripts."
msgstr ""
"Empêche la modification des scripts de maintenance du paquet F<postinst> et "
@@ -6389,18 +6869,18 @@ msgstr ""
# type: =item
#. type: =item
-#: dh_installexamples:31
+#: dh_installexamples:35
msgid "debian/I<package>.examples"
msgstr "debian/I<paquet>.examples"
#. type: textblock
-#: dh_installexamples:33
+#: dh_installexamples:37
msgid "Lists example files or directories to be installed."
msgstr "Liste les fichiers ou les répertoires d'exemples à installer."
# type: textblock
#. type: textblock
-#: dh_installexamples:43
+#: dh_installexamples:47
msgid ""
"Install any files specified by command line parameters in ALL packages acted "
"on."
@@ -6409,42 +6889,43 @@ msgstr ""
"B<tous> les paquets construits."
#. type: textblock
-#: dh_installexamples:48 dh_installinfo:45 dh_installman:95
-msgid ""
-"Look in the specified directory for files to be installed. This option "
-"requires compat 11 or later (it is silently ignored in compat 10 or earlier)."
-msgstr ""
-
-#. type: textblock
-#: dh_installexamples:51
-#, fuzzy
-#| msgid ""
-#| "Note that this is not the same as the B<--sourcedirectory> option used by "
-#| "the B<dh_auto_>I<*> commands. You rarely need to use this option, since "
-#| "B<dh_install> automatically looks for files in F<debian/tmp> in debhelper "
-#| "compatibility level 7 and above."
+#: dh_installexamples:55
msgid ""
"Note that this is not the same as the B<--sourcedirectory> option used by "
"the B<dh_auto_>I<*> commands. You rarely need to use this option, since "
"B<dh_installexamples> automatically looks for files in F<debian/tmp> in "
"debhelper compatibility level 11 and above."
msgstr ""
-"Nota : Cette option ne fait pas la même chose que B<--sourcedirectory> "
+"Nota : cette option ne fait pas la même chose que B<--sourcedirectory> "
"utilisée par B<dh_auto_>I<*>. Il est rare d'avoir besoin d'utiliser cette "
-"option puisque B<dh_install> cherche automatiquement les fichiers dans "
-"F<debian/tmp> depuis la version 7 de debhelper."
+"option puisque B<dh_installexamples> cherche automatiquement les fichiers "
+"dans F<debian/tmp> depuis la version 11 de debhelper."
#. type: textblock
-#: dh_installexamples:68
+#: dh_installexamples:72
msgid ""
"This option cannot be used when B<dh_installexamples> is instructed to act "
"on multiple packages. If you need this option, you will generally need to "
"combine it with B<-p> to ensure exactly one package is acted on."
msgstr ""
+"Cette option ne peut pas être utilisée lorsque B<dh_installexamples> doit "
+"agir sur plusieurs paquets. Si vous avez besoin de cette option, vous devrez "
+"généralement l'associer à B<-p> pour vous assurer de n'agir que sur un "
+"paquet."
+
+# type: textblock
+#. type: textblock
+#: dh_installexamples:79
+msgid ""
+"Exclude files that contain I<item> anywhere in their filename from being "
+"installed."
+msgstr ""
+"Exclut du traitement les fichiers qui comportent I<élément> n'importe où "
+"dans leur nom."
# type: textblock
#. type: textblock
-#: dh_installexamples:80
+#: dh_installexamples:84
msgid ""
"Install these files (or directories) as examples into the first package "
"acted on. (Or into all packages if B<-A> is specified.)"
@@ -6454,7 +6935,7 @@ msgstr ""
# type: textblock
#. type: textblock
-#: dh_installexamples:87
+#: dh_installexamples:91
msgid ""
"Note that B<dh_installexamples> will happily copy entire directory "
"hierarchies if you ask it to (similar to B<cp -a>). If it is asked to "
@@ -6560,23 +7041,17 @@ msgstr ""
# type: =item
#. type: =item
-#: dh_installinfo:28
+#: dh_installinfo:32
msgid "debian/I<package>.info"
msgstr "debian/I<paquet>.info"
#. type: textblock
-#: dh_installinfo:30
+#: dh_installinfo:34
msgid "List info files to be installed."
msgstr "Liste les fichiers info à installer."
#. type: textblock
-#: dh_installinfo:48
-#, fuzzy
-#| msgid ""
-#| "Note that this is not the same as the B<--sourcedirectory> option used by "
-#| "the B<dh_auto_>I<*> commands. You rarely need to use this option, since "
-#| "B<dh_install> automatically looks for files in F<debian/tmp> in debhelper "
-#| "compatibility level 7 and above."
+#: dh_installinfo:52
msgid ""
"Note that this is not the same as the B<--sourcedirectory> option used by "
"the B<dh_auto_>I<*> commands. You rarely need to use this option, since "
@@ -6585,12 +7060,12 @@ msgid ""
msgstr ""
"Nota : Cette option ne fait pas la même chose que B<--sourcedirectory> "
"utilisée par B<dh_auto_>I<*>. Il est rare d'avoir besoin d'utiliser cette "
-"option puisque B<dh_install> cherche automatiquement les fichiers dans "
-"F<debian/tmp> depuis la version 7 de debhelper."
+"option puisque B<dh_installinfo> cherche automatiquement les fichiers dans "
+"F<debian/tmp> depuis le niveau de compatibilité 11 de debhelper."
# type: textblock
#. type: textblock
-#: dh_installinfo:55
+#: dh_installinfo:59
msgid ""
"Install these info files into the first package acted on. (Or in all "
"packages if B<-A> is specified)."
@@ -6623,23 +7098,26 @@ msgstr ""
#, fuzzy
#| msgid ""
#| "B<dh_installinit> is a debhelper program that is responsible for "
-#| "installing init scripts with associated defaults files, as well as "
-#| "upstart job files, and systemd service files into package build "
-#| "directories."
+#| "installing init scripts with associated defaults files. In compatibility "
+#| "levels up to 11, B<dh_installinit> also handled upstart job files and "
+#| "systemd service files."
msgid ""
"B<dh_installinit> is a debhelper program that is responsible for installing "
"init scripts with associated defaults files. In compatibility levels up to "
-"11, B<dh_installinit> also handled upstart job files and systemd service "
-"files."
+"and including 10, B<dh_installinit> will also install some systemd related "
+"files provided by the debian packaging (see the L</FILES> section below). "
+"In compatibility levels up to and including 11, B<dh_installinit> will also "
+"handle upstart jobs provided in the debian packaging (see the L</FILES> for "
+"more information on this as well)."
msgstr ""
"B<dh_installinit> est le programme de la suite debhelper chargé de "
-"l'installation des scripts init avec les fichiers par défaut associés, ainsi "
-"que les fichiers de tâche upstart et les fichiers de service systemd dans le "
-"répertoire de construction du paquet."
+"l'installation des scripts init avec les fichiers par défaut associés. "
+"Jusqu'au niveau de compatibilité 11, B<dh_installinit> s'occupait aussi des "
+"fichiers de tâche upstart et des fichiers de service systemd."
# type: textblock
#. type: textblock
-#: dh_installinit:26
+#: dh_installinit:31
msgid ""
"It also automatically generates the F<postinst> and F<postrm> and F<prerm> "
"commands needed to set up the symlinks in F</etc/rc*.d/> to start and stop "
@@ -6651,23 +7129,28 @@ msgstr ""
"arrêter des scripts d'initialisation."
#. type: textblock
-#: dh_installinit:30
+#: dh_installinit:35
msgid ""
"In compat 10 or earlier: If a package only ships a systemd service file and "
"no sysvinit script is provided, you may want to exclude the call to "
"dh_installinit for that package (e.g. via B<-N>). Otherwise, you may get "
"warnings from lintian about init.d scripts not being included in the package."
msgstr ""
+"Dans les niveaux de compatibilité 10 et avant : si un paquet fournit "
+"seulement un fichier de service systemd mais pas de script sysvinit, vous "
+"pouvez exclure l'appel à B<dh_installinit> pour ce paquet (par exemple avec "
+"B<-N>). Autrement vous recevrez des avertissements de lintian à propos de "
+"scripts init.d manquants."
# type: =item
#. type: =item
-#: dh_installinit:40
+#: dh_installinit:45
msgid "debian/I<package>.init"
msgstr "debian/I<paquet>.init"
# type: textblock
#. type: textblock
-#: dh_installinit:42
+#: dh_installinit:47
msgid ""
"If this exists, it is installed into etc/init.d/I<package> in the package "
"build directory."
@@ -6677,13 +7160,13 @@ msgstr ""
# type: =item
#. type: =item
-#: dh_installinit:45
+#: dh_installinit:50
msgid "debian/I<package>.default"
msgstr "debian/I<paquet>.default"
# type: textblock
#. type: textblock
-#: dh_installinit:47
+#: dh_installinit:52
msgid ""
"If this exists, it is installed into etc/default/I<package> in the package "
"build directory."
@@ -6693,59 +7176,60 @@ msgstr ""
# type: =item
#. type: =item
-#: dh_installinit:50
+#: dh_installinit:55
msgid "debian/I<package>.upstart"
msgstr "debian/I<paquet>.upstart"
#. type: textblock
-#: dh_installinit:52
+#: dh_installinit:57
msgid ""
"In compatibility level 11, this file will trigger an error with a reminder "
"about ensuring the proper removal of the upstart file in the previous "
"package version. Please consider using the \"rm_conffile\" feature from "
"L<dh_installdeb(1)> to ensure the proper removal of previous upstart files."
msgstr ""
+"Dans le niveau de compatibilité 11, ce fichier provoquera une erreur "
+"contenant un rappel pour correctement supprimer le fichier upstart de la "
+"version précédente du paquet. Veuillez utiliser la fonction « rm_conffile » "
+"de L<dh_installdeb(1)> pour vous assurer de la suppression correcte des "
+"fichiers upstart."
# type: textblock
#. type: textblock
-#: dh_installinit:57
-#, fuzzy
-#| msgid ""
-#| "If this exists, it is installed into etc/init/I<package>.conf in the "
-#| "package build directory."
+#: dh_installinit:62
msgid ""
"In compatibility level 10, if this file exists, it is installed into etc/"
"init/I<package>.conf in the package build directory."
msgstr ""
-"S'il existe, il est installé dans le répertoire de construction du paquet, "
-"sous etc/init/I<paquet>."
+"Dans le niveau de compatibilité 10, si ce fichier existe, il est installé "
+"dans le répertoire de construction du paquet, sous etc/init/I<paquet>.conf."
# type: =item
#. type: =item
-#: dh_installinit:60
+#: dh_installinit:65
msgid "debian/I<package>.service"
msgstr "debian/I<paquet>.service"
# type: textblock
#. type: textblock
-#: dh_installinit:62
+#: dh_installinit:67
msgid ""
"If this exists, it is installed into lib/systemd/system/I<package>.service "
"in the package build directory. Only used in compat levels 10 and below."
msgstr ""
"S'il existe, il est installé dans le répertoire de construction du paquet, "
"sous lib/systemd/system/I<paquet>.service. Cela n'est utilisé que dans les "
-"modes de compatibilité 10 et inférieurs."
+"niveaux de compatibilité 10 et inférieurs."
# type: =item
#. type: =item
-#: dh_installinit:65 dh_systemd_enable:50
+#: dh_installinit:70 dh_systemd_enable:50
msgid "debian/I<package>.tmpfile"
msgstr "debian/I<paquet>.tmpfile"
# type: textblock
#. type: textblock
-#: dh_installinit:67
+#: dh_installinit:72
msgid ""
"If this exists, it is installed into usr/lib/tmpfiles.d/I<package>.conf in "
"the package build directory. (The tmpfiles.d mechanism is currently only "
@@ -6754,11 +7238,11 @@ msgstr ""
"S'il existe, il est installé dans le répertoire de construction du paquet, "
"sous usr/lib/tmpfiles.d/I<paquet>.conf (les mécanismes tmpfiles.d ne sont "
"pour l'instant utilisés que par systemd). Cela n'est utilisé que dans les "
-"modes de compatibilité 10 et inférieurs."
+"niveaux de compatibilité 10 et inférieurs."
# type: textblock
#. type: textblock
-#: dh_installinit:79
+#: dh_installinit:84
msgid "Do not modify F<postinst>/F<postrm>/F<prerm> scripts."
msgstr ""
"Empêche la modification des scripts de maintenance F<postinst>, F<postrm>, "
@@ -6766,13 +7250,13 @@ msgstr ""
# type: =item
#. type: =item
-#: dh_installinit:81
+#: dh_installinit:86
msgid "B<-o>, B<--only-scripts>"
msgstr "B<-o>, B<--only-scripts>"
# type: textblock
#. type: textblock
-#: dh_installinit:83
+#: dh_installinit:88
msgid ""
"Only modify F<postinst>/F<postrm>/F<prerm> scripts, do not actually install "
"any init script, default files, upstart job or systemd service file. May be "
@@ -6786,7 +7270,7 @@ msgstr ""
"B<dh_installinit>."
#. type: textblock
-#: dh_installinit:88
+#: dh_installinit:93
msgid ""
"B<Caveat>: This will bypass all the regular checks and I<unconditionally> "
"modify the scripts. You will almost certainly want to use this with B<-p> "
@@ -6798,7 +7282,7 @@ msgstr ""
"affectés par l'appel. Par exemple :"
#. type: verbatim
-#: dh_installinit:93
+#: dh_installinit:98
#, no-wrap
msgid ""
" override_dh_installinit:\n"
@@ -6813,33 +7297,34 @@ msgstr ""
# type: =item
#. type: =item
-#: dh_installinit:97
+#: dh_installinit:102
msgid "B<-R>, B<--restart-after-upgrade>"
msgstr "B<-R>, B<--restart-after-upgrade>"
# type: textblock
#. type: textblock
-#: dh_installinit:99
+#: dh_installinit:104
msgid ""
"Do not stop the init script until after the package upgrade has been "
"completed. This is the default behaviour in compat 10."
msgstr ""
-"N'arrête pas le script init tant que la mise à jour du paquet n'est pas "
-"terminée. C'est le comportement par défaut en compat 10."
+"N'arrête pas le script init tant que la mise à niveau du paquet n'est pas "
+"terminée. C'est le comportement par défaut dans le niveau de "
+"compatibilité 10."
# type: textblock
#. type: textblock
-#: dh_installinit:102
+#: dh_installinit:107
msgid ""
"In early compat levels, the default was to stop the script in the F<prerm>, "
"and starts it again in the F<postinst>."
msgstr ""
-"Dans les modes de compatibilité précédents, le comportement par défaut "
+"Dans les niveaux de compatibilité précédents, le comportement par défaut "
"arrêtait le script lors du F<prerm> et le redémarrait lors du F<postinst>."
# type: textblock
#. type: textblock
-#: dh_installinit:105 dh_systemd_start:45
+#: dh_installinit:110 dh_systemd_start:45
msgid ""
"This can be useful for daemons that should not have a possibly long downtime "
"during upgrade. But you should make sure that the daemon will not get "
@@ -6853,61 +7338,74 @@ msgstr ""
# type: =item
#. type: =item
-#: dh_installinit:110 dh_systemd_start:50
+#: dh_installinit:115 dh_systemd_start:50
msgid "B<--no-restart-after-upgrade>"
msgstr "B<--no-restart-after-upgrade>"
#. type: textblock
-#: dh_installinit:112 dh_systemd_start:52
+#: dh_installinit:117 dh_systemd_start:52
msgid ""
"Undo a previous B<--restart-after-upgrade> (or the default of compat 10). "
"If no other options are given, this will cause the service to be stopped in "
"the F<prerm> script and started again in the F<postinst> script."
msgstr ""
-"Annule un précédent B<--restart-after-upgrade> (ou le défaut du compat 10). "
-"Si aucune autre option n'est donnée, cela provoque l'arrêt du service dans "
-"le script F<prerm> et son redémarrage dans le script F<postinst>."
+"Annule un précédent B<--restart-after-upgrade> (ou le défaut du niveau de "
+"compatibilité 10). Si aucune autre option n'est donnée, cela provoque "
+"l'arrêt du service dans le script F<prerm> et son redémarrage dans le script "
+"F<postinst>."
# type: =item
#. type: =item
-#: dh_installinit:117 dh_systemd_start:57
+#: dh_installinit:122 dh_systemd_start:57
msgid "B<-r>, B<--no-stop-on-upgrade>, B<--no-restart-on-upgrade>"
msgstr "B<-r>, B<--no-stop-on-upgrade>, B<--no-restart-on-upgrade>"
#. type: textblock
-#: dh_installinit:119
+#: dh_installinit:124
msgid ""
"Do not stop init script on upgrade. This has the side-effect of not "
"restarting the service as a part of the upgrade."
msgstr ""
+"N'arrête pas le script init lors de la mise à niveau. Cela a pour effet "
+"secondaire de ne pas redémarrer le service lors de la mise à niveau."
#. type: textblock
-#: dh_installinit:122
+#: dh_installinit:127
msgid ""
"If you want to restart the service with minimal downtime, please use B<--"
"restart-after-upgrade> (default in compat 10 or later). If you want the "
"service to be restarted but be stopped during the upgrade, then please use "
"B<--no-restart-after-upgrade> (note the \"after-upgrade\")."
msgstr ""
+"Si vous désirez redémarrer le service en minimisant la durée d'interruption, "
+"utilisez B<--restart-after-upgrade> (par défaut dans les niveaux de "
+"compatibilité 10 et au delà). Si vous voulez que le service soit redémarré, "
+"mais à l'arrêt pendant la mise à niveau, utilisez plutôt B<--no-restart-"
+"after-upgrade> (notez le « after-upgrade »)."
#. type: textblock
-#: dh_installinit:127
+#: dh_installinit:132
msgid ""
"Note that the B<--no-restart-on-upgrade> alias is deprecated and will be "
"removed in compat 12. This is to avoid confusion with the B<--no-restart-"
"after-upgrade> option. The B<--no-stop-on-upgrade> variant was introduced "
"in debhelper 10.2 (included in Debian stretch)."
msgstr ""
+"Veuillez note que l'alias B<--no-restart-on-upgrade> est obsolète et sera "
+"supprimé dans le niveau de compatibilité 12, pour éviter de confondre avec "
+"l'option B<--no-restart-after-upgrade>. La variante B<--no-stop-on-upgrade> "
+"a été introduite dans la version 10.2 de debhelper (incluse dans "
+"Debian Stretch)."
# type: =item
#. type: =item
-#: dh_installinit:132 dh_systemd_start:61
+#: dh_installinit:137 dh_systemd_start:61
msgid "B<--no-start>"
msgstr "B<--no-start>"
# type: textblock
#. type: textblock
-#: dh_installinit:134
+#: dh_installinit:139
msgid ""
"Do not start the init script on install or upgrade, or stop it on removal. "
"Only call B<update-rc.d>. Useful for rcS scripts."
@@ -6918,13 +7416,54 @@ msgstr ""
# type: =item
#. type: =item
-#: dh_installinit:137
+#: dh_installinit:142 dh_systemd_enable:87
+msgid "B<--no-enable>"
+msgstr "B<--no-enable>"
+
+#. type: textblock
+#: dh_installinit:144
+msgid ""
+"Disable the init script on purge, but do not enable them on install. This "
+"implies a versioned dependency on B<< init-system-helpers (E<gt>= 1.51) >> "
+"as it is the first (functional) version that supports B<< update-rc.d "
+"E<lt>scriptE<gt> defaults-disabled >>."
+msgstr ""
+
+#. type: textblock
+#: dh_installinit:149
+#, fuzzy
+#| msgid ""
+#| "B<Note> that this option does not affect whether the services are "
+#| "started. That is controlled by L<dh_systemd_start(1)> (using e.g. its "
+#| "B<--no-start> option)."
+msgid ""
+"B<Note> that this option does not affect whether the services are started. "
+"Please remember to also use B<--no-start> if the service should not be "
+"started."
+msgstr ""
+"B<Nota> : cette option n'affecte pas le démarrage des services. Cela est "
+"contrôlé par L<dh_systemd_start(1)> (par exemple en utilisant l'option B<--"
+"no-start>)."
+
+# type: =item
+#. type: textblock
+#: dh_installinit:153
+#, fuzzy
+#| msgid "B<-u>I<params> B<--update-rcd-params=>I<params>"
+msgid ""
+"Cannot be combined with B<-u>I<params>, B<--update-rcd-params=>I<params>, or "
+"B<--> I<params>."
+msgstr "B<-u>I<paramètres> B<--update-rcd-params=>I<paramètres>"
+
+# type: =item
+#. type: =item
+#: dh_installinit:156
msgid "B<-d>, B<--remove-d>"
msgstr "B<-d>, B<--remove-d>"
# type: textblock
#. type: textblock
-#: dh_installinit:139
+#: dh_installinit:158
msgid ""
"Remove trailing B<d> from the name of the package, and use the result for "
"the filename the upstart job file is installed as in F<etc/init/> , and for "
@@ -6942,23 +7481,33 @@ msgstr ""
# type: =item
#. type: =item
-#: dh_installinit:146
+#: dh_installinit:165
msgid "B<-u>I<params> B<--update-rcd-params=>I<params>"
msgstr "B<-u>I<paramètres> B<--update-rcd-params=>I<paramètres>"
# type: textblock
#. type: textblock
-#: dh_installinit:150
+#: dh_installinit:169
+#, fuzzy
+#| msgid ""
+#| "Pass I<params> to L<update-rc.d(8)>. If not specified, B<defaults> will "
+#| "be passed to L<update-rc.d(8)>."
msgid ""
-"Pass I<params> to L<update-rc.d(8)>. If not specified, B<defaults> will be "
-"passed to L<update-rc.d(8)>."
+"Pass I<params> to L<update-rc.d(8)>. If not specified, B<defaults> (or "
+"B<defaults-disabled> with B<--no-enable>) will be passed to L<update-rc."
+"d(8)>."
msgstr ""
"Passe les I<paramètres> indiqués à L<update-rc.d(8)>. Si rien n'est indiqué, "
"B<defaults> sera passé à L<update-rc.d(8)>."
+#. type: textblock
+#: dh_installinit:173
+msgid "Cannot be combined with B<--no-enable>."
+msgstr ""
+
# type: textblock
#. type: textblock
-#: dh_installinit:155
+#: dh_installinit:177
msgid ""
"Install the init script (and default file) as well as upstart job file using "
"the filename I<name> instead of the default filename, which is the package "
@@ -6976,13 +7525,13 @@ msgstr ""
# type: =item
#. type: =item
-#: dh_installinit:163
+#: dh_installinit:185
msgid "B<--init-script=>I<scriptname>"
msgstr "B<--init-script=>I<nom-du-script>"
# type: textblock
#. type: textblock
-#: dh_installinit:165
+#: dh_installinit:187
msgid ""
"Use I<scriptname> as the filename the init script is installed as in F<etc/"
"init.d/> (and also use it as the filename for the defaults file, if it is "
@@ -6999,7 +7548,7 @@ msgstr ""
# type: textblock
#. type: textblock
-#: dh_installinit:172
+#: dh_installinit:194
msgid ""
"This parameter is deprecated, use the B<--name> parameter instead. This "
"parameter is incompatible with the use of upstart jobs."
@@ -7009,13 +7558,13 @@ msgstr ""
# type: =item
#. type: =item
-#: dh_installinit:175
+#: dh_installinit:197
msgid "B<--error-handler=>I<function>"
msgstr "B<--error-handler=>I<fonction>"
# type: textblock
#. type: textblock
-#: dh_installinit:177
+#: dh_installinit:199
msgid ""
"Call the named shell I<function> if running the init script fails. The "
"function should be provided in the F<prerm> and F<postinst> scripts, before "
@@ -7027,17 +7576,112 @@ msgstr ""
# type: textblock
#. type: textblock
-#: dh_installinit:380
+#: dh_installinit:408
+#, fuzzy
+#| msgid "L<debhelper(7)>, L<dpkg-shlibdeps(1)>"
+msgid "L<debhelper(7)>, L<dh_installsystemd(1)>"
+msgstr "L<debhelper(7)>, L<dpkg-shlibdeps(1)>"
+
+# type: textblock
+#. type: textblock
+#: dh_installinit:416
msgid "Steve Langasek <steve.langasek@canonical.com>"
msgstr "Steve Langasek <steve.langasek@canonical.com>"
#. type: textblock
-#: dh_installinit:382
+#: dh_installinit:418
msgid "Michael Stapelberg <stapelberg@debian.org>"
msgstr "Michael Stapelberg <stapelberg@debian.org>"
# type: textblock
#. type: textblock
+#: dh_installinitramfs:5
+#, fuzzy
+#| msgid ""
+#| "dh_installinit - install service init files into package build directories"
+msgid "dh_installinitramfs - install initramfs hooks and setup maintscripts"
+msgstr ""
+"dh_installinit - Installer les fichiers de service « init » dans le "
+"répertoire de construction du paquet"
+
+# type: textblock
+#. type: textblock
+#: dh_installinitramfs:17
+#, fuzzy
+#| msgid "B<dh_installmenu> [S<B<debhelper options>>] [B<-n>]"
+msgid "B<dh_installinitramfs> [S<B<debhelper options>>] [B<-n>]"
+msgstr "B<dh_installmenu> [B<options_de_debhelper>] [B<-n>]"
+
+# type: textblock
+#. type: textblock
+#: dh_installinitramfs:21
+#, fuzzy
+#| msgid ""
+#| "B<dh_installmime> is a debhelper program that is responsible for "
+#| "installing mime files into package build directories."
+msgid ""
+"B<dh_installinitramfs> is a debhelper program that is responsible for "
+"installing Debian package provided initramfs hooks."
+msgstr ""
+"B<dh_installmime> est le programme de la suite debhelper chargé de "
+"l'installation des fichiers « mime » dans le répertoire de construction du "
+"paquet."
+
+# type: textblock
+#. type: textblock
+#: dh_installinitramfs:24
+#, fuzzy
+#| msgid ""
+#| "It also automatically generates the F<postinst> and F<postrm> commands "
+#| "needed to interface with the Debian B<menu> package. These commands are "
+#| "inserted into the maintainer scripts by L<dh_installdeb(1)>."
+msgid ""
+"If B<dh_installinitramfs> installs or (in compat 12 or later) detects one or "
+"more initramfs hooks in the package, then it also automatically generates "
+"the F<postinst> and F<postrm> commands needed to interface with the Debian "
+"initramfs system. These commands are inserted into the maintainer scripts "
+"by L<dh_installdeb(1)>."
+msgstr ""
+"De plus, il produit automatiquement les lignes de code des scripts de "
+"maintenance F<postinst> et F<postrm> nécessaires à l'interfaçage avec le "
+"paquet B<menu> de Debian. Ces commandes sont insérées dans les scripts de "
+"maintenance par L<dh_installdeb(1)>."
+
+# type: =item
+#. type: =item
+#: dh_installinitramfs:34
+#, fuzzy
+#| msgid "debian/I<package>.init"
+msgid "debian/I<package>.initramfs-hook"
+msgstr "debian/I<paquet>.init"
+
+#. type: textblock
+#: dh_installinitramfs:36
+msgid ""
+"Assumed to be an initramfs hook that will be installed into F<< usr/share/"
+"initramfs-tools/hooks/I<package> >> in the package build directory. See "
+"B<HOOK SCRIPTS> in L<initramfs-tools(8)> for more information about "
+"initramfs hooks."
+msgstr ""
+
+# type: textblock
+#. type: textblock
+#: dh_installinitramfs:49 dh_installmenu:50
+msgid "Do not modify F<postinst>/F<postrm> scripts."
+msgstr ""
+"Empêche la modification des scripts de maintenance du paquet F<postinst> et "
+"F<postrm>."
+
+# type: textblock
+#. type: textblock
+#: dh_installinitramfs:88
+#, fuzzy
+#| msgid "L<debhelper(7)> L<update-menus(1)> L<menufile(5)>"
+msgid "L<debhelper(7)> L<update-initramfs(8)> L<initramfs-tools(8)>"
+msgstr "L<debhelper(7)> L<update-menus(1)> L<menufile(5)>"
+
+# type: textblock
+#. type: textblock
#: dh_installlogcheck:5
msgid "dh_installlogcheck - install logcheck rulefiles into etc/logcheck/"
msgstr ""
@@ -7192,18 +7836,13 @@ msgstr ""
# type: textblock
#. type: textblock
#: dh_installman:22
-#, fuzzy
-#| msgid ""
-#| "B<dh_installmanpages> is a debhelper program that is responsible for "
-#| "automatically installing man pages into F<usr/share/man/> in package "
-#| "build directories."
msgid ""
"B<dh_installman> is a debhelper program that handles installing man pages "
"into the correct locations in package build directories."
msgstr ""
-"B<dh_installmanpages> est l'ancien programme de la suite debhelper chargé de "
-"l'installation automatique des pages de manuel dans le répertoire F<usr/"
-"share/man/> du répertoire de construction du paquet."
+"B<dh_installman> est l'ancien programme de la suite debhelper chargé de "
+"l'installation automatique des pages de manuel au bon endroit dans le "
+"répertoire de construction du paquet."
#. type: textblock
#: dh_installman:25
@@ -7214,6 +7853,12 @@ msgid ""
"the same features of L<dh_install(1)> and has the advantage that it respects "
"the B<nodoc> build profile (unlike L<dh_install(1)>)."
msgstr ""
+"Jusqu'au niveau de compatibilité 10, ce programme était utilisé "
+"principalement lorsque le système de construction amont ne les installait "
+"pas correctement lors de la phase d'installation. En compat 11 et "
+"postérieurs, il prend en charge les mêmes fonctionnalités que "
+"L<dh_install(1)> et a l'avantage de respecter le profil B<nodoc> "
+"(contrairement à L<dh_install(1)>)."
#. type: textblock
#: dh_installman:32
@@ -7223,22 +7868,14 @@ msgid ""
"UTF-8 and for converting F<.so> links (as described below). However, that "
"part happens automatically without any explicit configuration."
msgstr ""
+"Même si vous préférez L<dh_install(1)> pour installer les pages de manuel, "
+"B<dh_installman> peut être utile pour convertir les pages en UTF-8 et les "
+"liens F<.so> (comme décrit plus bas). De plus, cela est effectué "
+"automatiquement sans configuration explicite."
# type: textblock
#. type: textblock
#: dh_installman:38
-#, fuzzy
-#| msgid ""
-#| "B<dh_installman> is a debhelper program that handles installing man pages "
-#| "into the correct locations in package build directories. You tell it what "
-#| "man pages go in your packages, and it figures out where to install them "
-#| "based on the section field in their B<.TH> or B<.Dt> line. If you have a "
-#| "properly formatted B<.TH> or B<.Dt> line, your man page will be installed "
-#| "into the right directory, with the right name (this includes proper "
-#| "handling of pages with a subsection, like B<3perl>, which are placed in "
-#| "F<man3>, and given an extension of F<.3perl>). If your B<.TH> or B<.Dt> "
-#| "line is incorrect or missing, the program may guess wrong based on the "
-#| "file extension."
msgid ""
"You tell B<dh_installman> what man pages go in your packages, and it figures "
"out where to install them based on the section field in their B<.TH> or B<."
@@ -7249,17 +7886,15 @@ msgid ""
"or B<.Dt> line is incorrect or missing, the program may guess wrong based on "
"the file extension."
msgstr ""
-"B<dh_installman> est le programme de la suite debhelper chargé de "
-"l'installation des pages de manuel à l'emplacement correct dans le "
-"répertoire de construction du paquet. À partir de la liste des pages de "
-"manuel à installer, B<dh_installman> examine la section indiquée à la ligne "
-"B<.TH> ou B<.Dt> de la page et en déduit la destination. Si la ligne B<.TH> "
-"ou B<.Dt> est correctement renseignée, les pages de manuel seront installées "
-"dans la bonne section avec le nom adéquat. Ce mécanisme fonctionne également "
-"pour les pages comportant des sous-sections, telles que B<3perl>, qui sera "
-"placée en F<man3> et portera l'extension F<.3perl>. Si la ligne B<.TH> ou B<."
-"Dt> est erronée ou absente, le programme peut faire une mauvaise déduction, "
-"basée sur l'extension du fichier."
+"À partir de la liste des pages de manuel à installer, B<dh_installman> "
+"examine la section indiquée à la ligne B<.TH> ou B<.Dt> de la page et en "
+"déduit la destination. Si la ligne B<.TH> ou B<.Dt> est correctement "
+"renseignée, les pages de manuel seront installées dans la bonne section avec "
+"le nom adéquat. Ce mécanisme fonctionne également pour les pages comportant "
+"des sous-sections, telles que B<3perl>, qui sera placée en F<man3> et "
+"portera l'extension F<.3perl>. Si la ligne B<.TH> ou B<.Dt> est erronée ou "
+"absente, le programme peut faire une mauvaise déduction, basée sur "
+"l'extension du fichier."
# type: textblock
#. type: textblock
@@ -7329,25 +7964,25 @@ msgstr ""
# type: =item
#. type: =item
-#: dh_installman:73
+#: dh_installman:77
msgid "debian/I<package>.manpages"
msgstr "debian/I<paquet>.manpages"
# type: textblock
#. type: textblock
-#: dh_installman:75
+#: dh_installman:79
msgid "Lists man pages to be installed."
msgstr "Liste les pages de manuel à installer."
# type: =item
#. type: =item
-#: dh_installman:88
+#: dh_installman:92
msgid "B<--language=>I<ll>"
msgstr "B<--language=>I<ll>"
# type: textblock
#. type: textblock
-#: dh_installman:90
+#: dh_installman:94
msgid ""
"Use this to specify that the man pages being acted on are written in the "
"specified language."
@@ -7355,34 +7990,15 @@ msgstr ""
"Permet d'indiquer que les pages de manuel doivent être traitées comme étant "
"écrites dans le langage indiqué par « ll »."
-#. type: textblock
-#: dh_installman:98
-#, fuzzy
-#| msgid ""
-#| "Note that this is not the same as the B<--sourcedirectory> option used by "
-#| "the B<dh_auto_>I<*> commands. You rarely need to use this option, since "
-#| "B<dh_install> automatically looks for files in F<debian/tmp> in debhelper "
-#| "compatibility level 7 and above."
-msgid ""
-"Note that this is not the same as the B<--sourcedirectory> option used by "
-"the B<dh_auto_>I<*> commands. You rarely need to use this option, since "
-"B<dh_installman> automatically looks for files in F<debian/tmp> in debhelper "
-"compatibility level 11 and above."
-msgstr ""
-"Nota : Cette option ne fait pas la même chose que B<--sourcedirectory> "
-"utilisée par B<dh_auto_>I<*>. Il est rare d'avoir besoin d'utiliser cette "
-"option puisque B<dh_install> cherche automatiquement les fichiers dans "
-"F<debian/tmp> depuis la version 7 de debhelper."
-
# type: =item
#. type: =item
-#: dh_installman:103
+#: dh_installman:107
msgid "I<manpage> ..."
msgstr "I<page-de-manuel> ..."
# type: textblock
#. type: textblock
-#: dh_installman:105
+#: dh_installman:109
msgid ""
"Install these man pages into the first package acted on. (Or in all packages "
"if B<-A> is specified)."
@@ -7391,12 +8007,12 @@ msgstr ""
"dans tous les paquets traités si B<-A> est indiqué)."
#. type: textblock
-#: dh_installman:112
+#: dh_installman:116
msgid "An example F<debian/manpages> file could look like this:"
-msgstr ""
+msgstr "Un fichier exemple de F<debian/manpages> ressemblerait à ceci :"
#. type: verbatim
-#: dh_installman:114
+#: dh_installman:118
#, no-wrap
msgid ""
" doc/man/foo.1\n"
@@ -7410,10 +8026,20 @@ msgid ""
" # ...\n"
"\n"
msgstr ""
+" doc/man/foo.1\n"
+" # Traductions\n"
+" doc/man/foo.da.1\n"
+" doc/man/foo.de.1\n"
+" doc/man/foo.fr.1\n"
+" # NB: La ligne suivante est considérée comme une traduction polonaise\n"
+" # de \"foo.1\" (pas une page de manuel écrite en Perl appelée \"foo.pl\")\n"
+" doc/man/foo.pl.1\n"
+" # ...\n"
+"\n"
# type: textblock
#. type: textblock
-#: dh_installman:126
+#: dh_installman:130
msgid ""
"An older version of this program, L<dh_installmanpages(1)>, is still used by "
"some packages, and so is still included in debhelper. It is, however, "
@@ -7627,14 +8253,6 @@ msgstr ""
# type: textblock
#. type: textblock
-#: dh_installmenu:50
-msgid "Do not modify F<postinst>/F<postrm> scripts."
-msgstr ""
-"Empêche la modification des scripts de maintenance du paquet F<postinst> et "
-"F<postrm>."
-
-# type: textblock
-#. type: textblock
#: dh_installmenu:90
msgid "L<debhelper(7)> L<update-menus(1)> L<menufile(5)>"
msgstr "L<debhelper(7)> L<update-menus(1)> L<menufile(5)>"
@@ -7968,13 +8586,6 @@ msgstr ""
# type: textblock
#. type: textblock
#: dh_installwm:21
-#, fuzzy
-#| msgid ""
-#| "B<dh_installwm> is a debhelper program that is responsible for generating "
-#| "the F<postinst> and F<prerm> commands that register a window manager with "
-#| "L<update-alternatives(8)>. The window manager's man page is also "
-#| "registered as a slave symlink (in v6 mode and up), if it is found in "
-#| "F<usr/share/man/man1/> in the package build directory."
msgid ""
"B<dh_installwm> is a debhelper program that is responsible for generating "
"the F<postinst> and F<prerm> commands that register a window manager with "
@@ -7988,8 +8599,9 @@ msgstr ""
"permettant d'inscrire un gestionnaire de fenêtres avec L<update-"
"alternatives(8)>. La page de manuel du gestionnaire de fenêtres (window "
"manager) est également inscrite en tant que lien symbolique esclave (à "
-"partir de la version 6) si elle est trouvée sous F<usr/share/man/man1/> dans "
-"le répertoire de construction du paquet."
+"partir de la version 6). Elle doit être installée sous F<usr/share/man/man1/"
+"> dans le répertoire de construction du paquet avant d'appeler "
+"B<dh_installwm>. Jusqu'à la version 9, la page de manuel était optionnelle."
# type: =item
#. type: =item
@@ -8024,15 +8636,29 @@ msgstr ""
"Empêche la modification des scripts de maintenance F<postinst> et F<prerm>. "
"Utiliser ce paramètre revient à ne rien faire."
+# type: textblock
+#. type: textblock
+#: dh_installwm:54
+#, fuzzy
+#| msgid ""
+#| "Create any links specified by command line parameters in ALL packages "
+#| "acted on, not just the first."
+msgid ""
+"Modify scripts for window managers specified by command line parameters in "
+"ALL packages acted on, not just the first."
+msgstr ""
+"Crée les liens symboliques indiqués en paramètres dans B<tous> les paquets "
+"et pas seulement dans le premier paquet construit."
+
# type: =item
#. type: =item
-#: dh_installwm:52
+#: dh_installwm:57
msgid "I<wm> ..."
msgstr "I<gestionnaire_de_fenêtres> ..."
# type: textblock
#. type: textblock
-#: dh_installwm:54
+#: dh_installwm:59
msgid "Window manager programs to register."
msgstr "Gestionnaires de fenêtres à inscrire."
@@ -8157,12 +8783,6 @@ msgstr ""
# type: textblock
#. type: textblock
#: dh_link:25
-#, fuzzy
-#| msgid ""
-#| "B<dh_link> accepts a list of pairs of source and destination files. The "
-#| "source files are the already existing files that will be symlinked from. "
-#| "The destination files are the symlinks that will be created. There "
-#| "B<must> be an equal number of source and destination files specified."
msgid ""
"B<dh_link> accepts a list of pairs of source and destination files. The "
"source files are the already existing files that will be symlinked from "
@@ -8172,26 +8792,22 @@ msgid ""
msgstr ""
"B<dh_link> utilise des listes de couples « source destination ». Les sources "
"sont les fichiers existants sur lesquels doivent pointer les liens "
-"symboliques, les destinations sont les noms des liens symboliques qui "
-"doivent être créés. Il B<doit> y avoir un nombre identique de sources et de "
+"symboliques (appelé B<cible> par L<ln(1)>), les destinations sont les noms "
+"des liens symboliques qui doivent être créés (appelés B<nom_du_lien> par "
+"L<ln(1)>). Il B<doit> y avoir un nombre identique de sources et de "
"destinations."
# type: textblock
#. type: textblock
#: dh_link:32
-#, fuzzy
-#| msgid ""
-#| "Be sure you B<do> specify the full filename to both the source and "
-#| "destination files (unlike you would do if you were using something like "
-#| "L<ln(1)>)."
msgid ""
"Be sure you B<do> specify the absolute path to both the source and "
"destination files (unlike you would do if you were using something like "
"L<ln(1)>). Please note that the leading slash is optional."
msgstr ""
-"Il faut B<absolument> indiquer le nom complet des sources et des "
+"Il faut B<absolument> indiquer le chemin complet (absolu) des sources et des "
"destinations, contrairement à l'usage habituel des commandes telles que "
-"L<ln(1)>."
+"L<ln(1)>. Veuillez noter que le premier « / » n'est pas obligatoire."
# type: textblock
#. type: textblock
@@ -8252,6 +8868,10 @@ msgid ""
"the pairs of source and destination files in each line are give in the same "
"order as they would be given to L<ln(1)>."
msgstr ""
+"Dans chaque paire, le fichier source (appelé B<cible> par B<ln(1)>) vient en "
+"premier et est suivi par le fichier de destination (appelé B<nom_du_lien> "
+"par B<ln(1)>). Donc les paires de source et destination sur chaque ligne "
+"sont indiquées dans le même ordre que pour B<ln(1)>."
#. type: textblock
#: dh_link:61
@@ -8259,6 +8879,8 @@ msgid ""
"In contrast to L<ln(1)>, source and destination paths must be absolute (the "
"leading slash is optional)."
msgstr ""
+"Au contraire de L<ln(1)>, la source et la destination doivent être des "
+"chemins absolus (le premier « / » est optionnel)."
# type: textblock
#. type: textblock
@@ -8326,7 +8948,7 @@ msgid ""
"\n"
msgstr ""
" dh_link var/lib/toto usr/lib/toto \\\n"
-" usr/X11R6/man/man1/toto.1 usr/share/man/man1/titi.1\n"
+" usr/share/man/man1/toto.1 usr/share/man/man1/titi.1\n"
"\n"
# type: textblock
@@ -8342,24 +8964,21 @@ msgstr ""
# type: verbatim
#. type: verbatim
#: dh_link:100
-#, fuzzy, no-wrap
-#| msgid ""
-#| " dh_link var/lib/foo usr/lib/foo \\\n"
-#| " usr/share/man/man1/foo.1 usr/share/man/man1/bar.1\n"
-#| "\n"
+#, no-wrap
msgid ""
" var/lib/foo usr/lib/foo\n"
" usr/share/man/man1/foo.1 usr/share/man/man1/bar.1\n"
"\n"
msgstr ""
-" dh_link var/lib/toto usr/lib/toto \\\n"
-" usr/X11R6/man/man1/toto.1 usr/share/man/man1/titi.1\n"
+" var/lib/toto usr/lib/toto\n"
+" usr/share/man/man1/toto.1 usr/share/man/man1/titi.1\n"
"\n"
#. type: textblock
#: dh_link:103
msgid "Same as above but as content for a debian/I<package>.links file."
msgstr ""
+"Comme précédemment, mais comme contenu d'un fichier debian/I<paquet>.links."
# type: textblock
#. type: textblock
@@ -8463,6 +9082,18 @@ msgstr ""
# type: textblock
#. type: textblock
+#: dh_listpackages:26
+#, fuzzy
+#| msgid ""
+#| "These files are installed into the first binary package listed in debian/"
+#| "control."
+msgid "Packages are listed in the order they appear in F<debian/control>."
+msgstr ""
+"Ces fichiers sont installés dans le premier paquet binaire listé dans "
+"F<debian/control>."
+
+# type: textblock
+#. type: textblock
#: dh_makeshlibs:5
msgid ""
"dh_makeshlibs - automatically create shlibs file and call dpkg-gensymbols"
@@ -8590,43 +9221,55 @@ msgstr "B<-V>, B<-V>I<dépendances>"
msgid "B<--version-info>, B<--version-info=>I<dependencies>"
msgstr "B<--version-info>, B<--version-info=>I<dépendances>"
-# type: textblock
#. type: textblock
#: dh_makeshlibs:67
msgid ""
-"By default, the shlibs file generated by this program does not make packages "
-"depend on any particular version of the package containing the shared "
-"library. It may be necessary for you to add some version dependency "
-"information to the shlibs file. If B<-V> is specified with no dependency "
-"information, the current upstream version of the package is plugged into a "
-"dependency that looks like \"I<packagename> B<(E<gt>>= I<packageversion>B<)>"
-"\". Note that in debhelper compatibility levels before v4, the Debian part "
-"of the package version number is also included. If B<-V> is specified with "
-"parameters, the parameters can be used to specify the exact dependency "
-"information needed (be sure to include the package name)."
-msgstr ""
-"Par défaut, le fichier shlibs produit par ce programme ne rend pas les "
-"paquets dépendants d'une version particulière du paquet contenant la "
-"bibliothèque partagée. Il peut être utile d'ajouter une indication de "
-"dépendance de version au fichier shlibs. Si B<-V> est indiqué sans préciser "
-"de valeur, elle sera fixée comme étant égale à la version du paquet amont "
-"actuel, de la manière suivante : « I<nom_du_paquet> "
-"B<(E<gt>>= I<version_du_paquet>B<)> ». Nota : Dans les niveaux de "
-"compatibilité inférieur à v4, la partie Debian du numéro de version du "
-"paquet est incluse également. Si B<-V> est employé avec un paramètre, celui-"
-"ci peut être utilisé pour indiquer la dépendance requise exacte (inclure "
-"absolument le nom de paquet)."
-
-# type: textblock
-#. type: textblock
-#: dh_makeshlibs:78
-msgid ""
-"Beware of using B<-V> without any parameters; this is a conservative setting "
-"that always ensures that other packages' shared library dependencies are at "
-"least as tight as they need to be (unless your library is prone to changing "
-"ABI without updating the upstream version number), so that if the maintainer "
-"screws up then they won't break. The flip side is that packages might end up "
-"with dependencies that are too tight and so find it harder to be upgraded."
+"If a shlibs file is generated by this program, this option controls what "
+"version will be used in the dependency relation."
+msgstr ""
+
+#. type: textblock
+#: dh_makeshlibs:70
+msgid ""
+"In compat 12 and later, B<dh_makeshlibs> defaults to B<-VUpstream-Version>. "
+"In compat 11 and earlier the default behaved like B<-VNone>.."
+msgstr ""
+
+#. type: textblock
+#: dh_makeshlibs:73
+msgid "The B<dh_makeshlibs> tool can generate dependencies in three variants:"
+msgstr ""
+
+#. type: =item
+#: dh_makeshlibs:77
+msgid "B<-VUpstream-Version>"
+msgstr ""
+
+#. type: textblock
+#: dh_makeshlibs:79
+msgid ""
+"The dependency will be \"I<packagename> B<(E<gt>>= I<packageversion>B<)>\". "
+"Note that I<Upstream-Version> is case-sensitive and must be written exactly "
+"as shown here."
+msgstr ""
+
+# type: textblock
+#. type: textblock
+#: dh_makeshlibs:83
+#, fuzzy
+#| msgid ""
+#| "Beware of using B<-V> without any parameters; this is a conservative "
+#| "setting that always ensures that other packages' shared library "
+#| "dependencies are at least as tight as they need to be (unless your "
+#| "library is prone to changing ABI without updating the upstream version "
+#| "number), so that if the maintainer screws up then they won't break. The "
+#| "flip side is that packages might end up with dependencies that are too "
+#| "tight and so find it harder to be upgraded."
+msgid ""
+"This is a conservative setting that always ensures that other packages' "
+"shared library dependencies are at least as tight as they need to be (unless "
+"the library is prone to changing ABI without updating the upstream version "
+"number)."
msgstr ""
"L'usage de B<-V> sans paramètre est risqué. C'est une disposition "
"conservatoire qui garantit que les dépendances des autres paquets envers la "
@@ -8640,6 +9283,90 @@ msgstr ""
#. type: textblock
#: dh_makeshlibs:88
msgid ""
+"The flip side is that packages might end up with dependencies that are too "
+"tight in some cases (note a symbols file can mitigate this issue). This is "
+"often of minor temporary inconvenience and usually a lot better than the "
+"fall out caused by forgetting to bump the dependency information."
+msgstr ""
+
+#. type: textblock
+#: dh_makeshlibs:94
+msgid ""
+"This explicit form was added in debhelper/11.3. In previous versions, a B<-"
+"V> without any dependency information was used instead (and that form still "
+"works)"
+msgstr ""
+
+# type: =item
+#. type: =item
+#: dh_makeshlibs:98
+#, fuzzy
+#| msgid "B<-V>"
+msgid "B<-VNone>"
+msgstr "B<-V>"
+
+#. type: textblock
+#: dh_makeshlibs:100
+msgid ""
+"The dependency will be \"I<packagename>\". Note that I<None> is case-"
+"sensitive and must be written exactly as shown here."
+msgstr ""
+
+#. type: textblock
+#: dh_makeshlibs:103
+msgid ""
+"This form is generally unsafe with the only exception being if upstream does "
+"not extend the ABI in any way. However, most upstreams improve their "
+"interfaces over time and packagers are recommended to use B<-VUpstream-"
+"Version> (or one of the other forms of B<-V>I<dependencies>)."
+msgstr ""
+
+#. type: textblock
+#: dh_makeshlibs:108
+msgid ""
+"Alternatively, this may be sufficient if (and only if) the package uses "
+"symbol versioning (see L<dpkg-gensymbols(1)>) and does I<not> build any udeb "
+"packages. Note that symbols are not supported for udeb packages, which "
+"solely relies on shlibs for dependency handling."
+msgstr ""
+
+# type: =item
+#. type: =item
+#: dh_makeshlibs:113
+#, fuzzy
+#| msgid "B<--ddeb-migration=>I<package-relation>"
+msgid "B<-V>I<package-relation>"
+msgstr "B<--ddeb-migration=>I<relation-paquet>"
+
+#. type: textblock
+#: dh_makeshlibs:115
+msgid ""
+"In this case, the value passed to B<-V> will be used as a dependency "
+"relation. The I<package-relation> should generally be of the form \"I<some-"
+"package-name> B<(E<gt>>= I<some-package-version>B<)>\". Remember to include "
+"the package name."
+msgstr ""
+
+#. type: textblock
+#: dh_makeshlibs:120
+msgid ""
+"Note that debhelper will use the value I<as it is> with no sanity checking "
+"or modification. In I<rare special> cases, this is needed to generate a "
+"dependency on a different package than the one containing the library."
+msgstr ""
+
+#. type: textblock
+#: dh_makeshlibs:127
+msgid ""
+"When choosing a value for this option, please keep mind that if the package "
+"provides a symbols file, then that it generally preferred over the shlibs "
+"file for regular .deb packages. See L<dpkg-shlibdeps(1)> for more "
+"information on this topic."
+msgstr ""
+
+#. type: textblock
+#: dh_makeshlibs:134
+msgid ""
"Do not add the \"ldconfig\" trigger even if it seems like the package might "
"need it. The option is called B<--no-scripts> for historical reasons as "
"B<dh_makeshlibs> would previously generate maintainer scripts that called "
@@ -8652,7 +9379,7 @@ msgstr ""
# type: textblock
#. type: textblock
-#: dh_makeshlibs:95
+#: dh_makeshlibs:141
msgid ""
"Exclude files that contain I<item> anywhere in their filename or directory "
"from being treated as shared libraries."
@@ -8662,13 +9389,13 @@ msgstr ""
# type: =item
#. type: =item
-#: dh_makeshlibs:98
+#: dh_makeshlibs:144
msgid "B<--add-udeb=>I<udeb>"
msgstr "B<--add-udeb=>I<udeb>"
# type: textblock
#. type: textblock
-#: dh_makeshlibs:100
+#: dh_makeshlibs:146
msgid ""
"Create an additional line for udebs in the shlibs file and use I<udeb> as "
"the package name for udebs to depend on instead of the regular library "
@@ -8680,19 +9407,21 @@ msgstr ""
# type: textblock
#. type: textblock
-#: dh_makeshlibs:105
+#: dh_makeshlibs:151
msgid "Pass I<params> to L<dpkg-gensymbols(1)>."
msgstr "Fournit I<paramètres> à L<dpkg-gensymbols(1)>."
# type: =item
#. type: =item
-#: dh_makeshlibs:113
-msgid "B<dh_makeshlibs>"
-msgstr "B<dh_makeshlibs>"
+#: dh_makeshlibs:159
+#, fuzzy
+#| msgid "B<dh_makeshlibs -V>"
+msgid "B<dh_makeshlibs -VNone>"
+msgstr "B<dh_makeshlibs -V>"
# type: verbatim
#. type: verbatim
-#: dh_makeshlibs:115
+#: dh_makeshlibs:161
#, no-wrap
msgid ""
"Assuming this is a package named F<libfoobar1>, generates a shlibs file that\n"
@@ -8701,19 +9430,21 @@ msgid ""
"\n"
msgstr ""
"En admettant que le paquet s'appelle F<libtoto1>, cette commande produit un fichier\n"
-"shlibs tel que :\n"
-"libtoto 1 libtoto1\n"
+"shlibs tel que :\n"
+"libtoto 1 libtoto1\n"
"\n"
# type: =item
#. type: =item
-#: dh_makeshlibs:119
-msgid "B<dh_makeshlibs -V>"
+#: dh_makeshlibs:165
+#, fuzzy
+#| msgid "B<dh_makeshlibs -V>"
+msgid "B<dh_makeshlibs -VUpstream-Version>"
msgstr "B<dh_makeshlibs -V>"
# type: verbatim
#. type: verbatim
-#: dh_makeshlibs:121
+#: dh_makeshlibs:167
#, no-wrap
msgid ""
"Assuming the current version of the package is 1.1-3, generates a shlibs\n"
@@ -8727,21 +9458,21 @@ msgstr ""
# type: =item
#. type: =item
-#: dh_makeshlibs:125
+#: dh_makeshlibs:171
msgid "B<dh_makeshlibs -V 'libfoobar1 (E<gt>= 1.0)'>"
msgstr "B<dh_makeshlibs -V `libtoto1 (E<gt>= 1.0)'>"
# type: verbatim
#. type: verbatim
-#: dh_makeshlibs:127
+#: dh_makeshlibs:173
#, no-wrap
msgid ""
"Generates a shlibs file that looks something like:\n"
" libfoobar 1 libfoobar1 (>= 1.0)\n"
"\n"
msgstr ""
-"Produit un fichier shlibs tel que :\n"
-" libtoto 1 libtoto1 (>= 1.0)\n"
+"Produit un fichier shlibs tel que :\n"
+" libtoto 1 libtoto1 (>= 1.0)\n"
"\n"
# type: textblock
@@ -9355,7 +10086,7 @@ msgstr ""
# type: textblock
#. type: textblock
-#: dh_shlibdeps:203
+#: dh_shlibdeps:201
msgid "L<debhelper(7)>, L<dpkg-shlibdeps(1)>"
msgstr "L<debhelper(7)>, L<dpkg-shlibdeps(1)>"
@@ -9425,18 +10156,6 @@ msgstr ""
"ne dépouille actuellement pas les modules binaires tels que des fichiers F<."
"o>."
-# type: textblock
-#. type: textblock
-#: dh_strip:44
-msgid ""
-"Exclude files that contain I<item> anywhere in their filename from being "
-"stripped. You may use this option multiple times to build up a list of "
-"things to exclude."
-msgstr ""
-"Exclut du traitement les fichiers qui comportent I<élément> n'importe où "
-"dans leur nom. Il est possible d'utiliser cette option à plusieurs reprises "
-"pour établir une liste des éléments à exclure."
-
# type: =item
#. type: =item
#: dh_strip:48
@@ -9695,14 +10414,12 @@ msgstr "Teste également l'existence de ces fichiers."
# type: textblock
#. type: textblock
#: dh_testroot:7
-#, fuzzy
-#| msgid "dh_testroot - ensure that a package is built as root"
msgid ""
"dh_testroot - ensure that a package is built with necessary level of root "
"permissions"
msgstr ""
-"dh_testroot - Vérifier que le paquet est construit par le superutilisateur "
-"(root)"
+"dh_testroot - Vérifier que le paquet est construit avec les droits "
+"nécessaires du superutilisateur (root)"
# type: textblock
#. type: textblock
@@ -9713,56 +10430,83 @@ msgstr "B<dh_testroot> [I<options_de_debhelper>]"
#. type: textblock
#: dh_testroot:15
msgid ""
-"B<dh_testroot> is used to determine if the package has access to at least "
-"the level of root access that it declared it needed via the Rules-Requires-"
-"Root (R³) field."
+"B<dh_testroot> is used to determine if the target is being run with "
+"sufficient access to (fake)root."
msgstr ""
#. type: textblock
-#: dh_testroot:19
+#: dh_testroot:18
msgid ""
-"The following is how B<dh_testroot> behaves based on the effective value of "
-"the R³ field:"
-msgstr ""
-
-#. type: =item
-#: dh_testroot:24
-msgid "\"binary-targets\""
+"The definition of sufficient access depends on whether the builder (the tool "
+"invoking the F<debian/rules> target) supports the I<Rules-Requires-Root> "
+"(R³) field. If the builder supports R³, then it will set the environment "
+"variable I<DEB_RULES_REQUIRES_ROOT> and B<dh_testroot> will validate that "
+"the builder followed the minimum requirements for the given value of "
+"I<DEB_RULES_REQUIRES_ROOT>."
msgstr ""
#. type: textblock
-#: dh_testroot:26
-msgid "B<dh_testroot> asserts that it is run as root or under L<fakeroot(1)>."
+#: dh_testroot:25
+msgid ""
+"If the builder does not support I<Rules-Requires-Root>, then it will not set "
+"the I<DEB_RULES_REQUIRES_ROOT> environment variable. This will in turn make "
+"B<dh_testroot> (and the rest of debhelper) fall back to assuming that "
+"(fake)root is implied."
msgstr ""
-#. type: =item
-#: dh_testroot:28
-msgid "\"no\""
+#. type: textblock
+#: dh_testroot:30
+msgid ""
+"The following is a summary of how B<dh_testroot> behaves based on the "
+"I<DEB_RULES_REQUIRES_ROOT> environment variable (leading and trailing "
+"whitespace in the variable is ignored)."
msgstr ""
#. type: textblock
-#: dh_testroot:30
-msgid "B<dh_testroot> returns successfully."
+#: dh_testroot:38
+#, fuzzy
+#| msgid ""
+#| "B<dh_testroot> asserts that it is run as root or under L<fakeroot(1)>."
+msgid ""
+"If unset, or set to C<binary-targets>, then B<dh_testroot> asserts that it "
+"is run as root or under L<fakeroot(1)>."
msgstr ""
+"B<dh_testroot> suppose qu'il est exécuté en tant que superutilisateur, ou "
+"dans L<fakeroot(1)>."
-#. type: =item
-#: dh_testroot:32
-msgid "Any other value than the above"
+#. type: textblock
+#: dh_testroot:43
+msgid ""
+"If set to C<no>, then B<dh_testroot> returns successfully (without "
+"performing any additional checks)."
msgstr ""
#. type: textblock
-#: dh_testroot:34
+#: dh_testroot:48
+#, fuzzy
+#| msgid ""
+#| "B<dh_testroot> asserts that it is either run as root (or under "
+#| "L<fakeroot(1)>) or the builder has provided the B<DPKG_GAIN_ROOT_CMD> "
+#| "environment variable (e.g. via dpkg-buildpackage -r)."
msgid ""
-"B<dh_testroot> asserts that it is either run as root (or under "
-"L<fakeroot(1)>) or the builder has provided the B<DPKG_GAIN_ROOT_CMD> "
-"environment variable (e.g. via dpkg-buildpackage -r)."
+"If set to any other value than the above, then B<dh_testroot> asserts that "
+"it is either run as root (or under L<fakeroot(1)>) or the builder has "
+"provided the B<DEB_GAIN_ROOT_CMD> environment variable (e.g. via dpkg-"
+"buildpackage -r)."
msgstr ""
+"B<dh_testroot> suppose qu'il est exécuté en tant que superutilisateur (ou "
+"dans L<fakeroot(1)>), ou que le constructeur a fourni la variable "
+"d'environnement B<DPKG_GAIN_ROOT_CMD> (par exemple grâce à dpkg-"
+"buildpackage -r)."
#. type: textblock
-#: dh_testroot:40
+#: dh_testroot:55
msgid ""
-"For backwards compatibility, B<dh_testroot> will consider the absence of the "
-"R³ field as if the R³ field was set to \"binary-targets\"."
+"Please note that B<dh_testroot> does I<not> read the I<Rules-Requires-Root> "
+"field. Which implies that B<dh_testroot> may produce incorrect result if "
+"the builder lies in I<DEB_RULES_REQUIRES_ROOT>. On the flip side, it also "
+"enables things like testing for what will happen when "
+"I<DEB_RULES_REQUIRES_ROOT> is set to a given value."
msgstr ""
# type: textblock
@@ -9816,47 +10560,38 @@ msgstr ""
#. type: textblock
#: dh_usrlocal:36
msgid ""
-"When the I<Rules-Requires-Root> field is not (effectively) I<binary-"
-"targets>, the directories in F</usr/local> will have ownership root:staff "
-"and the mode will be 02775. These values have been chosen to comply with "
-"the recommendations of the Debian policy for directories in F</usr/local>."
+"When the I<DEB_RULES_REQUIRES_ROOT> environment variable is not "
+"(effectively) I<binary-targets>, the directories in F</usr/local> will be "
+"handled as if they were owned by root:root (see below)."
+msgstr ""
+
+#. type: textblock
+#: dh_usrlocal:40
+msgid ""
+"When the I<DEB_RULES_REQUIRES_ROOT> environment variable has an effective "
+"value of I<binary-targets>, the owners, groups and permissions will be "
+"preserved with the sole exception where the directory is owned by root:root."
+msgstr ""
+
+#. type: textblock
+#: dh_usrlocal:44
+msgid ""
+"If a directory is owned by root:root, then ownership will be determined at "
+"install time. The ownership and permission bits will either be root:root "
+"mode 0755 or root:staff mode 02775. The actual choice depends on whether "
+"the system has F</etc/staff-group-for-usr-local> (as documented in the "
+"Debian Policy Manual §9.1.2 since version 4.1.4)"
msgstr ""
# type: textblock
#. type: textblock
-#: dh_usrlocal:42
-#, fuzzy
-#| msgid ""
-#| "If the directories found in the build tree have unusual owners, groups, "
-#| "or permissions, then those values will be preserved in the directories "
-#| "made by the F<postinst> script. However, as a special exception, if a "
-#| "directory is owned by root.root, it will be treated as if it is owned by "
-#| "root.staff and is mode 2775. This is useful, since that is the group and "
-#| "mode policy recommends for directories in F</usr/local>."
-msgid ""
-"When I<Rules-Requires-Root> has an effective value of I<binary-targets>, the "
-"owners, groups and permissions will be preserved with one exception. If the "
-"directory is owned by root:root, then ownership will be reset to root:staff "
-"and mode will be reset to 02775. This is useful, since that is the group and "
-"mode policy recommends for directories in F</usr/local>."
-msgstr ""
-"Si les répertoires trouvés dans le répertoire de construction du paquet ont "
-"un propriétaire, un groupe ou des droits inhabituels, ces valeurs seront "
-"préservées dans les répertoires créés par le script de maintenance "
-"F<postinst>. Une exception notable toutefois : si le répertoire a comme "
-"propriété root.root, il sera traité comme root.staff avec des droits 2775. "
-"Cela est utile depuis que ce sont les valeurs recommandées par la Charte "
-"Debian pour les répertoires de F</usr/local>."
-
-# type: textblock
-#. type: textblock
-#: dh_usrlocal:67
+#: dh_usrlocal:68
msgid "Debian policy, version 2.2"
msgstr "Charte Debian, version 2.2"
# type: textblock
#. type: textblock
-#: dh_usrlocal:140
+#: dh_usrlocal:144
msgid "Andrew Stribblehill <ads@debian.org>"
msgstr "Andrew Stribblehill <ads@debian.org>"
@@ -9932,24 +10667,19 @@ msgstr ""
# type: =item
#. type: =item
#: dh_systemd_enable:45
-#, fuzzy
-#| msgid "debian/I<package>.logcheck.ignore.server"
msgid "debian/I<package>.service, debian/I<package>@.service"
-msgstr "debian/I<paquet>.logcheck.ignore.server"
+msgstr "debian/I<paquet>.service, debian/I<paquet>@.service"
# type: textblock
#. type: textblock
#: dh_systemd_enable:47
-#, fuzzy
-#| msgid ""
-#| "If this exists, it is installed into lib/systemd/system/I<package>."
-#| "service in the package build directory."
msgid ""
"If this exists, it is installed into lib/systemd/system/I<package>.service "
"(or lib/systemd/system/I<package>@.service) in the package build directory."
msgstr ""
"S'il existe, il est installé dans le répertoire de construction du paquet, "
-"sous lib/systemd/system/I<paquet>.service."
+"sous lib/systemd/system/I<paquet>.service (ou lib/systemd/system/I<paquet>@."
+"service)."
# type: textblock
#. type: textblock
@@ -9966,128 +10696,93 @@ msgstr ""
# type: =item
#. type: =item
#: dh_systemd_enable:56
-#, fuzzy
-#| msgid "debian/I<package>.manpages"
msgid "debian/I<package>.target, debian/I<package>@.target"
-msgstr "debian/I<paquet>.manpages"
+msgstr "debian/I<paquet>.target, debian/I<paquet>@.target"
# type: textblock
#. type: textblock
#: dh_systemd_enable:58
-#, fuzzy
-#| msgid ""
-#| "If this exists, it is installed into lib/systemd/system/I<package>."
-#| "service in the package build directory."
msgid ""
"If this exists, it is installed into lib/systemd/system/I<package>.target "
"(or lib/systemd/system/I<package>@.target) in the package build directory."
msgstr ""
"S'il existe, il est installé dans le répertoire de construction du paquet, "
-"sous lib/systemd/system/I<paquet>.service."
+"sous lib/systemd/system/I<paquet>.target (ou lib/systemd/system/I<paquet>@."
+"target)."
# type: =item
#. type: =item
#: dh_systemd_enable:61
-#, fuzzy
-#| msgid "debian/I<package>.manpages"
msgid "debian/I<package>.socket, debian/I<package>@.socket"
-msgstr "debian/I<paquet>.manpages"
+msgstr "debian/I<paquet>.socket, debian/I<paquet>@.socket"
# type: textblock
#. type: textblock
#: dh_systemd_enable:63
-#, fuzzy
-#| msgid ""
-#| "If this exists, it is installed into lib/systemd/system/I<package>."
-#| "service in the package build directory."
msgid ""
"If this exists, it is installed into lib/systemd/system/I<package>.socket "
"(or lib/systemd/system/I<package>@.socket) in the package build directory."
msgstr ""
"S'il existe, il est installé dans le répertoire de construction du paquet, "
-"sous lib/systemd/system/I<paquet>.service."
+"sous lib/systemd/system/I<paquet>.socket (ou lib/systemd/system/I<paquet>@."
+"socket)."
# type: =item
#. type: =item
#: dh_systemd_enable:66
-#, fuzzy
-#| msgid "debian/I<package>.menu"
msgid "debian/I<package>.mount"
-msgstr "debian/I<paquet>.menu"
+msgstr "debian/I<paquet>.mount"
# type: textblock
#. type: textblock
#: dh_systemd_enable:68
-#, fuzzy
-#| msgid ""
-#| "If this exists, it is installed into lib/systemd/system/I<package>."
-#| "service in the package build directory."
msgid ""
"If this exists, it is installed into lib/systemd/system/I<package>.mount in "
"the package build directory."
msgstr ""
"S'il existe, il est installé dans le répertoire de construction du paquet, "
-"sous lib/systemd/system/I<paquet>.service."
+"sous lib/systemd/system/I<paquet>.mount."
# type: =item
#. type: =item
#: dh_systemd_enable:71
-#, fuzzy
-#| msgid "debian/I<package>.manpages"
msgid "debian/I<package>.path, debian/I<package>@.path"
-msgstr "debian/I<paquet>.manpages"
+msgstr "debian/I<paquet>.path, debian/I<paquet>@.path"
# type: textblock
#. type: textblock
#: dh_systemd_enable:73
-#, fuzzy
-#| msgid ""
-#| "If this exists, it is installed into lib/systemd/system/I<package>."
-#| "service in the package build directory."
msgid ""
"If this exists, it is installed into lib/systemd/system/I<package>.path (or "
"lib/systemd/system/I<package>@.path) in the package build directory."
msgstr ""
"S'il existe, il est installé dans le répertoire de construction du paquet, "
-"sous lib/systemd/system/I<paquet>.service."
+"sous lib/systemd/system/I<paquet>.path (ou lib/systemd/system/I<paquet>@."
+"path)."
# type: =item
#. type: =item
#: dh_systemd_enable:76
-#, fuzzy
-#| msgid "debian/I<package>.manpages"
msgid "debian/I<package>.timer, debian/I<package>@.timer"
-msgstr "debian/I<paquet>.manpages"
+msgstr "debian/I<paquet>.timer, debian/I<paquet>@.timer"
# type: textblock
#. type: textblock
#: dh_systemd_enable:78
-#, fuzzy
-#| msgid ""
-#| "If this exists, it is installed into lib/systemd/system/I<package>."
-#| "service in the package build directory."
msgid ""
"If this exists, it is installed into lib/systemd/system/I<package>.timer (or "
"lib/systemd/system/I<package>@.timer) in the package build directory."
msgstr ""
"S'il existe, il est installé dans le répertoire de construction du paquet, "
-"sous lib/systemd/system/I<paquet>.service."
-
-# type: =item
-#. type: =item
-#: dh_systemd_enable:87
-msgid "B<--no-enable>"
-msgstr "B<--no-enable>"
+"sous lib/systemd/system/I<paquet>.timer (ou lib/systemd/system/I<paquet>@."
+"timer)."
#. type: textblock
#: dh_systemd_enable:89
-#, fuzzy
-#| msgid ""
-#| "Just disable the service(s) on purge, but do not enable them by default."
msgid "Disable the service(s) on purge, but do not enable them on install."
msgstr ""
-"Désactiver le(s) service(s) lors de la purge, mais ne pas l'activer par "
-"défaut."
+"Désactiver le(s) service(s) lors de la purge, mais ne pas l'activer à "
+"l'installation."
#. type: textblock
#: dh_systemd_enable:91
@@ -10096,6 +10791,9 @@ msgid ""
"That is controlled by L<dh_systemd_start(1)> (using e.g. its B<--no-start> "
"option)."
msgstr ""
+"B<Nota> : cette option n'affecte pas le démarrage des services. Cela est "
+"contrôlé par L<dh_systemd_start(1)> (par exemple en utilisant l'option B<--"
+"no-start>)."
# type: textblock
#. type: textblock
@@ -10203,8 +10901,9 @@ msgid ""
"Do not stop the unit file until after the package upgrade has been "
"completed. This is the default behaviour in compat 10."
msgstr ""
-"N'arrête pas le fichier unit tant que la mise à jour du paquet n'est pas "
-"terminée. C'est le comportement par défaut en compat 10."
+"N'arrête pas le fichier unit tant que la mise à niveau du paquet n'est pas "
+"terminée. C'est le comportement par défaut dans le niveau de "
+"compatibilité 10."
# type: textblock
#. type: textblock
@@ -10213,15 +10912,15 @@ msgid ""
"In earlier compat levels the default was to stop the unit file in the "
"F<prerm>, and start it again in the F<postinst>."
msgstr ""
-"Dans les modes de compatibilité antérieurs, le comportement par défaut était "
-"d'arrêter le fichier unit dans le F<prerm> et de le redémarrer dans le "
+"Dans les niveaux de compatibilité antérieurs, le comportement par défaut "
+"était d'arrêter le fichier unit dans le F<prerm> et de le redémarrer dans le "
"F<postinst>."
# type: textblock
#. type: textblock
#: dh_systemd_start:59
msgid "Do not stop service on upgrade."
-msgstr "N'arrête pas le service lors d'une mise à jour."
+msgstr "N'arrête pas le service lors d'une mise à niveau."
#. type: textblock
#: dh_systemd_start:63
@@ -10230,7 +10929,7 @@ msgid ""
"(the latter is only relevant for services without a corresponding init "
"script)."
msgstr ""
-"Ne démarre pas le fichier unit après les mises à jour ni après "
+"Ne démarre pas le fichier unit après les mises à niveau ni après "
"l'installation initiale (le dernier cas n'est valable que pour les services "
"n'ayant pas de script init correspondant)."
@@ -10242,7 +10941,7 @@ msgid ""
"does the right thing, this note is only relevant when you are calling "
"B<dh_systemd_start> manually."
msgstr ""
-"Nota : B<dh_systemd_start> devrait être exécuté après B<dh_installinit> pour "
+"Nota : B<dh_systemd_start> devrait être exécuté après B<dh_installinit> pour "
"pouvoir détecter les scripts init SysV correspondants. La séquence par "
"défaut de B<dh> les exécute dans le bon ordre et cette remarque n'est "
"valable que lorsque B<dh_systemd_start> est appelé manuellement."
@@ -10254,6 +10953,223 @@ msgstr ""
"Ce niveau de compatibilité est en phase de test ; des changements peuvent "
"encore survenir."
+#~ msgid ""
+#~ "The B<dh_installdocs> and B<dh_installexamples> tools will now attempt to "
+#~ "guess the \"main package\" for a given documentation package (e.g. I<pkg-"
+#~ "doc> will have I<pkg> as main package if the latter exists). If a main "
+#~ "package is found, I<most> of the documentation will be installed into "
+#~ "F<< /usr/share/doc/I<main-pkg> >> by default as recommended by Debian "
+#~ "policy §12.3 since version 3.9.7. Notable exceptions include the "
+#~ "copyright file and changelog files."
+#~ msgstr ""
+#~ "Les outils B<dh_installdocs> et B<dh_installexamples> essaient maintenant "
+#~ "de deviner le « paquet principal » pour un paquet de documentation donné "
+#~ "(par exemple I<paquet-doc> aura I<paquet> comme paquet principal si ce "
+#~ "dernier existe). Si un paquet principal est trouvé, I<la plupart> de la "
+#~ "documentation sera installée par défaut dans F<< /usr/share/doc/I<paquet-"
+#~ "principal> >>, comme recommandé par la Charte Debian §12.3 depuis la "
+#~ "version 3.9.7. Les exceptions à cela incluent les fichiers F<copyright> "
+#~ "et F<changelog>."
+
+#~ msgid ""
+#~ "The syntax of these files is intentionally kept very simple to make them "
+#~ "easy to read, understand, and modify. If you prefer power and complexity, "
+#~ "you can make the file executable, and write a program that outputs "
+#~ "whatever content is appropriate for a given situation. When you do so, "
+#~ "the output is not further processed to expand wildcards or strip comments."
+#~ msgstr ""
+#~ "La syntaxe de ces fichiers est volontairement gardée très simple pour les "
+#~ "rendre faciles à lire, comprendre et modifier. Si vous préférez la "
+#~ "puissance et la complexité, vous pouvez rendre le fichier exécutable, et "
+#~ "écrire un programme qui affiche n'importe quel contenu approprié à la "
+#~ "situation. Dans ce cas, la sortie n'est plus traitée pour développer les "
+#~ "jokers (wildcards) ou supprimer les commentaires."
+
+# type: textblock
+#~ msgid "B<dh_installdirs> [S<I<debhelper options>>] [B<-A>] [S<I<dir> ...>]"
+#~ msgstr ""
+#~ "B<dh_installdirs> [S<I<options_de_debhelper>>] [B<-A>] "
+#~ "[S<I<répertoire> ...>]"
+
+# type: textblock
+#~ msgid ""
+#~ "By default, the shlibs file generated by this program does not make "
+#~ "packages depend on any particular version of the package containing the "
+#~ "shared library. It may be necessary for you to add some version "
+#~ "dependency information to the shlibs file. If B<-V> is specified with no "
+#~ "dependency information, the current upstream version of the package is "
+#~ "plugged into a dependency that looks like \"I<packagename> B<(E<gt>>= "
+#~ "I<packageversion>B<)>\". Note that in debhelper compatibility levels "
+#~ "before v4, the Debian part of the package version number is also "
+#~ "included. If B<-V> is specified with parameters, the parameters can be "
+#~ "used to specify the exact dependency information needed (be sure to "
+#~ "include the package name)."
+#~ msgstr ""
+#~ "Par défaut, le fichier shlibs produit par ce programme ne rend pas les "
+#~ "paquets dépendants d'une version particulière du paquet contenant la "
+#~ "bibliothèque partagée. Il peut être utile d'ajouter une indication de "
+#~ "dépendance de version au fichier shlibs. Si B<-V> est indiqué sans "
+#~ "préciser de valeur, elle sera fixée comme étant égale à la version du "
+#~ "paquet amont actuel, de la manière suivante : "
+#~ "« I<nom_du_paquet> B<(E<gt>>= I<version_du_paquet>B<)> ». Nota : Dans les "
+#~ "niveaux de compatibilité inférieur à v4, la partie Debian du numéro de "
+#~ "version du paquet est incluse également. Si B<-V> est employé avec un "
+#~ "paramètre, celui-ci peut être utilisé pour indiquer la dépendance requise "
+#~ "exacte (inclure absolument le nom de paquet)."
+
+# type: =item
+#~ msgid "B<dh_makeshlibs>"
+#~ msgstr "B<dh_makeshlibs>"
+
+#~ msgid ""
+#~ "B<dh_testroot> is used to determine if the package has access to at least "
+#~ "the level of root access that it declared it needed via the Rules-"
+#~ "Requires-Root (R³) field."
+#~ msgstr ""
+#~ "B<dh_testroot> est utilisé pour déterminer si le paquet a accès au "
+#~ "minimum au niveau déclaré dans le champ Rules-Requires-Root (R³)."
+
+#~ msgid ""
+#~ "The following is how B<dh_testroot> behaves based on the effective value "
+#~ "of the R³ field:"
+#~ msgstr ""
+#~ "Voici comment B<dh_testroot> se comporte en fonction des valeurs du "
+#~ "champ R³ :"
+
+#~ msgid "\"binary-targets\""
+#~ msgstr "\"binary-targets\""
+
+#~ msgid "\"no\""
+#~ msgstr "\"no\""
+
+#~ msgid "B<dh_testroot> returns successfully."
+#~ msgstr "B<dh_testroot> se termine avec succès."
+
+#~ msgid "Any other value than the above"
+#~ msgstr "N'importe quelle autre valeur que ci-dessus"
+
+#~ msgid ""
+#~ "For backwards compatibility, B<dh_testroot> will consider the absence of "
+#~ "the R³ field as if the R³ field was set to \"binary-targets\"."
+#~ msgstr ""
+#~ "Pour des raisons de compatibilité ascendante, B<dh_testroot> considère "
+#~ "l'absence de champ R³ comme étant un champ de valeur « binary-targets »."
+
+# type: textblock
+#~ msgid ""
+#~ "Note for the first (or only) binary package listed in F<debian/control>, "
+#~ "debhelper will use F<debian/foo> when there's no F<debian/package.foo> "
+#~ "file."
+#~ msgstr ""
+#~ "Nota : pour le premier (ou le seul) paquet binaire énuméré dans le "
+#~ "fichier F<debian/control>, debhelper exploitera F<debian/toto> quand "
+#~ "aucun fichier F<debian/paquet.toto> n'est présent."
+
+#~ msgid ""
+#~ "When the I<Rules-Requires-Root> field is not (effectively) I<binary-"
+#~ "targets>, the directories in F</usr/local> will have ownership root:staff "
+#~ "and the mode will be 02775. These values have been chosen to comply with "
+#~ "the recommendations of the Debian policy for directories in F</usr/local>."
+#~ msgstr ""
+#~ "Lorsque le champ I<Rules-Requires-Root> n'est pas I<binary-targets>, les "
+#~ "répertoires dans F</usr/local> auront root:staff comme propriétaire, et "
+#~ "02755 comme permissions. Ces valeurs ont été choisies pour être conformes "
+#~ "à la Charte Debian."
+
+# type: textblock
+#~ msgid ""
+#~ "When I<Rules-Requires-Root> has an effective value of I<binary-targets>, "
+#~ "the owners, groups and permissions will be preserved with one exception. "
+#~ "If the directory is owned by root:root, then ownership will be reset to "
+#~ "root:staff and mode will be reset to 02775. This is useful, since that is "
+#~ "the group and mode policy recommends for directories in F</usr/local>."
+#~ msgstr ""
+#~ "Lorsque I<Rules-Requires-Root> a une valeur égale à I<binary-targets>, "
+#~ "les propriétaires, groupes et permissions seront préservées à une "
+#~ "exception. Si le répertoire appartient à root:root, alors la propriété "
+#~ "sera réinitialisée à root:staff avec des droits 02775. Cela est utile "
+#~ "depuis que ce sont les valeurs recommandées par la Charte Debian pour les "
+#~ "répertoires de F</usr/local>."
+
+#~ msgid ""
+#~ "B<Caveat>: This option silently does nothing in cmake versions prior to "
+#~ "3.8. Please keep this in mind if your package is regularly backported to "
+#~ "a suite (e.g. stretch-backports) where cmake is older than 3.8."
+#~ msgstr ""
+#~ "B<Avertissement> : dans les versions de cmake inférieures à 3.8, cette "
+#~ "option ne fait rien et ne prévient pas. Veuillez vous en souvenir si "
+#~ "votre paquet est régulièrement rétroporté dans une suite où la version de "
+#~ "cmake est inférieure à 3.8 (par exemple stretch-backport)."
+
+#~ msgid ""
+#~ "List the files that are deliberately not installed in I<any> binary "
+#~ "package. Paths listed in this file are (I<only>) ignored by the check "
+#~ "done via B<--list-missing> (or B<--fail-missing>). However, it is B<not> "
+#~ "a method to exclude files from being installed. Please use B<--exclude> "
+#~ "for that."
+#~ msgstr ""
+#~ "Liste les fichiers qui ne sont installés par I<aucun> paquet binaire. Les "
+#~ "chemins listés dans ce fichier sont (I<uniquement>) ignorés par la "
+#~ "vérification avec B<--list-missing> (ou B<--fail-missing>). Quoi qu'il en "
+#~ "soit, ce n'est B<pas> une méthode pour exclure les fichiers de "
+#~ "l'installation. Veuillez utiliser B<--exclude> pour cela."
+
+#~ msgid ""
+#~ "Please keep in mind that dh_install will B<not> expand wildcards in this "
+#~ "file."
+#~ msgstr ""
+#~ "Veuillez garder à l'esprit que dh_install ne développera B<pas> les "
+#~ "jokers dans ce fichier."
+
+#~ msgid "B<Deprecated>: Please use B<dh_missing --list-missing> instead."
+#~ msgstr ""
+#~ "B<Obsolète> : veuillez utiliser B<dh_missing --list-missing> à la place."
+
+# type: textblock
+#~ msgid ""
+#~ "This option makes B<dh_install> keep track of the files it installs, and "
+#~ "then at the end, compare that list with the files in the source "
+#~ "directory. If any of the files (and symlinks) in the source directory "
+#~ "were not installed to somewhere, it will warn on stderr about that."
+#~ msgstr ""
+#~ "Cette option impose à B<dh_install> de garder la trace des fichiers qu'il "
+#~ "installe et, à la fin, de comparer cette liste aux fichiers du répertoire "
+#~ "source. Si un des fichiers (ou des liens symboliques) du répertoire "
+#~ "source, n'était pas installé quelque part, il le signalerait par un "
+#~ "message sur stderr."
+
+# type: textblock
+#~ msgid ""
+#~ "This may be useful if you have a large package and want to make sure that "
+#~ "you don't miss installing newly added files in new upstream releases."
+#~ msgstr ""
+#~ "Cette option peut être utile dans le cas d'un gros paquet pour lequel on "
+#~ "veut être certain de ne pas oublier l'installation d'un des nouveaux "
+#~ "fichiers récemment ajoutés dans la version."
+
+# type: textblock
+#~ msgid ""
+#~ "Note that files that are excluded from being moved via the B<-X> option "
+#~ "are not warned about."
+#~ msgstr ""
+#~ "Nota : Les fichiers qui sont exclus par l'option B<-X> n'entraînent aucun "
+#~ "message d'erreur."
+
+#~ msgid "B<Deprecated>: Please use B<dh_missing --fail-missing> instead."
+#~ msgstr ""
+#~ "B<Obsolète> : veuillez utiliser B<dh_missing --fail-missing> à la place."
+
+# type: textblock
+#~ msgid ""
+#~ "This option is like B<--list-missing>, except if a file was missed, it "
+#~ "will not only list the missing files, but also fail with a nonzero exit "
+#~ "code."
+#~ msgstr ""
+#~ "Cette option est similaire à B<--list-missing>, sauf que, si un fichier "
+#~ "est oublié, cela produira non seulement un message sur stderr mais "
+#~ "également un échec du programme avec une valeur de retour différente de "
+#~ "zéro."
+
#~ msgid "Participating in the open beta testing of new compat levels"
#~ msgstr "Participation au test des nouveaux modes de compatibilité"
@@ -10279,9 +11195,6 @@ msgstr ""
#~ msgid "Please consider the following before opting in:"
#~ msgstr "Veuillez vous souvenir de ces remarques avant de choisir :"
-#~ msgid "*"
-#~ msgstr "*"
-
#~ msgid ""
#~ "The automatic upgrade in compatibility level may cause the package (or a "
#~ "feature in it) to stop functioning."
diff --git a/man/po4a/po/ja.po b/man/po4a/po/ja.po
index eb9c0b8c..82eadd96 100644
--- a/man/po4a/po/ja.po
+++ b/man/po4a/po/ja.po
@@ -6,7 +6,7 @@
msgid ""
msgstr ""
"Project-Id-Version: debhelper 9.20141107\n"
-"POT-Creation-Date: 2017-11-11 13:57+0000\n"
+"POT-Creation-Date: 2018-08-08 14:37+0200\n"
"PO-Revision-Date: 2016-09-17 20:45+0900\n"
"Last-Translator: Hideki Yamane <henrich@debian.org>\n"
"Language-Team: Debian JP Project <debian-doc@debian.or.jp>\n"
@@ -19,17 +19,18 @@ msgstr ""
#. type: =head1
#: debhelper.pod:3 debhelper-obsolete-compat.pod:1 dh:3 dh_auto_build:3
#: dh_auto_clean:3 dh_auto_configure:3 dh_auto_install:3 dh_auto_test:3
-#: dh_bugfiles:3 dh_builddeb:5 dh_clean:3 dh_compress:3 dh_fixperms:3
+#: dh_bugfiles:3 dh_builddeb:5 dh_clean:3 dh_compress:3 dh_dwz:3 dh_fixperms:3
#: dh_gconf:3 dh_gencontrol:3 dh_icons:3 dh_install:3 dh_installcatalogs:3
#: dh_installchangelogs:3 dh_installcron:3 dh_installdeb:3 dh_installdebconf:3
#: dh_installdirs:3 dh_installdocs:5 dh_installemacsen:3 dh_installexamples:5
-#: dh_installifupdown:3 dh_installinfo:3 dh_installinit:3 dh_installlogcheck:3
-#: dh_installlogrotate:3 dh_installman:3 dh_installmanpages:3 dh_installmenu:3
-#: dh_installmime:3 dh_installmodules:3 dh_installpam:3 dh_installppp:3
-#: dh_installudev:3 dh_installwm:3 dh_installxfonts:3 dh_link:3 dh_lintian:3
-#: dh_listpackages:3 dh_makeshlibs:3 dh_md5sums:3 dh_movefiles:3 dh_perl:3
-#: dh_prep:3 dh_shlibdeps:3 dh_strip:3 dh_testdir:3 dh_testroot:5 dh_usrlocal:5
-#: dh_systemd_enable:3 dh_systemd_start:3
+#: dh_installifupdown:3 dh_installinfo:3 dh_installinit:3 dh_installinitramfs:3
+#: dh_installlogcheck:3 dh_installlogrotate:3 dh_installman:3
+#: dh_installmanpages:3 dh_installmenu:3 dh_installmime:3 dh_installmodules:3
+#: dh_installpam:3 dh_installppp:3 dh_installudev:3 dh_installwm:3
+#: dh_installxfonts:3 dh_link:3 dh_lintian:3 dh_listpackages:3 dh_makeshlibs:3
+#: dh_md5sums:3 dh_movefiles:3 dh_perl:3 dh_prep:3 dh_shlibdeps:3 dh_strip:3
+#: dh_testdir:3 dh_testroot:5 dh_usrlocal:5 dh_systemd_enable:3
+#: dh_systemd_start:3
msgid "NAME"
msgstr "名前"
@@ -39,21 +40,21 @@ msgid "debhelper - the debhelper tool suite"
msgstr "debhelper - debhelper 関連ツール群"
#. type: =head1
-#: debhelper.pod:7 debhelper-obsolete-compat.pod:5 dh:15 dh_auto_build:16
+#: debhelper.pod:7 debhelper-obsolete-compat.pod:5 dh:16 dh_auto_build:16
#: dh_auto_clean:16 dh_auto_configure:16 dh_auto_install:18 dh_auto_test:16
-#: dh_bugfiles:15 dh_builddeb:17 dh_clean:15 dh_compress:17 dh_fixperms:16
-#: dh_gconf:15 dh_gencontrol:16 dh_icons:16 dh_install:15 dh_installcatalogs:17
-#: dh_installchangelogs:15 dh_installcron:15 dh_installdeb:15
-#: dh_installdebconf:15 dh_installdirs:15 dh_installdocs:17
+#: dh_bugfiles:15 dh_builddeb:17 dh_clean:15 dh_compress:17 dh_dwz:16
+#: dh_fixperms:16 dh_gconf:15 dh_gencontrol:16 dh_icons:16 dh_install:15
+#: dh_installcatalogs:17 dh_installchangelogs:15 dh_installcron:15
+#: dh_installdeb:15 dh_installdebconf:15 dh_installdirs:15 dh_installdocs:17
#: dh_installemacsen:15 dh_installexamples:17 dh_installifupdown:15
-#: dh_installinfo:15 dh_installinit:16 dh_installlogcheck:15
-#: dh_installlogrotate:15 dh_installman:16 dh_installmanpages:16
-#: dh_installmenu:15 dh_installmime:15 dh_installmodules:16 dh_installpam:15
-#: dh_installppp:15 dh_installudev:15 dh_installwm:15 dh_installxfonts:15
-#: dh_link:16 dh_lintian:15 dh_listpackages:15 dh_makeshlibs:15 dh_md5sums:16
-#: dh_movefiles:15 dh_perl:17 dh_prep:15 dh_shlibdeps:17 dh_strip:16
-#: dh_testdir:15 dh_testroot:9 dh_usrlocal:19 dh_systemd_enable:16
-#: dh_systemd_start:17
+#: dh_installinfo:15 dh_installinit:16 dh_installinitramfs:15
+#: dh_installlogcheck:15 dh_installlogrotate:15 dh_installman:16
+#: dh_installmanpages:16 dh_installmenu:15 dh_installmime:15
+#: dh_installmodules:16 dh_installpam:15 dh_installppp:15 dh_installudev:15
+#: dh_installwm:15 dh_installxfonts:15 dh_link:16 dh_lintian:15
+#: dh_listpackages:15 dh_makeshlibs:15 dh_md5sums:16 dh_movefiles:15 dh_perl:17
+#: dh_prep:15 dh_shlibdeps:17 dh_strip:16 dh_testdir:15 dh_testroot:9
+#: dh_usrlocal:19 dh_systemd_enable:16 dh_systemd_start:17
msgid "SYNOPSIS"
msgstr "書式"
@@ -67,21 +68,21 @@ msgstr ""
"N>I<package>] [B<-P>I<tmpdir>]"
#. type: =head1
-#: debhelper.pod:11 dh:19 dh_auto_build:20 dh_auto_clean:20
+#: debhelper.pod:11 dh:20 dh_auto_build:20 dh_auto_clean:20
#: dh_auto_configure:20 dh_auto_install:22 dh_auto_test:20 dh_bugfiles:19
-#: dh_builddeb:21 dh_clean:19 dh_compress:21 dh_fixperms:20 dh_gconf:19
-#: dh_gencontrol:20 dh_icons:20 dh_install:19 dh_installcatalogs:21
+#: dh_builddeb:21 dh_clean:19 dh_compress:21 dh_dwz:20 dh_fixperms:20
+#: dh_gconf:19 dh_gencontrol:20 dh_icons:20 dh_install:19 dh_installcatalogs:21
#: dh_installchangelogs:19 dh_installcron:19 dh_installdeb:19
#: dh_installdebconf:19 dh_installdirs:19 dh_installdocs:21
#: dh_installemacsen:19 dh_installexamples:21 dh_installifupdown:19
-#: dh_installinfo:19 dh_installinit:20 dh_installlogcheck:19
-#: dh_installlogrotate:19 dh_installman:20 dh_installmanpages:20
-#: dh_installmenu:19 dh_installmime:19 dh_installmodules:20 dh_installpam:19
-#: dh_installppp:19 dh_installudev:19 dh_installwm:19 dh_installxfonts:19
-#: dh_link:20 dh_lintian:19 dh_listpackages:19 dh_makeshlibs:19 dh_md5sums:20
-#: dh_movefiles:19 dh_perl:21 dh_prep:19 dh_shlibdeps:21 dh_strip:20
-#: dh_testdir:19 dh_testroot:13 dh_usrlocal:23 dh_systemd_enable:20
-#: dh_systemd_start:21
+#: dh_installinfo:19 dh_installinit:20 dh_installinitramfs:19
+#: dh_installlogcheck:19 dh_installlogrotate:19 dh_installman:20
+#: dh_installmanpages:20 dh_installmenu:19 dh_installmime:19
+#: dh_installmodules:20 dh_installpam:19 dh_installppp:19 dh_installudev:19
+#: dh_installwm:19 dh_installxfonts:19 dh_link:20 dh_lintian:19
+#: dh_listpackages:19 dh_makeshlibs:19 dh_md5sums:20 dh_movefiles:19 dh_perl:21
+#: dh_prep:19 dh_shlibdeps:21 dh_strip:20 dh_testdir:19 dh_testroot:13
+#: dh_usrlocal:23 dh_systemd_enable:20 dh_systemd_start:21
msgid "DESCRIPTION"
msgstr "説明"
@@ -237,14 +238,15 @@ msgstr ""
#: debhelper.pod:79
msgid ""
"Note for the first (or only) binary package listed in F<debian/control>, "
-"debhelper will use F<debian/foo> when there's no F<debian/package.foo> file."
+"debhelper will use F<debian/foo> when there's no F<debian/I<package>.foo> "
+"file. However, it is often a good idea to keep the F<I<package>.> prefix as "
+"it is more explicit. The primary exception to this are files that debhelper "
+"by default installs in every binary package when it does not have a package "
+"prefix (such as F<debian/copyright> or F<debian/changelog>)."
msgstr ""
-"F<debian/control> に記載されている最初の (あるいは唯一の) バイナリパッケージ"
-"は、debhelper は F<debian/package.foo> ファイルが無い場合には F<debian/foo> "
-"ファイルを利用します。"
#. type: textblock
-#: debhelper.pod:83
+#: debhelper.pod:87
msgid ""
"In some rare cases, you may want to have different versions of these files "
"for different architectures or OSes. If files named debian/I<package>.foo."
@@ -261,7 +263,7 @@ msgstr ""
"す。"
#. type: textblock
-#: debhelper.pod:90
+#: debhelper.pod:94
msgid ""
"Mostly, these config files are used to specify lists of various types of "
"files. Documentation or example files to install, files to move, and so on. "
@@ -278,27 +280,77 @@ msgstr ""
"れる事を利用して、コメントを記載できます。"
#. type: textblock
-#: debhelper.pod:97
+#: debhelper.pod:101
msgid ""
"The syntax of these files is intentionally kept very simple to make them "
-"easy to read, understand, and modify. If you prefer power and complexity, "
-"you can make the file executable, and write a program that outputs whatever "
-"content is appropriate for a given situation. When you do so, the output is "
-"not further processed to expand wildcards or strip comments."
+"easy to read, understand, and modify."
+msgstr ""
+
+#. type: =head2
+#: debhelper.pod:104
+#, fuzzy
+#| msgid "Comments are ignored in debhelper config files."
+msgid "Executable debhelper config files"
+msgstr "debhelper 設定ファイルでのコメントは無視されるようになりました。"
+
+#. type: textblock
+#: debhelper.pod:106
+msgid ""
+"If you need additional flexibility, many of the debhelper tools (e.g. "
+"L<dh_install(1)>) support executing a config file as a script."
+msgstr ""
+
+#. type: textblock
+#: debhelper.pod:109
+msgid ""
+"To use this feature, simply mark the config file as executable (e.g. B<< "
+"chmod +x debian/I<package>.install >>) and the tool will attempt to execute "
+"it and use the output of the script. In many cases, you can use L<dh-"
+"exec(1)> as interpreter of the config file to retain most of the original "
+"syntax while getting the additional flexibility you need."
+msgstr ""
+
+#. type: textblock
+#: debhelper.pod:117
+msgid ""
+"When using executable debhelper config files, please be aware of the "
+"following:"
+msgstr ""
+
+#. type: =item
+#: debhelper.pod:122 debhelper.pod:127
+msgid "*"
+msgstr "*"
+
+#. type: textblock
+#: debhelper.pod:124
+msgid ""
+"The executable config file B<must> exit with success (i.e. its return code "
+"should indicate success)."
+msgstr ""
+
+#. type: textblock
+#: debhelper.pod:129
+msgid ""
+"The output will be used exactly as it is. Notably, debhelper will I<not> "
+"expand wildcards or strip comments in the output."
+msgstr ""
+
+#. type: textblock
+#: debhelper.pod:134
+msgid ""
+"If you need the package to build on a file system where you cannot disable "
+"the executable bit, then you can use L<dh-exec(1)> and its B<strip-output> "
+"script."
msgstr ""
-"これらファイルの文法は、読解・修正しやすいよう、意図的にシンプルにしてありま"
-"す。もし、さらに強力で複雑な事をしたければ、これらのファイルに実行権限を付与"
-"し、状況にあった出力をするプログラムを作成してください。ただし、この場合の出"
-"力結果では、後の処理でワイルドカードは展開されず、コメントも取り除かれない事"
-"に気をつけてください。"
#. type: =head1
-#: debhelper.pod:103
+#: debhelper.pod:138
msgid "SHARED DEBHELPER OPTIONS"
msgstr "DEBHELPER 間で共有されるオプション"
#. type: textblock
-#: debhelper.pod:105
+#: debhelper.pod:140
msgid ""
"The following command line options are supported by all debhelper programs."
msgstr ""
@@ -306,12 +358,12 @@ msgstr ""
"います。"
#. type: =item
-#: debhelper.pod:109
+#: debhelper.pod:144
msgid "B<-v>, B<--verbose>"
msgstr "B<-v>, B<--verbose>"
#. type: textblock
-#: debhelper.pod:111
+#: debhelper.pod:146
msgid ""
"Verbose mode: show all commands that modify the package build directory."
msgstr ""
@@ -319,12 +371,12 @@ msgstr ""
"示します。"
#. type: =item
-#: debhelper.pod:113 dh:71
+#: debhelper.pod:148 dh:82
msgid "B<--no-act>"
msgstr "B<--no-act>"
#. type: textblock
-#: debhelper.pod:115
+#: debhelper.pod:150
msgid ""
"Do not really do anything. If used with -v, the result is that the command "
"will output what it would have done."
@@ -333,12 +385,12 @@ msgstr ""
"行うかが出力されます。"
#. type: =item
-#: debhelper.pod:118
+#: debhelper.pod:153
msgid "B<-a>, B<--arch>"
msgstr "B<-a>, B<--arch>"
#. type: textblock
-#: debhelper.pod:120
+#: debhelper.pod:155
msgid ""
"Act on architecture dependent packages that should be built for the "
"B<DEB_HOST_ARCH> architecture."
@@ -347,22 +399,22 @@ msgstr ""
"るように動作します。"
#. type: =item
-#: debhelper.pod:123
+#: debhelper.pod:158
msgid "B<-i>, B<--indep>"
msgstr "B<-i>, B<--indep>"
#. type: textblock
-#: debhelper.pod:125
+#: debhelper.pod:160
msgid "Act on all architecture independent packages."
msgstr "全てのアーキテクチャ非依存パッケージに対して処理を行います。"
#. type: =item
-#: debhelper.pod:127
+#: debhelper.pod:162
msgid "B<-p>I<package>, B<--package=>I<package>"
msgstr "B<-p>I<package>, B<--package=>I<package>"
#. type: textblock
-#: debhelper.pod:129
+#: debhelper.pod:164
msgid ""
"Act on the package named I<package>. This option may be specified multiple "
"times to make debhelper operate on a given set of packages."
@@ -371,22 +423,29 @@ msgstr ""
"debhelper に処理させる際には、繰り返し列挙して指定してください。"
#. type: =item
-#: debhelper.pod:132
+#: debhelper.pod:167
msgid "B<-s>, B<--same-arch>"
msgstr "B<-s>, B<--same-arch>"
#. type: textblock
-#: debhelper.pod:134
+#: debhelper.pod:169
msgid "Deprecated alias of B<-a>."
msgstr "廃止された B<-a> のエイリアスです。"
+#. type: textblock
+#: debhelper.pod:171 dh_install:77 dh_install:86
+#, fuzzy
+#| msgid "The option is removed in compat 11."
+msgid "This option is removed in compat 12."
+msgstr "このオプションは互換性レベル 11 で廃止されています。"
+
#. type: =item
-#: debhelper.pod:136
+#: debhelper.pod:173
msgid "B<-N>I<package>, B<--no-package=>I<package>"
msgstr "B<-N>I<package>, B<--no-package=>I<package>"
#. type: textblock
-#: debhelper.pod:138
+#: debhelper.pod:175
msgid ""
"Do not act on the specified package even if an B<-a>, B<-i>, or B<-p> option "
"lists the package as one that should be acted on."
@@ -395,12 +454,12 @@ msgstr ""
"指定されているパッケージについては処理を行わないようにします。"
#. type: =item
-#: debhelper.pod:141
+#: debhelper.pod:178
msgid "B<--remaining-packages>"
msgstr "B<--remaining-packages>"
#. type: textblock
-#: debhelper.pod:143
+#: debhelper.pod:180
msgid ""
"Do not act on the packages which have already been acted on by this "
"debhelper command earlier (i.e. if the command is present in the package "
@@ -415,12 +474,12 @@ msgstr ""
"び出し、デフォルト設定による処理を行うという事ができます。"
#. type: =item
-#: debhelper.pod:149
+#: debhelper.pod:186
msgid "B<--ignore=>I<file>"
msgstr "B<--ignore=>I<file>"
#. type: textblock
-#: debhelper.pod:151
+#: debhelper.pod:188
msgid ""
"Ignore the specified file. This can be used if F<debian/> contains a "
"debhelper config file that a debhelper command should not act on. Note that "
@@ -434,7 +493,7 @@ msgstr ""
"す。"
#. type: textblock
-#: debhelper.pod:156
+#: debhelper.pod:193
msgid ""
"For example, if upstream ships a F<debian/init> that you don't want "
"B<dh_installinit> to install, use B<--ignore=debian/init>"
@@ -444,12 +503,12 @@ msgstr ""
"init> を使うことになります。"
#. type: =item
-#: debhelper.pod:159
+#: debhelper.pod:196
msgid "B<-P>I<tmpdir>, B<--tmpdir=>I<tmpdir>"
msgstr "B<-P>I<tmpdir>, B<--tmpdir=>I<tmpdir>"
#. type: textblock
-#: debhelper.pod:161
+#: debhelper.pod:198
msgid ""
"Use I<tmpdir> for package build directory. The default is debian/I<package>"
msgstr ""
@@ -457,12 +516,12 @@ msgstr ""
"debian/I<package> ディレクトリが使われます。"
#. type: =item
-#: debhelper.pod:163
+#: debhelper.pod:200
msgid "B<--mainpackage=>I<package>"
msgstr "B<--mainpackage=>I<package>"
#. type: textblock
-#: debhelper.pod:165
+#: debhelper.pod:202
msgid ""
"This little-used option changes the package which debhelper considers the "
"\"main package\", that is, the first one listed in F<debian/control>, and "
@@ -475,12 +534,12 @@ msgstr ""
"F<debian/foo> ファイルが使われるようになります。"
#. type: =item
-#: debhelper.pod:170
+#: debhelper.pod:207
msgid "B<-O=>I<option>|I<bundle>"
msgstr "B<-O=>I<option>|I<bundle>"
#. type: textblock
-#: debhelper.pod:172
+#: debhelper.pod:209
msgid ""
"This is used by L<dh(1)> when passing user-specified options to all the "
"commands it runs. If the command supports the specified option or option "
@@ -494,12 +553,12 @@ msgstr ""
"オプションは無視されます。"
#. type: =head1
-#: debhelper.pod:179
+#: debhelper.pod:216
msgid "COMMON DEBHELPER OPTIONS"
msgstr "DEBHELPER の共通オプション"
#. type: textblock
-#: debhelper.pod:181
+#: debhelper.pod:218
msgid ""
"The following command line options are supported by some debhelper "
"programs. See the man page of each program for a complete explanation of "
@@ -510,42 +569,47 @@ msgstr ""
"man ページを参照してください。"
#. type: =item
-#: debhelper.pod:187
+#: debhelper.pod:224
msgid "B<-n>"
msgstr "B<-n>"
#. type: textblock
-#: debhelper.pod:189
+#: debhelper.pod:226
msgid "Do not modify F<postinst>, F<postrm>, etc. scripts."
msgstr "F<postinst>, F<postrm> 等のスクリプトに変更を加えません。"
#. type: =item
-#: debhelper.pod:191 dh_compress:56 dh_install:98 dh_installchangelogs:74
-#: dh_installdocs:95 dh_installexamples:73 dh_link:75 dh_makeshlibs:93
+#: debhelper.pod:228 dh_compress:56 dh_dwz:44 dh_installchangelogs:85
+#: dh_installdocs:99 dh_installexamples:77 dh_link:75 dh_makeshlibs:139
#: dh_md5sums:40 dh_shlibdeps:34 dh_strip:42
msgid "B<-X>I<item>, B<--exclude=>I<item>"
msgstr "B<-X>I<item>, B<--exclude=>I<item>"
#. type: textblock
-#: debhelper.pod:193
+#: debhelper.pod:230
+#, fuzzy
+#| msgid ""
+#| "Exclude an item from processing. This option may be used multiple times, "
+#| "to exclude more than one thing. The \\fIitem\\fR is typically part of a "
+#| "filename, and any file containing the specified text will be excluded."
msgid ""
"Exclude an item from processing. This option may be used multiple times, to "
-"exclude more than one thing. The \\fIitem\\fR is typically part of a "
-"filename, and any file containing the specified text will be excluded."
+"exclude more than one thing. The I<item> is typically part of a filename, "
+"and any file containing the specified text will be excluded."
msgstr ""
"item を処理対象から除外します。複数の item を除外するためにこのオプションを複"
"数指定して使う。ことができます。通常、\\fIitem\\fR はファイル名の一部で、指定"
"されたテキストが含まれるファイルはすべて除外されます。"
#. type: =item
-#: debhelper.pod:197 dh_bugfiles:57 dh_compress:63 dh_installdirs:46
-#: dh_installdocs:90 dh_installexamples:41 dh_installinfo:38 dh_installman:83
-#: dh_link:70
+#: debhelper.pod:234 dh_bugfiles:57 dh_compress:63 dh_installdirs:46
+#: dh_installdocs:94 dh_installexamples:45 dh_installinfo:42 dh_installman:87
+#: dh_installwm:52 dh_link:70
msgid "B<-A>, B<--all>"
msgstr "B<-A>, B<--all>"
#. type: textblock
-#: debhelper.pod:199
+#: debhelper.pod:236
msgid ""
"Makes files or other items that are specified on the command line take "
"effect in ALL packages acted on, not just the first."
@@ -554,12 +618,12 @@ msgstr ""
"ジだけでなく全パッケージに対して処理を行います。"
#. type: =head1
-#: debhelper.pod:204
+#: debhelper.pod:241
msgid "BUILD SYSTEM OPTIONS"
msgstr "ビルドシステム用オプション"
#. type: textblock
-#: debhelper.pod:206
+#: debhelper.pod:243
msgid ""
"The following command line options are supported by all of the "
"B<dh_auto_>I<*> debhelper programs. These programs support a variety of "
@@ -577,12 +641,12 @@ msgstr ""
"す。"
#. type: =item
-#: debhelper.pod:215
+#: debhelper.pod:252
msgid "B<-S>I<buildsystem>, B<--buildsystem=>I<buildsystem>"
msgstr "B<-S>I<buildsystem>, B<--buildsystem=>I<buildsystem>"
#. type: textblock
-#: debhelper.pod:217
+#: debhelper.pod:254
msgid ""
"Force use of the specified I<buildsystem>, instead of trying to auto-select "
"one which might be applicable for the package."
@@ -591,12 +655,12 @@ msgstr ""
"で指定したビルドシステムを強制的に使用します。"
#. type: =item
-#: debhelper.pod:220
+#: debhelper.pod:257
msgid "B<-D>I<directory>, B<--sourcedirectory=>I<directory>"
msgstr "B<-D>I<directory>, B<--sourcedirectory=>I<directory>"
#. type: textblock
-#: debhelper.pod:222
+#: debhelper.pod:259
msgid ""
"Assume that the original package source tree is at the specified "
"I<directory> rather than the top level directory of the Debian source "
@@ -606,12 +670,12 @@ msgstr ""
"リではなく、I<directory> で指定した場所にあると仮定します。"
#. type: =item
-#: debhelper.pod:226
+#: debhelper.pod:263
msgid "B<-B>[I<directory>], B<--builddirectory=>[I<directory>]"
msgstr "B<-B>[I<directory>], B<--builddirectory=>[I<directory>]"
#. type: textblock
-#: debhelper.pod:228
+#: debhelper.pod:265
msgid ""
"Enable out of source building and use the specified I<directory> as the "
"build directory. If I<directory> parameter is omitted, a default build "
@@ -622,7 +686,7 @@ msgstr ""
"はデフォルトのビルドディレクトリが利用されます。"
#. type: textblock
-#: debhelper.pod:232
+#: debhelper.pod:269
msgid ""
"If this option is not specified, building will be done in source by default "
"unless the build system requires or prefers out of source tree building. In "
@@ -635,7 +699,7 @@ msgstr ""
"されていなくてもデフォルトのビルドディレクトリが使用されます。"
#. type: textblock
-#: debhelper.pod:237
+#: debhelper.pod:274
msgid ""
"If the build system prefers out of source tree building but still allows in "
"source building, the latter can be re-enabled by passing a build directory "
@@ -647,12 +711,12 @@ msgstr ""
"ドを行うようにできます。"
#. type: =item
-#: debhelper.pod:241
+#: debhelper.pod:278
msgid "B<--parallel>, B<--no-parallel>"
msgstr "B<--parallel>, B<--no-parallel>"
#. type: textblock
-#: debhelper.pod:243
+#: debhelper.pod:280
msgid ""
"Control whether parallel builds should be used if underlying build system "
"supports them. The number of parallel jobs is controlled by the "
@@ -665,7 +729,7 @@ msgstr ""
"ル、4.9.1章>)。ビルドシステム固有の制限に影響を受ける場合もあります。"
#. type: textblock
-#: debhelper.pod:249
+#: debhelper.pod:286
msgid ""
"If neither option is specified, debhelper currently defaults to B<--"
"parallel> in compat 10 (or later) and B<--no-parallel> otherwise."
@@ -674,12 +738,12 @@ msgstr ""
"10 (以降) の場合は B<--parallel> をデフォルトに、そうでない場合は B<--no-"
"parallel> が指定されます。"
-# FIXME: typo: unncessary
+# FIXME: typo: unnecessary
#. type: textblock
-#: debhelper.pod:252
+#: debhelper.pod:289
msgid ""
"As an optimization, B<dh> will try to avoid passing these options to "
-"subprocesses, if they are unncessary and the only options passed. Notably "
+"subprocesses, if they are unnecessary and the only options passed. Notably "
"this happens when B<DEB_BUILD_OPTIONS> does not have a I<parallel> parameter "
"(or its value is 1)."
msgstr ""
@@ -689,12 +753,12 @@ msgstr ""
"ない (またはこの値が 1 である) 場合に起こります。"
#. type: =item
-#: debhelper.pod:257
+#: debhelper.pod:294
msgid "B<--max-parallel=>I<maximum>"
msgstr "B<--max-parallel=>I<maximum>"
#. type: textblock
-#: debhelper.pod:259
+#: debhelper.pod:296
msgid ""
"This option implies B<--parallel> and allows further limiting the number of "
"jobs that can be used in a parallel build. If the package build is known to "
@@ -707,7 +771,7 @@ msgstr ""
"を指定できます。"
#. type: textblock
-#: debhelper.pod:264
+#: debhelper.pod:301
msgid ""
"Notably, setting the maximum to 1 is effectively the same as using B<--no-"
"parallel>."
@@ -716,12 +780,12 @@ msgstr ""
"す。"
#. type: =item
-#: debhelper.pod:267 dh:63
+#: debhelper.pod:304 dh:74
msgid "B<--list>, B<-l>"
msgstr "B<--list>, B<-l>"
#. type: textblock
-#: debhelper.pod:269
+#: debhelper.pod:306
msgid ""
"List all build systems supported by debhelper on this system. The list "
"includes both default and third party build systems (marked as such). Also "
@@ -735,12 +799,12 @@ msgstr ""
"示します。"
#. type: =head1
-#: debhelper.pod:276
+#: debhelper.pod:313
msgid "COMPATIBILITY LEVELS"
msgstr "互換性レベル"
#. type: textblock
-#: debhelper.pod:278
+#: debhelper.pod:315
msgid ""
"From time to time, major non-backwards-compatible changes need to be made to "
"debhelper, to keep it clean and well-designed as needs change and its author "
@@ -759,7 +823,7 @@ msgstr ""
"ルは F<debian/compat> ファイルで指定され、このファイルは必須となっています。"
#. type: textblock
-#: debhelper.pod:286
+#: debhelper.pod:323
msgid ""
"Tell debhelper what compatibility level to use by writing a number to "
"F<debian/compat>. For example, to use v#RECOMMENDED_COMPAT# mode:"
@@ -768,7 +832,7 @@ msgstr ""
"えます。例えば、v#RECOMMENDED_COMPAT# モードを使うには次の様にします:"
#. type: verbatim
-#: debhelper.pod:289
+#: debhelper.pod:326
#, no-wrap
msgid ""
" % echo #RECOMMENDED_COMPAT# > debian/compat\n"
@@ -778,7 +842,7 @@ msgstr ""
"\n"
#. type: textblock
-#: debhelper.pod:291
+#: debhelper.pod:328
msgid ""
"Your package will also need a versioned build dependency on a version of "
"debhelper equal to (or greater than) the compatibility level your package "
@@ -791,17 +855,20 @@ msgstr ""
"とを確認してください:"
#. type: verbatim
-#: debhelper.pod:295
-#, no-wrap
+#: debhelper.pod:332
+#, fuzzy, no-wrap
+#| msgid ""
+#| " Build-Depends: debhelper (>= #RECOMMENDED_COMPAT#)\n"
+#| "\n"
msgid ""
-" Build-Depends: debhelper (>= #RECOMMENDED_COMPAT#)\n"
+" Build-Depends: debhelper (>= #RECOMMENDED_COMPAT#~)\n"
"\n"
msgstr ""
" Build-Depends: debhelper (>= #RECOMMENDED_COMPAT#)\n"
"\n"
#. type: textblock
-#: debhelper.pod:297
+#: debhelper.pod:334
msgid ""
"Unless otherwise indicated, all debhelper documentation assumes that you are "
"using the most recent compatibility level, and in most cases does not "
@@ -816,29 +883,29 @@ msgstr ""
"す。"
#. type: =head2
-#: debhelper.pod:304
+#: debhelper.pod:341
#, fuzzy
#| msgid "This is the lowest supported compatibility level."
msgid "Supported compatibility levels"
msgstr "これはサポートされている最低限の互換性レベルです。"
#. type: textblock
-#: debhelper.pod:306
+#: debhelper.pod:343
msgid "These are the available compatibility levels:"
msgstr "利用可能な互換性レベルは以下の通りです:"
#. type: =item
-#: debhelper.pod:310 debhelper-obsolete-compat.pod:89
+#: debhelper.pod:347 debhelper-obsolete-compat.pod:89
msgid "v5"
msgstr "v5"
#. type: textblock
-#: debhelper.pod:312 debhelper-obsolete-compat.pod:91
+#: debhelper.pod:349 debhelper-obsolete-compat.pod:91
msgid "This is the lowest supported compatibility level."
msgstr "これはサポートされている最低限の互換性レベルです。"
#. type: textblock
-#: debhelper.pod:314
+#: debhelper.pod:351
msgid ""
"If you are upgrading from an earlier compatibility level, please review "
"L<debhelper-obsolete-compat(7)>."
@@ -847,48 +914,51 @@ msgstr ""
"obsolete-compat(7)> を確認して下さい。"
#. type: textblock
-#: debhelper.pod:317 debhelper.pod:349 debhelper.pod:379 debhelper.pod:410
+#: debhelper.pod:354 debhelper.pod:386 debhelper.pod:416 debhelper.pod:447
#: debhelper-obsolete-compat.pod:28 debhelper-obsolete-compat.pod:35
#: debhelper-obsolete-compat.pod:58 debhelper-obsolete-compat.pod:87
msgid "This mode is deprecated."
msgstr "このモードは廃止されました。"
#. type: =item
-#: debhelper.pod:319
+#: debhelper.pod:356
msgid "v6"
msgstr "v6"
#. type: textblock
-#: debhelper.pod:321
+#: debhelper.pod:358
msgid "Changes from v5 are:"
msgstr "v5 からの変更点:"
#. type: =item
-#: debhelper.pod:325 debhelper.pod:330 debhelper.pod:336 debhelper.pod:342
-#: debhelper.pod:357 debhelper.pod:364 debhelper.pod:368 debhelper.pod:372
-#: debhelper.pod:387 debhelper.pod:391 debhelper.pod:399 debhelper.pod:404
-#: debhelper.pod:418 debhelper.pod:423 debhelper.pod:430 debhelper.pod:435
-#: debhelper.pod:440 debhelper.pod:448 debhelper.pod:454 debhelper.pod:459
-#: debhelper.pod:464 debhelper.pod:480 debhelper.pod:485 debhelper.pod:491
-#: debhelper.pod:498 debhelper.pod:504 debhelper.pod:509 debhelper.pod:515
-#: debhelper.pod:521 debhelper.pod:531 debhelper.pod:537 debhelper.pod:560
-#: debhelper.pod:567 debhelper.pod:573 debhelper.pod:579 debhelper.pod:595
-#: debhelper.pod:601 debhelper.pod:613 debhelper.pod:621 debhelper.pod:627
-#: debhelper.pod:632 debhelper.pod:642 debhelper.pod:647 debhelper.pod:655
-#: debhelper.pod:665 debhelper.pod:672 debhelper.pod:679 debhelper.pod:691
-#: debhelper.pod:696 debhelper.pod:709 debhelper.pod:728 debhelper.pod:732
-#: debhelper.pod:737 debhelper.pod:742 debhelper.pod:749 debhelper.pod:755
+#: debhelper.pod:362 debhelper.pod:367 debhelper.pod:373 debhelper.pod:379
+#: debhelper.pod:394 debhelper.pod:401 debhelper.pod:405 debhelper.pod:409
+#: debhelper.pod:424 debhelper.pod:428 debhelper.pod:436 debhelper.pod:441
+#: debhelper.pod:455 debhelper.pod:460 debhelper.pod:467 debhelper.pod:472
+#: debhelper.pod:477 debhelper.pod:485 debhelper.pod:491 debhelper.pod:496
+#: debhelper.pod:501 debhelper.pod:514 debhelper.pod:519 debhelper.pod:525
+#: debhelper.pod:532 debhelper.pod:538 debhelper.pod:543 debhelper.pod:549
+#: debhelper.pod:555 debhelper.pod:565 debhelper.pod:571 debhelper.pod:594
+#: debhelper.pod:601 debhelper.pod:607 debhelper.pod:613 debhelper.pod:629
+#: debhelper.pod:635 debhelper.pod:647 debhelper.pod:655 debhelper.pod:661
+#: debhelper.pod:666 debhelper.pod:671 debhelper.pod:676 debhelper.pod:684
+#: debhelper.pod:694 debhelper.pod:704 debhelper.pod:711 debhelper.pod:723
+#: debhelper.pod:728 debhelper.pod:756 debhelper.pod:775 debhelper.pod:785
+#: debhelper.pod:789 debhelper.pod:794 debhelper.pod:799 debhelper.pod:806
+#: debhelper.pod:812 debhelper.pod:820 debhelper.pod:826 debhelper.pod:830
+#: debhelper.pod:835 debhelper.pod:840 debhelper.pod:849
#: debhelper-obsolete-compat.pod:43 debhelper-obsolete-compat.pod:48
#: debhelper-obsolete-compat.pod:52 debhelper-obsolete-compat.pod:66
#: debhelper-obsolete-compat.pod:71 debhelper-obsolete-compat.pod:76
#: debhelper-obsolete-compat.pod:81 debhelper-obsolete-compat.pod:97
#: debhelper-obsolete-compat.pod:101 debhelper-obsolete-compat.pod:106
-#: debhelper-obsolete-compat.pod:110
+#: debhelper-obsolete-compat.pod:110 dh_testroot:36 dh_testroot:41
+#: dh_testroot:46
msgid "-"
msgstr "-"
#. type: textblock
-#: debhelper.pod:327
+#: debhelper.pod:364
msgid ""
"Commands that generate maintainer script fragments will order the fragments "
"in reverse order for the F<prerm> and F<postrm> scripts."
@@ -897,7 +967,7 @@ msgstr ""
"クリプト用にこれらを逆順に並び替えるようになりました。"
#. type: textblock
-#: debhelper.pod:332
+#: debhelper.pod:369
msgid ""
"B<dh_installwm> will install a slave manpage link for F<x-window-manager.1."
"gz>, if it sees the man page in F<usr/share/man/man1> in the package build "
@@ -908,7 +978,7 @@ msgstr ""
"man/man1> ディレクトリに man ページがある場合に行われます。"
#. type: textblock
-#: debhelper.pod:338
+#: debhelper.pod:375
msgid ""
"B<dh_builddeb> did not previously delete everything matching "
"B<DH_ALWAYS_EXCLUDE>, if it was set to a list of things to exclude, such as "
@@ -919,7 +989,7 @@ msgstr ""
"互換性レベルでは削除するようになっています。"
#. type: textblock
-#: debhelper.pod:344
+#: debhelper.pod:381
msgid ""
"B<dh_installman> allows overwriting existing man pages in the package build "
"directory. In previous compatibility levels it silently refuses to do this."
@@ -929,17 +999,17 @@ msgstr ""
"動作は何の警告もなく拒絶されていました。"
#. type: =item
-#: debhelper.pod:351
+#: debhelper.pod:388
msgid "v7"
msgstr "v7"
#. type: textblock
-#: debhelper.pod:353
+#: debhelper.pod:390
msgid "Changes from v6 are:"
msgstr "v6 からの変更点:"
#. type: textblock
-#: debhelper.pod:359
+#: debhelper.pod:396
msgid ""
"B<dh_install>, will fall back to looking for files in F<debian/tmp> if it "
"doesn't find them in the current directory (or wherever you tell it look "
@@ -955,21 +1025,21 @@ msgstr ""
"た。"
#. type: textblock
-#: debhelper.pod:366
+#: debhelper.pod:403
msgid "B<dh_clean> will read F<debian/clean> and delete files listed there."
msgstr ""
"B<dh_clean> は F<debian/clean> を読み、そこに記載されているファイルを消すよう"
"になりました。"
#. type: textblock
-#: debhelper.pod:370
+#: debhelper.pod:407
msgid "B<dh_clean> will delete toplevel F<*-stamp> files."
msgstr ""
"B<dh_clean> はビルドディレクトリの最上位の階層にある F<*-stamp> ファイルを消"
"すようになりました。"
#. type: textblock
-#: debhelper.pod:374
+#: debhelper.pod:411
msgid ""
"B<dh_installchangelogs> will guess at what file is the upstream changelog if "
"none is specified."
@@ -978,17 +1048,17 @@ msgstr ""
"changelog であるかを推定するようになりました。"
#. type: =item
-#: debhelper.pod:381
+#: debhelper.pod:418
msgid "v8"
msgstr "v8"
#. type: textblock
-#: debhelper.pod:383
+#: debhelper.pod:420
msgid "Changes from v7 are:"
msgstr "v7 からの変更点:"
#. type: textblock
-#: debhelper.pod:389
+#: debhelper.pod:426
msgid ""
"Commands will fail rather than warning when they are passed unknown options."
msgstr ""
@@ -996,7 +1066,7 @@ msgstr ""
"ラーにして処理を失敗させるようになりました。"
#. type: textblock
-#: debhelper.pod:393
+#: debhelper.pod:430
msgid ""
"B<dh_makeshlibs> will run B<dpkg-gensymbols> on all shared libraries that it "
"generates shlibs files for. So B<-X> can be used to exclude libraries. "
@@ -1011,7 +1081,7 @@ msgstr ""
"ケージのビルドが失敗に終わるようになりました。"
#. type: textblock
-#: debhelper.pod:401
+#: debhelper.pod:438
msgid ""
"B<dh> requires the sequence to run be specified as the first parameter, and "
"any switches come after it. Ie, use \"B<dh $@ --foo>\", not \"B<dh --foo $@>"
@@ -1022,7 +1092,7 @@ msgstr ""
"く、\"B<dh --foo $@>\" は間違いとなります。"
#. type: textblock
-#: debhelper.pod:406
+#: debhelper.pod:443
msgid ""
"B<dh_auto_>I<*> prefer to use Perl's B<Module::Build> in preference to "
"F<Makefile.PL>."
@@ -1031,17 +1101,17 @@ msgstr ""
"ジュールを優先して利用するようになりました。"
#. type: =item
-#: debhelper.pod:412
+#: debhelper.pod:449
msgid "v9"
msgstr "v9"
#. type: textblock
-#: debhelper.pod:414
+#: debhelper.pod:451
msgid "Changes from v8 are:"
msgstr "v8 からの変更点:"
#. type: textblock
-#: debhelper.pod:420
+#: debhelper.pod:457
msgid ""
"Multiarch support. In particular, B<dh_auto_configure> passes multiarch "
"directories to autoconf in --libdir and --libexecdir."
@@ -1051,7 +1121,7 @@ msgstr ""
"ます。"
#. type: textblock
-#: debhelper.pod:425
+#: debhelper.pod:462
msgid ""
"dh is aware of the usual dependencies between targets in debian/rules. So, "
"\"dh binary\" will run any build, build-arch, build-indep, install, etc "
@@ -1065,7 +1135,7 @@ msgstr ""
"要はありません。"
#. type: textblock
-#: debhelper.pod:432
+#: debhelper.pod:469
msgid ""
"B<dh_strip> compresses debugging symbol files to reduce the installed size "
"of -dbg packages."
@@ -1074,7 +1144,7 @@ msgstr ""
"時に必要とする容量を削減します。"
#. type: textblock
-#: debhelper.pod:437
+#: debhelper.pod:474
msgid ""
"B<dh_auto_configure> does not include the source package name in --"
"libexecdir when using autoconf."
@@ -1083,14 +1153,14 @@ msgstr ""
"ケージ名を追加しなくなりました。"
#. type: textblock
-#: debhelper.pod:442
+#: debhelper.pod:479
msgid "B<dh> does not default to enabling --with=python-support"
msgstr ""
"B<dh> は --with=python-support オプションを、デフォルトでは無効にするようにな"
"りました。"
#. type: textblock
-#: debhelper.pod:444
+#: debhelper.pod:481
msgid ""
"(Obsolete: As the B<dh_pysupport> tool was removed from Debian stretch. "
"Since debhelper/10.3, B<dh> no longer enables this sequence add-on "
@@ -1098,7 +1168,7 @@ msgid ""
msgstr ""
#. type: textblock
-#: debhelper.pod:450
+#: debhelper.pod:487
msgid ""
"All of the B<dh_auto_>I<*> debhelper programs and B<dh> set environment "
"variables listed by B<dpkg-buildflags>, unless they are already set."
@@ -1108,7 +1178,7 @@ msgstr ""
"れている場合は設定を行いません。"
#. type: textblock
-#: debhelper.pod:456
+#: debhelper.pod:493
msgid ""
"B<dh_auto_configure> passes B<dpkg-buildflags> CFLAGS, CPPFLAGS, and LDFLAGS "
"to perl F<Makefile.PL> and F<Build.PL>"
@@ -1117,7 +1187,7 @@ msgstr ""
"CPPFLAGS, LDFLAGS パラメータを F<Makefile.PL> や F<Build.PL> へ引き渡します。"
#. type: textblock
-#: debhelper.pod:461
+#: debhelper.pod:498
msgid ""
"B<dh_strip> puts separated debug symbols in a location based on their build-"
"id."
@@ -1126,7 +1196,7 @@ msgstr ""
"す。"
#. type: textblock
-#: debhelper.pod:466
+#: debhelper.pod:503
msgid ""
"Executable debhelper config files are run and their output used as the "
"configuration."
@@ -1135,22 +1205,17 @@ msgstr ""
"扱われます。"
#. type: =item
-#: debhelper.pod:471
+#: debhelper.pod:508
msgid "v10"
msgstr "v10"
#. type: textblock
-#: debhelper.pod:473
-msgid "This is the recommended mode of operation."
-msgstr "これが動作推奨モードです。"
-
-#. type: textblock
-#: debhelper.pod:476
+#: debhelper.pod:510
msgid "Changes from v9 are:"
msgstr "v9 からの変更点:"
#. type: textblock
-#: debhelper.pod:482
+#: debhelper.pod:516
msgid ""
"B<dh_installinit> will no longer install a file named debian/I<package> as "
"an init script."
@@ -1159,7 +1224,7 @@ msgstr ""
"ファイルをインストールしなくなりました。"
#. type: textblock
-#: debhelper.pod:487
+#: debhelper.pod:521
msgid ""
"B<dh_installdocs> will error out if it detects links created with --link-doc "
"between packages of architecture \"all\" and non-\"all\" as it breaks "
@@ -1170,7 +1235,7 @@ msgstr ""
"なります。"
#. type: textblock
-#: debhelper.pod:493
+#: debhelper.pod:527
msgid ""
"B<dh> no longer creates the package build directory when skipping running "
"debhelper commands. This will not affect packages that only build with "
@@ -1183,7 +1248,7 @@ msgstr ""
"ドのバグを暴くかもしれません。"
#. type: textblock
-#: debhelper.pod:500
+#: debhelper.pod:534
msgid ""
"B<dh_installdeb> no longer installs a maintainer-provided debian/I<package>."
"shlibs file. This is now done by B<dh_makeshlibs> instead."
@@ -1193,7 +1258,7 @@ msgstr ""
"れます。"
#. type: textblock
-#: debhelper.pod:506
+#: debhelper.pod:540
msgid ""
"B<dh_installwm> refuses to create a broken package if no man page can be "
"found (required to register for the x-window-manager alternative)."
@@ -1202,7 +1267,7 @@ msgstr ""
"のを拒否するようになりました (x-window-manager の alternative 登録に必要)。"
#. type: textblock
-#: debhelper.pod:511
+#: debhelper.pod:545
msgid ""
"Debhelper will default to B<--parallel> for all buildsystems that support "
"parallel building. This can be disabled by using either B<--no-parallel> or "
@@ -1213,7 +1278,7 @@ msgstr ""
"parallel> へ 1 の値を渡すことで無効にできます。"
#. type: textblock
-#: debhelper.pod:517
+#: debhelper.pod:551
msgid ""
"The B<dh> command will not accept any of the deprecated \"manual sequence "
"control\" parameters (B<--before>, B<--after>, etc.). Please use override "
@@ -1224,7 +1289,7 @@ msgstr ""
"ターゲットを使ってください。"
#. type: textblock
-#: debhelper.pod:523
+#: debhelper.pod:557
msgid ""
"The B<dh> command will no longer use log files to track which commands have "
"been run. The B<dh> command I<still> keeps track of whether it already ran "
@@ -1235,12 +1300,12 @@ msgstr ""
"したかどうかを記録し、もし実行されていたらスキップします。"
#. type: textblock
-#: debhelper.pod:527
+#: debhelper.pod:561
msgid "The main effects of this are:"
msgstr "これの主な影響:"
#. type: textblock
-#: debhelper.pod:533
+#: debhelper.pod:567
msgid ""
"With this, it is now easier to debug the I<install> or/and I<binary> "
"sequences because they can now trivially be re-run (without having to do a "
@@ -1252,7 +1317,7 @@ msgstr ""
# FIXME: 訳してもわからない...
#. type: textblock
-#: debhelper.pod:539
+#: debhelper.pod:573
#, fuzzy
msgid ""
"The main caveat is that B<dh_*> now only keeps track of what happened in a "
@@ -1265,12 +1330,12 @@ msgstr ""
"ます。"
#. type: textblock
-#: debhelper.pod:544
+#: debhelper.pod:578
msgid "Example of where it can go wrong:"
msgstr "動かなくなる可能性がある例:"
#. type: verbatim
-#: debhelper.pod:546
+#: debhelper.pod:580
#, no-wrap
msgid ""
" override_dh_foo:\n"
@@ -1282,7 +1347,7 @@ msgstr ""
"\n"
#. type: verbatim
-#: debhelper.pod:549
+#: debhelper.pod:583
#, no-wrap
msgid ""
" override_dh_bar:\n"
@@ -1296,7 +1361,7 @@ msgstr ""
"\n"
#. type: textblock
-#: debhelper.pod:553
+#: debhelper.pod:587
msgid ""
"In this case, the call to B<dh_foo --remaining> will I<also> include I<my-"
"pkg>, since B<dh_foo -pmy-pkg> was run in a separate override target. This "
@@ -1307,7 +1372,7 @@ msgstr ""
"remaining> に限らず B<-a>, B<-i> なども含みます。"
#. type: textblock
-#: debhelper.pod:562
+#: debhelper.pod:596
msgid ""
"The B<dh_installdeb> command now shell-escapes the lines in the "
"F<maintscript> config file. This was the original intent but it did not "
@@ -1320,7 +1385,7 @@ msgstr ""
"るようになっていました。"
#. type: textblock
-#: debhelper.pod:569
+#: debhelper.pod:603
msgid ""
"The B<dh_installinit> command now defaults to B<--restart-after-upgrade>. "
"For packages needing the previous behaviour, please use B<--no-restart-after-"
@@ -1331,7 +1396,7 @@ msgstr ""
"を利用してください。"
#. type: textblock
-#: debhelper.pod:575
+#: debhelper.pod:609
msgid ""
"The B<autoreconf> sequence is now enabled by default. Please pass B<--"
"without autoreconf> to B<dh> if this is not desirable for a given package"
@@ -1340,7 +1405,7 @@ msgstr ""
"を望まない場合は、B<dh> に B<--without autoreconf> を指定してください。"
#. type: textblock
-#: debhelper.pod:581
+#: debhelper.pod:615
msgid ""
"The B<systemd> sequence is now enabled by default. Please pass B<--without "
"systemd> to B<dh> if this is not desirable for a given package."
@@ -1349,24 +1414,22 @@ msgstr ""
"まない場合は、B<dh> に B<--without systemd> を指定してください。"
#. type: =item
-#: debhelper.pod:587
+#: debhelper.pod:621
msgid "v11"
msgstr "v11"
#. type: textblock
-#: debhelper.pod:589 debhelper.pod:722
-msgid ""
-"This compatibility level is still open for development; use with caution."
-msgstr ""
-"この互換性レベルは未だ開発中の状態です。使う場合は注意して使ってください。"
+#: debhelper.pod:623
+msgid "This is the recommended mode of operation."
+msgstr "これが動作推奨モードです。"
#. type: textblock
-#: debhelper.pod:591
+#: debhelper.pod:625
msgid "Changes from v10 are:"
msgstr "v10 からの変更点:"
#. type: textblock
-#: debhelper.pod:597
+#: debhelper.pod:631
#, fuzzy
#| msgid ""
#| "B<dh_installinit> no longer installs F<service> or F<tmpfile> files, nor "
@@ -1383,7 +1446,7 @@ msgstr ""
"い。"
#. type: textblock
-#: debhelper.pod:603
+#: debhelper.pod:637
msgid ""
"The B<dh_systemd_enable> and B<dh_systemd_start> helpers have been replaced "
"by the new B<dh_installsystemd> helper. For the same reason, the B<systemd> "
@@ -1392,26 +1455,26 @@ msgid ""
msgstr ""
#. type: textblock
-#: debhelper.pod:609
+#: debhelper.pod:643
msgid ""
-"Please note that the B<dh_installsystemd> tool have a slightly different "
+"Please note that the B<dh_installsystemd> tool has a slightly different "
"behaviour in some cases (e.g. when using the B<--name> parameter)."
msgstr ""
#. type: textblock
-#: debhelper.pod:615
+#: debhelper.pod:649
msgid ""
"B<dh_installdirs> no longer creates debian/I<package> directories unless "
"explicitly requested (or it has to create a subdirectory in it)."
msgstr ""
#. type: textblock
-#: debhelper.pod:619
+#: debhelper.pod:653
msgid "The vast majority of all packages will be unaffected by this change."
msgstr ""
#. type: textblock
-#: debhelper.pod:623
+#: debhelper.pod:657
msgid ""
"The B<makefile> buildsystem now passes B<INSTALL=install --strip-"
"program=true> to L<make(1)>. Derivative buildsystems (e.g. B<configure> or "
@@ -1419,36 +1482,28 @@ msgid ""
msgstr ""
#. type: textblock
-#: debhelper.pod:629
+#: debhelper.pod:663
msgid ""
"The B<autoconf> buildsystem now passes B<--runstatedir=/run> to F<./"
"configure>."
msgstr ""
#. type: textblock
-#: debhelper.pod:634
+#: debhelper.pod:668
msgid ""
"The B<cmake> buildsystem now passes B<-DCMAKE_INSTALL_RUNSTATEDIR=/run> to "
"L<cmake(1)>."
msgstr ""
#. type: textblock
-#: debhelper.pod:637
-msgid ""
-"B<Caveat>: This option silently does nothing in cmake versions prior to "
-"3.8. Please keep this in mind if your package is regularly backported to a "
-"suite (e.g. stretch-backports) where cmake is older than 3.8."
-msgstr ""
-
-#. type: textblock
-#: debhelper.pod:644
+#: debhelper.pod:673
msgid ""
"B<dh_installman> will now prefer detecting the language from the path name "
"rather than the extension."
msgstr ""
#. type: textblock
-#: debhelper.pod:649
+#: debhelper.pod:678
#, fuzzy
#| msgid ""
#| "B<dh> no longer creates the package build directory when skipping running "
@@ -1467,7 +1522,7 @@ msgstr ""
"ドのバグを暴くかもしれません。"
#. type: textblock
-#: debhelper.pod:657
+#: debhelper.pod:686
msgid ""
"The helpers B<dh_installdocs>, B<dh_installexamples>, B<dh_installinfo>, and "
"B<dh_installman> now error out if their config has a pattern that does not "
@@ -1475,7 +1530,7 @@ msgid ""
msgstr ""
#. type: textblock
-#: debhelper.pod:661
+#: debhelper.pod:690
msgid ""
"Known exceptions include building with the B<nodoc> profile, where the above "
"tools will silently permit failed matches where the patterns are used to "
@@ -1483,7 +1538,7 @@ msgid ""
msgstr ""
#. type: textblock
-#: debhelper.pod:667
+#: debhelper.pod:696
msgid ""
"The helpers B<dh_installdocs>, B<dh_installexamples>, B<dh_installinfo>, and "
"B<dh_installman> now accept the parameter B<--sourcedir> with same meaning "
@@ -1492,16 +1547,23 @@ msgid ""
msgstr ""
#. type: textblock
-#: debhelper.pod:674
+#: debhelper.pod:701
+msgid ""
+"Migration note: A bug in debhelper 11 up to 11.1.5 made B<dh_installinfo> "
+"incorrectly ignore B<--sourcedir>."
+msgstr ""
+
+#. type: textblock
+#: debhelper.pod:706
msgid ""
"The B<perl-makemaker> and B<perl-build> build systems no longer pass B<-I.> "
-"to perl. Packages that still need this behaviour can get emulate it by "
-"using the B<PERL5LIB> environment variable. E.g. by adding B<export "
-"PERL5LIB=.> in their debian/rules file (or similar)."
+"to perl. Packages that still need this behaviour can emulate it by using "
+"the B<PERL5LIB> environment variable. E.g. by adding B<export PERL5LIB=.> "
+"in their debian/rules file (or similar)."
msgstr ""
#. type: textblock
-#: debhelper.pod:681
+#: debhelper.pod:713
msgid ""
"The B<PERL_USE_UNSAFE_INC> environment variable is no longer set by B<dh> or "
"any of the B<dh_auto_*> tools. It was added as a temporary work around to "
@@ -1509,7 +1571,7 @@ msgid ""
msgstr ""
#. type: textblock
-#: debhelper.pod:686
+#: debhelper.pod:718
msgid ""
"Note this item will eventually become obsolete as upstream intends to drop "
"support for the B<PERL_USE_UNSAFE_INC> environment variable. When perl "
@@ -1518,33 +1580,58 @@ msgid ""
msgstr ""
#. type: textblock
-#: debhelper.pod:693
+#: debhelper.pod:725
msgid ""
"The B<dh_makeshlibs> helper will now exit with an error if objdump returns a "
"non-zero exit from analysing a given file."
msgstr ""
#. type: textblock
-#: debhelper.pod:698
+#: debhelper.pod:730
msgid ""
-"The B<dh_installdocs> and B<dh_installexamples> tools will now attempt to "
-"guess the \"main package\" for a given documentation package (e.g. I<pkg-"
-"doc> will have I<pkg> as main package if the latter exists). If a main "
-"package is found, I<most> of the documentation will be installed into F<< /"
-"usr/share/doc/I<main-pkg> >> by default as recommended by Debian policy "
-"§12.3 since version 3.9.7. Notable exceptions include the copyright file "
-"and changelog files."
+"The B<dh_installdocs> and B<dh_installexamples> tools may now install "
+"I<most> of the documentation in a different path to comply with the "
+"recommendation from Debian policy §12.3 (since version 3.9.7)."
msgstr ""
#. type: textblock
-#: debhelper.pod:706
+#: debhelper.pod:734
+msgid ""
+"Note that if a given source package only contains a single binary package in "
+"F<debian/control> or none of the packages are I<-doc> packages, then this "
+"change is not relevant for that source package and you can skip to the next "
+"change."
+msgstr ""
+
+#. type: textblock
+#: debhelper.pod:739
+msgid ""
+"By default, these tools will now attempt to determine a \"main package for "
+"the documentation\" (called a I<doc-main-package> from here on) for every I<-"
+"doc> package. If they find such a I<doc-main-package>, they will now "
+"install the documentation into the path F<< /usr/share/doc/I<doc-main-"
+"package> >> in the given doc package. I.e. the path can change but the "
+"documentation is still shipped in the I<-doc> package."
+msgstr ""
+
+#. type: textblock
+#: debhelper.pod:747
msgid ""
"The B<--doc-main-package> option can be used when the auto-detection is "
-"insufficient."
+"insufficient or to reset the path to its previous value if there is a reason "
+"to diverge from Debian policy recommendation."
msgstr ""
#. type: textblock
-#: debhelper.pod:711
+#: debhelper.pod:751
+msgid ""
+"Some documentation will not be affected by this change. These exceptions "
+"include the copyright file, changelog files, README.Debian, etc. These "
+"files will still be installed in the path F<< /usr/share/doc/I<package> >>."
+msgstr ""
+
+#. type: textblock
+#: debhelper.pod:758
msgid ""
"The B<dh_strip> and B<dh_shlibdeps> tools no longer uses filename patterns "
"to determine which files to process. Instead, they open the file and look "
@@ -1553,26 +1640,49 @@ msgid ""
msgstr ""
#. type: textblock
-#: debhelper.pod:716
+#: debhelper.pod:763
msgid "This change may cause the tools to process more files than previously."
msgstr ""
#. type: =item
-#: debhelper.pod:720
+#: debhelper.pod:767
#, fuzzy
#| msgid "v1"
msgid "v12"
msgstr "v1"
#. type: textblock
-#: debhelper.pod:724
+#: debhelper.pod:769
+msgid ""
+"This compatibility level is still open for development; use with caution."
+msgstr ""
+"この互換性レベルは未だ開発中の状態です。使う場合は注意して使ってください。"
+
+#. type: textblock
+#: debhelper.pod:771
#, fuzzy
#| msgid "Changes from v10 are:"
msgid "Changes from v11 are:"
msgstr "v10 からの変更点:"
#. type: textblock
-#: debhelper.pod:730
+#: debhelper.pod:777
+msgid ""
+"The B<dh_makeshlibs> tool now generates shlibs files with versioned "
+"dependency by default. This means that B<-VUpstream-Version> (a.k.a. B<-V>) "
+"is now the default."
+msgstr ""
+
+#. type: textblock
+#: debhelper.pod:781
+msgid ""
+"If an unversioned dependency in the shlibs file is wanted, this can be "
+"obtained by passing B<-VNone> instead. However, please see "
+"L<dh_makeshlibs(1)> for the caveat of unversioned dependencies."
+msgstr ""
+
+#. type: textblock
+#: debhelper.pod:787
#, fuzzy
#| msgid "The B<-s> (B<--same-arch>) option is removed."
msgid ""
@@ -1582,7 +1692,7 @@ msgstr "B<-s>, B<--same-arch> オプションは削除されました。"
# TRANS: 実際の warning に合わせて deprecate とする
#. type: textblock
-#: debhelper.pod:734
+#: debhelper.pod:791
msgid ""
"Invoking B<dh_clean -k> now causes an error instead of a deprecation warning."
msgstr ""
@@ -1590,14 +1700,14 @@ msgstr ""
"た。"
#. type: textblock
-#: debhelper.pod:739
+#: debhelper.pod:796
msgid ""
"The B<--no-restart-on-upgrade> option in B<dh_installinit> has been "
"removed. Please use the new name B<--no-stop-on-upgrade>"
msgstr ""
#. type: textblock
-#: debhelper.pod:744
+#: debhelper.pod:801
msgid ""
"There was a bug in the B<doit> (and similar) functions from L<Debian::"
"Debhelper::Dh_Lib> that made them spawn a shell in one particular "
@@ -1606,7 +1716,7 @@ msgid ""
msgstr ""
#. type: textblock
-#: debhelper.pod:751
+#: debhelper.pod:808
msgid ""
"The B<--list-missing> and B<--fail-missing> in B<dh_install> has been "
"removed. Please use B<dh_missing> and its corresponding options, which can "
@@ -1614,7 +1724,7 @@ msgid ""
msgstr ""
#. type: textblock
-#: debhelper.pod:757
+#: debhelper.pod:814
msgid ""
"The B<dh_installinit> helper no longer installs configuration for the "
"upstart init system. Instead, it will abort the build if it finds an old "
@@ -1623,22 +1733,97 @@ msgid ""
"versions of the package (if any)."
msgstr ""
+#. type: textblock
+#: debhelper.pod:822
+msgid ""
+"The B<dh_installdeb> tool will do basic validation of some L<dpkg-"
+"maintscript-helper(1)> commands and will error out if the commands appear to "
+"be invalid."
+msgstr ""
+
+#. type: textblock
+#: debhelper.pod:828
+msgid "The B<dh_missing> tool will now default to B<--list-missing>."
+msgstr ""
+
+#. type: textblock
+#: debhelper.pod:832
+msgid ""
+"The B<dh_makeshlibs> tool will now only pass libraries to L<dpkg-"
+"gensymbols(1)> if the ELF binary has a SONAME (containing \".so\")."
+msgstr ""
+
+#. type: textblock
+#: debhelper.pod:837
+msgid ""
+"The B<dh_compress> tool no longer compresses examples (i.e. anything "
+"installed in F<</usr/share/doc/I<package>/examples>>.)"
+msgstr ""
+
+#. type: textblock
+#: debhelper.pod:842
+msgid ""
+"The standard sequence in B<dh> now includes B<dh_dwz> and "
+"B<dh_installinitramfs> by default. This makes the B<dwz> and "
+"B<installinitramfs> sequences obsolete and they will now fail with an "
+"error. If you want to skip these commands, then please insert an empty "
+"override target for them in F<debian/rules> (e.g. I<override_dh_dwz:>)"
+msgstr ""
+
+#. type: textblock
+#: debhelper.pod:851
+msgid ""
+"The build systems B<meson> and B<autoconf> no longer explicitly set the B<--"
+"libexecdir> variable and thus relies on the build system default - which "
+"should be B</usr/libexec> (per FHS 3.0, adopted in Debian Policy 4.1.5)."
+msgstr ""
+
+#. type: textblock
+#: debhelper.pod:856
+msgid ""
+"If a particular upstream package does not use the correct default, the "
+"parameter can often be passed manually via L<dh_auto_configure(1)>. E.g. "
+"via the following example:"
+msgstr ""
+
+#. type: verbatim
+#: debhelper.pod:860
+#, fuzzy, no-wrap
+#| msgid ""
+#| "\toverride_dh_auto_configure:\n"
+#| "\t\tdh_auto_configure -- --with-foo --disable-bar\n"
+#| "\n"
+msgid ""
+" override_dh_auto_configure:\n"
+" \tdh_auto_configure -- --libexecdir=/usr/libexec\n"
+"\n"
+msgstr ""
+"\toverride_dh_auto_configure:\n"
+"\t\tdh_auto_configure -- --with-foo --disable-bar\n"
+"\n"
+
+#. type: textblock
+#: debhelper.pod:863
+msgid "Note the B<--> before the B<--libexecdir> parameter."
+msgstr ""
+
#. type: =head1
-#: debhelper.pod:767 dh_auto_test:48 dh_installcatalogs:64 dh_installdocs:178
-#: dh_installemacsen:75 dh_installexamples:85 dh_installinit:183
-#: dh_installman:124 dh_installmodules:57 dh_installudev:50 dh_installwm:58
-#: dh_installxfonts:40 dh_movefiles:67 dh_strip:119 dh_usrlocal:59
-#: dh_systemd_enable:104 dh_systemd_start:68
+#: debhelper.pod:869 dh_auto_test:48 dh_dwz:57 dh_installcatalogs:64
+#: dh_installdocs:192 dh_installemacsen:75 dh_installexamples:89
+#: dh_installinit:205 dh_installinitramfs:53 dh_installman:128
+#: dh_installmodules:57 dh_installudev:50 dh_installwm:63 dh_installxfonts:40
+#: dh_movefiles:67 dh_strip:119 dh_usrlocal:60 dh_systemd_enable:104
+#: dh_systemd_start:68
msgid "NOTES"
msgstr "付記"
#. type: =head2
-#: debhelper.pod:769
+#: debhelper.pod:871
msgid "Multiple binary package support"
msgstr "複数のバイナリパッケージのサポート"
#. type: textblock
-#: debhelper.pod:771
+#: debhelper.pod:873
msgid ""
"If your source package generates more than one binary package, debhelper "
"programs will default to acting on all binary packages when run. If your "
@@ -1657,7 +1842,7 @@ msgstr ""
"indep ターゲットで生成する必要がある為です。"
#. type: textblock
-#: debhelper.pod:779
+#: debhelper.pod:881
msgid ""
"To facilitate this, as well as give you more control over which packages are "
"acted on by debhelper programs, all debhelper programs accept the B<-a>, B<-"
@@ -1672,7 +1857,7 @@ msgstr ""
"ルに列挙されたすべてのパッケージに対して処理を行います。"
#. type: textblock
-#: debhelper.pod:785
+#: debhelper.pod:887
msgid ""
"First, any package whose B<Architecture> field in B<debian/control> does not "
"match the B<DEB_HOST_ARCH> architecture will be excluded (L<Debian Policy, "
@@ -1683,7 +1868,7 @@ msgstr ""
"5.6.8 章>)。"
#. type: textblock
-#: debhelper.pod:789
+#: debhelper.pod:891
msgid ""
"Also, some additional packages may be excluded based on the contents of the "
"B<DEB_BUILD_PROFILES> environment variable and B<Build-Profiles> fields in "
@@ -1696,12 +1881,12 @@ msgstr ""
"ます。"
#. type: =head3
-#: debhelper.pod:794
+#: debhelper.pod:896
msgid "Interaction between package selections and Build-Profiles"
msgstr ""
#. type: textblock
-#: debhelper.pod:796
+#: debhelper.pod:898
msgid ""
"Build-Profiles affect which packages are included in the package selections "
"mechanisms in debhelper. Generally, the package selections are described "
@@ -1711,19 +1896,19 @@ msgid ""
msgstr ""
#. type: =item
-#: debhelper.pod:804
+#: debhelper.pod:906
msgid "-a/--arch, -i/--indep OR no selection options (a raw \"dh_X\" call)"
msgstr ""
#. type: textblock
-#: debhelper.pod:806
+#: debhelper.pod:908
msgid ""
"The package disabled by Build-Profiles is silently excluded from the "
"selection."
msgstr ""
#. type: textblock
-#: debhelper.pod:809
+#: debhelper.pod:911
msgid ""
"Note you will receive a warning if I<all> packages related to these "
"selections are disabled. In that case, it generally does not make sense to "
@@ -1731,31 +1916,31 @@ msgid ""
msgstr ""
#. type: =item
-#: debhelper.pod:813
+#: debhelper.pod:915
#, fuzzy
#| msgid "B<-N>I<package>, B<--no-package=>I<package>"
msgid "-N I<package> / --no-package I<package>"
msgstr "B<-N>I<package>, B<--no-package=>I<package>"
#. type: textblock
-#: debhelper.pod:815
+#: debhelper.pod:917
msgid "The option is accepted and effectively does nothing."
msgstr ""
#. type: =item
-#: debhelper.pod:817
+#: debhelper.pod:919
#, fuzzy
#| msgid "B<-p>I<package>, B<--package=>I<package>"
msgid "-p I<package> / --package I<package>"
msgstr "B<-p>I<package>, B<--package=>I<package>"
#. type: textblock
-#: debhelper.pod:819
+#: debhelper.pod:921
msgid "The option is accepted, but debhelper will not act on the package."
msgstr ""
#. type: textblock
-#: debhelper.pod:823
+#: debhelper.pod:925
msgid ""
"Note that it does not matter whether a package is enabled or disabled by "
"default."
@@ -1763,12 +1948,12 @@ msgstr ""
# note: it should be "Debian maintainer scripts"?
#. type: =head2
-#: debhelper.pod:826
+#: debhelper.pod:928
msgid "Automatic generation of Debian install scripts"
msgstr "メンテナスクリプトの自動生成"
#. type: textblock
-#: debhelper.pod:828
+#: debhelper.pod:930
msgid ""
"Some debhelper commands will automatically generate parts of Debian "
"maintainer scripts. If you want these automatically generated things "
@@ -1784,7 +1969,7 @@ msgstr ""
"へ置換されます。"
#. type: textblock
-#: debhelper.pod:835
+#: debhelper.pod:937
msgid ""
"If a script does not exist at all and debhelper needs to add something to "
"it, then debhelper will create the complete script."
@@ -1793,7 +1978,7 @@ msgstr ""
"ある場合、debhelper はスクリプトを一式生成します。"
#. type: textblock
-#: debhelper.pod:838
+#: debhelper.pod:940
msgid ""
"All debhelper commands that automatically generate code in this way let it "
"be disabled by the -n parameter (see above)."
@@ -1802,7 +1987,7 @@ msgstr ""
"の自動生成を行わないようにできます (上記参照)。"
#. type: textblock
-#: debhelper.pod:841
+#: debhelper.pod:943
msgid ""
"Note that the inserted code will be shell code, so you cannot directly use "
"it in a Perl script. If you would like to embed it into a Perl script, here "
@@ -1814,7 +1999,7 @@ msgstr ""
"例を挙げます ($1, $2 等は set コマンドにより設定される事に注意):"
#. type: verbatim
-#: debhelper.pod:846
+#: debhelper.pod:948
#, no-wrap
msgid ""
" my $temp=\"set -e\\nset -- @ARGV\\n\" . << 'EOF';\n"
@@ -1846,12 +2031,12 @@ msgstr ""
"\n"
#. type: =head2
-#: debhelper.pod:859
+#: debhelper.pod:961
msgid "Automatic generation of miscellaneous dependencies."
msgstr "様々な依存関係の自動生成"
#. type: textblock
-#: debhelper.pod:861
+#: debhelper.pod:963
msgid ""
"Some debhelper commands may make the generated package need to depend on "
"some other packages. For example, if you use L<dh_installdebconf(1)>, your "
@@ -1870,7 +2055,7 @@ msgstr ""
"ます。"
#. type: textblock
-#: debhelper.pod:869
+#: debhelper.pod:971
msgid ""
"All commands of this type, besides documenting what dependencies may be "
"needed on their man pages, will automatically generate a substvar called B<"
@@ -1884,7 +2069,7 @@ msgstr ""
"ります。"
#. type: textblock
-#: debhelper.pod:874
+#: debhelper.pod:976
msgid ""
"This is entirely independent of the standard B<${shlibs:Depends}> generated "
"by L<dh_makeshlibs(1)>, and the B<${perl:Depends}> generated by "
@@ -1897,12 +2082,12 @@ msgstr ""
"は、これらを使わないようにすることも可能です。"
#. type: =head2
-#: debhelper.pod:879
+#: debhelper.pod:981
msgid "Package build directories"
msgstr "パッケージビルドディレクトリ"
#. type: textblock
-#: debhelper.pod:881
+#: debhelper.pod:983
msgid ""
"By default, all debhelper programs assume that the temporary directory used "
"for assembling the tree of files in a package is debian/I<package>."
@@ -1911,7 +2096,7 @@ msgstr ""
"まとめる一時ディレクトリとして debian/I<package> ディレクトリを使用します。"
#. type: textblock
-#: debhelper.pod:884
+#: debhelper.pod:986
msgid ""
"Sometimes, you might want to use some other temporary directory. This is "
"supported by the B<-P> flag. For example, \"B<dh_installdocs -Pdebian/tmp>"
@@ -1930,12 +2115,12 @@ msgstr ""
"ます。"
#. type: =head2
-#: debhelper.pod:892
+#: debhelper.pod:994
msgid "udebs"
msgstr "udeb パッケージについて"
#. type: textblock
-#: debhelper.pod:894
+#: debhelper.pod:996
msgid ""
"Debhelper includes support for udebs. To create a udeb with debhelper, add "
"\"B<Package-Type: udeb>\" to the package's stanza in F<debian/control>. "
@@ -1952,12 +2137,12 @@ msgstr ""
"いたものです。"
#. type: =head1
-#: debhelper.pod:901
+#: debhelper.pod:1003
msgid "ENVIRONMENT"
msgstr "環境変数"
#. type: textblock
-#: debhelper.pod:903
+#: debhelper.pod:1005
msgid ""
"The following environment variables can influence the behavior of "
"debhelper. It is important to note that these must be actual environment "
@@ -1972,12 +2157,12 @@ msgstr ""
"す。"
#. type: =item
-#: debhelper.pod:911
+#: debhelper.pod:1013
msgid "B<DH_VERBOSE>"
msgstr "B<DH_VERBOSE>"
#. type: textblock
-#: debhelper.pod:913
+#: debhelper.pod:1015
msgid ""
"Set to B<1> to enable verbose mode. Debhelper will output every command it "
"runs. Also enables verbose build logs for some build systems like autoconf."
@@ -1987,12 +2172,12 @@ msgstr ""
"ても冗長出力されたビルドログを有効にします。"
#. type: =item
-#: debhelper.pod:916
+#: debhelper.pod:1018
msgid "B<DH_QUIET>"
msgstr "B<DH_QUIET>"
#. type: textblock
-#: debhelper.pod:918
+#: debhelper.pod:1020
msgid ""
"Set to B<1> to enable quiet mode. Debhelper will not output commands calling "
"the upstream build system nor will dh print which subcommands are called and "
@@ -2008,12 +2193,12 @@ msgstr ""
"す。"
#. type: =item
-#: debhelper.pod:925
+#: debhelper.pod:1027
msgid "B<DH_COMPAT>"
msgstr "B<DH_COMPAT>"
#. type: textblock
-#: debhelper.pod:927
+#: debhelper.pod:1029
msgid ""
"Temporarily specifies what compatibility level debhelper should run at, "
"overriding any value in F<debian/compat>."
@@ -2022,22 +2207,22 @@ msgstr ""
"のです。こちらを指定すると F<debian/compat> の値を上書きします。"
#. type: =item
-#: debhelper.pod:930
+#: debhelper.pod:1032
msgid "B<DH_NO_ACT>"
msgstr "B<DH_NO_ACT>"
#. type: textblock
-#: debhelper.pod:932
+#: debhelper.pod:1034
msgid "Set to B<1> to enable no-act mode."
msgstr "B<1> に設定すると、何もしない (no-act) モードになります。"
#. type: =item
-#: debhelper.pod:934
+#: debhelper.pod:1036
msgid "B<DH_OPTIONS>"
msgstr "B<DH_OPTIONS>"
#. type: textblock
-#: debhelper.pod:936
+#: debhelper.pod:1038
msgid ""
"Anything in this variable will be prepended to the command line arguments of "
"all debhelper commands."
@@ -2046,7 +2231,7 @@ msgstr ""
"うになります。"
#. type: textblock
-#: debhelper.pod:939
+#: debhelper.pod:1041
msgid ""
"When using L<dh(1)>, it can be passed options that will be passed on to each "
"debhelper command, which is generally better than using DH_OPTIONS."
@@ -2056,12 +2241,12 @@ msgstr ""
"法です。"
#. type: =item
-#: debhelper.pod:942
+#: debhelper.pod:1044
msgid "B<DH_ALWAYS_EXCLUDE>"
msgstr "B<DH_ALWAYS_EXCLUDE>"
#. type: textblock
-#: debhelper.pod:944
+#: debhelper.pod:1046
msgid ""
"If set, this adds the value the variable is set to to the B<-X> options of "
"all commands that support the B<-X> option. Moreover, B<dh_builddeb> will "
@@ -2073,7 +2258,7 @@ msgstr ""
"チするもの全部を B<rm -rf> するようになります。"
#. type: textblock
-#: debhelper.pod:948
+#: debhelper.pod:1050
msgid ""
"This can be useful if you are doing a build from a CVS source tree, in which "
"case setting B<DH_ALWAYS_EXCLUDE=CVS> will prevent any CVS directories from "
@@ -2090,7 +2275,7 @@ msgstr ""
"ようとも効果を発揮するようになります。"
#. type: textblock
-#: debhelper.pod:955
+#: debhelper.pod:1057
msgid ""
"Multiple things to exclude can be separated with colons, as in "
"B<DH_ALWAYS_EXCLUDE=CVS:.svn>"
@@ -2098,77 +2283,102 @@ msgstr ""
"除外したいものを複数指定したい場合は、B<DH_ALWAYS_EXCLUDE=CVS:.svn> のように"
"コロンで区切ってください。"
+#. type: =item
+#: debhelper.pod:1060
+#, fuzzy
+#| msgid "B<DH_OPTIONS>"
+msgid "B<DH_EXTRA_ADDONS>"
+msgstr "B<DH_OPTIONS>"
+
+#. type: textblock
+#: debhelper.pod:1062
+msgid ""
+"If set, this adds the specified dh addons to be run in the appropriate "
+"places in the sequence of commands. This is equivalent to specifying the "
+"addon to run with the --with flag in the debian/rules file. Any --without "
+"calls specifying an addon in this environment variable will not be run."
+msgstr ""
+
+#. type: textblock
+#: debhelper.pod:1067
+msgid ""
+"This is intended to be used by downstreams or specific local configurations "
+"that require a debhelper addon to be run during multiple builds without "
+"having to patch a large number of rules file. If at all possible, this "
+"should be avoided in favor of a --with flag in the rules file."
+msgstr ""
+
#. type: =head1
-#: debhelper.pod:960 debhelper-obsolete-compat.pod:118 dh:1113 dh_auto_build:53
-#: dh_auto_clean:55 dh_auto_configure:58 dh_auto_install:97 dh_auto_test:64
-#: dh_bugfiles:133 dh_builddeb:183 dh_clean:184 dh_compress:237 dh_fixperms:162
-#: dh_gconf:101 dh_gencontrol:199 dh_icons:75 dh_install:363
-#: dh_installcatalogs:125 dh_installchangelogs:243 dh_installcron:78
-#: dh_installdeb:217 dh_installdebconf:128 dh_installdirs:97 dh_installdocs:427
-#: dh_installemacsen:137 dh_installexamples:171 dh_installifupdown:72
-#: dh_installinfo:99 dh_installinit:370 dh_installlogcheck:81
-#: dh_installlogrotate:53 dh_installman:358 dh_installmanpages:198
-#: dh_installmenu:88 dh_installmime:63 dh_installmodules:109 dh_installpam:62
-#: dh_installppp:68 dh_installudev:100 dh_installwm:122 dh_installxfonts:92
-#: dh_link:163 dh_lintian:60 dh_listpackages:33 dh_makeshlibs:291
-#: dh_md5sums:109 dh_movefiles:161 dh_perl:159 dh_prep:70 dh_shlibdeps:201
-#: dh_strip:417 dh_testdir:63 dh_testroot:74 dh_usrlocal:132
-#: dh_systemd_enable:281 dh_systemd_start:269
+#: debhelper.pod:1074 debhelper-obsolete-compat.pod:118 dh:1093
+#: dh_auto_build:53 dh_auto_clean:55 dh_auto_configure:58 dh_auto_install:97
+#: dh_auto_test:64 dh_bugfiles:133 dh_builddeb:182 dh_clean:185 dh_compress:236
+#: dh_dwz:141 dh_fixperms:162 dh_gconf:101 dh_gencontrol:207 dh_icons:75
+#: dh_install:350 dh_installcatalogs:125 dh_installchangelogs:300
+#: dh_installcron:78 dh_installdeb:266 dh_installdebconf:128 dh_installdirs:128
+#: dh_installdocs:444 dh_installemacsen:137 dh_installexamples:175
+#: dh_installifupdown:72 dh_installinfo:107 dh_installinit:406
+#: dh_installinitramfs:86 dh_installlogcheck:81 dh_installlogrotate:53
+#: dh_installman:362 dh_installmanpages:198 dh_installmenu:88 dh_installmime:63
+#: dh_installmodules:109 dh_installpam:62 dh_installppp:68 dh_installudev:100
+#: dh_installwm:127 dh_installxfonts:96 dh_link:163 dh_lintian:60
+#: dh_listpackages:35 dh_makeshlibs:355 dh_md5sums:117 dh_movefiles:161
+#: dh_perl:159 dh_prep:70 dh_shlibdeps:199 dh_strip:426 dh_testdir:63
+#: dh_testroot:91 dh_usrlocal:136 dh_systemd_enable:281 dh_systemd_start:269
msgid "SEE ALSO"
msgstr "参照"
#. type: =item
-#: debhelper.pod:964
+#: debhelper.pod:1078
msgid "F</usr/share/doc/debhelper/examples/>"
msgstr "F</usr/share/doc/debhelper/examples/>"
#. type: textblock
-#: debhelper.pod:966
+#: debhelper.pod:1080
msgid "A set of example F<debian/rules> files that use debhelper."
msgstr ""
"debhelper を使うときの F<debian/rules> ファイルの例が格納されています。"
#. type: =item
-#: debhelper.pod:968
+#: debhelper.pod:1082
msgid "L<http://joeyh.name/code/debhelper/>"
msgstr "L<http://joeyh.name/code/debhelper/>"
#. type: textblock
-#: debhelper.pod:970
+#: debhelper.pod:1084
msgid "Debhelper web site."
msgstr "Debhelper の Web サイトです。"
#. type: =head1
-#: debhelper.pod:974 dh:1119 dh_auto_build:59 dh_auto_clean:61
+#: debhelper.pod:1088 dh:1099 dh_auto_build:59 dh_auto_clean:61
#: dh_auto_configure:64 dh_auto_install:103 dh_auto_test:70 dh_bugfiles:141
-#: dh_builddeb:189 dh_clean:190 dh_compress:243 dh_fixperms:168 dh_gconf:107
-#: dh_gencontrol:205 dh_icons:81 dh_install:369 dh_installcatalogs:131
-#: dh_installchangelogs:249 dh_installcron:84 dh_installdeb:223
-#: dh_installdebconf:134 dh_installdirs:103 dh_installdocs:433
-#: dh_installemacsen:144 dh_installexamples:177 dh_installifupdown:78
-#: dh_installinfo:105 dh_installlogcheck:87 dh_installlogrotate:59
-#: dh_installman:364 dh_installmanpages:204 dh_installmenu:96 dh_installmime:69
-#: dh_installmodules:115 dh_installpam:68 dh_installppp:74 dh_installudev:106
-#: dh_installwm:128 dh_installxfonts:98 dh_link:169 dh_lintian:68
-#: dh_listpackages:39 dh_makeshlibs:297 dh_md5sums:115 dh_movefiles:167
-#: dh_perl:165 dh_prep:76 dh_shlibdeps:207 dh_strip:423 dh_testdir:69
-#: dh_testroot:80 dh_usrlocal:138
+#: dh_builddeb:188 dh_clean:191 dh_compress:242 dh_dwz:147 dh_fixperms:168
+#: dh_gconf:107 dh_gencontrol:213 dh_icons:81 dh_install:356
+#: dh_installcatalogs:131 dh_installchangelogs:306 dh_installcron:84
+#: dh_installdeb:272 dh_installdebconf:134 dh_installdirs:134
+#: dh_installdocs:450 dh_installemacsen:144 dh_installexamples:181
+#: dh_installifupdown:78 dh_installinfo:113 dh_installlogcheck:87
+#: dh_installlogrotate:59 dh_installman:368 dh_installmanpages:204
+#: dh_installmenu:96 dh_installmime:69 dh_installmodules:115 dh_installpam:68
+#: dh_installppp:74 dh_installudev:106 dh_installwm:133 dh_installxfonts:102
+#: dh_link:169 dh_lintian:68 dh_listpackages:41 dh_makeshlibs:361
+#: dh_md5sums:123 dh_movefiles:167 dh_perl:165 dh_prep:76 dh_shlibdeps:205
+#: dh_strip:432 dh_testdir:69 dh_testroot:97 dh_usrlocal:142
msgid "AUTHOR"
msgstr "作者"
#. type: textblock
-#: debhelper.pod:976 dh:1121 dh_auto_build:61 dh_auto_clean:63
-#: dh_auto_configure:66 dh_auto_install:105 dh_auto_test:72 dh_builddeb:191
-#: dh_clean:192 dh_compress:245 dh_fixperms:170 dh_gencontrol:207
-#: dh_install:371 dh_installchangelogs:251 dh_installcron:86 dh_installdeb:225
-#: dh_installdebconf:136 dh_installdirs:105 dh_installdocs:435
-#: dh_installemacsen:146 dh_installexamples:179 dh_installifupdown:80
-#: dh_installinfo:107 dh_installinit:378 dh_installlogrotate:61
-#: dh_installman:366 dh_installmanpages:206 dh_installmenu:98 dh_installmime:71
+#: debhelper.pod:1090 dh:1101 dh_auto_build:61 dh_auto_clean:63
+#: dh_auto_configure:66 dh_auto_install:105 dh_auto_test:72 dh_builddeb:190
+#: dh_clean:193 dh_compress:244 dh_fixperms:170 dh_gencontrol:215
+#: dh_install:358 dh_installchangelogs:308 dh_installcron:86 dh_installdeb:274
+#: dh_installdebconf:136 dh_installdirs:136 dh_installdocs:452
+#: dh_installemacsen:146 dh_installexamples:183 dh_installifupdown:80
+#: dh_installinfo:115 dh_installinit:414 dh_installlogrotate:61
+#: dh_installman:370 dh_installmanpages:206 dh_installmenu:98 dh_installmime:71
#: dh_installmodules:117 dh_installpam:70 dh_installppp:76 dh_installudev:108
-#: dh_installwm:130 dh_installxfonts:100 dh_link:171 dh_listpackages:41
-#: dh_makeshlibs:299 dh_md5sums:117 dh_movefiles:169 dh_prep:78
-#: dh_shlibdeps:209 dh_strip:425 dh_testdir:71 dh_testroot:82
+#: dh_installwm:135 dh_installxfonts:104 dh_link:171 dh_listpackages:43
+#: dh_makeshlibs:363 dh_md5sums:125 dh_movefiles:169 dh_prep:78
+#: dh_shlibdeps:207 dh_strip:434 dh_testdir:71 dh_testroot:99
msgid "Joey Hess <joeyh@debian.org>"
msgstr "Joey Hess <joeyh@debian.org>"
@@ -2356,30 +2566,30 @@ msgstr ""
"ようになりました。"
#. type: textblock
-#: debhelper-obsolete-compat.pod:120 dh:1115 dh_auto_build:55 dh_auto_clean:57
-#: dh_auto_configure:60 dh_auto_install:99 dh_auto_test:66 dh_builddeb:185
-#: dh_clean:186 dh_compress:239 dh_fixperms:164 dh_gconf:103 dh_gencontrol:201
-#: dh_install:365 dh_installcatalogs:127 dh_installchangelogs:245
-#: dh_installcron:80 dh_installdeb:219 dh_installdebconf:130 dh_installdirs:99
-#: dh_installdocs:429 dh_installexamples:173 dh_installifupdown:74
-#: dh_installinfo:101 dh_installinit:372 dh_installlogcheck:83
-#: dh_installlogrotate:55 dh_installman:360 dh_installmanpages:200
-#: dh_installmime:65 dh_installmodules:111 dh_installpam:64 dh_installppp:70
-#: dh_installudev:102 dh_installwm:124 dh_installxfonts:94 dh_link:165
-#: dh_listpackages:35 dh_makeshlibs:293 dh_md5sums:111 dh_movefiles:163
-#: dh_perl:161 dh_prep:72 dh_strip:419 dh_testdir:65 dh_testroot:76
-#: dh_usrlocal:134 dh_systemd_start:271
+#: debhelper-obsolete-compat.pod:120 dh:1095 dh_auto_build:55 dh_auto_clean:57
+#: dh_auto_configure:60 dh_auto_install:99 dh_auto_test:66 dh_builddeb:184
+#: dh_clean:187 dh_compress:238 dh_dwz:143 dh_fixperms:164 dh_gconf:103
+#: dh_gencontrol:209 dh_install:352 dh_installcatalogs:127
+#: dh_installchangelogs:302 dh_installcron:80 dh_installdeb:268
+#: dh_installdebconf:130 dh_installdirs:130 dh_installdocs:446
+#: dh_installexamples:177 dh_installifupdown:74 dh_installinfo:109
+#: dh_installlogcheck:83 dh_installlogrotate:55 dh_installman:364
+#: dh_installmanpages:200 dh_installmime:65 dh_installmodules:111
+#: dh_installpam:64 dh_installppp:70 dh_installudev:102 dh_installwm:129
+#: dh_installxfonts:98 dh_link:165 dh_listpackages:37 dh_makeshlibs:357
+#: dh_md5sums:119 dh_movefiles:163 dh_perl:161 dh_prep:72 dh_strip:428
+#: dh_testdir:65 dh_testroot:93 dh_usrlocal:138 dh_systemd_start:271
msgid "L<debhelper(7)>"
msgstr "L<debhelper(7)>"
#. type: =head1
-#: debhelper-obsolete-compat.pod:122 dh_installinit:376 dh_systemd_enable:285
+#: debhelper-obsolete-compat.pod:122 dh_installinit:412 dh_systemd_enable:285
#: dh_systemd_start:273
msgid "AUTHORS"
msgstr "作者"
#. type: textblock
-#: debhelper-obsolete-compat.pod:124
+#: debhelper-obsolete-compat.pod:124 dh_dwz:149
msgid "Niels Thykier <niels@thykier.net>"
msgstr "Niels Thykier <niels@thykier.net>"
@@ -2394,7 +2604,7 @@ msgid "dh - debhelper command sequencer"
msgstr "dh - debhelper コマンドシーケンサー"
#. type: textblock
-#: dh:17
+#: dh:18
msgid ""
"B<dh> I<sequence> [B<--with> I<addon>[B<,>I<addon> ...]] [B<--list>] "
"[S<I<debhelper options>>]"
@@ -2403,7 +2613,7 @@ msgstr ""
"[S<I<debhelper オプション>>]"
#. type: textblock
-#: dh:21
+#: dh:22
msgid ""
"B<dh> runs a sequence of debhelper commands. The supported I<sequence>s "
"correspond to the targets of a F<debian/rules> file: B<build-arch>, B<build-"
@@ -2417,12 +2627,12 @@ msgstr ""
"す。"
#. type: =head1
-#: dh:26
+#: dh:27
msgid "OVERRIDE TARGETS"
msgstr "override ターゲット"
#. type: textblock
-#: dh:28
+#: dh:29
msgid ""
"A F<debian/rules> file using B<dh> can override the command that is run at "
"any step in a sequence, by defining an override target."
@@ -2432,7 +2642,7 @@ msgstr ""
# Build-Depend -> Build-Depends
#. type: textblock
-#: dh:31
+#: dh:32
msgid ""
"To override I<dh_command>, add a target named B<override_>I<dh_command> to "
"the rules file. When it would normally run I<dh_command>, B<dh> will instead "
@@ -2448,7 +2658,7 @@ msgstr ""
# Build-Depend"s"
#. type: textblock
-#: dh:37
+#: dh:38
msgid ""
"Override targets can also be defined to run only when building architecture "
"dependent or architecture independent packages. Use targets with names like "
@@ -2464,28 +2674,29 @@ msgstr ""
"す)。"
#. type: =head1
-#: dh:44 dh_auto_build:32 dh_auto_clean:33 dh_auto_configure:35
+#: dh:45 dh_auto_build:32 dh_auto_clean:33 dh_auto_configure:35
#: dh_auto_install:46 dh_auto_test:34 dh_bugfiles:53 dh_builddeb:34 dh_clean:47
-#: dh_compress:52 dh_fixperms:40 dh_gconf:42 dh_gencontrol:38 dh_icons:33
-#: dh_install:72 dh_installcatalogs:53 dh_installchangelogs:62
-#: dh_installcron:43 dh_installdebconf:64 dh_installdirs:42 dh_installdocs:86
-#: dh_installemacsen:56 dh_installexamples:37 dh_installifupdown:42
-#: dh_installinfo:34 dh_installinit:73 dh_installlogcheck:45
-#: dh_installlogrotate:25 dh_installman:79 dh_installmanpages:43
-#: dh_installmenu:44 dh_installmodules:41 dh_installpam:34 dh_installppp:38
-#: dh_installudev:34 dh_installwm:38 dh_link:66 dh_makeshlibs:52 dh_md5sums:31
-#: dh_movefiles:41 dh_perl:34 dh_prep:29 dh_shlibdeps:30 dh_strip:38
-#: dh_testdir:26 dh_usrlocal:49 dh_systemd_enable:83 dh_systemd_start:33
+#: dh_compress:52 dh_dwz:26 dh_fixperms:40 dh_gconf:42 dh_gencontrol:38
+#: dh_icons:33 dh_install:66 dh_installcatalogs:53 dh_installchangelogs:73
+#: dh_installcron:43 dh_installdebconf:64 dh_installdirs:42 dh_installdocs:90
+#: dh_installemacsen:56 dh_installexamples:41 dh_installifupdown:42
+#: dh_installinfo:38 dh_installinit:78 dh_installinitramfs:43
+#: dh_installlogcheck:45 dh_installlogrotate:25 dh_installman:83
+#: dh_installmanpages:43 dh_installmenu:44 dh_installmodules:41
+#: dh_installpam:34 dh_installppp:38 dh_installudev:34 dh_installwm:38
+#: dh_link:66 dh_makeshlibs:52 dh_md5sums:31 dh_movefiles:41 dh_perl:34
+#: dh_prep:29 dh_shlibdeps:30 dh_strip:38 dh_testdir:26 dh_usrlocal:50
+#: dh_systemd_enable:83 dh_systemd_start:33
msgid "OPTIONS"
msgstr "オプション"
#. type: =item
-#: dh:48
+#: dh:49
msgid "B<--with> I<addon>[B<,>I<addon> ...]"
msgstr "B<--with> I<addon>[B<,>I<addon> ...]"
#. type: textblock
-#: dh:50
+#: dh:51
msgid ""
"Add the debhelper commands specified by the given addon to appropriate "
"places in the sequence of commands that is run. This option can be repeated "
@@ -2500,13 +2711,26 @@ msgstr ""
"サードパーティ製パッケージと共に利用する時に使います。F<PROGRAMMING> ファイル"
"に、一連のアドオン用インターフェースについてのドキュメントがあります。"
+#. type: textblock
+#: dh:58
+msgid ""
+"A B<Build-Depends> relation on the package B<dh-sequence->I<addon> implies a "
+"B<--with> I<addon>. This avoids the need for an explicit B<--with> in "
+"F<debian/rules> that only duplicates what is already declared via the build "
+"dependencies in F<debian/control>. Note that only relations in the B<Build-"
+"Depends> field are considered (i.e. B<Build-Depends-Indep> and B<Build-"
+"Depends-Arch> are deliberately unsupported). Please keep in mind that B<dh> "
+"insists on \"simple\" relations (e.g. a relation like \"B<dh-sequence-"
+">I<addon> | B<some-other-pkg>\" will I<not> imply B<--with> I<addon>)."
+msgstr ""
+
#. type: =item
-#: dh:57
+#: dh:68
msgid "B<--without> I<addon>"
msgstr "B<--without> I<addon>"
#. type: textblock
-#: dh:59
+#: dh:70
msgid ""
"The inverse of B<--with>, disables using the given addon. This option can be "
"repeated more than once, or multiple addons to disable can be listed, "
@@ -2516,19 +2740,19 @@ msgstr ""
"し指定することもできますし、アドオン名をカンマ区切りで指定もできます。"
#. type: textblock
-#: dh:65
+#: dh:76
msgid "List all available addons."
msgstr "利用可能なアドオン一覧を表示する。"
#. type: textblock
-#: dh:67
+#: dh:78
msgid ""
"When called only with this option, B<dh> can be called from any directory (i."
"e. it does not need access to files from a source package)."
msgstr ""
#. type: textblock
-#: dh:73
+#: dh:84
msgid ""
"Prints commands that would run for a given sequence, but does not run them."
msgstr ""
@@ -2536,7 +2760,7 @@ msgstr ""
"は実行しません。"
#. type: textblock
-#: dh:75
+#: dh:86
msgid ""
"Note that dh normally skips running commands that it knows will do nothing. "
"With --no-act, the full list of commands in a sequence is printed."
@@ -2546,7 +2770,7 @@ msgstr ""
"て出力します。"
#. type: textblock
-#: dh:80
+#: dh:91
msgid ""
"Other options passed to B<dh> are passed on to each command it runs. This "
"can be used to set an option like B<-v> or B<-X> or B<-N>, as well as for "
@@ -2557,13 +2781,13 @@ msgstr ""
"た、他の特別なオプションについても同様となります。"
#. type: =head1
-#: dh:84 dh_installdocs:167 dh_installman:110 dh_link:88 dh_makeshlibs:109
+#: dh:95 dh_installdocs:181 dh_installman:114 dh_link:88 dh_makeshlibs:155
#: dh_shlibdeps:78
msgid "EXAMPLES"
msgstr "使用例"
#. type: textblock
-#: dh:86
+#: dh:97
msgid ""
"To see what commands are included in a sequence, without actually doing "
"anything:"
@@ -2571,7 +2795,7 @@ msgstr ""
"コマンドを実際には動作させず、一連の動作でどのコマンドが実行されるかを見る:"
#. type: verbatim
-#: dh:89
+#: dh:100
#, no-wrap
msgid ""
"\tdh binary-arch --no-act\n"
@@ -2581,7 +2805,7 @@ msgstr ""
"\n"
#. type: textblock
-#: dh:91
+#: dh:102
msgid ""
"This is a very simple rules file, for packages where the default sequences "
"of commands work with no additional options."
@@ -2590,7 +2814,7 @@ msgstr ""
"ション無しでデフォルトのコマンド群が呼び出されます。"
#. type: verbatim
-#: dh:94 dh:115 dh:128
+#: dh:105 dh:126 dh:139
#, no-wrap
msgid ""
"\t#!/usr/bin/make -f\n"
@@ -2604,7 +2828,7 @@ msgstr ""
"\n"
#. type: textblock
-#: dh:98
+#: dh:109
msgid ""
"Often you'll want to pass an option to a specific debhelper command. The "
"easy way to do with is by adding an override target for that command."
@@ -2613,7 +2837,7 @@ msgstr ""
"行う方法は、そのコマンドへ override を追加することです。"
#. type: verbatim
-#: dh:101 dh:185 dh:196
+#: dh:112 dh:196 dh:207
#, no-wrap
msgid ""
"\t#!/usr/bin/make -f\n"
@@ -2627,7 +2851,7 @@ msgstr ""
"\t\n"
#. type: verbatim
-#: dh:105
+#: dh:116
#, no-wrap
msgid ""
"\toverride_dh_strip:\n"
@@ -2639,7 +2863,7 @@ msgstr ""
"\t\n"
#. type: verbatim
-#: dh:108
+#: dh:119
#, no-wrap
msgid ""
"\toverride_dh_auto_configure:\n"
@@ -2651,7 +2875,7 @@ msgstr ""
"\n"
#. type: textblock
-#: dh:111
+#: dh:122
msgid ""
"Sometimes the automated L<dh_auto_configure(1)> and L<dh_auto_build(1)> "
"can't guess what to do for a strange package. Here's how to avoid running "
@@ -2663,7 +2887,7 @@ msgstr ""
"を実行させる方法を示します。 "
#. type: verbatim
-#: dh:119
+#: dh:130
#, no-wrap
msgid ""
"\toverride_dh_auto_configure:\n"
@@ -2675,7 +2899,7 @@ msgstr ""
"\n"
#. type: verbatim
-#: dh:122
+#: dh:133
#, no-wrap
msgid ""
"\toverride_dh_auto_build:\n"
@@ -2687,7 +2911,7 @@ msgstr ""
"\n"
#. type: textblock
-#: dh:125
+#: dh:136
msgid ""
"Another common case is wanting to do something manually before or after a "
"particular debhelper command is run."
@@ -2696,7 +2920,7 @@ msgstr ""
"したい場合があります。"
#. type: verbatim
-#: dh:132
+#: dh:143
#, no-wrap
msgid ""
"\toverride_dh_fixperms:\n"
@@ -2710,7 +2934,7 @@ msgstr ""
"\n"
#. type: textblock
-#: dh:136
+#: dh:147
#, fuzzy
#| msgid ""
#| "Python tools are not run by dh by default, due to the continual change in "
@@ -2725,7 +2949,7 @@ msgstr ""
"を実行します)。ここでは、B<dh_python2> をどのようにして使うかを示します。"
#. type: verbatim
-#: dh:139
+#: dh:150
#, no-wrap
msgid ""
"\t#!/usr/bin/make -f\n"
@@ -2739,7 +2963,7 @@ msgstr ""
"\n"
#. type: textblock
-#: dh:143
+#: dh:154
msgid ""
"Here is how to force use of Perl's B<Module::Build> build system, which can "
"be necessary if debhelper wrongly detects that the package uses MakeMaker."
@@ -2749,7 +2973,7 @@ msgstr ""
"必要となります。"
#. type: verbatim
-#: dh:147
+#: dh:158
#, no-wrap
msgid ""
"\t#!/usr/bin/make -f\n"
@@ -2763,7 +2987,7 @@ msgstr ""
"\n"
#. type: textblock
-#: dh:151
+#: dh:162
msgid ""
"Here is an example of overriding where the B<dh_auto_>I<*> commands find the "
"package's source, for a package where the source is located in a "
@@ -2774,7 +2998,7 @@ msgstr ""
"す。"
#. type: verbatim
-#: dh:155
+#: dh:166
#, no-wrap
msgid ""
"\t#!/usr/bin/make -f\n"
@@ -2788,7 +3012,7 @@ msgstr ""
"\n"
#. type: textblock
-#: dh:159
+#: dh:170
msgid ""
"And here is an example of how to tell the B<dh_auto_>I<*> commands to build "
"in a subdirectory, which will be removed on B<clean>."
@@ -2798,7 +3022,7 @@ msgstr ""
"になります:"
#. type: verbatim
-#: dh:162
+#: dh:173
#, no-wrap
msgid ""
"\t#!/usr/bin/make -f\n"
@@ -2812,7 +3036,7 @@ msgstr ""
"\n"
#. type: textblock
-#: dh:166
+#: dh:177
msgid ""
"If your package can be built in parallel, please either use compat 10 or "
"pass B<--parallel> to dh. Then B<dpkg-buildpackage -j> will work."
@@ -2821,7 +3045,7 @@ msgstr ""
"parallel> を指定して下さい。すると B<dpkg-buildpackage -j> が有効になります。"
#. type: verbatim
-#: dh:169
+#: dh:180
#, no-wrap
msgid ""
"\t#!/usr/bin/make -f\n"
@@ -2835,7 +3059,7 @@ msgstr ""
"\n"
#. type: textblock
-#: dh:173
+#: dh:184
msgid ""
"If your package cannot be built reliably while using multiple threads, "
"please pass B<--no-parallel> to dh (or the relevant B<dh_auto_>I<*> command):"
@@ -2844,7 +3068,7 @@ msgstr ""
"連する B<dh_auto_>I<*> コマンド)に B<--no-parallel> を指定して下さい。"
#. type: verbatim
-#: dh:178
+#: dh:189
#, no-wrap
msgid ""
"\t#!/usr/bin/make -f\n"
@@ -2858,7 +3082,7 @@ msgstr ""
"\n"
#. type: textblock
-#: dh:182
+#: dh:193
msgid ""
"Here is a way to prevent B<dh> from running several commands that you don't "
"want it to run, by defining empty override targets for each command."
@@ -2868,7 +3092,7 @@ msgstr ""
"とにより行います。"
#. type: verbatim
-#: dh:189
+#: dh:200
#, no-wrap
msgid ""
"\t# Commands not to run:\n"
@@ -2880,7 +3104,7 @@ msgstr ""
"\n"
#. type: textblock
-#: dh:192
+#: dh:203
msgid ""
"A long build process for a separate documentation package can be separated "
"out using architecture independent overrides. These will be skipped when "
@@ -2892,7 +3116,7 @@ msgstr ""
"パッケージのビルドが省略されます。"
#. type: verbatim
-#: dh:200
+#: dh:211
#, no-wrap
msgid ""
"\toverride_dh_auto_build-indep:\n"
@@ -2904,7 +3128,7 @@ msgstr ""
"\n"
#. type: verbatim
-#: dh:203
+#: dh:214
#, no-wrap
msgid ""
"\t# No tests needed for docs\n"
@@ -2916,7 +3140,7 @@ msgstr ""
"\n"
#. type: verbatim
-#: dh:206
+#: dh:217
#, no-wrap
msgid ""
"\toverride_dh_auto_install-indep:\n"
@@ -2928,7 +3152,7 @@ msgstr ""
"\n"
#. type: textblock
-#: dh:209
+#: dh:220
msgid ""
"Adding to the example above, suppose you need to chmod a file, but only when "
"building the architecture dependent package, as it's not present when "
@@ -2939,7 +3163,7 @@ msgstr ""
"行しないとしたらどうなるでしょうか。"
#. type: verbatim
-#: dh:213
+#: dh:224
#, no-wrap
msgid ""
"\toverride_dh_fixperms-arch:\n"
@@ -2953,12 +3177,12 @@ msgstr ""
"\n"
#. type: =head1
-#: dh:217
+#: dh:228
msgid "INTERNALS"
msgstr "内部動作"
#. type: textblock
-#: dh:219
+#: dh:230
msgid ""
"If you're curious about B<dh>'s internals, here's how it works under the "
"hood."
@@ -2967,7 +3191,7 @@ msgstr ""
"を記載します。"
#. type: textblock
-#: dh:221
+#: dh:232
#, fuzzy
#| msgid ""
#| "In compat 10 (or later), B<dh> creates a stamp file F<debian/debhelper-"
@@ -2992,7 +3216,7 @@ msgstr ""
"ます。"
#. type: textblock
-#: dh:229
+#: dh:240
#, fuzzy
#| msgid ""
#| "In compat 10 (or later), B<dh> creates a stamp file F<debian/debhelper-"
@@ -3015,7 +3239,7 @@ msgstr ""
"ます。"
#. type: textblock
-#: dh:234
+#: dh:245
msgid ""
"In compat 9 or earlier, each debhelper command will record when it's "
"successfully run in F<debian/package.debhelper.log>. (Which B<dh_clean> "
@@ -3029,7 +3253,7 @@ msgstr ""
"かります。"
#. type: textblock
-#: dh:239
+#: dh:250
msgid ""
"Each time B<dh> is run (in compat 9 or earlier), it examines the log, and "
"finds the last logged command that is in the specified sequence. It then "
@@ -3044,7 +3268,7 @@ msgstr ""
"互換性レベル 10 ではこれらは削除されています)。"
#. type: textblock
-#: dh:245
+#: dh:256
msgid ""
"A sequence can also run dependent targets in debian/rules. For example, the "
"\"binary\" sequence runs the \"install\" target."
@@ -3054,7 +3278,7 @@ msgstr ""
"と、\"install\" ターゲットも実行されます。"
#. type: textblock
-#: dh:248
+#: dh:259
msgid ""
"B<dh> uses the B<DH_INTERNAL_OPTIONS> environment variable to pass "
"information through to debhelper commands that are run inside override "
@@ -3067,7 +3291,7 @@ msgstr ""
"おり、どの時点でも debhelper コマンドの動作に影響を与えます。"
#. type: textblock
-#: dh:253
+#: dh:264
msgid ""
"Commands in the B<build-indep>, B<install-indep> and B<binary-indep> "
"sequences are passed the B<-i> option to ensure they only work on "
@@ -3082,12 +3306,12 @@ msgstr ""
"れ、アーキテクチャ依存パッケージにのみ確実に作用するように動作します。 "
#. type: =head1
-#: dh:259
+#: dh:270
msgid "DEPRECATED OPTIONS"
msgstr "廃止されたオプション"
#. type: textblock
-#: dh:261
+#: dh:272
msgid ""
"The following options are deprecated. It's much better to use override "
"targets instead. They are B<not> available in compat 10."
@@ -3096,49 +3320,49 @@ msgstr ""
"推奨します。互換性レベル 10 では利用B<できません>。"
#. type: =item
-#: dh:267
+#: dh:278
msgid "B<--until> I<cmd>"
msgstr "B<--until> I<cmd>"
#. type: textblock
-#: dh:269
+#: dh:280
msgid "Run commands in the sequence until and including I<cmd>, then stop."
msgstr ""
"処理中、I<cmd> で指定されたコマンドに遭遇するまで実行し、最後に I<cmd> を実行"
"して停止します。"
#. type: =item
-#: dh:271
+#: dh:282
msgid "B<--before> I<cmd>"
msgstr "B<--before> I<cmd>"
#. type: textblock
-#: dh:273
+#: dh:284
msgid "Run commands in the sequence before I<cmd>, then stop."
msgstr "I<cmd> で指定されたコマンドまで実行して停止します。"
#. type: =item
-#: dh:275
+#: dh:286
msgid "B<--after> I<cmd>"
msgstr "B<--after> I<cmd>"
#. type: textblock
-#: dh:277
+#: dh:288
msgid "Run commands in the sequence that come after I<cmd>."
msgstr "I<cmd> で指定されたコマンドに続いて一連のコマンドを実行します。"
#. type: =item
-#: dh:279
+#: dh:290
msgid "B<--remaining>"
msgstr "B<--remaining>"
#. type: textblock
-#: dh:281
+#: dh:292
msgid "Run all commands in the sequence that have yet to be run."
msgstr "一連の処理のうち、未だ実行していないコマンドを実行します。"
#. type: textblock
-#: dh:285
+#: dh:296
msgid ""
"In the above options, I<cmd> can be a full name of a debhelper command, or a "
"substring. It'll first search for a command in the sequence exactly matching "
@@ -3152,19 +3376,20 @@ msgstr ""
"が利用されます。"
#. type: textblock
-#: dh:1117 dh_auto_build:57 dh_auto_clean:59 dh_auto_configure:62
-#: dh_auto_install:101 dh_auto_test:68 dh_bugfiles:139 dh_builddeb:187
-#: dh_clean:188 dh_compress:241 dh_fixperms:166 dh_gconf:105 dh_gencontrol:203
-#: dh_icons:79 dh_install:367 dh_installchangelogs:247 dh_installcron:82
-#: dh_installdeb:221 dh_installdebconf:132 dh_installdirs:101
-#: dh_installdocs:431 dh_installemacsen:142 dh_installexamples:175
-#: dh_installifupdown:76 dh_installinfo:103 dh_installinit:374
-#: dh_installlogrotate:57 dh_installman:362 dh_installmanpages:202
-#: dh_installmenu:94 dh_installmime:67 dh_installmodules:113 dh_installpam:66
-#: dh_installppp:72 dh_installudev:104 dh_installwm:126 dh_installxfonts:96
-#: dh_link:167 dh_lintian:64 dh_listpackages:37 dh_makeshlibs:295
-#: dh_md5sums:113 dh_movefiles:165 dh_perl:163 dh_prep:74 dh_shlibdeps:205
-#: dh_strip:421 dh_testdir:67 dh_testroot:78 dh_usrlocal:136
+#: dh:1097 dh_auto_build:57 dh_auto_clean:59 dh_auto_configure:62
+#: dh_auto_install:101 dh_auto_test:68 dh_bugfiles:139 dh_builddeb:186
+#: dh_clean:189 dh_compress:240 dh_dwz:145 dh_fixperms:166 dh_gconf:105
+#: dh_gencontrol:211 dh_icons:79 dh_install:354 dh_installchangelogs:304
+#: dh_installcron:82 dh_installdeb:270 dh_installdebconf:132 dh_installdirs:132
+#: dh_installdocs:448 dh_installemacsen:142 dh_installexamples:179
+#: dh_installifupdown:76 dh_installinfo:111 dh_installinit:410
+#: dh_installinitramfs:92 dh_installlogrotate:57 dh_installman:366
+#: dh_installmanpages:202 dh_installmenu:94 dh_installmime:67
+#: dh_installmodules:113 dh_installpam:66 dh_installppp:72 dh_installudev:104
+#: dh_installwm:131 dh_installxfonts:100 dh_link:167 dh_lintian:64
+#: dh_listpackages:39 dh_makeshlibs:359 dh_md5sums:121 dh_movefiles:165
+#: dh_perl:163 dh_prep:74 dh_shlibdeps:203 dh_strip:430 dh_testdir:67
+#: dh_testroot:95 dh_usrlocal:140
msgid "This program is a part of debhelper."
msgstr "このプログラムは debhelper の一部です。"
@@ -3221,8 +3446,8 @@ msgstr ""
#. type: =item
#: dh_auto_build:39 dh_auto_clean:40 dh_auto_configure:42 dh_auto_install:59
-#: dh_auto_test:41 dh_builddeb:48 dh_gencontrol:42 dh_installdebconf:72
-#: dh_installinit:148 dh_makeshlibs:103 dh_shlibdeps:41
+#: dh_auto_test:41 dh_builddeb:48 dh_dwz:50 dh_gencontrol:42
+#: dh_installdebconf:72 dh_installinit:167 dh_makeshlibs:149 dh_shlibdeps:41
msgid "B<--> I<params>"
msgstr "B<--> I<params>"
@@ -3544,13 +3769,14 @@ msgstr ""
#. type: =head1
#: dh_bugfiles:25 dh_clean:34 dh_compress:35 dh_gconf:26 dh_install:40
-#: dh_installcatalogs:39 dh_installchangelogs:38 dh_installcron:24
-#: dh_installdeb:25 dh_installdebconf:37 dh_installdirs:28 dh_installdocs:36
-#: dh_installemacsen:30 dh_installexamples:27 dh_installifupdown:25
-#: dh_installinfo:24 dh_installinit:36 dh_installlogcheck:24 dh_installman:69
-#: dh_installmenu:28 dh_installmime:24 dh_installmodules:31 dh_installpam:24
-#: dh_installppp:24 dh_installudev:24 dh_installwm:28 dh_link:46 dh_lintian:24
-#: dh_makeshlibs:29 dh_movefiles:29 dh_systemd_enable:41
+#: dh_installcatalogs:39 dh_installchangelogs:49 dh_installcron:24
+#: dh_installdeb:25 dh_installdebconf:37 dh_installdirs:28 dh_installdocs:40
+#: dh_installemacsen:30 dh_installexamples:31 dh_installifupdown:25
+#: dh_installinfo:28 dh_installinit:41 dh_installinitramfs:30
+#: dh_installlogcheck:24 dh_installman:73 dh_installmenu:28 dh_installmime:24
+#: dh_installmodules:31 dh_installpam:24 dh_installppp:24 dh_installudev:24
+#: dh_installwm:28 dh_link:46 dh_lintian:24 dh_makeshlibs:29 dh_movefiles:29
+#: dh_systemd_enable:41
msgid "FILES"
msgstr "ファイル"
@@ -3797,7 +4023,7 @@ msgstr ""
"あります>。これらのディレクトリ内の内容は同様に削除されます。"
#. type: =item
-#: dh_clean:51 dh_installchangelogs:66
+#: dh_clean:51 dh_installchangelogs:77
msgid "B<-k>, B<--keep>"
msgstr "B<-k>, B<--keep>"
@@ -3961,7 +4187,7 @@ msgstr ""
"ル全てを圧縮します。"
#. type: =item
-#: dh_compress:68 dh_installdocs:160 dh_installexamples:78 dh_installinfo:53
+#: dh_compress:68 dh_installdocs:174 dh_installexamples:82 dh_installinfo:57
#: dh_installmanpages:47 dh_movefiles:58 dh_testdir:30
msgid "I<file> ..."
msgstr "I<file> ..."
@@ -3972,7 +4198,7 @@ msgid "Add these files to the list of files to compress."
msgstr "これらファイルを圧縮対象のファイルとして追加します。"
#. type: =head1
-#: dh_compress:74 dh_perl:64 dh_strip:133 dh_usrlocal:65
+#: dh_compress:74 dh_perl:64 dh_strip:133 dh_usrlocal:66
msgid "CONFORMS TO"
msgstr "確認すべき事"
@@ -3982,6 +4208,98 @@ msgid "Debian policy, version 3.0"
msgstr "Debian ポリシー バージョン 3.0"
#. type: textblock
+#: dh_dwz:5
+msgid "dh_dwz - optimize DWARF debug information in ELF binaries via dwz"
+msgstr ""
+
+#. type: textblock
+#: dh_dwz:18
+#, fuzzy
+#| msgid ""
+#| "B<dh_installdebconf> [S<I<debhelper options>>] [B<-n>] [S<B<--> "
+#| "I<params>>]"
+msgid "B<dh_dwz> [S<I<debhelper options>>] [B<-X>I<item>] [S<B<--> I<params>>]"
+msgstr ""
+"B<dh_installdebconf> [S<I<debhelper options>>] [B<-n>] [S<B<--> I<params>>]"
+
+#. type: textblock
+#: dh_dwz:22
+msgid ""
+"B<dh_dwz> is a debhelper program that will optimize the (uncompressed) size "
+"of the DWARF debug information in ELF binaries. It does so by running "
+"L<dwz(1)> on all the ELF binaries in the package."
+msgstr ""
+
+#. type: =item
+#: dh_dwz:30
+msgid "B<--dwz-multifile>, B<--no-dwz-multifile>"
+msgstr ""
+
+#. type: textblock
+#: dh_dwz:32
+msgid ""
+"Whether L<dwz(1)> should generate a I<multifile> from the ELF binaries in "
+"the same package (it does by default). When enabled, if a package ships at "
+"least 2 ELF binaries, B<dh_dwz> will instruct L<dwz(1)> to generate a "
+"multifile for the package."
+msgstr ""
+
+#. type: textblock
+#: dh_dwz:37
+msgid ""
+"Note this options may not work if a package contains more ELF binaries than "
+"can fit on a single command line. If this becomes a problem, please pass "
+"B<--no-dwz-multifile> to work around the issue."
+msgstr ""
+
+#. type: textblock
+#: dh_dwz:41
+msgid ""
+"The generated multifile will be compressed with B<objcopy --compress-debug-"
+"sections>."
+msgstr ""
+
+#. type: textblock
+#: dh_dwz:46 dh_strip:44
+msgid ""
+"Exclude files that contain I<item> anywhere in their filename from being "
+"stripped. You may use this option multiple times to build up a list of "
+"things to exclude."
+msgstr ""
+"I<item> を名前に含むようなファイルを、デバッグ情報除去の対象から外します。も"
+"し、複数のファイルを処理させないように指定したければ、本オプションを複数回指"
+"定することによって行えます。"
+
+#. type: textblock
+#: dh_dwz:52
+msgid ""
+"Pass I<params> to L<dwz(1)> when it processes ELF binaries. This is mostly "
+"useful for setting memory related parameters (e.g. -l and -L)."
+msgstr ""
+
+#. type: textblock
+#: dh_dwz:59
+#, fuzzy
+msgid ""
+"If the B<DEB_BUILD_OPTIONS> environment variable contains B<nostrip>, "
+"nothing will be stripped, in accordance with Debian policy (section 10.1 "
+"\"Binaries\")."
+msgstr ""
+"B<DEB_BUILD_OPTIONS> 環境変数に B<nostrip> が含まれていると、Debian ポリシー "
+"(10.1章\"Binaries\") に従ってデバッグシンボルをまったく取り除かなくなります。"
+"これはデバッグシンボルパッケージの自動生成を"
+
+#. type: textblock
+#: dh_dwz:63
+msgid ""
+"While this tool technically does not remove debug information from binaries, "
+"it is still skipped when the B<DEB_BUILD_OPTIONS> environment variable "
+"contains B<nostrip>. This is because B<nostrip> is often used to optimize "
+"build times (e.g. for \"build and test\"-cycles) rather than optimizing for "
+"size."
+msgstr ""
+
+#. type: textblock
#: dh_fixperms:5
msgid "dh_fixperms - fix permissions of files in package build directories"
msgstr "dh_fixperms - パッケージビルドディレクトリ内のファイル権限を修正する"
@@ -4237,8 +4555,8 @@ msgstr ""
#. type: =item
#: dh_icons:37 dh_installcatalogs:57 dh_installdebconf:68 dh_installemacsen:60
-#: dh_installinit:77 dh_installmenu:48 dh_installmodules:45 dh_installwm:48
-#: dh_makeshlibs:86 dh_usrlocal:53
+#: dh_installinit:82 dh_installinitramfs:47 dh_installmenu:48
+#: dh_installmodules:45 dh_installwm:48 dh_makeshlibs:132 dh_usrlocal:54
msgid "B<-n>, B<--no-scripts>"
msgstr "B<-n>, B<--no-scripts>"
@@ -4316,9 +4634,15 @@ msgstr ""
#. type: textblock
#: dh_install:36
+#, fuzzy
+#| msgid ""
+#| "From debhelper compatibility level 7 on, B<dh_install> will fall back to "
+#| "looking in F<debian/tmp> for files, if it doesn't find them in the "
+#| "current directory (or wherever you've told it to look using B<--"
+#| "sourcedir>)."
msgid ""
"From debhelper compatibility level 7 on, B<dh_install> will fall back to "
-"looking in F<debian/tmp> for files, if it doesn't find them in the current "
+"looking in F<debian/tmp> for files, if it does not find them in the current "
"directory (or wherever you've told it to look using B<--sourcedir>)."
msgstr ""
"debhelper の互換性レベル 7 から、 B<dh_install> はファイルをカレントディレク"
@@ -4381,106 +4705,51 @@ msgstr "debian/not-installed"
#. type: textblock
#: dh_install:61
msgid ""
-"List the files that are deliberately not installed in I<any> binary "
-"package. Paths listed in this file are (I<only>) ignored by the check done "
-"via B<--list-missing> (or B<--fail-missing>). However, it is B<not> a "
-"method to exclude files from being installed. Please use B<--exclude> for "
-"that."
+"Used with the deprecated B<--list-missing> and B<--fail-missing> options. "
+"Please refer to L<dh_missing(1)> for the documentation of this file."
msgstr ""
-#. type: textblock
-#: dh_install:67
-msgid ""
-"Please keep in mind that dh_install will B<not> expand wildcards in this "
-"file."
-msgstr ""
-"dh_install は、このファイル内でワイルドカードをB<展開しない>点に注意して下さ"
-"い。"
-
#. type: =item
-#: dh_install:76
+#: dh_install:70
msgid "B<--list-missing>"
msgstr "B<--list-missing>"
#. type: textblock
-#: dh_install:78
-msgid "B<Deprecated>: Please use B<dh_missing --list-missing> instead."
-msgstr ""
-
-#. type: textblock
-#: dh_install:80
+#: dh_install:72
msgid ""
-"This option makes B<dh_install> keep track of the files it installs, and "
-"then at the end, compare that list with the files in the source directory. "
-"If any of the files (and symlinks) in the source directory were not "
-"installed to somewhere, it will warn on stderr about that."
+"B<Deprecated>: Please use B<dh_missing --list-missing> instead. If you use "
+"this option, B<dh_install> will call B<dh_missing> with that option after it "
+"has processed all the files. Please see L<dh_missing(1)> for the "
+"documentation of this option."
msgstr ""
-"このオプションにより、B<dh_install> はインストールするファイル群を記録し、そ"
-"して最後にソースディレクトリにあるファイルの一覧と比較します。もし、ソース"
-"ファイル中のファイル (もしくはシンボリックリンク) でインストールされていない"
-"ものが発見されると、警告を標準エラー出力に表示します。"
-
-#. type: textblock
-#: dh_install:85
-msgid ""
-"This may be useful if you have a large package and want to make sure that "
-"you don't miss installing newly added files in new upstream releases."
-msgstr ""
-"このオプションは大きなパッケージをつくろうとしていたり、開発元 (upstream) の"
-"新しいリリースにて新たに増えたファイルをインストールし忘れないようにする時に"
-"便利です。"
-
-#. type: textblock
-#: dh_install:88
-msgid ""
-"Note that files that are excluded from being moved via the B<-X> option are "
-"not warned about."
-msgstr ""
-"B<-X> オプションで除外したファイルは警告対象から除外される事にご注意くださ"
-"い。"
#. type: =item
-#: dh_install:91
+#: dh_install:79
msgid "B<--fail-missing>"
msgstr "B<--fail-missing>"
#. type: textblock
-#: dh_install:93
-msgid "B<Deprecated>: Please use B<dh_missing --fail-missing> instead."
-msgstr ""
-
-#. type: textblock
-#: dh_install:95
+#: dh_install:81
msgid ""
-"This option is like B<--list-missing>, except if a file was missed, it will "
-"not only list the missing files, but also fail with a nonzero exit code."
-msgstr ""
-"このオプションは B<--list-missing> と同じようなものですが、ファイルがインス"
-"トールされていないものがあるのを発見すると、そのファイルを列挙して教えてくれ"
-"るだけでなく、終了コードとして 0 以外を返して処理を失敗します。"
-
-#. type: textblock
-#: dh_install:100 dh_installexamples:75
-msgid ""
-"Exclude files that contain I<item> anywhere in their filename from being "
-"installed."
+"B<Deprecated>: Please use B<dh_missing --fail-missing> instead. If you use "
+"this option, B<dh_install> will call B<dh_missing> with that option after it "
+"has processed all the files. Please see L<dh_missing(1)> for the "
+"documentation of this option."
msgstr ""
-"I<item> をファイル名の一部として含んでいるファイルをインストール候補から除外"
-"します。"
#. type: =item
-#: dh_install:103 dh_installexamples:46 dh_installinfo:43 dh_installman:93
-#: dh_movefiles:45
+#: dh_install:88 dh_installdirs:59 dh_installdocs:104 dh_installexamples:50
+#: dh_installinfo:47 dh_installman:97 dh_movefiles:45
msgid "B<--sourcedir=>I<dir>"
msgstr "B<--sourcedir=>I<dir>"
#. type: textblock
-#: dh_install:105
+#: dh_install:90
msgid "Look in the specified directory for files to be installed."
msgstr "インストールするファイルを指定されたディレクトリ内で探します。"
#. type: textblock
-#: dh_install:107
+#: dh_install:92
msgid ""
"Note that this is not the same as the B<--sourcedirectory> option used by "
"the B<dh_auto_>I<*> commands. You rarely need to use this option, since "
@@ -4493,12 +4762,12 @@ msgstr ""
"F<debian/tmp> へファイルを探しに行く為です。"
#. type: =item
-#: dh_install:112
+#: dh_install:97
msgid "B<--autodest>"
msgstr "B<--autodest>"
#. type: textblock
-#: dh_install:114
+#: dh_install:99
#, fuzzy
msgid ""
"Guess as the destination directory to install things to. If this is "
@@ -4512,7 +4781,7 @@ msgstr ""
"ストール先ディレクトリを推定します:"
#. type: textblock
-#: dh_install:119
+#: dh_install:104
msgid ""
"Strip off F<debian/tmp> (or the sourcedir if one is given) from the front of "
"the filename, if it is present, and install into the dirname of the "
@@ -4528,12 +4797,12 @@ msgstr ""
"passwd> であれば、F<debian/package/etc/> へ行われます。"
#. type: =item
-#: dh_install:125
+#: dh_install:110
msgid "I<file|dir> ... I<destdir>"
msgstr "I<file|dir> ... I<destdir>"
#. type: textblock
-#: dh_install:127
+#: dh_install:112
msgid ""
"Lists files (or directories) to install and where to install them to. The "
"files will be installed into the first package F<dh_install> acts on."
@@ -4543,12 +4812,12 @@ msgstr ""
"トールされます。"
#. type: =head1
-#: dh_install:338
+#: dh_install:325
msgid "LIMITATIONS"
msgstr "制限事項"
#. type: textblock
-#: dh_install:340
+#: dh_install:327
msgid ""
"B<dh_install> cannot rename files or directories, it can only install them "
"with the names they already have into wherever you want in the package build "
@@ -4559,7 +4828,7 @@ msgstr ""
"ことだけが可能です。"
#. type: textblock
-#: dh_install:344
+#: dh_install:331
msgid ""
"However, renaming can be achieved by using B<dh-exec> with compatibility "
"level 9 or later. An example debian/I<package>.install file using B<dh-"
@@ -4570,7 +4839,7 @@ msgstr ""
"す:"
#. type: verbatim
-#: dh_install:348
+#: dh_install:335
#, no-wrap
msgid ""
" #!/usr/bin/dh-exec\n"
@@ -4582,12 +4851,12 @@ msgstr ""
"\n"
#. type: textblock
-#: dh_install:351
+#: dh_install:338
msgid "Please remember the following three things:"
msgstr "以下の 3 点に留意して下さい:"
#. type: =item
-#: dh_install:355
+#: dh_install:342
msgid ""
"* The package must be using compatibility level 9 or later (see "
"L<debhelper(7)>)"
@@ -4595,12 +4864,12 @@ msgstr ""
"* パッケージは互換性レベル 9 以降を使う必要があります (L<debhelper(7)> 参照)"
#. type: =item
-#: dh_install:357
+#: dh_install:344
msgid "* The package will need a build-dependency on dh-exec."
msgstr "* パッケージは dh-exec へのビルド依存が必要になります。"
#. type: =item
-#: dh_install:359
+#: dh_install:346
msgid "* The install file must be marked as executable."
msgstr "* install ファイルは実行可能になっている必要があります。"
@@ -4687,8 +4956,9 @@ msgstr ""
"リガーを追加しないでください。"
#. type: textblock
-#: dh_installcatalogs:66 dh_installemacsen:77 dh_installinit:185
-#: dh_installmodules:59 dh_installudev:52 dh_installwm:60 dh_usrlocal:61
+#: dh_installcatalogs:66 dh_installemacsen:77 dh_installinit:207
+#: dh_installinitramfs:55 dh_installmodules:59 dh_installudev:52
+#: dh_installwm:65 dh_usrlocal:62
msgid ""
"Note that this command is not idempotent. L<dh_prep(1)> should be called "
"between invocations of this command. Otherwise, it may cause multiple "
@@ -4735,17 +5005,36 @@ msgstr ""
#. type: textblock
#: dh_installchangelogs:24
+#, fuzzy
+#| msgid ""
+#| "An upstream F<changelog> file may be specified as an option. If none is "
+#| "specified, it looks for files with names that seem likely to be "
+#| "changelogs. (In compatibility level 7 and above.)"
msgid ""
"An upstream F<changelog> file may be specified as an option. If none is "
-"specified, it looks for files with names that seem likely to be changelogs. "
-"(In compatibility level 7 and above.)"
+"specified, B<dh_installchangelogs> may look for files with names that seem "
+"likely to be changelogs as described in the next paragraphs (assuming the "
+"package is using compatibility level 7 or above)."
msgstr ""
"開発元 (upstream) に入っている F<changelog> ファイルはオプションとしても指定"
"できます。何も指定しない場合、changelog とおぼしき名前を持つファイルを探しに"
"行きます (これは互換レベル v7 以上で行われます)。"
#. type: textblock
-#: dh_installchangelogs:28
+#: dh_installchangelogs:29
+msgid ""
+"In non-native packages, B<dh_installchangelogs> will first look for "
+"changelog files installed by the upstream build system into F<< usr/share/"
+"doc/I<package> >> (of the package build directory) and rename the most "
+"likely candidate (if any) to F<< usr/share/doc/I<package>/changelog >>. "
+"Note that B<dh_installchangelogs> does I<not> look into any source directory "
+"(such as F<debian/tmp>). Otherwise, B<dh_installchangelogs> (at "
+"compatibility level 7 or any later) will look for changelog files in the "
+"source directory (e.g. the root or the F<docs> subdirectory)."
+msgstr ""
+
+#. type: textblock
+#: dh_installchangelogs:39
msgid ""
"If there is an upstream F<changelog> file, it will be installed as F<usr/"
"share/doc/package/changelog> in the package build directory."
@@ -4754,15 +5043,15 @@ msgstr ""
"クトリ中に F<usr/share/doc/package/changelog> としてインストールされます。"
#. type: textblock
-#: dh_installchangelogs:31
+#: dh_installchangelogs:42
#, fuzzy
msgid ""
-"If the upstream changelog is an F<html> file (determined by file extension), "
-"it will be installed as F<usr/share/doc/package/changelog.html> instead. If "
-"the html changelog is converted to plain text, that variant can be specified "
-"as a second upstream changelog file. When no plain text variant is "
-"specified, a short F<usr/share/doc/package/changelog> is generated, pointing "
-"readers at the html changelog file."
+"If the specified upstream changelog is an F<html> file (determined by file "
+"extension), it will be installed as F<usr/share/doc/package/changelog.html> "
+"instead. If the html changelog is converted to plain text, that variant can "
+"be specified as a second upstream changelog file. When no plain text variant "
+"is specified, a short F<usr/share/doc/package/changelog> is generated, "
+"pointing readers at the html changelog file."
msgstr ""
"開発元 (upstream) の changelog が F<html> ファイルである場合 (ファイル拡張子"
"で判断されます)、代わりに F<usr/share/doc/package/changelog.html> としてイン"
@@ -4770,27 +5059,27 @@ msgstr ""
"の upstream changelog ファイルとして指定できます。平文ではない"
#. type: =item
-#: dh_installchangelogs:42
+#: dh_installchangelogs:53
msgid "F<debian/changelog>"
msgstr "F<debian/changelog>"
#. type: =item
-#: dh_installchangelogs:44
+#: dh_installchangelogs:55
msgid "F<debian/NEWS>"
msgstr "F<debian/NEWS>"
#. type: =item
-#: dh_installchangelogs:46
+#: dh_installchangelogs:57
msgid "debian/I<package>.changelog"
msgstr "debian/I<package>.changelog"
#. type: =item
-#: dh_installchangelogs:48
+#: dh_installchangelogs:59
msgid "debian/I<package>.NEWS"
msgstr "debian/I<package>.NEWS"
#. type: textblock
-#: dh_installchangelogs:50
+#: dh_installchangelogs:61
msgid ""
"Automatically installed into usr/share/doc/I<package>/ in the package build "
"directory."
@@ -4799,7 +5088,7 @@ msgstr ""
"I<package>/ 配下に自動的にインストールされます。"
#. type: textblock
-#: dh_installchangelogs:53
+#: dh_installchangelogs:64
msgid ""
"Use the package specific name if I<package> needs a different F<NEWS> or "
"F<changelog> file."
@@ -4808,7 +5097,7 @@ msgstr ""
"は、パッケージ固有の名前を指定してください。"
#. type: textblock
-#: dh_installchangelogs:56
+#: dh_installchangelogs:67
msgid ""
"The F<changelog> file is installed with a name of changelog for native "
"packages, and F<changelog.Debian> for non-native packages. The F<NEWS> file "
@@ -4819,7 +5108,7 @@ msgstr ""
"ルされます。F<NEWS> は必ず F<NEWS.Debian> の名前でインストールされます。"
#. type: textblock
-#: dh_installchangelogs:68
+#: dh_installchangelogs:79
#, fuzzy
msgid ""
"Keep the original name of the upstream changelog. This will be accomplished "
@@ -4836,7 +5125,7 @@ msgstr ""
"利かもしれません。"
#. type: textblock
-#: dh_installchangelogs:76
+#: dh_installchangelogs:87
msgid ""
"Exclude upstream F<changelog> files that contain I<item> anywhere in their "
"filename from being installed."
@@ -4844,13 +5133,18 @@ msgstr ""
"I<item> をファイル名に含む開発元 (upstream) の F<changelog> ファイルをインス"
"トール候補から除外します。"
+#. type: textblock
+#: dh_installchangelogs:90
+msgid "Note that directory name of the changelog is also part of the match."
+msgstr ""
+
#. type: =item
-#: dh_installchangelogs:79
+#: dh_installchangelogs:92
msgid "I<upstream>"
msgstr "I<upstream>"
#. type: textblock
-#: dh_installchangelogs:81
+#: dh_installchangelogs:94
msgid "Install this file as the upstream changelog."
msgstr ""
"このファイルを開発元 (upstream) の changelog としてインストールします。"
@@ -4909,7 +5203,7 @@ msgstr ""
"れインストールされます。"
#. type: =item
-#: dh_installcron:47 dh_installifupdown:46 dh_installinit:153
+#: dh_installcron:47 dh_installifupdown:46 dh_installinit:175
#: dh_installlogcheck:49 dh_installlogrotate:29 dh_installmodules:49
#: dh_installpam:38 dh_installppp:42 dh_installudev:38 dh_systemd_enable:95
msgid "B<--name=>I<name>"
@@ -5088,6 +5382,14 @@ msgid ""
msgstr ""
#. type: textblock
+#: dh_installdeb:82
+msgid ""
+"The B<dh_installdeb> tool will do some basic validation of some of the "
+"commands listed in this file to catch common mistakes. The validation is "
+"enabled as a warning since compat 10 and as a hard error in compat 12."
+msgstr ""
+
+#. type: textblock
#: dh_installdebconf:5
msgid ""
"dh_installdebconf - install files used by debconf in package build "
@@ -5225,8 +5527,16 @@ msgstr ""
#. type: textblock
#: dh_installdirs:17
-msgid "B<dh_installdirs> [S<I<debhelper options>>] [B<-A>] [S<I<dir> ...>]"
-msgstr "B<dh_installdirs> [S<I<debhelper options>>] [B<-A>] [S<I<dir> ...>]"
+#, fuzzy
+#| msgid ""
+#| "B<dh_movefiles> [S<I<debhelper options>>] [B<--sourcedir=>I<dir>] [B<-"
+#| "X>I<item>] [S<I<file> ...>]"
+msgid ""
+"B<dh_installdirs> [S<I<debhelper options>>] [B<-A>] [B<--sourcedir=>I<dir>] "
+"[B<--create-in-sourcedir>] [S<I<dir> ...>]"
+msgstr ""
+"B<dh_movefiles> [S<I<debhelper オプション>>] [B<--sourcedir=>I<ディレクトリ"
+">] [B<-X>I<item>] [S<I<ファイル> ...>]"
#. type: textblock
#: dh_installdirs:21
@@ -5273,11 +5583,46 @@ msgstr ""
#. type: =item
#: dh_installdirs:51
+msgid "B<--create-in-sourcedir>, B<--no-create-in-sourcedir>"
+msgstr ""
+
+#. type: textblock
+#: dh_installdirs:53
+msgid ""
+"Whether to create the specified directories in the source directory (usually "
+"F<debian/tmp>) I<in addition to> in the package build directory (usually F<< "
+"debian/I<package> >>)."
+msgstr ""
+
+#. type: textblock
+#: dh_installdirs:57
+#, fuzzy
+#| msgid "The default is to create debug symbol packages."
+msgid "The default is B<--no-create-in-sourcedir>."
+msgstr "デフォルトはデバッグシンボルパッケージを作成します。"
+
+#. type: textblock
+#: dh_installdirs:61
+msgid ""
+"Consider I<dir> the source directory for the packages acted on instead of "
+"the default (which is usually F<debian/tmp>)."
+msgstr ""
+
+#. type: textblock
+#: dh_installdirs:64
+msgid ""
+"Please note that this option is dependent on the B<--create-in-sourcedir> "
+"option (when B<--no-create-in-sourcedir> is in effect, this option does "
+"nothing in B<dh_installdirs>)."
+msgstr ""
+
+#. type: =item
+#: dh_installdirs:68
msgid "I<dir> ..."
msgstr "I<dir> ..."
#. type: textblock
-#: dh_installdirs:53
+#: dh_installdirs:70
msgid ""
"Create these directories in the package build directory of the first package "
"acted on. (Or in all packages if B<-A> is specified.)"
@@ -5323,7 +5668,25 @@ msgid ""
msgstr ""
#. type: textblock
-#: dh_installdocs:31
+#: dh_installdocs:31 dh_installexamples:27 dh_installinfo:24 dh_installman:69
+#, fuzzy
+#| msgid ""
+#| "From debhelper compatibility level 7 on, B<dh_install> will fall back to "
+#| "looking in F<debian/tmp> for files, if it doesn't find them in the "
+#| "current directory (or wherever you've told it to look using B<--"
+#| "sourcedir>)."
+msgid ""
+"From debhelper compatibility level 11 on, B<dh_install> will fall back to "
+"looking in F<debian/tmp> for files, if it does not find them in the current "
+"directory (or wherever you've told it to look using B<--sourcedir>)."
+msgstr ""
+"debhelper の互換性レベル 7 から、 B<dh_install> はファイルをカレントディレク"
+"トリで見つけられなければ (あるいは B<--sourcedir> オプションを使って指定した"
+"ディレクトリの中を探してファイルが見けられなければ) 、自動的に F<debian/tmp> "
+"を探しにいくようになりました"
+
+#. type: textblock
+#: dh_installdocs:35
msgid ""
"In compat 11 and later, B<dh_installdocs> offers many of the features that "
"L<dh_install(1)> also have. Furthermore, B<dh_installdocs> also supports "
@@ -5332,23 +5695,23 @@ msgid ""
msgstr ""
#. type: =item
-#: dh_installdocs:40
+#: dh_installdocs:44
msgid "debian/I<package>.docs"
msgstr "debian/I<package>.docs"
#. type: textblock
-#: dh_installdocs:42
+#: dh_installdocs:46
msgid "List documentation files to be installed into I<package>."
msgstr ""
"I<package> にインストールすべきドキュメントファイルの一覧を列挙します。"
#. type: =item
-#: dh_installdocs:44
+#: dh_installdocs:48
msgid "F<debian/copyright>"
msgstr "F<debian/copyright>"
#. type: textblock
-#: dh_installdocs:46
+#: dh_installdocs:50
#, fuzzy
msgid ""
"The copyright file is installed into all packages, unless a more specific "
@@ -5358,39 +5721,39 @@ msgstr ""
"パッケージにインストールされます。"
#. type: =item
-#: dh_installdocs:49
+#: dh_installdocs:53
msgid "debian/I<package>.copyright"
msgstr "debian/I<package>.copyright"
#. type: =item
-#: dh_installdocs:51
+#: dh_installdocs:55
msgid "debian/I<package>.README.Debian"
msgstr "debian/I<package>.README.Debian"
#. type: =item
-#: dh_installdocs:53
+#: dh_installdocs:57
msgid "debian/I<package>.TODO"
msgstr "debian/I<package>.TODO"
#. type: textblock
-#: dh_installdocs:55
+#: dh_installdocs:59
#, fuzzy
msgid ""
"Each of these files is automatically installed if present for a I<package>."
msgstr "I<package> があれば、これらのファイルは自動的にインストールされます。"
#. type: =item
-#: dh_installdocs:58
+#: dh_installdocs:62
msgid "F<debian/README.Debian>"
msgstr "F<debian/README.Debian>"
#. type: =item
-#: dh_installdocs:60
+#: dh_installdocs:64
msgid "F<debian/TODO>"
msgstr "F<debian/TODO>"
#. type: textblock
-#: dh_installdocs:62
+#: dh_installdocs:66
msgid ""
"These files are installed into the first binary package listed in debian/"
"control."
@@ -5399,7 +5762,7 @@ msgstr ""
"インストールされます。"
#. type: textblock
-#: dh_installdocs:65
+#: dh_installdocs:69
msgid ""
"Note that F<README.debian> files are also installed as F<README.Debian>, and "
"F<TODO> files will be installed as F<TODO.Debian> in non-native packages."
@@ -5409,12 +5772,12 @@ msgstr ""
"れます。"
#. type: =item
-#: dh_installdocs:68
+#: dh_installdocs:72
msgid "debian/I<package>.doc-base"
msgstr "debian/I<package>.doc-base"
#. type: textblock
-#: dh_installdocs:70
+#: dh_installdocs:74
#, fuzzy
msgid ""
"Installed as doc-base control files. Note that the doc-id will be determined "
@@ -5427,12 +5790,12 @@ msgstr ""
"御ファイル中の B<Document:> エントリから決定されます。"
#. type: =item
-#: dh_installdocs:76
+#: dh_installdocs:80
msgid "debian/I<package>.doc-base.*"
msgstr "debian/I<package>.doc-base.*"
#. type: textblock
-#: dh_installdocs:78
+#: dh_installdocs:82
#, fuzzy
msgid ""
"If your package needs to register more than one document, you need multiple "
@@ -5445,7 +5808,7 @@ msgstr ""
"トールされます。"
#. type: textblock
-#: dh_installdocs:92 dh_installinfo:40 dh_installman:85
+#: dh_installdocs:96 dh_installinfo:44 dh_installman:89
msgid ""
"Install all files specified by command line parameters in ALL packages acted "
"on."
@@ -5454,7 +5817,7 @@ msgstr ""
"ストールします。"
#. type: textblock
-#: dh_installdocs:97
+#: dh_installdocs:101
msgid ""
"Exclude files that contain I<item> anywhere in their filename from being "
"installed. Note that this includes doc-base files."
@@ -5462,15 +5825,41 @@ msgstr ""
"インストール対象のファイルから、I<item> をファイル名に含むものを除外します。"
"これには doc-base のファイルも含む点に注意ください。"
+#. type: textblock
+#: dh_installdocs:106 dh_installexamples:52 dh_installinfo:49 dh_installman:99
+msgid ""
+"Look in the specified directory for files to be installed. This option "
+"requires compat 11 or later (it is silently ignored in compat 10 or earlier)."
+msgstr ""
+
+#. type: textblock
+#: dh_installdocs:109 dh_installman:102
+#, fuzzy
+#| msgid ""
+#| "Note that this is not the same as the B<--sourcedirectory> option used by "
+#| "the B<dh_auto_>I<*> commands. You rarely need to use this option, since "
+#| "B<dh_install> automatically looks for files in F<debian/tmp> in debhelper "
+#| "compatibility level 7 and above."
+msgid ""
+"Note that this is not the same as the B<--sourcedirectory> option used by "
+"the B<dh_auto_>I<*> commands. You rarely need to use this option, since "
+"B<dh_installman> automatically looks for files in F<debian/tmp> in debhelper "
+"compatibility level 11 and above."
+msgstr ""
+"このオプションは、B<dh_auto_>I<*> にあるような B<--sourcedirectory> とは異な"
+"る事に注意が必要です。このコマンドではあまりこのオプションは利用する機会があ"
+"りません。というのも B<dh_install> は互換性レベル v7 以上では自動的に "
+"F<debian/tmp> へファイルを探しに行く為です。"
+
#. type: =item
-#: dh_installdocs:100 dh_installexamples:56
+#: dh_installdocs:114 dh_installexamples:60
#, fuzzy
#| msgid "B<--mainpackage=>I<package>"
msgid "B<--doc-main-package=>I<main-package>"
msgstr "B<--mainpackage=>I<package>"
#. type: textblock
-#: dh_installdocs:102 dh_installexamples:58
+#: dh_installdocs:116 dh_installexamples:62
msgid ""
"Set the main package for a documentation package. This is used to install "
"the documentation of the documentation package in F<< /usr/share/doc/I<main-"
@@ -5478,7 +5867,7 @@ msgid ""
msgstr ""
#. type: textblock
-#: dh_installdocs:107 dh_installexamples:63
+#: dh_installdocs:121 dh_installexamples:67
msgid ""
"In compat 11 (or later), this option is only useful if debhelper's auto-"
"detection of the main package is wrong. The option can also be used to "
@@ -5487,7 +5876,7 @@ msgid ""
msgstr ""
#. type: textblock
-#: dh_installdocs:112
+#: dh_installdocs:126
msgid ""
"This option cannot be used when B<dh_installdocs> is instructed to act on "
"multiple packages. If you need this option, you will generally need to "
@@ -5495,19 +5884,19 @@ msgid ""
msgstr ""
#. type: textblock
-#: dh_installdocs:117
+#: dh_installdocs:131
msgid ""
"Please keep in mind that some documentation (the copyright file, README."
"Debian, etc.) will be unaffected by this option."
msgstr ""
#. type: =item
-#: dh_installdocs:120
+#: dh_installdocs:134
msgid "B<--link-doc=>I<package>"
msgstr "B<--link-doc=>I<package>"
#. type: textblock
-#: dh_installdocs:122
+#: dh_installdocs:136
msgid ""
"Make the documentation directory of all packages acted on be a symlink to "
"the documentation directory of I<package>. This has no effect when acting on "
@@ -5523,7 +5912,7 @@ msgstr ""
"ある必要があります。"
#. type: textblock
-#: dh_installdocs:128
+#: dh_installdocs:142
msgid ""
"debhelper will try to avoid installing files into linked documentation "
"directories that would cause conflicts with the linked package. The B<-A> "
@@ -5538,7 +5927,7 @@ msgstr ""
"F<changelog>, F<README.Debian>, F<TODO> ファイルはインストールされません。"
#. type: textblock
-#: dh_installdocs:134
+#: dh_installdocs:148
#, fuzzy
msgid ""
"(An older method to accomplish the same thing, which is still supported, is "
@@ -5551,7 +5940,7 @@ msgstr ""
"ディレクトリとして、あらかじめ作成しておくという手があります)。"
#. type: textblock
-#: dh_installdocs:138
+#: dh_installdocs:152
msgid ""
"Please note that this option only applies to the documentation directory for "
"the package itself. When the package ships documentation for another "
@@ -5560,7 +5949,7 @@ msgid ""
msgstr ""
#. type: textblock
-#: dh_installdocs:144
+#: dh_installdocs:158
msgid ""
"B<CAVEAT 1>: If a previous version of the package was built without this "
"option and is now built with it (or vice-versa), it requires a \"dir to "
@@ -5569,23 +5958,23 @@ msgid ""
msgstr ""
#. type: textblock
-#: dh_installdocs:150
+#: dh_installdocs:164
msgid ""
"This can be done by providing a \"debian/I<package>.maintscript\" file and "
"using L<dh_installdeb(1)> to provide the relevant maintainer script snippets."
msgstr ""
#. type: textblock
-#: dh_installdocs:154
+#: dh_installdocs:168
msgid ""
"B<CAVEAT 2>: The use of B<--link-doc> should only be done when the packages "
-"have same \"architecture\" type. A link from a architecture independent "
-"package to a architecture dependent package (or vice versa) will not work. "
+"have same \"architecture\" type. A link from an architecture independent "
+"package to an architecture dependent package (or vice versa) will not work. "
"Since compat 10, debhelper will actively reject unsupported combinations."
msgstr ""
#. type: textblock
-#: dh_installdocs:162
+#: dh_installdocs:176
msgid ""
"Install these files as documentation into the first package acted on. (Or in "
"all packages if B<-A> is specified)."
@@ -5595,12 +5984,12 @@ msgstr ""
"パッケージに対してインストールします) "
#. type: textblock
-#: dh_installdocs:169
+#: dh_installdocs:183
msgid "This is an example of a F<debian/package.docs> file:"
msgstr "以下が F<debian/package.docs> ファイルの例です:"
#. type: verbatim
-#: dh_installdocs:171
+#: dh_installdocs:185
#, no-wrap
msgid ""
" README\n"
@@ -5620,7 +6009,7 @@ msgstr ""
"\n"
#. type: textblock
-#: dh_installdocs:180
+#: dh_installdocs:194
#, fuzzy
msgid ""
"Note that B<dh_installdocs> will happily copy entire directory hierarchies "
@@ -5727,7 +6116,7 @@ msgstr ""
"ストールします。優先順位を 50 以外を指定するには B<--priority> を使います。"
#. type: textblock
-#: dh_installemacsen:62 dh_usrlocal:55
+#: dh_installemacsen:62 dh_usrlocal:56
msgid "Do not modify F<postinst>/F<prerm> scripts."
msgstr "F<postinst>/F<prerm> を変更しません。"
@@ -5790,19 +6179,19 @@ msgstr ""
"です。"
#. type: =item
-#: dh_installexamples:31
+#: dh_installexamples:35
msgid "debian/I<package>.examples"
msgstr "debian/I<package>.examples"
#. type: textblock
-#: dh_installexamples:33
+#: dh_installexamples:37
#, fuzzy
msgid "Lists example files or directories to be installed."
msgstr ""
"インストールする予定の例を示すファイルもしくは、ディレクトリを指定します。"
#. type: textblock
-#: dh_installexamples:43
+#: dh_installexamples:47
#, fuzzy
msgid ""
"Install any files specified by command line parameters in ALL packages acted "
@@ -5812,14 +6201,7 @@ msgstr ""
"イルをインストールします。"
#. type: textblock
-#: dh_installexamples:48 dh_installinfo:45 dh_installman:95
-msgid ""
-"Look in the specified directory for files to be installed. This option "
-"requires compat 11 or later (it is silently ignored in compat 10 or earlier)."
-msgstr ""
-
-#. type: textblock
-#: dh_installexamples:51
+#: dh_installexamples:55
#, fuzzy
#| msgid ""
#| "Note that this is not the same as the B<--sourcedirectory> option used by "
@@ -5838,7 +6220,7 @@ msgstr ""
"F<debian/tmp> へファイルを探しに行く為です。"
#. type: textblock
-#: dh_installexamples:68
+#: dh_installexamples:72
msgid ""
"This option cannot be used when B<dh_installexamples> is instructed to act "
"on multiple packages. If you need this option, you will generally need to "
@@ -5846,7 +6228,16 @@ msgid ""
msgstr ""
#. type: textblock
-#: dh_installexamples:80
+#: dh_installexamples:79
+msgid ""
+"Exclude files that contain I<item> anywhere in their filename from being "
+"installed."
+msgstr ""
+"I<item> をファイル名の一部として含んでいるファイルをインストール候補から除外"
+"します。"
+
+#. type: textblock
+#: dh_installexamples:84
msgid ""
"Install these files (or directories) as examples into the first package "
"acted on. (Or into all packages if B<-A> is specified.)"
@@ -5856,7 +6247,7 @@ msgstr ""
"パッケージに対してインストールを行います)。"
#. type: textblock
-#: dh_installexamples:87
+#: dh_installexamples:91
msgid ""
"Note that B<dh_installexamples> will happily copy entire directory "
"hierarchies if you ask it to (similar to B<cp -a>). If it is asked to "
@@ -5948,17 +6339,17 @@ msgstr ""
"レクトリ以下に info ファイルをインストールします。"
#. type: =item
-#: dh_installinfo:28
+#: dh_installinfo:32
msgid "debian/I<package>.info"
msgstr "debian/I<package>.info"
#. type: textblock
-#: dh_installinfo:30
+#: dh_installinfo:34
msgid "List info files to be installed."
msgstr "インストールすべき info ファイルを列挙したものです。"
#. type: textblock
-#: dh_installinfo:48
+#: dh_installinfo:52
#, fuzzy
#| msgid ""
#| "Note that this is not the same as the B<--sourcedirectory> option used by "
@@ -5977,7 +6368,7 @@ msgstr ""
"F<debian/tmp> へファイルを探しに行く為です。"
#. type: textblock
-#: dh_installinfo:55
+#: dh_installinfo:59
msgid ""
"Install these info files into the first package acted on. (Or in all "
"packages if B<-A> is specified)."
@@ -6008,15 +6399,18 @@ msgstr ""
msgid ""
"B<dh_installinit> is a debhelper program that is responsible for installing "
"init scripts with associated defaults files. In compatibility levels up to "
-"11, B<dh_installinit> also handled upstart job files and systemd service "
-"files."
+"and including 10, B<dh_installinit> will also install some systemd related "
+"files provided by the debian packaging (see the L</FILES> section below). "
+"In compatibility levels up to and including 11, B<dh_installinit> will also "
+"handle upstart jobs provided in the debian packaging (see the L</FILES> for "
+"more information on this as well)."
msgstr ""
"B<dh_installlint> は、デフォルトで利用される init スクリプトと、アップスター"
"ト用のジョブファイルをパッケージビルドディレクトリへインストールする役目の "
"debhelper プログラムです。"
#. type: textblock
-#: dh_installinit:26
+#: dh_installinit:31
msgid ""
"It also automatically generates the F<postinst> and F<postrm> and F<prerm> "
"commands needed to set up the symlinks in F</etc/rc*.d/> to start and stop "
@@ -6027,7 +6421,7 @@ msgstr ""
"F<postrm>, F<prerm> コマンドを自動的に生成します。"
#. type: textblock
-#: dh_installinit:30
+#: dh_installinit:35
msgid ""
"In compat 10 or earlier: If a package only ships a systemd service file and "
"no sysvinit script is provided, you may want to exclude the call to "
@@ -6036,12 +6430,12 @@ msgid ""
msgstr ""
#. type: =item
-#: dh_installinit:40
+#: dh_installinit:45
msgid "debian/I<package>.init"
msgstr "debian/I<package>.init"
#. type: textblock
-#: dh_installinit:42
+#: dh_installinit:47
msgid ""
"If this exists, it is installed into etc/init.d/I<package> in the package "
"build directory."
@@ -6050,12 +6444,12 @@ msgstr ""
"I<package> ディレクトリにインストールされます。"
#. type: =item
-#: dh_installinit:45
+#: dh_installinit:50
msgid "debian/I<package>.default"
msgstr "debian/I<package>.default"
#. type: textblock
-#: dh_installinit:47
+#: dh_installinit:52
msgid ""
"If this exists, it is installed into etc/default/I<package> in the package "
"build directory."
@@ -6064,12 +6458,12 @@ msgstr ""
"I<package> へこのファイルをインストールします。"
#. type: =item
-#: dh_installinit:50
+#: dh_installinit:55
msgid "debian/I<package>.upstart"
msgstr "debian/I<package>.upstart"
#. type: textblock
-#: dh_installinit:52
+#: dh_installinit:57
msgid ""
"In compatibility level 11, this file will trigger an error with a reminder "
"about ensuring the proper removal of the upstart file in the previous "
@@ -6078,7 +6472,7 @@ msgid ""
msgstr ""
#. type: textblock
-#: dh_installinit:57
+#: dh_installinit:62
#, fuzzy
#| msgid ""
#| "If this exists, it is installed into etc/init/I<package>.conf in the "
@@ -6091,12 +6485,12 @@ msgstr ""
"I<package>.conf ファイルとしてインストールされます。"
#. type: =item
-#: dh_installinit:60
+#: dh_installinit:65
msgid "debian/I<package>.service"
msgstr "debian/I<package>.service"
#. type: textblock
-#: dh_installinit:62
+#: dh_installinit:67
#, fuzzy
msgid ""
"If this exists, it is installed into lib/systemd/system/I<package>.service "
@@ -6106,12 +6500,12 @@ msgstr ""
"I<package>.conf ファイルとしてインストールされます。"
#. type: =item
-#: dh_installinit:65 dh_systemd_enable:50
+#: dh_installinit:70 dh_systemd_enable:50
msgid "debian/I<package>.tmpfile"
msgstr "debian/I<package>.tmpfile"
#. type: textblock
-#: dh_installinit:67
+#: dh_installinit:72
#, fuzzy
msgid ""
"If this exists, it is installed into usr/lib/tmpfiles.d/I<package>.conf in "
@@ -6122,17 +6516,17 @@ msgstr ""
"I<package>.conf ファイルとしてインストールされます。"
#. type: textblock
-#: dh_installinit:79
+#: dh_installinit:84
msgid "Do not modify F<postinst>/F<postrm>/F<prerm> scripts."
msgstr "F<postinst>/F<postrm>/F<prerm> スクリプトは変更しないでください。"
#. type: =item
-#: dh_installinit:81
+#: dh_installinit:86
msgid "B<-o>, B<--only-scripts>"
msgstr "B<-o>, B<--only-scripts>"
#. type: textblock
-#: dh_installinit:83
+#: dh_installinit:88
#, fuzzy
msgid ""
"Only modify F<postinst>/F<postrm>/F<prerm> scripts, do not actually install "
@@ -6148,7 +6542,7 @@ msgstr ""
"うな場合に都合が良いです。"
#. type: textblock
-#: dh_installinit:88
+#: dh_installinit:93
msgid ""
"B<Caveat>: This will bypass all the regular checks and I<unconditionally> "
"modify the scripts. You will almost certainly want to use this with B<-p> "
@@ -6156,7 +6550,7 @@ msgid ""
msgstr ""
#. type: verbatim
-#: dh_installinit:93
+#: dh_installinit:98
#, no-wrap
msgid ""
" override_dh_installinit:\n"
@@ -6170,12 +6564,12 @@ msgstr ""
"\n"
#. type: =item
-#: dh_installinit:97
+#: dh_installinit:102
msgid "B<-R>, B<--restart-after-upgrade>"
msgstr "B<-R>, B<--restart-after-upgrade>"
#. type: textblock
-#: dh_installinit:99
+#: dh_installinit:104
#, fuzzy
msgid ""
"Do not stop the init script until after the package upgrade has been "
@@ -6187,7 +6581,7 @@ msgstr ""
"続きを再び呼び出します。"
#. type: textblock
-#: dh_installinit:102
+#: dh_installinit:107
#, fuzzy
msgid ""
"In early compat levels, the default was to stop the script in the F<prerm>, "
@@ -6199,7 +6593,7 @@ msgstr ""
"続きを再び呼び出します。"
#. type: textblock
-#: dh_installinit:105 dh_systemd_start:45
+#: dh_installinit:110 dh_systemd_start:45
msgid ""
"This can be useful for daemons that should not have a possibly long downtime "
"during upgrade. But you should make sure that the daemon will not get "
@@ -6212,12 +6606,12 @@ msgstr ""
"参照して混乱しないことを保証する必要があります。"
#. type: =item
-#: dh_installinit:110 dh_systemd_start:50
+#: dh_installinit:115 dh_systemd_start:50
msgid "B<--no-restart-after-upgrade>"
msgstr "B<--no-restart-after-upgrade>"
#. type: textblock
-#: dh_installinit:112 dh_systemd_start:52
+#: dh_installinit:117 dh_systemd_start:52
msgid ""
"Undo a previous B<--restart-after-upgrade> (or the default of compat 10). "
"If no other options are given, this will cause the service to be stopped in "
@@ -6225,19 +6619,19 @@ msgid ""
msgstr ""
#. type: =item
-#: dh_installinit:117 dh_systemd_start:57
+#: dh_installinit:122 dh_systemd_start:57
msgid "B<-r>, B<--no-stop-on-upgrade>, B<--no-restart-on-upgrade>"
msgstr "B<-r>, B<--no-stop-on-upgrade>, B<--no-restart-on-upgrade>"
#. type: textblock
-#: dh_installinit:119
+#: dh_installinit:124
msgid ""
"Do not stop init script on upgrade. This has the side-effect of not "
"restarting the service as a part of the upgrade."
msgstr ""
#. type: textblock
-#: dh_installinit:122
+#: dh_installinit:127
msgid ""
"If you want to restart the service with minimal downtime, please use B<--"
"restart-after-upgrade> (default in compat 10 or later). If you want the "
@@ -6246,7 +6640,7 @@ msgid ""
msgstr ""
#. type: textblock
-#: dh_installinit:127
+#: dh_installinit:132
msgid ""
"Note that the B<--no-restart-on-upgrade> alias is deprecated and will be "
"removed in compat 12. This is to avoid confusion with the B<--no-restart-"
@@ -6255,12 +6649,12 @@ msgid ""
msgstr ""
#. type: =item
-#: dh_installinit:132 dh_systemd_start:61
+#: dh_installinit:137 dh_systemd_start:61
msgid "B<--no-start>"
msgstr "B<--no-start>"
#. type: textblock
-#: dh_installinit:134
+#: dh_installinit:139
msgid ""
"Do not start the init script on install or upgrade, or stop it on removal. "
"Only call B<update-rc.d>. Useful for rcS scripts."
@@ -6271,12 +6665,43 @@ msgstr ""
"インストールする際に便利です。"
#. type: =item
-#: dh_installinit:137
+#: dh_installinit:142 dh_systemd_enable:87
+msgid "B<--no-enable>"
+msgstr "B<--no-enable>"
+
+#. type: textblock
+#: dh_installinit:144
+msgid ""
+"Disable the init script on purge, but do not enable them on install. This "
+"implies a versioned dependency on B<< init-system-helpers (E<gt>= 1.51) >> "
+"as it is the first (functional) version that supports B<< update-rc.d "
+"E<lt>scriptE<gt> defaults-disabled >>."
+msgstr ""
+
+#. type: textblock
+#: dh_installinit:149
+msgid ""
+"B<Note> that this option does not affect whether the services are started. "
+"Please remember to also use B<--no-start> if the service should not be "
+"started."
+msgstr ""
+
+#. type: textblock
+#: dh_installinit:153
+#, fuzzy
+#| msgid "B<-u>I<params> B<--update-rcd-params=>I<params>"
+msgid ""
+"Cannot be combined with B<-u>I<params>, B<--update-rcd-params=>I<params>, or "
+"B<--> I<params>."
+msgstr "B<-u>I<params> B<--update-rcd-params=>I<params>"
+
+#. type: =item
+#: dh_installinit:156
msgid "B<-d>, B<--remove-d>"
msgstr "B<-d>, B<--remove-d>"
#. type: textblock
-#: dh_installinit:139
+#: dh_installinit:158
#, fuzzy
msgid ""
"Remove trailing B<d> from the name of the package, and use the result for "
@@ -6294,21 +6719,31 @@ msgstr ""
"init-script> パラメータが作用するより前に実行されます)。"
#. type: =item
-#: dh_installinit:146
+#: dh_installinit:165
msgid "B<-u>I<params> B<--update-rcd-params=>I<params>"
msgstr "B<-u>I<params> B<--update-rcd-params=>I<params>"
#. type: textblock
-#: dh_installinit:150
+#: dh_installinit:169
+#, fuzzy
+#| msgid ""
+#| "Pass I<params> to L<update-rc.d(8)>. If not specified, B<defaults> will "
+#| "be passed to L<update-rc.d(8)>."
msgid ""
-"Pass I<params> to L<update-rc.d(8)>. If not specified, B<defaults> will be "
-"passed to L<update-rc.d(8)>."
+"Pass I<params> to L<update-rc.d(8)>. If not specified, B<defaults> (or "
+"B<defaults-disabled> with B<--no-enable>) will be passed to L<update-rc."
+"d(8)>."
msgstr ""
"I<params> を L<update-rc.d(8)> へ渡します。もし指定されていなければ、"
"B<defaults> パラメータが L<update-rc.d(8)> へ渡されます。"
#. type: textblock
-#: dh_installinit:155
+#: dh_installinit:173
+msgid "Cannot be combined with B<--no-enable>."
+msgstr ""
+
+#. type: textblock
+#: dh_installinit:177
msgid ""
"Install the init script (and default file) as well as upstart job file using "
"the filename I<name> instead of the default filename, which is the package "
@@ -6326,12 +6761,12 @@ msgstr ""
"ん。"
#. type: =item
-#: dh_installinit:163
+#: dh_installinit:185
msgid "B<--init-script=>I<scriptname>"
msgstr "B<--init-script=>I<scriptname>"
#. type: textblock
-#: dh_installinit:165
+#: dh_installinit:187
msgid ""
"Use I<scriptname> as the filename the init script is installed as in F<etc/"
"init.d/> (and also use it as the filename for the defaults file, if it is "
@@ -6349,7 +6784,7 @@ msgstr ""
"す。"
#. type: textblock
-#: dh_installinit:172
+#: dh_installinit:194
msgid ""
"This parameter is deprecated, use the B<--name> parameter instead. This "
"parameter is incompatible with the use of upstart jobs."
@@ -6359,12 +6794,12 @@ msgstr ""
"うには出来ていません。"
#. type: =item
-#: dh_installinit:175
+#: dh_installinit:197
msgid "B<--error-handler=>I<function>"
msgstr "B<--error-handler=>I<function>"
#. type: textblock
-#: dh_installinit:177
+#: dh_installinit:199
msgid ""
"Call the named shell I<function> if running the init script fails. The "
"function should be provided in the F<prerm> and F<postinst> scripts, before "
@@ -6376,16 +6811,99 @@ msgstr ""
"す。 "
#. type: textblock
-#: dh_installinit:380
+#: dh_installinit:408
+#, fuzzy
+#| msgid "L<debhelper(7)>, L<dpkg-shlibdeps(1)>"
+msgid "L<debhelper(7)>, L<dh_installsystemd(1)>"
+msgstr "L<debhelper(7)>, L<dpkg-shlibdeps(1)>"
+
+#. type: textblock
+#: dh_installinit:416
msgid "Steve Langasek <steve.langasek@canonical.com>"
msgstr "Steve Langasek <steve.langasek@canonical.com>"
#. type: textblock
-#: dh_installinit:382
+#: dh_installinit:418
msgid "Michael Stapelberg <stapelberg@debian.org>"
msgstr "Michael Stapelberg <stapelberg@debian.org>"
#. type: textblock
+#: dh_installinitramfs:5
+#, fuzzy
+#| msgid ""
+#| "dh_installinit - install service init files into package build directories"
+msgid "dh_installinitramfs - install initramfs hooks and setup maintscripts"
+msgstr ""
+"dh_installinit - ビルドディレクトリに service init ファイルをインストールする"
+
+#. type: textblock
+#: dh_installinitramfs:17
+#, fuzzy
+#| msgid "B<dh_installmenu> [S<B<debhelper options>>] [B<-n>]"
+msgid "B<dh_installinitramfs> [S<B<debhelper options>>] [B<-n>]"
+msgstr "B<dh_installmenu> [S<B<debhelper options>>] [B<-n>]"
+
+#. type: textblock
+#: dh_installinitramfs:21
+#, fuzzy
+#| msgid ""
+#| "B<dh_installmime> is a debhelper program that is responsible for "
+#| "installing mime files into package build directories."
+msgid ""
+"B<dh_installinitramfs> is a debhelper program that is responsible for "
+"installing Debian package provided initramfs hooks."
+msgstr ""
+"B<dh_installmime> はパッケージビルドディレクトリ以下に mime ファイル群をイン"
+"ストールする役目の debhelper プログラムです。"
+
+#. type: textblock
+#: dh_installinitramfs:24
+#, fuzzy
+#| msgid ""
+#| "It also automatically generates the F<postinst> and F<postrm> commands "
+#| "needed to interface with the Debian B<menu> package. These commands are "
+#| "inserted into the maintainer scripts by L<dh_installdeb(1)>."
+msgid ""
+"If B<dh_installinitramfs> installs or (in compat 12 or later) detects one or "
+"more initramfs hooks in the package, then it also automatically generates "
+"the F<postinst> and F<postrm> commands needed to interface with the Debian "
+"initramfs system. These commands are inserted into the maintainer scripts "
+"by L<dh_installdeb(1)>."
+msgstr ""
+"このプログラムは、Debian B<menu> と連携するのに必要な内容を含む F<postinst> "
+"と F<postrm> コマンドを自動的に生成します。生成された F<postinst> と "
+"F<postrm> コマンドは L<dh_installdeb(1)> によりメンテナスクリプトへ組み込まれ"
+"ます。"
+
+#. type: =item
+#: dh_installinitramfs:34
+#, fuzzy
+#| msgid "debian/I<package>.init"
+msgid "debian/I<package>.initramfs-hook"
+msgstr "debian/I<package>.init"
+
+#. type: textblock
+#: dh_installinitramfs:36
+msgid ""
+"Assumed to be an initramfs hook that will be installed into F<< usr/share/"
+"initramfs-tools/hooks/I<package> >> in the package build directory. See "
+"B<HOOK SCRIPTS> in L<initramfs-tools(8)> for more information about "
+"initramfs hooks."
+msgstr ""
+
+#. type: textblock
+#: dh_installinitramfs:49 dh_installmenu:50
+msgid "Do not modify F<postinst>/F<postrm> scripts."
+msgstr "F<postinst>/F<postrm> スクリプトを変更しません。"
+
+#. type: textblock
+#: dh_installinitramfs:88
+#, fuzzy
+#| msgid "L<debhelper(7)> L<update-menus(1)> L<menufile(5)>"
+msgid "L<debhelper(7)> L<update-initramfs(8)> L<initramfs-tools(8)>"
+msgstr "L<debhelper(7)> L<update-menus(1)> L<menufile(5)>"
+
+#. type: textblock
#: dh_installlogcheck:5
msgid "dh_installlogcheck - install logcheck rulefiles into etc/logcheck/"
msgstr ""
@@ -6646,22 +7164,22 @@ msgstr ""
"L<manconv(1)> を参照ください。"
#. type: =item
-#: dh_installman:73
+#: dh_installman:77
msgid "debian/I<package>.manpages"
msgstr "debian/I<package>.manpages"
#. type: textblock
-#: dh_installman:75
+#: dh_installman:79
msgid "Lists man pages to be installed."
msgstr "インストールされるべき man ページを列挙したものです。"
#. type: =item
-#: dh_installman:88
+#: dh_installman:92
msgid "B<--language=>I<ll>"
msgstr "B<--language=>I<ll>"
#. type: textblock
-#: dh_installman:90
+#: dh_installman:94
msgid ""
"Use this to specify that the man pages being acted on are written in the "
"specified language."
@@ -6669,32 +7187,13 @@ msgstr ""
"処理予定の man ページがどんな言語で記載されているかをこちらのオプションを使っ"
"て指定します。"
-#. type: textblock
-#: dh_installman:98
-#, fuzzy
-#| msgid ""
-#| "Note that this is not the same as the B<--sourcedirectory> option used by "
-#| "the B<dh_auto_>I<*> commands. You rarely need to use this option, since "
-#| "B<dh_install> automatically looks for files in F<debian/tmp> in debhelper "
-#| "compatibility level 7 and above."
-msgid ""
-"Note that this is not the same as the B<--sourcedirectory> option used by "
-"the B<dh_auto_>I<*> commands. You rarely need to use this option, since "
-"B<dh_installman> automatically looks for files in F<debian/tmp> in debhelper "
-"compatibility level 11 and above."
-msgstr ""
-"このオプションは、B<dh_auto_>I<*> にあるような B<--sourcedirectory> とは異な"
-"る事に注意が必要です。このコマンドではあまりこのオプションは利用する機会があ"
-"りません。というのも B<dh_install> は互換性レベル v7 以上では自動的に "
-"F<debian/tmp> へファイルを探しに行く為です。"
-
#. type: =item
-#: dh_installman:103
+#: dh_installman:107
msgid "I<manpage> ..."
msgstr "I<manpage> ..."
#. type: textblock
-#: dh_installman:105
+#: dh_installman:109
msgid ""
"Install these man pages into the first package acted on. (Or in all packages "
"if B<-A> is specified)."
@@ -6703,12 +7202,12 @@ msgstr ""
"B<-A> が指定された場合は、全パッケージにインストールを行います) "
#. type: textblock
-#: dh_installman:112
+#: dh_installman:116
msgid "An example F<debian/manpages> file could look like this:"
msgstr ""
#. type: verbatim
-#: dh_installman:114
+#: dh_installman:118
#, no-wrap
msgid ""
" doc/man/foo.1\n"
@@ -6724,7 +7223,7 @@ msgid ""
msgstr ""
#. type: textblock
-#: dh_installman:126
+#: dh_installman:130
msgid ""
"An older version of this program, L<dh_installmanpages(1)>, is still used by "
"some packages, and so is still included in debhelper. It is, however, "
@@ -6917,11 +7416,6 @@ msgstr ""
"にある etc/menu-methods/I<package> へインストールされます。"
#. type: textblock
-#: dh_installmenu:50
-msgid "Do not modify F<postinst>/F<postrm> scripts."
-msgstr "F<postinst>/F<postrm> スクリプトを変更しません。"
-
-#. type: textblock
#: dh_installmenu:90
msgid "L<debhelper(7)> L<update-menus(1)> L<menufile(5)>"
msgstr "L<debhelper(7)> L<update-menus(1)> L<menufile(5)>"
@@ -7261,13 +7755,26 @@ msgstr ""
"F<postinst>/F<prerm> スクリプトを変更しません。このコマンドにより、スクリプト"
"の動作については何も影響を与えないようにします。"
+#. type: textblock
+#: dh_installwm:54
+#, fuzzy
+#| msgid ""
+#| "Create any links specified by command line parameters in ALL packages "
+#| "acted on, not just the first."
+msgid ""
+"Modify scripts for window managers specified by command line parameters in "
+"ALL packages acted on, not just the first."
+msgstr ""
+"コマンドラインパラメータとして指定されているリンクを、単に最初に処理するパッ"
+"ケージのみではなく、作業する予定の全パッケージ対して作成します。"
+
#. type: =item
-#: dh_installwm:52
+#: dh_installwm:57
msgid "I<wm> ..."
msgstr "I<wm> ..."
#. type: textblock
-#: dh_installwm:54
+#: dh_installwm:59
msgid "Window manager programs to register."
msgstr "登録されるウインドウマネージャ。"
@@ -7652,6 +8159,17 @@ msgstr ""
"させる予定のパッケージ一覧を、変更できます。"
#. type: textblock
+#: dh_listpackages:26
+#, fuzzy
+#| msgid ""
+#| "These files are installed into the first binary package listed in debian/"
+#| "control."
+msgid "Packages are listed in the order they appear in F<debian/control>."
+msgstr ""
+"これらのファイルは debian/control に最初に記載されているバイナリパッケージへ"
+"インストールされます。"
+
+#. type: textblock
#: dh_makeshlibs:5
msgid ""
"dh_makeshlibs - automatically create shlibs file and call dpkg-gensymbols"
@@ -7759,37 +8277,51 @@ msgstr "B<--version-info>, B<--version-info=>I<dependencies>"
#. type: textblock
#: dh_makeshlibs:67
msgid ""
-"By default, the shlibs file generated by this program does not make packages "
-"depend on any particular version of the package containing the shared "
-"library. It may be necessary for you to add some version dependency "
-"information to the shlibs file. If B<-V> is specified with no dependency "
-"information, the current upstream version of the package is plugged into a "
-"dependency that looks like \"I<packagename> B<(E<gt>>= I<packageversion>B<)>"
-"\". Note that in debhelper compatibility levels before v4, the Debian part "
-"of the package version number is also included. If B<-V> is specified with "
-"parameters, the parameters can be used to specify the exact dependency "
-"information needed (be sure to include the package name)."
-msgstr ""
-"デフォルトでは、本プログラムにより生成される shlibs ファイルは、共有ライブラ"
-"リを含むパッケージの特定のバージョンに依存することが無いようにします。これは"
-"shlibsファイルにバージョンに関する依存情報をパッケージ作成者により追加する必"
-"要があるという事です。B<-V>が依存関係の情報無しで用いられると、アップストリー"
-"ムのバージョン情報が \"I<packagename> B<(E<gt>>=I<packageversion>B<)>\" の形"
-"式で依存関係へ挿入されます。debhelper の互換性レベルが v4 未満の場合、パッ"
-"ケージのバージョン番号のうち Debian のバージョンを示す部分も、この依存関係の"
-"情報として含まれます。B<-V> がパラメータと共に指定されると、このパラメータは"
-"後に必要とされる (また、パッケージの名前として確実に含まれるように) 正確な"
-"バージョン依存情報として扱われます。"
-
-#. type: textblock
-#: dh_makeshlibs:78
-msgid ""
-"Beware of using B<-V> without any parameters; this is a conservative setting "
-"that always ensures that other packages' shared library dependencies are at "
-"least as tight as they need to be (unless your library is prone to changing "
-"ABI without updating the upstream version number), so that if the maintainer "
-"screws up then they won't break. The flip side is that packages might end up "
-"with dependencies that are too tight and so find it harder to be upgraded."
+"If a shlibs file is generated by this program, this option controls what "
+"version will be used in the dependency relation."
+msgstr ""
+
+#. type: textblock
+#: dh_makeshlibs:70
+msgid ""
+"In compat 12 and later, B<dh_makeshlibs> defaults to B<-VUpstream-Version>. "
+"In compat 11 and earlier the default behaved like B<-VNone>.."
+msgstr ""
+
+#. type: textblock
+#: dh_makeshlibs:73
+msgid "The B<dh_makeshlibs> tool can generate dependencies in three variants:"
+msgstr ""
+
+#. type: =item
+#: dh_makeshlibs:77
+msgid "B<-VUpstream-Version>"
+msgstr ""
+
+#. type: textblock
+#: dh_makeshlibs:79
+msgid ""
+"The dependency will be \"I<packagename> B<(E<gt>>= I<packageversion>B<)>\". "
+"Note that I<Upstream-Version> is case-sensitive and must be written exactly "
+"as shown here."
+msgstr ""
+
+#. type: textblock
+#: dh_makeshlibs:83
+#, fuzzy
+#| msgid ""
+#| "Beware of using B<-V> without any parameters; this is a conservative "
+#| "setting that always ensures that other packages' shared library "
+#| "dependencies are at least as tight as they need to be (unless your "
+#| "library is prone to changing ABI without updating the upstream version "
+#| "number), so that if the maintainer screws up then they won't break. The "
+#| "flip side is that packages might end up with dependencies that are too "
+#| "tight and so find it harder to be upgraded."
+msgid ""
+"This is a conservative setting that always ensures that other packages' "
+"shared library dependencies are at least as tight as they need to be (unless "
+"the library is prone to changing ABI without updating the upstream version "
+"number)."
msgstr ""
"B<-V> をパラメータ無しで指定する場合の注意事項は次の通りです。この場合、依存"
"関係にあるパッケージに含まれる共有ライブラリはお互いに必要な依存関係を保って"
@@ -7803,6 +8335,88 @@ msgstr ""
#. type: textblock
#: dh_makeshlibs:88
msgid ""
+"The flip side is that packages might end up with dependencies that are too "
+"tight in some cases (note a symbols file can mitigate this issue). This is "
+"often of minor temporary inconvenience and usually a lot better than the "
+"fall out caused by forgetting to bump the dependency information."
+msgstr ""
+
+#. type: textblock
+#: dh_makeshlibs:94
+msgid ""
+"This explicit form was added in debhelper/11.3. In previous versions, a B<-"
+"V> without any dependency information was used instead (and that form still "
+"works)"
+msgstr ""
+
+#. type: =item
+#: dh_makeshlibs:98
+#, fuzzy
+#| msgid "B<-V>"
+msgid "B<-VNone>"
+msgstr "B<-V>"
+
+#. type: textblock
+#: dh_makeshlibs:100
+msgid ""
+"The dependency will be \"I<packagename>\". Note that I<None> is case-"
+"sensitive and must be written exactly as shown here."
+msgstr ""
+
+#. type: textblock
+#: dh_makeshlibs:103
+msgid ""
+"This form is generally unsafe with the only exception being if upstream does "
+"not extend the ABI in any way. However, most upstreams improve their "
+"interfaces over time and packagers are recommended to use B<-VUpstream-"
+"Version> (or one of the other forms of B<-V>I<dependencies>)."
+msgstr ""
+
+#. type: textblock
+#: dh_makeshlibs:108
+msgid ""
+"Alternatively, this may be sufficient if (and only if) the package uses "
+"symbol versioning (see L<dpkg-gensymbols(1)>) and does I<not> build any udeb "
+"packages. Note that symbols are not supported for udeb packages, which "
+"solely relies on shlibs for dependency handling."
+msgstr ""
+
+#. type: =item
+#: dh_makeshlibs:113
+#, fuzzy
+#| msgid "B<--ddeb-migration=>I<package-relation>"
+msgid "B<-V>I<package-relation>"
+msgstr "B<--ddeb-migration=>I<package-relation>"
+
+#. type: textblock
+#: dh_makeshlibs:115
+msgid ""
+"In this case, the value passed to B<-V> will be used as a dependency "
+"relation. The I<package-relation> should generally be of the form \"I<some-"
+"package-name> B<(E<gt>>= I<some-package-version>B<)>\". Remember to include "
+"the package name."
+msgstr ""
+
+#. type: textblock
+#: dh_makeshlibs:120
+msgid ""
+"Note that debhelper will use the value I<as it is> with no sanity checking "
+"or modification. In I<rare special> cases, this is needed to generate a "
+"dependency on a different package than the one containing the library."
+msgstr ""
+
+#. type: textblock
+#: dh_makeshlibs:127
+msgid ""
+"When choosing a value for this option, please keep mind that if the package "
+"provides a symbols file, then that it generally preferred over the shlibs "
+"file for regular .deb packages. See L<dpkg-shlibdeps(1)> for more "
+"information on this topic."
+msgstr ""
+
+#. type: textblock
+#: dh_makeshlibs:134
+msgid ""
"Do not add the \"ldconfig\" trigger even if it seems like the package might "
"need it. The option is called B<--no-scripts> for historical reasons as "
"B<dh_makeshlibs> would previously generate maintainer scripts that called "
@@ -7810,7 +8424,7 @@ msgid ""
msgstr ""
#. type: textblock
-#: dh_makeshlibs:95
+#: dh_makeshlibs:141
msgid ""
"Exclude files that contain I<item> anywhere in their filename or directory "
"from being treated as shared libraries."
@@ -7819,12 +8433,12 @@ msgstr ""
"合、共有ファイルとして扱うのを止めます。"
#. type: =item
-#: dh_makeshlibs:98
+#: dh_makeshlibs:144
msgid "B<--add-udeb=>I<udeb>"
msgstr "B<--add-udeb=>I<udeb>"
#. type: textblock
-#: dh_makeshlibs:100
+#: dh_makeshlibs:146
msgid ""
"Create an additional line for udebs in the shlibs file and use I<udeb> as "
"the package name for udebs to depend on instead of the regular library "
@@ -7834,18 +8448,20 @@ msgstr ""
"名前を使う代わりに、I<udeb> を udebs のパッケージの名前として利用します。"
#. type: textblock
-#: dh_makeshlibs:105
+#: dh_makeshlibs:151
msgid "Pass I<params> to L<dpkg-gensymbols(1)>."
msgstr "I<params> を L<dpkg-gensymbols(1)> へ引き渡します。"
#. type: =item
-#: dh_makeshlibs:113
-msgid "B<dh_makeshlibs>"
-msgstr "B<dh_makeshlibs>"
+#: dh_makeshlibs:159
+#, fuzzy
+#| msgid "B<dh_makeshlibs -V>"
+msgid "B<dh_makeshlibs -VNone>"
+msgstr "B<dh_makeshlibs -V>"
# FIXME: why no-wrap?
#. type: verbatim
-#: dh_makeshlibs:115
+#: dh_makeshlibs:161
#, fuzzy, no-wrap
msgid ""
"Assuming this is a package named F<libfoobar1>, generates a shlibs file that\n"
@@ -7859,13 +8475,15 @@ msgstr ""
"\n"
#. type: =item
-#: dh_makeshlibs:119
-msgid "B<dh_makeshlibs -V>"
+#: dh_makeshlibs:165
+#, fuzzy
+#| msgid "B<dh_makeshlibs -V>"
+msgid "B<dh_makeshlibs -VUpstream-Version>"
msgstr "B<dh_makeshlibs -V>"
# FIXME: unnecessary \n?
#. type: verbatim
-#: dh_makeshlibs:121
+#: dh_makeshlibs:167
#, fuzzy, no-wrap
msgid ""
"Assuming the current version of the package is 1.1-3, generates a shlibs\n"
@@ -7878,12 +8496,12 @@ msgstr ""
"\n"
#. type: =item
-#: dh_makeshlibs:125
+#: dh_makeshlibs:171
msgid "B<dh_makeshlibs -V 'libfoobar1 (E<gt>= 1.0)'>"
msgstr "B<dh_makeshlibs -V 'libfoobar1 (E<gt>= 1.0)'>"
#. type: verbatim
-#: dh_makeshlibs:127
+#: dh_makeshlibs:173
#, no-wrap
msgid ""
"Generates a shlibs file that looks something like:\n"
@@ -8436,7 +9054,7 @@ msgstr ""
"\t\n"
#. type: textblock
-#: dh_shlibdeps:203
+#: dh_shlibdeps:201
msgid "L<debhelper(7)>, L<dpkg-shlibdeps(1)>"
msgstr "L<debhelper(7)>, L<dpkg-shlibdeps(1)>"
@@ -8498,17 +9116,6 @@ msgstr ""
"B<dh_strip> は、F<.o> を拡張子に持つファイルのようなバイナリモジュールからデ"
"バッグ情報の除去を行う事について、未だサポートしていません。"
-#. type: textblock
-#: dh_strip:44
-msgid ""
-"Exclude files that contain I<item> anywhere in their filename from being "
-"stripped. You may use this option multiple times to build up a list of "
-"things to exclude."
-msgstr ""
-"I<item> を名前に含むようなファイルを、デバッグ情報除去の対象から外します。も"
-"し、複数のファイルを処理させないように指定したければ、本オプションを複数回指"
-"定することによって行えます。"
-
#. type: =item
#: dh_strip:48
msgid "B<--dbg-package=>I<package>"
@@ -8765,56 +9372,69 @@ msgstr "B<dh_testroot> [S<I<debhelper オプション>>]"
#. type: textblock
#: dh_testroot:15
msgid ""
-"B<dh_testroot> is used to determine if the package has access to at least "
-"the level of root access that it declared it needed via the Rules-Requires-"
-"Root (R³) field."
+"B<dh_testroot> is used to determine if the target is being run with "
+"sufficient access to (fake)root."
msgstr ""
#. type: textblock
-#: dh_testroot:19
+#: dh_testroot:18
msgid ""
-"The following is how B<dh_testroot> behaves based on the effective value of "
-"the R³ field:"
-msgstr ""
-
-#. type: =item
-#: dh_testroot:24
-msgid "\"binary-targets\""
+"The definition of sufficient access depends on whether the builder (the tool "
+"invoking the F<debian/rules> target) supports the I<Rules-Requires-Root> "
+"(R³) field. If the builder supports R³, then it will set the environment "
+"variable I<DEB_RULES_REQUIRES_ROOT> and B<dh_testroot> will validate that "
+"the builder followed the minimum requirements for the given value of "
+"I<DEB_RULES_REQUIRES_ROOT>."
msgstr ""
#. type: textblock
-#: dh_testroot:26
-msgid "B<dh_testroot> asserts that it is run as root or under L<fakeroot(1)>."
+#: dh_testroot:25
+msgid ""
+"If the builder does not support I<Rules-Requires-Root>, then it will not set "
+"the I<DEB_RULES_REQUIRES_ROOT> environment variable. This will in turn make "
+"B<dh_testroot> (and the rest of debhelper) fall back to assuming that "
+"(fake)root is implied."
msgstr ""
-#. type: =item
-#: dh_testroot:28
-msgid "\"no\""
+#. type: textblock
+#: dh_testroot:30
+msgid ""
+"The following is a summary of how B<dh_testroot> behaves based on the "
+"I<DEB_RULES_REQUIRES_ROOT> environment variable (leading and trailing "
+"whitespace in the variable is ignored)."
msgstr ""
#. type: textblock
-#: dh_testroot:30
-msgid "B<dh_testroot> returns successfully."
+#: dh_testroot:38
+msgid ""
+"If unset, or set to C<binary-targets>, then B<dh_testroot> asserts that it "
+"is run as root or under L<fakeroot(1)>."
msgstr ""
-#. type: =item
-#: dh_testroot:32
-msgid "Any other value than the above"
+#. type: textblock
+#: dh_testroot:43
+msgid ""
+"If set to C<no>, then B<dh_testroot> returns successfully (without "
+"performing any additional checks)."
msgstr ""
#. type: textblock
-#: dh_testroot:34
+#: dh_testroot:48
msgid ""
-"B<dh_testroot> asserts that it is either run as root (or under "
-"L<fakeroot(1)>) or the builder has provided the B<DPKG_GAIN_ROOT_CMD> "
-"environment variable (e.g. via dpkg-buildpackage -r)."
+"If set to any other value than the above, then B<dh_testroot> asserts that "
+"it is either run as root (or under L<fakeroot(1)>) or the builder has "
+"provided the B<DEB_GAIN_ROOT_CMD> environment variable (e.g. via dpkg-"
+"buildpackage -r)."
msgstr ""
#. type: textblock
-#: dh_testroot:40
+#: dh_testroot:55
msgid ""
-"For backwards compatibility, B<dh_testroot> will consider the absence of the "
-"R³ field as if the R³ field was set to \"binary-targets\"."
+"Please note that B<dh_testroot> does I<not> read the I<Rules-Requires-Root> "
+"field. Which implies that B<dh_testroot> may produce incorrect result if "
+"the builder lies in I<DEB_RULES_REQUIRES_ROOT>. On the flip side, it also "
+"enables things like testing for what will happen when "
+"I<DEB_RULES_REQUIRES_ROOT> is set to a given value."
msgstr ""
#. type: textblock
@@ -8858,43 +9478,36 @@ msgstr ""
#. type: textblock
#: dh_usrlocal:36
msgid ""
-"When the I<Rules-Requires-Root> field is not (effectively) I<binary-"
-"targets>, the directories in F</usr/local> will have ownership root:staff "
-"and the mode will be 02775. These values have been chosen to comply with "
-"the recommendations of the Debian policy for directories in F</usr/local>."
+"When the I<DEB_RULES_REQUIRES_ROOT> environment variable is not "
+"(effectively) I<binary-targets>, the directories in F</usr/local> will be "
+"handled as if they were owned by root:root (see below)."
msgstr ""
#. type: textblock
-#: dh_usrlocal:42
-#, fuzzy
-#| msgid ""
-#| "If the directories found in the build tree have unusual owners, groups, "
-#| "or permissions, then those values will be preserved in the directories "
-#| "made by the F<postinst> script. However, as a special exception, if a "
-#| "directory is owned by root.root, it will be treated as if it is owned by "
-#| "root.staff and is mode 2775. This is useful, since that is the group and "
-#| "mode policy recommends for directories in F</usr/local>."
-msgid ""
-"When I<Rules-Requires-Root> has an effective value of I<binary-targets>, the "
-"owners, groups and permissions will be preserved with one exception. If the "
-"directory is owned by root:root, then ownership will be reset to root:staff "
-"and mode will be reset to 02775. This is useful, since that is the group and "
-"mode policy recommends for directories in F</usr/local>."
-msgstr ""
-"パッケージビルドツリー以下に通常ではない所有者、グループ、パーミッションを持"
-"つサブディレクトリが存在すると、これらの情報は保存され、F<postinst> スクリプ"
-"トによって後で反映されます。しかしながら、特別な例外として、ディレクトリが "
-"root.root のユーザ・グループとなっている場合、ユーザ・グループは root.staff "
-"で、パーミッションは 2775 であるものとして扱われます。これは F</usr/local> 以"
-"下のディレクトリを扱うのに都合が良い為です。"
-
-#. type: textblock
-#: dh_usrlocal:67
+#: dh_usrlocal:40
+msgid ""
+"When the I<DEB_RULES_REQUIRES_ROOT> environment variable has an effective "
+"value of I<binary-targets>, the owners, groups and permissions will be "
+"preserved with the sole exception where the directory is owned by root:root."
+msgstr ""
+
+#. type: textblock
+#: dh_usrlocal:44
+msgid ""
+"If a directory is owned by root:root, then ownership will be determined at "
+"install time. The ownership and permission bits will either be root:root "
+"mode 0755 or root:staff mode 02775. The actual choice depends on whether "
+"the system has F</etc/staff-group-for-usr-local> (as documented in the "
+"Debian Policy Manual §9.1.2 since version 4.1.4)"
+msgstr ""
+
+#. type: textblock
+#: dh_usrlocal:68
msgid "Debian policy, version 2.2"
msgstr "Debian ポリシー バージョン 2.2"
#. type: textblock
-#: dh_usrlocal:140
+#: dh_usrlocal:144
msgid "Andrew Stribblehill <ads@debian.org>"
msgstr "Andrew Stribblehill <ads@debian.org>"
@@ -9067,11 +9680,6 @@ msgstr ""
"もし本ファイルが存在すれば、パッケージビルドディレクトリ以下に etc/init/"
"I<package>.conf ファイルとしてインストールされます。"
-#. type: =item
-#: dh_systemd_enable:87
-msgid "B<--no-enable>"
-msgstr "B<--no-enable>"
-
#. type: textblock
#: dh_systemd_enable:89
#, fuzzy
@@ -9223,6 +9831,123 @@ msgstr ""
msgid "This compatibility level is open for beta testing; changes may occur."
msgstr "この互換性レベルはベータテスト中です。変更が加わります。"
+#~ msgid ""
+#~ "The syntax of these files is intentionally kept very simple to make them "
+#~ "easy to read, understand, and modify. If you prefer power and complexity, "
+#~ "you can make the file executable, and write a program that outputs "
+#~ "whatever content is appropriate for a given situation. When you do so, "
+#~ "the output is not further processed to expand wildcards or strip comments."
+#~ msgstr ""
+#~ "これらファイルの文法は、読解・修正しやすいよう、意図的にシンプルにしてあり"
+#~ "ます。もし、さらに強力で複雑な事をしたければ、これらのファイルに実行権限を"
+#~ "付与し、状況にあった出力をするプログラムを作成してください。ただし、この場"
+#~ "合の出力結果では、後の処理でワイルドカードは展開されず、コメントも取り除か"
+#~ "れない事に気をつけてください。"
+
+#~ msgid "B<dh_installdirs> [S<I<debhelper options>>] [B<-A>] [S<I<dir> ...>]"
+#~ msgstr "B<dh_installdirs> [S<I<debhelper options>>] [B<-A>] [S<I<dir> ...>]"
+
+#~ msgid ""
+#~ "By default, the shlibs file generated by this program does not make "
+#~ "packages depend on any particular version of the package containing the "
+#~ "shared library. It may be necessary for you to add some version "
+#~ "dependency information to the shlibs file. If B<-V> is specified with no "
+#~ "dependency information, the current upstream version of the package is "
+#~ "plugged into a dependency that looks like \"I<packagename> B<(E<gt>>= "
+#~ "I<packageversion>B<)>\". Note that in debhelper compatibility levels "
+#~ "before v4, the Debian part of the package version number is also "
+#~ "included. If B<-V> is specified with parameters, the parameters can be "
+#~ "used to specify the exact dependency information needed (be sure to "
+#~ "include the package name)."
+#~ msgstr ""
+#~ "デフォルトでは、本プログラムにより生成される shlibs ファイルは、共有ライブ"
+#~ "ラリを含むパッケージの特定のバージョンに依存することが無いようにします。こ"
+#~ "れはshlibsファイルにバージョンに関する依存情報をパッケージ作成者により追加"
+#~ "する必要があるという事です。B<-V>が依存関係の情報無しで用いられると、アッ"
+#~ "プストリームのバージョン情報が \"I<packagename> "
+#~ "B<(E<gt>>=I<packageversion>B<)>\" の形式で依存関係へ挿入されます。"
+#~ "debhelper の互換性レベルが v4 未満の場合、パッケージのバージョン番号のう"
+#~ "ち Debian のバージョンを示す部分も、この依存関係の情報として含まれます。"
+#~ "B<-V> がパラメータと共に指定されると、このパラメータは後に必要とされる (ま"
+#~ "た、パッケージの名前として確実に含まれるように) 正確なバージョン依存情報と"
+#~ "して扱われます。"
+
+#~ msgid "B<dh_makeshlibs>"
+#~ msgstr "B<dh_makeshlibs>"
+
+#~ msgid ""
+#~ "Note for the first (or only) binary package listed in F<debian/control>, "
+#~ "debhelper will use F<debian/foo> when there's no F<debian/package.foo> "
+#~ "file."
+#~ msgstr ""
+#~ "F<debian/control> に記載されている最初の (あるいは唯一の) バイナリパッケー"
+#~ "ジは、debhelper は F<debian/package.foo> ファイルが無い場合には F<debian/"
+#~ "foo> ファイルを利用します。"
+
+#, fuzzy
+#~| msgid ""
+#~| "If the directories found in the build tree have unusual owners, groups, "
+#~| "or permissions, then those values will be preserved in the directories "
+#~| "made by the F<postinst> script. However, as a special exception, if a "
+#~| "directory is owned by root.root, it will be treated as if it is owned by "
+#~| "root.staff and is mode 2775. This is useful, since that is the group and "
+#~| "mode policy recommends for directories in F</usr/local>."
+#~ msgid ""
+#~ "When I<Rules-Requires-Root> has an effective value of I<binary-targets>, "
+#~ "the owners, groups and permissions will be preserved with one exception. "
+#~ "If the directory is owned by root:root, then ownership will be reset to "
+#~ "root:staff and mode will be reset to 02775. This is useful, since that is "
+#~ "the group and mode policy recommends for directories in F</usr/local>."
+#~ msgstr ""
+#~ "パッケージビルドツリー以下に通常ではない所有者、グループ、パーミッションを"
+#~ "持つサブディレクトリが存在すると、これらの情報は保存され、F<postinst> スク"
+#~ "リプトによって後で反映されます。しかしながら、特別な例外として、ディレクト"
+#~ "リが root.root のユーザ・グループとなっている場合、ユーザ・グループは "
+#~ "root.staff で、パーミッションは 2775 であるものとして扱われます。これは "
+#~ "F</usr/local> 以下のディレクトリを扱うのに都合が良い為です。"
+
+#~ msgid ""
+#~ "Please keep in mind that dh_install will B<not> expand wildcards in this "
+#~ "file."
+#~ msgstr ""
+#~ "dh_install は、このファイル内でワイルドカードをB<展開しない>点に注意して下"
+#~ "さい。"
+
+#~ msgid ""
+#~ "This option makes B<dh_install> keep track of the files it installs, and "
+#~ "then at the end, compare that list with the files in the source "
+#~ "directory. If any of the files (and symlinks) in the source directory "
+#~ "were not installed to somewhere, it will warn on stderr about that."
+#~ msgstr ""
+#~ "このオプションにより、B<dh_install> はインストールするファイル群を記録し、"
+#~ "そして最後にソースディレクトリにあるファイルの一覧と比較します。もし、ソー"
+#~ "スファイル中のファイル (もしくはシンボリックリンク) でインストールされてい"
+#~ "ないものが発見されると、警告を標準エラー出力に表示します。"
+
+#~ msgid ""
+#~ "This may be useful if you have a large package and want to make sure that "
+#~ "you don't miss installing newly added files in new upstream releases."
+#~ msgstr ""
+#~ "このオプションは大きなパッケージをつくろうとしていたり、開発元 (upstream) "
+#~ "の新しいリリースにて新たに増えたファイルをインストールし忘れないようにする"
+#~ "時に便利です。"
+
+#~ msgid ""
+#~ "Note that files that are excluded from being moved via the B<-X> option "
+#~ "are not warned about."
+#~ msgstr ""
+#~ "B<-X> オプションで除外したファイルは警告対象から除外される事にご注意くださ"
+#~ "い。"
+
+#~ msgid ""
+#~ "This option is like B<--list-missing>, except if a file was missed, it "
+#~ "will not only list the missing files, but also fail with a nonzero exit "
+#~ "code."
+#~ msgstr ""
+#~ "このオプションは B<--list-missing> と同じようなものですが、ファイルがイン"
+#~ "ストールされていないものがあるのを発見すると、そのファイルを列挙して教えて"
+#~ "くれるだけでなく、終了コードとして 0 以外を返して処理を失敗します。"
+
#~ msgid "Participating in the open beta testing of new compat levels"
#~ msgstr "新しい互換性レベルの公開ベータテストに参加する"
@@ -9246,9 +9971,6 @@ msgstr "この互換性レベルはベータテスト中です。変更が加わ
#~ msgid "Please consider the following before opting in:"
#~ msgstr "受け入れ前に以下の事柄を検討して下さい:"
-#~ msgid "*"
-#~ msgstr "*"
-
#~ msgid ""
#~ "The automatic upgrade in compatibility level may cause the package (or a "
#~ "feature in it) to stop functioning."
diff --git a/man/po4a/po/pt.po b/man/po4a/po/pt.po
index 24bfb559..b3bfbda4 100644
--- a/man/po4a/po/pt.po
+++ b/man/po4a/po/pt.po
@@ -5,10 +5,10 @@
# Américo Monteiro <a_monteiro@gmx.com>, 2014 - 2017.
msgid ""
msgstr ""
-"Project-Id-Version: debhelper 10.2.3\n"
+"Project-Id-Version: debhelper 10.10.10\n"
"Report-Msgid-Bugs-To: debhelper@packages.debian.org\n"
-"POT-Creation-Date: 2017-11-11 13:57+0000\n"
-"PO-Revision-Date: 2017-01-12 22:28+0000\n"
+"POT-Creation-Date: 2018-08-08 14:37+0200\n"
+"PO-Revision-Date: 2017-12-06 00:26+0000\n"
"Last-Translator: Américo Monteiro <a_monteiro@gmx.com>\n"
"Language-Team: Portuguese <>\n"
"Language: pt\n"
@@ -16,22 +16,23 @@ msgstr ""
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
-"X-Generator: Lokalize 1.5\n"
+"X-Generator: Lokalize 2.0\n"
#. type: =head1
#: debhelper.pod:3 debhelper-obsolete-compat.pod:1 dh:3 dh_auto_build:3
#: dh_auto_clean:3 dh_auto_configure:3 dh_auto_install:3 dh_auto_test:3
-#: dh_bugfiles:3 dh_builddeb:5 dh_clean:3 dh_compress:3 dh_fixperms:3
+#: dh_bugfiles:3 dh_builddeb:5 dh_clean:3 dh_compress:3 dh_dwz:3 dh_fixperms:3
#: dh_gconf:3 dh_gencontrol:3 dh_icons:3 dh_install:3 dh_installcatalogs:3
#: dh_installchangelogs:3 dh_installcron:3 dh_installdeb:3 dh_installdebconf:3
#: dh_installdirs:3 dh_installdocs:5 dh_installemacsen:3 dh_installexamples:5
-#: dh_installifupdown:3 dh_installinfo:3 dh_installinit:3 dh_installlogcheck:3
-#: dh_installlogrotate:3 dh_installman:3 dh_installmanpages:3 dh_installmenu:3
-#: dh_installmime:3 dh_installmodules:3 dh_installpam:3 dh_installppp:3
-#: dh_installudev:3 dh_installwm:3 dh_installxfonts:3 dh_link:3 dh_lintian:3
-#: dh_listpackages:3 dh_makeshlibs:3 dh_md5sums:3 dh_movefiles:3 dh_perl:3
-#: dh_prep:3 dh_shlibdeps:3 dh_strip:3 dh_testdir:3 dh_testroot:5 dh_usrlocal:5
-#: dh_systemd_enable:3 dh_systemd_start:3
+#: dh_installifupdown:3 dh_installinfo:3 dh_installinit:3 dh_installinitramfs:3
+#: dh_installlogcheck:3 dh_installlogrotate:3 dh_installman:3
+#: dh_installmanpages:3 dh_installmenu:3 dh_installmime:3 dh_installmodules:3
+#: dh_installpam:3 dh_installppp:3 dh_installudev:3 dh_installwm:3
+#: dh_installxfonts:3 dh_link:3 dh_lintian:3 dh_listpackages:3 dh_makeshlibs:3
+#: dh_md5sums:3 dh_movefiles:3 dh_perl:3 dh_prep:3 dh_shlibdeps:3 dh_strip:3
+#: dh_testdir:3 dh_testroot:5 dh_usrlocal:5 dh_systemd_enable:3
+#: dh_systemd_start:3
msgid "NAME"
msgstr "NOME"
@@ -41,21 +42,21 @@ msgid "debhelper - the debhelper tool suite"
msgstr "debhelper - a suite de ferramentas debhelper"
#. type: =head1
-#: debhelper.pod:7 debhelper-obsolete-compat.pod:5 dh:15 dh_auto_build:16
+#: debhelper.pod:7 debhelper-obsolete-compat.pod:5 dh:16 dh_auto_build:16
#: dh_auto_clean:16 dh_auto_configure:16 dh_auto_install:18 dh_auto_test:16
-#: dh_bugfiles:15 dh_builddeb:17 dh_clean:15 dh_compress:17 dh_fixperms:16
-#: dh_gconf:15 dh_gencontrol:16 dh_icons:16 dh_install:15 dh_installcatalogs:17
-#: dh_installchangelogs:15 dh_installcron:15 dh_installdeb:15
-#: dh_installdebconf:15 dh_installdirs:15 dh_installdocs:17
+#: dh_bugfiles:15 dh_builddeb:17 dh_clean:15 dh_compress:17 dh_dwz:16
+#: dh_fixperms:16 dh_gconf:15 dh_gencontrol:16 dh_icons:16 dh_install:15
+#: dh_installcatalogs:17 dh_installchangelogs:15 dh_installcron:15
+#: dh_installdeb:15 dh_installdebconf:15 dh_installdirs:15 dh_installdocs:17
#: dh_installemacsen:15 dh_installexamples:17 dh_installifupdown:15
-#: dh_installinfo:15 dh_installinit:16 dh_installlogcheck:15
-#: dh_installlogrotate:15 dh_installman:16 dh_installmanpages:16
-#: dh_installmenu:15 dh_installmime:15 dh_installmodules:16 dh_installpam:15
-#: dh_installppp:15 dh_installudev:15 dh_installwm:15 dh_installxfonts:15
-#: dh_link:16 dh_lintian:15 dh_listpackages:15 dh_makeshlibs:15 dh_md5sums:16
-#: dh_movefiles:15 dh_perl:17 dh_prep:15 dh_shlibdeps:17 dh_strip:16
-#: dh_testdir:15 dh_testroot:9 dh_usrlocal:19 dh_systemd_enable:16
-#: dh_systemd_start:17
+#: dh_installinfo:15 dh_installinit:16 dh_installinitramfs:15
+#: dh_installlogcheck:15 dh_installlogrotate:15 dh_installman:16
+#: dh_installmanpages:16 dh_installmenu:15 dh_installmime:15
+#: dh_installmodules:16 dh_installpam:15 dh_installppp:15 dh_installudev:15
+#: dh_installwm:15 dh_installxfonts:15 dh_link:16 dh_lintian:15
+#: dh_listpackages:15 dh_makeshlibs:15 dh_md5sums:16 dh_movefiles:15 dh_perl:17
+#: dh_prep:15 dh_shlibdeps:17 dh_strip:16 dh_testdir:15 dh_testroot:9
+#: dh_usrlocal:19 dh_systemd_enable:16 dh_systemd_start:17
msgid "SYNOPSIS"
msgstr "RESUMO"
@@ -69,21 +70,21 @@ msgstr ""
"N>I<package>] [B<-P>I<tmpdir>]"
#. type: =head1
-#: debhelper.pod:11 dh:19 dh_auto_build:20 dh_auto_clean:20
+#: debhelper.pod:11 dh:20 dh_auto_build:20 dh_auto_clean:20
#: dh_auto_configure:20 dh_auto_install:22 dh_auto_test:20 dh_bugfiles:19
-#: dh_builddeb:21 dh_clean:19 dh_compress:21 dh_fixperms:20 dh_gconf:19
-#: dh_gencontrol:20 dh_icons:20 dh_install:19 dh_installcatalogs:21
+#: dh_builddeb:21 dh_clean:19 dh_compress:21 dh_dwz:20 dh_fixperms:20
+#: dh_gconf:19 dh_gencontrol:20 dh_icons:20 dh_install:19 dh_installcatalogs:21
#: dh_installchangelogs:19 dh_installcron:19 dh_installdeb:19
#: dh_installdebconf:19 dh_installdirs:19 dh_installdocs:21
#: dh_installemacsen:19 dh_installexamples:21 dh_installifupdown:19
-#: dh_installinfo:19 dh_installinit:20 dh_installlogcheck:19
-#: dh_installlogrotate:19 dh_installman:20 dh_installmanpages:20
-#: dh_installmenu:19 dh_installmime:19 dh_installmodules:20 dh_installpam:19
-#: dh_installppp:19 dh_installudev:19 dh_installwm:19 dh_installxfonts:19
-#: dh_link:20 dh_lintian:19 dh_listpackages:19 dh_makeshlibs:19 dh_md5sums:20
-#: dh_movefiles:19 dh_perl:21 dh_prep:19 dh_shlibdeps:21 dh_strip:20
-#: dh_testdir:19 dh_testroot:13 dh_usrlocal:23 dh_systemd_enable:20
-#: dh_systemd_start:21
+#: dh_installinfo:19 dh_installinit:20 dh_installinitramfs:19
+#: dh_installlogcheck:19 dh_installlogrotate:19 dh_installman:20
+#: dh_installmanpages:20 dh_installmenu:19 dh_installmime:19
+#: dh_installmodules:20 dh_installpam:19 dh_installppp:19 dh_installudev:19
+#: dh_installwm:19 dh_installxfonts:19 dh_link:20 dh_lintian:19
+#: dh_listpackages:19 dh_makeshlibs:19 dh_md5sums:20 dh_movefiles:19 dh_perl:21
+#: dh_prep:19 dh_shlibdeps:21 dh_strip:20 dh_testdir:19 dh_testroot:13
+#: dh_usrlocal:23 dh_systemd_enable:20 dh_systemd_start:21
msgid "DESCRIPTION"
msgstr "DESCRIÇÃO"
@@ -145,6 +146,10 @@ msgid ""
"This is so they can locate find F<debian/control> and F<debian/compat> when "
"needed."
msgstr ""
+"Excepto onde a ferramenta explicitamente denota, caso contrário, todas as "
+"ferramentas do debhelper assumem que são corridas a partir do directório "
+"raiz de um pacote fonte descompactado. Isto é feito para que possam "
+"localizar e encontrar F<debian/control> e F<debian/compat> quando necessário."
#. type: =head1
#: debhelper.pod:36
@@ -240,14 +245,15 @@ msgstr ""
#: debhelper.pod:79
msgid ""
"Note for the first (or only) binary package listed in F<debian/control>, "
-"debhelper will use F<debian/foo> when there's no F<debian/package.foo> file."
+"debhelper will use F<debian/foo> when there's no F<debian/I<package>.foo> "
+"file. However, it is often a good idea to keep the F<I<package>.> prefix as "
+"it is more explicit. The primary exception to this are files that debhelper "
+"by default installs in every binary package when it does not have a package "
+"prefix (such as F<debian/copyright> or F<debian/changelog>)."
msgstr ""
-"Note que para o primeiro (ou único) pacote binário listado em <debian/"
-"control>, o debhelper irá usar F<debian/foo> quando não existe nenhum "
-"ficheiro F<debian/package.foo>."
#. type: textblock
-#: debhelper.pod:83
+#: debhelper.pod:87
msgid ""
"In some rare cases, you may want to have different versions of these files "
"for different architectures or OSes. If files named debian/I<package>.foo."
@@ -265,7 +271,7 @@ msgstr ""
"gerais."
#. type: textblock
-#: debhelper.pod:90
+#: debhelper.pod:94
msgid ""
"Mostly, these config files are used to specify lists of various types of "
"files. Documentation or example files to install, files to move, and so on. "
@@ -283,28 +289,77 @@ msgstr ""
"ignoradas."
#. type: textblock
-#: debhelper.pod:97
+#: debhelper.pod:101
msgid ""
"The syntax of these files is intentionally kept very simple to make them "
-"easy to read, understand, and modify. If you prefer power and complexity, "
-"you can make the file executable, and write a program that outputs whatever "
-"content is appropriate for a given situation. When you do so, the output is "
-"not further processed to expand wildcards or strip comments."
-msgstr ""
-"A sintaxe destes ficheiros é mantida propositadamente simples para os tornar "
-"fáceis de ler, perceber, e modificar. Se você preferir o poder e a "
-"complexidade, pode tornar o ficheiro executável, e escrever um programa que "
-"gere um conteúdo apropriado para uma dada situação seja ela qual for. Quando "
-"o fizer, o resultado já não é mais processado para expandir wildcards ou "
-"despojar comentários."
+"easy to read, understand, and modify."
+msgstr ""
+
+#. type: =head2
+#: debhelper.pod:104
+#, fuzzy
+#| msgid "Comments are ignored in debhelper config files."
+msgid "Executable debhelper config files"
+msgstr "Comentários são ignorados nos ficheiros de configuração do debhelper."
+
+#. type: textblock
+#: debhelper.pod:106
+msgid ""
+"If you need additional flexibility, many of the debhelper tools (e.g. "
+"L<dh_install(1)>) support executing a config file as a script."
+msgstr ""
+
+#. type: textblock
+#: debhelper.pod:109
+msgid ""
+"To use this feature, simply mark the config file as executable (e.g. B<< "
+"chmod +x debian/I<package>.install >>) and the tool will attempt to execute "
+"it and use the output of the script. In many cases, you can use L<dh-"
+"exec(1)> as interpreter of the config file to retain most of the original "
+"syntax while getting the additional flexibility you need."
+msgstr ""
+
+#. type: textblock
+#: debhelper.pod:117
+msgid ""
+"When using executable debhelper config files, please be aware of the "
+"following:"
+msgstr ""
+
+#. type: =item
+#: debhelper.pod:122 debhelper.pod:127
+msgid "*"
+msgstr "*"
+
+#. type: textblock
+#: debhelper.pod:124
+msgid ""
+"The executable config file B<must> exit with success (i.e. its return code "
+"should indicate success)."
+msgstr ""
+
+#. type: textblock
+#: debhelper.pod:129
+msgid ""
+"The output will be used exactly as it is. Notably, debhelper will I<not> "
+"expand wildcards or strip comments in the output."
+msgstr ""
+
+#. type: textblock
+#: debhelper.pod:134
+msgid ""
+"If you need the package to build on a file system where you cannot disable "
+"the executable bit, then you can use L<dh-exec(1)> and its B<strip-output> "
+"script."
+msgstr ""
#. type: =head1
-#: debhelper.pod:103
+#: debhelper.pod:138
msgid "SHARED DEBHELPER OPTIONS"
msgstr "OPÇÕES DO DEBHELPER PARTILHADAS"
#. type: textblock
-#: debhelper.pod:105
+#: debhelper.pod:140
msgid ""
"The following command line options are supported by all debhelper programs."
msgstr ""
@@ -312,12 +367,12 @@ msgstr ""
"programas do debhelper."
#. type: =item
-#: debhelper.pod:109
+#: debhelper.pod:144
msgid "B<-v>, B<--verbose>"
msgstr "B<-v>, B<--verbose>"
#. type: textblock
-#: debhelper.pod:111
+#: debhelper.pod:146
msgid ""
"Verbose mode: show all commands that modify the package build directory."
msgstr ""
@@ -325,12 +380,12 @@ msgstr ""
"compilação de pacotes."
#. type: =item
-#: debhelper.pod:113 dh:71
+#: debhelper.pod:148 dh:82
msgid "B<--no-act>"
msgstr "B<--no-act>"
#. type: textblock
-#: debhelper.pod:115
+#: debhelper.pod:150
msgid ""
"Do not really do anything. If used with -v, the result is that the command "
"will output what it would have done."
@@ -339,12 +394,12 @@ msgstr ""
"mostra o que iria fazer."
#. type: =item
-#: debhelper.pod:118
+#: debhelper.pod:153
msgid "B<-a>, B<--arch>"
msgstr "B<-a>, B<--arch>"
#. type: textblock
-#: debhelper.pod:120
+#: debhelper.pod:155
msgid ""
"Act on architecture dependent packages that should be built for the "
"B<DEB_HOST_ARCH> architecture."
@@ -353,22 +408,22 @@ msgstr ""
"arquitectura de compilação B<DEB_HOST_ARCH>."
#. type: =item
-#: debhelper.pod:123
+#: debhelper.pod:158
msgid "B<-i>, B<--indep>"
msgstr "B<-i>, B<--indep>"
#. type: textblock
-#: debhelper.pod:125
+#: debhelper.pod:160
msgid "Act on all architecture independent packages."
msgstr "Actua em todos os pacotes independentes da arquitectura."
#. type: =item
-#: debhelper.pod:127
+#: debhelper.pod:162
msgid "B<-p>I<package>, B<--package=>I<package>"
msgstr "B<-p>I<pacote>, B<--package=>I<pacote>"
#. type: textblock
-#: debhelper.pod:129
+#: debhelper.pod:164
msgid ""
"Act on the package named I<package>. This option may be specified multiple "
"times to make debhelper operate on a given set of packages."
@@ -377,22 +432,29 @@ msgstr ""
"vezes para fazer o debhelper operar num determinado conjunto de pacotes."
#. type: =item
-#: debhelper.pod:132
+#: debhelper.pod:167
msgid "B<-s>, B<--same-arch>"
msgstr "B<-s>, B<--same-arch>"
#. type: textblock
-#: debhelper.pod:134
+#: debhelper.pod:169
msgid "Deprecated alias of B<-a>."
msgstr "Alias descontinuado de B<-a>."
+#. type: textblock
+#: debhelper.pod:171 dh_install:77 dh_install:86
+#, fuzzy
+#| msgid "The option is removed in compat 12."
+msgid "This option is removed in compat 12."
+msgstr "A opção foi removida no nível de compatibilidade 12."
+
#. type: =item
-#: debhelper.pod:136
+#: debhelper.pod:173
msgid "B<-N>I<package>, B<--no-package=>I<package>"
msgstr "B<-N>I<pacote>, B<--no-package=>I<pacote>"
#. type: textblock
-#: debhelper.pod:138
+#: debhelper.pod:175
msgid ""
"Do not act on the specified package even if an B<-a>, B<-i>, or B<-p> option "
"lists the package as one that should be acted on."
@@ -401,12 +463,12 @@ msgstr ""
"listarem o pacote como um em que se deverá actuar."
#. type: =item
-#: debhelper.pod:141
+#: debhelper.pod:178
msgid "B<--remaining-packages>"
msgstr "B<--remaining-packages>"
#. type: textblock
-#: debhelper.pod:143
+#: debhelper.pod:180
msgid ""
"Do not act on the packages which have already been acted on by this "
"debhelper command earlier (i.e. if the command is present in the package "
@@ -422,12 +484,12 @@ msgstr ""
"definições predefinidas."
#. type: =item
-#: debhelper.pod:149
+#: debhelper.pod:186
msgid "B<--ignore=>I<file>"
msgstr "B<--ignore=>I<ficheiro>"
#. type: textblock
-#: debhelper.pod:151
+#: debhelper.pod:188
msgid ""
"Ignore the specified file. This can be used if F<debian/> contains a "
"debhelper config file that a debhelper command should not act on. Note that "
@@ -441,7 +503,7 @@ msgstr ""
"ignorar estes ficheiros."
#. type: textblock
-#: debhelper.pod:156
+#: debhelper.pod:193
msgid ""
"For example, if upstream ships a F<debian/init> that you don't want "
"B<dh_installinit> to install, use B<--ignore=debian/init>"
@@ -450,12 +512,12 @@ msgstr ""
"quer que B<dh_installinit> instale, use B<--ignore=debian/init>"
#. type: =item
-#: debhelper.pod:159
+#: debhelper.pod:196
msgid "B<-P>I<tmpdir>, B<--tmpdir=>I<tmpdir>"
msgstr "B<-P>I<tmpdir>, B<--tmpdir=>I<tmpdir>"
#. type: textblock
-#: debhelper.pod:161
+#: debhelper.pod:198
msgid ""
"Use I<tmpdir> for package build directory. The default is debian/I<package>"
msgstr ""
@@ -463,12 +525,12 @@ msgstr ""
"debian/I<pacote>"
#. type: =item
-#: debhelper.pod:163
+#: debhelper.pod:200
msgid "B<--mainpackage=>I<package>"
msgstr "B<--mainpackage=>I<pacote>"
#. type: textblock
-#: debhelper.pod:165
+#: debhelper.pod:202
msgid ""
"This little-used option changes the package which debhelper considers the "
"\"main package\", that is, the first one listed in F<debian/control>, and "
@@ -481,12 +543,12 @@ msgstr ""
"F<debian/package.foo> usuais."
#. type: =item
-#: debhelper.pod:170
+#: debhelper.pod:207
msgid "B<-O=>I<option>|I<bundle>"
msgstr "B<-O=>I<opção>|I<bundle>"
#. type: textblock
-#: debhelper.pod:172
+#: debhelper.pod:209
msgid ""
"This is used by L<dh(1)> when passing user-specified options to all the "
"commands it runs. If the command supports the specified option or option "
@@ -499,12 +561,12 @@ msgstr ""
"alguma parte do conjunto de opções), será ignorado."
#. type: =head1
-#: debhelper.pod:179
+#: debhelper.pod:216
msgid "COMMON DEBHELPER OPTIONS"
msgstr "OPÇÕES COMUNS DO DEBHELPER"
#. type: textblock
-#: debhelper.pod:181
+#: debhelper.pod:218
msgid ""
"The following command line options are supported by some debhelper "
"programs. See the man page of each program for a complete explanation of "
@@ -515,28 +577,33 @@ msgstr ""
"sobre o que cada opção faz."
#. type: =item
-#: debhelper.pod:187
+#: debhelper.pod:224
msgid "B<-n>"
msgstr "B<-n>"
#. type: textblock
-#: debhelper.pod:189
+#: debhelper.pod:226
msgid "Do not modify F<postinst>, F<postrm>, etc. scripts."
msgstr "Não modifique os scripts F<postinst>, F<postrm>, etc."
#. type: =item
-#: debhelper.pod:191 dh_compress:56 dh_install:98 dh_installchangelogs:74
-#: dh_installdocs:95 dh_installexamples:73 dh_link:75 dh_makeshlibs:93
+#: debhelper.pod:228 dh_compress:56 dh_dwz:44 dh_installchangelogs:85
+#: dh_installdocs:99 dh_installexamples:77 dh_link:75 dh_makeshlibs:139
#: dh_md5sums:40 dh_shlibdeps:34 dh_strip:42
msgid "B<-X>I<item>, B<--exclude=>I<item>"
msgstr "B<-X>I<item>, B<--exclude=>I<item>"
#. type: textblock
-#: debhelper.pod:193
+#: debhelper.pod:230
+#, fuzzy
+#| msgid ""
+#| "Exclude an item from processing. This option may be used multiple times, "
+#| "to exclude more than one thing. The \\fIitem\\fR is typically part of a "
+#| "filename, and any file containing the specified text will be excluded."
msgid ""
"Exclude an item from processing. This option may be used multiple times, to "
-"exclude more than one thing. The \\fIitem\\fR is typically part of a "
-"filename, and any file containing the specified text will be excluded."
+"exclude more than one thing. The I<item> is typically part of a filename, "
+"and any file containing the specified text will be excluded."
msgstr ""
"Exclui um item do processamento. Esta opção pode ser usada várias vezes, "
"para excluir mais do que uma coisa. O \\fIitem\\fR é tipicamente parte de um "
@@ -544,14 +611,14 @@ msgstr ""
"excluído."
#. type: =item
-#: debhelper.pod:197 dh_bugfiles:57 dh_compress:63 dh_installdirs:46
-#: dh_installdocs:90 dh_installexamples:41 dh_installinfo:38 dh_installman:83
-#: dh_link:70
+#: debhelper.pod:234 dh_bugfiles:57 dh_compress:63 dh_installdirs:46
+#: dh_installdocs:94 dh_installexamples:45 dh_installinfo:42 dh_installman:87
+#: dh_installwm:52 dh_link:70
msgid "B<-A>, B<--all>"
msgstr "B<-A>, B<--all>"
#. type: textblock
-#: debhelper.pod:199
+#: debhelper.pod:236
msgid ""
"Makes files or other items that are specified on the command line take "
"effect in ALL packages acted on, not just the first."
@@ -561,12 +628,12 @@ msgstr ""
"primeiro."
#. type: =head1
-#: debhelper.pod:204
+#: debhelper.pod:241
msgid "BUILD SYSTEM OPTIONS"
msgstr "OPÇÕES DO SISTEMA DE COMPILAÇÃO"
#. type: textblock
-#: debhelper.pod:206
+#: debhelper.pod:243
msgid ""
"The following command line options are supported by all of the "
"B<dh_auto_>I<*> debhelper programs. These programs support a variety of "
@@ -584,12 +651,12 @@ msgstr ""
"B<dh_auto_>I<*>."
#. type: =item
-#: debhelper.pod:215
+#: debhelper.pod:252
msgid "B<-S>I<buildsystem>, B<--buildsystem=>I<buildsystem>"
msgstr "B<-S>I<sistemacompilação>, B<--buildsystem=>I<sistemacompilação>"
#. type: textblock
-#: debhelper.pod:217
+#: debhelper.pod:254
msgid ""
"Force use of the specified I<buildsystem>, instead of trying to auto-select "
"one which might be applicable for the package."
@@ -598,12 +665,12 @@ msgstr ""
"auto-seleccionar um que pode ser aplicável para o pacote."
#. type: =item
-#: debhelper.pod:220
+#: debhelper.pod:257
msgid "B<-D>I<directory>, B<--sourcedirectory=>I<directory>"
msgstr "B<-D>I<directório>, B<--sourcedirectory=>I<directório>"
#. type: textblock
-#: debhelper.pod:222
+#: debhelper.pod:259
msgid ""
"Assume that the original package source tree is at the specified "
"I<directory> rather than the top level directory of the Debian source "
@@ -614,12 +681,12 @@ msgstr ""
"pacotes fonte de Debian."
#. type: =item
-#: debhelper.pod:226
+#: debhelper.pod:263
msgid "B<-B>[I<directory>], B<--builddirectory=>[I<directory>]"
msgstr "B<-B>[I<directório>], B<--builddirectory=>[I<directório>]"
#. type: textblock
-#: debhelper.pod:228
+#: debhelper.pod:265
msgid ""
"Enable out of source building and use the specified I<directory> as the "
"build directory. If I<directory> parameter is omitted, a default build "
@@ -630,7 +697,7 @@ msgstr ""
"escolhido o directório de compilação predefinido."
#. type: textblock
-#: debhelper.pod:232
+#: debhelper.pod:269
msgid ""
"If this option is not specified, building will be done in source by default "
"unless the build system requires or prefers out of source tree building. In "
@@ -643,7 +710,7 @@ msgstr ""
"compilação predefinido mesmo se B<--builddirectory> não seja especificado."
#. type: textblock
-#: debhelper.pod:237
+#: debhelper.pod:274
msgid ""
"If the build system prefers out of source tree building but still allows in "
"source building, the latter can be re-enabled by passing a build directory "
@@ -655,12 +722,12 @@ msgstr ""
"o directório fonte."
#. type: =item
-#: debhelper.pod:241
+#: debhelper.pod:278
msgid "B<--parallel>, B<--no-parallel>"
msgstr "B<--parallel>, B<--no-parallel>"
#. type: textblock
-#: debhelper.pod:243
+#: debhelper.pod:280
msgid ""
"Control whether parallel builds should be used if underlying build system "
"supports them. The number of parallel jobs is controlled by the "
@@ -674,7 +741,7 @@ msgstr ""
"sistema de compilação."
#. type: textblock
-#: debhelper.pod:249
+#: debhelper.pod:286
msgid ""
"If neither option is specified, debhelper currently defaults to B<--"
"parallel> in compat 10 (or later) and B<--no-parallel> otherwise."
@@ -684,10 +751,10 @@ msgstr ""
"no-parallel> em caso contrário."
#. type: textblock
-#: debhelper.pod:252
+#: debhelper.pod:289
msgid ""
"As an optimization, B<dh> will try to avoid passing these options to "
-"subprocesses, if they are unncessary and the only options passed. Notably "
+"subprocesses, if they are unnecessary and the only options passed. Notably "
"this happens when B<DEB_BUILD_OPTIONS> does not have a I<parallel> parameter "
"(or its value is 1)."
msgstr ""
@@ -697,12 +764,12 @@ msgstr ""
"I<parallel> (ou o seu valor é 1)."
#. type: =item
-#: debhelper.pod:257
+#: debhelper.pod:294
msgid "B<--max-parallel=>I<maximum>"
msgstr "B<--max-parallel=>I<máximo>"
#. type: textblock
-#: debhelper.pod:259
+#: debhelper.pod:296
msgid ""
"This option implies B<--parallel> and allows further limiting the number of "
"jobs that can be used in a parallel build. If the package build is known to "
@@ -716,7 +783,7 @@ msgstr ""
"deseje suportar."
#. type: textblock
-#: debhelper.pod:264
+#: debhelper.pod:301
msgid ""
"Notably, setting the maximum to 1 is effectively the same as using B<--no-"
"parallel>."
@@ -725,12 +792,12 @@ msgstr ""
"no-parallel>."
#. type: =item
-#: debhelper.pod:267 dh:63
+#: debhelper.pod:304 dh:74
msgid "B<--list>, B<-l>"
msgstr "B<--list>, B<-l>"
#. type: textblock
-#: debhelper.pod:269
+#: debhelper.pod:306
msgid ""
"List all build systems supported by debhelper on this system. The list "
"includes both default and third party build systems (marked as such). Also "
@@ -744,12 +811,12 @@ msgstr ""
"a opção B<--buildsystem>."
#. type: =head1
-#: debhelper.pod:276
+#: debhelper.pod:313
msgid "COMPATIBILITY LEVELS"
msgstr "NÍVEIS DE COMPATIBILIDADE"
#. type: textblock
-#: debhelper.pod:278
+#: debhelper.pod:315
msgid ""
"From time to time, major non-backwards-compatible changes need to be made to "
"debhelper, to keep it clean and well-designed as needs change and its author "
@@ -770,7 +837,7 @@ msgstr ""
"ficheiro tem de estar presente."
#. type: textblock
-#: debhelper.pod:286
+#: debhelper.pod:323
msgid ""
"Tell debhelper what compatibility level to use by writing a number to "
"F<debian/compat>. For example, to use v#RECOMMENDED_COMPAT# mode:"
@@ -780,7 +847,7 @@ msgstr ""
"v#RECOMMENDED_COMPAT#:"
#. type: verbatim
-#: debhelper.pod:289
+#: debhelper.pod:326
#, no-wrap
msgid ""
" % echo #RECOMMENDED_COMPAT# > debian/compat\n"
@@ -790,7 +857,7 @@ msgstr ""
"\n"
#. type: textblock
-#: debhelper.pod:291
+#: debhelper.pod:328
msgid ""
"Your package will also need a versioned build dependency on a version of "
"debhelper equal to (or greater than) the compatibility level your package "
@@ -803,17 +870,20 @@ msgstr ""
"#RECOMMENDED_COMPAT#, certifique-se que debian/control tem:"
#. type: verbatim
-#: debhelper.pod:295
-#, no-wrap
+#: debhelper.pod:332
+#, fuzzy, no-wrap
+#| msgid ""
+#| " Build-Depends: debhelper (>= #RECOMMENDED_COMPAT#)\n"
+#| "\n"
msgid ""
-" Build-Depends: debhelper (>= #RECOMMENDED_COMPAT#)\n"
+" Build-Depends: debhelper (>= #RECOMMENDED_COMPAT#~)\n"
"\n"
msgstr ""
" Build-Depends: debhelper (>= #RECOMMENDED_COMPAT#)\n"
"\n"
#. type: textblock
-#: debhelper.pod:297
+#: debhelper.pod:334
msgid ""
"Unless otherwise indicated, all debhelper documentation assumes that you are "
"using the most recent compatibility level, and in most cases does not "
@@ -829,29 +899,27 @@ msgstr ""
"notas acerca do que é diferente nos níveis de compatibilidade anteriores."
#. type: =head2
-#: debhelper.pod:304
-#, fuzzy
-#| msgid "This is the lowest supported compatibility level."
+#: debhelper.pod:341
msgid "Supported compatibility levels"
-msgstr "Este é o nível de compatibilidade mais baixo suportado."
+msgstr "Níveis de compatibilidade suportados"
#. type: textblock
-#: debhelper.pod:306
+#: debhelper.pod:343
msgid "These are the available compatibility levels:"
msgstr "Estes são os níveis de compatibilidade disponíveis:"
#. type: =item
-#: debhelper.pod:310 debhelper-obsolete-compat.pod:89
+#: debhelper.pod:347 debhelper-obsolete-compat.pod:89
msgid "v5"
msgstr "v5"
#. type: textblock
-#: debhelper.pod:312 debhelper-obsolete-compat.pod:91
+#: debhelper.pod:349 debhelper-obsolete-compat.pod:91
msgid "This is the lowest supported compatibility level."
msgstr "Este é o nível de compatibilidade mais baixo suportado."
#. type: textblock
-#: debhelper.pod:314
+#: debhelper.pod:351
msgid ""
"If you are upgrading from an earlier compatibility level, please review "
"L<debhelper-obsolete-compat(7)>."
@@ -860,48 +928,51 @@ msgstr ""
"por favor reveja L<debhelper-obsolete-compat(7)>."
#. type: textblock
-#: debhelper.pod:317 debhelper.pod:349 debhelper.pod:379 debhelper.pod:410
+#: debhelper.pod:354 debhelper.pod:386 debhelper.pod:416 debhelper.pod:447
#: debhelper-obsolete-compat.pod:28 debhelper-obsolete-compat.pod:35
#: debhelper-obsolete-compat.pod:58 debhelper-obsolete-compat.pod:87
msgid "This mode is deprecated."
msgstr "Este modo está descontinuado."
#. type: =item
-#: debhelper.pod:319
+#: debhelper.pod:356
msgid "v6"
msgstr "v6"
#. type: textblock
-#: debhelper.pod:321
+#: debhelper.pod:358
msgid "Changes from v5 are:"
msgstr "As alterações a partir de v5 são:"
#. type: =item
-#: debhelper.pod:325 debhelper.pod:330 debhelper.pod:336 debhelper.pod:342
-#: debhelper.pod:357 debhelper.pod:364 debhelper.pod:368 debhelper.pod:372
-#: debhelper.pod:387 debhelper.pod:391 debhelper.pod:399 debhelper.pod:404
-#: debhelper.pod:418 debhelper.pod:423 debhelper.pod:430 debhelper.pod:435
-#: debhelper.pod:440 debhelper.pod:448 debhelper.pod:454 debhelper.pod:459
-#: debhelper.pod:464 debhelper.pod:480 debhelper.pod:485 debhelper.pod:491
-#: debhelper.pod:498 debhelper.pod:504 debhelper.pod:509 debhelper.pod:515
-#: debhelper.pod:521 debhelper.pod:531 debhelper.pod:537 debhelper.pod:560
-#: debhelper.pod:567 debhelper.pod:573 debhelper.pod:579 debhelper.pod:595
-#: debhelper.pod:601 debhelper.pod:613 debhelper.pod:621 debhelper.pod:627
-#: debhelper.pod:632 debhelper.pod:642 debhelper.pod:647 debhelper.pod:655
-#: debhelper.pod:665 debhelper.pod:672 debhelper.pod:679 debhelper.pod:691
-#: debhelper.pod:696 debhelper.pod:709 debhelper.pod:728 debhelper.pod:732
-#: debhelper.pod:737 debhelper.pod:742 debhelper.pod:749 debhelper.pod:755
+#: debhelper.pod:362 debhelper.pod:367 debhelper.pod:373 debhelper.pod:379
+#: debhelper.pod:394 debhelper.pod:401 debhelper.pod:405 debhelper.pod:409
+#: debhelper.pod:424 debhelper.pod:428 debhelper.pod:436 debhelper.pod:441
+#: debhelper.pod:455 debhelper.pod:460 debhelper.pod:467 debhelper.pod:472
+#: debhelper.pod:477 debhelper.pod:485 debhelper.pod:491 debhelper.pod:496
+#: debhelper.pod:501 debhelper.pod:514 debhelper.pod:519 debhelper.pod:525
+#: debhelper.pod:532 debhelper.pod:538 debhelper.pod:543 debhelper.pod:549
+#: debhelper.pod:555 debhelper.pod:565 debhelper.pod:571 debhelper.pod:594
+#: debhelper.pod:601 debhelper.pod:607 debhelper.pod:613 debhelper.pod:629
+#: debhelper.pod:635 debhelper.pod:647 debhelper.pod:655 debhelper.pod:661
+#: debhelper.pod:666 debhelper.pod:671 debhelper.pod:676 debhelper.pod:684
+#: debhelper.pod:694 debhelper.pod:704 debhelper.pod:711 debhelper.pod:723
+#: debhelper.pod:728 debhelper.pod:756 debhelper.pod:775 debhelper.pod:785
+#: debhelper.pod:789 debhelper.pod:794 debhelper.pod:799 debhelper.pod:806
+#: debhelper.pod:812 debhelper.pod:820 debhelper.pod:826 debhelper.pod:830
+#: debhelper.pod:835 debhelper.pod:840 debhelper.pod:849
#: debhelper-obsolete-compat.pod:43 debhelper-obsolete-compat.pod:48
#: debhelper-obsolete-compat.pod:52 debhelper-obsolete-compat.pod:66
#: debhelper-obsolete-compat.pod:71 debhelper-obsolete-compat.pod:76
#: debhelper-obsolete-compat.pod:81 debhelper-obsolete-compat.pod:97
#: debhelper-obsolete-compat.pod:101 debhelper-obsolete-compat.pod:106
-#: debhelper-obsolete-compat.pod:110
+#: debhelper-obsolete-compat.pod:110 dh_testroot:36 dh_testroot:41
+#: dh_testroot:46
msgid "-"
msgstr "-"
#. type: textblock
-#: debhelper.pod:327
+#: debhelper.pod:364
msgid ""
"Commands that generate maintainer script fragments will order the fragments "
"in reverse order for the F<prerm> and F<postrm> scripts."
@@ -910,7 +981,7 @@ msgstr ""
"fragmentos em ordem reversa para os scripts F<prerm> e F<postrm>."
#. type: textblock
-#: debhelper.pod:332
+#: debhelper.pod:369
msgid ""
"B<dh_installwm> will install a slave manpage link for F<x-window-manager.1."
"gz>, if it sees the man page in F<usr/share/man/man1> in the package build "
@@ -921,7 +992,7 @@ msgstr ""
"compilação do pacote."
#. type: textblock
-#: debhelper.pod:338
+#: debhelper.pod:375
msgid ""
"B<dh_builddeb> did not previously delete everything matching "
"B<DH_ALWAYS_EXCLUDE>, if it was set to a list of things to exclude, such as "
@@ -932,7 +1003,7 @@ msgstr ""
"como B<CVS:.svn:.git>. Mas agora fá-lo."
#. type: textblock
-#: debhelper.pod:344
+#: debhelper.pod:381
msgid ""
"B<dh_installman> allows overwriting existing man pages in the package build "
"directory. In previous compatibility levels it silently refuses to do this."
@@ -942,17 +1013,17 @@ msgstr ""
"se em silêncio a fazer isto."
#. type: =item
-#: debhelper.pod:351
+#: debhelper.pod:388
msgid "v7"
msgstr "v7"
#. type: textblock
-#: debhelper.pod:353
+#: debhelper.pod:390
msgid "Changes from v6 are:"
msgstr "As alterações a partir de v6 são:"
#. type: textblock
-#: debhelper.pod:359
+#: debhelper.pod:396
msgid ""
"B<dh_install>, will fall back to looking for files in F<debian/tmp> if it "
"doesn't find them in the current directory (or wherever you tell it look "
@@ -967,17 +1038,17 @@ msgstr ""
"nenhuns parâmetros especiais."
#. type: textblock
-#: debhelper.pod:366
+#: debhelper.pod:403
msgid "B<dh_clean> will read F<debian/clean> and delete files listed there."
msgstr "B<dh_clean> irá ler F<debian/clean> e apagar os ficheiros listados lá."
#. type: textblock
-#: debhelper.pod:370
+#: debhelper.pod:407
msgid "B<dh_clean> will delete toplevel F<*-stamp> files."
msgstr "B<dh_clean> irá apagar ficheiros F<*-stamp> do nível de topo."
#. type: textblock
-#: debhelper.pod:374
+#: debhelper.pod:411
msgid ""
"B<dh_installchangelogs> will guess at what file is the upstream changelog if "
"none is specified."
@@ -986,17 +1057,17 @@ msgstr ""
"alterações da origem se nenhum for especificado."
#. type: =item
-#: debhelper.pod:381
+#: debhelper.pod:418
msgid "v8"
msgstr "v8"
#. type: textblock
-#: debhelper.pod:383
+#: debhelper.pod:420
msgid "Changes from v7 are:"
msgstr "As alterações a partir de v7 são:"
#. type: textblock
-#: debhelper.pod:389
+#: debhelper.pod:426
msgid ""
"Commands will fail rather than warning when they are passed unknown options."
msgstr ""
@@ -1004,7 +1075,7 @@ msgstr ""
"opções desconhecidas."
#. type: textblock
-#: debhelper.pod:393
+#: debhelper.pod:430
msgid ""
"B<dh_makeshlibs> will run B<dpkg-gensymbols> on all shared libraries that it "
"generates shlibs files for. So B<-X> can be used to exclude libraries. "
@@ -1020,7 +1091,7 @@ msgstr ""
"pacotes falhem a compilar."
#. type: textblock
-#: debhelper.pod:401
+#: debhelper.pod:438
msgid ""
"B<dh> requires the sequence to run be specified as the first parameter, and "
"any switches come after it. Ie, use \"B<dh $@ --foo>\", not \"B<dh --foo $@>"
@@ -1031,7 +1102,7 @@ msgstr ""
"--foo>\", e não \"B<dh --foo $@>"
#. type: textblock
-#: debhelper.pod:406
+#: debhelper.pod:443
msgid ""
"B<dh_auto_>I<*> prefer to use Perl's B<Module::Build> in preference to "
"F<Makefile.PL>."
@@ -1040,17 +1111,17 @@ msgstr ""
"F<Makefile.PL>."
#. type: =item
-#: debhelper.pod:412
+#: debhelper.pod:449
msgid "v9"
msgstr "v9"
#. type: textblock
-#: debhelper.pod:414
+#: debhelper.pod:451
msgid "Changes from v8 are:"
msgstr "As alterações a partir de v8 são:"
#. type: textblock
-#: debhelper.pod:420
+#: debhelper.pod:457
msgid ""
"Multiarch support. In particular, B<dh_auto_configure> passes multiarch "
"directories to autoconf in --libdir and --libexecdir."
@@ -1059,7 +1130,7 @@ msgstr ""
"directórios de multi-arquitectura ao autoconf em --libdir e --libexecdir."
#. type: textblock
-#: debhelper.pod:425
+#: debhelper.pod:462
msgid ""
"dh is aware of the usual dependencies between targets in debian/rules. So, "
"\"dh binary\" will run any build, build-arch, build-indep, install, etc "
@@ -1073,7 +1144,7 @@ msgstr ""
"explícitas em outras metas."
#. type: textblock
-#: debhelper.pod:432
+#: debhelper.pod:469
msgid ""
"B<dh_strip> compresses debugging symbol files to reduce the installed size "
"of -dbg packages."
@@ -1082,7 +1153,7 @@ msgstr ""
"tamanho instalado dos pacotes -dbg."
#. type: textblock
-#: debhelper.pod:437
+#: debhelper.pod:474
msgid ""
"B<dh_auto_configure> does not include the source package name in --"
"libexecdir when using autoconf."
@@ -1091,20 +1162,23 @@ msgstr ""
"quando usa autoconf."
#. type: textblock
-#: debhelper.pod:442
+#: debhelper.pod:479
msgid "B<dh> does not default to enabling --with=python-support"
msgstr "B<dh> não tem por predefinição a activação de --with=python-support"
#. type: textblock
-#: debhelper.pod:444
+#: debhelper.pod:481
msgid ""
"(Obsolete: As the B<dh_pysupport> tool was removed from Debian stretch. "
"Since debhelper/10.3, B<dh> no longer enables this sequence add-on "
"regardless of compat level)"
msgstr ""
+"(Obsoleto: Pois a ferramenta B<dh_pysupport> foi removida a partir de Debian "
+"stretch. Desde o debhelper/10.3, B<dh> já não se activa esta sequência add-"
+"on independentemente do nível de compatibilidade)"
#. type: textblock
-#: debhelper.pod:450
+#: debhelper.pod:487
msgid ""
"All of the B<dh_auto_>I<*> debhelper programs and B<dh> set environment "
"variables listed by B<dpkg-buildflags>, unless they are already set."
@@ -1114,7 +1188,7 @@ msgstr ""
"definidas."
#. type: textblock
-#: debhelper.pod:456
+#: debhelper.pod:493
msgid ""
"B<dh_auto_configure> passes B<dpkg-buildflags> CFLAGS, CPPFLAGS, and LDFLAGS "
"to perl F<Makefile.PL> and F<Build.PL>"
@@ -1123,7 +1197,7 @@ msgstr ""
"para F<Makefile.PL> e F<Build.PL> de perl."
#. type: textblock
-#: debhelper.pod:461
+#: debhelper.pod:498
msgid ""
"B<dh_strip> puts separated debug symbols in a location based on their build-"
"id."
@@ -1132,7 +1206,7 @@ msgstr ""
"seu build-id."
#. type: textblock
-#: debhelper.pod:466
+#: debhelper.pod:503
msgid ""
"Executable debhelper config files are run and their output used as the "
"configuration."
@@ -1141,22 +1215,17 @@ msgstr ""
"resultados usados como configuração."
#. type: =item
-#: debhelper.pod:471
+#: debhelper.pod:508
msgid "v10"
msgstr "v10"
#. type: textblock
-#: debhelper.pod:473
-msgid "This is the recommended mode of operation."
-msgstr "Este é o modo de operação recomendado."
-
-#. type: textblock
-#: debhelper.pod:476
+#: debhelper.pod:510
msgid "Changes from v9 are:"
msgstr "As alterações a partir de v9 são:"
#. type: textblock
-#: debhelper.pod:482
+#: debhelper.pod:516
msgid ""
"B<dh_installinit> will no longer install a file named debian/I<package> as "
"an init script."
@@ -1165,7 +1234,7 @@ msgstr ""
"como um script de iniciação (init)."
#. type: textblock
-#: debhelper.pod:487
+#: debhelper.pod:521
msgid ""
"B<dh_installdocs> will error out if it detects links created with --link-doc "
"between packages of architecture \"all\" and non-\"all\" as it breaks "
@@ -1176,7 +1245,7 @@ msgstr ""
"binNMUs."
#. type: textblock
-#: debhelper.pod:493
+#: debhelper.pod:527
msgid ""
"B<dh> no longer creates the package build directory when skipping running "
"debhelper commands. This will not affect packages that only build with "
@@ -1189,7 +1258,7 @@ msgstr ""
"incluídos no debhelper."
#. type: textblock
-#: debhelper.pod:500
+#: debhelper.pod:534
msgid ""
"B<dh_installdeb> no longer installs a maintainer-provided debian/I<package>."
"shlibs file. This is now done by B<dh_makeshlibs> instead."
@@ -1199,7 +1268,7 @@ msgstr ""
"B<dh_makeshlibs>."
#. type: textblock
-#: debhelper.pod:506
+#: debhelper.pod:540
msgid ""
"B<dh_installwm> refuses to create a broken package if no man page can be "
"found (required to register for the x-window-manager alternative)."
@@ -1209,7 +1278,7 @@ msgstr ""
"window-manager)."
#. type: textblock
-#: debhelper.pod:511
+#: debhelper.pod:545
msgid ""
"Debhelper will default to B<--parallel> for all buildsystems that support "
"parallel building. This can be disabled by using either B<--no-parallel> or "
@@ -1220,7 +1289,7 @@ msgstr ""
"usando B<--no-parallel> ou passando B<--max-parallel> com o valor de 1."
#. type: textblock
-#: debhelper.pod:517
+#: debhelper.pod:551
msgid ""
"The B<dh> command will not accept any of the deprecated \"manual sequence "
"control\" parameters (B<--before>, B<--after>, etc.). Please use override "
@@ -1231,7 +1300,7 @@ msgstr ""
"utilize metas de sobreposição em vez destes."
#. type: textblock
-#: debhelper.pod:523
+#: debhelper.pod:557
msgid ""
"The B<dh> command will no longer use log files to track which commands have "
"been run. The B<dh> command I<still> keeps track of whether it already ran "
@@ -1242,12 +1311,12 @@ msgstr ""
"a sequência de \"compilação\" e salta-a se já o fez."
#. type: textblock
-#: debhelper.pod:527
+#: debhelper.pod:561
msgid "The main effects of this are:"
msgstr "Os principais efeitos disto são:"
#. type: textblock
-#: debhelper.pod:533
+#: debhelper.pod:567
msgid ""
"With this, it is now easier to debug the I<install> or/and I<binary> "
"sequences because they can now trivially be re-run (without having to do a "
@@ -1258,7 +1327,7 @@ msgstr ""
"fazer um ciclo de \"limpar e recompilar\" completo."
#. type: textblock
-#: debhelper.pod:539
+#: debhelper.pod:573
msgid ""
"The main caveat is that B<dh_*> now only keeps track of what happened in a "
"single override target. When all the calls to a given B<dh_cmd> command "
@@ -1270,12 +1339,12 @@ msgstr ""
"funcionar como dantes."
#. type: textblock
-#: debhelper.pod:544
+#: debhelper.pod:578
msgid "Example of where it can go wrong:"
msgstr "Exemplo de onde pode falhar:"
#. type: verbatim
-#: debhelper.pod:546
+#: debhelper.pod:580
#, no-wrap
msgid ""
" override_dh_foo:\n"
@@ -1287,7 +1356,7 @@ msgstr ""
"\n"
#. type: verbatim
-#: debhelper.pod:549
+#: debhelper.pod:583
#, no-wrap
msgid ""
" override_dh_bar:\n"
@@ -1301,7 +1370,7 @@ msgstr ""
"\n"
#. type: textblock
-#: debhelper.pod:553
+#: debhelper.pod:587
msgid ""
"In this case, the call to B<dh_foo --remaining> will I<also> include I<my-"
"pkg>, since B<dh_foo -pmy-pkg> was run in a separate override target. This "
@@ -1313,7 +1382,7 @@ msgstr ""
"B<-a>, B<-i>, etc."
#. type: textblock
-#: debhelper.pod:562
+#: debhelper.pod:596
msgid ""
"The B<dh_installdeb> command now shell-escapes the lines in the "
"F<maintscript> config file. This was the original intent but it did not "
@@ -1326,7 +1395,7 @@ msgstr ""
"de shell\" incompleto (ex. ao mencionar nomes de ficheiros)."
#. type: textblock
-#: debhelper.pod:569
+#: debhelper.pod:603
msgid ""
"The B<dh_installinit> command now defaults to B<--restart-after-upgrade>. "
"For packages needing the previous behaviour, please use B<--no-restart-after-"
@@ -1337,7 +1406,7 @@ msgstr ""
"B<--no-restart-after-upgrade>."
#. type: textblock
-#: debhelper.pod:575
+#: debhelper.pod:609
msgid ""
"The B<autoreconf> sequence is now enabled by default. Please pass B<--"
"without autoreconf> to B<dh> if this is not desirable for a given package"
@@ -1347,7 +1416,7 @@ msgstr ""
"determinado pacote"
#. type: textblock
-#: debhelper.pod:581
+#: debhelper.pod:615
msgid ""
"The B<systemd> sequence is now enabled by default. Please pass B<--without "
"systemd> to B<dh> if this is not desirable for a given package."
@@ -1357,57 +1426,57 @@ msgstr ""
"pacote."
#. type: =item
-#: debhelper.pod:587
+#: debhelper.pod:621
msgid "v11"
msgstr "v11"
#. type: textblock
-#: debhelper.pod:589 debhelper.pod:722
-msgid ""
-"This compatibility level is still open for development; use with caution."
-msgstr ""
-"Este nível de compatibilidade ainda está aberto em desenvolvimento; use com "
-"cuidado."
+#: debhelper.pod:623
+msgid "This is the recommended mode of operation."
+msgstr "Este é o modo de operação recomendado."
#. type: textblock
-#: debhelper.pod:591
+#: debhelper.pod:625
msgid "Changes from v10 are:"
msgstr "As alterações a partir de v10 são:"
#. type: textblock
-#: debhelper.pod:597
-#, fuzzy
-#| msgid ""
-#| "B<dh_installinit> no longer installs F<service> or F<tmpfile> files, nor "
-#| "generates maintainer scripts for those files. Use B<dh_systemd_enable> "
-#| "and B<dh_systemd_start> instead."
+#: debhelper.pod:631
msgid ""
"B<dh_installinit> no longer installs F<service> or F<tmpfile> files, nor "
"generates maintainer scripts for those files. Please use the new "
"B<dh_installsystemd> helper."
msgstr ""
"B<dh_installinit> já não instala ficheiros F<service> ou F<tmpfile>, nem "
-"gera scripts do mantenedor para esses ficheiros, Use B<dh_systemd_enable> e "
-"B<dh_systemd_start> em vez deste."
+"gera scripts do mantenedor para esses ficheiros, Por favor use o novo "
+"ajudante B<dh_installsystemd>"
#. type: textblock
-#: debhelper.pod:603
+#: debhelper.pod:637
msgid ""
"The B<dh_systemd_enable> and B<dh_systemd_start> helpers have been replaced "
"by the new B<dh_installsystemd> helper. For the same reason, the B<systemd> "
"sequence for B<dh> has also been removed. If you need to disable the "
"B<dh_installsystemd> helper tool, please use an empty override target."
msgstr ""
+"Os ajudantes B<dh_systemd_enable>e B<dh_systemd_start> foram substituídos "
+"pelo novo ajudante B<dh_installsystemd>. Pela mesma razão, a sequência do "
+"B<systemd> para B<dh> foi também removida. Se você precisar de desactivar a "
+"ferramenta de ajuda B<dh_installsystemd>, por favor use um alvo de "
+"sobreposição vazio."
#. type: textblock
-#: debhelper.pod:609
+#: debhelper.pod:643
msgid ""
-"Please note that the B<dh_installsystemd> tool have a slightly different "
+"Please note that the B<dh_installsystemd> tool has a slightly different "
"behaviour in some cases (e.g. when using the B<--name> parameter)."
msgstr ""
+"Por favor note que a ferramenta B<dh_installsystemd> tem um comportamento "
+"ligeiramente diferente em alguns casos (ex. quando se usa o parâmetro B<--"
+"name>)."
#. type: textblock
-#: debhelper.pod:615
+#: debhelper.pod:649
msgid ""
"B<dh_installdirs> no longer creates debian/I<package> directories unless "
"explicitly requested (or it has to create a subdirectory in it)."
@@ -1416,182 +1485,266 @@ msgstr ""
"seja explicitamente pedido (ou se tiver de criar um sub-directório nele)."
#. type: textblock
-#: debhelper.pod:619
+#: debhelper.pod:653
msgid "The vast majority of all packages will be unaffected by this change."
msgstr "A grande maioria dos pacotes não serão afectados por esta alteração."
#. type: textblock
-#: debhelper.pod:623
+#: debhelper.pod:657
msgid ""
"The B<makefile> buildsystem now passes B<INSTALL=install --strip-"
"program=true> to L<make(1)>. Derivative buildsystems (e.g. B<configure> or "
"B<cmake>) are unaffected by this change."
msgstr ""
+"O sistema de compilação B<makefile> agora passa B<INSTALL=install --strip-"
+"program=true> para o L<make(1)>. Sistemas de compilação derivativos (ex. "
+"B<configure> ou B<cmake>) não são afectados por esta alteração."
#. type: textblock
-#: debhelper.pod:629
+#: debhelper.pod:663
msgid ""
"The B<autoconf> buildsystem now passes B<--runstatedir=/run> to F<./"
"configure>."
msgstr ""
+"O sistema de compilação B<autoconf> agora passa B<--runstatedir=/run> para "
+"F<./configure>."
#. type: textblock
-#: debhelper.pod:634
+#: debhelper.pod:668
msgid ""
"The B<cmake> buildsystem now passes B<-DCMAKE_INSTALL_RUNSTATEDIR=/run> to "
"L<cmake(1)>."
msgstr ""
+"O sistema de compilação B<cmake> agora passa B<-DCMAKE_INSTALL_RUNSTATEDIR=/"
+"run> para L<cmake(1)>."
#. type: textblock
-#: debhelper.pod:637
-msgid ""
-"B<Caveat>: This option silently does nothing in cmake versions prior to "
-"3.8. Please keep this in mind if your package is regularly backported to a "
-"suite (e.g. stretch-backports) where cmake is older than 3.8."
-msgstr ""
-
-#. type: textblock
-#: debhelper.pod:644
+#: debhelper.pod:673
msgid ""
"B<dh_installman> will now prefer detecting the language from the path name "
"rather than the extension."
msgstr ""
+"B<dh_installman> irá agora preferir detectar a linguagem a partir do nome de "
+"caminho em vez de a extensão."
#. type: textblock
-#: debhelper.pod:649
-#, fuzzy
-#| msgid ""
-#| "B<dh> no longer creates the package build directory when skipping running "
-#| "debhelper commands. This will not affect packages that only build with "
-#| "debhelper commands, but it may expose bugs in commands not included in "
-#| "debhelper."
+#: debhelper.pod:678
msgid ""
"B<dh_auto_install> will now only create the destination directory it needs. "
"Previously, it would create the package build directory for all packages. "
"This will not affect packages that only build with debhelper commands, but "
"it may expose bugs in commands not included in debhelper."
msgstr ""
-"B<dh> já não cria o directório de compilação do pacote quando salta a "
-"execução de comandos debhelper. Isto não vai afectar pacotes que apenas "
-"compilam com comandos debhelper, mas pode expor bugs em comandos não "
-"incluídos no debhelper."
+"B<dh_auto_install> irá agora apenas criar o directório de destino que "
+"precisa. Anteriormente, iria criar o directório de compilação de pacote para "
+"todos os pacotes. Isto não vai afectar pacotes que apenas compilam com "
+"comandos debhelper, mas pode expor bugs em comandos não incluídos no "
+"debhelper."
#. type: textblock
-#: debhelper.pod:657
+#: debhelper.pod:686
msgid ""
"The helpers B<dh_installdocs>, B<dh_installexamples>, B<dh_installinfo>, and "
"B<dh_installman> now error out if their config has a pattern that does not "
"match anything or reference a path that does not exist."
msgstr ""
+"Os ajudantes B<dh_installdocs>, B<dh_installexamples>, B<dh_installinfo>, e "
+"B<dh_installman> agora dão erro se a sua configuração tiver um padrão que "
+"não coincida com nada ou faça referência a um caminho que não exista."
#. type: textblock
-#: debhelper.pod:661
+#: debhelper.pod:690
msgid ""
"Known exceptions include building with the B<nodoc> profile, where the above "
"tools will silently permit failed matches where the patterns are used to "
"specify documentation."
msgstr ""
+"Excepções conhecidas incluem compilar com o perfil B<nodoc>, onde as "
+"ferramentas de cima irão permitir em silêncio correspondências falhadas onde "
+"os padrões são usados para especificar documentação."
#. type: textblock
-#: debhelper.pod:667
+#: debhelper.pod:696
msgid ""
"The helpers B<dh_installdocs>, B<dh_installexamples>, B<dh_installinfo>, and "
"B<dh_installman> now accept the parameter B<--sourcedir> with same meaning "
"as B<dh_install>. Furthermore, they now also fall back to F<debian/tmp> like "
"B<dh_install>."
msgstr ""
+"Os ajudantes B<dh_installdocs>, B<dh_installexamples>, B<dh_installinfo>, e "
+"B<dh_installman> agora aceitam o parâmetro B<--sourcedir> com o mesmo "
+"significado que B<dh_install>. Mais ainda, eles agora também retornam (em "
+"fall back) a F<debian/tmp> como B<dh_install>."
#. type: textblock
-#: debhelper.pod:674
+#: debhelper.pod:701
+msgid ""
+"Migration note: A bug in debhelper 11 up to 11.1.5 made B<dh_installinfo> "
+"incorrectly ignore B<--sourcedir>."
+msgstr ""
+
+#. type: textblock
+#: debhelper.pod:706
msgid ""
"The B<perl-makemaker> and B<perl-build> build systems no longer pass B<-I.> "
-"to perl. Packages that still need this behaviour can get emulate it by "
-"using the B<PERL5LIB> environment variable. E.g. by adding B<export "
-"PERL5LIB=.> in their debian/rules file (or similar)."
+"to perl. Packages that still need this behaviour can emulate it by using "
+"the B<PERL5LIB> environment variable. E.g. by adding B<export PERL5LIB=.> "
+"in their debian/rules file (or similar)."
msgstr ""
+"Os sistemas de compilação B<perl-makemaker> e B<perl-build> já não passam B<-"
+"I.> ao perl. Os pacotes que ainda precisam deste comportamento podem emula-"
+"lo ao usar a variável de ambiente B<PERL5LIB>. Ex. ao adicionar B<export "
+"PERL5LIB=.> no seu ficheiro debian/rules (ou semelhante)."
#. type: textblock
-#: debhelper.pod:681
+#: debhelper.pod:713
msgid ""
"The B<PERL_USE_UNSAFE_INC> environment variable is no longer set by B<dh> or "
"any of the B<dh_auto_*> tools. It was added as a temporary work around to "
"avoid a lot of packages failing to build at the same time."
msgstr ""
+"A variável de ambiente B<PERL_USE_UNSAFE_INC> já não é definida pelo B<dh> "
+"ou nenhuma das ferramentas B<dh_auto_*>. Ela foi adicionada como um meio de "
+"contorno temporário evitar muitos pacotes a falharem a compilação ao mesmo "
+"tempo."
#. type: textblock
-#: debhelper.pod:686
+#: debhelper.pod:718
msgid ""
"Note this item will eventually become obsolete as upstream intends to drop "
"support for the B<PERL_USE_UNSAFE_INC> environment variable. When perl "
"drops support for it, then this variable will be removed retroactively from "
"existing compat levels as well."
msgstr ""
+"Note que este item irá eventualmente tornar-se obsoleto pois o auto pretende "
+"abandonar o suporte para a variável de ambiente B<PERL_USE_UNSAFE_INC>. "
+"Quando o perl abandonar o para ala, então esta variável será também removida "
+"retroactivamente dos níveis de compatibilidade existentes."
#. type: textblock
-#: debhelper.pod:693
+#: debhelper.pod:725
msgid ""
"The B<dh_makeshlibs> helper will now exit with an error if objdump returns a "
"non-zero exit from analysing a given file."
msgstr ""
+"O ajudante B<dh_makeshlibs> irá agora terminar em erro se objdump retornar "
+"uma saída não-zero a partir da análise de um determinado ficheiro."
#. type: textblock
-#: debhelper.pod:698
+#: debhelper.pod:730
msgid ""
-"The B<dh_installdocs> and B<dh_installexamples> tools will now attempt to "
-"guess the \"main package\" for a given documentation package (e.g. I<pkg-"
-"doc> will have I<pkg> as main package if the latter exists). If a main "
-"package is found, I<most> of the documentation will be installed into F<< /"
-"usr/share/doc/I<main-pkg> >> by default as recommended by Debian policy "
-"§12.3 since version 3.9.7. Notable exceptions include the copyright file "
-"and changelog files."
+"The B<dh_installdocs> and B<dh_installexamples> tools may now install "
+"I<most> of the documentation in a different path to comply with the "
+"recommendation from Debian policy §12.3 (since version 3.9.7)."
msgstr ""
#. type: textblock
-#: debhelper.pod:706
+#: debhelper.pod:734
+msgid ""
+"Note that if a given source package only contains a single binary package in "
+"F<debian/control> or none of the packages are I<-doc> packages, then this "
+"change is not relevant for that source package and you can skip to the next "
+"change."
+msgstr ""
+
+#. type: textblock
+#: debhelper.pod:739
+msgid ""
+"By default, these tools will now attempt to determine a \"main package for "
+"the documentation\" (called a I<doc-main-package> from here on) for every I<-"
+"doc> package. If they find such a I<doc-main-package>, they will now "
+"install the documentation into the path F<< /usr/share/doc/I<doc-main-"
+"package> >> in the given doc package. I.e. the path can change but the "
+"documentation is still shipped in the I<-doc> package."
+msgstr ""
+
+#. type: textblock
+#: debhelper.pod:747
+#, fuzzy
+#| msgid ""
+#| "The B<--doc-main-package> option can be used when the auto-detection is "
+#| "insufficient."
msgid ""
"The B<--doc-main-package> option can be used when the auto-detection is "
-"insufficient."
+"insufficient or to reset the path to its previous value if there is a reason "
+"to diverge from Debian policy recommendation."
msgstr ""
+"A opção B<--doc-main-package> pode ser usada quando a auto-detecção é "
+"insuficiente."
#. type: textblock
-#: debhelper.pod:711
+#: debhelper.pod:751
+msgid ""
+"Some documentation will not be affected by this change. These exceptions "
+"include the copyright file, changelog files, README.Debian, etc. These "
+"files will still be installed in the path F<< /usr/share/doc/I<package> >>."
+msgstr ""
+
+#. type: textblock
+#: debhelper.pod:758
msgid ""
"The B<dh_strip> and B<dh_shlibdeps> tools no longer uses filename patterns "
"to determine which files to process. Instead, they open the file and look "
"for an ELF header to determine if a given file is an shared object or an ELF "
"executable."
msgstr ""
+"As ferramentas B<dh_strip> e B<dh_shlibdeps> já não usam mais padrões de "
+"nomes de ficheiros para determinar quais ficheiros processar. Em vez disso, "
+"elas abrem o ficheiro e procuram um cabeçalho ELF para determinar se um dado "
+"ficheiro é um objecto partilhado ou um executável ELF."
#. type: textblock
-#: debhelper.pod:716
+#: debhelper.pod:763
msgid "This change may cause the tools to process more files than previously."
msgstr ""
+"Esta alteração fazer com que as ferramentas processem mais ficheiros que "
+"anteriormente."
#. type: =item
-#: debhelper.pod:720
-#, fuzzy
-#| msgid "v1"
+#: debhelper.pod:767
msgid "v12"
-msgstr "v1"
+msgstr "v12"
#. type: textblock
-#: debhelper.pod:724
-#, fuzzy
-#| msgid "Changes from v10 are:"
+#: debhelper.pod:769
+msgid ""
+"This compatibility level is still open for development; use with caution."
+msgstr ""
+"Este nível de compatibilidade ainda está aberto em desenvolvimento; use com "
+"cuidado."
+
+#. type: textblock
+#: debhelper.pod:771
msgid "Changes from v11 are:"
-msgstr "As alterações a partir de v10 são:"
+msgstr "As alterações a partir de v11 são:"
#. type: textblock
-#: debhelper.pod:730
-#, fuzzy
-#| msgid "The B<-s> (B<--same-arch>) option is removed."
+#: debhelper.pod:777
+msgid ""
+"The B<dh_makeshlibs> tool now generates shlibs files with versioned "
+"dependency by default. This means that B<-VUpstream-Version> (a.k.a. B<-V>) "
+"is now the default."
+msgstr ""
+
+#. type: textblock
+#: debhelper.pod:781
+msgid ""
+"If an unversioned dependency in the shlibs file is wanted, this can be "
+"obtained by passing B<-VNone> instead. However, please see "
+"L<dh_makeshlibs(1)> for the caveat of unversioned dependencies."
+msgstr ""
+
+#. type: textblock
+#: debhelper.pod:787
msgid ""
"The B<-s> (B<--same-arch>) option is removed. Please use B<-a> (B<--arch>) "
"instead."
-msgstr "A opção B<-s> (B<--same-arch>) foi removida."
+msgstr ""
+"A opção B<-s> (B<--same-arch>) foi removida. Por favor use B<-a> (B<--arch>) "
+"em vez desta."
#. type: textblock
-#: debhelper.pod:734
+#: debhelper.pod:791
msgid ""
"Invoking B<dh_clean -k> now causes an error instead of a deprecation warning."
msgstr ""
@@ -1599,31 +1752,41 @@ msgstr ""
"descontinuação."
#. type: textblock
-#: debhelper.pod:739
+#: debhelper.pod:796
msgid ""
"The B<--no-restart-on-upgrade> option in B<dh_installinit> has been "
"removed. Please use the new name B<--no-stop-on-upgrade>"
msgstr ""
+"A opção B<--no-restart-on-upgrade> em B<dh_installinit> foi removida. Por "
+"favor use o novo nome B<--no-stop-on-upgrade>"
#. type: textblock
-#: debhelper.pod:744
+#: debhelper.pod:801
msgid ""
"There was a bug in the B<doit> (and similar) functions from L<Debian::"
"Debhelper::Dh_Lib> that made them spawn a shell in one particular "
"circumstance. This bug is now removed and will cause helpers that rely on "
"the bug to fail with a \"command not found\"-error."
msgstr ""
+"Existia um bug nas funções B<doit> (e similares) a partir de L<Debian::"
+"Debhelper::Dh_Lib> que fazia aparece uma linha de comandos numa "
+"circunstância particular. Este bug foi agora removido e irá fazer com que os "
+"ajudantes que contavam com esse bug falhem com um erro de \"comando não "
+"encontrado\"."
#. type: textblock
-#: debhelper.pod:751
+#: debhelper.pod:808
msgid ""
"The B<--list-missing> and B<--fail-missing> in B<dh_install> has been "
"removed. Please use B<dh_missing> and its corresponding options, which can "
"also see the files installed by other helpers."
msgstr ""
+"O B<--list-missing> e B<--fail-missing> em B<dh_install> foram removidos. "
+"Por favor use B<dh_missing> e as suas opções correspondentes, o qual pode "
+"também ver os ficheiros instalados por outros ajudantes."
#. type: textblock
-#: debhelper.pod:757
+#: debhelper.pod:814
msgid ""
"The B<dh_installinit> helper no longer installs configuration for the "
"upstart init system. Instead, it will abort the build if it finds an old "
@@ -1631,23 +1794,106 @@ msgid ""
"maintainer to ensure the proper removal of the conffiles shipped in previous "
"versions of the package (if any)."
msgstr ""
+"O ajudante B<dh_installinit> já não instala configuração para o sistema de "
+"init upstart. Em vez disso, irá abortar a compilação se encontrar um "
+"ficheiro de configuração upstart antigo. O erro está lá para lembrar ao "
+"mantenedor do pacote para assegurar a remoção apropriada dos ficheiros de "
+"configuração empacotados em versões anteriores do pacote (caso existam)."
+
+#. type: textblock
+#: debhelper.pod:822
+msgid ""
+"The B<dh_installdeb> tool will do basic validation of some L<dpkg-"
+"maintscript-helper(1)> commands and will error out if the commands appear to "
+"be invalid."
+msgstr ""
+"A ferramenta B<dh_installdeb> irá fazer validação básica de alguns comandos "
+"L<dpkg-maintscript-helper(1)> e irá terminar em erro se os comandos "
+"parecerem ser inválidos."
+
+#. type: textblock
+#: debhelper.pod:828
+msgid "The B<dh_missing> tool will now default to B<--list-missing>."
+msgstr ""
+
+#. type: textblock
+#: debhelper.pod:832
+msgid ""
+"The B<dh_makeshlibs> tool will now only pass libraries to L<dpkg-"
+"gensymbols(1)> if the ELF binary has a SONAME (containing \".so\")."
+msgstr ""
+
+#. type: textblock
+#: debhelper.pod:837
+msgid ""
+"The B<dh_compress> tool no longer compresses examples (i.e. anything "
+"installed in F<</usr/share/doc/I<package>/examples>>.)"
+msgstr ""
+
+#. type: textblock
+#: debhelper.pod:842
+msgid ""
+"The standard sequence in B<dh> now includes B<dh_dwz> and "
+"B<dh_installinitramfs> by default. This makes the B<dwz> and "
+"B<installinitramfs> sequences obsolete and they will now fail with an "
+"error. If you want to skip these commands, then please insert an empty "
+"override target for them in F<debian/rules> (e.g. I<override_dh_dwz:>)"
+msgstr ""
+
+#. type: textblock
+#: debhelper.pod:851
+msgid ""
+"The build systems B<meson> and B<autoconf> no longer explicitly set the B<--"
+"libexecdir> variable and thus relies on the build system default - which "
+"should be B</usr/libexec> (per FHS 3.0, adopted in Debian Policy 4.1.5)."
+msgstr ""
+
+#. type: textblock
+#: debhelper.pod:856
+msgid ""
+"If a particular upstream package does not use the correct default, the "
+"parameter can often be passed manually via L<dh_auto_configure(1)>. E.g. "
+"via the following example:"
+msgstr ""
+
+#. type: verbatim
+#: debhelper.pod:860
+#, fuzzy, no-wrap
+#| msgid ""
+#| "\toverride_dh_auto_configure:\n"
+#| "\t\tdh_auto_configure -- --with-foo --disable-bar\n"
+#| "\n"
+msgid ""
+" override_dh_auto_configure:\n"
+" \tdh_auto_configure -- --libexecdir=/usr/libexec\n"
+"\n"
+msgstr ""
+"\toverride_dh_auto_configure:\n"
+"\t\tdh_auto_configure -- --with-foo --disable-bar\n"
+"\n"
+
+#. type: textblock
+#: debhelper.pod:863
+msgid "Note the B<--> before the B<--libexecdir> parameter."
+msgstr ""
#. type: =head1
-#: debhelper.pod:767 dh_auto_test:48 dh_installcatalogs:64 dh_installdocs:178
-#: dh_installemacsen:75 dh_installexamples:85 dh_installinit:183
-#: dh_installman:124 dh_installmodules:57 dh_installudev:50 dh_installwm:58
-#: dh_installxfonts:40 dh_movefiles:67 dh_strip:119 dh_usrlocal:59
-#: dh_systemd_enable:104 dh_systemd_start:68
+#: debhelper.pod:869 dh_auto_test:48 dh_dwz:57 dh_installcatalogs:64
+#: dh_installdocs:192 dh_installemacsen:75 dh_installexamples:89
+#: dh_installinit:205 dh_installinitramfs:53 dh_installman:128
+#: dh_installmodules:57 dh_installudev:50 dh_installwm:63 dh_installxfonts:40
+#: dh_movefiles:67 dh_strip:119 dh_usrlocal:60 dh_systemd_enable:104
+#: dh_systemd_start:68
msgid "NOTES"
msgstr "NOTAS"
#. type: =head2
-#: debhelper.pod:769
+#: debhelper.pod:871
msgid "Multiple binary package support"
msgstr "Suporte a pacotes de múltiplos binários"
#. type: textblock
-#: debhelper.pod:771
+#: debhelper.pod:873
msgid ""
"If your source package generates more than one binary package, debhelper "
"programs will default to acting on all binary packages when run. If your "
@@ -1666,7 +1912,7 @@ msgstr ""
"independentes de arquitectura na meta F<debian/rules> binary-indep."
#. type: textblock
-#: debhelper.pod:779
+#: debhelper.pod:881
msgid ""
"To facilitate this, as well as give you more control over which packages are "
"acted on by debhelper programs, all debhelper programs accept the B<-a>, B<-"
@@ -1682,7 +1928,7 @@ msgstr ""
"excepções em baixo."
#. type: textblock
-#: debhelper.pod:785
+#: debhelper.pod:887
msgid ""
"First, any package whose B<Architecture> field in B<debian/control> does not "
"match the B<DEB_HOST_ARCH> architecture will be excluded (L<Debian Policy, "
@@ -1693,7 +1939,7 @@ msgstr ""
"Policy, secção 5.6.8>)."
#. type: textblock
-#: debhelper.pod:789
+#: debhelper.pod:891
msgid ""
"Also, some additional packages may be excluded based on the contents of the "
"B<DEB_BUILD_PROFILES> environment variable and B<Build-Profiles> fields in "
@@ -1706,12 +1952,12 @@ msgstr ""
"política proposta em L<https://wiki.debian.org/BuildProfileSpec>."
#. type: =head3
-#: debhelper.pod:794
+#: debhelper.pod:896
msgid "Interaction between package selections and Build-Profiles"
-msgstr ""
+msgstr "Interacção entre selecções de pacotes e Build-Profiles"
#. type: textblock
-#: debhelper.pod:796
+#: debhelper.pod:898
msgid ""
"Build-Profiles affect which packages are included in the package selections "
"mechanisms in debhelper. Generally, the package selections are described "
@@ -1719,65 +1965,74 @@ msgid ""
"how the selections react when a package is disabled due to the active Build-"
"Profiles (or lack of active Build-Profiles)."
msgstr ""
+"Build-Profiles afectam quais pacotes são incluídos nos mecanismos de "
+"selecção de pacotes do debhelper. Geralmente, as selecções de pacotes são "
+"descritas a partir do pressuposto que todos os pacotes estão activados. Esta "
+"secção descreve como as selecções reagem quando um pacote é desactivado "
+"devido a Build-Profiles activos (ou a falta de Build-Profiles activos)."
#. type: =item
-#: debhelper.pod:804
+#: debhelper.pod:906
msgid "-a/--arch, -i/--indep OR no selection options (a raw \"dh_X\" call)"
msgstr ""
+"-a/--arch, -i/--indep OU nenhuma opção de selecção (uma chamada \"dh_X\" "
+"crua)"
#. type: textblock
-#: debhelper.pod:806
+#: debhelper.pod:908
msgid ""
"The package disabled by Build-Profiles is silently excluded from the "
"selection."
msgstr ""
+"O pacote desactivado por Build-Profiles é excluído em silêncio da selecção."
#. type: textblock
-#: debhelper.pod:809
+#: debhelper.pod:911
msgid ""
"Note you will receive a warning if I<all> packages related to these "
"selections are disabled. In that case, it generally does not make sense to "
"do the build in the first place."
msgstr ""
+"Note que vai receber um aviso se I<todos> os pacotes relacionados com estas "
+"selecções estiverem desactivados. Nesse caso, geralmente não faz nenhum "
+"sentido sequer fazer a compilação."
#. type: =item
-#: debhelper.pod:813
-#, fuzzy
-#| msgid "B<-N>I<package>, B<--no-package=>I<package>"
+#: debhelper.pod:915
msgid "-N I<package> / --no-package I<package>"
-msgstr "B<-N>I<pacote>, B<--no-package=>I<pacote>"
+msgstr "-N I<package> / --no-package I<package>"
#. type: textblock
-#: debhelper.pod:815
+#: debhelper.pod:917
msgid "The option is accepted and effectively does nothing."
-msgstr ""
+msgstr "A opção é aceite e efectivamente não faz nada."
#. type: =item
-#: debhelper.pod:817
-#, fuzzy
-#| msgid "B<-p>I<package>, B<--package=>I<package>"
+#: debhelper.pod:919
msgid "-p I<package> / --package I<package>"
-msgstr "B<-p>I<pacote>, B<--package=>I<pacote>"
+msgstr "-p I<package> / --package I<package>"
#. type: textblock
-#: debhelper.pod:819
+#: debhelper.pod:921
msgid "The option is accepted, but debhelper will not act on the package."
-msgstr ""
+msgstr "A opção é aceite, mas o debhelper não irá actuar no pacote."
#. type: textblock
-#: debhelper.pod:823
+#: debhelper.pod:925
msgid ""
"Note that it does not matter whether a package is enabled or disabled by "
"default."
msgstr ""
+"Note que não importa se um pacote está activado ou desactivado por "
+"predefinição."
#. type: =head2
-#: debhelper.pod:826
+#: debhelper.pod:928
msgid "Automatic generation of Debian install scripts"
msgstr "Geração automática de scripts de instalação Debian"
#. type: textblock
-#: debhelper.pod:828
+#: debhelper.pod:930
msgid ""
"Some debhelper commands will automatically generate parts of Debian "
"maintainer scripts. If you want these automatically generated things "
@@ -1794,7 +2049,7 @@ msgstr ""
"auto-gerado quando você correr o B<dh_installdeb>."
#. type: textblock
-#: debhelper.pod:835
+#: debhelper.pod:937
msgid ""
"If a script does not exist at all and debhelper needs to add something to "
"it, then debhelper will create the complete script."
@@ -1803,7 +2058,7 @@ msgstr ""
"então o debhelper irá criar o script completo."
#. type: textblock
-#: debhelper.pod:838
+#: debhelper.pod:940
msgid ""
"All debhelper commands that automatically generate code in this way let it "
"be disabled by the -n parameter (see above)."
@@ -1812,7 +2067,7 @@ msgstr ""
"permitem que o seja desactivado pelo parâmetro -n (ver em cima)."
#. type: textblock
-#: debhelper.pod:841
+#: debhelper.pod:943
msgid ""
"Note that the inserted code will be shell code, so you cannot directly use "
"it in a Perl script. If you would like to embed it into a Perl script, here "
@@ -1825,7 +2080,7 @@ msgstr ""
"definidos com o comando \"set\"):"
#. type: verbatim
-#: debhelper.pod:846
+#: debhelper.pod:948
#, no-wrap
msgid ""
" my $temp=\"set -e\\nset -- @ARGV\\n\" . << 'EOF';\n"
@@ -1857,12 +2112,12 @@ msgstr ""
"\n"
#. type: =head2
-#: debhelper.pod:859
+#: debhelper.pod:961
msgid "Automatic generation of miscellaneous dependencies."
msgstr "Geração automática de dependências variadas."
#. type: textblock
-#: debhelper.pod:861
+#: debhelper.pod:963
msgid ""
"Some debhelper commands may make the generated package need to depend on "
"some other packages. For example, if you use L<dh_installdebconf(1)>, your "
@@ -1881,7 +2136,7 @@ msgstr ""
"debhelper oferece um modo de automatizar isto."
#. type: textblock
-#: debhelper.pod:869
+#: debhelper.pod:971
msgid ""
"All commands of this type, besides documenting what dependencies may be "
"needed on their man pages, will automatically generate a substvar called B<"
@@ -1895,7 +2150,7 @@ msgstr ""
"que você precisa."
#. type: textblock
-#: debhelper.pod:874
+#: debhelper.pod:976
msgid ""
"This is entirely independent of the standard B<${shlibs:Depends}> generated "
"by L<dh_makeshlibs(1)>, and the B<${perl:Depends}> generated by "
@@ -1908,12 +2163,12 @@ msgstr ""
"corresponderem à realidade."
#. type: =head2
-#: debhelper.pod:879
+#: debhelper.pod:981
msgid "Package build directories"
msgstr "Directórios de compilação de pacotes"
#. type: textblock
-#: debhelper.pod:881
+#: debhelper.pod:983
msgid ""
"By default, all debhelper programs assume that the temporary directory used "
"for assembling the tree of files in a package is debian/I<package>."
@@ -1923,7 +2178,7 @@ msgstr ""
"I<pacote>."
#. type: textblock
-#: debhelper.pod:884
+#: debhelper.pod:986
msgid ""
"Sometimes, you might want to use some other temporary directory. This is "
"supported by the B<-P> flag. For example, \"B<dh_installdocs -Pdebian/tmp>"
@@ -1942,13 +2197,13 @@ msgstr ""
"programa debhelper irá actuar."
#. type: =head2
-#: debhelper.pod:892
+#: debhelper.pod:994
msgid "udebs"
msgstr "udebs"
# FIXME : a udeb
#. type: textblock
-#: debhelper.pod:894
+#: debhelper.pod:996
msgid ""
"Debhelper includes support for udebs. To create a udeb with debhelper, add "
"\"B<Package-Type: udeb>\" to the package's stanza in F<debian/control>. "
@@ -1965,12 +2220,12 @@ msgstr ""
"F<preinst>, F<postrm>, F<prerm>, e F<config>, etc."
#. type: =head1
-#: debhelper.pod:901
+#: debhelper.pod:1003
msgid "ENVIRONMENT"
msgstr "AMBIENTE"
#. type: textblock
-#: debhelper.pod:903
+#: debhelper.pod:1005
msgid ""
"The following environment variables can influence the behavior of "
"debhelper. It is important to note that these must be actual environment "
@@ -1986,12 +2241,12 @@ msgstr ""
"DH_VERBOSE>\""
#. type: =item
-#: debhelper.pod:911
+#: debhelper.pod:1013
msgid "B<DH_VERBOSE>"
msgstr "B<DH_VERBOSE>"
#. type: textblock
-#: debhelper.pod:913
+#: debhelper.pod:1015
msgid ""
"Set to B<1> to enable verbose mode. Debhelper will output every command it "
"runs. Also enables verbose build logs for some build systems like autoconf."
@@ -2001,12 +2256,12 @@ msgstr ""
"detalhados para alguns sistemas de compilação como o autoconf."
#. type: =item
-#: debhelper.pod:916
+#: debhelper.pod:1018
msgid "B<DH_QUIET>"
msgstr "B<DH_QUIET>"
#. type: textblock
-#: debhelper.pod:918
+#: debhelper.pod:1020
msgid ""
"Set to B<1> to enable quiet mode. Debhelper will not output commands calling "
"the upstream build system nor will dh print which subcommands are called and "
@@ -2023,12 +2278,12 @@ msgstr ""
"definido."
#. type: =item
-#: debhelper.pod:925
+#: debhelper.pod:1027
msgid "B<DH_COMPAT>"
msgstr "B<DH_COMPAT>"
#. type: textblock
-#: debhelper.pod:927
+#: debhelper.pod:1029
msgid ""
"Temporarily specifies what compatibility level debhelper should run at, "
"overriding any value in F<debian/compat>."
@@ -2037,22 +2292,22 @@ msgstr ""
"correr, sobrepondo qualquer valor em F<debian/compat>."
#. type: =item
-#: debhelper.pod:930
+#: debhelper.pod:1032
msgid "B<DH_NO_ACT>"
msgstr "B<DH_NO_ACT>"
#. type: textblock
-#: debhelper.pod:932
+#: debhelper.pod:1034
msgid "Set to B<1> to enable no-act mode."
msgstr "Defina para B<1> para activar o modo no-act."
#. type: =item
-#: debhelper.pod:934
+#: debhelper.pod:1036
msgid "B<DH_OPTIONS>"
msgstr "B<DH_OPTIONS>"
#. type: textblock
-#: debhelper.pod:936
+#: debhelper.pod:1038
msgid ""
"Anything in this variable will be prepended to the command line arguments of "
"all debhelper commands."
@@ -2061,7 +2316,7 @@ msgstr ""
"comandos de todos os comandos do debhelper."
#. type: textblock
-#: debhelper.pod:939
+#: debhelper.pod:1041
msgid ""
"When using L<dh(1)>, it can be passed options that will be passed on to each "
"debhelper command, which is generally better than using DH_OPTIONS."
@@ -2070,12 +2325,12 @@ msgstr ""
"comando do debhelper, o que é geralmente melhor do que usar DH_OPTIONS."
#. type: =item
-#: debhelper.pod:942
+#: debhelper.pod:1044
msgid "B<DH_ALWAYS_EXCLUDE>"
msgstr "B<DH_ALWAYS_EXCLUDE>"
#. type: textblock
-#: debhelper.pod:944
+#: debhelper.pod:1046
msgid ""
"If set, this adds the value the variable is set to to the B<-X> options of "
"all commands that support the B<-X> option. Moreover, B<dh_builddeb> will "
@@ -2087,7 +2342,7 @@ msgstr ""
"sua árvore de compilação do pacote."
#. type: textblock
-#: debhelper.pod:948
+#: debhelper.pod:1050
msgid ""
"This can be useful if you are doing a build from a CVS source tree, in which "
"case setting B<DH_ALWAYS_EXCLUDE=CVS> will prevent any CVS directories from "
@@ -2105,7 +2360,7 @@ msgstr ""
"seu é compilado."
#. type: textblock
-#: debhelper.pod:955
+#: debhelper.pod:1057
msgid ""
"Multiple things to exclude can be separated with colons, as in "
"B<DH_ALWAYS_EXCLUDE=CVS:.svn>"
@@ -2113,76 +2368,101 @@ msgstr ""
"Várias coisas a excluir podem ser separadas com \"dois pontos\", como em "
"B<DH_ALWAYS_EXCLUDE=CVS:.svn>"
+#. type: =item
+#: debhelper.pod:1060
+#, fuzzy
+#| msgid "B<DH_OPTIONS>"
+msgid "B<DH_EXTRA_ADDONS>"
+msgstr "B<DH_OPTIONS>"
+
+#. type: textblock
+#: debhelper.pod:1062
+msgid ""
+"If set, this adds the specified dh addons to be run in the appropriate "
+"places in the sequence of commands. This is equivalent to specifying the "
+"addon to run with the --with flag in the debian/rules file. Any --without "
+"calls specifying an addon in this environment variable will not be run."
+msgstr ""
+
+#. type: textblock
+#: debhelper.pod:1067
+msgid ""
+"This is intended to be used by downstreams or specific local configurations "
+"that require a debhelper addon to be run during multiple builds without "
+"having to patch a large number of rules file. If at all possible, this "
+"should be avoided in favor of a --with flag in the rules file."
+msgstr ""
+
#. type: =head1
-#: debhelper.pod:960 debhelper-obsolete-compat.pod:118 dh:1113 dh_auto_build:53
-#: dh_auto_clean:55 dh_auto_configure:58 dh_auto_install:97 dh_auto_test:64
-#: dh_bugfiles:133 dh_builddeb:183 dh_clean:184 dh_compress:237 dh_fixperms:162
-#: dh_gconf:101 dh_gencontrol:199 dh_icons:75 dh_install:363
-#: dh_installcatalogs:125 dh_installchangelogs:243 dh_installcron:78
-#: dh_installdeb:217 dh_installdebconf:128 dh_installdirs:97 dh_installdocs:427
-#: dh_installemacsen:137 dh_installexamples:171 dh_installifupdown:72
-#: dh_installinfo:99 dh_installinit:370 dh_installlogcheck:81
-#: dh_installlogrotate:53 dh_installman:358 dh_installmanpages:198
-#: dh_installmenu:88 dh_installmime:63 dh_installmodules:109 dh_installpam:62
-#: dh_installppp:68 dh_installudev:100 dh_installwm:122 dh_installxfonts:92
-#: dh_link:163 dh_lintian:60 dh_listpackages:33 dh_makeshlibs:291
-#: dh_md5sums:109 dh_movefiles:161 dh_perl:159 dh_prep:70 dh_shlibdeps:201
-#: dh_strip:417 dh_testdir:63 dh_testroot:74 dh_usrlocal:132
-#: dh_systemd_enable:281 dh_systemd_start:269
+#: debhelper.pod:1074 debhelper-obsolete-compat.pod:118 dh:1093
+#: dh_auto_build:53 dh_auto_clean:55 dh_auto_configure:58 dh_auto_install:97
+#: dh_auto_test:64 dh_bugfiles:133 dh_builddeb:182 dh_clean:185 dh_compress:236
+#: dh_dwz:141 dh_fixperms:162 dh_gconf:101 dh_gencontrol:207 dh_icons:75
+#: dh_install:350 dh_installcatalogs:125 dh_installchangelogs:300
+#: dh_installcron:78 dh_installdeb:266 dh_installdebconf:128 dh_installdirs:128
+#: dh_installdocs:444 dh_installemacsen:137 dh_installexamples:175
+#: dh_installifupdown:72 dh_installinfo:107 dh_installinit:406
+#: dh_installinitramfs:86 dh_installlogcheck:81 dh_installlogrotate:53
+#: dh_installman:362 dh_installmanpages:198 dh_installmenu:88 dh_installmime:63
+#: dh_installmodules:109 dh_installpam:62 dh_installppp:68 dh_installudev:100
+#: dh_installwm:127 dh_installxfonts:96 dh_link:163 dh_lintian:60
+#: dh_listpackages:35 dh_makeshlibs:355 dh_md5sums:117 dh_movefiles:161
+#: dh_perl:159 dh_prep:70 dh_shlibdeps:199 dh_strip:426 dh_testdir:63
+#: dh_testroot:91 dh_usrlocal:136 dh_systemd_enable:281 dh_systemd_start:269
msgid "SEE ALSO"
msgstr "VEJA TAMBÉM"
#. type: =item
-#: debhelper.pod:964
+#: debhelper.pod:1078
msgid "F</usr/share/doc/debhelper/examples/>"
msgstr "F</usr/share/doc/debhelper/examples/>"
#. type: textblock
-#: debhelper.pod:966
+#: debhelper.pod:1080
msgid "A set of example F<debian/rules> files that use debhelper."
msgstr "Um conjunto de ficheiros F<debian/rules> exemplo que usam debhelper."
#. type: =item
-#: debhelper.pod:968
+#: debhelper.pod:1082
msgid "L<http://joeyh.name/code/debhelper/>"
msgstr "L<http://joeyh.name/code/debhelper/>"
#. type: textblock
-#: debhelper.pod:970
+#: debhelper.pod:1084
msgid "Debhelper web site."
msgstr "Sítio web do debhelper."
#. type: =head1
-#: debhelper.pod:974 dh:1119 dh_auto_build:59 dh_auto_clean:61
+#: debhelper.pod:1088 dh:1099 dh_auto_build:59 dh_auto_clean:61
#: dh_auto_configure:64 dh_auto_install:103 dh_auto_test:70 dh_bugfiles:141
-#: dh_builddeb:189 dh_clean:190 dh_compress:243 dh_fixperms:168 dh_gconf:107
-#: dh_gencontrol:205 dh_icons:81 dh_install:369 dh_installcatalogs:131
-#: dh_installchangelogs:249 dh_installcron:84 dh_installdeb:223
-#: dh_installdebconf:134 dh_installdirs:103 dh_installdocs:433
-#: dh_installemacsen:144 dh_installexamples:177 dh_installifupdown:78
-#: dh_installinfo:105 dh_installlogcheck:87 dh_installlogrotate:59
-#: dh_installman:364 dh_installmanpages:204 dh_installmenu:96 dh_installmime:69
-#: dh_installmodules:115 dh_installpam:68 dh_installppp:74 dh_installudev:106
-#: dh_installwm:128 dh_installxfonts:98 dh_link:169 dh_lintian:68
-#: dh_listpackages:39 dh_makeshlibs:297 dh_md5sums:115 dh_movefiles:167
-#: dh_perl:165 dh_prep:76 dh_shlibdeps:207 dh_strip:423 dh_testdir:69
-#: dh_testroot:80 dh_usrlocal:138
+#: dh_builddeb:188 dh_clean:191 dh_compress:242 dh_dwz:147 dh_fixperms:168
+#: dh_gconf:107 dh_gencontrol:213 dh_icons:81 dh_install:356
+#: dh_installcatalogs:131 dh_installchangelogs:306 dh_installcron:84
+#: dh_installdeb:272 dh_installdebconf:134 dh_installdirs:134
+#: dh_installdocs:450 dh_installemacsen:144 dh_installexamples:181
+#: dh_installifupdown:78 dh_installinfo:113 dh_installlogcheck:87
+#: dh_installlogrotate:59 dh_installman:368 dh_installmanpages:204
+#: dh_installmenu:96 dh_installmime:69 dh_installmodules:115 dh_installpam:68
+#: dh_installppp:74 dh_installudev:106 dh_installwm:133 dh_installxfonts:102
+#: dh_link:169 dh_lintian:68 dh_listpackages:41 dh_makeshlibs:361
+#: dh_md5sums:123 dh_movefiles:167 dh_perl:165 dh_prep:76 dh_shlibdeps:205
+#: dh_strip:432 dh_testdir:69 dh_testroot:97 dh_usrlocal:142
msgid "AUTHOR"
msgstr "AUTOR"
#. type: textblock
-#: debhelper.pod:976 dh:1121 dh_auto_build:61 dh_auto_clean:63
-#: dh_auto_configure:66 dh_auto_install:105 dh_auto_test:72 dh_builddeb:191
-#: dh_clean:192 dh_compress:245 dh_fixperms:170 dh_gencontrol:207
-#: dh_install:371 dh_installchangelogs:251 dh_installcron:86 dh_installdeb:225
-#: dh_installdebconf:136 dh_installdirs:105 dh_installdocs:435
-#: dh_installemacsen:146 dh_installexamples:179 dh_installifupdown:80
-#: dh_installinfo:107 dh_installinit:378 dh_installlogrotate:61
-#: dh_installman:366 dh_installmanpages:206 dh_installmenu:98 dh_installmime:71
+#: debhelper.pod:1090 dh:1101 dh_auto_build:61 dh_auto_clean:63
+#: dh_auto_configure:66 dh_auto_install:105 dh_auto_test:72 dh_builddeb:190
+#: dh_clean:193 dh_compress:244 dh_fixperms:170 dh_gencontrol:215
+#: dh_install:358 dh_installchangelogs:308 dh_installcron:86 dh_installdeb:274
+#: dh_installdebconf:136 dh_installdirs:136 dh_installdocs:452
+#: dh_installemacsen:146 dh_installexamples:183 dh_installifupdown:80
+#: dh_installinfo:115 dh_installinit:414 dh_installlogrotate:61
+#: dh_installman:370 dh_installmanpages:206 dh_installmenu:98 dh_installmime:71
#: dh_installmodules:117 dh_installpam:70 dh_installppp:76 dh_installudev:108
-#: dh_installwm:130 dh_installxfonts:100 dh_link:171 dh_listpackages:41
-#: dh_makeshlibs:299 dh_md5sums:117 dh_movefiles:169 dh_prep:78
-#: dh_shlibdeps:209 dh_strip:425 dh_testdir:71 dh_testroot:82
+#: dh_installwm:135 dh_installxfonts:104 dh_link:171 dh_listpackages:43
+#: dh_makeshlibs:363 dh_md5sums:125 dh_movefiles:169 dh_prep:78
+#: dh_shlibdeps:207 dh_strip:434 dh_testdir:71 dh_testroot:99
msgid "Joey Hess <joeyh@debian.org>"
msgstr "Joey Hess <joeyh@debian.org>"
@@ -2373,30 +2653,30 @@ msgstr ""
"B<dh_install> resulta em erro se as \"wildcards\" expandirem para nada."
#. type: textblock
-#: debhelper-obsolete-compat.pod:120 dh:1115 dh_auto_build:55 dh_auto_clean:57
-#: dh_auto_configure:60 dh_auto_install:99 dh_auto_test:66 dh_builddeb:185
-#: dh_clean:186 dh_compress:239 dh_fixperms:164 dh_gconf:103 dh_gencontrol:201
-#: dh_install:365 dh_installcatalogs:127 dh_installchangelogs:245
-#: dh_installcron:80 dh_installdeb:219 dh_installdebconf:130 dh_installdirs:99
-#: dh_installdocs:429 dh_installexamples:173 dh_installifupdown:74
-#: dh_installinfo:101 dh_installinit:372 dh_installlogcheck:83
-#: dh_installlogrotate:55 dh_installman:360 dh_installmanpages:200
-#: dh_installmime:65 dh_installmodules:111 dh_installpam:64 dh_installppp:70
-#: dh_installudev:102 dh_installwm:124 dh_installxfonts:94 dh_link:165
-#: dh_listpackages:35 dh_makeshlibs:293 dh_md5sums:111 dh_movefiles:163
-#: dh_perl:161 dh_prep:72 dh_strip:419 dh_testdir:65 dh_testroot:76
-#: dh_usrlocal:134 dh_systemd_start:271
+#: debhelper-obsolete-compat.pod:120 dh:1095 dh_auto_build:55 dh_auto_clean:57
+#: dh_auto_configure:60 dh_auto_install:99 dh_auto_test:66 dh_builddeb:184
+#: dh_clean:187 dh_compress:238 dh_dwz:143 dh_fixperms:164 dh_gconf:103
+#: dh_gencontrol:209 dh_install:352 dh_installcatalogs:127
+#: dh_installchangelogs:302 dh_installcron:80 dh_installdeb:268
+#: dh_installdebconf:130 dh_installdirs:130 dh_installdocs:446
+#: dh_installexamples:177 dh_installifupdown:74 dh_installinfo:109
+#: dh_installlogcheck:83 dh_installlogrotate:55 dh_installman:364
+#: dh_installmanpages:200 dh_installmime:65 dh_installmodules:111
+#: dh_installpam:64 dh_installppp:70 dh_installudev:102 dh_installwm:129
+#: dh_installxfonts:98 dh_link:165 dh_listpackages:37 dh_makeshlibs:357
+#: dh_md5sums:119 dh_movefiles:163 dh_perl:161 dh_prep:72 dh_strip:428
+#: dh_testdir:65 dh_testroot:93 dh_usrlocal:138 dh_systemd_start:271
msgid "L<debhelper(7)>"
msgstr "L<debhelper(7)>"
#. type: =head1
-#: debhelper-obsolete-compat.pod:122 dh_installinit:376 dh_systemd_enable:285
+#: debhelper-obsolete-compat.pod:122 dh_installinit:412 dh_systemd_enable:285
#: dh_systemd_start:273
msgid "AUTHORS"
msgstr "AUTORES"
#. type: textblock
-#: debhelper-obsolete-compat.pod:124
+#: debhelper-obsolete-compat.pod:124 dh_dwz:149
msgid "Niels Thykier <niels@thykier.net>"
msgstr "Niels Thykier <niels@thykier.net>"
@@ -2411,7 +2691,7 @@ msgid "dh - debhelper command sequencer"
msgstr "dh - sequenciador de comandos do debhelper"
#. type: textblock
-#: dh:17
+#: dh:18
msgid ""
"B<dh> I<sequence> [B<--with> I<addon>[B<,>I<addon> ...]] [B<--list>] "
"[S<I<debhelper options>>]"
@@ -2420,7 +2700,7 @@ msgstr ""
"[S<I<debhelper opções>>]"
#. type: textblock
-#: dh:21
+#: dh:22
msgid ""
"B<dh> runs a sequence of debhelper commands. The supported I<sequence>s "
"correspond to the targets of a F<debian/rules> file: B<build-arch>, B<build-"
@@ -2433,12 +2713,12 @@ msgstr ""
"arch>, B<install>, B<binary-arch>, B<binary-indep>, e B<binary>."
#. type: =head1
-#: dh:26
+#: dh:27
msgid "OVERRIDE TARGETS"
msgstr "METAS DE SOBREPOSIÇÃO"
#. type: textblock
-#: dh:28
+#: dh:29
msgid ""
"A F<debian/rules> file using B<dh> can override the command that is run at "
"any step in a sequence, by defining an override target."
@@ -2448,7 +2728,7 @@ msgstr ""
"sobreposição."
#. type: textblock
-#: dh:31
+#: dh:32
msgid ""
"To override I<dh_command>, add a target named B<override_>I<dh_command> to "
"the rules file. When it would normally run I<dh_command>, B<dh> will instead "
@@ -2463,7 +2743,7 @@ msgstr ""
"disso correr comandos completamente diferentes. Veja exemplos em baixo."
#. type: textblock
-#: dh:37
+#: dh:38
msgid ""
"Override targets can also be defined to run only when building architecture "
"dependent or architecture independent packages. Use targets with names like "
@@ -2478,28 +2758,29 @@ msgstr ""
"você deve usar Build-Depend em debhelper 8.9.7 ou posterior.)"
#. type: =head1
-#: dh:44 dh_auto_build:32 dh_auto_clean:33 dh_auto_configure:35
+#: dh:45 dh_auto_build:32 dh_auto_clean:33 dh_auto_configure:35
#: dh_auto_install:46 dh_auto_test:34 dh_bugfiles:53 dh_builddeb:34 dh_clean:47
-#: dh_compress:52 dh_fixperms:40 dh_gconf:42 dh_gencontrol:38 dh_icons:33
-#: dh_install:72 dh_installcatalogs:53 dh_installchangelogs:62
-#: dh_installcron:43 dh_installdebconf:64 dh_installdirs:42 dh_installdocs:86
-#: dh_installemacsen:56 dh_installexamples:37 dh_installifupdown:42
-#: dh_installinfo:34 dh_installinit:73 dh_installlogcheck:45
-#: dh_installlogrotate:25 dh_installman:79 dh_installmanpages:43
-#: dh_installmenu:44 dh_installmodules:41 dh_installpam:34 dh_installppp:38
-#: dh_installudev:34 dh_installwm:38 dh_link:66 dh_makeshlibs:52 dh_md5sums:31
-#: dh_movefiles:41 dh_perl:34 dh_prep:29 dh_shlibdeps:30 dh_strip:38
-#: dh_testdir:26 dh_usrlocal:49 dh_systemd_enable:83 dh_systemd_start:33
+#: dh_compress:52 dh_dwz:26 dh_fixperms:40 dh_gconf:42 dh_gencontrol:38
+#: dh_icons:33 dh_install:66 dh_installcatalogs:53 dh_installchangelogs:73
+#: dh_installcron:43 dh_installdebconf:64 dh_installdirs:42 dh_installdocs:90
+#: dh_installemacsen:56 dh_installexamples:41 dh_installifupdown:42
+#: dh_installinfo:38 dh_installinit:78 dh_installinitramfs:43
+#: dh_installlogcheck:45 dh_installlogrotate:25 dh_installman:83
+#: dh_installmanpages:43 dh_installmenu:44 dh_installmodules:41
+#: dh_installpam:34 dh_installppp:38 dh_installudev:34 dh_installwm:38
+#: dh_link:66 dh_makeshlibs:52 dh_md5sums:31 dh_movefiles:41 dh_perl:34
+#: dh_prep:29 dh_shlibdeps:30 dh_strip:38 dh_testdir:26 dh_usrlocal:50
+#: dh_systemd_enable:83 dh_systemd_start:33
msgid "OPTIONS"
msgstr "OPÇÕES"
#. type: =item
-#: dh:48
+#: dh:49
msgid "B<--with> I<addon>[B<,>I<addon> ...]"
msgstr "B<--with> I<addon>[B<,>I<addon> ...]"
#. type: textblock
-#: dh:50
+#: dh:51
msgid ""
"Add the debhelper commands specified by the given addon to appropriate "
"places in the sequence of commands that is run. This option can be repeated "
@@ -2515,13 +2796,26 @@ msgstr ""
"disponibiliza comandos do debhelper. Veja o ficheiro F<PROGRAMMING> para "
"documentação acerca da sequência de interface de addons."
+#. type: textblock
+#: dh:58
+msgid ""
+"A B<Build-Depends> relation on the package B<dh-sequence->I<addon> implies a "
+"B<--with> I<addon>. This avoids the need for an explicit B<--with> in "
+"F<debian/rules> that only duplicates what is already declared via the build "
+"dependencies in F<debian/control>. Note that only relations in the B<Build-"
+"Depends> field are considered (i.e. B<Build-Depends-Indep> and B<Build-"
+"Depends-Arch> are deliberately unsupported). Please keep in mind that B<dh> "
+"insists on \"simple\" relations (e.g. a relation like \"B<dh-sequence-"
+">I<addon> | B<some-other-pkg>\" will I<not> imply B<--with> I<addon>)."
+msgstr ""
+
#. type: =item
-#: dh:57
+#: dh:68
msgid "B<--without> I<addon>"
msgstr "B<--without> I<addon>"
#. type: textblock
-#: dh:59
+#: dh:70
msgid ""
"The inverse of B<--with>, disables using the given addon. This option can be "
"repeated more than once, or multiple addons to disable can be listed, "
@@ -2532,19 +2826,22 @@ msgstr ""
"os listar separados por vírgulas."
#. type: textblock
-#: dh:65
+#: dh:76
msgid "List all available addons."
msgstr "Lista todos os addons disponíveis."
#. type: textblock
-#: dh:67
+#: dh:78
msgid ""
"When called only with this option, B<dh> can be called from any directory (i."
"e. it does not need access to files from a source package)."
msgstr ""
+"Quando chamado apenas com esta opção, o B<dh> pode ser chamado a partir de "
+"qualquer directório (isto é, não precisa de acesso a ficheiros do pacote "
+"fonte)."
#. type: textblock
-#: dh:73
+#: dh:84
msgid ""
"Prints commands that would run for a given sequence, but does not run them."
msgstr ""
@@ -2552,7 +2849,7 @@ msgstr ""
"corre."
#. type: textblock
-#: dh:75
+#: dh:86
msgid ""
"Note that dh normally skips running commands that it knows will do nothing. "
"With --no-act, the full list of commands in a sequence is printed."
@@ -2561,7 +2858,7 @@ msgstr ""
"Com --no-act, é escrito em sequência a lista completa dos comandos."
#. type: textblock
-#: dh:80
+#: dh:91
msgid ""
"Other options passed to B<dh> are passed on to each command it runs. This "
"can be used to set an option like B<-v> or B<-X> or B<-N>, as well as for "
@@ -2572,13 +2869,13 @@ msgstr ""
"assim como para opções mais especializadas."
#. type: =head1
-#: dh:84 dh_installdocs:167 dh_installman:110 dh_link:88 dh_makeshlibs:109
+#: dh:95 dh_installdocs:181 dh_installman:114 dh_link:88 dh_makeshlibs:155
#: dh_shlibdeps:78
msgid "EXAMPLES"
msgstr "EXEMPLOS"
#. type: textblock
-#: dh:86
+#: dh:97
msgid ""
"To see what commands are included in a sequence, without actually doing "
"anything:"
@@ -2587,7 +2884,7 @@ msgstr ""
"nada:"
#. type: verbatim
-#: dh:89
+#: dh:100
#, no-wrap
msgid ""
"\tdh binary-arch --no-act\n"
@@ -2597,7 +2894,7 @@ msgstr ""
"\n"
#. type: textblock
-#: dh:91
+#: dh:102
msgid ""
"This is a very simple rules file, for packages where the default sequences "
"of commands work with no additional options."
@@ -2606,7 +2903,7 @@ msgstr ""
"de comandos predefinidas funcionam sem opções adicionais."
#. type: verbatim
-#: dh:94 dh:115 dh:128
+#: dh:105 dh:126 dh:139
#, no-wrap
msgid ""
"\t#!/usr/bin/make -f\n"
@@ -2620,7 +2917,7 @@ msgstr ""
"\n"
#. type: textblock
-#: dh:98
+#: dh:109
msgid ""
"Often you'll want to pass an option to a specific debhelper command. The "
"easy way to do with is by adding an override target for that command."
@@ -2630,7 +2927,7 @@ msgstr ""
"sobreposição a esse comando."
#. type: verbatim
-#: dh:101 dh:185 dh:196
+#: dh:112 dh:196 dh:207
#, no-wrap
msgid ""
"\t#!/usr/bin/make -f\n"
@@ -2644,7 +2941,7 @@ msgstr ""
"\t\n"
#. type: verbatim
-#: dh:105
+#: dh:116
#, no-wrap
msgid ""
"\toverride_dh_strip:\n"
@@ -2656,7 +2953,7 @@ msgstr ""
"\t\n"
#. type: verbatim
-#: dh:108
+#: dh:119
#, no-wrap
msgid ""
"\toverride_dh_auto_configure:\n"
@@ -2668,7 +2965,7 @@ msgstr ""
"\n"
#. type: textblock
-#: dh:111
+#: dh:122
msgid ""
"Sometimes the automated L<dh_auto_configure(1)> and L<dh_auto_build(1)> "
"can't guess what to do for a strange package. Here's how to avoid running "
@@ -2680,7 +2977,7 @@ msgstr ""
"comandos."
#. type: verbatim
-#: dh:119
+#: dh:130
#, no-wrap
msgid ""
"\toverride_dh_auto_configure:\n"
@@ -2692,7 +2989,7 @@ msgstr ""
"\n"
#. type: verbatim
-#: dh:122
+#: dh:133
#, no-wrap
msgid ""
"\toverride_dh_auto_build:\n"
@@ -2704,7 +3001,7 @@ msgstr ""
"\n"
#. type: textblock
-#: dh:125
+#: dh:136
msgid ""
"Another common case is wanting to do something manually before or after a "
"particular debhelper command is run."
@@ -2713,7 +3010,7 @@ msgstr ""
"comando debhelper particular ser executado."
#. type: verbatim
-#: dh:132
+#: dh:143
#, no-wrap
msgid ""
"\toverride_dh_fixperms:\n"
@@ -2727,22 +3024,16 @@ msgstr ""
"\n"
#. type: textblock
-#: dh:136
-#, fuzzy
-#| msgid ""
-#| "Python tools are not run by dh by default, due to the continual change in "
-#| "that area. (Before compatibility level v9, dh does run B<dh_pysupport>.) "
-#| "Here is how to use B<dh_python2>."
+#: dh:147
msgid ""
"Python tools are not run by dh by default, due to the continual change in "
"that area. Here is how to use B<dh_python2>."
msgstr ""
"Por predefinição, as ferramentas Python não são accionadas, devido às "
-"alterações contínuas nessa área. (Antes do nível de compatibilidade v9, o dh "
-"corre o B<dh_pysupport>.) Aqui está como usar o B<dh_python2>."
+"alterações contínuas nessa área. Aqui está como usar o B<dh_python2>."
#. type: verbatim
-#: dh:139
+#: dh:150
#, no-wrap
msgid ""
"\t#!/usr/bin/make -f\n"
@@ -2756,7 +3047,7 @@ msgstr ""
"\n"
#. type: textblock
-#: dh:143
+#: dh:154
msgid ""
"Here is how to force use of Perl's B<Module::Build> build system, which can "
"be necessary if debhelper wrongly detects that the package uses MakeMaker."
@@ -2766,7 +3057,7 @@ msgstr ""
"pacote usa MakeMaker."
#. type: verbatim
-#: dh:147
+#: dh:158
#, no-wrap
msgid ""
"\t#!/usr/bin/make -f\n"
@@ -2780,7 +3071,7 @@ msgstr ""
"\n"
#. type: textblock
-#: dh:151
+#: dh:162
msgid ""
"Here is an example of overriding where the B<dh_auto_>I<*> commands find the "
"package's source, for a package where the source is located in a "
@@ -2791,7 +3082,7 @@ msgstr ""
"localizada num sub-directório."
#. type: verbatim
-#: dh:155
+#: dh:166
#, no-wrap
msgid ""
"\t#!/usr/bin/make -f\n"
@@ -2805,7 +3096,7 @@ msgstr ""
"\n"
#. type: textblock
-#: dh:159
+#: dh:170
msgid ""
"And here is an example of how to tell the B<dh_auto_>I<*> commands to build "
"in a subdirectory, which will be removed on B<clean>."
@@ -2814,7 +3105,7 @@ msgstr ""
"compilarem num sub-directório, o qual será removido em B<clean>."
#. type: verbatim
-#: dh:162
+#: dh:173
#, no-wrap
msgid ""
"\t#!/usr/bin/make -f\n"
@@ -2828,7 +3119,7 @@ msgstr ""
"\n"
#. type: textblock
-#: dh:166
+#: dh:177
msgid ""
"If your package can be built in parallel, please either use compat 10 or "
"pass B<--parallel> to dh. Then B<dpkg-buildpackage -j> will work."
@@ -2838,7 +3129,7 @@ msgstr ""
"-j> irá funcionar."
#. type: verbatim
-#: dh:169
+#: dh:180
#, no-wrap
msgid ""
"\t#!/usr/bin/make -f\n"
@@ -2852,7 +3143,7 @@ msgstr ""
"\n"
#. type: textblock
-#: dh:173
+#: dh:184
msgid ""
"If your package cannot be built reliably while using multiple threads, "
"please pass B<--no-parallel> to dh (or the relevant B<dh_auto_>I<*> command):"
@@ -2862,7 +3153,7 @@ msgstr ""
"B<dh_auto_>I<*> relevante):"
#. type: verbatim
-#: dh:178
+#: dh:189
#, no-wrap
msgid ""
"\t#!/usr/bin/make -f\n"
@@ -2876,7 +3167,7 @@ msgstr ""
"\n"
#. type: textblock
-#: dh:182
+#: dh:193
msgid ""
"Here is a way to prevent B<dh> from running several commands that you don't "
"want it to run, by defining empty override targets for each command."
@@ -2885,7 +3176,7 @@ msgstr ""
"quer que corram, ao definir metas de sobreposição vazias para cada comando."
#. type: verbatim
-#: dh:189
+#: dh:200
#, no-wrap
msgid ""
"\t# Commands not to run:\n"
@@ -2897,7 +3188,7 @@ msgstr ""
"\n"
#. type: textblock
-#: dh:192
+#: dh:203
msgid ""
"A long build process for a separate documentation package can be separated "
"out using architecture independent overrides. These will be skipped when "
@@ -2908,7 +3199,7 @@ msgstr ""
"Estes serão saltados quando se corre as sequências build-arch e binary-arch."
#. type: verbatim
-#: dh:200
+#: dh:211
#, no-wrap
msgid ""
"\toverride_dh_auto_build-indep:\n"
@@ -2920,7 +3211,7 @@ msgstr ""
"\n"
#. type: verbatim
-#: dh:203
+#: dh:214
#, no-wrap
msgid ""
"\t# No tests needed for docs\n"
@@ -2932,7 +3223,7 @@ msgstr ""
"\n"
#. type: verbatim
-#: dh:206
+#: dh:217
#, no-wrap
msgid ""
"\toverride_dh_auto_install-indep:\n"
@@ -2944,7 +3235,7 @@ msgstr ""
"\n"
#. type: textblock
-#: dh:209
+#: dh:220
msgid ""
"Adding to the example above, suppose you need to chmod a file, but only when "
"building the architecture dependent package, as it's not present when "
@@ -2955,7 +3246,7 @@ msgstr ""
"pois ele não está presente quando compila apenas a documentação."
#. type: verbatim
-#: dh:213
+#: dh:224
#, no-wrap
msgid ""
"\toverride_dh_fixperms-arch:\n"
@@ -2969,12 +3260,12 @@ msgstr ""
"\n"
#. type: =head1
-#: dh:217
+#: dh:228
msgid "INTERNALS"
msgstr "INTERNOS"
#. type: textblock
-#: dh:219
+#: dh:230
msgid ""
"If you're curious about B<dh>'s internals, here's how it works under the "
"hood."
@@ -2983,15 +3274,7 @@ msgstr ""
"funciona por baixo da capota."
#. type: textblock
-#: dh:221
-#, fuzzy
-#| msgid ""
-#| "In compat 10 (or later), B<dh> creates a stamp file F<debian/debhelper-"
-#| "build-stamp> after the build step(s) are complete to avoid re-running "
-#| "them. Inside an override target, B<dh_*> commands will create a log file "
-#| "F<debian/package.debhelper.log> to keep track of which packages the "
-#| "command(s) have been run for. These log files are then removed once the "
-#| "override target is complete."
+#: dh:232
msgid ""
"In compat 10 (or later), B<dh> creates a stamp file F<debian/debhelper-build-"
"stamp> after the build step(s) are complete to avoid re-running them. It is "
@@ -3002,38 +3285,28 @@ msgid ""
msgstr ""
"No modo compatibilidade 10 (ou posterior), o B<dh> cria um ficheiro stamp "
"<debian/debhelper-build-stamp> após os passo(s) de compilação estarem "
-"completos para evitar voltar a corrê-los dentro de uma meta de sobreposição. "
-"Os comandos B<dh_*> irão criar um ficheiro de registo F<debian/package."
-"debhelper.log> para manter acompanhamento de para quais pacotes os "
-"comando(s) têm corrido. Estes ficheiros log são depois removidos assim que a "
-"meta de sobreposição estiver completa."
+"completos para evitar voltar a corrê-los. É possível evitar o ficheiro stamp "
+"ao passar B<--without=build-stamp> para B<dh>. Isto faz com que "
+"compilações \"não limpas\" se comportem mais como o que algumas pessoas "
+"esperam à custa de possivelmente correrem a compilação e testá-la duas vezes "
+"(a segunda vez como root ou sob L<fakeroot(1)>)."
#. type: textblock
-#: dh:229
-#, fuzzy
-#| msgid ""
-#| "In compat 10 (or later), B<dh> creates a stamp file F<debian/debhelper-"
-#| "build-stamp> after the build step(s) are complete to avoid re-running "
-#| "them. Inside an override target, B<dh_*> commands will create a log file "
-#| "F<debian/package.debhelper.log> to keep track of which packages the "
-#| "command(s) have been run for. These log files are then removed once the "
-#| "override target is complete."
+#: dh:240
msgid ""
"Inside an override target, B<dh_*> commands will create a log file F<debian/"
"package.debhelper.log> to keep track of which packages the command(s) have "
"been run for. These log files are then removed once the override target is "
"complete."
msgstr ""
-"No modo compatibilidade 10 (ou posterior), o B<dh> cria um ficheiro stamp "
-"<debian/debhelper-build-stamp> após os passo(s) de compilação estarem "
-"completos para evitar voltar a corrê-los dentro de uma meta de sobreposição. "
-"Os comandos B<dh_*> irão criar um ficheiro de registo F<debian/package."
-"debhelper.log> para manter acompanhamento de para quais pacotes os "
-"comando(s) têm corrido. Estes ficheiros log são depois removidos assim que a "
-"meta de sobreposição estiver completa."
+"Dentro de uma meta de sobreposição, os comandos B<dh_*> irão criar um "
+"ficheiro de registo F<debian/package.debhelper.log> para manter "
+"acompanhamento de para quais pacotes os comando(s) têm corrido. Estes "
+"ficheiros log são depois removidos assim que a meta de sobreposição estiver "
+"completa."
#. type: textblock
-#: dh:234
+#: dh:245
msgid ""
"In compat 9 or earlier, each debhelper command will record when it's "
"successfully run in F<debian/package.debhelper.log>. (Which B<dh_clean> "
@@ -3046,7 +3319,7 @@ msgstr ""
"foram corridos, para quais pacotes, e evita correr esses comandos de novo."
#. type: textblock
-#: dh:239
+#: dh:250
msgid ""
"Each time B<dh> is run (in compat 9 or earlier), it examines the log, and "
"finds the last logged command that is in the specified sequence. It then "
@@ -3062,7 +3335,7 @@ msgstr ""
"compatibilidade 10)."
#. type: textblock
-#: dh:245
+#: dh:256
msgid ""
"A sequence can also run dependent targets in debian/rules. For example, the "
"\"binary\" sequence runs the \"install\" target."
@@ -3071,7 +3344,7 @@ msgstr ""
"exemplo, a sequência \"binary\" corre a meta \"install\"."
#. type: textblock
-#: dh:248
+#: dh:259
msgid ""
"B<dh> uses the B<DH_INTERNAL_OPTIONS> environment variable to pass "
"information through to debhelper commands that are run inside override "
@@ -3084,7 +3357,7 @@ msgstr ""
"ambiente. como o nome sugere, está sujeito a alterações em qualquer altura."
#. type: textblock
-#: dh:253
+#: dh:264
msgid ""
"Commands in the B<build-indep>, B<install-indep> and B<binary-indep> "
"sequences are passed the B<-i> option to ensure they only work on "
@@ -3099,12 +3372,12 @@ msgstr ""
"assegurar que eles apenas trabalham em pacotes dependentes da arquitectura."
#. type: =head1
-#: dh:259
+#: dh:270
msgid "DEPRECATED OPTIONS"
msgstr "OPÇÕES DESCONTINUADAS"
#. type: textblock
-#: dh:261
+#: dh:272
msgid ""
"The following options are deprecated. It's much better to use override "
"targets instead. They are B<not> available in compat 10."
@@ -3114,47 +3387,47 @@ msgstr ""
"compatibilidade 10."
#. type: =item
-#: dh:267
+#: dh:278
msgid "B<--until> I<cmd>"
msgstr "B<--until> I<cmd>"
#. type: textblock
-#: dh:269
+#: dh:280
msgid "Run commands in the sequence until and including I<cmd>, then stop."
msgstr "Corre comandos na sequência até e incluindo I<cmd>, depois pára."
#. type: =item
-#: dh:271
+#: dh:282
msgid "B<--before> I<cmd>"
msgstr "B<--before> I<cmd>"
#. type: textblock
-#: dh:273
+#: dh:284
msgid "Run commands in the sequence before I<cmd>, then stop."
msgstr "Corre comandos na sequência antes de I<cmd>, depois pára."
#. type: =item
-#: dh:275
+#: dh:286
msgid "B<--after> I<cmd>"
msgstr "B<--after> I<cmd>"
#. type: textblock
-#: dh:277
+#: dh:288
msgid "Run commands in the sequence that come after I<cmd>."
msgstr "Corre comandos na sequência que vêm depois de I<cmd>."
#. type: =item
-#: dh:279
+#: dh:290
msgid "B<--remaining>"
msgstr "B<--remaining>"
#. type: textblock
-#: dh:281
+#: dh:292
msgid "Run all commands in the sequence that have yet to be run."
msgstr "Corre todos os comandos na sequência que ainda estão por correr."
#. type: textblock
-#: dh:285
+#: dh:296
msgid ""
"In the above options, I<cmd> can be a full name of a debhelper command, or a "
"substring. It'll first search for a command in the sequence exactly matching "
@@ -3168,19 +3441,20 @@ msgstr ""
"sequência."
#. type: textblock
-#: dh:1117 dh_auto_build:57 dh_auto_clean:59 dh_auto_configure:62
-#: dh_auto_install:101 dh_auto_test:68 dh_bugfiles:139 dh_builddeb:187
-#: dh_clean:188 dh_compress:241 dh_fixperms:166 dh_gconf:105 dh_gencontrol:203
-#: dh_icons:79 dh_install:367 dh_installchangelogs:247 dh_installcron:82
-#: dh_installdeb:221 dh_installdebconf:132 dh_installdirs:101
-#: dh_installdocs:431 dh_installemacsen:142 dh_installexamples:175
-#: dh_installifupdown:76 dh_installinfo:103 dh_installinit:374
-#: dh_installlogrotate:57 dh_installman:362 dh_installmanpages:202
-#: dh_installmenu:94 dh_installmime:67 dh_installmodules:113 dh_installpam:66
-#: dh_installppp:72 dh_installudev:104 dh_installwm:126 dh_installxfonts:96
-#: dh_link:167 dh_lintian:64 dh_listpackages:37 dh_makeshlibs:295
-#: dh_md5sums:113 dh_movefiles:165 dh_perl:163 dh_prep:74 dh_shlibdeps:205
-#: dh_strip:421 dh_testdir:67 dh_testroot:78 dh_usrlocal:136
+#: dh:1097 dh_auto_build:57 dh_auto_clean:59 dh_auto_configure:62
+#: dh_auto_install:101 dh_auto_test:68 dh_bugfiles:139 dh_builddeb:186
+#: dh_clean:189 dh_compress:240 dh_dwz:145 dh_fixperms:166 dh_gconf:105
+#: dh_gencontrol:211 dh_icons:79 dh_install:354 dh_installchangelogs:304
+#: dh_installcron:82 dh_installdeb:270 dh_installdebconf:132 dh_installdirs:132
+#: dh_installdocs:448 dh_installemacsen:142 dh_installexamples:179
+#: dh_installifupdown:76 dh_installinfo:111 dh_installinit:410
+#: dh_installinitramfs:92 dh_installlogrotate:57 dh_installman:366
+#: dh_installmanpages:202 dh_installmenu:94 dh_installmime:67
+#: dh_installmodules:113 dh_installpam:66 dh_installppp:72 dh_installudev:104
+#: dh_installwm:131 dh_installxfonts:100 dh_link:167 dh_lintian:64
+#: dh_listpackages:39 dh_makeshlibs:359 dh_md5sums:121 dh_movefiles:165
+#: dh_perl:163 dh_prep:74 dh_shlibdeps:203 dh_strip:430 dh_testdir:67
+#: dh_testroot:95 dh_usrlocal:140
msgid "This program is a part of debhelper."
msgstr "Este programa é parte do debhelper."
@@ -3237,8 +3511,8 @@ msgstr ""
#. type: =item
#: dh_auto_build:39 dh_auto_clean:40 dh_auto_configure:42 dh_auto_install:59
-#: dh_auto_test:41 dh_builddeb:48 dh_gencontrol:42 dh_installdebconf:72
-#: dh_installinit:148 dh_makeshlibs:103 dh_shlibdeps:41
+#: dh_auto_test:41 dh_builddeb:48 dh_dwz:50 dh_gencontrol:42
+#: dh_installdebconf:72 dh_installinit:167 dh_makeshlibs:149 dh_shlibdeps:41
msgid "B<--> I<params>"
msgstr "B<--> I<params>"
@@ -3558,13 +3832,14 @@ msgstr ""
#. type: =head1
#: dh_bugfiles:25 dh_clean:34 dh_compress:35 dh_gconf:26 dh_install:40
-#: dh_installcatalogs:39 dh_installchangelogs:38 dh_installcron:24
-#: dh_installdeb:25 dh_installdebconf:37 dh_installdirs:28 dh_installdocs:36
-#: dh_installemacsen:30 dh_installexamples:27 dh_installifupdown:25
-#: dh_installinfo:24 dh_installinit:36 dh_installlogcheck:24 dh_installman:69
-#: dh_installmenu:28 dh_installmime:24 dh_installmodules:31 dh_installpam:24
-#: dh_installppp:24 dh_installudev:24 dh_installwm:28 dh_link:46 dh_lintian:24
-#: dh_makeshlibs:29 dh_movefiles:29 dh_systemd_enable:41
+#: dh_installcatalogs:39 dh_installchangelogs:49 dh_installcron:24
+#: dh_installdeb:25 dh_installdebconf:37 dh_installdirs:28 dh_installdocs:40
+#: dh_installemacsen:30 dh_installexamples:31 dh_installifupdown:25
+#: dh_installinfo:28 dh_installinit:41 dh_installinitramfs:30
+#: dh_installlogcheck:24 dh_installman:73 dh_installmenu:28 dh_installmime:24
+#: dh_installmodules:31 dh_installpam:24 dh_installppp:24 dh_installudev:24
+#: dh_installwm:28 dh_link:46 dh_lintian:24 dh_makeshlibs:29 dh_movefiles:29
+#: dh_systemd_enable:41
msgid "FILES"
msgstr "FICHEIROS"
@@ -3691,6 +3966,8 @@ msgid ""
"When the I<Rules-Requires-Root> field is not (effectively) I<binary-"
"targets>, B<dh_builddeb> will pass B<--root-owner-group> to L<dpkg-deb(1)>."
msgstr ""
+"Quando o campo I<Rules-Requires-Root> não for (efectivamente) I<binary-"
+"targets>, B<dh_builddeb> passará B<--root-owner-group> para L<dpkg-deb(1)>."
#. type: textblock
#: dh_builddeb:40
@@ -3807,7 +4084,7 @@ msgstr ""
"barra final. Qualquer conteúdo nestes directórios será também removido."
#. type: =item
-#: dh_clean:51 dh_installchangelogs:66
+#: dh_clean:51 dh_installchangelogs:77
msgid "B<-k>, B<--keep>"
msgstr "B<-k>, B<--keep>"
@@ -3818,10 +4095,8 @@ msgstr "Isto está descontinuado, use L<dh_prep(1)> em vez deste."
#. type: textblock
#: dh_clean:55
-#, fuzzy
-#| msgid "The option is removed in compat 11."
msgid "The option is removed in compat 12."
-msgstr "A opção foi removida no nível de compatibilidade 11."
+msgstr "A opção foi removida no nível de compatibilidade 12."
#. type: =item
#: dh_clean:57
@@ -3971,7 +4246,7 @@ msgstr ""
"comandos em TODOS os pacotes que actua."
#. type: =item
-#: dh_compress:68 dh_installdocs:160 dh_installexamples:78 dh_installinfo:53
+#: dh_compress:68 dh_installdocs:174 dh_installexamples:82 dh_installinfo:57
#: dh_installmanpages:47 dh_movefiles:58 dh_testdir:30
msgid "I<file> ..."
msgstr "I<ficheiro> ..."
@@ -3982,7 +4257,7 @@ msgid "Add these files to the list of files to compress."
msgstr "Adiciona estes ficheiros à lista de ficheiros para comprimir."
#. type: =head1
-#: dh_compress:74 dh_perl:64 dh_strip:133 dh_usrlocal:65
+#: dh_compress:74 dh_perl:64 dh_strip:133 dh_usrlocal:66
msgid "CONFORMS TO"
msgstr "EM CONFORMIDADE COM"
@@ -3992,6 +4267,104 @@ msgid "Debian policy, version 3.0"
msgstr "Debian policy, versão 3.0"
#. type: textblock
+#: dh_dwz:5
+msgid "dh_dwz - optimize DWARF debug information in ELF binaries via dwz"
+msgstr ""
+
+#. type: textblock
+#: dh_dwz:18
+#, fuzzy
+#| msgid ""
+#| "B<dh_installdebconf> [S<I<debhelper options>>] [B<-n>] [S<B<--> "
+#| "I<params>>]"
+msgid "B<dh_dwz> [S<I<debhelper options>>] [B<-X>I<item>] [S<B<--> I<params>>]"
+msgstr ""
+"B<dh_installdebconf> [S<I<debhelper opções>>] [B<-n>] [S<B<--> I<params>>]"
+
+#. type: textblock
+#: dh_dwz:22
+msgid ""
+"B<dh_dwz> is a debhelper program that will optimize the (uncompressed) size "
+"of the DWARF debug information in ELF binaries. It does so by running "
+"L<dwz(1)> on all the ELF binaries in the package."
+msgstr ""
+
+#. type: =item
+#: dh_dwz:30
+msgid "B<--dwz-multifile>, B<--no-dwz-multifile>"
+msgstr ""
+
+#. type: textblock
+#: dh_dwz:32
+msgid ""
+"Whether L<dwz(1)> should generate a I<multifile> from the ELF binaries in "
+"the same package (it does by default). When enabled, if a package ships at "
+"least 2 ELF binaries, B<dh_dwz> will instruct L<dwz(1)> to generate a "
+"multifile for the package."
+msgstr ""
+
+#. type: textblock
+#: dh_dwz:37
+msgid ""
+"Note this options may not work if a package contains more ELF binaries than "
+"can fit on a single command line. If this becomes a problem, please pass "
+"B<--no-dwz-multifile> to work around the issue."
+msgstr ""
+
+#. type: textblock
+#: dh_dwz:41
+msgid ""
+"The generated multifile will be compressed with B<objcopy --compress-debug-"
+"sections>."
+msgstr ""
+
+#. type: textblock
+#: dh_dwz:46 dh_strip:44
+msgid ""
+"Exclude files that contain I<item> anywhere in their filename from being "
+"stripped. You may use this option multiple times to build up a list of "
+"things to exclude."
+msgstr ""
+"Exclui ficheiros que contenham I<item> em qualquer ponto do seu nome de "
+"serem despojados. Você pode usar esta opção várias vezes para construir uma "
+"lista de coisas a excluir."
+
+#. type: textblock
+#: dh_dwz:52
+msgid ""
+"Pass I<params> to L<dwz(1)> when it processes ELF binaries. This is mostly "
+"useful for setting memory related parameters (e.g. -l and -L)."
+msgstr ""
+
+#. type: textblock
+#: dh_dwz:59
+#, fuzzy
+#| msgid ""
+#| "If the B<DEB_BUILD_OPTIONS> environment variable contains B<nostrip>, "
+#| "nothing will be stripped, in accordance with Debian policy (section 10.1 "
+#| "\"Binaries\"). This will also inhibit the automatic creation of debug "
+#| "symbol packages."
+msgid ""
+"If the B<DEB_BUILD_OPTIONS> environment variable contains B<nostrip>, "
+"nothing will be stripped, in accordance with Debian policy (section 10.1 "
+"\"Binaries\")."
+msgstr ""
+"Se a variável de ambiente B<DEB_BUILD_OPTIONS> conter B<nostrip>, nada será "
+"despojado, em conformidade com a política Debian (secção 10.1 \"Binários\"). "
+"Isto irá também inibir a criação automática de pacotes de símbolos de "
+"depuração."
+
+#. type: textblock
+#: dh_dwz:63
+msgid ""
+"While this tool technically does not remove debug information from binaries, "
+"it is still skipped when the B<DEB_BUILD_OPTIONS> environment variable "
+"contains B<nostrip>. This is because B<nostrip> is often used to optimize "
+"build times (e.g. for \"build and test\"-cycles) rather than optimizing for "
+"size."
+msgstr ""
+
+#. type: textblock
#: dh_fixperms:5
msgid "dh_fixperms - fix permissions of files in package build directories"
msgstr ""
@@ -4017,17 +4390,6 @@ msgstr ""
#. type: textblock
#: dh_fixperms:26
-#, fuzzy
-#| msgid ""
-#| "B<dh_fixperms> makes all files in F<usr/share/doc> in the package build "
-#| "directory (excluding files in the F<examples/> directory) be mode 644. It "
-#| "also changes the permissions of all man pages to mode 644. It makes all "
-#| "files be owned by root, and it removes group and other write permission "
-#| "from all files. It removes execute permissions from any libraries, "
-#| "headers, Perl modules, or desktop files that have it set. It makes all "
-#| "files in the standard F<bin> and F<sbin> directories, F<usr/games/> and "
-#| "F<etc/init.d> executable (since v4). Finally, it removes the setuid and "
-#| "setgid bits from all files in the package."
msgid ""
"B<dh_fixperms> makes all files in F<usr/share/doc> in the package build "
"directory (excluding files in the F<examples/> directory) be mode 644. It "
@@ -4041,13 +4403,12 @@ msgstr ""
"B<dh_fixperms> faz com que todos os ficheiros em F<usr/share/doc> no "
"directório de compilação do pacote (excluindo os ficheiros no directório "
"F<examples/>) fiquem em modo 644. Também muda as permissões de todos os "
-"manuais para 644. Faz com que todos os ficheiros sejam propriedade do root, "
-"e remove o grupo e outras permissões de escrita de todos os ficheiros. "
-"Remove permissões de executável de todas as bibliotecas, cabeçalhos, módulos "
-"Perl, ou ficheiro desktop que as têm definidas. Faz todos os ficheiros nos "
-"directórios F<bin> e F<sbin> standard, F<usr/games/> e F<etc/init.d> "
-"executáveis (desde v4). Finalmente, remove os bits setuid e setgid de todos "
-"os ficheiros do pacote."
+"manuais para 644. Remove o grupo e outras permissões de escrita de todos os "
+"ficheiros. Remove permissões de executável de todas as bibliotecas, "
+"cabeçalhos, módulos Perl, ou ficheiro desktop que as têm definidas. Faz "
+"todos os ficheiros nos directórios F<bin> e F<sbin> standard, F<usr/games/> "
+"e F<etc/init.d> executáveis (desde v4). Finalmente, remove os bits setuid e "
+"setgid de todos os ficheiros do pacote."
#. type: textblock
#: dh_fixperms:36
@@ -4056,6 +4417,9 @@ msgid ""
"targets>, B<dh_fixperms> will also reset the ownership of all paths to "
"\"root:root\"."
msgstr ""
+"Quando o campo I<Rules-Requires-Root> tem o valor (efectivo) de I<binary-"
+"targets>, B<dh_fixperms> irá também reiniciar o proprietário de todos os "
+"caminhos para \"root:root\"."
#. type: =item
#: dh_fixperms:44
@@ -4259,8 +4623,8 @@ msgstr ""
#. type: =item
#: dh_icons:37 dh_installcatalogs:57 dh_installdebconf:68 dh_installemacsen:60
-#: dh_installinit:77 dh_installmenu:48 dh_installmodules:45 dh_installwm:48
-#: dh_makeshlibs:86 dh_usrlocal:53
+#: dh_installinit:82 dh_installinitramfs:47 dh_installmenu:48
+#: dh_installmodules:45 dh_installwm:48 dh_makeshlibs:132 dh_usrlocal:54
msgid "B<-n>, B<--no-scripts>"
msgstr "B<-n>, B<--no-scripts>"
@@ -4339,9 +4703,15 @@ msgstr ""
#. type: textblock
#: dh_install:36
+#, fuzzy
+#| msgid ""
+#| "From debhelper compatibility level 7 on, B<dh_install> will fall back to "
+#| "looking in F<debian/tmp> for files, if it doesn't find them in the "
+#| "current directory (or wherever you've told it to look using B<--"
+#| "sourcedir>)."
msgid ""
"From debhelper compatibility level 7 on, B<dh_install> will fall back to "
-"looking in F<debian/tmp> for files, if it doesn't find them in the current "
+"looking in F<debian/tmp> for files, if it does not find them in the current "
"directory (or wherever you've told it to look using B<--sourcedir>)."
msgstr ""
"Desde nível de compatibilidade 7 do debhelper em diante, o B<dh_install> irá "
@@ -4355,16 +4725,6 @@ msgstr "debian/I<pacote>.install"
#. type: textblock
#: dh_install:46
-#, fuzzy
-#| msgid ""
-#| "List the files to install into each package and the directory they should "
-#| "be installed to. The format is a set of lines, where each line lists a "
-#| "file or files to install, and at the end of the line tells the directory "
-#| "it should be installed in. The name of the files (or directories) to "
-#| "install should be given relative to the current directory, while the "
-#| "installation directory is given relative to the package build directory. "
-#| "You may use wildcards in the names of the files to install (in v3 mode "
-#| "and above)."
msgid ""
"List the files to install into each package and the directory they should be "
"installed to. The format is a set of lines, where each line lists a file or "
@@ -4381,7 +4741,7 @@ msgstr ""
"devem ser fornecidos relativamente ao directório actual, enquanto que o "
"directório de instalação é fornecido relativamente ao directório de "
"compilação do pacote. Você pode usar wildcards nos nomes dos ficheiros a "
-"instalar (em modo v3 e superior)."
+"instalar."
#. type: textblock
#: dh_install:54
@@ -4403,112 +4763,51 @@ msgstr "debian/not-installed"
#. type: textblock
#: dh_install:61
msgid ""
-"List the files that are deliberately not installed in I<any> binary "
-"package. Paths listed in this file are (I<only>) ignored by the check done "
-"via B<--list-missing> (or B<--fail-missing>). However, it is B<not> a "
-"method to exclude files from being installed. Please use B<--exclude> for "
-"that."
+"Used with the deprecated B<--list-missing> and B<--fail-missing> options. "
+"Please refer to L<dh_missing(1)> for the documentation of this file."
msgstr ""
-"Lista os ficheiros que são deliberadamente não instalados em I<nenhum> "
-"pacote binário. Os caminhos listados neste ficheiro são (I<apenas>) "
-"ignorados pela verificação feita via B<--list-missing> (ou B<--fail-"
-"missing>). No entanto, isto I<não> é um método para excluir ficheiros de "
-"serem instalados. Por favor use B<--exclude> para isso."
-
-#. type: textblock
-#: dh_install:67
-msgid ""
-"Please keep in mind that dh_install will B<not> expand wildcards in this "
-"file."
-msgstr ""
-"Por favor tenha em mente que o dh_install B<não> irá expandir as wildcards "
-"neste ficheiro."
#. type: =item
-#: dh_install:76
+#: dh_install:70
msgid "B<--list-missing>"
msgstr "B<--list-missing>"
#. type: textblock
-#: dh_install:78
-msgid "B<Deprecated>: Please use B<dh_missing --list-missing> instead."
-msgstr ""
-
-#. type: textblock
-#: dh_install:80
-msgid ""
-"This option makes B<dh_install> keep track of the files it installs, and "
-"then at the end, compare that list with the files in the source directory. "
-"If any of the files (and symlinks) in the source directory were not "
-"installed to somewhere, it will warn on stderr about that."
-msgstr ""
-"Esta opção faz o B<dh_install> manter um acompanhamento dos ficheiros que "
-"instala, e depois no final, compara essa lista com os ficheiros no "
-"directório fonte. Se algum dos ficheiros (e links simbólicos) no directório "
-"fonte não foi instalado para algum sítio, ele vai avisar no stderr acerca "
-"disso."
-
-#. type: textblock
-#: dh_install:85
-msgid ""
-"This may be useful if you have a large package and want to make sure that "
-"you don't miss installing newly added files in new upstream releases."
-msgstr ""
-"Isto pode ser útil se você tem um pacote grande e quer certificar-se que não "
-"se esquece de instalar ficheiros adicionados recentemente em novos "
-"lançamentos do autor original."
-
-#. type: textblock
-#: dh_install:88
+#: dh_install:72
msgid ""
-"Note that files that are excluded from being moved via the B<-X> option are "
-"not warned about."
+"B<Deprecated>: Please use B<dh_missing --list-missing> instead. If you use "
+"this option, B<dh_install> will call B<dh_missing> with that option after it "
+"has processed all the files. Please see L<dh_missing(1)> for the "
+"documentation of this option."
msgstr ""
-"Note que não há advertências sobre ficheiros que estão excluídos de serem "
-"movidos via opção B<-X>."
#. type: =item
-#: dh_install:91
+#: dh_install:79
msgid "B<--fail-missing>"
msgstr "B<--fail-missing>"
#. type: textblock
-#: dh_install:93
-msgid "B<Deprecated>: Please use B<dh_missing --fail-missing> instead."
-msgstr ""
-
-#. type: textblock
-#: dh_install:95
-msgid ""
-"This option is like B<--list-missing>, except if a file was missed, it will "
-"not only list the missing files, but also fail with a nonzero exit code."
-msgstr ""
-"Esta opção é como B<--list-missing>, excepto se um ficheiro estiver em "
-"falta, não irá apenas listar os ficheiros em falta, mas também vai falhar "
-"com um código exit não-zero."
-
-#. type: textblock
-#: dh_install:100 dh_installexamples:75
+#: dh_install:81
msgid ""
-"Exclude files that contain I<item> anywhere in their filename from being "
-"installed."
+"B<Deprecated>: Please use B<dh_missing --fail-missing> instead. If you use "
+"this option, B<dh_install> will call B<dh_missing> with that option after it "
+"has processed all the files. Please see L<dh_missing(1)> for the "
+"documentation of this option."
msgstr ""
-"Exclui de serem instalados ficheiros que tenham I<item> em qualquer ponto no "
-"seu nome de ficheiro."
#. type: =item
-#: dh_install:103 dh_installexamples:46 dh_installinfo:43 dh_installman:93
-#: dh_movefiles:45
+#: dh_install:88 dh_installdirs:59 dh_installdocs:104 dh_installexamples:50
+#: dh_installinfo:47 dh_installman:97 dh_movefiles:45
msgid "B<--sourcedir=>I<dir>"
msgstr "B<--sourcedir=>I<directório>"
#. type: textblock
-#: dh_install:105
+#: dh_install:90
msgid "Look in the specified directory for files to be installed."
msgstr "Procura no directório especificado por ficheiros a instalar."
#. type: textblock
-#: dh_install:107
+#: dh_install:92
msgid ""
"Note that this is not the same as the B<--sourcedirectory> option used by "
"the B<dh_auto_>I<*> commands. You rarely need to use this option, since "
@@ -4521,12 +4820,12 @@ msgstr ""
"no nível de compatibilidade 7 e superiores do debhelper."
#. type: =item
-#: dh_install:112
+#: dh_install:97
msgid "B<--autodest>"
msgstr "B<--autodest>"
#. type: textblock
-#: dh_install:114
+#: dh_install:99
msgid ""
"Guess as the destination directory to install things to. If this is "
"specified, you should not list destination directories in F<debian/package."
@@ -4539,7 +4838,7 @@ msgstr ""
"B<dh_install> irá adivinhar no método que se segue:"
#. type: textblock
-#: dh_install:119
+#: dh_install:104
msgid ""
"Strip off F<debian/tmp> (or the sourcedir if one is given) from the front of "
"the filename, if it is present, and install into the dirname of the "
@@ -4555,12 +4854,12 @@ msgstr ""
"etc/>."
#. type: =item
-#: dh_install:125
+#: dh_install:110
msgid "I<file|dir> ... I<destdir>"
msgstr "I<ficheiro|dir> ... I<destdir>"
#. type: textblock
-#: dh_install:127
+#: dh_install:112
msgid ""
"Lists files (or directories) to install and where to install them to. The "
"files will be installed into the first package F<dh_install> acts on."
@@ -4569,12 +4868,12 @@ msgstr ""
"ficheiros serão instalados no primeiro pacote em que o F<dh_install> actua."
#. type: =head1
-#: dh_install:338
+#: dh_install:325
msgid "LIMITATIONS"
msgstr "LIMITAÇÕES"
#. type: textblock
-#: dh_install:340
+#: dh_install:327
msgid ""
"B<dh_install> cannot rename files or directories, it can only install them "
"with the names they already have into wherever you want in the package build "
@@ -4585,7 +4884,7 @@ msgstr ""
"compilação do pacote."
#. type: textblock
-#: dh_install:344
+#: dh_install:331
msgid ""
"However, renaming can be achieved by using B<dh-exec> with compatibility "
"level 9 or later. An example debian/I<package>.install file using B<dh-"
@@ -4596,7 +4895,7 @@ msgstr ""
"que usa o B<dh-exec> poderá ser parecer com:"
#. type: verbatim
-#: dh_install:348
+#: dh_install:335
#, no-wrap
msgid ""
" #!/usr/bin/dh-exec\n"
@@ -4608,12 +4907,12 @@ msgstr ""
"\n"
#. type: textblock
-#: dh_install:351
+#: dh_install:338
msgid "Please remember the following three things:"
msgstr "Por favor lembre-se das três coisas seguintes:"
#. type: =item
-#: dh_install:355
+#: dh_install:342
msgid ""
"* The package must be using compatibility level 9 or later (see "
"L<debhelper(7)>)"
@@ -4622,12 +4921,12 @@ msgstr ""
"L<debhelper(7)>)"
#. type: =item
-#: dh_install:357
+#: dh_install:344
msgid "* The package will need a build-dependency on dh-exec."
msgstr "* O pacote irá precisar de uma dependência de compilação em dh-exec."
#. type: =item
-#: dh_install:359
+#: dh_install:346
msgid "* The install file must be marked as executable."
msgstr "* O ficheiro install tem de ser marcado como executável."
@@ -4715,8 +5014,9 @@ msgstr ""
"trigger de activação."
#. type: textblock
-#: dh_installcatalogs:66 dh_installemacsen:77 dh_installinit:185
-#: dh_installmodules:59 dh_installudev:52 dh_installwm:60 dh_usrlocal:61
+#: dh_installcatalogs:66 dh_installemacsen:77 dh_installinit:207
+#: dh_installinitramfs:55 dh_installmodules:59 dh_installudev:52
+#: dh_installwm:65 dh_usrlocal:62
msgid ""
"Note that this command is not idempotent. L<dh_prep(1)> should be called "
"between invocations of this command. Otherwise, it may cause multiple "
@@ -4765,10 +5065,16 @@ msgstr ""
#. type: textblock
#: dh_installchangelogs:24
+#, fuzzy
+#| msgid ""
+#| "An upstream F<changelog> file may be specified as an option. If none is "
+#| "specified, it looks for files with names that seem likely to be "
+#| "changelogs. (In compatibility level 7 and above.)"
msgid ""
"An upstream F<changelog> file may be specified as an option. If none is "
-"specified, it looks for files with names that seem likely to be changelogs. "
-"(In compatibility level 7 and above.)"
+"specified, B<dh_installchangelogs> may look for files with names that seem "
+"likely to be changelogs as described in the next paragraphs (assuming the "
+"package is using compatibility level 7 or above)."
msgstr ""
"Pode ser especificado como uma opção um ficheiro F<changelog> do autor "
"original (upstream) Se nenhum for especificado, procura ficheiros cujos "
@@ -4776,7 +5082,20 @@ msgstr ""
"compatibilidade e níveis superiores.)"
#. type: textblock
-#: dh_installchangelogs:28
+#: dh_installchangelogs:29
+msgid ""
+"In non-native packages, B<dh_installchangelogs> will first look for "
+"changelog files installed by the upstream build system into F<< usr/share/"
+"doc/I<package> >> (of the package build directory) and rename the most "
+"likely candidate (if any) to F<< usr/share/doc/I<package>/changelog >>. "
+"Note that B<dh_installchangelogs> does I<not> look into any source directory "
+"(such as F<debian/tmp>). Otherwise, B<dh_installchangelogs> (at "
+"compatibility level 7 or any later) will look for changelog files in the "
+"source directory (e.g. the root or the F<docs> subdirectory)."
+msgstr ""
+
+#. type: textblock
+#: dh_installchangelogs:39
msgid ""
"If there is an upstream F<changelog> file, it will be installed as F<usr/"
"share/doc/package/changelog> in the package build directory."
@@ -4785,14 +5104,22 @@ msgstr ""
"share/doc/package/changelog> no directório de compilação do pacote."
#. type: textblock
-#: dh_installchangelogs:31
-msgid ""
-"If the upstream changelog is an F<html> file (determined by file extension), "
-"it will be installed as F<usr/share/doc/package/changelog.html> instead. If "
-"the html changelog is converted to plain text, that variant can be specified "
-"as a second upstream changelog file. When no plain text variant is "
-"specified, a short F<usr/share/doc/package/changelog> is generated, pointing "
-"readers at the html changelog file."
+#: dh_installchangelogs:42
+#, fuzzy
+#| msgid ""
+#| "If the upstream changelog is an F<html> file (determined by file "
+#| "extension), it will be installed as F<usr/share/doc/package/changelog."
+#| "html> instead. If the html changelog is converted to plain text, that "
+#| "variant can be specified as a second upstream changelog file. When no "
+#| "plain text variant is specified, a short F<usr/share/doc/package/"
+#| "changelog> is generated, pointing readers at the html changelog file."
+msgid ""
+"If the specified upstream changelog is an F<html> file (determined by file "
+"extension), it will be installed as F<usr/share/doc/package/changelog.html> "
+"instead. If the html changelog is converted to plain text, that variant can "
+"be specified as a second upstream changelog file. When no plain text variant "
+"is specified, a short F<usr/share/doc/package/changelog> is generated, "
+"pointing readers at the html changelog file."
msgstr ""
"Se o relatório de alterações do autor for um ficheiro F<html> (determinado "
"pela extensão do ficheiro), em vez disso será instalado como F<usr/share/doc/"
@@ -4803,27 +5130,27 @@ msgstr ""
"apontando os leitores para o ficheiro de relatório html."
#. type: =item
-#: dh_installchangelogs:42
+#: dh_installchangelogs:53
msgid "F<debian/changelog>"
msgstr "F<debian/changelog>"
#. type: =item
-#: dh_installchangelogs:44
+#: dh_installchangelogs:55
msgid "F<debian/NEWS>"
msgstr "F<debian/NEWS>"
#. type: =item
-#: dh_installchangelogs:46
+#: dh_installchangelogs:57
msgid "debian/I<package>.changelog"
msgstr "debian/I<pacote>.changelog"
#. type: =item
-#: dh_installchangelogs:48
+#: dh_installchangelogs:59
msgid "debian/I<package>.NEWS"
msgstr "debian/I<pacote>.NEWS"
#. type: textblock
-#: dh_installchangelogs:50
+#: dh_installchangelogs:61
msgid ""
"Automatically installed into usr/share/doc/I<package>/ in the package build "
"directory."
@@ -4832,7 +5159,7 @@ msgstr ""
"compilação do pacote."
#. type: textblock
-#: dh_installchangelogs:53
+#: dh_installchangelogs:64
msgid ""
"Use the package specific name if I<package> needs a different F<NEWS> or "
"F<changelog> file."
@@ -4841,7 +5168,7 @@ msgstr ""
"F<NEWS> ou F<changelog> diferente."
#. type: textblock
-#: dh_installchangelogs:56
+#: dh_installchangelogs:67
msgid ""
"The F<changelog> file is installed with a name of changelog for native "
"packages, and F<changelog.Debian> for non-native packages. The F<NEWS> file "
@@ -4852,7 +5179,7 @@ msgstr ""
"F<NOTICIAS> é sempre instalado com o nome F<NEWS.Debian>."
#. type: textblock
-#: dh_installchangelogs:68
+#: dh_installchangelogs:79
msgid ""
"Keep the original name of the upstream changelog. This will be accomplished "
"by installing the upstream changelog as F<changelog>, and making a symlink "
@@ -4868,7 +5195,7 @@ msgstr ""
"F<changelog>."
#. type: textblock
-#: dh_installchangelogs:76
+#: dh_installchangelogs:87
msgid ""
"Exclude upstream F<changelog> files that contain I<item> anywhere in their "
"filename from being installed."
@@ -4876,13 +5203,18 @@ msgstr ""
"Exclui ficheiros F<changelog> do autor que contenham I<item> em qualquer "
"ponto do seu nome de ficheiro, de serem instalados."
+#. type: textblock
+#: dh_installchangelogs:90
+msgid "Note that directory name of the changelog is also part of the match."
+msgstr ""
+
#. type: =item
-#: dh_installchangelogs:79
+#: dh_installchangelogs:92
msgid "I<upstream>"
msgstr "I<upstream>"
#. type: textblock
-#: dh_installchangelogs:81
+#: dh_installchangelogs:94
msgid "Install this file as the upstream changelog."
msgstr ""
"Instala este ficheiro como o registo de alterações (changelog) da origem."
@@ -4941,7 +5273,7 @@ msgstr ""
"compilação do pacote."
#. type: =item
-#: dh_installcron:47 dh_installifupdown:46 dh_installinit:153
+#: dh_installcron:47 dh_installifupdown:46 dh_installinit:175
#: dh_installlogcheck:49 dh_installlogrotate:29 dh_installmodules:49
#: dh_installpam:38 dh_installppp:42 dh_installudev:38 dh_systemd_enable:95
msgid "B<--name=>I<name>"
@@ -5123,6 +5455,18 @@ msgstr ""
"compatibilidade anteriores."
#. type: textblock
+#: dh_installdeb:82
+msgid ""
+"The B<dh_installdeb> tool will do some basic validation of some of the "
+"commands listed in this file to catch common mistakes. The validation is "
+"enabled as a warning since compat 10 and as a hard error in compat 12."
+msgstr ""
+"A ferramenta B<dh_installdeb> irá fazer alguma validação básica a alguns dos "
+"comandos listados neste ficheiro para apanhar enganos comuns. A validação é "
+"activada como um aviso desde compatibilidade 10 e como um erro a resolver na "
+"compatibilidade 12."
+
+#. type: textblock
#: dh_installdebconf:5
msgid ""
"dh_installdebconf - install files used by debconf in package build "
@@ -5261,8 +5605,16 @@ msgstr ""
#. type: textblock
#: dh_installdirs:17
-msgid "B<dh_installdirs> [S<I<debhelper options>>] [B<-A>] [S<I<dir> ...>]"
-msgstr "B<dh_installdirs> [S<I<debhelper opções>>] [B<-A>] [S<I<dir> ...>]"
+#, fuzzy
+#| msgid ""
+#| "B<dh_movefiles> [S<I<debhelper options>>] [B<--sourcedir=>I<dir>] [B<-"
+#| "X>I<item>] [S<I<file> ...>]"
+msgid ""
+"B<dh_installdirs> [S<I<debhelper options>>] [B<-A>] [B<--sourcedir=>I<dir>] "
+"[B<--create-in-sourcedir>] [S<I<dir> ...>]"
+msgstr ""
+"B<dh_movefiles> [S<I<debhelper opções>>] [B<--sourcedir=>I<dir>] [B<-"
+"X>I<item>] [S<I<ficheiro> ...>]"
#. type: textblock
#: dh_installdirs:21
@@ -5315,11 +5667,46 @@ msgstr ""
#. type: =item
#: dh_installdirs:51
+msgid "B<--create-in-sourcedir>, B<--no-create-in-sourcedir>"
+msgstr ""
+
+#. type: textblock
+#: dh_installdirs:53
+msgid ""
+"Whether to create the specified directories in the source directory (usually "
+"F<debian/tmp>) I<in addition to> in the package build directory (usually F<< "
+"debian/I<package> >>)."
+msgstr ""
+
+#. type: textblock
+#: dh_installdirs:57
+#, fuzzy
+#| msgid "The default is to create debug symbol packages."
+msgid "The default is B<--no-create-in-sourcedir>."
+msgstr "A predefinição é criar pacotes de símbolos de depuração."
+
+#. type: textblock
+#: dh_installdirs:61
+msgid ""
+"Consider I<dir> the source directory for the packages acted on instead of "
+"the default (which is usually F<debian/tmp>)."
+msgstr ""
+
+#. type: textblock
+#: dh_installdirs:64
+msgid ""
+"Please note that this option is dependent on the B<--create-in-sourcedir> "
+"option (when B<--no-create-in-sourcedir> is in effect, this option does "
+"nothing in B<dh_installdirs>)."
+msgstr ""
+
+#. type: =item
+#: dh_installdirs:68
msgid "I<dir> ..."
msgstr "I<dir> ..."
#. type: textblock
-#: dh_installdirs:53
+#: dh_installdirs:70
msgid ""
"Create these directories in the package build directory of the first package "
"acted on. (Or in all packages if B<-A> is specified.)"
@@ -5361,33 +5748,60 @@ msgid ""
"still useful for installing packaging related documentation (e.g. the "
"F<debian/copyright> file)."
msgstr ""
+"Em compatibilidade 10 e anterior, L<dh_install(1)> pode ser a melhor "
+"ferramenta para lidar com a documentação do autor, quando o sistema de "
+"compilação próprio do autor instala toda a documentação desejada "
+"correctamente Neste caso, o B<dh_installdocs> ainda é útil para instalar "
+"documentação relacionada com o empacotamento (ex. o ficheiro F<debian/"
+"copyright>)."
#. type: textblock
-#: dh_installdocs:31
+#: dh_installdocs:31 dh_installexamples:27 dh_installinfo:24 dh_installman:69
+#, fuzzy
+#| msgid ""
+#| "From debhelper compatibility level 7 on, B<dh_install> will fall back to "
+#| "looking in F<debian/tmp> for files, if it doesn't find them in the "
+#| "current directory (or wherever you've told it to look using B<--"
+#| "sourcedir>)."
+msgid ""
+"From debhelper compatibility level 11 on, B<dh_install> will fall back to "
+"looking in F<debian/tmp> for files, if it does not find them in the current "
+"directory (or wherever you've told it to look using B<--sourcedir>)."
+msgstr ""
+"Desde nível de compatibilidade 7 do debhelper em diante, o B<dh_install> irá "
+"procurar os ficheiros em F<debian/tmp>, se não os encontrar no directório "
+"actual (ou onde você o mandou procurar usando B<--sourcedir>)."
+
+#. type: textblock
+#: dh_installdocs:35
msgid ""
"In compat 11 and later, B<dh_installdocs> offers many of the features that "
"L<dh_install(1)> also have. Furthermore, B<dh_installdocs> also supports "
"the B<nodoc> build profile to exclude documentation (regardless of compat "
"level)."
msgstr ""
+"Em compatibilidade 11 e posterior, B<dh_installdocs> oferece muitas das "
+"características que o L<dh_install(1)> também tem. Mais ainda, o "
+"B<dh_installdocs> também suporta o perfil de compilação B<nodoc> para "
+"excluir documentação (independentemente do nível de compatibilidade)."
#. type: =item
-#: dh_installdocs:40
+#: dh_installdocs:44
msgid "debian/I<package>.docs"
msgstr "debian/I<pacote>.docs"
#. type: textblock
-#: dh_installdocs:42
+#: dh_installdocs:46
msgid "List documentation files to be installed into I<package>."
msgstr "Lista os ficheiros de documentação a serem instalados em I<pacote>."
#. type: =item
-#: dh_installdocs:44
+#: dh_installdocs:48
msgid "F<debian/copyright>"
msgstr "F<debian/copyright>"
#. type: textblock
-#: dh_installdocs:46
+#: dh_installdocs:50
msgid ""
"The copyright file is installed into all packages, unless a more specific "
"copyright file is available."
@@ -5396,22 +5810,22 @@ msgstr ""
"disponível um ficheiro de copyright mais específico."
#. type: =item
-#: dh_installdocs:49
+#: dh_installdocs:53
msgid "debian/I<package>.copyright"
msgstr "debian/I<pacote>.copyright"
#. type: =item
-#: dh_installdocs:51
+#: dh_installdocs:55
msgid "debian/I<package>.README.Debian"
msgstr "debian/I<pacote>.README.Debian"
#. type: =item
-#: dh_installdocs:53
+#: dh_installdocs:57
msgid "debian/I<package>.TODO"
msgstr "debian/I<pacote>.TODO"
#. type: textblock
-#: dh_installdocs:55
+#: dh_installdocs:59
msgid ""
"Each of these files is automatically installed if present for a I<package>."
msgstr ""
@@ -5419,17 +5833,17 @@ msgstr ""
"I<pacote>."
#. type: =item
-#: dh_installdocs:58
+#: dh_installdocs:62
msgid "F<debian/README.Debian>"
msgstr "F<debian/README.Debian>"
#. type: =item
-#: dh_installdocs:60
+#: dh_installdocs:64
msgid "F<debian/TODO>"
msgstr "F<debian/TODO>"
#. type: textblock
-#: dh_installdocs:62
+#: dh_installdocs:66
msgid ""
"These files are installed into the first binary package listed in debian/"
"control."
@@ -5438,7 +5852,7 @@ msgstr ""
"control."
#. type: textblock
-#: dh_installdocs:65
+#: dh_installdocs:69
msgid ""
"Note that F<README.debian> files are also installed as F<README.Debian>, and "
"F<TODO> files will be installed as F<TODO.Debian> in non-native packages."
@@ -5448,12 +5862,12 @@ msgstr ""
"pacotes não nativos."
#. type: =item
-#: dh_installdocs:68
+#: dh_installdocs:72
msgid "debian/I<package>.doc-base"
msgstr "debian/I<pacote>.doc-base"
#. type: textblock
-#: dh_installdocs:70
+#: dh_installdocs:74
msgid ""
"Installed as doc-base control files. Note that the doc-id will be determined "
"from the B<Document:> entry in the doc-base control file in question. In the "
@@ -5468,12 +5882,12 @@ msgstr ""
"base/package em vez de usr/share/doc-base/doc-id."
#. type: =item
-#: dh_installdocs:76
+#: dh_installdocs:80
msgid "debian/I<package>.doc-base.*"
msgstr "debian/I<pacote>.doc-base.*"
#. type: textblock
-#: dh_installdocs:78
+#: dh_installdocs:82
msgid ""
"If your package needs to register more than one document, you need multiple "
"doc-base files, and can name them like this. In the event that multiple doc-"
@@ -5488,7 +5902,7 @@ msgstr ""
"base/package-* em vez de usr/share/doc-base/doc-id."
#. type: textblock
-#: dh_installdocs:92 dh_installinfo:40 dh_installman:85
+#: dh_installdocs:96 dh_installinfo:44 dh_installman:89
msgid ""
"Install all files specified by command line parameters in ALL packages acted "
"on."
@@ -5497,7 +5911,7 @@ msgstr ""
"comandos em TODOS os pacotes em que actua."
#. type: textblock
-#: dh_installdocs:97
+#: dh_installdocs:101
msgid ""
"Exclude files that contain I<item> anywhere in their filename from being "
"installed. Note that this includes doc-base files."
@@ -5505,52 +5919,86 @@ msgstr ""
"Exclui da instalação ficheiros que contenham I<item> em qualquer ponto do "
"seu nome de ficheiro. Note que isto inclui ficheiros baseados em doc."
+#. type: textblock
+#: dh_installdocs:106 dh_installexamples:52 dh_installinfo:49 dh_installman:99
+msgid ""
+"Look in the specified directory for files to be installed. This option "
+"requires compat 11 or later (it is silently ignored in compat 10 or earlier)."
+msgstr ""
+"Procura no directório especificado por ficheiros para serem instalados. Esta "
+"opção requer compatibilidade 11 ou posterior (é ignorada em silêncio na "
+"compatibilidade 10 ou anterior)."
+
+#. type: textblock
+#: dh_installdocs:109 dh_installman:102
+msgid ""
+"Note that this is not the same as the B<--sourcedirectory> option used by "
+"the B<dh_auto_>I<*> commands. You rarely need to use this option, since "
+"B<dh_installman> automatically looks for files in F<debian/tmp> in debhelper "
+"compatibility level 11 and above."
+msgstr ""
+"Note que isto não é o mesmo que a opção B<--sourcedirectory> usada pelos "
+"comandos B<dh_auto_>I<*>. Você raramente vai precisar de usar esta opção, "
+"pois o B<dh_installman> procura automaticamente por ficheiros em F<debian/"
+"tmp> no nível de compatibilidade 11 e superiores do debhelper."
+
#. type: =item
-#: dh_installdocs:100 dh_installexamples:56
-#, fuzzy
-#| msgid "B<--mainpackage=>I<package>"
+#: dh_installdocs:114 dh_installexamples:60
msgid "B<--doc-main-package=>I<main-package>"
-msgstr "B<--mainpackage=>I<pacote>"
+msgstr "B<--doc-main-package=>I<main-package>"
#. type: textblock
-#: dh_installdocs:102 dh_installexamples:58
+#: dh_installdocs:116 dh_installexamples:62
msgid ""
"Set the main package for a documentation package. This is used to install "
"the documentation of the documentation package in F<< /usr/share/doc/I<main-"
"package> >> as recommended by the Debian policy manual 3.9.7 in §12.3."
msgstr ""
+"Define o pacote principal para pacote de documentação. Isto é usado para a "
+"documentação do pacote de documentação em F<< /usr/share/doc/I<main-package> "
+">> como recomendado pelo manual de politicas Debian 3.9.7 em §12.3."
#. type: textblock
-#: dh_installdocs:107 dh_installexamples:63
+#: dh_installdocs:121 dh_installexamples:67
msgid ""
"In compat 11 (or later), this option is only useful if debhelper's auto-"
"detection of the main package is wrong. The option can also be used to "
"silence a warning from debhelper when the auto-detection fails but the "
"default happens to be correct."
msgstr ""
+"Em compatibilidade 11 (ou posterior), esta opção apenas é útil se a auto-"
+"detecção do debhelper do pacote principal está errada. A opção também pode "
+"ser usada para silenciar um aviso do debhelper quando a auto-detecção falha "
+"mas acontece a predefinição estar correcta."
#. type: textblock
-#: dh_installdocs:112
+#: dh_installdocs:126
msgid ""
"This option cannot be used when B<dh_installdocs> is instructed to act on "
"multiple packages. If you need this option, you will generally need to "
"combine it with B<-p> to ensure exactly one package is acted on."
msgstr ""
+"Esta opção não pode ser usada quando o B<dh_installdocs> é instruído a "
+"actuar em múltiplos pacotes. Se precisar desta opção, você irá geralmente "
+"precisar de combiná-la com B<-p> para assegurar exactamente que um pacote é "
+"actuado."
#. type: textblock
-#: dh_installdocs:117
+#: dh_installdocs:131
msgid ""
"Please keep in mind that some documentation (the copyright file, README."
"Debian, etc.) will be unaffected by this option."
msgstr ""
+"Por favor tenha em mente que alguma documentação (o ficheiro de copyright, "
+"README.Debian, etc.) não serão afectados por esta opção."
#. type: =item
-#: dh_installdocs:120
+#: dh_installdocs:134
msgid "B<--link-doc=>I<package>"
msgstr "B<--link-doc=>I<pacote>"
#. type: textblock
-#: dh_installdocs:122
+#: dh_installdocs:136
msgid ""
"Make the documentation directory of all packages acted on be a symlink to "
"the documentation directory of I<package>. This has no effect when acting on "
@@ -5566,7 +6014,7 @@ msgstr ""
"um pacote binário que vem do mesmo pacote fonte."
#. type: textblock
-#: dh_installdocs:128
+#: dh_installdocs:142
msgid ""
"debhelper will try to avoid installing files into linked documentation "
"directories that would cause conflicts with the linked package. The B<-A> "
@@ -5581,7 +6029,7 @@ msgstr ""
"F<README.Debian>, e F<TODO> não serão instalados."
#. type: textblock
-#: dh_installdocs:134
+#: dh_installdocs:148
msgid ""
"(An older method to accomplish the same thing, which is still supported, is "
"to make the documentation directory of a package be a dangling symlink, "
@@ -5592,36 +6040,34 @@ msgstr ""
"de chamar o B<dh_installdocs>.)"
#. type: textblock
-#: dh_installdocs:138
+#: dh_installdocs:152
msgid ""
"Please note that this option only applies to the documentation directory for "
"the package itself. When the package ships documentation for another "
"package (e.g. see B<--doc-main-package>), it will not use a symlink for the "
"documentation of the other package."
msgstr ""
+"Por favor note que esta opção apenas é aplicada ao directório de "
+"documentação para o próprio pacote. Quando o pacote embarca documentação "
+"para outro pacote (ex. veja B<--doc-main-package>), não irá usar um link "
+"simbólico para a documentação do outro pacote."
#. type: textblock
-#: dh_installdocs:144
-#, fuzzy
-#| msgid ""
-#| "B<CAVEAT>: If a previous version of the package was built without this "
-#| "option and is now built with it (or vice-versa), it requires a \"dir to "
-#| "symlink\" (or \"symlink to dir\") migration. Since debhelper has no "
-#| "knowledge of previous versions, you have to enable this migration itself."
+#: dh_installdocs:158
msgid ""
"B<CAVEAT 1>: If a previous version of the package was built without this "
"option and is now built with it (or vice-versa), it requires a \"dir to "
"symlink\" (or \"symlink to dir\") migration. Since debhelper has no "
"knowledge of previous versions, you have to enable this migration itself."
msgstr ""
-"B<CAVEAT>: Se uma versão anterior do pacote foi compilada sem esta opção e "
+"B<CAVEAT 1>: Se uma versão anterior do pacote foi compilada sem esta opção e "
"for agora compilada com ela (ou vice-versa), precisa de uma migração de dir "
"para symlink\" (ou de \"symlink para dir\"). Como o debhelper não tem "
"conhecimento das versões anteriores, você terá que ser o próprio a activar "
"esta migração."
#. type: textblock
-#: dh_installdocs:150
+#: dh_installdocs:164
msgid ""
"This can be done by providing a \"debian/I<package>.maintscript\" file and "
"using L<dh_installdeb(1)> to provide the relevant maintainer script snippets."
@@ -5631,16 +6077,28 @@ msgstr ""
"script do mantenedor."
#. type: textblock
-#: dh_installdocs:154
+#: dh_installdocs:168
+#, fuzzy
+#| msgid ""
+#| "B<CAVEAT 2>: The use of B<--link-doc> should only be done when the "
+#| "packages have same \"architecture\" type. A link from a architecture "
+#| "independent package to a architecture dependent package (or vice versa) "
+#| "will not work. Since compat 10, debhelper will actively reject "
+#| "unsupported combinations."
msgid ""
"B<CAVEAT 2>: The use of B<--link-doc> should only be done when the packages "
-"have same \"architecture\" type. A link from a architecture independent "
-"package to a architecture dependent package (or vice versa) will not work. "
+"have same \"architecture\" type. A link from an architecture independent "
+"package to an architecture dependent package (or vice versa) will not work. "
"Since compat 10, debhelper will actively reject unsupported combinations."
msgstr ""
+"B<CAVEAT 2>: O uso de B<--link-doc> apenas deve ser feito quando os pacotes "
+"têm o mesmo tipo de \"arquitectura\". Um link de um pacote independente de "
+"arquitectura para um pacote depende de arquitectura (ou vice-versa) não irá "
+"funcionar. Desde compatibilidade 10, o debhelper irá rejeitar activamente "
+"combinações não suportadas."
#. type: textblock
-#: dh_installdocs:162
+#: dh_installdocs:176
msgid ""
"Install these files as documentation into the first package acted on. (Or in "
"all packages if B<-A> is specified)."
@@ -5649,12 +6107,12 @@ msgstr ""
"actua. (Ou em todos os pacotes se for especificado B<-A>)."
#. type: textblock
-#: dh_installdocs:169
+#: dh_installdocs:183
msgid "This is an example of a F<debian/package.docs> file:"
msgstr "Este é um exemplo de um ficheiro F<debian/package.docs>:"
#. type: verbatim
-#: dh_installdocs:171
+#: dh_installdocs:185
#, no-wrap
msgid ""
" README\n"
@@ -5674,7 +6132,7 @@ msgstr ""
"\n"
#. type: textblock
-#: dh_installdocs:180
+#: dh_installdocs:194
msgid ""
"Note that B<dh_installdocs> will happily copy entire directory hierarchies "
"if you ask it to (similar to B<cp -a>). If it is asked to install a "
@@ -5781,7 +6239,7 @@ msgstr ""
"de 50."
#. type: textblock
-#: dh_installemacsen:62 dh_usrlocal:55
+#: dh_installemacsen:62 dh_usrlocal:56
msgid "Do not modify F<postinst>/F<prerm> scripts."
msgstr "Não modifique os scripts F<postinst>/F<prerm>."
@@ -5846,17 +6304,17 @@ msgstr ""
"de pacotes."
#. type: =item
-#: dh_installexamples:31
+#: dh_installexamples:35
msgid "debian/I<package>.examples"
msgstr "debian/I<pacote>.examples"
#. type: textblock
-#: dh_installexamples:33
+#: dh_installexamples:37
msgid "Lists example files or directories to be installed."
msgstr "Lista ficheiros ou directórios exemplo para serem instalados."
#. type: textblock
-#: dh_installexamples:43
+#: dh_installexamples:47
msgid ""
"Install any files specified by command line parameters in ALL packages acted "
"on."
@@ -5865,20 +6323,7 @@ msgstr ""
"comandos em TODOS os pacotes em que actua."
#. type: textblock
-#: dh_installexamples:48 dh_installinfo:45 dh_installman:95
-msgid ""
-"Look in the specified directory for files to be installed. This option "
-"requires compat 11 or later (it is silently ignored in compat 10 or earlier)."
-msgstr ""
-
-#. type: textblock
-#: dh_installexamples:51
-#, fuzzy
-#| msgid ""
-#| "Note that this is not the same as the B<--sourcedirectory> option used by "
-#| "the B<dh_auto_>I<*> commands. You rarely need to use this option, since "
-#| "B<dh_install> automatically looks for files in F<debian/tmp> in debhelper "
-#| "compatibility level 7 and above."
+#: dh_installexamples:55
msgid ""
"Note that this is not the same as the B<--sourcedirectory> option used by "
"the B<dh_auto_>I<*> commands. You rarely need to use this option, since "
@@ -5887,19 +6332,32 @@ msgid ""
msgstr ""
"Note que isto não é o mesmo que a opção B<--sourcedirectory> usada pelos "
"comandos B<dh_auto_>I<*>. Você raramente vai precisar de usar esta opção, "
-"pois o B<dh_install> procura automaticamente por ficheiros em F<debian/tmp> "
-"no nível de compatibilidade 7 e superiores do debhelper."
+"pois o B<dh_installexamples> procura automaticamente por ficheiros em "
+"F<debian/tmp> no nível de compatibilidade 11 e superiores do debhelper."
#. type: textblock
-#: dh_installexamples:68
+#: dh_installexamples:72
msgid ""
"This option cannot be used when B<dh_installexamples> is instructed to act "
"on multiple packages. If you need this option, you will generally need to "
"combine it with B<-p> to ensure exactly one package is acted on."
msgstr ""
+"Esta opção não pode ser usada quando B<dh_installexamples> é instruído para "
+"actuar em múltiplos pacotes. Se precisar desta opção, você irá geralmente "
+"precisar de combiná-la com B<-p> para assegurar exactamente que um pacote é "
+"actuado."
#. type: textblock
-#: dh_installexamples:80
+#: dh_installexamples:79
+msgid ""
+"Exclude files that contain I<item> anywhere in their filename from being "
+"installed."
+msgstr ""
+"Exclui de serem instalados ficheiros que tenham I<item> em qualquer ponto no "
+"seu nome de ficheiro."
+
+#. type: textblock
+#: dh_installexamples:84
msgid ""
"Install these files (or directories) as examples into the first package "
"acted on. (Or into all packages if B<-A> is specified.)"
@@ -5908,7 +6366,7 @@ msgstr ""
"que actua. (Ou em todos os pacotes se for especificado B<-A>)."
#. type: textblock
-#: dh_installexamples:87
+#: dh_installexamples:91
msgid ""
"Note that B<dh_installexamples> will happily copy entire directory "
"hierarchies if you ask it to (similar to B<cp -a>). If it is asked to "
@@ -6001,23 +6459,17 @@ msgstr ""
"ficheiros info em F<usr/share/info> no directório de compilação do pacote."
#. type: =item
-#: dh_installinfo:28
+#: dh_installinfo:32
msgid "debian/I<package>.info"
msgstr "debian/I<pacote>.info"
#. type: textblock
-#: dh_installinfo:30
+#: dh_installinfo:34
msgid "List info files to be installed."
msgstr "Lista ficheiros info a serem instalados."
#. type: textblock
-#: dh_installinfo:48
-#, fuzzy
-#| msgid ""
-#| "Note that this is not the same as the B<--sourcedirectory> option used by "
-#| "the B<dh_auto_>I<*> commands. You rarely need to use this option, since "
-#| "B<dh_install> automatically looks for files in F<debian/tmp> in debhelper "
-#| "compatibility level 7 and above."
+#: dh_installinfo:52
msgid ""
"Note that this is not the same as the B<--sourcedirectory> option used by "
"the B<dh_auto_>I<*> commands. You rarely need to use this option, since "
@@ -6026,11 +6478,11 @@ msgid ""
msgstr ""
"Note que isto não é o mesmo que a opção B<--sourcedirectory> usada pelos "
"comandos B<dh_auto_>I<*>. Você raramente vai precisar de usar esta opção, "
-"pois o B<dh_install> procura automaticamente por ficheiros em F<debian/tmp> "
-"no nível de compatibilidade 7 e superiores do debhelper."
+"pois o B<dh_installinfo> procura automaticamente por ficheiros em F<debian/"
+"tmp> no nível de compatibilidade 11 e superiores do debhelper."
#. type: textblock
-#: dh_installinfo:55
+#: dh_installinfo:59
msgid ""
"Install these info files into the first package acted on. (Or in all "
"packages if B<-A> is specified)."
@@ -6060,22 +6512,25 @@ msgstr ""
#, fuzzy
#| msgid ""
#| "B<dh_installinit> is a debhelper program that is responsible for "
-#| "installing init scripts with associated defaults files, as well as "
-#| "upstart job files, and systemd service files into package build "
-#| "directories."
+#| "installing init scripts with associated defaults files. In compatibility "
+#| "levels up to 11, B<dh_installinit> also handled upstart job files and "
+#| "systemd service files."
msgid ""
"B<dh_installinit> is a debhelper program that is responsible for installing "
"init scripts with associated defaults files. In compatibility levels up to "
-"11, B<dh_installinit> also handled upstart job files and systemd service "
-"files."
+"and including 10, B<dh_installinit> will also install some systemd related "
+"files provided by the debian packaging (see the L</FILES> section below). "
+"In compatibility levels up to and including 11, B<dh_installinit> will also "
+"handle upstart jobs provided in the debian packaging (see the L</FILES> for "
+"more information on this as well)."
msgstr ""
"B<dh_installinit> é um programa debhelper que é responsável por instalar "
-"scripts init com os ficheiros de predefinições associados, assim como "
-"ficheiros de trabalhos upstart, e ficheiros de serviço do systemd em "
-"directórios de compilação de pacotes."
+"scripts init com os ficheiros de predefinições associados. Em níveis de "
+"compatibilidade até ao 11, o B<dh_installinit> também lida com ficheiros de "
+"trabalhos upstart, e ficheiros de serviço do systemd."
#. type: textblock
-#: dh_installinit:26
+#: dh_installinit:31
msgid ""
"It also automatically generates the F<postinst> and F<postrm> and F<prerm> "
"commands needed to set up the symlinks in F</etc/rc*.d/> to start and stop "
@@ -6086,21 +6541,26 @@ msgstr ""
"e parar os scripts init."
#. type: textblock
-#: dh_installinit:30
+#: dh_installinit:35
msgid ""
"In compat 10 or earlier: If a package only ships a systemd service file and "
"no sysvinit script is provided, you may want to exclude the call to "
"dh_installinit for that package (e.g. via B<-N>). Otherwise, you may get "
"warnings from lintian about init.d scripts not being included in the package."
msgstr ""
+"Em compatibilidade 10 ou anterior: Se um pacote apenas embarcar um ficheiro "
+"de serviço do systemd e não for disponibilizado nenhum script de sysvinit, "
+"você pode querer excluir a chamada ao dh_installinit para esse pacote (ex. "
+"via B<-N>). Caso contrário, você pode obter avisos do lintian acerca de "
+"scripts init.d a não serem incluídos no pacote."
#. type: =item
-#: dh_installinit:40
+#: dh_installinit:45
msgid "debian/I<package>.init"
msgstr "debian/I<pacote>.init"
#. type: textblock
-#: dh_installinit:42
+#: dh_installinit:47
msgid ""
"If this exists, it is installed into etc/init.d/I<package> in the package "
"build directory."
@@ -6109,12 +6569,12 @@ msgstr ""
"compilação do pacote."
#. type: =item
-#: dh_installinit:45
+#: dh_installinit:50
msgid "debian/I<package>.default"
msgstr "debian/I<pacote>.default"
#. type: textblock
-#: dh_installinit:47
+#: dh_installinit:52
msgid ""
"If this exists, it is installed into etc/default/I<package> in the package "
"build directory."
@@ -6123,39 +6583,40 @@ msgstr ""
"compilação do pacote."
#. type: =item
-#: dh_installinit:50
+#: dh_installinit:55
msgid "debian/I<package>.upstart"
msgstr "debian/I<pacote>.upstart"
#. type: textblock
-#: dh_installinit:52
+#: dh_installinit:57
msgid ""
"In compatibility level 11, this file will trigger an error with a reminder "
"about ensuring the proper removal of the upstart file in the previous "
"package version. Please consider using the \"rm_conffile\" feature from "
"L<dh_installdeb(1)> to ensure the proper removal of previous upstart files."
msgstr ""
+"Em nível de compatibilidade 11, este ficheiro irá disparar um erro com uma "
+"lembrança para assegurar a remoção apropriada do ficheiro upstart na versão "
+"anterior do pacote. Por favor consider usar a funcionalidade \"rm_conffile\" "
+"do L<dh_installdeb(1)> para assegurar a remoção apropriada de ficheiros "
+"upstart anteriores."
#. type: textblock
-#: dh_installinit:57
-#, fuzzy
-#| msgid ""
-#| "If this exists, it is installed into etc/init/I<package>.conf in the "
-#| "package build directory."
+#: dh_installinit:62
msgid ""
"In compatibility level 10, if this file exists, it is installed into etc/"
"init/I<package>.conf in the package build directory."
msgstr ""
-"Se isto existir, é instalado em etc/init/I<pacote>.conf no directório de "
-"compilação do pacote."
+"No nível de compatibilidade 10, se este ficheiro existir, é instalado em etc/"
+"init/I<pacote>.conf no directório de compilação do pacote."
#. type: =item
-#: dh_installinit:60
+#: dh_installinit:65
msgid "debian/I<package>.service"
msgstr "debian/I<pacote>.service"
#. type: textblock
-#: dh_installinit:62
+#: dh_installinit:67
msgid ""
"If this exists, it is installed into lib/systemd/system/I<package>.service "
"in the package build directory. Only used in compat levels 10 and below."
@@ -6165,12 +6626,12 @@ msgstr ""
"compatibilidade 10 e inferiores."
#. type: =item
-#: dh_installinit:65 dh_systemd_enable:50
+#: dh_installinit:70 dh_systemd_enable:50
msgid "debian/I<package>.tmpfile"
msgstr "debian/I<pacote>.tmpfile"
#. type: textblock
-#: dh_installinit:67
+#: dh_installinit:72
msgid ""
"If this exists, it is installed into usr/lib/tmpfiles.d/I<package>.conf in "
"the package build directory. (The tmpfiles.d mechanism is currently only "
@@ -6182,17 +6643,17 @@ msgstr ""
"inferiores."
#. type: textblock
-#: dh_installinit:79
+#: dh_installinit:84
msgid "Do not modify F<postinst>/F<postrm>/F<prerm> scripts."
msgstr "Não modifique os scripts F<postinst>/F<postrm>/F<prerm>."
#. type: =item
-#: dh_installinit:81
+#: dh_installinit:86
msgid "B<-o>, B<--only-scripts>"
msgstr "B<-o>, B<--only-scripts>"
#. type: textblock
-#: dh_installinit:83
+#: dh_installinit:88
msgid ""
"Only modify F<postinst>/F<postrm>/F<prerm> scripts, do not actually install "
"any init script, default files, upstart job or systemd service file. May be "
@@ -6206,7 +6667,7 @@ msgstr ""
"fácil deixar o B<dh_installinit> encontrá-lo."
#. type: textblock
-#: dh_installinit:88
+#: dh_installinit:93
msgid ""
"B<Caveat>: This will bypass all the regular checks and I<unconditionally> "
"modify the scripts. You will almost certainly want to use this with B<-p> "
@@ -6218,7 +6679,7 @@ msgstr ""
"chamada. Exemplo:"
#. type: verbatim
-#: dh_installinit:93
+#: dh_installinit:98
#, no-wrap
msgid ""
" override_dh_installinit:\n"
@@ -6232,12 +6693,12 @@ msgstr ""
"\n"
#. type: =item
-#: dh_installinit:97
+#: dh_installinit:102
msgid "B<-R>, B<--restart-after-upgrade>"
msgstr "B<-R>, B<--restart-after-upgrade>"
#. type: textblock
-#: dh_installinit:99
+#: dh_installinit:104
msgid ""
"Do not stop the init script until after the package upgrade has been "
"completed. This is the default behaviour in compat 10."
@@ -6246,7 +6707,7 @@ msgstr ""
"completa. Este é o comportamento predefinido no nível compatibilidade 10."
#. type: textblock
-#: dh_installinit:102
+#: dh_installinit:107
msgid ""
"In early compat levels, the default was to stop the script in the F<prerm>, "
"and starts it again in the F<postinst>."
@@ -6255,7 +6716,7 @@ msgstr ""
"em F<prerm>, e depois arrancá-lo de novo no F<postinst>."
#. type: textblock
-#: dh_installinit:105 dh_systemd_start:45
+#: dh_installinit:110 dh_systemd_start:45
msgid ""
"This can be useful for daemons that should not have a possibly long downtime "
"during upgrade. But you should make sure that the daemon will not get "
@@ -6268,12 +6729,12 @@ msgstr ""
"actualizado enquanto ele está a correr antes de usar esta opção."
#. type: =item
-#: dh_installinit:110 dh_systemd_start:50
+#: dh_installinit:115 dh_systemd_start:50
msgid "B<--no-restart-after-upgrade>"
msgstr "B<--no-restart-after-upgrade>"
#. type: textblock
-#: dh_installinit:112 dh_systemd_start:52
+#: dh_installinit:117 dh_systemd_start:52
msgid ""
"Undo a previous B<--restart-after-upgrade> (or the default of compat 10). "
"If no other options are given, this will cause the service to be stopped in "
@@ -6285,42 +6746,53 @@ msgstr ""
"F<postinst>."
#. type: =item
-#: dh_installinit:117 dh_systemd_start:57
+#: dh_installinit:122 dh_systemd_start:57
msgid "B<-r>, B<--no-stop-on-upgrade>, B<--no-restart-on-upgrade>"
msgstr "B<-r>, B<--no-stop-on-upgrade>, B<--no-restart-on-upgrade>"
#. type: textblock
-#: dh_installinit:119
+#: dh_installinit:124
msgid ""
"Do not stop init script on upgrade. This has the side-effect of not "
"restarting the service as a part of the upgrade."
msgstr ""
+"Não pára o script init na actualização. Isto tem o efeito secundário de não "
+"reiniciar o serviço como parte da actualização."
#. type: textblock
-#: dh_installinit:122
+#: dh_installinit:127
msgid ""
"If you want to restart the service with minimal downtime, please use B<--"
"restart-after-upgrade> (default in compat 10 or later). If you want the "
"service to be restarted but be stopped during the upgrade, then please use "
"B<--no-restart-after-upgrade> (note the \"after-upgrade\")."
msgstr ""
+"Se desejar reiniciar o serviço com o tempo mínimo de desligado, por favor "
+"use B<--restart-after-upgrade> (predefinido em compatibilidade 10 ou "
+"posterior). Se desejar que o serviço seja reiniciado mas que fique parado "
+"durante a actualização, então por favor use B<--no-restart-after-upgrade> "
+"(repare no \"after-upgrade\")."
#. type: textblock
-#: dh_installinit:127
+#: dh_installinit:132
msgid ""
"Note that the B<--no-restart-on-upgrade> alias is deprecated and will be "
"removed in compat 12. This is to avoid confusion with the B<--no-restart-"
"after-upgrade> option. The B<--no-stop-on-upgrade> variant was introduced "
"in debhelper 10.2 (included in Debian stretch)."
msgstr ""
+"Note que o alias B<--no-restart-on-upgrade> está descontinuado e será também "
+"removido em compatibilidade 12. Isto serve para evitar confusão com a opção "
+"B<--no-restart-after-upgrade>. A variante B<--no-stop-on-upgrade> foi "
+"introduzida no debhelper 10.2 (incluído em Debian stretch)."
#. type: =item
-#: dh_installinit:132 dh_systemd_start:61
+#: dh_installinit:137 dh_systemd_start:61
msgid "B<--no-start>"
msgstr "B<--no-start>"
#. type: textblock
-#: dh_installinit:134
+#: dh_installinit:139
msgid ""
"Do not start the init script on install or upgrade, or stop it on removal. "
"Only call B<update-rc.d>. Useful for rcS scripts."
@@ -6329,13 +6801,52 @@ msgstr ""
"pára durante a remoção. Apenas chama B<update-rc.d>. Útil para scripts rcS."
#. type: =item
-#: dh_installinit:137
+#: dh_installinit:142 dh_systemd_enable:87
+msgid "B<--no-enable>"
+msgstr "B<--no-enable>"
+
+#. type: textblock
+#: dh_installinit:144
+msgid ""
+"Disable the init script on purge, but do not enable them on install. This "
+"implies a versioned dependency on B<< init-system-helpers (E<gt>= 1.51) >> "
+"as it is the first (functional) version that supports B<< update-rc.d "
+"E<lt>scriptE<gt> defaults-disabled >>."
+msgstr ""
+
+#. type: textblock
+#: dh_installinit:149
+#, fuzzy
+#| msgid ""
+#| "B<Note> that this option does not affect whether the services are "
+#| "started. That is controlled by L<dh_systemd_start(1)> (using e.g. its "
+#| "B<--no-start> option)."
+msgid ""
+"B<Note> that this option does not affect whether the services are started. "
+"Please remember to also use B<--no-start> if the service should not be "
+"started."
+msgstr ""
+"B<Note> que esta opção não afecta se os serviços são arrancados. Isso é "
+"controlado por L<dh_systemd_start(1)> (usando por exemplo a sua opção B<--no-"
+"start>)."
+
+#. type: textblock
+#: dh_installinit:153
+#, fuzzy
+#| msgid "B<-u>I<params> B<--update-rcd-params=>I<params>"
+msgid ""
+"Cannot be combined with B<-u>I<params>, B<--update-rcd-params=>I<params>, or "
+"B<--> I<params>."
+msgstr "B<-u>I<params> B<--update-rcd-params=>I<params>"
+
+#. type: =item
+#: dh_installinit:156
msgid "B<-d>, B<--remove-d>"
msgstr "B<-d>, B<--remove-d>"
# FIXME s#F<etc/default/>.#F<etc/default/>.#
#. type: textblock
-#: dh_installinit:139
+#: dh_installinit:158
msgid ""
"Remove trailing B<d> from the name of the package, and use the result for "
"the filename the upstart job file is installed as in F<etc/init/> , and for "
@@ -6345,28 +6856,38 @@ msgid ""
"parameter described below.)"
msgstr ""
"Remove o B<d> final do nome do pacote, e usa o resultado para o nome do "
-"ficheiro de trabalho upstar que é instalado em F<etc/init/> , e para o nome "
+"ficheiro de trabalho upstart que é instalado em F<etc/init/> , e para o nome "
"do ficheiro de script de iniciação que é instalado em etc/init.d e o "
"ficheiro predefinido é instalado em F<etc/default/>. Isto pode ser útil para "
"daemons com nomes que terminam em B<d>. (Note: isto toma precedência sobre o "
"parâmetro B<--init-script> descrito em baixo)."
#. type: =item
-#: dh_installinit:146
+#: dh_installinit:165
msgid "B<-u>I<params> B<--update-rcd-params=>I<params>"
msgstr "B<-u>I<params> B<--update-rcd-params=>I<params>"
#. type: textblock
-#: dh_installinit:150
+#: dh_installinit:169
+#, fuzzy
+#| msgid ""
+#| "Pass I<params> to L<update-rc.d(8)>. If not specified, B<defaults> will "
+#| "be passed to L<update-rc.d(8)>."
msgid ""
-"Pass I<params> to L<update-rc.d(8)>. If not specified, B<defaults> will be "
-"passed to L<update-rc.d(8)>."
+"Pass I<params> to L<update-rc.d(8)>. If not specified, B<defaults> (or "
+"B<defaults-disabled> with B<--no-enable>) will be passed to L<update-rc."
+"d(8)>."
msgstr ""
"Passa I<params> para L<update-rc.d(8)>. Se não for especificado, as "
"B<predefinições> serão passadas para L<update-rc.d(8)>."
#. type: textblock
-#: dh_installinit:155
+#: dh_installinit:173
+msgid "Cannot be combined with B<--no-enable>."
+msgstr ""
+
+#. type: textblock
+#: dh_installinit:177
msgid ""
"Install the init script (and default file) as well as upstart job file using "
"the filename I<name> instead of the default filename, which is the package "
@@ -6384,12 +6905,12 @@ msgstr ""
"package.upstart>."
#. type: =item
-#: dh_installinit:163
+#: dh_installinit:185
msgid "B<--init-script=>I<scriptname>"
msgstr "B<--init-script=>I<nome-do-script>"
#. type: textblock
-#: dh_installinit:165
+#: dh_installinit:187
msgid ""
"Use I<scriptname> as the filename the init script is installed as in F<etc/"
"init.d/> (and also use it as the filename for the defaults file, if it is "
@@ -6406,7 +6927,7 @@ msgstr ""
"de iniciação em preferência dos ficheiros que normalmente instala."
#. type: textblock
-#: dh_installinit:172
+#: dh_installinit:194
msgid ""
"This parameter is deprecated, use the B<--name> parameter instead. This "
"parameter is incompatible with the use of upstart jobs."
@@ -6415,12 +6936,12 @@ msgstr ""
"Este parâmetro é incompatível com o uso de tarefas upstart."
#. type: =item
-#: dh_installinit:175
+#: dh_installinit:197
msgid "B<--error-handler=>I<function>"
msgstr "B<--error-handler=>I<função>"
#. type: textblock
-#: dh_installinit:177
+#: dh_installinit:199
msgid ""
"Call the named shell I<function> if running the init script fails. The "
"function should be provided in the F<prerm> and F<postinst> scripts, before "
@@ -6431,16 +6952,99 @@ msgstr ""
"F<postinst>, antes do símbolo B<#DEBHELPER#>."
#. type: textblock
-#: dh_installinit:380
+#: dh_installinit:408
+#, fuzzy
+#| msgid "L<debhelper(7)>, L<dpkg-shlibdeps(1)>"
+msgid "L<debhelper(7)>, L<dh_installsystemd(1)>"
+msgstr "L<debhelper(7)>, L<dpkg-shlibdeps(1)>"
+
+#. type: textblock
+#: dh_installinit:416
msgid "Steve Langasek <steve.langasek@canonical.com>"
msgstr "Steve Langasek <steve.langasek@canonical.com>"
#. type: textblock
-#: dh_installinit:382
+#: dh_installinit:418
msgid "Michael Stapelberg <stapelberg@debian.org>"
msgstr "Michael Stapelberg <stapelberg@debian.org>"
#. type: textblock
+#: dh_installinitramfs:5
+#, fuzzy
+#| msgid ""
+#| "dh_installinit - install service init files into package build directories"
+msgid "dh_installinitramfs - install initramfs hooks and setup maintscripts"
+msgstr ""
+"dh_installinit - instala ficheiros de iniciação de serviços em directórios "
+"de compilação de pacotes"
+
+#. type: textblock
+#: dh_installinitramfs:17
+#, fuzzy
+#| msgid "B<dh_installmenu> [S<B<debhelper options>>] [B<-n>]"
+msgid "B<dh_installinitramfs> [S<B<debhelper options>>] [B<-n>]"
+msgstr "B<dh_installmenu> [S<B<debhelper opções>>] [B<-n>]"
+
+#. type: textblock
+#: dh_installinitramfs:21
+#, fuzzy
+#| msgid ""
+#| "B<dh_installmime> is a debhelper program that is responsible for "
+#| "installing mime files into package build directories."
+msgid ""
+"B<dh_installinitramfs> is a debhelper program that is responsible for "
+"installing Debian package provided initramfs hooks."
+msgstr ""
+"B<dh_installmime> é um programa debhelper que é responsável por instalar "
+"ficheiros mime em directórios de compilação de pacotes."
+
+#. type: textblock
+#: dh_installinitramfs:24
+#, fuzzy
+#| msgid ""
+#| "It also automatically generates the F<postinst> and F<postrm> commands "
+#| "needed to interface with the Debian B<menu> package. These commands are "
+#| "inserted into the maintainer scripts by L<dh_installdeb(1)>."
+msgid ""
+"If B<dh_installinitramfs> installs or (in compat 12 or later) detects one or "
+"more initramfs hooks in the package, then it also automatically generates "
+"the F<postinst> and F<postrm> commands needed to interface with the Debian "
+"initramfs system. These commands are inserted into the maintainer scripts "
+"by L<dh_installdeb(1)>."
+msgstr ""
+"Também gera automaticamente os comandos F<postinst> e F<postrm> necessários "
+"para interagir com o pacote Debian B<menu>. Estes comandos são inseridos nos "
+"scripts do mantenedor pelo L<dh_installdeb(1)>."
+
+#. type: =item
+#: dh_installinitramfs:34
+#, fuzzy
+#| msgid "debian/I<package>.init"
+msgid "debian/I<package>.initramfs-hook"
+msgstr "debian/I<pacote>.init"
+
+#. type: textblock
+#: dh_installinitramfs:36
+msgid ""
+"Assumed to be an initramfs hook that will be installed into F<< usr/share/"
+"initramfs-tools/hooks/I<package> >> in the package build directory. See "
+"B<HOOK SCRIPTS> in L<initramfs-tools(8)> for more information about "
+"initramfs hooks."
+msgstr ""
+
+#. type: textblock
+#: dh_installinitramfs:49 dh_installmenu:50
+msgid "Do not modify F<postinst>/F<postrm> scripts."
+msgstr "Não modifique os scripts F<postinst>/F<postrm>."
+
+#. type: textblock
+#: dh_installinitramfs:88
+#, fuzzy
+#| msgid "L<debhelper(7)> L<update-menus(1)> L<menufile(5)>"
+msgid "L<debhelper(7)> L<update-initramfs(8)> L<initramfs-tools(8)>"
+msgstr "L<debhelper(7)> L<update-menus(1)> L<menufile(5)>"
+
+#. type: textblock
#: dh_installlogcheck:5
msgid "dh_installlogcheck - install logcheck rulefiles into etc/logcheck/"
msgstr ""
@@ -6572,17 +7176,12 @@ msgstr "B<dh_installman> [S<I<debhelper opções>>] [S<I<manpage> ...>]"
#. type: textblock
#: dh_installman:22
-#, fuzzy
-#| msgid ""
-#| "B<dh_installmanpages> is a debhelper program that is responsible for "
-#| "automatically installing man pages into F<usr/share/man/> in package "
-#| "build directories."
msgid ""
"B<dh_installman> is a debhelper program that handles installing man pages "
"into the correct locations in package build directories."
msgstr ""
-"B<dh_installmanpages> é um programa debhelper que é responsável por instalar "
-"automaticamente manuais (man pages) em F<usr/share/man/> nos directórios de "
+"B<dh_installman> é um programa debhelper que lida com a instalação de "
+"paginas de manual (man pages) nas localizações correctas nos directórios de "
"compilação de pacotes."
#. type: textblock
@@ -6594,6 +7193,12 @@ msgid ""
"the same features of L<dh_install(1)> and has the advantage that it respects "
"the B<nodoc> build profile (unlike L<dh_install(1)>)."
msgstr ""
+"Em compatibilidade 10 e anteriores, este programa servia principalmente para "
+"quando o sistema de compilação do autor não os instalava apropriadamente "
+"como uma parte do seu passo de instalação (ou não possuía um passo de "
+"instalação). Em compatibilidade 11 e posterior, suporta as mesmas "
+"funcionalidades de L<dh_install(1)> e tem a vantagem que respeita o perfil "
+"de compilação B<nodoc> (ao contrário de L<dh_install(1)>)."
#. type: textblock
#: dh_installman:32
@@ -6603,21 +7208,14 @@ msgid ""
"UTF-8 and for converting F<.so> links (as described below). However, that "
"part happens automatically without any explicit configuration."
msgstr ""
+"Mesmo que prefira usar L<dh_install(1)> para instalar os manuais, o "
+"B<dh_installman> pode ainda ser útil para converter a codificação da pagina "
+"de manual para UTF-8 e para converter links F<.so> (como descrito abaixo). "
+"No entanto, essa parte acontece automaticamente sem nenhuma configuração "
+"explícita."
#. type: textblock
#: dh_installman:38
-#, fuzzy
-#| msgid ""
-#| "B<dh_installman> is a debhelper program that handles installing man pages "
-#| "into the correct locations in package build directories. You tell it what "
-#| "man pages go in your packages, and it figures out where to install them "
-#| "based on the section field in their B<.TH> or B<.Dt> line. If you have a "
-#| "properly formatted B<.TH> or B<.Dt> line, your man page will be installed "
-#| "into the right directory, with the right name (this includes proper "
-#| "handling of pages with a subsection, like B<3perl>, which are placed in "
-#| "F<man3>, and given an extension of F<.3perl>). If your B<.TH> or B<.Dt> "
-#| "line is incorrect or missing, the program may guess wrong based on the "
-#| "file extension."
msgid ""
"You tell B<dh_installman> what man pages go in your packages, and it figures "
"out where to install them based on the section field in their B<.TH> or B<."
@@ -6628,12 +7226,10 @@ msgid ""
"or B<.Dt> line is incorrect or missing, the program may guess wrong based on "
"the file extension."
msgstr ""
-"B<dh_installman> é um programa debhelper que lida com a instalação dos "
-"manuais (páginas man) nas localizações correctas nos directórios de "
-"compilação dos pacotes. Você diz-lhe quais manuais vão para os seus pacotes, "
-"e ele descobre onde os instalar com base no campo secção na sua linha B<.TH> "
-"ou B<.Dt>. Se você tem uma linha B<.TH> ou B<.Dt> correctamente formatada, o "
-"seu manual será instalado no directório correcto, com o nome correcto (isto "
+"Você diz ao B<dh_installman> quais manuais vão para os seus pacotes, e ele "
+"descobre onde os instalar com base no campo secção na sua linha B<.TH> ou B<."
+"Dt>. Se você tem uma linha B<.TH> ou B<.Dt> correctamente formatada, o seu "
+"manual será instalado no directório correcto, com o nome correcto (isto "
"inclui o manuseamento apropriado de páginas com uma sub-secção, como "
"B<3perl>, a qual é colocada em F<man3>, e é-lhe dada uma extensão "
"F<.3perl>). Se a sua linha B<.TH> ou B<.Dt> está incorrecta ou em falta, o "
@@ -6696,22 +7292,22 @@ msgstr ""
"declaração de codificação. Veja L<manconv(1)> para detalhes."
#. type: =item
-#: dh_installman:73
+#: dh_installman:77
msgid "debian/I<package>.manpages"
msgstr "debian/I<pacote>.manpages"
#. type: textblock
-#: dh_installman:75
+#: dh_installman:79
msgid "Lists man pages to be installed."
msgstr "Lista os manuais (man pages) a serem instalados."
#. type: =item
-#: dh_installman:88
+#: dh_installman:92
msgid "B<--language=>I<ll>"
msgstr "B<--language=>I<ll>"
#. type: textblock
-#: dh_installman:90
+#: dh_installman:94
msgid ""
"Use this to specify that the man pages being acted on are written in the "
"specified language."
@@ -6719,32 +7315,13 @@ msgstr ""
"Use isto para especificar que os manuais onde se vai actuar estão escritos "
"na linguagem especificada."
-#. type: textblock
-#: dh_installman:98
-#, fuzzy
-#| msgid ""
-#| "Note that this is not the same as the B<--sourcedirectory> option used by "
-#| "the B<dh_auto_>I<*> commands. You rarely need to use this option, since "
-#| "B<dh_install> automatically looks for files in F<debian/tmp> in debhelper "
-#| "compatibility level 7 and above."
-msgid ""
-"Note that this is not the same as the B<--sourcedirectory> option used by "
-"the B<dh_auto_>I<*> commands. You rarely need to use this option, since "
-"B<dh_installman> automatically looks for files in F<debian/tmp> in debhelper "
-"compatibility level 11 and above."
-msgstr ""
-"Note que isto não é o mesmo que a opção B<--sourcedirectory> usada pelos "
-"comandos B<dh_auto_>I<*>. Você raramente vai precisar de usar esta opção, "
-"pois o B<dh_install> procura automaticamente por ficheiros em F<debian/tmp> "
-"no nível de compatibilidade 7 e superiores do debhelper."
-
#. type: =item
-#: dh_installman:103
+#: dh_installman:107
msgid "I<manpage> ..."
msgstr "I<manpage> ..."
#. type: textblock
-#: dh_installman:105
+#: dh_installman:109
msgid ""
"Install these man pages into the first package acted on. (Or in all packages "
"if B<-A> is specified)."
@@ -6753,12 +7330,12 @@ msgstr ""
"pacotes caso for especificado B<-A>)."
#. type: textblock
-#: dh_installman:112
+#: dh_installman:116
msgid "An example F<debian/manpages> file could look like this:"
-msgstr ""
+msgstr "Um exemplo de ficheiro F<debian/manpages> poderá parecer como isto:"
#. type: verbatim
-#: dh_installman:114
+#: dh_installman:118
#, no-wrap
msgid ""
" doc/man/foo.1\n"
@@ -6772,9 +7349,19 @@ msgid ""
" # ...\n"
"\n"
msgstr ""
+" doc/man/foo.1\n"
+" # Translations\n"
+" doc/man/foo.da.1\n"
+" doc/man/foo.de.1\n"
+" doc/man/foo.fr.1\n"
+" # NB: The following line is considered a polish translation\n"
+" # of \"foo.1\" (and not a manpage written in perl called \"foo.pl\")\n"
+" doc/man/foo.pl.1\n"
+" # ...\n"
+"\n"
#. type: textblock
-#: dh_installman:126
+#: dh_installman:130
msgid ""
"An older version of this program, L<dh_installmanpages(1)>, is still used by "
"some packages, and so is still included in debhelper. It is, however, "
@@ -6963,11 +7550,6 @@ msgstr ""
"no directório de compilação do pacote."
#. type: textblock
-#: dh_installmenu:50
-msgid "Do not modify F<postinst>/F<postrm> scripts."
-msgstr "Não modifique os scripts F<postinst>/F<postrm>."
-
-#. type: textblock
#: dh_installmenu:90
msgid "L<debhelper(7)> L<update-menus(1)> L<menufile(5)>"
msgstr "L<debhelper(7)> L<update-menus(1)> L<menufile(5)>"
@@ -7253,13 +7835,6 @@ msgstr ""
#. type: textblock
#: dh_installwm:21
-#, fuzzy
-#| msgid ""
-#| "B<dh_installwm> is a debhelper program that is responsible for generating "
-#| "the F<postinst> and F<prerm> commands that register a window manager with "
-#| "L<update-alternatives(8)>. The window manager's man page is also "
-#| "registered as a slave symlink (in v6 mode and up), if it is found in "
-#| "F<usr/share/man/man1/> in the package build directory."
msgid ""
"B<dh_installwm> is a debhelper program that is responsible for generating "
"the F<postinst> and F<prerm> commands that register a window manager with "
@@ -7271,8 +7846,10 @@ msgstr ""
"B<dh_installwm> é um programa debhelper que é responsável por gerar os "
"comandos F<postinst> e F<prerm> que registam um gestor de janelas com "
"L<update-alternatives(8)>. O manual do gestor de janelas é também registado "
-"como um link simbólico escravo (em modo v6 e posterior), se tal for "
-"encontrado em F<usr/share/man/man1/> no directório de compilação do pacote."
+"como um link simbólico escravo (em modo v6 e posterior). Tem de ser "
+"instalado em F<usr/share/man/man1/> no directório de compilação do pacote "
+"antes da chamada B<dh_installwm>. Em compatibilidade 9 e anterior, a página "
+"de manual era opcional."
#. type: =item
#: dh_installwm:32
@@ -7303,13 +7880,26 @@ msgstr ""
"Não modifique os scripts F<postinst>/F<prerm>. Transforma este comando em "
"não-operacional (no-op)."
+#. type: textblock
+#: dh_installwm:54
+#, fuzzy
+#| msgid ""
+#| "Create any links specified by command line parameters in ALL packages "
+#| "acted on, not just the first."
+msgid ""
+"Modify scripts for window managers specified by command line parameters in "
+"ALL packages acted on, not just the first."
+msgstr ""
+"Cria quaisquer links especificados por parâmetros de linha de comandos em "
+"TODOS os pacotes em que actua, e não apenas no primeiro."
+
#. type: =item
-#: dh_installwm:52
+#: dh_installwm:57
msgid "I<wm> ..."
msgstr "I<wm> ..."
#. type: textblock
-#: dh_installwm:54
+#: dh_installwm:59
msgid "Window manager programs to register."
msgstr "Programas de gestão de janelas para registar."
@@ -7418,12 +8008,6 @@ msgstr ""
#. type: textblock
#: dh_link:25
-#, fuzzy
-#| msgid ""
-#| "B<dh_link> accepts a list of pairs of source and destination files. The "
-#| "source files are the already existing files that will be symlinked from. "
-#| "The destination files are the symlinks that will be created. There "
-#| "B<must> be an equal number of source and destination files specified."
msgid ""
"B<dh_link> accepts a list of pairs of source and destination files. The "
"source files are the already existing files that will be symlinked from "
@@ -7433,25 +8017,21 @@ msgid ""
msgstr ""
"B<dh_link> aceita uma lista de pares de ficheiros de fonte e destino. Os "
"ficheiros fonte são os ficheiros já existentes de onde se vai criar os links "
-"simbólicos. Os ficheiros de destino são os links simbólicos que irão ser "
-"criados. O número de ficheiros fonte e destino especificados B<tem> de ser "
+"simbólicos (chamados B<target> pelo L<ln(1)>). Os ficheiros de destino são "
+"os links simbólicos que irão ser criados (chamados B<link name> pelo "
+"L<ln(1)>). O número de ficheiros fonte e destino especificados B<tem> de ser "
"igual."
#. type: textblock
#: dh_link:32
-#, fuzzy
-#| msgid ""
-#| "Be sure you B<do> specify the full filename to both the source and "
-#| "destination files (unlike you would do if you were using something like "
-#| "L<ln(1)>)."
msgid ""
"Be sure you B<do> specify the absolute path to both the source and "
"destination files (unlike you would do if you were using something like "
"L<ln(1)>). Please note that the leading slash is optional."
msgstr ""
-"Certifique-se que B<especifica> o nome de ficheiro completo para ambos "
-"ficheiros de fonte e destino (ao contrário do que faria se estivesse a usar "
-"algo como L<ln(1)>)."
+"Certifique-se que B<especifica> o caminho absoluto para ambos ficheiros de "
+"fonte e destino (ao contrário do que faria se estivesse a usar algo como "
+"L<ln(1)>). Por favor note que a barra de inicio é opcional."
#. type: textblock
#: dh_link:36
@@ -7507,6 +8087,10 @@ msgid ""
"the pairs of source and destination files in each line are give in the same "
"order as they would be given to L<ln(1)>."
msgstr ""
+"Em cada par o ficheiro fonte (chamado B<target> pelo L<ln(1)>) aparece "
+"primeiro e é seguido pelo ficheiro de destino (chamado B<link name> pelo "
+"L<ln(1)>). Assim os pares de fonte e destino em cada linha são fornecidos na "
+"mesma ordem como seriam fornecidos ao L<ln(1)>."
#. type: textblock
#: dh_link:61
@@ -7514,6 +8098,8 @@ msgid ""
"In contrast to L<ln(1)>, source and destination paths must be absolute (the "
"leading slash is optional)."
msgstr ""
+"Em contraste ao L<ln(1)>, os caminhos de fonte e destino têm de ser "
+"absolutos (a barra de inicio é opcional)."
#. type: textblock
#: dh_link:72
@@ -7588,24 +8174,21 @@ msgstr ""
#. type: verbatim
#: dh_link:100
-#, fuzzy, no-wrap
-#| msgid ""
-#| " dh_link var/lib/foo usr/lib/foo \\\n"
-#| " usr/share/man/man1/foo.1 usr/share/man/man1/bar.1\n"
-#| "\n"
+#, no-wrap
msgid ""
" var/lib/foo usr/lib/foo\n"
" usr/share/man/man1/foo.1 usr/share/man/man1/bar.1\n"
"\n"
msgstr ""
-" dh_link var/lib/foo usr/lib/foo \\\n"
-" usr/share/man/man1/foo.1 usr/share/man/man1/bar.1\n"
+" var/lib/foo usr/lib/foo\n"
+" usr/share/man/man1/foo.1 usr/share/man/man1/bar.1\n"
"\n"
#. type: textblock
#: dh_link:103
msgid "Same as above but as content for a debian/I<package>.links file."
msgstr ""
+"O mesmo de cima mas como conteúdo para um ficheiro debian/I<package>.links."
#. type: textblock
#: dh_lintian:5
@@ -7695,6 +8278,17 @@ msgstr ""
"opções."
#. type: textblock
+#: dh_listpackages:26
+#, fuzzy
+#| msgid ""
+#| "These files are installed into the first binary package listed in debian/"
+#| "control."
+msgid "Packages are listed in the order they appear in F<debian/control>."
+msgstr ""
+"Estes ficheiros são instalados no primeiro pacote binário listado em debian/"
+"control."
+
+#. type: textblock
#: dh_makeshlibs:5
msgid ""
"dh_makeshlibs - automatically create shlibs file and call dpkg-gensymbols"
@@ -7813,38 +8407,51 @@ msgstr "B<--version-info>, B<--version-info=>I<dependências>"
#. type: textblock
#: dh_makeshlibs:67
msgid ""
-"By default, the shlibs file generated by this program does not make packages "
-"depend on any particular version of the package containing the shared "
-"library. It may be necessary for you to add some version dependency "
-"information to the shlibs file. If B<-V> is specified with no dependency "
-"information, the current upstream version of the package is plugged into a "
-"dependency that looks like \"I<packagename> B<(E<gt>>= I<packageversion>B<)>"
-"\". Note that in debhelper compatibility levels before v4, the Debian part "
-"of the package version number is also included. If B<-V> is specified with "
-"parameters, the parameters can be used to specify the exact dependency "
-"information needed (be sure to include the package name)."
-msgstr ""
-"Por predefinição, o ficheiro shlibs gerado por este programa não torna os "
-"pacotes dependentes de nenhuma versão particular do pacote que contém a "
-"biblioteca partilhada. Poderá ser necessário para si adicionar alguma "
-"informação de dependência de versão ao ficheiro shlibs. Se B<-V> for "
-"especificado sem nenhuma informação de dependência, a actual versão do autor "
-"é ligada a uma dependência que se parece com \"I<nome-pacote> B<(E<gt>>= "
-"I<versão-pacote>B<)>\". Note que nos níveis de compatibilidade do debhelper "
-"anteriores a v4, também é incluída a parte Debian do número de versão do "
-"pacote. Se B<-V> for especificado com parâmetros, os parâmetros podem ser "
-"usados para especificar a informação de dependência exacta necessária "
-"(certifique-se que inclui o nome do pacote)."
-
-#. type: textblock
-#: dh_makeshlibs:78
-msgid ""
-"Beware of using B<-V> without any parameters; this is a conservative setting "
-"that always ensures that other packages' shared library dependencies are at "
-"least as tight as they need to be (unless your library is prone to changing "
-"ABI without updating the upstream version number), so that if the maintainer "
-"screws up then they won't break. The flip side is that packages might end up "
-"with dependencies that are too tight and so find it harder to be upgraded."
+"If a shlibs file is generated by this program, this option controls what "
+"version will be used in the dependency relation."
+msgstr ""
+
+#. type: textblock
+#: dh_makeshlibs:70
+msgid ""
+"In compat 12 and later, B<dh_makeshlibs> defaults to B<-VUpstream-Version>. "
+"In compat 11 and earlier the default behaved like B<-VNone>.."
+msgstr ""
+
+#. type: textblock
+#: dh_makeshlibs:73
+msgid "The B<dh_makeshlibs> tool can generate dependencies in three variants:"
+msgstr ""
+
+#. type: =item
+#: dh_makeshlibs:77
+msgid "B<-VUpstream-Version>"
+msgstr ""
+
+#. type: textblock
+#: dh_makeshlibs:79
+msgid ""
+"The dependency will be \"I<packagename> B<(E<gt>>= I<packageversion>B<)>\". "
+"Note that I<Upstream-Version> is case-sensitive and must be written exactly "
+"as shown here."
+msgstr ""
+
+#. type: textblock
+#: dh_makeshlibs:83
+#, fuzzy
+#| msgid ""
+#| "Beware of using B<-V> without any parameters; this is a conservative "
+#| "setting that always ensures that other packages' shared library "
+#| "dependencies are at least as tight as they need to be (unless your "
+#| "library is prone to changing ABI without updating the upstream version "
+#| "number), so that if the maintainer screws up then they won't break. The "
+#| "flip side is that packages might end up with dependencies that are too "
+#| "tight and so find it harder to be upgraded."
+msgid ""
+"This is a conservative setting that always ensures that other packages' "
+"shared library dependencies are at least as tight as they need to be (unless "
+"the library is prone to changing ABI without updating the upstream version "
+"number)."
msgstr ""
"Cuidado ao usar B<-V> sem nenhuns parâmetros; isto é uma definição "
"conservativa que assegura sempre que as dependências de bibliotecas "
@@ -7858,6 +8465,88 @@ msgstr ""
#. type: textblock
#: dh_makeshlibs:88
msgid ""
+"The flip side is that packages might end up with dependencies that are too "
+"tight in some cases (note a symbols file can mitigate this issue). This is "
+"often of minor temporary inconvenience and usually a lot better than the "
+"fall out caused by forgetting to bump the dependency information."
+msgstr ""
+
+#. type: textblock
+#: dh_makeshlibs:94
+msgid ""
+"This explicit form was added in debhelper/11.3. In previous versions, a B<-"
+"V> without any dependency information was used instead (and that form still "
+"works)"
+msgstr ""
+
+#. type: =item
+#: dh_makeshlibs:98
+#, fuzzy
+#| msgid "B<-V>"
+msgid "B<-VNone>"
+msgstr "B<-V>"
+
+#. type: textblock
+#: dh_makeshlibs:100
+msgid ""
+"The dependency will be \"I<packagename>\". Note that I<None> is case-"
+"sensitive and must be written exactly as shown here."
+msgstr ""
+
+#. type: textblock
+#: dh_makeshlibs:103
+msgid ""
+"This form is generally unsafe with the only exception being if upstream does "
+"not extend the ABI in any way. However, most upstreams improve their "
+"interfaces over time and packagers are recommended to use B<-VUpstream-"
+"Version> (or one of the other forms of B<-V>I<dependencies>)."
+msgstr ""
+
+#. type: textblock
+#: dh_makeshlibs:108
+msgid ""
+"Alternatively, this may be sufficient if (and only if) the package uses "
+"symbol versioning (see L<dpkg-gensymbols(1)>) and does I<not> build any udeb "
+"packages. Note that symbols are not supported for udeb packages, which "
+"solely relies on shlibs for dependency handling."
+msgstr ""
+
+#. type: =item
+#: dh_makeshlibs:113
+#, fuzzy
+#| msgid "B<--ddeb-migration=>I<package-relation>"
+msgid "B<-V>I<package-relation>"
+msgstr "B<--ddeb-migration=>I<package-relation>"
+
+#. type: textblock
+#: dh_makeshlibs:115
+msgid ""
+"In this case, the value passed to B<-V> will be used as a dependency "
+"relation. The I<package-relation> should generally be of the form \"I<some-"
+"package-name> B<(E<gt>>= I<some-package-version>B<)>\". Remember to include "
+"the package name."
+msgstr ""
+
+#. type: textblock
+#: dh_makeshlibs:120
+msgid ""
+"Note that debhelper will use the value I<as it is> with no sanity checking "
+"or modification. In I<rare special> cases, this is needed to generate a "
+"dependency on a different package than the one containing the library."
+msgstr ""
+
+#. type: textblock
+#: dh_makeshlibs:127
+msgid ""
+"When choosing a value for this option, please keep mind that if the package "
+"provides a symbols file, then that it generally preferred over the shlibs "
+"file for regular .deb packages. See L<dpkg-shlibdeps(1)> for more "
+"information on this topic."
+msgstr ""
+
+#. type: textblock
+#: dh_makeshlibs:134
+msgid ""
"Do not add the \"ldconfig\" trigger even if it seems like the package might "
"need it. The option is called B<--no-scripts> for historical reasons as "
"B<dh_makeshlibs> would previously generate maintainer scripts that called "
@@ -7869,7 +8558,7 @@ msgstr ""
"B<ldconfig>."
#. type: textblock
-#: dh_makeshlibs:95
+#: dh_makeshlibs:141
msgid ""
"Exclude files that contain I<item> anywhere in their filename or directory "
"from being treated as shared libraries."
@@ -7878,12 +8567,12 @@ msgstr ""
"ficheiro ou directório de serem tratados como bibliotecas partilhadas."
#. type: =item
-#: dh_makeshlibs:98
+#: dh_makeshlibs:144
msgid "B<--add-udeb=>I<udeb>"
msgstr "B<--add-udeb=>I<udeb>"
#. type: textblock
-#: dh_makeshlibs:100
+#: dh_makeshlibs:146
msgid ""
"Create an additional line for udebs in the shlibs file and use I<udeb> as "
"the package name for udebs to depend on instead of the regular library "
@@ -7894,17 +8583,19 @@ msgstr ""
"normal."
#. type: textblock
-#: dh_makeshlibs:105
+#: dh_makeshlibs:151
msgid "Pass I<params> to L<dpkg-gensymbols(1)>."
msgstr "Passa I<params> para L<dpkg-gensymbols(1)>."
#. type: =item
-#: dh_makeshlibs:113
-msgid "B<dh_makeshlibs>"
-msgstr "B<dh_makeshlibs>"
+#: dh_makeshlibs:159
+#, fuzzy
+#| msgid "B<dh_makeshlibs -V>"
+msgid "B<dh_makeshlibs -VNone>"
+msgstr "B<dh_makeshlibs -V>"
#. type: verbatim
-#: dh_makeshlibs:115
+#: dh_makeshlibs:161
#, no-wrap
msgid ""
"Assuming this is a package named F<libfoobar1>, generates a shlibs file that\n"
@@ -7918,12 +8609,14 @@ msgstr ""
"\n"
#. type: =item
-#: dh_makeshlibs:119
-msgid "B<dh_makeshlibs -V>"
+#: dh_makeshlibs:165
+#, fuzzy
+#| msgid "B<dh_makeshlibs -V>"
+msgid "B<dh_makeshlibs -VUpstream-Version>"
msgstr "B<dh_makeshlibs -V>"
#. type: verbatim
-#: dh_makeshlibs:121
+#: dh_makeshlibs:167
#, no-wrap
msgid ""
"Assuming the current version of the package is 1.1-3, generates a shlibs\n"
@@ -7937,12 +8630,12 @@ msgstr ""
"\n"
#. type: =item
-#: dh_makeshlibs:125
+#: dh_makeshlibs:171
msgid "B<dh_makeshlibs -V 'libfoobar1 (E<gt>= 1.0)'>"
msgstr "B<dh_makeshlibs -V 'libfoobar1 (E<gt>= 1.0)'>"
#. type: verbatim
-#: dh_makeshlibs:127
+#: dh_makeshlibs:173
#, no-wrap
msgid ""
"Generates a shlibs file that looks something like:\n"
@@ -8499,7 +9192,7 @@ msgstr ""
"\t\n"
#. type: textblock
-#: dh_shlibdeps:203
+#: dh_shlibdeps:201
msgid "L<debhelper(7)>, L<dpkg-shlibdeps(1)>"
msgstr "L<debhelper(7)>, L<dpkg-shlibdeps(1)>"
@@ -8562,17 +9255,6 @@ msgstr ""
"difícil determinar como despojar um módulo, o B<dh_strip> presentemente não "
"lida com o despojar de módulos binários como os ficheiros F<.o>."
-#. type: textblock
-#: dh_strip:44
-msgid ""
-"Exclude files that contain I<item> anywhere in their filename from being "
-"stripped. You may use this option multiple times to build up a list of "
-"things to exclude."
-msgstr ""
-"Exclui ficheiros que contenham I<item> em qualquer ponto do seu nome de "
-"serem despojados. Você pode usar esta opção várias vezes para construir uma "
-"lista de coisas a excluir."
-
#. type: =item
#: dh_strip:48
msgid "B<--dbg-package=>I<package>"
@@ -8810,12 +9492,12 @@ msgstr "Testa também a existência destes ficheiros."
#. type: textblock
#: dh_testroot:7
-#, fuzzy
-#| msgid "dh_testroot - ensure that a package is built as root"
msgid ""
"dh_testroot - ensure that a package is built with necessary level of root "
"permissions"
-msgstr "dh_testroot - assegura que um pacote é compilado como root."
+msgstr ""
+"dh_testroot - assegura que um pacote é compilado com o nível necessário de "
+"permissões de root."
#. type: textblock
#: dh_testroot:11
@@ -8825,56 +9507,80 @@ msgstr "B<dh_testroot> [S<I<debhelper opções>>]"
#. type: textblock
#: dh_testroot:15
msgid ""
-"B<dh_testroot> is used to determine if the package has access to at least "
-"the level of root access that it declared it needed via the Rules-Requires-"
-"Root (R³) field."
+"B<dh_testroot> is used to determine if the target is being run with "
+"sufficient access to (fake)root."
msgstr ""
#. type: textblock
-#: dh_testroot:19
+#: dh_testroot:18
msgid ""
-"The following is how B<dh_testroot> behaves based on the effective value of "
-"the R³ field:"
-msgstr ""
-
-#. type: =item
-#: dh_testroot:24
-msgid "\"binary-targets\""
+"The definition of sufficient access depends on whether the builder (the tool "
+"invoking the F<debian/rules> target) supports the I<Rules-Requires-Root> "
+"(R³) field. If the builder supports R³, then it will set the environment "
+"variable I<DEB_RULES_REQUIRES_ROOT> and B<dh_testroot> will validate that "
+"the builder followed the minimum requirements for the given value of "
+"I<DEB_RULES_REQUIRES_ROOT>."
msgstr ""
#. type: textblock
-#: dh_testroot:26
-msgid "B<dh_testroot> asserts that it is run as root or under L<fakeroot(1)>."
-msgstr ""
-
-#. type: =item
-#: dh_testroot:28
-msgid "\"no\""
+#: dh_testroot:25
+msgid ""
+"If the builder does not support I<Rules-Requires-Root>, then it will not set "
+"the I<DEB_RULES_REQUIRES_ROOT> environment variable. This will in turn make "
+"B<dh_testroot> (and the rest of debhelper) fall back to assuming that "
+"(fake)root is implied."
msgstr ""
#. type: textblock
#: dh_testroot:30
-msgid "B<dh_testroot> returns successfully."
+msgid ""
+"The following is a summary of how B<dh_testroot> behaves based on the "
+"I<DEB_RULES_REQUIRES_ROOT> environment variable (leading and trailing "
+"whitespace in the variable is ignored)."
msgstr ""
-#. type: =item
-#: dh_testroot:32
-msgid "Any other value than the above"
+#. type: textblock
+#: dh_testroot:38
+#, fuzzy
+#| msgid ""
+#| "B<dh_testroot> asserts that it is run as root or under L<fakeroot(1)>."
+msgid ""
+"If unset, or set to C<binary-targets>, then B<dh_testroot> asserts that it "
+"is run as root or under L<fakeroot(1)>."
+msgstr "B<dh_testroot> deduz que é corrido como root ou sob L<fakeroot(1)>."
+
+#. type: textblock
+#: dh_testroot:43
+msgid ""
+"If set to C<no>, then B<dh_testroot> returns successfully (without "
+"performing any additional checks)."
msgstr ""
#. type: textblock
-#: dh_testroot:34
+#: dh_testroot:48
+#, fuzzy
+#| msgid ""
+#| "B<dh_testroot> asserts that it is either run as root (or under "
+#| "L<fakeroot(1)>) or the builder has provided the B<DPKG_GAIN_ROOT_CMD> "
+#| "environment variable (e.g. via dpkg-buildpackage -r)."
msgid ""
-"B<dh_testroot> asserts that it is either run as root (or under "
-"L<fakeroot(1)>) or the builder has provided the B<DPKG_GAIN_ROOT_CMD> "
-"environment variable (e.g. via dpkg-buildpackage -r)."
+"If set to any other value than the above, then B<dh_testroot> asserts that "
+"it is either run as root (or under L<fakeroot(1)>) or the builder has "
+"provided the B<DEB_GAIN_ROOT_CMD> environment variable (e.g. via dpkg-"
+"buildpackage -r)."
msgstr ""
+"B<dh_testroot> declara que ou é corrido como root (ou sob L<fakeroot(1)>) ou "
+"o compilador disponibilizou a variável de ambiente B<DPKG_GAIN_ROOT_CMD> "
+"(ex. via dpkg-buildpackage -r)."
#. type: textblock
-#: dh_testroot:40
+#: dh_testroot:55
msgid ""
-"For backwards compatibility, B<dh_testroot> will consider the absence of the "
-"R³ field as if the R³ field was set to \"binary-targets\"."
+"Please note that B<dh_testroot> does I<not> read the I<Rules-Requires-Root> "
+"field. Which implies that B<dh_testroot> may produce incorrect result if "
+"the builder lies in I<DEB_RULES_REQUIRES_ROOT>. On the flip side, it also "
+"enables things like testing for what will happen when "
+"I<DEB_RULES_REQUIRES_ROOT> is set to a given value."
msgstr ""
#. type: textblock
@@ -8919,44 +9625,36 @@ msgstr ""
#. type: textblock
#: dh_usrlocal:36
msgid ""
-"When the I<Rules-Requires-Root> field is not (effectively) I<binary-"
-"targets>, the directories in F</usr/local> will have ownership root:staff "
-"and the mode will be 02775. These values have been chosen to comply with "
-"the recommendations of the Debian policy for directories in F</usr/local>."
+"When the I<DEB_RULES_REQUIRES_ROOT> environment variable is not "
+"(effectively) I<binary-targets>, the directories in F</usr/local> will be "
+"handled as if they were owned by root:root (see below)."
msgstr ""
#. type: textblock
-#: dh_usrlocal:42
-#, fuzzy
-#| msgid ""
-#| "If the directories found in the build tree have unusual owners, groups, "
-#| "or permissions, then those values will be preserved in the directories "
-#| "made by the F<postinst> script. However, as a special exception, if a "
-#| "directory is owned by root.root, it will be treated as if it is owned by "
-#| "root.staff and is mode 2775. This is useful, since that is the group and "
-#| "mode policy recommends for directories in F</usr/local>."
-msgid ""
-"When I<Rules-Requires-Root> has an effective value of I<binary-targets>, the "
-"owners, groups and permissions will be preserved with one exception. If the "
-"directory is owned by root:root, then ownership will be reset to root:staff "
-"and mode will be reset to 02775. This is useful, since that is the group and "
-"mode policy recommends for directories in F</usr/local>."
-msgstr ""
-"Se os directórios encontrados na árvore de compilação tiverem donos, grupos, "
-"ou permissões fora do habitual, então esses valores serão preservados nos "
-"directórios feitos pelo script F<postinst>. No entanto, como uma excepção "
-"especial, se um directório for propriedade de root.root, será tratado como "
-"se fosse propriedade de root.staf e o seu modo em 2775. Isto é útil, pois é "
-"esse o grupo e modo que a política recomenda para directórios em F</usr/"
-"local>."
-
-#. type: textblock
-#: dh_usrlocal:67
+#: dh_usrlocal:40
+msgid ""
+"When the I<DEB_RULES_REQUIRES_ROOT> environment variable has an effective "
+"value of I<binary-targets>, the owners, groups and permissions will be "
+"preserved with the sole exception where the directory is owned by root:root."
+msgstr ""
+
+#. type: textblock
+#: dh_usrlocal:44
+msgid ""
+"If a directory is owned by root:root, then ownership will be determined at "
+"install time. The ownership and permission bits will either be root:root "
+"mode 0755 or root:staff mode 02775. The actual choice depends on whether "
+"the system has F</etc/staff-group-for-usr-local> (as documented in the "
+"Debian Policy Manual §9.1.2 since version 4.1.4)"
+msgstr ""
+
+#. type: textblock
+#: dh_usrlocal:68
msgid "Debian policy, version 2.2"
msgstr "Debian policy, versão 2.2"
#. type: textblock
-#: dh_usrlocal:140
+#: dh_usrlocal:144
msgid "Andrew Stribblehill <ads@debian.org>"
msgstr "Andrew Stribblehill <ads@debian.org>"
@@ -9029,23 +9727,18 @@ msgstr ""
#. type: =item
#: dh_systemd_enable:45
-#, fuzzy
-#| msgid "debian/I<package>.logcheck.ignore.server"
msgid "debian/I<package>.service, debian/I<package>@.service"
-msgstr "debian/I<pacote>.logcheck.ignore.server"
+msgstr "debian/I<package>.service, debian/I<package>@.service"
#. type: textblock
#: dh_systemd_enable:47
-#, fuzzy
-#| msgid ""
-#| "If this exists, it is installed into lib/systemd/system/I<package>."
-#| "service in the package build directory."
msgid ""
"If this exists, it is installed into lib/systemd/system/I<package>.service "
"(or lib/systemd/system/I<package>@.service) in the package build directory."
msgstr ""
-"Se isto existir, é instalado em lib/systemd/system/I<pacote>.service no "
-"directório de compilação do pacote."
+"Se isto existir, é instalado em lib/systemd/system/I<package>.service (or "
+"lib/systemd/system/I<package>@.service) no directório de compilação do "
+"pacote."
#. type: textblock
#: dh_systemd_enable:52
@@ -9060,118 +9753,78 @@ msgstr ""
#. type: =item
#: dh_systemd_enable:56
-#, fuzzy
-#| msgid "debian/I<package>.manpages"
msgid "debian/I<package>.target, debian/I<package>@.target"
-msgstr "debian/I<pacote>.manpages"
+msgstr "debian/I<package>.target, debian/I<package>@.target"
#. type: textblock
#: dh_systemd_enable:58
-#, fuzzy
-#| msgid ""
-#| "If this exists, it is installed into lib/systemd/system/I<package>."
-#| "service in the package build directory."
msgid ""
"If this exists, it is installed into lib/systemd/system/I<package>.target "
"(or lib/systemd/system/I<package>@.target) in the package build directory."
msgstr ""
-"Se isto existir, é instalado em lib/systemd/system/I<pacote>.service no "
-"directório de compilação do pacote."
+"Se isto existir, é instalado em lib/systemd/system/I<package>.target (ou lib/"
+"systemd/system/I<package>@.target) no directório de compilação do pacote."
#. type: =item
#: dh_systemd_enable:61
-#, fuzzy
-#| msgid "debian/I<package>.manpages"
msgid "debian/I<package>.socket, debian/I<package>@.socket"
-msgstr "debian/I<pacote>.manpages"
+msgstr "debian/I<package>.socket, debian/I<package>@.socket"
#. type: textblock
#: dh_systemd_enable:63
-#, fuzzy
-#| msgid ""
-#| "If this exists, it is installed into lib/systemd/system/I<package>."
-#| "service in the package build directory."
msgid ""
"If this exists, it is installed into lib/systemd/system/I<package>.socket "
"(or lib/systemd/system/I<package>@.socket) in the package build directory."
msgstr ""
-"Se isto existir, é instalado em lib/systemd/system/I<pacote>.service no "
-"directório de compilação do pacote."
+"Se isto existir, é instalado em lib/systemd/system/I<package>.socket (ou lib/"
+"systemd/system/I<package>@.socket) no directório de compilação do pacote."
#. type: =item
#: dh_systemd_enable:66
-#, fuzzy
-#| msgid "debian/I<package>.menu"
msgid "debian/I<package>.mount"
-msgstr "debian/I<pacote>.menu"
+msgstr "debian/I<package>.mount"
#. type: textblock
#: dh_systemd_enable:68
-#, fuzzy
-#| msgid ""
-#| "If this exists, it is installed into lib/systemd/system/I<package>."
-#| "service in the package build directory."
msgid ""
"If this exists, it is installed into lib/systemd/system/I<package>.mount in "
"the package build directory."
msgstr ""
-"Se isto existir, é instalado em lib/systemd/system/I<pacote>.service no "
+"Se isto existir, é instalado em lib/systemd/system/I<pacote>.mount no "
"directório de compilação do pacote."
#. type: =item
#: dh_systemd_enable:71
-#, fuzzy
-#| msgid "debian/I<package>.manpages"
msgid "debian/I<package>.path, debian/I<package>@.path"
-msgstr "debian/I<pacote>.manpages"
+msgstr "debian/I<package>.path, debian/I<package>@.path"
#. type: textblock
#: dh_systemd_enable:73
-#, fuzzy
-#| msgid ""
-#| "If this exists, it is installed into lib/systemd/system/I<package>."
-#| "service in the package build directory."
msgid ""
"If this exists, it is installed into lib/systemd/system/I<package>.path (or "
"lib/systemd/system/I<package>@.path) in the package build directory."
msgstr ""
-"Se isto existir, é instalado em lib/systemd/system/I<pacote>.service no "
-"directório de compilação do pacote."
+"Se isto existir, é instalado em lib/systemd/system/I<package>.path (ou lib/"
+"systemd/system/I<package>@.path) no directório de compilação do pacote."
#. type: =item
#: dh_systemd_enable:76
-#, fuzzy
-#| msgid "debian/I<package>.manpages"
msgid "debian/I<package>.timer, debian/I<package>@.timer"
-msgstr "debian/I<pacote>.manpages"
+msgstr "debian/I<package>.timer, debian/I<package>@.timer"
#. type: textblock
#: dh_systemd_enable:78
-#, fuzzy
-#| msgid ""
-#| "If this exists, it is installed into lib/systemd/system/I<package>."
-#| "service in the package build directory."
msgid ""
"If this exists, it is installed into lib/systemd/system/I<package>.timer (or "
"lib/systemd/system/I<package>@.timer) in the package build directory."
msgstr ""
-"Se isto existir, é instalado em lib/systemd/system/I<pacote>.service no "
-"directório de compilação do pacote."
-
-#. type: =item
-#: dh_systemd_enable:87
-msgid "B<--no-enable>"
-msgstr "B<--no-enable>"
+"Se isto existir, é instalado em lib/systemd/system/I<package>.timer (ou lib/"
+"systemd/system/I<package>@.timer) no directório de compilação do pacote."
#. type: textblock
#: dh_systemd_enable:89
-#, fuzzy
-#| msgid ""
-#| "Just disable the service(s) on purge, but do not enable them by default."
msgid "Disable the service(s) on purge, but do not enable them on install."
-msgstr ""
-"Apenas desactiva serviço(s) durante a purga, mas não os activa por "
-"predefinição."
+msgstr "Desactiva serviço(s) durante a purga, mas não os activa na instalação."
#. type: textblock
#: dh_systemd_enable:91
@@ -9180,6 +9833,9 @@ msgid ""
"That is controlled by L<dh_systemd_start(1)> (using e.g. its B<--no-start> "
"option)."
msgstr ""
+"B<Note> que esta opção não afecta se os serviços são arrancados. Isso é "
+"controlado por L<dh_systemd_start(1)> (usando por exemplo a sua opção B<--no-"
+"start>)."
#. type: textblock
#: dh_systemd_enable:97
@@ -9328,6 +9984,213 @@ msgstr ""
"Este nível de compatibilidade está aberto para testes beta: podem ocorrer "
"alterações."
+#~ msgid ""
+#~ "The B<dh_installdocs> and B<dh_installexamples> tools will now attempt to "
+#~ "guess the \"main package\" for a given documentation package (e.g. I<pkg-"
+#~ "doc> will have I<pkg> as main package if the latter exists). If a main "
+#~ "package is found, I<most> of the documentation will be installed into "
+#~ "F<< /usr/share/doc/I<main-pkg> >> by default as recommended by Debian "
+#~ "policy §12.3 since version 3.9.7. Notable exceptions include the "
+#~ "copyright file and changelog files."
+#~ msgstr ""
+#~ "As ferramentas B<dh_installdocs> e B<dh_installexamples> irão agora "
+#~ "tentar adivinha o \"pacote principal\" para um dado pacote de "
+#~ "documentação (ex. I<pkg-doc> irá ter I<pkg> como pacote principal se este "
+#~ "último existir). Se um pacote principal é encontrado, a I<maioria> da "
+#~ "documentação será instalada por predefinição em F<< /usr/share/doc/I<main-"
+#~ "pkg> >> como recomendado pela política Debian §12.3 desde a versão 3.9.7. "
+#~ "Excepções notáveis incluem o ficheiro de copyright e os ficheiros "
+#~ "changelog."
+
+#~ msgid ""
+#~ "The syntax of these files is intentionally kept very simple to make them "
+#~ "easy to read, understand, and modify. If you prefer power and complexity, "
+#~ "you can make the file executable, and write a program that outputs "
+#~ "whatever content is appropriate for a given situation. When you do so, "
+#~ "the output is not further processed to expand wildcards or strip comments."
+#~ msgstr ""
+#~ "A sintaxe destes ficheiros é mantida propositadamente simples para os "
+#~ "tornar fáceis de ler, perceber, e modificar. Se você preferir o poder e a "
+#~ "complexidade, pode tornar o ficheiro executável, e escrever um programa "
+#~ "que gere um conteúdo apropriado para uma dada situação seja ela qual for. "
+#~ "Quando o fizer, o resultado já não é mais processado para expandir "
+#~ "wildcards ou despojar comentários."
+
+#~ msgid "B<dh_installdirs> [S<I<debhelper options>>] [B<-A>] [S<I<dir> ...>]"
+#~ msgstr "B<dh_installdirs> [S<I<debhelper opções>>] [B<-A>] [S<I<dir> ...>]"
+
+#~ msgid ""
+#~ "By default, the shlibs file generated by this program does not make "
+#~ "packages depend on any particular version of the package containing the "
+#~ "shared library. It may be necessary for you to add some version "
+#~ "dependency information to the shlibs file. If B<-V> is specified with no "
+#~ "dependency information, the current upstream version of the package is "
+#~ "plugged into a dependency that looks like \"I<packagename> B<(E<gt>>= "
+#~ "I<packageversion>B<)>\". Note that in debhelper compatibility levels "
+#~ "before v4, the Debian part of the package version number is also "
+#~ "included. If B<-V> is specified with parameters, the parameters can be "
+#~ "used to specify the exact dependency information needed (be sure to "
+#~ "include the package name)."
+#~ msgstr ""
+#~ "Por predefinição, o ficheiro shlibs gerado por este programa não torna os "
+#~ "pacotes dependentes de nenhuma versão particular do pacote que contém a "
+#~ "biblioteca partilhada. Poderá ser necessário para si adicionar alguma "
+#~ "informação de dependência de versão ao ficheiro shlibs. Se B<-V> for "
+#~ "especificado sem nenhuma informação de dependência, a actual versão do "
+#~ "autor é ligada a uma dependência que se parece com \"I<nome-pacote> "
+#~ "B<(E<gt>>= I<versão-pacote>B<)>\". Note que nos níveis de compatibilidade "
+#~ "do debhelper anteriores a v4, também é incluída a parte Debian do número "
+#~ "de versão do pacote. Se B<-V> for especificado com parâmetros, os "
+#~ "parâmetros podem ser usados para especificar a informação de dependência "
+#~ "exacta necessária (certifique-se que inclui o nome do pacote)."
+
+#~ msgid "B<dh_makeshlibs>"
+#~ msgstr "B<dh_makeshlibs>"
+
+#~ msgid ""
+#~ "B<dh_testroot> is used to determine if the package has access to at least "
+#~ "the level of root access that it declared it needed via the Rules-"
+#~ "Requires-Root (R³) field."
+#~ msgstr ""
+#~ "B<dh_testroot> é usado para determinar se o pacote tem acesso a pelo "
+#~ "menos ao nível de acesso de raiz que declarou que precisava via campo "
+#~ "Rules-Requires-Root (R³)."
+
+#~ msgid ""
+#~ "The following is how B<dh_testroot> behaves based on the effective value "
+#~ "of the R³ field:"
+#~ msgstr ""
+#~ "O seguinte é como o B<dh_testroot> se comporta com base no valor efectivo "
+#~ "do campo R³."
+
+#~ msgid "\"binary-targets\""
+#~ msgstr "\"binary-targets\""
+
+#~ msgid "\"no\""
+#~ msgstr "\"no\""
+
+#~ msgid "B<dh_testroot> returns successfully."
+#~ msgstr "B<dh_testroot> retorna com sucesso."
+
+#~ msgid "Any other value than the above"
+#~ msgstr "Qualquer outro valor que não seja o de cima"
+
+#~ msgid ""
+#~ "For backwards compatibility, B<dh_testroot> will consider the absence of "
+#~ "the R³ field as if the R³ field was set to \"binary-targets\"."
+#~ msgstr ""
+#~ "Para compatibilidade com versões anteriores. B<dh_testroot> irá "
+#~ "considerar a ausência do campo R³ como se o campo R³ estivesse definido "
+#~ "para \"binary-targets\"."
+
+#~ msgid ""
+#~ "Note for the first (or only) binary package listed in F<debian/control>, "
+#~ "debhelper will use F<debian/foo> when there's no F<debian/package.foo> "
+#~ "file."
+#~ msgstr ""
+#~ "Note que para o primeiro (ou único) pacote binário listado em <debian/"
+#~ "control>, o debhelper irá usar F<debian/foo> quando não existe nenhum "
+#~ "ficheiro F<debian/package.foo>."
+
+#~ msgid ""
+#~ "When the I<Rules-Requires-Root> field is not (effectively) I<binary-"
+#~ "targets>, the directories in F</usr/local> will have ownership root:staff "
+#~ "and the mode will be 02775. These values have been chosen to comply with "
+#~ "the recommendations of the Debian policy for directories in F</usr/local>."
+#~ msgstr ""
+#~ "Quando o campo I<Rules-Requires-Root> não é (efectivamente) I<binary-"
+#~ "targets>, os directórios em F</usr/local> serão da propriedade root:staff "
+#~ "e o modo será 02775. Estes valores foram escolhidos para respeitar a "
+#~ "recomendação da política Debian para os directórios em F</usr/local>."
+
+#~ msgid ""
+#~ "When I<Rules-Requires-Root> has an effective value of I<binary-targets>, "
+#~ "the owners, groups and permissions will be preserved with one exception. "
+#~ "If the directory is owned by root:root, then ownership will be reset to "
+#~ "root:staff and mode will be reset to 02775. This is useful, since that is "
+#~ "the group and mode policy recommends for directories in F</usr/local>."
+#~ msgstr ""
+#~ "Quando I<Rules-Requires-Root> tem um valor efectivo de I<binary-targets>, "
+#~ "donos, grupo e permissões serão preservadas com uma excepção. Se o "
+#~ "directório for propriedade de root:root, então o dono será reiniciado "
+#~ "para root:staff e o modo será reiniciado para 02775. Isto é útil, pois é "
+#~ "o grupo e o modo que a política recomenda para os directórios em F</usr/"
+#~ "local>."
+
+#~ msgid ""
+#~ "B<Caveat>: This option silently does nothing in cmake versions prior to "
+#~ "3.8. Please keep this in mind if your package is regularly backported to "
+#~ "a suite (e.g. stretch-backports) where cmake is older than 3.8."
+#~ msgstr ""
+#~ "B<Caveat>: Esta opção não faz nada silenciosamente em versões do cmake "
+#~ "anteriores a 3.8. Por favor lembre-se disto se o seu pacote for portado "
+#~ "para trás para uma suite (ex. stretch-backports) onde o cmake é anterior "
+#~ "a 3.8."
+
+#~ msgid ""
+#~ "List the files that are deliberately not installed in I<any> binary "
+#~ "package. Paths listed in this file are (I<only>) ignored by the check "
+#~ "done via B<--list-missing> (or B<--fail-missing>). However, it is B<not> "
+#~ "a method to exclude files from being installed. Please use B<--exclude> "
+#~ "for that."
+#~ msgstr ""
+#~ "Lista os ficheiros que são deliberadamente não instalados em I<nenhum> "
+#~ "pacote binário. Os caminhos listados neste ficheiro são (I<apenas>) "
+#~ "ignorados pela verificação feita via B<--list-missing> (ou B<--fail-"
+#~ "missing>). No entanto, isto I<não> é um método para excluir ficheiros de "
+#~ "serem instalados. Por favor use B<--exclude> para isso."
+
+#~ msgid ""
+#~ "Please keep in mind that dh_install will B<not> expand wildcards in this "
+#~ "file."
+#~ msgstr ""
+#~ "Por favor tenha em mente que o dh_install B<não> irá expandir as "
+#~ "wildcards neste ficheiro."
+
+#~ msgid "B<Deprecated>: Please use B<dh_missing --list-missing> instead."
+#~ msgstr ""
+#~ "B<Descontinuado>: Por favor use B<dh_missing --list-missing> em vez deste."
+
+#~ msgid ""
+#~ "This option makes B<dh_install> keep track of the files it installs, and "
+#~ "then at the end, compare that list with the files in the source "
+#~ "directory. If any of the files (and symlinks) in the source directory "
+#~ "were not installed to somewhere, it will warn on stderr about that."
+#~ msgstr ""
+#~ "Esta opção faz o B<dh_install> manter um acompanhamento dos ficheiros que "
+#~ "instala, e depois no final, compara essa lista com os ficheiros no "
+#~ "directório fonte. Se algum dos ficheiros (e links simbólicos) no "
+#~ "directório fonte não foi instalado para algum sítio, ele vai avisar no "
+#~ "stderr acerca disso."
+
+#~ msgid ""
+#~ "This may be useful if you have a large package and want to make sure that "
+#~ "you don't miss installing newly added files in new upstream releases."
+#~ msgstr ""
+#~ "Isto pode ser útil se você tem um pacote grande e quer certificar-se que "
+#~ "não se esquece de instalar ficheiros adicionados recentemente em novos "
+#~ "lançamentos do autor original."
+
+#~ msgid ""
+#~ "Note that files that are excluded from being moved via the B<-X> option "
+#~ "are not warned about."
+#~ msgstr ""
+#~ "Note que não há advertências sobre ficheiros que estão excluídos de serem "
+#~ "movidos via opção B<-X>."
+
+#~ msgid "B<Deprecated>: Please use B<dh_missing --fail-missing> instead."
+#~ msgstr ""
+#~ "B<Descontinuado>: Por favor use B<dh_missing --fail-missing> em vez deste."
+
+#~ msgid ""
+#~ "This option is like B<--list-missing>, except if a file was missed, it "
+#~ "will not only list the missing files, but also fail with a nonzero exit "
+#~ "code."
+#~ msgstr ""
+#~ "Esta opção é como B<--list-missing>, excepto se um ficheiro estiver em "
+#~ "falta, não irá apenas listar os ficheiros em falta, mas também vai falhar "
+#~ "com um código exit não-zero."
+
#~ msgid "Participating in the open beta testing of new compat levels"
#~ msgstr "Participar no teste beta aberto dos novos níveis de compatibilidade"
@@ -9353,9 +10216,6 @@ msgstr ""
#~ msgid "Please consider the following before opting in:"
#~ msgstr "Por favor considere o seguinte antes de decidir como optar:"
-#~ msgid "*"
-#~ msgstr "*"
-
#~ msgid ""
#~ "The automatic upgrade in compatibility level may cause the package (or a "
#~ "feature in it) to stop functioning."
diff --git a/man/po4a/po4a.cfg b/man/po4a/po4a.cfg
index a3824b72..7a0e2b66 100644
--- a/man/po4a/po4a.cfg
+++ b/man/po4a/po4a.cfg
@@ -17,6 +17,7 @@
[type: pod] dh_builddeb $lang:man/$lang/dh_builddeb.pod add_fr:man/po4a/add.fr add_es:man/po4a/add1.es add_de:man/po4a/add.de add_pt:man/po4a/add.pt
[type: pod] dh_clean $lang:man/$lang/dh_clean.pod add_fr:man/po4a/add.fr add_es:man/po4a/add1.es add_de:man/po4a/add.de add_pt:man/po4a/add.pt
[type: pod] dh_compress $lang:man/$lang/dh_compress.pod add_fr:man/po4a/add.fr add_es:man/po4a/add1.es add_de:man/po4a/add.de add_pt:man/po4a/add.pt
+[type: pod] dh_dwz $lang:man/$lang/dh_dwz.pod add_fr:man/po4a/add.fr add_es:man/po4a/add2.es add_de:man/po4a/add.de add_pt:man/po4a/add.pt
[type: pod] dh_fixperms $lang:man/$lang/dh_fixperms.pod add_fr:man/po4a/add.fr add_es:man/po4a/add1.es add_de:man/po4a/add.de add_pt:man/po4a/add.pt
[type: pod] dh_gconf $lang:man/$lang/dh_gconf.pod add_fr:man/po4a/add.fr add_es:man/po4a/add1.es add_de:man/po4a/add.de add_pt:man/po4a/add.pt
[type: pod] dh_gencontrol $lang:man/$lang/dh_gencontrol.pod add_fr:man/po4a/add.fr add_es:man/po4a/add1.es add_de:man/po4a/add.de add_pt:man/po4a/add.pt
@@ -34,6 +35,7 @@
[type: pod] dh_installifupdown $lang:man/$lang/dh_installifupdown.pod add_fr:man/po4a/add.fr add_es:man/po4a/add1.es add_de:man/po4a/add.de add_pt:man/po4a/add.pt
[type: pod] dh_installinfo $lang:man/$lang/dh_installinfo.pod add_fr:man/po4a/add.fr add_es:man/po4a/add1.es add_de:man/po4a/add.de add_pt:man/po4a/add.pt
[type: pod] dh_installinit $lang:man/$lang/dh_installinit.pod add_fr:man/po4a/add.fr add_es:man/po4a/add1.es add_de:man/po4a/add.de add_pt:man/po4a/add.pt
+[type: pod] dh_installinitramfs $lang:man/$lang/dh_installinitinitramfs.pod add_fr:man/po4a/add.fr add_es:man/po4a/add1.es add_de:man/po4a/add.de add_pt:man/po4a/add.pt
[type: pod] dh_installlogcheck $lang:man/$lang/dh_installlogcheck.pod add_fr:man/po4a/add.fr add_es:man/po4a/add1.es add_de:man/po4a/add.de add_pt:man/po4a/add.pt
[type: pod] dh_installlogrotate $lang:man/$lang/dh_installlogrotate.pod add_fr:man/po4a/add.fr add_es:man/po4a/add1.es add_de:man/po4a/add.de add_pt:man/po4a/add.pt
[type: pod] dh_installman $lang:man/$lang/dh_installman.pod add_fr:man/po4a/add.fr add_es:man/po4a/add1.es add_de:man/po4a/add.de add_pt:man/po4a/add.pt
diff --git a/t/Dh_Lib/00-use.t b/t/Dh_Lib/00-use.t
new file mode 100755
index 00000000..dc8a966c
--- /dev/null
+++ b/t/Dh_Lib/00-use.t
@@ -0,0 +1,20 @@
+#!/usr/bin/perl
+
+use strict;
+use warnings;
+use Cwd;
+use Test::More tests => 2;
+
+use File::Temp qw(tempdir);
+use File::Basename qw(dirname);
+use lib dirname(dirname(__FILE__));
+
+my $test_dir = tempdir(CLEANUP => 1);
+
+chdir($test_dir);
+
+# Packages that need to be able to (at least) load without requring
+# d/control or d/compat.
+
+use_ok('Debian::Debhelper::Dh_Lib', '!dirname');
+use_ok('Debian::Debhelper::Buildsystem');
diff --git a/t/Dh_Lib/path.t b/t/Dh_Lib/path.t
new file mode 100755
index 00000000..e5f90616
--- /dev/null
+++ b/t/Dh_Lib/path.t
@@ -0,0 +1,26 @@
+#!/usr/bin/perl
+
+use strict;
+use warnings;
+use Test::More;
+
+use Cwd qw(abs_path);
+use File::Basename qw(dirname);
+use File::Temp qw(tempdir);
+
+BEGIN {
+ my $dir = dirname(abs_path(__FILE__));
+ unshift(@INC, dirname($dir));
+ chdir($dir) or error("chdir($dir) failed: $!");
+};
+
+use Test::DH;
+use Debian::Debhelper::Dh_Lib qw(!dirname);
+
+plan(tests => 3);
+
+ok(!is_empty_dir(__FILE__), "is_empty_dir(file) is false");
+ok(!is_empty_dir(dirname(__FILE__)), "is_empty_dir(non-empty) is false");
+
+my $tempdir = tempdir(CLEANUP => 1);
+ok(is_empty_dir($tempdir), "is_empty_dir(new-temp-dir) is true");
diff --git a/t/Test/DH.pm b/t/Test/DH.pm
index b9275cbe..20e6e9f6 100644
--- a/t/Test/DH.pm
+++ b/t/Test/DH.pm
@@ -26,6 +26,8 @@ $ENV{PATH} = "$ROOT_DIR:$ENV{PATH}" if $ENV{PATH} !~ m{\Q$ROOT_DIR\E/?:};
$ENV{PERL5LIB} = join(':', "${ROOT_DIR}/lib", (grep { defined } $ENV{PERL5LIB}))
if not $ENV{PERL5LIB} or $ENV{PERL5LIB} !~ m{\Q$ROOT_DIR\E(?:/lib)?/?:};
$ENV{DH_AUTOSCRIPTDIR} = "$ROOT_DIR/autoscripts";
+# Nothing in the tests requires root.
+$ENV{DEB_RULES_REQUIRES_ROOT} = 'no';
# Drop DEB_BUILD_PROFILES and DEB_BUILD_OPTIONS so they don't interfere
delete($ENV{DEB_BUILD_PROFILES});
@@ -37,7 +39,7 @@ our @EXPORT = qw(
each_compat_up_to_and_incl_subtest each_compat_subtest
each_compat_from_and_above_subtest run_dh_tool
uid_0_test_is_ok create_empty_file readlines
- error
+ error find_script non_deprecated_compat_levels
);
our ($TEST_DH_COMPAT, $ROOT_OK, $ROOT_CMD);
@@ -198,4 +200,30 @@ sub readlines {
return \@lines;
}
+# In *inst order (find_script will shuffle them around for *rm order)
+my @SNIPPET_FILE_TEMPLATES = (
+ 'debian/#PACKAGE#.#SCRIPT#.debhelper',
+ 'debian/.debhelper/generated/#PACKAGE#/#SCRIPT#.service',
+);
+
+sub find_script {
+ my ($package, $script) = @_;
+ my @files;
+ for my $template (@SNIPPET_FILE_TEMPLATES) {
+ my $file = ($template =~ s/#PACKAGE#/$package/r);
+ $file =~ s/#SCRIPT#/$script/;
+ push(@files, $file) if -f $file;
+ }
+ if ($script eq 'postrm' or $script eq 'prerm') {
+ @files = reverse(@files);
+ }
+ return @files;
+}
+
+sub non_deprecated_compat_levels() {
+ my $start = Debian::Debhelper::Dh_Lib::LOWEST_NON_DEPRECATED_COMPAT_LEVEL;
+ my $end = Debian::Debhelper::Dh_Lib::MAX_COMPAT_LEVEL;
+ return ($start..$end);
+}
+
1;
diff --git a/t/buildsystems/03-bs-auto-buildable.t b/t/buildsystems/03-bs-auto-buildable.t
index c1229dc9..df4405b2 100755
--- a/t/buildsystems/03-bs-auto-buildable.t
+++ b/t/buildsystems/03-bs-auto-buildable.t
@@ -2,7 +2,7 @@
use strict;
use warnings;
-use Test::More tests => 182;
+use Test::More tests => 187;
use File::Temp qw(tempdir);
use File::Basename qw(dirname);
@@ -90,7 +90,7 @@ sub run_auto_buildable_tests {
rm_files("${sourcedir}/configure");
create_empty_file("${sourcedir}/CMakeLists.txt");
- test_check_auto_buildable($bs{cmake}, "CMakeLists.txt", { configure => 1, clean => 1 });
+ test_check_auto_buildable($bs{'cmake+makefile'}, "CMakeLists.txt", { configure => 1, clean => 1 });
rm_files("${sourcedir}/CMakeLists.txt");
create_empty_file("${sourcedir}/Makefile.PL");
@@ -98,7 +98,7 @@ sub run_auto_buildable_tests {
rm_files("${sourcedir}/Makefile.PL");
create_empty_file("${sourcedir}/meson.build");
- test_check_auto_buildable($bs{meson}, "meson.build", { configure => 1, clean => 1 });
+ test_check_auto_buildable($bs{'meson+ninja'}, "meson.build", { configure => 1, clean => 1 });
# Leave meson.build
create_empty_file("${builddir}/build.ninja");
@@ -106,7 +106,7 @@ sub run_auto_buildable_tests {
# Leave ninja.build
# Meson + ninja
- test_check_auto_buildable($bs{meson}, "meson.build+build.ninja", { configure => 1, build => 1, clean => 1, install => 1, test => 1 });
+ test_check_auto_buildable($bs{'meson+ninja'}, "meson.build+build.ninja", { configure => 1, build => 1, clean => 1, install => 1, test => 1 });
rm_files("${sourcedir}/meson.build", "${builddir}/build.ninja");
# With Makefile
@@ -120,9 +120,9 @@ sub run_auto_buildable_tests {
# ... +cmake
create_empty_file("${sourcedir}/CMakeLists.txt");
- test_check_auto_buildable($bs{cmake}, "CMakeLists.txt+Makefile", 1);
+ test_check_auto_buildable($bs{'cmake+makefile'}, "CMakeLists.txt+Makefile", 1);
create_empty_file("$builddir/CMakeCache.txt"); # strong evidence that cmake was run
- test_check_auto_buildable($bs{cmake}, "CMakeCache.txt+Makefile", 2);
+ test_check_auto_buildable($bs{'cmake+makefile'}, "CMakeCache.txt+Makefile", 2);
rm_files("${builddir}/Makefile", "${sourcedir}/CMakeLists.txt");
# Makefile.PL forces in-source
@@ -189,7 +189,7 @@ sub run_autoselection_tests {
# CMake
create_empty_file("${sourcedir}/CMakeLists.txt");
test_autoselection("cmake without CMakeCache.txt",
- { configure => "cmake", build => "makefile",
+ { configure => "cmake+makefile", build => "makefile",
test => "makefile", install => "makefile",
clean => "makefile"
},
@@ -201,7 +201,7 @@ sub run_autoselection_tests {
create_empty_file("${sourcedir}/CMakeLists.txt");
test_autoselection("cmake with CMakeCache.txt",
- "cmake",
+ "cmake+makefile",
%options,
code_configure => sub {
create_empty_file("$builddir/Makefile");
diff --git a/t/buildsystems/autoconf/configure b/t/buildsystems/autoconf/configure
index 73715c8d..07e416ce 100755
--- a/t/buildsystems/autoconf/configure
+++ b/t/buildsystems/autoconf/configure
@@ -13,17 +13,24 @@ my @OPTIONS=qw(
^--infodir=\$\{prefix\}/share/info$
^--sysconfdir=/etc$
^--localstatedir=/var$
- ^--libexecdir=\$\{prefix\}/lib/.*$
^--libdir=\$\{prefix\}/lib/.*$
^--disable-silent-rules$
^--disable-maintainer-mode$
^--disable-dependency-tracking$
);
+# Not always passed (e.g. --libexecdir is skipped in compat 12)
+my @OPTIONAL_ARGUMENTS = qw(
+ ^--libexecdir=\$\{prefix\}/lib/.*$
+);
+
# Verify if all command line arguments were passed
my @options = map { { regex => qr/$_/,
str => $_,
found => 0 } } @OPTIONS;
+push(@options, map { { regex => qr/$_/,
+ str => $_,
+ found => 1 } } @OPTIONAL_ARGUMENTS);
my @extra_args;
ARGV_LOOP: foreach my $arg (@ARGV) {
foreach my $opt (@options) {
diff --git a/t/buildsystems/buildsystem_tests.t b/t/buildsystems/buildsystem_tests.t
index 4f1cc53d..fdda3029 100755
--- a/t/buildsystems/buildsystem_tests.t
+++ b/t/buildsystems/buildsystem_tests.t
@@ -252,6 +252,7 @@ $ENV{DEB_BUILD_OPTIONS} = "parallel=5";
$tmp = write_debian_rules(<<'EOF');
#!/usr/bin/make -f
+export DEB_RULES_REQUIRES_ROOT:=no
override_dh_auto_build:
$(MAKE)
%:
diff --git a/t/debhelper-compat/debian/control b/t/debhelper-compat/debian/control
new file mode 100644
index 00000000..1f18f4db
--- /dev/null
+++ b/t/debhelper-compat/debian/control
@@ -0,0 +1,12 @@
+Source: foo
+Section: misc
+Priority: optional
+Build-Depends: BUILD_DEPENDS
+Maintainer: Test <testing@nowhere>
+Rules-Requires-Root: no
+Standards-Version: 3.9.8
+
+Package: foo
+Architecture: all
+Description: package foo
+ Package foo
diff --git a/t/debhelper-compat/syntax.t b/t/debhelper-compat/syntax.t
new file mode 100755
index 00000000..9c0987d6
--- /dev/null
+++ b/t/debhelper-compat/syntax.t
@@ -0,0 +1,82 @@
+#!/usr/bin/perl
+use strict;
+use warnings;
+use Test::More;
+
+use File::Basename qw(dirname);
+use File::Temp qw(tempdir);
+use lib dirname(dirname(__FILE__));
+use Test::DH;
+
+use Debian::Debhelper::Dh_Lib qw(!dirname);
+
+my $TEST_DIR = dirname(__FILE__);
+
+sub test_build_depends {
+ my ($level, $build_depends) = @_;
+ my $dir = tempdir(CLEANUP => 1);
+ if (not mkdir("$dir/debian", 0777)) {
+ error("mkdir $dir/debian failed: $!");
+ }
+ open my $in, '<', "$TEST_DIR/debian/control" or
+ error("open $TEST_DIR/debian/control failed: $!");
+ open my $out, '>', "$dir/debian/control" or
+ error("open $dir/debian/control failed: $!");
+ while (<$in>) {
+ s/BUILD_DEPENDS/$build_depends/;
+ print $out $_ or
+ error("write to $dir/debian/control failed: $!");
+ }
+ close($out) or
+ error("close $dir/debian/control failed: $!");
+ close($in);
+
+ my $start_dir = Test::DH::cwd();
+ chdir($dir) or error("chdir($dir): $!");
+
+ plan(tests => 5);
+
+ local $ENV{DH_INTERNAL_TESTSUITE_SILENT_WARNINGS} = 1;
+ Debian::Debhelper::Dh_Lib::resetpackages;
+ Debian::Debhelper::Dh_Lib::resetcompat;
+ my @pkgs = getpackages;
+ ok(scalar @pkgs == 1);
+ ok($pkgs[0] eq 'foo');
+
+ ok(compat($level));
+ ok(compat($level + 1));
+ ok(!compat($level - 1));
+
+ chdir($start_dir) or
+ error("chdir($start_dir): $!");
+}
+
+my @levels = non_deprecated_compat_levels;
+plan(tests => scalar @levels);
+
+for my $level (@levels) {
+ subtest "compat $level" => sub {
+ plan(tests => 7);
+ subtest 'only' => sub {
+ test_build_depends($level, "debhelper-compat (= $level)");
+ };
+ subtest 'first' => sub {
+ test_build_depends($level, "debhelper-compat (= $level), bar");
+ };
+ subtest 'second' => sub {
+ test_build_depends($level, "bar, debhelper-compat (= $level)");
+ };
+ subtest 'first-nl' => sub {
+ test_build_depends($level, "debhelper-compat (= $level),\n bar");
+ };
+ subtest 'second-nl' => sub {
+ test_build_depends($level, "bar,\n debhelper-compat (= $level)");
+ };
+ subtest 'nl-first' => sub {
+ test_build_depends($level, "\n debhelper-compat (= $level),\n bar");
+ };
+ subtest 'nl-second' => sub {
+ test_build_depends($level, "\n bar,\n debhelper-compat (= $level)");
+ };
+ };
+}
diff --git a/t/dh-sequencer.t b/t/dh-sequencer.t
new file mode 100755
index 00000000..dd5c264a
--- /dev/null
+++ b/t/dh-sequencer.t
@@ -0,0 +1,173 @@
+#!/usr/bin/perl
+
+use strict;
+use warnings;
+use Test::More;
+
+use Debian::Debhelper::SequencerUtil;
+
+# Shorten variants of the sequences.
+my @bd = (qw{
+ dh_testdir
+ dh_auto_configure
+ dh_auto_build
+ dh_auto_test
+});
+my @i = (qw{
+ dh_testroot
+ dh_prep
+ dh_auto_install
+
+ dh_install
+ dh_missing
+});
+my @ba=qw{
+ dh_strip
+ dh_makeshlibs
+ dh_shlibdeps
+};
+my @b=qw{
+ dh_installdeb
+ dh_gencontrol
+ dh_builddeb
+};
+
+my %sequences = (
+ 'build-indep' => [@bd],
+ 'build-arch' => [@bd],
+ 'build' => [to_rules_target("build-arch"), to_rules_target("build-indep")],
+
+ 'install-indep' => [to_rules_target("build-indep"), @i],
+ 'install-arch' => [to_rules_target("build-arch"), @i],
+ 'install' => [to_rules_target("build"), to_rules_target("install-arch"), to_rules_target("install-indep")],
+
+ 'binary-indep' => [to_rules_target("install-indep"), @b],
+ 'binary-arch' => [to_rules_target("install-arch"), @ba, @b],
+ 'binary' => [to_rules_target("install"), to_rules_target("binary-arch"), to_rules_target("binary-indep")],
+);
+
+my %sequences_unpacked = (
+ 'build-indep' => [@bd],
+ 'build-arch' => [@bd],
+ 'build' => [@bd],
+
+ 'install-indep' => [@bd, @i],
+ 'install-arch' => [@bd, @i],
+ 'install' => [@bd, @i],
+
+ 'binary-indep' => [@bd, @i, @b],
+ 'binary-arch' => [@bd, @i, @ba, @b],
+ 'binary' => [@bd, @i, @ba, @b],
+);
+
+plan tests => 11 + 3 * scalar(keys(%sequences));
+
+# We will horse around with %EXPLICIT_TARGETS in this test; it should
+# definitely not attempt to read d/rules or the test will be break.
+$Debian::Debhelper::SequencerUtil::RULES_PARSED = 1;
+
+
+is_deeply(
+ [unpack_sequence(\%sequences, 'build')],
+ [[], $sequences_unpacked{'build'}],
+ 'Inlined build sequence matches build-indep/build-arch');
+
+is_deeply(
+ [unpack_sequence(\%sequences, 'install')],
+ [[], $sequences_unpacked{'install'}],
+ 'Inlined install sequence matches build-indep/build-arch + install commands');
+
+is_deeply(
+ [unpack_sequence(\%sequences, 'binary-arch')],
+ [[], $sequences_unpacked{'binary-arch'}],
+ 'Inlined binary-arch sequence has all the commands');
+
+is_deeply(
+ [unpack_sequence(\%sequences, 'binary-indep')],
+ [[], $sequences_unpacked{'binary-indep'}],
+ 'Inlined binary-indep sequence has all the commands except @bd');
+
+is_deeply(
+ [unpack_sequence(\%sequences, 'binary')],
+ [[], $sequences_unpacked{'binary'}],
+ 'Inlined binary sequence has all the commands');
+
+
+is_deeply(
+ [unpack_sequence(\%sequences, 'binary', 0, { 'build' => 1, 'build-arch' => 1, 'build-indep' => 1})],
+ [[], [@i, @ba, @b]],
+ 'Inlined binary sequence with build-* done has @i, @ba and @b');
+
+{
+ local $Debian::Debhelper::SequencerUtil::EXPLICIT_TARGETS{'build'} = 1;
+
+ is_deeply(
+ [unpack_sequence(\%sequences, 'binary')],
+ [[to_rules_target('build')], [@i, @ba, @b]],
+ 'Inlined binary sequence has all the commands but build target is opaque');
+
+ is_deeply(
+ [unpack_sequence(\%sequences, 'binary', 0, { 'build' => 1, 'build-arch' => 1, 'build-indep' => 1})],
+ [[], [@i, @ba, @b]],
+ 'Inlined binary sequence has all the commands with build-* done and not build-target');
+
+ is_deeply(
+ [unpack_sequence(\%sequences, 'build')],
+ [[], $sequences_unpacked{'build'}],
+ 'build sequence is inlineable');
+
+
+ # Compat <= 8 ignores explicit targets!
+ for my $seq_name (sort(keys(%sequences))) {
+ is_deeply(
+ [unpack_sequence(\%sequences, $seq_name, 1)],
+ [[], $sequences_unpacked{$seq_name}],
+ "Compat <= 8 ignores explicit build target in sequence ${seq_name}");
+ }
+}
+
+{
+ local $Debian::Debhelper::SequencerUtil::EXPLICIT_TARGETS{'install-arch'} = 1;
+
+ is_deeply(
+ [unpack_sequence(\%sequences, 'binary')],
+ # @bd_minimal, @bd and @i should be "-i"-only, @ba + @b should be both.
+ # Unfortunately, unpack_sequence cannot show that.
+ [[to_rules_target('install-arch')], [@bd, @i, @ba, @b]],
+ 'Inlined binary sequence has all the commands');
+
+ # Compat <= 8 ignores explicit targets!
+ for my $seq_name (sort(keys(%sequences))) {
+ is_deeply(
+ [unpack_sequence(\%sequences, $seq_name, 1)],
+ [[], $sequences_unpacked{$seq_name}],
+ "Compat <= 8 ignores explicit install-arch target in sequence ${seq_name}");
+ }
+}
+
+{
+ local $Debian::Debhelper::SequencerUtil::EXPLICIT_TARGETS{'install-arch'} = 1;
+ local $Debian::Debhelper::SequencerUtil::EXPLICIT_TARGETS{'build'} = 1;
+
+ my $actual = [unpack_sequence(\%sequences, 'binary')];
+ # @i should be "-i"-only, @ba + @b should be both.
+ # Unfortunately, unpack_sequence cannot show that.
+ my $expected = [[to_rules_target('build'), to_rules_target('install-arch')], [@i, @ba, @b]];
+ # Permit some fuzz on the order between build and install-arch
+ if ($actual->[0][0] eq to_rules_target('install-arch')) {
+ $expected->[0][0] = to_rules_target('install-arch');
+ $expected->[0][1] = to_rules_target('build');
+ }
+ is_deeply(
+ $actual,
+ $expected,
+ 'Inlined binary sequence has all the commands');
+
+ # Compat <= 8 ignores explicit targets!
+ for my $seq_name (sort(keys(%sequences))) {
+ is_deeply(
+ [unpack_sequence(\%sequences, $seq_name, 1)],
+ [[], $sequences_unpacked{$seq_name}],
+ "Compat <= 8 ignores explicit build + install-arch targets in sequence ${seq_name}");
+ }
+}
diff --git a/t/dh_compress.t b/t/dh_compress.t
index b2055f0c..1eb61567 100755
--- a/t/dh_compress.t
+++ b/t/dh_compress.t
@@ -13,7 +13,7 @@ use Debian::Debhelper::Dh_Lib qw(!dirname);
my $PREFIX = 'debian/debhelper/usr/share/doc/debhelper';
-plan tests => 1;
+plan tests => 2;
each_compat_subtest {
# we are testing compressing doc txt files
@@ -82,27 +82,28 @@ each_compat_subtest {
rm_test_dir();
};
+each_compat_from_and_above_subtest(12, sub {
+ make_path("${PREFIX}/examples");
+ create_file_of_size("${PREFIX}/examples/foo.py", 5120);
+ ok(run_dh_tool('dh_compress'));
+ ok(-f "${PREFIX}/examples/foo.py", "${PREFIX}/examples/foo.py is not compressed");
+ ok(! -f "${PREFIX}/examples/foo.py.gz", "${PREFIX}/examples/foo.py is not compressed");
+});
+
+sub create_file_of_size {
+ my ($filename, $size) = @_;
+ open(my $fh, '>', $filename) or error("open($filename) failed: $!");
+ print {$fh} 'X' x $size;
+ close($fh) or error("close($filename) failed: $!");
+}
sub mk_test_dir {
rm_test_dir();
- make_path('debian/debhelper/usr/share/doc/debhelper');
-
- my $fh;
-
- # write 2k to foo.txt
- open $fh, '>', 'debian/debhelper/usr/share/doc/debhelper/foo.txt'
- or die "Could not write to debian/debhelper/usr/share/doc/debhelper/foo.txt: $!";
- print $fh 'X' x 2048;
- close $fh
- or die "Could not write to debian/debhelper/usr/share/doc/debhelper/bar.txt: $!";
+ make_path($PREFIX);
- # write 5k to bar.txt
- open $fh, '>', 'debian/debhelper/usr/share/doc/debhelper/bar.txt'
- or die "Could not write to debian/debhelper/usr/share/doc/debhelper/bar.txt: $!";
- print $fh 'X' x 5120;
- close $fh
- or die "Could not write to debian/debhelper/usr/share/doc/debhelper/bar.txt: $!";
+ create_file_of_size("${PREFIX}/foo.txt", 2048);
+ create_file_of_size("${PREFIX}/bar.txt", 5120);
}
sub rm_test_dir {
diff --git a/t/dh_installdocs/debian/control b/t/dh_installdocs/debian/control
index 48d4de2f..7e9a2282 100644
--- a/t/dh_installdocs/debian/control
+++ b/t/dh_installdocs/debian/control
@@ -2,6 +2,7 @@ Source: foo
Section: misc
Priority: optional
Maintainer: Test <testing@nowhere>
+Rules-Requires-Root: no
Standards-Version: 3.9.8
Package: foo
diff --git a/t/dh_installdocs/dh_installdocs.t b/t/dh_installdocs/dh_installdocs.t
index 86746cfc..64f12546 100755
--- a/t/dh_installdocs/dh_installdocs.t
+++ b/t/dh_installdocs/dh_installdocs.t
@@ -16,15 +16,10 @@ our @TEST_DH_EXTRA_TEMPLATE_FILES = (qw(
debian/copyright
));
-if (uid_0_test_is_ok()) {
- plan(tests => 5);
-} else {
- plan skip_all => 'fakeroot required';
-}
-
-my $NEEDS_ROOT = { 'needs_root' => 1 };
-my $NEEDS_ROOT_NODOC_PROFILE = {
- 'needs_root' => 1,
+plan(tests => 5);
+
+
+my $NODOC_PROFILE = {
'env' => {
'DEB_BUILD_PROFILES' => 'nodoc',
},
@@ -33,14 +28,14 @@ my $NEEDS_ROOT_NODOC_PROFILE = {
my $doc = "debian/docfile";
each_compat_subtest {
- ok(run_dh_tool($NEEDS_ROOT, 'dh_installdocs', '-pbar', $doc));
+ ok(run_dh_tool('dh_installdocs', '-pbar', $doc));
ok(-e "debian/bar/usr/share/doc/bar/docfile");
remove_tree(qw(debian/foo debian/bar debian/baz));
};
each_compat_subtest {
#regression in debhelper 9.20160702 (#830309)
- ok(run_dh_tool($NEEDS_ROOT, 'dh_installdocs', '-pbaz', '--link-doc=foo', $doc));
+ ok(run_dh_tool('dh_installdocs', '-pbaz', '--link-doc=foo', $doc));
ok(-l "debian/baz/usr/share/doc/baz");
ok(readlink("debian/baz/usr/share/doc/baz") eq 'foo');
@@ -49,7 +44,7 @@ each_compat_subtest {
};
each_compat_subtest {
- ok(run_dh_tool($NEEDS_ROOT, 'dh_installdocs', '-pfoo', '--link-doc=bar', $doc));
+ ok(run_dh_tool('dh_installdocs', '-pfoo', '--link-doc=bar', $doc));
ok(-l "debian/foo/usr/share/doc/foo");
ok(readlink("debian/foo/usr/share/doc/foo") eq 'bar');
@@ -61,7 +56,7 @@ each_compat_subtest {
each_compat_subtest {
# docs are ignored, but copyright file is still there
- ok(run_dh_tool($NEEDS_ROOT_NODOC_PROFILE, 'dh_installdocs', $doc));
+ ok(run_dh_tool($NODOC_PROFILE, 'dh_installdocs', $doc));
for my $pkg (qw(foo bar baz)) {
ok(! -e "debian/$pkg/usr/share/doc/$pkg/docfile");
ok(-e "debian/$pkg/usr/share/doc/$pkg/copyright");
@@ -71,7 +66,7 @@ each_compat_subtest {
each_compat_subtest {
# docs are ignored, but symlinked doc dir is still there
- ok(run_dh_tool($NEEDS_ROOT_NODOC_PROFILE, 'dh_installdocs', '-pfoo', '--link-doc=bar', $doc));
+ ok(run_dh_tool($NODOC_PROFILE, 'dh_installdocs', '-pfoo', '--link-doc=bar', $doc));
ok(-l "debian/foo/usr/share/doc/foo");
ok(readlink("debian/foo/usr/share/doc/foo") eq 'bar');
ok(! -e "debian/foo/usr/share/doc/bar/docfile");
diff --git a/t/dh_installinit/dh_installinit.t b/t/dh_installinit/dh_installinit.t
index 20860f19..b20caa58 100755
--- a/t/dh_installinit/dh_installinit.t
+++ b/t/dh_installinit/dh_installinit.t
@@ -14,17 +14,13 @@ our @TEST_DH_EXTRA_TEMPLATE_FILES = (qw(
debian/foo.service
));
-if (uid_0_test_is_ok()) {
- plan(tests => 2);
-} else {
- plan skip_all => 'fakeroot required';
-}
+plan(tests => 2);
each_compat_up_to_and_incl_subtest(10, sub {
make_path(qw(debian/foo debian/bar debian/baz));
- ok(run_dh_tool({ 'needs_root' => 1 }, 'dh_installinit'));
+ ok(run_dh_tool('dh_installinit'));
ok(-e "debian/foo/lib/systemd/system/foo.service");
- ok(-e "debian/foo.postinst.debhelper");
+ ok(find_script('foo', 'postinst'));
ok(run_dh_tool('dh_clean'));
});
@@ -32,15 +28,15 @@ each_compat_up_to_and_incl_subtest(10, sub {
each_compat_from_and_above_subtest(11, sub {
make_path(qw(debian/foo debian/bar debian/baz));
- ok(run_dh_tool({ 'needs_root' => 1 }, 'dh_installinit'));
+ ok(run_dh_tool('dh_installinit'));
ok(! -e "debian/foo/lib/systemd/system/foo.service");
- ok(! -e "debian/foo.postinst.debhelper");
+ ok(!find_script('foo', 'postinst'));
ok(run_dh_tool('dh_clean'));
make_path(qw(debian/foo/lib/systemd/system/ debian/bar debian/baz));
install_file('debian/foo.service', 'debian/foo/lib/systemd/system/foo.service');
- ok(run_dh_tool({ 'needs_root' => 1 }, 'dh_installinit'));
- ok(! -e "debian/foo.postinst.debhelper");
+ ok(run_dh_tool('dh_installinit'));
+ ok(!find_script('foo', 'postinst'));
ok(run_dh_tool('dh_clean'));
});
diff --git a/t/dh_installsystemd/debian/foo.init b/t/dh_installsystemd/debian/foo.init
new file mode 100644
index 00000000..2b77921a
--- /dev/null
+++ b/t/dh_installsystemd/debian/foo.init
@@ -0,0 +1,4 @@
+#!/bin/sh
+
+some script
+
diff --git a/t/dh_installsystemd/dh_installsystemd.t b/t/dh_installsystemd/dh_installsystemd.t
index 70133b97..7029c615 100755
--- a/t/dh_installsystemd/dh_installsystemd.t
+++ b/t/dh_installsystemd/dh_installsystemd.t
@@ -8,17 +8,17 @@ use Test::DH;
use File::Path qw(remove_tree make_path);
use Debian::Debhelper::Dh_Lib qw(!dirname);
-our @TEST_DH_EXTRA_TEMPLATE_FILES = (qw(
- debian/changelog
- debian/control
- debian/foo.service
- debian/foo2.service
-));
+plan(tests => 2);
-if (uid_0_test_is_ok()) {
- plan(tests => 2);
-} else {
- plan skip_all => 'fakeroot required';
+sub write_file {
+ my ($path, $content) = @_;
+
+ my $dir = dirname($path);
+ install_dir($dir);
+
+ open(my $fd, '>>', $path) or error("open($path) failed: $!");
+ print {$fd} $content . '\n';
+ close($fd) or error("close($path) failed: $!");
}
sub unit_is_enabled {
@@ -26,31 +26,84 @@ sub unit_is_enabled {
my @output;
my $matches;
$num_masks = $num_masks // $num_enables;
- @output=`cat debian/$package.postinst.debhelper`;
- $matches = grep { m{^if deb-systemd-helper .* was-enabled .*'\Q$unit\E\.service'} } @output;
+ my @postinst_snippets = find_script($package, 'postinst');
+ @output=`cat @postinst_snippets` if @postinst_snippets;
+ # Match exactly one tab; the "dont-enable" script has an "enable"
+ # line for re-enabling the service if the admin had it enabled.
+ # But we do not want to include that in our count.
+ $matches = grep { m{^\tif deb-systemd-helper .* was-enabled .*'\Q$unit\E\.service'} } @output;
ok($matches == $num_enables) or diag("$unit appears to have been enabled $matches times (expected $num_enables)");
- @output=`cat debian/$package.postrm.debhelper`;
+ my @postrm_snippets = find_script($package, 'postrm');
+ @output=`cat @postrm_snippets` if @postrm_snippets;
$matches = grep { m{deb-systemd-helper mask.*'\Q$unit\E\.service'} } @output;
ok($matches == $num_masks) or diag("$unit appears to have been masked $matches times (expected $num_masks)");
}
+
sub unit_is_started {
my ($package, $unit, $num_starts, $num_stops) = @_;
my @output;
my $matches;
$num_stops = $num_stops // $num_starts;
- @output=`cat debian/$package.postinst.debhelper`;
+ my @postinst_snippets = find_script($package, 'postinst');
+ @output=`cat @postinst_snippets` if @postinst_snippets;
$matches = grep { m{deb-systemd-invoke \$_dh_action .*'\Q$unit\E.service'} } @output;
ok($matches == $num_starts) or diag("$unit appears to have been started $matches times (expected $num_starts)");
- @output=`cat debian/$package.prerm.debhelper`;
+ my @prerm_snippets = find_script($package, 'prerm');
+ @output=`cat @prerm_snippets` if @prerm_snippets;
$matches = grep { m{deb-systemd-invoke stop .*'\Q$unit\E.service'} } @output;
ok($matches == $num_stops) or diag("$unit appears to have been stopped $matches times (expected $num_stops)");
}
-# Units are installed and enabled
-each_compat_from_and_above_subtest(11, sub {
- ok(run_dh_tool({ 'needs_root' => 1 }, 'dh_installsystemd'));
- ok(-e "debian/foo/lib/systemd/system/foo.service");
- ok(-e "debian/foo.postinst.debhelper");
+
+#
+# Test a simple source package defining a single binary package
+#
+our $TEST_DH_FIXTURE_DIR = 'simple';
+our @TEST_DH_EXTRA_TEMPLATE_FILES = (qw(
+ debian/changelog
+ debian/control
+ debian/foo.service
+));
+
+each_compat_subtest {
+ ok(run_dh_tool('dh_installsystemd'));
+ ok(-e 'debian/foo/lib/systemd/system/foo.service');
+ ok(find_script('foo', 'postinst'));
+ unit_is_enabled('foo', 'foo', 1);
+ unit_is_started('foo', 'foo', 1);
+ ok(run_dh_tool('dh_clean'));
+
+ ok(run_dh_tool('dh_installsystemd', '--no-start'));
+ ok(-e 'debian/foo/lib/systemd/system/foo.service');
+ ok(find_script('foo', 'postinst'));
+ unit_is_enabled('foo', 'foo', 1);
+ unit_is_started('foo', 'foo', 0, 1);
+ ok(run_dh_tool('dh_clean'));
+
+ ok(run_dh_tool('dh_installsystemd', '--no-start', 'foo.service'));
+ ok(-e 'debian/foo/lib/systemd/system/foo.service');
+ ok(find_script('foo', 'postinst'));
+ unit_is_enabled('foo', 'foo', 1);
+ unit_is_started('foo', 'foo', 0, 1);
+ ok(run_dh_tool('dh_clean'));
+};
+
+
+#
+# Test a more complex source package defining three binary packages
+#
+$TEST_DH_FIXTURE_DIR = '.';
+@TEST_DH_EXTRA_TEMPLATE_FILES = (qw(
+ debian/changelog
+ debian/control
+ debian/foo.service
+ debian/foo2.service
+));
+
+each_compat_subtest {
+ ok(run_dh_tool( 'dh_installsystemd'));
+ ok(-e 'debian/foo/lib/systemd/system/foo.service');
+ ok(find_script('foo', 'postinst'));
unit_is_enabled('foo', 'foo', 1);
unit_is_started('foo', 'foo', 1);
unit_is_enabled('foo', 'foo2', 0);
@@ -59,9 +112,9 @@ each_compat_from_and_above_subtest(11, sub {
make_path('debian/foo/lib/systemd/system/');
install_file('debian/foo2.service', 'debian/foo/lib/systemd/system/foo2.service');
- ok(run_dh_tool({ 'needs_root' => 1 }, 'dh_installsystemd'));
- ok(-e "debian/foo/lib/systemd/system/foo.service");
- ok(-e "debian/foo.postinst.debhelper");
+ ok(run_dh_tool('dh_installsystemd'));
+ ok(-e 'debian/foo/lib/systemd/system/foo.service');
+ ok(find_script('foo', 'postinst'));
unit_is_enabled('foo', 'foo', 1);
unit_is_started('foo', 'foo', 1);
unit_is_enabled('foo', 'foo2', 1);
@@ -70,9 +123,9 @@ each_compat_from_and_above_subtest(11, sub {
make_path('debian/foo/lib/systemd/system/');
install_file('debian/foo2.service', 'debian/foo/lib/systemd/system/foo2.service');
- ok(run_dh_tool({ 'needs_root' => 1 }, 'dh_installsystemd', '--no-start'));
- ok(-e "debian/foo/lib/systemd/system/foo.service");
- ok(-e "debian/foo.postinst.debhelper");
+ ok(run_dh_tool('dh_installsystemd', '--no-start'));
+ ok(-e 'debian/foo/lib/systemd/system/foo.service');
+ ok(find_script('foo', 'postinst'));
unit_is_enabled('foo', 'foo', 1);
unit_is_started('foo', 'foo', 0, 1); # present units are stopped on remove even if no start
unit_is_enabled('foo', 'foo2', 1);
@@ -81,10 +134,10 @@ each_compat_from_and_above_subtest(11, sub {
make_path('debian/foo/lib/systemd/system/');
install_file('debian/foo2.service', 'debian/foo/lib/systemd/system/foo2.service');
- ok(run_dh_tool({ 'needs_root' => 1 }, 'dh_installsystemd', '--no-start', 'debian/foo.service'));
- ok(run_dh_tool({ 'needs_root' => 1 }, 'dh_installsystemd', '-p', 'foo', 'foo2.service'));
- ok(-e "debian/foo/lib/systemd/system/foo.service");
- ok(-e "debian/foo.postinst.debhelper");
+ ok(run_dh_tool('dh_installsystemd', '-p', 'foo', '--no-start', 'foo.service'));
+ ok(run_dh_tool('dh_installsystemd', '-p', 'foo', 'foo2.service'));
+ ok(-e 'debian/foo/lib/systemd/system/foo.service');
+ ok(find_script('foo', 'postinst'));
unit_is_enabled('foo', 'foo', 1);
unit_is_started('foo', 'foo', 0, 1);
unit_is_enabled('foo', 'foo2', 1);
@@ -93,10 +146,10 @@ each_compat_from_and_above_subtest(11, sub {
make_path('debian/foo/lib/systemd/system/');
install_file('debian/foo2.service', 'debian/foo/lib/systemd/system/foo2.service');
- ok(run_dh_tool({ 'needs_root' => 1 }, 'dh_installsystemd', '--no-enable', 'debian/foo.service'));
- ok(run_dh_tool({ 'needs_root' => 1 }, 'dh_installsystemd', '-p', 'foo', 'foo2.service'));
- ok(-e "debian/foo/lib/systemd/system/foo.service");
- ok(-e "debian/foo.postinst.debhelper");
+ ok(run_dh_tool('dh_installsystemd', '-p', 'foo', '--no-enable', 'foo.service'));
+ ok(run_dh_tool('dh_installsystemd', '-p', 'foo', 'foo2.service'));
+ ok(-e 'debian/foo/lib/systemd/system/foo.service');
+ ok(find_script('foo', 'postinst'));
unit_is_enabled('foo', 'foo', 0, 1); # Disabled units are still masked on removal
unit_is_started('foo', 'foo', 1, 1);
unit_is_enabled('foo', 'foo2', 1);
@@ -104,15 +157,17 @@ each_compat_from_and_above_subtest(11, sub {
ok(run_dh_tool('dh_clean'));
make_path('debian/foo/lib/systemd/system/');
- ok(run_dh_tool({ 'needs_root' => 1 }, 'dh_installsystemd', '--no-restart-after-upgrade'));
- my $matches = grep { m{deb-systemd-invoke start .*foo.service} } `cat debian/foo.postinst.debhelper`;
+ ok(run_dh_tool('dh_installsystemd', '--no-restart-after-upgrade'));
+ my @foo_postinst = find_script('foo', 'postinst');
+ ok(@foo_postinst);
+ my $matches = @foo_postinst ? grep { m{deb-systemd-invoke start .*foo.service} } `cat @foo_postinst` : -1;
ok($matches == 1);
ok(run_dh_tool('dh_clean'));
# Quoting #764730
make_path('debian/foo/lib/systemd/system/');
install_file('debian/foo.service', 'debian/foo/lib/systemd/system/foo\x2dfuse.service');
- ok(run_dh_tool({ 'needs_root' => 1 }, 'dh_installsystemd'));
+ ok(run_dh_tool('dh_installsystemd'));
unit_is_enabled('foo', 'foo\x2dfuse', 1);
unit_is_started('foo', 'foo\x2dfuse', 1);
ok(run_dh_tool('dh_clean'));
@@ -120,30 +175,40 @@ each_compat_from_and_above_subtest(11, sub {
# --name flag #870768
make_path('debian/foo/lib/systemd/system/');
install_file('debian/foo2.service', 'debian/foo/lib/systemd/system/foo2.service');
- ok(run_dh_tool({ 'needs_root' => 1 }, 'dh_installsystemd', '--name=foo'));
+ ok(run_dh_tool('dh_installsystemd', '--name=foo'));
unit_is_enabled('foo', 'foo', 1);
unit_is_started('foo', 'foo', 1);
unit_is_enabled('foo', 'foo2', 0);
unit_is_started('foo', 'foo2', 0);
- ok(run_dh_tool({ 'needs_root' => 1 }, 'dh_installsystemd', '--name=foo2'));
+ ok(run_dh_tool('dh_installsystemd', '--name=foo2'));
unit_is_enabled('foo', 'foo', 1);
unit_is_started('foo', 'foo', 1);
unit_is_enabled('foo', 'foo2', 1);
unit_is_started('foo', 'foo2', 1);
ok(run_dh_tool('dh_clean'));
-});
-
-each_compat_up_to_and_incl_subtest(10, sub {
- ok(run_dh_tool({ 'needs_root' => 1 }, 'dh_installsystemd'));
- ok(! -e "debian/foo/lib/systemd/system/foo.service");
- ok(! -e "debian/foo.postinst.debhelper");
+ make_path('debian/foo/lib/systemd/system/');
+ install_file('debian/foo.service', 'debian/foo/lib/systemd/system/target.service');
+ make_symlink_raw_target('target.service', 'debian/foo/lib/systemd/system/source.service');
+ ok(run_dh_tool('dh_installsystemd'));
+ unit_is_enabled('foo', 'foo', 1);
+ # Alias= realized by symlinks are not enabled in maintaner scripts
+ unit_is_enabled('foo', 'source', 0);
+ unit_is_enabled('foo', 'target', 1);
ok(run_dh_tool('dh_clean'));
- make_path(qw(debian/foo/lib/systemd/system/));
- install_file('debian/foo.service', 'debian/foo/lib/systemd/system/foo.service');
- ok(run_dh_tool({ 'needs_root' => 1 }, 'dh_installsystemd'));
- ok(! -e "debian/foo.postinst.debhelper");
+ make_path('debian/foo/lib/systemd/system/');
+ make_path('debian/foo/etc/init.d/');
+ install_file('debian/foo.service', 'debian/foo/lib/systemd/system/target.service');
+ make_symlink_raw_target('target.service', 'debian/foo/lib/systemd/system/source.service');
+ write_file('debian/foo/etc/init.d/source', '# something');
+ ok(run_dh_tool('dh_installsystemd'));
+ unit_is_enabled('foo', 'foo', 1);
+ # Alias= realized by symlinks are not enabled in maintaner scripts
+ unit_is_enabled('foo', 'source', 0);
+ unit_is_enabled('foo', 'target', 1);
+ # The presence of a sysvinit script for the alias unit inhibits start of both
+ unit_is_started('foo', 'source', 0);
+ unit_is_started('foo', 'target', 0);
ok(run_dh_tool('dh_clean'));
-});
-
+};
diff --git a/t/dh_installsystemd/dh_installsystemd_tmpfiles.t b/t/dh_installsystemd/dh_installsystemd_tmpfiles.t
new file mode 100755
index 00000000..a2739812
--- /dev/null
+++ b/t/dh_installsystemd/dh_installsystemd_tmpfiles.t
@@ -0,0 +1,45 @@
+#!/usr/bin/perl
+use strict;
+use Test::More;
+
+use File::Basename qw(dirname);
+use lib dirname(dirname(__FILE__));
+use Test::DH;
+use File::Path qw(remove_tree make_path);
+use Debian::Debhelper::Dh_Lib qw(!dirname);
+
+our @TEST_DH_EXTRA_TEMPLATE_FILES = (qw(
+ debian/changelog
+ debian/control
+ debian/foo.service
+ debian/foo.init
+));
+
+plan(tests => 1);
+
+# Units are installed and enabled
+each_compat_from_and_above_subtest(11, sub {
+ make_path('debian/foo/usr/lib/tmpfiles.d');
+ create_empty_file('debian/foo/usr/lib/tmpfiles.d/foo.conf');
+ ok(run_dh_tool('dh_installinit'));
+ ok(run_dh_tool('dh_installsystemd'));
+ ok(-e "debian/foo/etc/init.d/foo");
+ ok(-e "debian/foo/lib/systemd/system/foo.service");
+ my @postinst = find_script('foo', 'postinst');
+ # We should have too snippets (one for the tmpfiles and one for the services).
+ is(scalar(@postinst), 2);
+ if (scalar(@postinst) == 2) {
+ open(my $fd, '<', $postinst[0]) or error("open($postinst[0]) failed: $!");
+ my $early_snippet = readlines($fd);
+ close($fd);
+ open($fd, '<', $postinst[1]) or error("open($postinst[1]) failed: $!");
+ my $late_snippet = readlines($fd);
+ close($fd);
+ ok(! grep { m/(?:invoke|update)-rc.d|deb-systemd-invoke/ } @{$early_snippet});
+ ok(grep { m/(?:invoke|update)-rc.d|deb-systemd-invoke/ } @{$late_snippet});
+ ok(grep { m/systemd-tmpfiles/ } @{$early_snippet});
+ ok(! grep { m/systemd-tmpfiles/ } @{$late_snippet});
+ }
+ ok(run_dh_tool('dh_clean'));
+
+});
diff --git a/t/dh_installsystemd/dh_systemd.t b/t/dh_installsystemd/dh_systemd.t
index dee70965..d8ed5288 100755
--- a/t/dh_installsystemd/dh_systemd.t
+++ b/t/dh_installsystemd/dh_systemd.t
@@ -15,11 +15,7 @@ our @TEST_DH_EXTRA_TEMPLATE_FILES = (qw(
debian/foo2.service
));
-if (uid_0_test_is_ok()) {
- plan(tests => 1);
-} else {
- plan skip_all => 'fakeroot required';
-}
+plan(tests => 1);
sub unit_is_enabled {
my ($package, $unit, $num_enables, $num_masks) = @_;
@@ -27,7 +23,10 @@ sub unit_is_enabled {
my $matches;
$num_masks = $num_masks // $num_enables;
@output=`cat debian/$package.postinst.debhelper`;
- $matches = grep { m{^if deb-systemd-helper .* was-enabled .*'\Q$unit\E\.service'} } @output;
+ # Match exactly one tab; the "dont-enable" script has an "enable"
+ # line for re-enabling the service if the admin had it enabled.
+ # But we do not want to include that in our count.
+ $matches = grep { m{^\tif deb-systemd-helper .* was-enabled .*'\Q$unit\E\.service'} } @output;
ok($matches == $num_enables) or diag("$unit appears to have been enabled $matches times (expected $num_enables)");
@output=`cat debian/$package.postrm.debhelper`;
$matches = grep { m{deb-systemd-helper mask.*'\Q$unit\E\.service'} } @output;
@@ -48,8 +47,8 @@ sub unit_is_started {
# Units are installed and enabled
each_compat_up_to_and_incl_subtest(10, sub {
- ok(run_dh_tool({ 'needs_root' => 1 }, 'dh_systemd_enable'));
- ok(run_dh_tool({ 'needs_root' => 1 }, 'dh_systemd_start'));
+ ok(run_dh_tool('dh_systemd_enable'));
+ ok(run_dh_tool('dh_systemd_start'));
ok(-e "debian/foo/lib/systemd/system/foo.service");
ok(-e "debian/foo.postinst.debhelper");
unit_is_enabled('foo', 'foo', 1);
@@ -60,8 +59,8 @@ each_compat_up_to_and_incl_subtest(10, sub {
make_path('debian/foo/lib/systemd/system/');
install_file('debian/foo2.service', 'debian/foo/lib/systemd/system/foo2.service');
- ok(run_dh_tool({ 'needs_root' => 1 }, 'dh_systemd_enable'));
- ok(run_dh_tool({ 'needs_root' => 1 }, 'dh_systemd_start'));
+ ok(run_dh_tool('dh_systemd_enable'));
+ ok(run_dh_tool('dh_systemd_start'));
ok(-e "debian/foo/lib/systemd/system/foo.service");
ok(-e "debian/foo.postinst.debhelper");
unit_is_enabled('foo', 'foo', 1);
@@ -72,8 +71,8 @@ each_compat_up_to_and_incl_subtest(10, sub {
make_path('debian/foo/lib/systemd/system/');
install_file('debian/foo2.service', 'debian/foo/lib/systemd/system/foo2.service');
- ok(run_dh_tool({ 'needs_root' => 1 }, 'dh_systemd_enable'));
- ok(run_dh_tool({ 'needs_root' => 1 }, 'dh_systemd_start', '--no-start'));
+ ok(run_dh_tool('dh_systemd_enable'));
+ ok(run_dh_tool('dh_systemd_start', '--no-start'));
ok(-e "debian/foo/lib/systemd/system/foo.service");
ok(-e "debian/foo.postinst.debhelper");
unit_is_enabled('foo', 'foo', 1);
@@ -84,9 +83,9 @@ each_compat_up_to_and_incl_subtest(10, sub {
make_path('debian/foo/lib/systemd/system/');
install_file('debian/foo2.service', 'debian/foo/lib/systemd/system/foo2.service');
- ok(run_dh_tool({ 'needs_root' => 1 }, 'dh_systemd_enable'));
- ok(run_dh_tool({ 'needs_root' => 1 }, 'dh_systemd_start', '--no-start', 'debian/foo.service'));
- ok(run_dh_tool({ 'needs_root' => 1 }, 'dh_systemd_start', '-p', 'foo', 'foo2.service'));
+ ok(run_dh_tool('dh_systemd_enable'));
+ ok(run_dh_tool('dh_systemd_start', '--no-start', 'debian/foo.service'));
+ ok(run_dh_tool('dh_systemd_start', '-p', 'foo', 'foo2.service'));
ok(-e "debian/foo/lib/systemd/system/foo.service");
ok(-e "debian/foo.postinst.debhelper");
unit_is_enabled('foo', 'foo', 1);
@@ -97,9 +96,9 @@ each_compat_up_to_and_incl_subtest(10, sub {
make_path('debian/foo/lib/systemd/system/');
install_file('debian/foo2.service', 'debian/foo/lib/systemd/system/foo2.service');
- ok(run_dh_tool({ 'needs_root' => 1 }, 'dh_systemd_enable', '--no-enable', 'debian/foo.service'));
- ok(run_dh_tool({ 'needs_root' => 1 }, 'dh_systemd_enable', '-p', 'foo', 'foo2.service'));
- ok(run_dh_tool({ 'needs_root' => 1 }, 'dh_systemd_start'));
+ ok(run_dh_tool('dh_systemd_enable', '--no-enable', 'debian/foo.service'));
+ ok(run_dh_tool('dh_systemd_enable', '-p', 'foo', 'foo2.service'));
+ ok(run_dh_tool('dh_systemd_start'));
ok(-e "debian/foo/lib/systemd/system/foo.service");
ok(-e "debian/foo.postinst.debhelper");
unit_is_enabled('foo', 'foo', 0, 1); # Disabled units are still masked on removal
@@ -110,7 +109,7 @@ each_compat_up_to_and_incl_subtest(10, sub {
make_path('debian/foo/lib/systemd/system/');
install_file('debian/foo.service', 'debian/foo/lib/systemd/system/foo.service');
- ok(run_dh_tool({ 'needs_root' => 1 }, 'dh_systemd_start', '--no-restart-after-upgrade'));
+ ok(run_dh_tool('dh_systemd_start', '--no-restart-after-upgrade'));
my $matches = grep { m{deb-systemd-invoke start .*foo.service} } `cat debian/foo.postinst.debhelper`;
ok($matches == 1);
ok(run_dh_tool('dh_clean'));
@@ -118,8 +117,8 @@ each_compat_up_to_and_incl_subtest(10, sub {
# Quoting #764730
make_path('debian/foo/lib/systemd/system/');
install_file('debian/foo.service', 'debian/foo/lib/systemd/system/foo\x2dfuse.service');
- ok(run_dh_tool({ 'needs_root' => 1 }, 'dh_systemd_enable'));
- ok(run_dh_tool({ 'needs_root' => 1 }, 'dh_systemd_start'));
+ ok(run_dh_tool('dh_systemd_enable'));
+ ok(run_dh_tool('dh_systemd_start'));
unit_is_enabled('foo', 'foo\x2dfuse', 1);
unit_is_started('foo', 'foo\x2dfuse', 1);
ok(run_dh_tool('dh_clean'));
diff --git a/t/dh_installsystemd/simple/debian/changelog b/t/dh_installsystemd/simple/debian/changelog
new file mode 100644
index 00000000..5b1a8fee
--- /dev/null
+++ b/t/dh_installsystemd/simple/debian/changelog
@@ -0,0 +1,5 @@
+foo (1.0-1) unstable; urgency=low
+
+ * Initial release. (Closes: #XXXXXX)
+
+ -- Test <test@example.org> Mon, 11 Jul 2016 18:10:59 +0200
diff --git a/t/dh_installsystemd/simple/debian/control b/t/dh_installsystemd/simple/debian/control
new file mode 100644
index 00000000..4f4238eb
--- /dev/null
+++ b/t/dh_installsystemd/simple/debian/control
@@ -0,0 +1,10 @@
+Source: foo
+Section: misc
+Priority: optional
+Maintainer: Test <testing@nowhere>
+Standards-Version: 3.9.8
+
+Package: foo
+Architecture: all
+Description: package foo
+ Package foo
diff --git a/t/dh_installsystemd/simple/debian/foo.service b/t/dh_installsystemd/simple/debian/foo.service
new file mode 100644
index 00000000..2b48a781
--- /dev/null
+++ b/t/dh_installsystemd/simple/debian/foo.service
@@ -0,0 +1,8 @@
+[Unit]
+Description=A unit
+
+[Service]
+ExecStart=/bin/true
+
+[Install]
+WantedBy=multi-user.target
diff --git a/t/dh_link/03-894229.t b/t/dh_link/03-894229.t
new file mode 100755
index 00000000..238e6c41
--- /dev/null
+++ b/t/dh_link/03-894229.t
@@ -0,0 +1,55 @@
+#!/usr/bin/perl
+
+use strict;
+use warnings;
+
+use Test::More;
+plan(tests => 1);
+
+use File::Path qw(remove_tree);
+use File::Basename qw(dirname);
+use lib dirname(dirname(__FILE__));
+use Debian::Debhelper::Dh_Lib qw(!dirname);
+use Test::DH;
+
+
+sub test_tricky {
+ my ($link_name, $denoted_dest, $expected_link_target) = @_;
+ my $tmpdir = 'debian/debhelper';
+ my $link_path = "${tmpdir}/${link_name}";
+
+ make_symlink($link_name, $denoted_dest, $tmpdir);
+ if (ok(-l $link_path, 'Link made in correct directory')) {
+ my $target = readlink($link_path);
+ is($target, $expected_link_target, 'Link points correctly')
+ or diag("Expected ${expected_link_target}, actual ${target}");
+ rm_files($link_path);
+ }
+ return;
+}
+
+sub test_invalid {
+ my ($link_name, $denoted_dest) = @_;
+ eval {
+ make_symlink($link_name, $denoted_dest);
+ };
+ like($@, qr{^(?:\S*:\s*)?Invalid destination/link name});
+}
+
+each_compat_subtest {
+
+ remove_tree('debian/debhelper/a/b/c');
+
+ install_dir('debian/debhelper/a/b/c');
+
+ test_invalid('../../wow', 'a');
+ # This is a can be made valid but at the moment we do not support
+ # it.
+ test_invalid('a/b/../link21', 'a');
+
+
+ test_tricky('//a/b/link03', 'a/b/c', 'c');
+ test_tricky('./a/link18', 'a', '.');
+ test_tricky('a/./b/link19', 'a/b', '.');
+};
+
diff --git a/t/dh_missing/04-not-installed-glob.t b/t/dh_missing/04-not-installed-glob.t
new file mode 100755
index 00000000..b46eca3a
--- /dev/null
+++ b/t/dh_missing/04-not-installed-glob.t
@@ -0,0 +1,37 @@
+#!/usr/bin/perl
+use strict;
+use warnings;
+use Test::More;
+
+use File::Basename qw(dirname);
+use lib dirname(dirname(__FILE__));
+use Test::DH;
+use Debian::Debhelper::Dh_Lib qw(!dirname);
+
+our $TEST_DH_FIXTURE_DIR = 'template';
+our @TEST_DH_EXTRA_TEMPLATE_FILES = (qw(
+ debian/changelog
+ debian/control
+ debian/foo.install
+ file-for-foo
+ Makefile
+));
+
+plan(tests => 1);
+
+each_compat_subtest {
+ rm_files('debian/not-installed');
+ open(my $fd, '>', 'debian/not-installed') or error("open(d/not-installed): $!");
+ # Non-glob match
+ print {$fd} "usr/bin/file-for-foo\n";
+ # Glob match (note that it must not match the above)
+ print {$fd} "usr/bin/file-for-foo-*\n";
+ # Non-matches (silently ignored)
+ print {$fd} "usr/bin/does-not-exist\n";
+ print {$fd} "usr/bin/does-not-exist-*\n";
+ close($fd) or error("close(d/not-installed: $!");
+ ok(run_dh_tool('dh_clean'));
+ is(system('make', 'installmore'), 0);
+ ok(run_dh_tool('dh_missing', '--fail-missing'));
+};
+
diff --git a/t/dh_usrlocal/01-basic.t b/t/dh_usrlocal/01-basic.t
new file mode 100755
index 00000000..2cd3f842
--- /dev/null
+++ b/t/dh_usrlocal/01-basic.t
@@ -0,0 +1,157 @@
+#!/usr/bin/perl
+
+use strict;
+use warnings;
+
+use Test::More;
+plan(tests => 1);
+
+use File::Path qw(remove_tree);
+use File::Basename qw(dirname);
+use lib dirname(dirname(__FILE__));
+use Test::DH;
+use Debian::Debhelper::Dh_Lib qw(!dirname);
+
+sub extract_generated_lines {
+ my ($file) = @_;
+ my (@lines, $marker);
+ return if not -f $file;
+ open(my $fd, '<', $file) or error("open($file) failed: $!");
+ while (my $line = <$fd>) {
+ chomp($line);
+ if (defined($marker)) {
+ last if $line eq $marker;
+ push(@lines, $line);
+ next;
+ }
+ if ($line =~ m{\s*<<\s*(\S+)\s*$}) {
+ $marker = $1;
+ }
+ }
+ close($fd);
+ return @lines;
+}
+
+
+sub perform_test {
+ my ($install_dirs, $expected_dirs_postinst, $expected_dirs_prerm) = @_;
+ my (@postinst, @prerm);
+ my @scripts = qw(
+ debian/debhelper.postinst.debhelper
+ debian/debhelper.prerm.debhelper
+ );
+
+ rm_files(@scripts);
+ remove_tree('debian/debhelper');
+ install_dir(map { "debian/debhelper/$_" } @{$install_dirs});
+
+ ok(run_dh_tool('dh_usrlocal'));
+
+ @postinst = extract_generated_lines("debian/debhelper.postinst.debhelper");
+ @prerm = extract_generated_lines("debian/debhelper.prerm.debhelper");
+
+ is_deeply(\@postinst,
+ [map { "$_ default" } @{$expected_dirs_postinst}],
+ "Correct postinst"
+ ) or do { diag("postinst: $_") for @postinst; };
+ is_deeply(\@prerm,
+ $expected_dirs_prerm,
+ "Correct prerm"
+ ) or do { diag("prerm: $_") for @prerm; };
+}
+
+each_compat_subtest {
+
+ perform_test(
+ ['/usr/local/bar', '/usr/local/foo'],
+ ['/usr/local/bar', '/usr/local/foo'],
+ []
+ );
+
+ perform_test(
+ [
+ '/usr/local/foo/bar',
+ '/usr/local/foo/baz',
+ ],
+ [
+ '/usr/local/foo',
+ '/usr/local/foo/bar',
+ '/usr/local/foo/baz',
+ ],
+ [
+ '/usr/local/foo/bar',
+ '/usr/local/foo/baz',
+ ]
+ );
+
+ perform_test(
+ [qw(
+ /usr/local/a/a/a
+ /usr/local/a/a/b
+ /usr/local/a/b/a
+ /usr/local/a/b/b
+ /usr/local/b/a/a
+ /usr/local/b/a/b
+ /usr/local/b/b/a
+ /usr/local/b/b/b
+ )],
+ [qw(
+ /usr/local/a
+ /usr/local/a/a
+ /usr/local/a/a/a
+ /usr/local/a/a/b
+ /usr/local/a/b
+ /usr/local/a/b/a
+ /usr/local/a/b/b
+ /usr/local/b
+ /usr/local/b/a
+ /usr/local/b/a/a
+ /usr/local/b/a/b
+ /usr/local/b/b
+ /usr/local/b/b/a
+ /usr/local/b/b/b
+ )],
+ [qw(
+ /usr/local/a/a/a
+ /usr/local/a/a/b
+ /usr/local/a/a
+ /usr/local/a/b/a
+ /usr/local/a/b/b
+ /usr/local/a/b
+ /usr/local/b/a/a
+ /usr/local/b/a/b
+ /usr/local/b/a
+ /usr/local/b/b/a
+ /usr/local/b/b/b
+ /usr/local/b/b
+ )]
+ );
+
+ perform_test(
+ [
+ '/usr/local/foo/dir/somewhere',
+ '/usr/local/bar/another-dir/elsewhere',
+ '/usr/local/baz/foo+bar/thing',
+ ],
+ [
+ '/usr/local/bar',
+ '/usr/local/bar/another-dir',
+ '/usr/local/bar/another-dir/elsewhere',
+ '/usr/local/baz',
+ '/usr/local/baz/foo+bar',
+ '/usr/local/baz/foo+bar/thing',
+ '/usr/local/foo',
+ '/usr/local/foo/dir',
+ '/usr/local/foo/dir/somewhere',
+ ],
+ [
+ '/usr/local/bar/another-dir/elsewhere',
+ '/usr/local/bar/another-dir',
+ '/usr/local/baz/foo+bar/thing',
+ '/usr/local/baz/foo+bar',
+ '/usr/local/foo/dir/somewhere',
+ '/usr/local/foo/dir',
+ ]
+ );
+};
+
diff --git a/t/maintscript.t b/t/maintscript.t
index a69c99c7..cec4fab8 100755
--- a/t/maintscript.t
+++ b/t/maintscript.t
@@ -9,11 +9,7 @@ use lib dirname(__FILE__);
use Test::DH;
use Debian::Debhelper::Dh_Lib qw(!dirname);
-if (uid_0_test_is_ok()) {
- plan(tests => 1);
-} else {
- plan skip_all => 'fakeroot required';
-}
+plan(tests => 2);
each_compat_up_to_and_incl_subtest(10, sub {
my @scripts = qw{postinst preinst prerm postrm};
@@ -29,7 +25,7 @@ mv_conffile /etc/2 /etc/3 1.0-1
EOF
close($fd) or die("close($file): $!\n");
- run_dh_tool( { 'needs_root' => 1 }, 'dh_installdeb');
+ run_dh_tool('dh_installdeb');
for my $script (@scripts) {
my @output=`cat debian/debhelper.$script.debhelper`;
@@ -38,3 +34,37 @@ EOF
}
});
+sub test_maintscript_syntax {
+ my ($contents) = @_;
+ my @scripts = map { ("debian/debhelper.${_}.debhelper", "debian/$_") } qw{postinst preinst prerm postrm};
+ my $file = 'debian/maintscript';
+
+
+ open(my $fd, ">", $file) or die("open($file): $!");
+ print {$fd} <<EOF;
+${contents}
+EOF
+ close($fd) or die("close($file): $!\n");
+
+ my $res = run_dh_tool( { 'quiet' => 1 }, 'dh_installdeb');
+
+ remove_tree('debian/debhelper', 'debian/tmp', 'debian/.debhelper');
+ rm_files(@scripts);
+
+ return $res;
+}
+
+# Negative tests
+each_compat_from_and_above_subtest(12, sub {
+ ok(!test_maintscript_syntax('rm_conffile foo 1.0~'), "rm_conffile absolute path check");
+ ok(!test_maintscript_syntax('rm_conffile /foo 1.0\~'), "rm_conffile version check");
+ ok(!test_maintscript_syntax('rm_conffile /foo 1.0~ some_pkg'), "rm_conffile package name check");
+ ok(!test_maintscript_syntax('rm_conffile /foo 1.0~ some-pkg --'), "rm_conffile separator check");
+
+ ok(!test_maintscript_syntax('mv_conffile foo /bar 1.0~'), "mv_conffile absolute (current) path check");
+ ok(!test_maintscript_syntax('mv_conffile /foo bar 1.0~'), "mv_conffile absolute (current) path check");
+ ok(!test_maintscript_syntax('mv_conffile /foo /bar 1.0\~'), "mv_conffile version check");
+ ok(!test_maintscript_syntax('mv_conffile /foo /bar 1.0~ some_pkg'), "mv_conffile package name check");
+ ok(!test_maintscript_syntax('mv_conffile /foo /bar 1.0~ some-pkg -- '), "mv_conffile separator check ");
+});
+
diff --git a/t/override_target.t b/t/override_target.t
index bf7323b9..235f904c 100755
--- a/t/override_target.t
+++ b/t/override_target.t
@@ -1,5 +1,7 @@
#!/usr/bin/perl
-use Test;
+use strict;
+use warnings;
+use Test::More;
plan(tests => 1);
# This test is here to detect breakage in
@@ -22,5 +24,7 @@ EOF
close OUT;
system("chmod +x t/tmp/debian/rules");
my @output=`cd t/tmp && debian/rules build 2>&1`;
-ok(grep { m/override called/ } @output);
+ok(grep { m/override called/ } @output) or do {
+ diag($_) for @output;
+};
system("rm -rf t/tmp");
diff --git a/t/size.t b/t/size.t
index 5a16db43..e759a474 100755
--- a/t/size.t
+++ b/t/size.t
@@ -21,7 +21,7 @@ foreach my $file (@progs) {
while (<$fd>) {
$cutting=1 if /^=/;
$cutting=0 if /^=cut/;
- next if $cutting || /^(?:=|\s*(?:\#.*)?$)/;
+ next if $cutting || /^(?:=|\s*(?:\#.*|[}]\s*)?$)/;
$lines++;
$maxlength=length($_) if length($_) > $maxlength;
}