summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBoyuan Yang <byang@debian.org>2020-02-23 14:37:44 -0800
committerBoyuan Yang <byang@debian.org>2020-02-23 14:37:44 -0800
commitad837af33e152566dc47d6805cb0a84ce1329ed5 (patch)
tree15fc67268928e2784b815b959de3f9e6212686ef
parentceb3507a8fca872770b3dcd7e5c5b36179ab95b0 (diff)
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]
-rw-r--r--ChangeLog55
-rwxr-xr-xConfigure59
-rw-r--r--MANIFEST5
-rw-r--r--bin/manicheck.man30
-rwxr-xr-xbin/manilist.SH8
-rw-r--r--bin/manilist.man48
-rwxr-xr-xbin/packinit.SH1
-rw-r--r--bin/packinit.man56
-rwxr-xr-xbin/perload8
-rw-r--r--debian/Config/README4
-rw-r--r--debian/Config/instruct3
-rw-r--r--debian/Config/mailauthor4
-rw-r--r--debian/README.Debian21
-rw-r--r--debian/changelog637
-rw-r--r--debian/clean1
-rw-r--r--debian/compat1
-rw-r--r--debian/config.over4
-rw-r--r--debian/control36
-rw-r--r--debian/copyright97
-rw-r--r--debian/dist.config82
-rw-r--r--debian/dist.docs5
-rw-r--r--debian/dist.install2
-rw-r--r--debian/dist.postinst472
-rw-r--r--debian/dist.postrm171
-rw-r--r--debian/dist.prerm129
-rw-r--r--debian/po/POTFILES.in1
-rw-r--r--debian/po/cs.po61
-rw-r--r--debian/po/da.po54
-rw-r--r--debian/po/de.po63
-rw-r--r--debian/po/es.po77
-rw-r--r--debian/po/fr.po64
-rw-r--r--debian/po/it.po56
-rw-r--r--debian/po/ja.po61
-rw-r--r--debian/po/nl.po62
-rw-r--r--debian/po/pl.po55
-rw-r--r--debian/po/pt.po53
-rw-r--r--debian/po/pt_BR.po55
-rw-r--r--debian/po/ru.po56
-rw-r--r--debian/po/sk.po43
-rw-r--r--debian/po/sv.po60
-rw-r--r--debian/po/templates.pot48
-rw-r--r--debian/po/vi.po51
-rwxr-xr-xdebian/rules94
-rw-r--r--debian/source/format1
-rw-r--r--debian/templates15
-rw-r--r--debian/watch6
-rw-r--r--dist.man72
-rwxr-xr-xjmake/bindex.SH2
-rw-r--r--jmake/files/Jmake.rules10
-rwxr-xr-xjmake/fixcpp.SH2
-rwxr-xr-xjmake/jmake.SH2
-rw-r--r--jmake/jmake.man94
-rw-r--r--jmake/jmkmf.man37
-rw-r--r--kit/kitpost.man34
-rw-r--r--kit/kitsend.man34
-rw-r--r--kit/makeSH.man30
-rwxr-xr-xkit/makedist.SH12
-rw-r--r--kit/makedist.man54
-rw-r--r--kit/manifake.man34
-rw-r--r--mcon/U/Csym.U2
-rw-r--r--mcon/U/Inhdr.U6
-rw-r--r--mcon/U/Inlibc.U4
-rw-r--r--mcon/U/Trylink.U4
-rw-r--r--mcon/U/Typedef.U2
-rw-r--r--mcon/U/d_castneg.U2
-rw-r--r--mcon/U/d_scannl.U2
-rw-r--r--mcon/U/i_inttypes.U2
-rw-r--r--mcon/U/i_niin.U2
-rw-r--r--mcon/U/i_sysmman.U2
-rw-r--r--mcon/U/i_sysresrc.U2
-rw-r--r--mcon/U/i_sysselct.U2
-rw-r--r--mcon/U/i_systimeb.U2
-rw-r--r--mcon/U/i_systypes.U2
-rw-r--r--mcon/U/i_sysun.U2
-rw-r--r--mcon/U/i_syswait.U2
-rw-r--r--mcon/U/nis.U12
-rwxr-xr-xmcon/man/mconfig.SH250
-rwxr-xr-xmcon/man/mlint.SH98
-rwxr-xr-xmcon/man/mxref.SH58
-rw-r--r--pat/pat.man102
-rwxr-xr-xpat/patcil.SH14
-rwxr-xr-xpat/patdiff.SH22
-rw-r--r--pl/makedir.pl2
-rw-r--r--pl/rcsargs.pl4
-rw-r--r--revision.h7
85 files changed, 3366 insertions, 635 deletions
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 <Raphael_Manfredi@grenoble.hp.co
Added the srcdir support to "configure" now that we have src.U.
- Documented the runnning environment and the src.U unit in
+ Documented the running environment and the src.U unit in
the metaconfig man page. The $_a and $_o are also mentionned.
All the generated scripts must now start with a "$startsh"
to ensure proper shell execution.
@@ -79,7 +79,7 @@ Fri Feb 28 17:48:41 MET 1997 Raphael Manfredi <Raphael_Manfredi@grenoble.hp.co
* bin/packinit.SH: Fixed one wrong ':' comment in .package.
- * jmake/files/Jmake.rules: Now handles USRINC for dependencies.
+ * jmake/files/Jmake.rules: Now handles USRINC for dependencies.
Smarter about dependencies computation.
* jmake/files/Jmake.tmpl: Lex path can now be configured.
@@ -109,13 +109,13 @@ Fri Feb 28 17:48:41 MET 1997 Raphael Manfredi <Raphael_Manfredi@grenoble.hp.co
* mcon/U/Instruct.U: Logname / whoami sequence rewritten to use case.
- * mcon/U/Loc.U: Allow users to specify paths on the command line.
+ * mcon/U/Loc.U: Allow users to specify paths on the command line.
Will now substitute cp for ln if not supported.
- * mcon/U/Myread.U: Myread script now starts with a "startsh".
+ * mcon/U/Myread.U: Myread script now starts with a "startsh".
Miscellaneous fixes.
- * mcon/U/Oldconfig.U: Added support for src.U. New OSNAME define.
+ * mcon/U/Oldconfig.U: Added support for src.U. New OSNAME define.
Can now sense new OSes.
* mcon/U/Options.U: Optdef.sh now starts with a "startsh". Moved
@@ -154,7 +154,7 @@ Fri Feb 28 17:48:41 MET 1997 Raphael Manfredi <Raphael_Manfredi@grenoble.hp.co
* mcon/U/d_csh.U: Added full_csh to preserve the full path even when
portable.
- * mcon/U/d_dosuid.U: Moved unit to TOP via a ?Y: layout directive.
+ * mcon/U/d_dosuid.U: Moved unit to TOP via a ?Y: layout directive.
Tell them /dev/fd is not about floppy disks.
* mcon/U/d_gconvert.U: Integrated new unit from perl5.
@@ -170,7 +170,7 @@ Fri Feb 28 17:48:41 MET 1997 Raphael Manfredi <Raphael_Manfredi@grenoble.hp.co
* mcon/U/d_newsadm.U: Added Guess dependency.
- * mcon/U/d_pidcheck.U: Replaced .o with $_o all over the place.
+ * mcon/U/d_pidcheck.U: Replaced .o with $_o all over the place.
Added ?F: metalint hint.
* mcon/U/d_poll.U: Mention that <poll.h> can be included if HAS_POLL
@@ -182,7 +182,7 @@ Fri Feb 28 17:48:41 MET 1997 Raphael Manfredi <Raphael_Manfredi@grenoble.hp.co
* mcon/U/d_setpgid.U: Reworded symbol comments.
* mcon/U/d_setpgrp.U: Obsoleted USE_BSDGRP in favor of
- USE_BSD_SETPGRP. Another unit now also defines a USE_BSD_GETPGRP.
+ USE_BSD_SETPGRP. Another unit now also defines a USE_BSD_GETPGRP.
Fallback for test program failure improved.
* mcon/U/d_sgndchr.U, mcon/U/d_wifstat.U: Added a ?F: metalint hint.
@@ -198,21 +198,21 @@ Fri Feb 28 17:48:41 MET 1997 Raphael Manfredi <Raphael_Manfredi@grenoble.hp.co
* mcon/U/i_varhdr.U: Varargs script now starts with leading "startsh".
- * mcon/U/intsize.U: Avoid prompting the user if the test runs ok.
+ * mcon/U/intsize.U: Avoid prompting the user if the test runs ok.
Moved code from longsize.U into there. New tests for shortsize as
well.
* mcon/U/libc.U: Replaced .a with $_a all over the place. Added
support for HPUX-10 nm output.
- * mcon/U/libnlist.U: Added usrinc and mips on the dependency line.
+ * mcon/U/libnlist.U: Added usrinc and mips on the dependency line.
Make sure we call ./mips. Added a ?LINT: hint.
* mcon/U/libpth.U: New loclibpth variable.
* mcon/U/longsize.U: Code moved to intsize.U.
- * mcon/U/mallocsrc.U: Added support for Free_t, the type of free().
+ * mcon/U/mallocsrc.U: Added support for Free_t, the type of free().
Replaced .o with $_o all over the place.
* mcon/U/manfmt.U, mcon/U/mansrc.U: Don't ask for AFS when they
@@ -227,7 +227,7 @@ Fri Feb 28 17:48:41 MET 1997 Raphael Manfredi <Raphael_Manfredi@grenoble.hp.co
* mcon/U/nis.U: Ensure suitable defaults for hostcat and friends.
- * mcon/U/orderlib.U: Replaced .a with $_a all over the place.
+ * mcon/U/orderlib.U: Replaced .a with $_a all over the place.
Likewise for .o replaced by $_o. Now uses the ar located by Loc.U.
* mcon/U/randbits.U: Added <unistd.h> and <stdlib.h> to the C program
@@ -262,13 +262,13 @@ Fri Feb 28 17:48:41 MET 1997 Raphael Manfredi <Raphael_Manfredi@grenoble.hp.co
* mcon/U/voidflags.U: Don't prompt them if the void support is high
enough for us.
- * mcon/configure: Added the srcdir support now that we have src.U.
+ * mcon/configure: Added the srcdir support now that we have src.U.
Random cleanup for nicer help message.
- * mcon/man/mconfig.SH: Documents the runnning environment and the
+ * mcon/man/mconfig.SH: Documents the running environment and the
src.U unit. Added warnings for $_a and $_o, as well as "startsh".
- * mcon/man/mlint.SH: New "create" and "empty" lint directives.
+ * mcon/man/mlint.SH: New "create" and "empty" lint directives.
Documented new messages.
* mcon/mxref.SH, mcon/man/mxref.SH: New -L option to match metaconfig
@@ -341,7 +341,7 @@ Mon Sep 25 10:33:26 MET 1995 Raphael Manfredi <ram@hptnos02.grenoble.hp.com>
* 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 <ram@hptnos02.grenoble.hp.com
* mcon/U/libs.U, mcon/U/Loc.U, mcon/U/Guess.U, mcon/U/Oldconfig.U,
mcon/U/libc.U: Now knows about OS/2 platforms.
- * mcon/U/Head.U: Added SVR4-ish /opt directories to path list (ADO).
+ * mcon/U/Head.U: Added SVR4-ish /opt directories to path list (ADO).
OS/2 platforms are using another path separator.
* mcon/U/Typedef.U: Added backslash escapes within evals to prevent
@@ -668,7 +668,7 @@ Fri May 12 14:39:16 METDST 1995 Raphael Manfredi <ram@hptnos02.grenoble.hp.com
by checking both header and lib (ADO).
* mcon/U/libc.U: Made sure only most recent version of shared lib is
- picked. Final "nm -p" check now uses xscan and xrun like everybody.
+ picked. Final "nm -p" check now uses xscan and xrun like everybody.
Can now grok linux nm output with lead __IO (ADO). Added support for
linux ELF output, using 'W' for alias (ADO).
@@ -693,7 +693,7 @@ Tue Mar 21 09:55:57 MET 1995 Raphael Manfredi <ram@hptnos02.grenoble.hp.com>
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 <ram@hptnos02.grenoble.hp.com>
* 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 <ram@acri.fr>
* 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 <ram@acri.fr>
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 <ram@acri.fr>
* 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 <ram@acri.fr>
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 <ram@acri.fr>
* 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 <ram@acri.fr>
* 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 <<EOM
-$me: Fatal Error: I can't find a Bourne Shell anywhere.
+$me: Fatal Error: I can't find a Bourne Shell anywhere.
Usually it's in /bin/sh. How did you even get this far?
-Please contact me (Raphael Manfredi) at Raphael_Manfredi@pobox.com and
+Please contact me (Raphael Manfredi) at Raphael_Manfredi@pobox.com and
we'll try to straighten this all out.
EOM
exit 1
@@ -683,7 +683,7 @@ while test $# -gt 0; do
case "$zzz" in
*:*) zzz='' ;;
*) xxx=append
- zzz=" "`echo "$yyy"|sed 's!^[^=]*=!!'`
+ zzz=" "`echo "$yyy"|sed 's!^[^=]*=!!'`
yyy=`echo "$yyy"|sed 's!=.*!!'` ;;
esac
;;
@@ -697,7 +697,7 @@ while test $# -gt 0; do
*) xxx=`echo "$yyy"|sed 's!:.*!!'`
yyy=`echo "$yyy"|sed 's!^[^:]*:!!'` ;;
esac
- ;;
+ ;;
esac
case "$xxx" in
append)
@@ -1214,7 +1214,7 @@ if $contains "^$user\$" ../.config/instruct >/dev/null 2>&1; then
fi
if $needman; then
cat <<EOH
-
+
This installation shell script will examine your system and ask you questions
to determine how the dist package should be installed. If you get
stuck on a question, you may use a ! shell escape to start a subshell or
@@ -1238,7 +1238,7 @@ in the default answer, as if the default line was a set of arguments given to a
script shell. This means you may also use $* to repeat the whole default line,
so you do not have to re-type everything to add something to the default.
-Everytime there is a substitution, you will have to confirm. If there is an
+Every time there is a substitution, you will have to confirm. If there is an
error (e.g. an unmatched backtick), the default answer will remain unchanged
and you will be prompted again.
@@ -1462,7 +1462,7 @@ ln$_exe|ln)
;;
esac
case "$make" in
-make$_exe|make)
+make$_exe|make)
case "$gmake" in
gmake)
echo "I can't find make or gmake, and my life depends on it." >&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 <<EOM
+ ./warn 4>&4 <<EOM
Any previous setting of the C compiler flags has been lost.
It may be necessary to pass -Dcc=gcc to Configure right away.
EOM
@@ -1594,9 +1594,9 @@ cat <<EOS >checkcc
$startsh
EOS
cat <<'EOSC' >>checkcc
-case "$cc" in
+case "$cc" in
'') ;;
-*) $rm -f try try.*
+*) $rm -f try try.*
$cat >try.c <<EOM
int main(int argc, char *argv[]) {
(void) argc;
@@ -1610,7 +1610,7 @@ EOM
if $test X"$despair" = Xyes; then
echo "Uh-oh, the C compiler '$cc' doesn't seem to be working." >&4
fi
- $cat >&4 <<EOM
+ $cat >&4 <<EOM
You need to find a working C compiler.
Either (purchase and) install the C compiler supplied by your OS vendor,
or for a free C compiler try http://gcc.gnu.org/
@@ -1674,7 +1674,7 @@ case "$lns" in
;;
*) issymlink='' ;;
esac
- fi
+ fi
fi
if $test "X$issymlink" = X; then
if $test -L sym 2>/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 <<EOM
-
+
Some installations have a separate directory just for executable scripts so
that they can mount it across multiple architectures but keep the scripts in
one spot. You might, for example, have a subdirectory of /usr/share for this.
Or you might just lump your scripts in with all your other executables.
-
+
EOM
fn=d~
rp='Where do you keep publicly executable scripts?'
@@ -3383,7 +3383,7 @@ else
fi
$rm -f foo.c foo.cpp
-: Check whether they have gcc in any guise.
+: Check whether they have gcc in any guise.
echo " "
echo "Checking for GNU cc in disguise and/or its version number..." >&4
$cat >try.c <<EOM
@@ -3406,7 +3406,7 @@ then
case "$gccversion" in
'') echo "You are not using GNU cc." ;;
*) echo "You are using GNU cc $gccversion."
- ccname=gcc
+ ccname=gcc
;;
esac
else
@@ -3855,7 +3855,7 @@ esac
for thislibdir in $libpth; do
case " $loclibpth " in
*" $thislibdir "*)
- case "$dflt " in
+ case "$dflt " in
*"-L$thislibdir "*) ;;
*) dflt="$dflt -L$thislibdir" ;;
esac
@@ -4207,7 +4207,7 @@ case "$orgname" in
*) dflt="$orgname";;
esac
$cat << 'EOH'
-
+
Please type the name of your organization as you want it to appear on the
Organization line of outgoing articles. (It's nice if this also specifies
your location. Your city name is probably sufficient if well known.)
@@ -4736,4 +4736,3 @@ $rm -f kit*isdone ark*isdone
$rm -rf UU
: End of Configure
-
diff --git a/MANIFEST b/MANIFEST
index f15caea..869872a 100644
--- a/MANIFEST
+++ b/MANIFEST
@@ -150,7 +150,7 @@ mcon/U/cc.U Which C compiler should be used?
mcon/U/ccflags.U Any additional C flags?
mcon/U/cf_email.U Computes user's e-mail address
mcon/U/cf_name.U Computes user's full name
-mcon/U/cf_who.U Who configured the sytem, where and when
+mcon/U/cf_who.U Who configured the system, where and when
mcon/U/charorder.U Character order within a byte
mcon/U/charsize.U What is the size of "char"?
mcon/U/contains.U Makes status-returning grep
@@ -165,7 +165,7 @@ mcon/U/d_SHM_MAC.U SHMLBA macro stuff
mcon/U/d_access.U Do we have access()?
mcon/U/d_alarm.U Do we have alarm()?
mcon/U/d_arc4random.U Do we have arc4random()?
-mcon/U/d_attribut.U Checks wether your cc groks __attribute__
+mcon/U/d_attribut.U Checks whether your cc groks __attribute__
mcon/U/d_backtrace.U Do we have backtrace()?
mcon/U/d_bcmp.U Do we have bcmp() or memcmp()?
mcon/U/d_bcopy.U Do we have bcopy() or memcpy()?
@@ -752,3 +752,4 @@ pl/rcsargs.pl Perl library to expand rcs filename lists
pl/snapshot.pl Perl library to parse RCS snapshot file
pl/tilde.pl Perl library to perform ~name expansion
pl/users.pl Perl library to parse users file
+revision.h The current SVN revision number for dist
diff --git a/bin/manicheck.man b/bin/manicheck.man
index 35087c8..ba9fa2f 100644
--- a/bin/manicheck.man
+++ b/bin/manicheck.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: manicheck.man,v $
-''' Revision 3.0 1993/08/18 12:04:02 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: manicheck.man,v $
+.\" Revision 3.0 1993/08/18 12:04:02 ram
+.\" Baseline for dist 3.0 netwide release.
+.\"
+.\"
.TH MANICHECK 1 ram
.SH NAME
manicheck \- check manifest accuracy
diff --git a/bin/manilist.SH b/bin/manilist.SH
index 85c7b21..1534943 100755
--- a/bin/manilist.SH
+++ b/bin/manilist.SH
@@ -23,7 +23,7 @@ $startperl
# $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
@@ -79,7 +79,7 @@ $spitshell >>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 <<!GROK!THIS!
+#!/usr/bin/perl
# feed this into perl
eval 'exec perl -S \$0 \${1+"\$@"}'
if \$running_under_some_shell;
diff --git a/bin/packinit.man b/bin/packinit.man
index bc954f0..c1b7bc5 100644
--- a/bin/packinit.man
+++ b/bin/packinit.man
@@ -1,30 +1,30 @@
-''' $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: packinit.man,v $
-''' Revision 3.0.1.4 1995/07/25 13:31:38 ram
-''' patch56: fixed a typo
-'''
-''' Revision 3.0.1.3 1995/05/12 11:57:38 ram
-''' patch54: updated my e-mail address
-'''
-''' Revision 3.0.1.2 1994/10/29 15:45:17 ram
-''' patch36: added new variables cext, shext, changelog and changercs
-'''
-''' Revision 3.0.1.1 1994/01/24 13:54:31 ram
-''' patch16: now documents variables set in .package by packinit
-'''
-''' Revision 3.0 1993/08/18 12:04:06 ram
-''' Baseline for dist 3.0 netwide release.
-'''
-'''
+.\" $Id$
+.\"
+.\" Copyright (c) 1991-1997, 2004-2006, Raphael Manfredi
+.\"
+.\" You may redistribute only under the terms of the Artistic Licence,
+.\" as specified in the README file that comes with the distribution.
+.\" You may reuse parts of this distribution only within the terms of
+.\" that same Artistic Licence; a copy of which may be found at the root
+.\" of the source tree for dist 4.0.
+.\"
+.\" $Log: packinit.man,v $
+.\" Revision 3.0.1.4 1995/07/25 13:31:38 ram
+.\" patch56: fixed a typo
+.\"
+.\" Revision 3.0.1.3 1995/05/12 11:57:38 ram
+.\" patch54: updated my e-mail address
+.\"
+.\" Revision 3.0.1.2 1994/10/29 15:45:17 ram
+.\" patch36: added new variables cext, shext, changelog and changercs
+.\"
+.\" Revision 3.0.1.1 1994/01/24 13:54:31 ram
+.\" patch16: now documents variables set in .package by packinit
+.\"
+.\" Revision 3.0 1993/08/18 12:04:06 ram
+.\" Baseline for dist 3.0 netwide release.
+.\"
+.\"
.TH PACKINIT 1 ram
.SH NAME
packinit \- initialize or update your .package file
@@ -145,4 +145,4 @@ Larry Wall <lwall@netlabs.com> (version 2.0)
.br
Raphael Manfredi <Raphael.Manfredi@pobox.com>
.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
+<srivasta@debian.org>, from the sources distributed directly by
+the author, Raphael Manfredi <ram@hptnos02.grenoble.hp.com>.
+
+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 <byang@debian.org> 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 <dom@earth.li> 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 <srivasta@debian.org> 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 <srivasta@debian.org> 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 <srivasta@debian.org> 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 <srivasta@debian.org> 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 <srivasta@debian.org> 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 <dom@earth.li> 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 <dom@earth.li> 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 <bubulle@debian.org> 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 <srivasta@debian.org> 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 <srivasta@debian.org> 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 <srivasta@debian.org> 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 <srivasta@debian.org> 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 <srivasta@debian.org> 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 <srivasta@debian.org> 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 <PATCHLEVEL>
+ is deprecated in unit files, replaced by <REVISION>.
+ - 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 <poll.h>.
+ - 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 <srivasta@debian.org> 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 <srivasta@debian.org> 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 <srivasta@debian.org> 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 <srivasta@debian.org> 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 <srivasta@debian.org> 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 <srivasta@debian.org> 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 <srivasta@debian.org> 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 <srivasta@debian.org> 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 <srivasta@debian.org> 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 <srivasta@debian.org> 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 <srivasta@debian.org> 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 <srivasta@debian.org> Sun, 18 Apr 2004 17:44:51 -0500
+
+dist (3.70-22) unstable; urgency=low
+
+ * Forgot to run debconf-updatepo
+
+ -- Manoj Srivastava <srivasta@debian.org> 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 <srivasta@debian.org> 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 <srivasta@debian.org> 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 <srivasta@debian.org> 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 <srivasta@debian.org> 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 <srivasta@debian.org> 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 <srivasta@debian.org> 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 <srivasta@debian.org> 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 <srivasta@debian.org> Mon, 11 Nov 2002 23:14:48 -0600
+
+dist (3.70-13) unstable; urgency=low
+
+ * Fix lintian warnings.
+
+ -- Manoj Srivastava <srivasta@debian.org> 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 <srivasta@debian.org> 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 <srivasta@debian.org> 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 <srivasta@debian.org> 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 <srivasta@debian.org> 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 <srivasta@debian.org> 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 <srivasta@debian.org> 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 <srivasta@debian.org> 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 <srivasta@debian.org> 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 <srivasta@debian.org> 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 <srivasta@debian.org> 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 <srivasta@debian.org> 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 <poll.h> 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 <unistd.h> and <stdlib.h> to the C program test
+ * removed empty ?LINT lines
+ * always include <sys/select.h> 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 <srivasta@debian.org> Fri, 28 Feb 1997 14:14:07 -0600
+
+dist (3.60-9) unstable; urgency=low
+
+ * Removed frozen from the section list.
+
+ -- Manoj Srivastava <srivasta@debian.org> 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 <srivasta@debian.org> Thu, 13 Feb 1997 14:38:47 -0600
+
+dist (3.60-7) frozen unstable; urgency=low
+
+ * Changed to the new packaging format.
+
+ -- Manoj Srivastava <srivasta@debian.org> 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 <srivasta@debian.org>
+
+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 <srivasta@debian.org>
+
+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 <srivasta@debian.org>
+
+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 <srivasta@debian.org>
+
+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 <srivasta@debian.org>
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 <srivasta@debian.org>
+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 <Raphael_Manfredi@grenoble.hp.com>
+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 <srivasta@debian.org>
+ 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 <https://www.gnu.org/licenses/>.
+ .
+ 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:
+# * <postinst> `configure' <most-recently-configured-version>
+# * <old-postinst> `abort-upgrade' <new version>
+# * <conflictor's-postinst> `abort-remove' `in-favour' <package>
+# <new-version>
+# * <deconfigured's-postinst> `abort-deconfigure' `in-favour'
+# <failed-install-package> <version> `removing'
+# <conflicting-package> <version>
+# 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" = "<unknown>"; 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:
+# * <postrm> `remove'
+# * <postrm> `purge'
+# * <old-postrm> `upgrade' <new-version>
+# * <new-postrm> `failed-upgrade' <old-version>
+# * <new-postrm> `abort-install'
+# * <new-postrm> `abort-install' <old-version>
+# * <new-postrm> `abort-upgrade' <old-version>
+# * <disappearer's-postrm> `disappear' <r>overwrit>r> <new-version>
+# 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 <kurem@debian.cz>\n"
+"Language-Team: Czech <debian-l10n-czech@lists.debian.org>\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 <joedalton2@yahoo.dk>\n"
+"Language-Team: Danish <debian-l10n-danish@lists.debian.org>\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 <mail@erikschanze.de>, 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 <mail@erikschanze.de>\n"
+"Language-Team: German <debian-l10n-german@lists.debian.org>\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 <cesar.gomez@gmail.com>
+#
+# 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 <cesar.gomez@gmail.com>\n"
+"Language-Team: Debian l10n spanish <debian-l10n-spanish@lists.debian.org>\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 <bubulle@debian.org>, 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 <bubulle@debian.org>\n"
+"Language-Team: French <debian-l10n-french@lists.debian.org>\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 <srivasta@debian.org>
+# This file is distributed under the same license as the dist package.
+# Beatrice Torracca <beatricet@libero.it>, 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 <beatricet@libero.it>\n"
+"Language-Team: Italian <debian-l10n-italian@lists.debian.org>\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 <henrich@samba.gr.jp>\n"
+"Language-Team: Japanese <debian-japanese@lists.debian.org>\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 <luk.claes@ugent.be>\n"
+"Language-Team: Debian l10n Dutch <debian-l10n-dutch@lists.debian.org>\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 <michal.kulach@gmail.com>, 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 <michal.kulach@gmail.com>\n"
+"Language-Team: Polish <debian-l10n-polish@lists.debian.org>\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 <kikentai@gmail.com>, 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 <kikentai@gmail.com>\n"
+"Language-Team: Portuguese <traduz@debianpt.org>\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 <adrianorg@gmail.com>, 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 <adrianorg@gmail.com>\n"
+"Language-Team: Brazilian Portuguese <debian-l10n-portuguese@lists.debian."
+"org>\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 <kozlov.y@gmail.com>, 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 <kozlov.y@gmail.com>\n"
+"Language-Team: Russian <debian-l10n-russian@lists.debian.org>\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 <helix84@centrum.sk>, 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 <helix84@centrum.sk>\n"
+"Language-Team: Slovak <debian-l10n-slovak@lists.debian.org>\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 <po@danielnylander.se>\n"
+"Language-Team: Swedish <sv@li.org>\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 <EMAIL@ADDRESS>, 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 <EMAIL@ADDRESS>\n"
+"Language-Team: LANGUAGE <LL@li.org>\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 <clytie@riverland.net.au>, 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 <clytie@riverland.net.au>\n"
+"Language-Team: Vietnamese <gnomevi-list@lists.sourceforge.net>\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 <<!GROK!THIS!
$startperl
eval 'exec perl -S \$0 \${1+"\$@"}'
- if \$runnning_under_some_shell;
+ if \$running_under_some_shell;
# $Id$
#
diff --git a/jmake/jmake.SH b/jmake/jmake.SH
index 3973185..3aa3c6d 100755
--- a/jmake/jmake.SH
+++ b/jmake/jmake.SH
@@ -19,7 +19,7 @@ echo "Extracting jmake/jmake (with variable substitutions)"
$spitshell >jmake <<!GROK!THIS!
$startperl
eval 'exec perl -S \$0 \${1+"\$@"}'
- if \$runnning_under_some_shell;
+ if \$running_under_some_shell;
# $Id$
#
diff --git a/jmake/jmake.man b/jmake/jmake.man
index 66b306d..dd6de0d 100644
--- a/jmake/jmake.man
+++ b/jmake/jmake.man
@@ -1,28 +1,28 @@
-''' $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: jmake.man,v $
-''' Revision 3.0.1.3 2004/08/22 09:01:55 ram
-''' patch71: renamed |test as |case as the construct has its syntax
-''' patch71: added |subst section to allow variable substitutions
-'''
-''' Revision 3.0.1.2 2004/08/21 23:19:52 ram
-''' patch71: added '|shell' section to emit verbatim code in Makefile.SH
-''' patch71: new '|test' to conditionally generate Makefile sections
-'''
-''' Revision 3.0.1.1 1995/05/12 11:57:58 ram
-''' patch54: updated my e-mail address
-'''
-''' Revision 3.0 1993/08/18 12:04:18 ram
-''' Baseline for dist 3.0 netwide release.
-'''
+.\" $Id$
+.\"
+.\" Copyright (c) 1991-1997, 2004-2006, Raphael Manfredi
+.\"
+.\" You may redistribute only under the terms of the Artistic Licence,
+.\" as specified in the README file that comes with the distribution.
+.\" You may reuse parts of this distribution only within the terms of
+.\" that same Artistic Licence; a copy of which may be found at the root
+.\" of the source tree for dist 4.0.
+.\"
+.\" $Log: jmake.man,v $
+.\" Revision 3.0.1.3 2004/08/22 09:01:55 ram
+.\" patch71: renamed |test as |case as the construct has its syntax
+.\" patch71: added |subst section to allow variable substitutions
+.\"
+.\" Revision 3.0.1.2 2004/08/21 23:19:52 ram
+.\" patch71: added '|shell' section to emit verbatim code in Makefile.SH
+.\" patch71: new '|test' to conditionally generate Makefile sections
+.\"
+.\" Revision 3.0.1.1 1995/05/12 11:57:58 ram
+.\" patch54: updated my e-mail address
+.\"
+.\" Revision 3.0 1993/08/18 12:04:18 ram
+.\" Baseline for dist 3.0 netwide release.
+.\"
.TH JMAKE 1 ram
.SH NAME
jmake \- a generic makefile builder
@@ -195,16 +195,16 @@ Available commands are:
|rule: <text>: 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 <pattern>: expand lines until '-expand' with <pattern>. A
+|expand <pattern>: expand lines until '\-expand' with <pattern>. A
complete example is shown below.
.sp
.IP \(bu
-|once <symbol>: text up to '-once' appears only the first time.
+|once <symbol>: 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
<text>
--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 <Raphael.Manfredi@pobox.com>
.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 <<EOC;
@@ -248,9 +248,9 @@ EOC
# Read manifest file and initialize the %comment array.
sub maniread {
- do fatal("You don't have a $NEWMANI file. Run manifake")
+ &fatal("You don't have a $NEWMANI file. Run manifake")
unless -f "$NEWMANI";
- open(NEWMANI,$NEWMANI) || do fatal("Can't read $NEWMANI: $!");
+ open(NEWMANI,$NEWMANI) || &fatal("Can't read $NEWMANI: $!");
while (<NEWMANI>) {
($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 <<EOM;
if test -f $PACKNOTES; then
sh $PACKNOTES
diff --git a/kit/makedist.man b/kit/makedist.man
index 5c6b09d..e950726 100644
--- a/kit/makedist.man
+++ b/kit/makedist.man
@@ -1,25 +1,25 @@
.rn '' }`
-''' $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: makedist.man,v $
-''' Revision 3.0.1.2 1995/05/12 11:58:16 ram
-''' patch54: updated my e-mail address
-'''
-''' Revision 3.0.1.1 1994/05/06 14:00:50 ram
-''' patch23: now mentions kitpost and kitsend
-'''
-''' Revision 3.0 1993/08/18 12:04:31 ram
-''' Baseline for dist 3.0 netwide release.
-'''
-'''
+.\" $Id$
+.\"
+.\" Copyright (c) 1991-1997, 2004-2006, Raphael Manfredi
+.\"
+.\" You may redistribute only under the terms of the Artistic Licence,
+.\" as specified in the README file that comes with the distribution.
+.\" You may reuse parts of this distribution only within the terms of
+.\" that same Artistic Licence; a copy of which may be found at the root
+.\" of the source tree for dist 4.0.
+.\"
+.\" $Log: makedist.man,v $
+.\" Revision 3.0.1.2 1995/05/12 11:58:16 ram
+.\" patch54: updated my e-mail address
+.\"
+.\" Revision 3.0.1.1 1994/05/06 14:00:50 ram
+.\" patch23: now mentions kitpost and kitsend
+.\"
+.\" Revision 3.0 1993/08/18 12:04:31 ram
+.\" Baseline for dist 3.0 netwide release.
+.\"
+.\"
.de Sh
.br
.ne 5
@@ -31,11 +31,11 @@
.if t .sp .5v
.if n .sp
..
-'''
-''' Set up \*(-- to give an unbreakable dash;
-''' string Tr holds user defined translation string.
-''' Bell System Logo is used as a dummy character.
-'''
+.\"
+.\" Set up \*(-- to give an unbreakable dash;
+.\" string Tr holds user defined translation string.
+.\" Bell System Logo is used as a dummy character.
+.\"
.ie n \{\
.tr \(*W-\*(Tr
.ds -- \(*W-
@@ -100,7 +100,7 @@ automatically split in smaller parts. Only the first 11 characters of the file
will be kept though, and \fImakedist\fR will abort if two distinct files are
to be split and have the same 11 first characters in their names. The split
files will automatically be reconstructed at the end of the archive extraction
-by runnning a script generated in PACKNOTES.
+by running a script generated in PACKNOTES.
.PP
You may then mail your kits via \fIkitsend\fR or post them with \fIkitpost\fR.
.SH OPTIONS
diff --git a/kit/manifake.man b/kit/manifake.man
index 8c76ba7..0b79d2e 100644
--- a/kit/manifake.man
+++ b/kit/manifake.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: manifake.man,v $
-''' Revision 3.0.1.1 1995/05/12 11:58:21 ram
-''' patch54: updated my e-mail address
-'''
-''' Revision 3.0 1993/08/18 12:04:33 ram
-''' Baseline for dist 3.0 netwide release.
-'''
+.\" $Id$
+.\"
+.\" Copyright (c) 1991-1997, 2004-2006, Raphael Manfredi
+.\"
+.\" You may redistribute only under the terms of the Artistic Licence,
+.\" as specified in the README file that comes with the distribution.
+.\" You may reuse parts of this distribution only within the terms of
+.\" that same Artistic Licence; a copy of which may be found at the root
+.\" of the source tree for dist 4.0.
+.\"
+.\" $Log: manifake.man,v $
+.\" Revision 3.0.1.1 1995/05/12 11:58:21 ram
+.\" patch54: updated my e-mail address
+.\"
+.\" Revision 3.0 1993/08/18 12:04:33 ram
+.\" Baseline for dist 3.0 netwide release.
+.\"
.TH MANIFAKE 1 ram
.SH NAME
manifake \- creates a MANIFEST.new out of a MANIFEST file
diff --git a/mcon/U/Csym.U b/mcon/U/Csym.U
index 45ff465..f08a6fa 100644
--- a/mcon/U/Csym.U
+++ b/mcon/U/Csym.U
@@ -32,7 +32,7 @@
?LINT:use libc
?S:csym:
?S: This shell variable is used internally by Configure to check
-?S: wether a given C symbol is defined or not. A typical use is:
+?S: whether a given C symbol is defined or not. A typical use is:
?S: set symbol result [-fva] [previous]
?S: eval $csym
?S: That will set result to 'true' if the function [-f], variable [-v]
diff --git a/mcon/U/Inhdr.U b/mcon/U/Inhdr.U
index 72890e6..5ec252d 100644
--- a/mcon/U/Inhdr.U
+++ b/mcon/U/Inhdr.U
@@ -19,7 +19,7 @@
?RCS: Baseline for dist 3.0 netwide release.
?RCS:
?X:
-?X: This unit checks wether a set of header files exists or not.
+?X: This unit checks whether a set of header files exists or not.
?X: If the first header is not found, the function tries to locate
?X: the next header, and so on, until one is found or there is no
?X: more header in the list.
@@ -34,10 +34,10 @@
?V:inhdr
?S:inhdr:
?S: This shell variable is used internally by Configure to check
-?S: wether a set of headers exist or not. A typical use is:
+?S: whether a set of headers exist or not. A typical use is:
?S: set header i_header [ header2 i_header2 ... ]
?S: eval $inhdr
-?S: That will print a message, saying wether header was found or
+?S: That will print a message, saying whether header was found or
?S: not and set i_header* accordingly. If the first header is not
?S: found, we try the next one, until the list is empty or one is found.
?S:.
diff --git a/mcon/U/Inlibc.U b/mcon/U/Inlibc.U
index 36796ea..2aeb8a8 100644
--- a/mcon/U/Inlibc.U
+++ b/mcon/U/Inlibc.U
@@ -28,10 +28,10 @@
?V:inlibc
?S:inlibc:
?S: This shell variable is used internally by Configure to check
-?S: wether a given function is defined or not. A typical use is:
+?S: whether a given function is defined or not. A typical use is:
?S: set function d_func
?S: eval $inlibc
-?S: That will print a message, saying wether function was found or
+?S: That will print a message, saying whether function was found or
?S: not and set d_func accordingly.
?S:.
?T:was tx sym tres td tu var
diff --git a/mcon/U/Trylink.U b/mcon/U/Trylink.U
index d45ffe2..e38e0b2 100644
--- a/mcon/U/Trylink.U
+++ b/mcon/U/Trylink.U
@@ -43,11 +43,11 @@
?V:trylink:cyn
?S:trylink:
?S: This shell variable is used internally by Configure to check
-?S: wether a given function is defined or not. A typical use is:
+?S: whether a given function is defined or not. A typical use is:
?S: create try.c
?S: set d_func [optional cc flags to try in sequence]
?S: eval $trylink
-?S: That will print a message, saying wether function was found or
+?S: That will print a message, saying whether function was found or
?S: not and set d_func accordingly.
?S:.
?T:var file val nparams msg yes no
diff --git a/mcon/U/Typedef.U b/mcon/U/Typedef.U
index ad39117..b321ced 100644
--- a/mcon/U/Typedef.U
+++ b/mcon/U/Typedef.U
@@ -32,7 +32,7 @@
?V:typedef
?S:typedef:
?S: This shell variable is used internally by Configure to check
-?S: wether a given typedef is defined or not. A typical use is:
+?S: whether a given typedef is defined or not. A typical use is:
?S: set typedef val_t default [includes]
?S: eval $typedef
?S: That will return val_t set to default if the typedef was not found,
diff --git a/mcon/U/d_castneg.U b/mcon/U/d_castneg.U
index 517ac1c..8fd67e3 100644
--- a/mcon/U/d_castneg.U
+++ b/mcon/U/d_castneg.U
@@ -27,7 +27,7 @@
?MAKE: -pick add $@ %<
?S:d_castneg:
?S: This variable conditionally defines CASTNEG, which indicates
-?S: wether the C compiler can cast negative float to unsigned.
+?S: whether the C compiler can cast negative float to unsigned.
?S:.
?S:castflags:
?S: This variable contains a flag that precise difficulties the
diff --git a/mcon/U/d_scannl.U b/mcon/U/d_scannl.U
index 4f31596..c16952a 100644
--- a/mcon/U/d_scannl.U
+++ b/mcon/U/d_scannl.U
@@ -26,7 +26,7 @@
?MAKE: -pick add $@ %<
?S:d_scannl:
?S: This variable conditionally defines SCAN_NL, which indicates
-?S: wether the C library routines scanf() and friends can deal with
+?S: whether the C library routines scanf() and friends can deal with
?S: a '\n' in the input correctly. They do most of the time.
?S:.
?C:SCAN_NL:
diff --git a/mcon/U/i_inttypes.U b/mcon/U/i_inttypes.U
index fb02d0a..c22fa46 100644
--- a/mcon/U/i_inttypes.U
+++ b/mcon/U/i_inttypes.U
@@ -13,7 +13,7 @@
?RCS: Baseline for dist 3.0 netwide release.
?RCS:
?X:
-?X: This unit looks wether <inttypes.h> is available or not
+?X: This unit looks whether <inttypes.h> 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 <netinet/in.h> is available or not
+?X: This unit looks whether <netinet/in.h> 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 <sys/mman.h> needs to be included.
+?X: Look whether <sys/mman.h> 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 <sys/resource.h> needs to be included
+?X: Look whether <sys/resource.h> 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 <sys/select.h> exists
+?X: Look whether <sys/select.h> 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 <sys/timeb.h> should be included
+?X: This unit looks whether <sys/timeb.h> should be included
?X: or not when using ftime() (for struct timeb definition).
?X:
?X: Force looking for <sys/time.h> 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 <sys/types.h> needs to be included.
+?X: Look whether <sys/types.h> 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 <sys/un.h> is available or not
+?X: This unit looks whether <sys/un.h> 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 <sys/wait.h> is available or not
+?X: This unit looks whether <sys/wait.h> 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 <<!GROK!THIS!
.TH METACONFIG $manext "Version $VERSION PL$PATCHLEVEL"
-''' @(#) 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 runnning environment and the src.U unit
-''' patch61: added warnings for $_a and $_o, as well as "startsh"
-'''
-''' Revision 3.0.1.16 1995/09/25 09:17:48 ram
-''' patch59: documented new ?Y: directive
-''' patch59: fixed my e-mail address
-'''
-''' Revision 3.0.1.15 1995/07/25 14:18:24 ram
-''' patch56: added extra nroff escapes at line heads to keep leading dots
-''' patch56: documented new -G option
-''' patch56: extended description of the Csym.U unit
-''' patch56: now mentions what a compile-link test line should look like
-'''
-''' Revision 3.0.1.14 1995/05/12 12:25:02 ram
-''' patch54: documented new -K switch for knowledgeable users
-'''
-''' Revision 3.0.1.13 1995/01/30 14:46:39 ram
-''' patch49: documented new special units Prefixit.U and Prefixup.U
-'''
-''' Revision 3.0.1.12 1995/01/11 15:39:16 ram
-''' patch45: documents new -O option and new Getfile escape supports
-''' patch45: documents the & escape in Myread and the new cc symbol lookup
-'''
-''' Revision 3.0.1.11 1994/10/29 16:32:38 ram
-''' patch36: added nroff protection for lines beginning with '.'
-''' patch36: documents new ?F: line for file declarations
-''' patch36: added example showing how ./loc can be used
-'''
-''' Revision 3.0.1.10 1994/08/29 16:33:40 ram
-''' patch32: documented new Typedef.U unit for typedef lookup
-'''
-''' Revision 3.0.1.9 1994/06/20 07:10:14 ram
-''' patch30: added -L option for easier unit testing
-''' patch30: new -D and -U options supported by Configure
-'''
-''' Revision 3.0.1.8 1994/05/13 15:29:16 ram
-''' patch27: now understands macro definitions in ?H: lines
-'''
-''' Revision 3.0.1.7 1994/05/06 15:19:25 ram
-''' patch23: documented the new 'p' option in Getfile.U
-'''
-''' Revision 3.0.1.6 1994/01/24 14:19:47 ram
-''' patch16: symbols defined in a unit can be tagged "internal use only"
-''' patch16: documents new MailList.U special unit
-''' patch16: new general <\$variable> macro substitution
-'''
-''' Revision 3.0.1.5 1993/10/16 13:51:50 ram
-''' patch12: new option -M to activate ?M: lines
-''' patch12: documents new ?M: lines format
-''' patch12: new internal Makefile command cm_h_weed for ?M: support
-''' patch12: documents usage for new confmagic.h file
-'''
-''' Revision 3.0.1.4 1993/09/09 11:50:35 ram
-''' patch9: lots of typo fixes and abusive variable substitution problems
-'''
-''' Revision 3.0.1.3 1993/08/30 08:53:51 ram
-''' patch8: wrongly stated that patchlevel.h should not be part of MANIFEST.new
-'''
-''' Revision 3.0.1.2 1993/08/24 12:13:32 ram
-''' patch3: typo fixes
-'''
-''' Revision 3.0.1.1 1993/08/19 06:42:23 ram
-''' patch1: leading config.sh searching was not aborting properly
-'''
-''' Revision 3.0 1993/08/18 12:10:14 ram
-''' Baseline for dist 3.0 netwide release.
-'''
-'''
+.\" @(#) 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 <<EOM
var='\$var'
tar='\$\&tar'
@@ -685,7 +685,7 @@ echo \$\&tar
.Ef
The first here document has its content interpreted whilst the second
one is output as-is. Both are useful in a .SH script, as we are about to see.
-'''
+.\"
.SS Using .SH Scripts
.PP
A .SH script is usually produced by running the \fIMakeSH\fR script other
@@ -824,7 +824,7 @@ stored as a 64 bits quantity, \fIconfig.sh\fR will set \fIintsize\fR to
On this machine, the int type is 8 bytes
.Ef
which is correct. Congratulations! We have just configured a shell script!!
-'''
+.\"
.SS Producing config.h
.PP
We can now have a look at the way \fIconfig.h\fR is produced out of
@@ -922,7 +922,7 @@ multiple inclusions of this file. Then comes the heart of the file...
.PP
It helps to know that \fI\$d_*\fR and \fI\$i_*\fR variables are set to
either '\fIdefine\fR' or '\fIundef\fR' by \fIConfigure\fR, depending on
-wether a function or an include file is present on the system or not.
+whether a function or an include file is present on the system or not.
That means the:
.Ex
#\$\&d_bcopy HAS_BCOPY /**/
@@ -978,7 +978,7 @@ configured C code, since \fImetaconfig\fR will know that you need
those symbols and will generate a suitable \fIconfig_h.SH\fR file as
well as all the necessary code in \fIConfigure\fR to compute a
proper value for them (by assigning values to associated shell variables).
-'''
+.\"
.SS Running Metaconfig
.PP
Let's focus on the \fImetaconfig\fR program for a while to understand how
@@ -1039,7 +1039,7 @@ required are removed and a second Makefile is generated. This time, we know
about all the units and their respective orders, optional units having been
removed and default values computed for their shell symbols. The \fIConfigure\fR
script can then be generated, along with \fIconfig_h.SH\fR. We're done.
-'''
+.\"
.SS Conventions
.PP
Proper conventions needs to be followed to make the whole process sound.
@@ -1069,7 +1069,7 @@ answer in \fI\$dflt\fR and places the user answer in \fI\$ans\fR. This is
not documented in this manual page: you have to go and look at the unit
itself to understand which variables are used and how the unit is to be
used.
-'''
+.\"
.SS Using The Glossary
.PP
The Glossary file is automatically produced by the \fImakegloss\fR script,
@@ -1084,7 +1084,7 @@ about \fImetaconfig\fR to do so quickly and efficiently. However, never
forget to properly document your work in the ?S: and ?C: lines, or other
people will not be able to reuse it. Remember about the time where you
had only the Glossary and this manual page to get started.
-'''
+.\"
.SS Conclusion
.PP
Now that you know the \fImetaconfig\fR basics, you should read the
@@ -1095,7 +1095,7 @@ commands you are allowed to use.
.SH REFERENCE
This section documents the internals of \fImetaconfig\fR, basically the
unit syntax, the special units you should know about and the hint files.
-'''
+.\"
.SS General Unit Syntax
.PP
A metaconfig unit is divided into two distinct parts. The header section
@@ -1303,7 +1303,7 @@ hints that can be used.
?INIT:\fIinitialization code\fR
The initialization code specified by this line will be loaded at the top
of the \fIConfigure\fR script provided the unit is needed.
-'''
+.\"
.SS C Symbol Aliasing
.PP
Sometimes it is not possible to rely on \fImetaconfig\fR's own default
@@ -1383,7 +1383,7 @@ It simply tries to compile a sample C program using the \fIconst\fR keyword.
If it can, then it will define \fI\$\&d_const\fR via the \fI\$\&setvar\fR
fonction (defined by the \fISetvar.U\fR unit). See the paragraph about
special units for more details.
-'''
+.\"
.SS Make Commands
.PP
On the ?MAKE: command line, you may write a shell command to be executed as-is
@@ -1448,7 +1448,7 @@ As a side note, \fImetaconfig\fR generates a \fI-cond\fR command internally
to deal with conditional dependencies. You should not use it by yourself,
but you will see it if scanning the generated \fIMakefile\fR in the \fI.MT\fR
directory.
-'''
+.\"
.SS Hardwired Macros
.PP
The following macros are recognized by the \fIwipe\fR command and subsituted
@@ -1491,7 +1491,7 @@ which is replaced at Configure-generation time by the value of \fIvariable\fR
taken from your \fI.package\fR file. Eventually, the old hardwired macro
format will disappear, and <\$baserev> will replace <BASEREV> 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 <<!GROK!THIS!
.TH METALINT $manext "Version $VERSION PL$PATCHLEVEL"
-''' @(#) Manual page for metalint
-'''
-''' $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: mlint.SH,v $
-''' Revision 3.0.1.9 1997/02/28 16:30:25 ram
-''' patch61: new "create" and "empty" lint directives
-''' patch61: documented new messages
-'''
-''' Revision 3.0.1.8 1995/09/25 09:18:07 ram
-''' patch59: documented new ?Y: directive
-''' patch59: fixed my e-mail address
-'''
-''' Revision 3.0.1.7 1995/07/25 14:18:51 ram
-''' patch56: added two new warnings for : comments lines in Configure
-'''
-''' Revision 3.0.1.6 1994/10/29 16:33:56 ram
-''' patch36: documents new ?F: lines and the related metalint warnings
-''' patch36: removed statement in BUGS since all warnings may now be shut
-'''
-''' Revision 3.0.1.5 1994/05/06 15:20:30 ram
-''' patch23: added -L switch to override public unit repository path
-''' patch23: two new warnings concerning last unit lines
-'''
-''' Revision 3.0.1.4 1994/01/24 14:20:39 ram
-''' patch16: can now easily suppress warning about made "special units"
-'''
-''' Revision 3.0.1.3 1993/11/10 17:37:39 ram
-''' patch14: documents stale ?M: dependency check
-'''
-''' Revision 3.0.1.2 1993/10/16 13:52:23 ram
-''' patch12: added support for ?M: lines and fixed some typos
-'''
-''' Revision 3.0.1.1 1993/08/19 06:42:24 ram
-''' patch1: leading config.sh searching was not aborting properly
-'''
-''' Revision 3.0 1993/08/18 12:10:15 ram
-''' Baseline for dist 3.0 netwide release.
-'''
-'''
+.\" @(#) Manual page for metalint
+.\"
+.\" $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: mlint.SH,v $
+.\" Revision 3.0.1.9 1997/02/28 16:30:25 ram
+.\" patch61: new "create" and "empty" lint directives
+.\" patch61: documented new messages
+.\"
+.\" Revision 3.0.1.8 1995/09/25 09:18:07 ram
+.\" patch59: documented new ?Y: directive
+.\" patch59: fixed my e-mail address
+.\"
+.\" Revision 3.0.1.7 1995/07/25 14:18:51 ram
+.\" patch56: added two new warnings for : comments lines in Configure
+.\"
+.\" Revision 3.0.1.6 1994/10/29 16:33:56 ram
+.\" patch36: documents new ?F: lines and the related metalint warnings
+.\" patch36: removed statement in BUGS since all warnings may now be shut
+.\"
+.\" Revision 3.0.1.5 1994/05/06 15:20:30 ram
+.\" patch23: added -L switch to override public unit repository path
+.\" patch23: two new warnings concerning last unit lines
+.\"
+.\" Revision 3.0.1.4 1994/01/24 14:20:39 ram
+.\" patch16: can now easily suppress warning about made "special units"
+.\"
+.\" Revision 3.0.1.3 1993/11/10 17:37:39 ram
+.\" patch14: documents stale ?M: dependency check
+.\"
+.\" Revision 3.0.1.2 1993/10/16 13:52:23 ram
+.\" patch12: added support for ?M: lines and fixed some typos
+.\"
+.\" Revision 3.0.1.1 1993/08/19 06:42:24 ram
+.\" patch1: leading config.sh searching was not aborting properly
+.\"
+.\" Revision 3.0 1993/08/18 12:10:15 ram
+.\" Baseline for dist 3.0 netwide release.
+.\"
+.\"
.SH NAME
metalint \- a metaconfig unit consistency checker
.SH SYNOPSIS
@@ -104,7 +104,7 @@ Silent mode.
.TP
\fB\-L\fI dir\fR
Override default library location. Normally only useful for metaconfig
-maintainers to locally check the units being developped instead of the
+maintainers to locally check the units being developed instead of the
publicly available ones. The \fIdir\fR specified is the one containing the
units \fIU\fR directory.
.TP
diff --git a/mcon/man/mxref.SH b/mcon/man/mxref.SH
index 491bf1d..757f23e 100755
--- a/mcon/man/mxref.SH
+++ b/mcon/man/mxref.SH
@@ -18,35 +18,35 @@ echo "Extracting mcon/man/metaxref.$manext (with variable substitutions)"
$rm -f metaxref.$manext
$spitshell >metaxref.$manext <<!GROK!THIS!
.TH METAXREF $manext "Version $VERSION PL$PATCHLEVEL"
-''' @(#) Manual page for metaxref
-'''
-''' $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: mxref.SH,v $
-''' Revision 3.0.1.4 1997/02/28 16:30:39 ram
-''' patch61: new -L option to match metaconfig and metalint
-'''
-''' Revision 3.0.1.3 1994/10/29 16:34:26 ram
-''' patch36: the leading .TH was referring to metaconfig
-'''
-''' Revision 3.0.1.2 1993/10/16 13:52:46 ram
-''' patch12: added BUGS section
-'''
-''' Revision 3.0.1.1 1993/08/19 06:42:25 ram
-''' patch1: leading config.sh searching was not aborting properly
-'''
-''' Revision 3.0 1993/08/18 12:10:15 ram
-''' Baseline for dist 3.0 netwide release.
-'''
-'''
+.\" @(#) Manual page for metaxref
+.\"
+.\" $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: mxref.SH,v $
+.\" Revision 3.0.1.4 1997/02/28 16:30:39 ram
+.\" patch61: new -L option to match metaconfig and metalint
+.\"
+.\" Revision 3.0.1.3 1994/10/29 16:34:26 ram
+.\" patch36: the leading .TH was referring to metaconfig
+.\"
+.\" Revision 3.0.1.2 1993/10/16 13:52:46 ram
+.\" patch12: added BUGS section
+.\"
+.\" Revision 3.0.1.1 1993/08/19 06:42:25 ram
+.\" patch1: leading config.sh searching was not aborting properly
+.\"
+.\" Revision 3.0 1993/08/18 12:10:15 ram
+.\" Baseline for dist 3.0 netwide release.
+.\"
+.\"
.SH NAME
metaxref \- builds cross-reference file/unit/item information
.SH SYNOPSIS
diff --git a/pat/pat.man b/pat/pat.man
index 67a97b5..32181f8 100644
--- a/pat/pat.man
+++ b/pat/pat.man
@@ -1,42 +1,42 @@
.rn '' }`
-''' $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: pat.man,v $
-''' Revision 3.0.1.7 1997/02/28 16:32:45 ram
-''' patch61: documents contents of the message sent by patnotify
-'''
-''' Revision 3.0.1.6 1995/09/25 09:20:41 ram
-''' patch59: new -i option for patsend to add extra instructions
-'''
-''' Revision 3.0.1.5 1995/05/12 12:25:28 ram
-''' patch54: updated my e-mail address
-'''
-''' Revision 3.0.1.4 1994/10/29 16:38:31 ram
-''' patch36: documents new patlog script and the files it uses
-''' patch36: the RCS layer section has been extended slightly
-'''
-''' Revision 3.0.1.3 1993/08/27 14:40:19 ram
-''' patch7: random cleanup
-'''
-''' Revision 3.0.1.2 1993/08/25 14:05:02 ram
-''' patch6: new -q option for patsend and patnotify
-'''
-''' Revision 3.0.1.1 1993/08/24 12:15:42 ram
-''' patch3: added patnotify and patsnap
-''' patch3: patcol has a new -S option
-''' patch3: the users file built by mailagent is now listed under FILES
-'''
-''' Revision 3.0 1993/08/18 12:10:37 ram
-''' Baseline for dist 3.0 netwide release.
-'''
+.\" $Id$
+.\"
+.\" Copyright (c) 1991-1997, 2004-2006, Raphael Manfredi
+.\"
+.\" You may redistribute only under the terms of the Artistic Licence,
+.\" as specified in the README file that comes with the distribution.
+.\" You may reuse parts of this distribution only within the terms of
+.\" that same Artistic Licence; a copy of which may be found at the root
+.\" of the source tree for dist 4.0.
+.\"
+.\" $Log: pat.man,v $
+.\" Revision 3.0.1.7 1997/02/28 16:32:45 ram
+.\" patch61: documents contents of the message sent by patnotify
+.\"
+.\" Revision 3.0.1.6 1995/09/25 09:20:41 ram
+.\" patch59: new -i option for patsend to add extra instructions
+.\"
+.\" Revision 3.0.1.5 1995/05/12 12:25:28 ram
+.\" patch54: updated my e-mail address
+.\"
+.\" Revision 3.0.1.4 1994/10/29 16:38:31 ram
+.\" patch36: documents new patlog script and the files it uses
+.\" patch36: the RCS layer section has been extended slightly
+.\"
+.\" Revision 3.0.1.3 1993/08/27 14:40:19 ram
+.\" patch7: random cleanup
+.\"
+.\" Revision 3.0.1.2 1993/08/25 14:05:02 ram
+.\" patch6: new -q option for patsend and patnotify
+.\"
+.\" Revision 3.0.1.1 1993/08/24 12:15:42 ram
+.\" patch3: added patnotify and patsnap
+.\" patch3: patcol has a new -S option
+.\" patch3: the users file built by mailagent is now listed under FILES
+.\"
+.\" Revision 3.0 1993/08/18 12:10:37 ram
+.\" Baseline for dist 3.0 netwide release.
+.\"
.de Sh
.br
.ne 5
@@ -48,10 +48,10 @@
.if t .sp .5v
.if n .sp
..
-'''
-''' Set up \*(-- to give an unbreakable dash;
-''' string Tr holds user defined translation string.
-'''
+.\"
+.\" Set up \*(-- to give an unbreakable dash;
+.\" string Tr holds user defined translation string.
+.\"
.ie n \{\
.tr \(*W-\*(Tr
.ds -- \(*W-
@@ -229,7 +229,7 @@ then use that file list.
If every file of the list is removed, \fIpat\fR will be aborted.
.PP
.I Patcil
-is used to do a ci -l on any listed files.
+is used to do a ci \-l on any listed files.
(It is assumed that you always want to keep your files checked out.)
In addition to the
.B \-a
@@ -251,7 +251,7 @@ which is passed through to the ci to force unchanged files to be checked in.
To check in a new trunk revision, I say
.nf
- patcil -s -f -a
+ patcil \-s \-f \-a
.fi
.PP
@@ -285,15 +285,15 @@ initialize the RCS file.
can be used to reset the patch base to the current version when
you've scrapped the previous patch sequence and are making a new distribution
kit.
-What it really does is an rcs -Nlastpat:REV, where REV is the current
+What it really does is an rcs \-Nlastpat:REV, where REV is the current
revision.
If patdiff blows up and you want to set the patch base back to some previous
-version, you have to call rcs -Nlastpat:REV yourself.
+version, you have to call rcs \-Nlastpat:REV yourself.
.PP
.I Patdiff
actually does the diffs that go into the patch, comparing whatever
-version -Nlastpat points to with the most recently checked in version.
-It then updates -Nlastpat to point to the current version.
+version \-Nlastpat points to with the most recently checked in version.
+It then updates \-Nlastpat to point to the current version.
It leaves the diff sitting in the bugs subdirectory for patmake to pick up.
It can either use rcsdiff, or a diff command of your choice specified when
you run packinit, in case your diff is better than rcsdiff.
@@ -408,9 +408,9 @@ may be used from the top level directory or within the \fIbugs\fR directory.
It will list all the patches and their \fISubject:\fR lines. This program
knows about compressed patches and will decompress them while producing
the listing.
-'''
-''' R C S L a y e r
-'''
+.\"
+.\" R C S L a y e r
+.\"
.SH RCS LAYER
This section describes the RCS layer, in case something in the tools breaks,
so that you may fix your RCS files and restart the operation.
diff --git a/pat/patcil.SH b/pat/patcil.SH
index 642bac2..a4fae23 100755
--- a/pat/patcil.SH
+++ b/pat/patcil.SH
@@ -61,6 +61,8 @@ $startperl
!GROK!THIS!
cat >>patcil <<'!NO!SUBS!'
+use File::Temp qw/ tempfile tempdir /;
+
$progname = &profile; # Read ~/.dist_profile
require 'getopts.pl';
&usage unless $#ARGV >= 0;
@@ -504,12 +506,12 @@ x Toggle patch# prefix.
sub edit {
local($text) = join("\n", @_);
- open(TMP,">/tmp/cil$$") || die "Can't create /tmp/cil$$";
- print TMP $text;
- close TMP;
- system $EDITOR, "/tmp/cil$$";
- $text = `cat /tmp/cil$$`;
- unlink "/tmp/cil$$";
+ my $tmp = File::Temp->new();
+ print $tmp $text;
+ close $tmp;
+ system $EDITOR, "$tmp";
+ $text = `cat "$tmp"`;
+ unlink "$tmp";
$text;
}
diff --git a/pat/patdiff.SH b/pat/patdiff.SH
index 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 {
- &copyright'expand("co -p -rlastpat $file", "/tmp/pdo$$");
- &copyright'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();
+ &copyright'expand("co -p -rlastpat $file", "$tmpo");
+ &copyright'expand("co -p -r$new $file", "$tmpn");
+ open(DIFF, "$mydiff $tmpo $tmpn |") ||
die "Can't run $mydiff";
while (<DIFF>) { # 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 (<DIFF>) {
# 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 $"