Tue Jun 27 10:35:46 2017 UTC ()
Phabricator doesn't support PHP-7.0.
Works fine with other versions in tree.


(roy)
diff -r1.9 -r1.10 pkgsrc/devel/arcanist/Makefile
diff -r1.5 -r1.6 pkgsrc/devel/libphutil/Makefile
diff -r1.9 -r1.10 pkgsrc/devel/phabricator/Makefile

cvs diff -r1.9 -r1.10 pkgsrc/devel/arcanist/Makefile (expand / switch to unified diff)

--- pkgsrc/devel/arcanist/Makefile 2017/06/23 14:05:19 1.9
+++ pkgsrc/devel/arcanist/Makefile 2017/06/27 10:35:46 1.10
@@ -1,27 +1,29 @@ @@ -1,27 +1,29 @@
1# $NetBSD: Makefile,v 1.9 2017/06/23 14:05:19 roy Exp $ 1# $NetBSD: Makefile,v 1.10 2017/06/27 10:35:46 roy Exp $
2 2
3DISTNAME= arcanist-20170609 3DISTNAME= arcanist-20170609
4CATEGORIES= devel 4CATEGORIES= devel
5MASTER_SITES= ${MASTER_SITE_GITHUB:=phacility/} 5MASTER_SITES= ${MASTER_SITE_GITHUB:=phacility/}
6# Track the stable branch 6# Track the stable branch
7GITHUB_PROJECT= arcanist 7GITHUB_PROJECT= arcanist
8GITHUB_TAG= 0c53a35d30e924f902510eb2e497ae5934209304 8GITHUB_TAG= 0c53a35d30e924f902510eb2e497ae5934209304
9 9
10MAINTAINER= roy@NetBSD.org 10MAINTAINER= roy@NetBSD.org
11HOMEPAGE= https://github.com/phacility/arcanist/ 11HOMEPAGE= https://github.com/phacility/arcanist/
12COMMENT= Command line interface for Phabricator 12COMMENT= Command line interface for Phabricator
13LICENSE= apache-2.0 13LICENSE= apache-2.0
14 14
 15PHP_VERSIONS_INCOMPATIBLE= 70
 16
15EXTRACT_USING= bsdtar 17EXTRACT_USING= bsdtar
16USE_TOOLS+= bsdtar pax 18USE_TOOLS+= bsdtar pax
17 19
18DEPENDS+= ${PHP_PKG_PREFIX}-curl-[0-9]*:../../www/php-curl 20DEPENDS+= ${PHP_PKG_PREFIX}-curl-[0-9]*:../../www/php-curl
19DEPENDS+= ${PHP_PKG_PREFIX}-json-[0-9]*:../../textproc/php-json 21DEPENDS+= ${PHP_PKG_PREFIX}-json-[0-9]*:../../textproc/php-json
20DEPENDS+= libphutil-[0-9]*:../../devel/libphutil 22DEPENDS+= libphutil-[0-9]*:../../devel/libphutil
21 23
22CONFLICTS+= arc-[0-9]*:../../archivers/arc 24CONFLICTS+= arc-[0-9]*:../../archivers/arc
23 25
24SUBST_CLASSES+= php 26SUBST_CLASSES+= php
25SUBST_MESSAGE.php= Fixing PHP path 27SUBST_MESSAGE.php= Fixing PHP path
26SUBST_STAGE.php= post-configure 28SUBST_STAGE.php= post-configure
27SUBST_FILES.php= scripts/arcanist.php 29SUBST_FILES.php= scripts/arcanist.php

cvs diff -r1.5 -r1.6 pkgsrc/devel/libphutil/Makefile (expand / switch to unified diff)

--- pkgsrc/devel/libphutil/Makefile 2017/06/23 14:05:19 1.5
+++ pkgsrc/devel/libphutil/Makefile 2017/06/27 10:35:46 1.6
@@ -1,27 +1,29 @@ @@ -1,27 +1,29 @@
1# $NetBSD: Makefile,v 1.5 2017/06/23 14:05:19 roy Exp $ 1# $NetBSD: Makefile,v 1.6 2017/06/27 10:35:46 roy Exp $
2 2
3DISTNAME= libphutil-20170609 3DISTNAME= libphutil-20170609
4CATEGORIES= devel 4CATEGORIES= devel
5MASTER_SITES= ${MASTER_SITE_GITHUB:=phacility/} 5MASTER_SITES= ${MASTER_SITE_GITHUB:=phacility/}
6# Track the stable branch 6# Track the stable branch
7GITHUB_PROJECT= libphutil 7GITHUB_PROJECT= libphutil
8GITHUB_TAG= 612619d0040b5e13c4e068dce443217abbc10a00 8GITHUB_TAG= 612619d0040b5e13c4e068dce443217abbc10a00
9 9
10MAINTAINER= roy@NetBSD.org 10MAINTAINER= roy@NetBSD.org
11HOMEPAGE= https://github.com/phacility/libphutil/ 11HOMEPAGE= https://github.com/phacility/libphutil/
12COMMENT= Collection of utility classes and functions for PHP 12COMMENT= Collection of utility classes and functions for PHP
13LICENSE= apache-2.0 13LICENSE= apache-2.0
14 14
 15PHP_VERSIONS_INCOMPATIBLE= 70
 16
