diff options
author | wiz <wiz@pkgsrc.org> | 2015-06-19 08:20:43 +0000 |
---|---|---|
committer | wiz <wiz@pkgsrc.org> | 2015-06-19 08:20:43 +0000 |
commit | 144deb96d401ceb77de37e6d1f9510f850646114 (patch) | |
tree | 866414aa5ce4e44002e0e0ae3908494566f3db5b /print/cups | |
parent | 514a08cba7cd974ee32111db06515814280a4519 (diff) | |
download | pkgsrc-144deb96d401ceb77de37e6d1f9510f850646114.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/Makefile | 5 |
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 |