Bug#735134: perl: rename(1) is ancient

Dominic Hargreaves dom at earth.li
Tue Aug 18 21:21:57 UTC 2015


On Tue, May 06, 2014 at 11:58:07AM +0200, Axel Beckert wrote:
> Hi,
> 
> Dominic Hargreaves wrote:
> > 3) Submit a new lintian check for things which use rename or prename in
> >    build scripts, advising of changes needed.
> 
> Please also care about maintainer scripts (postinst, etc.). I'd at
> least check the following files:
> 
> * debian/rules
> * debian/{post,pre}{inst,rm} (single binary packages)
> * debian/*.{post,pre}{inst,rm} (multiple binary packages)
> * *.sh (recusively)
> * debian/bin/*
> * All files which have a #!/bin/sh, #!/bin/bash or
>   #!/bin/dash shebang line, i.e. all shell scripts.
> 
> It would also be nice if the recommendations on how to do this
> transition (e.g. what lintian-info would show) were posted in this
> bug-report, as they are not obvious due to the update-alternatives
> mechanism for /usr/bin/rename.
> 
> (I do have a package which uses prename at build time and hence have a
> real interest in the actual and detailed recommendations. :-)

I looked at this using codesearch instead, and found only around 50
affected packages in the archive (mostly in debian/ with just a few
upstream shell scripts using rename. As such I think it's sufficient
to file bugs directly.

Here is my draft bug-report text:

----------
Source: FOO
Version: FOO
Severity: normal

Dear maintainer,

Package $FOO was found to contain uses of the 'rename' and/or 'prename'
(which is an alias) command. This was previously implemented by a script
added to the perl package by Debian, but there is now a maintained
alternative in the 'rename' package.

Please add the relevant Depends/Build-Depends on 'rename', to avoid
breakage in your package when we remove the rename script from the
perl package. Additionally, if you are currently using 'prename', please
use 'rename' (which is handled by the alternatives mechanism) or
file-rename, which is the new implementation.

Thanks,
Dominic

Details of the use of (p)rename in your package follow:

INSERT grep results
---------

Any comments on this before I send these out?

For reference, dd-list follows:

Aaron M. Ucko <ucko at debian.org>
   gbrowse (U)

Adam Cécile (Le_Vert) <gandalf at le-vert.net>
   cobalt-panel-utils

Agustin Henze <tin at debian.org>
   libstdc++-arm-none-eabi
   newlib

Alexander Zangerl <az at debian.org>
   duplicity

Andreas Barth <aba at not.so.argh.org>
   debfoster (U)

Andreas Tille <tille at debian.org>
   dnaclust (U)
   gdcm (U)
   hmmer2 (U)
   last-align (U)
   libbio-graphics-perl (U)
   soapdenovo2 (U)

Antoine Beaupré <anarcat at debian.org>
   smokeping

Anton Gladky <gladk at debian.org>
   vtk6 (U)

Bastian Blank <waldi at debian.org>
   lvm2 (U)

Charles Plessy <plessy at debian.org>
   gbrowse (U)
   last-align (U)
   libdata-stag-perl (U)
   libgo-perl (U)

Chow Loong Jin <hyperair at debian.org>
   mediainfo

Christian M. Amsüss <chrysn at fsfe.org>
   opencsg

Christian Perrier <bubulle at debian.org>
   translate-toolkit (U)

D Haley <mycae at gmx.com>
   3depict (U)

Daigo Moriwaki <daigo at debian.org>
   clojure1.2 (U)
   clojure1.6 (U)

Damyan Ivanov <dmn at debian.org>
   libapache2-mod-perl2 (U)
   libdata-stag-perl (U)

Danai SAE-HAN (韓達耐) <danai at debian.org>
   cjk (U)

Daniel Lintott <daniel at serverb.co.uk>
   libsgmls-perl (U)
   libvm-ec2-perl (U)

David Martínez Moreno <ender at debian.org>
   redmine-recaptcha

debfoster Maintainer Team <pkg-debfoster at teams.debian.net>
   debfoster

Debian 389ds Team <pkg-fedora-ds-maintainers at lists.alioth.debian.org>
   389-admin

Debian Fonts Task Force <pkg-fonts-devel at lists.alioth.debian.org>
   ttf-tiresias (U)

Debian GNUstep maintainers <pkg-gnustep-maintainers at lists.alioth.debian.org>
   gnustep-make

Debian Graphite Group <pkg-graphite-maint at lists.alioth.debian.org>
   graphite-carbon

Debian Java Maintainers <pkg-java-maintainers at lists.alioth.debian.org>
   clojure1.2
   clojure1.6

Debian l10n developers <debian-l10n-devel at lists.alioth.debian.org>
   translate-toolkit

Debian LVM Team <pkg-lvm-maintainers at lists.alioth.debian.org>
   lvm2

Debian Med Packaging Team <debian-med-packaging at lists.alioth.debian.org>
   dnaclust
   gbrowse
   gdcm
   hmmer2
   insighttoolkit4
   last-align
   libbio-graphics-perl
   libgo-perl
   soapdenovo
   soapdenovo2

Debian Perl Group <pkg-perl-maintainers at lists.alioth.debian.org>
   libapache2-mod-perl2
   libcam-pdf-perl
   libdata-stag-perl
   libdbix-dbstag-perl
   libgeo-osm-tiles-perl
   libsgmls-perl
   libsoap-wsdl-perl
   libvm-ec2-perl

Debian Python Modules Team <python-modules-team at lists.alioth.debian.org>
   pyside
   python-whisper

Debian QA Group <packages at qa.debian.org>
   fwanalog

Debian Science Maintainers <debian-science-maintainers at lists.alioth.debian.org>
   3depict

Debian Science Team <debian-science-maintainers at lists.alioth.debian.org>
   vtk6

Debian sysvinit maintainers <pkg-sysvinit-devel at lists.alioth.debian.org>
   sysvinit

Debian TeX maintainers <debian-tex-maint at lists.debian.org>
   cjk

Didier Raboud <odyx at debian.org>
   fprintd (U)
   pyside (U)

Dominic Hargreaves <dom at earth.li>
   libapache2-mod-perl2 (U)

Elliot Murphy <elliot at ubuntu.com>
   python-whisper (U)

Ernesto Hernández-Novich (USB) <emhn at usb.ve>
   webgui

FingerForce Team <fingerforce-devel at lists.alioth.debian.org>
   fprintd

Florian Schlichting <fsfs at debian.org>
   libdata-stag-perl (U)

Florian Weimer <fw at deneb.enyo.de>
   debfoster (U)

Gerrit Pape <pape at smarden.org>
   git

Gert Wollny <gw.fossdev at gmail.com>
   insighttoolkit4 (U)

gregor herrmann <gregoa at debian.org>
   libapache2-mod-perl2 (U)
   libcam-pdf-perl (U)
   libgeo-osm-tiles-perl (U)
   libsoap-wsdl-perl (U)

Gürkan Sengün <gurkan at phys.ethz.ch>
   gnustep-make (U)
   ttf-tiresias

Henrique de Moraes Holschuh <hmh at debian.org>
   sysvinit (U)

Hugo Lefeuvre <hugo6390 at orange.fr>
   spambayes (U)

Ivan Kohler <ivan-debian at 420.am>
   libapache2-mod-perl2 (U)
   libcam-pdf-perl (U)

Javi Merino <vicho at debian.org>
   mercurial (U)

Jonas Genannt <genannt at debian.org>
   python-whisper (U)

Jonas Genannt <jonas.genannt at capi2name.de>
   graphite-carbon (U)

Jonathan Nieder <jrnieder at gmail.com>
   git (U)

Kel Modderman <kel at otaku42.de>
   sysvinit (U)

Laszlo Kajan <lkajan at debian.org>
   hmmer2 (U)
   libgo-perl (U)

Marc Haber <mh+debian-packages at zugschlus.de>
   debfoster (U)

Marcin Owsiany <porridge at debian.org>
   potool

Mathieu Malaterre <malat at debian.org>
   gdcm (U)

Mathieu Parent <sathieu at debian.org>
   graphite-carbon (U)

Matthew Vernon <matthew at debian.org>
   hmmer2 (U)

Nelson A. de Oliveira <naoliv at debian.org>
   hmmer2 (U)

Nicolas FRANCOIS (Nekral) <nicolas.francois at centraliens.net>
   translate-toolkit (U)

Niko Tyni <ntyni at debian.org>
   libapache2-mod-perl2 (U)

Norbert Preining <preining at debian.org>
   cjk (U)

Olivier Sallou <olivier.sallou at irisa.fr>
   libdbix-dbstag-perl (U)

Olivier Sallou <osallou at debian.org>
   gbrowse (U)
   libbio-graphics-perl (U)
   libvm-ec2-perl (U)
   soapdenovo (U)
   soapdenovo2 (U)

Petter Reinholdtsen <pere at debian.org>
   sysvinit (U)

Python Applications Packaging Team <python-apps-team at lists.alioth.debian.org>
   mercurial
   spambayes

Raphael Bossek <bossekr at debian.org>
   gnupod-tools

Roger Leigh <rleigh at debian.org>
   sysvinit (U)

Ross Gammon <rossgammon at mail.dk>
   gramps

Rowan Thorpe <rowan at rowanthorpe.com>
   smokeping (U)

Steve M. Robbins <smr at debian.org>
   gdcm (U)
   insighttoolkit4 (U)

Stuart Prescott <stuart at debian.org>
   translate-toolkit (U)

Sveinung Kvilhaugsvik <sveinung84 at users.sourceforge.net>
   libnanoxml2-java

Sébastien Jodogne <s.jodogne at chu.ulg.ac.be>
   gdcm (U)

Thomas Goirand <zigo at debian.org>
   sysvinit (U)

Thomas Preud'homme <thomas.preudhomme at arm.com>
   libstdc++-arm-none-eabi (U)

Timo Aaltonen <tjaalton at debian.org>
   389-admin (U)

Tristan Seligmann <mithrandi at debian.org>
   mercurial (U)

Vincent Danjean <vdanjean at debian.org>
   mercurial (U)

Wookey <wookey at debian.org>
   caveconverter

Xavier Guimard <x.guimard at free.fr>
   libcam-pdf-perl (U)

Yavor Doganov <yavor at gnu.org>
   gnustep-make (U)

Cheers,
Dominic.




More information about the Perl-maintainers mailing list