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 <u...@debian.org> gbrowse (U) Adam Cécile (Le_Vert) <gand...@le-vert.net> cobalt-panel-utils Agustin Henze <t...@debian.org> libstdc++-arm-none-eabi newlib Alexander Zangerl <a...@debian.org> duplicity Andreas Barth <a...@not.so.argh.org> debfoster (U) Andreas Tille <ti...@debian.org> dnaclust (U) gdcm (U) hmmer2 (U) last-align (U) libbio-graphics-perl (U) soapdenovo2 (U) Antoine Beaupré <anar...@debian.org> smokeping Anton Gladky <gl...@debian.org> vtk6 (U) Bastian Blank <wa...@debian.org> lvm2 (U) Charles Plessy <ple...@debian.org> gbrowse (U) last-align (U) libdata-stag-perl (U) libgo-perl (U) Chow Loong Jin <hyper...@debian.org> mediainfo Christian M. Amsüss <chr...@fsfe.org> opencsg Christian Perrier <bubu...@debian.org> translate-toolkit (U) D Haley <my...@gmx.com> 3depict (U) Daigo Moriwaki <da...@debian.org> clojure1.2 (U) clojure1.6 (U) Damyan Ivanov <d...@debian.org> libapache2-mod-perl2 (U) libdata-stag-perl (U) Danai SAE-HAN (韓達耐) <da...@debian.org> cjk (U) Daniel Lintott <dan...@serverb.co.uk> libsgmls-perl (U) libvm-ec2-perl (U) David Martínez Moreno <en...@debian.org> redmine-recaptcha debfoster Maintainer Team <pkg-debfos...@teams.debian.net> debfoster Debian 389ds Team <pkg-fedora-ds-maintain...@lists.alioth.debian.org> 389-admin Debian Fonts Task Force <pkg-fonts-de...@lists.alioth.debian.org> ttf-tiresias (U) Debian GNUstep maintainers <pkg-gnustep-maintain...@lists.alioth.debian.org> gnustep-make Debian Graphite Group <pkg-graphite-ma...@lists.alioth.debian.org> graphite-carbon Debian Java Maintainers <pkg-java-maintain...@lists.alioth.debian.org> clojure1.2 clojure1.6 Debian l10n developers <debian-l10n-de...@lists.alioth.debian.org> translate-toolkit Debian LVM Team <pkg-lvm-maintain...@lists.alioth.debian.org> lvm2 Debian Med Packaging Team <debian-med-packag...@lists.alioth.debian.org> dnaclust gbrowse gdcm hmmer2 insighttoolkit4 last-align libbio-graphics-perl libgo-perl soapdenovo soapdenovo2 Debian Perl Group <pkg-perl-maintain...@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-t...@lists.alioth.debian.org> pyside python-whisper Debian QA Group <packa...@qa.debian.org> fwanalog Debian Science Maintainers <debian-science-maintain...@lists.alioth.debian.org> 3depict Debian Science Team <debian-science-maintain...@lists.alioth.debian.org> vtk6 Debian sysvinit maintainers <pkg-sysvinit-de...@lists.alioth.debian.org> sysvinit Debian TeX maintainers <debian-tex-ma...@lists.debian.org> cjk Didier Raboud <o...@debian.org> fprintd (U) pyside (U) Dominic Hargreaves <d...@earth.li> libapache2-mod-perl2 (U) Elliot Murphy <ell...@ubuntu.com> python-whisper (U) Ernesto Hernández-Novich (USB) <e...@usb.ve> webgui FingerForce Team <fingerforce-de...@lists.alioth.debian.org> fprintd Florian Schlichting <f...@debian.org> libdata-stag-perl (U) Florian Weimer <f...@deneb.enyo.de> debfoster (U) Gerrit Pape <p...@smarden.org> git Gert Wollny <gw.foss...@gmail.com> insighttoolkit4 (U) gregor herrmann <gre...@debian.org> libapache2-mod-perl2 (U) libcam-pdf-perl (U) libgeo-osm-tiles-perl (U) libsoap-wsdl-perl (U) Gürkan Sengün <gur...@phys.ethz.ch> gnustep-make (U) ttf-tiresias Henrique de Moraes Holschuh <h...@debian.org> sysvinit (U) Hugo Lefeuvre <hugo6...@orange.fr> spambayes (U) Ivan Kohler <ivan-deb...@420.am> libapache2-mod-perl2 (U) libcam-pdf-perl (U) Javi Merino <vi...@debian.org> mercurial (U) Jonas Genannt <gena...@debian.org> python-whisper (U) Jonas Genannt <jonas.gena...@capi2name.de> graphite-carbon (U) Jonathan Nieder <jrnie...@gmail.com> git (U) Kel Modderman <k...@otaku42.de> sysvinit (U) Laszlo Kajan <lka...@debian.org> hmmer2 (U) libgo-perl (U) Marc Haber <mh+debian-packa...@zugschlus.de> debfoster (U) Marcin Owsiany <porri...@debian.org> potool Mathieu Malaterre <ma...@debian.org> gdcm (U) Mathieu Parent <sath...@debian.org> graphite-carbon (U) Matthew Vernon <matt...@debian.org> hmmer2 (U) Nelson A. de Oliveira <nao...@debian.org> hmmer2 (U) Nicolas FRANCOIS (Nekral) <nicolas.franc...@centraliens.net> translate-toolkit (U) Niko Tyni <nt...@debian.org> libapache2-mod-perl2 (U) Norbert Preining <prein...@debian.org> cjk (U) Olivier Sallou <olivier.sal...@irisa.fr> libdbix-dbstag-perl (U) Olivier Sallou <osal...@debian.org> gbrowse (U) libbio-graphics-perl (U) libvm-ec2-perl (U) soapdenovo (U) soapdenovo2 (U) Petter Reinholdtsen <p...@debian.org> sysvinit (U) Python Applications Packaging Team <python-apps-t...@lists.alioth.debian.org> mercurial spambayes Raphael Bossek <boss...@debian.org> gnupod-tools Roger Leigh <rle...@debian.org> sysvinit (U) Ross Gammon <rossgam...@mail.dk> gramps Rowan Thorpe <ro...@rowanthorpe.com> smokeping (U) Steve M. Robbins <s...@debian.org> gdcm (U) insighttoolkit4 (U) Stuart Prescott <stu...@debian.org> translate-toolkit (U) Sveinung Kvilhaugsvik <sveinun...@users.sourceforge.net> libnanoxml2-java Sébastien Jodogne <s.jodo...@chu.ulg.ac.be> gdcm (U) Thomas Goirand <z...@debian.org> sysvinit (U) Thomas Preud'homme <thomas.preudho...@arm.com> libstdc++-arm-none-eabi (U) Timo Aaltonen <tjaal...@debian.org> 389-admin (U) Tristan Seligmann <mithra...@debian.org> mercurial (U) Vincent Danjean <vdanj...@debian.org> mercurial (U) Wookey <woo...@debian.org> caveconverter Xavier Guimard <x.guim...@free.fr> libcam-pdf-perl (U) Yavor Doganov <ya...@gnu.org> gnustep-make (U) Cheers, Dominic.