ports/186824: [patch] print/cups* ports: update to 1.7.0 and more

Boris Samorodov bsam at freebsd.org
Sun Feb 16 21:00:01 UTC 2014


>Number:         186824
>Category:       ports
>Synopsis:       [patch] print/cups* ports: update to 1.7.0 and more
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          update
>Submitter-Id:   current-users
>Arrival-Date:   Sun Feb 16 21:00:00 UTC 2014
>Closed-Date:
>Last-Modified:
>Originator:     Boris Samorodov
>Release:        FreeBSD 10-amd64
>Organization:
BSDprint
>Environment:
FreeBSD srv.bb.tel.ru 10.0-RC3 FreeBSD 10.0-RC3 #1 r260036: Mon Dec 30 03:21:53 SAMT 2013     bsam at srv.bb.tel.ru:/usr/obj/usr/src/sys/GENERIC  amd64
>Description:
. update to version 1.7.0;
. support staging;
. use GROUPS and USERS from GIDs and UIDs;
. remove some OPTIONS (they are no more valid);
. use new LIB_DEPENDS syntax;
. a (try to) fix LIBUSB option;
. 

Notes:
. I removed CUPS_OVERWRITE_BASE case but have no time to restore it correctly;
. cups-base and cups-client have exchanged at least one file, so one of them
  should be removed before updating;
. some pdf utils moved to new cups-filters ports, those changes should probably
  be more widely tested.

Other then that I've been using cups* 1.7.0 ports for two months with success.
>How-To-Repeat:

>Fix:


Patch attached with submission follows:

Index: /usr/ports/print/cups/Makefile
===================================================================
--- /usr/ports/print/cups/Makefile	(revision 344629)
+++ /usr/ports/print/cups/Makefile	(working copy)
@@ -2,7 +2,7 @@
 # $FreeBSD$
 
 PORTNAME=	cups
-PORTVERSION=	1.5.4
+PORTVERSION=	1.7.0
 CATEGORIES=	print
 MASTER_SITES=	# empty
 DISTFILES=	# empty
@@ -11,11 +11,12 @@
 COMMENT=	Common UNIX Printing System: Metaport to install complete system
 
 BUILD_DEPENDS=	espgs:${PORTSDIR}/${PKGCATEGORY}/cups-pstoraster \
-		cupsd:${PORTSDIR}/${PKGCATEGORY}/cups-base
+		lpr-cups:${PORTSDIR}/${PKGCATEGORY}/cups-base \
+		ttfread:${PORTSDIR}/${PKGCATEGORY}/cups-filters
 RUN_DEPENDS:=	${BUILD_DEPENDS}
 
+NO_ARCH=	yes
 NO_BUILD=	yes
 NO_INSTALL=	yes
 
-NO_STAGE=	yes
 .include <bsd.port.mk>
Index: /usr/ports/print/cups-base/Makefile
===================================================================
--- /usr/ports/print/cups-base/Makefile	(revision 344629)
+++ /usr/ports/print/cups-base/Makefile	(working copy)
@@ -2,9 +2,8 @@
 # $FreeBSD$
 
 PORTNAME=	cups
-PORTVERSION=	1.5.4
+PORTVERSION=	1.7.0
 DISTVERSIONSUFFIX=	-source
-PORTREVISION=	1
 CATEGORIES=	print
 MASTER_SITES=	http://www.cups.org/software/${DISTVERSION}/ \
 		EASYSW/${PORTNAME}/${DISTVERSION}
@@ -20,18 +19,17 @@
 UNIQUENAME=	${PORTNAME}${PKGNAMESUFFIX}
 
 USE_BZIP2=	yes
-USES+=		gmake
+USES+=		gmake pkgconfig
 GNU_CONFIGURE=	yes
 CFLAGS+=	${PTHREAD_CFLAGS}
 CPPFLAGS+=	-I${LOCALBASE}/include
 LDFLAGS+=	-L${LOCALBASE}/lib
 DSOFLAGS=	-Wl,-rpath,${PREFIX}/lib -L${PREFIX}/lib ${LDFLAGS}
-CONFIGURE_ENV=	DSOFLAGS="${DSOFLAGS}"
+CONFIGURE_ENV=	DSOFLAGS="${DSOFLAGS}" DSTROOT="${STAGEDIR}"
 CONFIGURE_ARGS+=	--localstatedir=/var			\
-			--disable-slp				\
 			--disable-gssapi			\
-			--with-cups-user=${CUPSOWN}		\
-			--with-cups-group=${CUPSGRP}		\
+			--with-cups-user=${USERS}		\
+			--with-cups-group=${GROUPS}		\
 			--with-system-groups=${CUPSSYSGRP}	\
 			--with-docdir=${DOCSDIR}		\
 			--with-icondir=${PREFIX}/share/icons	\
@@ -41,44 +39,43 @@
 			--with-pam-module="unix"		\
 			--enable-ssl
 
+MAKE_ENV=	DSTROOT="${STAGEDIR}"
+
 CUPS_ETCDIR=	${PREFIX}/etc/cups
 CUPS_CACHEDIR?=	/var/db/cups
 CUPS_SPOOLDIR=	/var/spool/cups
 CUPS_SOCKET?=	/var/run/cups.sock
-CUPS_PDFTOPS?=	${LOCALBASE}/libexec/xpdf/pdftops
 WRKSRC=		${WRKDIR}/${PORTNAME}-${DISTVERSION}
 
 # file, dir ownership
-CUPSGRP=	cups
-CUPSOWN=	cups
+#CUPSGRP=	cups
+#CUPSOWN=	cups
 CUPSSYSGRP=	wheel
 # GROUPS/USERS does not work here
-#GROUPS=	cups
-#USERS=		cups
+GROUPS=	cups
+USERS=		cups
 
 # UNIQUENAME must be set before bsd.port.pre.mk so OPTIONSFILE can be included
 .if defined(CUPS_CLIENT)
-PORTREVISION=	1
+PORTREVISION=	0
 LICENSE=	LGPL21
 CUPS_SUFFIX=	-client
 OPTIONS_DEFINE=	GNUTLS
 .elif defined(CUPS_IMAGE)
-PORTREVISION=	1
+PORTREVISION=	0
 CUPS_SUFFIX=	-image
 LICENSE=	LGPL21
 OPTIONS_DEFINE=	GNUTLS
 .else
 INSTALLS_ICONS=	yes
-PORTREVISION=	1
+PORTREVISION=	0
 CUPS_SUFFIX=	-base
-OPTIONS_DEFINE=	GNUTLS LIBPAPER PHP PYTHON PAM LDAP DBUS LIBUSB XDG_OPEN GHOSTSCRIPT XPDF AVAHI MDNSRESPONDER
-OPTIONS_DEFAULT=	LIBPAPER GHOSTSCRIPT
+OPTIONS_DEFINE=	GNUTLS LIBPAPER PHP PYTHON PAM DBUS LIBUSB XDG_OPEN AVAHI MDNSRESPONDER
+OPTIONS_DEFAULT=	LIBPAPER
 NO_OPTIONS_SORT=	yes
 .endif
 
 LIBUSB_DESC=		USB support
-GHOSTSCRIPT_DESC=	Build pdftops with GHOSTSCRIPT
-XPDF_DESC=		Build pdftops with XPDF
 XDG_OPEN_DESC=		Build with XDG_OPEN as browser
 
 .if defined(CUPS_CLIENT) || defined(CUPS_IMAGE)
@@ -99,14 +96,13 @@
 PKGMESSAGE=	${NONEXISTENT}
 DESCR=		${MASTERDIR}/pkg-descr.client
 .elif defined(CUPS_IMAGE)
-LIB_DEPENDS+=	cups:${PORTSDIR}/${PKGCATEGORY}/cups-client \
-		jpeg:${PORTSDIR}/graphics/jpeg \
-		png15:${PORTSDIR}/graphics/png \
-		tiff:${PORTSDIR}/graphics/tiff
+LIB_DEPENDS+=	libcups.so:${PORTSDIR}/${PKGCATEGORY}/cups-client \
+		libjpeg.so:${PORTSDIR}/graphics/jpeg \
+		libpng15.so:${PORTSDIR}/graphics/png \
+		libtiff.so:${PORTSDIR}/graphics/tiff
 # force build if old cups is installed.
 BUILD_DEPENDS+=	cups-client${PKGNAMESUFFIX2}>=${PORTVERSION}:${PORTSDIR}/${PKGCATEGORY}/cups-client
 COMMENT2=	Library cupsimage
-CONFIGURE_ARGS+=	--disable-pdftops
 INSTALL_WRKSRC=	${WRKSRC}/filter
 PLIST=		${MASTERDIR}/pkg-plist.image
 USE_LDCONFIG=	yes
@@ -113,8 +109,8 @@
 PKGMESSAGE=	${NONEXISTENT}
 DESCR=		${MASTERDIR}/pkg-descr.image
 .else
-LIB_DEPENDS+=	cups:${PORTSDIR}/${PKGCATEGORY}/cups-client
-LIB_DEPENDS+=	cupsimage:${PORTSDIR}/${PKGCATEGORY}/cups-image
+LIB_DEPENDS+=	libcups.so:${PORTSDIR}/${PKGCATEGORY}/cups-client
+LIB_DEPENDS+=	libcupsimage.so:${PORTSDIR}/${PKGCATEGORY}/cups-image
 # force build if old cups is installed.
 BUILD_DEPENDS+=	cups-client${PKGNAMESUFFIX2}>=${PORTVERSION}:${PORTSDIR}/${PKGCATEGORY}/cups-client
 BUILD_DEPENDS+=	cups-image${PKGNAMESUFFIX2}>=${PORTVERSION}:${PORTSDIR}/${PKGCATEGORY}/cups-image
@@ -136,9 +132,8 @@
 
 .if ${PORT_OPTIONS:MGNUTLS}
 CONFIGURE_ARGS+=	--disable-openssl --enable-gnutls
-LIB_DEPENDS+=		gcrypt:${PORTSDIR}/security/libgcrypt
-LIB_DEPENDS+=		gnutls:${PORTSDIR}/security/gnutls
-USES+=		pkgconfig
+LIB_DEPENDS+=		libgcrypt.so:${PORTSDIR}/security/libgcrypt
+LIB_DEPENDS+=		libgnutls.so:${PORTSDIR}/security/gnutls
 .else
 CONFIGURE_ARGS+=	--disable-gnutls --enable-openssl
 WITH_OPENSSL_HACK7=	yes
@@ -155,22 +150,6 @@
 PLIST_SUB+=		PHP="@comment "
 .endif
 
-.if !defined(CUPS_CLIENT) && !defined(CUPS_IMAGE) && ${PORT_OPTIONS:MGHOSTSCRIPT}
-.if ${PORT_OPTIONS:MXPDF}
-IGNORE=			You must select one and only one option to build pdftops
-.endif
-USE_GHOSTSCRIPT=	yes
-CONFIGURE_ARGS+=	--enable-pdftops --with-pdftops=${LOCALBASE}/bin/gs
-PLIST_SUB+=		WITH_PDFTOPS=""
-.elif !defined(CUPS_CLIENT) && !defined(CUPS_IMAGE) && ${PORT_OPTIONS:MXPDF}
-BUILD_DEPENDS+=		${CUPS_PDFTOPS}:${PORTSDIR}/graphics/xpdf
-RUN_DEPENDS+=		${CUPS_PDFTOPS}:${PORTSDIR}/graphics/xpdf
-CONFIGURE_ARGS+=	--enable-pdftops --with-pdftops=${CUPS_PDFTOPS}
-PLIST_SUB+=		WITH_PDFTOPS=""
-.else
-PLIST_SUB+=		WITH_PDFTOPS="@comment "
-.endif
-
 .if !defined(CUPS_CLIENT) && !defined(CUPS_IMAGE) && ${PORT_OPTIONS:MPYTHON}
 CONFIGURE_ARGS+=	--with-python
 USE_PYTHON=		yes
@@ -179,7 +158,7 @@
 
 .if !defined(CUPS_CLIENT) && !defined(CUPS_IMAGE) && ${PORT_OPTIONS:MLIBPAPER}
 CONFIGURE_ARGS+=	--enable-libpaper
-LIB_DEPENDS+=		paper:${PORTSDIR}/print/libpaper
+LIB_DEPENDS+=		libpaper.so:${PORTSDIR}/print/libpaper
 .endif
 
 .if !defined(CUPS_CLIENT) && !defined(CUPS_IMAGE) && ${PORT_OPTIONS:MMDNSRESPONDER}
@@ -186,13 +165,13 @@
 .if ${PORT_OPTIONS:MAVAHI}
 IGNORE=			You must select one and only one option to build for Zeroconf
 .endif
-LIB_DEPENDS+=		dns_sd:${PORTSDIR}/net/mDNSResponder
+LIB_DEPENDS+=		libdns_sd.so:${PORTSDIR}/net/mDNSResponder
 CONFIGURE_ARGS+=	--with-dnssd-includes=${LOCALBASE}/include
 PLIST_SUB+=		WITH_MDNSRESPONDER=""
 .elif !defined(CUPS_CLIENT) && !defined(CUPS_IMAGE) && ${PORT_OPTIONS:MAVAHI}
 CONFIGURE_ARGS+=	--enable-dnssd \
 			--with-dnssd-libs=${LOCALBASE}/lib/
-LIB_DEPENDS+=		dns_sd:${PORTSDIR}/net/avahi-libdns
+LIB_DEPENDS+=		libdns_sd.so:${PORTSDIR}/net/avahi-libdns
 CONFIGURE_ARGS+=	--with-dnssd-includes=${LOCALBASE}/include/avahi-compat-libdns_sd/
 BROKEN=			missing function, see http://www.avahi.org/ticket/303
 .else
@@ -208,15 +187,8 @@
 PLIST_SUB+=		WITH_PAMD="@comment "
 .endif
 
-.if !defined(CUPS_CLIENT) && !defined(CUPS_IMAGE) && ${PORT_OPTIONS:MLDAP}
-USE_OPENLDAP=		yes
-CONFIGURE_ARGS+=	--enable-ldap
-.else
-CONFIGURE_ARGS+=	--disable-ldap
-.endif
-
 .if !defined(CUPS_CLIENT) && !defined(CUPS_IMAGE) && ${PORT_OPTIONS:MDBUS}
-LIB_DEPENDS+=		dbus-1:${PORTSDIR}/devel/dbus
+LIB_DEPENDS+=		libdbus-1.so:${PORTSDIR}/devel/dbus
 CONFIGURE_ARGS+=	--enable-dbus
 PLIST_SUB+=		WITH_DBUS=""
 .else
