texlive[49471] Build/source/texk: make r links for all of mpost,

commits+karl at tug.org commits+karl at tug.org
Fri Dec 21 19:57:28 CET 2018


Revision: 49471
          http://tug.org/svn/texlive?view=revision&revision=49471
Author:   karl
Date:     2018-12-21 19:57:27 +0100 (Fri, 21 Dec 2018)
Log Message:
-----------
make r links for all of mpost, pmpost, upmpost; add rmpost to shell_escape_commands

Modified Paths:
--------------
    trunk/Build/source/texk/kpathsea/ChangeLog
    trunk/Build/source/texk/kpathsea/texmf.cnf
    trunk/Build/source/texk/web2c/Makefile.in
    trunk/Build/source/texk/web2c/man/ChangeLog
    trunk/Build/source/texk/web2c/man/mpost.man
    trunk/Build/source/texk/web2c/mplibdir/ChangeLog
    trunk/Build/source/texk/web2c/mplibdir/am/mplib.am
    trunk/Build/source/texk/web2c/pmpostdir/ChangeLog
    trunk/Build/source/texk/web2c/pmpostdir/am/pmpost.am

Modified: trunk/Build/source/texk/kpathsea/ChangeLog
===================================================================
--- trunk/Build/source/texk/kpathsea/ChangeLog	2018-12-21 05:56:21 UTC (rev 49470)
+++ trunk/Build/source/texk/kpathsea/ChangeLog	2018-12-21 18:57:27 UTC (rev 49471)
@@ -1,3 +1,7 @@
+2018-12-21  Karl Berry  <karl at freefriends.org>
+
+	* texmf.cnf (shell_escape_commands): add rmpost.
+
 2018-12-17  Karl Berry  <karl at freefriends.org>
 
 	* kpsewhich.c (--var-brace-value, var_to_brace_value): new option

Modified: trunk/Build/source/texk/kpathsea/texmf.cnf
===================================================================
--- trunk/Build/source/texk/kpathsea/texmf.cnf	2018-12-21 05:56:21 UTC (rev 49470)
+++ trunk/Build/source/texk/kpathsea/texmf.cnf	2018-12-21 18:57:27 UTC (rev 49471)
@@ -600,6 +600,7 @@
 kpsewhich,\
 makeindex,\
 repstopdf,\
+rmpost,\
 texosquery-jre8,\
 
 % we'd like to allow:

Modified: trunk/Build/source/texk/web2c/Makefile.in
===================================================================
--- trunk/Build/source/texk/web2c/Makefile.in	2018-12-21 05:56:21 UTC (rev 49470)
+++ trunk/Build/source/texk/web2c/Makefile.in	2018-12-21 18:57:27 UTC (rev 49471)
@@ -166,7 +166,9 @@
 @MP_TRUE@@WIN32_TRUE at am__append_38 = call_mpost
 @MP_TRUE@@WIN32_TRUE at am__append_39 = install-mpost-links
 @MP_TRUE@@WIN32_TRUE at am__append_40 = uninstall-mpost-links
- at MP_TRUE@@WIN32_FALSE at am__append_41 = mpost$(EXEEXT):dvitomp mpost$(EXEEXT):mfplain
+ at MP_TRUE@@WIN32_FALSE at am__append_41 = mpost$(EXEEXT):dvitomp \
+ at MP_TRUE@@WIN32_FALSE@	mpost$(EXEEXT):mfplain \
+ at MP_TRUE@@WIN32_FALSE@	mpost$(EXEEXT):rmpost
 @MP_TRUE at am__append_42 = $(mp_tests)
 @MP_TRUE at am__append_43 = mptrap.diffs
 @MP_TRUE at am__append_44 = mptrap-clean
@@ -174,12 +176,14 @@
 @PMP_TRUE@@WIN32_TRUE at am__append_46 = call_pmpost
 @PMP_TRUE@@WIN32_TRUE at am__append_47 = install-pmpost-links
 @PMP_TRUE@@WIN32_TRUE at am__append_48 = uninstall-pmpost-links
- at PMP_TRUE@@WIN32_FALSE at am__append_49 = pmpost$(EXEEXT):pdvitomp
+ at PMP_TRUE@@WIN32_FALSE at am__append_49 = pmpost$(EXEEXT):pdvitomp \
+ at PMP_TRUE@@WIN32_FALSE@	pmpost$(EXEEXT):rpmpost
 @UPMP_TRUE at am__append_50 = upmpost
 @UPMP_TRUE@@WIN32_TRUE at am__append_51 = call_upmpost
 @UPMP_TRUE@@WIN32_TRUE at am__append_52 = install-upmpost-links
 @UPMP_TRUE@@WIN32_TRUE at am__append_53 = uninstall-upmpost-links
