pkgsrc-Changes archive

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

CVS commit: pkgsrc/emulators/gns3-server



Module Name:    pkgsrc
Committed By:   markd
Date:           Thu Dec 19 21:19:43 UTC 2019

Modified Files:
        pkgsrc/emulators/gns3-server: Makefile

Log Message:
gns3-server: fix install for python != 3.7.
Also fix permissions of installed files


To generate a diff of this commit:
cvs rdiff -u -r1.1 -r1.2 pkgsrc/emulators/gns3-server/Makefile

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/emulators/gns3-server/Makefile
diff -u pkgsrc/emulators/gns3-server/Makefile:1.1 pkgsrc/emulators/gns3-server/Makefile:1.2
--- pkgsrc/emulators/gns3-server/Makefile:1.1   Sun Nov  3 01:31:38 2019
+++ pkgsrc/emulators/gns3-server/Makefile       Thu Dec 19 21:19:43 2019
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.1 2019/11/03 01:31:38 markd Exp $
+# $NetBSD: Makefile,v 1.2 2019/12/19 21:19:43 markd Exp $
 
 DISTNAME=      gns3-server-2.2.1
 CATEGORIES=    emulators
@@ -23,8 +23,8 @@ DEPENDS+=     ${PYPKGPREFIX}-psutil>=3.0.0:.
 DEPENDS+=      ${PYPKGPREFIX}-async-timeout>=3.0.1:../../devel/py-async-timeout
 DEPENDS+=      ${PYPKGPREFIX}-zipstream>=1.1.4:../../archivers/py-zipstream
 
-CHECK_INTERPRETER_SKIP+=       lib/python3.7/site-packages/gns3server/compute/docker/resources/init.sh
-CHECK_INTERPRETER_SKIP+=       lib/python3.7/site-packages/gns3server/compute/docker/resources/etc/udhcpc/default.script
+CHECK_INTERPRETER_SKIP+=       ${PYSITELIB}/gns3server/compute/docker/resources/init.sh
+CHECK_INTERPRETER_SKIP+=       ${PYSITELIB}/gns3server/compute/docker/resources/etc/udhcpc/default.script
 
 # we have newer jsonschema and it seems fine
 SUBST_CLASSES+=                inst
@@ -32,6 +32,11 @@ SUBST_STAGE.inst=    pre-configure
 SUBST_FILES.inst=      requirements.txt
 SUBST_SED.inst=                -e "s:jsonschema==2.6.0:jsonschema:"
 
+post-install:
+       chmod go-w ${DESTDIR}${PREFIX}/${PYSITELIB}/gns3server/compute/docker/resources/init.sh
+       chmod go-w ${DESTDIR}${PREFIX}/${PYSITELIB}/gns3server/compute/docker/resources/etc/udhcpc/default.script
+       chmod go-w ${DESTDIR}${PREFIX}/${PYSITELIB}/gns3server/compute/docker/resources/bin/busybox
+
 .include "../../lang/python/application.mk"
 .include "../../lang/python/egg.mk"
 



Home | Main Index | Thread Index | Old Index