15EXTRACT_USING= bsdtar 17EXTRACT_USING= bsdtar
16USE_TOOLS+= bsdtar pax 18USE_TOOLS+= bsdtar pax
17 19
18SUBST_CLASSES+= php 20SUBST_CLASSES+= php
19SUBST_MESSAGE.php= Fixing PHP path 21SUBST_MESSAGE.php= Fixing PHP path
20SUBST_STAGE.php= post-configure 22SUBST_STAGE.php= post-configure
21SUBST_FILES.php= scripts/build_xhpast.php 23SUBST_FILES.php= scripts/build_xhpast.php
22SUBST_FILES.php+= scripts/daemon/exec/exec_daemon.php 24SUBST_FILES.php+= scripts/daemon/exec/exec_daemon.php
23SUBST_FILES.php+= scripts/daemon/launch_daemon.php 25SUBST_FILES.php+= scripts/daemon/launch_daemon.php
24SUBST_FILES.php+= scripts/daemon/torture/resist-death.php 26SUBST_FILES.php+= scripts/daemon/torture/resist-death.php
25SUBST_FILES.php+= scripts/example/calculator.php 27SUBST_FILES.php+= scripts/example/calculator.php
26SUBST_FILES.php+= scripts/example/subworkflow.php 28SUBST_FILES.php+= scripts/example/subworkflow.php
27SUBST_FILES.php+= scripts/format_log.php 29SUBST_FILES.php+= scripts/format_log.php

cvs diff -r1.9 -r1.10 pkgsrc/devel/phabricator/Makefile (expand / switch to unified diff)

--- pkgsrc/devel/phabricator/Makefile 2017/06/23 14:05:19 1.9
+++ pkgsrc/devel/phabricator/Makefile 2017/06/27 10:35:46 1.10
@@ -1,27 +1,29 @@ @@ -1,27 +1,29 @@
1# $NetBSD: Makefile,v 1.9 2017/06/23 14:05:19 roy Exp $ 1# $NetBSD: Makefile,v 1.10 2017/06/27 10:35:46 roy Exp $
2 2
3DISTNAME= phabricator-20170609 3DISTNAME= phabricator-20170609
4CATEGORIES= devel 4CATEGORIES= devel
5MASTER_SITES= ${MASTER_SITE_GITHUB:=phacility/} 5MASTER_SITES= ${MASTER_SITE_GITHUB:=phacility/}
6# Track the stable branch 6# Track the stable branch
7GITHUB_PROJECT= phabricator 7GITHUB_PROJECT= phabricator
8GITHUB_TAG= 5885704800a97aadf47aee5654ff2647b40fb4ad 8GITHUB_TAG= 5885704800a97aadf47aee5654ff2647b40fb4ad
9 9
10MAINTAINER= roy@NetBSD.org 10MAINTAINER= roy@NetBSD.org
11HOMEPAGE= http://phabricator.com/ 11HOMEPAGE= http://phabricator.com/
12COMMENT= Open software engineering platform 12COMMENT= Open software engineering platform
13LICENSE= apache-2.0 13LICENSE= apache-2.0
14 14
 15PHP_VERSIONS_INCOMPATIBLE= 70
 16
