debian/0000755000000000000000000000000012023513701007160 5ustar debian/source/0000755000000000000000000000000011742204500010461 5ustar debian/source/format0000644000000000000000000000001411742204500011667 0ustar 3.0 (quilt) debian/prerm0000644000000000000000000000010712023513354010232 0ustar #!/bin/sh set -e #DEBHELPER# rmdir /usr/local/stow 2>/dev/null || true debian/docs0000644000000000000000000000004011742204500010026 0ustar AUTHORS NEWS README THANKS TODO debian/copyright0000644000000000000000000000310411742204500011112 0ustar This work was first packaged for Debian by: Guillaume Morin on Wed, 1 Nov 2000 16:10:32 +0100 based on the work of Charles Briscoe-Smith . It was downloaded from: http://ftp.gnu.org/gnu/stow/stow-2.2.0.tar.gz Upstream Author: Bob Glickstein Copyright: Copyright (C) 1993, 1994, 1995, 1996 by Bob Glickstein Copyright (C) 2000, 2001 Guillaume Morin Copyright (C) 2007 Kahlil Hodgson Copyright (C) 2011 Adam Spiers License: 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, see . On Debian systems, the complete text of the GNU General Public License version 2 can be found in `/usr/share/common-licenses/GPL-2'. The Debian packaging is: Copyright (C) 2009 Chuan-kai Lin 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. debian/changelog0000644000000000000000000001657012023513701011043 0ustar stow (2.2.0-2) unstable; urgency=low * Add shebang lines to maintainer scripts (Closes: #686434). * Include patch by Kalle Olavi Niemitalo to process command-line arguments beyond '--' (Closes: #681752). * Add 'set -e' to maintainer scripts per Policy section 10.4. -- Chuan-kai Lin Mon, 10 Sep 2012 18:45:37 -0700 stow (2.2.0-1) unstable; urgency=low * New upstream version 2.2.0 (closes: #650986). * Update to Standards-Version 3.9.3.0 (no change needed). * Convert package to 3.0 (quilt) source format. * Set stow manpage to section 8 to match filename. * Create and delete empty /usr/local/stow directory as advised by Policy section 9.1.2, which also corrects the inappropriate fix for #528023 (closes: #564460). * Add debian/watch file. -- Chuan-kai Lin Thu, 12 Apr 2012 22:24:09 -0700 stow (1.3.3-3.2) unstable; urgency=low * Non-maintainer upload. * Fix package-contains-info-dir-file usr/share/info/dir.gz by removing the file in the install-stow target in debian/rules -- Micah Anderson Sun, 31 Jan 2010 00:35:43 -0500 stow (1.3.3-3.1) unstable; urgency=low * Non-maintainer upload. * Apply patch to fix FTBS from Michael Bienia (Closes: #552917) -- Micah Anderson Sat, 30 Jan 2010 23:30:11 -0500 stow (1.3.3-3) unstable; urgency=low * New maintainer (closes: #547243) * Update to Standards-Version 3.8.3 * Move debian/rules to CDBS * Stop creating /usr/local/stow in postinst in compliance with Policy 9.1.2 and FHS (closes: #528023) * Use debhelper to install HTML manual (closes: #447307) * Use upstream manpage, which has the right version (closes: #150234) * Correct GPL license file pathname in upstream stow.8 -- Chuan-kai Lin Wed, 23 Sep 2009 15:51:06 -0700 stow (1.3.3-2.1) unstable; urgency=low * Non-maintainer upload. * Use an auxiliar directory to execute texi2html to avoid the name conflict. (closes: #318559) -- Miguel Gea Milvaques Mon, 8 Aug 2005 03:38:41 +0300 stow (1.3.3-2) unstable; urgency=low * Don't install /usr/share/info/dir.gz when built with a buggy automake Thanks to Andreas Metzler for his detailed bug report and patch. (closes: #219990) * Raised Standards-Version to 3.6.1.0. -- Guillaume Morin Tue, 23 Mar 2004 10:58:52 -0500 stow (1.3.3-1) unstable; urgency=low * New upstream release (closes: #100305,#98734) * Raised Standards-version to 3.5.6.0 * control: Build-Depends -> Build-Depends-Indep * Build-Depends on perl instead of perl5 * Use DH_COMPAT=3 * Removed README.Debian * Updated copyright -- Guillaume Morin Sun, 30 Dec 2001 20:29:26 +0100 stow (1.3.2-14) unstable; urgency=low * Purging stow now removes /usr/local/stow if empty (closes: #93038) * Updated standards to 3.5.2.0 -- Guillaume Morin Thu, 5 Apr 2001 22:38:50 +0200 stow (1.3.2-13) unstable; urgency=low * Patched stow when "CommonParent" between target and module is / (closes: #81258) -- Guillaume Morin Sat, 13 Jan 2001 14:33:57 +0100 stow (1.3.2-12) unstable; urgency=low * New maintainer * Updated standards-version to 3.1.1.1 * Converted package management to debhelper * Added doc-base support * Minor correction in the manpage to reflect the current GPL location * Moved stow.8 to the debian directory * Added Build-Depends and Depends in control * Suggests doc-base * Modified stow.info for install-info * Stow now calls POSIX::getcwd instead of its hardcoded buggy fastcwd (closes: #72692) * Switch from /usr/doc/ to /usr/share/doc/ * Removed unnecessary menu file * Patched stow to prevent the creation of bad links when --dir is a soft link (closes: #62122) * Removed unused dwww-index * stow_1.3.2.orig.tar.gz now create stow-1.3.2 * Updated copyright to reflect current location of the GPL -- Guillaume Morin Sat, 4 Nov 2000 16:17:42 +0100 stow (1.3.2-11) unstable; urgency=low * Removed redundant "icon=none" from menu file. * Updated debian/rules. * Updated standards-version to 2.4.1 (no changes required). -- Charles Briscoe-Smith Tue, 6 Oct 1998 02:30:31 +0100 Old Changelog: stow (1.3.2-10) frozen unstable; urgency=medium, closes=24093 * Three-line patch to prevent stow -D / stow -R from removing initially-empty directories from the target tree. We make stow consider an empty directory not to be "pure", so it doesn't try coalescing. This should be safe to install into hamm, since it does nothing but turn off an optimisation under certain circumstances. (Fixes Bug#24093: stow -D deletes unrelated empty directories.) -- Charles Briscoe-Smith Tue, 14 Jul 1998 05:35:12 +0100 stow (1.3.2-9) frozen unstable; urgency=low * No longer try to remove /usr/local/stow when upgrading. * Do not change ownership and permissions of /usr/local/stow unless we just created it. -- Charles Briscoe-Smith Sat, 4 Apr 1998 23:21:02 +0100 stow (1.3.2-8) frozen unstable; urgency=low * Wrote and included a man page for stow(8). * Fixed maintainer scripts not to output spurious messages about subdirectories of /usr/local. -- Charles Briscoe-Smith Sat, 28 Mar 1998 14:12:47 +0000 stow (1.3.2-7) unstable; urgency=low * Updated to standards version 2.4.0.0 (no changes required). * Fix spelling error in package description. (Fixes:bug#18960) -- Charles Briscoe-Smith Thu, 12 Mar 1998 02:20:38 +0000 stow (1.3.2-6) unstable; urgency=low * Remove dpkg-geninfo from debian directory and remove call to it from debian/rules following debian-policy discussion on `md5sums' and `du' files. * Install relative, not absolute, symlink to `undocumented' man page. -- Charles Briscoe-Smith Fri, 20 Feb 1998 02:55:55 +0000 stow (1.3.2-5) unstable; urgency=low * Symlink nonexistent man page to undocumented.7; bug reported. Thanks, lintian. * copyright file now refers to uncompressed GPL file. Ditto. * Added my name and email address to copyright file. * New version of debian/rules. Added debian/dpkg-geninfo. -- Charles Briscoe-Smith Mon, 9 Feb 1998 21:50:41 +0000 stow (1.3.2-4) unstable; urgency=low * Make /usr/local/stow be 2775 root.staff (Closes:bug#15597) * Updated to policy version 2.3.0.1 * Use my debian.org email address in "maintainer" field. -- Charles Briscoe-Smith Wed, 3 Dec 1997 21:14:23 +0000 stow (1.3.2-3) unstable; urgency=low * Fixed bug no. 11622: call to dwww-build in post{inst,rm} was wrong; stow would not install if dwww wasn't installed. * Remove calls to dwww-build. Seemed to be causing problems on my system (quite apart from the previous foul-up). * Add dwww support via menu file. -- Charles Briscoe-Smith Sat, 2 Aug 1997 19:12:21 +0100 stow (1.3.2-2) unstable; urgency=low * Used texi2html to generate HTML documentation. * Added dwww-index; call dwww-build --default in postinst/postrm. -- Charles Briscoe-Smith Mon, 28 Jul 1997 09:18:42 +0100 stow (1.3.2-1) unstable; urgency=low * First Debian version -- Charles Briscoe-Smith Sat, 14 Jun 1997 20:47:17 +0100 debian/info0000644000000000000000000000001611742204500010034 0ustar doc/stow.info debian/doc-base0000644000000000000000000000047111742204500010563 0ustar Document: stow Title: GNU Stow Manual Author: Bob Glickstein Abstract: This manual describes what stow is and how it can be used to manage /usr/local on Debian systems. Section: System/Administration Format: HTML Index: /usr/share/doc/stow/manual-split/index.html Files: /usr/share/doc/stow/manual-split/*.html debian/compat0000644000000000000000000000000211742204500010357 0ustar 5 debian/watch0000644000000000000000000000007711742204500010216 0ustar version=3 http://ftp.gnu.org/gnu/stow/ stow-([0-9.]+)\.tar\.gz debian/rules0000755000000000000000000000030611742204500010240 0ustar #!/usr/bin/make -f # Uncomment this to turn on verbose mode. #export DH_VERBOSE=1 #export DH_OPTIONS=-v %: dh $@ override_dh_auto_configure: dh_auto_configure -- --with-pmdir=/usr/share/perl5 debian/control0000644000000000000000000000123211742204500010562 0ustar Source: stow Section: admin Priority: optional Maintainer: Chuan-kai Lin Build-Depends-Indep: debhelper (>= 7.0.50~), perl, libtest-output-perl, autotools-dev Standards-Version: 3.9.3.0 Homepage: http://www.gnu.org/software/stow/ Package: stow Architecture: all Depends: ${perl:Depends}, ${misc:Depends} Suggests: doc-base Description: Organizer for /usr/local software packages GNU Stow is a software installation manager for /usr/local. Using symbolic links, GNU Stow helps you keep the installations separate (/usr/local/stow/emacs vs. /usr/local/stow/perl, for example) while maintaining the illusion that they are all under /usr/local. debian/patches/0000755000000000000000000000000012023511725010613 5ustar debian/patches/01_gpl2_file_reference.patch0000644000000000000000000000146211742204500016015 0ustar Index: package-stow/doc/stow.8 =================================================================== --- package-stow.orig/doc/stow.8 2012-04-11 23:54:46.343572958 -0700 +++ package-stow/doc/stow.8 2012-04-11 23:55:32.087570709 -0700 @@ -469,7 +469,7 @@ Spiers. The info manual contains the following notice, which, as it says, applies to this manual page, too. The text of the section entitled \*(L"\s-1GNU\s0 General Public License\*(R" can be found in the file -\&\fI/usr/share/common\-licenses/GPL\fR on any Debian GNU/Linux system. If +\&\fI/usr/share/common\-licenses/GPL\-2\fR on any Debian GNU/Linux system. If you don't have access to a Debian system, or the \s-1GPL\s0 is not there, write to the Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, \s-1MA\s0, 02111\-1307, \s-1USA\s0. debian/patches/series0000644000000000000000000000012212023511725012023 0ustar 01_gpl2_file_reference.patch 02_stow_manpage_section_8.patch 03_stow_getopt.patch debian/patches/02_stow_manpage_section_8.patch0000644000000000000000000000122711742204500016573 0ustar Index: package-stow/doc/stow.8 =================================================================== --- package-stow.orig/doc/stow.8 2012-04-11 23:54:36.847573424 -0700 +++ package-stow/doc/stow.8 2012-04-11 23:54:39.639573287 -0700 @@ -124,7 +124,7 @@ .\" ======================================================================== .\" .IX Title "STOW.IN 1" -.TH STOW.IN 1 "2012-02-18" "perl v5.12.4" "User Contributed Perl Documentation" +.TH STOW.IN 8 "2012-02-18" "perl v5.12.4" "User Contributed Perl Documentation" .\" For nroff, turn off justification. Always turn off hyphenation; it makes .\" way too many mistakes in technical documents. .if n .ad l debian/patches/03_stow_getopt.patch0000644000000000000000000000313612023511220014505 0ustar Author: Kalle Olavi Niemitalo Description: Fix '--' getopt argument processing Origin: other, http://bugs.debian.org/681752 Bug-Debian: http://bugs.debian.org/681752 Reviewed-By: Chuan-kai Lin Last-Update: 2012-09-10 --- stow-2.2.0.orig/bin/stow.in +++ stow-2.2.0/bin/stow.in @@ -473,6 +473,19 @@ sub process_options { my @pkgs_to_stow = (); my $action = 'stow'; + my $remember_package_action = sub { + if ($action eq 'restow') { + push @pkgs_to_unstow, $_[0]; + push @pkgs_to_stow, $_[0]; + } + elsif ($action eq 'unstow') { + push @pkgs_to_unstow, $_[0]; + } + else { + push @pkgs_to_stow, $_[0]; + } + }; + unshift @ARGV, get_config_file_options(); #$,="\n"; print @ARGV,"\n"; # for debugging rc file @@ -510,21 +523,12 @@ sub process_options { 'R|restow' => sub { $action = 'restow' }, # Handler for non-option arguments - '<>' => - sub { - if ($action eq 'restow') { - push @pkgs_to_unstow, $_[0]; - push @pkgs_to_stow, $_[0]; - } - elsif ($action eq 'unstow') { - push @pkgs_to_unstow, $_[0]; - } - else { - push @pkgs_to_stow, $_[0]; - } - }, + '<>' => $remember_package_action, ) or usage(); + # If GetOptions stopped at "--", process any remaining arguments. + $remember_package_action->($_) foreach @ARGV; + usage() if $options{help}; version() if $options{version}; debian/postinst0000644000000000000000000000032212023513362010766 0ustar #!/bin/sh set -e if [ ! -e /usr/local/stow ]; then if mkdir /usr/local/stow 2>/dev/null; then if chown root:staff /usr/local/stow; then chmod 2775 /usr/local/stow || true fi fi fi #DEBHELPER#