From ad837af33e152566dc47d6805cb0a84ce1329ed5 Mon Sep 17 00:00:00 2001 From: Boyuan Yang Date: Sun, 23 Feb 2020 14:37:44 -0800 Subject: dist (1:3.5-236-0.2) unstable; urgency=medium * Non-maintainer upload. * debian/dist.postinst: Fix wrong direction form. (Closes: #908187) * debian/rules: Explicitly provide tool path to avoid usrmerge differences and make package reproducible. (Closes: #915910) * debian/rules: Avoid manually setting DEB_HOST_MULTIARCH, use /usr/share/dpkg/architecture.mk instead. (lintian warning) [dgit import package dist 1:3.5-236-0.2] --- ChangeLog | 55 ++-- Configure | 59 +++-- MANIFEST | 5 +- bin/manicheck.man | 30 +-- bin/manilist.SH | 8 +- bin/manilist.man | 48 ++-- bin/packinit.SH | 1 + bin/packinit.man | 56 ++--- bin/perload | 8 +- debian/Config/README | 4 + debian/Config/instruct | 3 + debian/Config/mailauthor | 4 + debian/README.Debian | 21 ++ debian/changelog | 637 +++++++++++++++++++++++++++++++++++++++++++++++ debian/clean | 1 + debian/compat | 1 + debian/config.over | 4 + debian/control | 36 +++ debian/copyright | 97 ++++++++ debian/dist.config | 82 ++++++ debian/dist.docs | 5 + debian/dist.install | 2 + debian/dist.postinst | 472 +++++++++++++++++++++++++++++++++++ debian/dist.postrm | 171 +++++++++++++ debian/dist.prerm | 129 ++++++++++ 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/pt_BR.po | 55 ++++ 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/rules | 94 +++++++ debian/source/format | 1 + debian/templates | 15 ++ debian/watch | 6 + dist.man | 72 +++--- jmake/bindex.SH | 2 +- jmake/files/Jmake.rules | 10 +- jmake/fixcpp.SH | 2 +- jmake/jmake.SH | 2 +- jmake/jmake.man | 94 +++---- jmake/jmkmf.man | 37 ++- kit/kitpost.man | 34 +-- kit/kitsend.man | 34 +-- kit/makeSH.man | 30 +-- kit/makedist.SH | 12 +- kit/makedist.man | 54 ++-- kit/manifake.man | 34 +-- mcon/U/Csym.U | 2 +- mcon/U/Inhdr.U | 6 +- mcon/U/Inlibc.U | 4 +- mcon/U/Trylink.U | 4 +- mcon/U/Typedef.U | 2 +- mcon/U/d_castneg.U | 2 +- mcon/U/d_scannl.U | 2 +- mcon/U/i_inttypes.U | 2 +- mcon/U/i_niin.U | 2 +- mcon/U/i_sysmman.U | 2 +- mcon/U/i_sysresrc.U | 2 +- mcon/U/i_sysselct.U | 2 +- mcon/U/i_systimeb.U | 2 +- mcon/U/i_systypes.U | 2 +- mcon/U/i_sysun.U | 2 +- mcon/U/i_syswait.U | 2 +- mcon/U/nis.U | 12 + mcon/man/mconfig.SH | 250 +++++++++---------- mcon/man/mlint.SH | 98 ++++---- mcon/man/mxref.SH | 58 ++--- pat/pat.man | 102 ++++---- pat/patcil.SH | 14 +- pat/patdiff.SH | 22 +- pl/makedir.pl | 2 +- pl/rcsargs.pl | 4 +- revision.h | 7 + 85 files changed, 3366 insertions(+), 635 deletions(-) create mode 100644 debian/Config/README create mode 100644 debian/Config/instruct create mode 100644 debian/Config/mailauthor create mode 100644 debian/README.Debian create mode 100644 debian/changelog create mode 100644 debian/clean create mode 100644 debian/compat create mode 100644 debian/config.over create mode 100644 debian/control create mode 100644 debian/copyright create mode 100644 debian/dist.config create mode 100644 debian/dist.docs create mode 100644 debian/dist.install create mode 100644 debian/dist.postinst create mode 100644 debian/dist.postrm create mode 100644 debian/dist.prerm 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/pt_BR.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/rules create mode 100644 debian/source/format create mode 100644 debian/templates create mode 100644 debian/watch create mode 100644 revision.h diff --git a/ChangeLog b/ChangeLog index 4a11de9..3f1fe9b 100644 --- a/ChangeLog +++ b/ChangeLog @@ -61,7 +61,7 @@ Fri Feb 28 17:48:41 MET 1997 Raphael Manfredi can be included if HAS_POLL @@ -182,7 +182,7 @@ Fri Feb 28 17:48:41 MET 1997 Raphael Manfredi and to the C program @@ -262,13 +262,13 @@ Fri Feb 28 17:48:41 MET 1997 Raphael Manfredi * mcon/U/Config_h.U: Commented the purpose of the #un-def directive. - * mcon/U/Loc.U: Commented the purpose of the #un-def directive. + * mcon/U/Loc.U: Commented the purpose of the #un-def directive. Abort Configure run when mandatory command is missing. * mcon/U/Options.U: Protected option parsing code against 'echo -*' @@ -492,7 +492,7 @@ Tue Jul 25 16:41:40 METDST 1995 Raphael Manfredi Jmake was not working at all on HP-UX due to the way their cpp systematically removes trailing backslashes in text. The new fixcpp script is now a wrapper over cpp to first escape those - backslashes that should be preserved accross cpp before feeding + backslashes that should be preserved across cpp before feeding it with the text of the Jmakefile... Suppressed extra argument to NormalProgramTarget call in jmake rules. @@ -722,7 +722,7 @@ Tue Mar 21 09:55:57 MET 1995 Raphael Manfredi * jmake/fixcpp.SH, mcon/U/d_wifstat.U: Created. * jmake/jmake.SH: Now invokes cpp through new fixcpp script. First - pass now skips cpp comments alltogether. + pass now skips cpp comments altogether. * mcon/U/Head.U: Definition of paths wrongly added spurious ':' chars. @@ -990,7 +990,7 @@ Wed Jan 11 17:03:22 MET 1995 Raphael Manfredi * mcon/U/Config_sh.U: Moved path stripping from d_portable.U to end of Configure. - * mcon/U/Cppsym.U: New cc vs. cpp symbol checking suggested by JHI. + * mcon/U/Cppsym.U: New cc vs. cpp symbol checking suggested by JHI. Added more cpp symbols (JHI). * mcon/U/Getfile.U: Added support for escaping answers to skip @@ -1088,7 +1088,7 @@ Mon Oct 31 10:57:05 MET 1994 Raphael Manfredi Also, the leading comment in Chk_MANI.U now explains how this unit gets included into the Configure script. There used to be - an explaination there, but it was no longer accurate. + an explanation there, but it was no longer accurate. One new unit file (Begin.U). @@ -1312,7 +1312,7 @@ Sat Oct 29 18:16:03 MET 1994 Raphael Manfredi * mcon/U/Loc.U: Added ?F: line for metalint file checking. Be careful and guard against wildcard searching (ADO). - * mcon/U/Oldconfig.U: Added ?F: line for metalint file checking. + * mcon/U/Oldconfig.U: Added ?F: line for metalint file checking. Merged with the version used for perl5's Configure (ADO). * mcon/U/Options.U: Ensure option definition file is removed before @@ -1335,7 +1335,7 @@ Sat Oct 29 18:16:03 MET 1994 Raphael Manfredi mcon/U/d_dlerror.U, mcon/U/d_sysconf.U, mcon/U/i_dld.U, mcon/U/modetype.U: Created by ADO. - * mcon/U/cc.U: Detect gcc even when not called as 'gcc' (ADO). + * mcon/U/cc.U: Detect gcc even when not called as 'gcc' (ADO). Simplified gcc version checking (ADO). Added ?F: line for metalint file checking. @@ -1418,7 +1418,7 @@ Sat Oct 29 18:16:03 MET 1994 Raphael Manfredi * mcon/U/so.U: Now tells user how he can suppress shared lib lookup (ADO). Removed echo at the top, since it's now in the here-doc (ADO). - * mcon/U/ssizetype.U: Added ?F: line for metalint file checking. + * mcon/U/ssizetype.U: Added ?F: line for metalint file checking. Added 'ldflags' to the test compile line (ADO). * mcon/man/mconfig.SH: Added nroff protection for lines beginning @@ -1444,14 +1444,13 @@ Sat Oct 29 18:16:03 MET 1994 Raphael Manfredi * pat/pat.SH: Now unlinks all the files created by patlog in bugs. - * pat/pat.man: Documents new patlog script and the files it uses. + * pat/pat.man: Documents new patlog script and the files it uses. The RCS layer section has been extended slightly. * pat/patcil.SH: Now honors the VISUAL and EDITOR environment - variables. Newer RCS programs chop trailing spaces in log messages. + variables. Newer RCS programs chop trailing spaces in log messages. Separated V/E and v/e commands. New 'v' command to edit the file being patcil'ed. Added hook for 'V' command (not implemented yet). * pat/patmake.SH: A lot of setup is now performed by patlog. Added various escapes in strings for perl5 support. - diff --git a/Configure b/Configure index 40a347d..0a9ce81 100755 --- a/Configure +++ b/Configure @@ -449,10 +449,10 @@ esac case "$sh" in '') cat >&2 </dev/null 2>&1; then fi if $needman; then cat <&4 @@ -1471,7 +1471,7 @@ make$_exe|make) ;; esac ;; -esac +esac case "$gmake" in gmake$_exe|gmake) ;; *) @@ -1570,12 +1570,12 @@ EOM echo "Cannot find myread, sorry. Aborting." >&2 exit 1 fi - fi + fi case "$ans" in [yY]*) cc=gcc; ccname=gcc; ccflags=''; despair=no; $cat *.cbu >checktmp 2>/dev/null if $contains ccflags checktmp >/dev/null; then - ./warn 4>&4 <&4 <checkcc $startsh EOS cat <<'EOSC' >>checkcc -case "$cc" in +case "$cc" in '') ;; -*) $rm -f try try.* +*) $rm -f try try.* $cat >try.c <&4 fi - $cat >&4 <&4 </dev/null; then @@ -1956,16 +1956,16 @@ if $test "X$has_uname" != X; then domainos) osname=apollo osvers="$3" ;; - dgux) osname=dgux + dgux) osname=dgux osvers="$3" ;; dynixptx*) osname=dynixptx osvers=`echo "$4"|sed 's/^v//'` ;; - freebsd) osname=freebsd + freebsd) osname=freebsd osvers="$3" ;; genix) osname=genix ;; - hp*) osname=hpux + hp*) osname=hpux osvers=`echo "$3" | $sed 's,.*\.\([0-9]*\.[0-9]*\),\1,'` ;; irix*) osname=irix @@ -2058,7 +2058,7 @@ if $test "X$has_uname" != X; then *freebsd*) ;; svr*) : svr4.x or possibly later - case "svr$3" in + case "svr$3" in ${osname}*) osname=svr$3 osvers=$4 @@ -2306,7 +2306,7 @@ fi : determine where manual pages are on this system echo " " case "$sysman" in -'') +'') syspath='/usr/share/man/man1 /usr/man/man1' syspath="$syspath /usr/man/mann /usr/man/manl /usr/man/local/man1" syspath="$syspath /usr/man/u_man/man1 /usr/share/man/man1" @@ -2328,9 +2328,9 @@ case "$d_portable" in *) dflt=n;; esac $cat <<'EOH' - + I can set things up so that your shell scripts and binaries are more portable, -at what may be a noticable cost in performance. In particular, if you +at what may be a noticeable cost in performance. In particular, if you ask to be portable, the following happens: 1) Shell scripts will rely on the PATH variable rather than using @@ -2537,7 +2537,7 @@ while test "$type"; do for fp in $gfpth; do if test "X$fp" = X.; then pf="$ansexp" - else + else pf="$fp/$ansexp" fi if test -f "$pf"; then @@ -2558,7 +2558,7 @@ while test "$type"; do if test "X$fp" = X.; then dir="$ans" direxp="$ansexp" - else + else dir="$fp/$ansexp" direxp="$fp/$ansexp" fi @@ -2830,12 +2830,12 @@ case "$scriptdir" in ;; esac $cat <&4 $cat >try.c <>manilist <<'!NO!SUBS!' $format = 'A:%c %n'; -# By default, only the source files whith the following extensions are reported +# By default, only the source files with the following extensions are reported # (but a -a option will report ALL the files, and a -i option can specify some # other extensions as well). # .sh .SH .c .h .l .y .man @@ -213,7 +213,7 @@ if ($opt_d) { } @manifest = sort @manifest; -@files = sort @files if defined(@files); +@files = sort @files if @files; # Build up the %manifest array so that we quickly know whether a file is in the # manifest or not. @@ -293,7 +293,7 @@ sub report { local($fmt) = $format; local($postproc) = 0; # Do we need formatting post-processing ? $fmt =~ s/^\w+://; - $fmt =~ s/\|/\02/g && ($postproc = 1); # Formatted colum separator + $fmt =~ s/\|/\02/g && ($postproc = 1); # Formatted column separator # If neither 'd' nor 'f' is specified, then all the files are candidate # for report. Specifying 'df' is the same, but is less efficient. diff --git a/bin/manilist.man b/bin/manilist.man index 59db7a5..1f60e3f 100644 --- a/bin/manilist.man +++ b/bin/manilist.man @@ -1,27 +1,27 @@ -''' $Id$ -''' -''' 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$ +.\" +.\" 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 578b8d8..4a5a38d 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 dbd2d97..7bd35fd 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/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/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..3025647 --- /dev/null +++ b/debian/changelog @@ -0,0 +1,637 @@ +dist (1:3.5-236-0.2) unstable; urgency=medium + + * Non-maintainer upload. + * debian/dist.postinst: Fix wrong direction form. + (Closes: #908187) + * debian/rules: Explicitly provide tool path to avoid usrmerge + differences and make package reproducible. (Closes: #915910) + * debian/rules: Avoid manually setting DEB_HOST_MULTIARCH, use + /usr/share/dpkg/architecture.mk instead. (lintian warning) + + -- Boyuan Yang Sun, 23 Feb 2020 17:37:44 -0500 + +dist (1:3.5-236-0.1) unstable; urgency=medium + + * Non-maintainer upload. + * New upstream snapshot (Closes: #898955) + * Fix some syntax errors in various scripts (Closes: #899207) + * Restore missing dependency libperl4-corelibs-perl + * Fix Lintian error by removing Build-Depends-Indep: dpkg-dev + + -- Dominic Hargreaves Sun, 20 May 2018 22:35:58 +0200 + +dist (1:3.5-36.0001-3) unstable; urgency=medium + + [ Helmut Grohne ] + * Mark dist Multi-Arch: foreign. + [ Manoj Srivastava ] + * Update the copyright file + * Incorporated Helmut's chqange, which, unless I missed it, newver made + it out. + * Bug fix: "mark dist Multi-Arch: foreign", thanks to Helmut Grohne + (Closes: #891134). + + -- Manoj Srivastava Sun, 25 Feb 2018 17:47:27 -0800 + +dist (1:3.5-36.0001-2) unstable; urgency=low + + * Fix upstream spelling errors that resulterd in Lintian warnings. + + -- Manoj Srivastava Fri, 15 Jan 2016 00:52:00 -0800 + +dist (1:3.5-36.0001-1) unstable; urgency=low + + * New upstream snapshot. + * Bug fix: "please make the build reproducible", thanks to Reiner + Herrmann. Applied the supplied patch. (Closes: #785549). + * Update the VCS-Git filed to use HTTPS transport. + * Update the standard version to 3.6.0. No changes needed. + * Updated the copyright file to the DEP-5 format. + + -- Manoj Srivastava Thu, 14 Jan 2016 23:46:21 -0800 + +dist (1:3.5-36-2) unstable; urgency=low + + * Updated translation for Brazilian Portuguese + * Bug fix: "[INTL:pt_BR] Brazilian Portuguese debconf templates + translation", thanks to Adriano Rafael Gomes (Closes: #685763). + + -- Manoj Srivastava Mon, 28 Apr 2014 12:58:58 -0700 + +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.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..583eefe --- /dev/null +++ b/debian/control @@ -0,0 +1,36 @@ +Source: dist +VCS-Git: https://anonscm.debian.org/git/users/srivasta/debian/dist.git +VCS-Browser: http://anonscm.debian.org/git/users/srivasta/debian/dist.git +Section: devel +Priority: optional +Maintainer: Manoj Srivastava +Standards-Version: 4.1.3 +Build-Depends-Indep: debhelper (>= 11), sharutils, po-debconf, + gettext + +Package: dist +Architecture: all +Multi-Arch: foreign +Depends: perl, libperl4-corelibs-perl, debconf (>= 1.2.0) | debconf-2.0, + ${misc:Depends} +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..1108b31 --- /dev/null +++ b/debian/copyright @@ -0,0 +1,97 @@ +Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ +Upstream-Name: dist 3.0 +Upstream-Contact: Raphael Manfredi +Sources: https://svn.code.sf.net/p/dist/code/trunk/dist + +Files: * +Copyright: 1991-1997, 2004-2006, Raphael Manfredi + 1990-1992, Harlan Stenn + 1988, Larry Wall +License: Artistic + +Files: Artistic +Copyright: s for the package. +License: Artistic + +Files: ChangeLog +Copyright: dates +License: Artistic + +Files: Configure +Copyright: ed. +License: Artistic + +Files: Jmakefile +Copyright: 1991-1997, 2004-2006, Raphael Manfredi +License: Artistic + +Files: bin/* +Copyright: 1991-1997, 2004-2006, Raphael Manfredi +License: Artistic + +Files: debian/* +Copyright: 2006, 2008, Manoj Srivastava + 1995-2005 +License: GPL-2+ + +Files: jmake/Jmakefile +Copyright: 1991-1997, 2004-2006, Raphael Manfredi +License: Artistic + +Files: kit/* +Copyright: 1991-1997, 2004-2006, Raphael Manfredi +License: Artistic + +Files: lib/* +Copyright: 1991-1997, 2004-2006, Raphael Manfredi +License: Artistic + +Files: mcon/Jmakefile +Copyright: 1991-1997, 2004-2006, Raphael Manfredi +License: Artistic + +Files: mcon/man/* +Copyright: 1991-1997, 2004-2006, Raphael Manfredi +License: Artistic + +Files: mcon/pl/* +Copyright: 1991-1997, 2004-2006, Raphael Manfredi +License: Artistic + +Files: pat/* +Copyright: 1991-1997, 2004-2006, Raphael Manfredi +License: Artistic + +Files: pl/* +Copyright: 1991-1997, 2004-2006, Raphael Manfredi +License: Artistic + +License: Artistic + 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. + . + On Debian systems, the full text of the Artistic License can be found + in the file `/usr/share/common-licenses/Artistic'. + +License: GPL-2+ + This package is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 2 of the License, or + (at your option) any later version. + . + This package is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + . + You should have received a copy of the GNU General Public License + along with this program. If not, see . + . + On Debian systems, the complete text of the GNU General + Public License can be found in "/usr/share/common-licenses/GPL-2". diff --git a/debian/dist.config b/debian/dist.config new file mode 100644 index 0000000..92b72b1 --- /dev/null +++ b/debian/dist.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/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/dist.postinst b/debian/dist.postinst new file mode 100644 index 0000000..3e8da16 --- /dev/null +++ b/debian/dist.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 > /dev/null 2>&1 ; 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 > /dev/null 2>&1 ; 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/dist.postrm b/debian/dist.postrm new file mode 100644 index 0000000..c291ad5 --- /dev/null +++ b/debian/dist.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/dist.prerm b/debian/dist.prerm new file mode 100644 index 0000000..c94c3cc --- /dev/null +++ b/debian/dist.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/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/pt_BR.po b/debian/po/pt_BR.po new file mode 100644 index 0000000..e5281dd --- /dev/null +++ b/debian/po/pt_BR.po @@ -0,0 +1,55 @@ +# Debconf translations for dist. +# Copyright (C) 2012 THE dist'S COPYRIGHT HOLDER +# This file is distributed under the same license as the dist package. +# Adriano Rafael Gomes , 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-08-19 11:47+0000\n" +"Last-Translator: Adriano Rafael Gomes \n" +"Language-Team: Brazilian Portuguese \n" +"Language: pt_BR\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 "" +"Parece que você não tem um arquivo /etc/news/organization. Geralmente, ele " +"contém o nome da sua organização na forma que você deseja que ele apareça na " +"linha Organização nos artigos/e-mails/patches enviados. Por favor, forneça o " +"nome da sua organização na forma que você deseja que ele apareça na linha " +"Organização nos artigos/patches enviados. (Ele pode também especificar a sua " +"localização. O nome da sua cidade provavelmente é suficiente se ela for bem " +"conhecida.) Por exemplo:" + +#. Type: string +#. Description +#: ../templates:1001 +msgid " University of Southern North Dakota, Hoople" +msgstr " Universidade do Sul da Dakota do Norte, Hoople" + +#. Type: string +#. Description +#: ../templates:1001 +msgid "Type in \"--none--\" if you do not want to specify one." +msgstr "Digite \"--none--\" caso você não queira especificar nenhuma." 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/rules b/debian/rules new file mode 100755 index 0000000..a4abf3d --- /dev/null +++ b/debian/rules @@ -0,0 +1,94 @@ +#!/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 + +# For DEB_HOST_MULTIARCH +include /usr/share/dpkg/architecture.mk + +%: + 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=/usr \ + -D orgname=/etc/news/organization \ + -D myhostname=localhost \ + -D mydomain=localdomain \ + -D defeditor=/usr/ae \ + -D privlib=/usr/share/$(package) \ + -D pager=/bin/more \ + -D mansrc=/usr/share/man/ \ + -D cf_email='$(email)' \ + -D grep=/bin/grep \ + -D sed=/bin/sed \ + -D cat=/bin/cat \ + -D zcat=/bin/zcat \ + -D d_berknames='define' + + +override_dh_auto_build: + dh_auto_build + bash -m debian/dist.postinst + bash -n debian/dist.config + bash -n debian/dist.postrm + bash -n debian/dist.prerm + +override_dh_install: + test -d $(MAN1DIR) || $(make_directory) $(MAN1DIR) + $(MAKE) install + for script in $(TMPTOP)/usr/bin/*; do \ + test `head -1 $$script` = '#!/usr/bin/perl' && perl -c $$script ;\ + done + $(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..d3827e7 --- /dev/null +++ b/debian/source/format @@ -0,0 +1 @@ +1.0 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 + + diff --git a/dist.man b/dist.man index bfee179..250b862 100644 --- a/dist.man +++ b/dist.man @@ -1,37 +1,37 @@ -''' $Id$ -''' -''' 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$ +.\" +.\" 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 @@ -183,7 +183,7 @@ format: .Ex profile-component: \fIvalue\fR .Ef -whith shell-style comments (#) allowed provided they start the line. +with shell-style comments (#) allowed provided they start the line. .PP Each command looks for a profile component entry matching its name and loads the \fIvalue\fR as if it were arguments specified diff --git a/jmake/bindex.SH b/jmake/bindex.SH index 323e4b7..fe46eb8 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$ # diff --git a/jmake/files/Jmake.rules b/jmake/files/Jmake.rules index 21b37e7..519be95 100644 --- a/jmake/files/Jmake.rules +++ b/jmake/files/Jmake.rules @@ -520,7 +520,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 @@ -1203,7 +1203,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..."; \ @@\ @@ -1217,7 +1217,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..."; \ @@\ @@ -1462,7 +1462,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..."; \ @@\ @@ -1481,7 +1481,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 879478a..ef2ddad 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,8 +398,8 @@ 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 -be copied in the generated Makefile.SH. However, future occurences of +appears, the once construct is ignored and the text up to '\-once' will +be copied in the generated Makefile.SH. However, future occurrences of the same name will be ignored (\fIonce\fR will behave like \fIskip\fR). .sp Example: @@ -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 dde89a1..91ee15f 100644 --- a/jmake/jmkmf.man +++ b/jmake/jmkmf.man @@ -1,20 +1,20 @@ -''' $Id$ -''' -''' 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$ +.\" +.\" Copyright (c) 1991-1997, 2004-2006, Raphael Manfredi +.\" +.\" You may redistribute only under the terms of the Artistic Licence, +.\" as specified in the README file that comes with the distribution. +.\" You may reuse parts of this distribution only within the terms of +.\" that same Artistic Licence; a copy of which may be found at the root +.\" of the source tree for dist 4.0. +.\" +.\" $Log: jmkmf.man,v $ +.\" Revision 3.0.1.1 1995/05/12 11:58:03 ram +.\" patch54: updated my e-mail address +.\" +.\" Revision 3.0 1993/08/18 12:04:20 ram +.\" Baseline for dist 3.0 netwide release. +.\" .TH JMKMF 1 ram .SH NAME jmkmf \- runs jmake with the correct options @@ -72,8 +72,7 @@ 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" diff --git a/kit/kitpost.man b/kit/kitpost.man index ec44edd..3455336 100644 --- a/kit/kitpost.man +++ b/kit/kitpost.man @@ -1,20 +1,20 @@ -''' $Id$ -''' -''' 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$ +.\" +.\" 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 ebe5459..f8ec79e 100644 --- a/kit/kitsend.man +++ b/kit/kitsend.man @@ -1,20 +1,20 @@ -''' $Id$ -''' -''' 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$ +.\" +.\" 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 30f462a..6693794 100644 --- a/kit/makeSH.man +++ b/kit/makeSH.man @@ -1,18 +1,18 @@ -''' $Id$ -''' -''' 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$ +.\" +.\" 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.SH b/kit/makedist.SH index f40d5c5..ccc9566 100755 --- a/kit/makedist.SH +++ b/kit/makedist.SH @@ -114,7 +114,7 @@ sub kitbuild { $list = $list[$kitnum]; $kit = sprintf("$package.kit" . $sp,$kitnum); print "*** Making $kit ***\n"; - open(KIT,">$curdir/$kit") || do fatal("Can't create $curdir/$kit: $!"); + open(KIT,">$curdir/$kit") || &fatal("Can't create $curdir/$kit: $!"); &kitleader; @@ -202,7 +202,7 @@ sub kitlists { } # Build a file PACKNOTES to reconstruct split files - if (defined %Chopped) { + if (%Chopped) { open(PACKNOTES, ">$PACKNOTES") || &fatal("Can't create PACKNOTES: $!"); foreach (keys %Chopped) { print PACKNOTES <) { ($key,$val) = split(' ',$_,1) unless ($key,$val) = /^(\S+)\s+(.*)/; $comment{$key} = $val; @@ -266,7 +266,7 @@ sub manimake { # Add built packlist $comment{$PACKLIST} = 'Which files came with which kits'; - open(PACKLIST, ">$PACKLIST") || do fatal("Can't create $PACKLIST: $!"); + open(PACKLIST, ">$PACKLIST") || &fatal("Can't create $PACKLIST: $!"); print PACKLIST "After all the $package kits are run you should have the following files: @@ -321,7 +321,7 @@ case \$todo in '') echo \"You have run all your kits.\" EOM - if (defined %Chopped) { # Some splitting occurred + if (%Chopped) { # Some splitting occurred print KIT < is available or not +?X: This unit looks whether is available or not ?X: ?MAKE:i_inttypes: Inhdr ?MAKE: -pick add $@ %< diff --git a/mcon/U/i_niin.U b/mcon/U/i_niin.U index e24cc4a..9229f1b 100644 --- a/mcon/U/i_niin.U +++ b/mcon/U/i_niin.U @@ -13,7 +13,7 @@ ?RCS: Baseline for dist 3.0 netwide release. ?RCS: ?X: -?X: This unit looks wether is available or not +?X: This unit looks whether is available or not ?X: ?MAKE:i_niin i_sysin: Inhdr ?MAKE: -pick add $@ %< diff --git a/mcon/U/i_sysmman.U b/mcon/U/i_sysmman.U index 4b3c9db..9521258 100644 --- a/mcon/U/i_sysmman.U +++ b/mcon/U/i_sysmman.U @@ -13,7 +13,7 @@ ?RCS: patch16: created ?RCS: ?X: -?X: Look wether needs to be included. +?X: Look whether needs to be included. ?X: ?MAKE:i_sysmman: Inhdr ?MAKE: -pick add $@ %< diff --git a/mcon/U/i_sysresrc.U b/mcon/U/i_sysresrc.U index 69f85f1..8e10d49 100644 --- a/mcon/U/i_sysresrc.U +++ b/mcon/U/i_sysresrc.U @@ -13,7 +13,7 @@ ?RCS: Baseline for dist 3.0 netwide release. ?RCS: ?X: -?X: Look wether needs to be included +?X: Look whether needs to be included ?X: ?MAKE:i_sysresrc: Inhdr ?MAKE: -pick add $@ %< diff --git a/mcon/U/i_sysselct.U b/mcon/U/i_sysselct.U index 7ff37a5..2d4bbef 100644 --- a/mcon/U/i_sysselct.U +++ b/mcon/U/i_sysselct.U @@ -16,7 +16,7 @@ ?RCS: Baseline for dist 3.0 netwide release. ?RCS: ?X: -?X: Look wether exists +?X: Look whether exists ?X: ?MAKE:i_sysselct: Inhdr ?MAKE: -pick add $@ %< diff --git a/mcon/U/i_systimeb.U b/mcon/U/i_systimeb.U index 38f7853..132718d 100644 --- a/mcon/U/i_systimeb.U +++ b/mcon/U/i_systimeb.U @@ -13,7 +13,7 @@ ?RCS: Baseline for dist 3.0 netwide release. ?RCS: ?X: -?X: This unit looks wether should be included +?X: This unit looks whether should be included ?X: or not when using ftime() (for struct timeb definition). ?X: ?X: Force looking for for struct timeb. diff --git a/mcon/U/i_systypes.U b/mcon/U/i_systypes.U index 3d7fddb..eb626ba 100644 --- a/mcon/U/i_systypes.U +++ b/mcon/U/i_systypes.U @@ -13,7 +13,7 @@ ?RCS: Baseline for dist 3.0 netwide release. ?RCS: ?X: -?X: Look wether needs to be included. +?X: Look whether needs to be included. ?X: ?MAKE:i_systypes: Inhdr ?MAKE: -pick add $@ %< diff --git a/mcon/U/i_sysun.U b/mcon/U/i_sysun.U index b99f736..cfe2cd9 100644 --- a/mcon/U/i_sysun.U +++ b/mcon/U/i_sysun.U @@ -13,7 +13,7 @@ ?RCS: Baseline for dist 3.0 netwide release. ?RCS: ?X: -?X: This unit looks wether is available or not +?X: This unit looks whether is available or not ?X: ?MAKE:i_sysun: Inhdr ?MAKE: -pick add $@ %< diff --git a/mcon/U/i_syswait.U b/mcon/U/i_syswait.U index 20ff974..82c9566 100644 --- a/mcon/U/i_syswait.U +++ b/mcon/U/i_syswait.U @@ -13,7 +13,7 @@ ?RCS: Baseline for dist 3.0 netwide release. ?RCS: ?X: -?X: This unit looks wether is available or not +?X: This unit looks whether is available or not ?X: ?MAKE:i_syswait: Inhdr ?MAKE: -pick add $@ %< diff --git a/mcon/U/nis.U b/mcon/U/nis.U index 06e4c47..7332545 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/man/mconfig.SH b/mcon/man/mconfig.SH index e749330..2f4e33b 100755 --- a/mcon/man/mconfig.SH +++ b/mcon/man/mconfig.SH @@ -18,88 +18,88 @@ echo "Extracting mcon/man/metaconfig.$manext (with variable substitutions)" $rm -f metaconfig.$manext $spitshell >metaconfig.$manext < macro substitution -''' -''' Revision 3.0.1.5 1993/10/16 13:51:50 ram -''' patch12: new option -M to activate ?M: lines -''' patch12: documents new ?M: lines format -''' patch12: new internal Makefile command cm_h_weed for ?M: support -''' patch12: documents usage for new confmagic.h file -''' -''' Revision 3.0.1.4 1993/09/09 11:50:35 ram -''' patch9: lots of typo fixes and abusive variable substitution problems -''' -''' Revision 3.0.1.3 1993/08/30 08:53:51 ram -''' patch8: wrongly stated that patchlevel.h should not be part of MANIFEST.new -''' -''' Revision 3.0.1.2 1993/08/24 12:13:32 ram -''' patch3: typo fixes -''' -''' Revision 3.0.1.1 1993/08/19 06:42:23 ram -''' patch1: leading config.sh searching was not aborting properly -''' -''' Revision 3.0 1993/08/18 12:10:14 ram -''' Baseline for dist 3.0 netwide release. -''' -''' +.\" @(#) Manual page for metaconfig +.\" +.\" $Id$ +.\" +.\" 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). @@ -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 @@ -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 @@ -541,14 +541,14 @@ The \fIfile\fR can contain blank lines, comment lines introduced with '#', and lines containing a single symbol. If this option is not supplied, any \fI$exclusions_file\fR variable in \fI.package\fR is honored instead. -''' -''' 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 @@ -563,8 +563,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 @@ -601,7 +601,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 @@ -626,7 +626,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 @@ -644,7 +644,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 @@ -661,7 +661,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 @@ -1520,7 +1520,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] @@ -1655,7 +1655,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 @@ -1731,7 +1731,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 @@ -1781,7 +1781,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 @@ -1881,7 +1881,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 @@ -1895,7 +1895,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. @@ -1945,7 +1945,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, @@ -1956,7 +1956,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 @@ -2028,7 +2028,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 @@ -2057,7 +2057,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 @@ -2077,7 +2077,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 8910b88..7d5e16e 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 <>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 0c74c9a..ed4e97b 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"; } } } diff --git a/pl/makedir.pl b/pl/makedir.pl index a358deb..37b9253 100644 --- a/pl/makedir.pl +++ b/pl/makedir.pl @@ -22,7 +22,7 @@ sub makedir { local($dir) = $_; if (!-d && $_ ne '') { # Make dirname first - do makedir($_) if s|(.*)/.*|\1|; + &makedir($_) if s|(.*)/.*|\1|; mkdir($dir, 0700) if ! -d $dir; } } diff --git a/pl/rcsargs.pl b/pl/rcsargs.pl index 8fdeab1..09a7cd9 100644 --- a/pl/rcsargs.pl +++ b/pl/rcsargs.pl @@ -19,11 +19,11 @@ sub rcsargs { while ($_ = shift(@_)) { if ($_ =~ /^-/) { $result .= $_ . ' '; - } elsif ($#_ >= 0 && do equiv($_,$_[0])) { + } elsif ($#_ >= 0 && &equiv($_,$_[0])) { $result .= $_ . ' ' . $_[0] . ' '; shift(@_); } else { - $result .= $_ . ' ' . do other($_) . ' '; + $result .= $_ . ' ' . &other($_) . ' '; } } $result; diff --git a/revision.h b/revision.h new file mode 100644 index 0000000..a7b6f0e --- /dev/null +++ b/revision.h @@ -0,0 +1,7 @@ +/* + * THIS FILE IS AUTOMATICALLY GENERATED -- DO NOT EDIT + * + * Generated by bin/svn-revision. + */ + +#define REVISION "$Revision: 236 $" -- cgit v1.2.3