pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/devel/py-pbr The package installs files world-writable...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/d3c3705008ba
branches:  trunk
changeset: 310274:d3c3705008ba
user:      hauke <hauke%pkgsrc.org@localhost>
date:      Mon Jul 09 14:11:01 2018 +0000

description:
The package installs files world-writable, which the pkgsrc framework
objects to. Clean up permissions before packaging.

diffstat:

 devel/py-pbr/Makefile |  4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)

diffs (20 lines):

diff -r 79873cf03347 -r d3c3705008ba devel/py-pbr/Makefile
--- a/devel/py-pbr/Makefile     Mon Jul 09 13:53:34 2018 +0000
+++ b/devel/py-pbr/Makefile     Mon Jul 09 14:11:01 2018 +0000
@@ -1,6 +1,7 @@
-# $NetBSD: Makefile,v 1.21 2018/07/04 09:05:16 adam Exp $
+# $NetBSD: Makefile,v 1.22 2018/07/09 14:11:01 hauke Exp $
 
 DISTNAME=      pbr-4.0.4
+PKGREVISION=   1
 PKGNAME=       ${PYPKGPREFIX}-${DISTNAME}
 CATEGORIES=    devel python
 MASTER_SITES=  ${MASTER_SITE_PYPI:=p/pbr/}
@@ -21,6 +22,7 @@
 REPLACE_PYTHON+=       pbr/tests/testpackage/setup.py
 
 post-install:
+       chmod -R g-w,o-w ${DESTDIR}${PREFIX}/${PYSITELIB}/pbr/tests/testpackage
        cd ${DESTDIR}${PREFIX}/bin && ${MV} pbr pbr${PYVERSSUFFIX} || ${TRUE}
 
 .include "../../lang/python/application.mk"



Home | Main Index | Thread Index | Old Index