summaryrefslogtreecommitdiff
path: root/Build/source/extra/epstopdf/Makefile
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2016-05-28 17:39:04 +0000
committerKarl Berry <karl@freefriends.org>2016-05-28 17:39:04 +0000
commit37b13867e8d5360818cda4c6e1c2964f8e67478f (patch)
tree1aa19dcfa8a61c59522e560e0f11cdb2c7d6ce81 /Build/source/extra/epstopdf/Makefile
parente20b462a4939c1404734dfdbd5ec09b035bd4414 (diff)
disallow --device in restricted mode.
(@restricted_devlist, @restricted_devlist_ext, %restricted_devlist): remove the painful-to-maintain list of allowed devices. http://tug.org/pipermail/tex-live/2016-February/037738.html https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=797537 git-svn-id: svn://tug.org/texlive/trunk@41286 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Build/source/extra/epstopdf/Makefile')
-rw-r--r--Build/source/extra/epstopdf/Makefile20
1 files changed, 14 insertions, 6 deletions
diff --git a/Build/source/extra/epstopdf/Makefile b/Build/source/extra/epstopdf/Makefile
index 155b4750062..8e815303dde 100644
--- a/Build/source/extra/epstopdf/Makefile
+++ b/Build/source/extra/epstopdf/Makefile
@@ -12,15 +12,20 @@ default:
# making sure we don't crash.
check: check-help check-version \
check-help-r \
+ check-atend \
+ check-binary check-bin2 \
+ check-binhdr-lf check-binhdr-cr check-binhdr-crlf \
+ check-gscmd check-gsopt check-gsopts \
+ check-filter check-filter-outfile \
+ check-gscmd \
check-nogs \
+ check-percent \
+ check-restricted-device \
check-restricted-gscmd \
- check-gscmd check-gsopt check-gsopts \
- check-filter check-filter-outfile check-write-error check-gscmd \
check-restricted-safe-in check-restricted-safe-out \
- check-simple check-atend check-binary check-bin2 \
- check-binhdr-lf check-binhdr-cr check-binhdr-crlf \
- check-percent \
- check-tn5002 #check-floral
+ check-simple \
+ check-tn5002 \
+ check-write-error \
check-help:
$(e2p) --help
@@ -39,6 +44,9 @@ check-nogs:
$(re2p_script):
ln -s $(prg).pl $@
+check-restricted-device:
+ ! $(re2p) --device=unsafe test-simple.eps
+
check-restricted-gscmd:
! $(re2p) --gscmd=/bin/unsafe test-simple.eps
! $(re2p) --gscmd=unsafe test-simple.eps