X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=perl-policy.sgml;h=abe04d9a47d63c537a75dc9a8b5fcad150e233a3;hb=05cefddcc62002afe6fc10d4b39757500bfce569;hp=b9f327739b963ae949265ce871f13870ad033368;hpb=de8e6ddc94be9d04836d7d1f68d1429978d14bfd;p=debian%2Fdebian-policy.git diff --git a/perl-policy.sgml b/perl-policy.sgml index b9f3277..abe04d9 100644 --- a/perl-policy.sgml +++ b/perl-policy.sgml @@ -168,9 +168,11 @@

Modules included in the core Perl distribution. -/usr/lib/perl/version -/usr/share/perl/version +/usr/lib/perl/shortversion +/usr/share/perl/shortversion + Where shortversion indicates the current Perl major + version (for example 5.18).

site (old) @@ -197,8 +199,8 @@ package.

- Manual pages distributed with Perl packages must be installed - into the standard directories: + Manual pages distributed with packages built from the perl + source package must be installed into the standard directories: Programs @@ -217,6 +219,8 @@

+ The extensions used for manual pages distributed with module + packages are different. See .

@@ -461,6 +465,26 @@ perl -MExtUtils::Embed -e ldopts package must depend upon it explicitly.

+ + + Perl Package Upgrades +

+ Starting from perl 5.12.3-2, a dpkg trigger + named perl-major-upgrade will be triggered by the + postinst of the perl package during major + upgrades. Some examples of things which constitute a major upgrade + are an upgrade which would change the value of versioned + directories in @INC, or one which changes abiname. + Any package may declare an interest in the trigger, especially + packages including long-running daemons which would stop working + until restart. +

+

+ It is suggested that such packages include an appropriate section + in their postinst to handle the trigger by restarting relevant + daemons or notifying users of further action. +

+