summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAdam Spiers <stow@adamspiers.org>2011-12-07 17:40:08 +0000
committerAdam Spiers <stow@adamspiers.org>2011-12-07 20:49:17 +0000
commit15db06696dae3c1437cb46aa2b6e71bc898850e2 (patch)
tree7965251f7070daccd91e44b27427966934a81e88
parent23fe1510d27367321d829f073cfbabb993eadd6b (diff)
downloadstow-debian.tar.gz
Import debian/ directory from Ubuntu Oneiric's Stow packagedebian
-rw-r--r--debian/README.Debian14
-rw-r--r--debian/README.source14
-rw-r--r--debian/changelog187
-rw-r--r--debian/compat1
-rw-r--r--debian/control18
-rw-r--r--debian/copyright45
-rw-r--r--debian/doc-base10
-rw-r--r--debian/docs5
-rw-r--r--debian/info1
-rw-r--r--debian/patches/01_makefile_install-info.patch21
-rw-r--r--debian/patches/02_gpl2_file_reference.patch12
-rwxr-xr-xdebian/rules18
12 files changed, 346 insertions, 0 deletions
diff --git a/debian/README.Debian b/debian/README.Debian
new file mode 100644
index 0000000..9a44e1e
--- /dev/null
+++ b/debian/README.Debian
@@ -0,0 +1,14 @@
+README for GNU Stow in Debian
+-----------------------------
+
+The most common way to use GNU Stow is to install your local packages in
+/usr/local/stow/<package-name> and then use the stow command to install
+symlinks into /usr/local. Previous versions of the Debian stow package,
+when installed, creates the /usr/local/stow directory as a hint to new
+system administrators on where to put things.
+
+Alas, it appears that doing so violates FHS and Debian Policy 9.1.2 (see
+bug #528023), so we are not doing that anymore. Take it upon yourself
+to create /usr/local/stow yourself, and everything will be fine again.
+
+ -- Chuan-kai Lin <cklin@debian.org>, Wed, 23 Sep 2009 15:13:10 -0700
diff --git a/debian/README.source b/debian/README.source
new file mode 100644
index 0000000..1671e5c
--- /dev/null
+++ b/debian/README.source
@@ -0,0 +1,14 @@
+Debian stow README.source
+-------------------------
+
+This package uses CDBS simple-patchsys to manage changes to the upstream
+source. To put it simply, all the changes are stored as patches in the
+debian/patches directory, with the number prefix indicating the order of
+their applications.
+
+ Apply the patches: type "debian/rules patch"
+ Un-apply the patches: type "debian/rules unpatch"
+
+To save your own modifications, add the patches into debian/rules.
+
+ -- Chuan-kai Lin <cklin@debian.org>, Wed, 23 Sep 2009 16:38:33 -0700
diff --git a/debian/changelog b/debian/changelog
new file mode 100644
index 0000000..b81d654
--- /dev/null
+++ b/debian/changelog
@@ -0,0 +1,187 @@
+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 <micah@debian.org> 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 <micah@debian.org> 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 <cklin@debian.org> 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 <debian@miguelgea.com> 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 <ametzler@logic.univie.ac.at> for his
+ detailed bug report and patch. (closes: #219990)
+ * Raised Standards-Version to 3.6.1.0.
+
+ -- Guillaume Morin <gemorin@debian.org> 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 <gemorin@debian.org> 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 <gemorin@debian.org> 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 <gemorin@debian.org> 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 <gemorin@debian.org> 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 <cpbs@debian.org> 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 <cpbs@debian.org> 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 <cpbs@debian.org> 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 <cpbs@debian.org> 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 <cpbs@debian.org> 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 <cpbs@debian.org> 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 <cpbs@debian.org> 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 <cpbs@debian.org> 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 <cpb4@ukc.ac.uk> 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 <cpb4@ukc.ac.uk> Mon, 28 Jul 1997 09:18:42 +0100
+
+stow (1.3.2-1) unstable; urgency=low
+
+ * First Debian version
+
+ -- Charles Briscoe-Smith <cpb4@ukc.ac.uk> Sat, 14 Jun 1997 20:47:17 +0100
diff --git a/debian/compat b/debian/compat
new file mode 100644
index 0000000..7ed6ff8
--- /dev/null
+++ b/debian/compat
@@ -0,0 +1 @@
+5
diff --git a/debian/control b/debian/control
new file mode 100644
index 0000000..4745d75
--- /dev/null
+++ b/debian/control
@@ -0,0 +1,18 @@
+Source: stow
+Section: admin
+Priority: optional
+Maintainer: Chuan-kai Lin <cklin@debian.org>
+Build-Depends: cdbs, debhelper (>= 7)
+Build-Depends-Indep: perl, autotools-dev, texi2html
+Standards-Version: 3.8.3
+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.
diff --git a/debian/copyright b/debian/copyright
new file mode 100644
index 0000000..069a1ae
--- /dev/null
+++ b/debian/copyright
@@ -0,0 +1,45 @@
+This work was first packaged for Debian by:
+
+ Guillaume Morin <gemorin@debian.org> on Wed, 1 Nov 2000 16:10:32 +0100
+ based on the work of Charles Briscoe-Smith <cpbs@debian.org>.
+
+It was downloaded from:
+
+ ftp://ftp.gnu.org/gnu/stow-1.3.3.tar.gz
+
+Upstream Author:
+
+ Bob Glickstein <bobg+stow@zanshin.com>
+
+Copyright:
+
+ Copyright (C) 1993, 1994, 1995, 1996 Bob Glickstein
+ Copyright (C) 2000, 2001 Guillaume Morin
+
+License:
+
+ This package 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 package 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 package; if not, write to the Free Software
+ Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
+
+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 <cklin@debian.org>
+
+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.
diff --git a/debian/doc-base b/debian/doc-base
new file mode 100644
index 0000000..e335f96
--- /dev/null
+++ b/debian/doc-base
@@ -0,0 +1,10 @@
+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/html/stow_toc.html
+Files: /usr/share/doc/stow/html/*.html
diff --git a/debian/docs b/debian/docs
new file mode 100644
index 0000000..f59b6a4
--- /dev/null
+++ b/debian/docs
@@ -0,0 +1,5 @@
+NEWS
+README
+TODO
+AUTHORS
+texi/html
diff --git a/debian/info b/debian/info
new file mode 100644
index 0000000..b5c96be
--- /dev/null
+++ b/debian/info
@@ -0,0 +1 @@
+stow.info
diff --git a/debian/patches/01_makefile_install-info.patch b/debian/patches/01_makefile_install-info.patch
new file mode 100644
index 0000000..9716de7
--- /dev/null
+++ b/debian/patches/01_makefile_install-info.patch
@@ -0,0 +1,21 @@
+diff -r e0fe058ddbbf Makefile.in
+--- a/Makefile.in Wed Sep 23 15:46:00 2009 -0700
++++ b/Makefile.in Wed Sep 23 15:47:56 2009 -0700
+@@ -185,7 +185,7 @@
+ uninstall-info-am:
+ $(PRE_UNINSTALL)
+ @if (install-info --version && \
+- install-info --version | fgrep -i -v debian) >/dev/null 2>&1; then \
++ install-info --version 2>&1 | sed 1q | fgrep -i -v debian) >/dev/null 2>&1; then \
+ list='$(INFO_DEPS)'; \
+ for file in $$list; do \
+ echo " install-info --info-dir=$(DESTDIR)$(infodir) --remove $(DESTDIR)$(infodir)/$$file"; \
+@@ -412,7 +412,7 @@
+ done
+ @$(POST_INSTALL)
+ @if (install-info --version && \
+- install-info --version | fgrep -i -v debian) >/dev/null 2>&1; then \
++ install-info --version 2>&1 | sed 1q | fgrep -i -v debian) >/dev/null 2>&1; then \
+ list='$(INFO_DEPS)'; \
+ for file in $$list; do \
+ echo " install-info --info-dir=$(DESTDIR)$(infodir) $(DESTDIR)$(infodir)/$$file";\
diff --git a/debian/patches/02_gpl2_file_reference.patch b/debian/patches/02_gpl2_file_reference.patch
new file mode 100644
index 0000000..2d70468
--- /dev/null
+++ b/debian/patches/02_gpl2_file_reference.patch
@@ -0,0 +1,12 @@
+diff -r e0fe058ddbbf stow.8
+--- a/stow.8 Wed Sep 23 15:46:00 2009 -0700
++++ b/stow.8 Wed Sep 23 15:49:55 2009 -0700
+@@ -423,7 +423,7 @@
+ notice, which, as it says, applied to this manual page, too. The text
+ of the section entitled ``GNU General Public License'' can be found in
+ the file
+-.I /usr/share/common-licenses/GPL
++.I /usr/share/common-licenses/GPL-2
+ on any Debian GNU/Linux system. If you don't have access to a Debian
+ system, or the GPL is not there, write to the Free Software Foundation,
+ Inc., 59 Temple Place, Suite 330, Boston, MA, 02111-1307, USA.
diff --git a/debian/rules b/debian/rules
new file mode 100755
index 0000000..2268828
--- /dev/null
+++ b/debian/rules
@@ -0,0 +1,18 @@
+#!/usr/bin/make -f
+
+include /usr/share/cdbs/1/rules/debhelper.mk
+include /usr/share/cdbs/1/rules/simple-patchsys.mk
+include /usr/share/cdbs/1/class/autotools.mk
+
+build/stow::
+ [ -d texi ] || ( mkdir texi ; cd texi \
+ ; ln -s ../stow.texi ../version.texi . \
+ ; texi2html -split_node -menu --subdir=html stow.texi )
+
+install/stow::
+ rm -f $(CURDIR)/debian/stow/usr/share/info/dir
+
+clean::
+ rm -Rf texi
+
+# Add here any variable or target overrides you need.