@@ -231,62 +203,11 @@
 .if !defined(CUPS_CLIENT) && !defined(CUPS_IMAGE) && ${PORT_OPTIONS:MLIBUSB}
 CPPFLAGS+=		-I/usr/include
 LDFLAGS+=		-L/usr/lib
-.else
-CONFIGURE_ARGS+=	--disable-libusb
+CONFIGURE_ARGS+=	--enable-libusb
 .endif
 CONFIGURE_ARGS+=	LIBS="-lssp_nonshared"
 
 .if ! defined(CUPS_CLIENT) && ! defined(CUPS_IMAGE)
-MAN1+=	cancel.1 \
-	cupstestdsc.1 \
-	cupstestppd.1 \
-	ipptool.1 \
-	lp.1 \
-	lpoptions.1 \
-	lppasswd.1 \
-	lpq.1 \
-	lprm.1 \
-	lpr.1 \
-	lpstat.1 \
-	ppdc.1 \
-	ppdhtml.1 \
-	ppdi.1 \
-	ppdmerge.1 \
-	ppdpo.1
-MAN5=	classes.conf.5 \
-	client.conf.5 \
-	cups-snmp.conf.5 \
-	cupsd.conf.5 \
-	ipptoolfile.5 \
-	mailto.conf.5 \
-	mime.convs.5 \
-	mime.types.5 \
-	ppdcfile.5 \
-	printers.conf.5 \
-	subscriptions.conf.5
-MAN7=	backend.7 \
-	filter.7 \
-	notifier.7
-MAN8=	accept.8 \
-	cupsaccept.8 \
-	cupsaddsmb.8 \
-	cupsctl.8 \
-	cupsd.8 \
-	cupsenable.8 \
-	cupsfilter.8 \
-	cups-deviced.8 \
-	cups-driverd.8 \
-	cups-lpd.8 \
-	cups-polld.8 \
-	lpadmin.8 \
-	lpinfo.8 \
-	lpmove.8 \
-	lpc.8
-
-MLINKS=	accept.8 reject.8 \
-	cupsaccept.8 cupsreject.8 \
-	cupsenable.8 cupsdisable.8
-
 SUB_FILES+=	ulpt-cupsd.conf ulpt-cupsd.sh
 .endif
 
@@ -331,6 +252,9 @@
 		-e 's|cups-config.$$.MAN1EXT. ||' \
 		${WRKSRC}/man/Makefile
 .endif
+.if ! ${PORT_OPTIONS:MLIBUSB}
+	@${REINPLACE_CMD} -e 's|xyes -o $$uname != Darwin||' ${WRKSRC}/configure
+.endif
 
 pre-configure::
 	@${ECHO_MSG} Configuring CUPS with options:
@@ -362,26 +286,6 @@
 .endif
 .endif
 
-.if !defined(CUPS_CLIENT) && !defined(CUPS_IMAGE)
-post-build:
-	cd ${WRKSRC}/filter && ${MAKE} pdftops
-.endif
-
-.if !defined(CUPS_CLIENT) && !defined(CUPS_IMAGE)
-pre-su-install:
-	@${INSTALL} -d ${DESKTOPDIR}/
-	if ! pw groupshow ${CUPSGRP}; then pw groupadd ${CUPSGRP} -g 193; fi
-	if ! pw usershow ${CUPSOWN}; then pw useradd ${CUPSOWN} -g ${CUPSGRP} -u 193 \
-		-h - -d ${NONEXISTENT} -s /usr/sbin/nologin -c "CUPS Owner"; fi
-.if defined(CUPS_OVERWRITE_BASE)
-	if test -e /usr/bin/lp; then ${CHMOD} -h 0 /usr/bin/lp; fi
-	if test -e /usr/bin/lpq; then ${CHMOD} -h 0 /usr/bin/lpq; fi
-	if test -e /usr/bin/lpr; then ${CHMOD} -h 0 /usr/bin/lpr; fi
-	if test -e /usr/bin/lprm; then ${CHMOD} -h 0 /usr/bin/lprm; fi
-	if test -e /usr/sbin/lpc; then ${CHMOD} -h 0 /usr/sbin/lpc; fi
-.endif
-.endif
-
 post-install:
 .if defined(CUPS_CLIENT)
 	${INSTALL_SCRIPT} ${WRKSRC}/cups-config ${STAGEDIR}${PREFIX}/bin
@@ -403,16 +307,12 @@
 .if  ${PORT_OPTIONS:MPAM}
 	@if [ ! -f ${PREFIX}/etc/pam.d/cups ]; then \
 		${CP} -p ${PREFIX}/etc/pam.d/cups.default \
-		${PREFIX}/etc/pam.d/cups ; \
+		${STAGEDIR}${PREFIX}/etc/pam.d/cups ; \
 	fi
 .endif
