diff options
author | Justin Lecher <jlec@gentoo.org> | 2015-03-11 11:22:57 +0000 |
---|---|---|
committer | Justin Lecher <jlec@gentoo.org> | 2015-03-11 11:22:57 +0000 |
commit | 3b8269acb44634e5c1deff331ca5d28d1061f3da (patch) | |
tree | c7ff98233aa67a02e390c97fd3c9d8e6eaa89dcc /app-text/texlive-core | |
parent | vanilla-3.18.9 + genpatches-3.18-10 + grsecurity-3.1-3.18.9-201503071142 (diff) | |
download | gentoo-2-3b8269acb44634e5c1deff331ca5d28d1061f3da.tar.gz gentoo-2-3b8269acb44634e5c1deff331ca5d28d1061f3da.tar.bz2 gentoo-2-3b8269acb44634e5c1deff331ca5d28d1061f3da.zip |
Move format-security patch into patch tarball
(Portage version: 2.2.18/cvs/Linux x86_64, signed Manifest commit with key B9D4F231BD1558AB!)
Diffstat (limited to 'app-text/texlive-core')
-rw-r--r-- | app-text/texlive-core/ChangeLog | 6 | ||||
-rw-r--r-- | app-text/texlive-core/files/texlive-core-2014-format-security.patch | 193 | ||||
-rw-r--r-- | app-text/texlive-core/texlive-core-2014-r3.ebuild | 6 |
3 files changed, 7 insertions, 198 deletions
diff --git a/app-text/texlive-core/ChangeLog b/app-text/texlive-core/ChangeLog index 9d49446d48d3..de5acec247ba 100644 --- a/app-text/texlive-core/ChangeLog +++ b/app-text/texlive-core/ChangeLog @@ -1,6 +1,10 @@ # ChangeLog for app-text/texlive-core # Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/app-text/texlive-core/ChangeLog,v 1.221 2015/03/09 14:27:47 jlec Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-text/texlive-core/ChangeLog,v 1.222 2015/03/11 11:22:57 jlec Exp $ + + 11 Mar 2015; Justin Lecher <jlec@gentoo.org> + -files/texlive-core-2014-format-security.patch, texlive-core-2014-r3.ebuild: + Move format-security patch into patch tarball *texlive-core-2014-r3 (09 Mar 2015) diff --git a/app-text/texlive-core/files/texlive-core-2014-format-security.patch b/app-text/texlive-core/files/texlive-core-2014-format-security.patch deleted file mode 100644 index 1c1c85c78494..000000000000 --- a/app-text/texlive-core/files/texlive-core-2014-format-security.patch +++ /dev/null @@ -1,193 +0,0 @@ -diff -up source/texk/devnag/src/devnag.c.format source/texk/devnag/src/devnag.c ---- source/texk/devnag/src/devnag.c.format 2013-12-22 17:03:35.000000000 +0100 -+++ source/texk/devnag/src/devnag.c 2013-12-26 20:13:56.390766885 +0100 -@@ -2395,7 +2395,7 @@ void put_macro(short macro) { - void err_ill(const char *str) { - fprintf(stderr, "Error: illegal character(s) \"%s\" detected at line %d:\n", - str, linenumber); -- fprintf(stderr, inbuf); -+ fprintf(stderr, "%s", inbuf); - exit(1); - } - -diff -up source/texk/dvidvi/dvidvi.c.format source/texk/dvidvi/dvidvi.c ---- source/texk/dvidvi/dvidvi.c.format 2013-12-22 17:03:36.000000000 +0100 -+++ source/texk/dvidvi/dvidvi.c 2013-12-26 20:13:56.390766885 +0100 -@@ -327,7 +327,7 @@ static void stringdvibuf(integer p, inte - * Print a usage error messsage, and quit. - */ - static void usage(void) { -- (void)fprintf(stderr,banner); -+ (void)fprintf(stderr,"%s",banner); - (void)fprintf(stderr,"Usage: dvidvi [options] input[.dvi] [output]\n"); - (void)fprintf(stderr,"where options are:\n"); - (void)fprintf(stderr," [-f n] first page printed [-l n] last page printed\n"); -@@ -806,7 +806,7 @@ default: - } /* else argument with '-' */ - } /* for */ - if (*iname == 0) { -- (void)fprintf(stderr, banner) ; -+ (void)fprintf(stderr, "%s", banner) ; - error("! no input file specified"); - } - /* Inserted by djc@dsmail.hmi.de 3.8.1994 */ -@@ -817,7 +817,7 @@ default: - } - - if (*oname != 0 && !quiet) { -- (void)fprintf(stderr, banner) ; -+ (void)fprintf(stderr, "%s", banner) ; - (void)fprintf(stderr, "%s -> %s\n",iname,oname); - temp = nextstring ; - } -diff -up source/texk/dvi2tty/dvi2tty-5.3.4/DVI.format source/texk/dvi2tty/dvi2tty-5.3.4/DVI -diff -up source/texk/ps2pkm/objects.h.format source/texk/ps2pkm/objects.h ---- source/texk/ps2pkm/objects.h.format 2013-12-22 17:03:29.000000000 +0100 -+++ source/texk/ps2pkm/objects.h 2013-12-26 20:13:56.390766885 +0100 -@@ -232,7 +232,7 @@ struct xobject { - /*SHARED*/ - /* NDW: personally, I want to see status and error messages! */ - #define IfTrace0(condition,model) \ -- {if (condition) printf(model);} -+ {if (condition) printf("%s",model);} - #define IfTrace1(condition,model,arg0) \ - {if (condition) printf(model,arg0);} - #define IfTrace2(condition,model,arg0,arg1) \ -diff -up source/texk/web2c/cwebboot.cin.format source/texk/web2c/cwebboot.cin ---- source/texk/web2c/cwebboot.cin.format 2013-12-22 17:03:30.000000000 +0100 -+++ source/texk/web2c/cwebboot.cin 2013-12-26 20:13:56.390766885 +0100 -@@ -1090,7 +1090,7 @@ void - fatal(const char*s,const char*t) - #line 1182 "cwebdir/common.w" - { --if(*s)printf(s); -+if(*s)printf("%s",s); - err_print(t); - history= fatal_message;exit(wrap_up()); - } -diff -up source/texk/web2c/cwebdir/common.c.format source/texk/web2c/cwebdir/common.c ---- source/texk/web2c/cwebdir/common.c.format 2013-12-22 17:03:31.000000000 +0100 -+++ source/texk/web2c/cwebdir/common.c 2013-12-26 20:13:56.391766888 +0100 -@@ -1063,7 +1063,7 @@ void - fatal(s,t) - char*s,*t; - { --if(*s)printf(s); -+if(*s)printf("%s",s); - err_print(t); - history= fatal_message;exit(wrap_up()); - } -diff -up source/texk/web2c/cwebdir/common.w.format source/texk/web2c/cwebdir/common.w ---- source/texk/web2c/cwebdir/common.w.format 2013-12-22 17:03:31.000000000 +0100 -+++ source/texk/web2c/cwebdir/common.w 2013-12-26 20:13:56.391766888 +0100 -@@ -1180,7 +1180,7 @@ concatenated to print the final error me - fatal(s,t) - char *s,*t; - { -- if (*s) printf(s); -+ if (*s) printf("%s",s); - err_print(t); - history=fatal_message; exit(wrap_up()); - } -diff -up source/texk/web2c/cwebdir/cweave.w.format source/texk/web2c/cwebdir/cweave.w ---- source/texk/web2c/cwebdir/cweave.w.format 2013-12-22 17:03:31.000000000 +0100 -+++ source/texk/web2c/cwebdir/cweave.w 2013-12-26 20:13:56.392766891 +0100 -@@ -1784,7 +1784,7 @@ void - print_cat(c) /* symbolic printout of a category */ - eight_bits c; - { -- printf(cat_name[c]); -+ printf("%s",cat_name[c]); - } - - @ The token lists for translated \TEX/ output contain some special control -diff -up source/texk/web2c/omegafonts/error_routines.c.format source/texk/web2c/omegafonts/error_routines.c ---- source/texk/web2c/omegafonts/error_routines.c.format 2013-12-22 17:03:30.000000000 +0100 -+++ source/texk/web2c/omegafonts/error_routines.c 2013-12-26 20:13:56.392766891 +0100 -@@ -36,7 +36,7 @@ void - lex_error_0(const_string fmt) - { - fprintf(stderr, "line %d (lexing): ", line_number); -- fprintf(stderr, fmt); -+ fprintf(stderr, "%s", fmt); - fprintf(stderr, "\n"); - } - -@@ -68,7 +68,7 @@ void - yyerror(const_string fmt) - { - fprintf(stderr, "line %d (parsing): ", line_number); -- fprintf(stderr, fmt); -+ fprintf(stderr, "%s", fmt); - fprintf(stderr, "\n"); - } - -@@ -77,7 +77,7 @@ void - warning_0(const_string fmt) - { - fprintf(stderr, "line %d (warning): ", line_number); -- fprintf(stderr, fmt); -+ fprintf(stderr, "%s", fmt); - fprintf(stderr, "\n"); - } - -@@ -125,7 +125,7 @@ void - fatal_error_0(const_string fmt) - { - fprintf(stderr, "line %d (fatal): ", line_number); -- fprintf(stderr, fmt); -+ fprintf(stderr, "%s", fmt); - fprintf(stderr, "\n"); - exit(1); - } -@@ -161,7 +161,7 @@ void - internal_error_0(const_string fmt) - { - fprintf(stderr, "line %d (internal): ", line_number); -- fprintf(stderr, fmt); -+ fprintf(stderr, "%s", fmt); - fprintf(stderr, "\n"); - exit(2); - } -diff -up source/texk/web2c/omegafonts/out_routines.c.format source/texk/web2c/omegafonts/out_routines.c ---- source/texk/web2c/omegafonts/out_routines.c.format 2013-12-22 17:03:30.000000000 +0100 -+++ source/texk/web2c/omegafonts/out_routines.c 2013-12-26 20:13:56.392766891 +0100 -@@ -383,5 +383,5 @@ out_digits(unsigned counter) - void - out(const_string sval) - { -- fprintf(file_output, sval); -+ fprintf(file_output, "%s", sval); - } -diff -up source/texk/web2c/tiedir/tie.c.format source/texk/web2c/tiedir/tie.c ---- source/texk/web2c/tiedir/tie.c.format 2013-12-22 17:03:31.000000000 +0100 -+++ source/texk/web2c/tiedir/tie.c 2013-12-26 20:13:56.392766891 +0100 -@@ -27,14 +27,14 @@ - \ - - #define term_out stdout --#define print(a)fprintf(term_out,a) -+#define print(a)fprintf(term_out,"%s",a) - #define print2(a,b)fprintf(term_out,a,b) - #define print3(a,b,c)fprintf(term_out,a,b,c) - #define print_c(v)fputc(v,term_out); - #define new_line(v)fputc('\n',v) - #define term_new_line new_line(term_out) \ - --#define print_ln(v){fprintf(term_out,v);term_new_line;} \ -+#define print_ln(v){fprintf(term_out,"%s",v);term_new_line;} \ - - #define print2_ln(a,b){print2(a,b);term_new_line;} - #define print3_ln(a,b,c){print3(a,b,c);term_new_line;} \ -diff -up source/texk/web2c/tiedir/tie.w.format source/texk/web2c/tiedir/tie.w ---- source/texk/web2c/tiedir/tie.w.format 2013-12-22 17:03:31.000000000 +0100 -+++ source/texk/web2c/tiedir/tie.w 2013-12-26 20:13:56.393766894 +0100 -@@ -465,7 +465,7 @@ for terminating an output line and writi - @d new_line(v) fputc('\n',v) /* start new line */ - @d term_new_line new_line(term_out) - /* start new line of the terminal */ --@d print_ln(v) {fprintf(term_out,v);term_new_line;} -+@d print_ln(v) {fprintf(term_out,"%s",v);term_new_line;} - /* `|print|' and then start new line */ - @d print2_ln(a,b) {print2(a,b);term_new_line;} /* same with two arguments */ - @d print3_ln(a,b,c) {print3(a,b,c);term_new_line;} diff --git a/app-text/texlive-core/texlive-core-2014-r3.ebuild b/app-text/texlive-core/texlive-core-2014-r3.ebuild index a5f02e71c90f..0b8d4534e3c3 100644 --- a/app-text/texlive-core/texlive-core-2014-r3.ebuild +++ b/app-text/texlive-core/texlive-core-2014-r3.ebuild @@ -1,11 +1,11 @@ # Copyright 1999-2015 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/app-text/texlive-core/texlive-core-2014-r3.ebuild,v 1.1 2015/03/09 14:27:47 jlec Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-text/texlive-core/texlive-core-2014-r3.ebuild,v 1.2 2015/03/11 11:22:57 jlec Exp $ EAPI=5 #TL_UPSTREAM_PATCHLEVEL="1" -PATCHLEVEL="46" +PATCHLEVEL="47" TL_SOURCE_VERSION=20140525 inherit eutils flag-o-matic toolchain-funcs libtool texlive-common @@ -155,8 +155,6 @@ src_prepare() { #EPATCH_MULTI_MSG="Applying patches from upstream bugfix branch..." EPATCH_SUFFIX="patch" epatch "${WORKDIR}/gentoo_branch2011_patches" EPATCH_SUFFIX="patch" epatch "${WORKDIR}/patches" - epatch "${FILESDIR}"/${P}-format-security.patch - elibtoolize } |