Update of /cvsroot/fink/web/doc/packaging
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv27217/web/doc/packaging
Modified Files:
packaging.en.html policy.en.php
Log Message:
document changes to perl module policy
Index: packaging.en.html
===================================================================
RCS file: /cvsroot/fink/web/doc/packaging/packaging.en.html,v
retrieving revision 1.19
retrieving revision 1.20
diff -u -d -r1.19 -r1.20
--- packaging.en.html 19 Apr 2004 21:36:51 -0000 1.19
+++ packaging.en.html 27 Apr 2004 22:43:45 -0000 1.20
@@ -794,14 +794,17 @@
<h3><a name="policy.perlmods">3.4 Perl Modules</a></h3>
-<p>Fink has a new policy about perl modules, effective in May, 2003.
+<p>Fink's policy about perl modules, originally implemented in
+May 2003, has been revised as of April 2004.
</p><p>
-Traditionally, the Fink packages for perl modules have the suffix
-<tt style="white-space: nowrap;">-pm</tt>, and have been build using the <tt
style="white-space: nowrap;">Type: perl</tt>
+Traditionally, the Fink packages for perl modules had the suffix
+<tt style="white-space: nowrap;">-pm</tt>, and were built using the <tt
style="white-space: nowrap;">Type: perl</tt>
directive, which stores the perl module's files in <tt style="white-space:
nowrap;">/sw/lib/perl5</tt> and/or
-<tt style="white-space: nowrap;">/sw/lib/perl5/darwin</tt>. Under the new policy,
this storage location is only
+<tt style="white-space: nowrap;">/sw/lib/perl5/darwin</tt>. Under the policy
+now in place, this storage location is only
permitted for perl modules which are independent of the version of perl
-being used to compile them.
+being used to compile them (and which do not depend on other perl modules
+that lack this independence-of-version).
</p><p>
The perl modules which are version-dependent are the so-called XS modules,
which frequently contain compiled C code as well as pure perl routines.
@@ -811,21 +814,36 @@
A version-dependent perl module must be built using a versioned binary
of perl, such as <tt style="white-space: nowrap;">perl5.6.0</tt>, and must store its
files in
versioned subdirectories of the standard perl directories, such as
-<tt style="white-space: nowrap;">/sw/lib/perl5/5.6.0</tt> and <tt style="white-space:
nowrap;">/sw/lib/perl5/5.6.0/darwin</tt>. A new convention
-is being introduced of using the suffix <tt style="white-space: nowrap;">-pm560</tt>
for
+<tt style="white-space: nowrap;">/sw/lib/perl5/5.6.0</tt> and <tt style="white-space:
nowrap;">/sw/lib/perl5/5.6.0/darwin</tt>. By convention, package names
+use the suffix <tt style="white-space: nowrap;">-pm560</tt> for
a perl module of version 5.6.0. Similar storage and naming conventions
-are in force for other versions of perl, which will soon include
-perl 5.6.1 and perl 5.8.0.
+are in force for other versions of perl, which include
+perl 5.6.1 (in the 10.2 trees only), perl 5.8.0, perl 5.8.1, and
+perl 5.8.4 (coming soon).
</p><p>
-The new directive <tt style="white-space: nowrap;">Type: perl 5.6.0</tt>
automatically uses the
+The directive <tt style="white-space: nowrap;">Type: perl 5.6.0</tt> automatically
uses the
versioned perl binary and stores the files in the correct subdirectories.
(This directive is available starting with version 0.13.0 of fink.)
</p><p>
-It is permitted to create a <tt style="white-space: nowrap;">-pm</tt> package which
is essentially
+Under the May 2003 policy, it was permitted to create a
+<tt style="white-space: nowrap;">-pm</tt> package which is essentially
a "bundle" package that loads the <tt style="white-space: nowrap;">-pm560</tt>
variant or any
-others which may be exist. This strategy is encouraged for existing
-Fink packages for XS modules, in order to provide a smooth upgrade path.
-</p><p>
+others which may be exist. Under the April 2004 policy this is discouraged,
+and after a transitional period it will be outlawed entirely. (The
+one exception will be the package <tt style="white-space: nowrap;">storable-pm</tt>
which needs
+to be in this form for bootstrapping purposes.)
+</p>
+<p>As of fink 0.20.1, the system-perl virtual package automatically
+"Provides" certain perl modules when the version of Perl present on
+the system is at
+least 5.8.0. In the case of system-perl-5.8.1-1, these are:
+<b>attribute-handlers-pm, cgi-pm, digest-md5-pm581, file-spec-pm,
+file-temp-pm, filter-simple-pm581, filter-util-pm581, getopt-long-pm,
+i18n-langtags-pm, libnet-pm, locale-maketext-pm, memoize-pm,
+mime-base64-pm581, scalar-list-utils-pm581, test-harness-pm, test-simple-pm,
+time-hires-pm581.</b>
+</p>
+<p>
Effective with version 0.13.0 of fink, the <tt style="white-space: nowrap;">fink
validate</tt>
command when applied to a <tt style="white-space: nowrap;">.deb</tt> file will check
to see if
the fink package is an XS module which has been installed in a non-versioned
Index: policy.en.php
===================================================================
RCS file: /cvsroot/fink/web/doc/packaging/policy.en.php,v
retrieving revision 1.19
retrieving revision 1.20
diff -u -d -r1.19 -r1.20
--- policy.en.php 19 Apr 2004 21:36:51 -0000 1.19
+++ policy.en.php 27 Apr 2004 22:43:45 -0000 1.20
@@ -470,14 +470,17 @@
<h2><a name="perlmods">3.4 Perl Modules</a></h2>
-<p>Fink has a new policy about perl modules, effective in May, 2003.
+<p>Fink's policy about perl modules, originally implemented in
+May 2003, has been revised as of April 2004.
</p><p>
-Traditionally, the Fink packages for perl modules have the suffix
-<code>-pm</code>, and have been build using the <code>Type: perl</code>
+Traditionally, the Fink packages for perl modules had the suffix
+<code>-pm</code>, and were built using the <code>Type: perl</code>
directive, which stores the perl module's files in <code>/sw/lib/perl5</code> and/or
-<code>/sw/lib/perl5/darwin</code>. Under the new policy, this storage location is
only
+<code>/sw/lib/perl5/darwin</code>. Under the policy
+now in place, this storage location is only
permitted for perl modules which are independent of the version of perl
-being used to compile them.
+being used to compile them (and which do not depend on other perl modules
+that lack this independence-of-version).
</p><p>
The perl modules which are version-dependent are the so-called XS modules,
which frequently contain compiled C code as well as pure perl routines.
@@ -487,21 +490,36 @@
A version-dependent perl module must be built using a versioned binary
of perl, such as <code>perl5.6.0</code>, and must store its files in
versioned subdirectories of the standard perl directories, such as
-<code>/sw/lib/perl5/5.6.0</code> and <code>/sw/lib/perl5/5.6.0/darwin</code>. A new
convention
-is being introduced of using the suffix <code>-pm560</code> for
+<code>/sw/lib/perl5/5.6.0</code> and <code>/sw/lib/perl5/5.6.0/darwin</code>. By
convention, package names
+use the suffix <code>-pm560</code> for
a perl module of version 5.6.0. Similar storage and naming conventions
-are in force for other versions of perl, which will soon include
-perl 5.6.1 and perl 5.8.0.
+are in force for other versions of perl, which include
+perl 5.6.1 (in the 10.2 trees only), perl 5.8.0, perl 5.8.1, and
+perl 5.8.4 (coming soon).
</p><p>
-The new directive <code>Type: perl 5.6.0</code> automatically uses the
+The directive <code>Type: perl 5.6.0</code> automatically uses the
versioned perl binary and stores the files in the correct subdirectories.
(This directive is available starting with version 0.13.0 of fink.)
</p><p>
-It is permitted to create a <code>-pm</code> package which is essentially
+Under the May 2003 policy, it was permitted to create a
+<code>-pm</code> package which is essentially
a "bundle" package that loads the <code>-pm560</code> variant or any
-others which may be exist. This strategy is encouraged for existing
-Fink packages for XS modules, in order to provide a smooth upgrade path.
-</p><p>
+others which may be exist. Under the April 2004 policy this is discouraged,
+and after a transitional period it will be outlawed entirely. (The
+one exception will be the package <code>storable-pm</code> which needs
+to be in this form for bootstrapping purposes.)
+</p>
+<p>As of fink 0.20.1, the system-perl virtual package automatically
+"Provides" certain perl modules when the version of Perl present on
+the system is at
+least 5.8.0. In the case of system-perl-5.8.1-1, these are:
+<b>attribute-handlers-pm, cgi-pm, digest-md5-pm581, file-spec-pm,
+file-temp-pm, filter-simple-pm581, filter-util-pm581, getopt-long-pm,
+i18n-langtags-pm, libnet-pm, locale-maketext-pm, memoize-pm,
+mime-base64-pm581, scalar-list-utils-pm581, test-harness-pm, test-simple-pm,
+time-hires-pm581.</b>
+</p>
+<p>
Effective with version 0.13.0 of fink, the <code>fink validate</code>
command when applied to a <code>.deb</code> file will check to see if
the fink package is an XS module which has been installed in a non-versioned
-------------------------------------------------------
This SF.Net email is sponsored by: Oracle 10g
Get certified on the hottest thing ever to hit the market... Oracle 10g.
Take an Oracle 10g class now, and we'll give you the exam FREE.
http://ads.osdn.com/?ad_id=3149&alloc_id=8166&op=click
_______________________________________________
Fink-commits mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/fink-commits