Compare commits

...

8 Commits
master ... f21

Author SHA1 Message Date
Than Ngo 06d0c70fdc Bump release to avoid NVR conflict 2015-04-30 11:33:22 +02:00
Than Ngo cbadfb450b Resolves: bz#1181169, insecure use of /tmp in mktexlsr 2015-04-29 23:44:07 +02:00
Than Ngo 264a19d6a8 bump release to 3.1 to avoid conflict with previous build in f21 2015-03-26 18:05:22 +01:00
Than Ngo ac4f38d7a7 bump release and rebuild 2015-03-20 10:43:04 +01:00
Than Ngo 1927562806 bz#1197084, Security fix for CVE-2015-0296 2015-02-27 15:46:56 +01:00
Peter Robinson 4301168e9b - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild 2014-08-18 05:30:08 +00:00
Jindrich Novy a1c9923fc5 Bump release to avoid NVR conflict 2014-08-09 14:03:34 +01:00
Jindrich Novy 9158832613 Update to TeX Live 2014
- fix dependencies
2014-07-24 08:45:33 +01:00
4 changed files with 143 additions and 167 deletions

12
texlive-bz979176.patch Normal file
View File

@ -0,0 +1,12 @@
diff -up source/texk/kpathsea/mktexlsr.than source/texk/kpathsea/mktexlsr
--- source/texk/kpathsea/mktexlsr.than 2015-04-29 16:52:42.800897655 +0200
+++ source/texk/kpathsea/mktexlsr 2015-04-29 16:53:12.500695909 +0200
@@ -66,7 +66,7 @@ if tty -s; then verbose=true; else verbo
dry_run=false
trees=
-treefile="${TMPDIR-/tmp}/mktexlsrtrees$$.tmp"
+treefile=`mktemp -q --tmpdir mktexlsrtrees.XXXXXXXXXX`
trap 'cd /; rm -f $treefile; test -z "$db_dir_tmp" || rm -rf "$db_dir_tmp";
exit' 0 1 2 3 7 13 15

File diff suppressed because it is too large Load Diff

View File