-	${MKDIR} ${EXAMPLESDIR}
-	${INSTALL_DATA} ${WRKDIR}/ulpt-cupsd.conf ${EXAMPLESDIR}/
-	${INSTALL_SCRIPT} ${WRKDIR}/ulpt-cupsd.sh ${PREFIX}/sbin/
-	${INSTALL} -d ${CUPS_SPOOLDIR}/tmp/
-	${CHOWN} -R ${CUPSOWN}:${CUPSGRP} ${CUPS_SPOOLDIR}/
-	${CHMOD} -R g+w ${CUPS_SPOOLDIR}/
-	${INSTALL} -d -m 775 -g ${CUPSGRP} ${CUPS_CACHEDIR}
+	@${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
+	${INSTALL_DATA} ${WRKDIR}/ulpt-cupsd.conf ${STAGEDIR}${EXAMPLESDIR}
+	${INSTALL_SCRIPT} ${WRKDIR}/ulpt-cupsd.sh ${STAGEDIR}${PREFIX}/sbin
 .endif
 
 .include <bsd.port.mk>
Index: /usr/ports/print/cups-base/distinfo
===================================================================
--- /usr/ports/print/cups-base/distinfo	(revision 344629)
+++ /usr/ports/print/cups-base/distinfo	(working copy)
@@ -1,2 +1,2 @@
-SHA256 (cups-1.5.4-source.tar.bz2) = 8023034e8b58eab1ad7279364e872270a77459f6fb59a84d03229cb1d2a6d0e5
-SIZE (cups-1.5.4-source.tar.bz2) = 9583002
+SHA256 (cups-1.7.0-source.tar.bz2) = cf15b8caa9dab4638b628427ef309ab381817fc574b8e736d58680e0475cb2c8
+SIZE (cups-1.7.0-source.tar.bz2) = 8421353
Index: /usr/ports/print/cups-base/files/patch-Makefile
===================================================================
--- /usr/ports/print/cups-base/files/patch-Makefile	(revision 344629)
+++ /usr/ports/print/cups-base/files/patch-Makefile	(working copy)
@@ -1,10 +0,0 @@
---- cups/Makefile.orig	2009-05-27 01:27:06.000000000 +0200
-+++ cups/Makefile	2009-10-21 09:49:20.000000000 +0200
-@@ -102,7 +102,6 @@
- 		ipp.h \
- 		language.h \
- 		ppd.h \
--		raster.h \
- 		sidechannel.h \
- 		transcode.h \
- 		versioning.h
Index: /usr/ports/print/cups-base/files/patch-cups-request.c
===================================================================
--- /usr/ports/print/cups-base/files/patch-cups-request.c	(revision 344629)
+++ /usr/ports/print/cups-base/files/patch-cups-request.c	(working copy)
@@ -1,28 +0,0 @@
---- cups/request.c
-+++ cups/request.c
-@@ -1004,6 +1004,25 @@
-       httpClose(cg->http);
-       cg->http = NULL;
-     }
-+    else
-+    {
-+     /*
-+      * Same server, see if the connection is still established...
-+      */
-+
-+      char ch;				/* Connection check byte */
-+
-+      if (recv(cg->http->fd, &ch, 1, MSG_PEEK | MSG_DONTWAIT) < 0 &&
-+          errno != EWOULDBLOCK)
-+      {
-+       /*
-+        * Nope, close the connection...
-+        */
-+
-+	httpClose(cg->http);
-+	cg->http = NULL;
-+      }
-+    }
-   }
- 
-  /*
Index: /usr/ports/print/cups-base/files/patch-data-Makefile
===================================================================
--- /usr/ports/print/cups-base/files/patch-data-Makefile	(revision 0)
+++ /usr/ports/print/cups-base/files/patch-data-Makefile	(working copy)
@@ -0,0 +1,25 @@
+--- data/Makefile.orig	2013-05-29 15:51:34.000000000 +0400
++++ data/Makefile	2013-12-11 17:17:05.670284926 +0400
+@@ -86,14 +86,14 @@
+ #
+ 
+ install-data:
+-	$(INSTALL_DIR) -m 755 $(DATADIR)/banners
+-	for file in $(BANNERS); do \
+-		$(INSTALL_DATA) $$file $(DATADIR)/banners; \
+-	done
+-	$(INSTALL_DIR) -m 755 $(DATADIR)/data
+-	for file in $(DATAFILES); do \
+-		$(INSTALL_DATA) $$file $(DATADIR)/data; \
+-	done
++#	$(INSTALL_DIR) -m 755 $(DATADIR)/banners
++#	for file in $(BANNERS); do \
++#		$(INSTALL_DATA) $$file $(DATADIR)/banners; \
++#	done
++#	$(INSTALL_DIR) -m 755 $(DATADIR)/data
++#	for file in $(DATAFILES); do \
++#		$(INSTALL_DATA) $$file $(DATADIR)/data; \
++#	done
+ 	$(INSTALL_DIR) -m 755 $(DATADIR)/model
+ 	$(INSTALL_DIR) -m 755 $(DATADIR)/ppdc
+ 	for file in $(PPDCFILES); do \

Property changes on: /usr/ports/print/cups-base/files/patch-data-Makefile
___________________________________________________________________
Added: fbsd:nokeywords
## -0,0 +1 ##
+yes
\ No newline at end of property
Added: svn:eol-style
## -0,0 +1 ##
+native
\ No newline at end of property
Added: svn:mime-type
## -0,0 +1 ##
+text/plain
\ No newline at end of property
Index: /usr/ports/print/cups-base/pkg-plist
===================================================================
--- /usr/ports/print/cups-base/pkg-plist	(revision 344629)
+++ /usr/ports/print/cups-base/pkg-plist	(working copy)
@@ -1,21 +1,20 @@
- at exec if ! pw groupshow cups 2>/dev/null; then pw groupadd cups -g 193; fi
- at exec if ! pw usershow cups 2>/dev/null; then pw useradd cups -g cups -u 193 -h - -d /nonexistent -s /usr/sbin/nologin -c "CUPS Owner"; fi
- at unexec if pw usershow cups; then pw userdel cups; fi
 @exec mkdir -p /var/spool/cups/tmp || true
- at exec chown -R root:daemon /var/spool/cups
- at exec mkdir -p %%CACHEDIR%% || true
- at exec chown root:cups %%CACHEDIR%%
- at exec chmod 775 %%CACHEDIR%%
+ at exec chown -R root:cups /var/spool/cups
+ at exec chmod 1710 /var/spool/cups/tmp
+ at comment
+ at exec mkdir -p %%CACHEDIR%%/rss || true
+ at exec chown -R root:cups %%CACHEDIR%%
+ at exec chmod -R 775 %%CACHEDIR%%
+ at comment
 @exec mkdir -p /var/log/cups || true
 @exec chown cups:daemon /var/log/cups
+ at comment
+ at exec mkdir -p /var/run/cups/certs
+ at exec chown root:cups /var/run/cups
+ at exec chown cups:wheel /var/run/cups/certs
+ at comment
 @exec mkdir -p %D/etc/cups/ppd || true
 @exec mkdir -p %D/etc/cups/interfaces || true
- at unexec rm -rf %%CACHEDIR%% 2>/dev/null || true
- at unexec rmdir /var/spool/cups/tmp 2>/dev/null || true
- at unexec rmdir /var/spool/cups 2>/dev/null || true
- at unexec rmdir /var/log/cups 2>/dev/null || true
- at unexec rmdir /var/run/cups/certs 2>/dev/null || true
- at unexec rmdir /var/run/cups 2>/dev/null || true
 %%OVERWRITE%%@exec if test -e /usr/bin/lp; then chmod -h 0 /usr/bin/lp; fi
 %%OVERWRITE%%@exec if test -e /usr/bin/lpq; then chmod -h 0 /usr/bin/lpq; fi
 %%OVERWRITE%%@exec if test -e /usr/bin/lpr; then chmod -h 0 /usr/bin/lpr; fi
@@ -26,18 +25,22 @@
 %%OVERWRITE%%@unexec if test -e /usr/bin/lpr; then chmod -h 06555 /usr/bin/lpr; fi
 %%OVERWRITE%%@unexec if test -e /usr/bin/lprm; then chmod -h 06555 /usr/bin/lprm; fi
 %%OVERWRITE%%@unexec if test -e /usr/sbin/lpc; then chmod -h 02555 /usr/sbin/lpc; fi
- at unexec if cmp -s %D/etc/cups/cupsd.conf.N %D/etc/cups/cupsd.conf; then rm -f %D/etc/cups/cupsd.conf; fi
-etc/cups/cupsd.conf.N
- at exec if test ! -f %D/etc/cups/cupsd.conf; then cp -p %D/etc/cups/cupsd.conf.N %D/etc/cups/cupsd.conf; fi
- at unexec if cmp -s %D/etc/cups/mime.convs.N %D/etc/cups/mime.convs; then rm -f %D/etc/cups/mime.convs; fi
-etc/cups/mime.convs.N
- at exec if test ! -f %D/etc/cups/mime.convs; then cp -p %D/etc/cups/mime.convs.N %D/etc/cups/mime.convs; fi
- at unexec if cmp -s %D/etc/cups/mime.types.N %D/etc/cups/mime.types; then rm -f %D/etc/cups/mime.types; fi
-etc/cups/mime.types.N
- at exec if test ! -f %D/etc/cups/mime.types; then cp -p %D/etc/cups/mime.types.N %D/etc/cups/mime.types; fi
- at unexec if cmp -s %D/etc/cups/snmp.conf.N %D/etc/cups/snmp.conf; then rm -f %D/etc/cups/snmp.conf; fi
-etc/cups/snmp.conf.N
- at exec if test ! -f %D/etc/cups/snmp.conf; then cp -p %D/etc/cups/snmp.conf.N %D/etc/cups/snmp.conf; fi
+ at unexec if cmp -s %D/etc/cups/cups-files.conf.sample %D/etc/cups/cups-files.conf; then rm -f %D/etc/cups/cups-files.conf; fi
+ at comment %%ETCDIR%%/cups-files.conf.sample
+%%ETCDIR%%/cups-files.conf.sample
+ at exec if test ! -f %D/etc/cups/cups-files.conf; then cp -p %D/etc/cups/cups-files.conf.sample %D/etc/cups/cups-files.conf; fi
+ at unexec if cmp -s %D/etc/cups/cupsd.conf.sample %D/etc/cups/cupsd.conf; then rm -f %D/etc/cups/cupsd.conf; fi
+%%ETCDIR%%/cupsd.conf.sample
+ at exec if test ! -f %D/etc/cups/cupsd.conf; then cp -p %D/etc/cups/cupsd.conf.sample %D/etc/cups/cupsd.conf; fi
+ at unexec if cmp -s %D/etc/cups/mime.convs.sample %D/etc/cups/mime.convs; then rm -f %D/etc/cups/mime.convs; fi
+%%ETCDIR%%/mime.convs.sample
+ at exec if test ! -f %D/etc/cups/mime.convs; then cp -p %D/etc/cups/mime.convs.sample %D/etc/cups/mime.convs; fi
+ at unexec if cmp -s %D/etc/cups/mime.types.sample %D/etc/cups/mime.types; then rm -f %D/etc/cups/mime.types; fi
+%%ETCDIR%%/mime.types.sample
+ at exec if test ! -f %D/etc/cups/mime.types; then cp -p %D/etc/cups/mime.types.sample %D/etc/cups/mime.types; fi
+ at unexec if cmp -s %D/etc/cups/snmp.conf.sample %D/etc/cups/snmp.conf; then rm -f %D/etc/cups/snmp.conf; fi
+%%ETCDIR%%/snmp.conf.sample
+ at exec if test ! -f %D/etc/cups/snmp.conf; then cp -p %D/etc/cups/snmp.conf.sample %D/etc/cups/snmp.conf; fi
 @exec chgrp cups %D/etc/cups
 %%WITH_PAMD%%@unexec if cmp -s %D/etc/pam.d/cups.default %D/etc/pam.d/cups; then rm -f %D/etc/pam.d/cups ; fi
 %%WITH_PAMD%%etc/pam.d/cups.default
@@ -45,6 +48,7 @@
 bin/cancel
 bin/cupstestdsc
 bin/cupstestppd
+ at comment bin/ippfind
 bin/ipptool
 bin/lp
 bin/lpoptions
@@ -61,14 +65,11 @@
 bin/ppdpo
 etc/cups/cupsd.conf.default
 include/cups/cgi.h
-include/cups/driver.h
 include/cups/help-index.h
 include/cups/mime.h
 include/cups/ppdc.h
 lib/libcupscgi.so
 lib/libcupscgi.so.1
-lib/libcupsdriver.so
-lib/libcupsdriver.so.1
 lib/libcupsmime.so
 lib/libcupsmime.so.1
 lib/libcupsppdc.so
@@ -79,8 +80,6 @@
 libexec/cups/backend/ipp
 libexec/cups/backend/ipps
 libexec/cups/backend/lpd
-libexec/cups/backend/parallel
-libexec/cups/backend/serial
 libexec/cups/backend/snmp
 libexec/cups/backend/socket
 libexec/cups/backend/usb
@@ -95,17 +94,61 @@
 libexec/cups/daemon/cups-driverd
 libexec/cups/daemon/cups-exec
 libexec/cups/daemon/cups-lpd
-libexec/cups/daemon/cups-polld
-libexec/cups/filter/commandtoescpx
-libexec/cups/filter/commandtopclx
-%%WITH_PDFTOPS%%libexec/cups/filter/pdftops
-libexec/cups/filter/rastertoescpx
-libexec/cups/filter/rastertopclx
 libexec/cups/monitor/bcp
 libexec/cups/monitor/tbcp
 %%WITH_DBUS%%libexec/cups/notifier/dbus
 libexec/cups/notifier/mailto
 libexec/cups/notifier/rss
+man/man1/cancel.1.gz
+man/man1/cupstestdsc.1.gz
+man/man1/cupstestppd.1.gz
+ at comment man/man1/ippfind.1.gz
+man/man1/ipptool.1.gz
+man/man1/lp.1.gz
+man/man1/lpoptions.1.gz
+man/man1/lppasswd.1.gz
+man/man1/lpq.1.gz
+man/man1/lpr.1.gz
+man/man1/lprm.1.gz
+man/man1/lpstat.1.gz
+man/man1/ppdc.1.gz
+man/man1/ppdhtml.1.gz
+man/man1/ppdi.1.gz
+man/man1/ppdmerge.1.gz
+man/man1/ppdpo.1.gz
+man/man5/classes.conf.5.gz
+man/man5/client.conf.5.gz
+man/man5/cups-files.conf.5.gz
+man/man5/cups-snmp.conf.5.gz
+man/man5/cupsd.conf.5.gz
+man/man5/ipptoolfile.5.gz
+man/man5/mailto.conf.5.gz
+man/man5/mime.convs.5.gz
+man/man5/mime.types.5.gz
+man/man5/ppdcfile.5.gz
+man/man5/printers.conf.5.gz
+man/man5/subscriptions.conf.5.gz
+man/man7/backend.7.gz
+man/man7/filter.7.gz
+man/man7/notifier.7.gz
+man/man8/accept.8.gz
+man/man8/cups-deviced.8.gz
+man/man8/cups-driverd.8.gz
+man/man8/cups-lpd.8.gz
+man/man8/cups-snmp.8.gz
+man/man8/cupsaccept.8.gz
+man/man8/cupsaddsmb.8.gz
+man/man8/cupsctl.8.gz
+man/man8/cupsd.8.gz
+man/man8/cupsdisable.8.gz
+man/man8/cupsenable.8.gz
+man/man8/cupsfilter.8.gz
+man/man8/cupsreject.8.gz
+man/man8/lpadmin.8.gz
+man/man8/lpc.8.gz
+man/man8/lpinfo.8.gz
+man/man8/lpmove.8.gz
+man/man8/reject.8.gz
 sbin/accept
 sbin/cupsaccept
 sbin/cupsaddsmb
@@ -115,21 +158,13 @@
 sbin/cupsenable
 sbin/cupsfilter
 sbin/cupsreject
-sbin/ulpt-cupsd.sh
 sbin/lpadmin
 sbin/lpc
 sbin/lpinfo
 sbin/lpmove
 sbin/reject
-%%DATADIR%%/banners/classified
-%%DATADIR%%/banners/confidential
-%%DATADIR%%/banners/secret
-%%DATADIR%%/banners/standard
-%%DATADIR%%/banners/topsecret
-%%DATADIR%%/banners/unclassified
-%%DATADIR%%/charsets/utf-8
-%%DATADIR%%/data/psglyphs
-%%DATADIR%%/data/testprint
+sbin/ulpt-cupsd.sh
+share/applications/cups.desktop
 %%DATADIR%%/drv/sample.drv
 %%DATADIR%%/examples/color.drv
 %%DATADIR%%/examples/constraint.drv
@@ -142,24 +177,118 @@
 %%DATADIR%%/examples/r300-basic.drv
 %%DATADIR%%/examples/r300-colorman.drv
 %%DATADIR%%/examples/r300-remote.drv
-%%DATADIR%%/fonts/Monospace
-%%DATADIR%%/fonts/Monospace-Bold
-%%DATADIR%%/fonts/Monospace-BoldOblique
-%%DATADIR%%/fonts/Monospace-Oblique
+%%DATADIR%%/ipptool/color.jpg
+%%DATADIR%%/ipptool/create-printer-subscription.test
+%%DATADIR%%/ipptool/document-a4.pdf
+%%DATADIR%%/ipptool/document-a4.ps
+%%DATADIR%%/ipptool/document-letter.pdf
+%%DATADIR%%/ipptool/document-letter.ps
+%%DATADIR%%/ipptool/get-completed-jobs.test
+%%DATADIR%%/ipptool/get-jobs.test
+%%DATADIR%%/ipptool/get-notifications.test
+%%DATADIR%%/ipptool/get-printer-attributes.test
+%%DATADIR%%/ipptool/get-subscriptions.test
+%%DATADIR%%/ipptool/gray.jpg
+%%DATADIR%%/ipptool/ipp-1.1.test
+%%DATADIR%%/ipptool/ipp-2.0.test
+%%DATADIR%%/ipptool/ipp-2.1.test
+%%DATADIR%%/ipptool/ipp-2.2.test
+%%DATADIR%%/ipptool/ipp-everywhere.test
+%%DATADIR%%/ipptool/onepage-a4.pdf
+%%DATADIR%%/ipptool/onepage-a4.ps
+%%DATADIR%%/ipptool/onepage-letter.pdf
+%%DATADIR%%/ipptool/onepage-letter.ps
+%%DATADIR%%/ipptool/print-job-deflate.test
+%%DATADIR%%/ipptool/print-job-gzip.test
+%%DATADIR%%/ipptool/print-job.test
+%%DATADIR%%/ipptool/testfile.jpg
+%%DATADIR%%/ipptool/testfile.pcl
+%%DATADIR%%/ipptool/testfile.pdf
+%%DATADIR%%/ipptool/testfile.ps
+%%DATADIR%%/ipptool/testfile.txt
+%%DATADIR%%/ipptool/validate-job.test
 %%DATADIR%%/mime/mime.convs
 %%DATADIR%%/mime/mime.types
 %%DATADIR%%/ppdc/epson.h
-%%DATADIR%%/ppdc/escp.h
 %%DATADIR%%/ppdc/font.defs
 %%DATADIR%%/ppdc/hp.h
 %%DATADIR%%/ppdc/label.h
 %%DATADIR%%/ppdc/media.defs
-%%DATADIR%%/ppdc/pcl.h
 %%DATADIR%%/ppdc/raster.defs
 %%DATADIR%%/templates/add-class.tmpl
 %%DATADIR%%/templates/add-printer.tmpl
 %%DATADIR%%/templates/add-rss-subscription.tmpl
 %%DATADIR%%/templates/admin.tmpl
+%%DATADIR%%/templates/ca/add-class.tmpl
+%%DATADIR%%/templates/ca/add-printer.tmpl
+%%DATADIR%%/templates/ca/add-rss-subscription.tmpl
+%%DATADIR%%/templates/ca/admin.tmpl
+%%DATADIR%%/templates/ca/choose-device.tmpl
+%%DATADIR%%/templates/ca/choose-make.tmpl
+%%DATADIR%%/templates/ca/choose-model.tmpl
+%%DATADIR%%/templates/ca/choose-serial.tmpl
+%%DATADIR%%/templates/ca/choose-uri.tmpl
+%%DATADIR%%/templates/ca/class-added.tmpl
+%%DATADIR%%/templates/ca/class-confirm.tmpl
+%%DATADIR%%/templates/ca/class-deleted.tmpl
+%%DATADIR%%/templates/ca/class-jobs-header.tmpl
+%%DATADIR%%/templates/ca/class-modified.tmpl
+%%DATADIR%%/templates/ca/class.tmpl
+%%DATADIR%%/templates/ca/classes-header.tmpl
+%%DATADIR%%/templates/ca/classes.tmpl
+%%DATADIR%%/templates/ca/command.tmpl
+%%DATADIR%%/templates/ca/edit-config.tmpl
+%%DATADIR%%/templates/ca/error-op.tmpl
+%%DATADIR%%/templates/ca/error.tmpl
+%%DATADIR%%/templates/ca/header.tmpl
+%%DATADIR%%/templates/ca/help-header.tmpl
+%%DATADIR%%/templates/ca/help-printable.tmpl
+%%DATADIR%%/templates/ca/help-trailer.tmpl
+%%DATADIR%%/templates/ca/job-cancel.tmpl
+%%DATADIR%%/templates/ca/job-hold.tmpl
+%%DATADIR%%/templates/ca/job-move.tmpl
+%%DATADIR%%/templates/ca/job-moved.tmpl
+%%DATADIR%%/templates/ca/job-release.tmpl
+%%DATADIR%%/templates/ca/job-restart.tmpl
+%%DATADIR%%/templates/ca/jobs-header.tmpl
+%%DATADIR%%/templates/ca/jobs.tmpl
+%%DATADIR%%/templates/ca/list-available-printers.tmpl
+%%DATADIR%%/templates/ca/modify-class.tmpl
+%%DATADIR%%/templates/ca/modify-printer.tmpl
+%%DATADIR%%/templates/ca/norestart.tmpl
+%%DATADIR%%/templates/ca/option-boolean.tmpl
+%%DATADIR%%/templates/ca/option-conflict.tmpl
+%%DATADIR%%/templates/ca/option-header.tmpl
+%%DATADIR%%/templates/ca/option-pickmany.tmpl
+%%DATADIR%%/templates/ca/option-pickone.tmpl
+%%DATADIR%%/templates/ca/option-trailer.tmpl
+%%DATADIR%%/templates/ca/pager.tmpl
+%%DATADIR%%/templates/ca/printer-accept.tmpl
+%%DATADIR%%/templates/ca/printer-added.tmpl
+%%DATADIR%%/templates/ca/printer-configured.tmpl
+%%DATADIR%%/templates/ca/printer-confirm.tmpl
+%%DATADIR%%/templates/ca/printer-default.tmpl
+%%DATADIR%%/templates/ca/printer-deleted.tmpl
+%%DATADIR%%/templates/ca/printer-jobs-header.tmpl
+%%DATADIR%%/templates/ca/printer-modified.tmpl
+%%DATADIR%%/templates/ca/printer-purge.tmpl
+%%DATADIR%%/templates/ca/printer-reject.tmpl
+%%DATADIR%%/templates/ca/printer-start.tmpl
+%%DATADIR%%/templates/ca/printer-stop.tmpl
+%%DATADIR%%/templates/ca/printer.tmpl
+%%DATADIR%%/templates/ca/printers-header.tmpl
+%%DATADIR%%/templates/ca/printers.tmpl
+%%DATADIR%%/templates/ca/restart.tmpl
+%%DATADIR%%/templates/ca/samba-export.tmpl
+%%DATADIR%%/templates/ca/samba-exported.tmpl
+%%DATADIR%%/templates/ca/search.tmpl
+%%DATADIR%%/templates/ca/set-printer-options-header.tmpl
+%%DATADIR%%/templates/ca/set-printer-options-trailer.tmpl
+%%DATADIR%%/templates/ca/subscription-added.tmpl
+%%DATADIR%%/templates/ca/subscription-canceled.tmpl
+%%DATADIR%%/templates/ca/test-page.tmpl
+%%DATADIR%%/templates/ca/trailer.tmpl
+%%DATADIR%%/templates/ca/users.tmpl
 %%DATADIR%%/templates/choose-device.tmpl
 %%DATADIR%%/templates/choose-make.tmpl
 %%DATADIR%%/templates/choose-model.tmpl
@@ -174,76 +303,76 @@
 %%DATADIR%%/templates/classes-header.tmpl
 %%DATADIR%%/templates/classes.tmpl
 %%DATADIR%%/templates/command.tmpl
-%%DATADIR%%/templates/de/add-class.tmpl
-%%DATADIR%%/templates/de/add-printer.tmpl
-%%DATADIR%%/templates/de/add-rss-subscription.tmpl
-%%DATADIR%%/templates/de/admin.tmpl
-%%DATADIR%%/templates/de/choose-device.tmpl
-%%DATADIR%%/templates/de/choose-make.tmpl
-%%DATADIR%%/templates/de/choose-model.tmpl
-%%DATADIR%%/templates/de/choose-serial.tmpl
-%%DATADIR%%/templates/de/choose-uri.tmpl
-%%DATADIR%%/templates/de/class-added.tmpl
-%%DATADIR%%/templates/de/class-confirm.tmpl
-%%DATADIR%%/templates/de/class-deleted.tmpl
-%%DATADIR%%/templates/de/class-jobs-header.tmpl
-%%DATADIR%%/templates/de/class-modified.tmpl
-%%DATADIR%%/templates/de/class.tmpl
-%%DATADIR%%/templates/de/classes-header.tmpl
-%%DATADIR%%/templates/de/classes.tmpl
-%%DATADIR%%/templates/de/command.tmpl
-%%DATADIR%%/templates/de/edit-config.tmpl
-%%DATADIR%%/templates/de/error-op.tmpl
-%%DATADIR%%/templates/de/error.tmpl
-%%DATADIR%%/templates/de/header.tmpl
-%%DATADIR%%/templates/de/help-header.tmpl
-%%DATADIR%%/templates/de/help-trailer.tmpl
-%%DATADIR%%/templates/de/help-printable.tmpl
-%%DATADIR%%/templates/de/job-cancel.tmpl
-%%DATADIR%%/templates/de/job-hold.tmpl
-%%DATADIR%%/templates/de/job-move.tmpl
-%%DATADIR%%/templates/de/job-moved.tmpl
-%%DATADIR%%/templates/de/job-release.tmpl
-%%DATADIR%%/templates/de/job-restart.tmpl
-%%DATADIR%%/templates/de/jobs-header.tmpl
-%%DATADIR%%/templates/de/jobs.tmpl
-%%DATADIR%%/templates/de/list-available-printers.tmpl
-%%DATADIR%%/templates/de/modify-class.tmpl
-%%DATADIR%%/templates/de/modify-printer.tmpl
-%%DATADIR%%/templates/de/norestart.tmpl
-%%DATADIR%%/templates/de/option-boolean.tmpl
-%%DATADIR%%/templates/de/option-conflict.tmpl
-%%DATADIR%%/templates/de/option-header.tmpl
-%%DATADIR%%/templates/de/option-pickmany.tmpl
-%%DATADIR%%/templates/de/option-pickone.tmpl
-%%DATADIR%%/templates/de/option-trailer.tmpl
-%%DATADIR%%/templates/de/pager.tmpl
-%%DATADIR%%/templates/de/printer-accept.tmpl
-%%DATADIR%%/templates/de/printer-added.tmpl
-%%DATADIR%%/templates/de/printer-configured.tmpl
-%%DATADIR%%/templates/de/printer-confirm.tmpl
-%%DATADIR%%/templates/de/printer-default.tmpl
-%%DATADIR%%/templates/de/printer-deleted.tmpl
-%%DATADIR%%/templates/de/printer-jobs-header.tmpl
-%%DATADIR%%/templates/de/printer-modified.tmpl
-%%DATADIR%%/templates/de/printer-purge.tmpl
-%%DATADIR%%/templates/de/printer-reject.tmpl
-%%DATADIR%%/templates/de/printer-start.tmpl
-%%DATADIR%%/templates/de/printer-stop.tmpl
-%%DATADIR%%/templates/de/printer.tmpl
-%%DATADIR%%/templates/de/printers-header.tmpl
-%%DATADIR%%/templates/de/printers.tmpl
-%%DATADIR%%/templates/de/restart.tmpl
-%%DATADIR%%/templates/de/samba-export.tmpl
-%%DATADIR%%/templates/de/samba-exported.tmpl
-%%DATADIR%%/templates/de/search.tmpl
-%%DATADIR%%/templates/de/set-printer-options-header.tmpl
-%%DATADIR%%/templates/de/set-printer-options-trailer.tmpl
-%%DATADIR%%/templates/de/subscription-added.tmpl
-%%DATADIR%%/templates/de/subscription-canceled.tmpl
-%%DATADIR%%/templates/de/test-page.tmpl
-%%DATADIR%%/templates/de/trailer.tmpl
-%%DATADIR%%/templates/de/users.tmpl
+%%DATADIR%%/templates/cs/add-class.tmpl
+%%DATADIR%%/templates/cs/add-printer.tmpl
+%%DATADIR%%/templates/cs/add-rss-subscription.tmpl
+%%DATADIR%%/templates/cs/admin.tmpl
+%%DATADIR%%/templates/cs/choose-device.tmpl
+%%DATADIR%%/templates/cs/choose-make.tmpl
+%%DATADIR%%/templates/cs/choose-model.tmpl
+%%DATADIR%%/templates/cs/choose-serial.tmpl
+%%DATADIR%%/templates/cs/choose-uri.tmpl
+%%DATADIR%%/templates/cs/class-added.tmpl
+%%DATADIR%%/templates/cs/class-confirm.tmpl
+%%DATADIR%%/templates/cs/class-deleted.tmpl
+%%DATADIR%%/templates/cs/class-jobs-header.tmpl
+%%DATADIR%%/templates/cs/class-modified.tmpl
+%%DATADIR%%/templates/cs/class.tmpl
+%%DATADIR%%/templates/cs/classes-header.tmpl
+%%DATADIR%%/templates/cs/classes.tmpl
+%%DATADIR%%/templates/cs/command.tmpl
+%%DATADIR%%/templates/cs/edit-config.tmpl
+%%DATADIR%%/templates/cs/error-op.tmpl
+%%DATADIR%%/templates/cs/error.tmpl
+%%DATADIR%%/templates/cs/header.tmpl
+%%DATADIR%%/templates/cs/help-header.tmpl
+%%DATADIR%%/templates/cs/help-printable.tmpl
+%%DATADIR%%/templates/cs/help-trailer.tmpl
+%%DATADIR%%/templates/cs/job-cancel.tmpl
+%%DATADIR%%/templates/cs/job-hold.tmpl
+%%DATADIR%%/templates/cs/job-move.tmpl
+%%DATADIR%%/templates/cs/job-moved.tmpl
+%%DATADIR%%/templates/cs/job-release.tmpl
+%%DATADIR%%/templates/cs/job-restart.tmpl
+%%DATADIR%%/templates/cs/jobs-header.tmpl
+%%DATADIR%%/templates/cs/jobs.tmpl
+%%DATADIR%%/templates/cs/list-available-printers.tmpl
+%%DATADIR%%/templates/cs/modify-class.tmpl
+%%DATADIR%%/templates/cs/modify-printer.tmpl
+%%DATADIR%%/templates/cs/norestart.tmpl
+%%DATADIR%%/templates/cs/option-boolean.tmpl
+%%DATADIR%%/templates/cs/option-conflict.tmpl
+%%DATADIR%%/templates/cs/option-header.tmpl
+%%DATADIR%%/templates/cs/option-pickmany.tmpl
+%%DATADIR%%/templates/cs/option-pickone.tmpl
+%%DATADIR%%/templates/cs/option-trailer.tmpl
+%%DATADIR%%/templates/cs/pager.tmpl
+%%DATADIR%%/templates/cs/printer-accept.tmpl
+%%DATADIR%%/templates/cs/printer-added.tmpl
+%%DATADIR%%/templates/cs/printer-configured.tmpl
+%%DATADIR%%/templates/cs/printer-confirm.tmpl
+%%DATADIR%%/templates/cs/printer-default.tmpl
+%%DATADIR%%/templates/cs/printer-deleted.tmpl
+%%DATADIR%%/templates/cs/printer-jobs-header.tmpl
+%%DATADIR%%/templates/cs/printer-modified.tmpl
+%%DATADIR%%/templates/cs/printer-purge.tmpl
+%%DATADIR%%/templates/cs/printer-reject.tmpl
+%%DATADIR%%/templates/cs/printer-start.tmpl
+%%DATADIR%%/templates/cs/printer-stop.tmpl
+%%DATADIR%%/templates/cs/printer.tmpl
+%%DATADIR%%/templates/cs/printers-header.tmpl
+%%DATADIR%%/templates/cs/printers.tmpl
+%%DATADIR%%/templates/cs/restart.tmpl
+%%DATADIR%%/templates/cs/samba-export.tmpl
+%%DATADIR%%/templates/cs/samba-exported.tmpl
+%%DATADIR%%/templates/cs/search.tmpl
+%%DATADIR%%/templates/cs/set-printer-options-header.tmpl
+%%DATADIR%%/templates/cs/set-printer-options-trailer.tmpl
+%%DATADIR%%/templates/cs/subscription-added.tmpl
+%%DATADIR%%/templates/cs/subscription-canceled.tmpl
+%%DATADIR%%/templates/cs/test-page.tmpl
+%%DATADIR%%/templates/cs/trailer.tmpl
+%%DATADIR%%/templates/cs/users.tmpl
 %%DATADIR%%/templates/edit-config.tmpl
 %%DATADIR%%/templates/error-op.tmpl
 %%DATADIR%%/templates/error.tmpl
@@ -317,76 +446,6 @@
 %%DATADIR%%/templates/es/test-page.tmpl
 %%DATADIR%%/templates/es/trailer.tmpl
 %%DATADIR%%/templates/es/users.tmpl
-%%DATADIR%%/templates/eu/add-class.tmpl
-%%DATADIR%%/templates/eu/add-printer.tmpl
-%%DATADIR%%/templates/eu/add-rss-subscription.tmpl
-%%DATADIR%%/templates/eu/admin.tmpl
-%%DATADIR%%/templates/eu/choose-device.tmpl
-%%DATADIR%%/templates/eu/choose-make.tmpl
-%%DATADIR%%/templates/eu/choose-model.tmpl
-%%DATADIR%%/templates/eu/choose-serial.tmpl
-%%DATADIR%%/templates/eu/choose-uri.tmpl
-%%DATADIR%%/templates/eu/class-added.tmpl
-%%DATADIR%%/templates/eu/class-confirm.tmpl
-%%DATADIR%%/templates/eu/class-deleted.tmpl
-%%DATADIR%%/templates/eu/class-jobs-header.tmpl
-%%DATADIR%%/templates/eu/class-modified.tmpl
-%%DATADIR%%/templates/eu/class.tmpl
-%%DATADIR%%/templates/eu/classes-header.tmpl
-%%DATADIR%%/templates/eu/classes.tmpl
-%%DATADIR%%/templates/eu/command.tmpl
-%%DATADIR%%/templates/eu/edit-config.tmpl
-%%DATADIR%%/templates/eu/error-op.tmpl
-%%DATADIR%%/templates/eu/error.tmpl
-%%DATADIR%%/templates/eu/header.tmpl
-%%DATADIR%%/templates/eu/help-header.tmpl
-%%DATADIR%%/templates/eu/help-printable.tmpl
-%%DATADIR%%/templates/eu/help-trailer.tmpl
-%%DATADIR%%/templates/eu/job-cancel.tmpl
-%%DATADIR%%/templates/eu/job-hold.tmpl
-%%DATADIR%%/templates/eu/job-move.tmpl
-%%DATADIR%%/templates/eu/job-moved.tmpl
-%%DATADIR%%/templates/eu/job-release.tmpl
-%%DATADIR%%/templates/eu/job-restart.tmpl
-%%DATADIR%%/templates/eu/jobs-header.tmpl
-%%DATADIR%%/templates/eu/jobs.tmpl
-%%DATADIR%%/templates/eu/list-available-printers.tmpl
-%%DATADIR%%/templates/eu/modify-class.tmpl
-%%DATADIR%%/templates/eu/modify-printer.tmpl
-%%DATADIR%%/templates/eu/norestart.tmpl
-%%DATADIR%%/templates/eu/option-boolean.tmpl
-%%DATADIR%%/templates/eu/option-conflict.tmpl
-%%DATADIR%%/templates/eu/option-header.tmpl
-%%DATADIR%%/templates/eu/option-pickmany.tmpl
-%%DATADIR%%/templates/eu/option-pickone.tmpl
-%%DATADIR%%/templates/eu/option-trailer.tmpl
-%%DATADIR%%/templates/eu/pager.tmpl
-%%DATADIR%%/templates/eu/printer-accept.tmpl
-%%DATADIR%%/templates/eu/printer-added.tmpl
-%%DATADIR%%/templates/eu/printer-configured.tmpl
-%%DATADIR%%/templates/eu/printer-confirm.tmpl
-%%DATADIR%%/templates/eu/printer-default.tmpl
-%%DATADIR%%/templates/eu/printer-deleted.tmpl
-%%DATADIR%%/templates/eu/printer-jobs-header.tmpl
-%%DATADIR%%/templates/eu/printer-modified.tmpl
-%%DATADIR%%/templates/eu/printer-purge.tmpl
-%%DATADIR%%/templates/eu/printer-reject.tmpl
-%%DATADIR%%/templates/eu/printer-start.tmpl
-%%DATADIR%%/templates/eu/printer-stop.tmpl
-%%DATADIR%%/templates/eu/printer.tmpl
-%%DATADIR%%/templates/eu/printers-header.tmpl
-%%DATADIR%%/templates/eu/printers.tmpl
-%%DATADIR%%/templates/eu/restart.tmpl
-%%DATADIR%%/templates/eu/samba-export.tmpl
-%%DATADIR%%/templates/eu/samba-exported.tmpl
-%%DATADIR%%/templates/eu/search.tmpl
-%%DATADIR%%/templates/eu/set-printer-options-header.tmpl
-%%DATADIR%%/templates/eu/set-printer-options-trailer.tmpl
-%%DATADIR%%/templates/eu/subscription-added.tmpl
-%%DATADIR%%/templates/eu/subscription-canceled.tmpl
-%%DATADIR%%/templates/eu/test-page.tmpl
-%%DATADIR%%/templates/eu/trailer.tmpl
-%%DATADIR%%/templates/eu/users.tmpl
 %%DATADIR%%/templates/fr/add-class.tmpl
 %%DATADIR%%/templates/fr/add-printer.tmpl
 %%DATADIR%%/templates/fr/add-rss-subscription.tmpl
@@ -396,22 +455,22 @@
 %%DATADIR%%/templates/fr/choose-model.tmpl
 %%DATADIR%%/templates/fr/choose-serial.tmpl
 %%DATADIR%%/templates/fr/choose-uri.tmpl
-%%DATADIR%%/templates/fr/class.tmpl
 %%DATADIR%%/templates/fr/class-added.tmpl
 %%DATADIR%%/templates/fr/class-confirm.tmpl
 %%DATADIR%%/templates/fr/class-deleted.tmpl
 %%DATADIR%%/templates/fr/class-jobs-header.tmpl
 %%DATADIR%%/templates/fr/class-modified.tmpl
+%%DATADIR%%/templates/fr/class.tmpl
+%%DATADIR%%/templates/fr/classes-header.tmpl
 %%DATADIR%%/templates/fr/classes.tmpl
-%%DATADIR%%/templates/fr/classes-header.tmpl
 %%DATADIR%%/templates/fr/command.tmpl
 %%DATADIR%%/templates/fr/edit-config.tmpl
+%%DATADIR%%/templates/fr/error-op.tmpl
 %%DATADIR%%/templates/fr/error.tmpl
-%%DATADIR%%/templates/fr/error-op.tmpl
 %%DATADIR%%/templates/fr/header.tmpl
 %%DATADIR%%/templates/fr/help-header.tmpl
+%%DATADIR%%/templates/fr/help-printable.tmpl
 %%DATADIR%%/templates/fr/help-trailer.tmpl
-%%DATADIR%%/templates/fr/help-printable.tmpl
 %%DATADIR%%/templates/fr/job-cancel.tmpl
 %%DATADIR%%/templates/fr/job-hold.tmpl
 %%DATADIR%%/templates/fr/job-move.tmpl
@@ -418,8 +477,8 @@
 %%DATADIR%%/templates/fr/job-moved.tmpl
 %%DATADIR%%/templates/fr/job-release.tmpl
 %%DATADIR%%/templates/fr/job-restart.tmpl
+%%DATADIR%%/templates/fr/jobs-header.tmpl
 %%DATADIR%%/templates/fr/jobs.tmpl
-%%DATADIR%%/templates/fr/jobs-header.tmpl
 %%DATADIR%%/templates/fr/list-available-printers.tmpl
 %%DATADIR%%/templates/fr/modify-class.tmpl
 %%DATADIR%%/templates/fr/modify-printer.tmpl
@@ -431,7 +490,6 @@
 %%DATADIR%%/templates/fr/option-pickone.tmpl
 %%DATADIR%%/templates/fr/option-trailer.tmpl
 %%DATADIR%%/templates/fr/pager.tmpl
-%%DATADIR%%/templates/fr/printer.tmpl
 %%DATADIR%%/templates/fr/printer-accept.tmpl
 %%DATADIR%%/templates/fr/printer-added.tmpl
 %%DATADIR%%/templates/fr/printer-configured.tmpl
@@ -444,8 +502,9 @@
 %%DATADIR%%/templates/fr/printer-reject.tmpl
 %%DATADIR%%/templates/fr/printer-start.tmpl
 %%DATADIR%%/templates/fr/printer-stop.tmpl
+%%DATADIR%%/templates/fr/printer.tmpl
+%%DATADIR%%/templates/fr/printers-header.tmpl
 %%DATADIR%%/templates/fr/printers.tmpl
-%%DATADIR%%/templates/fr/printers-header.tmpl
 %%DATADIR%%/templates/fr/restart.tmpl
 %%DATADIR%%/templates/fr/samba-export.tmpl
 %%DATADIR%%/templates/fr/samba-exported.tmpl
@@ -457,150 +516,10 @@
 %%DATADIR%%/templates/fr/test-page.tmpl
 %%DATADIR%%/templates/fr/trailer.tmpl
 %%DATADIR%%/templates/fr/users.tmpl
-%%DATADIR%%/templates/hu/add-class.tmpl
-%%DATADIR%%/templates/hu/add-printer.tmpl
-%%DATADIR%%/templates/hu/add-rss-subscription.tmpl
-%%DATADIR%%/templates/hu/admin.tmpl
-%%DATADIR%%/templates/hu/choose-device.tmpl
-%%DATADIR%%/templates/hu/choose-make.tmpl
-%%DATADIR%%/templates/hu/choose-model.tmpl
-%%DATADIR%%/templates/hu/choose-serial.tmpl
-%%DATADIR%%/templates/hu/choose-uri.tmpl
-%%DATADIR%%/templates/hu/class.tmpl
-%%DATADIR%%/templates/hu/class-added.tmpl
-%%DATADIR%%/templates/hu/class-confirm.tmpl
-%%DATADIR%%/templates/hu/class-deleted.tmpl
-%%DATADIR%%/templates/hu/class-jobs-header.tmpl
-%%DATADIR%%/templates/hu/class-modified.tmpl
-%%DATADIR%%/templates/hu/classes.tmpl
-%%DATADIR%%/templates/hu/classes-header.tmpl
-%%DATADIR%%/templates/hu/command.tmpl
-%%DATADIR%%/templates/hu/edit-config.tmpl
-%%DATADIR%%/templates/hu/error.tmpl
-%%DATADIR%%/templates/hu/error-op.tmpl
-%%DATADIR%%/templates/hu/header.tmpl
-%%DATADIR%%/templates/hu/help-header.tmpl
-%%DATADIR%%/templates/hu/help-trailer.tmpl
-%%DATADIR%%/templates/hu/help-printable.tmpl
-%%DATADIR%%/templates/hu/job-cancel.tmpl
-%%DATADIR%%/templates/hu/job-hold.tmpl
-%%DATADIR%%/templates/hu/job-move.tmpl
-%%DATADIR%%/templates/hu/job-moved.tmpl
-%%DATADIR%%/templates/hu/job-release.tmpl
-%%DATADIR%%/templates/hu/job-restart.tmpl
-%%DATADIR%%/templates/hu/jobs.tmpl
-%%DATADIR%%/templates/hu/jobs-header.tmpl
-%%DATADIR%%/templates/hu/list-available-printers.tmpl
-%%DATADIR%%/templates/hu/modify-class.tmpl
-%%DATADIR%%/templates/hu/modify-printer.tmpl
-%%DATADIR%%/templates/hu/norestart.tmpl
-%%DATADIR%%/templates/hu/option-boolean.tmpl
-%%DATADIR%%/templates/hu/option-conflict.tmpl
-%%DATADIR%%/templates/hu/option-header.tmpl
-%%DATADIR%%/templates/hu/option-pickmany.tmpl
-%%DATADIR%%/templates/hu/option-pickone.tmpl
-%%DATADIR%%/templates/hu/option-trailer.tmpl
-%%DATADIR%%/templates/hu/pager.tmpl
-%%DATADIR%%/templates/hu/printer.tmpl
-%%DATADIR%%/templates/hu/printer-accept.tmpl
-%%DATADIR%%/templates/hu/printer-added.tmpl
-%%DATADIR%%/templates/hu/printer-configured.tmpl
-%%DATADIR%%/templates/hu/printer-confirm.tmpl
-%%DATADIR%%/templates/hu/printer-default.tmpl
-%%DATADIR%%/templates/hu/printer-deleted.tmpl
-%%DATADIR%%/templates/hu/printer-jobs-header.tmpl
-%%DATADIR%%/templates/hu/printer-modified.tmpl
-%%DATADIR%%/templates/hu/printer-purge.tmpl
-%%DATADIR%%/templates/hu/printer-reject.tmpl
-%%DATADIR%%/templates/hu/printer-start.tmpl
-%%DATADIR%%/templates/hu/printer-stop.tmpl
-%%DATADIR%%/templates/hu/printers.tmpl
-%%DATADIR%%/templates/hu/printers-header.tmpl
-%%DATADIR%%/templates/hu/restart.tmpl
-%%DATADIR%%/templates/hu/samba-export.tmpl
-%%DATADIR%%/templates/hu/samba-exported.tmpl
-%%DATADIR%%/templates/hu/search.tmpl
-%%DATADIR%%/templates/hu/set-printer-options-header.tmpl
-%%DATADIR%%/templates/hu/set-printer-options-trailer.tmpl
-%%DATADIR%%/templates/hu/subscription-added.tmpl
-%%DATADIR%%/templates/hu/subscription-canceled.tmpl
-%%DATADIR%%/templates/hu/test-page.tmpl
-%%DATADIR%%/templates/hu/trailer.tmpl
-%%DATADIR%%/templates/hu/users.tmpl
 %%DATADIR%%/templates/header.tmpl
 %%DATADIR%%/templates/help-header.tmpl
 %%DATADIR%%/templates/help-printable.tmpl
 %%DATADIR%%/templates/help-trailer.tmpl
-%%DATADIR%%/templates/id/add-class.tmpl
-%%DATADIR%%/templates/id/add-printer.tmpl
-%%DATADIR%%/templates/id/add-rss-subscription.tmpl
-%%DATADIR%%/templates/id/admin.tmpl
-%%DATADIR%%/templates/id/choose-device.tmpl
-%%DATADIR%%/templates/id/choose-make.tmpl
-%%DATADIR%%/templates/id/choose-model.tmpl
-%%DATADIR%%/templates/id/choose-serial.tmpl
-%%DATADIR%%/templates/id/choose-uri.tmpl
-%%DATADIR%%/templates/id/class-added.tmpl
-%%DATADIR%%/templates/id/class-confirm.tmpl
-%%DATADIR%%/templates/id/class-deleted.tmpl
-%%DATADIR%%/templates/id/class-jobs-header.tmpl
-%%DATADIR%%/templates/id/class-modified.tmpl
-%%DATADIR%%/templates/id/class.tmpl
-%%DATADIR%%/templates/id/classes-header.tmpl
-%%DATADIR%%/templates/id/classes.tmpl
-%%DATADIR%%/templates/id/command.tmpl
-%%DATADIR%%/templates/id/edit-config.tmpl
-%%DATADIR%%/templates/id/error-op.tmpl
-%%DATADIR%%/templates/id/error.tmpl
-%%DATADIR%%/templates/id/header.tmpl
-%%DATADIR%%/templates/id/help-header.tmpl
-%%DATADIR%%/templates/id/help-printable.tmpl
-%%DATADIR%%/templates/id/help-trailer.tmpl
-%%DATADIR%%/templates/id/job-cancel.tmpl
-%%DATADIR%%/templates/id/job-hold.tmpl
-%%DATADIR%%/templates/id/job-move.tmpl
-%%DATADIR%%/templates/id/job-moved.tmpl
-%%DATADIR%%/templates/id/job-release.tmpl
-%%DATADIR%%/templates/id/job-restart.tmpl
-%%DATADIR%%/templates/id/jobs-header.tmpl
-%%DATADIR%%/templates/id/jobs.tmpl
-%%DATADIR%%/templates/id/list-available-printers.tmpl
-%%DATADIR%%/templates/id/modify-class.tmpl
-%%DATADIR%%/templates/id/modify-printer.tmpl
-%%DATADIR%%/templates/id/norestart.tmpl
-%%DATADIR%%/templates/id/option-boolean.tmpl
-%%DATADIR%%/templates/id/option-conflict.tmpl
-%%DATADIR%%/templates/id/option-header.tmpl
-%%DATADIR%%/templates/id/option-pickmany.tmpl
-%%DATADIR%%/templates/id/option-pickone.tmpl
-%%DATADIR%%/templates/id/option-trailer.tmpl
-%%DATADIR%%/templates/id/pager.tmpl
-%%DATADIR%%/templates/id/printer-accept.tmpl
-%%DATADIR%%/templates/id/printer-added.tmpl
-%%DATADIR%%/templates/id/printer-configured.tmpl
-%%DATADIR%%/templates/id/printer-confirm.tmpl
-%%DATADIR%%/templates/id/printer-default.tmpl
-%%DATADIR%%/templates/id/printer-deleted.tmpl
-%%DATADIR%%/templates/id/printer-jobs-header.tmpl
-%%DATADIR%%/templates/id/printer-modified.tmpl
-%%DATADIR%%/templates/id/printer-purge.tmpl
-%%DATADIR%%/templates/id/printer-reject.tmpl
-%%DATADIR%%/templates/id/printer-start.tmpl
-%%DATADIR%%/templates/id/printer-stop.tmpl
-%%DATADIR%%/templates/id/printer.tmpl
-%%DATADIR%%/templates/id/printers-header.tmpl
-%%DATADIR%%/templates/id/printers.tmpl
-%%DATADIR%%/templates/id/restart.tmpl
-%%DATADIR%%/templates/id/samba-export.tmpl
-%%DATADIR%%/templates/id/samba-exported.tmpl
-%%DATADIR%%/templates/id/search.tmpl
-%%DATADIR%%/templates/id/set-printer-options-header.tmpl
-%%DATADIR%%/templates/id/set-printer-options-trailer.tmpl
-%%DATADIR%%/templates/id/subscription-added.tmpl
-%%DATADIR%%/templates/id/subscription-canceled.tmpl
-%%DATADIR%%/templates/id/test-page.tmpl
-%%DATADIR%%/templates/id/trailer.tmpl
-%%DATADIR%%/templates/id/users.tmpl
 %%DATADIR%%/templates/it/add-class.tmpl
 %%DATADIR%%/templates/it/add-printer.tmpl
 %%DATADIR%%/templates/it/add-rss-subscription.tmpl
@@ -622,6 +541,7 @@
 %%DATADIR%%/templates/it/edit-config.tmpl
 %%DATADIR%%/templates/it/error-op.tmpl
 %%DATADIR%%/templates/it/error.tmpl
+%%DATADIR%%/templates/it/header.tmpl
 %%DATADIR%%/templates/it/help-header.tmpl
 %%DATADIR%%/templates/it/help-printable.tmpl
 %%DATADIR%%/templates/it/help-trailer.tmpl
@@ -759,74 +679,6 @@
 %%DATADIR%%/templates/option-pickone.tmpl
 %%DATADIR%%/templates/option-trailer.tmpl
 %%DATADIR%%/templates/pager.tmpl
-%%DATADIR%%/templates/pl/add-class.tmpl
-%%DATADIR%%/templates/pl/add-printer.tmpl
-%%DATADIR%%/templates/pl/add-rss-subscription.tmpl
-%%DATADIR%%/templates/pl/admin.tmpl
-%%DATADIR%%/templates/pl/choose-device.tmpl
-%%DATADIR%%/templates/pl/choose-make.tmpl
-%%DATADIR%%/templates/pl/choose-model.tmpl
-%%DATADIR%%/templates/pl/choose-serial.tmpl
-%%DATADIR%%/templates/pl/choose-uri.tmpl
-%%DATADIR%%/templates/pl/class-added.tmpl
-%%DATADIR%%/templates/pl/class-confirm.tmpl
-%%DATADIR%%/templates/pl/class-deleted.tmpl
-%%DATADIR%%/templates/pl/class-jobs-header.tmpl
-%%DATADIR%%/templates/pl/class-modified.tmpl
-%%DATADIR%%/templates/pl/class.tmpl
-%%DATADIR%%/templates/pl/classes-header.tmpl
-%%DATADIR%%/templates/pl/classes.tmpl
-%%DATADIR%%/templates/pl/command.tmpl
-%%DATADIR%%/templates/pl/edit-config.tmpl
-%%DATADIR%%/templates/pl/error-op.tmpl
-%%DATADIR%%/templates/pl/error.tmpl
-%%DATADIR%%/templates/pl/header.tmpl
-%%DATADIR%%/templates/pl/help-header.tmpl
-%%DATADIR%%/templates/pl/help-printable.tmpl
-%%DATADIR%%/templates/pl/help-trailer.tmpl
-%%DATADIR%%/templates/pl/job-cancel.tmpl
-%%DATADIR%%/templates/pl/job-hold.tmpl
-%%DATADIR%%/templates/pl/job-move.tmpl
-%%DATADIR%%/templates/pl/job-moved.tmpl
-%%DATADIR%%/templates/pl/job-release.tmpl
-%%DATADIR%%/templates/pl/job-restart.tmpl
-%%DATADIR%%/templates/pl/jobs-header.tmpl
-%%DATADIR%%/templates/pl/jobs.tmpl
-%%DATADIR%%/templates/pl/list-available-printers.tmpl
-%%DATADIR%%/templates/pl/modify-class.tmpl
-%%DATADIR%%/templates/pl/modify-printer.tmpl
-%%DATADIR%%/templates/pl/option-boolean.tmpl
-%%DATADIR%%/templates/pl/option-conflict.tmpl
-%%DATADIR%%/templates/pl/option-header.tmpl
-%%DATADIR%%/templates/pl/option-pickmany.tmpl
-%%DATADIR%%/templates/pl/option-pickone.tmpl
-%%DATADIR%%/templates/pl/option-trailer.tmpl
-%%DATADIR%%/templates/pl/pager.tmpl
-%%DATADIR%%/templates/pl/printer-accept.tmpl
-%%DATADIR%%/templates/pl/printer-added.tmpl
-%%DATADIR%%/templates/pl/printer-configured.tmpl
-%%DATADIR%%/templates/pl/printer-confirm.tmpl
-%%DATADIR%%/templates/pl/printer-default.tmpl
-%%DATADIR%%/templates/pl/printer-deleted.tmpl
-%%DATADIR%%/templates/pl/printer-jobs-header.tmpl
-%%DATADIR%%/templates/pl/printer-modified.tmpl
-%%DATADIR%%/templates/pl/printer-purge.tmpl
-%%DATADIR%%/templates/pl/printer-reject.tmpl
-%%DATADIR%%/templates/pl/printer-start.tmpl
-%%DATADIR%%/templates/pl/printer-stop.tmpl
-%%DATADIR%%/templates/pl/printers-header.tmpl
-%%DATADIR%%/templates/pl/printers.tmpl
-%%DATADIR%%/templates/pl/restart.tmpl
-%%DATADIR%%/templates/pl/samba-export.tmpl
-%%DATADIR%%/templates/pl/samba-exported.tmpl
-%%DATADIR%%/templates/pl/search.tmpl
-%%DATADIR%%/templates/pl/set-printer-options-header.tmpl
-%%DATADIR%%/templates/pl/set-printer-options-trailer.tmpl
-%%DATADIR%%/templates/pl/subscription-added.tmpl
-%%DATADIR%%/templates/pl/subscription-canceled.tmpl
-%%DATADIR%%/templates/pl/test-page.tmpl
-%%DATADIR%%/templates/pl/trailer.tmpl
-%%DATADIR%%/templates/pl/users.tmpl
 %%DATADIR%%/templates/printer-accept.tmpl
 %%DATADIR%%/templates/printer-added.tmpl
 %%DATADIR%%/templates/printer-configured.tmpl
@@ -839,8 +691,6 @@
 %%DATADIR%%/templates/printer-reject.tmpl
 %%DATADIR%%/templates/printer-start.tmpl
 %%DATADIR%%/templates/printer-stop.tmpl
-%%DATADIR%%/templates/pl/norestart.tmpl
-%%DATADIR%%/templates/pl/printer.tmpl
 %%DATADIR%%/templates/printer.tmpl
 %%DATADIR%%/templates/printers-header.tmpl
 %%DATADIR%%/templates/printers.tmpl
@@ -925,228 +775,183 @@
 %%DATADIR%%/templates/test-page.tmpl
 %%DATADIR%%/templates/trailer.tmpl
 %%DATADIR%%/templates/users.tmpl
-%%DOCSDIR%%/cups-printable.css
-%%DOCSDIR%%/cups.css
-%%DOCSDIR%%/de/index.html
-%%DOCSDIR%%/es/index.html
-%%DOCSDIR%%/eu/index.html
-%%DOCSDIR%%/fr/index.html
-%%DOCSDIR%%/hu/index.html
-%%DOCSDIR%%/help/accounting.html
-%%DOCSDIR%%/help/api-array.html
-%%DOCSDIR%%/help/api-cgi.html
-%%DOCSDIR%%/help/api-cups.html
-%%DOCSDIR%%/help/api-driver.html
-%%DOCSDIR%%/help/api-filedir.html
-%%DOCSDIR%%/help/api-filter.html
-%%DOCSDIR%%/help/api-httpipp.html
-%%DOCSDIR%%/help/api-mime.html
-%%DOCSDIR%%/help/api-overview.html
-%%DOCSDIR%%/help/api-ppd.html
-%%DOCSDIR%%/help/api-ppdc.html
-%%DOCSDIR%%/help/api-raster.html
-%%DOCSDIR%%/help/cgi.html
-%%DOCSDIR%%/help/glossary.html
-%%DOCSDIR%%/help/kerberos.html
-%%DOCSDIR%%/help/license.html
-%%DOCSDIR%%/help/man-backend.html
-%%DOCSDIR%%/help/man-cancel.html
-%%DOCSDIR%%/help/man-cups-lpd.html
-%%DOCSDIR%%/help/man-cups-polld.html
-%%DOCSDIR%%/help/man-cupsaccept.html
-%%DOCSDIR%%/help/man-cupsaddsmb.html
-%%DOCSDIR%%/help/man-cupsd.html
-%%DOCSDIR%%/help/man-cupsenable.html
-%%DOCSDIR%%/help/man-cupstestdsc.html
-%%DOCSDIR%%/help/man-cupstestppd.html
-%%DOCSDIR%%/help/man-filter.html
-%%DOCSDIR%%/help/man-ipptool.html
-%%DOCSDIR%%/help/man-ipptoolfile.html
-%%DOCSDIR%%/help/man-lp.html
-%%DOCSDIR%%/help/man-lpadmin.html
-%%DOCSDIR%%/help/man-lpc.html
-%%DOCSDIR%%/help/man-lpinfo.html
-%%DOCSDIR%%/help/man-lpmove.html
-%%DOCSDIR%%/help/man-lpoptions.html
-%%DOCSDIR%%/help/man-lppasswd.html
-%%DOCSDIR%%/help/man-lpq.html
-%%DOCSDIR%%/help/man-lpr.html
-%%DOCSDIR%%/help/man-lprm.html
-%%DOCSDIR%%/help/man-lpstat.html
-%%DOCSDIR%%/help/man-mime.convs.html
-%%DOCSDIR%%/help/man-mime.types.html
-%%DOCSDIR%%/help/man-notifier.html
-%%DOCSDIR%%/help/man-ppdc.html
-%%DOCSDIR%%/help/man-ppdhtml.html
-%%DOCSDIR%%/help/man-ppdi.html
-%%DOCSDIR%%/help/man-ppdmerge.html
-%%DOCSDIR%%/help/man-ppdpo.html
-%%DOCSDIR%%/help/network.html
-%%DOCSDIR%%/help/options.html
-%%DOCSDIR%%/help/overview.html
-%%DOCSDIR%%/help/policies.html
-%%DOCSDIR%%/help/postscript-driver.html
-%%DOCSDIR%%/help/ppd-compiler.html
-%%DOCSDIR%%/help/raster-driver.html
-%%DOCSDIR%%/help/ref-access_log.html
-%%DOCSDIR%%/help/ref-classes-conf.html
-%%DOCSDIR%%/help/ref-client-conf.html
-%%DOCSDIR%%/help/ref-cupsd-conf.html
-%%DOCSDIR%%/help/ref-error_log.html
-%%DOCSDIR%%/help/ref-mailto-conf.html
-%%DOCSDIR%%/help/ref-page_log.html
-%%DOCSDIR%%/help/ref-ppdcfile.html
-%%DOCSDIR%%/help/ref-printers-conf.html
-%%DOCSDIR%%/help/ref-snmp-conf.html
-%%DOCSDIR%%/help/ref-subscriptions-conf.html
-%%DOCSDIR%%/help/security.html
-%%DOCSDIR%%/help/sharing.html
-%%DOCSDIR%%/help/spec-banner.html
-%%DOCSDIR%%/help/spec-browsing.html
-%%DOCSDIR%%/help/spec-cmp.html
-%%DOCSDIR%%/help/spec-command.html
-%%DOCSDIR%%/help/spec-design.html
-%%DOCSDIR%%/help/spec-ipp.html
-%%DOCSDIR%%/help/spec-postscript.html
-%%DOCSDIR%%/help/spec-pdf.html
-%%DOCSDIR%%/help/spec-ppd.html
-%%DOCSDIR%%/help/spec-raster.html
-%%DOCSDIR%%/help/spec-stp.html
-%%DOCSDIR%%/help/standard.html
-%%DOCSDIR%%/help/translation.html
-%%DOCSDIR%%/help/whatsnew.html
-%%DOCSDIR%%/id/index.html
-%%DOCSDIR%%/images/color-wheel.png
-%%DOCSDIR%%/images/cups-block-diagram.png
-%%DOCSDIR%%/images/cups-command-chain.png
-%%DOCSDIR%%/images/cups-icon.png
-%%DOCSDIR%%/images/cups-postscript-chain.png
-%%DOCSDIR%%/images/cups-raster-chain.png
-%%DOCSDIR%%/images/cups.png
-%%DOCSDIR%%/images/generic.png
-%%DOCSDIR%%/images/left.gif
-%%DOCSDIR%%/images/raster-organization.png
-%%DOCSDIR%%/images/raster.png
-%%DOCSDIR%%/images/right.gif
-%%DOCSDIR%%/images/sample-image.png
-%%DOCSDIR%%/images/sel.gif
-%%DOCSDIR%%/images/smiley.jpg
-%%DOCSDIR%%/images/unsel.gif
-%%DOCSDIR%%/images/wait.gif
-%%DOCSDIR%%/index.html
-%%DATADIR%%/ipptool/create-printer-subscription.test
-%%DATADIR%%/ipptool/color.jpg
-%%DATADIR%%/ipptool/document-a4.pdf
-%%DATADIR%%/ipptool/document-a4.ps
-%%DATADIR%%/ipptool/document-letter.pdf
-%%DATADIR%%/ipptool/document-letter.ps
-%%DATADIR%%/ipptool/gray.jpg
-%%DATADIR%%/ipptool/ipp-2.2.test
-%%DATADIR%%/ipptool/onepage-a4.pdf
-%%DATADIR%%/ipptool/onepage-a4.ps
-%%DATADIR%%/ipptool/onepage-letter.pdf
-%%DATADIR%%/ipptool/onepage-letter.ps
-%%DATADIR%%/ipptool/get-completed-jobs.test
-%%DATADIR%%/ipptool/get-jobs.test
-%%DATADIR%%/ipptool/get-printer-attributes.test
-%%DATADIR%%/ipptool/ipp-1.1.test
-%%DATADIR%%/ipptool/ipp-2.0.test
-%%DATADIR%%/ipptool/ipp-2.1.test
-%%DATADIR%%/ipptool/testfile.jpg
-%%DATADIR%%/ipptool/testfile.pdf
-%%DATADIR%%/ipptool/testfile.ps
-%%DATADIR%%/ipptool/testfile.txt
-%%DOCSDIR%%/it/index.html
-%%DOCSDIR%%/ja/index.html
-%%DOCSDIR%%/pl/index.html
-%%DOCSDIR%%/robots.txt
-%%DOCSDIR%%/ru/index.html
-%%EXAMPLESDIR%%/ulpt-cupsd.conf
-share/applications/cups.desktop
+%%PORTDOCS%%%%DOCSDIR%%/ca/index.html
+%%PORTDOCS%%%%DOCSDIR%%/cs/index.html
+%%PORTDOCS%%%%DOCSDIR%%/cups-printable.css
+%%PORTDOCS%%%%DOCSDIR%%/cups.css
+%%PORTDOCS%%%%DOCSDIR%%/es/index.html
+%%PORTDOCS%%%%DOCSDIR%%/fr/index.html
+%%PORTDOCS%%%%DOCSDIR%%/help/accounting.html
+%%PORTDOCS%%%%DOCSDIR%%/help/api-array.html
+%%PORTDOCS%%%%DOCSDIR%%/help/api-cgi.html
+%%PORTDOCS%%%%DOCSDIR%%/help/api-cups.html
+%%PORTDOCS%%%%DOCSDIR%%/help/api-driver.html
+%%PORTDOCS%%%%DOCSDIR%%/help/api-filedir.html
+%%PORTDOCS%%%%DOCSDIR%%/help/api-filter.html
+%%PORTDOCS%%%%DOCSDIR%%/help/api-httpipp.html
+%%PORTDOCS%%%%DOCSDIR%%/help/api-mime.html
+%%PORTDOCS%%%%DOCSDIR%%/help/api-overview.html
+%%PORTDOCS%%%%DOCSDIR%%/help/api-ppd.html
+%%PORTDOCS%%%%DOCSDIR%%/help/api-ppdc.html
+%%PORTDOCS%%%%DOCSDIR%%/help/api-raster.html
+%%PORTDOCS%%%%DOCSDIR%%/help/cgi.html
+%%PORTDOCS%%%%DOCSDIR%%/help/glossary.html
+%%PORTDOCS%%%%DOCSDIR%%/help/kerberos.html
+%%PORTDOCS%%%%DOCSDIR%%/help/license.html
+%%PORTDOCS%%%%DOCSDIR%%/help/man-backend.html
+%%PORTDOCS%%%%DOCSDIR%%/help/man-cancel.html
+%%PORTDOCS%%%%DOCSDIR%%/help/man-cups-config.html
+%%PORTDOCS%%%%DOCSDIR%%/help/man-cups-lpd.html
+%%PORTDOCS%%%%DOCSDIR%%/help/man-cups-snmp.html
+%%PORTDOCS%%%%DOCSDIR%%/help/man-cupsaccept.html
+%%PORTDOCS%%%%DOCSDIR%%/help/man-cupsaddsmb.html
+%%PORTDOCS%%%%DOCSDIR%%/help/man-cupsd.html
+%%PORTDOCS%%%%DOCSDIR%%/help/man-cupsenable.html
+%%PORTDOCS%%%%DOCSDIR%%/help/man-cupstestdsc.html
+%%PORTDOCS%%%%DOCSDIR%%/help/man-cupstestppd.html
+%%PORTDOCS%%%%DOCSDIR%%/help/man-filter.html
+%%PORTDOCS%%%%DOCSDIR%%/help/man-ipptool.html
+%%PORTDOCS%%%%DOCSDIR%%/help/man-ipptoolfile.html
+%%PORTDOCS%%%%DOCSDIR%%/help/man-lp.html
+%%PORTDOCS%%%%DOCSDIR%%/help/man-lpadmin.html
+%%PORTDOCS%%%%DOCSDIR%%/help/man-lpc.html
+%%PORTDOCS%%%%DOCSDIR%%/help/man-lpinfo.html
+%%PORTDOCS%%%%DOCSDIR%%/help/man-lpmove.html
+%%PORTDOCS%%%%DOCSDIR%%/help/man-lpoptions.html
+%%PORTDOCS%%%%DOCSDIR%%/help/man-lppasswd.html
+%%PORTDOCS%%%%DOCSDIR%%/help/man-lpq.html
+%%PORTDOCS%%%%DOCSDIR%%/help/man-lpr.html
+%%PORTDOCS%%%%DOCSDIR%%/help/man-lprm.html
+%%PORTDOCS%%%%DOCSDIR%%/help/man-lpstat.html
+%%PORTDOCS%%%%DOCSDIR%%/help/man-mime.convs.html
+%%PORTDOCS%%%%DOCSDIR%%/help/man-mime.types.html
+%%PORTDOCS%%%%DOCSDIR%%/help/man-notifier.html
+%%PORTDOCS%%%%DOCSDIR%%/help/man-ppdc.html
+%%PORTDOCS%%%%DOCSDIR%%/help/man-ppdhtml.html
+%%PORTDOCS%%%%DOCSDIR%%/help/man-ppdi.html
+%%PORTDOCS%%%%DOCSDIR%%/help/man-ppdmerge.html
+%%PORTDOCS%%%%DOCSDIR%%/help/man-ppdpo.html
+%%PORTDOCS%%%%DOCSDIR%%/help/network.html
+%%PORTDOCS%%%%DOCSDIR%%/help/options.html
+%%PORTDOCS%%%%DOCSDIR%%/help/overview.html
+%%PORTDOCS%%%%DOCSDIR%%/help/policies.html
+%%PORTDOCS%%%%DOCSDIR%%/help/postscript-driver.html
+%%PORTDOCS%%%%DOCSDIR%%/help/ppd-compiler.html
+%%PORTDOCS%%%%DOCSDIR%%/help/raster-driver.html
+%%PORTDOCS%%%%DOCSDIR%%/help/ref-access_log.html
+%%PORTDOCS%%%%DOCSDIR%%/help/ref-classes-conf.html
+%%PORTDOCS%%%%DOCSDIR%%/help/ref-client-conf.html
+%%PORTDOCS%%%%DOCSDIR%%/help/ref-cups-files-conf.html
+%%PORTDOCS%%%%DOCSDIR%%/help/ref-cupsd-conf.html
+%%PORTDOCS%%%%DOCSDIR%%/help/ref-error_log.html
+%%PORTDOCS%%%%DOCSDIR%%/help/ref-mailto-conf.html
+%%PORTDOCS%%%%DOCSDIR%%/help/ref-page_log.html
+%%PORTDOCS%%%%DOCSDIR%%/help/ref-ppdcfile.html
+%%PORTDOCS%%%%DOCSDIR%%/help/ref-printers-conf.html
+%%PORTDOCS%%%%DOCSDIR%%/help/ref-snmp-conf.html
+%%PORTDOCS%%%%DOCSDIR%%/help/ref-subscriptions-conf.html
+%%PORTDOCS%%%%DOCSDIR%%/help/security.html
+%%PORTDOCS%%%%DOCSDIR%%/help/sharing.html
+%%PORTDOCS%%%%DOCSDIR%%/help/spec-banner.html
+%%PORTDOCS%%%%DOCSDIR%%/help/spec-cmp.html
+%%PORTDOCS%%%%DOCSDIR%%/help/spec-command.html
+%%PORTDOCS%%%%DOCSDIR%%/help/spec-design.html
+%%PORTDOCS%%%%DOCSDIR%%/help/spec-ipp.html
+%%PORTDOCS%%%%DOCSDIR%%/help/spec-pdf.html
+%%PORTDOCS%%%%DOCSDIR%%/help/spec-postscript.html
+%%PORTDOCS%%%%DOCSDIR%%/help/spec-ppd.html
+%%PORTDOCS%%%%DOCSDIR%%/help/spec-raster.html
+%%PORTDOCS%%%%DOCSDIR%%/help/spec-stp.html
+%%PORTDOCS%%%%DOCSDIR%%/help/translation.html
+%%PORTDOCS%%%%DOCSDIR%%/help/whatsnew.html
+%%PORTDOCS%%%%DOCSDIR%%/images/color-wheel.png
+%%PORTDOCS%%%%DOCSDIR%%/images/cups-block-diagram.png
+%%PORTDOCS%%%%DOCSDIR%%/images/cups-command-chain.png
+%%PORTDOCS%%%%DOCSDIR%%/images/cups-icon.png
+%%PORTDOCS%%%%DOCSDIR%%/images/cups-postscript-chain.png
+%%PORTDOCS%%%%DOCSDIR%%/images/cups-raster-chain.png
+%%PORTDOCS%%%%DOCSDIR%%/images/cups.png
+%%PORTDOCS%%%%DOCSDIR%%/images/left.gif
+%%PORTDOCS%%%%DOCSDIR%%/images/raster-organization.png
+%%PORTDOCS%%%%DOCSDIR%%/images/raster.png
+%%PORTDOCS%%%%DOCSDIR%%/images/right.gif
+%%PORTDOCS%%%%DOCSDIR%%/images/sample-image.png
+%%PORTDOCS%%%%DOCSDIR%%/images/sel.gif
+%%PORTDOCS%%%%DOCSDIR%%/images/smiley.jpg
+%%PORTDOCS%%%%DOCSDIR%%/images/unsel.gif
+%%PORTDOCS%%%%DOCSDIR%%/images/wait.gif
+%%PORTDOCS%%%%DOCSDIR%%/index.html
+%%PORTDOCS%%%%DOCSDIR%%/it/index.html
+%%PORTDOCS%%%%DOCSDIR%%/ja/index.html
+%%PORTDOCS%%%%DOCSDIR%%/robots.txt
+%%PORTDOCS%%%%DOCSDIR%%/ru/index.html
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/ulpt-cupsd.conf
+share/icons/hicolor/128x128/apps/cups.png
 share/icons/hicolor/16x16/apps/cups.png
 share/icons/hicolor/32x32/apps/cups.png
 share/icons/hicolor/64x64/apps/cups.png
-share/icons/hicolor/128x128/apps/cups.png
-share/locale/da/cups_da.po
-share/locale/de/cups_de.po
+share/locale/ca/cups_ca.po
+share/locale/cs/cups_cs.po
 share/locale/es/cups_es.po
-share/locale/eu/cups_eu.po
-share/locale/fi/cups_fi.po
 share/locale/fr/cups_fr.po
-share/locale/hu/cups_hu.po
-share/locale/id/cups_id.po
 share/locale/it/cups_it.po
 share/locale/ja/cups_ja.po
-share/locale/ko/cups_ko.po
-share/locale/nl/cups_nl.po
-share/locale/no/cups_no.po
-share/locale/pl/cups_pl.po
-share/locale/pt/cups_pt.po
-share/locale/pt_BR/cups_pt_BR.po
 share/locale/ru/cups_ru.po
-share/locale/sv/cups_sv.po
-share/locale/zh/cups_zh.po
-share/locale/zh_TW/cups_zh_TW.po
+ at unexec rmdir >/dev/null 2>&1 /var/spool/cups/tmp || :
+ at unexec rmdir >/dev/null 2>&1 /var/spool/cups || :
+ at unexec rmdir >/dev/null 2>&1 /var/run/cups/certs || :
+ at unexec rmdir >/dev/null 2>&1 /var/run/cups || :
+ at unexec rmdir >/dev/null 2>&1 /var/log/cups || :
+ at unexec rmdir >/dev/null 2>&1 /var/db/cups/rss || :
+ at unexec rmdir >/dev/null 2>&1 /var/db/cups || :
+ at dirrmtry share/icons/hicolor/64x64/apps
+ at dirrmtry share/icons/hicolor/64x64
+ at dirrmtry share/icons/hicolor/32x32/apps
+ at dirrmtry share/icons/hicolor/32x32
 @dirrmtry share/icons/hicolor/16x16/apps
 @dirrmtry share/icons/hicolor/16x16
- at dirrmtry share/icons/hicolor/32x32/apps
- at dirrmtry share/icons/hicolor/32x32
- at dirrmtry share/icons/hicolor/64x64/apps
- at dirrmtry share/icons/hicolor/64x64
 @dirrmtry share/icons/hicolor/128x128/apps
 @dirrmtry share/icons/hicolor/128x128
 @dirrmtry share/icons/hicolor
 @dirrmtry share/icons
- at dirrm %%DOCSDIR%%/ru
- at dirrm %%DOCSDIR%%/pl
- at dirrm %%DOCSDIR%%/ja
- at dirrm %%DOCSDIR%%/it
- at dirrm %%DATADIR%%/ipptool
- at dirrm %%DOCSDIR%%/images
- at dirrm %%DOCSDIR%%/id
- at dirrm %%DOCSDIR%%/help
- at dirrm %%DOCSDIR%%/eu
- at dirrm %%DOCSDIR%%/es
- at dirrm %%DOCSDIR%%/de
- at dirrm %%DOCSDIR%%/fr
- at dirrm %%DOCSDIR%%/hu
- at dirrm %%DOCSDIR%%
- at dirrm %%EXAMPLESDIR%%
- at dirrm %%DATADIR%%/templates/ru
- at dirrm %%DATADIR%%/templates/pl
- at dirrm %%DATADIR%%/templates/ja
- at dirrm %%DATADIR%%/templates/it
- at dirrm %%DATADIR%%/templates/id
- at dirrm %%DATADIR%%/templates/eu
- at dirrm %%DATADIR%%/templates/es
- at dirrm %%DATADIR%%/templates/fr
- at dirrm %%DATADIR%%/templates/de
- at dirrm %%DATADIR%%/templates/hu
- at dirrm %%DATADIR%%/templates
- at exec  mkdir -p %D/%%DATADIR%%/profiles
- at dirrm %%DATADIR%%/profiles
- at dirrm %%DATADIR%%/ppdc
- at exec  mkdir -p %D/%%DATADIR%%/model
+%%PORTEXAMPLES%%@dirrmtry %%EXAMPLESDIR%%
+%%PORTDOCS%%@dirrmtry %%DOCSDIR%%/ru
+%%PORTDOCS%%@dirrmtry %%DOCSDIR%%/ja
+%%PORTDOCS%%@dirrmtry %%DOCSDIR%%/it
+%%PORTDOCS%%@dirrmtry %%DOCSDIR%%/images
+%%PORTDOCS%%@dirrmtry %%DOCSDIR%%/help
+%%PORTDOCS%%@dirrmtry %%DOCSDIR%%/fr
+%%PORTDOCS%%@dirrmtry %%DOCSDIR%%/es
+%%PORTDOCS%%@dirrmtry %%DOCSDIR%%/cs
+%%PORTDOCS%%@dirrmtry %%DOCSDIR%%/ca
+%%PORTDOCS%%@dirrmtry %%DOCSDIR%%
+ at dirrmtry %%DATADIR%%/templates/ru
+ at dirrmtry %%DATADIR%%/templates/ja
+ at dirrmtry %%DATADIR%%/templates/it
+ at dirrmtry %%DATADIR%%/templates/fr
+ at dirrmtry %%DATADIR%%/templates/es
+ at dirrmtry %%DATADIR%%/templates/cs
+ at dirrmtry %%DATADIR%%/templates/ca
+ at dirrmtry %%DATADIR%%/templates
+ at dirrmtry %%DATADIR%%/profiles
+ at dirrmtry %%DATADIR%%/ppdc
 @dirrmtry %%DATADIR%%/model
- at dirrm %%DATADIR%%/mime
- at dirrm %%DATADIR%%/fonts
- at dirrm %%DATADIR%%/examples
- at dirrm %%DATADIR%%/data
- at dirrm %%DATADIR%%/drv
- at dirrm %%DATADIR%%/charsets
- at dirrm %%DATADIR%%/banners
+ at dirrmtry %%DATADIR%%/mime
+ at dirrmtry %%DATADIR%%/ipptool
+ at dirrmtry %%DATADIR%%/examples
+ at dirrmtry %%DATADIR%%/drv
 @dirrmtry %%DATADIR%%
- at dirrm libexec/cups/notifier
- at dirrm libexec/cups/monitor
- at dirrmtry libexec/cups/filter
+ at dirrmtry libexec/cups/notifier
+ at dirrmtry libexec/cups/monitor
 @exec mkdir -p %D/libexec/cups/driver
 @dirrmtry libexec/cups/driver
- at dirrm libexec/cups/daemon
- at dirrm libexec/cups/cgi-bin
+ at dirrmtry libexec/cups/daemon
+ at dirrmtry libexec/cups/cgi-bin
 @dirrmtry libexec/cups/backend
 @dirrmtry libexec/cups
 %%PHP%%@dirrmtry lib/php/%%PHP_EXT_DIR%%
+ at dirrmtry include/cups
+ at dirrmtry etc/cups/ssl
+ at dirrmtry etc/cups/ppd
 @dirrmtry etc/cups/interfaces
- at dirrmtry etc/cups/ppd
- at dirrmtry etc/cups/ssl
 @dirrmtry etc/cups
Index: /usr/ports/print/cups-base/pkg-plist.client
===================================================================
--- /usr/ports/print/cups-base/pkg-plist.client	(revision 344629)
+++ /usr/ports/print/cups-base/pkg-plist.client	(working copy)
@@ -9,6 +9,8 @@
 include/cups/ipp.h
 include/cups/language.h
 include/cups/ppd.h
+include/cups/pwg.h
+include/cups/raster.h
 include/cups/sidechannel.h
 include/cups/transcode.h
 include/cups/versioning.h
Index: /usr/ports/print/cups-base/pkg-plist.image
===================================================================
--- /usr/ports/print/cups-base/pkg-plist.image	(revision 344629)
+++ /usr/ports/print/cups-base/pkg-plist.image	(working copy)
@@ -1,12 +1,7 @@
-include/cups/image.h
-include/cups/raster.h
 lib/libcupsimage.so
 lib/libcupsimage.so.2
-libexec/cups/filter/bannertops
 libexec/cups/filter/commandtops
 libexec/cups/filter/gziptoany
-libexec/cups/filter/imagetops
-libexec/cups/filter/imagetoraster
 libexec/cups/filter/pstops
 libexec/cups/filter/rastertodymo
 libexec/cups/filter/rastertoepson
@@ -13,6 +8,5 @@
 libexec/cups/filter/rastertohp
 libexec/cups/filter/rastertolabel
 libexec/cups/filter/rastertopwg
-libexec/cups/filter/texttops
- at dirrm libexec/cups/filter
- at dirrm libexec/cups
+ at dirrmtry libexec/cups/filter
+ at dirrmtry libexec/cups
Index: /usr/ports/print/cups-filters/Makefile
===================================================================
--- /usr/ports/print/cups-filters/Makefile	(revision 0)
+++ /usr/ports/print/cups-filters/Makefile	(working copy)
@@ -0,0 +1,50 @@
+# $FreeBSD$
+
+PORTNAME=	cups-filters
+PORTVERSION=	1.0.42
+CATEGORIES=	print
+MASTER_SITES=	http://www.openprinting.org/download/cups-filters/
+
+MAINTAINER=	ports at FreeBSD.org
+COMMENT=	Backends, filters and other software (was part of the core CUPS)
+
+LIB_DEPENDS=	libjpeg.so:${PORTSDIR}/graphics/jpeg \
+		libtiff.so:${PORTSDIR}/graphics/tiff \
+		libpng15.so:${PORTSDIR}/graphics/png \
+		libijs.so:${PORTSDIR}/print/libijs \
+		liblcms2.so:${PORTSDIR}/graphics/lcms2 \
+		libqpdf.so:${PORTSDIR}/print/qpdf \
+		libdbus-1.so:${PORTSDIR}/devel/dbus \
+		libcups.so:${PORTSDIR}/print/cups-client \
+		libfreetype.so:${PORTSDIR}/print/freetype2 \
+		libfontconfig.so:${PORTSDIR}/x11-fonts/fontconfig \
+		libpoppler.so:${PORTSDIR}/graphics/poppler
+
+USES=		compiler:c++11-lib pathfix pkgconfig
+USE_GNOME=	glib20
+USE_GHOSTSCRIPT=yes
+USE_XZ=		yes
+GNU_CONFIGURE=	yes
+CUPS_SOCKET=	/var/run/cups.sock
+CONFIGURE_ARGS=	--with-domainsocket=${CUPS_SOCKET}
+CONFIGURE_ENV=	ZLIB_CFLAGS="-I/usr/include" ZLIB_LIBS="-lz" \
+		LIBQPDF_CFLAGS="-I/usr/local/include" LIBQPDF_LIBS="-lqpdf"
+
+CPPFLAGS+=	-I${LOCALBASE}/include
+LDFLAGS+=	-L${LOCALBASE}/lib
+USE_LDCONFIG=	yes
+
+OPTIONS_DEFINE=		AVAHI
+OPTIONS_DEFAULT=	AVAHI
+
+AVAHI_CONFIGURE_ENABLE=	avahi
+AVAHI_LIB_DEPENDS=	libavahi-client.so:${PORTSDIR}/net/avahi-app
+
+post-patch:
+	@${REINPLACE_CMD} 's:-std=c++0x:-std=c++11:' ${WRKSRC}/Makefile.in
+
+post-install:
+	@${RM} -rf ${STAGEDIR}${PREFIX}/libexec/cups/filter/foomatic-rip \
+		${STAGEDIR}${PREFIX}/man/man1/foomatic-rip.1
+
+.include <bsd.port.mk>

Property changes on: /usr/ports/print/cups-filters/Makefile
___________________________________________________________________
Added: svn:eol-style
## -0,0 +1 ##
+native
\ No newline at end of property
Added: svn:mime-type
## -0,0 +1 ##
+text/plain
\ No newline at end of property
Added: svn:keywords
## -0,0 +1 ##
+FreeBSD=%H
\ No newline at end of property
Index: /usr/ports/print/cups-filters/distinfo
===================================================================
--- /usr/ports/print/cups-filters/distinfo	(revision 0)
+++ /usr/ports/print/cups-filters/distinfo	(working copy)
@@ -0,0 +1,2 @@
+SHA256 (cups-filters-1.0.42.tar.xz) = 3df524207ab24472430cffba7f01407b8adc094ec40094c5f6682d5a88a70dd6
+SIZE (cups-filters-1.0.42.tar.xz) = 1097860

Property changes on: /usr/ports/print/cups-filters/distinfo
___________________________________________________________________
Added: fbsd:nokeywords
## -0,0 +1 ##
+yes
\ No newline at end of property
Added: svn:eol-style
## -0,0 +1 ##
+native
\ No newline at end of property
Added: svn:mime-type
## -0,0 +1 ##
+text/plain
\ No newline at end of property
Index: /usr/ports/print/cups-filters/files/patch-utils_cups-browsed.c
===================================================================
--- /usr/ports/print/cups-filters/files/patch-utils_cups-browsed.c	(revision 0)
+++ /usr/ports/print/cups-filters/files/patch-utils_cups-browsed.c	(working copy)
@@ -0,0 +1,18 @@
+--- utils/cups-browsed.c.orig	2013-12-27 20:45:55.188455147 +0400
++++ utils/cups-browsed.c	2013-12-27 20:46:23.397446686 +0400
+@@ -23,7 +23,6 @@
+ 
+ #include <ctype.h>
+ #include <errno.h>
+-#include <ifaddrs.h>
+ #if defined(__OpenBSD__)
+ #include <sys/socket.h>
+ #endif /* __OpenBSD__ */
+@@ -33,6 +32,7 @@
+ #include <stdio.h>
+ #include <sys/types.h>
+ #include <sys/stat.h>
++#include <ifaddrs.h>
+ #include <assert.h>
+ #include <stdlib.h>
+ #include <time.h>

