summaryrefslogtreecommitdiff
path: root/print/cups
diff options
context:
space:
mode:
authorwiz <wiz>2015-06-19 08:20:43 +0000
committerwiz <wiz>2015-06-19 08:20:43 +0000
commitd928e22ad59d244fbf974bfa3f5c5c1aa7c8322a (patch)
tree866414aa5ce4e44002e0e0ae3908494566f3db5b /print/cups
parent20f0e0d442cb06e8def8afefde6c8e7f9f03b82d (diff)
downloadpkgsrc-d928e22ad59d244fbf974bfa3f5c5c1aa7c8322a.tar.gz
Remove group permissions from cgi-bin directory.
pgoyette reported: E [17/Jun/2015:07:12:52 +0800] Directory "/usr/pkg/libexec/cups/cgi-bin" has insecure permissions (040775/uid=0/gid=0). While here, remove --enable-openssl since the configure script does not recognize it any longer. Bump PKGREVISION.
Diffstat (limited to 'print/cups')
-rw-r--r--print/cups/Makefile5
1 files changed, 3 insertions, 2 deletions
diff --git a/print/cups/Makefile b/print/cups/Makefile
index 3aa52a92b1b..07f12326f0d 100644
--- a/print/cups/Makefile
+++ b/print/cups/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.220 2015/06/12 11:02:35 wiz Exp $
+# $NetBSD: Makefile,v 1.221 2015/06/19 08:20:43 wiz Exp $
#
# The CUPS author is very good about taking back changes into the main
# CUPS distribution. The correct place to send patches or bug-fixes is:
@@ -6,6 +6,7 @@
DISTNAME= cups-${DIST_VERS}-source
PKGNAME= cups-${DIST_VERS:S/-/./g}
+PKGREVISION= 1
BASE_VERS= 2.0.3
DIST_VERS= ${BASE_VERS}
CATEGORIES= print
@@ -39,7 +40,6 @@ CONFIGURE_ARGS+= --with-system-groups=${CUPS_SYSTEM_GROUPS:Q}
CONFIGURE_ARGS+= --enable-libpaper
CONFIGURE_ARGS+= --enable-libtool
CONFIGURE_ARGS+= --enable-ssl
-CONFIGURE_ARGS+= --enable-openssl
CONFIGURE_ARGS+= --with-manext=bsd
CONFIGURE_ARGS+= --without-icondir
CONFIGURE_ARGS+= --without-menudir
@@ -165,6 +165,7 @@ post-install:
${INSTALL_DATA} ${WRKSRC}/conf/$${file} \
${DESTDIR}${EGDIR}/$${file}; \
done
+ ${CHMOD} g-w ${DESTDIR}${PREFIX}/libexec/cups/cgi-bin
.if !empty(PKG_OPTIONS:Mpam)
${INSTALL_DATA} ${WRKDIR}/cups.pam ${DESTDIR}${EGDIR}
.endif