diff options
author | pav <pav@FreeBSD.org> | 2003-11-22 00:16:19 +0000 |
---|---|---|
committer | pav <pav@FreeBSD.org> | 2003-11-22 00:16:19 +0000 |
commit | 7be9db0081a8530237cdcc349f2d9d861e582661 (patch) | |
tree | df192a67c425469af1217e5387de57d979ec9be3 /print | |
parent | 63fe349157f57c3ae5fc0758e2d394fc694c9294 (diff) | |
download | FreeBSD-ports-7be9db0081a8530237cdcc349f2d9d861e582661.zip FreeBSD-ports-7be9db0081a8530237cdcc349f2d9d861e582661.tar.gz |
- Let package create necessary config directories
- Change pkg-message to point to common configuration problems
- Give maintainership to submitter
PR: ports/57937
Submitted by: Sergey Akifyev <asa@gascom.ru>
Reviewed by: marcus
Approved by: adamw (mentor)
Diffstat (limited to 'print')
-rw-r--r-- | print/cups-base/Makefile | 3 | ||||
-rw-r--r-- | print/cups-base/pkg-message | 20 | ||||
-rw-r--r-- | print/cups-base/pkg-plist | 6 |
3 files changed, 14 insertions, 15 deletions
diff --git a/print/cups-base/Makefile b/print/cups-base/Makefile index 097be88..8b4cb7f 100644 --- a/print/cups-base/Makefile +++ b/print/cups-base/Makefile @@ -14,7 +14,7 @@ PORTEPOCH= ${CUPS_PORTEPOCH} CATEGORIES= print MASTER_SITES= ${CUPS_MASTER_SITES} -MAINTAINER= ports@FreeBSD.org +MAINTAINER= asa@gascom.ru COMMENT= The Common UNIX Printing System: headers, libs, & daemons USE_REINPLACE= yes @@ -48,6 +48,7 @@ post-install: ${MKDIR} ${CUPS_SPOOLDIR} ${CUPS_SPOOLDIR}/tmp ${CHOWN} -R ${CUPSOWN}:${CUPSGRP} ${CUPS_SPOOLDIR} ${CHMOD} -R g+w ${CUPS_SPOOLDIR} + @${CAT} ${PKGMESSAGE} .include "${.CURDIR}/../../print/cups/Makefile.common" .include <bsd.port.pre.mk> diff --git a/print/cups-base/pkg-message b/print/cups-base/pkg-message index d740e86..7d14ee9 100644 --- a/print/cups-base/pkg-message +++ b/print/cups-base/pkg-message @@ -1,20 +1,12 @@ ********************************************************************** ********************************************************************** -NOTE FOR PACKAGE USERS ONLY: -============================ -This package does not create the spool directory, due to limitations in -the packaging mechanism, or my knowledge of it. +PLEASE NOTE: +============ -Once the package is installed, please do the following (as root): +To enable printing under Gimp do the following: +1) Uncomment application/octet-stream line in mime.types +2) Uncomment application/octet-stream line in mime.convs +3) Restart cupsd - cd /var/spool - mkdir -p cups/tmp - chown -R root:daemon cups - -Thanks. - --- -AlanE, your friendly neighborhood cups maintainer and all around -wild and crazy (ok, well just crazy) guy. ********************************************************************** ********************************************************************** diff --git a/print/cups-base/pkg-plist b/print/cups-base/pkg-plist index b60da07..d1526fd 100644 --- a/print/cups-base/pkg-plist +++ b/print/cups-base/pkg-plist @@ -428,4 +428,10 @@ share/locale/zh_CN/cups_zh_CN @dirrm etc/cups/ppd @dirrm etc/cups/interfaces @dirrm etc/cups/certs +@exec mkdir -p /var/spool/cups/tmp || true +@exec chown -R root:daemon /var/spool/cups +@exec mkdir %D/etc/cups/certs || true +@exec mkdir %D/etc/cups/ppd || true +@exec mkdir %D/etc/cups/interfaces || true +@unexec rm -rf /var/spool/cups @unexec rmdir %D/etc/cups 2>/dev/null || true |