Property changes on: /usr/ports/print/cups-filters/files/patch-utils_cups-browsed.c
___________________________________________________________________
Added: svn:mime-type
## -0,0 +1 ##
+text/plain
\ No newline at end of property
Added: fbsd:nokeywords
## -0,0 +1 ##
+yes
\ No newline at end of property
Added: svn:eol-style
## -0,0 +1 ##
+native
\ No newline at end of property
Index: /usr/ports/print/cups-filters/pkg-descr
===================================================================
--- /usr/ports/print/cups-filters/pkg-descr	(revision 0)
+++ /usr/ports/print/cups-filters/pkg-descr	(working copy)
@@ -0,0 +1,5 @@
+The CUPS Filters package contains backends, filters and other
+software that was once part of the core CUPS distribution but is
+no longer maintained by Apple Inc.
+
+WWW: http://www.linuxfromscratch.org/blfs/view/svn/pst/cups-filters.html

Property changes on: /usr/ports/print/cups-filters/pkg-descr
___________________________________________________________________
Added: svn:mime-type
## -0,0 +1 ##
+text/plain
\ No newline at end of property
Added: fbsd:nokeywords
## -0,0 +1 ##
+yes
\ No newline at end of property
Added: svn:eol-style
## -0,0 +1 ##
+native
\ No newline at end of property
Index: /usr/ports/print/cups-filters/pkg-plist
===================================================================
--- /usr/ports/print/cups-filters/pkg-plist	(revision 0)
+++ /usr/ports/print/cups-filters/pkg-plist	(working copy)
@@ -0,0 +1,95 @@
+bin/ttfread
+etc/cups/cups-browsed.conf
+etc/fonts/conf.d/99pdftoopvp.conf
+include/cupsfilters/colord.h
+include/cupsfilters/driver.h
+include/cupsfilters/image.h
+include/cupsfilters/raster.h
+include/fontembed/bitset.h
+include/fontembed/embed.h
+include/fontembed/fontfile.h
+include/fontembed/iofn.h
+include/fontembed/sfnt.h
+lib/libcupsfilters.a
+lib/libcupsfilters.la
+lib/libcupsfilters.so
+lib/libcupsfilters.so.1
+lib/libfontembed.a
+lib/libfontembed.la
+lib/libfontembed.so
+lib/libfontembed.so.1
+libdata/pkgconfig/libcupsfilters.pc
+libdata/pkgconfig/libfontembed.pc
+libexec/cups/backend/parallel
+libexec/cups/backend/serial
+libexec/cups/filter/bannertopdf
+libexec/cups/filter/commandtoescpx
+libexec/cups/filter/commandtopclx
+libexec/cups/filter/gstopxl
+libexec/cups/filter/gstoraster
+libexec/cups/filter/imagetopdf
+libexec/cups/filter/imagetops
+libexec/cups/filter/imagetoraster
+libexec/cups/filter/pdftoijs
+libexec/cups/filter/pdftoippprinter
+libexec/cups/filter/pdftoopvp
+libexec/cups/filter/pdftopdf
+libexec/cups/filter/pdftops
+libexec/cups/filter/pdftoraster
+libexec/cups/filter/pstopdf
+libexec/cups/filter/rastertoescpx
+libexec/cups/filter/rastertopclx
+libexec/cups/filter/textonly
+libexec/cups/filter/texttopdf
+libexec/cups/filter/texttops
+libexec/cups/filter/urftopdf
+man/man5/cups-browsed.conf.5.gz
+man/man8/cups-browsed.8.gz
+sbin/cups-browsed
+share/cups/banners/classified
+share/cups/banners/confidential
+share/cups/banners/secret
+share/cups/banners/standard
+share/cups/banners/topsecret
+share/cups/banners/unclassified
+share/cups/charsets/pdf.utf-8
+share/cups/charsets/pdf.utf-8.heavy
+share/cups/charsets/pdf.utf-8.simple
+share/cups/data/default-testpage.pdf
+share/cups/data/default.pdf
+share/cups/data/testprint
+share/cups/drv/cupsfilters.drv
+share/cups/mime/cupsfilters.convs
+share/cups/mime/cupsfilters.types
+share/cups/ppdc/escp.h
+share/cups/ppdc/pcl.h
+%%PORTDOCS%%%%DOCSDIR%%/AUTHORS
+%%PORTDOCS%%%%DOCSDIR%%/COPYING
+%%PORTDOCS%%%%DOCSDIR%%/INSTALL
+%%PORTDOCS%%%%DOCSDIR%%/NEWS
+%%PORTDOCS%%%%DOCSDIR%%/README
+share/ppd/cupsfilters/Generic-PDF_Printer-PDF.ppd
+share/ppd/cupsfilters/HP-Color_LaserJet_CM3530_MFP-PDF.ppd
+share/ppd/cupsfilters/HP-PhotoSmart_Pro_B8300-hpijs-pdftoijs.ppd
+share/ppd/cupsfilters/pxlcolor.ppd
+share/ppd/cupsfilters/pxlmono.ppd
+share/ppd/cupsfilters/textonly.ppd
+ at dirrmtry share/ppd/cupsfilters
+ at dirrmtry share/ppd
+%%PORTDOCS%%@dirrm %%DOCSDIR%%
+ at dirrmtry share/cups/ppdc
+ at dirrmtry share/cups/mime
+ at dirrmtry share/cups/drv
+ at dirrmtry share/cups/data
+ at dirrmtry share/cups/charsets
+ at dirrmtry share/cups/banners
+ at dirrmtry share/cups
+ at dirrmtry libexec/cups/filter
+ at dirrmtry libexec/cups/backend
+ at dirrmtry libexec/cups
+ at dirrmtry libdata/pkgconfig
+ at dirrmtry include/fontembed
+ at dirrmtry include/cupsfilters
+ at dirrmtry etc/fonts/conf.d
+ at dirrmtry etc/fonts
+ at dirrmtry etc/cups

Property changes on: /usr/ports/print/cups-filters/pkg-plist
___________________________________________________________________
Added: svn:mime-type
## -0,0 +1 ##
+text/plain
\ No newline at end of property
Added: fbsd:nokeywords
## -0,0 +1 ##
+yes
\ No newline at end of property
Added: svn:eol-style
## -0,0 +1 ##
+native
\ No newline at end of property


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


More information about the freebsd-ports-bugs mailing list