pkgsrc-Changes archive

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

CVS commit: pkgsrc



Module Name:    pkgsrc
Committed By:   wiz
Date:           Sun Sep 22 15:22:57 UTC 2024

Modified Files:
        pkgsrc/fonts/ghostscript-cidfonts-ryumin: Makefile
        pkgsrc/print/ghostscript-agpl: Makefile Makefile.common PLIST distinfo
            hacks.mk
        pkgsrc/print/ghostscript-agpl/patches: patch-configure
Removed Files:
        pkgsrc/print/ghostscript-agpl/patches: patch-devices_gdevescp.c
            patch-pdf_pdf__sec.c

Log Message:
ghostscript-agpl: update to 10.04.0

Version 10.04.0 (2024-09-18)

Highlights in this release include:

  • This release addresses CVEs: CVE-2024-46951, CVE-2024-46952,
    CVE-2024-46953, CVE-2024-46954, CVE-2024-46955, CVE-2024-46956
  • IMPORTANT: In this release (10.04.0) we have be added protection for device
    selection from PostScript input. This will mean that, by default, only the
    device specified on the command line will be permitted. Similar to the file
    permissions, there will be a "--permit-devices=" allowing a comma
    separation list of allowed devices. This will also take a single wildcard
    "*" allowing any device.

    Any application which relies on allowing PostScript to change devices
    during a job will have to be aware, and take action to deal with this
    change.

    The exception is "nulldevice", switching to that requires no special
    action.
  • Our efforts in code hygiene and maintainability continue.
  • The usual round of bug fixes, compatibility changes, and incremental
    improvements.


To generate a diff of this commit:
cvs rdiff -u -r1.51 -r1.52 pkgsrc/fonts/ghostscript-cidfonts-ryumin/Makefile
cvs rdiff -u -r1.88 -r1.89 pkgsrc/print/ghostscript-agpl/Makefile
cvs rdiff -u -r1.34 -r1.35 pkgsrc/print/ghostscript-agpl/Makefile.common
cvs rdiff -u -r1.26 -r1.27 pkgsrc/print/ghostscript-agpl/PLIST
cvs rdiff -u -r1.51 -r1.52 pkgsrc/print/ghostscript-agpl/distinfo
cvs rdiff -u -r1.3 -r1.4 pkgsrc/print/ghostscript-agpl/hacks.mk
cvs rdiff -u -r1.10 -r1.11 \
    pkgsrc/print/ghostscript-agpl/patches/patch-configure
cvs rdiff -u -r1.1 -r0 \
    pkgsrc/print/ghostscript-agpl/patches/patch-devices_gdevescp.c \
    pkgsrc/print/ghostscript-agpl/patches/patch-pdf_pdf__sec.c

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

Modified files:

Index: pkgsrc/fonts/ghostscript-cidfonts-ryumin/Makefile
diff -u pkgsrc/fonts/ghostscript-cidfonts-ryumin/Makefile:1.51 pkgsrc/fonts/ghostscript-cidfonts-ryumin/Makefile:1.52
--- pkgsrc/fonts/ghostscript-cidfonts-ryumin/Makefile:1.51      Wed May 29 16:32:31 2024
+++ pkgsrc/fonts/ghostscript-cidfonts-ryumin/Makefile   Sun Sep 22 15:22:57 2024
@@ -1,8 +1,7 @@
-# $NetBSD: Makefile,v 1.51 2024/05/29 16:32:31 adam Exp $
+# $NetBSD: Makefile,v 1.52 2024/09/22 15:22:57 wiz Exp $
 
 DISTNAME=      ghostscript-cidfonts-ryumin-${GS_VERSION}
 DISTFILES=     # empty
-PKGREVISION=   2
 CATEGORIES=    fonts
 
 MAINTAINER=    makoto%ki.nu@localhost

Index: pkgsrc/print/ghostscript-agpl/Makefile
diff -u pkgsrc/print/ghostscript-agpl/Makefile:1.88 pkgsrc/print/ghostscript-agpl/Makefile:1.89
--- pkgsrc/print/ghostscript-agpl/Makefile:1.88 Tue Aug  6 18:27:23 2024
+++ pkgsrc/print/ghostscript-agpl/Makefile      Sun Sep 22 15:22:57 2024
@@ -1,8 +1,7 @@
-# $NetBSD: Makefile,v 1.88 2024/08/06 18:27:23 tnn Exp $
+# $NetBSD: Makefile,v 1.89 2024/09/22 15:22:57 wiz Exp $
 
 DISTNAME=      ghostscript-${GS_VERSION}
 PKGNAME=       ${DISTNAME:S/ghostscript/ghostscript-agpl/}
