pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/cad/qcad-partlibrary Fixed file permissions. 3270 file...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/3d49609b12d3
branches:  trunk
changeset: 523115:3d49609b12d3
user:      rillig <rillig%pkgsrc.org@localhost>
date:      Tue Jan 02 13:44:23 2007 +0000

description:
Fixed file permissions. 3270 files had been installed world-writable.

PKGREVISION++

diffstat:

 cad/qcad-partlibrary/Makefile |  10 +++++++---
 1 files changed, 7 insertions(+), 3 deletions(-)

diffs (29 lines):

diff -r 0e56de5d318d -r 3d49609b12d3 cad/qcad-partlibrary/Makefile
--- a/cad/qcad-partlibrary/Makefile     Tue Jan 02 13:14:39 2007 +0000
+++ b/cad/qcad-partlibrary/Makefile     Tue Jan 02 13:44:23 2007 +0000
@@ -1,9 +1,9 @@
-# $NetBSD: Makefile,v 1.1 2006/06/15 09:29:17 chap Exp $
+# $NetBSD: Makefile,v 1.2 2007/01/02 13:44:23 rillig Exp $
 #
 
 DISTNAME=              partlibrary-2.0.1.2-1
 PKGNAME=               qcad-partlibrary-2.0.1.2
-
+PKGREVISION=           1
 CATEGORIES=            cad
 MASTER_SITES=          http://www.ribbonsoft.com/archives/partlibrary/
 EXTRACT_SUFX=          .zip
@@ -17,8 +17,12 @@
 
 DEPENDS+=      qcad>=2.0.0.0:../../cad/qcad
 
+post-extract:
+       chmod -R go-w ${WRKSRC}
+       cd ${WRKSRC}/electrical/denzuq && chmod -x */*/*.dxf
+
 do-install:
        ${INSTALL_DATA_DIR} ${PREFIX}/share/qcad/library
-       cd ${WRKSRC} && umask 022 && ${PAX} -rwpm . ${PREFIX}/share/qcad/library
+       cd ${WRKSRC} && pax -rwpm . ${PREFIX}/share/qcad/library
 
 .include "../../mk/bsd.pkg.mk"



Home | Main Index | Thread Index | Old Index