X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=perl-policy.sgml;h=70c5bfcc7ab149b9a86fe2bbd4b03ad8aeea842c;hb=5973f6595ef445db0c170f65b12cf0030d0f8888;hp=3b76b940ce12086b96b410823568f6deaf672c03;hpb=8c478a3d848f31e0f6dab406c8eff70c8cf3837f;p=debian%2Fdebian-policy.git diff --git a/perl-policy.sgml b/perl-policy.sgml index 3b76b94..70c5bfc 100644 --- a/perl-policy.sgml +++ b/perl-policy.sgml @@ -22,7 +22,7 @@ This document describes the packaging of Perl within the Debian - GNU/Linux distribution and the policy requirements for packaged + distribution and the policy requirements for packaged Perl programs and modules. @@ -44,7 +44,7 @@

A copy of the GNU General Public License is available as - /usr/share/common-licenses/GPL in the Debian GNU/Linux + /usr/share/common-licenses/GPL in the Debian distribution or on the World Wide Web at . @@ -461,6 +461,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. +

+