-PKGREVISION=   2
 CATEGORIES=    print
 MASTER_SITES=  ${MASTER_SITE_GITHUB:=ArtifexSoftware/}
 GITHUB_PROJECT=        ghostpdl-downloads

Index: pkgsrc/print/ghostscript-agpl/Makefile.common
diff -u pkgsrc/print/ghostscript-agpl/Makefile.common:1.34 pkgsrc/print/ghostscript-agpl/Makefile.common:1.35
--- pkgsrc/print/ghostscript-agpl/Makefile.common:1.34  Sun May 19 11:55:37 2024
+++ pkgsrc/print/ghostscript-agpl/Makefile.common       Sun Sep 22 15:22:57 2024
@@ -1,5 +1,5 @@
-# $NetBSD: Makefile.common,v 1.34 2024/05/19 11:55:37 wiz Exp $
+# $NetBSD: Makefile.common,v 1.35 2024/09/22 15:22:57 wiz Exp $
 # used by print/ghostscript-agpl/Makefile
 # used by fonts/ghostscript-cidfonts-ryumin/Makefile
 
-GS_VERSION=    10.03.1
+GS_VERSION=    10.04.0

Index: pkgsrc/print/ghostscript-agpl/PLIST
diff -u pkgsrc/print/ghostscript-agpl/PLIST:1.26 pkgsrc/print/ghostscript-agpl/PLIST:1.27
--- pkgsrc/print/ghostscript-agpl/PLIST:1.26    Mon Mar 11 12:45:37 2024
+++ pkgsrc/print/ghostscript-agpl/PLIST Sun Sep 22 15:22:57 2024
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.26 2024/03/11 12:45:37 wiz Exp $
+@comment $NetBSD: PLIST,v 1.27 2024/09/22 15:22:57 wiz Exp $
 bin/dvipdf
 bin/eps2eps
 bin/gs
@@ -33,7 +33,7 @@ include/ghostscript/iapi.h
 include/ghostscript/ierrors.h
 lib/libgs.so
 lib/libgs.so.10
-lib/libgs.so.10.03
+lib/libgs.so.10.04
 man/man1/dvipdf.1
 man/man1/eps2eps.1
 man/man1/gs.1

Index: pkgsrc/print/ghostscript-agpl/distinfo
diff -u pkgsrc/print/ghostscript-agpl/distinfo:1.51 pkgsrc/print/ghostscript-agpl/distinfo:1.52
--- pkgsrc/print/ghostscript-agpl/distinfo:1.51 Tue Aug  6 18:27:23 2024
+++ pkgsrc/print/ghostscript-agpl/distinfo      Sun Sep 22 15:22:57 2024
@@ -1,14 +1,12 @@
-$NetBSD: distinfo,v 1.51 2024/08/06 18:27:23 tnn Exp $
+$NetBSD: distinfo,v 1.52 2024/09/22 15:22:57 wiz Exp $
 
-BLAKE2s (ghostscript-10.03.1.tar.xz) = f5edbba3d8c82612959270320f844caeb2ba6108f071cf736eabecb46cd9861b
-SHA512 (ghostscript-10.03.1.tar.xz) = 59e071cd23aed246b51317d3cccd9ccf8e1e84c4ecf9b22fb938e561eff42cec61915b0bdd96a313a3ea27750579c54ca0d0862b65edd306a621731c0063ffd3
-Size (ghostscript-10.03.1.tar.xz) = 68048612 bytes
+BLAKE2s (ghostscript-10.04.0.tar.xz) = 879dfb40a937f0141eab1043cc4bcd3d5ad78da7020dbe4939146a55352e0ec9
+SHA512 (ghostscript-10.04.0.tar.xz) = 2e711f8ba86491570684f13851190f41e6eee87dcfacce0a4adfd09a4523abf2e0b6727f0958ee2683834218f5705675b531fd2419cb7fc314ed4becf51f3ce3
+Size (ghostscript-10.04.0.tar.xz) = 68070680 bytes
 SHA1 (patch-base_gserrors_h) = 36c8fcf27fcb0bfdcc075ad96efe3e44fb727d9a
 SHA1 (patch-base_lib.mak) = 723926f167b49568376ef0c0da6aa4ec01fe1516
 SHA1 (patch-base_mkromfs.c) = 9d9afbd0fbb8c70c8f4f7de3cadc5b54541f0db0
 SHA1 (patch-base_ttobjs.h) = 378ad7d316a4a9dc53b9c8e612582a7c8e9b3688
 SHA1 (patch-base_unix-dll.mak) = 8076ce689807872bf94b552daaf9547b646ca249
