diff --git a/texlive-base.spec b/texlive-base.spec index b077d835d7c01c411b64b94c0b4521cdea3c9851..3211cf99ae8a8e4abe534922b3fd9fa352ccea37 100644 --- a/texlive-base.spec +++ b/texlive-base.spec @@ -4,7 +4,7 @@ Name: texlive-base Version: 20180414 -Release: 27 +Release: 28 Epoch: 7 Summary: TeX formatting system License: ASL 2.0 and Artistic 2.0 and BSD and GFDL and GPL+ and GPLv2 and GPLv3 and Knuth and LGPLv2+ and LGPLv3+ and LPPL and OFL and Public Domain @@ -374,11 +374,12 @@ Source361: http://ftp.math.utah.edu/pub/tex/historic/systems/texlive/2018/t Source362: http://ftp.math.utah.edu/pub/tex/historic/systems/texlive/2018/tlnet-final/archive/xmltex.tar.xz Source363: http://ftp.math.utah.edu/pub/tex/historic/systems/texlive/2018/tlnet-final/archive/yplan.doc.tar.xz Source364: http://ftp.math.utah.edu/pub/tex/historic/systems/texlive/2018/tlnet-final/archive/yplan.tar.xz -Patch0001: tl-format.patch -Patch0002: texlive-20180414-new-poppler.patch -Patch0003: texlive-20180414-poppler-0.64.patch -Patch0004: texlive-20180414-synctex-version.patch -Patch0005: texlive-base-CVE-2018-17407.patch +Patch0001: tl-kpfix.patch +Patch0002: tl-format.patch +Patch0003: texlive-20180414-new-poppler.patch +Patch0004: texlive-20180414-poppler-0.64.patch +Patch0005: texlive-20180414-synctex-version.patch +Patch0006: texlive-base-CVE-2018-17407.patch BuildRequires: xz libXaw-devel libXi-devel ncurses-devel bison flex file perl(Digest::MD5) texinfo gcc-c++ BuildRequires: gd-devel freetype-devel libpng-devel zlib-devel poppler-devel @@ -8094,6 +8095,12 @@ done <<< "$list" %doc %{_datadir}/texlive/texmf-dist/doc/latex/yplan/ %changelog +* Mon Jan 20 2020 wutao - 20180414-28 +- Type:bugfix +- ID:NA +- SUG:NA +- DESC: modify spec + * Sun Jan 19 2020 wutao - 20180414-27 - Type:bugfix - ID:NA diff --git a/tl-kpfix.patch b/tl-kpfix.patch new file mode 100644 index 0000000000000000000000000000000000000000..7f094449aac1281f778fa3cd35f4098ce0a8291f --- /dev/null +++ b/tl-kpfix.patch @@ -0,0 +1,12 @@ +diff -up texlive-2013/a/texlive-20180414-source/texk/kpathsea/progname.c.kpfix texlive-2013/a/texlive-20180414-source/texk/kpathsea/progname.c +--- a/texlive-20180414-source/texk/kpathsea/progname.c.kpfix 2013-08-12 09:28:14.422522624 +0200 ++++ a/texlive-20180414-source/texk/kpathsea/progname.c 2013-08-12 12:16:02.958132658 +0200 +@@ -668,7 +668,7 @@ kpathsea_set_program_name (kpathsea kpse + kpathsea_xputenv (kpse, "SELFAUTOLOC", fix_selfdir (sdir)); + sdir_parent = xdirname (sdir); + kpathsea_xputenv (kpse, "SELFAUTODIR", fix_selfdir (sdir_parent)); +- sdir_grandparent = xdirname (sdir_parent); ++ sdir_grandparent = strdup("/usr/share/texlive"); + kpathsea_xputenv (kpse, "SELFAUTOPARENT", fix_selfdir (sdir_grandparent)); + sdir_greatgrandparent = xdirname (sdir_grandparent); + kpathsea_xputenv (kpse, "SELFAUTOGRANDPARENT", fix_selfdir (sdir_greatgrandparent));