--- hello-2.4.orig/debian/watch +++ hello-2.4/debian/watch @@ -0,0 +1,9 @@ +# debian/watch +# Debian uscan file for hello package +# Manpage: uscan(1) + +# Compulsory line, format version of this file +version=3 + +# Current version from GNU site +http://ftp.gnu.org/gnu/hello/hello-(.*).tar.gz --- hello-2.4.orig/debian/rules +++ hello-2.4/debian/rules @@ -0,0 +1,62 @@ +#!/usr/bin/make -f +# Sample debian/rules file - for GNU Hello. +# Copyright 1994,1995 by Ian Jackson. +# I hereby give you perpetual unlimited permission to copy, +# modify and relicense this file, provided that you do not remove +# my name from the file itself. (I assert my moral right of +# paternity under the Copyright, Designs and Patents Act 1988.) +# This file may have to be extensively modified + +package = hello +docdir = debian/tmp/usr/share/doc/$(package) + +CC = gcc +CFLAGS = -g -Wall +INSTALL_PROGRAM = install + +STRIP = true + +ifeq (,$(findstring noopt,$(DEB_BUILD_OPTIONS))) + CFLAGS += -O2 +endif +ifeq (,$(findstring nostrip,$(DEB_BUILD_OPTIONS))) + INSTALL_PROGRAM += -s + STRIP = strip --remove-section=.comment --remove-section=.note +endif + +build: + ./configure --prefix=/usr + $(MAKE) CC="$(CC)" CFLAGS="$(CFLAGS)" + touch build + +clean: + rm -f build + [ ! -f Makefile ] || $(MAKE) distclean + rm -rf *~ debian/tmp debian/*~ debian/files* debian/substvars + +binary-indep: build +# There are no architecture-independent files to be uploaded +# generated by this package. If there were any they would be +# made here. + +binary-arch: build + rm -rf debian/tmp + install -d debian/tmp/DEBIAN $(docdir) + $(MAKE) INSTALL_PROGRAM="$(INSTALL_PROGRAM)" \ + prefix=$$(pwd)/debian/tmp/usr install + $(STRIP) debian/tmp/usr/bin/hello + cp -a NEWS debian/copyright $(docdir) + cp -a debian/changelog $(docdir)/changelog.Debian + cp -a ChangeLog $(docdir)/changelog + cd $(docdir) && gzip -9 changelog changelog.Debian + gzip -r9 debian/tmp/usr/share/man + gzip -9 debian/tmp/usr/share/info/* + dpkg-shlibdeps debian/tmp/usr/bin/hello + dpkg-gencontrol + chown -R root:root debian/tmp + chmod -R u+w,go=rX debian/tmp + dpkg --build debian/tmp .. + +binary: binary-indep binary-arch + +.PHONY: binary binary-arch binary-indep clean --- hello-2.4.orig/debian/control +++ hello-2.4/debian/control @@ -0,0 +1,17 @@ +Source: hello +Section: devel +Priority: optional +Maintainer: Santiago Vila +Standards-Version: 3.8.3 + +Package: hello +Architecture: any +Depends: ${shlibs:Depends}, dpkg (>= 1.15.4) | install-info +Description: The classic greeting, and a good example + The GNU hello program produces a familiar, friendly greeting. It + allows non-programmers to use a classic computer science tool which + would otherwise be unavailable to them. + . + Seriously, though: this is an example of how to do a Debian package. + It is the Debian version of the GNU Project's `hello world' program + (which is itself an example for the GNU Project). --- hello-2.4.orig/debian/copyright +++ hello-2.4/debian/copyright @@ -0,0 +1,51 @@ +This is the Debian GNU prepackaged version of the FSF's GNU hello +utility. This package provides the classic greeting to the users of +Debian, as well as providing Debian's developers with an example of +how to package a GNU program. GNU `hello' was written by Mike Haertel, +David MacKenzie, Jan Brittenson, Charles Hannum, Roland McGrath, Noah +Friedman, Karl Eichwalder, and The King. + +This package was first put together by Ian Jackson and it's currently +maintained by Santiago Vila. The source for this release was taken +from: + +http://ftp.gnu.org/gnu/hello/hello-2.4.tar.gz + +The changes were very minimal: + +- Adding support for the Debian package maintenance scheme, by adding + various debian/* files. + +Program Copyright 1992, 1995, 1996, 1997, 1998, 1999, 2000, 2001, +2002, 2005, 2006, 2007, 2008 Free Software Foundation, Inc. + +Modifications for Debian Copyright (C) 1994,1995,1996 Ian Jackson. + +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 3 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 +can be found in `/usr/share/common-licenses/GPL'. + +Manual Copyright (C) 1992, 1993, 1996, 2002, 2005, 2006, 2007, 2008 +Free Software Foundation, Inc. + +Permission is granted to copy, distribute and/or modify this +document under the terms of the GNU Free Documentation License, +Version 1.2 or any later version published by the Free Software +Foundation; with no Invariant Sections, with no Front-Cover Texts, +and with no Back-Cover Texts. A copy of the license is included +in the section entitled "GNU Free Documentation License". + +On Debian systems, the complete text of the GNU Free Documentation +License can be found in `/usr/share/common-licenses/GFDL'. --- hello-2.4.orig/debian/changelog +++ hello-2.4/debian/changelog @@ -0,0 +1,263 @@ +hello (2.4-3) unstable; urgency=low + + * Modified doc/Makefile.in to avoid /usr/share/info/dir.gz. + + -- Santiago Vila Sun, 30 Aug 2009 13:05:52 +0200 + +hello (2.4-2) unstable; urgency=low + + * Removed prerm and postinst as they are no longer needed. + * Added dependency on "dpkg (>= 1.15.4) | install-info". + * Standards-Version: 3.8.3. + + -- Santiago Vila Wed, 26 Aug 2009 17:01:36 +0200 + +hello (2.4-1) unstable; urgency=low + + * New upstream release. License is now GPLv3 or later. + * Manual is included again, as it's now GFDL without invariant sections. + * Clarified manual: If more than one of the greeting options is specified + (`-g', `-n', `-t', and their long-named equivalents), whichever comes + last takes precedence. Closes: #457941. + * Don't pass -isp to dpkg-gencontrol, as it's deprecated. Closes: #508833. + * Changed source URL in copyright file to use http, not ftp. + * Standards-Version: 3.8.2 (no changes for this). + + -- Santiago Vila Mon, 03 Aug 2009 23:34:18 +0200 + +hello (2.2-3) unstable; urgency=low + + * Added debian/watch file. Closes: #489213. + * Removed unneeded section .comment from binary. Closes: #428722. + * Run "make distclean" only if Makefile exists, but do not ignore errors. + + -- Santiago Vila Fri, 28 Nov 2008 17:08:46 +0100 + +hello (2.2-2) unstable; urgency=low + + * Removed all traces of checkroot. It's not really debian/rules job, + and the binary target will fail anyway if not invoked as root, + as there is a chown call. + + -- Santiago Vila Wed, 11 Apr 2007 08:05:12 +0200 + +hello (2.2-1) unstable; urgency=low + + * New upstream release. + * Repackaged source without GFDL manual. + * Option -m does no longer exist (Closes: #109895). + * Removed prerm and postinst, as info files are missing now. + + -- Santiago Vila Sat, 9 Dec 2006 17:00:14 +0100 + +hello (2.1.1-5) unstable; urgency=low + + * Removed checkdir stuff from debian/rules, as it is not very useful. + * Standards-Version: 3.7.2 (no changes for this). + * Updated config.guess and config.sub. + + -- Santiago Vila Tue, 18 Jul 2006 19:55:02 +0200 + +hello (2.1.1-4) unstable; urgency=low + + * Updated config.guess and config.sub for GNU/K*BSD. + + -- Santiago Vila Mon, 5 Jan 2004 16:42:30 +0100 + +hello (2.1.1-3) unstable; urgency=low + + * Modified Makefile.in to make sure that install-info is never called + during the build. This is a workaroud for an automake bug which makes + packages to contain /usr/share/info/dir.gz. + + -- Santiago Vila Wed, 8 Oct 2003 12:43:26 +0200 + +hello (2.1.1-2) unstable; urgency=low + + * Standards-Version: 3.6.1 (no changes required). + * Use `:' with chown for POSIX compliance, not `.'. + * Use chmod u+w,go=rX to sanitize permissions. + + -- Santiago Vila Sun, 7 Sep 2003 15:32:18 +0200 + +hello (2.1.1-1) unstable; urgency=low + + * New upstream release. GNU hello now says `Hello, world!' in a lot of + different languages, using gettext. See the NEWS file for details. + * Fixed spelling error in extended description (Closes: #124733). + * The upstream source now contains install-sh (Closes: #135735). + * The info file is now installed under the "Development" section. + * It already has a description, so --description isn't used anymore. + * Removed deprecated emacs stuff from the Debian changelog. + * Removed debian/hello.1, since there is now an upstream manpage. + * Standards-Version: 3.5.7: + - Added support for DEB_BUILD_OPTIONS (noopt and nostrip). + - Modified prerm and postinst so that they do nothing about doc symlinks. + * Updated copyright file. Removed references to Linux. + * Some changes to make debian/rules more readable. + * New maintainer (thanks, Adam). + + -- Santiago Vila Sat, 12 Oct 2002 21:07:42 +0200 + +hello (1.3-18) unstable; urgency=low + + * Fix bashism in debian/rules. Closes: #81827. + + -- Adam Heath Fri, 12 Jan 2001 00:42:56 -0600 + +hello (1.3-17) unstable; urgency=low + + * Fixed symlink creation for /usr/doc. Closes: #62899. + * Don't use whoami to test for root, as that isn't il8n. + * Include the section and priority fields in debian/tmp/DEBIAN/control. + * Lintian 1.11.2 clean. + + -- Adam Heath Sun, 23 Apr 2000 19:52:39 -0500 + +hello (1.3-16) unstable; urgency=low + + * Added /usr/doc -> ../share/doc symlink handling. + * This package has no build dependencies. + + -- Adam Heath Sat, 4 Dec 1999 04:12:28 -0600 + +hello (1.3-15) unstable; urgency=low + + * New maintainer, as the current maintainer has been awol. + * Ported to FHS. + * Bugs fixed in previous releases: Closes: #14602, #20998, #14603 + * Acknowledge -14 nmu. Closes: #14876 + * Remove comments about targets 'source' and 'diff', as they are + only of interest for historical reasons. + * Lintian 1.8.2 clean. + + -- Adam Heath Sat, 18 Sep 1999 10:25:13 -0500 + +hello (1.3-14.3) unstable; urgency=low + + * YANMU. + * This release has no lintian errors, so that the slink release + won't be delayed. :) + * Added man page(written by rcw@irc.debian.org#debian). + (Fixes Bug#4341) + * Removed spurious 'source/diff' message from debian/rules, as it + was confusing to new developers, and is a historical anomaly. + (Fixes Bug#14602) + * Removed bashims from debian/rules. (Fixes Bug#14603) + * Acknowledge the nmu in 14876. (Fixes Bug#14876) + * Removes || $(MAKE) -f Makefile.in distclean from debian/rules. + (Fixes Bug#20998) + + -- Adam Heath Sun, 4 Oct 1998 01:30:01 -0500 + +hello (1.3-14.2) unstable; urgency=low + + * Yet another non-maintainer release + * Removed source and diff targets (#14601). I'm not removing the comment + (which would fix #14602) as it's harmless and slightly interesting IMO. + * Fixed calling of make install; I ignored this bug last time as I didn't + understand it. Having realised what it meant, I agree that it needed + changing (#4967) + + -- Mark Baker Sun, 16 Nov 1997 18:11:03 +0000 + +hello (1.3-14.1) unstable; urgency=low + + * Non-maintainer release + * Remove section and priority lines for binary, i.e. undoing the + "fix" for the non-bug #4816 + * Yes, I do know that the previous release should have been numbered + 1.3-13.1 + + -- Mark Baker Sun, 16 Nov 1997 17:16:10 +0000 + +hello (1.3-14) unstable; urgency=low + + * Non-maintainer release + * Add section and priority lines for binary (#4816) + * Change comment in debian/rules (#4968) + * Remove debian/substvars on clean (#4371) + * Fix hang when looking for mailbox (#4375) + * Search FSSTND and FHS locations for mail + * Compile for libc6 + + -- Mark Baker Fri, 14 Nov 1997 22:40:39 +0000 + +hello (1.3-13) unstable; urgency=low + + * Updated to Standards-Version 2.1.1.0 (no changes required). + * Changed maintainer email address. + + -- Ian Jackson Thu, 12 Sep 1996 01:30:34 +0100 + +hello (1.3-12) unstable; urgency=low + + * Added Debian and upstream changelogs to binary package. + * Updated to Standards-Version 2.1.0.0. + + -- Ian Jackson Sun, 1 Sep 1996 16:02:23 +0100 + +hello (1.3-11) unstable; urgency=low + + * Maintainer scripts now `set -e' (even though only 1 command in each). + * debian/rules has separate binary, binary-arch, binary-indep targets. + + -- Ian Jackson Thu, 22 Aug 1996 15:37:25 +0100 + +hello (1.3-10) experimental; urgency=low + + * Use new shared library dependencies and dpkg-gencontrol scheme. + * `source' and `diff' removed from .PHONY and now print message. + + -- Ian Jackson Tue, 20 Aug 1996 15:42:27 +0100 + +hello (1.3-9) experimental; urgency=LOW + + * changelog specifies `debian-changelog-mode', not `dpkg-...'. + * Comment in debian/rules re missing (obsolete) `source', `diff' &c. + + -- Ian Jackson Sat, 10 Aug 1996 22:23:39 +0100 + +hello (1.3-8) experimental; urgency=LOW + + * debian/changelog has local variables section to set Emacs mode. + * debian/rules mkdir replaced with install -d for consistency. + * debian/rules INSTALL setting to use -s changed to INSTALL_PROGRAM. + + -- Ian Jackson Fri, 9 Aug 1996 23:59:37 +0100 + +hello (1.3-7) experimental; urgency=LOW + + * Changed to new source packing scheme. + + -- Ian Jackson Tue, 6 Aug 1996 02:22:38 +0100 + +hello (1.3-6); priority=LOW + + * Changed to ELF and added Pre-Depends. + * Added Architecture field to control file. + + -- Ian Jackson Thu, 14 Mar 1996 02:04:36 +0000 + +hello (1.3-4); priority=LOW + + * Added extended description. + + -- Ian Jackson Fri, 28 Jul 1995 21:33:04 +0100 + +Hello 1.3 Debian 3 - iwj + +* Corrected some mistakes in debian.README. +* Added Package_Revision field to `control' file. +* Added --quiet to install-info invocations. +* Generalised and commented debian.rules a bit more. +* Put debian.rules into the public domain. +* Removed debian.rules install target. +* Added this Changelog. +* Added Info manual copyright to debian.README. + +Hello 1.3 Debian 2 - iwj +* New prerm script which calls install-info --remove. + +Hello 1.3 Debian 1 - iwj +Initial release. --- hello-2.4.orig/doc/Makefile.in +++ hello-2.4/doc/Makefile.in @@ -734,8 +734,7 @@ done; \ done @$(POST_INSTALL) - @if (install-info --version && \ - install-info --version 2>&1 | sed 1q | grep -i -v debian) >/dev/null 2>&1; then \ + @if false; then \ list='$(INFO_DEPS)'; \ for file in $$list; do \ relfile=`echo "$$file" | sed 's|^.*/||'`; \