diff options
author | itetcu <itetcu@FreeBSD.org> | 2006-06-29 05:14:20 +0800 |
---|---|---|
committer | itetcu <itetcu@FreeBSD.org> | 2006-06-29 05:14:20 +0800 |
commit | 7168608b2f86d88e0cc5e35bb2159a4f12930055 (patch) | |
tree | 6618135317fa15fabb1173590fd7efe32da05e26 /print/cups-pdf | |
parent | 40783338a8f8ea60cf906cef22a8d39c57395d0c (diff) | |
download | freebsd-ports-gnome-7168608b2f86d88e0cc5e35bb2159a4f12930055.tar.gz freebsd-ports-gnome-7168608b2f86d88e0cc5e35bb2159a4f12930055.tar.zst freebsd-ports-gnome-7168608b2f86d88e0cc5e35bb2159a4f12930055.zip |
Starting with version 1.2.0 CUPS implements the "RunAsOption" no longer.
In order to ensure CUPS-PDF is running with the required root privileges
make 'root' the owner of the cups-pdf backend and set the file permissions of
the backend to 0700 (root only).
PR: ports/99498
Submitted by: maintainer
Diffstat (limited to 'print/cups-pdf')
-rw-r--r-- | print/cups-pdf/Makefile | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/print/cups-pdf/Makefile b/print/cups-pdf/Makefile index 2ae5a67aee4e..f210811668e5 100644 --- a/print/cups-pdf/Makefile +++ b/print/cups-pdf/Makefile @@ -7,6 +7,7 @@ PORTNAME= cups-pdf PORTVERSION= 2.4.1 +PORTREVISION= 1 CATEGORIES= print MASTER_SITES= http://www.physik.uni-wuerzburg.de/~vrbehr/cups-pdf/src/ \ http://olofsson.de/mirror/distfiles/ @@ -83,7 +84,7 @@ do-build: cd ${WRKSRC}/src; ${CC} ${CFLAGS} -o cups-pdf cups-pdf.c do-install: - ${INSTALL_PROGRAM} ${WRKSRC}/src/cups-pdf ${LOCALBASE}/libexec/cups/backend + ${INSTALL} -o root -g wheel -m 0700 ${WRKSRC}/src/cups-pdf ${LOCALBASE}/libexec/cups/backend ${INSTALL_DATA} ${WRKSRC}/extra/PostscriptColor_rev3b.ppd.gz \ ${LOCALBASE}/share/cups/model/PostscriptColor.ppd.gz .if !defined(NOPORTDOCS) |