summaryrefslogtreecommitdiff
path: root/Build
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2018-12-21 18:57:27 +0000
committerKarl Berry <karl@freefriends.org>2018-12-21 18:57:27 +0000
commitb9eb17964fe90a669cdb00d40e7d7bb6e94c5f9c (patch)
tree697736d7c3bb07e67e2026a837f689b95f0e024e /Build
parentc3b9347abc71fb38a06bb9100bbe857f367e7f87 (diff)
make r links for all of mpost, pmpost, upmpost; add rmpost to shell_escape_commands
git-svn-id: svn://tug.org/texlive/trunk@49471 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Build')
-rw-r--r--Build/source/texk/kpathsea/ChangeLog4
-rw-r--r--Build/source/texk/kpathsea/texmf.cnf1
-rw-r--r--Build/source/texk/web2c/Makefile.in10
-rw-r--r--Build/source/texk/web2c/man/ChangeLog4
-rw-r--r--Build/source/texk/web2c/man/mpost.man49
-rw-r--r--Build/source/texk/web2c/mplibdir/ChangeLog12
-rw-r--r--Build/source/texk/web2c/mplibdir/am/mplib.am4
-rw-r--r--Build/source/texk/web2c/pmpostdir/ChangeLog5
-rw-r--r--Build/source/texk/web2c/pmpostdir/am/pmpost.am5
9 files changed, 71 insertions, 23 deletions
diff --git a/Build/source/texk/kpathsea/ChangeLog b/Build/source/texk/kpathsea/ChangeLog
index 1cd691d4e69..474d4169794 100644
--- a/Build/source/texk/kpathsea/ChangeLog
+++ b/Build/source/texk/kpathsea/ChangeLog
@@ -1,3 +1,7 @@
+2018-12-21 Karl Berry <karl@freefriends.org>
+
+ * texmf.cnf (shell_escape_commands): add rmpost.
+
2018-12-17 Karl Berry <karl@freefriends.org>
* kpsewhich.c (--var-brace-value, var_to_brace_value): new option
diff --git a/Build/source/texk/kpathsea/texmf.cnf b/Build/source/texk/kpathsea/texmf.cnf
index e91a63a0e22..6c84a33ca4a 100644
--- a/Build/source/texk/kpathsea/texmf.cnf
+++ b/Build/source/texk/kpathsea/texmf.cnf
@@ -600,6 +600,7 @@ gregorio,\
kpsewhich,\
makeindex,\
repstopdf,\
+rmpost,\
texosquery-jre8,\
% we'd like to allow:
diff --git a/Build/source/texk/web2c/Makefile.in b/Build/source/texk/web2c/Makefile.in
index ac8c2f547d0..a68946e1c8f 100644
--- a/Build/source/texk/web2c/Makefile.in
+++ b/Build/source/texk/web2c/Makefile.in
@@ -166,7 +166,9 @@ TESTS = tangle.test $(am__EXEEXT_43) ctiedir/ctie.test \
@MP_TRUE@@WIN32_TRUE@am__append_38 = call_mpost
@MP_TRUE@@WIN32_TRUE@am__append_39 = install-mpost-links
@MP_TRUE@@WIN32_TRUE@am__append_40 = uninstall-mpost-links
-@MP_TRUE@@WIN32_FALSE@am__append_41 = mpost$(EXEEXT):dvitomp mpost$(EXEEXT):mfplain
+@MP_TRUE@@WIN32_FALSE@am__append_41 = mpost$(EXEEXT):dvitomp \
+@MP_TRUE@@WIN32_FALSE@ mpost$(EXEEXT):mfplain \
+@MP_TRUE@@WIN32_FALSE@ mpost$(EXEEXT):rmpost
@MP_TRUE@am__append_42 = $(mp_tests)
@MP_TRUE@am__append_43 = mptrap.diffs
@MP_TRUE@am__append_44 = mptrap-clean
@@ -174,12 +176,14 @@ TESTS = tangle.test $(am__EXEEXT_43) ctiedir/ctie.test \
@PMP_TRUE@@WIN32_TRUE@am__append_46 = call_pmpost
@PMP_TRUE@@WIN32_TRUE@am__append_47 = install-pmpost-links
@PMP_TRUE@@WIN32_TRUE@am__append_48 = uninstall-pmpost-links
-@PMP_TRUE@@WIN32_FALSE@am__append_49 = pmpost$(EXEEXT):pdvitomp
+@PMP_TRUE@@WIN32_FALSE@am__append_49 = pmpost$(EXEEXT):pdvitomp \
+@PMP_TRUE@@WIN32_FALSE@ pmpost$(EXEEXT):rpmpost
@UPMP_TRUE@am__append_50 = upmpost
@UPMP_TRUE@@WIN32_TRUE@am__append_51 = call_upmpost
@UPMP_TRUE@@WIN32_TRUE@am__append_52 = install-upmpost-links
@UPMP_TRUE@@WIN32_TRUE@am__append_53 = uninstall-upmpost-links
-@UPMP_TRUE@@WIN32_FALSE@am__append_54 = upmpost$(EXEEXT):updvitomp
+@UPMP_TRUE@@WIN32_FALSE@am__append_54 = upmpost$(EXEEXT):updvitomp \
+@UPMP_TRUE@@WIN32_FALSE@ upmpost$(EXEEXT):rupmpost
@PMP_TRUE@am__append_55 = $(pmpost_tests)
@UPMP_TRUE@am__append_56 = $(upmpost_tests)
@ETEX_TRUE@am__append_57 = etex
diff --git a/Build/source/texk/web2c/man/ChangeLog b/Build/source/texk/web2c/man/ChangeLog
index c0343a16645..38f3f7588ed 100644
--- a/Build/source/texk/web2c/man/ChangeLog
+++ b/Build/source/texk/web2c/man/ChangeLog
@@ -1,3 +1,7 @@
+2018-12-21 Karl Berry <karl@freefriends.org>
+
+ * mpost.man: mention rmpost, (r)pmpost, and (r)upmpost.
+
2018-10-28 Andreas Scherer <https://ascherer.github.io>
* cweb.man: do not mention nonexistent -DSTAT option.
diff --git a/Build/source/texk/web2c/man/mpost.man b/Build/source/texk/web2c/man/mpost.man
index 924666fbf11..2801883b1e5 100644
--- a/Build/source/texk/web2c/man/mpost.man
+++ b/Build/source/texk/web2c/man/mpost.man
@@ -1,4 +1,4 @@
-.TH MPOST 1 "16 June 2015" "Web2C @VERSION@"
+.TH MPOST 1 "21 December 2018" "Web2C @VERSION@"
.\"=====================================================================
.de URL
\\$2 \(laURL: \\$1 \(ra\\$3
@@ -22,7 +22,7 @@
.if t .ds WB W\s-2EB\s0
.\"=====================================================================
.SH NAME
-mpost \- MetaPost, a system for creating graphics
+mpost, pmpost, upmpost \- MetaPost, a system for creating graphics
.SH SYNOPSIS
.B mpost
.RI [ options ]
@@ -43,7 +43,7 @@ or
.BR troff (1)
commands and accessing features of PostScript not found in \*(MF.
.PP
-\*(MP is normally used with some preloaded macros, and it
+\*(MP is normally used with a set of basic macros, and it
will use its executable name as the name of the preload
file to use. For example, when called as
.B mpost
@@ -80,16 +80,32 @@ When the
option is given, \*(MP acts as DVI-to-MPX converter only.
See dvitomp (1) for details.
.PP
-This manual page is not meant to be exhaustive. The complete
-documentation for this version of \*(MP can be found in the
+The
+.B pmpost
+program is a variant with Japanese support, and
+.B upmpost
+has Unicode-enabled Japanese support, analogous to ptex and uptex.
+.PP
+All three variants are also installed with an `r' prefix, that is,
+.BR rmpost ,
+.BR rpmpost ,
+.BR rupmpost ,
+which implicitly specify the
+.B --restricted
+option to make MetaPost safe to run on unknown input; the tex, makempx,
+and editor commands are disabled.
+.PP
+This manual page is a mere skeleton. For a list of all command line
+options, run
+.BR --help .
+.PP
+The main documentation for this version of \*(MP can be found in the
User Manual that should have been installed along with the program and
-is also available from http://tug.org/metapost.
-See the FILES section below.
+is also available from https://tug.org/metapost.
.PP
The \*(MP language is similar to \*(MF, but the manual
assumes no knowledge of \*(MF. \*(MP does not have bitmap
output commands or \*(MF's online display mechanism.
-
.\"=====================================================================
.SH FILES
.TP
@@ -138,28 +154,25 @@ Addison-Wesley, 1986, ISBN 0-201-13445-4.
.BR mf (1),
.BR mptopdf (1),
.BR tex (1),
-.PP
-.URL "http://foundry.supelec.fr/gf/project/metapost/" "MetaPost source code" .
.br
-.URL "http://tug.org/metapost/" "MetaPost home page" .
+.URL "https://tug.org/metapost/" "MetaPost home page" .
.\"=====================================================================
.SH AUTHORS
-\*(MP was designed by John D. Hobby, incorporating algorithms from
+\*(MP was created by John D. Hobby, incorporating algorithms from
\*(MF by Donald E. Knuth. It was originally implemented on Unix,
incorporating system-dependent routines from
.BR web2c ,
while not relying on it except for the actual \*(WB-to-C translator.
.PP
-The primary author of the current \*(MP was Taco Hoekwater, with
-assistance from Hans Hagen and many others. It is currently maintained
-by Luigi Scarso.
-.PP
Ulrik Vieth adapted \*(MP to take advantage of the advanced path
searching features in more recent versions of
.B web2c
and worked towards fully integrating \*(MP into the canonical Unix
\*(TX distribution.
+.PP
+The primary author of the current \*(MP was Taco Hoekwater, with
+assistance from Hans Hagen and many others. It is currently maintained
+by Luigi Scarso.
.\"=====================================================================
.SH BUGS
-The MetaPost home page is http://tug.org/metapost.
-
+The MetaPost home page is https://tug.org/metapost.
diff --git a/Build/source/texk/web2c/mplibdir/ChangeLog b/Build/source/texk/web2c/mplibdir/ChangeLog
index e2c7244ebf0..f2159904501 100644
--- a/Build/source/texk/web2c/mplibdir/ChangeLog
+++ b/Build/source/texk/web2c/mplibdir/ChangeLog
@@ -1,3 +1,15 @@
+2018-12-21 Karl Berry <karl@freefriends.org>
+
+ * mplibdir/am/mplib.am,
+ * pmpostdir/am/pmpost.am (bin_links): make links at install time:
+ ln -s mpost rmpost
+ ln -s pmpost rpmpost
+ ln -s upmpost rupmpost
+ which implicitly specify -restricted; these new links can be
+ included in shell_escape_commands (we hope).
+ Thread starting here:
+ https://tug.org/pipermail/tex-live/2017-May/040169.html
+
2018-08-27 Luigi Scarso <luigi.scarso@gmail.com>
* separation of mpmathbinary from the the core
diff --git a/Build/source/texk/web2c/mplibdir/am/mplib.am b/Build/source/texk/web2c/mplibdir/am/mplib.am
index 10b1fe4aa44..f34af06147e 100644
--- a/Build/source/texk/web2c/mplibdir/am/mplib.am
+++ b/Build/source/texk/web2c/mplibdir/am/mplib.am
@@ -1,6 +1,7 @@
## texk/web2c/mplibdir/am/mplib.am: Makefile fragment for MetaPost.
##
-## Copyright (C) 2009-2015 Peter Breitenlohner <tex-live@tug.org>
+## Copyright 2018-2018 Luigi Scarso <tex-live@tug.org>
+## Copyright 2009-2015 Peter Breitenlohner <tex-live@tug.org>
## You may freely use, modify and/or distribute this file.
## MetaPost
@@ -13,6 +14,7 @@ install_exe_links += install-mpost-links
uninstall_exe_links += uninstall-mpost-links
else !WIN32
bin_links += mpost$(EXEEXT):dvitomp mpost$(EXEEXT):mfplain
+bin_links += mpost$(EXEEXT):rmpost
endif !WIN32
endif MP
EXTRA_PROGRAMS += mpost
diff --git a/Build/source/texk/web2c/pmpostdir/ChangeLog b/Build/source/texk/web2c/pmpostdir/ChangeLog
index a35ff15bb15..49468b17053 100644
--- a/Build/source/texk/web2c/pmpostdir/ChangeLog
+++ b/Build/source/texk/web2c/pmpostdir/ChangeLog
@@ -1,3 +1,8 @@
+2018-12-21 Karl Berry <karl@freefriends.org>
+
+ * am/pmpost.am (bin_links): make r* links at install time;
+ see entry in ../mplibdir/ChangeLog.
+
2018-09-09 Karl Berry <karl@tug.org>
* upmpsamp.test,
diff --git a/Build/source/texk/web2c/pmpostdir/am/pmpost.am b/Build/source/texk/web2c/pmpostdir/am/pmpost.am
index 4297c963728..897401d45a5 100644
--- a/Build/source/texk/web2c/pmpostdir/am/pmpost.am
+++ b/Build/source/texk/web2c/pmpostdir/am/pmpost.am
@@ -1,6 +1,7 @@
## texk/web2c/pmpostdir/am/pmpost.am: Makefile fragment for pMetaPost.
##
-## Copyright (C) 2014, 2015 Peter Breitenlohner <tex-live@tug.org>
+## Copyright 2018 Karl Berry <tex-live@tug.org>
+## Copyright 2014-2015 Peter Breitenlohner <tex-live@tug.org>
## You may freely use, modify and/or distribute this file.
## pMetaPost and upMetaPost
@@ -13,6 +14,7 @@ install_exe_links += install-pmpost-links
uninstall_exe_links += uninstall-pmpost-links
else !WIN32
bin_links += pmpost$(EXEEXT):pdvitomp
+bin_links += pmpost$(EXEEXT):rpmpost
endif !WIN32
endif PMP
if UPMP
@@ -23,6 +25,7 @@ install_exe_links += install-upmpost-links
uninstall_exe_links += uninstall-upmpost-links
else !WIN32
bin_links += upmpost$(EXEEXT):updvitomp
+bin_links += upmpost$(EXEEXT):rupmpost
endif !WIN32
endif UPMP
EXTRA_PROGRAMS += pmpost upmpost