@ -1,6 +1,6 @@
%global source_date 20140525_r34255
%global tl_version 2014
%global tl_rel 0.1
%global tl_rel 8
%global tl_release %{tl_rel}.%{source_date}%{?dist}
%global tl_noarch_release %{tl_rel}%{?dist}
%global source_name texlive-%{source_date}-source
@ -20,10 +20,12 @@
%global __os_install_post /usr/lib/rpm/brp-compress %{nil}
%global __arch_install_post %{nil}
%global macrosdir %(d=%{_rpmconfigdir}/macros.d; [ -d $d ] || d=%{_sysconfdir}/rpm; echo $d)
Name: texlive
Version: %{tl_version}
Release: %{tl_release}
Epoch: 3
Epoch: 4
Summary: TeX formatting system
Group: Applications/Publishing
License: Artistic 2.0 and GPLv2 and GPLv2+ and LGPLv2+ and LPPL and MIT and Public Domain and UCD and Utopia
@ -51,6 +53,7 @@ Obsoletes: texlive-texmf-errata-latex < %{tl_version}, texlive-texmf-errata-xete
Conflicts: texlive-dvips = 2007
Patch1: tl-kpfix.patch
Patch2: tl-format.patch
Patch100: texlive-bz979176.patch
Source0: %{source_name}.tar.xz
Source1: tl2rpm.c
Source2: texlive.tlpdb
@ -112,6 +115,8 @@ xz -dc %{SOURCE0} | tar x
[ -e %{source_name} ] && mv %{source_name} source
%patch1 -p0
%patch2 -p0
# security fix for bz#979176
%patch100 -p0
for l in `unxz -c %{SOURCE3} | tar t`; do
ln -s %{_texdir}/licenses/$l $l
done
@ -325,8 +330,8 @@ touch %{buildroot}%{_texdir}/texmf-dist/ls-R
sed -i -e 's|^TEXMFLOCAL.*|TEXMFLOCAL\ =\ \$TEXMFROOT/texmf-local//|' %{buildroot}/%{_texdir}/texmf-dist/web2c/texmf.cnf
# create macro file for building texlive
mkdir -p %{buildroot}%{_sysconfdir}/rpm
cat << EOF > %{buildroot}%{_sysconfdir}/rpm/macros.texlive
mkdir -p %{buildroot}%{macrosdir}
cat << EOF > %{buildroot}%{macrosdir}/macros.texlive
# macros to keep trees in texlive consistent
%_texmf_main /usr/share/texlive/texmf
%_texmf_vendor /usr/share/texlive/texmf
@ -340,9 +345,6 @@ rm -rf %{buildroot}
%pre base
rm -rf %{_texdir}/texmf-var
rm -rf %{_texmf_var}/*
for i in `find /home/*/.texlive* -type d -prune`; do
find $i -name \*.fmt -type f | xargs rm -f > /dev/null 2>&1
done
:
%posttrans base
@ -367,7 +369,7 @@ fi
%attr(0644, root, root) %verify(not md5 size mtime) %ghost %{_texdir}/texmf-dist/ls-R
%attr(0644, root, root) %verify(not md5 size mtime) %ghost %{_texdir}/texmf-local/ls-R
%{_texdir}/texlive.tlpdb
%{_sysconfdir}/rpm/macros.texlive
%{macrosdir}/macros.texlive
%include _files.spec
@ -386,6 +388,34 @@ fi
%{_libdir}/*.so
%changelog
* Wed Apr 29 2015 Than Ngo <than@redhat.com> - 4:2014-8.20140525_r34255
- Resolves: bz#1181169, insecure use of /tmp in mktexlsr
* Wed Mar 4 2015 Ville Skyttä <ville.skytta@iki.fi> - 4:2014-7.20140525_r34255
- Install rpm macros in %%{_rpmconfidir}/macros.d where available (#1074287)
* Mon Jan 26 2015 David Tardon <dtardon@redhat.com> - 4:2014-6.20140525_r34255
- rebuild for ICU 54.1
* Fri Jan 23 2015 Marek Kasik <mkasik@redhat.com> - 4:2014-5.20140525_r34255
- Rebuild (poppler-0.30.0)
* Sat Dec 27 2014 Kevin Fenzi <kevin@scrye.com> - 4:2014-4.20140525_r34255
* Drop scriptlet that touches /home. Fixes bugs: #1128240 #1047361 #1073518 #1054338
* Thu Nov 27 2014 Marek Kasik <mkasik@redhat.com> - 4:2014-3.20140525_r34255
- Rebuild (poppler-0.28.1)
* Tue Aug 26 2014 David Tardon <dtardon@redhat.com> - 4:2014-2.20140525_r34255
- rebuild for ICU 53.1
* Mon Aug 18 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 4:2014-1.20140525_r34255.1
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
* Tue Jul 22 2014 Jindrich Novy <novyjindrich@gmail.com> - 2014-1-20140525
- Tex Live 2014 is out
- fix package dependencies to make update path smoother
* Sun Jun 8 2014 Jindrich Novy <novyjindrich@gmail.com> - 2014-0.1-20140525
- update to TeX Live 2014 release candidate
- conflict with ht package (#959696)

View File

@ -1459,7 +1459,6 @@ void solve(char *name) {
if ( !strcmp(name, "tex4ht") ) {
fprintf(fpack, "Provides: tetex-tex4ht = %%{tl_version}\n");
fprintf(fpack, "Obsoletes: tetex-tex4ht < %%{tl_version}\n");
fprintf(fpack, "Conflicts: ht\n");
}
if ( !strcmp(name, "latex") ) {
fprintf(fpack, "Provides: tetex-latex = 3.1-99, texlive-texmf-latex = %%{tl_version}\n");
@ -2092,7 +2091,6 @@ void solve(char *name) {
fprintf(fpack, "Version: %s\n", print_noarch_version(&pkg[i]));
if ( strncmp(name, "kpathsea", 8) ) fprintf(fpack, "Requires: texlive-base\n");
if ( has_noarch_pkg ) fprintf(fpack, "Requires: texlive-%s\n", name);
fprintf(fpack, "Requires: texlive-kpathsea-lib = %%{epoch}:%%{tl_version}-%%{tl_release}\n");
if ( !strcmp(name, "xetex") ) {
fprintf(fpack, "Requires: teckit\n");
fprintf(fpack, "Provides: xdvipdfmx = %%{version}-%%{release}\n");
@ -2164,6 +2162,8 @@ void solve(char *name) {
fprintf(fpack, "Release: %%{tl_release}\n");
if ( noarch ) {
fprintf(fpack, "BuildArch: noarch\n");
} else {
fprintf(fpack, "Requires: texlive-kpathsea-lib%{?_isa} = %%{epoch}:%%{tl_version}\n");
}
}
fprintf(fpack, "\n%%description %s-bin\n", name);