diff --git a/print/ghostscript7-base/Makefile b/print/ghostscript7-base/Makefile index 9e1c6b80d0a9..d5135ff2ee50 100644 --- a/print/ghostscript7-base/Makefile +++ b/print/ghostscript7-base/Makefile @@ -1,125 +1,127 @@ PORTNAME= ghostscript PORTVERSION= 7.07 PORTREVISION= 32 CATEGORIES= print MASTER_SITES= SF/ghostscript/gnu-gs/${PORTVERSION}:gs_srcs \ PORTS_JP:ports_jp,ports_jp_gs PKGNAMESUFFIX= 7-base DISTFILES= ${DISTNAME}${EXTRACT_SUFX}:gs_srcs DIST_SUBDIR= ${PORTNAME} EXTRACT_ONLY= ${DISTNAME}${EXTRACT_SUFX} MAINTAINER= hrs@FreeBSD.org COMMENT= Ghostscript 7.x PostScript interpreter WWW= https://www.cs.wisc.edu/~ghost/doc/gnu/index.htm LICENSE= GPLv2 DEPRECATED= Obsolete and unsupported upstream, consider using a more recent version EXPIRATION_DATE=2023-06-30 +FORBIDDEN= CVE-2023-28879 + LIB_DEPENDS= libpng.so:graphics/png RUN_DEPENDS= ${LOCALBASE}/share/ghostscript/fonts/a010013l.pfb:print/gsfonts CONFLICTS_INSTALL= ghostscript*-base # CHECK USES= autoreconf cpe gmake jpeg shebangfix tar:bzip2 USE_LDCONFIG= yes CPE_VENDOR= artifex SHEBANG_FILES= lib/fixmswrd.pl # normazile WRKSRC so things like cups-pstoraster may work WRKSRC= ${WRKDIR}/${PORTNAME} MAKE_JOBS_UNSAFE= yes GNU_CONFIGURE= yes CONFIGURE_ENV= ${MAKE_ENV} CONFIGURE_ARGS= --disable-compile-inits \ --enable-dynamic \ --with-ijs \ --without-x MAKE_ENV= CFLAGS_STANDARD="${CFLAGS}" \ XCFLAGS="${XCFLAGS}" XLDFLAGS="${XLDFLAGS}" \ EXTRALIBS="${EXTRALIBS}" CPPFLAGS+= -fPIC -DUPD_SIGNAL=0 -I. \ -I${WRKSRC}/gimp-print \ -I${LOCALBASE}/include XCFLAGS+= -DA4 LDFLAGS+= ${XLDFLAGS} XLDFLAGS= -lpthread \ -L${LOCALBASE}/lib \ -L${WRKSRC}/gimp-print ALL_TARGET= so INSTALL_TARGET= soinstall PLIST_SUB= SHLIB_VER="${PORTVERSION:R}" \ GS_VERSION="${PORTVERSION}" OPTIONS_DEFINE= DOCS NO_OPTIONS_SORT=yes post-extract-all: ${LN} -sf ${WRKDIR}/${DISTNAME} ${WRKDIR}/${PORTNAME} post-extract: post-extract-all .include "Makefile.drivers" .include .include "files/Makefile.drivers_post" .for D in ${OPTIONS_DEFINE:MGS_*:S/^GS_//} \ ${OPTIONS_GROUP_SVGALIB:MGS_*:S/^GS_//} .if ${PORT_OPTIONS:MGS_${D}} PLIST_SUB+= GS_${D}="" .else PLIST_SUB+= GS_${D}="@comment " .endif .endfor .if ${PORT_OPTIONS:MGS_pcl3} ALL_TARGET+= pcl3opts .endif # contributed uniprint profiles CONTRIB_UPP= lqx70ch.upp lqx70cl.upp lqx70cm.upp \ stc740ih.upp stc740p.upp stc740pl.upp post-patch: ${REINPLACE_CMD} -e 's,%%DATADIR%%,${DATADIR},' \ ${WRKSRC}/lib/gs_res.ps pre-build-drivers.mak: @${ECHO_CMD} '# automatically generated' > ${WRKSRC}/src/drivers.mak .for N in ${DEVS_LIST} @${ECHO_CMD} 'DEVICE_${N}=' >> ${WRKSRC}/src/drivers.mak .endfor .for D in ${OPTIONS_DEFINE:MGS_*:S/^GS_//} \ ${OPTIONS_MULTI_X11:MGS_*:S/^GS_//} \ ${OPTIONS_GROUP_SVGALIB:MGS_*:S/^GS_//} .for N in ${DEVS_LIST} .if ${PORT_OPTIONS:MGS_${D}} .if !defined(OPTIONS_UNSET) || !${OPTIONS_UNSET:MGS_${D}} .for X in ${DEVICE_${N}:M${D}.dev} @${ECHO_CMD} 'DEVICE_${N}+= $$(DD)${D}.dev' >> ${WRKSRC}/src/drivers.mak .endfor .endif .endif .endfor .endfor pre-build-contrib_extra.mak: ${CAT} /dev/null ${EXTRADEVMKFILE} > ${WRKSRC}/src/contrib_extra.mak pre-build-all: ${MKDIR} ${WRKSRC}/obj ${WRKSRC}/bin pre-build: pre-build-all pre-build-drivers.mak pre-build-contrib_extra.mak pre-install: ${MKDIR} ${STAGEDIR}${DATADIR} post-install: ${LN} -sf gsc ${STAGEDIR}${PREFIX}/bin/gs cd ${FILESDIR} && ${INSTALL_DATA} ${CONTRIB_UPP} \ ${STAGEDIR}${DATADIR}/${PORTVERSION}/lib post-install-DOCS-on: post-install-docs .include diff --git a/print/ghostscript7-commfont/Makefile b/print/ghostscript7-commfont/Makefile index acef0da5dd94..11b3140d310d 100644 --- a/print/ghostscript7-commfont/Makefile +++ b/print/ghostscript7-commfont/Makefile @@ -1,38 +1,40 @@ PORTNAME= ghostscript PORTVERSION= 7.07 PORTREVISION= 15 CATEGORIES= print MASTER_SITES= # empty PKGNAMESUFFIX= 7-commfont DISTFILES= # empty MAINTAINER= hrs@FreeBSD.org COMMENT= Common files for Ghostscript 7.x CJK font support DEPRECATED= Obsolete and unsupported upstream EXPIRATION_DATE=2023-06-30 BUILD_DEPENDS= ${CMAPDIR}/ac15/cid2code.txt:print/adobe-cmaps RUN_DEPENDS= ${CMAPDIR}/ac15/cid2code.txt:print/adobe-cmaps NO_WRKSUBDIR= yes SUB_FILES= pkg-message \ Makefile template.cidfont template.ttcidfont template.font SUB_LIST= PORTVERSION="${PORTVERSION}" GS_RESDIR="${GS_RESDIR}" PLIST_SUB= GS_RESDIR="${GS_RESDIR}" USES= ghostscript:7,run NO_ARCH= yes +FORBIDDEN= CVE-2023-28879 + CONFLICTS_INSTALL= \ ghostscript[789] \ ghostscript[789]-nox11 \ ghostscript9-agpl \ ghostscript9-agpl-nox11 CMAPDIR?= ${LOCALBASE}/share/fonts/adobe-cmaps GS_RESDIR?= share/ghostscript/Resource pre-build: @cd ${WRKDIR} && ${MV} Makefile template.* ${WRKSRC} .include diff --git a/print/ghostscript7-jpnfont/Makefile b/print/ghostscript7-jpnfont/Makefile index 8b49bd452e66..304297c33085 100644 --- a/print/ghostscript7-jpnfont/Makefile +++ b/print/ghostscript7-jpnfont/Makefile @@ -1,18 +1,20 @@ PORTNAME= ghostscript PORTVERSION= 7.07 PORTREVISION= 13 CATEGORIES= print japanese PKGNAMESUFFIX= 7-jpnfont MAINTAINER= hrs@FreeBSD.org COMMENT= Japanese font support for Ghostscript 7.x DEPRECATED= Obsolete and unsupported upstream EXPIRATION_DATE=2023-06-30 +FORBIDDEN= CVE-2023-28879 + RUN_DEPENDS= ${LOCALBASE}/share/fonts/std.ja_JP/Ryumin-Light.gs7:japanese/font-std \ ${LOCALBASE}/share/ghostscript/Resource/CIDFont/Ryumin-Light:print/ghostscript7-commfont USES= metaport ghostscript:7,run .include diff --git a/print/ghostscript7-korfont/Makefile b/print/ghostscript7-korfont/Makefile index fccf0035762e..ddad0e40a90b 100644 --- a/print/ghostscript7-korfont/Makefile +++ b/print/ghostscript7-korfont/Makefile @@ -1,18 +1,20 @@ PORTNAME= ghostscript PORTVERSION= 7.07 PORTREVISION= 9 CATEGORIES= print korean PKGNAMESUFFIX= 7-korfont MAINTAINER= hrs@FreeBSD.org COMMENT= Korean font support for Ghostscript 7.x DEPRECATED= Obsolete and unsupported upstream EXPIRATION_DATE=2023-06-30 +FORBIDDEN= CVE-2023-28879 + RUN_DEPENDS= ${LOCALBASE}/share/fonts/CIDFont/Munhwa-Regular:korean/munhwafonts-cid \ ${LOCALBASE}/share/ghostscript/Resource/CIDFont/HYSMyeongJo-Medium:print/ghostscript7-commfont USES= ghostscript:7,run metaport .include diff --git a/print/ghostscript7-x11/Makefile b/print/ghostscript7-x11/Makefile index 610dca72620a..5a9994b7db05 100644 --- a/print/ghostscript7-x11/Makefile +++ b/print/ghostscript7-x11/Makefile @@ -1,52 +1,54 @@ PORTNAME= ghostscript PORTVERSION= 7.07 PORTREVISION= 32 CATEGORIES= print MASTER_SITES= SF/ghostscript/gnu-gs/${PORTVERSION}/ PKGNAMESUFFIX= 7-x11 DIST_SUBDIR= ${PORTNAME} MAINTAINER= hrs@FreeBSD.org COMMENT= Ghostscript 7.x PostScript interpreter, X11 support WWW= https://www.cs.wisc.edu/~ghost/doc/GPL/index.htm LICENSE= GPLv2 DEPRECATED= Obsolete and unsupported upstream EXPIRATION_DATE=2023-06-30 +FORBIDDEN= CVE-2023-28879 + CONFLICTS_INSTALL= \ gambc \ ghostscript[789] \ ghostscript[789]-nox11 \ ghostscript9-agpl \ ghostscript9-agpl-nox11 USES= autoreconf cpe ghostscript:7 gmake tar:bzip2 xorg USE_LDCONFIG= yes USE_XORG= ice sm x11 xext xt CPE_VENDOR= artifex GNU_CONFIGURE= yes CONFIGURE_ENV= ${MAKE_ENV} CONFIGURE_ARGS= --disable-compile-inits \ --enable-dynamic \ --without-ijs \ --with-x \ --x-includes=${LOCALBASE}/include \ --x-libraries=${LOCALBASE}/lib MAKE_ENV= CFLAGS_STANDARD="${CFLAGS}" \ XCFLAGS="${XCFLAGS}" XLDFLAGS="${XLDFLAGS}" \ EXTRALIBS="${EXTRALIBS}" CPPFLAGS+= -I${LOCALBASE}/include LDFLAGS+= -L${LOCALBASE}/lib XLDFLAGS= -lpthread ALL_TARGET= ./obj/X11.so INSTALL_TARGET= install-shared PLIST_FILES= ${GS_LIBDIR}/X11.so GS_LIBDIR= lib/${PORTNAME}/${PORTVERSION} pre-build: ${MKDIR} ${WRKSRC}/obj .include diff --git a/print/ghostscript8-base/Makefile b/print/ghostscript8-base/Makefile index a5667ecb685c..d0633168b751 100644 --- a/print/ghostscript8-base/Makefile +++ b/print/ghostscript8-base/Makefile @@ -1,154 +1,156 @@ PORTNAME= ghostscript PORTVERSION= 8.71 PORTREVISION= 23 CATEGORIES= print MASTER_SITES= http://downloads.ghostscript.com/public/:gs_srcs \ SF/ghostscript/GPL%20Ghostscript/${PORTVERSION}:gs_srcs \ http://www.humblesoft.com/pub/:epag PKGNAMESUFFIX= 8-base DISTFILES= ${DISTNAME}${EXTRACT_SUFX}:gs_srcs ${EPAG_SRCS}:epag DIST_SUBDIR= ${PORTNAME} EXTRACT_ONLY= ${DISTNAME}${EXTRACT_SUFX} MAINTAINER= ports@FreeBSD.org COMMENT= Ghostscript 8.x PostScript interpreter, base part WWW= https://www.cs.wisc.edu/~ghost/doc/GPL/index.htm +FORBIDDEN= CVE-2023-28879 + LICENSE= GPLv3 DEPRECATED= Obsolete and unsupported upstream, consider using a more recent version EXPIRATION_DATE=2023-06-30 LIB_DEPENDS= libexpat.so:textproc/expat2 \ libfreetype.so:print/freetype2 \ libjasper.so:graphics/jasper \ libjbig2dec.so:graphics/jbig2dec \ libpaper.so:print/libpaper \ libpng.so:graphics/png \ libtiff.so:graphics/tiff RUN_DEPENDS= ${LOCALBASE}/share/${PORTNAME}/fonts/a010013l.pfb:print/gsfonts CONFLICTS_INSTALL= ghostscript*-base # CHECK USES= autoreconf cpe gmake pkgconfig shebangfix tar:xz USE_LDCONFIG= yes CPE_VENDOR= artifex SHEBANG_FILES= ${WRKSRC}/lib/fixmswrd.pl EXTRACT_AFTER_ARGS= ${EXCLUDE_DIRS:S/^/--exclude /} GNU_CONFIGURE= yes DATADIR= ${PREFIX}/share/${PORTNAME}/${PORTVERSION} MAKE_JOBS_UNSAFE= yes MAKE_ENV= CFLAGS_STANDARD="${CFLAGS}" \ XCFLAGS="${XCFLAGS}" XLDFLAGS="${XLDFLAGS}" \ FT_BRIDGE=1 FT_ROOT="${WRKSRC}/freetype" FT_LIB_EXT=".so" \ SOC_LOADER="dxmainc.c" CONFIGURE_ENV= ${MAKE_ENV} CONFIGURE_ARGS= --disable-compile-inits \ --enable-contrib \ --enable-dynamic \ --with-ijs \ --with-jasper \ --with-libpaper \ --without-x \ --disable-gtk \ --with-drivers="" CPPFLAGS+= -DUPD_SIGNAL=0 \ -DJBIG_NO_MEMENTO \ -I. \ -I${WRKSRC}/jasper/src/libjasper/include \ -I${LOCALBASE}/include/freetype2 \ -I${LOCALBASE}/include LDFLAGS+= -L${LOCALBASE}/lib XCFLAGS= -DA4 XLDFLAGS= -lpthread ALL_TARGET= so INSTALL_TARGET= soinstall PLIST_SUB= SHLIB_VER="${PORTVERSION:R}" \ GS_VERSION="${PORTVERSION}" SUB_FILES= pkg-message OPTIONS_DEFINE= DOCS CAIRO CUPS FONTCONFIG ICONV OPTIONS_DEFAULT=CAIRO CUPS FONTCONFIG ICONV OPTIONS_SUB= yes FONTCONFIG_DESC=Enable fontconfig support FONTCONFIG_LIB_DEPENDS= libfontconfig.so:x11-fonts/fontconfig FONTCONFIG_CONFIGURE_ENABLE= fontconfig NO_OPTIONS_SORT=yes EXCLUDE_DIRS= jbig2dec jpeg expat jasper libpng tiff zlib .include "Makefile.drivers" .include .include "files/Makefile.drivers_post" PORTDOCS= japanese chp2200 epson740 lxm3200-tweaked md2k_md5k PORTDOC_FILES= japanese/Gdevlips.htm japanese/README.gs550j \ japanese/cdj880.txt japanese/dj505j.txt japanese/djgpp.txt \ japanese/gdev10v.txt japanese/gdevalps.txt \ japanese/gdevcd8.txt japanese/gdevdmpr.txt \ japanese/gdevfmlbp.txt japanese/gdevj100.txt \ japanese/gdevlbp3.txt japanese/gdevmag.txt \ japanese/gdevmd2k.txt japanese/gdevmjc.txt \ japanese/gdevml6.txt japanese/gdevp201.txt japanese/gs261j.euc \ japanese/gs261j.txt chp2200/AUTHORS chp2200/INSTALL \ epson740/README epson740/upp-HowTo-to-be \ lxm3200-tweaked/LICENSE lxm3200-tweaked/README \ lxm3200-tweaked/RELEASE_NOTES \ lxm3200-tweaked/Z12-Z31-QuickSetup md2k_md5k/README.jis post-patch: ${REINPLACE_CMD} -e 's,%%DATADIR%%,${DATADIR},' \ ${WRKSRC}/contrib/japanese/dmp_site.ps pre-build-drivers.mak: @${ECHO_CMD} '# automatically generated' > ${WRKSRC}/base/drivers.mak .for N in ${DEVS_LIST} @${ECHO_CMD} 'DEVICE_${N}=' >> ${WRKSRC}/base/drivers.mak .endfor .for D in ${OPTIONS_DEFINE:MGS_*:S/^GS_//} \ ${OPTIONS_GROUP_ICONV:MGS_*:S/^GS_//} \ ${OPTIONS_GROUP_SVGALIB:MGS_*:S/^GS_//} .for N in ${DEVS_LIST} .if ${PORT_OPTIONS:MGS_${D}} .if !defined(OPTIONS_UNSET) || !${OPTIONS_UNSET:MGS_${D}} .for X in ${DEVICE_${N}:M${D}.dev} @${ECHO_CMD} 'DEVICE_${N}+= $$(DD)${D}.dev' >> ${WRKSRC}/base/drivers.mak .endfor .endif .endif .endfor .endfor pre-build: pre-build-drivers.mak ${MKDIR} ${WRKSRC}/obj ${WRKSRC}/bin ${WRKSRC}/freetype/include ${LN} -s -f ${LOCALBASE}/include/ft2build.h \ ${WRKSRC}/freetype/include/ft2build.h ${LN} -s -f ${LOCALBASE}/include/freetype2/freetype \ ${WRKSRC}/freetype/include/freetype ${MKDIR} ${WRKSRC}/freetype/objs ${LN} -s -f ${LOCALBASE}/lib/libfreetype.so \ ${WRKSRC}/freetype/objs/freetype214MT_D.so pre-install: cd ${WRKSRC}/Resource/Init && ${RM} \ gs_statd.ps.orig gs_ttf.ps.orig pdf_font.ps.orig ${MKDIR} ${STAGEDIR}${DATADIR} post-install-DOCS-on: post-install-docs ${MKDIR} ${WRKSRC}/contrib/japanese ${INSTALL_DATA} ${WRKSRC}/contrib/japanese/doc/* \ ${WRKSRC}/contrib/japanese ${MKDIR} ${STAGEDIR}${DOCSDIR} cd ${WRKSRC}/contrib && \ ${TAR} -cf - ${PORTDOC_FILES} | \ (cd ${STAGEDIR}${DOCSDIR} && ${TAR} -xof -) post-install: ${INSTALL_DATA} ${WRKSRC}/lib/FAPIcidfmap \ ${WRKSRC}/lib/FAPIconfig ${WRKSRC}/lib/FAPIfontmap \ ${STAGEDIR}${DATADIR}/Resource/Init ${LN} -sf gsc ${STAGEDIR}${PREFIX}/bin/gs ${LN} -s -f ${LOCALBASE}/share/fonts/CIDFont \ ${STAGEDIR}${DATADIR}/Resource/CIDFont .include diff --git a/print/ghostscript8-x11/Makefile b/print/ghostscript8-x11/Makefile index 36f13ad13be8..05fabcd79b53 100644 --- a/print/ghostscript8-x11/Makefile +++ b/print/ghostscript8-x11/Makefile @@ -1,59 +1,61 @@ PORTNAME= ghostscript PORTVERSION= 8.71 PORTREVISION= 19 CATEGORIES= print MASTER_SITES= http://downloads.ghostscript.com/public/ \ SF/ghostscript/GPL%20Ghostscript/${PORTVERSION}/ \ ftp://mirror.cs.wisc.edu/pub/mirrors/ghost/GPL/gs${PORTVERSION:S/.//}/ PKGNAMESUFFIX= 8-x11 DIST_SUBDIR= ${PORTNAME} MAINTAINER= ports@FreeBSD.org COMMENT= Ghostscript 8.x PostScript interpreter, X11 support WWW= https://www.cs.wisc.edu/~ghost/doc/GPL/index.htm +FORBIDDEN= CVE-2023-28879 + LICENSE= GPLv3 DEPRECATED= Obsolete and unsupported upstream EXPIRATION_DATE=2023-06-30 CONFLICTS_INSTALL= \ gambc \ ghostscript[789] \ ghostscript[789]-nox11 \ ghostscript9-agpl \ ghostscript9-agpl-nox11 USES= autoreconf cpe ghostscript:8 gmake tar:xz xorg USE_LDCONFIG= yes USE_XORG= ice sm x11 xext xt CPE_VENDOR= artifex GNU_CONFIGURE= yes EXTRACT_AFTER_ARGS= ${EXCLUDE_DIRS:S/^/--exclude /} MAKE_ENV= CFLAGS_STANDARD="${CFLAGS}" \ XLDFLAGS="${XLDFLAGS}" CONFIGURE_ENV= ${MAKE_ENV} CONFIGURE_ARGS= --disable-compile-inits \ --disable-contrib \ --enable-dynamic \ --without-ijs \ --without-jasper \ --without-libpaper \ --with-x \ --x-includes=${LOCALBASE}/include \ --x-libraries=${LOCALBASE}/lib \ --with-drivers="" CPPFLAGS+= -I${LOCALBASE}/include LDFLAGS+= -L${LOCALBASE}/lib XLDFLAGS= -lpthread ALL_TARGET= ./obj/X11.so INSTALL_TARGET= install-shared PLIST_FILES= ${GS_LIBDIR}/X11.so GS_LIBDIR= lib/${PORTNAME}/${PORTVERSION} EXCLUDE_DIRS= jbig2dec jpeg expat jasper libpng tiff zlib pre-build: ${MKDIR} ${WRKSRC}/obj .include