--- dist-3.5-30.orig/dist.man +++ dist-3.5-30/dist.man @@ -1,37 +1,37 @@ -''' $Id: dist.man 3 2006-08-25 21:39:07Z rmanfredi $ -''' -''' Copyright (c) 1991-1997, 2004-2006, Raphael Manfredi -''' -''' You may redistribute only under the terms of the Artistic Licence, -''' as specified in the README file that comes with the distribution. -''' You may reuse parts of this distribution only within the terms of -''' that same Artistic Licence; a copy of which may be found at the root -''' of the source tree for dist 4.0. -''' -''' $Log: dist.man,v $ -''' Revision 3.0.1.6 1995/05/12 11:57:53 ram -''' patch54: updated my e-mail address -''' -''' Revision 3.0.1.5 1994/10/29 15:46:03 ram -''' patch36: mentions new patlog script and ChangeLog file -''' -''' Revision 3.0.1.4 1994/05/06 13:54:17 ram -''' patch23: extended copyright notice to 1994 -''' patch23: new script kitpost -''' -''' Revision 3.0.1.3 1994/01/24 13:55:41 ram -''' patch16: documents profile and its components -''' -''' Revision 3.0.1.2 1993/11/10 17:31:03 ram -''' patch14: added mention for new confmagic.h file -''' -''' Revision 3.0.1.1 1993/08/24 12:12:00 ram -''' patch3: added entries for patnotify and patsnap -''' -''' Revision 3.0 1993/08/18 12:04:07 ram -''' Baseline for dist 3.0 netwide release. -''' -''' +.\" $Id: dist.man 3 2006-08-25 21:39:07Z rmanfredi $ +.\" +.\" Copyright (c) 1991-1997, 2004-2006, Raphael Manfredi +.\" +.\" You may redistribute only under the terms of the Artistic Licence, +.\" as specified in the README file that comes with the distribution. +.\" You may reuse parts of this distribution only within the terms of +.\" that same Artistic Licence; a copy of which may be found at the root +.\" of the source tree for dist 4.0. +.\" +.\" $Log: dist.man,v $ +.\" Revision 3.0.1.6 1995/05/12 11:57:53 ram +.\" patch54: updated my e-mail address +.\" +.\" Revision 3.0.1.5 1994/10/29 15:46:03 ram +.\" patch36: mentions new patlog script and ChangeLog file +.\" +.\" Revision 3.0.1.4 1994/05/06 13:54:17 ram +.\" patch23: extended copyright notice to 1994 +.\" patch23: new script kitpost +.\" +.\" Revision 3.0.1.3 1994/01/24 13:55:41 ram +.\" patch16: documents profile and its components +.\" +.\" Revision 3.0.1.2 1993/11/10 17:31:03 ram +.\" patch14: added mention for new confmagic.h file +.\" +.\" Revision 3.0.1.1 1993/08/24 12:12:00 ram +.\" patch3: added entries for patnotify and patsnap +.\" +.\" Revision 3.0 1993/08/18 12:04:07 ram +.\" Baseline for dist 3.0 netwide release. +.\" +.\" .de Ex \" Start of Example .sp .in +5 @@ -42,7 +42,7 @@ .in -5 .fi .. -.TH DIST 1 ram +.TH DIST 7 ram .SH NAME dist \- introduction to dist .SH DESCRIPTION --- dist-3.5-30.orig/mcon/U/nis.U +++ dist-3.5-30/mcon/U/nis.U @@ -165,4 +165,16 @@ '') passcat=':' $test -f /etc/passwd && passcat='cat /etc/passwd';; esac +case "$hostcat" in +'') hostcat='cat /etc/hosts';; +*) ;; +esac +case "$groupcat" in +'') groupcat='cat /etc/group';; +*) ;; +esac +case "$passcat" in +'') passcat='cat /etc/passwd';; +*) ;; +esac --- dist-3.5-30.orig/mcon/man/mconfig.SH +++ dist-3.5-30/mcon/man/mconfig.SH @@ -18,88 +18,88 @@ $rm -f metaconfig.$manext $spitshell >metaconfig.$manext < macro substitution -''' -''' Revision 3.0.1.5 1993/10/16 13:51:50 ram -''' patch12: new option -M to activate ?M: lines -''' patch12: documents new ?M: lines format -''' patch12: new internal Makefile command cm_h_weed for ?M: support -''' patch12: documents usage for new confmagic.h file -''' -''' Revision 3.0.1.4 1993/09/09 11:50:35 ram -''' patch9: lots of typo fixes and abusive variable substitution problems -''' -''' Revision 3.0.1.3 1993/08/30 08:53:51 ram -''' patch8: wrongly stated that patchlevel.h should not be part of MANIFEST.new -''' -''' Revision 3.0.1.2 1993/08/24 12:13:32 ram -''' patch3: typo fixes -''' -''' Revision 3.0.1.1 1993/08/19 06:42:23 ram -''' patch1: leading config.sh searching was not aborting properly -''' -''' Revision 3.0 1993/08/18 12:10:14 ram -''' Baseline for dist 3.0 netwide release. -''' -''' +.\" @(#) Manual page for metaconfig +.\" +.\" $Id: mconfig.SH 25 2008-05-28 11:19:25Z rmanfredi $ +.\" +.\" Copyright (c) 1991-1997, 2004-2006, Raphael Manfredi +.\" +.\" You may redistribute only under the terms of the Artistic Licence, +.\" as specified in the README file that comes with the distribution. +.\" You may reuse parts of this distribution only within the terms of +.\" that same Artistic Licence; a copy of which may be found at the root +.\" of the source tree for dist 4.0. +.\" +.\" $Log: mconfig.SH,v $ +.\" Revision 3.0.1.17 1997/02/28 16:29:31 ram +.\" patch61: documents the runnning environment and the src.U unit +.\" patch61: added warnings for $_a and $_o, as well as "startsh" +.\" +.\" Revision 3.0.1.16 1995/09/25 09:17:48 ram +.\" patch59: documented new ?Y: directive +.\" patch59: fixed my e-mail address +.\" +.\" Revision 3.0.1.15 1995/07/25 14:18:24 ram +.\" patch56: added extra nroff escapes at line heads to keep leading dots +.\" patch56: documented new -G option +.\" patch56: extended description of the Csym.U unit +.\" patch56: now mentions what a compile-link test line should look like +.\" +.\" Revision 3.0.1.14 1995/05/12 12:25:02 ram +.\" patch54: documented new -K switch for knowledgeable users +.\" +.\" Revision 3.0.1.13 1995/01/30 14:46:39 ram +.\" patch49: documented new special units Prefixit.U and Prefixup.U +.\" +.\" Revision 3.0.1.12 1995/01/11 15:39:16 ram +.\" patch45: documents new -O option and new Getfile escape supports +.\" patch45: documents the & escape in Myread and the new cc symbol lookup +.\" +.\" Revision 3.0.1.11 1994/10/29 16:32:38 ram +.\" patch36: added nroff protection for lines beginning with '.' +.\" patch36: documents new ?F: line for file declarations +.\" patch36: added example showing how ./loc can be used +.\" +.\" Revision 3.0.1.10 1994/08/29 16:33:40 ram +.\" patch32: documented new Typedef.U unit for typedef lookup +.\" +.\" Revision 3.0.1.9 1994/06/20 07:10:14 ram +.\" patch30: added -L option for easier unit testing +.\" patch30: new -D and -U options supported by Configure +.\" +.\" Revision 3.0.1.8 1994/05/13 15:29:16 ram +.\" patch27: now understands macro definitions in ?H: lines +.\" +.\" Revision 3.0.1.7 1994/05/06 15:19:25 ram +.\" patch23: documented the new 'p' option in Getfile.U +.\" +.\" Revision 3.0.1.6 1994/01/24 14:19:47 ram +.\" patch16: symbols defined in a unit can be tagged "internal use only" +.\" patch16: documents new MailList.U special unit +.\" patch16: new general <\$variable> macro substitution +.\" +.\" Revision 3.0.1.5 1993/10/16 13:51:50 ram +.\" patch12: new option -M to activate ?M: lines +.\" patch12: documents new ?M: lines format +.\" patch12: new internal Makefile command cm_h_weed for ?M: support +.\" patch12: documents usage for new confmagic.h file +.\" +.\" Revision 3.0.1.4 1993/09/09 11:50:35 ram +.\" patch9: lots of typo fixes and abusive variable substitution problems +.\" +.\" Revision 3.0.1.3 1993/08/30 08:53:51 ram +.\" patch8: wrongly stated that patchlevel.h should not be part of MANIFEST.new +.\" +.\" Revision 3.0.1.2 1993/08/24 12:13:32 ram +.\" patch3: typo fixes +.\" +.\" Revision 3.0.1.1 1993/08/19 06:42:23 ram +.\" patch1: leading config.sh searching was not aborting properly +.\" +.\" Revision 3.0 1993/08/18 12:10:14 ram +.\" Baseline for dist 3.0 netwide release. +.\" +.\" .de Ex \" Start of Example .sp .in +5 @@ -443,7 +443,7 @@ Metaconfig reserves the following names in your directory, and if you use such a name it may get clobbered or have other unforeseen effects: .Ex -.MT/* + \.MT/* Configure Wanted Obsolete @@ -459,9 +459,9 @@ config.sh config.h .Ef -''' -''' O p t i o n s -''' +.\" +.\" O p t i o n s +.\" .SH OPTIONS The following options are recognized by \fImetaconfig\fR: .TP 15 @@ -528,14 +528,14 @@ .TP .B \-V Print version number and exit. -''' -''' T u t o r i a l -''' +.\" +.\" T u t o r i a l +.\" .SH TUTORIAL This (long) section is an introduction to \fImetaconfig\fR, in which we will learn all the basics. If you already know how to use \fImetaconfig\fR, you may safely skip to the next section. -''' +.\" .SS Overview .PP Usually when you want to get some source package to compile on a given @@ -588,7 +588,7 @@ symbols. Units are assembled together at the final stage, honoring the dependency graph (one unit may need the result of several other units which are then placed before in the script). -''' +.\" .SS Symbols .PP Symbols are the most important thing in the \fImetaconfig\fR world. They @@ -613,7 +613,7 @@ \fIconfig.h\fR file, and you must wrap your shell script or Makefile in a .SH file and you may reference the shell symbol only in the variable substitution part of that .SH file. More on this later. -''' +.\" .SS Source Files .PP Symbols may only appear in a limited set of source files, because @@ -631,7 +631,7 @@ \fImetaconfig\fR-produced \fIconfig_h.SH\fR file, again using variable substitution. So we're going to look at that a little more closely since this is the heart of the whole \fIconfiguration\fR scheme... -''' +.\" .SS Variable Substitution .PP There is shell construct called \fIhere document\fR which enables a @@ -672,7 +672,7 @@ .Ef The first here document has its content interpreted whilst the second one is output as-is. Both are useful in a .SH script, as we are about to see. -''' +.\" .SS Using .SH Scripts .PP A .SH script is usually produced by running the \fIMakeSH\fR script other @@ -811,7 +811,7 @@ On this machine, the int type is 8 bytes .Ef which is correct. Congratulations! We have just configured a shell script!! -''' +.\" .SS Producing config.h .PP We can now have a look at the way \fIconfig.h\fR is produced out of @@ -965,7 +965,7 @@ those symbols and will generate a suitable \fIconfig_h.SH\fR file as well as all the necessary code in \fIConfigure\fR to compute a proper value for them (by assigning values to associated shell variables). -''' +.\" .SS Running Metaconfig .PP Let's focus on the \fImetaconfig\fR program for a while to understand how @@ -1026,7 +1026,7 @@ about all the units and their respective orders, optional units having been removed and default values computed for their shell symbols. The \fIConfigure\fR script can then be generated, along with \fIconfig_h.SH\fR. We're done. -''' +.\" .SS Conventions .PP Proper conventions needs to be followed to make the whole process sound. @@ -1056,7 +1056,7 @@ not documented in this manual page: you have to go and look at the unit itself to understand which variables are used and how the unit is to be used. -''' +.\" .SS Using The Glossary .PP The Glossary file is automatically produced by the \fImakegloss\fR script, @@ -1071,7 +1071,7 @@ forget to properly document your work in the ?S: and ?C: lines, or other people will not be able to reuse it. Remember about the time where you had only the Glossary and this manual page to get started. -''' +.\" .SS Conclusion .PP Now that you know the \fImetaconfig\fR basics, you should read the @@ -1082,7 +1082,7 @@ .SH REFERENCE This section documents the internals of \fImetaconfig\fR, basically the unit syntax, the special units you should know about and the hint files. -''' +.\" .SS General Unit Syntax .PP A metaconfig unit is divided into two distinct parts. The header section @@ -1290,7 +1290,7 @@ ?INIT:\fIinitialization code\fR The initialization code specified by this line will be loaded at the top of the \fIConfigure\fR script provided the unit is needed. -''' +.\" .SS C Symbol Aliasing .PP Sometimes it is not possible to rely on \fImetaconfig\fR's own default @@ -1370,7 +1370,7 @@ If it can, then it will define \fI\$\&d_const\fR via the \fI\$\&setvar\fR fonction (defined by the \fISetvar.U\fR unit). See the paragraph about special units for more details. -''' +.\" .SS Make Commands .PP On the ?MAKE: command line, you may write a shell command to be executed as-is @@ -1435,7 +1435,7 @@ to deal with conditional dependencies. You should not use it by yourself, but you will see it if scanning the generated \fIMakefile\fR in the \fI.MT\fR directory. -''' +.\" .SS Hardwired Macros .PP The following macros are recognized by the \fIwipe\fR command and subsituted @@ -1478,7 +1478,7 @@ taken from your \fI.package\fR file. Eventually, the old hardwired macro format will disappear, and <\$baserev> will replace in all the supplied units. -''' +.\" .SS Special Units .PP The following special units are used to factorize code and provide higher @@ -1768,7 +1768,7 @@ its old previous value held in \fI\$was\fR. Upon return, \fI\$td\fR and \fI\$tu\fR hold the proper value to \fIdefine\fR or \fIundef\fR the variable. See examples in \fIInlibc.U\fR. -''' +.\" .SS Builtin Pre-processor .PP Each unit to be included in \fIConfigure\fR is ran through a built-in @@ -1868,7 +1868,7 @@ .Ef and have an extra loop trying two successive values for the \fIs_timezone\fR variable, but only if needed. -''' +.\" .SS Obsolete Symbols .PP Obsolete symbols are preserved to ease the transition with older @@ -1882,7 +1882,7 @@ be removed when the next base revision is issued (patch upgrades do not count of course). Therefore, it is wise to translate your sources and start using the new symbols as soon as possible. -''' +.\" .SS Configure Hints .PP It may happen that the internal configuration logic makes the wrong choices. @@ -1932,7 +1932,7 @@ possible choice. The heuristic tests ran to compute the possible hint candidates are flaky. If you have new values or different tests, please send them to me... -''' +.\" .SS Overriding Choices .PP If you create a \fIconfig.over\fR file in the top level directory, @@ -1943,7 +1943,7 @@ This is distinct from the hints approach in that it is a local file, which the user is free to create for his own usage. You should not provide such a file yourself, but let the user know about this possibility. -''' +.\" .SS Configure Options .PP The \fIConfigure\fR script may be called with some options specified on the @@ -2015,7 +2015,7 @@ Print the version number of the \fImetaconfig\fR that generated this .I Configure script and exit. -''' +.\" .SS Running Environment Upon starting, \fIConfigure\fR creates a local \fIUU\fR directory and runs from there. The directory is removed when Configure ends, but this means @@ -2044,7 +2044,7 @@ build directory, not in the source tree. However, it requires some kind of a \fImake\fR support to be able to compile things in a build directory whilst the sources lie elsewhere. -''' +.\" .SS Using Magic Redefinitions .PP By making use of the \fB\-M\fR switch, some magic remappings may take place @@ -2064,7 +2064,7 @@ bother about the \fIHAS_VFORK\fR symbol. .PP This configuration magic is documented in the Glossary file. -''' +.\" .SS Unit Templates .PP There is a set of unit templates in the \fImetaconfig\fR source directory, --- dist-3.5-30.orig/mcon/man/mlint.SH +++ dist-3.5-30/mcon/man/mlint.SH @@ -18,54 +18,54 @@ $rm -f metalint.$manext $spitshell >metalint.$manext <metaxref.$manext < debian.uue \ + && rm -f debian.tar.gz ) +explode: + $(checkdir) + -test ! -d debian/Config && (cd debian && uudecode debian.uue \ + && tar zfx debian.tar.gz && rm -f debian.tar.gz ) + + +debian/stamp/conf/dist: + $(checkdir) + $(REASON) + -test ! -d debian/Config && $(MAKE) -f debian/rules explode + @test -d debian/stamp/conf || mkdir -p debian/stamp/conf + cp -rpf debian/Config .config && \ + cp -pf debian/config.over config.over && \ + sh ./Configure \ + -de \ + -D prefix=$(PREFIX) \ + -D orgname=/etc/news/organization \ + -D cf_email='$(email)' \ + -D pager=/bin/more \ + -D defeditor=/usr/bin/ae \ + -D privlib=/usr/share/$(package) \ + -D mansrc=/usr/share/man/ \ + -D d_berknames='define' + @echo done > $@ + + +debian/stamp/build/dist: + $(checkdir) + $(REASON) + $(CHECKPO) + @test -d debian/stamp/build || mkdir -p debian/stamp/build + bash -n debian/config + bash -n debian/postinst + bash -n debian/postrm + bash -n debian/prerm + $(MAKE) + @echo done > $@ + + +debian/stamp/install/dist: + $(checkdir) + $(REASON) + $(TESTROOT) + rm -rf $(TMPTOP) + $(make_directory) $(TMPTOP) + chmod g-s $(TMPTOP) + $(make_directory) $(BINDIR) + $(make_directory) $(MAN1DIR) + $(make_directory) $(MAN7DIR) + $(make_directory) $(DOCDIR) + $(make_directory) $(LIBDIR) + $(make_directory) $(PRIVLIB) + $(make_directory) $(LINTIANDIR) + $(install_file) debian/lintian.overrides $(LINTIANDIR)/$(package) + $(install_file) debian/changelog $(DOCDIR)/changelog.Debian + $(install_file) ChangeLog $(DOCDIR)/changelog + $(install_file) README $(DOCDIR)/README + $(install_file) debian/README $(DOCDIR)/README.Debian + $(install_file) Credits $(DOCDIR)/Credits + $(install_file) Known_bugs $(DOCDIR)/Known_bugs + $(install_file) jmake/README $(DOCDIR)/README.jmake + $(install_file) jmake/NOTES $(DOCDIR)/NOTES.jmake + $(install_file) kit/README $(DOCDIR)/README.kit + $(install_file) pat/README $(DOCDIR)/README.pat + $(install_file) mcon/INTRO $(DOCDIR)/INTRO.mcon + $(install_file) mcon/README $(DOCDIR)/README.mcon + $(install_file) mcon/NOTES $(DOCDIR)/NOTES.mcon + gzip -9fqr $(DOCDIR) +# Make sure the copyright file is not compressed + $(install_file) debian/copyright $(DOCDIR)/copyright + $(MAKE) install + $(MAKE) install.man + mv $(MAN1DIR)/dist.1 $(MAN7DIR)/dist.7 + gzip -9fqr $(MANDIR) + (cd $(MAN1DIR); \ + for file in $(PAT_EXEC) ; do \ + ln -s pat.1.gz $$file.1.gz ; \ + done ) + chmod -R u+w debian/tmp/usr/ + @test -d debian/stamp/install || mkdir -p debian/stamp/install + @echo done > $@ + +debian/stamp/binary/dist: + $(checkdir) + $(REASON) + $(TESTROOT) + $(make_directory) $(TMPTOP)/DEBIAN + $(install_program) debian/postinst $(TMPTOP)/DEBIAN/postinst + $(install_program) debian/prerm $(TMPTOP)/DEBIAN/prerm + $(install_program) debian/postrm $(TMPTOP)/DEBIAN/postrm + $(install_program) debian/config $(TMPTOP)/DEBIAN/config + po2debconf debian/templates > $(TMPTOP)/DEBIAN/templates + dpkg-gencontrol -V'debconf-depends=debconf (>= $(MINDEBCONFVER))' \ + -p$(package) -isp -P$(TMPTOP) + $(create_md5sum) $(TMPTOP) + chown -R root:root $(TMPTOP) + chmod -R u+w,go=rX $(TMPTOP) + dpkg --build $(TMPTOP) .. + @test -d debian/stamp/binary || mkdir -p debian/stamp/binary + @echo done > $@ --- dist-3.5-30.orig/debian/rules +++ dist-3.5-30/debian/rules @@ -0,0 +1,66 @@ +#! /usr/bin/make -f +############################ -*- Mode: Makefile; coding: utf-8 -*- ########################### +## rules --- +## Author : Manoj Srivastava ( srivasta@glaurung.green-gryphon.com ) +## Created On : Fri Nov 14 12:33:34 2003 +## Created On Node : glaurung.green-gryphon.com +## Last Modified By : Manoj Srivastava +## Last Modified On : Fri Mar 12 12:49:12 2004 +## Last Machine Used: glaurung.internal.golden-gryphon.com +## Update Count : 73 +## Status : Unknown, Use with caution! +## HISTORY : +## Description : +## +## arch-tag: 9a5063f4-1e20-4fff-b22a-de94c1e3d954 +## +## 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., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA +## +############################################################################### + +# Include dpkg-architecture generated variables +include debian/common/archvars.mk + +# Set variables with information extracted from control and changelog files +include debian/common/pkgvars.mk + +# variables useful for perl packages +include debian/common/perlvars.mk + +# we use debconf +include debian/common/debconf.mk + +# Install commands +include debian/common/install_cmds.mk + +include debian/local-vars.mk + +include debian/common/copt.mk + +include debian/common/automake.mk + + + +all: + @echo nothing to be done + +include debian/common/targets.mk + +include debian/local.mk + + +#Local variables: +#mode: makefile +#End: --- dist-3.5-30.orig/debian/config.over +++ dist-3.5-30/debian/config.over @@ -0,0 +1,4 @@ +thisdir=`pwd` +installmansrc=$thisdir/debian/tmp/usr/share/man/man1 +installprivlib=$thisdir/debian/tmp/usr/share/dist +installscript=$thisdir/debian/tmp/usr/bin --- dist-3.5-30.orig/debian/postrm +++ dist-3.5-30/debian/postrm @@ -0,0 +1,171 @@ +#! /bin/sh +# -*- Mode: Sh -*- +# postrm --- +# Author : Manoj Srivastava ( srivasta@glaurung.green-gryphon.com ) +# Created On : Fri Nov 14 12:22:20 2003 +# Created On Node : glaurung.green-gryphon.com +# Last Modified By : Manoj Srivastava +# Last Modified On : Mon Dec 1 13:50:29 2003 +# Last Machine Used: glaurung.green-gryphon.com +# Update Count : 9 +# Status : Unknown, Use with caution! +# HISTORY : +# Description : +# +# arch-tag: 56802d51-d980-4822-85c0-28fce19ed430 +# +# 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., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA +# + + +# Abort if any command returns an error value +set -e + +package_name=dist; + +if [ -z "$package_name" ]; then + print >&2 "Internal Error. Please report a bug." + exit 1; +fi + +# This script is called twice during the removal of the package; once +# after the removal of the package's files from the system, and as +# the final step in the removal of this package, after the package's +# conffiles have been removed. +# summary of how this script can be called: +# * `remove' +# * `purge' +# * `upgrade' +# * `failed-upgrade' +# * `abort-install' +# * `abort-install' +# * `abort-upgrade' +# * `disappear' overwrit>r> +# for details, see http://www.debian.org/doc/debian-policy/ or +# the debian-policy package + +# Ensure the menu system is updated +##: [ ! -x /usr/bin/update-menus ] || /usr/bin/update-menus + +case "$1" in + remove) + # This package is being removed, but its configuration has not yet + # been purged. + : + + # Remove diversion + ##: dpkg-divert --package ${package_name} --remove --rename \ + ##: --divert /usr/bin/other.real /usr/bin/other + + # ldconfig is NOT needed during removal of a library, only during + # installation + + ;; + purge) + # This package has previously been removed and is now having + # its configuration purged from the system. + : + + # we mimic dpkg as closely as possible, so we remove configuration + # files with dpkg backup extensions too: + ### Some of the following is from Tore Anderson: + ##: for ext in '~' '%' .bak .dpkg-tmp .dpkg-new .dpkg-old .dpkg-dist; do + ##: rm -f /etc/${package_name}.conf$ext + ##: done + + # remove the configuration file itself + ##: rm -f /etc/${package_name}.conf + + # and finally clear it out from the ucf database + ##: ucf --purge /etc/${package_name}.conf + + # Remove symlinks from /etc/rc?.d + ##: update-rc.d ${package_name} remove >/dev/null + + if [ -e /usr/share/debconf/confmodule ]; then + # Purge this package's data from the debconf database. + . /usr/share/debconf/confmodule + db_purge + fi + + # This package has previously been removed and is now having + # its configuration purged from the system. + ##: for flavour in emacs20 emacs21; do + ##: STARTDIR=/etc/$flavour/site-start.d; + ##: STARTFILE="${package_name}-init.el"; + ##: if [ -e "$STARTDIR/20$STARTFILE" ]; then + ##: rm -f "$STARTDIR/20$STARTFILE" + ##: fi + ##: done + + ;; + disappear) + if test "$2" != overwriter; then + echo "$0: undocumented call to \`postrm $*'" 1>&2 + exit 0 + fi + # This package has been completely overwritten by package $3 + # (version $4). All our files are already gone from the system. + # This is a special case: neither "prerm remove" nor "postrm remove" + # have been called, because dpkg didn't know that this package would + # disappear until this stage. + : + + ;; + upgrade) + # About to upgrade FROM THIS VERSION to version $2 of this package. + # "prerm upgrade" has been called for this version, and "preinst + # upgrade" has been called for the new version. Last chance to + # clean up. + : + + ;; + failed-upgrade) + # About to upgrade from version $2 of this package TO THIS VERSION. + # "prerm upgrade" has been called for the old version, and "preinst + # upgrade" has been called for this version. This is only used if + # the previous version's "postrm upgrade" couldn't handle it and + # returned non-zero. (Fix old postrm bugs here.) + : + + ;; + abort-install) + # Back out of an attempt to install this package. Undo the effects of + # "preinst install...". There are two sub-cases. + ##: + + if test "${2+set}" = set; then + # When the install was attempted, version $2's configuration + # files were still on the system. Undo the effects of "preinst + # install $2". + : + + else + # We were being installed from scratch. Undo the effects of + # "preinst install". + : + + fi ;; + abort-upgrade) + # Back out of an attempt to upgrade this package from version $2 + # TO THIS VERSION. Undo the effects of "preinst upgrade $2". + : + + ;; + *) echo "$0: didn't understand being called with \`$1'" 1>&2 + exit 0;; +esac + +exit 0 --- dist-3.5-30.orig/debian/watch +++ dist-3.5-30/debian/watch @@ -0,0 +1,6 @@ +# format version number, currently 2; this line is compulsory! +version=3 + +opts="uversionmangle=s/\.0\@/.0-/g" http://search.cpan.org//CPAN/authors/id/R/RA/RAM/dist-(.*)\.tar\.gz + + --- dist-3.5-30.orig/debian/debian.uue +++ dist-3.5-30/debian/debian.uue @@ -0,0 +1,12 @@ +begin 644 debian.tar.gz +M'XL(`&BD2O;YN,6`0C!9 +MB%**V.89+UD"F>Q![X-R0.*=>56Q_=VXG_K_J-FF_O-J>G95[>@>G+$BS[^O +M?\;R6']6\++(1%[$;L&S/`&C^N_WCM?1SBQVGZ:'NLU!`O;_1R +M0*V7.L1Y`DR#(?:]&=^.TX0<.O^F\\'UBW"0_".3Z_S+,N.LD'$MX#GC!>5_ +M'[:/E3IK0UKK)Z,Z"N2_R_]*F:7J0VO=`?+/^:?]7R[7^1="4/[W87(FTWBHYG<7-]>(HS[.W4[O9^>7U4-UB9+1 +MDO&W\]_9]0IPH/W_U_\_$1N4?T(((8000@@AA!!"""&$D-]X![FI<=(`*``` +` +end --- dist-3.5-30.orig/debian/copyright +++ dist-3.5-30/debian/copyright @@ -0,0 +1,33 @@ + dist 3.0 + + Copyright © 1988, Larry Wall + Copyright © 1990-1992, Harlan Stenn + Copyright © 1991-1997, 2004-2006, Raphael Manfredi + +------------------------------------------------------------------------ + This program is free software; you can redistribute it and/or modify + it under the terms of the Artistic License, a copy of which can be + found with this package. + + 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 + Artistic License for more details. +------------------------------------------------------------------------ + +The Debian specific changes are © 1995, 1996, 1997, 1998, 1999, 2000, +2001, 2002, 2003, 2004, 2005, 2006, 2008 Manoj Srivastava +, and distributed under the terms of the GNU +General Public License, version 2. + +On Debian GNU/Linux systems, the complete text of the GNU General +Public License can be found in `/usr/share/common-licenses/GPL-2'. + + A copy of the GNU General Public License is also available at + . You may also obtain + it by writing to the Free Software Foundation, Inc., 51 Franklin + St, Fifth Floor, Boston, MA 02110-1301 USA + + +Manoj Srivastava +arch-tag: d4250e44-a0e0-4ee0-adb9-2bd74f6eeb27 --- dist-3.5-30.orig/debian/changelog +++ dist-3.5-30/debian/changelog @@ -0,0 +1,548 @@ +dist (1:3.5-30-3) unstable; urgency=low + + * Bug fix: "postinst fails if debconf question skipped", thanks to Aaron + M. Ucko (Closes: #553627). + + -- Manoj Srivastava Sun, 01 Nov 2009 21:27:39 -0600 + +dist (1:3.5-30-2) unstable; urgency=low + + * Told lintian not to parse old changelogs. + + -- Manoj Srivastava Sat, 31 Oct 2009 03:48:50 -0500 + +dist (1:3.5-30-1) unstable; urgency=low + + * [cfb9a7d]: [topic--man-fixes]: Fix man page comment schema The + commenting scheme used in the man pages was three consecutive single + quotes (`'''') at the beginning of a line. his works, but `gtroff' + gives a warning about an undefined macro (namely `'''), which is + harmless, but irritating. To avoid this, this commit changes the + schema to start the line with `.\"' which causes the line to be + treated as an undefined request and thus ignored completely. + * New upstream bug fixing release (fixes jmake makefile) + + -- Manoj Srivastava Fri, 30 Oct 2009 16:35:30 -0500 + +dist (1:3.5-29-2) unstable; urgency=low + + * Fixed race conditions in the rules file, and added a facility to + override parallel builds. + * Update the standards version, and link to GPL-2 in the copyright file. + + -- Manoj Srivastava Thu, 16 Apr 2009 13:23:59 -0500 + +dist (1:3.5-29-1) unstable; urgency=low + + * New upstream release. + - Append $ccflags so that it can override the defaults assuming the compiler + picks the last choice as GCC does. + - Use the preprocessor output to detect the GCC version instead of executing + the compiled binary which is unsuitable for cross-compiling. + - Make sure Instruct depends on Begin to move Begin ahead of any + question asked by Configure. + - Panic if a routine is defined more than once. + + -- Manoj Srivastava Tue, 25 Nov 2008 19:46:03 -0600 + +dist (1:3.5-17-2) unstable; urgency=high + + * If a script uses a temp file which is created in /tmp, then an + attacker can create symlink with the same name in this directory in + order to destroy or rewrite some system or user files. Symlink attack + may also lead not only to the data desctruction but to denial of + service as well. Creating files with rand or pid to randomize the file + names is not adequate to protect the system. We now use File::Temp to + safely create the temporary files as needed. This closes a grave bug. + There are no code changes in this version, apart from the bug fix. + Closes: #496412 + * Updated the Standards version. (No changes) + + -- Manoj Srivastava Fri, 29 Aug 2008 22:28:31 -0500 + +dist (1:3.5-17-1) unstable; urgency=low + + * New upstream release + - SVN revision number is now automatically generated in "revision.h". + The old patchlevel information is no longer used, and + is deprecated in unit files, replaced by . + - Added automatic SVN revision computation in "revision.h". + - Removed last instance of $*, no longer supported in Perl 5.10. + - Perl 5.10 no longer supports "$*" anywhere... even in the initial + exec line meant to be parsed by the shell... + - Reset CDPATH to avoid pdksh's emission of the chosen dir on "cd". + - Applied diff from H.Merijn Brand to keep it working with perl 5.10, + which no longer supports the old $* perl4 variable to request + multiline matching. + - Linux does not like ^M as line endings: cpp 4.1.x complains. Try + with ^A, hoping it will continue to work on HP-UX. + - Added InstallProgramNoStrip() to request installation of a program + without stripping the debugging symbols. + - Applied patch from Christian Biere, which adds "-Wshadow" to gcc 3.x + flags. + - Taught metaxref to use MANIFEST if MANIFEST.new is missing. + - Added I_SYS_POLL and I_POLL since we cannot rely on HAS_POLL being + enough to include . + - Do not list special unit "Mcc" as being made. + - Removed stale Mcc dependency. + - Default to "-O2 -g" when using gcc. + - This starts the dist-3.5 baseline. + - Regenerated all Makefile.SH files. + - Removed obsoleted ">VAR" lines requesting that the symbol be + included. Jmake from 3.5 is now smart enough to figure this out by + itself. + - Added keyword expansion. + - InstallTarget() now uses :: targets. + Default empty rule for all makefiles is now called "all" instead of + "emptyrule" because if there is nothing to be done, GNU make prints + the target name and "emptyrule" is not pretty. + - Advertise SVN's repository for dist in every generated Configure + script. + - Fixed Jmakefile: there's no need to request manual inclusion of + symbols. The MakeDirectories() target was using @! instead of proper + @@ terminator to introduce the commands. + - Let metaconfig use the MANIFEST file if there is no MANIFEST.new. + The MANIFEST.new file is necessary when using the "pat" tools, but + not when running metaconfig by itself. + - Added keyword substitution property. + - Updated copyright date. + * Recorded the VCS repository location for this package (newly moved to + a public git repo) + * Move to the new, make -j friendly targets in debian/rules. + + -- Manoj Srivastava Fri, 30 May 2008 14:42:47 -0500 + +dist (3.70-33) unstable; urgency=low + + * Bug fix: "dist: [INTL:ru] Russian translation for debconf messages", + thanks to Yuri Kozlov (Closes: #457216). + + -- Manoj Srivastava Thu, 21 Feb 2008 13:31:28 -0600 + +dist (3.70-32) unstable; urgency=low + + * Bug fix: "dist: invokes split(1) with invalid arguments", thanks to + Ari Johnson. Typo fix. (Closes: #413132). + * Bug fix: "dist: [INTL:pt] Portuguese translation for debconf + messages", thanks to Traduz - Portuguese Translation Team + (Closes: #416804). + * Added debian/control headers XS-VCS-Arch and XS-VCS-Browse + + -- Manoj Srivastava Tue, 17 Apr 2007 16:33:11 -0500 + +dist (3.70-31) unstable; urgency=low + + * Bug fix: "dist: Spanish debconf translation", thanks to César Gómez + Martín (Closes: #367279). + + -- Manoj Srivastava Tue, 6 Jun 2006 16:05:14 -0500 + +dist (3.70-30) unstable; urgency=low + + * Bug fix: "dist: [INTL:sv] Swedish debconf templates translation", + thanks to Daniel Nylander (Closes: #333064). + + -- Manoj Srivastava Thu, 20 Oct 2005 23:08:07 -0500 + +dist (3.70-29) unstable; urgency=low + + * Add a dependency on debconf, since there is no way to determine if we + have a functional debconf infrastructure available. + + -- Manoj Srivastava Mon, 8 Aug 2005 13:32:43 -0500 + +dist (3.70-28) unstable; urgency=low + + * Bug fix: "INTL:vi", thanks to Clytie Siddall (Closes: #313556). + * Bug fix: "[l10n] Initial Czech translation of dist debconf messages", + thanks to Miroslav Kure (Closes: #315834). + + -- Manoj Srivastava Sat, 9 Jul 2005 13:41:49 -0500 + +dist (3.70-27) unstable; urgency=low + + * Bug fix: "dist: Japanese po-debconf template translation (ja.po)", + thanks to Hideki Yamane (Closes: #258769). + + -- Manoj Srivastava Wed, 21 Jul 2004 16:39:15 -0500 + +dist (3.70-26) unstable; urgency=low + + * Bug fix: "[INTL:nl] updated Dutch po-debconf translation", thanks to + Luk Claes (Closes: #256182). + + -- Manoj Srivastava Fri, 25 Jun 2004 10:29:01 -0500 + +dist (3.70-25) unstable; urgency=low + + * Bug fix: "dist: Please add German translation of the debconf + templates", thanks to Erik Schanze (Closes: #252350). + * Bug fix: "[INTL:nl] new Dutch po-debconf translation", thanks to Luk + Claes (Closes: #250234). + + -- Manoj Srivastava Tue, 22 Jun 2004 18:54:52 -0500 + +dist (3.70-24) unstable; urgency=low + + * remember to actually change the name of the debconf question. + + -- Manoj Srivastava Mon, 19 Apr 2004 01:57:00 -0500 + +dist (3.70-23) unstable; urgency=low + + * Bug fix: "dist: [INTL:fr] French debconf templates translation", + thanks to Christian Perrier (Closes: #244046). + * Bug fix: "dist: postinst fails if /etc/news/organization not present", + thanks to Nick Leverton. The problem was unregistering from the + debconf question too early; it should only be done in the postinst + _after_ we have the information we need. (Closes: #243021). + + -- Manoj Srivastava Sun, 18 Apr 2004 17:44:51 -0500 + +dist (3.70-22) unstable; urgency=low + + * Forgot to run debconf-updatepo + + -- Manoj Srivastava Mon, 5 Apr 2004 19:47:52 -0500 + +dist (3.70-21) unstable; urgency=low + + * Fixed spelling. closes: Bug#242265 + * Bug fix: "dist: French debconf templates translation", thanks to Eric + (Closes: #239609). + * Bug fix: "dist: Please follow debconf recommandations for template + namespace",. thanks to Denis Barbier. I am not fully confident of the + solution -- since we need to phase out the share/ question, and only + ask the new shared/ question; but, should the old answer already + exist, we should not trouble the user any more. This is messy. + (Closes: #238224). + + -- Manoj Srivastava Mon, 5 Apr 2004 15:39:02 -0500 + +dist (3.70-20) unstable; urgency=low + + * Hmm. There were glitches in the new debconf mecanism -- recreated + stuff with po2debconf. + + -- Manoj Srivastava Sat, 13 Mar 2004 18:45:15 -0600 + +dist (3.70-19) unstable; urgency=low + + * Moved to new debconf handling common files. + * Bug fix: "dist: Please switch to gettext-based debconf templates", + thanks to Martin Quinson (Closes: #237440). + + -- Manoj Srivastava Fri, 12 Mar 2004 12:54:21 -0600 + +dist (3.70-18) unstable; urgency=low + + * Converted to the new build system. + * Added debconf support to for setting up /etc/news/organization + + -- Manoj Srivastava Mon, 1 Dec 2003 21:11:37 -0600 + +dist (3.70-17) unstable; urgency=low + + * Chk_MANI.U uses 'split -50', which is an obsolete form and is + disallowed when running under _POSIX2_VERSION=200112. Thanks to Colin + Watson for the fix. closes: Bug#204840 + * Upgraded to latest policy version. No changes. + * The behaviour of do followed by a bareword has changed in perl 5.8.0 + -- it now ensure that the bareword is not a keyword. dist fell a foul + of this since it has a routine called format, which is a + keyword. Again, thanks to Colin Watson for the fix. closes: Bug#204839 + * The build process did not stop for the above errors -- it should; so + expanded on Colin's patch to try and fix this. + + -- Manoj Srivastava Sun, 10 Aug 2003 13:50:29 -0500 + +dist (3.70-16) unstable; urgency=low + + * Sigh. Add the depends in the right place. closes: Bug#189571 + + -- Manoj Srivastava Sat, 19 Apr 2003 23:19:26 -0500 + +dist (3.70-15) unstable; urgency=low + + * Depend on sharutils for uudecode etc. closes: Bug#189571 + + -- Manoj Srivastava Fri, 18 Apr 2003 15:35:03 -0500 + +dist (3.70-14) unstable; urgency=low + + * No longer provide /usr/doc symlink. Update to latest policy version. + + -- Manoj Srivastava Mon, 11 Nov 2002 23:14:48 -0600 + +dist (3.70-13) unstable; urgency=low + + * Fix lintian warnings. + + -- Manoj Srivastava Sat, 26 Jan 2002 00:18:01 -0600 + +dist (3.70-12) unstable; urgency=low + + * Do not run install-docs -r in prerm, since we do not install any in + the first place. closes: Bug#69567 + + -- Manoj Srivastava Mon, 21 Aug 2000 09:34:45 -0500 + +dist (3.70-11) frozen unstable; urgency=low + + * Use absolute links when related links would not work, for the + /usr/doc/latex2tml symlink. + * Added a dependency on fileutiles >=4.0, since the package would fail + to install with older fileutils. + + -- Manoj Srivastava Tue, 28 Mar 2000 02:52:59 -0600 + +dist (3.70-10) frozen unstable; urgency=low + + * Fixed an upgrade bug when /usr/doc happens to be a symlink, and does + not point to /usr/share/doc. A couple of people were bitten by this. + + -- Manoj Srivastava Mon, 28 Feb 2000 22:27:05 -0600 + +dist (3.70-9) frozen unstable; urgency=low + + * The postinst was vulnerable to being affected by symlinks (if, for + some reason, the prerm failed). This has happended for latex2html; and + created a grave bug. + * There was a bug in the postinst in a case statement, that caused + installation to fail for certain situations. + * Also fixed an lintian warning + + -- Manoj Srivastava Tue, 8 Feb 2000 14:51:11 -0600 + +dist (3.70-8) frozen unstable; urgency=low + + * Modified postinst to redirect the output of grep away. closes: Bug#44351 + + -- Manoj Srivastava Tue, 25 Jan 2000 16:25:24 -0600 + +dist (3.70-7) unstable; urgency=low + + * Added a dependency for perl5, rather than just perl, to conform to the + new policy. Unfortunately, this make lintian very angry ;-) Also + upgraded to Standards version 3.0.0.0 (put lots of stuff in + /usr/share) + + -- Manoj Srivastava Wed, 7 Jul 1999 12:06:43 -0500 + +dist (3.70-6) frozen unstable; urgency=low + + * Changed the changelog file to changelog.Debian (not .debian) + + -- Manoj Srivastava Tue, 7 Apr 1998 01:55:43 -0500 + +dist (3.70-5) unstable; urgency=low + + * Gave packinit a proper #! line. This shuts up lintian. + + -- Manoj Srivastava Sun, 8 Mar 1998 15:16:46 -0600 + +dist (3.70-4) unstable; urgency=low + + * Make sure the man pages are compressed. + * Ensure that symlinks exist for all the scripts documented in pat.1 + * Upgraded to 2.4.0.0 + * This should fix all the concerns of lintian + + -- Manoj Srivastava Mon, 9 Feb 1998 23:18:07 -0600 + +dist (3.70-3) unstable; urgency=low + + * Make sure the copyright file is not compressed. closes:Bug#14394. + + -- Manoj Srivastava Wed, 5 Nov 1997 11:33:10 -0600 + +dist (3.70-2) unstable; urgency=low + + * Fixed some minor typos + * Improved the clean command. + * Handle all the @%$& problem with introducing more than one level of + directories and the inability of diff/patch to reconstruct the sources + by tarring, gzipping, and uuencoding the directory debian/Config. + + -- Manoj Srivastava Fri, 9 May 1997 17:23:50 -0501 + +dist (3.70-1) unstable; urgency=low + + * Huge set of patches results from an integration of the perl5 units + into the dist-3.0 package. The upstream fixes include: + * regenerated with current set of units + * added Perl Patch Pumpkin credits + * changed my email address and updated copyright dates + * fixed one wrong ':' comment in .package + * now handles USRINC for dependencies + * smarter about dependencies computation + * lex path can now be configured + * added Extractall dependency + * added support for src.U + * have README explicitely mention the package name + * created + * getfile script now begins with "startsh" + * make sure we unset CDPATH for shells that support this + * improved Korn shell detection and handling + * logname / whoami sequence rewritten to use case + * allow users to specify paths on the command line + * will now substitute cp for ln if not supported + * myread script now starts with a "startsh" + * miscellaneous fixes + * new OSNAME define + * can now sense new OSes + * optdef.sh now starts with a "startsh" + * moved some code from Head.U + * whoa script now starts with leading "startsh" + * can now explicitely tell Configure whether AFS is running + * skip existence checks for archlib + * changed the way the archname is mangled from uname + * no longer ask the user if the test runs ok + * removed support for NO_PROTOTYPE detection on SCO + * new locincpth variable + * added info on the "additional ld flags" question + * new computation method avoiding use of temporary file + * added cute quoting trick for wild stringify support + * added ?F: metalint hint + * replaced .a with $_a all over the place + * added full_csh to preserve the full path even when portable + * moved unit to TOP via a ?Y: layout directive + * tell them /dev/fd is not about floppy disks + * integrated new unit from perl5 + * new USE_BSD_GETPGRP to detect the getpgrp() flavour + * useless unit dropped. + * likewise for .o replaced by $_o + * added Guess dependency + * replaced .o with $_o all over the place + * mention that can be included if HAS_POLL defined + * improved overlapping copy check + * comfort them if they have memmove + * reworded symbol comments + * obsoleted USE_BSDGRP in favor of USE_BSD_SETPGRP + * another unit now also defines a USE_BSD_GETPGRP + * fallback for test program failure improved + * added a ?F: metalint hint + * there is now a separate routine for sigaction() + * merged with perl5's unit + * added I_RPCSVC_DBM check + * varargs script now starts with leading "startsh" + * avoid prompting the user if the test runs ok + * moved code from longsize.U into there + * new tests for shortsize as well + * added support for HPUX-10 nm output + * added usrinc and mips on the dependency line + * make sure we call ./mips + * added a ?LINT: hint + * new loclibpth variable + * code moved to intsize.U + * added support for Free_t, the type of free() + * don't ask for AFS when they choose to not install pages + * improved hostname lookup by using ypmatch when NIS is used + * simplify here document for shells that can't handle them well + * force use of "startsh" at the head of the generated script + * added new files to the ?F: metalint hint + * ensure suitable defaults for hostcat and friends + * now uses the ar located by Loc.U + * added and to the C program test + * removed empty ?LINT lines + * always include when available for test + * brand new algorithm for sig_name and (new!) sig_num + * removed useless chatter as this is now done very early + * integrated perl5 concerns for mis-configured sfio + * warn them if the #! line is too long for their OS + * avoid needless chatter since this is now done very early + * don't use nm with the GNU C library + * added support for Linux shared libs + * don't ask for the include path unless they are on a MIPS + * don't prompt them if the void support is high enough for us + * added the srcdir support now that we have src.U + * random cleanup for nicer help message + * documents the runnning environment and the src.U unit + * added warnings for $_a and $_o, as well as "startsh" + * new "create" and "empty" lint directives + * documented new messages + * new -L option to match metaconfig and metalint + * added support for ?F: lines to monitor file usage + * now honours "create" and "empty" lint directives + * documents contents of the message sent by patnotify + * let them know the patch priority and description + * Added a whole bunch of new units + + -- Manoj Srivastava Fri, 28 Feb 1997 14:14:07 -0600 + +dist (3.60-9) unstable; urgency=low + + * Removed frozen from the section list. + + -- Manoj Srivastava Sat, 15 Feb 1997 14:18:05 -0600 + +dist (3.60-8) frozen unstable; urgency=low + + * Moved to standards version 2.1.2.2 + * Removed extra root checks + * Added error messages to failed root check + + -- Manoj Srivastava Thu, 13 Feb 1997 14:38:47 -0600 + +dist (3.60-7) frozen unstable; urgency=low + + * Changed to the new packaging format. + + -- Manoj Srivastava Thu, 14 Nov 1996 11:29:28 -0600 + +Old Changelog: + +dist (3.60-6) unstable; urgency=low + + * Added the architecture field to the package file name. + * point to /usr/doc/copright/Artistic rather than install + our own copy. + * Fixed a problem with the nis.U unit which left the symbols + hostcat, groupcat, and passcat empty if it did not detect + yellow pages on the system. + + -- Manoj Srivastava + +dist (3.60-5) unstable; urgency=low + + * moved the man page for dist from section 1 to section 7, + which is more suitable anyway since dist is not an executable + but a meta name. This fixes Bug#2661. + * edited manpages to refer to dist.7 rather than dist.1 + + -- Manoj Srivastava + +dist (3.60-4) unstable; urgency=low + + * Added architecture header in control + * added section header + * merged the package revision header into the revision header. + * cleaned up the debian.rules. + * added the Changelog. + * Fixed the description field not to include multiple contiguous + spaces + + -- Manoj Srivastava + +dist (3.60-3) unstable; urgency=low + + * Use /etc/news/organization instead of /etc/organization + Please note that people who installed mailagent-3.44-1 + and/or dist-3.60-2 shall have to remove /etc/organization + manually after upgrading both packages. + + -- Manoj Srivastava + +dist (3.60-2) unstable; urgency=low + + * Installed debian.README under /usr/doc/c2man + * Added to the dist target in debian.rules + +dist (3.60-1) unstable; urgency=low + + * Added debian.* files + + -- Manoj Srivastava + + + --- dist-3.5-30.orig/debian/local-vars.mk +++ dist-3.5-30/debian/local-vars.mk @@ -0,0 +1,52 @@ +############################ -*- Mode: Makefile -*- ########################### +## local-vars.mk --- +## Author : Manoj Srivastava ( srivasta@glaurung.green-gryphon.com ) +## Created On : Sat Nov 15 10:43:00 2003 +## Created On Node : glaurung.green-gryphon.com +## Last Modified By : Manoj Srivastava +## Last Modified On : Mon Dec 1 21:10:14 2003 +## Last Machine Used: glaurung.green-gryphon.com +## Update Count : 21 +## Status : Unknown, Use with caution! +## HISTORY : +## Description : +## +## arch-tag: 1a76a87e-7af5-424a-a30d-61660c8f243e +## +############################################################################### + +FILES_TO_CLEAN = config.over mkdep bin/Makefile.bak jmake/Makefile.bak kit/Makefile.bak \ + mcon/Makefile.bak pat/Makefile.bak debian/files debian/debian.tar.gz +STAMPS_TO_CLEAN = +DIRS_TO_CLEAN = $(TMPTOP) debian/Config debian/stamp +PAT_EXEC = patcil patdiff patbase patlog patmake patsend \ + patnotify patpost patftp patname patsnap patcol \ + patclean patindex + +# Location of the source dir +SRCTOP := $(shell if [ "$$PWD" != "" ]; then echo $$PWD; else pwd; fi) +TMPTOP = $(SRCTOP)/debian/tmp +LINTIANDIR = $(TMPTOP)/usr/share/lintian/overrides + +BINDIR = $(TMPTOP)/usr/bin +MANDIR = $(TMPTOP)/usr/share/man +MAN1DIR = $(MANDIR)/man1 +MAN3DIR = $(MANDIR)/man3 +MAN5DIR = $(MANDIR)/man5 +MAN7DIR = $(MANDIR)/man7 +MAN8DIR = $(MANDIR)/man8 +INFODIR = $(TMPTOP)/usr/share/info +DOCTOP = $(TMPTOP)/usr/share/doc +LIBDIR = $(TMPTOP)/usr/lib/$(package) +PRIVLIB = $(TMPTOP)/usr/share/$(package)/U +DOCDIR = $(DOCTOP)/$(package) + + +define checkdir + @test -f debian/rules -a -f mcon/mconfig.SH || \ + (echo Not in correct source directory; exit 1) +endef + +define checkroot + @test $$(id -u) = 0 || (echo need root priviledges; exit 1) +endef --- dist-3.5-30.orig/debian/control +++ dist-3.5-30/debian/control @@ -0,0 +1,33 @@ +Source: dist +VCS-Git: git://git.debian.org/~srivasta/debian/dist.git +VCS-Browser: http://git.debian.org/git/?p=users/srivasta/debian/dist.git +Section: devel +Priority: optional +Maintainer: Manoj Srivastava +Standards-Version: 3.8.3.0 +Build-Depends-Indep: sharutils, po-debconf, gettext + +Package: dist +Architecture: all +Depends: perl, debconf (>= 1.2.0) | debconf-2.0 +Description: Tools for developing, maintaining and distributing software. + The dist package is a set of tools meant to ease the construction + and maintenance of portable software. + . + The first component is the Configure script generator, metaconfig, which + automatically builds the Configure script from your sources. Ideally, + the end-user receiving your source code will simply have to read + your README file, run the Configure script (which is self-documented), + and then run make. + . + The second component is the Makefile.SH generator, which is a generic + configured Makefile, reusing some of the information figured out + by Configure, and a generic Jmakefile description. + . + The third component is the RCS aware package generator, which is + used when it's time to build up the shell archives used to distribute + your program. + . + The fourth and latest component is the patch generator, used to + make updates of your sources, which can later be applied on the + original distribution by using the patch program. --- dist-3.5-30.orig/debian/config +++ dist-3.5-30/debian/config @@ -0,0 +1,82 @@ +#!/bin/sh +# -*- Mode: Sh -*- +# config --- +# Author : Manoj Srivastava ( srivasta@glaurung.green-gryphon.com ) +# Created On : Fri Oct 31 21:53:31 2003 +# Created On Node : glaurung.green-gryphon.com +# Last Modified By : Manoj Srivastava +# Last Modified On : Tue Dec 2 21:36:50 2003 +# Last Machine Used: glaurung.green-gryphon.com +# Update Count : 13 +# Status : Unknown, Use with caution! +# HISTORY : +# Description : +# arch-tag: 1c40a2eb-f28c-41b5-a423-671be2e816ed +# + +set -e + +case "$1" in + configure) + # Configure this package. If the package must prompt the user for + # information, do it here. + if [ ! -e /etc/news/organization ]; then + if [ -e /usr/share/debconf/confmodule ]; then + . /usr/share/debconf/confmodule + db_capb + ok='' + # See if the old shared question still exists. + if db_get share/news/organization; then + if [ "X$RET" != "X" ]; then + ok=1 + break + fi + fi + while [ ! "$ok" ]; do + retval=$(db_input low shared/news/organization) || true + if [ "$retval" = "30 question skipped" ]; then + ok=1 + fi + db_go || true + db_get shared/news/organization + if [ "X$RET" != "X" ]; then + ok=1 + break + fi + done + fi + fi + + ;; + reconfigure) + if [ ! -e /etc/news/organization ]; then + if [ -e /usr/share/debconf/confmodule ]; then + . /usr/share/debconf/confmodule + db_capb + ok='' + # See if the old shared question still exists. + if db_get share/news/organization; then + if [ "X$RET" != "X" ]; then + ok=1 + break + fi + fi + while [ ! "$ok" ]; do + retval=$(db_input low shared/news/organization) || true + if [ "$retval" = "30 question skipped" ]; then + ok=1 + fi + db_go || true + db_get shared/news/organization + if [ "X$RET" != "X" ]; then + ok=1 + break + fi + done + fi + fi + ;; + *) echo "$0: didn't understand being called with \`$1'" 1>&2 + exit 0;; +esac + --- dist-3.5-30.orig/debian/prerm +++ dist-3.5-30/debian/prerm @@ -0,0 +1,129 @@ +#! /bin/sh +# -*- Mode: Sh -*- +# prerm --- +# Author : Manoj Srivastava ( srivasta@glaurung.green-gryphon.com ) +# Created On : Fri Nov 14 12:16:39 2003 +# Created On Node : glaurung.green-gryphon.com +# Last Modified By : Manoj Srivastava +# Last Modified On : Mon Dec 1 16:48:06 2003 +# Last Machine Used: glaurung.green-gryphon.com +# Update Count : 8 +# Status : Unknown, Use with caution! +# HISTORY : +# Description : +# +# arch-tag: a4c1a888-137d-4800-98f8-93d0365422d8 +# +# 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., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA +# +# + +# Abort if any command returns an error value +set -e + +package_name=dist; + +if [ -z "$package_name" ]; then + print >&2 "Internal Error. Please report a bug." + exit 1; +fi + + +# This script is called as the first step in removing the package from +# the system. This includes cases where the user explicitly asked for +# the package to be removed, upgrade, automatic removal due to conflicts, +# and deconfiguration due to temporary removal of a depended-on package. + +# Info files should be uninstalled from the dir file in any case. +##: install-info --quiet --remove /usr/info/${package_name}.info + +case "$1" in + remove) + # This package about to be removed. + ##: + + # Remove package-specific directories from /usr/local. Don't try + # to remove standard directories such as /usr/local/lib. + ##: if test -d /usr/local/lib/${package_name}; then + ##: rmdir /usr/local/lib/${package_name} || true + ##: fi + + # Deactivate menu-methods script. + ##: chmod a-x /etc/menu-methods/${package_name} + + # Withdraw our version of a program. + ##: update-alternatives --remove program /usr/bin/alternative + + # Get rid of the installed docs + ##: if which install-docs >/dev/null 2>&1; then + ##: install-docs -r $package_name + ##: fi + + # Get rid of the byte compiled files + ##: if [ -x /usr/lib/emacsen-common/emacs-package-remove ]; then + ##: /usr/lib/emacsen-common/emacs-package-remove $package_name + ##: fi + + if [ -L /usr/doc/$package_name ]; then + rm -f /usr/doc/$package_name + fi + + # There are two sub-cases: + if test "${2+set}" = set; then + if test "$2" != in-favour; then + echo "$0: undocumented call to \`prerm $*'" 1>&2 + exit 0 + fi + # We are being removed because of a conflict with package $3 + # (version $4), which is now being installed. + : + + else + # The package is being removed in its own right. + : + + fi ;; + deconfigure) + if test "$2" != in-favour || test "$5" != removing; then + echo "$0: undocumented call to \`prerm $*'" 1>&2 + exit 0 + fi + # Package $6 (version $7) which we depend on is being removed due + # to a conflict with package $3 (version $4), and this package is + # being deconfigured until $6 can be reinstalled. + ##: + + ;; + upgrade) + # Prepare to upgrade FROM THIS VERSION of this package to version $2. + ##: + + if [ -L /usr/doc/$package_name ]; then + rm -f /usr/doc/$package_name + fi + + ;; + failed-upgrade) + # Prepare to upgrade from version $2 of this package TO THIS VERSION. + # This is only used if the old version's prerm couldn't handle it, + # and returned non-zero. (Fix old prerm bugs here.) + : + + ;; + *) echo "$0: didn't understand being called with \`$1'" 1>&2 + exit 0;; +esac + +exit 0 --- dist-3.5-30.orig/debian/templates +++ dist-3.5-30/debian/templates @@ -0,0 +1,15 @@ +Template: shared/news/organization +Type: string +Default: --none-- +_Description: Name of your organization: + You don't seem to have an /etc/news/organization file. Usually that + contains the name of your organization as you want it to appear on the + Organization line of outgoing articles/mail/patches. Please supply the + name of your organization as you want it to appear on the Organization + line of outgoing articles/patches. (It is nice if this also specifies + your location. Your city name is probably sufficient if well known.) For + example: + . + University of Southern North Dakota, Hoople + . + Type in "--none--" if you do not want to specify one. --- dist-3.5-30.orig/debian/lintian.overrides +++ dist-3.5-30/debian/lintian.overrides @@ -0,0 +1,2 @@ +dist: description-synopsis-might-not-be-phrased-properly + --- dist-3.5-30.orig/debian/README +++ dist-3.5-30/debian/README @@ -0,0 +1,21 @@ +This is Debian GNU/Linux's prepackaged version of Raphael Manfredi's +dist program. + +This version of dist was put together by Manoj Srivastava +, from the sources distributed directly by +the author, Raphael Manfredi . + +The changes in this package are essentially the addition of support for +the Debian package maintenance scheme, by adding various debian.* files. +The changes in the default configuration are using the pager /bin/more, +and using /usr/bin/ae as the default editor, since these programs are +guaranteed to be present in any debian system. The other changes are +to ensure that a .config directory is present, so that no mail message +is sent to the maintainer while building the debian package. An over- +ride file is also used to ensure that installation occurs into a local +debian-tmp directory, required to build the debianized version. + +See the README file for more information +arch-tag: 29b82916-9188-446f-aa1c-b0cf69566464 + + --- dist-3.5-30.orig/debian/postinst +++ dist-3.5-30/debian/postinst @@ -0,0 +1,470 @@ +#! /bin/sh +# -*- Mode: Sh -*- +# postinst --- +# Author : Manoj Srivastava ( srivasta@glaurung.green-gryphon.com ) +# Created On : Fri Nov 14 11:25:07 2003 +# Created On Node : glaurung.green-gryphon.com +# Last Modified By : Manoj Srivastava +# Last Modified On : Mon Dec 1 21:50:09 2003 +# Last Machine Used: glaurung.green-gryphon.com +# Update Count : 27 +# Status : Unknown, Use with caution! +# HISTORY : +# Description : +# +# arch-tag: 5401e9ef-39cc-4aee-96a4-61dfb8f32cf7 +# +# 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., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA +# +# + +# Abort if any command returns an error value +set -e + +package_name=dist; + +if [ -z "$package_name" ]; then + print >&2 "Internal Error. Please report a bug." + exit 1; +fi + +# This script is called as the last step of the installation of the +# package. All the package's files are in place, dpkg has already done +# its automatic conffile handling, and all the packages we depend of +# are already fully installed and configured. +# summary of how this script can be called: +# * `configure' +# * `abort-upgrade' +# * `abort-remove' `in-favour' +# +# * `abort-deconfigure' `in-favour' +# `removing' +# +# for details, see http://www.debian.org/doc/debian-policy/ or +# the debian-policy package +# +# quoting from the policy: +# Any necessary prompting should almost always be confined to the +# post-installation script, and should be protected with a conditional +# so that unnecessary prompting doesn't happen if a package's +# installation fails and the `postinst' is called with `abort-upgrade', +# `abort-remove' or `abort-deconfigure'. + +# The following idempotent stuff doesn't generally need protecting +# against being run in the abort-* cases. + +# Install info files into the dir file +##: install-info --quiet --section "section pattern" "Section Title" \ +##: --description="Name of the document" /usr/info/${package_name}.info + +# Create stub directories under /usr/local +##: if test ! -d /usr/local/lib/${package_name}; then +##: if test ! -d /usr/local/lib; then +##: if mkdir /usr/local/lib; then +##: chown root.staff /usr/local/lib || true +##: chmod 2775 /usr/local/lib || true +##: fi +##: fi +##: if mkdir /usr/local/lib/${package_name}; then +##: chown root.staff /usr/local/lib/${package_name} || true +##: chmod 2775 /usr/local/lib/${package_name} || true +##: fi +##: fi + +# Ensure the menu system is updated +##: [ ! -x /usr/bin/update-menus ] || /usr/bin/update-menus + +# Arrange for a daemon to be started at system boot time +##: update-rc.d ${package_name} default >/dev/null + +ask_organization () { + if [ -e /usr/share/debconf/confmodule ]; then + . /usr/share/debconf/confmodule + db_capb + ok='' + # See if the old shared question still exists. + if db_get share/news/organization; then + if [ "X$RET" != "X" ]; then + orgname="$RET" + db_fget share/news/organization seen + if [ "$RET" = true ]; then + if [ "$orgname" = "--none--" ]; then + orgname="" + fi + else + orgname="" + fi + # I no longer claim this question. + db_unregister share/news/organization + fi + else + # Good. The old question is gone. + if ! db_get shared/news/organization; then + while [ ! "$ok" ]; do + retval=$(db_input low shared/news/organization) || true + if [ "$retval" = "30 question skipped" ]; then + ok=1 + fi + db_go || true + db_get shared/news/organization + if [ "X$RET" != "X" ]; then + ok=1 + break + fi + done + fi + db_fget shared/news/organization seen + if [ "$RET" = true ]; then + # The user saw and answered the question using debconf. + db_get shared/news/organization + if [ "$RET" = "--none--" ]; then + orgname="" + else + orgname="$RET" + fi + else + # Debconf did not display the question to the user. + orgname="" + fi + fi + else + # Debconf is not available so ask the question by hand. + echo "" + /bin/cat << 'EOH' + + Please type the name of your organization as you want it to + appear on the Organization line of outgoing articles/patches. + This information is stored in the configuration file + /etc/news/organization. (It is nice if this also specifies + your location. Your city name is probably sufficient if well + known.) For example: + + University of Southern North Dakota, Hoople + type in "--none--" if you do not want to specify one. + However, you shall be asked again on the next upgrade if + /etc/news/organization does not exist. + +EOH + + orgname="" + while test "X$orgname" = "X"; do + rp='Organization:' + xxxm=$dflt + case "$xxxm" in + '') echo -n "$rp " ;; + *) case "$rp" in + '') echo -n "[$xxxm] ";; + *) + if test `echo "$rp [$xxxm] " | wc -c` -ge 80; then + echo "$rp" + echo -n "[$xxxm] " + else + echo -n "$rp [$xxxm] " + fi + ;; + esac;; + esac + ans='!' + while expr "X$ans" : "X!" >/dev/null; do + read answ + set x $xxxm + shift + aok=''; eval "ans=\"$answ\"" && aok=y + case "$answ" in + "$ans") + case "$ans" in + "!") + sh + echo " " + case "$xxxm" in + '') echo -n "$rp " ;; + *) case "$rp" in + '') echo -n "[$xxxm] ";; + *) + if test `echo "$rp [$xxxm] " | wc -c` -ge 80; then + echo "$rp" + echo -n "[$xxxm] " + else + echo -n "$rp [$xxxm] " + fi + ;; + esac;; + esac + ;; + !*) + set x `expr "X$ans" : "X!\(.*\)$"` + shift + sh -c "$*" + echo " " + case "$xxxm" in + '') echo -n "$rp ";; + *) case "$rp" in + '') echo -n "[$xxxm] ";; + *) + if test `echo "$rp [$xxxm] " | wc -c` -ge 80; then + echo "$rp" + echo -n "[$xxxm] " + else + echo -n "$rp [$xxxm] " + fi + ;; + esac;; + esac + ;; + esac;; + *) + case "$aok" in + y) + echo "*** Substitution done -- please confirm." + xxxm="$ans" + ans=`echo -n "$ans" | tr '\012' ' '` + xxxm="$ans" + ans=! + ;; + *) + echo "*** Error -- try again." + ans=! + ;; + esac + case "$xxxm" in + '') echo -n "$rp " ;; + *) case "$rp" in + '') echo -n "[$xxxm] ";; + *) + if test `echo "$rp [$xxxm] " | wc -c` -ge 80; then + echo "$rp" + echo -n "[$xxxm] " + else + echo -n "$rp [$xxxm] " + fi + ;; + esac;; + esac + ;; + esac + case "$ans$xxxm$nostick" in + '') + ans=! + case "$xxxm" in + '') echo -n "$rp " ;; + *) case "$rp" in + '') echo -n "[$xxxm] ";; + *) + if test `echo "$rp [$xxxm] " | wc -c` -ge 80; then + echo "$rp" + echo -n "[$xxxm] " + else + echo -n "$rp [$xxxm] " + fi + ;; + esac;; + esac + ;; + esac + done + case "$ans" in + '') ans="$xxxm";; + esac + orgname="$ans" + done + if [ "$ans" = "--none--" ]; then + orgname="" + fi + fi + +} + +set_org_perms () { + chown root /etc/news/organization + if grep news /etc/group 2>&1 >/dev/null ; then + chgrp news /etc/news/organization + else + chgrp root /etc/news/organization + fi + chmod 0644 /etc/news/organization +} + +case "$1" in + configure) + # Configure this package. If the package must prompt the user for + # information, do it here. + # Install emacs lisp files + ##:if [ -x /usr/lib/emacsen-common/emacs-package-install ]; then + ##: /usr/lib/emacsen-common/emacs-package-install $package_name + ##:fi + + + # Activate menu-methods script + ##: chmod a+x /etc/menu-methods/${package_name} + + # Update ld.so cache + ##: ldconfig + + # Make our version of a program available + ##: update-alternatives \ + ##: --install /usr/bin/program program /usr/bin/alternative 50 \ + ##: --slave /usr/man/man1/program.1.gz program.1.gz \ + ##: /usr/man/man1/alternative.1.gz + + # Tell ucf that the file in /usr/share/foo is the latest + # maintainer version, and let it handle how to manage the real + # confuguration file in /etc. This is how a static configuration + # file can be handled: + ##:if which ucf >/dev/null 2>&1; then + ##: ucf /usr/share/${package_name}/configuration /etc/${package_name}.conf + ##:fi + + ### We could also do this on the fly. The following is from Tore + ### Anderson: + + if [ -e /usr/share/debconf/confmodule ]; then + . /usr/share/debconf/confmodule + fi + + + ### find out what the user answered. + # db_get foo/run_on_boot + # run_on_boot=$RET + # db_stop + + ### safely create a temporary file to generate our suggested + ### configuration file. + # tempfile=`tempfile` + # cat << _eof > $tempfile + ### Configuration file for Foo. + + ### this was answered by you, the user in a debconf dialogue + # RUNONBOOT=$run_on_boot + + ### this was not, as it has a sane default value. + # COLOUROFSKY=blue + + #_eof + + ### Note that some versions of debconf do not release stdin, so + ### the following invocation of ucf may not work, since the stdin + ### is never coneected to ucfr. + + ### now, invoke ucf, which will take care of the rest, and ask + ### the user if he wants to update his file, if it is modified. + #ucf $tempfile /etc/foo.conf + + ### done! now we'll just clear up our cruft. + #rm -f $tempfile + + + + # There are three sub-cases: + if test "${2+set}" != set; then + # We're being installed by an ancient dpkg which doesn't remember + # which version was most recently configured, or even whether + # there is a most recently configured version. + : + + elif test -z "$2" || test "$2" = ""; then + # The package has not ever been configured on this system, or was + # purged since it was last configured. + : + + else + # Version $2 is the most recently configured version of this + # package. + : + + fi + + if [ ! -f /etc/news/organization ]; then + echo "" + echo "Hmmm.. You don't seem to have an /etc/news/organization file." + echo "Ususally that contains the name of your organization as " + echo "you want it to appear on the Organization line of outgoing" + echo "articles/patches." + echo "" + + : echo create directory + if test ! -d /etc/news ; then + mkdir /etc/news + chown root /etc/news + if grep news /etc/group 2>&1 >/dev/null ; then + chgrp news /etc/news + else + echo "darn, you do not have news in /etc/group" + chgrp root /etc/news + fi + chmod 2755 /etc/news + fi + + # if the organization stuff exists, then copy that over + if test -f /etc/organization ; then + echo "But you do have /etc/organization. I'll Use that." + echo "If that is not right, just edit the /etc/news/organization " + echo "after the setup is done. (/etc/organization is deprecated. You" + echo "might consider removing it if nothing else uses it)." + echo "" + cp /etc/organization /etc/news/organization + set_org_perms + else + : echo get organization name + ask_organization + if [ "X$orgname" != "X" ]; then + echo "$orgname" > /etc/news/organization + set_org_perms + fi + fi + fi + + ;; + + abort-upgrade) + # Back out of an attempt to upgrade this package FROM THIS VERSION + # to version $2. Undo the effects of "prerm upgrade $2". + : + + ;; + abort-remove) + if test "$2" != in-favour; then + echo "$0: undocumented call to \`postinst $*'" 1>&2 + exit 0 + fi + # Back out of an attempt to remove this package, which was due to + # a conflict with package $3 (version $4). Undo the effects of + # "prerm remove in-favour $3 $4". + : + + ;; + abort-deconfigure) + if test "$2" != in-favour || test "$5" != removing; then + echo "$0: undocumented call to \`postinst $*'" 1>&2 + exit 0 + fi + # Back out of an attempt to deconfigure this package, which was + # due to package $6 (version $7) which we depend on being removed + # to make way for package $3 (version $4). Undo the effects of + # "prerm deconfigure in-favour $3 $4 removing $6 $7". + : + + ;; + *) echo "$0: didn't understand being called with \`$1'" 1>&2 + exit 0;; +esac + +# Install doc base documentation +##:if which install-docs >/dev/null 2>&1; then +##: if [ -e /usr/share/doc-base/${package_name} ]; then +##: install-docs -i /usr/share/doc-base/${package_name} +##: fi +##:fi + +exit 0 --- dist-3.5-30.orig/debian/po/fr.po +++ dist-3.5-30/debian/po/fr.po @@ -0,0 +1,63 @@ +# translation of fr.po to French +# +# Translators, if you are not familiar with the PO format, gettext +# documentation is worth reading, especially sections dedicated to +# this format, e.g. by running: +# info -n '(gettext)PO Files' +# info -n '(gettext)Header Entry' +# +# Some information specific to po-debconf are available at +# /usr/share/doc/po-debconf/README-trans +# or http://www.debian.org/intl/l10n/po-debconf/README-trans +# +# Developers do not need to manually edit POT or PO files. +# Christian Perrier , 2004. +# +msgid "" +msgstr "" +"Project-Id-Version: dist\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2004-04-05 19:45-0500\n" +"PO-Revision-Date: 2004-04-16 13:46+0100\n" +"Last-Translator: Christian Perrier \n" +"Language-Team: French \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=iso-8859-1\n" +"Content-Transfer-Encoding: 8bit\n" + +#. Type: string +#. Description +#: ../templates.master:4 +msgid "Name of your organization:" +msgstr "Nom de votre organisation:" + +#. Type: string +#. Description +#: ../templates.master:4 +msgid "" +"You don't seem to have an /etc/news/organization file. Usually that contains " +"the name of your organization as you want it to appear on the Organization " +"line of outgoing articles/mail/patches. Please supply the name of your " +"organization as you want it to appear on the Organization line of outgoing " +"articles/patches. (It is nice if this also specifies your location. Your " +"city name is probably sufficient if well known.) For example:" +msgstr "" +"Vous n'avez pas de fichier /etc/news/organization. Habituellement, ce " +"fichier contient le nom de votre organisation, qui est inscrit sur la ligne " +"Organization des articles, courriels et correctifs envoys. Veuillez " +"indiquer le nom de l'organisation que vous souhaitez voir figurer sur cette " +"ligne. Vous pouvez aussi indiquer votre adresse, ou simplement votre ville " +"si elle est connue. Exemple:" + +#. Type: string +#. Description +#: ../templates.master:4 +msgid " University of Southern North Dakota, Hoople" +msgstr " Universit Pierre et Marie Curie, Paris" + +#. Type: string +#. Description +#: ../templates.master:4 +msgid "Type in \"--none--\" if you do not want to specify one." +msgstr "" +"Si vous ne dsirez pas spcifier d'organisation, inscrivez --none--." --- dist-3.5-30.orig/debian/po/ru.po +++ dist-3.5-30/debian/po/ru.po @@ -0,0 +1,55 @@ +# translation of ru.po to Russian +# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER +# This file is distributed under the same license as the PACKAGE package. +# +# Yuri Kozlov , 2007. +msgid "" +msgstr "" +"Project-Id-Version: 3.70-32\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2004-04-05 19:45-0500\n" +"PO-Revision-Date: 2007-12-20 21:23+0300\n" +"Last-Translator: Yuri Kozlov \n" +"Language-Team: Russian \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"X-Generator: KBabel 1.11.4\n" +"Plural-Forms: nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && n%" +"10<=4 && (n%100<10 || n%100>=20) ? 1 : 2);\n" + +#. Type: string +#. Description +#: ../templates.master:4 +msgid "Name of your organization:" +msgstr "Название организации:" + +#. Type: string +#. Description +#: ../templates.master:4 +msgid "" +"You don't seem to have an /etc/news/organization file. Usually that contains " +"the name of your organization as you want it to appear on the Organization " +"line of outgoing articles/mail/patches. Please supply the name of your " +"organization as you want it to appear on the Organization line of outgoing " +"articles/patches. (It is nice if this also specifies your location. Your " +"city name is probably sufficient if well known.) For example:" +msgstr "" +"Кажется, у вас не файла /etc/news/organization. Обычно, в нём содержится " +"название вашей организации, которое вы бы хотели показывать в строке " +"Organization в исходящих статьях/почте/заплатах. Введите здесь название " +"вашей организации, которое вы бы хотели показывать в строке Organization в " +"исходящих статьях/почте/заплатах. (Также неплохо указывать ваше " +"местоположение. Подойдёт название города, если оно всем известно.) Например:" + +#. Type: string +#. Description +#: ../templates.master:4 +msgid " University of Southern North Dakota, Hoople" +msgstr " МГТУ имени Н.Э.Баумана, Москва" + +#. Type: string +#. Description +#: ../templates.master:4 +msgid "Type in \"--none--\" if you do not want to specify one." +msgstr "Введите \"--none--\", если не хотите ничего указывать." --- dist-3.5-30.orig/debian/po/sv.po +++ dist-3.5-30/debian/po/sv.po @@ -0,0 +1,59 @@ +# Translators, if you are not familiar with the PO format, gettext +# documentation is worth reading, especially sections dedicated to +# this format, e.g. by running: +# info -n '(gettext)PO Files' +# info -n '(gettext)Header Entry' +# Some information specific to po-debconf are available at +# /usr/share/doc/po-debconf/README-trans +# or http://www.debian.org/intl/l10n/po-debconf/README-trans +# Developers do not need to manually edit POT or PO files. +# , fuzzy +# +# +msgid "" +msgstr "" +"Project-Id-Version: dist 3.70-29\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2004-04-05 19:45-0500\n" +"PO-Revision-Date: 2005-10-11 09:39+0200\n" +"Last-Translator: Daniel Nylander \n" +"Language-Team: Swedish \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=iso-8859-1\n" +"Content-Transfer-Encoding: 8bit\n" + +#. Type: string +#. Description +#: ../templates.master:4 +msgid "Name of your organization:" +msgstr "Namnet p din organisation:" + +#. Type: string +#. Description +#: ../templates.master:4 +msgid "" +"You don't seem to have an /etc/news/organization file. Usually that contains " +"the name of your organization as you want it to appear on the Organization " +"line of outgoing articles/mail/patches. Please supply the name of your " +"organization as you want it to appear on the Organization line of outgoing " +"articles/patches. (It is nice if this also specifies your location. Your " +"city name is probably sufficient if well known.) For example:" +msgstr "" +"Du verkar inte ha en fil kallad /etc/news/organization. Normalt sett " +"innehller den namnet p din organisation som du vill ska synas i " +"Organization-raden i dina utgende artiklar/e-post/patchar. Vnligen ange " +"namnet p din organisation som du vill ska synas p Organization-raden i " +"dina artiklar/patchar. (det r trevligt om denna ocks innehller din " +"plats. Namnet p din stad brukar rcka om den r vlknd.) Till exempel:" + +#. Type: string +#. Description +#: ../templates.master:4 +msgid " University of Southern North Dakota, Hoople" +msgstr " Universitetet i Stockholm, Sverige" + +#. Type: string +#. Description +#: ../templates.master:4 +msgid "Type in \"--none--\" if you do not want to specify one." +msgstr "Skriv in \"--none--\" om du inte vill specificera ngon." --- dist-3.5-30.orig/debian/po/POTFILES.in +++ dist-3.5-30/debian/po/POTFILES.in @@ -0,0 +1 @@ +[type: gettext/rfc822deb] templates --- dist-3.5-30.orig/debian/po/templates.pot +++ dist-3.5-30/debian/po/templates.pot @@ -0,0 +1,55 @@ +# +# Translators, if you are not familiar with the PO format, gettext +# documentation is worth reading, especially sections dedicated to +# this format, e.g. by running: +# info -n '(gettext)PO Files' +# info -n '(gettext)Header Entry' +# +# Some information specific to po-debconf are available at +# /usr/share/doc/po-debconf/README-trans +# or http://www.debian.org/intl/l10n/po-debconf/README-trans +# +# Developers do not need to manually edit POT or PO files. +# +#, fuzzy +msgid "" +msgstr "" +"Project-Id-Version: PACKAGE VERSION\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2004-04-05 19:45-0500\n" +"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" +"Last-Translator: FULL NAME \n" +"Language-Team: LANGUAGE \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=CHARSET\n" +"Content-Transfer-Encoding: 8bit\n" + +#. Type: string +#. Description +#: ../templates.master:4 +msgid "Name of your organization:" +msgstr "" + +#. Type: string +#. Description +#: ../templates.master:4 +msgid "" +"You don't seem to have an /etc/news/organization file. Usually that contains " +"the name of your organization as you want it to appear on the Organization " +"line of outgoing articles/mail/patches. Please supply the name of your " +"organization as you want it to appear on the Organization line of outgoing " +"articles/patches. (It is nice if this also specifies your location. Your " +"city name is probably sufficient if well known.) For example:" +msgstr "" + +#. Type: string +#. Description +#: ../templates.master:4 +msgid " University of Southern North Dakota, Hoople" +msgstr "" + +#. Type: string +#. Description +#: ../templates.master:4 +msgid "Type in \"--none--\" if you do not want to specify one." +msgstr "" --- dist-3.5-30.orig/debian/po/es.po +++ dist-3.5-30/debian/po/es.po @@ -0,0 +1,76 @@ +# dist po-debconf translation to Spanish +# Copyright (C) 2005 Software in the Public Interest +# This file is distributed under the same license as the dist package. +# +# Changes: +# - Initial translation +# César Gómez Martín +# +# Traductores, si no conoce el formato PO, merece la pena leer la +# documentación de gettext, especialmente las secciones dedicadas a este +# formato, por ejemplo ejecutando: +# info -n '(gettext)PO Files' +# info -n '(gettext)Header Entry' +# Equipo de traducción al español, por favor, lean antes de traducir +# los siguientes documentos: +# +# - El proyecto de traducción de Debian al español +# http://www.debian.org/intl/spanish/ +# especialmente las notas de traducción en +# http://www.debian.org/intl/spanish/notas +# +# - La guía de traducción de po's de debconf: +# /usr/share/doc/po-debconf/README-trans +# o http://www.debian.org/intl/l10n/po-debconf/README-trans +# +msgid "" +msgstr "" +"Project-Id-Version: dist\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2004-04-05 19:45-0500\n" +"PO-Revision-Date: 2005-09-20 18:52+0100\n" +"Last-Translator: César Gómez Martín \n" +"Language-Team: Debian l10n spanish \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=utf-8\n" +"Content-Transfer-Encoding: 8bit\n" +"X-Poedit-Language: Spanish\n" +"X-Poedit-Country: SPAIN\n" +"X-Poedit-SourceCharset: utf-8\n" + +#. Type: string +#. Description +#: ../templates.master:4 +msgid "Name of your organization:" +msgstr "Nombre de su organización:" + +#. Type: string +#. Description +#: ../templates.master:4 +msgid "" +"You don't seem to have an /etc/news/organization file. Usually that contains " +"the name of your organization as you want it to appear on the Organization " +"line of outgoing articles/mail/patches. Please supply the name of your " +"organization as you want it to appear on the Organization line of outgoing " +"articles/patches. (It is nice if this also specifies your location. Your " +"city name is probably sufficient if well known.) For example:" +msgstr "" +"Parece que no tiene un fichero /etc/news/organization. Normalmente ese " +"fichero contiene el nombre de su organización, tal y como usted quiere que " +"aparezca en la línea «Organización» de sus artículos/correos/parches " +"salientes. Por favor, proporcione el nombre de su organización tal y como " +"quiere que aparezca en la línea «Organización» de sus artículos/parches " +"salientes. (Estaría bien si también pone su ubicación. El nombre de la " +"ciudad suele ser suficiente si es muy conocida.) Por ejemplo:" + +#. Type: string +#. Description +#: ../templates.master:4 +msgid " University of Southern North Dakota, Hoople" +msgstr " Universidad de Extremadura, Cáceres (España)" + +#. Type: string +#. Description +#: ../templates.master:4 +msgid "Type in \"--none--\" if you do not want to specify one." +msgstr "Escriba «--none--» si no quiere especificar ninguno." --- dist-3.5-30.orig/debian/po/ja.po +++ dist-3.5-30/debian/po/ja.po @@ -0,0 +1,60 @@ +# +# Translators, if you are not familiar with the PO format, gettext +# documentation is worth reading, especially sections dedicated to +# this format, e.g. by running: +# info -n '(gettext)PO Files' +# info -n '(gettext)Header Entry' +# +# Some information specific to po-debconf are available at +# /usr/share/doc/po-debconf/README-trans +# or http://www.debian.org/intl/l10n/po-debconf/README-trans +# +# Developers do not need to manually edit POT or PO files. +# +# +msgid "" +msgstr "" +"Project-Id-Version: dist 3.70-26\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2004-04-05 19:45-0500\n" +"PO-Revision-Date: 2004-07-04 21:24+0900\n" +"Last-Translator: Hideki Yamane \n" +"Language-Team: Japanese \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=EUC-JP\n" +"Content-Transfer-Encoding: 8bit\n" + +#. Type: string +#. Description +#: ../templates.master:4 +msgid "Name of your organization:" +msgstr "ȿ̾: " + +#. Type: string +#. Description +#: ../templates.master:4 +msgid "" +"You don't seem to have an /etc/news/organization file. Usually that contains " +"the name of your organization as you want it to appear on the Organization " +"line of outgoing articles/mail/patches. Please supply the name of your " +"organization as you want it to appear on the Organization line of outgoing " +"articles/patches. (It is nice if this also specifies your location. Your " +"city name is probably sufficient if well known.) For example:" +msgstr "" +"/etc/news/organization ե뤬̵褦Ǥ̾ˤ뵭" +"᡼롦ѥå Organization Ԥɽȿ̾ޤޤƤޤ" +"뵭ѥå Organization Ԥɽȿ̾ϤƤ(" +"̾ʻƤΤ⤤ͤǤͭ̾ԻԤʤԻ̾Ǥ⽽ʬǤ" +") : " + +#. Type: string +#. Description +#: ../templates.master:4 +msgid " University of Southern North Dakota, Hoople" +msgstr " Bakada University, in Waseda's Neighborhood Northwest Tokyo" + +#. Type: string +#. Description +#: ../templates.master:4 +msgid "Type in \"--none--\" if you do not want to specify one." +msgstr "ä˻ꤷʤ \"--none--\" ȤƤ" --- dist-3.5-30.orig/debian/po/pt.po +++ dist-3.5-30/debian/po/pt.po @@ -0,0 +1,52 @@ +# Portuguese translation of dist's debconf messages. +# Copyright (C) 2007 +# This file is distributed under the same license as the dist package. +# Luísa Lourenço , 2007. +# +msgid "" +msgstr "" +"Project-Id-Version: dist 3.70-31\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2004-04-05 19:45-0500\n" +"PO-Revision-Date: 2007-03-28 11:04+0100\n" +"Last-Translator: Luísa Lourenço \n" +"Language-Team: Portuguese \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" + +#. Type: string +#. Description +#: ../templates.master:4 +msgid "Name of your organization:" +msgstr "Nome da sua organização:" + +#. Type: string +#. Description +#: ../templates.master:4 +msgid "" +"You don't seem to have an /etc/news/organization file. Usually that contains " +"the name of your organization as you want it to appear on the Organization " +"line of outgoing articles/mail/patches. Please supply the name of your " +"organization as you want it to appear on the Organization line of outgoing " +"articles/patches. (It is nice if this also specifies your location. Your " +"city name is probably sufficient if well known.) For example:" +msgstr "" +"Não parece ter um ficheiro /etc/news/organization. Normalmente contém o nome " +"da sua organização tal como quer que apareça na linha Organização de artigos/" +"correio/patches. Por favor forneça o nome da sua organização tal como quer " +"que apareça na linha Organização de artigos/correio/patches. (Seria " +"simpático se isto também especificar a sua localização. O nome da sua cidade " +"é provavelmente suficiente se for conhecido.) Por exemplo:" + +#. Type: string +#. Description +#: ../templates.master:4 +msgid " University of Southern North Dakota, Hoople" +msgstr " Universidade Nova de Lisboa, Monte da Caparica" + +#. Type: string +#. Description +#: ../templates.master:4 +msgid "Type in \"--none--\" if you do not want to specify one." +msgstr "Escreva \"--nenhum--\" caso não queira especificar um nome." --- dist-3.5-30.orig/debian/po/de.po +++ dist-3.5-30/debian/po/de.po @@ -0,0 +1,63 @@ +# translation of dist_3.70-24_templates.po to German +# +# Translators, if you are not familiar with the PO format, gettext +# documentation is worth reading, especially sections dedicated to +# this format, e.g. by running: +# info -n '(gettext)PO Files' +# info -n '(gettext)Header Entry' +# Some information specific to po-debconf are available at +# /usr/share/doc/po-debconf/README-trans +# or http://www.debian.org/intl/l10n/po-debconf/README-trans# +# Developers do not need to manually edit POT or PO files. +# Erik Schanze , 2004. +# +msgid "" +msgstr "" +"Project-Id-Version: dist_3.70-24_templates\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2004-04-05 19:45-0500\n" +"PO-Revision-Date: 2004-06-02 22:45+0200\n" +"Last-Translator: Erik Schanze \n" +"Language-Team: German \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"X-Generator: KBabel 1.0.2\n" + +#. Type: string +#. Description +#: ../templates.master:4 +msgid "Name of your organization:" +msgstr "Name Ihrer Organisation:" + +#. Type: string +#. Description +#: ../templates.master:4 +msgid "" +"You don't seem to have an /etc/news/organization file. Usually that contains " +"the name of your organization as you want it to appear on the Organization " +"line of outgoing articles/mail/patches. Please supply the name of your " +"organization as you want it to appear on the Organization line of outgoing " +"articles/patches. (It is nice if this also specifies your location. Your " +"city name is probably sufficient if well known.) For example:" +msgstr "" +"Sie haben scheinbar keine Datei /etc/news/organization. normalerweise enthält " +"diese den Namen Ihrer Organisation, der in der Zeile Organisation von " +"abgehenden Artikeln, Emails oder Patches. Bitte geben Sie den Namen der " +"Organisation ein, so wie er in der Zeile Organisation von abgehenden Artikeln " +"und Patches stehen soll. (Es wäre gut, wenn er auch Ihren Ort enthält. " +"Der Name Ihrer Stadt sollte genügen, wenn Sie allgemein bekannt ist.) " +"Zum Beispiel: " + +#. Type: string +#. Description +#: ../templates.master:4 +msgid " University of Southern North Dakota, Hoople" +msgstr " Hochschule für Technik und Wirtschaft Dresden" + +#. Type: string +#. Description +#: ../templates.master:4 +msgid "Type in \"--none--\" if you do not want to specify one." +msgstr "Geben Sie \"--none--\" ein, wenn Sie keinen angeben wollen." + --- dist-3.5-30.orig/debian/po/vi.po +++ dist-3.5-30/debian/po/vi.po @@ -0,0 +1,46 @@ +# Vietnamese translation for dist. +# Copyright © 2005 Free Software Foundation, Inc. +# Clytie Siddall , 2005. +# +msgid "" +msgstr "" +"Project-Id-Version: dist 3.70-27\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2004-04-05 19:45-0500\n" +"PO-Revision-Date: 2005-06-14 20:29+0930\n" +"Last-Translator: Clytie Siddall \n" +"Language-Team: Vietnamese \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=utf-8\n" +"Content-Transfer-Encoding: 8bit\n" +"Plural-Forms: nplurals=1; plural=0\n" + +#.Type: string +#.Description +#:../templates.master:4 +msgid "Name of your organization:" +msgstr "Tên của tổ chức bạn:" + +#.Type: string +#.Description +#:../templates.master:4 +msgid "" +"You don't seem to have an /etc/news/organization file. Usually that contains " +"the name of your organization as you want it to appear on the Organization " +"line of outgoing articles/mail/patches. Please supply the name of your " +"organization as you want it to appear on the Organization line of outgoing " +"articles/patches. (It is nice if this also specifies your location. Your " +"city name is probably sufficient if well known.) For example:" +msgstr "Hình như bạn chưa có một tập tin «/etc/news/organization». Thường nó chứa tên của tổ chức bạn như bạn muốn nó xuất hiện trên dòng Tổ chức của bài/đắp vá gửi đi. Cũng tốt để ghi rõ vị trí bạn: thành phố là đủ nếu ai cũng biết nó. Lấy thí dụ:" + +#.Type: string +#.Description +#:../templates.master:4 +msgid " University of Southern North Dakota, Hoople" +msgstr " Đại học TP Hồ Chí Minh" + +#.Type: string +#.Description +#:../templates.master:4 +msgid "Type in \"--none--\" if you do not want to specify one." +msgstr "Hãy gõ «--none--» (không có) nếu bạn không muốn ghi rõ điều ấy." --- dist-3.5-30.orig/debian/po/nl.po +++ dist-3.5-30/debian/po/nl.po @@ -0,0 +1,61 @@ +# +# Translators, if you are not familiar with the PO format, gettext +# documentation is worth reading, especially sections dedicated to +# this format, e.g. by running: +# info -n '(gettext)PO Files' +# info -n '(gettext)Header Entry' +# +# Some information specific to po-debconf are available at +# /usr/share/doc/po-debconf/README-trans +# or http://www.debian.org/intl/l10n/po-debconf/README-trans +# +# Developers do not need to manually edit POT or PO files. +# +msgid "" +msgstr "" +"Project-Id-Version: dist 3.70-20\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2004-04-05 19:45-0500\n" +"PO-Revision-Date: 2004-06-25 11:52+0100\n" +"Last-Translator: Luk Claes \n" +"Language-Team: Debian l10n Dutch \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=iso-8859-1\n" +"Content-Transfer-Encoding: 8bit\n" + +#. Type: string +#. Description +#: ../templates.master:4 +msgid "Name of your organization:" +msgstr "Naam van uw organisatie:" + +#. Type: string +#. Description +#: ../templates.master:4 +msgid "" +"You don't seem to have an /etc/news/organization file. Usually that contains " +"the name of your organization as you want it to appear on the Organization " +"line of outgoing articles/mail/patches. Please supply the name of your " +"organization as you want it to appear on the Organization line of outgoing " +"articles/patches. (It is nice if this also specifies your location. Your " +"city name is probably sufficient if well known.) For example:" +msgstr "" +"U blijkt geen /etc/news/organization-bestand te hebben. Gewoonlijk bevat dit " +"de naam van uw organisatie zoals u wilt dat die verschijnt op de " +"Organization-regel van uitgaande artikels/e-mail/patches. Geef de naam van " +"uw organisatie zoals u wilt dat die verschijnt op de Organization-regel van " +"uitgaande artikels/patches. (Het is leuk als die ook uw locatie specifieert. " +"Waarschijnlijk is de naam van uw stad voldoende als die goed gekend is.) " +"Bijvoorbeeld:" + +#. Type: string +#. Description +#: ../templates.master:4 +msgid " University of Southern North Dakota, Hoople" +msgstr " Universiteit van Zuidelijk Noord-Dakota, Hoople" + +#. Type: string +#. Description +#: ../templates.master:4 +msgid "Type in \"--none--\" if you do not want to specify one." +msgstr "Typ \"--none--\" als u er geen wilt specifiren" --- dist-3.5-30.orig/debian/po/cs.po +++ dist-3.5-30/debian/po/cs.po @@ -0,0 +1,60 @@ +# +# Translators, if you are not familiar with the PO format, gettext +# documentation is worth reading, especially sections dedicated to +# this format, e.g. by running: +# info -n '(gettext)PO Files' +# info -n '(gettext)Header Entry' +# +# Some information specific to po-debconf are available at +# /usr/share/doc/po-debconf/README-trans +# or http://www.debian.org/intl/l10n/po-debconf/README-trans +# +# Developers do not need to manually edit POT or PO files. +# +msgid "" +msgstr "" +"Project-Id-Version: dist\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2004-04-05 19:45-0500\n" +"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" +"Last-Translator: Miroslav Kure \n" +"Language-Team: Czech \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" + +#. Type: string +#. Description +#: ../templates.master:4 +msgid "Name of your organization:" +msgstr "Jméno organizace:" + +#. Type: string +#. Description +#: ../templates.master:4 +msgid "" +"You don't seem to have an /etc/news/organization file. Usually that contains " +"the name of your organization as you want it to appear on the Organization " +"line of outgoing articles/mail/patches. Please supply the name of your " +"organization as you want it to appear on the Organization line of outgoing " +"articles/patches. (It is nice if this also specifies your location. Your " +"city name is probably sufficient if well known.) For example:" +msgstr "" +"Zdá se, že nemáte soubor /etc/news/organization, ve kterém se obvykle " +"nachází jméno organizace tak, jak chcete, aby se zobrazovalo v poli " +"Organization u odchozích news příspěvků, pošty a třeba záplat. Zadejte " +"prosím jméno organizace tak, jak chcete, aby se zobrazovalo v hlavičce " +"Organization. (Bývá zvykem zadat i umístění organizace. Pokud je " +"organizace dostatečně známá, postačí jméno města.) Například:" + +#. Type: string +#. Description +#: ../templates.master:4 +msgid " University of Southern North Dakota, Hoople" +msgstr " Univerzita Palackého, Olomouc" + +#. Type: string +#. Description +#: ../templates.master:4 +msgid "Type in \"--none--\" if you do not want to specify one." +msgstr "Nechcete-li používat toto pole, zadejte \"--none--\"." --- dist-3.5-30.orig/debian/common/install_cmds.mk +++ dist-3.5-30/debian/common/install_cmds.mk @@ -0,0 +1,58 @@ +######################### -*- Mode: Makefile-Gmake -*- ######################## +## install_cmds.mk --- +## Author : Manoj Srivastava ( srivasta@golden-gryphon.com ) +## Created On : Fri Jun 16 14:40:20 2006 +## Created On Node : glaurung.internal.golden-gryphon.com +## Last Modified By : Manoj Srivastava +## Last Modified On : Wed Sep 6 11:43:05 2006 +## Last Machine Used: glaurung.internal.golden-gryphon.com +## Update Count : 9 +## Status : Unknown, Use with caution! +## HISTORY : +## Description : +## +## arch-tag: a38b6a93-2539-4034-9060-ae94d5c8a071 +## +## 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 St, Fifth Floor, Boston, MA 02110-1301 USA +## +############################################################################### + +# install commands +INSTALL = install +ifeq (,$(filter nostrip,$(DEB_BUILD_OPTIONS))) + INSTALL_PROGRAM += -s +endif +install_file = $(INSTALL) -p -o root -g root -m 644 +install_program = $(INSTALL) -p -o root -g root -m 755 +install_script = $(INSTALL) -p -o root -g root -m 755 +make_directory = $(INSTALL) -p -d -o root -g root -m 755 + +define create_md5sum + create_md5sums_fn () { \ + cd $$1 ; \ + find . -type f \ + ! -regex './DEBIAN/.*' \ + ! -regex './var/.*' $(EXTRA_MD5SUM_EXCLUDE) \ + -printf '%P\0' | xargs -r0 md5sum > DEBIAN/md5sums ; \ + if [ -z "DEBIAN/md5sums" ] ; then \ + rm -f "DEBIAN/md5sums" ; \ + fi ; \ + } ; \ + create_md5sums_fn +endef + +#Local variables: +#mode: makefile +#End: --- dist-3.5-30.orig/debian/common/copt.mk +++ dist-3.5-30/debian/common/copt.mk @@ -0,0 +1,44 @@ +############################ -*- Mode: Makefile -*- ########################### +## copt.mk --- +## Author : Manoj Srivastava ( srivasta@glaurung.green-gryphon.com ) +## Created On : Sat Nov 15 02:48:40 2003 +## Created On Node : glaurung.green-gryphon.com +## Last Modified By : Manoj Srivastava +## Last Modified On : Sat Nov 15 02:49:07 2003 +## Last Machine Used: glaurung.green-gryphon.com +## Update Count : 1 +## Status : Unknown, Use with caution! +## HISTORY : +## Description : +## +## arch-tag: a0045c20-f1b3-4852-9a4b-1a33ebd7c1b8 +## +############################################################################### + +PREFIX := /usr +# set CC to $(DEB_HOST_GNU_TYPE)-gcc only if a cross-build is detected +ifneq ($(DEB_HOST_GNU_TYPE),$(DEB_BUILD_GNU_TYPE)) + CC=$(DEB_HOST_GNU_TYPE)-gcc +else + CC = cc +endif + +# Policy 10.1 says to make this the default +CFLAGS = -Wall -g + +ifneq (,$(filter noopt,$(DEB_BUILD_OPTIONS))) + CFLAGS += -O0 +else + CFLAGS += -O2 +endif + +## ifneq (,$(findstring debug,$(DEB_BUILD_OPTIONS))) +## endif + +ifeq (,$(findstring nostrip,$(DEB_BUILD_OPTIONS))) + STRIP += -s + LDFLAGS += -s + INT_INSTALL_TARGET = install +else + INT_INSTALL_TARGET = install +endif --- dist-3.5-30.orig/debian/common/pkgvars.mk +++ dist-3.5-30/debian/common/pkgvars.mk @@ -0,0 +1,168 @@ +############################ -*- Mode: Makefile -*- ########################### +## pkgvars.mk --- +## Author : Manoj Srivastava ( srivasta@glaurung.green-gryphon.com ) +## Created On : Sat Nov 15 02:56:30 2003 +## Created On Node : glaurung.green-gryphon.com +## Last Modified By : Manoj Srivastava +## Last Modified On : Thu Jun 15 12:05:46 2006 +## Last Machine Used: glaurung.internal.golden-gryphon.com +## Update Count : 11 +## Status : Unknown, Use with caution! +## HISTORY : +## Description : This is what allows us toseparate out the top level +## targets, by determining which packages needto be built. +## +## arch-tag: 75fcc720-7389-4eaa-a7ac-c556d3eac331 +## +## +## 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 St, Fifth Floor, Boston, MA 02110-1301 USA +## +############################################################################### + +# The maintainer information. +maintainer := $(shell LC_ALL=C dpkg-parsechangelog | grep ^Maintainer: | \ + sed 's/^Maintainer: *//') +email := srivasta@debian.org + +# Priority of this version (or urgency, as dchanges would call it) +urgency := $(shell LC_ALL=C dpkg-parsechangelog | grep ^Urgency: | \ + sed 's/^Urgency: *//') + +# Common useful variables +DEB_SOURCE_PACKAGE := $(strip $(shell egrep '^Source: ' debian/control | \ + cut -f 2 -d ':')) +DEB_VERSION := $(strip $(shell LC_ALL=C dpkg-parsechangelog | \ + egrep '^Version:' | cut -f 2 -d ' ')) +DEB_ISNATIVE := $(strip $(shell LC_ALL=C dpkg-parsechangelog | \ + perl -ne 'print if (m/^Version:/g && ! m/^Version:.*\-/);')) +DEB_DISTRIBUTION := $(strip $(shell LC_ALL=C dpkg-parsechangelog | \ + egrep '^Distribution:' | cut -f 2 -d ' ')) + +DEB_PACKAGES := $(shell perl -e ' \ + $$/=""; \ + while(<>){ \ + $$p=$$1 if m/^Package:\s*(\S+)/; \ + die "duplicate package $$p" if $$seen{$$p}; \ + $$seen{$$p}++; print "$$p " if $$p; \ + }' debian/control ) + +DEB_INDEP_PACKAGES := $(shell perl -e ' \ + $$/=""; \ + while(<>){ \ + $$p=$$1 if m/^Package:\s*(\S+)/; \ + die "duplicate package $$p" if $$seen{$$p}; \ + $$seen{$$p}++; \ + $$a=$$1 if m/^Architecture:\s*(\S+)/m; \ + next unless ($$a eq "all"); \ + print "$$p " if $$p; \ + }' debian/control ) + +DEB_ARCH_PACKAGES := $(shell perl -e ' \ + $$/=""; \ + while(<>){ \ + $$p=$$1 if m/^Package:\s*(\S+)/; \ + die "duplicate package $$p" if $$seen{$$p}; \ + $$seen{$$p}++; \ + $$c=""; \ + if (/^Architecture:\s*(.*?)\s*$$/sm) { \ + @a = split /\s+/, $$1 }; \ + for my $$b (@a) { \ + next unless ($$b eq "$(DEB_HOST_ARCH)" || \ + $$b eq "any"); \ + $$c="$$p"; \ + } \ + print "$$c " if $$c; \ + }' debian/control ) + +# This package is what we get after removing the psuedo dirs we use in rules +package = $(notdir $@) +DEBIANDIR = $(dir $(firstword $(MAKEFILE_LIST))) + +ifeq (,$(filter parallel=%,$(FAILS_PARALLEL_BUILD))) + ifneq (,$(filter parallel=%,$(DEB_BUILD_OPTIONS))) + NUMJOBS = $(patsubst parallel=%,-j%,$(filter parallel=%,$(DEB_BUILD_OPTIONS))) + endif +endif + +# Define canned sequences used to strip executables and libraries, +# keeping in mind the directives in DEB_BUILD_OPTIONS +ifeq (,$(findstring nostrip,$(DEB_BUILD_OPTIONS))) +define strip-exec +find $(TMPTOP) -type f | while read i; do \ + if file -b $$i | egrep -q "^ELF.*executable"; then \ + strip --strip-all --remove-section=.comment --remove-section=.note $$i; \ + fi; \ + done +endef + +define strip-lib +find $(TMPTOP) -type f | while read i; do \ + if file -b $$i | egrep -q "^ELF.*shared object"; then \ + strip --strip-unneeded --remove-section=.comment --remove-section=.note $$i; \ + fi; \ +done +endef +else +define strip-exec +@echo Not strippping executables as asked +endef + +define strip-lib +@echo Not strippping libraries as asked +endef + +endif + +# this canned command specifies how to run dpkg-shlibs to add things +# to debian/substvars by scanning executables and libraries; this +# should suffice for the common case. Some rules files might need some +# changes to the command sequence, though +define get-shlib-deps +k=`find $(TMPTOP) -type f | ( while read i; do \ + if file -b $$i | \ + egrep -q "^ELF.*(executable.*dynamically linked|shared object)"; then \ + j="$$j $$i"; \ + fi; \ +done; echo $$j; )`; if [ -n "$$k" ]; then dpkg-shlibdeps $$k; fi +endef + +# This canned sequence checks to see if all the libraries we link to +# actually provide some symbols needed by some executable ot library +# in the package itself. +ifeq (,$(strip $(filter nocheck,$(DEB_BUILD_OPTIONS)))) + ifeq ($(DEB_BUILD_GNU_TYPE),$(DEB_HOST_GNU_TYPE)) +define check-libraries +echo Checking libs +xtra=$$($(SHELL) debian/common/checklibs); \ +if [ -n "$$extra" ]; then \ + echo "Extra libraries: $$extra"; \ + exit 1; \ +fi +endef + else +define check-libraries +echo Not checking libs +endef + endif +else +define check-libraries +echo Not checking libs +endef +endif + + +#Local variables: +#mode: makefile +#End: --- dist-3.5-30.orig/debian/common/get_shlib_ver +++ dist-3.5-30/debian/common/get_shlib_ver @@ -0,0 +1,40 @@ +#! /bin/sh +# -*- Mode: Sh -*- +# get_shlib_ver --- +# Author : Manoj Srivastava ( srivasta@golden-gryphon.com ) +# Created On : Tue Sep 1 15:27:07 2009 +# Created On Node : anzu.internal.golden-gryphon.com +# Last Modified By : Manoj Srivastava +# Status : Unknown, Use with caution! +# HISTORY : +# Description : +# If there is a symbols file preent, get the most recent version a +# symbol was added in. +# + + +# 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., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA +# + +# Make sure we abort on error +set -e +progname="$(basename \"$0\")" + +test ! -d debian || \ + find debian -wholename 'debian/*\.symbols' | while read lib; do + echo -n "Shlib info for" ${lib%%.symbols} ": "; + sort -n -k 2,2b $lib | grep '^ ' | tail -n 1 | awk '{print $2;}'; +done + --- dist-3.5-30.orig/debian/common/targets.mk +++ dist-3.5-30/debian/common/targets.mk @@ -0,0 +1,532 @@ +############################ -*- Mode: Makefile -*- ########################### +## targets.mk --- +## Author : Manoj Srivastava ( srivasta@glaurung.green-gryphon.com ) +## Created On : Sat Nov 15 01:10:05 2003 +## Created On Node : glaurung.green-gryphon.com +## Last Modified By : Manoj Srivastava +## Last Modified On : Sat Apr 26 22:33:09 2008 +## Last Machine Used: anzu.internal.golden-gryphon.com +## Update Count : 131 +## Status : Unknown, Use with caution! +## HISTORY : +## Description : The top level targets mandated by policy, as well as +## their dependencies. +## +## arch-tag: a81086a7-00f7-4355-ac56-8f38396935f4 +## +## 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., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA +## +############################################################################### + +####################################################################### +####################################################################### +############### Miscellaneous ############### +####################################################################### +####################################################################### +source diff: + @echo >&2 'source and diff are obsolete - use dpkg-source -b'; false + +define TESTROOT + @test $$(id -u) = 0 || (echo need root priviledges; exit 1) +endef + +testroot: + $(TESTROOT) + +checkpo: + $(CHECKPO) + +# arch-buildpackage likes to call this +prebuild: + +ifneq (,$(shell if [ -f $(DEBIANDIR)/watch ]; then echo yes; fi)) +.PHONY: get-orig-source +get-orig-source: + cd $(DEBIANDIR)/.. && \ + uscan --verbose --rename --destdir $(DEBIANDIR)../.. || true +endif + +# OK. We have two sets of rules here, one for arch dependent packages, +# and one for arch independent packages. We have already calculated a +# list of each of these packages. + +# In each set, we may need to do things in five steps: configure, +# build, install, package, and clean. Now, there can be a common +# actions to be taken for all the packages, all arch dependent +# packages, all all independent packages, and each package +# individually at each stage. + +########################################################################### +# The current code does a number of things: It ensures that the highest # +# dependency at any stage (usually the -Common target) depends on the # +# stamp-STAGE of the previous stage; so no work on a succeeding stage can # +# start before the previous stage is all done. # +########################################################################### + +########################################################################### +# In the following, the do_* targets make sure all the real non-generic # +# work is done, but are not in the direct line of dependencies. This # +# makes sure that previous step in the order is all up to date before any # +# of the per package target dependencies are run. # +########################################################################### + + +####################################################################### +####################################################################### +############### Configuration ############### +####################################################################### +####################################################################### +# Just a dummy target to make sure that the stamp directory exists +debian/stamp/dummy-config-common: + $(REASON) + @test -d debian/stamp || mkdir -p debian/stamp + @echo done > $@ + +# Configuration tasks common to arch and arch indep packages go here +debian/stamp/pre-config-common: debian/stamp/dummy-config-common + $(REASON) + $(checkdir) + @test -d debian/stamp || mkdir -p debian/stamp + @echo done > $@ +# Do not add dependencies to this rule +debian/stamp/do-pre-config-common: debian/stamp/dummy-config-common + $(REASON) + $(checkdir) + @test -d debian/stamp || mkdir -p debian/stamp + $(MAKE) -f debian/rules debian/stamp/pre-config-common + @echo done > $@ + +# Arch specific and arch independent tasks go here +debian/stamp/pre-config-arch: debian/stamp/do-pre-config-common + $(REASON) + $(checkdir) + @test -d debian/stamp || mkdir -p debian/stamp + @echo done > $@ +# Do not add dependencies to this rule +debian/stamp/do-pre-config-arch: debian/stamp/do-pre-config-common + $(REASON) + $(checkdir) + @test -d debian/stamp || mkdir -p debian/stamp + $(MAKE) -f debian/rules debian/stamp/pre-config-arch + @echo done > $@ + + +debian/stamp/pre-config-indep: debian/stamp/do-pre-config-common + $(REASON) + $(checkdir) + @test -d debian/stamp || mkdir -p debian/stamp + @echo done > $@ +# Do not add dependencies to this rule +debian/stamp/do-pre-config-indep: debian/stamp/do-pre-config-common + $(REASON) + $(checkdir) + @test -d debian/stamp || mkdir -p debian/stamp + $(MAKE) -f debian/rules debian/stamp/pre-config-indep + @echo done > $@ + +# Per package work happens as an added dependency of this rule. +$(patsubst %,debian/stamp/CONFIG/%,$(DEB_ARCH_PACKAGES)) : debian/stamp/CONFIG/% : debian/stamp/do-pre-config-arch + $(REASON) + $(checkdir) + @test -d debian/stamp/CONFIG || mkdir -p debian/stamp/CONFIG + @echo done > $@ +$(patsubst %,debian/stamp/CONFIG/%,$(DEB_INDEP_PACKAGES)) : debian/stamp/CONFIG/% : debian/stamp/do-pre-config-indep + $(REASON) + $(checkdir) + @test -d debian/stamp/CONFIG || mkdir -p debian/stamp/CONFIG + @echo done > $@ + +# Do not add dependencies to this rule +debian/stamp/dep-configure-arch: debian/stamp/do-pre-config-arch $(patsubst %,debian/stamp/CONFIG/%,$(DEB_ARCH_PACKAGES)) + $(REASON) + @test -d debian/stamp || mkdir -p debian/stamp + @echo done > $@ + +# Do not add dependencies to this rule +debian/stamp/dep-configure-indep: debian/stamp/do-pre-config-indep $(patsubst %,debian/stamp/CONFIG/%,$(DEB_INDEP_PACKAGES)) + $(REASON) + @test -d debian/stamp || mkdir -p debian/stamp + @echo done > $@ + +debian/stamp/do-configure-arch: debian/stamp/do-pre-config-arch + $(REASON) + @test -d debian/stamp/CONFIG || mkdir -p debian/stamp/CONFIG + $(MAKE) -f debian/rules debian/stamp/dep-configure-arch + @echo done > $@ +debian/stamp/do-configure-indep: debian/stamp/do-pre-config-indep + $(REASON) + @test -d debian/stamp/CONFIG || mkdir -p debian/stamp/CONFIG + $(MAKE) -f debian/rules debian/stamp/dep-configure-indep + @echo done > $@ + +# These three targets are required by policy +configure-arch: debian/stamp/do-configure-arch + $(REASON) +configure-indep: debian/stamp/do-configure-indep + $(REASON) +configure: debian/stamp/do-configure-arch debian/stamp/do-configure-indep + $(REASON) + +####################################################################### +####################################################################### +############### Build ############### +####################################################################### +####################################################################### +# tasks common to arch and arch indep packages go here +debian/stamp/pre-build-common: + $(REASON) + $(checkdir) + @test -d debian/stamp || mkdir -p debian/stamp + @echo done > $@ + +# Arch specific and arch independent tasks go here +debian/stamp/pre-build-arch: debian/stamp/do-configure-arch + $(REASON) + $(checkdir) + @test -d debian/stamp || mkdir -p debian/stamp + @echo done > $@ +debian/stamp/do-pre-build-arch: debian/stamp/do-configure-arch + $(REASON) + $(checkdir) + @test -d debian/stamp || mkdir -p debian/stamp + @test -e debian/stamp/pre-build-common || $(MAKE) -f debian/rules debian/stamp/pre-build-common + $(MAKE) -f debian/rules debian/stamp/pre-build-arch + @echo done > $@ + +debian/stamp/pre-build-indep: debian/stamp/do-configure-indep + $(REASON) + $(checkdir) + @test -d debian/stamp || mkdir -p debian/stamp + @echo done > $@ +debian/stamp/do-pre-build-indep: debian/stamp/do-configure-indep + $(REASON) + $(checkdir) + @test -d debian/stamp || mkdir -p debian/stamp + @test -e debian/stamp/pre-build-common || $(MAKE) -f debian/rules debian/stamp/pre-build-common + $(MAKE) -f debian/rules debian/stamp/pre-build-indep + @echo done > $@ + +# Per package work happens as an added dependency of this rule. +$(patsubst %,debian/stamp/BUILD/%,$(DEB_ARCH_PACKAGES)) : debian/stamp/BUILD/% : debian/stamp/do-pre-build-arch + $(REASON) + $(checkdir) + @test -d debian/stamp/BUILD || mkdir -p debian/stamp/BUILD + @echo done > $@ + +$(patsubst %,debian/stamp/BUILD/%,$(DEB_INDEP_PACKAGES)) : debian/stamp/BUILD/% : debian/stamp/do-pre-build-indep + $(REASON) + $(checkdir) + @test -d debian/stamp/BUILD || mkdir -p debian/stamp/BUILD + @echo done > $@ + +# These do targeta make sure all the per package configuration is +# done, but is not in the direct line of dependencies. This makes sure +# that pre-config targets are all up to date before any of the per +# package target dependencies are run. +debian/stamp/dep-build-arch: debian/stamp/do-pre-build-arch $(patsubst %,debian/stamp/BUILD/%,$(DEB_ARCH_PACKAGES)) + $(REASON) + @test -d debian/stamp || mkdir -p debian/stamp + @echo done > $@ + +debian/stamp/dep-build-indep: debian/stamp/do-pre-build-indep $(patsubst %,debian/stamp/BUILD/%,$(DEB_INDEP_PACKAGES)) + $(REASON) + @test -d debian/stamp || mkdir -p debian/stamp + @echo done > $@ + +debian/stamp/do-build-arch: debian/stamp/do-pre-build-arch + $(REASON) + $(checkdir) + @test -d debian/stamp || mkdir -p debian/stamp + $(MAKE) -f debian/rules debian/stamp/dep-build-arch + @echo done > $@ +debian/stamp/do-build-indep: debian/stamp/do-pre-build-indep + $(REASON) + $(checkdir) + @test -d debian/stamp || mkdir -p debian/stamp + $(MAKE) -f debian/rules debian/stamp/dep-build-indep + @echo done > $@ + +# required +build-arch: debian/stamp/do-build-arch + $(REASON) +build-indep: debian/stamp/do-build-indep + $(REASON) +build: debian/stamp/do-build-arch debian/stamp/do-build-indep + $(REASON) + +# Work here +debian/stamp/post-build-arch: debian/stamp/do-build-arch + $(REASON) + @test -d debian/stamp || mkdir -p debian/stamp + @echo done > $@ +debian/stamp/do-post-build-arch: debian/stamp/do-build-arch + $(REASON) + @test -d debian/stamp || mkdir -p debian/stamp + $(MAKE) -f debian/rules debian/stamp/post-build-arch + @echo done > $@ + +debian/stamp/post-build-indep: debian/stamp/do-build-indep + $(REASON) + @test -d debian/stamp || mkdir -p debian/stamp + @echo done > $@ +debian/stamp/do-post-build-indep: debian/stamp/do-build-indep + $(REASON) + @test -d debian/stamp || mkdir -p debian/stamp + $(MAKE) -f debian/rules debian/stamp/post-build-indep + @echo done > $@ + +####################################################################### +####################################################################### +############### Install ############### +####################################################################### +####################################################################### +# tasks common to arch and arch indep packages go here +debian/stamp/pre-inst-common: + $(REASON) + $(checkdir) + @test -d debian/stamp || mkdir -p debian/stamp + @echo done > $@ + +# Arch specific and arch independent tasks go here +debian/stamp/pre-inst-arch: debian/stamp/do-post-build-arch + $(REASON) + $(checkdir) + @test -d debian/stamp || mkdir -p debian/stamp + @echo done > $@ +debian/stamp/do-pre-inst-arch: debian/stamp/do-post-build-arch + $(REASON) + $(checkdir) + @test -d debian/stamp || mkdir -p debian/stamp + @test -e debian/stamp/INST-common || $(MAKE) -f debian/rules debian/stamp/pre-inst-common + $(MAKE) -f debian/rules debian/stamp/pre-inst-arch + @echo done > $@ + +debian/stamp/pre-inst-indep: debian/stamp/do-post-build-indep + $(REASON) + $(checkdir) + @test -d debian/stamp || mkdir -p debian/stamp + @echo done > $@ +debian/stamp/do-pre-inst-indep: debian/stamp/do-post-build-indep + $(REASON) + $(checkdir) + @test -d debian/stamp || mkdir -p debian/stamp + @test -e debian/stamp/INST-common || $(MAKE) -f debian/rules debian/stamp/pre-inst-common + $(MAKE) -f debian/rules debian/stamp/pre-inst-indep + @echo done > $@ + + +# Per package work happens as an added dependency of this rule +$(patsubst %,debian/stamp/INST/%,$(DEB_ARCH_PACKAGES)) : debian/stamp/INST/% : debian/stamp/do-pre-inst-arch + $(REASON) + $(checkdir) + @test -d debian/stamp/INST || mkdir -p debian/stamp/INST + @echo done > $@ +$(patsubst %,debian/stamp/INST/%,$(DEB_INDEP_PACKAGES)) : debian/stamp/INST/% : debian/stamp/do-pre-inst-indep + $(REASON) + $(checkdir) + @test -d debian/stamp/INST || mkdir -p debian/stamp/INST + @echo done > $@ + +# These do targeta make sure all the per package configuration is +# done, but is not in the direct line of dependencies. This makes sure +# that pre-config targets are all up to date before any of the per +# package target dependencies are run. +debian/stamp/dep-install-arch: debian/stamp/do-pre-inst-arch $(patsubst %,debian/stamp/INST/%,$(DEB_ARCH_PACKAGES)) + $(REASON) + @test -d debian/stamp || mkdir -p debian/stamp + @echo done > $@ + +debian/stamp/dep-install-indep: debian/stamp/do-pre-inst-indep $(patsubst %,debian/stamp/INST/%,$(DEB_INDEP_PACKAGES)) + $(REASON) + @test -d debian/stamp || mkdir -p debian/stamp + @echo done > $@ + + +debian/stamp/do-install-arch: debian/stamp/do-pre-inst-arch + $(REASON) + $(checkdir) + @test -d debian/stamp || mkdir -p debian/stamp + $(MAKE) -f debian/rules debian/stamp/dep-install-arch + @echo done > $@ +debian/stamp/do-install-indep: debian/stamp/do-pre-inst-indep + $(REASON) + $(checkdir) + @test -d debian/stamp || mkdir -p debian/stamp + $(MAKE) -f debian/rules debian/stamp/dep-install-indep + @echo done > $@ + +#required +install-arch: debian/stamp/do-install-arch + $(REASON) + $(TESTROOT) +install-indep: debian/stamp/do-install-indep + $(REASON) + $(TESTROOT) +install: debian/stamp/do-install-arch debian/stamp/do-install-indep + $(REASON) + $(TESTROOT) + +####################################################################### +####################################################################### +############### Package ############### +####################################################################### +####################################################################### +# tasks common to arch and arch indep packages go here +debian/stamp/pre-bin-common: + $(REASON) + $(checkdir) + @test -d debian/stamp || mkdir -p debian/stamp + @echo done > $@ + +# Arch specific and arch independent tasks go here +debian/stamp/pre-bin-arch: debian/stamp/do-install-arch + $(REASON) + $(checkdir) + @test -d debian/stamp || mkdir -p debian/stamp + @echo done > $@ +debian/stamp/do-pre-bin-arch: debian/stamp/do-install-arch + $(REASON) + $(checkdir) + @test -d debian/stamp || mkdir -p debian/stamp + @test -e debian/stamp/BIN-common || $(MAKE) -f debian/rules debian/stamp/pre-bin-common + $(MAKE) -f debian/rules debian/stamp/pre-bin-arch + @echo done > $@ + +debian/stamp/pre-bin-indep: debian/stamp/do-install-indep + $(REASON) + $(checkdir) + @test -d debian/stamp || mkdir -p debian/stamp + @echo done > $@ +debian/stamp/do-pre-bin-indep: debian/stamp/do-install-indep + $(REASON) + $(checkdir) + @test -d debian/stamp || mkdir -p debian/stamp + @test -e debian/stamp/BIN-common || $(MAKE) -f debian/rules debian/stamp/pre-bin-common + $(MAKE) -f debian/rules debian/stamp/pre-bin-indep + @echo done > $@ + +# Per package work happens as an added dependency of this rule +$(patsubst %,debian/stamp/BIN/%,$(DEB_ARCH_PACKAGES)) : debian/stamp/BIN/% : debian/stamp/do-pre-bin-arch + $(REASON) + $(checkdir) + @test -d debian/stamp/BIN || mkdir -p debian/stamp/BIN + @echo done > $@ + +$(patsubst %,debian/stamp/BIN/%,$(DEB_INDEP_PACKAGES)) : debian/stamp/BIN/% : debian/stamp/do-pre-bin-indep + $(REASON) + $(checkdir) + @test -d debian/stamp/BIN || mkdir -p debian/stamp/BIN + @echo done > $@ + +# These do targeta make sure all the per package work is done, but is +# not in the direct line of dependencies. This makes sure that +# pre-config targets are all up to date before any of the per package +# target dependencies are run. +debian/stamp/dep-binary-arch: debian/stamp/pre-bin-arch $(patsubst %,debian/stamp/BIN/%,$(DEB_ARCH_PACKAGES)) + $(REASON) + @test -d debian/stamp || mkdir -p debian/stamp + @echo done > $@ + +debian/stamp/dep-binary-indep: debian/stamp/pre-bin-indep $(patsubst %,debian/stamp/BIN/%,$(DEB_INDEP_PACKAGES)) + $(REASON) + @test -d debian/stamp || mkdir -p debian/stamp + @echo done > $@ + +debian/stamp/do-binary-arch: debian/stamp/do-pre-bin-arch + $(REASON) + $(checkdir) + @test -d debian/stamp || mkdir -p debian/stamp + $(MAKE) -f debian/rules debian/stamp/dep-binary-arch + @echo done > $@ +debian/stamp/do-binary-indep: debian/stamp/do-pre-bin-indep + $(REASON) + $(checkdir) + @test -d debian/stamp || mkdir -p debian/stamp + $(MAKE) -f debian/rules debian/stamp/dep-binary-indep + @echo done > $@ +# required +binary-arch: debian/stamp/do-binary-arch + $(REASON) + $(TESTROOT) +binary-indep: debian/stamp/do-binary-indep + $(REASON) + $(TESTROOT) +binary: debian/stamp/do-binary-arch debian/stamp/do-binary-indep + $(REASON) + $(TESTROOT) + @echo arch package = $(DEB_ARCH_PACKAGES) + @echo indep packages = $(DEB_INDEP_PACKAGES) + +####################################################################### +####################################################################### +############### Clean ############### +####################################################################### +####################################################################### +# Work here +CLN-common:: + $(REASON) + $(checkdir) + +# sync Work here +CLN-arch:: CLN-common + $(REASON) + $(checkdir) +CLN-indep:: CLN-common + $(REASON) + $(checkdir) +# Work here +$(patsubst %,CLEAN/%,$(DEB_ARCH_PACKAGES)) :: CLEAN/% : CLN-arch + $(REASON) + $(checkdir) +$(patsubst %,CLEAN/%,$(DEB_INDEP_PACKAGES)) :: CLEAN/% : CLN-indep + $(REASON) + $(checkdir) + +clean-arch: CLN-arch $(patsubst %,CLEAN/%,$(DEB_ARCH_PACKAGES)) + $(REASON) +clean-indep: CLN-indep $(patsubst %,CLEAN/%,$(DEB_INDEP_PACKAGES)) + $(REASON) +clean: clean-indep clean-arch + $(REASON) + -test -f Makefile && $(MAKE) distclean + -rm -f $(FILES_TO_CLEAN) $(STAMPS_TO_CLEAN) + -rm -rf $(DIRS_TO_CLEAN) debian/stamp + -rm -f core TAGS \ + `find . ! -regex '.*/\.git/.*' ! -regex '.*/\{arch\}/.*' \ + ! -regex '.*/CVS/.*' ! -regex '.*/\.arch-ids/.*' \ + ! -regex '.*/\.svn/.*' \ + \( -name '*.orig' -o -name '*.rej' -o -name '*~' -o \ + -name '*.bak' -o -name '#*#' -o -name '.*.orig' -o \ + -name '.*.rej' -o -name '.SUMS' \) \ + -print` + + +####################################################################### +####################################################################### +############### ############### +####################################################################### +####################################################################### +.PHONY: configure-arch configure-indep configure \ + build-arch build-indep build \ + install-arch install-indep install \ + binary-arch binary-indep binary \ + CLN-common CLN-indep CLN-arch clean-arch clean-indep clean \ + $(patsubst %,CLEAN/%, $(DEB_INDEP_PACKAGES)) $(patsubst %,CLEAN/%, $(DEB_ARCH_PACKAGES)) \ + implode explode prebuild checkpo + + +#Local variables: +#mode: makefile +#End: --- dist-3.5-30.orig/debian/common/perlvars.mk +++ dist-3.5-30/debian/common/perlvars.mk @@ -0,0 +1,27 @@ +############################ -*- Mode: Makefile -*- ########################### +## perlvars.mk --- +## Author : Manoj Srivastava ( srivasta@glaurung.green-gryphon.com ) +## Created On : Sat Nov 15 02:55:47 2003 +## Created On Node : glaurung.green-gryphon.com +## Last Modified By : Manoj Srivastava +## Last Modified On : Sat Dec 13 13:50:58 2003 +## Last Machine Used: glaurung.green-gryphon.com +## Update Count : 3 +## Status : Unknown, Use with caution! +## HISTORY : +## Description : +## +## arch-tag: a97a01ba-d08d-404d-aa81-572717c03e6c +## +############################################################################### + +# Perl variables +PERL = /usr/bin/perl + +INSTALLPRIVLIB = $(TMPTOP)/$(shell \ + perl -e 'use Config; print "$$Config{'installprivlib'}\n";') +INSTALLARCHLIB = $(TMPTOP)/$(shell \ + perl -e 'use Config; print "$$Config{'installarchlib'}\n";') +INSTALLVENDORLIB =$(TMPTOP)/$(shell \ + perl -e 'use Config; print "$$Config{'vendorlibexp'}\n";') +CONFIG = INSTALLDIRS=vendor --- dist-3.5-30.orig/debian/common/targets.dot +++ dist-3.5-30/debian/common/targets.dot @@ -0,0 +1,293 @@ +strict digraph Targets { + //ranksep=0.750; + //nodesep=0.500; + + // Nodes attributes: filled == Double-colon targt (most work is done here) + // Oval == Target based on a time stamp + // Octagon == Phony target + // Double lines denote a mandatory target (periperies=2) + + // Edge attributes: Dotted line indicates the target is called using $(MAKE) + + "debian/stamp/dummy-config-common" [ style="bold", color="#DEE3FF", fontcolor="NavyBlue", fontsize=10] + "debian/stamp/pre-config-common" [ style="filled", color="#DEE3FF", fontcolor="NavyBlue", fontsize=10] + "debian/stamp/do-pre-config-common" [ style="bold", color="#DEE3FF", fontcolor="NavyBlue", fontsize=10] + "debian/stamp/pre-config-arch" [ style="filled", color="#DEE3FF", fontcolor="NavyBlue", fontsize=10] + "debian/stamp/do-pre-config-arch" [ style="bold", color="#DEE3FF", fontcolor="NavyBlue", fontsize=10] + "debian/stamp/pre-config-indep" [ style="filled", color="#DEE3FF", fontcolor="NavyBlue", fontsize=10] + "debian/stamp/do-pre-config-indep" [ style="bold", color="#DEE3FF", fontcolor="NavyBlue", fontsize=10] + "debian/stamp/CONFIG/foo-arch" [ style="filled", color="#DEE3FF", fontcolor="NavyBlue", fontsize=10] + "debian/stamp/CONFIG/bar-indep" [ style="filled", color="#DEE3FF", fontcolor="NavyBlue", fontsize=10] + "debian/stamp/dep-configure-arch" [ style="bold", color="#DEE3FF", fontcolor="NavyBlue", fontsize=10] + "debian/stamp/dep-configure-indep" [ style="bold", color="#DEE3FF", fontcolor="NavyBlue", fontsize=10] + "debian/stamp/do-configure-arch" [ style="bold", color="#DEE3FF", fontcolor="NavyBlue", fontsize=10] + "debian/stamp/do-configure-indep" [ style="bold", color="#DEE3FF", fontcolor="NavyBlue", fontsize=10] + "configure-arch" [ style="bold", color="#DEE3FF", fontcolor="NavyBlue", fontsize=10, shape="octagon"] + "configure-indep" [ style="bold", color="#DEE3FF", fontcolor="NavyBlue", fontsize=10, shape="octagon"] + "configure" [ style="bold", color="#DEE3FF", fontcolor="NavyBlue", fontsize=10, shape="octagon"] + + "debian/stamp/pre-build-common" [ style="filled", color="#74A5ED", fontcolor="NavyBlue", fontsize=10] + "debian/stamp/pre-build-arch" [ style="filled", color="#74A5ED", fontcolor="NavyBlue", fontsize=10] + "debian/stamp/do-pre-build-arch" [ style="bold", color="#74A5ED", fontcolor="NavyBlue", fontsize=10] + "debian/stamp/pre-build-indep" [ style="filled", color="#74A5ED", fontcolor="NavyBlue", fontsize=10] + "debian/stamp/do-pre-build-indep" [ style="bold", color="#74A5ED", fontcolor="NavyBlue", fontsize=10] + "debian/stamp/BUILD/foo-arch" [ style="filled", color="#74A5ED", fontcolor="NavyBlue", fontsize=10] + "debian/stamp/BUILD/bar-indep" [ style="filled", color="#74A5ED", fontcolor="NavyBlue", fontsize=10] + "debian/stamp/dep-build-arch" [ style="bold", color="#74A5ED", fontcolor="NavyBlue", fontsize=10] + "debian/stamp/dep-build-indep" [ style="bold", color="#74A5ED", fontcolor="NavyBlue", fontsize=10] + "debian/stamp/do-build-arch" [ style="bold", color="#74A5ED", fontcolor="NavyBlue", fontsize=10] + "debian/stamp/do-build-indep" [ style="bold", color="#74A5ED", fontcolor="NavyBlue", fontsize=10] + "build-arch" [ style="bold", color="#74A5ED", fontcolor="NavyBlue", fontsize=10, shape="octagon", peripheries=2] + "build-indep" [ style="bold", color="#74A5ED", fontcolor="NavyBlue", fontsize=10, shape="octagon", peripheries=2] + "build" [ style="bold", color="#74A5ED", fontcolor="NavyBlue", fontsize=10, shape="octagon", peripheries=2] + "debian/stamp/post-build-arch" [ style="filled", color="#74A5ED", fontcolor="NavyBlue", fontsize=10] + "debian/stamp/post-build-indep" [ style="filled", color="#74A5ED", fontcolor="NavyBlue", fontsize=10] + "debian/stamp/do-post-build-arch" [ style="bold", color="#74A5ED", fontcolor="NavyBlue", fontsize=10] + "debian/stamp/do-post-build-indep" [ style="bold", color="#74A5ED", fontcolor="NavyBlue", fontsize=10] + + "debian/stamp/pre-inst-common" [ style="filled", color="#F8DFDB", fontcolor="NavyBlue", fontsize=10] + "debian/stamp/pre-inst-arch" [ style="filled", color="#F8DFDB", fontcolor="NavyBlue", fontsize=10] + "debian/stamp/do-pre-inst-arch" [ style="bold", color="#F8DFDB", fontcolor="NavyBlue", fontsize=10] + "debian/stamp/pre-inst-indep" [ style="filled", color="#F8DFDB", fontcolor="NavyBlue", fontsize=10] + "debian/stamp/do-pre-inst-indep" [ style="bold", color="#F8DFDB", fontcolor="NavyBlue", fontsize=10] + "debian/stamp/INST/foo-arch" [ style="filled", color="#F8DFDB", fontcolor="NavyBlue", fontsize=10] + "debian/stamp/INST/bar-indep" [ style="filled", color="#F8DFDB", fontcolor="NavyBlue", fontsize=10] + "debian/stamp/dep-install-arch" [ style="bold", color="#F8DFDB", fontcolor="NavyBlue", fontsize=10] + "debian/stamp/dep-install-indep" [ style="bold", color="#F8DFDB", fontcolor="NavyBlue", fontsize=10] + "debian/stamp/do-install-arch" [ style="bold", color="#F8DFDB", fontcolor="NavyBlue", fontsize=10] + "debian/stamp/do-install-indep" [ style="bold", color="#F8DFDB", fontcolor="NavyBlue", fontsize=10] + "install-arch" [ style="bold", color="#F8DFDB", fontcolor="NavyBlue", fontsize=10, shape="octagon"] + "install-indep" [ style="bold", color="#F8DFDB", fontcolor="NavyBlue", fontsize=10, shape="octagon"] + "install" [ style="bold", color="#F8DFDB", fontcolor="NavyBlue", fontsize=10, shape="octagon"] + + "debian/stamp/pre-bin-common" [ style="filled", color="#CEFFC0", fontcolor="NavyBlue", fontsize=10] + "debian/stamp/pre-bin-arch" [ style="filled", color="#CEFFC0", fontcolor="NavyBlue", fontsize=10] + "debian/stamp/do-pre-bin-arch" [ style="bold", color="#CEFFC0", fontcolor="NavyBlue", fontsize=10] + "debian/stamp/pre-bin-indep" [ style="filled", color="#CEFFC0", fontcolor="NavyBlue", fontsize=10] + "debian/stamp/do-pre-bin-indep" [ style="bold", color="#CEFFC0", fontcolor="NavyBlue", fontsize=10] + "debian/stamp/BIN/foo-arch" [ style="filled", color="#CEFFC0", fontcolor="NavyBlue", fontsize=10] + "debian/stamp/BIN/bar-indep" [ style="filled", color="#CEFFC0", fontcolor="NavyBlue", fontsize=10] + "debian/stamp/dep-binary-arch" [ style="bold", color="#CEFFC0", fontcolor="NavyBlue", fontsize=10] + "debian/stamp/dep-binary-indep" [ style="bold", color="#CEFFC0", fontcolor="NavyBlue", fontsize=10] + "debian/stamp/do-binary-arch" [ style="bold", color="#CEFFC0", fontcolor="NavyBlue", fontsize=10] + "debian/stamp/do-binary-indep" [ style="bold", color="#CEFFC0", fontcolor="NavyBlue", fontsize=10] + "binary-arch" [ style="bold", color="#CEFFC0", fontcolor="NavyBlue", fontsize=10, shape="octagon", peripheries=2] + "binary-indep" [ style="bold", color="#CEFFC0", fontcolor="NavyBlue", fontsize=10, shape="octagon", peripheries=2] + "binary" [ style="bold", color="#CEFFC0", fontcolor="NavyBlue", fontsize=10, shape="octagon", peripheries=2] + + + "CLN-common" [ style="filled" , color="#E2E8C3", fontcolor="NavyBlue", fontsize=10, shape="octagon"] + "CLN-arch" [ style="filled" , color="#E2E8C3", fontcolor="NavyBlue", fontsize=10, shape="octagon"] + "CLN-indep" [ style="filled" , color="#E2E8C3", fontcolor="NavyBlue", fontsize=10, shape="octagon"] + "CLEAN/foo-arch" [ style="filled" , color="#E2E8C3", fontcolor="NavyBlue", fontsize=10, shape="octagon"] + "CLEAN/bar-indep" [ style="filled" , color="#E2E8C3", fontcolor="NavyBlue", fontsize=10, shape="octagon"] + "clean-arch" [ style="bold", color="#E2E8C3", fontcolor="NavyBlue", fontsize=10, shape="octagon"] + "clean-indep" [ style="bold", color="#E2E8C3", fontcolor="NavyBlue", fontsize=10, shape="octagon"] + "clean" [ style="bold", color="#E2E8C3", fontcolor="NavyBlue", fontsize=10, shape="octagon", peripheries=2] + + + "CLN-common" -> "CLN-arch" [dir=back] + "CLN-common" -> "CLN-indep" [dir=back] + "CLN-arch" -> "CLEAN/foo-arch" [dir=back] + "CLN-indep" -> "CLEAN/bar-indep" [dir=back] + "CLN-arch" -> "clean-arch" [dir=back] + "CLEAN/foo-arch" -> "clean-arch" [dir=back] + "CLN-indep" -> "clean-indep" [dir=back] + "CLEAN/bar-indep" -> "clean-indep" [dir=back] + "clean-indep" -> "clean" [dir=back] + "clean-arch" -> "clean" [dir=back] + +// "debian/stamp/dummy-config-common" -> "debian/stamp/pre-config-common" [dir=back] + "debian/stamp/dummy-config-common" -> "debian/stamp/do-pre-config-common" [dir=back] + "debian/stamp/pre-config-common" -> "debian/stamp/do-pre-config-common" [dir=back color="Red"] +// "CUSTOM-1" [ style="filled", color="#FFE4B5", fontcolor="NavyBlue", fontsize=10, shape="diamond"] +// "CUSTOM-1" -> "debian/stamp/pre-config-common" [dir=back] +// "debian/stamp/do-pre-config-common" -> "debian/stamp/pre-config-arch" [dir=back] + "debian/stamp/do-pre-config-common" -> "debian/stamp/do-pre-config-arch" [dir=back] + "debian/stamp/pre-config-arch" -> "debian/stamp/do-pre-config-arch" [dir=back color="Red"] +// "CUSTOM-2" [ style="filled", color="#FFE4B5", fontcolor="NavyBlue", fontsize=10, shape="diamond"] +// "CUSTOM-2" -> "debian/stamp/pre-config-arch" [dir=back] +// "debian/stamp/do-pre-config-common" -> "debian/stamp/pre-config-indep" [dir=back] + "debian/stamp/do-pre-config-common" -> "debian/stamp/do-pre-config-indep" [dir=back] + "debian/stamp/pre-config-indep" -> "debian/stamp/do-pre-config-indep" [dir=back color="Red"] +// "CUSTOM-3" [ style="filled", color="#FFE4B5", fontcolor="NavyBlue", fontsize=10, shape="diamond"] +// "CUSTOM-3" -> "debian/stamp/pre-config-indep" [dir=back] +// "debian/stamp/do-pre-config-arch" -> "debian/stamp/CONFIG/foo-arch" [dir=back] +// "debian/stamp/do-pre-config-indep" -> "debian/stamp/CONFIG/bar-indep" [dir=back] +// "debian/stamp/do-pre-config-arch" -> "debian/stamp/dep-configure-arch" [dir=back] + "debian/stamp/CONFIG/foo-arch" -> "debian/stamp/dep-configure-arch" [dir=back] +// "debian/stamp/do-pre-config-indep" -> "debian/stamp/dep-configure-indep" [dir=back] + "debian/stamp/CONFIG/bar-indep" -> "debian/stamp/dep-configure-indep" [dir=back] + + "debian/stamp/do-pre-config-arch" -> "debian/stamp/do-configure-arch" [dir=back] + "debian/stamp/dep-configure-arch" -> "debian/stamp/do-configure-arch" [dir=back color="Red"] +// "CUSTOM-4" [ style="filled", color="#FFE4B5", fontcolor="NavyBlue", fontsize=10, shape="diamond"] +// "CUSTOM-4" -> "debian/stamp/CONFIG/foo-arch" [dir=back] + "debian/stamp/do-pre-config-indep" -> "debian/stamp/do-configure-indep" [dir=back] + "debian/stamp/dep-configure-indep" -> "debian/stamp/do-configure-indep" [dir=back color="Red"] +// "CUSTOM-5" [ style="filled", color="#FFE4B5", fontcolor="NavyBlue", fontsize=10, shape="diamond"] +// "CUSTOM-5" -> "debian/stamp/CONFIG/bar-indep" [dir=back] + "debian/stamp/do-configure-arch" -> "configure-arch" [dir=back] + "debian/stamp/do-configure-indep" -> "configure-indep" [dir=back] + "debian/stamp/do-configure-arch" -> "configure" [dir=back] + "debian/stamp/do-configure-indep" -> "configure" [dir=back] + +// "debian/stamp/do-configure-arch" -> "debian/stamp/pre-build-arch" [dir=back] + "debian/stamp/do-configure-arch" -> "debian/stamp/do-pre-build-arch" [dir=back] + "debian/stamp/pre-build-common" -> "debian/stamp/do-pre-build-arch" [dir=back color="Red"] +// "CUSTOM-6" [ style="filled", color="#FFE4B5", fontcolor="NavyBlue", fontsize=10, shape="diamond"] +// "CUSTOM-6" -> "debian/stamp/pre-build-common" [dir=back] + "debian/stamp/pre-build-arch" -> "debian/stamp/do-pre-build-arch" [dir=back color="Red"] +// "CUSTOM-7" [ style="filled", color="#FFE4B5", fontcolor="NavyBlue", fontsize=10, shape="diamond"] +// "CUSTOM-7" -> "debian/stamp/pre-build-arch" [dir=back] + "debian/stamp/pre-build-common" -> "debian/stamp/do-pre-build-indep" [dir=back color="Red"] + "debian/stamp/do-configure-indep" -> "debian/stamp/do-pre-build-indep" [dir=back] +// "debian/stamp/do-configure-indep" -> "debian/stamp/pre-build-indep" [dir=back] + "debian/stamp/pre-build-indep" -> "debian/stamp/do-pre-build-indep" [dir=back color="Red"] +// "CUSTOM-8" [ style="filled", color="#FFE4B5", fontcolor="NavyBlue", fontsize=10, shape="diamond"] +// "CUSTOM-8" -> "debian/stamp/pre-build-indep" [dir=back] +// "debian/stamp/do-pre-build-arch" -> "debian/stamp/BUILD/foo-arch" [dir=back] +// "debian/stamp/do-pre-build-indep" -> "debian/stamp/BUILD/bar-indep" [dir=back] +// "debian/stamp/do-pre-build-arch" -> "debian/stamp/dep-build-arch" [dir=back] + "debian/stamp/BUILD/foo-arch" -> "debian/stamp/dep-build-arch" [dir=back] +// "debian/stamp/do-pre-build-indep" -> "debian/stamp/dep-build-indep" [dir=back] + "debian/stamp/BUILD/bar-indep" -> "debian/stamp/dep-build-indep" [dir=back] + "debian/stamp/do-pre-build-arch" -> "debian/stamp/do-build-arch" [dir=back] + "debian/stamp/dep-build-arch" -> "debian/stamp/do-build-arch" [dir=back color="Red"] +// "CUSTOM-9" [ style="filled", color="#FFE4B5", fontcolor="NavyBlue", fontsize=10, shape="diamond"] +// "CUSTOM-9" -> "debian/stamp/BUILD/foo-arch" [dir=back] + "debian/stamp/do-pre-build-indep" -> "debian/stamp/do-build-indep" [dir=back] + "debian/stamp/dep-build-indep" -> "debian/stamp/do-build-indep" [dir=back color="Red"] +// "CUSTOM-10" [ style="filled", color="#FFE4B5", fontcolor="NavyBlue", fontsize=10, shape="diamond"] +// "CUSTOM-10" -> "debian/stamp/BUILD/bar-indep" [dir=back] + "debian/stamp/do-build-arch" -> "build-arch" [dir=back] + "debian/stamp/do-build-indep" -> "build-indep" [dir=back] + "debian/stamp/do-build-arch" -> "build" [dir=back] + "debian/stamp/do-build-indep" -> "build" [dir=back] +// "debian/stamp/do-build-arch" -> "debian/stamp/post-build-arch" [dir=back] + "debian/stamp/do-build-arch" -> "debian/stamp/do-post-build-arch" [dir=back] + "debian/stamp/do-build-indep" -> "debian/stamp/do-post-build-indep" [dir=back] + "debian/stamp/post-build-arch" -> "debian/stamp/do-post-build-arch" [dir=back color="Red"] +// "CUSTOM-11" [ style="filled", color="#FFE4B5", fontcolor="NavyBlue", fontsize=10, shape="diamond"] +// "CUSTOM-11" -> "debian/stamp/post-build-arch" [dir=back] + "debian/stamp/post-build-indep" -> "debian/stamp/do-post-build-indep" [dir=back color="Red"] +// "CUSTOM-12" [ style="filled", color="#FFE4B5", fontcolor="NavyBlue", fontsize=10, shape="diamond"] +// "CUSTOM-12" -> "debian/stamp/post-build-indep" [dir=back] +// "debian/stamp/do-post-build-arch" -> "debian/stamp/pre-inst-arch" [dir=back] + "debian/stamp/pre-inst-common" -> "debian/stamp/do-pre-inst-arch" [dir=back color="Red"] +// "CUSTOM-13" [ style="filled", color="#FFE4B5", fontcolor="NavyBlue", fontsize=10, shape="diamond"] +// "CUSTOM-13" -> "debian/stamp/pre-inst-common" [dir=back] + "debian/stamp/do-post-build-arch" -> "debian/stamp/do-pre-inst-arch" [dir=back] + "debian/stamp/pre-inst-arch" -> "debian/stamp/do-pre-inst-arch" [dir=back color="Red"] +// "CUSTOM-14" [ style="filled", color="#FFE4B5", fontcolor="NavyBlue", fontsize=10, shape="diamond"] +// "CUSTOM-14" -> "debian/stamp/pre-inst-arch" [dir=back] +// "debian/stamp/do-post-build-indep" -> "debian/stamp/pre-inst-indep" [dir=back] + "debian/stamp/pre-inst-common" -> "debian/stamp/do-pre-inst-indep" [dir=back color="Red"] + "debian/stamp/do-post-build-indep" -> "debian/stamp/do-pre-inst-indep" [dir=back] + "debian/stamp/pre-inst-indep" -> "debian/stamp/do-pre-inst-indep" [dir=back color="Red"] +// "CUSTOM-15" [ style="filled", color="#FFE4B5", fontcolor="NavyBlue", fontsize=10, shape="diamond"] +// "CUSTOM-15" -> "debian/stamp/pre-inst-indep" [dir=back] +// "debian/stamp/do-pre-inst-arch" -> "debian/stamp/INST/foo-arch" [dir=back] +// "debian/stamp/do-pre-inst-indep" -> "debian/stamp/INST/bar-indep" [dir=back] +// "debian/stamp/do-pre-inst-arch" -> "debian/stamp/dep-install-arch" [dir=back] + "debian/stamp/INST/foo-arch" -> "debian/stamp/dep-install-arch" [dir=back] +// "debian/stamp/do-pre-inst-indep" -> "debian/stamp/dep-install-indep" [dir=back] + "debian/stamp/INST/bar-indep" -> "debian/stamp/dep-install-indep" [dir=back] + "debian/stamp/do-pre-inst-arch" -> "debian/stamp/do-install-arch" [dir=back] + "debian/stamp/dep-install-arch" -> "debian/stamp/do-install-arch" [dir=back color="Red"] +// "CUSTOM-16" [ style="filled", color="#FFE4B5", fontcolor="NavyBlue", fontsize=10, shape="diamond"] +// "CUSTOM-16" -> "debian/stamp/INST/foo-arch" [dir=back] + "debian/stamp/do-pre-inst-indep" -> "debian/stamp/do-install-indep" [dir=back] + "debian/stamp/dep-install-indep" -> "debian/stamp/do-install-indep" [dir=back color="Red"] +// "CUSTOM-17" [ style="filled", color="#FFE4B5", fontcolor="NavyBlue", fontsize=10, shape="diamond"] +// "CUSTOM-17" -> "debian/stamp/INST/bar-indep" [dir=back] + "debian/stamp/do-install-arch" -> "install-arch" [dir=back] + "debian/stamp/do-install-indep" -> "install-indep" [dir=back] + "debian/stamp/do-install-arch" -> "install" [dir=back] + "debian/stamp/do-install-indep" -> "install" [dir=back] +// "debian/stamp/do-install-arch" -> "debian/stamp/pre-bin-arch" [dir=back] + "debian/stamp/do-install-arch" -> "debian/stamp/do-pre-bin-arch" [dir=back] + "debian/stamp/pre-bin-common" -> "debian/stamp/do-pre-bin-arch" [dir=back color="Red"] +// "CUSTOM-18" [ style="filled", color="#FFE4B5", fontcolor="NavyBlue", fontsize=10, shape="diamond"] +// "CUSTOM-18" -> "debian/stamp/pre-bin-common" [dir=back] + "debian/stamp/pre-bin-arch" -> "debian/stamp/do-pre-bin-arch" [dir=back color="Red"] +// "CUSTOM-19" [ style="filled", color="#FFE4B5", fontcolor="NavyBlue", fontsize=10, shape="diamond"] +// "CUSTOM-19" -> "debian/stamp/pre-bin-arch" [dir=back] +// "debian/stamp/do-install-indep" -> "debian/stamp/pre-bin-indep" [dir=back] + "debian/stamp/pre-bin-common" -> "debian/stamp/do-pre-bin-indep" [dir=back color="Red"] + "debian/stamp/do-install-indep" -> "debian/stamp/do-pre-bin-indep" [dir=back] + "debian/stamp/pre-bin-indep" -> "debian/stamp/do-pre-bin-indep" [dir=back color="Red"] +// "CUSTOM-20" [ style="filled", color="#FFE4B5", fontcolor="NavyBlue", fontsize=10, shape="diamond"] +// "CUSTOM-20" -> "debian/stamp/pre-bin-indep" [dir=back] +// "debian/stamp/do-pre-bin-arch" -> "debian/stamp/BIN/foo-arch" [dir=back] +// "debian/stamp/do-pre-bin-indep" -> "debian/stamp/BIN/bar-indep" [dir=back] +// "debian/stamp/pre-bin-arch" -> "debian/stamp/dep-binary-arch" [dir=back] + "debian/stamp/BIN/foo-arch" -> "debian/stamp/dep-binary-arch" [dir=back] +// "debian/stamp/do-pre-bin-indep" -> "debian/stamp/dep-binary-indep" [dir=back] + "debian/stamp/BIN/bar-indep" -> "debian/stamp/dep-binary-indep" [dir=back] + "debian/stamp/do-pre-bin-arch" -> "debian/stamp/do-binary-arch" [dir=back] + "debian/stamp/dep-binary-arch" -> "debian/stamp/do-binary-arch" [dir=back color="Red"] +// "CUSTOM-21" [ style="filled", color="#FFE4B5", fontcolor="NavyBlue", fontsize=10, shape="diamond"] +// "CUSTOM-21" -> "debian/stamp/BIN/foo-arch" [dir=back] + "debian/stamp/do-pre-bin-indep" -> "debian/stamp/do-binary-indep" [dir=back] + "debian/stamp/dep-binary-indep" -> "debian/stamp/do-binary-indep" [dir=back color="Red"] +// "CUSTOM-22" [ style="filled", color="#FFE4B5", fontcolor="NavyBlue", fontsize=10, shape="diamond"] +// "CUSTOM-22" -> "debian/stamp/BIN/bar-indep" [dir=back] + "debian/stamp/do-binary-arch" -> "binary-arch" [dir=back] + "debian/stamp/do-binary-indep" -> "binary-indep" [dir=back] + "debian/stamp/do-binary-arch" -> "binary" [dir=back] + "debian/stamp/do-binary-indep" -> "binary" [dir=back] + + + "debian/stamp/dummy-config-common" -> "debian/stamp/pre-config-common" [style="invis"] + "debian/stamp/do-pre-config-common" -> "debian/stamp/pre-config-arch" [style="invis"] + "debian/stamp/do-pre-config-common" -> "debian/stamp/pre-config-indep" [style="invis"] + "debian/stamp/do-pre-config-arch" -> "debian/stamp/CONFIG/foo-arch" [style="invis"] + "debian/stamp/do-pre-config-indep" -> "debian/stamp/CONFIG/bar-indep" [style="invis"] + + "debian/stamp/dep-configure-arch" -> "configure" [style="invis"] + "debian/stamp/dep-configure-indep" -> "configure" [style="invis"] + "debian/stamp/dep-configure-arch" -> "configure-arch" [style="invis"] + "debian/stamp/dep-configure-indep" -> "configure-arch" [style="invis"] + "debian/stamp/dep-configure-arch" -> "configure-indep" [style="invis"] + "debian/stamp/dep-configure-indep" -> "configure-indep" [style="invis"] + "configure-arch" -> "configure" [style="invis"] + "configure-indep" -> "configure" [style="invis"] + "configure" -> "debian/stamp/pre-build-common" [style="invis"] + + + "debian/stamp/pre-build-common" -> "debian/stamp/pre-build-indep" [style="invis"] + "debian/stamp/pre-build-common" -> "debian/stamp/pre-build-arch" [style="invis"] + + "debian/stamp/do-pre-build-arch" -> "debian/stamp/BUILD/foo-arch" [style="invis"] + "debian/stamp/do-pre-build-indep" -> "debian/stamp/BUILD/bar-indep" [style="invis"] + "debian/stamp/do-build-arch" -> "debian/stamp/post-build-arch" [style="invis"] + "debian/stamp/do-build-indep" -> "debian/stamp/post-build-indep" [style="invis"] + "debian/stamp/do-post-build-arch" -> "build-arch" [style="invis"] + "debian/stamp/do-post-build-arch" -> "build" [style="invis"] + "debian/stamp/do-post-build-indep" -> "build-indep" [style="invis"] + "debian/stamp/do-post-build-indep" -> "build" [style="invis"] + "build-arch" -> "build" [style="invis"] + "build-indep" -> "build" [style="invis"] + + "build" -> "debian/stamp/pre-inst-common" [style="invis"] + + "debian/stamp/pre-inst-common" -> "debian/stamp/pre-inst-indep" [style="invis"] + "debian/stamp/pre-inst-common" -> "debian/stamp/pre-inst-arch" [style="invis"] + "debian/stamp/do-pre-inst-arch" -> "debian/stamp/INST/foo-arch" [style="invis"] + "debian/stamp/do-pre-inst-indep" -> "debian/stamp/INST/bar-indep" [style="invis"] + + "install-arch" -> "install" [style="invis"] + "install-indep" -> "install" [style="invis"] + + "debian/stamp/pre-bin-common" -> "debian/stamp/pre-bin-indep" [style="invis"] + "debian/stamp/pre-bin-common" -> "debian/stamp/pre-bin-arch" [style="invis"] + + "install" -> "debian/stamp/pre-bin-common" [style="invis"] + "debian/stamp/do-pre-bin-arch" -> "debian/stamp/BIN/foo-arch" [style="invis"] + "debian/stamp/do-pre-bin-indep" -> "debian/stamp/BIN/bar-indep" [style="invis"] + + "binary-arch" -> "binary" [style="invis"] + "binary-indep" -> "binary" [style="invis"] + +} --- dist-3.5-30.orig/debian/common/debconf.mk +++ dist-3.5-30/debian/common/debconf.mk @@ -0,0 +1,42 @@ +############################ -*- Mode: Makefile -*- ########################### +## debconf.mk --- +## Author : Manoj Srivastava ( srivasta@glaurung.internal.golden-gryphon.com ) +## Created On : Fri Mar 12 11:11:31 2004 +## Created On Node : glaurung.internal.golden-gryphon.com +## Last Modified By : Manoj Srivastava +## Last Modified On : Mon Apr 11 13:19:10 2005 +## Last Machine Used: glaurung.internal.golden-gryphon.com +## Update Count : 20 +## Status : Unknown, Use with caution! +## HISTORY : +## Description : helps with using debconf +## +## arch-tag: 32b933a9-05ad-4c03-97a8-8644745b832a +## +############################################################################### + +# The idea behind this scheme is that the maintainer (or whoever's +# building the package for upload to unstable) has to build on a +# machine with po-debconf installed, but nobody else does. + +# Also, make sure that debian/control has ${debconf-depends} in the +# appropriate Depends: line., and use the following in the binary +# target: +# dpkg-gencontrol -V'debconf-depends=debconf (>= $(MINDEBCONFVER))' +# + +# WARNING!! You need to create the debian/templates file before this +# all works. + +# Run debconf-updatepo whenever the template file changes. +# the tool podebconf-report-po is also a great friend to have in such +# circumstances +define CHECKPO + @for i in debian/po/*.po; do \ + if [ -f $$i ]; then \ + echo \"Checking: $$i\"; \ + msgmerge -U $$i debian/po/templates.pot; \ + msgfmt -o /dev/null -c --statistics $$i; \ + fi; \ + done +endef --- dist-3.5-30.orig/debian/common/automake.mk +++ dist-3.5-30/debian/common/automake.mk @@ -0,0 +1,37 @@ +############################ -*- Mode: Makefile -*- ########################### +## automake.mk --- +## Author : Manoj Srivastava ( srivasta@glaurung.green-gryphon.com ) +## Created On : Sat Nov 15 02:47:23 2003 +## Created On Node : glaurung.green-gryphon.com +## Last Modified By : Manoj Srivastava +## Last Modified On : Sat Nov 15 02:47:53 2003 +## Last Machine Used: glaurung.green-gryphon.com +## Update Count : 1 +## Status : Unknown, Use with caution! +## HISTORY : +## Description : +## +## arch-tag: 1fabe69b-7cc8-4ecc-9411-bc5906b19857 +## +############################################################################### + +AUTOCONF_VERSION:=$(shell if [ -e configure ]; then \ + grep "Generated automatically using autoconf" \ + configure | sed -e 's/^.*autoconf version //g'; \ + fi) +HAVE_NEW_AUTOMAKE:=$(shell if [ "X$(AUTOCONF_VERSION)" != "X2.13" ]; then \ + echo 'YES' ; fi) + +ifneq ($(strip $(HAVE_NEW_AUTOMAKE)),) + ifeq ($(DEB_BUILD_GNU_TYPE), $(DEB_HOST_GNU_TYPE)) + confflags += --build $(DEB_BUILD_GNU_TYPE) + else + confflags += --build $(DEB_BUILD_GNU_TYPE) --host $(DEB_HOST_GNU_TYPE) + endif +else + ifeq ($(DEB_BUILD_GNU_TYPE), $(DEB_HOST_GNU_TYPE)) + confflags += $(DEB_HOST_GNU_TYPE) + else + confflags += --build $(DEB_BUILD_GNU_TYPE) --host $(DEB_HOST_GNU_TYPE) + endif +endif --- dist-3.5-30.orig/debian/common/ChangeLog +++ dist-3.5-30/debian/common/ChangeLog @@ -0,0 +1,59 @@ +2008-02-06 Manoj Srivastava + + * copt.mk: + srivasta@debian.org--lenny/skeleton-make-rules--main--0.1--patch-4 + The cross building support in Debian has been rewritten + to stop overriding the CC variable to $(MAKE) in order + to correctly support those packages that build internal + tools with the native compiler during the build. This + means that other packages that assume that CC will be + overridden by the cross-compiling build scripts now fail + to build. The patch is simply to set CC to + $(DEB_HOST_GNU_TYPE)-gcc only if a cross-build is + detected. + +2007-10-09 Manoj Srivastava + + * targets.mk: + srivasta@debian.org--lenny/skeleton-make-rules--main--0.1--patch-1 + fix dependency tree for targets, allow parralel + compilatoin. Many changes, thanks to dot. + +2007-09-20 Manoj Srivastava + + * targets.mk (stamp-clean): + srivasta@debian.org--lenny/skeleton-make-rules--main--0.1--base-0 + make clean not remove zero sized files. removed the part + that cleaned out zero sized files; since there are uses + for zero sized files (like, to nuke out files in + upstream sources and not inflate the diff. Any zero + sized files can still be nuked in the local.mk file. + +2006-10-02 Manoj Srivastava + + * checklibs: + srivasta@debian.org--etch/skeleton-make-rules--main--0.1--patch-15 + New file, to detect if there are unneeded library + dependencies + +2006-10-01 Manoj Srivastava + + * archvars.mk (doit): + srivasta@debian.org--etch/skeleton-make-rules--main--0.1--patch-14 + Add a macro to execute $(shell ...) macos verbosely to + help debugging. + +2006-09-15 Manoj Srivastava + + * targets.mk (stamp-clean): + srivasta@debian.org--etch/skeleton-make-rules--main--0.1--patch-13 + Exclude version control directories from the generic + clean command. + + +2006-08-23 Manoj Srivastava + + * pkgvars.mk (DEB_DISTRIBUTION): + srivasta@debian.org--etch/skeleton-make-rules--main--0.1--patch-6 + Add variable that contains the distribution information + --- dist-3.5-30.orig/debian/common/README +++ dist-3.5-30/debian/common/README @@ -0,0 +1,78 @@ +# This file provides a quick overview of this build system. The idea is +# to convert ./debian/rules into a framework, which abstracts most of +# the work required to create a Debian package into this common set of +# make snippets. + +# The rules file would look like this: + +## Include dpkg-architecture generated variables +# This make snippet uses dpkg-architecture to set the various +# DEB_BUILD* and DEB_HOST* variables. It also adds a couple of DEBUG +# macros for use in the rules file. +include debian/common/archvars.mk + +## variables useful for perl packages +# This sets things like the installed location of the private lib, +# arch dependent lib, and vendor library directories. +include debian/common/perlvars.mk + +## Install commands +# This sets the convenience macros install_{file,script,program} and +# a make directory macro, all run as root, for the install and binary +# targets. It also includes a macro to create the md5sum for +# installed files. +include debian/common/install_cmds.mk + +## Per package variable settings. +# This file sets the Make variables on a per package basis. Things +# like include files, C, C++, and LD flags are set here, as well as +# installation paths or, really, anything else that would be needed +# during packaging operations +include debian/local-vars.mk + +## Setting C compiler flags. +# This file takes care of setting C compiler flags, setting the +# compiler if a cross compilation effort is detected, and either +# arranges for binaries to be stripped or not based on +# DEB_BUILD_OPTIONS. +include debian/common/copt.mk + +## Set automake configuration flags +# This file sets confflags variable with the proper --host and +# --build options if it detects a cross compilation effort underway. +include debian/common/automake.mk + +# Set up the default target. +all: + @echo nothing to be done + +## Include the common targets +# This file sets up the flow of control during a Debian package build +# process, taking into account policy requirements (mandatory +# targets, ordering targets). It sets up rules for each package found +# in ./debian/control file in the package, and arranges package build +# to follow the order of configuration, building, installation, and +# binary package creation (and of course, clean). + +# The details of the targets can be seen visually by running dot on +# the accompanying targets.dot file. In the figure, the legend is: +# Nodes attributes: +# filled == Work target (most work is done in dependencies added +# to these targets). These are the targets referred to +# in the local.mk file +# Octagon == Phony target +# Oval == Real target based on a time stamp +# Double lines denote a mandatory target +# +# Edge attributes: A Red line indicates the target is called using +# $(MAKE) -f ./debian/rules . So the targets connected by the +# red lines are run after all the dependencies have been updated, but +# before anything else is done. + +include debian/common/targets.mk + +## The bulk of packaging +# This file adds dependencies to the double-colon rules set up in +# targets.mk above, and perform the bulk of the packaging. +include debian/local.mk + --- dist-3.5-30.orig/debian/common/checklibs +++ dist-3.5-30/debian/common/checklibs @@ -0,0 +1,78 @@ +#! /bin/sh +# -*- Mode: Sh -*- +# checklibs.sh --- +# Author : Manoj Srivastava ( srivasta@glaurung.internal.golden-gryphon.com ) +# Created On : Fri Sep 29 15:36:22 2006 +# Created On Node : glaurung.internal.golden-gryphon.com +# Last Modified By : Manoj Srivastava +# Last Modified On : Wed Sep 2 01:16:46 2009 +# Last Machine Used: anzu.internal.golden-gryphon.com +# Update Count : 47 +# Status : Unknown, Use with caution! +# HISTORY : +# Description : +# +# arch-tag: 8ba11489-77fa-45a0-92c4-9c5b162ee119 +# +# 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., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA +# + +# Make sure we abort on error +set -e +progname="$(basename \"$0\")" + +trap 'rm -f search_patterns.txt;' ALRM HUP INT PIPE TERM ABRT FPE BUS QUIT SEGV ILL EXIT + +# Find all undefined symbols in all ELF objects in this tree +readelf -s -D -W $(find . -type f -print0 | xargs -0r file | grep " ELF" | \ + awk '{print $1}' | sed -e 's/:$//') | grep UND | grep -v LOCAL | + perl -ple 's/.*\s(\S+)\s*$/\^$1\$/g' | sort -u > search_patterns.txt; + +LOCAL_LIBS=$(find . -type f -print0 | xargs -0r file | egrep "ELF.*shared object" | \ + awk '{print $1}' | sed -e 's/:$//' -e 's,/[^/]*$,,') + +# Find all the libraries needed in this tree +objdump -T --private-headers $(find . -type f -print0 | \ + xargs -0r file | egrep "ELF.*(shared object|executable)" | \ + awk '{print $1}' | sed -e 's/:$//') | grep NEEDED | sort -u | awk '{print $2}' | + while read lib; do + # For each library, see where it lives on the file system + LIB= + for library_dir in "/lib" "/usr/lib" $LOCAL_LIBS $EXTRA_LIBRARY_PATHS; do + if [ -e "$library_dir/$lib" ]; then + LIB="$library_dir/$lib"; + break + fi + done + if [ -z "$LIB" ]; then + echo >&2 "Can't find $lib" + continue + fi + # If we fond the library, find what symbols it defines, and if these symbols + # are some that we need + if readelf -s -D -W $LIB | grep -v UND | perl -ple 's/.*\s(\S+)\s*$/$1/g' | \ + sort -u | grep -q -f search_patterns.txt ; then + # Library provides at least some symbols we need + if [ -n "$DEBUG" ]; then echo "Found $LIB"; fi + else + # Library does not provide any symbols we need + echo "$LIB" ; + fi +done + +# Get rid of the intermediate file +rm -f search_patterns.txt; +exit 0 + --- dist-3.5-30.orig/debian/common/archvars.mk +++ dist-3.5-30/debian/common/archvars.mk @@ -0,0 +1,118 @@ +############################ -*- Mode: Makefile -*- ########################### +## archvars.mk --- +## Author : Manoj Srivastava ( srivasta@golden-gryphon.com ) +## Created On : Sat Nov 15 02:40:56 2003 +## Created On Node : glaurung.green-gryphon.com +## Last Modified By : Manoj Srivastava +## Last Modified On : Tue Nov 16 23:36:15 2004 +## Last Machine Used: glaurung.internal.golden-gryphon.com +## Update Count : 5 +## Status : Unknown, Use with caution! +## HISTORY : +## Description : calls dpkg-architecture and sets up various arch +## related variables +## +## arch-tag: e16dd848-0fd6-4c0e-ae66-bef20d1f7c63 +## +## 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 St, Fifth Floor, Boston, MA 02110-1301 USA +## +############################################################################### + + +DPKG_ARCH := dpkg-architecture + +ifeq ($(strip $(KPKG_ARCH)),um) + MAKING_VIRTUAL_IMAGE:=YES +endif +ifeq ($(strip $(KPKG_ARCH)),xen) + MAKING_VIRTUAL_IMAGE:=YES +endif + +ifneq ($(strip $(CONFIG_UM)),) + MAKING_VIRTUAL_IMAGE:=YES + KPKG_ARCH=um +endif + +ifneq ($(strip $(CONFIG_XEN)),) + MAKING_VIRTUAL_IMAGE:=YES + ifneq ($(strip $(CONFIG_X86_XEN)$(CONFIG_X86_64_XEN)),) + KPKG_SUBARCH=xen + else + KPKG_ARCH=xen + ifeq ($(strip $(CONFIG_XEN_PRIVILEGED_GUEST)),) + KPKG_SUBARCH=xenu + else + KPKG_SUBARCH=xen0 + endif + endif +endif + +ifdef KPKG_ARCH + ifeq ($(strip $(MAKING_VIRTUAL_IMAGE)),) + ifneq ($(CROSS_COMPILE),-) + ha:=-a$(KPKG_ARCH) + endif + endif +endif + +# set the dpkg-architecture vars +export DEB_BUILD_ARCH := $(shell $(DPKG_ARCH) -qDEB_BUILD_ARCH) +export DEB_BUILD_GNU_CPU := $(shell $(DPKG_ARCH) -qDEB_BUILD_GNU_CPU) +export DEB_BUILD_GNU_SYSTEM:= $(shell $(DPKG_ARCH) -qDEB_BUILD_GNU_SYSTEM) +export DEB_BUILD_GNU_TYPE := $(shell $(DPKG_ARCH) -qDEB_BUILD_GNU_TYPE) +export DEB_HOST_ARCH := $(shell $(DPKG_ARCH) $(ha) -qDEB_HOST_ARCH) +export DEB_HOST_ARCH_OS := $(shell $(DPKG_ARCH) $(ha) -qDEB_HOST_ARCH_OS \ + 2>/dev/null|| true) +export DEB_HOST_ARCH_CPU := $(shell $(DPKG_ARCH) $(ha) -qDEB_HOST_ARCH_CPU \ + 2>/dev/null|| true) +export DEB_HOST_GNU_CPU := $(shell $(DPKG_ARCH) $(ha) -qDEB_HOST_GNU_CPU) +export DEB_HOST_GNU_SYSTEM := $(shell $(DPKG_ARCH) $(ha) -qDEB_HOST_GNU_SYSTEM) +export DEB_HOST_GNU_TYPE := $(shell $(DPKG_ARCH) $(ha) -qDEB_HOST_GNU_TYPE) + +# arrgh. future proofing +ifeq ($(DEB_HOST_GNU_SYSTEM), linux) + DEB_HOST_GNU_SYSTEM=linux-gnu +endif +ifeq ($(DEB_HOST_ARCH_OS),) + ifeq ($(DEB_HOST_GNU_SYSTEM), linux-gnu) + DEB_HOST_ARCH_OS := linux + endif + ifeq ($(DEB_HOST_GNU_SYSTEM), kfreebsd-gnu) + DEB_HOST_ARCH_OS := kfreebsd + endif +endif + +REASON = @if [ -f $@ ]; then \ + echo "====== making $(notdir $@) because of $(notdir $?) ======";\ + else \ + echo "====== making target $@ [new prereqs: $(notdir $?)]======"; \ + fi + +OLDREASON = @if [ -f $@ ]; then \ + echo "====== making $(notdir $@) because of $(notdir $?) ======";\ + else \ + echo "====== making (creating) $(notdir $@) ======"; \ + fi + +LIBREASON = @echo "====== making $(notdir $@)($(notdir $%))because of $(notdir $?)======" + + +# macro outputing $(1) if DEBUG_DEBIAN_RULES is set, and resolving it +# in all cases usage $(call doit,some shell command) +doit = $(if $(DEBUG_DEBIAN_RULES),$(warning DEBUG: $(1)))$(shell $(1)) + +#Local variables: +#mode: makefile +#End: --- dist-3.5-30.orig/jmake/jmkmf.man +++ dist-3.5-30/jmake/jmkmf.man @@ -1,20 +1,20 @@ -''' $Id: jmkmf.man 3 2006-08-25 21:39:07Z rmanfredi $ -''' -''' Copyright (c) 1991-1997, 2004-2006, Raphael Manfredi -''' -''' You may redistribute only under the terms of the Artistic Licence, -''' as specified in the README file that comes with the distribution. -''' You may reuse parts of this distribution only within the terms of -''' that same Artistic Licence; a copy of which may be found at the root -''' of the source tree for dist 4.0. -''' -''' $Log: jmkmf.man,v $ -''' Revision 3.0.1.1 1995/05/12 11:58:03 ram -''' patch54: updated my e-mail address -''' -''' Revision 3.0 1993/08/18 12:04:20 ram -''' Baseline for dist 3.0 netwide release. -''' +.\" $Id: jmkmf.man 3 2006-08-25 21:39:07Z rmanfredi $ +.\" +.\" Copyright (c) 1991-1997, 2004-2006, Raphael Manfredi +.\" +.\" You may redistribute only under the terms of the Artistic Licence, +.\" as specified in the README file that comes with the distribution. +.\" You may reuse parts of this distribution only within the terms of +.\" that same Artistic Licence; a copy of which may be found at the root +.\" of the source tree for dist 4.0. +.\" +.\" $Log: jmkmf.man,v $ +.\" Revision 3.0.1.1 1995/05/12 11:58:03 ram +.\" patch54: updated my e-mail address +.\" +.\" Revision 3.0 1993/08/18 12:04:20 ram +.\" Baseline for dist 3.0 netwide release. +.\" .TH JMKMF 1 ram .SH NAME jmkmf \- runs jmake with the correct options @@ -72,8 +72,7 @@ .TP 20 Jmakefile High level description of makefile -.TP -.package +.TP .package The file marking the top of your package tree .PD .SH "SEE ALSO" --- dist-3.5-30.orig/jmake/jmake.man +++ dist-3.5-30/jmake/jmake.man @@ -1,28 +1,28 @@ -''' $Id: jmake.man 3 2006-08-25 21:39:07Z rmanfredi $ -''' -''' Copyright (c) 1991-1997, 2004-2006, Raphael Manfredi -''' -''' You may redistribute only under the terms of the Artistic Licence, -''' as specified in the README file that comes with the distribution. -''' You may reuse parts of this distribution only within the terms of -''' that same Artistic Licence; a copy of which may be found at the root -''' of the source tree for dist 4.0. -''' -''' $Log: jmake.man,v $ -''' Revision 3.0.1.3 2004/08/22 09:01:55 ram -''' patch71: renamed |test as |case as the construct has its syntax -''' patch71: added |subst section to allow variable substitutions -''' -''' Revision 3.0.1.2 2004/08/21 23:19:52 ram -''' patch71: added '|shell' section to emit verbatim code in Makefile.SH -''' patch71: new '|test' to conditionally generate Makefile sections -''' -''' Revision 3.0.1.1 1995/05/12 11:57:58 ram -''' patch54: updated my e-mail address -''' -''' Revision 3.0 1993/08/18 12:04:18 ram -''' Baseline for dist 3.0 netwide release. -''' +.\" $Id: jmake.man 3 2006-08-25 21:39:07Z rmanfredi $ +.\" +.\" Copyright (c) 1991-1997, 2004-2006, Raphael Manfredi +.\" +.\" You may redistribute only under the terms of the Artistic Licence, +.\" as specified in the README file that comes with the distribution. +.\" You may reuse parts of this distribution only within the terms of +.\" that same Artistic Licence; a copy of which may be found at the root +.\" of the source tree for dist 4.0. +.\" +.\" $Log: jmake.man,v $ +.\" Revision 3.0.1.3 2004/08/22 09:01:55 ram +.\" patch71: renamed |test as |case as the construct has its syntax +.\" patch71: added |subst section to allow variable substitutions +.\" +.\" Revision 3.0.1.2 2004/08/21 23:19:52 ram +.\" patch71: added '|shell' section to emit verbatim code in Makefile.SH +.\" patch71: new '|test' to conditionally generate Makefile sections +.\" +.\" Revision 3.0.1.1 1995/05/12 11:57:58 ram +.\" patch54: updated my e-mail address +.\" +.\" Revision 3.0 1993/08/18 12:04:18 ram +.\" Baseline for dist 3.0 netwide release. +.\" .TH JMAKE 1 ram .SH NAME jmake \- a generic makefile builder --- dist-3.5-30.orig/jmake/files/Jmake.rules +++ dist-3.5-30/jmake/files/Jmake.rules @@ -489,7 +489,7 @@ */ #define LinkFileList(step,list,dir,sub) @!\ step:: list @@\ - @case '${MFLAGS}' in *[i]*) set +e;; esac; \ @@\ + @case '${MFLAGS}' in *[i]*) set +e;; *) set -e;; esac; \ @@\ echo " cd" dir; cd dir; for i in list; do (set -x; $(LN) sub/$$i .); done @@ -1145,7 +1145,7 @@ */ #define CommonSubdirsRule(dirs) @!\ subdirs: @@\ - @case '${MFLAGS}' in *[ik]*) set +e;; esac; \ @@\ + @case '${MFLAGS}' in *[ik]*) set +e;; *) set -e;; esac; \ @@\ for i in dirs ;\ @@\ do \ @@\ (cd $$i ; echo $(VERB) "in $(DIR)$$i..."; \ @@\ @@ -1159,7 +1159,7 @@ */ #define NamedTargetSubdirsRule(dirs,name,verb,flags) @!\ name:: @@\ - @case '${MFLAGS}' in *[ik]*) set +e;; esac; \ @@\ + @case '${MFLAGS}' in *[ik]*) set +e;; *) set -e;; esac; \ @@\ for i in dirs ;\ @@\ do \ @@\ (cd $$i ; echo verb "in $(DIR)$$i..."; \ @@\ @@ -1386,7 +1386,7 @@ */ #define MakeMakeSubdirs(target) @!\ target:: @@\ - @case '${MFLAGS}' in *[ik]*) set +e;; esac; \ @@\ + @case '${MFLAGS}' in *[ik]*) set +e;; *) set -e;; esac; \ @@\ for i in $(SUBDIRS);\ @@\ do \ @@\ echo "Making "target" in $(DIR)$$i..."; \ @@\ @@ -1405,7 +1405,7 @@ */ #define MakeMakefilesSH() @!\ Makefiles.SH:: Makefile.SH @@\ - @case '${MFLAGS}' in *[ik]*) set +e;; esac; \ @@\ + @case '${MFLAGS}' in *[ik]*) set +e;; *) set -e;; esac; \ @@\ for i in $(SUBDIRS);\ @@\ do \ @@\ case "$(DIR)$$i/" in \ @@\ --- dist-3.5-30.orig/pat/patcil.SH +++ dist-3.5-30/pat/patcil.SH @@ -61,6 +61,8 @@ !GROK!THIS! cat >>patcil <<'!NO!SUBS!' +use File::Temp qw/ tempfile tempdir /; + $progname = &profile; # Read ~/.dist_profile require 'getopts.pl'; &usage unless $#ARGV >= 0; @@ -504,12 +506,12 @@ sub edit { local($text) = join("\n", @_); - open(TMP,">/tmp/cil$$") || die "Can't create /tmp/cil$$"; - print TMP $text; - close TMP; - system $EDITOR, "/tmp/cil$$"; - $text = `cat /tmp/cil$$`; - unlink "/tmp/cil$$"; + my $tmp = File::Temp->new(); + print $tmp $text; + close $tmp; + system $EDITOR, "$tmp"; + $text = `cat "$tmp"`; + unlink "$tmp"; $text; } --- dist-3.5-30.orig/pat/patdiff.SH +++ dist-3.5-30/pat/patdiff.SH @@ -49,6 +49,8 @@ !GROK!THIS! cat >>patdiff <<'!NO!SUBS!' +use File::Temp qw/ tempfile tempdir /; + $RCSEXT = ',v' unless $RCSEXT; $TOPDIR = ''; # We are at top-level directory @@ -159,9 +161,11 @@ close DIFF; system 'rcs', "-Nlastpat:$new", @files; } else { - ©right'expand("co -p -rlastpat $file", "/tmp/pdo$$"); - ©right'expand("co -p -r$new $file", "/tmp/pdn$$"); - open(DIFF, "$mydiff /tmp/pdo$$ /tmp/pdn$$ |") || + my $tmpo = File::Temp->new(); + my $tmpn = File::Temp->new(); + ©right'expand("co -p -rlastpat $file", "$tmpo"); + ©right'expand("co -p -r$new $file", "$tmpn"); + open(DIFF, "$mydiff $tmpo $tmpn |") || die "Can't run $mydiff"; while () { # Contextual or unified diff if ($. == 1) { @@ -177,7 +181,7 @@ } close DIFF; system 'rcs', "-Nlastpat:$new", @files; - unlink "/tmp/pdn$$", "/tmp/pdo$$"; + unlink "$tmpo", "$tmpn"; } } else { if ($mydiff eq '') { @@ -191,9 +195,11 @@ } close DIFF; } else { - system "co -p -rlastpat $files >/tmp/pdo$$"; - system "cp $file /tmp/pdn$$"; - open(DIFF, "$mydiff /tmp/pdo$$ /tmp/pdn$$ |") || + my $tmpo = File::Temp->new(); + my $tmpn = File::Temp->new(); + system "co -p -rlastpat $files >$tmpo"; + system "cp $file $tmpn"; + open(DIFF, "$mydiff $tmpo $tmpn |") || die "$progname: can't fork $mydiff: $!\n"; while () { # Contextual or unified diff @@ -209,7 +215,7 @@ print PATCH; } close DIFF; - unlink "/tmp/pdn$$", "/tmp/pdo$$"; + unlink "$tmpo", "$tmpn"; } } } --- dist-3.5-30.orig/pat/pat.man +++ dist-3.5-30/pat/pat.man @@ -1,42 +1,42 @@ .rn '' }` -''' $Id: pat.man 3 2006-08-25 21:39:07Z rmanfredi $ -''' -''' Copyright (c) 1991-1997, 2004-2006, Raphael Manfredi -''' -''' You may redistribute only under the terms of the Artistic Licence, -''' as specified in the README file that comes with the distribution. -''' You may reuse parts of this distribution only within the terms of -''' that same Artistic Licence; a copy of which may be found at the root -''' of the source tree for dist 4.0. -''' -''' $Log: pat.man,v $ -''' Revision 3.0.1.7 1997/02/28 16:32:45 ram -''' patch61: documents contents of the message sent by patnotify -''' -''' Revision 3.0.1.6 1995/09/25 09:20:41 ram -''' patch59: new -i option for patsend to add extra instructions -''' -''' Revision 3.0.1.5 1995/05/12 12:25:28 ram -''' patch54: updated my e-mail address -''' -''' Revision 3.0.1.4 1994/10/29 16:38:31 ram -''' patch36: documents new patlog script and the files it uses -''' patch36: the RCS layer section has been extended slightly -''' -''' Revision 3.0.1.3 1993/08/27 14:40:19 ram -''' patch7: random cleanup -''' -''' Revision 3.0.1.2 1993/08/25 14:05:02 ram -''' patch6: new -q option for patsend and patnotify -''' -''' Revision 3.0.1.1 1993/08/24 12:15:42 ram -''' patch3: added patnotify and patsnap -''' patch3: patcol has a new -S option -''' patch3: the users file built by mailagent is now listed under FILES -''' -''' Revision 3.0 1993/08/18 12:10:37 ram -''' Baseline for dist 3.0 netwide release. -''' +.\" $Id: pat.man 3 2006-08-25 21:39:07Z rmanfredi $ +.\" +.\" Copyright (c) 1991-1997, 2004-2006, Raphael Manfredi +.\" +.\" You may redistribute only under the terms of the Artistic Licence, +.\" as specified in the README file that comes with the distribution. +.\" You may reuse parts of this distribution only within the terms of +.\" that same Artistic Licence; a copy of which may be found at the root +.\" of the source tree for dist 4.0. +.\" +.\" $Log: pat.man,v $ +.\" Revision 3.0.1.7 1997/02/28 16:32:45 ram +.\" patch61: documents contents of the message sent by patnotify +.\" +.\" Revision 3.0.1.6 1995/09/25 09:20:41 ram +.\" patch59: new -i option for patsend to add extra instructions +.\" +.\" Revision 3.0.1.5 1995/05/12 12:25:28 ram +.\" patch54: updated my e-mail address +.\" +.\" Revision 3.0.1.4 1994/10/29 16:38:31 ram +.\" patch36: documents new patlog script and the files it uses +.\" patch36: the RCS layer section has been extended slightly +.\" +.\" Revision 3.0.1.3 1993/08/27 14:40:19 ram +.\" patch7: random cleanup +.\" +.\" Revision 3.0.1.2 1993/08/25 14:05:02 ram +.\" patch6: new -q option for patsend and patnotify +.\" +.\" Revision 3.0.1.1 1993/08/24 12:15:42 ram +.\" patch3: added patnotify and patsnap +.\" patch3: patcol has a new -S option +.\" patch3: the users file built by mailagent is now listed under FILES +.\" +.\" Revision 3.0 1993/08/18 12:10:37 ram +.\" Baseline for dist 3.0 netwide release. +.\" .de Sh .br .ne 5 @@ -48,10 +48,10 @@ .if t .sp .5v .if n .sp .. -''' -''' Set up \*(-- to give an unbreakable dash; -''' string Tr holds user defined translation string. -''' +.\" +.\" Set up \*(-- to give an unbreakable dash; +.\" string Tr holds user defined translation string. +.\" .ie n \{\ .tr \(*W-\*(Tr .ds -- \(*W- @@ -408,9 +408,9 @@ It will list all the patches and their \fISubject:\fR lines. This program knows about compressed patches and will decompress them while producing the listing. -''' -''' R C S L a y e r -''' +.\" +.\" R C S L a y e r +.\" .SH RCS LAYER This section describes the RCS layer, in case something in the tools breaks, so that you may fix your RCS files and restart the operation. --- dist-3.5-30.orig/bin/manicheck.man +++ dist-3.5-30/bin/manicheck.man @@ -1,18 +1,18 @@ -''' $Id: manicheck.man 3 2006-08-25 21:39:07Z rmanfredi $ -''' -''' Copyright (c) 1991-1997, 2004-2006, Raphael Manfredi -''' -''' You may redistribute only under the terms of the Artistic Licence, -''' as specified in the README file that comes with the distribution. -''' You may reuse parts of this distribution only within the terms of -''' that same Artistic Licence; a copy of which may be found at the root -''' of the source tree for dist 4.0. -''' -''' $Log: manicheck.man,v $ -''' Revision 3.0 1993/08/18 12:04:02 ram -''' Baseline for dist 3.0 netwide release. -''' -''' +.\" $Id: manicheck.man 3 2006-08-25 21:39:07Z rmanfredi $ +.\" +.\" Copyright (c) 1991-1997, 2004-2006, Raphael Manfredi +.\" +.\" You may redistribute only under the terms of the Artistic Licence, +.\" as specified in the README file that comes with the distribution. +.\" You may reuse parts of this distribution only within the terms of +.\" that same Artistic Licence; a copy of which may be found at the root +.\" of the source tree for dist 4.0. +.\" +.\" $Log: manicheck.man,v $ +.\" Revision 3.0 1993/08/18 12:04:02 ram +.\" Baseline for dist 3.0 netwide release. +.\" +.\" .TH MANICHECK 1 ram .SH NAME manicheck \- check manifest accuracy --- dist-3.5-30.orig/bin/packinit.man +++ dist-3.5-30/bin/packinit.man @@ -1,30 +1,30 @@ -''' $Id: packinit.man 3 2006-08-25 21:39:07Z rmanfredi $ -''' -''' Copyright (c) 1991-1997, 2004-2006, Raphael Manfredi -''' -''' You may redistribute only under the terms of the Artistic Licence, -''' as specified in the README file that comes with the distribution. -''' You may reuse parts of this distribution only within the terms of -''' that same Artistic Licence; a copy of which may be found at the root -''' of the source tree for dist 4.0. -''' -''' $Log: packinit.man,v $ -''' Revision 3.0.1.4 1995/07/25 13:31:38 ram -''' patch56: fixed a typo -''' -''' Revision 3.0.1.3 1995/05/12 11:57:38 ram -''' patch54: updated my e-mail address -''' -''' Revision 3.0.1.2 1994/10/29 15:45:17 ram -''' patch36: added new variables cext, shext, changelog and changercs -''' -''' Revision 3.0.1.1 1994/01/24 13:54:31 ram -''' patch16: now documents variables set in .package by packinit -''' -''' Revision 3.0 1993/08/18 12:04:06 ram -''' Baseline for dist 3.0 netwide release. -''' -''' +.\" $Id: packinit.man 3 2006-08-25 21:39:07Z rmanfredi $ +.\" +.\" Copyright (c) 1991-1997, 2004-2006, Raphael Manfredi +.\" +.\" You may redistribute only under the terms of the Artistic Licence, +.\" as specified in the README file that comes with the distribution. +.\" You may reuse parts of this distribution only within the terms of +.\" that same Artistic Licence; a copy of which may be found at the root +.\" of the source tree for dist 4.0. +.\" +.\" $Log: packinit.man,v $ +.\" Revision 3.0.1.4 1995/07/25 13:31:38 ram +.\" patch56: fixed a typo +.\" +.\" Revision 3.0.1.3 1995/05/12 11:57:38 ram +.\" patch54: updated my e-mail address +.\" +.\" Revision 3.0.1.2 1994/10/29 15:45:17 ram +.\" patch36: added new variables cext, shext, changelog and changercs +.\" +.\" Revision 3.0.1.1 1994/01/24 13:54:31 ram +.\" patch16: now documents variables set in .package by packinit +.\" +.\" Revision 3.0 1993/08/18 12:04:06 ram +.\" Baseline for dist 3.0 netwide release. +.\" +.\" .TH PACKINIT 1 ram .SH NAME packinit \- initialize or update your .package file @@ -145,4 +145,4 @@ .br Raphael Manfredi .SH "SEE ALSO" -dist(1). +dist(7). --- dist-3.5-30.orig/bin/perload +++ dist-3.5-30/bin/perload @@ -1,4 +1,4 @@ -: # feed this into perl +#! /usr/bin/perl '/bin/true' && eval 'exec perl -S $0 "$@"' if $running_under_some_shell; 'di'; @@ -478,9 +478,9 @@ .nr % 0 \" start at page 1 '; __END__ \" the perl compiler stops here -''' -''' From here on it's a standard manual page. -''' +.\" +.\" From here on it's a standard manual page. +.\" .TH PERLOAD 1 "June 20, 1992" .AT 3 --- dist-3.5-30.orig/bin/packinit.SH +++ dist-3.5-30/bin/packinit.SH @@ -16,6 +16,7 @@ esac echo "Extracting bin/packinit (with variable substitutions)" cat >packinit <