15USE_TOOLS+= pax bash:run 17USE_TOOLS+= pax bash:run
16EXTRACT_USING= bsdtar 18EXTRACT_USING= bsdtar
17 19
18DEPENDS+= ${PHP_PKG_PREFIX}-curl-[0-9]*:../../www/php-curl 20DEPENDS+= ${PHP_PKG_PREFIX}-curl-[0-9]*:../../www/php-curl
19DEPENDS+= ${PHP_PKG_PREFIX}-mbstring-[0-9]*:../../converters/php-mbstring 21DEPENDS+= ${PHP_PKG_PREFIX}-mbstring-[0-9]*:../../converters/php-mbstring
20DEPENDS+= ${PHP_PKG_PREFIX}-iconv-[0-9]*:../../converters/php-iconv 22DEPENDS+= ${PHP_PKG_PREFIX}-iconv-[0-9]*:../../converters/php-iconv
21DEPENDS+= ${PHP_PKG_PREFIX}-mysqli-[0-9]*:../../databases/php-mysqli 23DEPENDS+= ${PHP_PKG_PREFIX}-mysqli-[0-9]*:../../databases/php-mysqli
22DEPENDS+= ${PHP_PKG_PREFIX}-pcntl-[0-9]*:../../devel/php-pcntl 24DEPENDS+= ${PHP_PKG_PREFIX}-pcntl-[0-9]*:../../devel/php-pcntl
23DEPENDS+= ${PHP_PKG_PREFIX}-posix-[0-9]*:../../devel/php-posix 25DEPENDS+= ${PHP_PKG_PREFIX}-posix-[0-9]*:../../devel/php-posix
24DEPENDS+= ${PHP_PKG_PREFIX}-gd-[0-9]*:../../graphics/php-gd 26DEPENDS+= ${PHP_PKG_PREFIX}-gd-[0-9]*:../../graphics/php-gd
25DEPENDS+= ${PHP_PKG_PREFIX}-zlib-[0-9]*:../../archivers/php-zlib 27DEPENDS+= ${PHP_PKG_PREFIX}-zlib-[0-9]*:../../archivers/php-zlib
26DEPENDS+= ${PHP_PKG_PREFIX}-opcache-[0-9]*:../../devel/php-opcache 28DEPENDS+= ${PHP_PKG_PREFIX}-opcache-[0-9]*:../../devel/php-opcache
27DEPENDS+= ${PHP_PKG_PREFIX}-apcu-[0-9]*:../../www/php-apcu 29DEPENDS+= ${PHP_PKG_PREFIX}-apcu-[0-9]*:../../www/php-apcu
@@ -68,28 +70,26 @@ REPLACE_BASH+= scripts/install/install_ @@ -68,28 +70,26 @@ REPLACE_BASH+= scripts/install/install_
68NO_BUILD= yes 70NO_BUILD= yes
69 71
70RCD_SCRIPTS= phd 72RCD_SCRIPTS= phd
71 73
72PHABRICATOR_DIR= share/phabricator 74PHABRICATOR_DIR= share/phabricator
73 75
74INSTALLATION_DIRS+= ${PHABRICATOR_DIR} 76INSTALLATION_DIRS+= ${PHABRICATOR_DIR}
75 77
76CHECK_INTERPRETER_SKIP+=${PHABRICATOR_DIR}/externals/wordlist/password.lst 78CHECK_INTERPRETER_SKIP+=${PHABRICATOR_DIR}/externals/wordlist/password.lst
77 79
78CHMOD_FILES= conf LICENSE NOTICE README.md externals resources src \ 80CHMOD_FILES= conf LICENSE NOTICE README.md externals resources src \
79 support webroot scripts/__init_script__.php scripts/fpm/warmup.php 81 support webroot scripts/__init_script__.php scripts/fpm/warmup.php
80 82
81PHP_VERSIONS_ACCEPTED= 71 
82 
83post-extract: 83post-extract:
84 cd ${WRKSRC} && \ 84 cd ${WRKSRC} && \
85 ${FIND} ${CHMOD_FILES} -type f \ 85 ${FIND} ${CHMOD_FILES} -type f \
86 \! -name aphlict_launcher.php \ 86 \! -name aphlict_launcher.php \
87 -exec ${CHMOD} -x \{\} \; 87 -exec ${CHMOD} -x \{\} \;
88 88
89do-install: 89do-install:
90 cd ${WRKSRC} && \ 90 cd ${WRKSRC} && \
91 ${PAX} -rw * -s',.*\.orig$$,,' \ 91 ${PAX} -rw * -s',.*\.orig$$,,' \
92 ${DESTDIR}${PREFIX}/${PHABRICATOR_DIR} 92 ${DESTDIR}${PREFIX}/${PHABRICATOR_DIR}
93 93
94.include "../../lang/php/phpversion.mk" 94.include "../../lang/php/phpversion.mk"
95.include "../../mk/bsd.pkg.mk" 95.include "../../mk/bsd.pkg.mk"