Differences between revisions 1 and 68 (spanning 67 versions)
Revision 1 as of 2012-01-29 23:08:09
Size: 1423
Comment: initial page on this work
Revision 68 as of 2012-09-01 11:11:09
Size: 8334
Comment:
Deletions are marked like this. Additions are marked like this.
Line 3: Line 3:
Perl 4 era libraries (*.pl) have been deprecated in 5.14 and are likely to be removed in 5.16. '''This is now completed, see #629472'''

Perl 4 era libraries (*.pl) have been deprecated in 5.14 and have been removed for 5.16.
Line 16: Line 18:
= Bug reports =

http://bugs.debian.org/cgi-bin/pkgreport.cgi?users=debian-perl@lists.debian.org&tag=perl4-corelibs
Line 18: Line 24:
|| 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]] || || 2.5.30.ds-1.1 || ||
|| 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]] || || false positive|| ||
|| adzapper || flush.pl || N || [[http://bugs.debian.org/658932|#658932]] || ||20090301.dfsg.1-0.2 || ||
|| am-utils || ctime.pl || Y || N || || || ||
|| amanda-server || newgetopt.pl || N || [[http://bugs.debian.org/658933|#658933]] || ||1:3.3.1-1 || ||
|| 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]] || ||2.2.10-5 || ||
|| cgvg || find.pl || N || [[http://bugs.debian.org/658946|#658946]] || ||1.6.2-2.1 || ||
|| 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]] || ||3.5-30-3.2 || ||
|| 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 || [[http://bugs.debian.org/659420|#659420]] || ||1.006-13.2 || ||
|| giflib-tools || getopts.pl || N || [[http://bugs.debian.org/659421|#659421]] || ||4.1.6-9.1 || ||
|| gnuplot-doc || ctime.pl || Y || N || || || ||
|| gri || getopts.pl || N || [[http://bugs.debian.org/659422|#659422]] || ||2.12.23-2.1 || ||
|| ifmail || getopts.pl || N || [[http://bugs.debian.org/659423|#659423]] || ||2.14tx8.10-21|| ||
|| imageindex || flush.pl || N || [[http://bugs.debian.org/659424|#659424]] || ||1.1-2.1|| ||
|| inn || getopts.pl || N || [[http://bugs.debian.org/670751|#670751]]) || ||1:1.7.2q-41 || ||
|| libnet-rawip-perl || getopts.pl || Y || N || || || ||
|| lsof || getopts.pl || Y || N || || || Y ||
|| mgetty-fax || getopts.pl || N || [[http://bugs.debian.org/659425|#659425]] || ||false positive || ||
|| mgp || getopts.pl || N || [[http://bugs.debian.org/659426|#659426]] || ||1.13a+upstream20090219-4 || ||
|| 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 || ||2.5.1-1 || ||
|| 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 || [[http://bugs.debian.org/659427|#659427]] || || 1.3.2-2|| ||
|| ssake || getopts.pl || N || [[http://bugs.debian.org/659428|#659428]] || || 3.8-2|| ||
|| tedia2sql || getopts.pl || N || [[http://bugs.debian.org/659429|#659429]] || ||false positive || ||
|| texlive-base || newgetopt.pl || N || [[http://bugs.debian.org/659430|#659430]] || ||Installed but not used || ||
|| vim-runtime || getopts.pl || N || [[http://bugs.debian.org/659431|#659431]] || ||2:7.3.524-1 || ||
|| wu-ftpd || getopts.pl || N || [[http://bugs.debian.org/659432|#659432]] || ||2.6.2-34 || ||
|| wwwstat || getopts.pl || N || [[http://bugs.debian.org/659433|#659433]] || ||2.0-7 || ||
Line 22: Line 68:
|| 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

This is now completed, see #629472

Perl 4 era libraries (*.pl) have been deprecated in 5.14 and have been removed for 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:

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

#658917

2.5.30.ds-1.1

info2man

flush.pl

N

#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

#658931

false positive

adzapper

flush.pl

N

#658932

20090301.dfsg.1-0.2

am-utils

ctime.pl

Y

N

amanda-server

newgetopt.pl

N

#658933

1:3.3.1-1

autoconf2.13

find.pl

N

#658450

2.13-61

cdrdao

getopts.pl

Y

#658944

cfengine2

getopts.pl

N

#658945

2.2.10-5

cgvg

find.pl

N

#658946

1.6.2-2.1

cvs

getopts.pl

N (but contrib)

#658947

2:1.12.13+real-7

cvs2html

getopts.pl, ctime.pl

N

#658948

1.98-3

dist

getopts.pl, shellwords.pl

N

#658949

3.5-30-3.2

dspam-webfrontend

ctime.pl

N

#658950

http://sourceforge.net/tracker/?func=detail&aid=3389943&group_id=250683&atid=1126467 (fixed)

3.10.1+dfsg-4

flowscan

getopts.pl

N

#659420

1.006-13.2

giflib-tools

getopts.pl

N

#659421

4.1.6-9.1

gnuplot-doc

ctime.pl

Y

N

gri

getopts.pl

N

#659422

2.12.23-2.1

ifmail

getopts.pl

N

#659423

2.14tx8.10-21

imageindex

flush.pl

N

#659424

1.1-2.1

inn

getopts.pl

N

#670751)

1:1.7.2q-41

libnet-rawip-perl

getopts.pl

Y

N

lsof

getopts.pl

Y

N

Y

mgetty-fax

getopts.pl

N

#659425

false positive

mgp

getopts.pl

N

#659426

1.13a+upstream20090219-4

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

2.5.1-1

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

#659427

1.3.2-2

ssake

getopts.pl

N

#659428

3.8-2

tedia2sql

getopts.pl

N

#659429

false positive

texlive-base

newgetopt.pl

N

#659430

Installed but not used

vim-runtime

getopts.pl

N

#659431

2:7.3.524-1

wu-ftpd

getopts.pl

N

#659432

2.6.2-34

wwwstat

getopts.pl

N

#659433

2.0-7

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>