-SHA1 (patch-configure) = c448faa2f588dd8d7f58a9c1498b3dc5e903a5e2
+SHA1 (patch-configure) = cd04bec18e29ff867127c283e58cfbebe7ddad81
 SHA1 (patch-devices_devs.mak) = e9937d401a278cc6d0a6d4cff78c526375bc18ca
-SHA1 (patch-devices_gdevescp.c) = 7eece110c7eac20132deddc2441edddd675ef58f
-SHA1 (patch-pdf_pdf__sec.c) = 18a88ff5b93b01fbb7b350c9c96399b14dc93b40

Index: pkgsrc/print/ghostscript-agpl/hacks.mk
diff -u pkgsrc/print/ghostscript-agpl/hacks.mk:1.3 pkgsrc/print/ghostscript-agpl/hacks.mk:1.4
--- pkgsrc/print/ghostscript-agpl/hacks.mk:1.3  Sun Apr 23 09:19:13 2023
+++ pkgsrc/print/ghostscript-agpl/hacks.mk      Sun Sep 22 15:22:57 2024
@@ -1,4 +1,4 @@
-# $NetBSD: hacks.mk,v 1.3 2023/04/23 09:19:13 wiz Exp $
+# $NetBSD: hacks.mk,v 1.4 2024/09/22 15:22:57 wiz Exp $
 
 ### [Tue Jan  9 15:57:05 EST 2007 : tv]
 ### Interix has u_int64_t, but not uint64_t
@@ -33,6 +33,7 @@ post-patch:
 .if ${X11_TYPE} == "native" && ${MACHINE_PLATFORM:MNetBSD-7.*} && \
        !exists(/usr/X11R7/include/freetype2/ftttdrv.h)
 BUILDLINK_TARGETS+=    buildlink-freetype2-ftttdrv.h
+.PHONY: buildlink-freetype2-ftttdrv.h
 buildlink-freetype2-ftttdrv.h:
        ${RUN}                                                          \
        dest=${BUILDLINK_DIR}"/include/freetype2/ftttdrv.h";            \

Index: pkgsrc/print/ghostscript-agpl/patches/patch-configure
diff -u pkgsrc/print/ghostscript-agpl/patches/patch-configure:1.10 pkgsrc/print/ghostscript-agpl/patches/patch-configure:1.11
--- pkgsrc/print/ghostscript-agpl/patches/patch-configure:1.10  Sun Apr 23 09:19:13 2023
+++ pkgsrc/print/ghostscript-agpl/patches/patch-configure       Sun Sep 22 15:22:57 2024
@@ -1,13 +1,13 @@
-$NetBSD: patch-configure,v 1.10 2023/04/23 09:19:13 wiz Exp $
+$NetBSD: patch-configure,v 1.11 2024/09/22 15:22:57 wiz Exp $
 
 Use system zlib for linking.
 Add rpath.
 Get all LDFLAGS for FreeType2.
 Use correct install_name with path on Darwin.
 
---- configure.orig     2023-03-22 09:33:42.000000000 +0000
+--- configure.orig     2024-09-18 07:34:15.000000000 +0000
 +++ configure
-@@ -4834,7 +4834,7 @@ CFLAGSAUX_STANDARDTMP="\$(CFLAGS_STANDAR
+@@ -4837,7 +4837,7 @@ CFLAGSAUX_STANDARDTMP="\$(CFLAGS_STANDAR
  CFLAGSAUX_DEBUGTMP="\$(CFLAGS_DEBUG)"
  CFLAGSAUX_PROFILETMP="\$(CFLAGS_PROFILE)"
  LDFLAGSAUXTMP="\$(LDFLAGS)"
@@ -16,7 +16,7 @@ Use correct install_name with path on Da
  
  # purposefully do not include "help" output for this
  # Check whether --enable-save_confaux was given.
-@@ -5590,10 +5590,7 @@ case $host in
+@@ -5593,10 +5593,7 @@ case $host in
          *-sun*|*-solaris*)
          CC_OPT_FLAGS_TO_TRY="-O2 -DNDEBUG"
          CFLAGS_LARGEFILE="-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64"
@@ -28,7 +28,7 @@ Use correct install_name with path on Da
          if test x"$GCC" = x"yes"; then
              CC_OPT_FLAGS_TO_TRY="-O2 -DNDEBUG"
              CC_DBG_FLAGS_TO_TRY="-gdwarf-2 -g3 -O0"
-@@ -8701,7 +8698,7 @@ fi
+@@ -9251,7 +9248,7 @@ fi
  fi
  
  if test x$with_libpaper != xno; then
