From fce43aee563793ff2d6de760d7f91ef27ec458a1 Mon Sep 17 00:00:00 2001 From: Sean Whitton Date: Sun, 15 Oct 2017 09:27:53 -0700 Subject: [PATCH] perl command script shebang must be /usr/bin/perl * Policy: /usr/bin/perl shebang 'should' -> 'must' Wording: Sean Whitton Seconded: Dominic Hargreaves Seconded: Salvatore Bonaccorso Closes: #683495 --- debian/changelog | 7 ++++++- policy/ch-files.rst | 2 +- policy/upgrading-checklist.rst | 10 ++++++++++ 3 files changed, 17 insertions(+), 2 deletions(-) diff --git a/debian/changelog b/debian/changelog index 2bd1c13..ebf5d0d 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,5 +1,10 @@ -debian-policy (4.1.1.2) UNRELEASED; urgency=medium +debian-policy (4.1.2.0) UNRELEASED; urgency=medium + * Policy: /usr/bin/perl shebang 'should' -> 'must' + Wording: Sean Whitton + Seconded: Dominic Hargreaves + Seconded: Salvatore Bonaccorso + Closes: #683495 * Update links to other formats in 1.2 (Closes: #877674). Thanks to Laura Arjona Reina for the patch. * Fix duplication in upgrading checklist. diff --git a/policy/ch-files.rst b/policy/ch-files.rst index d4df316..c92030c 100644 --- a/policy/ch-files.rst +++ b/policy/ch-files.rst @@ -185,7 +185,7 @@ All command scripts, including the package maintainer scripts inside the package and used by ``dpkg``, should have a ``#!`` line naming the shell to be used to interpret them. -In the case of Perl scripts this should be ``#!/usr/bin/perl``. +In the case of Perl scripts this must be ``#!/usr/bin/perl``. When scripts are installed into a directory in the system PATH, the script name should not include an extension such as ``.sh`` or ``.pl`` diff --git a/policy/upgrading-checklist.rst b/policy/upgrading-checklist.rst index 725f88a..fbdad07 100644 --- a/policy/upgrading-checklist.rst +++ b/policy/upgrading-checklist.rst @@ -39,6 +39,16 @@ The sections in this checklist match the values for the except in the two anomalous historical cases where normative requirements were changed in a minor patch release. +Version 4.1.2 +------------- + +Unreleased. + +10.4 + The shebang at the top of Perl command scripts must be + ``#!/usr/bin/perl``. (Previously, this was a 'should' rather than + a 'must'.) + Version 4.1.1 ------------- -- 2.11.4.GIT