pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc/print/a2ps



Module Name:    pkgsrc
Committed By:   wiz
Date:           Mon Mar 13 10:39:29 UTC 2023

Modified Files:
        pkgsrc/print/a2ps: Makefile PLIST distinfo
Removed Files:
        pkgsrc/print/a2ps/patches: patch-CVE-2001-1593_1 patch-CVE-2001-1593_2
            patch-CVE-2014-0466_1 patch-CVE-2014-0466_2 patch-CVE-2015-8107
            patch-aa patch-ab patch-ac patch-lib_path-concat.c

Log Message:
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.


To generate a diff of this commit:
cvs rdiff -u -r1.90 -r1.91 pkgsrc/print/a2ps/Makefile
cvs rdiff -u -r1.10 -r1.11 pkgsrc/print/a2ps/PLIST
cvs rdiff -u -r1.20 -r1.21 pkgsrc/print/a2ps/distinfo
cvs rdiff -u -r1.1 -r0 pkgsrc/print/a2ps/patches/patch-CVE-2001-1593_1 \
    pkgsrc/print/a2ps/patches/patch-CVE-2014-0466_1 \
    pkgsrc/print/a2ps/patches/patch-CVE-2014-0466_2 \
    pkgsrc/print/a2ps/patches/patch-CVE-2015-8107
cvs rdiff -u -r1.2 -r0 pkgsrc/print/a2ps/patches/patch-CVE-2001-1593_2 \
    pkgsrc/print/a2ps/patches/patch-lib_path-concat.c
cvs rdiff -u -r1.12 -r0 pkgsrc/print/a2ps/patches/patch-aa
cvs rdiff -u -r1.7 -r0 pkgsrc/print/a2ps/patches/patch-ab \
    pkgsrc/print/a2ps/patches/patch-ac

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/print/a2ps/Makefile
diff -u pkgsrc/print/a2ps/Makefile:1.90 pkgsrc/print/a2ps/Makefile:1.91
--- pkgsrc/print/a2ps/Makefile:1.90     Mon Jan  9 23:29:24 2023
+++ pkgsrc/print/a2ps/Makefile  Mon Mar 13 10:39:29 2023
@@ -1,7 +1,6 @@
-# $NetBSD: Makefile,v 1.90 2023/01/09 23:29:24 sekiya Exp $
+# $NetBSD: Makefile,v 1.91 2023/03/13 10:39:29 wiz Exp $
 
-DISTNAME=              a2ps-4.14
-PKGREVISION=           15
+DISTNAME=              a2ps-4.15
 CATEGORIES=            print
 MASTER_SITES=          ${MASTER_SITE_GNU:=a2ps/}
 
@@ -12,36 +11,42 @@ LICENSE=            gnu-gpl-v3
 
 DEPENDS+=              psutils>=1.17:../../print/psutils
 
-STRIP=                 # empty
-
 USE_LIBTOOL=           yes
+USE_PKGLOCALEDIR=      yes
+USE_TOOLS+=            bash:run file:run gmake lex mktemp:run perl:run pkg-config
 
-.include "../../mk/bsd.prefs.mk"
-
-CFLAGS.Darwin+=                -flat_namespace
-
-BUILD_DEFS+=           PAPERSIZE
-
-USE_TOOLS+=            file:run gmake lex mktemp:run perl:run
-CONFIGURE_ENV+=                file_prog=${FILE_CMD:Q}
-
-USE_PKGLOCALEDIR=      YES
-GNU_CONFIGURE=         YES
+GNU_CONFIGURE=         yes
 CONFIGURE_ENV+=                LPR=lpr
-CONFIGURE_ARGS+=       --with-medium=${PAPERSIZE:Q}
 CONFIGURE_ARGS+=       --sysconfdir=${PKG_SYSCONFDIR:Q}
-CONFIGURE_ARGS+=       --disable-dependency-tracking
 CONFIGURE_ARGS+=       ac_cv_prog_EMACS=no
