[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

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



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@debian.org>
   gbrowse (U)

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

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

Alexander Zangerl <az@debian.org>
   duplicity

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

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

Antoine Beaupré <anarcat@debian.org>
   smokeping

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

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

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

Chow Loong Jin <hyperair@debian.org>
   mediainfo

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

Debian Perl Group <pkg-perl-maintainers@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@lists.alioth.debian.org>
   pyside
   python-whisper

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

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

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

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

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

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

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

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

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

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

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

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

Gerrit Pape <pape@smarden.org>
   git

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

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

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

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

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

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

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

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

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

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

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

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

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

Marcin Owsiany <porridge@debian.org>
   potool

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

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

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

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

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

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

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

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

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

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

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

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

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

Ross Gammon <rossgammon@mail.dk>
   gramps

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

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

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

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

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

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

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

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

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

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

Wookey <wookey@debian.org>
   caveconverter

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

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

Cheers,
Dominic.


Reply to: