Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 5 Jan 2001 16:24:39 +0000 (GMT)
From:      George Reid <greid@dogma.freebsd-uk.eu.org>
To:        FreeBSD-gnats-submit@freebsd.org
Subject:   ports/24087: New port: cups: The Common UNIX Printing System
Message-ID:  <Pine.BSF.4.21.0101051622370.17408-100000@sobek.openirc.co.uk>
Resent-Message-ID: <200101051630.f05GU2L29282@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         24087
>Category:       ports
>Synopsis:       New port: cups: The Common UNIX Printing System
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Fri Jan 05 08:30:01 PST 2001
>Closed-Date:
>Last-Modified:
>Originator:     George Reid
>Release:        FreeBSD 5.0-CURRENT i386
>Organization:
FreeBSD UKUG
>Environment:
n/a
>Description:
CUPS provides a portable printing layer for UNIX-based operating
systems. It has been developed by Easy Software Products to promote a
standard printing solution for all UNIX vendors and users. CUPS
provides the System V and Berkeley command-line interfaces.

CUPS uses the Internet Printing Protocol ("IPP") as the basis for
managing print jobs and queues. The Line Printer Daemon ("LPD") Server
Message Block ("SMB"), and AppSocket (a.k.a. JetDirect) protocols are
also supported with reduced functionality. CUPS adds network printer
browsing and PostScript Printer Description ("PPD") based printing
options to support real-world printing under UNIX.

CUPS also includes a customized version of GNU Ghostscript (currently
based off GNU Ghostscript 5.50) and an image file RIP that are used to
support non-PostScript printers. Sample drivers for HP and EPSON
printers are included that use these filters.

- George Reid
greid@ukug.uk.freebsd.org
>How-To-Repeat:
n/a
>Fix:
# This is a shell archive.  Save it in a file, remove anything before
# this line, and then unpack it by entering "sh file".  Note, it may
# create directories; files and directories will be owned by you and
# have default permissions.
#
# This archive contains:
#
#	cups
#	cups/Makefile
#	cups/distinfo
#	cups/files
#	cups/files/patch-aa
#	cups/files/patch-ab
#	cups/pkg-descr
#	cups/pkg-comment
#	cups/pkg-plist
#
echo c - cups
mkdir -p cups > /dev/null 2>&1
echo x - cups/Makefile
sed 's/^X//' >cups/Makefile << 'END-of-cups/Makefile'
X# New ports collection makefile for:   cups
X# Date created:        05 January 2001
X# Whom:                George Reid <greid@ukug.uk.freebsd.org>
X#
X# $FreeBSD$
X#
X
XPORTNAME=       	cups
XPORTVERSION=		1.1.5
XCATEGORIES=     	print
XMASTER_SITES=		ftp://ftp.easysw.com/pub/cups/${PORTVERSION}/ \
X			ftp://ftp2.easysw.com/pub/cups/${PORTVERSION}/ \
X			ftp://ftp.funet.fi/pub/mirrors/ftp.easysw.com/pub/cups/${PORTVERSION}/ \
X			ftp://ftp.mpg.goe.ni.schule.de/pub/internet/printing/cups/${PORTVERSION}/
XDISTNAME=		${PORTNAME}-${PORTVERSION}-2-source
X
XMAINTAINER=		greid@ukug.uk.freebsd.org
X
XUSE_BZIP2=		yes
X
XWRKSRC=			${WRKDIR}/${PORTNAME}-${PORTVERSION}
X
XGNU_CONFIGURE=		yes
X
XMAN1=			backend.1 cancel.1 filter.1 lp.1 lpoptions.1 lpq.1 \
X			lpr.1 lprm.1 lpstat.1
XMAN5=			classes.conf.5 cupsd.conf.5 mime.convs.5 mime.types.5 \
X			printers.conf.5
XMAN8=			accept.8 cups-lpd.8 cups-polld.8 cupsd.8 disable.8 \
X			enable.8 lpadmin.8 lpc.8 lpinfo.8 lpmove.8
X
X.include <bsd.port.mk>
END-of-cups/Makefile
echo x - cups/distinfo
sed 's/^X//' >cups/distinfo << 'END-of-cups/distinfo'
XMD5 (cups-1.1.5-2-source.tar.bz2) = b8c25a0f01a887b5584d1e2166beff03
END-of-cups/distinfo
echo c - cups/files
mkdir -p cups/files > /dev/null 2>&1
echo x - cups/files/patch-aa
sed 's/^X//' >cups/files/patch-aa << 'END-of-cups/files/patch-aa'
X--- backend/serial.c.orig	Fri Jan  5 15:28:01 2001
X+++ backend/serial.c	Fri Jan  5 15:28:17 2001
X@@ -800,7 +800,7 @@
X              device, i + 1);
X     }
X   }
X-+#elif defined(__NetBSD__)
X+#elif defined(__NetBSD__)
X   int	i, j;		/* Looping vars */
X   int	fd;		/* File descriptor */
X   char	device[255];	/* Device filename */
END-of-cups/files/patch-aa
echo x - cups/files/patch-ab
sed 's/^X//' >cups/files/patch-ab << 'END-of-cups/files/patch-ab'
X--- man/Makefile.orig	Fri Jan  5 15:56:34 2001
X+++ man/Makefile	Fri Jan  5 15:59:31 2001
X@@ -82,21 +82,21 @@
X 	$(LN) accept.8 $(MANDIR)/man8/reject.8
X 	$(RM) $(MANDIR)/man8/disable.8
X 	$(LN) enable.8 $(MANDIR)/man8/disable.8
X-	-$(MKDIR) $(MANDIR)/cat1
X-	-$(CHMOD) ugo+rx $(MANDIR)/cat1
X-	$(INSTALL_MAN) $(CAT1) $(MANDIR)/cat1
X-	$(RM) $(MANDIR)/cat1/cancel.$(CAT1EXT)
X-	$(LN) lp.$(CAT1EXT) $(MANDIR)/cat1/cancel.$(CAT1EXT)
X-	-$(MKDIR) $(MANDIR)/cat5
X-	-$(CHMOD) ugo+rx $(MANDIR)/cat5
X-	$(INSTALL_MAN) $(CAT5) $(MANDIR)/cat5
X-	-$(MKDIR) $(MANDIR)/cat8
X-	-$(CHMOD) ugo+rx $(MANDIR)/cat8
X-	$(INSTALL_MAN) $(CAT8) $(MANDIR)/cat8
X-	$(RM) $(MANDIR)/cat8/reject.$(CAT1EXT)
X-	$(LN) accept.$(CAT1EXT) $(MANDIR)/cat8/reject.$(CAT1EXT)
X-	$(RM) $(MANDIR)/cat8/disable.$(CAT1EXT)
X-	$(LN) enable.$(CAT1EXT) $(MANDIR)/cat8/disable.$(CAT1EXT)
X+#	-$(MKDIR) $(MANDIR)/cat1
X+#	-$(CHMOD) ugo+rx $(MANDIR)/cat1
X+#	$(INSTALL_MAN) $(CAT1) $(MANDIR)/cat1
X+#	$(RM) $(MANDIR)/cat1/cancel.$(CAT1EXT)
X+#	$(LN) lp.$(CAT1EXT) $(MANDIR)/cat1/cancel.$(CAT1EXT)
X+#	-$(MKDIR) $(MANDIR)/cat5
X+#	-$(CHMOD) ugo+rx $(MANDIR)/cat5
X+#	$(INSTALL_MAN) $(CAT5) $(MANDIR)/cat5
X+#	-$(MKDIR) $(MANDIR)/cat8
X+#	-$(CHMOD) ugo+rx $(MANDIR)/cat8
X+#	$(INSTALL_MAN) $(CAT8) $(MANDIR)/cat8
X+#	$(RM) $(MANDIR)/cat8/reject.$(CAT1EXT)
X+#	$(LN) accept.$(CAT1EXT) $(MANDIR)/cat8/reject.$(CAT1EXT)
X+#	$(RM) $(MANDIR)/cat8/disable.$(CAT1EXT)
X+#	$(LN) enable.$(CAT1EXT) $(MANDIR)/cat8/disable.$(CAT1EXT)
X 
X 
X #
END-of-cups/files/patch-ab
echo x - cups/pkg-descr
sed 's/^X//' >cups/pkg-descr << 'END-of-cups/pkg-descr'
XCUPS provides a portable printing layer for UNIX-based operating
Xsystems. It has been developed by Easy Software Products to promote a
Xstandard printing solution for all UNIX vendors and users. CUPS
Xprovides the System V and Berkeley command-line interfaces.
X
XCUPS uses the Internet Printing Protocol ("IPP") as the basis for
Xmanaging print jobs and queues. The Line Printer Daemon ("LPD") Server
XMessage Block ("SMB"), and AppSocket (a.k.a. JetDirect) protocols are
Xalso supported with reduced functionality. CUPS adds network printer
Xbrowsing and PostScript Printer Description ("PPD") based printing
Xoptions to support real-world printing under UNIX.
X
XCUPS also includes a customized version of GNU Ghostscript (currently
Xbased off GNU Ghostscript 5.50) and an image file RIP that are used to
Xsupport non-PostScript printers. Sample drivers for HP and EPSON
Xprinters are included that use these filters.
X
X- George Reid
Xgreid@ukug.uk.freebsd.org
END-of-cups/pkg-descr
echo x - cups/pkg-comment
sed 's/^X//' >cups/pkg-comment << 'END-of-cups/pkg-comment'
XThe Common UNIX Printing System
END-of-cups/pkg-comment
echo x - cups/pkg-plist
sed 's/^X//' >cups/pkg-plist << 'END-of-cups/pkg-plist'
Xbin/cancel
Xbin/disable
Xbin/enable
Xbin/lp
Xbin/lpoptions
Xbin/lppasswd
Xbin/lpq
Xbin/lpr
Xbin/lprm
Xbin/lpstat
Xinclude/cups/cups.h
Xinclude/cups/http.h
Xinclude/cups/ipp.h
Xinclude/cups/language.h
Xinclude/cups/md5.h
Xinclude/cups/ppd.h
Xinclude/cups/raster.h
Xlib/libcups.a
Xlib/libcups.so
Xlib/libcups.so.2
Xlib/libcupsimage.so
Xlib/libcupsimage.so.2
Xlibexec/cups/backend/http
Xlibexec/cups/backend/ipp
Xlibexec/cups/backend/lpd
Xlibexec/cups/backend/parallel
Xlibexec/cups/backend/serial
Xlibexec/cups/backend/socket
Xlibexec/cups/backend/usb
Xlibexec/cups/cgi-bin/admin.cgi
Xlibexec/cups/cgi-bin/classes.cgi
Xlibexec/cups/cgi-bin/jobs.cgi
Xlibexec/cups/cgi-bin/printers.cgi
Xlibexec/cups/daemon/cups-lpd
Xlibexec/cups/daemon/cups-polld
Xlibexec/cups/filter/hpgltops
Xlibexec/cups/filter/imagetops
Xlibexec/cups/filter/imagetoraster
Xlibexec/cups/filter/pdftops
Xlibexec/cups/filter/pstops
Xlibexec/cups/filter/pstoraster
Xlibexec/cups/filter/rastertoepson
Xlibexec/cups/filter/rastertohp
Xlibexec/cups/filter/texttops
Xsbin/accept
Xsbin/cupsd
Xsbin/lpadmin
Xsbin/lpc
Xsbin/lpinfo
Xsbin/lpmove
Xsbin/reject
Xshare/doc/cups/cmp.html
Xshare/doc/cups/cmp.pdf
Xshare/doc/cups/cups.css
Xshare/doc/cups/cupsdoc.css
Xshare/doc/cups/documentation.html
Xshare/doc/cups/idd.html
Xshare/doc/cups/idd.pdf
Xshare/doc/cups/index.html
Xshare/doc/cups/ipp.html
Xshare/doc/cups/ipp.pdf
Xshare/doc/cups/overview.html
Xshare/doc/cups/overview.pdf
Xshare/doc/cups/sam.html
Xshare/doc/cups/sam.pdf
Xshare/doc/cups/sdd.html
Xshare/doc/cups/sdd.pdf
Xshare/doc/cups/spm.html
Xshare/doc/cups/spm.pdf
Xshare/doc/cups/sps.html
Xshare/doc/cups/sps.pdf
Xshare/doc/cups/ssr.html
Xshare/doc/cups/ssr.pdf
Xshare/doc/cups/stp.html
Xshare/doc/cups/stp.pdf
Xshare/doc/cups/sum.html
Xshare/doc/cups/sum.pdf
Xshare/doc/cups/svd.html
Xshare/doc/cups/svd.pdf
Xshare/doc/cups/images/accept-jobs.gif
Xshare/doc/cups/images/add-class.gif
Xshare/doc/cups/images/add-printer.gif
Xshare/doc/cups/images/cancel-job.gif
Xshare/doc/cups/images/cancel-jobs.gif
Xshare/doc/cups/images/cancel.gif
Xshare/doc/cups/images/classes.gif
Xshare/doc/cups/images/config-printer.gif
Xshare/doc/cups/images/continue.gif
Xshare/doc/cups/images/cups-block-diagram.gif
Xshare/doc/cups/images/cups-large.gif
Xshare/doc/cups/images/cups-medium.gif
Xshare/doc/cups/images/cups-small.gif
Xshare/doc/cups/images/delete-class.gif
Xshare/doc/cups/images/delete-printer.gif
Xshare/doc/cups/images/draft.gif
Xshare/doc/cups/images/hold-job.gif
Xshare/doc/cups/images/left.gif
Xshare/doc/cups/images/logo.gif
Xshare/doc/cups/images/manage-classes.gif
Xshare/doc/cups/images/manage-jobs.gif
Xshare/doc/cups/images/manage-printers.gif
Xshare/doc/cups/images/modify-class.gif
Xshare/doc/cups/images/modify-printer.gif
Xshare/doc/cups/images/navbar.gif
Xshare/doc/cups/images/print-test-page.gif
Xshare/doc/cups/images/printer-idle.gif
Xshare/doc/cups/images/printer-processing.gif
Xshare/doc/cups/images/printer-stopped.gif
Xshare/doc/cups/images/reject-jobs.gif
Xshare/doc/cups/images/release-job.gif
Xshare/doc/cups/images/restart-job.gif
Xshare/doc/cups/images/right.gif
Xshare/doc/cups/images/show-active.gif
Xshare/doc/cups/images/show-completed.gif
Xshare/doc/cups/images/start-class.gif
Xshare/doc/cups/images/start-printer.gif
Xshare/doc/cups/images/stop-class.gif
Xshare/doc/cups/images/stop-printer.gif
X@dirrm include/cups
X@dirrm libexec/cups/backend
X@dirrm libexec/cups/cgi-bin
X@dirrm libexec/cups/daemon
X@dirrm libexec/cups/filter
X@dirrm libexec/cups
X@dirrm share/doc/cups/images
X@dirrm share/doc/cups
X@dirrm var/log/cups
X@dirrm var/spool/cups/tmp
X@dirrm var/spool/cups
END-of-cups/pkg-plist
exit



>Release-Note:
>Audit-Trail:
>Unformatted:


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.4.21.0101051622370.17408-100000>