--- tree-1.5.1.orig/tree.c +++ tree-1.5.1/tree.c @@ -68,6 +68,10 @@ enum bool {FALSE=0, TRUE}; #endif +#ifndef PATH_MAX +#define PATH_MAX 4096 +#endif + struct _info { char *name; char *lnk; --- tree-1.5.1.orig/debian/changelog +++ tree-1.5.1/debian/changelog @@ -0,0 +1,200 @@ +tree (1.5.1-2) unstable; urgency=low + + * Fix manpage typo, thanks once more to A. Costa (Closes: #408326) + + -- Florian Ernst Thu, 25 Jan 2007 00:22:12 +0100 + +tree (1.5.1-1) unstable; urgency=low + + * New upstream release, changes include + + Fixed missing
's when -i option used with -H (Closes: #314198) + + Added -h option for human readable output (Closes: #315185) + * debian/copyright: update FSF address + * debian/changelog: remove cruft from end of file + * debhelper compatibility level 5 + * Standards-Version 3.7.2 + + -- Florian Ernst Tue, 23 Jan 2007 13:09:38 +0100 + +tree (1.5.0-2) unstable; urgency=low + + * New maintainer address, many thanks to Eduard Bloch and Andreas Barth + for previous sponsoring + * reintroduce PATH_MAX definition to allow building on Hurd, see #105432 + + -- Florian Ernst Wed, 30 Mar 2005 19:50:06 +0200 + +tree (1.5.0-1) unstable; urgency=medium + + * This should really go into Sarge + * New upstream release, changes include + + Added -T option to change title and H1 header in HTML output + (Closes: #193136) + + Added -r option to reverse alpha sort output, ala. 'ls -r' + (Closes: #193356) + + Better support for Locales and printing utf-8 encoded characters in + filenames (still hackish) (Closes: #114791) + + Fixed -t to alphasort files with same time-stamps (Closes: #193357) + + Fixed encoding of filenames in HTML output (Closes: #181738) + + Changed license from "Artistic License" to GPLv2 + + compiles cleanly with gcc-3.4 (Closes: #266236) + * debian/copyright: reflect license change + * debian/rules: adjust LDFLAGS for nostrip + + -- Florian Ernst Wed, 18 Aug 2004 11:12:03 +0200 + +tree (1.4b3-2) unstable; urgency=low + + * Added sanity check to split function. Thanks, Kototama! (Closes: #259998) + * debian/rules: s/dh_installmanpages/dh_installman/ + * debian/watch: now really added + + -- Florian Ernst Tue, 27 Jul 2004 15:17:37 +0200 + +tree (1.4b3-1) unstable; urgency=low + + * New maintainer + * New upstream release (Closes: #252722) + + adds LargeFileSupport (Closes: #254011) + * Additional patches: + + don't set GENERATOR META info to "Linux" (Closes: #203143) + + better document -l switch (Closes: #162332) + + s/font-weight/font-size/g + + cosmetical fix in HTML output + + adjust Makefile for nostrip + * debian/copyright: add note about previous and current maintainer + * debian/control: + + add upstream home page + + bumped Standards-Version to 3.6.1 + * debian/rules: + + streamlined, best practices + + added check for noopt + * debian/watch: added + * Dropped unneeded postinst and prerm + * Acknowledge NMUs (Closes: #195058, #114791, #162259, #76594, #152385) + Thanks to Uli Martens and Susan Kleinmann! + + -- Florian Ernst Wed, 14 Jul 2004 11:12:28 +0200 + +tree (1.4b2-0.2.1) unstable; urgency=low + + * NMU + * escaped line endings in string constants (closes: bug#195058) + * removed an empty switch-default: to get rid of the warning + + -- Uli Martens Mon, 14 Jul 2003 10:32:58 +0200 + +tree (1.4b2-0.2) unstable; urgency=low + + * Moved man page to /usr/share/man/man1 (closes: bug#162259) + + -- Susan Kleinmann Wed, 25 Sep 2002 09:51:18 -0400 + +tree (1.4b2-0.1) unstable; urgency=low + + * Non-maintainer upload. + * New upstream version (closes: bug#152386) + * URL fixed in the copyright file (closes: bug#152385) + * The new version displays accentuated letters (closes: bug#114791) + * The new version does not print open errors on stderr (closes: bug#76594) + * Incorporated the new LICENSE file into the copyright. + + -- Susan Kleinmann Thu, 5 Sep 2002 08:07:30 -0400 + +tree (1.3-2) unstable; urgency=low + + * Add PATH_MAX fallback define to compile on Hurd (Closes: #107051, #105432) + * Fix typo in manpage (Closes #106806) + + -- Scott K. Ellis Tue, 20 Nov 2001 19:52:42 -0500 + +tree (1.3-1) unstable; urgency=low + + * Maintainer upload + * Rebuild with debhelper + + -- Scott K. Ellis Tue, 9 May 2000 09:34:59 -0400 + +tree (1.3-0.1) unstable; urgency=low + + * Non-maintainer upload. + * New upstream release. + * Bumped Standards-Version to 3.0.1. + * Included postinst, prerm scripts for /usr/doc -> /usr/share/doc symlink. + + -- Thomas Schoepf Fri, 8 Oct 1999 00:15:00 +0200 + +tree (1.2-6) unstable; urgency=low + + * Rebuild to remove bogus information from md5sums file. + + -- Scott K. Ellis Mon, 9 Feb 1998 10:10:48 -0500 + +tree (1.2-5) unstable; urgency=low + + * Don't us sudo in debian/rules (fixes #15457) + + -- Scott K. Ellis Mon, 19 Jan 1998 13:52:40 -0500 + +tree (1.2-4) unstable; urgency=low + + * Changed maintainer address to *@debian.org + * Rename upstream changelog (fixes bug #2639) + * Recompile with glibc. + + -- Scott K. Ellis Wed, 18 Jun 1997 21:11:42 -0400 + +tree (1.2-3) unstable; urgency=low + + * New Maintainer + + -- Scott K. Ellis Mon, 17 Feb 1997 21:07:22 -0500 + +tree (1.2-2) unstable; urgency=low + + * Moved into section utils. + + -- Joey Hess Thu, 9 Jan 1997 20:06:05 -0500 + +tree (1.2-1) unstable; urgency=low + + * New upstream release. + * Renamed CHANGES to changelog.upstream. + + -- Joey Hess Mon, 6 Jan 1997 14:19:34 -0500 + +tree (1.1.1-3) unstable; urgency=low + + * New maintainer email address. + * Use debmake. + + -- Joey Hess Sat, 21 Dec 1996 00:43:52 -0500 + +tree (1.1.1-2) unstable; urgency=low + + * Routine update of debian/rules. + * Fixed permissions of manpage. + + -- Joey Hess Thu, 17 Oct 1996 01:40:32 -0400 + +tree (1.1.1-1) unstable; urgency=low + + * New upstream release + + -- Joey Hess Tue, 24 Sep 1996 23:32:40 -0400 + +tree (1.1-1) unstable; urgency=low + + * Updated to new packaging standard + * New upstream release + + -- Joey Hess Tue, 24 Sep 1996 23:32:40 -0400 + +1.0-3 + * Fixed m68k problem: made Makefile more portable + * Routine update of debian.rules +1.0-2 + * changed priority to optional +1.0-1 + * Initial release + --- tree-1.5.1.orig/debian/control +++ tree-1.5.1/debian/control @@ -0,0 +1,15 @@ +Source: tree +Section: utils +Priority: optional +Maintainer: Florian Ernst +Build-Depends: debhelper (>= 5) +Standards-Version: 3.7.2 + +Package: tree +Architecture: any +Depends: ${shlibs:Depends} +Description: displays directory tree, in color + Displays an indented directory tree, using the same color assignments as + ls, via the LS_COLORS environment variable. + . + Homepage: http://mama.indstate.edu/users/ice/tree/ --- tree-1.5.1.orig/debian/rules +++ tree-1.5.1/debian/rules @@ -0,0 +1,57 @@ +#!/usr/bin/make -f +# Sample debian/rules that uses debhelper. +# GNU copyright 1997 to 1999 by Joey Hess. + +#export DH_VERBOSE=1 + +PREFIX = $(CURDIR)/debian/tree/usr +MANDIR = $(PREFIX)/share/man/man1 +# Leave LDFLAGS empty so symbol table and relocation information won't be +# removed from the executable; dh_strip takes care of this when needed +LDFLAGS = +CFLAGS = -g -Wall -fomit-frame-pointer -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 +ifneq (,$(findstring noopt, $(DEB_BUILD_OPTIONS))) + CFLAGS += -O0 +else + CFLAGS += -O2 +endif + +build: build-stamp +build-stamp: + dh_testdir + $(MAKE) CFLAGS="$(CFLAGS)" LDFLAGS="$(LDFLAGS)" + touch $@ + +clean: + dh_testdir + dh_testroot + rm -f build-stamp + -$(MAKE) clean + dh_clean + +install: build + dh_testdir + dh_testroot + dh_clean + $(MAKE) install prefix=$(PREFIX) MANDIR=$(MANDIR) + +binary-indep: build install +# We have nothing to do by default. + +binary-arch: build install + dh_testdir + dh_testroot + dh_installdocs README + dh_installchangelogs CHANGES + dh_link + dh_strip + dh_compress + dh_fixperms + dh_installdeb + dh_shlibdeps + dh_gencontrol + dh_md5sums + dh_builddeb + +binary: binary-indep binary-arch +.PHONY: build clean binary-indep binary-arch binary install --- tree-1.5.1.orig/debian/copyright +++ tree-1.5.1/debian/copyright @@ -0,0 +1,36 @@ +This is a Debian prepackaged version of tree, the directory tree lister. + +It was downloaded from http://mama.indstate.edu/users/ice/tree/ + +The current maintainer of this package is Florian Ernst , +the previous maintainers were +Joey Hess (until 17 Feb 1997) +Scott K. Ellis (until 14 Jul 2004) + + +The following copyright applies to this package: + +Main author: Steve Baker (ice@mama.indstate.edu) + +Copyright (c) 1996 - 2007 by Steve Baker (ice@mama.indstate.edu) and + Thomas Moore +HTML output hacked and copyleft (c) 1998 by Francesc Rocher +Charsets / OS/2 support (c) 2001 by Kyosuke Tokoro + + 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 with + the Debian GNU/Linux distribution in file /usr/share/common-licenses/GPL; + 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. --- tree-1.5.1.orig/debian/watch +++ tree-1.5.1/debian/watch @@ -0,0 +1,2 @@ +version=2 +ftp://mama.indstate.edu/linux/tree/tree-(.*)\.tgz --- tree-1.5.1.orig/debian/compat +++ tree-1.5.1/debian/compat @@ -0,0 +1 @@ +5 --- tree-1.5.1.orig/man/tree.1 +++ tree-1.5.1/man/tree.1 @@ -247,7 +247,7 @@ The -h option rounds to the nearest whole number unlike the ls implementation of -h which rounds up always. The IEC standard names for powers of 2 -cooresponding to metric powers of 10 (KiBi, et al.) are gay. +corresponding to metric powers of 10 (KiBi, et al.) are gay. Probably more. --- tree-1.5.1.orig/Makefile +++ tree-1.5.1/Makefile @@ -62,7 +62,7 @@ install -d $(BINDIR) install -d $(MANDIR) if [ -e $(TREE_DEST) ]; then \ - install -s $(TREE_DEST) $(BINDIR)/$(TREE_DEST); \ + install $(TREE_DEST) $(BINDIR)/$(TREE_DEST); \ fi install man/$(MAN) $(MANDIR)/$(MAN)