summaryrefslogtreecommitdiff
path: root/print/cups/Makefile
diff options
context:
space:
mode:
authorjlam <jlam>2003-05-28 02:33:59 +0000
committerjlam <jlam>2003-05-28 02:33:59 +0000
commit33e650136b99e415961533b90478cb58c37e5ea4 (patch)
treeacf54b63ce1ebc3a40071cca3023d9886edbf8da /print/cups/Makefile
parentc9bb16ee900a64aff7121b1ad215cc3b4aa62efe (diff)
downloadpkgsrc-33e650136b99e415961533b90478cb58c37e5ea4.tar.gz
Update print/cups to 1.1.19. Major changes from version 1.1.18nb2 include:
- security fix to scheduler to address a DoS attack - improve conformance to IPP specification - miscellaneous bug fixes to server and userland utilities - plug memory leaks - bug fixes to SSL code - the mime.convs file was missing the filter definition for Windows BMP (image/x-bitmap) files - improved test suite - added CUPS support files for Java, Perl, and PHP - The cups-lpd mini-daemon now sends jobs to the default queue when an empty queue name (or "lp" and there is no "lp" queue) is sent. - The scheduler now supports fax queues identified by a "*cupsFax: True" attribute in the PPD file. - The scheduler now supports print files that have been compressed using gzip. - Added a robots.txt file to the standard install to prevent search engines from indexing the CUPS server. - When writing BSD printcap files, the scheduler now includes the rm and rp attributes, allowing the file to be exported to LPD clients. - The pdftops filter now scales PDF pages within the printable area of the page. - The PostScript filter now supports binary PostScript files and files beginning with the PJL language escape sequence. - Fixed the CIE colorspace support code in the image and PS RIPs.
Diffstat (limited to 'print/cups/Makefile')
-rw-r--r--print/cups/Makefile19
1 files changed, 11 insertions, 8 deletions
diff --git a/print/cups/Makefile b/print/cups/Makefile
index ed826c7b414..fb0bb77790f 100644
--- a/print/cups/Makefile
+++ b/print/cups/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.60 2003/03/20 18:49:33 jmmv Exp $
+# $NetBSD: Makefile,v 1.61 2003/05/28 02:33:59 jlam Exp $
#
# The CUPS author is very good about taking back changes into the main
# CUPS distribution. The correct place to send patches or bug-fixes is:
@@ -6,8 +6,8 @@
DISTNAME= cups-${DIST_VERS}-source
PKGNAME= cups-${VERS}
-PKGREVISION= 2
-BASE_VERS= 1.1.18
+PKGREVISION= # empty
+BASE_VERS= 1.1.19
DIST_VERS= ${BASE_VERS}
VERS= ${DIST_VERS:S/-/./g}
WRKSRC= ${WRKDIR}/cups-${BASE_VERS}
@@ -26,13 +26,16 @@ COMMENT= Common UNIX Printing System
CONFLICTS+= LPRng-[0-9]* LPRng-core-[0-9]*
+UNLIMIT_RESOURCES= datasize memorysize
USE_BUILDLINK2= yes
USE_PKGINSTALL= yes
USE_PKGLOCALEDIR= yes
USE_GMAKE= yes
+
USE_LIBTOOL= yes
+LIBTOOL_FLAGS+= --preserve-dup-deps
+
GNU_CONFIGURE= yes
-UNLIMIT_RESOURCES= datasize memorysize
CONFIGURE_ARGS+= --sysconfdir=${PKG_SYSCONFBASE}
CONFIGURE_ARGS+= --localstatedir=/var
CONFIGURE_ARGS+= --with-docdir=${PREFIX}/share/doc/html/cups
@@ -41,7 +44,7 @@ CONFIGURE_ARGS+= --with-rcdir=${RCD_SCRIPTS_DIR}
CONFIGURE_ARGS+= --with-cups-user=${CUPS_USER}
CONFIGURE_ARGS+= --with-cups-group=${CUPS_GROUP}
CONFIGURE_ARGS+= --with-bsdmanext
-CONFIGURE_ARGS+= --enable-libtool-unsupported="${PKGLIBTOOL}"
+CONFIGURE_ARGS+= --enable-libtool-unsupported="${PKGLIBTOOL} ${LIBTOOL_FLAGS}"
CONFIGURE_ARGS+= --enable-slp
CONFIGURE_ARGS+= --enable-ssl
CONFIGURE_ENV+= DSOFLAGS="${LDFLAGS}"
@@ -96,8 +99,8 @@ OWN_DIRS+= ${CUPS_CONFDIR}/interfaces
OWN_DIRS+= ${CUPS_CONFDIR}/ppd
OWN_DIRS+= ${CUPS_LOGDIR}
OWN_DIRS_PERMS= ${CUPS_CONFDIR}/certs ${CUPS_USER} ${CUPS_GROUP} 0711
-OWN_DIRS_PERMS+= ${CUPS_REQUESTS} ${CUPS_USER} ${CUPS_GROUP} 0700
-OWN_DIRS_PERMS+= ${CUPS_REQUESTS}/tmp ${CUPS_USER} ${CUPS_GROUP} 1700
+OWN_DIRS_PERMS+= ${CUPS_REQUESTS} ${CUPS_USER} ${CUPS_GROUP} 0710
+OWN_DIRS_PERMS+= ${CUPS_REQUESTS}/tmp ${CUPS_USER} ${CUPS_GROUP} 1770
pre-configure:
cd ${WRKSRC} && ${AUTOCONF}
@@ -107,7 +110,7 @@ pre-install:
post-install:
${INSTALL_DATA_DIR} ${DOCDIR}
- for file in ENCRYPTION.txt LICENSE.txt README.txt; do \
+ for file in CGI.txt ENCRYPTION.txt LICENSE.txt README.txt; do \
${INSTALL_DATA} ${WRKSRC}/$${file} ${DOCDIR}/$${file}; \
done
${INSTALL_DATA_DIR} ${EGDIR}