Size: 1423
Comment: initial page on this work
|
Size: 7471
Comment: dspam fixed
|
Deletions are marked like this. | Additions are marked like this. |
Line 16: | Line 16: |
= Bug reports = http://bugs.debian.org/cgi-bin/pkgreport.cgi?users=debian-perl@lists.debian.org&tag=perl4-corelibs |
|
Line 18: | Line 22: |
|| Source package name || Library/libraries used || Example only? || Easy to replace? || Bug filed? || | || Binary package name || Library/libraries used || Example only? || Debian bug filed? || Upstream bug filed? || Fixed in Debian? || Priority > optional || || fvwm || getcwd.pl || N || [[http://bugs.debian.org/658917|#658917]] || || || || || info2man || flush.pl || N || [[http://bugs.debian.org/652499|#652499]] || ||1.1-6 || || || libcgi-simple-perl || shellwords.pl || N || N || https://rt.cpan.org/Public/Bug/Display.html?id=71065 || 1.113-2 || || || libperlmenu-perl || termcap.pl || N || [[http://bugs.debian.org/658931|#658931]] || || || || || adzapper || flush.pl || N || [[http://bugs.debian.org/658931|#658932]] || || || || || am-utils || ctime.pl || Y || N || || || || || amanda-server || newgetopt.pl || N || [[http://bugs.debian.org/658933|#658933]] || || || || || autoconf2.13 || find.pl || N || [[http://bugs.debian.org/658450|#658450]] || || 2.13-61 || || || cdrdao || getopts.pl || Y || [[http://bugs.debian.org/658944|#658944]] || || || || || cfengine2 || getopts.pl || N || [[http://bugs.debian.org/658945|#658945]] || || || || || cgvg || find.pl || N || [[http://bugs.debian.org/658946|#658946]] || || || || || cvs || getopts.pl || N (but contrib) || [[http://bugs.debian.org/658947|#658947]] || ||2:1.12.13+real-7 || || || cvs2html || getopts.pl, ctime.pl || N || [[http://bugs.debian.org/658948|#658948]] || || 1.98-3|| || || dist || getopts.pl, shellwords.pl || N || [[http://bugs.debian.org/658949|#658949]] || || || || || dspam-webfrontend || ctime.pl || N || [[http://bugs.debian.org/658950|#658950]] || http://sourceforge.net/tracker/?func=detail&aid=3389943&group_id=250683&atid=1126467 (fixed) ||3.10.1+dfsg-4 || || || flowscan || getopts.pl || N || N || || || || || giflib-tools || getopts.pl || N || N || || || || || gnuplot-doc || ctime.pl || Y || N || || || || || gri || getopts.pl || N || N || || || || || ifmail || getopts.pl || N || N || || || || || imageindex || flush.pl || N || N || || || || || inn || getopts.pl || N || N (but fixes pending from maintainer) || || || || || libnet-rawip-perl || getopts.pl || Y || N || || || || || lsof || getopts.pl || Y || N || || || Y || || mgetty-fax || getopts.pl || N || N || || || || || mgp || getopts.pl || N || N || || || || || mh-book || shellwords.pl, ctime.pl || Y || N || || || || || mrtg-contrib || find.pl, stat.pl || Y || N || || || || || nas-bin || getopts.pl || N || N || ||1.9.3-4 || || || net-acct || ctime.pl || Y || N || || || || || pari-gp || newgetopt.pl || N || N || || || || || perlindex || find.pl || N || N || https://rt.cpan.org/Ticket/Display.html?id=74537 || 1.605-4 || || || samba-doc || getopts.pl || Y || N || || || || || skktools || getopts.pl || N || N || || || || || ssake || getopts.pl || N || N || || || || || tedia2sql || getopts.pl || N || N || || || || || texlive-base || newgetopt.pl || N || N || || || || || vim-runtime || getopts.pl || N || N || || || || || wu-ftpd || getopts.pl || N || N || || || || || wwwstat || getopts.pl || N || N || || || || |
Line 22: | Line 66: |
|| Library name || Notes on replacement || | || Library name || Number of occurrences || Notes on replacement || || getopts.pl || 22 || Getopt::Long or Getopt::Std || || ctime.pl || 6 || POSIX ctime function || || find.pl || 4 || File::Find || || flush.pl || 3 || IO::Handle || || shellwords.pl || 3 || Text::ParseWords::old_shellwords || || newgetopt.pl || 3 || Getopt::Long || || getcwd.pl || 1 || Cwd || || termcap.pl || 1 || Term::Cap || = Example bug report = Dear maintainer, Your package PACKAGE currently uses one or more deprecated perl 4 era packages: <insert cut and paste from lintian report> As detailed at [1] we would like you to either add a dependency on libperl4-corelibs-perl | perl (<< 5.12.3-7) or (ideally) to replace their use with more modern equivalents. If you prefer, I will NMU your package with the dependency added. The wiki page [1] has references (taken from the source of the libraries in question) for the recommended replacement libraries. Thanks, Dominic. [1] <http://wiki.debian.org/Teams/DebianPerlGroup/OpenTasks/Transitions/Perl4CoreLibs> |
Introduction
Perl 4 era libraries (*.pl) have been deprecated in 5.14 and are likely to be removed in 5.16.
We would like to remove these references from packages before wheezy, so that we don't have to Depend on them for a release cycle, like we are with some other deprecated modules). See #629472 for more information.
The following Lintian warnings are currently defined:
http://lintian.debian.org/tags/script-uses-perl4-libs-without-dep.html
http://lintian.debian.org/tags/perl-module-uses-perl4-libs-without-dep.html
The next step is to categorize each report according to whether the use of perl 4 libs is in the shipped software, or only as an example. The examples can probably be overridden, or at least would not block removal of the core libs in wheezy+1 on their own. It would be useful to also categorize which libraries are being used. This can all sit in a table on this wiki page.
Once this has been done, we can consider filing bugs against such packages with proposed patches. In some cases it may be possible to suggest an easy alternative; in some cases it may be appropriate just to add the dependency on libperl4-corelibs-perl.
Bug reports
http://bugs.debian.org/cgi-bin/pkgreport.cgi?users=debian-perl@lists.debian.org&tag=perl4-corelibs
Affected packages
Binary package name |
Library/libraries used |
Example only? |
Debian bug filed? |
Upstream bug filed? |
Fixed in Debian? |
Priority > optional |
fvwm |
getcwd.pl |
N |
|
|
|
|
info2man |
flush.pl |
N |
|
1.1-6 |
|
|
libcgi-simple-perl |
shellwords.pl |
N |
N |
1.113-2 |
|
|
libperlmenu-perl |
termcap.pl |
N |
|
|
|
|
adzapper |
flush.pl |
N |
|
|
|
|
am-utils |
ctime.pl |
Y |
N |
|
|
|
amanda-server |
newgetopt.pl |
N |
|
|
|
|
autoconf2.13 |
find.pl |
N |
|
2.13-61 |
|
|
cdrdao |
getopts.pl |
Y |
|
|
|
|
cfengine2 |
getopts.pl |
N |
|
|
|
|
cgvg |
find.pl |
N |
|
|
|
|
cvs |
getopts.pl |
N (but contrib) |
|
2:1.12.13+real-7 |
|
|
cvs2html |
getopts.pl, ctime.pl |
N |
|
1.98-3 |
|
|
dist |
getopts.pl, shellwords.pl |
N |
|
|
|
|
dspam-webfrontend |
ctime.pl |
N |
http://sourceforge.net/tracker/?func=detail&aid=3389943&group_id=250683&atid=1126467 (fixed) |
3.10.1+dfsg-4 |
|
|
flowscan |
getopts.pl |
N |
N |
|
|
|
giflib-tools |
getopts.pl |
N |
N |
|
|
|
gnuplot-doc |
ctime.pl |
Y |
N |
|
|
|
gri |
getopts.pl |
N |
N |
|
|
|
ifmail |
getopts.pl |
N |
N |
|
|
|
imageindex |
flush.pl |
N |
N |
|
|
|
inn |
getopts.pl |
N |
N (but fixes pending from maintainer) |
|
|
|
libnet-rawip-perl |
getopts.pl |
Y |
N |
|
|
|
lsof |
getopts.pl |
Y |
N |
|
|
Y |
mgetty-fax |
getopts.pl |
N |
N |
|
|
|
mgp |
getopts.pl |
N |
N |
|
|
|
mh-book |
shellwords.pl, ctime.pl |
Y |
N |
|
|
|
mrtg-contrib |
find.pl, stat.pl |
Y |
N |
|
|
|
nas-bin |
getopts.pl |
N |
N |
|
1.9.3-4 |
|
net-acct |
ctime.pl |
Y |
N |
|
|
|
pari-gp |
newgetopt.pl |
N |
N |
|
|
|
perlindex |
find.pl |
N |
N |
1.605-4 |
|
|
samba-doc |
getopts.pl |
Y |
N |
|
|
|
skktools |
getopts.pl |
N |
N |
|
|
|
ssake |
getopts.pl |
N |
N |
|
|
|
tedia2sql |
getopts.pl |
N |
N |
|
|
|
texlive-base |
newgetopt.pl |
N |
N |
|
|
|
vim-runtime |
getopts.pl |
N |
N |
|
|
|
wu-ftpd |
getopts.pl |
N |
N |
|
|
|
wwwstat |
getopts.pl |
N |
N |
|
|
|
Common libraries in use
Library name |
Number of occurrences |
Notes on replacement |
getopts.pl |
22 |
Getopt::Long or Getopt::Std |
ctime.pl |
6 |
POSIX ctime function |
find.pl |
4 |
File::Find |
flush.pl |
3 |
IO::Handle |
shellwords.pl |
3 |
Text::?ParseWords::old_shellwords |
newgetopt.pl |
3 |
Getopt::Long |
getcwd.pl |
1 |
Cwd |
termcap.pl |
1 |
Term::Cap |
Example bug report
Dear maintainer,
Your package PACKAGE currently uses one or more deprecated perl 4 era packages:
<insert cut and paste from lintian report>
As detailed at [1] we would like you to either add a dependency on
libperl4-corelibs-perl | perl (<< 5.12.3-7)
or (ideally) to replace their use with more modern equivalents.
If you prefer, I will NMU your package with the dependency added.
The wiki page [1] has references (taken from the source of the libraries in question) for the recommended replacement libraries.
Thanks, Dominic.
[1] <http://wiki.debian.org/Teams/DebianPerlGroup/OpenTasks/Transitions/Perl4CoreLibs>