From 50b5b3ba58f4b94251b7676f15e5520466eca5b0 Mon Sep 17 00:00:00 2001 From: Manoj Srivastava Date: Sun, 27 Apr 2014 22:05:43 -0700 Subject: [master]: New upstream release Moved to a new build system. --- debian/Config/README | 4 + debian/Config/instruct | 3 + debian/Config/mailauthor | 4 + debian/Config/nomail | 0 debian/README.Debian | 21 + debian/changelog | 577 +++++ debian/clean | 1 + debian/compat | 1 + debian/config | 82 + debian/config.over | 4 + debian/control | 39 + debian/copyright | 33 + debian/dist.docs | 5 + debian/dist.install | 2 + debian/patches/0001-debcherry-fixup-patch.patch | 2479 ++++++++++++++++++++ ...2-Fix-unsafe-use-of-symbolic-links-in-tmp.patch | 116 + ...3-Fixed-a-problem-caused-during-the-merge.patch | 27 + ...-Fix-an-error-due-to-misintertpreting-.MT.patch | 26 + debian/patches/series | 5 + debian/po/POTFILES.in | 1 + debian/po/cs.po | 61 + debian/po/da.po | 54 + debian/po/de.po | 63 + debian/po/es.po | 77 + debian/po/fr.po | 64 + debian/po/it.po | 56 + debian/po/ja.po | 61 + debian/po/nl.po | 62 + debian/po/pl.po | 55 + debian/po/pt.po | 53 + debian/po/ru.po | 56 + debian/po/sk.po | 43 + debian/po/sv.po | 60 + debian/po/templates.pot | 48 + debian/po/vi.po | 51 + debian/postinst | 472 ++++ debian/postrm | 171 ++ debian/prerm | 129 + debian/rules | 85 + debian/source/format | 1 + debian/templates | 15 + debian/watch | 6 + 42 files changed, 5173 insertions(+) create mode 100644 debian/Config/README create mode 100644 debian/Config/instruct create mode 100644 debian/Config/mailauthor create mode 100644 debian/Config/nomail create mode 100644 debian/README.Debian create mode 100644 debian/changelog create mode 100644 debian/clean create mode 100644 debian/compat create mode 100755 debian/config create mode 100644 debian/config.over create mode 100644 debian/control create mode 100644 debian/copyright create mode 100644 debian/dist.docs create mode 100644 debian/dist.install create mode 100644 debian/patches/0001-debcherry-fixup-patch.patch create mode 100644 debian/patches/0002-Fix-unsafe-use-of-symbolic-links-in-tmp.patch create mode 100644 debian/patches/0003-Fixed-a-problem-caused-during-the-merge.patch create mode 100644 debian/patches/0004-Fix-an-error-due-to-misintertpreting-.MT.patch create mode 100644 debian/patches/series create mode 100644 debian/po/POTFILES.in create mode 100644 debian/po/cs.po create mode 100644 debian/po/da.po create mode 100644 debian/po/de.po create mode 100644 debian/po/es.po create mode 100644 debian/po/fr.po create mode 100644 debian/po/it.po create mode 100644 debian/po/ja.po create mode 100644 debian/po/nl.po create mode 100644 debian/po/pl.po create mode 100644 debian/po/pt.po create mode 100644 debian/po/ru.po create mode 100644 debian/po/sk.po create mode 100644 debian/po/sv.po create mode 100644 debian/po/templates.pot create mode 100644 debian/po/vi.po create mode 100755 debian/postinst create mode 100755 debian/postrm create mode 100755 debian/prerm create mode 100755 debian/rules create mode 100644 debian/source/format create mode 100644 debian/templates create mode 100644 debian/watch diff --git a/debian/Config/README b/debian/Config/README new file mode 100644 index 0000000..943361f --- /dev/null +++ b/debian/Config/README @@ -0,0 +1,4 @@ +This directory created by Configure to save information that should +persist across sessions. + +You may safely delete it if you wish. diff --git a/debian/Config/instruct b/debian/Config/instruct new file mode 100644 index 0000000..b0acbd3 --- /dev/null +++ b/debian/Config/instruct @@ -0,0 +1,3 @@ +srivasta +root +debian diff --git a/debian/Config/mailauthor b/debian/Config/mailauthor new file mode 100644 index 0000000..98a391c --- /dev/null +++ b/debian/Config/mailauthor @@ -0,0 +1,4 @@ +/* dist-3.0 - 18 Aug 1993 */ + +#define VERSION 3.0 +#define PATCHLEVEL 70 diff --git a/debian/Config/nomail b/debian/Config/nomail new file mode 100644 index 0000000..e69de29 diff --git a/debian/README.Debian b/debian/README.Debian new file mode 100644 index 0000000..9a3b35d --- /dev/null +++ b/debian/README.Debian @@ -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 + + diff --git a/debian/changelog b/debian/changelog new file mode 100644 index 0000000..bcf285b --- /dev/null +++ b/debian/changelog @@ -0,0 +1,577 @@ +dist (1:3.5-36-1) unstable; urgency=low + + * New upstream release + * Moved to a new build system. + + -- Manoj Srivastava Sun, 27 Apr 2014 21:07:57 -0700 + +dist (1:3.5-30-3.3) unstable; urgency=low + + * Non-maintainer upload. + * Add Build-Depends-Indep on libperl4-corelibs-perl too (Closes: #724051) + + -- Dominic Hargreaves Sun, 29 Sep 2013 16:42:02 +0100 + +dist (1:3.5-30-3.2) unstable; urgency=low + + * Non-maintainer upload. + * Add Depends on libperl4-corelibs-perl (Closes: #658949) + * Add Slovak Debconf translation (Closes: #661140) + + -- Dominic Hargreaves Mon, 23 Apr 2012 18:43:28 +0100 + +dist (1:3.5-30-3.1) unstable; urgency=low + + * Non-maintainer upload. + * Fix pending l10n issues. Debconf translations: + - Danish (Joe Hansen). Closes: #633397 + - Polish (Michał Kułach). Closes: #660883 + - Italian (Beatrice Torracca). Closes: #661357 + + -- Christian Perrier Wed, 29 Feb 2012 08:08:13 +0100 + +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 explicitly 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 explicitly 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 running 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 diff --git a/debian/clean b/debian/clean new file mode 100644 index 0000000..49e7049 --- /dev/null +++ b/debian/clean @@ -0,0 +1 @@ +config.over diff --git a/debian/compat b/debian/compat new file mode 100644 index 0000000..ec63514 --- /dev/null +++ b/debian/compat @@ -0,0 +1 @@ +9 diff --git a/debian/config b/debian/config new file mode 100755 index 0000000..92b72b1 --- /dev/null +++ b/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 + diff --git a/debian/config.over b/debian/config.over new file mode 100644 index 0000000..4bf5ea3 --- /dev/null +++ b/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 diff --git a/debian/control b/debian/control new file mode 100644 index 0000000..efc1789 --- /dev/null +++ b/debian/control @@ -0,0 +1,39 @@ +Source: dist +VCS-Git: git://anonscm.debian.org/users/srivasta/debian/dist.git +VCS-Browser: http://anonscm.debian.org/gitweb/?p=users/srivasta/debian/dist.git +Section: devel +Priority: optional +Maintainer: Manoj Srivastava +Standards-Version: 3.9.5.0 +Build-Depends-Indep: debhelper (>= 9.0.0), sharutils, po-debconf, + gettext, dpkg-dev (>= 1.16.0), + libperl4-corelibs-perl | perl (<< 5.12.3-7) + + + + +Package: dist +Architecture: all +Depends: perl, debconf (>= 1.2.0) | debconf-2.0, + ${misc:Depends}, libperl4-corelibs-perl | perl (<< 5.12.3-7) +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. diff --git a/debian/copyright b/debian/copyright new file mode 100644 index 0000000..e77dabf --- /dev/null +++ b/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 diff --git a/debian/dist.docs b/debian/dist.docs new file mode 100644 index 0000000..64250d5 --- /dev/null +++ b/debian/dist.docs @@ -0,0 +1,5 @@ +Credits +README +Wishlist +Known_bugs +debian/README.Debian diff --git a/debian/dist.install b/debian/dist.install new file mode 100644 index 0000000..ead77d0 --- /dev/null +++ b/debian/dist.install @@ -0,0 +1,2 @@ +/usr/share usr +/usr/bin usr diff --git a/debian/patches/0001-debcherry-fixup-patch.patch b/debian/patches/0001-debcherry-fixup-patch.patch new file mode 100644 index 0000000..ed010dd --- /dev/null +++ b/debian/patches/0001-debcherry-fixup-patch.patch @@ -0,0 +1,2479 @@ +From f4bf4be5bfb731b218b247f89c9ff8bd2c2833d9 Mon Sep 17 00:00:00 2001 +From: Manoj Srivastava +Date: Sun, 27 Apr 2014 22:02:31 -0700 +Subject: [PATCH 1/4] debcherry fixup patch + +3033685 [fix-man-page-typo]: Fix man page typos. + - no changes against upstream or conflicts +f749bdf [master[: First step towards moving to a new build system. + - no changes against upstream or conflicts +cfb9a7d [topic--man-fixes]: Fix man page comment schema + - extra changes or conflicts +4e1b636 Added the debian submodule. + - extra changes or conflicts +20c4ead Fix the buggy invocation of split + - extra changes or conflicts +48d7579 Incorporate previous changes to dist + - extra changes or conflicts +371472d Initial import of upstream branch + - extra changes or conflicts +--- + ChangeLog | 38 ++++---- + MANIFEST | 2 +- + bin/manicheck.man | 30 +++--- + bin/manilist.man | 48 +++++----- + bin/packinit.SH | 1 + + bin/packinit.man | 56 +++++------ + bin/perload | 8 +- + dist.man | 70 +++++++------- + jmake/bindex.SH | 2 +- + jmake/files/Jmake.rules | 10 +- + jmake/fixcpp.SH | 2 +- + jmake/jmake.SH | 2 +- + jmake/jmake.man | 92 +++++++++--------- + jmake/jmkmf.man | 34 +++---- + kit/kitpost.man | 34 +++---- + kit/kitsend.man | 34 +++---- + kit/makeSH.man | 30 +++--- + kit/makedist.man | 54 +++++------ + kit/manifake.man | 34 +++---- + mcon/Jmakefile | 2 +- + mcon/Makefile.SH | 2 +- + mcon/NOTES | 2 +- + mcon/U/Configdir.U | 2 +- + mcon/U/Finish.U | 2 +- + mcon/U/Guess.U | 2 +- + mcon/U/Head.U | 2 +- + mcon/U/Inhdr.U | 2 +- + mcon/U/Inlibc.U | 2 +- + mcon/U/Setvar.U | 2 +- + mcon/U/Warn_v7EXT.U | 2 +- + mcon/U/Warn_v7ND.U | 2 +- + mcon/U/abortsig.U | 2 +- + mcon/U/afs.U | 2 +- + mcon/U/bin.U | 2 +- + mcon/U/ccflags.U | 2 +- + mcon/U/d_bsdjmp.U | 2 +- + mcon/U/d_eofpipe.U | 2 +- + mcon/U/d_gethname.U | 2 +- + mcon/U/d_keepsig.U | 2 +- + mcon/U/d_newsadm.U | 2 +- + mcon/U/d_normsig.U | 2 +- + mcon/U/d_setpgrp.U | 2 +- + mcon/U/d_speedopt.U | 2 +- + mcon/U/d_tzmin.U | 2 +- + mcon/U/d_vfork.U | 4 +- + mcon/U/i_termio.U | 2 +- + mcon/U/myhostname.U | 2 +- + mcon/U/nametype.U | 2 +- + mcon/U/nis.U | 12 +++ + mcon/U/registers.U | 2 +- + mcon/U/sbrksmart.U | 2 +- + mcon/U/shm_for.U | 2 +- + mcon/U/sysman.U | 2 +- + mcon/U/uidtype.U | 2 +- + mcon/U/voidflags.U | 2 +- + mcon/U/yacc.U | 2 +- + mcon/man/mconfig.SH | 248 ++++++++++++++++++++++++------------------------ + mcon/man/mlint.SH | 102 ++++++++++---------- + mcon/man/mxref.SH | 58 +++++------ + pat/pat.man | 102 ++++++++++---------- + 60 files changed, 595 insertions(+), 582 deletions(-) + +diff --git a/ChangeLog b/ChangeLog +index 3dce502..0726af4 100644 +--- a/ChangeLog ++++ b/ChangeLog +@@ -61,7 +61,7 @@ Fri Feb 28 17:48:41 MET 1997 Raphael Manfredi + Andreas Koenig on the perl5-porters + mailing list. Thanks! + +- Now sets sbrksmart to undef explicitely when lacking sbrk(). ++ Now sets sbrksmart to undef explicitly when lacking sbrk(). + Forgot a cast when using return value from sbrk(). Both fixes + reported by Xavier Le Vourch . + +@@ -1038,7 +1038,7 @@ Wed Jan 11 17:03:22 MET 1995 Raphael Manfredi + * mcon/U/orderlib.U: Allows hint files to specify their own value for + 'ranlib'. + +- * mcon/U/sbrksmart.U: Now sets sbrksmart to undef explicitely when ++ * mcon/U/sbrksmart.U: Now sets sbrksmart to undef explicitly when + lacking sbrk(). Forgot a cast when using return value from sbrk(). + + * mcon/U/spitshell.U: Use 'test -f' instead of 'test -r' for +@@ -1083,7 +1083,7 @@ Mon Oct 31 10:57:05 MET 1994 Raphael Manfredi + in their ?MAKE: line due to the way metalint performs its visible + symbol lookup (by following dependencies recursively and implicitely + placing Init at the top). Since Options is no longer a dependency +- of Init, Myread.U and Csym.U now explicitely mention Options in ++ of Init, Myread.U and Csym.U now explicitly mention Options in + their dependency line. + + Also, the leading comment in Chk_MANI.U now explains how this +@@ -1302,12 +1302,12 @@ Sat Oct 29 18:16:03 MET 1994 Raphael Manfredi + HOME to the ?T: line since metalint now checks ${HOME}. + + * mcon/U/Guess.U: Added ?F: line for metalint file checking. Call +- ./xenix explicitely instead of relying on PATH. ++ ./xenix explicitly instead of relying on PATH. + + * mcon/U/Head.U: Make sure ENV is unset before calling /bin/ksh. + + * mcon/U/Setvar.U, mcon/U/Inhdr.U, mcon/U/Inlibc.U: Call ./whoa +- explicitely instead of relying on PATH. ++ explicitly instead of relying on PATH. + + * mcon/U/Loc.U: Added ?F: line for metalint file checking. Be + careful and guard against wildcard searching (ADO). +@@ -1323,10 +1323,10 @@ Sat Oct 29 18:16:03 MET 1994 Raphael Manfredi + * mcon/U/Typedef.U: Don't clobber visible 'val' variable, use + 'varval' instead. + +- * mcon/U/Warn_v7EXT.U, mcon/U/Warn_v7ND.U: Call ./v7 explicitely ++ * mcon/U/Warn_v7EXT.U, mcon/U/Warn_v7ND.U: Call ./v7 explicitly + instead of relying on PATH. + +- * mcon/U/abortsig.U, mcon/U/d_bsdjmp.U: Call ./usg explicitely ++ * mcon/U/abortsig.U, mcon/U/d_bsdjmp.U: Call ./usg explicitly + instead of relying on PATH. + + * mcon/U/d_attribut.U, mcon/U/d_gconvert.U, mcon/U/d_drem.U, +@@ -1358,19 +1358,19 @@ Sat Oct 29 18:16:03 MET 1994 Raphael Manfredi + McQueen). + + * mcon/U/d_keepsig.U, mcon/U/d_eofpipe.U, mcon/U/d_normsig.U, +- mcon/U/d_tzmin.U: Call ./bsd explicitely instead of relying on PATH. ++ mcon/U/d_tzmin.U: Call ./bsd explicitly instead of relying on PATH. + +- * mcon/U/d_gethname.U: Call ./xenix explicitely instead of relying on ++ * mcon/U/d_gethname.U: Call ./xenix explicitly instead of relying on + PATH. + +- * mcon/U/d_newsadm.U: Call ./eunice explicitely instead of relying on ++ * mcon/U/d_newsadm.U: Call ./eunice explicitly instead of relying on + PATH. + + * mcon/U/d_setpgrp.U: Added 'ldflags' to the test compile line (ADO). +- Call ./usg explicitely instead of relying on PATH. ++ Call ./usg explicitly instead of relying on PATH. + + * mcon/U/registers.U, mcon/U/shm_for.U, mcon/U/d_speedopt.U: Call +- ./Cppsym explicitely instead of relying on PATH. ++ ./Cppsym explicitly instead of relying on PATH. + + * mcon/U/d_time.U: Now uses new Typedef unit to compute type + information (ADO). +@@ -1384,7 +1384,7 @@ Sat Oct 29 18:16:03 MET 1994 Raphael Manfredi + * mcon/U/i_neterrno.U: Forgot to initialize 'val' to an empty value + (ADO). + +- * mcon/U/i_termio.U: Call ./usg and ./Cppsym explicitely instead of ++ * mcon/U/i_termio.U: Call ./usg and ./Cppsym explicitly instead of + relying on PATH. + + * mcon/U/lex.U: Spurious single quote could cause Configure to crash. +@@ -1398,10 +1398,10 @@ Sat Oct 29 18:16:03 MET 1994 Raphael Manfredi + * mcon/U/mailfile.U: The Loc unit was missing from the dependency + line. + +- * mcon/U/myhostname.U: Call ./xenix explicitely instead of relying on ++ * mcon/U/myhostname.U: Call ./xenix explicitly instead of relying on + PATH. Now uses new Tr unit to convert to/from lowercase. + +- * mcon/U/nametype.U: Call ./usg and ./bsd explicitely instead of ++ * mcon/U/nametype.U: Call ./usg and ./bsd explicitly instead of + relying on PATH. + + * mcon/U/orderlib.U: Now performs a real small compile for accurate +diff --git a/MANIFEST b/MANIFEST +index ffd22b5..d3d2050 100644 +--- a/MANIFEST ++++ b/MANIFEST +@@ -150,7 +150,7 @@ mcon/U/cc.U Which C compiler should be used? + mcon/U/ccflags.U Any additional C flags? + mcon/U/cf_email.U Computes user's e-mail address + mcon/U/cf_name.U Computes user's full name +-mcon/U/cf_who.U Who configured the sytem, where and when ++mcon/U/cf_who.U Who configured the system, where and when + mcon/U/charorder.U Character order within a byte + mcon/U/charsize.U What is the size of "char"? + mcon/U/contains.U Makes status-returning grep +diff --git a/bin/manicheck.man b/bin/manicheck.man +index 3419a03..96c71ab 100644 +--- a/bin/manicheck.man ++++ b/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 +diff --git a/bin/manilist.man b/bin/manilist.man +index a2efb86..5d51c53 100644 +--- a/bin/manilist.man ++++ b/bin/manilist.man +@@ -1,27 +1,27 @@ +-''' $Id: manilist.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: manilist.man,v $ +-''' Revision 3.0.1.3 1995/05/12 11:57:31 ram +-''' patch54: updated my e-mail address +-''' +-''' Revision 3.0.1.2 1994/01/24 13:52:55 ram +-''' patch16: typo fix +-''' +-''' Revision 3.0.1.1 1993/08/24 12:11:02 ram +-''' patch3: typo fix +-''' +-''' Revision 3.0 1993/08/18 12:04:04 ram +-''' Baseline for dist 3.0 netwide release. +-''' +-''' ++.\" $Id: manilist.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: manilist.man,v $ ++.\" Revision 3.0.1.3 1995/05/12 11:57:31 ram ++.\" patch54: updated my e-mail address ++.\" ++.\" Revision 3.0.1.2 1994/01/24 13:52:55 ram ++.\" patch16: typo fix ++.\" ++.\" Revision 3.0.1.1 1993/08/24 12:11:02 ram ++.\" patch3: typo fix ++.\" ++.\" Revision 3.0 1993/08/18 12:04:04 ram ++.\" Baseline for dist 3.0 netwide release. ++.\" ++.\" + .TH MANILIST 1 ram + .SH NAME + manilist \- report status of files in a source directory +diff --git a/bin/packinit.SH b/bin/packinit.SH +index d0e6d9f..aed01b3 100755 +--- a/bin/packinit.SH ++++ b/bin/packinit.SH +@@ -16,6 +16,7 @@ case "$0" in + esac + echo "Extracting bin/packinit (with variable substitutions)" + cat >packinit < (version 2.0) + .br + Raphael Manfredi + .SH "SEE ALSO" +-dist(1). ++dist(7). +diff --git a/bin/perload b/bin/perload +index 4dc77c2..e9e5544 100755 +--- a/bin/perload ++++ b/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 @@ sub q { + .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 +diff --git a/dist.man b/dist.man +index ebb8ccb..da0e60e 100644 +--- a/dist.man ++++ b/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 +diff --git a/jmake/bindex.SH b/jmake/bindex.SH +index ca73f5e..ee45b2e 100755 +--- a/jmake/bindex.SH ++++ b/jmake/bindex.SH +@@ -20,7 +20,7 @@ $startperl + !GROK!THIS! + $spitshell >>bindex <<'!NO!SUBS!' + eval 'exec perl -S $0 ${1+"$@"}' +- if $runnning_under_some_shell; ++ if $running_under_some_shell; + + # $Id: bindex.SH 31 2010-03-06 20:15:24Z rmanfredi $ + # +diff --git a/jmake/files/Jmake.rules b/jmake/files/Jmake.rules +index 8877f17..0b0c02d 100644 +--- a/jmake/files/Jmake.rules ++++ b/jmake/files/Jmake.rules +@@ -512,7 +512,7 @@ local_deinstall.man:: @@\ + */ + #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 + + +@@ -1191,7 +1191,7 @@ local_realclean:: @@\ + */ + #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..."; \ @@\ +@@ -1205,7 +1205,7 @@ subdirs: @@\ + */ + #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..."; \ @@\ +@@ -1449,7 +1449,7 @@ MakeLintSubdirs(dirs,lintlib) + */ + #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..."; \ @@\ +@@ -1468,7 +1468,7 @@ target:: @@\ + */ + #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 \ @@\ +diff --git a/jmake/fixcpp.SH b/jmake/fixcpp.SH +index 092a4ca..fa816f4 100755 +--- a/jmake/fixcpp.SH ++++ b/jmake/fixcpp.SH +@@ -19,7 +19,7 @@ echo "Extracting jmake/fixcpp (with variable substitutions)" + $spitshell >fixcpp <jmake <: same as before, with a leading tab. + .sp + .IP \(bu +-|skip: skips text until a line starting with '-skip' is found. ++|skip: skips text until a line starting with '\-skip' is found. + .sp + .IP \(bu + |subst: begins section where lines will be subject to variable substitution, +-until '-subst' is found. This means that when the Makefile.SH is run, all ++until '\-subst' is found. This means that when the Makefile.SH is run, all + instances of $var within the \fIsubst\fR section will be substituted by the + shell. + .sp + .IP \(bu +-|shell: emits section until matching '-shell' as-is in the generated ++|shell: emits section until matching '\-shell' as-is in the generated + Makefile.SH. This can be useful to prepare \fI|case\fR sections. It is + not allowed to nest \fIshell\fR sections. + .sp +@@ -213,15 +213,15 @@ not allowed to nest \fIshell\fR sections. + its leading '$' sign) and a case-style pattern, for instance the string + "var in f*". It will generate the corresponding "case" test in the + Makefile.SH on the "$var" value and only if this test is true will the +-section until the matching '-case' be generated in the Makefile when ++section until the matching '\-case' be generated in the Makefile when + Makefile.SH is run. It is possible to nest \fIcase\fR sections freely. + .sp + .IP \(bu +-|expand : expand lines until '-expand' with . A ++|expand : expand lines until '\-expand' with . A + complete example is shown below. + .sp + .IP \(bu +-|once : text up to '-once' appears only the first time. ++|once : text up to '\-once' appears only the first time. + .sp + .PP + The '|' commands cannot be nested, unless otherwise noted. +@@ -239,7 +239,7 @@ Here is a way to implement a logical OR: + ?SYMBOL:text /* Keeps text if SYMBOL */ + %SYMBOL:|skip + %TOKEN:text /* Keeps text if not TOKEN */ +--skip ++\-skip + .fi + .in -5 + .sp +@@ -256,7 +256,7 @@ not (p or q) <=> not p and not q + /* Implements SYMBOL or not TOKEN (attempt #2) */ + %SYMBOL:?TOKEN:|skip + text /* If SYMBOL or not TOKEN */ +--skip ++\-skip + .sp + .in -5 + .fi +@@ -273,7 +273,7 @@ an example first: + |expand a!foo bar! b!yes no! + !a:: + echo !a, !b +--expand ++\-expand + .fi + .in -5 + .sp +@@ -302,7 +302,7 @@ It is defined in \fIJmake.rules\fR as: + #define Expand(rule, pattern) @!\\ + |expand pattern @!\\ + rule @!\\ +--expand ++\-expand + .sp + .in -5 + .fi +@@ -316,7 +316,7 @@ A = foo bar + + #define Rule @!\\ + $(DIR)/!a^^.o: !a^^.o @@\\ +- $(CC) -c !a^^.c @@\\ ++ $(CC) \-c !a^^.c @@\\ + $(MV) !a^^.o $(DIR) + + Expand(Rule, a!$(A)!) +@@ -328,11 +328,11 @@ which will generate in \fIMakefile.SH\fR: + .in +5 + .nf + $(DIR)/foo.o: foo.o +- $(CC) -c foo.c ++ $(CC) \-c foo.c + $(MV) foo.o $(DIR) + + $(DIR)/bar.o: bar.o +- $(CC) -c bar.c ++ $(CC) \-c bar.c + $(MV) bar.o $$(DIR) + .sp + .in -5 +@@ -349,7 +349,7 @@ values for the \fBfirst\fR parameter. If other parameters have less + substitution values, they will get void ones. + .sp + .PP +-It is possible to add a regular expression at the end of '-expand'. This ++It is possible to add a regular expression at the end of '\-expand'. This + regular expression will be removed from the final set of expansion at the + end of each line. It is also possible to do substitutions in the expanded + item, by using the syntax (if 'f' is the expanded variable) +@@ -371,11 +371,11 @@ SRC = foo.c bar.c + OBJ = \\ + |expand f!$(SRC)! + !f:\\.c=\\.o \\ +--expand \\\\ ++\-expand \\\\ + INC = \\ + |expand f!$(OBJ)! + !f:\\.o=\\.h \\ +--expand \\\\ ++\-expand \\\\ + .fi + .in -5 + .sp +@@ -398,7 +398,7 @@ as backslash, point, etc... + .sp + .PP + The \fIonce\fR command is tagged with a name. The first time the name +-appears, the once construct is ignored and the text up to '-once' will ++appears, the once construct is ignored and the text up to '\-once' will + be copied in the generated Makefile.SH. However, future occurences of + the same name will be ignored (\fIonce\fR will behave like \fIskip\fR). + .sp +@@ -408,7 +408,7 @@ Example: + .nf + |once this_is_a_name + +--once ++\-once + .sp + .in -5 + .fi +@@ -423,7 +423,7 @@ in the Makefile.SH. For instance, the following section in the Jmakefile: + case "$d_usegtk1" in + define) glib=1; gtk=1;; + esac +--shell ++\-shell + .sp + .in -5 + .fi +@@ -440,7 +440,7 @@ parts of the Makefile only when building for GTK1 using glib-1.x: + |case glib in 1 + display: + echo "Building for glib-1.x" +--case ++\-case + .sp + .in -5 + .fi +@@ -482,7 +482,7 @@ User-defined variables: + .sp + The user may define CFLAGS, LDFLAGS or DPFLAGS as additional flags to be used + in C compilation, linking phase or depend target. It is thus possible to add +-some extra flags such as -I or libraries for Makefiles in specific ++some extra flags such as \-I or libraries for Makefiles in specific + sub-directories. + .sp + .PD +diff --git a/jmake/jmkmf.man b/jmake/jmkmf.man +index 60595e3..4411f2f 100644 +--- a/jmake/jmkmf.man ++++ b/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 +diff --git a/kit/kitpost.man b/kit/kitpost.man +index e840525..6777e5e 100644 +--- a/kit/kitpost.man ++++ b/kit/kitpost.man +@@ -1,20 +1,20 @@ +-''' $Id: kitpost.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: kitpost.man,v $ +-''' Revision 3.0.1.2 1995/05/12 11:58:09 ram +-''' patch54: updated my e-mail address +-''' +-''' Revision 3.0.1.1 1994/05/06 13:55:01 ram +-''' patch23: created +-''' ++.\" $Id: kitpost.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: kitpost.man,v $ ++.\" Revision 3.0.1.2 1995/05/12 11:58:09 ram ++.\" patch54: updated my e-mail address ++.\" ++.\" Revision 3.0.1.1 1994/05/06 13:55:01 ram ++.\" patch23: created ++.\" + .TH KITSEND 1 ram + .SH NAME + kitpost \- posts distribution kits +diff --git a/kit/kitsend.man b/kit/kitsend.man +index 0bcfb0f..3915dd7 100644 +--- a/kit/kitsend.man ++++ b/kit/kitsend.man +@@ -1,20 +1,20 @@ +-''' $Id: kitsend.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: kitsend.man,v $ +-''' Revision 3.0.1.1 1994/05/06 14:00:11 ram +-''' patch23: documented new -V and -h options +-''' +-''' Revision 3.0 1993/08/18 12:04:26 ram +-''' Baseline for dist 3.0 netwide release. +-''' ++.\" $Id: kitsend.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: kitsend.man,v $ ++.\" Revision 3.0.1.1 1994/05/06 14:00:11 ram ++.\" patch23: documented new -V and -h options ++.\" ++.\" Revision 3.0 1993/08/18 12:04:26 ram ++.\" Baseline for dist 3.0 netwide release. ++.\" + .TH KITSEND 1 ram + .SH NAME + kitsend \- sends distribution kits +diff --git a/kit/makeSH.man b/kit/makeSH.man +index 5995cfe..ef8ed89 100644 +--- a/kit/makeSH.man ++++ b/kit/makeSH.man +@@ -1,18 +1,18 @@ +-''' $Id: makeSH.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: makeSH.man,v $ +-''' Revision 3.0 1993/08/18 12:04:27 ram +-''' Baseline for dist 3.0 netwide release. +-''' +-''' ++.\" $Id: makeSH.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: makeSH.man,v $ ++.\" Revision 3.0 1993/08/18 12:04:27 ram ++.\" Baseline for dist 3.0 netwide release. ++.\" ++.\" + .TH MAKESH 1 LOCAL + .SH NAME + makeSH \- a .SH script maker +diff --git a/kit/makedist.man b/kit/makedist.man +index 8312a92..52ffa3d 100644 +--- a/kit/makedist.man ++++ b/kit/makedist.man +@@ -1,25 +1,25 @@ + .rn '' }` +-''' $Id: makedist.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: makedist.man,v $ +-''' Revision 3.0.1.2 1995/05/12 11:58:16 ram +-''' patch54: updated my e-mail address +-''' +-''' Revision 3.0.1.1 1994/05/06 14:00:50 ram +-''' patch23: now mentions kitpost and kitsend +-''' +-''' Revision 3.0 1993/08/18 12:04:31 ram +-''' Baseline for dist 3.0 netwide release. +-''' +-''' ++.\" $Id: makedist.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: makedist.man,v $ ++.\" Revision 3.0.1.2 1995/05/12 11:58:16 ram ++.\" patch54: updated my e-mail address ++.\" ++.\" Revision 3.0.1.1 1994/05/06 14:00:50 ram ++.\" patch23: now mentions kitpost and kitsend ++.\" ++.\" Revision 3.0 1993/08/18 12:04:31 ram ++.\" Baseline for dist 3.0 netwide release. ++.\" ++.\" + .de Sh + .br + .ne 5 +@@ -31,11 +31,11 @@ + .if t .sp .5v + .if n .sp + .. +-''' +-''' Set up \*(-- to give an unbreakable dash; +-''' string Tr holds user defined translation string. +-''' Bell System Logo is used as a dummy character. +-''' ++.\" ++.\" Set up \*(-- to give an unbreakable dash; ++.\" string Tr holds user defined translation string. ++.\" Bell System Logo is used as a dummy character. ++.\" + .ie n \{\ + .tr \(*W-\*(Tr + .ds -- \(*W- +@@ -100,7 +100,7 @@ automatically split in smaller parts. Only the first 11 characters of the file + will be kept though, and \fImakedist\fR will abort if two distinct files are + to be split and have the same 11 first characters in their names. The split + files will automatically be reconstructed at the end of the archive extraction +-by runnning a script generated in PACKNOTES. ++by running a script generated in PACKNOTES. + .PP + You may then mail your kits via \fIkitsend\fR or post them with \fIkitpost\fR. + .SH OPTIONS +diff --git a/kit/manifake.man b/kit/manifake.man +index bb39d75..f5df926 100644 +--- a/kit/manifake.man ++++ b/kit/manifake.man +@@ -1,20 +1,20 @@ +-''' $Id: manifake.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: manifake.man,v $ +-''' Revision 3.0.1.1 1995/05/12 11:58:21 ram +-''' patch54: updated my e-mail address +-''' +-''' Revision 3.0 1993/08/18 12:04:33 ram +-''' Baseline for dist 3.0 netwide release. +-''' ++.\" $Id: manifake.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: manifake.man,v $ ++.\" Revision 3.0.1.1 1995/05/12 11:58:21 ram ++.\" patch54: updated my e-mail address ++.\" ++.\" Revision 3.0 1993/08/18 12:04:33 ram ++.\" Baseline for dist 3.0 netwide release. ++.\" + .TH MANIFAKE 1 ram + .SH NAME + manifake \- creates a MANIFEST.new out of a MANIFEST file +diff --git a/mcon/Jmakefile b/mcon/Jmakefile +index b5579cd..7eafa32 100644 +--- a/mcon/Jmakefile ++++ b/mcon/Jmakefile +@@ -20,7 +20,7 @@ + ;# patch16: added dependency generation stage + ;# + ;# Revision 3.0.1.2 1993/11/02 10:40:01 ram +-;# patch14: now invokes perload explicitely via perl executable ++;# patch14: now invokes perload explicitly via perl executable + ;# + ;# Revision 3.0.1.1 1993/08/25 08:46:44 ram + ;# patch6: split unit installation to avoid shell command line overflow +diff --git a/mcon/Makefile.SH b/mcon/Makefile.SH +index 54a10b6..64b62d5 100755 +--- a/mcon/Makefile.SH ++++ b/mcon/Makefile.SH +@@ -81,7 +81,7 @@ $spitshell >>Makefile <<'!NO!SUBS!' + # patch16: added dependency generation stage + # + # Revision 3.0.1.2 1993/11/02 10:40:01 ram +-# patch14: now invokes perload explicitely via perl executable ++# patch14: now invokes perload explicitly via perl executable + # + # Revision 3.0.1.1 1993/08/25 08:46:44 ram + # patch6: split unit installation to avoid shell command line overflow +diff --git a/mcon/NOTES b/mcon/NOTES +index b6762e0..542910f 100644 +--- a/mcon/NOTES ++++ b/mcon/NOTES +@@ -144,7 +144,7 @@ For instance, d_const.U writes: + ?C:HASCONST ~ %<: + + so that the HASCONST hype is loaded iff the unit (%<) is wanted. This is why +-the ?H: lines are also explicitely tied to the wanted-ness of the d_const ++the ?H: lines are also explicitly tied to the wanted-ness of the d_const + symbol, by writing: + + ?H:?%<:#$d_const HASCONST /**/ +diff --git a/mcon/U/Configdir.U b/mcon/U/Configdir.U +index f9a6c00..6833542 100644 +--- a/mcon/U/Configdir.U ++++ b/mcon/U/Configdir.U +@@ -10,7 +10,7 @@ + ?RCS: + ?RCS: $Log: Configdir.U,v $ + ?RCS: Revision 3.0.1.1 1997/02/28 14:58:36 ram +-?RCS: patch61: have README explicitely mention the package name ++?RCS: patch61: have README explicitly mention the package name + ?RCS: + ?RCS: Revision 3.0 1993/08/18 12:04:49 ram + ?RCS: Baseline for dist 3.0 netwide release. +diff --git a/mcon/U/Finish.U b/mcon/U/Finish.U +index da3da8e..2848f2b 100644 +--- a/mcon/U/Finish.U ++++ b/mcon/U/Finish.U +@@ -74,7 +74,7 @@ esac + + ?X: + ?X: Turn silent mode off from now on (we want a verbose file extraction). +-?X: This means we have to explicitely test for '$silent' from now on to ++?X: This means we have to explicitly test for '$silent' from now on to + ?X: strip off any verbose messages. + ?X: + echo " " +diff --git a/mcon/U/Guess.U b/mcon/U/Guess.U +index 6f6e6b4..4080a17 100644 +--- a/mcon/U/Guess.U ++++ b/mcon/U/Guess.U +@@ -14,7 +14,7 @@ + ?RCS: + ?RCS: Revision 3.0.1.4 1994/10/29 15:53:55 ram + ?RCS: patch36: added ?F: line for metalint file checking +-?RCS: patch36: call ./xenix explicitely instead of relying on PATH ++?RCS: patch36: call ./xenix explicitly instead of relying on PATH + ?RCS: + ?RCS: Revision 3.0.1.3 1993/12/15 08:14:35 ram + ?RCS: patch15: variable d_bsd was not always set properly +diff --git a/mcon/U/Head.U b/mcon/U/Head.U +index b0acc81..568597b 100644 +--- a/mcon/U/Head.U ++++ b/mcon/U/Head.U +@@ -234,7 +234,7 @@ true/[a-z]*) + ;; + esac + ?X: Warn them if they use ksh on other systems, which are those where +-?X: we don't need ksh nor want to avoid it explicitely, yet are using it. ++?X: we don't need ksh nor want to avoid it explicitly, yet are using it. + case "$inksh/$needksh-$avoidksh-" in + true/--) + cat < /etc/passwd (WED) +diff --git a/mcon/U/nis.U b/mcon/U/nis.U +index 3bbcab9..7ed806e 100644 +--- a/mcon/U/nis.U ++++ b/mcon/U/nis.U +@@ -165,4 +165,16 @@ case "$passcat" in + '') 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 + +diff --git a/mcon/U/registers.U b/mcon/U/registers.U +index 29a1d5d..c3197bd 100644 +--- a/mcon/U/registers.U ++++ b/mcon/U/registers.U +@@ -13,7 +13,7 @@ + ?RCS: patch61: removed empty ?LINT lines + ?RCS: + ?RCS: Revision 3.0.1.1 1994/10/29 16:28:33 ram +-?RCS: patch36: call ./Cppsym explicitely instead of relying on PATH ++?RCS: patch36: call ./Cppsym explicitly instead of relying on PATH + ?RCS: + ?RCS: Revision 3.0 1993/08/18 12:09:41 ram + ?RCS: Baseline for dist 3.0 netwide release. +diff --git a/mcon/U/sbrksmart.U b/mcon/U/sbrksmart.U +index 40ed078..5484af1 100644 +--- a/mcon/U/sbrksmart.U ++++ b/mcon/U/sbrksmart.U +@@ -10,7 +10,7 @@ + ?RCS: + ?RCS: $Log: sbrksmart.U,v $ + ?RCS: Revision 3.0.1.2 1995/01/11 15:35:41 ram +-?RCS: patch45: now sets sbrksmart to undef explicitely when lacking sbrk() ++?RCS: patch45: now sets sbrksmart to undef explicitly when lacking sbrk() + ?RCS: patch45: forgot a cast when using return value from sbrk() + ?RCS: + ?RCS: Revision 3.0.1.1 1994/01/24 14:16:45 ram +diff --git a/mcon/U/shm_for.U b/mcon/U/shm_for.U +index 5461257..c2c7c3a 100644 +--- a/mcon/U/shm_for.U ++++ b/mcon/U/shm_for.U +@@ -10,7 +10,7 @@ + ?RCS: + ?RCS: $Log: shm_for.U,v $ + ?RCS: Revision 3.0.1.1 1994/10/29 16:28:37 ram +-?RCS: patch36: call ./Cppsym explicitely instead of relying on PATH ++?RCS: patch36: call ./Cppsym explicitly instead of relying on PATH + ?RCS: + ?RCS: Revision 3.0 1993/08/18 12:09:46 ram + ?RCS: Baseline for dist 3.0 netwide release. +diff --git a/mcon/U/sysman.U b/mcon/U/sysman.U +index 5c38d0b..8a010ad 100644 +--- a/mcon/U/sysman.U ++++ b/mcon/U/sysman.U +@@ -10,7 +10,7 @@ + ?RCS: + ?RCS: $Log: sysman.U,v $ + ?RCS: Revision 3.0.1.2 1994/06/20 07:08:43 ram +-?RCS: patch30: now explicitely states that /usr/man/man1 is the default ++?RCS: patch30: now explicitly states that /usr/man/man1 is the default + ?RCS: patch30: added /usr/local/man/man1 to the search list + ?RCS: + ?RCS: Revision 3.0.1.1 1993/09/13 16:13:50 ram +diff --git a/mcon/U/uidtype.U b/mcon/U/uidtype.U +index f34e581..e5d60ba 100644 +--- a/mcon/U/uidtype.U ++++ b/mcon/U/uidtype.U +@@ -17,7 +17,7 @@ + ?RCS: + ?RCS: Revision 3.0.1.1 1994/05/13 15:28:27 ram + ?RCS: patch27: made conform to its gidtype.U companion +-?RCS: patch27: question now explicitely mentions getuid() ++?RCS: patch27: question now explicitly mentions getuid() + ?RCS: + ?RCS: Revision 3.0 1993/08/18 12:09:56 ram + ?RCS: Baseline for dist 3.0 netwide release. +diff --git a/mcon/U/voidflags.U b/mcon/U/voidflags.U +index e970bfc..5bcf0aa 100644 +--- a/mcon/U/voidflags.U ++++ b/mcon/U/voidflags.U +@@ -29,7 +29,7 @@ + ?S:defvoidused: + ?S: This variable contains the default value of the VOIDUSED symbol (15). + ?S:. +-?X: Exceptionally, we have to explicitely alias the symbol name for ++?X: Exceptionally, we have to explicitly alias the symbol name for + ?X: config_h.SH, otherwise the comment would not appear. + ?C:VOIDFLAGS ~ %<: + ?C: This symbol indicates how much support of the void type is given by this +diff --git a/mcon/U/yacc.U b/mcon/U/yacc.U +index 63a4678..60b466d 100644 +--- a/mcon/U/yacc.U ++++ b/mcon/U/yacc.U +@@ -74,7 +74,7 @@ esac + $cat <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 running 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 +@@ -304,7 +304,7 @@ formats allowed: + ?X: A contrived example + ?X: + ?MAKE:d_one two: three +four Five +-?MAKE: -pick add \$@ %< ++?MAKE: \-pick add \$@ %< + ?Y:DEFAULT + ?S:d_one: + ?S: First shell symbol, conditionally defines ONE. +@@ -365,10 +365,10 @@ of general interest. + .PP + Notes for writing .U files: + .IP * 5 +-Always use "rm -f" because there are systems where rm is interactive by ++Always use "rm \-f" because there are systems where rm is interactive by + default. + .IP * +-Do not use "set -- ..." because '--' does not work with every shell. Use ++Do not use "set \-\- ..." because '\-\-' does not work with every shell. Use + "set x ...; shift". + .IP * + Do not use "unset ENV" since unset is not fully portable. Say "ENV=''" +@@ -377,7 +377,7 @@ instead. + Always use echo " " (with a space) because of Eunice systems. + .IP * + Only use \fBtest\fR with \-r, \-w, \-f or \-d since those are the only +-portable switches. In particular, avoid "test -x". ++portable switches. In particular, avoid "test \-x". + .IP * + Use only programs that came with V7, so that you know everyone has them. + .IP * +@@ -417,7 +417,7 @@ Use the \fI\$_o\fR and \fI\$_a\fR variables instead (see Unix.U). + .IP * + When doing a compile-link-execute test, always write it like this: + .Ex +-\$\&cc \$\&ccflags \$\&ldflags try.c -o try \$\&libs ++\$\&cc \$\&ccflags \$\&ldflags try.c \-o try \$\&libs + .Ef + because some systems require that linking flags be specified before + the compiled target (with the exception of trailing linking libraries). +@@ -459,9 +459,9 @@ UU/* + 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 +@@ -514,7 +514,7 @@ not be lost when facing a new distribution. + .TP + \fB\-L\fI dir\fR + Override default library location. Normally only useful for metaconfig +-maintainers to locally use the units being developped instead of the ++maintainers to locally use the units being developed instead of the + publicly available ones. The \fIdir\fR specified is the one containing the + units \fIU\fR directory. + .TP +@@ -528,14 +528,14 @@ option permanently. + .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 +@@ -550,8 +550,8 @@ some standard trial, guessing and messing around with system includes and + types. + .PP + However, despite all his talent, the author cannot possibly know that +-some system has a broken system call, or that some sytem structure lacks +-one otherwise standard field, or simply wheter a given include file exists ++some system has a broken system call, or that some system structure lacks ++one otherwise standard field, or simply whether a given include file exists + or not. And I'm not considering the implicit assumptions, like the type + returned by the \fImalloc()\fR function or the presence of the \fIrename()\fR + system call to name a few. But that knowledge is necessary to achieve real +@@ -588,7 +588,7 @@ unit being responsible for defining a small number of shell and/or C + 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 @@ paragraph could sound. In a C file, you need to include the Configure-produced + \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 @@ substitutions apply. Actually, \fIconfig.h\fR is produced by running the + \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 +@@ -648,7 +648,7 @@ unless the identifier is surrounded by single quotes. For instance: + .Ex + var='first' + tar='second' +-echo "--> first here document:" ++echo "\--> first here document:" + cat < will replace in all the + supplied units. +-''' ++.\" + .SS Special Units + .PP + The following special units are used to factorize code and provide higher +@@ -1507,7 +1507,7 @@ check whether a given C symbol is defined or not. A typical use is: + set symbol result [-fva] [previous] + eval \$\&csym + .Ef +-That will set the \fIresult\fR variable to 'true' if the ++That will set the \fIresult\fR variable to 'true' if the + function [-f], + variable [-v] or + array [-a] +@@ -1642,7 +1642,7 @@ argument specifies the file to be located, the second argument is what + will be returned if the search fails, and the reamining arguments are a + list of directories where the file is to be searched. For instance: + .Ex +-dflt=\`./loc sendmail.cf X /usr/lib /var/adm/sendmail /lib\` ++dflt=\`./loc sendmail.cf X /usr/lib /var/lib/sendmail /lib\` + .Ef + would set \fI\$dflt\fR to \fIX\fR if no \fIsendmail.cf\fR file was found + under the listed directories, or something like \fI/usr/lib/sendmail.cf\fR +@@ -1718,7 +1718,7 @@ to an empty string if the prefix changed, to \fI\$var\fR otherwise. + .TP + Prefixup.U + The intent of thit unit is similar to that of Prefixit.U, i.e. it helps +-fixing the default string to accomodate prefix changes. However, the shell ++fixing the default string to accommodate prefix changes. However, the shell + variable \fI\$prefixup\fR, when evaluated, will only restore ~name expansions, + should prefix use such an escape mechanism. Use it as: + .Ex +@@ -1768,7 +1768,7 @@ This unit produces the \fIwhoa\fR script, which emits a warning when the + 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 @@ done + .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 @@ The lifetime for obsolete symbols is one full revision, i.e. they will + 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 @@ Note that you don't have to provide \fIall\fR the hints known by + 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 @@ you a chance to patch the values stored in there. + 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 @@ possible to use '\fB-U\fI symbol\fR' which will set \fIsymbol\fR to 'undef'. + 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 @@ When running \fIConfigure\fR remotely, the .SH files are extracted in the + 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 @@ on \fImemcpy()\fR if no \fIbcopy()\fR is available locally, or transform + 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, +diff --git a/mcon/man/mlint.SH b/mcon/man/mlint.SH +index c842f4f..62740b2 100755 +--- a/mcon/man/mlint.SH ++++ b/mcon/man/mlint.SH +@@ -18,54 +18,54 @@ echo "Extracting mcon/man/metalint.$manext (with variable substitutions)" + $rm -f metalint.$manext + $spitshell >metalint.$manext <metaxref.$manext < +Date: Fri, 29 Aug 2008 17:53:34 -0500 +Subject: [PATCH 2/4] Fix unsafe use of symbolic links in /tmp + +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. + +Signed-off-by: Manoj Srivastava +--- + pat/patcil.SH | 14 ++++++++------ + pat/patdiff.SH | 22 ++++++++++++++-------- + 2 files changed, 22 insertions(+), 14 deletions(-) + +diff --git a/pat/patcil.SH b/pat/patcil.SH +index c6912b3..d8d0511 100755 +--- a/pat/patcil.SH ++++ b/pat/patcil.SH +@@ -61,6 +61,8 @@ $startperl + !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 @@ x Toggle patch# prefix. + + 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; + } + +diff --git a/pat/patdiff.SH b/pat/patdiff.SH +index 991d4bf..3ca1973 100755 +--- a/pat/patdiff.SH ++++ b/pat/patdiff.SH +@@ -49,6 +49,8 @@ $startperl + !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 @@ foreach $file (@ARGV) { + 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 @@ foreach $file (@ARGV) { + } + close DIFF; + system 'rcs', "-Nlastpat:$new", @files; +- unlink "/tmp/pdn$$", "/tmp/pdo$$"; ++ unlink "$tmpo", "$tmpn"; + } + } else { + if ($mydiff eq '') { +@@ -191,9 +195,11 @@ foreach $file (@ARGV) { + } + 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 @@ foreach $file (@ARGV) { + print PATCH; + } + close DIFF; +- unlink "/tmp/pdn$$", "/tmp/pdo$$"; ++ unlink "$tmpo", "$tmpn"; + } + } + } +-- +2.0.0.rc0 + diff --git a/debian/patches/0003-Fixed-a-problem-caused-during-the-merge.patch b/debian/patches/0003-Fixed-a-problem-caused-during-the-merge.patch new file mode 100644 index 0000000..05cb8f8 --- /dev/null +++ b/debian/patches/0003-Fixed-a-problem-caused-during-the-merge.patch @@ -0,0 +1,27 @@ +From e0b5fbd3e379fa31e3357cd4f6b1f897096f6a69 Mon Sep 17 00:00:00 2001 +From: Manoj Srivastava +Date: Fri, 30 Oct 2009 15:02:41 -0500 +Subject: [PATCH 3/4] Fixed a problem caused during the merge. + +Signed-off-by: Manoj Srivastava +--- + jmake/jmkmf.man | 3 +-- + 1 file changed, 1 insertion(+), 2 deletions(-) + +diff --git a/jmake/jmkmf.man b/jmake/jmkmf.man +index 4411f2f..051c143 100644 +--- a/jmake/jmkmf.man ++++ b/jmake/jmkmf.man +@@ -72,8 +72,7 @@ Raphael Manfredi + .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" +-- +2.0.0.rc0 + diff --git a/debian/patches/0004-Fix-an-error-due-to-misintertpreting-.MT.patch b/debian/patches/0004-Fix-an-error-due-to-misintertpreting-.MT.patch new file mode 100644 index 0000000..4598042 --- /dev/null +++ b/debian/patches/0004-Fix-an-error-due-to-misintertpreting-.MT.patch @@ -0,0 +1,26 @@ +From cd609008b272472678b47a5f4ac54568430a4239 Mon Sep 17 00:00:00 2001 +From: Manoj Srivastava +Date: Fri, 30 Oct 2009 15:10:20 -0500 +Subject: [PATCH 4/4] Fix an error due to misintertpreting .MT/* + +Signed-off-by: Manoj Srivastava +--- + mcon/man/mconfig.SH | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/mcon/man/mconfig.SH b/mcon/man/mconfig.SH +index 7013904..91bafee 100755 +--- a/mcon/man/mconfig.SH ++++ b/mcon/man/mconfig.SH +@@ -443,7 +443,7 @@ he is going to use the final product on. + 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 +-- +2.0.0.rc0 + diff --git a/debian/patches/series b/debian/patches/series new file mode 100644 index 0000000..9250e58 --- /dev/null +++ b/debian/patches/series @@ -0,0 +1,5 @@ +# exported from git by git-debcherry +0001-debcherry-fixup-patch.patch +0002-Fix-unsafe-use-of-symbolic-links-in-tmp.patch +0003-Fixed-a-problem-caused-during-the-merge.patch +0004-Fix-an-error-due-to-misintertpreting-.MT.patch diff --git a/debian/po/POTFILES.in b/debian/po/POTFILES.in new file mode 100644 index 0000000..cef83a3 --- /dev/null +++ b/debian/po/POTFILES.in @@ -0,0 +1 @@ +[type: gettext/rfc822deb] templates diff --git a/debian/po/cs.po b/debian/po/cs.po new file mode 100644 index 0000000..55296df --- /dev/null +++ b/debian/po/cs.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\n" +"Report-Msgid-Bugs-To: dist@packages.debian.org\n" +"POT-Creation-Date: 2012-02-20 07:13+0100\n" +"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" +"Last-Translator: Miroslav Kure \n" +"Language-Team: Czech \n" +"Language: cs\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" + +#. Type: string +#. Description +#: ../templates:1001 +msgid "Name of your organization:" +msgstr "Jméno organizace:" + +#. Type: string +#. Description +#: ../templates:1001 +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:1001 +msgid " University of Southern North Dakota, Hoople" +msgstr " Univerzita Palackého, Olomouc" + +#. Type: string +#. Description +#: ../templates:1001 +msgid "Type in \"--none--\" if you do not want to specify one." +msgstr "Nechcete-li používat toto pole, zadejte \"--none--\"." diff --git a/debian/po/da.po b/debian/po/da.po new file mode 100644 index 0000000..8e55f4f --- /dev/null +++ b/debian/po/da.po @@ -0,0 +1,54 @@ +# Danish translation dist. +# Copyright (C) 2011 dist & nedenstående oversættere. +# This file is distributed under the same license as the dist package. +# Joe Hansen (joedalton2@yahoo.dk), 2011. +# +msgid "" +msgstr "" +"Project-Id-Version: dist\n" +"Report-Msgid-Bugs-To: dist@packages.debian.org\n" +"POT-Creation-Date: 2012-02-20 07:13+0100\n" +"PO-Revision-Date: 2011-07-09 12:42+0000\n" +"Last-Translator: Joe Hansen \n" +"Language-Team: Danish \n" +"Language: da\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" + +#. Type: string +#. Description +#: ../templates:1001 +msgid "Name of your organization:" +msgstr "Navn på din organisation:" + +#. Type: string +#. Description +#: ../templates:1001 +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 ser ikke ud til at have en /etc/news/organization-fil. Normalt indeholder " +"den navnet på din organisation, som du ønsker skal fremgå af " +"organisationslinjen på udgående artikler/post/rettelser. Angiv venligst " +"navnet på din organisation, som du ønsker den skal fremgå af " +"organisationslinjen på udgående artikler/rettelser. (Det er godt hvis denne " +"også angiver dit sted. Dit bynavn er sikkert tilstrækkeligt, hvis det er " +"velkendt). For eksempel:" + +#. Type: string +#. Description +#: ../templates:1001 +msgid " University of Southern North Dakota, Hoople" +msgstr " Københavns Universitet, København" + +#. Type: string +#. Description +#: ../templates:1001 +msgid "Type in \"--none--\" if you do not want to specify one." +msgstr "Indtast »--ingen--« hvis du ikke ønsker at angive en organisation." diff --git a/debian/po/de.po b/debian/po/de.po new file mode 100644 index 0000000..bbc4c27 --- /dev/null +++ b/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: dist@packages.debian.org\n" +"POT-Creation-Date: 2012-02-20 07:13+0100\n" +"PO-Revision-Date: 2004-06-02 22:45+0200\n" +"Last-Translator: Erik Schanze \n" +"Language-Team: German \n" +"Language: de\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:1001 +msgid "Name of your organization:" +msgstr "Name Ihrer Organisation:" + +#. Type: string +#. Description +#: ../templates:1001 +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:1001 +msgid " University of Southern North Dakota, Hoople" +msgstr " Hochschule für Technik und Wirtschaft Dresden" + +#. Type: string +#. Description +#: ../templates:1001 +msgid "Type in \"--none--\" if you do not want to specify one." +msgstr "Geben Sie \"--none--\" ein, wenn Sie keinen angeben wollen." diff --git a/debian/po/es.po b/debian/po/es.po new file mode 100644 index 0000000..eb43e30 --- /dev/null +++ b/debian/po/es.po @@ -0,0 +1,77 @@ +# 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: dist@packages.debian.org\n" +"POT-Creation-Date: 2012-02-20 07:13+0100\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" +"Language: \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:1001 +msgid "Name of your organization:" +msgstr "Nombre de su organización:" + +#. Type: string +#. Description +#: ../templates:1001 +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:1001 +msgid " University of Southern North Dakota, Hoople" +msgstr " Universidad de Extremadura, Cáceres (España)" + +#. Type: string +#. Description +#: ../templates:1001 +msgid "Type in \"--none--\" if you do not want to specify one." +msgstr "Escriba «--none--» si no quiere especificar ninguno." diff --git a/debian/po/fr.po b/debian/po/fr.po new file mode 100644 index 0000000..c71ebe8 --- /dev/null +++ b/debian/po/fr.po @@ -0,0 +1,64 @@ +# 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: dist@packages.debian.org\n" +"POT-Creation-Date: 2012-02-20 07:13+0100\n" +"PO-Revision-Date: 2004-04-16 13:46+0100\n" +"Last-Translator: Christian Perrier \n" +"Language-Team: French \n" +"Language: fr\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=iso-8859-1\n" +"Content-Transfer-Encoding: 8bit\n" + +#. Type: string +#. Description +#: ../templates:1001 +msgid "Name of your organization:" +msgstr "Nom de votre organisation:" + +#. Type: string +#. Description +#: ../templates:1001 +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:1001 +msgid " University of Southern North Dakota, Hoople" +msgstr " Universit Pierre et Marie Curie, Paris" + +#. Type: string +#. Description +#: ../templates:1001 +msgid "Type in \"--none--\" if you do not want to specify one." +msgstr "" +"Si vous ne dsirez pas spcifier d'organisation, inscrivez --none--." diff --git a/debian/po/it.po b/debian/po/it.po new file mode 100644 index 0000000..ebf4c70 --- /dev/null +++ b/debian/po/it.po @@ -0,0 +1,56 @@ +# Italian translation of dist debconf messages. +# Copyright (C) 2008 Manoj Srivastava +# This file is distributed under the same license as the dist package. +# Beatrice Torracca , 2012. +msgid "" +msgstr "" +"Project-Id-Version: dist\n" +"Report-Msgid-Bugs-To: dist@packages.debian.org\n" +"POT-Creation-Date: 2012-02-20 07:13+0100\n" +"PO-Revision-Date: 2012-02-24 20:01+0200\n" +"Last-Translator: Beatrice Torracca \n" +"Language-Team: Italian \n" +"Language: it\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" +"X-Generator: Virtaal 0.7.1\n" + +#. Type: string +#. Description +#: ../templates:1001 +msgid "Name of your organization:" +msgstr "Nome dell'organizzazione di appartenenza:" + +#. Type: string +#. Description +#: ../templates:1001 +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 "" +"Non sembra essere presente un file /etc/news/organization. Solitamente " +"questo contiene il nome della propria organizzazione, così come deve " +"apparire nella riga Organization di articoli, messaggi di posta e patch in " +"uscita. Inserire il nome della propria organizzazione così come si desidera " +"che appaia nella riga Organization di articoli e patch in uscita. (È bene " +"specificare anche la località. Il nome della città è probabilmente " +"sufficiente, se è una località conosciuta.) Ad esempio:" + +#. Type: string +#. Description +#: ../templates:1001 +msgid " University of Southern North Dakota, Hoople" +msgstr " Scuola Normale Superiore, Pisa" + +#. Type: string +#. Description +#: ../templates:1001 +msgid "Type in \"--none--\" if you do not want to specify one." +msgstr "" +"Inserire \"--none--\" se non si desidera specificare un'organizzazione." diff --git a/debian/po/ja.po b/debian/po/ja.po new file mode 100644 index 0000000..0decddb --- /dev/null +++ b/debian/po/ja.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-26\n" +"Report-Msgid-Bugs-To: dist@packages.debian.org\n" +"POT-Creation-Date: 2012-02-20 07:13+0100\n" +"PO-Revision-Date: 2004-07-04 21:24+0900\n" +"Last-Translator: Hideki Yamane \n" +"Language-Team: Japanese \n" +"Language: ja\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=EUC-JP\n" +"Content-Transfer-Encoding: 8bit\n" + +#. Type: string +#. Description +#: ../templates:1001 +msgid "Name of your organization:" +msgstr "ȿ̾: " + +#. Type: string +#. Description +#: ../templates:1001 +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:1001 +msgid " University of Southern North Dakota, Hoople" +msgstr " Bakada University, in Waseda's Neighborhood Northwest Tokyo" + +#. Type: string +#. Description +#: ../templates:1001 +msgid "Type in \"--none--\" if you do not want to specify one." +msgstr "ä˻ꤷʤ \"--none--\" ȤƤ" diff --git a/debian/po/nl.po b/debian/po/nl.po new file mode 100644 index 0000000..271c10a --- /dev/null +++ b/debian/po/nl.po @@ -0,0 +1,62 @@ +# +# 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: dist@packages.debian.org\n" +"POT-Creation-Date: 2012-02-20 07:13+0100\n" +"PO-Revision-Date: 2004-06-25 11:52+0100\n" +"Last-Translator: Luk Claes \n" +"Language-Team: Debian l10n Dutch \n" +"Language: \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=iso-8859-1\n" +"Content-Transfer-Encoding: 8bit\n" + +#. Type: string +#. Description +#: ../templates:1001 +msgid "Name of your organization:" +msgstr "Naam van uw organisatie:" + +#. Type: string +#. Description +#: ../templates:1001 +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:1001 +msgid " University of Southern North Dakota, Hoople" +msgstr " Universiteit van Zuidelijk Noord-Dakota, Hoople" + +#. Type: string +#. Description +#: ../templates:1001 +msgid "Type in \"--none--\" if you do not want to specify one." +msgstr "Typ \"--none--\" als u er geen wilt specifiren" diff --git a/debian/po/pl.po b/debian/po/pl.po new file mode 100644 index 0000000..e7cd599 --- /dev/null +++ b/debian/po/pl.po @@ -0,0 +1,55 @@ +# Translation of dist debconf templates to Polish. +# Copyright (C) 2012 +# This file is distributed under the same license as the dist package. +# +# Michał Kułach , 2012. +msgid "" +msgstr "" +"Project-Id-Version: dist\n" +"Report-Msgid-Bugs-To: dist@packages.debian.org\n" +"POT-Creation-Date: 2012-02-20 07:13+0100\n" +"PO-Revision-Date: 2012-02-22 14:37+0100\n" +"Last-Translator: Michał Kułach \n" +"Language-Team: Polish \n" +"Language: pl\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"X-Generator: Lokalize 1.2\n" +"Plural-Forms: nplurals=3; plural=(n==1 ? 0 : n%10>=2 && n%10<=4 && (n%100<10 " +"|| n%100>=20) ? 1 : 2);\n" + +#. Type: string +#. Description +#: ../templates:1001 +msgid "Name of your organization:" +msgstr "Nazwa organizacji:" + +#. Type: string +#. Description +#: ../templates:1001 +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 "" +"Wygląda na to, że plik /etc/news/organization nie istnieje. Zawiera on nazwę " +"organizacji, która pojawia się w wierszu Organization w wysyłanych " +"artykułach, listach elektronicznych lub łatkach. Proszę podać nazwę swojej " +"organizacji. Dobrze jest również podać swoją lokalizację, przy czym nazwa " +"miasta jest z reguły wystarczająca, jeśli jest ono dobrze znane. Przykład:" + +#. Type: string +#. Description +#: ../templates:1001 +msgid " University of Southern North Dakota, Hoople" +msgstr " Akademia Górniczo-Hutnicza, Kraków" + +#. Type: string +#. Description +#: ../templates:1001 +msgid "Type in \"--none--\" if you do not want to specify one." +msgstr "Proszę wpisać \"--none--\", aby nie określać swojej organizacji." diff --git a/debian/po/pt.po b/debian/po/pt.po new file mode 100644 index 0000000..cf24572 --- /dev/null +++ b/debian/po/pt.po @@ -0,0 +1,53 @@ +# 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: dist@packages.debian.org\n" +"POT-Creation-Date: 2012-02-20 07:13+0100\n" +"PO-Revision-Date: 2007-03-28 11:04+0100\n" +"Last-Translator: Luísa Lourenço \n" +"Language-Team: Portuguese \n" +"Language: pt\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" + +#. Type: string +#. Description +#: ../templates:1001 +msgid "Name of your organization:" +msgstr "Nome da sua organização:" + +#. Type: string +#. Description +#: ../templates:1001 +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:1001 +msgid " University of Southern North Dakota, Hoople" +msgstr " Universidade Nova de Lisboa, Monte da Caparica" + +#. Type: string +#. Description +#: ../templates:1001 +msgid "Type in \"--none--\" if you do not want to specify one." +msgstr "Escreva \"--nenhum--\" caso não queira especificar um nome." diff --git a/debian/po/ru.po b/debian/po/ru.po new file mode 100644 index 0000000..95e96ed --- /dev/null +++ b/debian/po/ru.po @@ -0,0 +1,56 @@ +# 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: dist@packages.debian.org\n" +"POT-Creation-Date: 2012-02-20 07:13+0100\n" +"PO-Revision-Date: 2007-12-20 21:23+0300\n" +"Last-Translator: Yuri Kozlov \n" +"Language-Team: Russian \n" +"Language: ru\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:1001 +msgid "Name of your organization:" +msgstr "Название организации:" + +#. Type: string +#. Description +#: ../templates:1001 +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:1001 +msgid " University of Southern North Dakota, Hoople" +msgstr " МГТУ имени Н.Э.Баумана, Москва" + +#. Type: string +#. Description +#: ../templates:1001 +msgid "Type in \"--none--\" if you do not want to specify one." +msgstr "Введите \"--none--\", если не хотите ничего указывать." diff --git a/debian/po/sk.po b/debian/po/sk.po new file mode 100644 index 0000000..ab05eb9 --- /dev/null +++ b/debian/po/sk.po @@ -0,0 +1,43 @@ +# Slovak translation for dist debconf template. +# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER +# This file is distributed under the same license as the dist package. +# +# Ivan Masár , 2012. +# +msgid "" +msgstr "" +"Project-Id-Version: dist\n" +"Report-Msgid-Bugs-To: dist@packages.debian.org\n" +"POT-Creation-Date: 2012-02-20 07:13+0100\n" +"PO-Revision-Date: 2012-02-24 13:50+0100\n" +"Last-Translator: Ivan Masár \n" +"Language-Team: Slovak \n" +"Language: \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=utf-8\n" +"Content-Transfer-Encoding: 8bit\n" + +#. Type: string +#. Description +#: ../templates:1001 +msgid "Name of your organization:" +msgstr "Názov vašej organizácie:" + +#. Type: string +#. Description +#: ../templates:1001 +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á sa, že nemáte súbor /etc/news/organization. Ten zvyčajne obsahuje názov vašej organizácie tak, ako chcete aby sa vyskytoval v riadku Organizácia vašich odchádzajúcich článkov/pošty/záplat. Prosím, uveďte názov vašej organizácie ako chcete aby sa vyskytoval v riadku Organizácia vašich odchádzajúcich článkov/pošty/záplat. (je vhodné uviesť aj vaše umiestnenie. Pravdepodobne buude stačiť názov vášho mesta, ak je známe.) Napríklad:" + +#. Type: string +#. Description +#: ../templates:1001 +msgid " University of Southern North Dakota, Hoople" +msgstr " Žilinská univerzita, Žilina" + +#. Type: string +#. Description +#: ../templates:1001 +msgid "Type in \"--none--\" if you do not want to specify one." +msgstr "Napíšte „--none--“ ak organizáciu nechcete uviesť." + diff --git a/debian/po/sv.po b/debian/po/sv.po new file mode 100644 index 0000000..2d54613 --- /dev/null +++ b/debian/po/sv.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. +# , fuzzy +# +# +msgid "" +msgstr "" +"Project-Id-Version: dist 3.70-29\n" +"Report-Msgid-Bugs-To: dist@packages.debian.org\n" +"POT-Creation-Date: 2012-02-20 07:13+0100\n" +"PO-Revision-Date: 2005-10-11 09:39+0200\n" +"Last-Translator: Daniel Nylander \n" +"Language-Team: Swedish \n" +"Language: sv\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=iso-8859-1\n" +"Content-Transfer-Encoding: 8bit\n" + +#. Type: string +#. Description +#: ../templates:1001 +msgid "Name of your organization:" +msgstr "Namnet p din organisation:" + +#. Type: string +#. Description +#: ../templates:1001 +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:1001 +msgid " University of Southern North Dakota, Hoople" +msgstr " Universitetet i Stockholm, Sverige" + +#. Type: string +#. Description +#: ../templates:1001 +msgid "Type in \"--none--\" if you do not want to specify one." +msgstr "Skriv in \"--none--\" om du inte vill specificera ngon." diff --git a/debian/po/templates.pot b/debian/po/templates.pot new file mode 100644 index 0000000..ef18d18 --- /dev/null +++ b/debian/po/templates.pot @@ -0,0 +1,48 @@ +# SOME DESCRIPTIVE TITLE. +# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER +# This file is distributed under the same license as the PACKAGE package. +# FIRST AUTHOR , YEAR. +# +#, fuzzy +msgid "" +msgstr "" +"Project-Id-Version: dist\n" +"Report-Msgid-Bugs-To: dist@packages.debian.org\n" +"POT-Creation-Date: 2012-02-20 07:13+0100\n" +"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" +"Last-Translator: FULL NAME \n" +"Language-Team: LANGUAGE \n" +"Language: \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=CHARSET\n" +"Content-Transfer-Encoding: 8bit\n" + +#. Type: string +#. Description +#: ../templates:1001 +msgid "Name of your organization:" +msgstr "" + +#. Type: string +#. Description +#: ../templates:1001 +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:1001 +msgid " University of Southern North Dakota, Hoople" +msgstr "" + +#. Type: string +#. Description +#: ../templates:1001 +msgid "Type in \"--none--\" if you do not want to specify one." +msgstr "" diff --git a/debian/po/vi.po b/debian/po/vi.po new file mode 100644 index 0000000..f6d059c --- /dev/null +++ b/debian/po/vi.po @@ -0,0 +1,51 @@ +# 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: dist@packages.debian.org\n" +"POT-Creation-Date: 2012-02-20 07:13+0100\n" +"PO-Revision-Date: 2005-06-14 20:29+0930\n" +"Last-Translator: Clytie Siddall \n" +"Language-Team: Vietnamese \n" +"Language: vi\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:1001 +msgid "Name of your organization:" +msgstr "Tên của tổ chức bạn:" + +#. Type: string +#. Description +#: ../templates:1001 +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:1001 +msgid " University of Southern North Dakota, Hoople" +msgstr " Đại học TP Hồ Chí Minh" + +#. Type: string +#. Description +#: ../templates:1001 +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." diff --git a/debian/postinst b/debian/postinst new file mode 100755 index 0000000..7043cce --- /dev/null +++ b/debian/postinst @@ -0,0 +1,472 @@ +#! /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 + +#DEBHELPER# + +exit 0 diff --git a/debian/postrm b/debian/postrm new file mode 100755 index 0000000..c291ad5 --- /dev/null +++ b/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 +#DEBHELPER# +exit 0 diff --git a/debian/prerm b/debian/prerm new file mode 100755 index 0000000..c94c3cc --- /dev/null +++ b/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 +#DEBHELPER# +exit 0 diff --git a/debian/rules b/debian/rules new file mode 100755 index 0000000..2421376 --- /dev/null +++ b/debian/rules @@ -0,0 +1,85 @@ +#!/usr/bin/make -f +# Uncomment this to turn on verbose mode. +# export DH_VERBOSE=1 +package:=dist +SRCTOP:= $(shell if [ "$$PWD" != "" ]; then echo $$PWD; else pwd; fi) +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 +email := srivasta@debian.org +TMPTOP:=$(SRCTOP)/debian/tmp +DOCDIR=$(SRCTOP)/debian/$(package)/usr/share/doc/$(package) +DEBDOCDIR=$(TMPTOP)/usr/share/doc/$(package) +DEBLIBDIR=$(TMPTOP)/usr/lib/$(package) +PKG_DIR = $(TMPTOP)/usr/share/$(package) +MAN1DIR = $(TMPTOP)/usr/share/man/man1 +MAN7DIR = $(TMPTOP)/usr/share/man/man7 +PAT_EXEC = patcil patdiff patbase patlog patmake patsend \ + patnotify patpost patftp patname patsnap patcol \ + patclean patindex + +DPKG_ARCH := dpkg-architecture +export DEB_HOST_MULTIARCH := $(shell $(DPKG_ARCH) $(ha) -qDEB_HOST_MULTIARCH) + +%: + dh $@ + +override_dh_auto_configure: + /bin/cp -rpf debian/Config .config && \ + /bin/cp -pf debian/config.over config.over && \ + touch .config/nomail && \ + sh ./Configure \ + -de \ + -D prefix=$(PREFIX) \ + -D orgname=/etc/news/organization \ + -D defeditor=/usr/ae \ + -D privlib=/usr/share/$(package) \ + -D pager=/bin/more \ + -D mansrc=/usr/share/man/ \ + -D cf_email='$(email)' \ + -D d_berknames='define' + + +override_dh_auto_build: + dh_auto_build + bash -m debian/postinst + bash -n debian/config + bash -n debian/postrm + bash -n debian/prerm + +override_dh_install: + test -d $(MAN1DIR) || $(make_directory) $(MAN1DIR) + $(MAKE) install + $(MAKE) install.man + $(make_directory) $(MAN7DIR) + (cd $(MAN1DIR); for file in $(PAT_EXEC) ; do \ + ln -s pat.1.gz $$file.1.gz ; \ + done ) + mv $(MAN1DIR)/dist.1 $(MAN7DIR)/dist.7 + dh_install + +override_dh_installdocs: + dh_installdocs + test ! -d $(DOCDIR) || $(make_directory) $(DOCDIR) + $(install_file) mcon/INTRO $(DOCDIR)/INTRO.mcon + $(install_file) jmake/NOTES $(DOCDIR)/NOTES.jmake + $(install_file) mcon/NOTES $(DOCDIR)/NOTES.mcon + $(install_file) jmake/README $(DOCDIR)/README.jmake + $(install_file) kit/README $(DOCDIR)/README.kit + $(install_file) mcon/README $(DOCDIR)/README.mcon + $(install_file) pat/README $(DOCDIR)/README.pat + + +override_dh_clean: + test ! -f Makefile || $(MAKE) clobber + dh_clean + test ! -d .config || rm -rf .config + +#Local variables: +#mode: makefile +#End: diff --git a/debian/source/format b/debian/source/format new file mode 100644 index 0000000..163aaf8 --- /dev/null +++ b/debian/source/format @@ -0,0 +1 @@ +3.0 (quilt) diff --git a/debian/templates b/debian/templates new file mode 100644 index 0000000..b31df21 --- /dev/null +++ b/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. diff --git a/debian/watch b/debian/watch new file mode 100644 index 0000000..bf97e07 --- /dev/null +++ b/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 + + -- cgit v1.2.3