@@ -37,24 +37,24 @@ Use correct install_name with path on Da
  
  printf "%s\n" "#define USE_LIBPAPER 1" >>confdefs.h
  
-@@ -12805,11 +12802,11 @@ case $host in
+@@ -13333,11 +13330,11 @@ case $host in
      ;;
      *-darwin*)
        DYNAMIC_CFLAGS="-fPIC $DYNAMIC_CFLAGS"
--      GS_DYNAMIC_LDFLAGS="-dynamiclib -install_name $DARWIN_LDFLAGS_SO_PREFIX\$(GS_SONAME_MAJOR_MINOR)"
--      PCL_DYNAMIC_LDFLAGS="-dynamiclib -install_name $DARWIN_LDFLAGS_SO_PREFIX\$(PCL_SONAME_MAJOR_MINOR)"
--      XPS_DYNAMIC_LDFLAGS="-dynamiclib -install_name $DARWIN_LDFLAGS_SO_PREFIX\$(XPS_SONAME_MAJOR_MINOR)"
--      PDL_DYNAMIC_LDFLAGS="-dynamiclib -install_name $DARWIN_LDFLAGS_SO_PREFIX\$(GPDL_SONAME_MAJOR_MINOR)"
--      PDF_DYNAMIC_LDFLAGS="-dynamiclib -install_name $DARWIN_LDFLAGS_SO_PREFIX\$(PDF_SONAME_MAJOR_MINOR)"
-+      GS_DYNAMIC_LDFLAGS="-dynamiclib -install_name \$(DESTDIR)\$(libdir)/\$(GS_SONAME_MAJOR_MINOR)"
-+      PCL_DYNAMIC_LDFLAGS="-dynamiclib -install_name \$(DESTDIR)\$(libdir)/\$(PCL_SONAME_MAJOR_MINOR)"
-+      XPS_DYNAMIC_LDFLAGS="-dynamiclib -install_name \$(DESTDIR)\$(libdir)/\$(XPS_SONAME_MAJOR_MINOR)"
-+      PDL_DYNAMIC_LDFLAGS="-dynamiclib -install_name \$(DESTDIR)\$(libdir)/\$(GPDL_SONAME_MAJOR_MINOR)"
-+      PDF_DYNAMIC_LDFLAGS="-dynamiclib -install_name \$(DESTDIR)\$(libdir)/\$(PDF_SONAME_MAJOR_MINOR)"
+-      GS_DYNAMIC_LDFLAGS="-dynamiclib -install_name $DARWIN_LDFLAGS_SO_PREFIX\$(GS_SONAME_MAJOR)"
+-      PCL_DYNAMIC_LDFLAGS="-dynamiclib -install_name $DARWIN_LDFLAGS_SO_PREFIX\$(PCL_SONAME_MAJOR)"
+-      XPS_DYNAMIC_LDFLAGS="-dynamiclib -install_name $DARWIN_LDFLAGS_SO_PREFIX\$(XPS_SONAME_MAJOR)"
+-      PDL_DYNAMIC_LDFLAGS="-dynamiclib -install_name $DARWIN_LDFLAGS_SO_PREFIX\$(GPDL_SONAME_MAJOR)"
+-      PDF_DYNAMIC_LDFLAGS="-dynamiclib -install_name $DARWIN_LDFLAGS_SO_PREFIX\$(PDF_SONAME_MAJOR)"
++      GS_DYNAMIC_LDFLAGS="-dynamiclib -install_name \$(DESTDIR)\$(libdir)\$(GS_SONAME_MAJOR)"
++      PCL_DYNAMIC_LDFLAGS="-dynamiclib -install_name \$(DESTDIR)\$(libdir)\$(PCL_SONAME_MAJOR)"
++      XPS_DYNAMIC_LDFLAGS="-dynamiclib -install_name \$(DESTDIR)\$(libdir)\$(XPS_SONAME_MAJOR)"
++      PDL_DYNAMIC_LDFLAGS="-dynamiclib -install_name \$(DESTDIR)\$(libdir)\$(GPDL_SONAME_MAJOR)"
++      PDF_DYNAMIC_LDFLAGS="-dynamiclib -install_name \$(DESTDIR)\$(libdir)\$(PDF_SONAME_MAJOR)"
        DYNAMIC_LIBS=""
-       SO_LIB_EXT=".dylib"
-     ;;
-@@ -12825,11 +12822,11 @@ case $host in
+       SO_LIB_EXT=""
+       DLL_EXT=".dylib"
+@@ -13354,11 +13351,11 @@ case $host in
          #fi
          # ^^^ untested
        fi



Home | Main Index | Thread Index | Old Index