Size: 7044
Comment: fvwm bug ref
|
Size: 7052
Comment: fixed libcgi-simple-perl
|
Deletions are marked like this. | Additions are marked like this. |
Line 25: | Line 25: |
|| libcgi-simple-perl || shellwords.pl || N || N || https://rt.cpan.org/Public/Bug/Display.html?id=71065 || || || | || libcgi-simple-perl || shellwords.pl || N || N || https://rt.cpan.org/Public/Bug/Display.html?id=71065 || 1.113-2 || || |
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 |
N |
|
|
|
adzapper |
flush.pl |
N |
N |
|
|
|
am-utils |
ctime.pl |
Y |
N |
|
|
|
amanda-server |
newgetopt.pl |
N |
N |
|
|
|
autoconf2.13 |
find.pl |
N |
|
2.13-61 |
|
|
cdrdao |
getopts.pl |
Y |
N |
|
|
|
cfengine2 |
getopts.pl |
N |
N |
|
|
|
cgvg |
find.pl |
N |
N |
|
|
|
cvs |
getopts.pl |
N |
N |
|
|
|
cvs2html |
getopts.pl, ctime.pl |
N |
N |
|
|
|
dist |
getopts.pl, shellwords.pl |
N |
N |
|
|
|
dspam-webfrontend |
ctime.pl |
N |
N |
http://sourceforge.net/tracker/?func=detail&aid=3389943&group_id=250683&atid=1126467 (fixed) |
|
|
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>