Package: devscripts
Version: 2.10.62
Severity: wishlist
Tags: patch

Hi,

please apply attached patch to make a #!/bin/sh script out of
debsign (checkbashisms-clean). Tested on MirBSD-current (which
does not have GNU bash) with {md5,sha{1,256}}sum symlinks to
the built-in cksum applied. Thanks!

-- Package-specific info:

--- /etc/devscripts.conf ---

--- ~/.devscripts ---
Not present

-- System Information:
Debian Release: squeeze/sid
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: i386 (i686)

Kernel: Linux 2.6.18-6-686 (SMP w/1 CPU core)
Locale: LANG=C, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages devscripts depends on:
ii  dpkg-dev                      1.15.5.6   Debian package development tools
ii  libc6                         2.10.2-6   Embedded GNU C Library: Shared lib
ii  perl                          5.10.1-11  Larry Wall's Practical Extraction 

Versions of packages devscripts recommends:
ii  at                3.1.12-1               Delayed job execution and batch pr
ii  bsd-mailx [mailx] 8.1.2-0.20100314cvs-1  simple mail user agent
ii  cvs               1:1.12.13-12           Concurrent Versions System
ii  dctrl-tools       2.14                   Command-line tools to process Debi
ii  debian-keyring [d 2010.03.31             GnuPG (and obsolete PGP) keys of D
ii  dput              0.9.5.1                Debian package upload tool
ii  equivs            2.0.8                  Circumvent Debian package dependen
ii  fakeroot          1.14.4-1               Gives a fake root environment
ii  git-core          1:1.7.0.4-1            fast, scalable, distributed revisi
ii  gnupg             1.4.10-3               GNU privacy guard - a free PGP rep
ii  libauthen-sasl-pe 2.14-1                 Authen::SASL - SASL Authentication
ii  libcrypt-ssleay-p 0.57-2                 Support for https protocol in LWP
ii  libparse-debcontr 2.005-2                Easy OO parsing of Debian control-
ii  libsoap-lite-perl 0.711-1                Perl implementation of a SOAP clie
ii  libterm-size-perl 0.2-4+b1               Perl extension for retrieving term
ii  libtimedate-perl  1.2000-1               collection of modules to manipulat
ii  liburi-perl       1.54-1                 module to manipulate and access UR
ii  libwww-perl       5.834-1                Perl HTTP/WWW client/server librar
ii  libyaml-syck-perl 1.07-1                 fast, lightweight YAML loader and 
ii  lintian           2.3.4                  Debian package checker
ii  lsb-release       3.2-23                 Linux Standard Base version report
ii  lynx-cur [www-bro 2.8.8dev.2-1.1         Text-mode WWW Browser with NLS sup
ii  lzma              4.43-14                Compression method of 7z format in
ii  mailx             1:20081101-2           Transitional package for mailx ren
ii  man-db            2.5.7-2                on-line manual pager
ii  openssh-client [s 1:5.4p1-1              secure shell (SSH) client, for sec
ii  patch             2.6-2                  Apply a diff file to an original
ii  patchutils        0.3.1-2                Utilities to work with patches
ii  sensible-utils    0.0.4                  Utilities for sensible alternative
ii  strace            4.5.19-2               A system call tracer
ii  subversion        1.6.9dfsg-1            Advanced version control system
ii  unzip             6.0-4                  De-archiver for .zip files
ii  wdiff             0.5-21                 Compares two files word by word
ii  wget              1.12-1.2               retrieves files from the web
ii  xz-utils          4.999.9beta+20100307-1 XZ-format compression utilities

Versions of packages devscripts suggests:
ii  build-essential               11.5       Informational list of build-essent
pn  cvs-buildpackage              <none>     (no description available)
pn  devscripts-el                 <none>     (no description available)
pn  gnuplot                       <none>     (no description available)
pn  libfile-desktopentry-perl     <none>     (no description available)
pn  libnet-smtp-ssl-perl          <none>     (no description available)
pn  mutt                          <none>     (no description available)
pn  svn-buildpackage              <none>     (no description available)
pn  w3m                           <none>     (no description available)

-- no debconf information
>From 3617696654650709eb34078fcf49664827306a45 Mon Sep 17 00:00:00 2001
From: Thorsten Glaser <t...@mirbsd.de>
Date: Sat, 10 Apr 2010 19:26:55 +0000
Subject: [PATCH] =?UTF-8?q?Make=20debsign=20a=20Debian=20Policy=20=C2=A710.4=20shell=20script.?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit


Signed-off-by: Thorsten Glaser <t...@mirbsd.de>
---
 scripts/debsign.sh |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/scripts/debsign.sh b/scripts/debsign.sh
index ce48fbd..60f15f5 100755
--- a/scripts/debsign.sh
+++ b/scripts/debsign.sh
@@ -1,4 +1,4 @@
-#! /bin/bash
+#! /bin/sh
 
 # This program is designed to PGP sign a .dsc and .changes file pair
 # in the form needed for a legal Debian upload.  It is based in part
@@ -45,7 +45,7 @@ MODIFIED_CONF_MSG='Default settings modified by devscripts configuration files:'
 signingdir=""
 remotefilesdir=""
 
-trap "cleanup_tmpdir" 0 1 2 3 9 11 13 15
+trap "cleanup_tmpdir" EXIT HUP INT QUIT KILL SEGV PIPE TERM
 
 # --- Functions
 
-- 
1.7.0.4

Reply via email to