debian/0000755000000000000000000000000011423163167007172 5ustar debian/rules0000755000000000000000000000015711343344446010257 0ustar #!/usr/bin/make -f %: dh ${@} override_dh_auto_install: $(MAKE) prefix=$(CURDIR)/debian/shtool/usr install debian/watch0000644000000000000000000000011711363223072010215 0ustar version=3 ftp://ftp.gnu.org/gnu/shtool/shtool-(.*)\.tar\.gz \ debian uupdate debian/compat0000644000000000000000000000000211343344446010372 0ustar 7 debian/shtool.docs0000644000000000000000000000004411343344446011354 0ustar AUTHORS NEWS RATIONAL README THANKS debian/copyright0000644000000000000000000000356511343344446011140 0ustar Author: Ralf S. Engelschall Download: http://ftp.gnu.org/gnu/shtool/ Files: * Copyright: (C) 1994-2008 Ralf S. Engelschall License: GPL-2+ This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. . This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. . You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. . On Debian systems, the complete text of the GNU General Public License can be found in /usr/share/common-licenses/GPL-2 file. Files: debian/* Copyright: 2007-2009 Daniel Baumann License: GPL-2+ This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. . This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. . You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. . On Debian systems, the complete text of the GNU General Public License can be found in /usr/share/common-licenses/GPL-2 file. debian/source/0000755000000000000000000000000011356775755010513 5ustar debian/source/format0000644000000000000000000000001411363565632011706 0ustar 3.0 (quilt) debian/control0000644000000000000000000000166711413125076010603 0ustar Source: shtool Section: devel Priority: optional Maintainer: William Vera DM-Upload-Allowed: yes Build-Depends: debhelper (>= 7.0.50~) Standards-Version: 3.9.0 Homepage: http://www.gnu.org/software/shtool/ Package: shtool Architecture: all Depends: ${misc:Depends}, ${perl:Depends} Suggests: autoconf, automake, libtool Description: portable shell tool from the GNU project GNU shtool is a tool for developers of software programs. It is a compilation of small but very stable and portable shell scripts into a single shell tool. All ingredients were in successful use over many years in various free software projects. The compiled shtool program is intended to be used inside the source tree of other free software packages. There it can overtake various (usually non-portable) tasks related to the building and installation of such a package. It especially can replace the old mkdir.sh, install.sh and related scripts. debian/patches/0000755000000000000000000000000011423162173010615 5ustar debian/patches/fix-poderros.diff0000644000000000000000000000245411363515017014077 0ustar Index: shtool-2.0.8/sh.mdate Description: Fix manpage-has-errors-from-pod2man by William Vera =================================================================== --- shtool-2.0.8.orig/sh.mdate 2010-04-21 01:19:07.000000000 -0500 +++ shtool-2.0.8/sh.mdate 2010-04-21 01:20:01.000000000 -0500 @@ -219,6 +219,9 @@ element represented as a single character out of ``C'', ``C'' and ``C''. The default for I is ``C''. + +=back + =head1 EXAMPLE # shell script Index: shtool-2.0.8/sh.mkdir =================================================================== --- shtool-2.0.8.orig/sh.mkdir 2010-04-21 01:19:07.000000000 -0500 +++ shtool-2.0.8/sh.mkdir 2010-04-21 01:20:29.000000000 -0500 @@ -183,6 +183,9 @@ which is usually based on the executing gid or the parent setgid directory. + +=back + =head1 EXAMPLE # Makefile Index: shtool-2.0.8/sh.mkshadow =================================================================== --- shtool-2.0.8.orig/sh.mkshadow 2010-04-21 01:19:07.000000000 -0500 +++ shtool-2.0.8/sh.mkshadow 2010-04-21 01:20:50.000000000 -0500 @@ -188,6 +188,9 @@ Really shadow all files and directories in I. Default is to skip CVS related files and directories, backup files, object files, etc. + +=back + =head1 EXAMPLE # shell script debian/patches/series0000644000000000000000000000011011423161012012011 0ustar fix-spelling.diff fix-poderros.diff fix-manpages.diff fix-mkdir-p.patch debian/patches/fix-mkdir-p.patch0000644000000000000000000000156711423162042013771 0ustar Author: Raphael Geissert Description: Fix the mkdir -p implementation, make parallel executions fail. Index: shtool-2.0.8/sh.mkdir =================================================================== --- shtool-2.0.8.orig/sh.mkdir 2010-07-25 20:10:47.000000000 -0500 +++ shtool-2.0.8/sh.mkdir 2010-07-25 20:14:54.000000000 -0500 @@ -86,7 +86,11 @@ if [ ".$opt_t" = .yes ]; then echo "mkdir $pathcomp" 1>&2 fi - mkdir $pathcomp || errstatus=$? + mkdir $pathcomp || { + _errstatus=$? + [ -d "$pathcomp" ] || errstatus=${_errstatus} + unset _errstatus + } if [ ".$opt_o" != . ]; then if [ ".$opt_t" = .yes ]; then echo "chown $opt_o $pathcomp" 1>&2 debian/patches/fix-manpages.diff0000644000000000000000000002014511363562504014035 0ustar Index: shtool-2.0.8/sh.echo Description: Fix manpage-has-bad-whatis-entry by William Vera =================================================================== --- shtool-2.0.8.orig/sh.echo 2008-04-02 14:10:17.000000000 -0600 +++ shtool-2.0.8/sh.echo 2010-04-21 06:40:29.000000000 -0500 @@ -339,7 +339,7 @@ =head1 NAME -B - B echo(1) extensional command +B - B echo(1) extensional command =head1 SYNOPSIS Index: shtool-2.0.8/sh.fixperm =================================================================== --- shtool-2.0.8.orig/sh.fixperm 2008-04-02 14:10:17.000000000 -0600 +++ shtool-2.0.8/sh.fixperm 2010-04-21 06:40:29.000000000 -0500 @@ -86,7 +86,7 @@ =head1 NAME -B - B file permission fixing command +B - B file permission fixing command =head1 SYNOPSIS Index: shtool-2.0.8/sh.install =================================================================== --- shtool-2.0.8.orig/sh.install 2008-04-02 14:10:17.000000000 -0600 +++ shtool-2.0.8/sh.install 2010-04-21 06:40:29.000000000 -0500 @@ -200,7 +200,7 @@ =head1 NAME -B - B install(1) command +B - B install(1) command =head1 SYNOPSIS Index: shtool-2.0.8/sh.mdate =================================================================== --- shtool-2.0.8.orig/sh.mdate 2010-04-21 06:40:29.000000000 -0500 +++ shtool-2.0.8/sh.mdate 2010-04-21 06:40:29.000000000 -0500 @@ -162,7 +162,7 @@ =head1 NAME -B - B pretty-print last modification time +B - B pretty-print last modification time =head1 SYNOPSIS Index: shtool-2.0.8/sh.mkdir =================================================================== --- shtool-2.0.8.orig/sh.mkdir 2010-04-21 06:40:29.000000000 -0500 +++ shtool-2.0.8/sh.mkdir 2010-04-21 06:40:29.000000000 -0500 @@ -121,7 +121,7 @@ =head1 NAME -B - B mkdir(1) style command +B - B mkdir(1) style command =head1 SYNOPSIS Index: shtool-2.0.8/sh.mkln =================================================================== --- shtool-2.0.8.orig/sh.mkln 2008-06-06 07:09:35.000000000 -0500 +++ shtool-2.0.8/sh.mkln 2010-04-21 06:40:29.000000000 -0500 @@ -186,7 +186,7 @@ =head1 NAME -B - B enhanced ln(1) replacement +B - B enhanced ln(1) replacement =head1 SYNOPSIS Index: shtool-2.0.8/sh.mkshadow =================================================================== --- shtool-2.0.8.orig/sh.mkshadow 2010-04-21 06:40:29.000000000 -0500 +++ shtool-2.0.8/sh.mkshadow 2010-04-21 06:40:29.000000000 -0500 @@ -148,7 +148,7 @@ =head1 NAME -B - B create shadow tree using symlinks +B - B create shadow tree using symlinks =head1 SYNOPSIS Index: shtool-2.0.8/sh.move =================================================================== --- shtool-2.0.8.orig/sh.move 2008-04-02 14:10:17.000000000 -0600 +++ shtool-2.0.8/sh.move 2010-04-21 06:40:29.000000000 -0500 @@ -123,7 +123,7 @@ =head1 NAME -B - B enhanced mv(1) replacement +B - B enhanced mv(1) replacement =head1 SYNOPSIS Index: shtool-2.0.8/sh.path =================================================================== --- shtool-2.0.8.orig/sh.path 2008-04-02 14:10:17.000000000 -0600 +++ shtool-2.0.8/sh.path 2010-04-21 06:40:29.000000000 -0500 @@ -175,7 +175,7 @@ =head1 NAME -B - B command dealing with shell path variables +B - B command dealing with shell path variables =head1 SYNOPSIS Index: shtool-2.0.8/sh.platform =================================================================== --- shtool-2.0.8.orig/sh.platform 2008-04-02 14:10:17.000000000 -0600 +++ shtool-2.0.8/sh.platform 2010-04-21 06:40:29.000000000 -0500 @@ -667,7 +667,7 @@ =head1 NAME -B - B Unix platform identification +B - B Unix platform identification =head1 SYNOPSIS Index: shtool-2.0.8/sh.prop =================================================================== --- shtool-2.0.8.orig/sh.prop 2010-04-21 06:40:29.000000000 -0500 +++ shtool-2.0.8/sh.prop 2010-04-21 06:40:29.000000000 -0500 @@ -74,7 +74,7 @@ =head1 NAME -B - B propeller processing indication +B - B propeller processing indication =head1 SYNOPSIS Index: shtool-2.0.8/sh.rotate =================================================================== --- shtool-2.0.8.orig/sh.rotate 2008-04-02 14:10:17.000000000 -0600 +++ shtool-2.0.8/sh.rotate 2010-04-21 06:40:29.000000000 -0500 @@ -409,7 +409,7 @@ =head1 NAME -B - B log file rotation +B - B log file rotation =head1 SYNOPSIS Index: shtool-2.0.8/sh.scpp =================================================================== --- shtool-2.0.8.orig/sh.scpp 2008-04-02 14:10:17.000000000 -0600 +++ shtool-2.0.8/sh.scpp 2010-04-21 06:40:29.000000000 -0500 @@ -256,7 +256,7 @@ =head1 NAME -B - B C source file pre-processor +B - B C source file pre-processor =head1 SYNOPSIS Index: shtool-2.0.8/sh.slo =================================================================== --- shtool-2.0.8.orig/sh.slo 2008-04-02 14:10:17.000000000 -0600 +++ shtool-2.0.8/sh.slo 2010-04-21 06:40:29.000000000 -0500 @@ -187,7 +187,7 @@ =head1 NAME -B - B separate linker options by library class +B - B separate linker options by library class =head1 SYNOPSIS Index: shtool-2.0.8/sh.subst =================================================================== --- shtool-2.0.8.orig/sh.subst 2008-04-02 14:10:17.000000000 -0600 +++ shtool-2.0.8/sh.subst 2010-04-21 06:40:29.000000000 -0500 @@ -199,7 +199,7 @@ =head1 NAME -B - B sed(1) substitution operations +B - B sed(1) substitution operations =head1 SYNOPSIS Index: shtool-2.0.8/sh.table =================================================================== --- shtool-2.0.8.orig/sh.table 2008-04-02 14:10:17.000000000 -0600 +++ shtool-2.0.8/sh.table 2010-04-21 06:40:29.000000000 -0500 @@ -96,7 +96,7 @@ =head1 NAME -B - B pretty-print a field-separated list +B - B pretty-print a field-separated list =head1 SYNOPSIS Index: shtool-2.0.8/sh.tarball =================================================================== --- shtool-2.0.8.orig/sh.tarball 2008-04-02 14:10:17.000000000 -0600 +++ shtool-2.0.8/sh.tarball 2010-04-21 06:40:29.000000000 -0500 @@ -200,7 +200,7 @@ =head1 NAME -B - B command for rolling standardized tarballs +B - B command for rolling standardized tarballs =head1 SYNOPSIS Index: shtool-2.0.8/sh.version =================================================================== --- shtool-2.0.8.orig/sh.version 2008-04-02 14:10:17.000000000 -0600 +++ shtool-2.0.8/sh.version 2010-04-21 06:40:29.000000000 -0500 @@ -326,7 +326,7 @@ =head1 NAME -B - B maintain version information file +B - B maintain version information file =head1 SYNOPSIS Index: shtool-2.0.8/shtool.pod =================================================================== --- shtool-2.0.8.orig/shtool.pod 2008-04-02 14:10:17.000000000 -0600 +++ shtool-2.0.8/shtool.pod 2010-04-21 06:40:29.000000000 -0500 @@ -22,7 +22,7 @@ =head1 NAME -B - The GNU Portable Shell Tool +B - The GNU Portable Shell Tool =head1 VERSION Index: shtool-2.0.8/sh.arx =================================================================== --- shtool-2.0.8.orig/sh.arx 2010-04-21 06:42:21.000000000 -0500 +++ shtool-2.0.8/sh.arx 2010-04-21 06:42:39.000000000 -0500 @@ -108,7 +108,7 @@ =head1 NAME -B - B ar(1) extensional command +B - B ar(1) extensional command =head1 SYNOPSIS debian/patches/fix-spelling.diff0000644000000000000000000000124511363501442014051 0ustar Index: shtool-2.0.8/sh.prop Description: Fix spelling in a manpage by William Vera =================================================================== --- shtool-2.0.8.orig/sh.prop 2010-04-20 07:18:46.000000000 -0500 +++ shtool-2.0.8/sh.prop 2010-04-20 07:19:11.000000000 -0500 @@ -85,7 +85,7 @@ This command displays a processing indication though a running propeller. It is intended to be run at the end of a pipe ("C<|>") -sequence where on C logging/processing informations found. For +sequence where on C logging/processing information found. For every line on C the propeller advances one step clock-wise. =head1 OPTIONS debian/changelog0000644000000000000000000001515311423162523011044 0ustar shtool (2.0.8-6) unstable; urgency=low * Added a path to fix mkdir -p implementation (Closes: #589571). - Thanks Raphael Geissert -- William Vera Sun, 25 Jul 2010 20:28:43 -0500 shtool (2.0.8-5) unstable; urgency=low * Bump Standards-Version to 3.9.0. -- William Vera Thu, 01 Jul 2010 09:41:20 -0500 shtool (2.0.8-4) unstable; urgency=low * New maintainer (Closes: #543890). * Updated Standards Version to 3.8.4. * debhelper versioned at (>= 7.0.50~) in control file. * Added DM-Upload-Allowed: yes, in the control file. * Switch to dpkg-source 3.0 (quilt) format. * Added a watch file. * Added a patch to fix spelling in sh.prop manpage. * Added a patch to fix manpage-has-bad-whatis-entry. * Added a patch to fix manpage-has-errors-from-pod2man. -- William Vera Tue, 02 Mar 2010 20:28:47 -0600 shtool (2.0.8-3) unstable; urgency=low * Updating package to standards version 3.8.3. * Removing vcs fields. * Orphaning package. -- Daniel Baumann Thu, 27 Aug 2009 09:45:05 +0200 shtool (2.0.8-2) unstable; urgency=low * Replacing obsolete dh_clean -k with dh_prep. * Using correct rfc-2822 date formats in changelog. * Prefixing debhelper files with package name. * Updating package to standards version 3.8.2. * Updating year in copyright file. * Minimizing rules file. -- Daniel Baumann Mon, 03 Aug 2009 01:38:10 +0200 shtool (2.0.8-1) unstable; urgency=low * Correcting indenting in copyright file. * Updatingto debhelper 7. * Updating to standards 3.8.0. * Updating vcs fields in control file. * Merging upstream version 2.0.8. * Updating year in upstream section of copyright file. * Removing unused dh_link call in rules file. -- Daniel Baumann Mon, 08 Sep 2008 14:53:00 +0200 shtool (2.0.7-3) unstable; urgency=low * Reordering rules file. * Removing watch file. * Rewriting copyright file in machine-interpretable format. * Reordering depends in control. * Updating suggests in control. * Adding vcs fields in control. * Updating package to debhelper 6. -- Daniel Baumann Thu, 17 Apr 2008 00:34:00 +0200 shtool (2.0.7-2) unstable; urgency=low * Bumping to new policy. * Using new homepage field in control. * Don't hide make errors in clean target of rules. -- Daniel Baumann Sun, 23 Dec 2007 17:38:00 +0100 shtool (2.0.7-1) unstable; urgency=low * New upstream release. * Minor cleanups. * Bumped package to debhelper 5. -- Daniel Baumann Tue, 22 May 2007 11:28:00 +0200 shtool (2.0.6-2) unstable; urgency=low * Updated depends (Closes: #394707). -- Daniel Baumann Sat, 06 Jan 2007 16:48:00 +0100 shtool (2.0.6-1) unstable; urgency=low * New maintainer (Closes: #405729). * New upstream release (Closes: #332339). * Acknowledge NMU (Closes: #311206). * Redone debian directory based on current debhelper templates, additionally: - dropping previously attached patch to fix insecure temp file, the new upstream release fixes it in a different way. -- Daniel Baumann Fri, 05 Jan 2007 23:28:00 +0100 shtool (2.0.1-2) unstable; urgency=HIGH * NMU * Apply patch from gentoo to fix insecure temp file. (https://bugs.gentoo.org/attachment.cgi?id=60117) Closes: #311206 -- Joey Hess Fri, 10 Jun 2005 21:21:51 -0400 shtool (2.0.1-1) unstable; urgency=low * New upstream release * Missed a few upstream releases last year. Better late than never? * Upstream fixes m4 file underquoted problem. Thanks James Rowe . Closes: #255781 * Upgraded Standards Version * Modified short description in debian/control to make lintian happy * Removed old /usr/doc symlink hack -- Gopal Narayanan Sun, 30 Jan 2005 13:50:47 -0500 shtool (1.6.2-1) unstable; urgency=low * New upstream release -- Gopal Narayanan Wed, 13 Nov 2002 07:30:52 -0500 shtool (1.6.1-1) unstable; urgency=low * New upstream release -- Gopal Narayanan Tue, 20 Aug 2002 12:53:19 -0400 shtool (1.6.0-1) unstable; urgency=low * New upstream release -- Gopal Narayanan Mon, 04 Feb 2002 12:04:08 -0500 shtool (1.5.4-1) unstable; urgency=low * New upstream release -- Gopal Narayanan Fri, 15 Jun 2001 13:10:05 +0000 shtool (1.5.3-1) unstable; urgency=low * New upstream release * Automated Perl dependencies in control file bringing into line with perl policy * Updated Standards version -- Gopal Narayanan Tue, 08 May 2001 09:01:24 -0400 shtool (1.5.1-1) unstable; urgency=low * New upstream release -- Gopal Narayanan Mon, 31 Jul 2000 15:13:31 -0400 shtool (1.5.0-1) unstable; urgency=low * New upstream release -- Gopal Narayanan Thu, 13 Jul 2000 12:53:40 -0400 shtool (1.4.8-1) frozen unstable; urgency=low * New upstream release -- Gopal Narayanan Mon, 13 Mar 2000 09:51:03 -0500 shtool (1.4.7-2) unstable; urgency=low * Potatoized & Fixed bad postinst script -- Gopal Narayanan Mon, 27 Dec 1999 12:31:05 -0500 shtool (1.4.7-1) unstable; urgency=low * New upstream release -- Gopal Narayanan Mon, 27 Dec 1999 12:11:40 -0500 shtool (1.4.6-1) unstable; urgency=low * New upstream release * Upgrade to Standards 3.0.1 -- Gopal Narayanan Fri, 29 Oct 1999 17:04:14 -0400 shtool (1.4.5-2) unstable; urgency=low * Packaged using debhelper (>2.0) for FHS compliance -- Gopal Narayanan Sat, 07 Aug 1999 23:06:29 -0400 shtool (1.4.5-1) unstable; urgency=low * Upstream source changes to filenames. Modified rules file to reflect upstream changes * Fixed Bug #42117: Perl dependency. Now depends on perl|perl5. Thanks to Raphael Hertzog * New upstream release -- Gopal Narayanan Thu, 29 Jul 1999 09:24:18 -0400 shtool (1.4.4-1) unstable; urgency=low * New upstream release -- Gopal Narayanan Mon, 19 Jul 1999 22:58:38 -0400 shtool (1.4.3-1) unstable; urgency=low * New upstream release -- Gopal Narayanan Mon, 12 Jul 1999 15:41:12 -0400 shtool (1.4.1-1) unstable; urgency=low * Removed '#!/bin/sh' from three non-executable shell scripts in /usr/share/shtool to heed lintian warning (minor change) * Initial Release. -- Gopal Narayanan Thu, 08 Jul 1999 14:06:15 -0400