pkgsrc/print/cups/Makefile

128 lines
3.5 KiB
Makefile
Raw Normal View History

# $NetBSD: Makefile,v 1.21 2001/02/08 19:05:00 jlam Exp $
#
DISTNAME= cups-${VERS}-2-source
PKGNAME= cups-${VERS}.2nb1
Update cups to 1.1.6.1. Changes from version 1.1.5.2 include bug fixes, additions to the documentation, plus the following changes: - Fixed another possible DoS attack in httpGets(). - Added check for "LANGUAGE = PCL" and "LANGUAGE = POSTSCRIPT" in mime.types. - The printers.conf and classes.conf files are now written with restricted permissions. - If LoadAllJobs() is unable to determine the file type of a print job, assume "application/vnd.cups-raw". - The web interface now provides a job_printer_name value for any corresponding job_printer_uri value. - The cups-lpd mini-daemon now logs the client address and hostname as well as all commands and errors in the syslog file. - The IPP backend now detects the supported file formats and only specifies the document format if it is supported. This makes IPP printing to network print servers and cards more reliable without affecting the capabilities of CUPS servers. - The time_at_xyz attributes are now converted to human-readable dates and times for the web interfaces. - The file type logging code in the scheduler referenced the optional document-format attribute; the new code uses the resolved MIME type instead. - The client.conf parsing code now removes trailing whitespace. - The lpadmin command now supports setting of options and user-level access control. - Added "-E" option to all printing commands to force encryption. - The socket backend now starts retries at 5 seconds and increases the interval to 30 seconds. This should provide faster printing when multiple jobs/files are queued for a printer. - The filters and backends no longer buffer output to stderr. This should provide much more accurate status reporting.
2001-01-28 03:05:36 +01:00
VERS= 1.1.6
WRKSRC= ${WRKDIR}/cups-${VERS}
Update CUPS to 1.1. Remove most of the patches; I worked closely with the author to make this package compile more seamlessly on BSD systems, and in particular with the NetBSD pkgsrc software collection. CUPS 1.1 is the newest production (stable) release of CUPS. It provides many new features from the 1.0.x releases, including a new Level 3 PostScript RIP, a new PDF filter, EPSON printer drivers, IPP/1.1 support, banner page support, and LPD client support. Binaries for several platforms are also available. Major changes in v1.1 include: - The text filter now embeds missing fonts. - Integrated Xpdf's pdftops filter into CUPS, which is a lightweight and reliable replacement for Ghostscript's PDF support. - The web administration interface now allows you to set the default banner pages. - Images can now be positioned on the page using the new "position" option. - Updated the serial, parallel, and usb backends to do multiple writes and ignore ioctl() errors as needed; this should fix problems with serial printing on old serial drivers and with the UltraSPARC parallel port driver under Solaris 2.7. - Now propagate LD_LIBRARY_PATH to child processes from cupsd. - Queued remote jobs recreate remote printers as needed when the scheduler is started. - Deleting a printer also purges all jobs on that printer. - Old job and control files that don't belong to a printer are automatically deleted. - cups-lpd now supports options set with lpoptions. - The IPP backend now switches to IPP/1.0 if a 1.1 request fails.
2000-07-12 22:09:33 +02:00
CATEGORIES= print
MASTER_SITES= ftp://ftp2.easysw.com/pub/cups/${VERS}/ \
ftp://ftp.easysw.com/pub/cups/${VERS}/ \
ftp://ftp.northamerica.net/pub/ESP/cups/${VERS}/ \
ftp://ftp.funet.fi/mirrors/ftp.easysw.com/pub/cups/${VERS}/ \
ftp://ftp.fisek.com.tr/pub/cups/${VERS}/
EXTRACT_SUFX= .tar.bz2
Update CUPS to 1.1. Remove most of the patches; I worked closely with the author to make this package compile more seamlessly on BSD systems, and in particular with the NetBSD pkgsrc software collection. CUPS 1.1 is the newest production (stable) release of CUPS. It provides many new features from the 1.0.x releases, including a new Level 3 PostScript RIP, a new PDF filter, EPSON printer drivers, IPP/1.1 support, banner page support, and LPD client support. Binaries for several platforms are also available. Major changes in v1.1 include: - The text filter now embeds missing fonts. - Integrated Xpdf's pdftops filter into CUPS, which is a lightweight and reliable replacement for Ghostscript's PDF support. - The web administration interface now allows you to set the default banner pages. - Images can now be positioned on the page using the new "position" option. - Updated the serial, parallel, and usb backends to do multiple writes and ignore ioctl() errors as needed; this should fix problems with serial printing on old serial drivers and with the UltraSPARC parallel port driver under Solaris 2.7. - Now propagate LD_LIBRARY_PATH to child processes from cupsd. - Queued remote jobs recreate remote printers as needed when the scheduler is started. - Deleting a printer also purges all jobs on that printer. - Old job and control files that don't belong to a printer are automatically deleted. - cups-lpd now supports options set with lpoptions. - The IPP backend now switches to IPP/1.0 if a 1.1 request fails.
2000-07-12 22:09:33 +02:00
MAINTAINER= jlam@netbsd.org
HOMEPAGE= http://www.cups.org/
2000-12-28 01:09:38 +01:00
CONFLICTS+= LPRng-[0-9]* LPRng-core-[0-9]*
BUILD_DEPENDS+= ${LOCALBASE}/bin/autoconf:../../devel/autoconf
Update CUPS to 1.1. Remove most of the patches; I worked closely with the author to make this package compile more seamlessly on BSD systems, and in particular with the NetBSD pkgsrc software collection. CUPS 1.1 is the newest production (stable) release of CUPS. It provides many new features from the 1.0.x releases, including a new Level 3 PostScript RIP, a new PDF filter, EPSON printer drivers, IPP/1.1 support, banner page support, and LPD client support. Binaries for several platforms are also available. Major changes in v1.1 include: - The text filter now embeds missing fonts. - Integrated Xpdf's pdftops filter into CUPS, which is a lightweight and reliable replacement for Ghostscript's PDF support. - The web administration interface now allows you to set the default banner pages. - Images can now be positioned on the page using the new "position" option. - Updated the serial, parallel, and usb backends to do multiple writes and ignore ioctl() errors as needed; this should fix problems with serial printing on old serial drivers and with the UltraSPARC parallel port driver under Solaris 2.7. - Now propagate LD_LIBRARY_PATH to child processes from cupsd. - Queued remote jobs recreate remote printers as needed when the scheduler is started. - Deleting a printer also purges all jobs on that printer. - Old job and control files that don't belong to a printer are automatically deleted. - cups-lpd now supports options set with lpoptions. - The IPP backend now switches to IPP/1.0 if a 1.1 request fails.
2000-07-12 22:09:33 +02:00
DEPENDS+= jpeg-6b:../../graphics/jpeg
DEPENDS+= png>=1.0.6:../../graphics/png
DEPENDS+= tiff-*:../../graphics/tiff
Update CUPS to 1.1. Remove most of the patches; I worked closely with the author to make this package compile more seamlessly on BSD systems, and in particular with the NetBSD pkgsrc software collection. CUPS 1.1 is the newest production (stable) release of CUPS. It provides many new features from the 1.0.x releases, including a new Level 3 PostScript RIP, a new PDF filter, EPSON printer drivers, IPP/1.1 support, banner page support, and LPD client support. Binaries for several platforms are also available. Major changes in v1.1 include: - The text filter now embeds missing fonts. - Integrated Xpdf's pdftops filter into CUPS, which is a lightweight and reliable replacement for Ghostscript's PDF support. - The web administration interface now allows you to set the default banner pages. - Images can now be positioned on the page using the new "position" option. - Updated the serial, parallel, and usb backends to do multiple writes and ignore ioctl() errors as needed; this should fix problems with serial printing on old serial drivers and with the UltraSPARC parallel port driver under Solaris 2.7. - Now propagate LD_LIBRARY_PATH to child processes from cupsd. - Queued remote jobs recreate remote printers as needed when the scheduler is started. - Deleting a printer also purges all jobs on that printer. - Old job and control files that don't belong to a printer are automatically deleted. - cups-lpd now supports options set with lpoptions. - The IPP backend now switches to IPP/1.0 if a 1.1 request fails.
2000-07-12 22:09:33 +02:00
USE_GMAKE= # defined
USE_LIBTOOL= # defined
GNU_CONFIGURE= # defined
Update cups to 1.1.5. Relevant changes since version 1.1.4 include lots of bug and security fixes, improvements to the efficiency of the server and utilities, improvements to the documentation, plus the following: * Security updates - new default configuration does not broadcast printer information and only allows access from the local system. * EXPERIMENTAL encryption support - CUPS now optionally supports TLS/SSL encryption via the OpenSSL library. * Updated PDF filter to Xpdf 0.91. * Added PPD files for 9-pin and 24-pin OKIDATA printers. * Changed all sprintf's that use string formats to snprintf's, even if the destination buffer is larger than the source string(s); this protects against buffer overflows caused outside of CUPS... * Changed all strcpy's to strncpy's between local and global variables, even if the destination buffer is larger than the source string; this protects against buffer overflows caused outside of CUPS... * Added new mime.types rules to allow automatic raw printing of PCL and ESC/P files; PJL headers are parsed to differentiate between PostScript and PCL job files. This should eliminate a lot of the reports of SAMBA printing problems due to the missing "-oraw" or "-l" options. * Jobs are now assigned to printers in a class round-robin style. This should prevent the first server in the class from bearing the brunt of the jobs. * The serial backend didn't support the higher baud rates with the old termios interface. It now supports 57600 and 115200 baud. * The serial backend now supports different types of flow control; previously it ignored the flow=XYZ option in the device URI. * The serial backend now supports DTR/DSR flow control, which is popular on dot-matrix printers (access with "flow=dtrdsr" in the device URI) * Added new job-originating-host-name attribute for jobs. The new attribute provides the hostname or IP address of the machine that submitted the job. * Added quota and allow/deny user support for printers and classes.
2000-12-21 15:59:37 +01:00
CONFIGURE_ARGS+= --sysconfdir=/etc
CONFIGURE_ARGS+= --localstatedir=/var
Update CUPS to 1.1. Remove most of the patches; I worked closely with the author to make this package compile more seamlessly on BSD systems, and in particular with the NetBSD pkgsrc software collection. CUPS 1.1 is the newest production (stable) release of CUPS. It provides many new features from the 1.0.x releases, including a new Level 3 PostScript RIP, a new PDF filter, EPSON printer drivers, IPP/1.1 support, banner page support, and LPD client support. Binaries for several platforms are also available. Major changes in v1.1 include: - The text filter now embeds missing fonts. - Integrated Xpdf's pdftops filter into CUPS, which is a lightweight and reliable replacement for Ghostscript's PDF support. - The web administration interface now allows you to set the default banner pages. - Images can now be positioned on the page using the new "position" option. - Updated the serial, parallel, and usb backends to do multiple writes and ignore ioctl() errors as needed; this should fix problems with serial printing on old serial drivers and with the UltraSPARC parallel port driver under Solaris 2.7. - Now propagate LD_LIBRARY_PATH to child processes from cupsd. - Queued remote jobs recreate remote printers as needed when the scheduler is started. - Deleting a printer also purges all jobs on that printer. - Old job and control files that don't belong to a printer are automatically deleted. - cups-lpd now supports options set with lpoptions. - The IPP backend now switches to IPP/1.0 if a 1.1 request fails.
2000-07-12 22:09:33 +02:00
CONFIGURE_ARGS+= --enable-libtool-unsupported="${LIBTOOL}"
Update cups to 1.1.5. Relevant changes since version 1.1.4 include lots of bug and security fixes, improvements to the efficiency of the server and utilities, improvements to the documentation, plus the following: * Security updates - new default configuration does not broadcast printer information and only allows access from the local system. * EXPERIMENTAL encryption support - CUPS now optionally supports TLS/SSL encryption via the OpenSSL library. * Updated PDF filter to Xpdf 0.91. * Added PPD files for 9-pin and 24-pin OKIDATA printers. * Changed all sprintf's that use string formats to snprintf's, even if the destination buffer is larger than the source string(s); this protects against buffer overflows caused outside of CUPS... * Changed all strcpy's to strncpy's between local and global variables, even if the destination buffer is larger than the source string; this protects against buffer overflows caused outside of CUPS... * Added new mime.types rules to allow automatic raw printing of PCL and ESC/P files; PJL headers are parsed to differentiate between PostScript and PCL job files. This should eliminate a lot of the reports of SAMBA printing problems due to the missing "-oraw" or "-l" options. * Jobs are now assigned to printers in a class round-robin style. This should prevent the first server in the class from bearing the brunt of the jobs. * The serial backend didn't support the higher baud rates with the old termios interface. It now supports 57600 and 115200 baud. * The serial backend now supports different types of flow control; previously it ignored the flow=XYZ option in the device URI. * The serial backend now supports DTR/DSR flow control, which is popular on dot-matrix printers (access with "flow=dtrdsr" in the device URI) * Added new job-originating-host-name attribute for jobs. The new attribute provides the hostname or IP address of the machine that submitted the job. * Added quota and allow/deny user support for printers and classes.
2000-12-21 15:59:37 +01:00
USE_SSL= # defined
CONFIGURE_ARGS+= --enable-ssl
Update CUPS to 1.1. Remove most of the patches; I worked closely with the author to make this package compile more seamlessly on BSD systems, and in particular with the NetBSD pkgsrc software collection. CUPS 1.1 is the newest production (stable) release of CUPS. It provides many new features from the 1.0.x releases, including a new Level 3 PostScript RIP, a new PDF filter, EPSON printer drivers, IPP/1.1 support, banner page support, and LPD client support. Binaries for several platforms are also available. Major changes in v1.1 include: - The text filter now embeds missing fonts. - Integrated Xpdf's pdftops filter into CUPS, which is a lightweight and reliable replacement for Ghostscript's PDF support. - The web administration interface now allows you to set the default banner pages. - Images can now be positioned on the page using the new "position" option. - Updated the serial, parallel, and usb backends to do multiple writes and ignore ioctl() errors as needed; this should fix problems with serial printing on old serial drivers and with the UltraSPARC parallel port driver under Solaris 2.7. - Now propagate LD_LIBRARY_PATH to child processes from cupsd. - Queued remote jobs recreate remote printers as needed when the scheduler is started. - Deleting a printer also purges all jobs on that printer. - Old job and control files that don't belong to a printer are automatically deleted. - cups-lpd now supports options set with lpoptions. - The IPP backend now switches to IPP/1.0 if a 1.1 request fails.
2000-07-12 22:09:33 +02:00
CFLAGS+= -I${LOCALBASE}/include
.include "../../mk/bsd.prefs.mk"
.if defined(USE_PAM)
DEPENDS+= PAM-*:../../security/PAM
CONFIGURE_ARGS+= --enable-pam
PLIST_SRC= ${PKGDIR}/PLIST.pam
PLIST_SRC+= ${PKGDIR}/PLIST
.else
CONFIGURE_ARGS+= --disable-pam
PLIST_SRC= ${PKGDIR}/PLIST
.endif
# CUPS_USER username of the CUPS administrator
# CUPS_GROUP group of the CUPS administrator
#
CUPS_USER?= lp
CUPS_GROUP?= sys
2000-12-09 06:53:39 +01:00
BUILD_DEFS+= CUPS_USER CUPS_GROUP
.if ${OPSYS} == "NetBSD"
.if exists(/usr/sbin/user)
ADDUSER= /usr/sbin/useradd
ADDGROUP= /usr/sbin/groupadd
.else
DEPENDS+= user>=20000313:../../sysutils/user
ADDUSER= ${LOCALBASE}/sbin/useradd
ADDGROUP= ${LOCALBASE}/sbin/groupadd
.endif
.elif ${OPSYS} == "SunOS"
ADDUSER= useradd
ADDGROUP= groupadd
.endif
DEINSTALL_FILE= ${WRKDIR}/DEINSTALL
INSTALL_FILE= ${WRKDIR}/INSTALL
Update cups to 1.1.5. Relevant changes since version 1.1.4 include lots of bug and security fixes, improvements to the efficiency of the server and utilities, improvements to the documentation, plus the following: * Security updates - new default configuration does not broadcast printer information and only allows access from the local system. * EXPERIMENTAL encryption support - CUPS now optionally supports TLS/SSL encryption via the OpenSSL library. * Updated PDF filter to Xpdf 0.91. * Added PPD files for 9-pin and 24-pin OKIDATA printers. * Changed all sprintf's that use string formats to snprintf's, even if the destination buffer is larger than the source string(s); this protects against buffer overflows caused outside of CUPS... * Changed all strcpy's to strncpy's between local and global variables, even if the destination buffer is larger than the source string; this protects against buffer overflows caused outside of CUPS... * Added new mime.types rules to allow automatic raw printing of PCL and ESC/P files; PJL headers are parsed to differentiate between PostScript and PCL job files. This should eliminate a lot of the reports of SAMBA printing problems due to the missing "-oraw" or "-l" options. * Jobs are now assigned to printers in a class round-robin style. This should prevent the first server in the class from bearing the brunt of the jobs. * The serial backend didn't support the higher baud rates with the old termios interface. It now supports 57600 and 115200 baud. * The serial backend now supports different types of flow control; previously it ignored the flow=XYZ option in the device URI. * The serial backend now supports DTR/DSR flow control, which is popular on dot-matrix printers (access with "flow=dtrdsr" in the device URI) * Added new job-originating-host-name attribute for jobs. The new attribute provides the hostname or IP address of the machine that submitted the job. * Added quota and allow/deny user support for printers and classes.
2000-12-21 15:59:37 +01:00
DOCDIR= ${PREFIX}/share/doc/cups
EGDIR= ${PREFIX}/share/examples/cups
post-extract:
cd ${WRKSRC}/conf; ${MV} cupsd.conf cupsd.conf.in
Update CUPS to 1.1. Remove most of the patches; I worked closely with the author to make this package compile more seamlessly on BSD systems, and in particular with the NetBSD pkgsrc software collection. CUPS 1.1 is the newest production (stable) release of CUPS. It provides many new features from the 1.0.x releases, including a new Level 3 PostScript RIP, a new PDF filter, EPSON printer drivers, IPP/1.1 support, banner page support, and LPD client support. Binaries for several platforms are also available. Major changes in v1.1 include: - The text filter now embeds missing fonts. - Integrated Xpdf's pdftops filter into CUPS, which is a lightweight and reliable replacement for Ghostscript's PDF support. - The web administration interface now allows you to set the default banner pages. - Images can now be positioned on the page using the new "position" option. - Updated the serial, parallel, and usb backends to do multiple writes and ignore ioctl() errors as needed; this should fix problems with serial printing on old serial drivers and with the UltraSPARC parallel port driver under Solaris 2.7. - Now propagate LD_LIBRARY_PATH to child processes from cupsd. - Queued remote jobs recreate remote printers as needed when the scheduler is started. - Deleting a printer also purges all jobs on that printer. - Old job and control files that don't belong to a printer are automatically deleted. - cups-lpd now supports options set with lpoptions. - The IPP backend now switches to IPP/1.0 if a 1.1 request fails.
2000-07-12 22:09:33 +02:00
pre-configure:
cd ${WRKSRC} && ${LOCALBASE}/bin/autoconf
post-build:
${SED} -e "s|@CUPS_USER@|${CUPS_USER}|g" \
-e "s|@CUPS_GROUP@|${CUPS_GROUP}|g" \
Update cups to 1.1.6.1. Changes from version 1.1.5.2 include bug fixes, additions to the documentation, plus the following changes: - Fixed another possible DoS attack in httpGets(). - Added check for "LANGUAGE = PCL" and "LANGUAGE = POSTSCRIPT" in mime.types. - The printers.conf and classes.conf files are now written with restricted permissions. - If LoadAllJobs() is unable to determine the file type of a print job, assume "application/vnd.cups-raw". - The web interface now provides a job_printer_name value for any corresponding job_printer_uri value. - The cups-lpd mini-daemon now logs the client address and hostname as well as all commands and errors in the syslog file. - The IPP backend now detects the supported file formats and only specifies the document format if it is supported. This makes IPP printing to network print servers and cards more reliable without affecting the capabilities of CUPS servers. - The time_at_xyz attributes are now converted to human-readable dates and times for the web interfaces. - The file type logging code in the scheduler referenced the optional document-format attribute; the new code uses the resolved MIME type instead. - The client.conf parsing code now removes trailing whitespace. - The lpadmin command now supports setting of options and user-level access control. - Added "-E" option to all printing commands to force encryption. - The socket backend now starts retries at 5 seconds and increases the interval to 30 seconds. This should provide faster printing when multiple jobs/files are queued for a printer. - The filters and backends no longer buffer output to stderr. This should provide much more accurate status reporting.
2001-01-28 03:05:36 +01:00
${WRKSRC}/conf/cupsd.conf.in > ${WRKSRC}/conf/cupsd.conf
${SED} -e "s|@PREFIX@|${PREFIX}|g" \
Update cups to 1.1.6.1. Changes from version 1.1.5.2 include bug fixes, additions to the documentation, plus the following changes: - Fixed another possible DoS attack in httpGets(). - Added check for "LANGUAGE = PCL" and "LANGUAGE = POSTSCRIPT" in mime.types. - The printers.conf and classes.conf files are now written with restricted permissions. - If LoadAllJobs() is unable to determine the file type of a print job, assume "application/vnd.cups-raw". - The web interface now provides a job_printer_name value for any corresponding job_printer_uri value. - The cups-lpd mini-daemon now logs the client address and hostname as well as all commands and errors in the syslog file. - The IPP backend now detects the supported file formats and only specifies the document format if it is supported. This makes IPP printing to network print servers and cards more reliable without affecting the capabilities of CUPS servers. - The time_at_xyz attributes are now converted to human-readable dates and times for the web interfaces. - The file type logging code in the scheduler referenced the optional document-format attribute; the new code uses the resolved MIME type instead. - The client.conf parsing code now removes trailing whitespace. - The lpadmin command now supports setting of options and user-level access control. - Added "-E" option to all printing commands to force encryption. - The socket backend now starts retries at 5 seconds and increases the interval to 30 seconds. This should provide faster printing when multiple jobs/files are queued for a printer. - The filters and backends no longer buffer output to stderr. This should provide much more accurate status reporting.
2001-01-28 03:05:36 +01:00
${FILESDIR}/cups.pam > ${WRKDIR}/cups.pam
pre-install:
${SED} -e "s|@CUPS_USER@|${CUPS_USER}|g" \
-e "s|@CUPS_GROUP@|${CUPS_GROUP}|g" \
-e "s|@CAT@|${CAT}|g" \
-e "s|@RM@|${RM}|g" \
-e "s|@RMDIR@|${RMDIR}|g" \
-e "s|@TRUE@|${TRUE}|g" \
Update cups to 1.1.6.1. Changes from version 1.1.5.2 include bug fixes, additions to the documentation, plus the following changes: - Fixed another possible DoS attack in httpGets(). - Added check for "LANGUAGE = PCL" and "LANGUAGE = POSTSCRIPT" in mime.types. - The printers.conf and classes.conf files are now written with restricted permissions. - If LoadAllJobs() is unable to determine the file type of a print job, assume "application/vnd.cups-raw". - The web interface now provides a job_printer_name value for any corresponding job_printer_uri value. - The cups-lpd mini-daemon now logs the client address and hostname as well as all commands and errors in the syslog file. - The IPP backend now detects the supported file formats and only specifies the document format if it is supported. This makes IPP printing to network print servers and cards more reliable without affecting the capabilities of CUPS servers. - The time_at_xyz attributes are now converted to human-readable dates and times for the web interfaces. - The file type logging code in the scheduler referenced the optional document-format attribute; the new code uses the resolved MIME type instead. - The client.conf parsing code now removes trailing whitespace. - The lpadmin command now supports setting of options and user-level access control. - Added "-E" option to all printing commands to force encryption. - The socket backend now starts retries at 5 seconds and increases the interval to 30 seconds. This should provide faster printing when multiple jobs/files are queued for a printer. - The filters and backends no longer buffer output to stderr. This should provide much more accurate status reporting.
2001-01-28 03:05:36 +01:00
${PKGDIR}/DEINSTALL > ${DEINSTALL_FILE}
${SED} -e "s|@CUPS_USER@|${CUPS_USER}|g" \
-e "s|@CUPS_GROUP@|${CUPS_GROUP}|g" \
-e "s|@ADDUSER@|${ADDUSER}|g" \
-e "s|@ADDGROUP@|${ADDGROUP}|g" \
-e "s|@CAT@|${CAT}|g" \
-e "s|@CHGRP@|${CHGRP}|g" \
-e "s|@CHMOD@|${CHMOD}|g" \
-e "s|@CHOWN@|${CHOWN}|g" \
-e "s|@CP@|${CP}|g" \
-e "s|@GREP@|${GREP}|g" \
-e "s|@MKDIR@|${MKDIR}|g" \
-e "s|@RM@|${RM}|g" \
-e "s|@TOUCH@|${TOUCH}|g" \
Update cups to 1.1.6.1. Changes from version 1.1.5.2 include bug fixes, additions to the documentation, plus the following changes: - Fixed another possible DoS attack in httpGets(). - Added check for "LANGUAGE = PCL" and "LANGUAGE = POSTSCRIPT" in mime.types. - The printers.conf and classes.conf files are now written with restricted permissions. - If LoadAllJobs() is unable to determine the file type of a print job, assume "application/vnd.cups-raw". - The web interface now provides a job_printer_name value for any corresponding job_printer_uri value. - The cups-lpd mini-daemon now logs the client address and hostname as well as all commands and errors in the syslog file. - The IPP backend now detects the supported file formats and only specifies the document format if it is supported. This makes IPP printing to network print servers and cards more reliable without affecting the capabilities of CUPS servers. - The time_at_xyz attributes are now converted to human-readable dates and times for the web interfaces. - The file type logging code in the scheduler referenced the optional document-format attribute; the new code uses the resolved MIME type instead. - The client.conf parsing code now removes trailing whitespace. - The lpadmin command now supports setting of options and user-level access control. - Added "-E" option to all printing commands to force encryption. - The socket backend now starts retries at 5 seconds and increases the interval to 30 seconds. This should provide faster printing when multiple jobs/files are queued for a printer. - The filters and backends no longer buffer output to stderr. This should provide much more accurate status reporting.
2001-01-28 03:05:36 +01:00
${PKGDIR}/INSTALL > ${INSTALL_FILE}
PKG_PREFIX=${PREFIX} ${SH} ${INSTALL_FILE} ${PKGNAME} PRE-INSTALL
post-install:
Update cups to 1.1.5. Relevant changes since version 1.1.4 include lots of bug and security fixes, improvements to the efficiency of the server and utilities, improvements to the documentation, plus the following: * Security updates - new default configuration does not broadcast printer information and only allows access from the local system. * EXPERIMENTAL encryption support - CUPS now optionally supports TLS/SSL encryption via the OpenSSL library. * Updated PDF filter to Xpdf 0.91. * Added PPD files for 9-pin and 24-pin OKIDATA printers. * Changed all sprintf's that use string formats to snprintf's, even if the destination buffer is larger than the source string(s); this protects against buffer overflows caused outside of CUPS... * Changed all strcpy's to strncpy's between local and global variables, even if the destination buffer is larger than the source string; this protects against buffer overflows caused outside of CUPS... * Added new mime.types rules to allow automatic raw printing of PCL and ESC/P files; PJL headers are parsed to differentiate between PostScript and PCL job files. This should eliminate a lot of the reports of SAMBA printing problems due to the missing "-oraw" or "-l" options. * Jobs are now assigned to printers in a class round-robin style. This should prevent the first server in the class from bearing the brunt of the jobs. * The serial backend didn't support the higher baud rates with the old termios interface. It now supports 57600 and 115200 baud. * The serial backend now supports different types of flow control; previously it ignored the flow=XYZ option in the device URI. * The serial backend now supports DTR/DSR flow control, which is popular on dot-matrix printers (access with "flow=dtrdsr" in the device URI) * Added new job-originating-host-name attribute for jobs. The new attribute provides the hostname or IP address of the machine that submitted the job. * Added quota and allow/deny user support for printers and classes.
2000-12-21 15:59:37 +01:00
${INSTALL_DATA_DIR} ${DOCDIR}
Update cups to 1.1.6.1. Changes from version 1.1.5.2 include bug fixes, additions to the documentation, plus the following changes: - Fixed another possible DoS attack in httpGets(). - Added check for "LANGUAGE = PCL" and "LANGUAGE = POSTSCRIPT" in mime.types. - The printers.conf and classes.conf files are now written with restricted permissions. - If LoadAllJobs() is unable to determine the file type of a print job, assume "application/vnd.cups-raw". - The web interface now provides a job_printer_name value for any corresponding job_printer_uri value. - The cups-lpd mini-daemon now logs the client address and hostname as well as all commands and errors in the syslog file. - The IPP backend now detects the supported file formats and only specifies the document format if it is supported. This makes IPP printing to network print servers and cards more reliable without affecting the capabilities of CUPS servers. - The time_at_xyz attributes are now converted to human-readable dates and times for the web interfaces. - The file type logging code in the scheduler referenced the optional document-format attribute; the new code uses the resolved MIME type instead. - The client.conf parsing code now removes trailing whitespace. - The lpadmin command now supports setting of options and user-level access control. - Added "-E" option to all printing commands to force encryption. - The socket backend now starts retries at 5 seconds and increases the interval to 30 seconds. This should provide faster printing when multiple jobs/files are queued for a printer. - The filters and backends no longer buffer output to stderr. This should provide much more accurate status reporting.
2001-01-28 03:05:36 +01:00
for file in ENCRYPTION.txt LICENSE.txt README.txt; do \
${INSTALL_DATA} ${WRKSRC}/$${file} ${DOCDIR}/$${file}; \
Update cups to 1.1.5. Relevant changes since version 1.1.4 include lots of bug and security fixes, improvements to the efficiency of the server and utilities, improvements to the documentation, plus the following: * Security updates - new default configuration does not broadcast printer information and only allows access from the local system. * EXPERIMENTAL encryption support - CUPS now optionally supports TLS/SSL encryption via the OpenSSL library. * Updated PDF filter to Xpdf 0.91. * Added PPD files for 9-pin and 24-pin OKIDATA printers. * Changed all sprintf's that use string formats to snprintf's, even if the destination buffer is larger than the source string(s); this protects against buffer overflows caused outside of CUPS... * Changed all strcpy's to strncpy's between local and global variables, even if the destination buffer is larger than the source string; this protects against buffer overflows caused outside of CUPS... * Added new mime.types rules to allow automatic raw printing of PCL and ESC/P files; PJL headers are parsed to differentiate between PostScript and PCL job files. This should eliminate a lot of the reports of SAMBA printing problems due to the missing "-oraw" or "-l" options. * Jobs are now assigned to printers in a class round-robin style. This should prevent the first server in the class from bearing the brunt of the jobs. * The serial backend didn't support the higher baud rates with the old termios interface. It now supports 57600 and 115200 baud. * The serial backend now supports different types of flow control; previously it ignored the flow=XYZ option in the device URI. * The serial backend now supports DTR/DSR flow control, which is popular on dot-matrix printers (access with "flow=dtrdsr" in the device URI) * Added new job-originating-host-name attribute for jobs. The new attribute provides the hostname or IP address of the machine that submitted the job. * Added quota and allow/deny user support for printers and classes.
2000-12-21 15:59:37 +01:00
done
${INSTALL_DATA_DIR} ${EGDIR}
cd ${WRKSRC}/conf; ${INSTALL_DATA} *.conf mime.* ${EGDIR}
.if defined(USE_PAM)
Update cups to 1.1.5. Relevant changes since version 1.1.4 include lots of bug and security fixes, improvements to the efficiency of the server and utilities, improvements to the documentation, plus the following: * Security updates - new default configuration does not broadcast printer information and only allows access from the local system. * EXPERIMENTAL encryption support - CUPS now optionally supports TLS/SSL encryption via the OpenSSL library. * Updated PDF filter to Xpdf 0.91. * Added PPD files for 9-pin and 24-pin OKIDATA printers. * Changed all sprintf's that use string formats to snprintf's, even if the destination buffer is larger than the source string(s); this protects against buffer overflows caused outside of CUPS... * Changed all strcpy's to strncpy's between local and global variables, even if the destination buffer is larger than the source string; this protects against buffer overflows caused outside of CUPS... * Added new mime.types rules to allow automatic raw printing of PCL and ESC/P files; PJL headers are parsed to differentiate between PostScript and PCL job files. This should eliminate a lot of the reports of SAMBA printing problems due to the missing "-oraw" or "-l" options. * Jobs are now assigned to printers in a class round-robin style. This should prevent the first server in the class from bearing the brunt of the jobs. * The serial backend didn't support the higher baud rates with the old termios interface. It now supports 57600 and 115200 baud. * The serial backend now supports different types of flow control; previously it ignored the flow=XYZ option in the device URI. * The serial backend now supports DTR/DSR flow control, which is popular on dot-matrix printers (access with "flow=dtrdsr" in the device URI) * Added new job-originating-host-name attribute for jobs. The new attribute provides the hostname or IP address of the machine that submitted the job. * Added quota and allow/deny user support for printers and classes.
2000-12-21 15:59:37 +01:00
${INSTALL_DATA} ${WRKDIR}/cups.pam ${EGDIR}
.endif
Update CUPS to 1.1. Remove most of the patches; I worked closely with the author to make this package compile more seamlessly on BSD systems, and in particular with the NetBSD pkgsrc software collection. CUPS 1.1 is the newest production (stable) release of CUPS. It provides many new features from the 1.0.x releases, including a new Level 3 PostScript RIP, a new PDF filter, EPSON printer drivers, IPP/1.1 support, banner page support, and LPD client support. Binaries for several platforms are also available. Major changes in v1.1 include: - The text filter now embeds missing fonts. - Integrated Xpdf's pdftops filter into CUPS, which is a lightweight and reliable replacement for Ghostscript's PDF support. - The web administration interface now allows you to set the default banner pages. - Images can now be positioned on the page using the new "position" option. - Updated the serial, parallel, and usb backends to do multiple writes and ignore ioctl() errors as needed; this should fix problems with serial printing on old serial drivers and with the UltraSPARC parallel port driver under Solaris 2.7. - Now propagate LD_LIBRARY_PATH to child processes from cupsd. - Queued remote jobs recreate remote printers as needed when the scheduler is started. - Deleting a printer also purges all jobs on that printer. - Old job and control files that don't belong to a printer are automatically deleted. - cups-lpd now supports options set with lpoptions. - The IPP backend now switches to IPP/1.0 if a 1.1 request fails.
2000-07-12 22:09:33 +02:00
PKG_PREFIX=${PREFIX} ${SH} ${INSTALL_FILE} ${PKGNAME} POST-INSTALL
.include "../../mk/bsd.pkg.mk"