2001-06-11 04:05:07 +02:00
|
|
|
# $NetBSD: Makefile,v 1.32 2001/06/11 02:05:14 jlam Exp $
|
1999-11-29 03:18:53 +01:00
|
|
|
|
Update cups to 1.1.7. Changes from version 1.1.6nb3 include bugfixes,
documentation updates, better support of Apache options in configuration
files, and:
- Added support for "double" HostNameLookups.
- Added new "RunAsUser" directive to support non-root configurations on the
standard (privileged) ports.
- Added support for non-root invocation of the lpd backend (does no reserve a
priviledged port, which might not work with some LPD servers...)
- Added new PrintcapFormat directive to control the output format of the
printcap file (BSD or Solaris formats are supported at present.)
- httpConnect() now looks up "localhost" by name and by address (127.0.0.1)
for users that go to the trouble of removing the required localhost entry
in /etc/hosts or on their DNS server...
- The EPSON drivers now send the "end packet mode" command when printing to
USB devices.
- The LPD backend now supports a new "order" option:
"lpd://server/queue?order=control,data" (default) and
"lpd://server/queue?order=data,control".
- New "Classification" directive to force labeling of the current
classification on each page.
- New "page-label" attribute to add per-page labels ("For Official Use Only",
"Draft", etc.)
- Dropped the "file" backend from the device list that is reported, since it
is only available for *testing* and should never be used in a production
environment. The file: device can still be used, but it won't show up in
the list of devices from lpinfo or the web interface.
- Added META variables to the CGI header template to prevent caching of the
results.
- Added two new directives - MaxJobsPerPrinter and MaxJobsPerUser - to allow
an administrator to set the maximum number of pending jobs in a queue or
submitted by a user.
- Added support for the Enable-Printer and Disable-Printer extension
operations (same as CUPS-Accept-Jobs and CUPS-Reject-Jobs.)
- Added support for the DeskJet 900 series duplexer and CRET color modes in
the HP driver.
- Added support for PPD-defined margins in the HP driver.
- Added new cupsGetJobs() and cupsFreeJobs() functions to manage print jobs.
- cupsEncodeOptions() would encode names of 0 length and cupsAddOption() and
cupsParseOptions() would add names of 0 length.
2001-05-15 19:43:20 +02:00
|
|
|
DISTNAME= cups-${VERS}-source
|
|
|
|
PKGNAME= cups-${VERS}
|
2001-05-24 05:17:18 +02:00
|
|
|
VERS= 1.1.8
|
2000-12-21 17:59:31 +01:00
|
|
|
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
|
Update cups to 1.1.7. Changes from version 1.1.6nb3 include bugfixes,
documentation updates, better support of Apache options in configuration
files, and:
- Added support for "double" HostNameLookups.
- Added new "RunAsUser" directive to support non-root configurations on the
standard (privileged) ports.
- Added support for non-root invocation of the lpd backend (does no reserve a
priviledged port, which might not work with some LPD servers...)
- Added new PrintcapFormat directive to control the output format of the
printcap file (BSD or Solaris formats are supported at present.)
- httpConnect() now looks up "localhost" by name and by address (127.0.0.1)
for users that go to the trouble of removing the required localhost entry
in /etc/hosts or on their DNS server...
- The EPSON drivers now send the "end packet mode" command when printing to
USB devices.
- The LPD backend now supports a new "order" option:
"lpd://server/queue?order=control,data" (default) and
"lpd://server/queue?order=data,control".
- New "Classification" directive to force labeling of the current
classification on each page.
- New "page-label" attribute to add per-page labels ("For Official Use Only",
"Draft", etc.)
- Dropped the "file" backend from the device list that is reported, since it
is only available for *testing* and should never be used in a production
environment. The file: device can still be used, but it won't show up in
the list of devices from lpinfo or the web interface.
- Added META variables to the CGI header template to prevent caching of the
results.
- Added two new directives - MaxJobsPerPrinter and MaxJobsPerUser - to allow
an administrator to set the maximum number of pending jobs in a queue or
submitted by a user.
- Added support for the Enable-Printer and Disable-Printer extension
operations (same as CUPS-Accept-Jobs and CUPS-Reject-Jobs.)
- Added support for the DeskJet 900 series duplexer and CRET color modes in
the HP driver.
- Added support for PPD-defined margins in the HP driver.
- Added new cupsGetJobs() and cupsFreeJobs() functions to manage print jobs.
- cupsEncodeOptions() would encode names of 0 length and cupsAddOption() and
cupsParseOptions() would add names of 0 length.
2001-05-15 19:43:20 +02:00
|
|
|
MASTER_SITES= ftp://ftp.easysw.com/pub/cups/${VERS}/ \
|
|
|
|
ftp://ftp2.easysw.com/pub/cups/${VERS}/ \
|
2001-05-24 05:17:18 +02:00
|
|
|
ftp://ftp.funet.fi/pub/mirrors/ftp.easysw.com/pub/cups/${VERS}/ \
|
Update cups to 1.1.7. Changes from version 1.1.6nb3 include bugfixes,
documentation updates, better support of Apache options in configuration
files, and:
- Added support for "double" HostNameLookups.
- Added new "RunAsUser" directive to support non-root configurations on the
standard (privileged) ports.
- Added support for non-root invocation of the lpd backend (does no reserve a
priviledged port, which might not work with some LPD servers...)
- Added new PrintcapFormat directive to control the output format of the
printcap file (BSD or Solaris formats are supported at present.)
- httpConnect() now looks up "localhost" by name and by address (127.0.0.1)
for users that go to the trouble of removing the required localhost entry
in /etc/hosts or on their DNS server...
- The EPSON drivers now send the "end packet mode" command when printing to
USB devices.
- The LPD backend now supports a new "order" option:
"lpd://server/queue?order=control,data" (default) and
"lpd://server/queue?order=data,control".
- New "Classification" directive to force labeling of the current
classification on each page.
- New "page-label" attribute to add per-page labels ("For Official Use Only",
"Draft", etc.)
- Dropped the "file" backend from the device list that is reported, since it
is only available for *testing* and should never be used in a production
environment. The file: device can still be used, but it won't show up in
the list of devices from lpinfo or the web interface.
- Added META variables to the CGI header template to prevent caching of the
results.
- Added two new directives - MaxJobsPerPrinter and MaxJobsPerUser - to allow
an administrator to set the maximum number of pending jobs in a queue or
submitted by a user.
- Added support for the Enable-Printer and Disable-Printer extension
operations (same as CUPS-Accept-Jobs and CUPS-Reject-Jobs.)
- Added support for the DeskJet 900 series duplexer and CRET color modes in
the HP driver.
- Added support for PPD-defined margins in the HP driver.
- Added new cupsGetJobs() and cupsFreeJobs() functions to manage print jobs.
- cupsEncodeOptions() would encode names of 0 length and cupsAddOption() and
cupsParseOptions() would add names of 0 length.
2001-05-15 19:43:20 +02:00
|
|
|
ftp://ftp.mpg.goe.ni.schule.de/pub/internet/printing/cups/${VERS}/ \
|
|
|
|
ftp://ftp.ntua.gr/pub/gnu/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
|
|
|
ftp://ftp.fisek.com.tr/pub/cups/${VERS}/
|
|
|
|
EXTRACT_SUFX= .tar.bz2
|
1999-11-29 03:18:53 +01:00
|
|
|
|
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/
|
2001-02-17 18:42:09 +01:00
|
|
|
COMMENT= Common UNIX Printing System
|
1999-11-29 03:18:53 +01:00
|
|
|
|
2000-12-28 01:09:38 +01:00
|
|
|
CONFLICTS+= LPRng-[0-9]* LPRng-core-[0-9]*
|
|
|
|
|
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
|
2000-12-21 15:59:37 +01:00
|
|
|
CONFIGURE_ARGS+= --sysconfdir=/etc
|
|
|
|
CONFIGURE_ARGS+= --localstatedir=/var
|
Update cups to 1.1.7. Changes from version 1.1.6nb3 include bugfixes,
documentation updates, better support of Apache options in configuration
files, and:
- Added support for "double" HostNameLookups.
- Added new "RunAsUser" directive to support non-root configurations on the
standard (privileged) ports.
- Added support for non-root invocation of the lpd backend (does no reserve a
priviledged port, which might not work with some LPD servers...)
- Added new PrintcapFormat directive to control the output format of the
printcap file (BSD or Solaris formats are supported at present.)
- httpConnect() now looks up "localhost" by name and by address (127.0.0.1)
for users that go to the trouble of removing the required localhost entry
in /etc/hosts or on their DNS server...
- The EPSON drivers now send the "end packet mode" command when printing to
USB devices.
- The LPD backend now supports a new "order" option:
"lpd://server/queue?order=control,data" (default) and
"lpd://server/queue?order=data,control".
- New "Classification" directive to force labeling of the current
classification on each page.
- New "page-label" attribute to add per-page labels ("For Official Use Only",
"Draft", etc.)
- Dropped the "file" backend from the device list that is reported, since it
is only available for *testing* and should never be used in a production
environment. The file: device can still be used, but it won't show up in
the list of devices from lpinfo or the web interface.
- Added META variables to the CGI header template to prevent caching of the
results.
- Added two new directives - MaxJobsPerPrinter and MaxJobsPerUser - to allow
an administrator to set the maximum number of pending jobs in a queue or
submitted by a user.
- Added support for the Enable-Printer and Disable-Printer extension
operations (same as CUPS-Accept-Jobs and CUPS-Reject-Jobs.)
- Added support for the DeskJet 900 series duplexer and CRET color modes in
the HP driver.
- Added support for PPD-defined margins in the HP driver.
- Added new cupsGetJobs() and cupsFreeJobs() functions to manage print jobs.
- cupsEncodeOptions() would encode names of 0 length and cupsAddOption() and
cupsParseOptions() would add names of 0 length.
2001-05-15 19:43:20 +02:00
|
|
|
CONFIGURE_ARGS+= --with-docdir=${PREFIX}/share/doc/html/cups
|
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}"
|
1999-11-29 03:18:53 +01:00
|
|
|
|
2000-12-21 15:59:37 +01:00
|
|
|
USE_SSL= # defined
|
|
|
|
CONFIGURE_ARGS+= --enable-ssl
|
|
|
|
|
2000-12-07 21:33:05 +01:00
|
|
|
.include "../../mk/bsd.prefs.mk"
|
2001-05-26 18:32:37 +02:00
|
|
|
.include "../../devel/zlib/buildlink.mk"
|
|
|
|
.include "../../graphics/jpeg/buildlink.mk"
|
|
|
|
.include "../../graphics/png/buildlink.mk"
|
|
|
|
.include "../../graphics/tiff/buildlink.mk"
|
Update cups to 1.1.7. Changes from version 1.1.6nb3 include bugfixes,
documentation updates, better support of Apache options in configuration
files, and:
- Added support for "double" HostNameLookups.
- Added new "RunAsUser" directive to support non-root configurations on the
standard (privileged) ports.
- Added support for non-root invocation of the lpd backend (does no reserve a
priviledged port, which might not work with some LPD servers...)
- Added new PrintcapFormat directive to control the output format of the
printcap file (BSD or Solaris formats are supported at present.)
- httpConnect() now looks up "localhost" by name and by address (127.0.0.1)
for users that go to the trouble of removing the required localhost entry
in /etc/hosts or on their DNS server...
- The EPSON drivers now send the "end packet mode" command when printing to
USB devices.
- The LPD backend now supports a new "order" option:
"lpd://server/queue?order=control,data" (default) and
"lpd://server/queue?order=data,control".
- New "Classification" directive to force labeling of the current
classification on each page.
- New "page-label" attribute to add per-page labels ("For Official Use Only",
"Draft", etc.)
- Dropped the "file" backend from the device list that is reported, since it
is only available for *testing* and should never be used in a production
environment. The file: device can still be used, but it won't show up in
the list of devices from lpinfo or the web interface.
- Added META variables to the CGI header template to prevent caching of the
results.
- Added two new directives - MaxJobsPerPrinter and MaxJobsPerUser - to allow
an administrator to set the maximum number of pending jobs in a queue or
submitted by a user.
- Added support for the Enable-Printer and Disable-Printer extension
operations (same as CUPS-Accept-Jobs and CUPS-Reject-Jobs.)
- Added support for the DeskJet 900 series duplexer and CRET color modes in
the HP driver.
- Added support for PPD-defined margins in the HP driver.
- Added new cupsGetJobs() and cupsFreeJobs() functions to manage print jobs.
- cupsEncodeOptions() would encode names of 0 length and cupsAddOption() and
cupsParseOptions() would add names of 0 length.
2001-05-15 19:43:20 +02:00
|
|
|
|
2000-12-12 17:03:13 +01:00
|
|
|
.if defined(USE_PAM)
|
2001-05-26 18:32:37 +02:00
|
|
|
.include "../../security/PAM/buildlink.mk"
|
2000-12-12 17:03:13 +01:00
|
|
|
CONFIGURE_ARGS+= --enable-pam
|
|
|
|
PLIST_SRC= ${PKGDIR}/PLIST.pam
|
|
|
|
PLIST_SRC+= ${PKGDIR}/PLIST
|
|
|
|
.else
|
|
|
|
CONFIGURE_ARGS+= --disable-pam
|
|
|
|
PLIST_SRC= ${PKGDIR}/PLIST
|
|
|
|
.endif
|
|
|
|
|
2000-12-11 09:53:07 +01:00
|
|
|
# CUPS_USER username of the CUPS administrator
|
|
|
|
# CUPS_GROUP group of the CUPS administrator
|
2000-12-07 21:33:05 +01:00
|
|
|
#
|
|
|
|
CUPS_USER?= lp
|
|
|
|
CUPS_GROUP?= sys
|
|
|
|
|
2000-12-09 06:53:39 +01:00
|
|
|
BUILD_DEFS+= CUPS_USER CUPS_GROUP
|
2000-12-09 06:53:06 +01:00
|
|
|
|
2000-12-11 09:53:07 +01:00
|
|
|
.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
|
|
|
|
|
2000-12-07 21:33:05 +01:00
|
|
|
DEINSTALL_FILE= ${WRKDIR}/DEINSTALL
|
|
|
|
INSTALL_FILE= ${WRKDIR}/INSTALL
|
|
|
|
|
2000-12-21 15:59:37 +01:00
|
|
|
DOCDIR= ${PREFIX}/share/doc/cups
|
|
|
|
EGDIR= ${PREFIX}/share/examples/cups
|
|
|
|
|
|
|
|
post-extract:
|
Update cups to 1.1.7. Changes from version 1.1.6nb3 include bugfixes,
documentation updates, better support of Apache options in configuration
files, and:
- Added support for "double" HostNameLookups.
- Added new "RunAsUser" directive to support non-root configurations on the
standard (privileged) ports.
- Added support for non-root invocation of the lpd backend (does no reserve a
priviledged port, which might not work with some LPD servers...)
- Added new PrintcapFormat directive to control the output format of the
printcap file (BSD or Solaris formats are supported at present.)
- httpConnect() now looks up "localhost" by name and by address (127.0.0.1)
for users that go to the trouble of removing the required localhost entry
in /etc/hosts or on their DNS server...
- The EPSON drivers now send the "end packet mode" command when printing to
USB devices.
- The LPD backend now supports a new "order" option:
"lpd://server/queue?order=control,data" (default) and
"lpd://server/queue?order=data,control".
- New "Classification" directive to force labeling of the current
classification on each page.
- New "page-label" attribute to add per-page labels ("For Official Use Only",
"Draft", etc.)
- Dropped the "file" backend from the device list that is reported, since it
is only available for *testing* and should never be used in a production
environment. The file: device can still be used, but it won't show up in
the list of devices from lpinfo or the web interface.
- Added META variables to the CGI header template to prevent caching of the
results.
- Added two new directives - MaxJobsPerPrinter and MaxJobsPerUser - to allow
an administrator to set the maximum number of pending jobs in a queue or
submitted by a user.
- Added support for the Enable-Printer and Disable-Printer extension
operations (same as CUPS-Accept-Jobs and CUPS-Reject-Jobs.)
- Added support for the DeskJet 900 series duplexer and CRET color modes in
the HP driver.
- Added support for PPD-defined margins in the HP driver.
- Added new cupsGetJobs() and cupsFreeJobs() functions to manage print jobs.
- cupsEncodeOptions() would encode names of 0 length and cupsAddOption() and
cupsParseOptions() would add names of 0 length.
2001-05-15 19:43:20 +02:00
|
|
|
cd ${WRKSRC}/conf; ${MV} -f cupsd.conf cupsd.conf.in
|
1999-11-29 03:18:53 +01:00
|
|
|
|
2000-12-07 21:33:05 +01:00
|
|
|
post-build:
|
2001-02-08 20:05:00 +01:00
|
|
|
${SED} -e "s|@CUPS_USER@|${CUPS_USER}|g" \
|
|
|
|
-e "s|@CUPS_GROUP@|${CUPS_GROUP}|g" \
|
2001-01-28 03:05:36 +01:00
|
|
|
${WRKSRC}/conf/cupsd.conf.in > ${WRKSRC}/conf/cupsd.conf
|
2001-02-08 20:05:00 +01:00
|
|
|
${SED} -e "s|@PREFIX@|${PREFIX}|g" \
|
2001-01-28 03:05:36 +01:00
|
|
|
${FILESDIR}/cups.pam > ${WRKDIR}/cups.pam
|
2000-12-09 23:18:24 +01:00
|
|
|
|
|
|
|
pre-install:
|
2001-02-08 20:05:00 +01:00
|
|
|
${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" \
|
2001-01-28 03:05:36 +01:00
|
|
|
${PKGDIR}/DEINSTALL > ${DEINSTALL_FILE}
|
2001-02-08 20:05:00 +01:00
|
|
|
${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" \
|
2001-01-28 03:05:36 +01:00
|
|
|
${PKGDIR}/INSTALL > ${INSTALL_FILE}
|
2000-12-07 21:33:05 +01:00
|
|
|
PKG_PREFIX=${PREFIX} ${SH} ${INSTALL_FILE} ${PKGNAME} PRE-INSTALL
|
|
|
|
|
1999-11-29 03:18:53 +01:00
|
|
|
post-install:
|
2000-12-21 15:59:37 +01:00
|
|
|
${INSTALL_DATA_DIR} ${DOCDIR}
|
2001-01-28 03:05:36 +01:00
|
|
|
for file in ENCRYPTION.txt LICENSE.txt README.txt; do \
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/$${file} ${DOCDIR}/$${file}; \
|
2000-12-21 15:59:37 +01:00
|
|
|
done
|
|
|
|
${INSTALL_DATA_DIR} ${EGDIR}
|
|
|
|
cd ${WRKSRC}/conf; ${INSTALL_DATA} *.conf mime.* ${EGDIR}
|
2000-12-12 17:03:13 +01:00
|
|
|
.if defined(USE_PAM)
|
2000-12-21 15:59:37 +01:00
|
|
|
${INSTALL_DATA} ${WRKDIR}/cups.pam ${EGDIR}
|
2000-12-12 17:03:13 +01:00
|
|
|
.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
|
1999-11-29 03:18:53 +01:00
|
|
|
|
|
|
|
.include "../../mk/bsd.pkg.mk"
|