+CONFIGURE_ENV+=                file_prog=${FILE_CMD:Q}
+
+INFO_FILES=            yes
+
+CFLAGS.Darwin+=                -flat_namespace
 
 EGDIR=                 ${PREFIX}/share/examples/a2ps
 CONF_FILES=            ${EGDIR}/a2ps-site.cfg ${PKG_SYSCONFDIR}/a2ps-site.cfg
 CONF_FILES+=           ${EGDIR}/a2ps.cfg ${PKG_SYSCONFDIR}/a2ps.cfg
-INFO_FILES=            yes
+
+REPLACE_BASH+=         src/a2ps-lpr-wrapper
+REPLACE_SH+=           contrib/[a-z]*.in
+
+INSTALLATION_DIRS=     share/examples/a2ps
+
+# 3 test failures as of 4.15
+# https://savannah.gnu.org/bugs/index.php?63919
+TEST_TARGET=           check
 
 pre-build:
        ${TOUCH} ${WRKSRC}/doc/*.info
        ${TOUCH} ${WRKSRC}/doc/*.dvi
 
+post-install:
+       cd ${DESTDIR}${PREFIX}/etc && ${MV} a2ps-site.cfg a2ps.cfg ${DESTDIR}${PREFIX}/share/examples/a2ps
+
 .include "../../devel/gettext-lib/buildlink3.mk"
+.include "../../devel/boehm-gc/buildlink3.mk"
 .include "../../devel/gperf/buildlink3.mk"
+.include "../../print/libpaper/buildlink3.mk"
 .include "../../mk/bsd.pkg.mk"

Index: pkgsrc/print/a2ps/PLIST
diff -u pkgsrc/print/a2ps/PLIST:1.10 pkgsrc/print/a2ps/PLIST:1.11
--- pkgsrc/print/a2ps/PLIST:1.10        Sun Jun 14 18:11:52 2009
+++ pkgsrc/print/a2ps/PLIST     Mon Mar 13 10:39:29 2023
@@ -1,27 +1,22 @@
-@comment $NetBSD: PLIST,v 1.10 2009/06/14 18:11:52 joerg Exp $
+@comment $NetBSD: PLIST,v 1.11 2023/03/13 10:39:29 wiz Exp $
 bin/a2ps
+bin/a2ps-lpr-wrapper
 bin/card
 bin/composeglyphs
-bin/fixnt
 bin/fixps
+bin/lp2
 bin/ogonkify
 bin/pdiff
-bin/psmandup
-bin/psset
-bin/texi2dvi4a2ps
-include/liba2ps.h
 info/a2ps.info
 info/ogonkify.info
 info/regex.info
-lib/liba2ps.la
+man/man1/a2ps-lpr-wrapper.1
 man/man1/a2ps.1
 man/man1/card.1
 man/man1/fixps.1
+man/man1/lp2.1
 man/man1/ogonkify.1
 man/man1/pdiff.1
-man/man1/psmandup.1
-man/man1/psset.1
-man/man1/texi2dvi4a2ps.1
 share/a2ps/README
 share/a2ps/afm/fonts.map
 share/a2ps/afm/make_fonts_map.sh
@@ -63,6 +58,7 @@ share/a2ps/afm/pzcmi.afm
 share/a2ps/afm/pzdr.afm
 share/a2ps/encoding/ascii.edf
 share/a2ps/encoding/encoding.map
+share/a2ps/encoding/euc-jp.edf
 share/a2ps/encoding/hp.edf
 share/a2ps/encoding/ibm-cp437.edf
 share/a2ps/encoding/ibm-cp850.edf
@@ -211,25 +207,83 @@ share/a2ps/sheets/wdiff.ssh
 share/a2ps/sheets/xs.ssh
 share/a2ps/sheets/yacc.ssh
 share/a2ps/sheets/zsh.ssh
+share/emacs/site-lisp/a2ps-print.el
+share/emacs/site-lisp/a2ps.el
 share/examples/a2ps/a2ps-site.cfg
 share/examples/a2ps/a2ps.cfg
+share/locale/af/LC_MESSAGES/a2ps-gnulib.mo
+share/locale/be/LC_MESSAGES/a2ps-gnulib.mo
+share/locale/be/LC_MESSAGES/a2ps.mo
+share/locale/bg/LC_MESSAGES/a2ps-gnulib.mo
+share/locale/ca/LC_MESSAGES/a2ps-gnulib.mo
 share/locale/ca/LC_MESSAGES/a2ps.mo
+share/locale/cs/LC_MESSAGES/a2ps-gnulib.mo
 share/locale/cs/LC_MESSAGES/a2ps.mo
+share/locale/da/LC_MESSAGES/a2ps-gnulib.mo
 share/locale/da/LC_MESSAGES/a2ps.mo
+share/locale/de/LC_MESSAGES/a2ps-gnulib.mo
 share/locale/de/LC_MESSAGES/a2ps.mo
+share/locale/el/LC_MESSAGES/a2ps-gnulib.mo
+share/locale/el/LC_MESSAGES/a2ps.mo
+share/locale/en_GB/LC_MESSAGES/a2ps.mo
+share/locale/eo/LC_MESSAGES/a2ps-gnulib.mo
+share/locale/eo/LC_MESSAGES/a2ps.mo
+share/locale/es/LC_MESSAGES/a2ps-gnulib.mo
 share/locale/es/LC_MESSAGES/a2ps.mo
+share/locale/et/LC_MESSAGES/a2ps-gnulib.mo
+share/locale/et/LC_MESSAGES/a2ps.mo
+share/locale/eu/LC_MESSAGES/a2ps-gnulib.mo
+share/locale/fi/LC_MESSAGES/a2ps-gnulib.mo
+share/locale/fi/LC_MESSAGES/a2ps.mo
+share/locale/fr/LC_MESSAGES/a2ps-gnulib.mo
 share/locale/fr/LC_MESSAGES/a2ps.mo
+share/locale/ga/LC_MESSAGES/a2ps-gnulib.mo
+share/locale/gl/LC_MESSAGES/a2ps-gnulib.mo
+share/locale/gl/LC_MESSAGES/a2ps.mo
+share/locale/hr/LC_MESSAGES/a2ps.mo
+share/locale/hu/LC_MESSAGES/a2ps-gnulib.mo
+share/locale/id/LC_MESSAGES/a2ps.mo
+share/locale/it/LC_MESSAGES/a2ps-gnulib.mo
 share/locale/it/LC_MESSAGES/a2ps.mo
+share/locale/ja/LC_MESSAGES/a2ps-gnulib.mo
 share/locale/ja/LC_MESSAGES/a2ps.mo
+share/locale/ka/LC_MESSAGES/a2ps-gnulib.mo
+share/locale/ko/LC_MESSAGES/a2ps-gnulib.mo
 share/locale/ko/LC_MESSAGES/a2ps.mo
+share/locale/ms/LC_MESSAGES/a2ps-gnulib.mo
+share/locale/ms/LC_MESSAGES/a2ps.mo
+share/locale/nb/LC_MESSAGES/a2ps-gnulib.mo
+share/locale/nb/LC_MESSAGES/a2ps.mo
+share/locale/nl/LC_MESSAGES/a2ps-gnulib.mo
 share/locale/nl/LC_MESSAGES/a2ps.mo
-share/locale/no/LC_MESSAGES/a2ps.mo
+share/locale/pl/LC_MESSAGES/a2ps-gnulib.mo
 share/locale/pl/LC_MESSAGES/a2ps.mo
+share/locale/pt/LC_MESSAGES/a2ps-gnulib.mo
 share/locale/pt/LC_MESSAGES/a2ps.mo
+share/locale/pt_BR/LC_MESSAGES/a2ps-gnulib.mo
+share/locale/pt_BR/LC_MESSAGES/a2ps.mo
+share/locale/ro/LC_MESSAGES/a2ps-gnulib.mo
+share/locale/ro/LC_MESSAGES/a2ps.mo
+share/locale/ru/LC_MESSAGES/a2ps-gnulib.mo
 share/locale/ru/LC_MESSAGES/a2ps.mo
+share/locale/rw/LC_MESSAGES/a2ps-gnulib.mo
+share/locale/sk/LC_MESSAGES/a2ps-gnulib.mo
+share/locale/sl/LC_MESSAGES/a2ps-gnulib.mo
 share/locale/sl/LC_MESSAGES/a2ps.mo
+share/locale/sr/LC_MESSAGES/a2ps-gnulib.mo
+share/locale/sr/LC_MESSAGES/a2ps.mo
+share/locale/sv/LC_MESSAGES/a2ps-gnulib.mo
 share/locale/sv/LC_MESSAGES/a2ps.mo
+share/locale/th/LC_MESSAGES/a2ps.mo
+share/locale/tr/LC_MESSAGES/a2ps-gnulib.mo
 share/locale/tr/LC_MESSAGES/a2ps.mo
+share/locale/uk/LC_MESSAGES/a2ps-gnulib.mo
+share/locale/uk/LC_MESSAGES/a2ps.mo
+share/locale/vi/LC_MESSAGES/a2ps-gnulib.mo
+share/locale/vi/LC_MESSAGES/a2ps.mo
+share/locale/zh_CN/LC_MESSAGES/a2ps-gnulib.mo
+share/locale/zh_CN/LC_MESSAGES/a2ps.mo
+share/locale/zh_TW/LC_MESSAGES/a2ps-gnulib.mo
 share/ogonkify/README
 share/ogonkify/adobe.enc
 share/ogonkify/afm/pcrb-o.afm

Index: pkgsrc/print/a2ps/distinfo
diff -u pkgsrc/print/a2ps/distinfo:1.20 pkgsrc/print/a2ps/distinfo:1.21
--- pkgsrc/print/a2ps/distinfo:1.20     Mon Jan  9 23:29:24 2023
+++ pkgsrc/print/a2ps/distinfo  Mon Mar 13 10:39:29 2023
@@ -1,14 +1,5 @@
-$NetBSD: distinfo,v 1.20 2023/01/09 23:29:24 sekiya Exp $
+$NetBSD: distinfo,v 1.21 2023/03/13 10:39:29 wiz Exp $
 
-BLAKE2s (a2ps-4.14.tar.gz) = 6d039130746ecbf324c4122747aad3282f7f46f3fe6ed6ef2f76fe8e746a4449
-SHA512 (a2ps-4.14.tar.gz) = fd6ac8ab47d789114c283e8ca508f7f56feabd1a189f4ac772cad9e6be7e3791e210892cfffd04ad1d39efe4b15386b2e61bf4cd56b70ed581c0554f36bfe06f
-Size (a2ps-4.14.tar.gz) = 2552507 bytes
-SHA1 (patch-CVE-2001-1593_1) = d0ce811248c33c5df6952f84176c2901ca4bd176
-SHA1 (patch-CVE-2001-1593_2) = 65c0aad5c75ae6694f1586e3bfa8d73ec8abeed1
-SHA1 (patch-CVE-2014-0466_1) = fa77ad336e307678e0c649e049b57d1fbc8c492f
-SHA1 (patch-CVE-2014-0466_2) = 1abc6d26bdf03d859cec53afc3f5c363942d9385
-SHA1 (patch-CVE-2015-8107) = 404b291b0c22b67aa4310f86e5aadea5160d1ea7
-SHA1 (patch-aa) = 53d1fab4aea32cc3c21d1ec80f10b932efc7c2ab
-SHA1 (patch-ab) = 59cae5c8aba69585a47f425a2460295413f3707e
-SHA1 (patch-ac) = 8e09c4c3b320b58bf12c4266d4d22977b5f9b826
-SHA1 (patch-lib_path-concat.c) = f4342570191d9333923950a4fe808d827acc775e
+BLAKE2s (a2ps-4.15.tar.gz) = b9186f14888ed6748c0234f81feee0f8f319e1ebf543dfa0ca7c5fd35ddca99e
+SHA512 (a2ps-4.15.tar.gz) = 4d88ed4c65c636aa7640e01cf19c259775a810eb91495dc39726554c8ab3b89a105d947c3b357a5b16e5d120b5530587b1838a99829862c9c081b5ae1b354798
+Size (a2ps-4.15.tar.gz) = 3723299 bytes



Home | Main Index | Thread Index | Old Index