head 1.2; access; symbols pkgsrc-2022Q4:1.1.0.48 pkgsrc-2022Q4-base:1.1 pkgsrc-2022Q3:1.1.0.46 pkgsrc-2022Q3-base:1.1 pkgsrc-2022Q2:1.1.0.44 pkgsrc-2022Q2-base:1.1 pkgsrc-2022Q1:1.1.0.42 pkgsrc-2022Q1-base:1.1 pkgsrc-2021Q4:1.1.0.40 pkgsrc-2021Q4-base:1.1 pkgsrc-2021Q3:1.1.0.38 pkgsrc-2021Q3-base:1.1 pkgsrc-2021Q2:1.1.0.36 pkgsrc-2021Q2-base:1.1 pkgsrc-2021Q1:1.1.0.34 pkgsrc-2021Q1-base:1.1 pkgsrc-2020Q4:1.1.0.32 pkgsrc-2020Q4-base:1.1 pkgsrc-2020Q3:1.1.0.30 pkgsrc-2020Q3-base:1.1 pkgsrc-2020Q2:1.1.0.26 pkgsrc-2020Q2-base:1.1 pkgsrc-2020Q1:1.1.0.6 pkgsrc-2020Q1-base:1.1 pkgsrc-2019Q4:1.1.0.28 pkgsrc-2019Q4-base:1.1 pkgsrc-2019Q3:1.1.0.24 pkgsrc-2019Q3-base:1.1 pkgsrc-2019Q2:1.1.0.22 pkgsrc-2019Q2-base:1.1 pkgsrc-2019Q1:1.1.0.20 pkgsrc-2019Q1-base:1.1 pkgsrc-2018Q4:1.1.0.18 pkgsrc-2018Q4-base:1.1 pkgsrc-2018Q3:1.1.0.16 pkgsrc-2018Q3-base:1.1 pkgsrc-2018Q2:1.1.0.14 pkgsrc-2018Q2-base:1.1 pkgsrc-2018Q1:1.1.0.12 pkgsrc-2018Q1-base:1.1 pkgsrc-2017Q4:1.1.0.10 pkgsrc-2017Q4-base:1.1 pkgsrc-2017Q3:1.1.0.8 pkgsrc-2017Q3-base:1.1 pkgsrc-2017Q2:1.1.0.4 pkgsrc-2017Q2-base:1.1 pkgsrc-2017Q1:1.1.0.2; locks; strict; comment @# @; 1.2 date 2023.03.13.10.39.29; author wiz; state dead; branches; next 1.1; commitid sK29OznPBjIi1XgE; 1.1 date 2017.04.25.22.19.20; author tez; state Exp; branches 1.1.2.1; next ; commitid Wx302w1beCN2WXOz; 1.1.2.1 date 2017.04.25.22.19.20; author bsiegert; state dead; branches; next 1.1.2.2; commitid k5bog4ouYgQfAcPz; 1.1.2.2 date 2017.04.27.18.26.21; author bsiegert; state Exp; branches; next ; commitid k5bog4ouYgQfAcPz; desc @@ 1.2 log @a2ps: update to 4.15. * Noteworthy changes in release 4.15 (2023-03-07) [stable] * New maintainer, Reuben Thomas. * Features: - Replace the 'psmandup' utility with simpler 'lp2' to directly print documents to a simplex printer. - Remove the outdated 'psset' and 'fixnt', and simplify 'fixps' to always process its input with Ghostscript. - Use libpaper's paper sizes. This includes user-defined paper sizes when using libpaper 2. It is still possible to define custom margins using "Medium:" specifications in the configuration file, and the one size defined by a2ps that libpaper does not know about, Quarto, is retained for backwards compatiblity, and as an example. * Documentation - Remove some obsolete explanations. - Reformat --help output consistently to 80 columns. - Some English fixes. * Bug fixes: - Avoid a crash when a medium is not specified; instead, use the default libpaper size (configured by the user or sysadmin, or the locale default). - Fix some other potential crashes and compiler warnings. - Fixes for security bugs CVE-2001-1593, CVE-2015-8107 and CVE-2014-0466. - Minor bugs fixed. * Predefined delegations: - Remove support for defunct Netscape and proprietary Acrobat Reader. - Add lpr wrapper for automatic detection of different printing systems, including CUPS support. * Encodings: - Use libre fonts for KOI-8. - Composite fonts support. * Build - Update build system to more recent autotools and gettext versions. - Build man pages in a simpler and more robust way. - Document runtime dependencies. - Minor code quality improvements. - Minor tidy up and removal of obsolete code. - Require libpaper. - Remove OS/2 support. @ text @$NetBSD: patch-CVE-2015-8107,v 1.1 2017/04/25 22:19:20 tez Exp $ Patch for CVE-2015-8107 from http://seclists.org/oss-sec/2015/q4/284 --- lib/output.c.orig 2017-04-25 21:23:33.908698400 +0000 +++ lib/output.c @@@@ -525,7 +525,7 @@@@ output_file (struct output * out, a2ps_j expand_user_string (job, FIRST_FILE (job), (const uchar *) "Expand: requirement", (const uchar *) token)); - output (dest, expansion); + output (dest, "%s", expansion); continue; } @ 1.1 log @Patch for CVE-2015-8107 from http://seclists.org/oss-sec/2015/q4/284 @ text @d1 1 a1 1 $NetBSD$ @ 1.1.2.1 log @file patch-CVE-2015-8107 was added on branch pkgsrc-2017Q1 on 2017-04-27 18:26:21 +0000 @ text @d1 16 @ 1.1.2.2 log @Pullup ticket #5370 - requested by sevan print/a2ps: security fix Revisions pulled up: - print/a2ps/Makefile 1.83 - print/a2ps/distinfo 1.17 - print/a2ps/patches/patch-CVE-2015-8107 1.1 --- Module Name: pkgsrc Committed By: tez Date: Tue Apr 25 22:19:20 UTC 2017 Modified Files: pkgsrc/print/a2ps: Makefile distinfo Added Files: pkgsrc/print/a2ps/patches: patch-CVE-2015-8107 Log Message: Patch for CVE-2015-8107 from http://seclists.org/oss-sec/2015/q4/284 @ text @a0 16 $NetBSD: patch-CVE-2015-8107,v 1.1 2017/04/25 22:19:20 tez Exp $ Patch for CVE-2015-8107 from http://seclists.org/oss-sec/2015/q4/284 --- lib/output.c.orig 2017-04-25 21:23:33.908698400 +0000 +++ lib/output.c @@@@ -525,7 +525,7 @@@@ output_file (struct output * out, a2ps_j expand_user_string (job, FIRST_FILE (job), (const uchar *) "Expand: requirement", (const uchar *) token)); - output (dest, expansion); + output (dest, "%s", expansion); continue; } @