- at UPMP_TRUE@@WIN32_FALSE at am__append_54 = upmpost$(EXEEXT):updvitomp
+ at UPMP_TRUE@@WIN32_FALSE at am__append_54 = upmpost$(EXEEXT):updvitomp \
+ at UPMP_TRUE@@WIN32_FALSE@	upmpost$(EXEEXT):rupmpost
 @PMP_TRUE at am__append_55 = $(pmpost_tests)
 @UPMP_TRUE at am__append_56 = $(upmpost_tests)
 @ETEX_TRUE at am__append_57 = etex

Modified: trunk/Build/source/texk/web2c/man/ChangeLog
===================================================================
--- trunk/Build/source/texk/web2c/man/ChangeLog	2018-12-21 05:56:21 UTC (rev 49470)
+++ trunk/Build/source/texk/web2c/man/ChangeLog	2018-12-21 18:57:27 UTC (rev 49471)
@@ -1,3 +1,7 @@
+2018-12-21  Karl Berry  <karl at 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.

Modified: trunk/Build/source/texk/web2c/man/mpost.man
===================================================================
--- trunk/Build/source/texk/web2c/man/mpost.man	2018-12-21 05:56:21 UTC (rev 49470)
+++ trunk/Build/source/texk/web2c/man/mpost.man	2018-12-21 18:57:27 UTC (rev 49471)
@@ -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 @@
 .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 @@
 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 @@
 .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.

Modified: trunk/Build/source/texk/web2c/mplibdir/ChangeLog
===================================================================
--- trunk/Build/source/texk/web2c/mplibdir/ChangeLog	2018-12-21 05:56:21 UTC (rev 49470)
+++ trunk/Build/source/texk/web2c/mplibdir/ChangeLog	2018-12-21 18:57:27 UTC (rev 49471)
@@ -1,3 +1,15 @@
+2018-12-21  Karl Berry  <karl at 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 at gmail.com>
 	* separation of mpmathbinary from the the core
 

Modified: trunk/Build/source/texk/web2c/mplibdir/am/mplib.am
===================================================================
--- trunk/Build/source/texk/web2c/mplibdir/am/mplib.am	2018-12-21 05:56:21 UTC (rev 49470)
+++ trunk/Build/source/texk/web2c/mplibdir/am/mplib.am	2018-12-21 18:57:27 UTC (rev 49471)
@@ -1,6 +1,7 @@
 ## texk/web2c/mplibdir/am/mplib.am: Makefile fragment for MetaPost.
 ##
-## Copyright (C) 2009-2015 Peter Breitenlohner <tex-live at tug.org>
+## Copyright 2018-2018 Luigi Scarso <tex-live at tug.org>
+## Copyright 2009-2015 Peter Breitenlohner <tex-live at tug.org>
 ## You may freely use, modify and/or distribute this file.
 
 ## MetaPost
@@ -13,6 +14,7 @@
 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

Modified: trunk/Build/source/texk/web2c/pmpostdir/ChangeLog
===================================================================
--- trunk/Build/source/texk/web2c/pmpostdir/ChangeLog	2018-12-21 05:56:21 UTC (rev 49470)
+++ trunk/Build/source/texk/web2c/pmpostdir/ChangeLog	2018-12-21 18:57:27 UTC (rev 49471)
@@ -1,3 +1,8 @@
+2018-12-21  Karl Berry  <karl at freefriends.org>
+
+	* am/pmpost.am (bin_links): make r* links at install time;
+	see entry in ../mplibdir/ChangeLog.
+
 2018-09-09  Karl Berry  <karl at tug.org>
 
 	* upmpsamp.test,

Modified: trunk/Build/source/texk/web2c/pmpostdir/am/pmpost.am
===================================================================
--- trunk/Build/source/texk/web2c/pmpostdir/am/pmpost.am	2018-12-21 05:56:21 UTC (rev 49470)
+++ trunk/Build/source/texk/web2c/pmpostdir/am/pmpost.am	2018-12-21 18:57:27 UTC (rev 49471)
@@ -1,6 +1,7 @@
 ## texk/web2c/pmpostdir/am/pmpost.am: Makefile fragment for pMetaPost.
 ##
-## Copyright (C) 2014, 2015 Peter Breitenlohner <tex-live at tug.org>
+## Copyright 2018 Karl Berry <tex-live at tug.org>
+## Copyright 2014-2015 Peter Breitenlohner <tex-live at tug.org>
 ## You may freely use, modify and/or distribute this file.
 
 ## pMetaPost and upMetaPost
@@ -13,6 +14,7 @@
 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 @@
 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



More information about the tex-live-commits mailing list