[arch-commits] Commit in hhvm/repos (8 files)

2016-08-19 Thread Massimiliano Torromeo
Date: Friday, August 19, 2016 @ 16:07:44
  Author: mtorromeo
Revision: 187070

archrelease: copy trunk to community-staging-x86_64

Added:
  hhvm/repos/community-staging-x86_64/
  hhvm/repos/community-staging-x86_64/PKGBUILD
(from rev 187069, hhvm/trunk/PKGBUILD)
  hhvm/repos/community-staging-x86_64/hhvm.install
(from rev 187069, hhvm/trunk/hhvm.install)
  hhvm/repos/community-staging-x86_64/hhvm.service
(from rev 187069, hhvm/trunk/hhvm.service)
  hhvm/repos/community-staging-x86_64/hhvm.tmpfile
(from rev 187069, hhvm/trunk/hhvm.tmpfile)
  hhvm/repos/community-staging-x86_64/hhvm@.service
(from rev 187069, hhvm/trunk/hhvm@.service)
  hhvm/repos/community-staging-x86_64/php.ini
(from rev 187069, hhvm/trunk/php.ini)
  hhvm/repos/community-staging-x86_64/server.ini
(from rev 187069, hhvm/trunk/server.ini)

---+
 PKGBUILD  |  164 
 hhvm.install  |9 +++
 hhvm.service  |   15 +
 hhvm.tmpfile  |2 
 hhvm@.service |   15 +
 php.ini   |   10 +++
 server.ini|6 ++
 7 files changed, 221 insertions(+)

Copied: hhvm/repos/community-staging-x86_64/PKGBUILD (from rev 187069, 
hhvm/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2016-08-19 16:07:44 UTC (rev 187070)
@@ -0,0 +1,164 @@
+# $Id$
+# Maintainer: Massimiliano Torromeo 
+# Contributor: James Miller 
+
+pkgname=hhvm
+pkgver=3.14.4
+pkgrel=3
+
+_thirdparty_commit=e1fcf90c07e0af00906f98cde8aa828bec7b2e01
+_brotli_commit=98ed7a23a83d64133b0a36a884e489bffb0eb864
+_folly_commit=05cdf111f5e6a4585a5e9140fda26f4fea070637
+_mcrouter_commit=679c32548ef7d3c8624b15c0c38f584b37177478
+_proxygen_commit=0b0b50c08b2165f4ed4e4f374ddbeabbc8582e44
+_squangle_commit=36a61d13d03e72dc710028d48de5616f9926128a
+_thrift_commit=8672f88b084d2d5242016f2a4df282ee2c6d4023
+_wangle_commit=4903f961a88751e684f703aaf08511cd5c486a84
+_webscalesql_commit=a9e580b5a0baa768210ef10544c8fab52003ec0b
+
+pkgdesc="Virtual Machine, Runtime, and JIT for PHP"
+arch=('x86_64')
+url="http://hhvm.com";
+license=('PHP')
+depends=('boost-libs' 'google-glog' 'libmysqlclient' 'libmemcached' 'libzip'
+ 'libxslt' 'intel-tbb' 'libmcrypt' 'oniguruma' 'jemalloc' 'curl'
+ 'libvpx' 'libdwarf' 'imagemagick' 'libedit' 'sqlite' 'libyaml'
+ 'fribidi' 're2' 'gperf' 'c-client' 'unixodbc' 'numactl')
+makedepends=('git' 'mercurial' 'cmake' 'gcc' 'boost'
+ 'gflags' 'pfff' 'ragel' 'libmariadbclient' 'python2')
+source=("https://github.com/facebook/hhvm/archive/HHVM-$pkgver.tar.gz";
+
"https://github.com/hhvm/hhvm-third-party/archive/$_thirdparty_commit/hhvm-third-party-$_thirdparty_commit.tar.gz";
+
"https://github.com/facebook/folly/archive/$_folly_commit/folly-$_folly_commit.tar.gz";
+
"https://github.com/google/brotli/archive/$_brotli_commit/brotli-$_brotli_commit.tar.gz";
+
"https://github.com/facebook/fbthrift/archive/$_thrift_commit/thrift-$_thrift_commit.tar.gz";
+
"https://github.com/facebook/proxygen/archive/$_proxygen_commit/proxygen-$_proxygen_commit.tar.gz";
+
"https://github.com/facebook/mysql-5.6/archive/$_webscalesql_commit/webscalesql-$_webscalesql_commit.tar.gz";
+
"https://github.com/facebook/mcrouter/archive/$_mcrouter_commit/mcrouter-$_mcrouter_commit.tar.gz";
+
"https://github.com/facebook/squangle/archive/$_squangle_commit/squangle-$_squangle_commit.tar.gz";
+
"https://github.com/facebook/wangle/archive/$_wangle_commit/wangle-$_wangle_commit.tar.gz";
+'hhvm.tmpfile'
+'hhvm.service'
+'hhvm@.service'
+'php.ini'
+'server.ini'
+"folly-fiber-remove.patch")
+install=hhvm.install
+backup=(etc/hhvm/{php,server}.ini)
+options+=('!buildflags')
+
+prepare() {
+cd "$srcdir"/folly-$_folly_commit
+# not yet compatible with boost 1.61
+# https://github.com/facebook/folly/issues/413
+patch -p1 -i "$srcdir"/folly-fiber-remove.patch
+
+cd "$srcdir"/$pkgname-HHVM-$pkgver
+
+sed 's/TypedValue m_extraArgs\[\];/TypedValue m_extraArgs[0];/' \
+-i hphp/runtime/vm/bytecode.h
+
+sed -r 's/service hhvm (start|stop|restart)/systemctl \1 hhvm.service/' \
+-i hphp/tools/oss-repo-mode
+
+# Fix sendmail path
+sed -r 's#/usr/lib/sendmail#/usr/bin/sendmail#g' -i \
+hphp/runtime/base/runtime-option.cpp
+
+rm -rf third-party
+ln -s "$srcdir"/hhvm-third-party-$_thirdparty_commit third-party
+
+cd third-party/folly
+rm -rf src
+ln -s "$srcdir"/folly-$_folly_commit src
+
+cd ../brotli
+rm -rf src
+ln -s "$srcdir"/brotli-$_brotli_commit src
+
+cd ../thrift
+rm -rf src
+ln -s "$srcdir"/fbthrift-$_thrift_commit src
+
+cd ../proxygen
+rm -rf src
+ln -s "$srcdir"/proxygen-$_proxygen_commit src
+
+cd ../mcrouter

[arch-commits] Commit in hhvm/repos (8 files)

2016-07-25 Thread Massimiliano Torromeo
Date: Monday, July 25, 2016 @ 09:44:50
  Author: mtorromeo
Revision: 183952

archrelease: copy trunk to community-staging-x86_64

Added:
  hhvm/repos/community-staging-x86_64/
  hhvm/repos/community-staging-x86_64/PKGBUILD
(from rev 183951, hhvm/trunk/PKGBUILD)
  hhvm/repos/community-staging-x86_64/hhvm.install
(from rev 183951, hhvm/trunk/hhvm.install)
  hhvm/repos/community-staging-x86_64/hhvm.service
(from rev 183951, hhvm/trunk/hhvm.service)
  hhvm/repos/community-staging-x86_64/hhvm.tmpfile
(from rev 183951, hhvm/trunk/hhvm.tmpfile)
  hhvm/repos/community-staging-x86_64/hhvm@.service
(from rev 183951, hhvm/trunk/hhvm@.service)
  hhvm/repos/community-staging-x86_64/php.ini
(from rev 183951, hhvm/trunk/php.ini)
  hhvm/repos/community-staging-x86_64/server.ini
(from rev 183951, hhvm/trunk/server.ini)

---+
 PKGBUILD  |  157 
 hhvm.install  |9 +++
 hhvm.service  |   15 +
 hhvm.tmpfile  |2 
 hhvm@.service |   15 +
 php.ini   |   10 +++
 server.ini|6 ++
 7 files changed, 214 insertions(+)

Copied: hhvm/repos/community-staging-x86_64/PKGBUILD (from rev 183951, 
hhvm/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2016-07-25 09:44:50 UTC (rev 183952)
@@ -0,0 +1,157 @@
+# $Id$
+# Maintainer: Massimiliano Torromeo 
+# Contributor: James Miller 
+
+pkgname=hhvm
+pkgver=3.14.3
+pkgrel=2
+
+_thirdparty_commit=e1fcf90c07e0af00906f98cde8aa828bec7b2e01
+_brotli_commit=98ed7a23a83d64133b0a36a884e489bffb0eb864
+_folly_commit=05cdf111f5e6a4585a5e9140fda26f4fea070637
+_mcrouter_commit=679c32548ef7d3c8624b15c0c38f584b37177478
+_proxygen_commit=0b0b50c08b2165f4ed4e4f374ddbeabbc8582e44
+_squangle_commit=36a61d13d03e72dc710028d48de5616f9926128a
+_thrift_commit=8672f88b084d2d5242016f2a4df282ee2c6d4023
+_wangle_commit=4903f961a88751e684f703aaf08511cd5c486a84
+_webscalesql_commit=a9e580b5a0baa768210ef10544c8fab52003ec0b
+
+pkgdesc="Virtual Machine, Runtime, and JIT for PHP"
+arch=('x86_64')
+url="http://hhvm.com";
+license=('PHP')
+depends=('boost-libs' 'google-glog' 'libmysqlclient' 'libmemcached' 'libzip'
+ 'libxslt' 'intel-tbb' 'libmcrypt' 'oniguruma' 'jemalloc' 'curl'
+ 'libvpx' 'libdwarf' 'imagemagick' 'libedit' 'sqlite' 'libyaml'
+ 'fribidi' 're2' 'gperf' 'c-client' 'unixodbc' 'numactl')
+makedepends=('git' 'mercurial' 'cmake' 'gcc' 'boost' 'gflags' 'python2'
+ 'pfff' 'ragel' 'libmariadbclient')
+source=("https://github.com/facebook/hhvm/archive/HHVM-$pkgver.tar.gz";
+
"https://github.com/hhvm/hhvm-third-party/archive/$_thirdparty_commit/hhvm-third-party-$_thirdparty_commit.tar.gz";
+
"https://github.com/facebook/folly/archive/$_folly_commit/folly-$_folly_commit.tar.gz";
+
"https://github.com/google/brotli/archive/$_brotli_commit/brotli-$_brotli_commit.tar.gz";
+
"https://github.com/facebook/fbthrift/archive/$_thrift_commit/thrift-$_thrift_commit.tar.gz";
+
"https://github.com/facebook/proxygen/archive/$_proxygen_commit/proxygen-$_proxygen_commit.tar.gz";
+
"https://github.com/facebook/mysql-5.6/archive/$_webscalesql_commit/webscalesql-$_webscalesql_commit.tar.gz";
+
"https://github.com/facebook/mcrouter/archive/$_mcrouter_commit/mcrouter-$_mcrouter_commit.tar.gz";
+
"https://github.com/facebook/squangle/archive/$_squangle_commit/squangle-$_squangle_commit.tar.gz";
+
"https://github.com/facebook/wangle/archive/$_wangle_commit/wangle-$_wangle_commit.tar.gz";
+'hhvm.tmpfile'
+'hhvm.service'
+'hhvm@.service'
+'php.ini'
+'server.ini')
+install=hhvm.install
+backup=(etc/hhvm/{php,server}.ini)
+options+=('!buildflags')
+
+prepare() {
+cd "$srcdir"/$pkgname-HHVM-$pkgver
+
+sed 's/TypedValue m_extraArgs\[\];/TypedValue m_extraArgs[0];/' \
+-i hphp/runtime/vm/bytecode.h
+
+sed -r 's/service hhvm (start|stop|restart)/systemctl \1 hhvm.service/' \
+-i hphp/tools/oss-repo-mode
+
+# Fix sendmail path
+sed -r 's#/usr/lib/sendmail#/usr/bin/sendmail#g' -i \
+hphp/runtime/base/runtime-option.cpp
+
+rm -rf third-party
+ln -s "$srcdir"/hhvm-third-party-$_thirdparty_commit third-party
+
+cd third-party/folly
+rm -rf src
+ln -s "$srcdir"/folly-$_folly_commit src
+
+cd ../brotli
+rm -rf src
+ln -s "$srcdir"/brotli-$_brotli_commit src
+
+cd ../thrift
+rm -rf src
+ln -s "$srcdir"/fbthrift-$_thrift_commit src
+
+cd ../proxygen
+rm -rf src
+ln -s "$srcdir"/proxygen-$_proxygen_commit src
+
+cd ../mcrouter
+rm -rf src
+ln -s "$srcdir"/mcrouter-$_mcrouter_commit src
+
+cd ../wangle
+rm -rf src
+ln -s "$srcdir"/wangle-$_wangle_commit src
+
+cd ../squangle
+rm -rf src squangle
+ln -s "$srcdir"/squan

[arch-commits] Commit in hhvm/repos (8 files)

2015-12-22 Thread Evangelos Foutras
Date: Tuesday, December 22, 2015 @ 13:58:34
  Author: foutrelis
Revision: 154201

archrelease: copy trunk to community-staging-x86_64

Added:
  hhvm/repos/community-staging-x86_64/
  hhvm/repos/community-staging-x86_64/PKGBUILD
(from rev 154200, hhvm/trunk/PKGBUILD)
  hhvm/repos/community-staging-x86_64/hhvm.install
(from rev 154200, hhvm/trunk/hhvm.install)
  hhvm/repos/community-staging-x86_64/hhvm.service
(from rev 154200, hhvm/trunk/hhvm.service)
  hhvm/repos/community-staging-x86_64/hhvm.tmpfile
(from rev 154200, hhvm/trunk/hhvm.tmpfile)
  hhvm/repos/community-staging-x86_64/hhvm@.service
(from rev 154200, hhvm/trunk/hhvm@.service)
  hhvm/repos/community-staging-x86_64/php.ini
(from rev 154200, hhvm/trunk/php.ini)
  hhvm/repos/community-staging-x86_64/server.ini
(from rev 154200, hhvm/trunk/server.ini)

---+
 PKGBUILD  |  150 
 hhvm.install  |9 +++
 hhvm.service  |   15 +
 hhvm.tmpfile  |2 
 hhvm@.service |   15 +
 php.ini   |   10 +++
 server.ini|6 ++
 7 files changed, 207 insertions(+)

Copied: hhvm/repos/community-staging-x86_64/PKGBUILD (from rev 154200, 
hhvm/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2015-12-22 12:58:34 UTC (rev 154201)
@@ -0,0 +1,150 @@
+# $Id$
+# Maintainer: Massimiliano Torromeo 
+# Contributor: James Miller 
+
+pkgname=hhvm
+pkgver=3.11.0
+pkgrel=2
+
+_thirdparty_commit=5211c1aeaf5dd24ac41149c6b05e24f4a52da23f
+_folly_commit=7ce0da391198be14d4a12a42f918d90ceba63b31
+_mcrouter_commit=cb05bfa78209fb5f49b1af7e04553d8429ae3d7a
+_proxygen_commit=1cc6552541156f94dd47808f3024fbebf1d8fc2c
+_squangle_commit=5efc6ad1a6d5078e836bf9c0b6d58416cc3f234e
+_thrift_commit=814ff42fa8912c97ff20f4fc90536243b8de9d59
+_wangle_commit=30c42a4ae96a0a33aa016a7b7d0ad6414cf9a62a
+_webscalesql_commit=a9e580b5a0baa768210ef10544c8fab52003ec0b
+
+pkgdesc="Virtual Machine, Runtime, and JIT for PHP"
+arch=('x86_64')
+url="http://hhvm.com";
+license=('PHP')
+depends=('boost-libs' 'google-glog' 'libmysqlclient' 'libmemcached' 'libzip'
+ 'libxslt' 'intel-tbb' 'libmcrypt' 'oniguruma' 'jemalloc' 'curl' 
'libvpx'
+ 'libdwarf' 'imagemagick' 'libedit' 'sqlite' 'libyaml' 'fribidi' 're2'
+ 'gperf' 'c-client' 'unixodbc')
+makedepends=('git' 'cmake' 'gcc' 'boost' 'gflags' 'python2' 'pfff' 'mongodb'
+ 'ragel' 'libmariadbclient')
+source=("https://github.com/facebook/hhvm/archive/HHVM-$pkgver.tar.gz";
+
"https://github.com/hhvm/hhvm-third-party/archive/$_thirdparty_commit/hhvm-third-party-$_thirdparty_commit.tar.gz";
+
"https://github.com/facebook/folly/archive/$_folly_commit/folly-$_folly_commit.tar.gz";
+
"https://github.com/facebook/fbthrift/archive/$_thrift_commit/thrift-$_thrift_commit.tar.gz";
+
"https://github.com/facebook/proxygen/archive/$_proxygen_commit/proxygen-$_proxygen_commit.tar.gz";
+
"https://github.com/facebook/mysql-5.6/archive/$_webscalesql_commit/webscalesql-$_webscalesql_commit.tar.gz";
+
"https://github.com/facebook/mcrouter/archive/$_mcrouter_commit/mcrouter-$_mcrouter_commit.tar.gz";
+
"https://github.com/facebook/squangle/archive/$_squangle_commit/squangle-$_squangle_commit.tar.gz";
+
"https://github.com/facebook/wangle/archive/$_wangle_commit/wangle-$_wangle_commit.tar.gz";
+'hhvm.tmpfile'
+'hhvm.service'
+'hhvm@.service'
+'php.ini'
+'server.ini')
+install=hhvm.install
+backup=(etc/hhvm/{php,server}.ini)
+options+=('!buildflags')
+
+prepare() {
+cd "$srcdir"/$pkgname-HHVM-$pkgver
+
+sed -r 's/service hhvm (start|stop|restart)/systemctl \1 hhvm.service/' \
+-i hphp/tools/oss-repo-mode
+
+# Need to remove this to link to system boost and google-glog
+sed -i 's/-D_GLIBCXX_USE_CXX11_ABI=0//' CMake/HPHPCompiler.cmake
+
+# Fix sendmail path
+sed -r 's#/usr/lib/sendmail#/usr/bin/sendmail#g' -i \
+hphp/runtime/base/runtime-option.cpp
+
+rm -rf third-party
+ln -s "$srcdir"/hhvm-third-party-$_thirdparty_commit third-party
+
+cd third-party/folly
+rm -rf src
+ln -s "$srcdir"/folly-$_folly_commit src
+
+cd ../thrift
+rm -rf src
+ln -s "$srcdir"/fbthrift-$_thrift_commit src
+
+cd ../proxygen
+rm -rf src
+ln -s "$srcdir"/proxygen-$_proxygen_commit src
+
+cd ../mcrouter
+rm -rf src
+ln -s "$srcdir"/mcrouter-$_mcrouter_commit src
+
+cd ../wangle
+rm -rf src
+ln -s "$srcdir"/wangle-$_wangle_commit src
+
+cd ../squangle
+rm -rf src squangle
+ln -s "$srcdir"/squangle-$_squangle_commit src
+ln -s src/squangle
+
+cd ../webscalesqlclient
+rm -rf mysql-5.6
+ln -s "$srcdir"/mysql-5.6-$_webscalesql_commit mysql-5.6
+}
+
+build() {
+cd "$srcdir"/$pkgname-HHVM-$pkgver

[arch-commits] Commit in hhvm/repos (8 files)

2015-05-11 Thread Massimiliano Torromeo
Date: Monday, May 11, 2015 @ 13:53:32
  Author: mtorromeo
Revision: 133228

archrelease: copy trunk to community-staging-x86_64

Added:
  hhvm/repos/community-staging-x86_64/
  hhvm/repos/community-staging-x86_64/PKGBUILD
(from rev 133227, hhvm/trunk/PKGBUILD)
  hhvm/repos/community-staging-x86_64/hhvm.install
(from rev 133227, hhvm/trunk/hhvm.install)
  hhvm/repos/community-staging-x86_64/hhvm.service
(from rev 133227, hhvm/trunk/hhvm.service)
  hhvm/repos/community-staging-x86_64/hhvm.tmpfile
(from rev 133227, hhvm/trunk/hhvm.tmpfile)
  hhvm/repos/community-staging-x86_64/hhvm@.service
(from rev 133227, hhvm/trunk/hhvm@.service)
  hhvm/repos/community-staging-x86_64/php.ini
(from rev 133227, hhvm/trunk/php.ini)
  hhvm/repos/community-staging-x86_64/server.ini
(from rev 133227, hhvm/trunk/server.ini)

---+
 PKGBUILD  |  142 
 hhvm.install  |9 +++
 hhvm.service  |   15 +
 hhvm.tmpfile  |2 
 hhvm@.service |   15 +
 php.ini   |   10 +++
 server.ini|6 ++
 7 files changed, 199 insertions(+)

Copied: hhvm/repos/community-staging-x86_64/PKGBUILD (from rev 133227, 
hhvm/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2015-05-11 11:53:32 UTC (rev 133228)
@@ -0,0 +1,142 @@
+# $Id$
+# Maintainer: Massimiliano Torromeo 
+# Contributor: James Miller 
+
+pkgname=hhvm
+pkgver=3.7.0
+pkgrel=2
+
+_thirdparty_commit=7f549260cbac2f6575d787948d668f20261c3d75
+_folly_commit=7c9f26357a1a2852ea11b051e1e0402dcfbce861
+_thrift_commit=385419f71e40a77df1fcfe6d1a9349d99d200902
+_proxygen_commit=72622b8af97bd56a0dd271b10be18864653a8bb7
+_webscalesql_commit=19c1a57078cdec7d238037258345151e871caef4
+_mcrouter_commit=55dece4d60de21d68e7651bd6083c403f9edf0f5
+_squangle_commit=269cd2e30a88b16b1cdf12f1eec5a1c16cb8be10
+
+pkgdesc="Virtual Machine, Runtime, and JIT for PHP"
+arch=('x86_64')
+url="http://hhvm.com";
+license=('PHP')
+depends=('boost-libs' 'google-glog' 'libmysqlclient' 'libmemcached' 'libzip'
+ 'libxslt' 'intel-tbb' 'libmcrypt' 'oniguruma' 'jemalloc' 'curl' 
'libvpx'
+ 'libdwarf' 'imagemagick' 'libedit' 'sqlite' 'libyaml' 'fribidi' 're2'
+ 'gperf')
+makedepends=('git' 'cmake' 'gcc' 'boost' 'gflags' 'python2' 'pfff' 'mongodb'
+ 'ragel' 'libmariadbclient' 'unixodbc')
+source=("https://github.com/facebook/hhvm/archive/HHVM-$pkgver.tar.gz";
+
"hhvm-third-party-$_thirdparty_commit.tar.gz::https://github.com/hhvm/hhvm-third-party/archive/$_thirdparty_commit.tar.gz";
+
"folly-$_folly_commit.tar.gz::https://github.com/facebook/folly/archive/$_folly_commit.tar.gz";
+
"thrift-$_thrift_commit.tar.gz::https://github.com/facebook/fbthrift/archive/$_thrift_commit.tar.gz";
+
"proxygen-$_proxygen_commit.tar.gz::https://github.com/facebook/proxygen/archive/$_proxygen_commit.tar.gz";
+
"webscalesql-$_webscalesql_commit.tar.gz::https://github.com/webscalesql/webscalesql-5.6/archive/$_webscalesql_commit.tar.gz";
+
"mcrouter-$_mcrouter_commit.tar.gz::https://github.com/facebook/mcrouter/archive/$_mcrouter_commit.tar.gz";
+
"squangle-$_squangle_commit.tar.gz::https://github.com/facebook/squangle/archive/$_squangle_commit.tar.gz";
+'hhvm.tmpfile'
+'hhvm.service'
+'hhvm@.service'
+'php.ini'
+'server.ini'
+
'libvpx14.patch::https://patch-diff.githubusercontent.com/raw/facebook/hhvm/pull/5191.diff')
+install=hhvm.install
+backup=(etc/hhvm/{php,server}.ini)
+options+=('!buildflags')
+
+prepare() {
+cd "$srcdir"/$pkgname-HHVM-$pkgver
+
+patch -p1 -i "$srcdir"/libvpx14.patch
+
+# Fix sendmail path
+sed -r 's#/usr/lib/sendmail#/usr/bin/sendmail#g' -i \
+hphp/runtime/base/runtime-option.cpp
+
+rm -rf third-party
+ln -s "$srcdir"/hhvm-third-party-$_thirdparty_commit third-party
+
+cd third-party/folly
+rm -rf src
+ln -s "$srcdir"/folly-$_folly_commit src
+
+cd ../thrift
+rm -rf src
+ln -s "$srcdir"/fbthrift-$_thrift_commit src
+
+cd ../proxygen
+rm -rf src
+ln -s "$srcdir"/proxygen-$_proxygen_commit src
+
+cd ../mcrouter
+rm -rf src
+ln -s "$srcdir"/mcrouter-$_mcrouter_commit src
+
+cd ../squangle
+rm -rf src squangle
+ln -s "$srcdir"/squangle-$_squangle_commit src
+ln -s src/squangle
+
+cd ../webscalesqlclient
+rm -rf src webscalesql-5.6
+ln -s "$srcdir"/webscalesql-5.6-$_webscalesql_commit webscalesql-5.6
+ln -s "$srcdir"/webscalesql-5.6-$_webscalesql_commit src
+}
+
+build() {
+cd "$srcdir"/$pkgname-HHVM-$pkgver
+msg2 "Building hhvm"
+
+cmake -Wno-dev \
+-DCMAKE_BUILD_TYPE=Release \
+-DCMAKE_INSTALL_PREFIX=/usr \
+-DCMAKE_INSTALL_LIBDIR=lib \
+-DCMAKE_PREFIX_PATH="$srcdir" \
+-DENAB

[arch-commits] Commit in hhvm/repos (8 files)

2015-04-20 Thread Massimiliano Torromeo
Date: Monday, April 20, 2015 @ 11:43:22
  Author: mtorromeo
Revision: 131740

archrelease: copy trunk to community-staging-x86_64

Added:
  hhvm/repos/community-staging-x86_64/
  hhvm/repos/community-staging-x86_64/PKGBUILD
(from rev 131739, hhvm/trunk/PKGBUILD)
  hhvm/repos/community-staging-x86_64/hhvm.install
(from rev 131739, hhvm/trunk/hhvm.install)
  hhvm/repos/community-staging-x86_64/hhvm.service
(from rev 131739, hhvm/trunk/hhvm.service)
  hhvm/repos/community-staging-x86_64/hhvm.tmpfile
(from rev 131739, hhvm/trunk/hhvm.tmpfile)
  hhvm/repos/community-staging-x86_64/hhvm@.service
(from rev 131739, hhvm/trunk/hhvm@.service)
  hhvm/repos/community-staging-x86_64/php.ini
(from rev 131739, hhvm/trunk/php.ini)
  hhvm/repos/community-staging-x86_64/server.ini
(from rev 131739, hhvm/trunk/server.ini)

---+
 PKGBUILD  |  141 
 hhvm.install  |9 +++
 hhvm.service  |   15 +
 hhvm.tmpfile  |2 
 hhvm@.service |   15 +
 php.ini   |   10 +++
 server.ini|6 ++
 7 files changed, 198 insertions(+)

Copied: hhvm/repos/community-staging-x86_64/PKGBUILD (from rev 131739, 
hhvm/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2015-04-20 09:43:22 UTC (rev 131740)
@@ -0,0 +1,141 @@
+# $Id$
+# Maintainer: Massimiliano Torromeo 
+# Contributor: James Miller 
+
+pkgname=hhvm
+pkgver=3.6.1
+pkgrel=3
+
+_thirdparty_commit=3bf14f9194bff0f681ee60bc6e5f1ac60b233f5c
+_folly_commit=7d2497f0e57fb14b6ea43a5a2d180604d7e1e7e5
+_thrift_commit=d30280a33ed2c67672b0295872397e5affb60f8c
+_proxygen_commit=d17b4e7735ab728d77266a538cef4dcfc57b5fbd
+_webscalesql_commit=004b6b348fdf48f0aa4e3fe1010b891d4fdb9f70
+_mcrouter_commit=addcc91aee3942f4e50760a43fdcb052482be00e
+_squangle_commit=269cd2e30a88b16b1cdf12f1eec5a1c16cb8be10
+
+pkgdesc="Virtual Machine, Runtime, and JIT for PHP"
+arch=('x86_64')
+url="http://hhvm.com";
+license=('PHP')
+depends=('boost-libs' 'google-glog' 'libmysqlclient' 'libmemcached' 'libzip'
+ 'libxslt' 'intel-tbb' 'libmcrypt' 'oniguruma' 'jemalloc' 'curl' 
'libvpx'
+ 'libdwarf' 'imagemagick' 'libedit' 'sqlite' 'libyaml' 'fribidi' 're2')
+makedepends=('git' 'cmake' 'gcc' 'boost' 'gflags' 'python2' 'pfff' 'mongodb'
+ 'ragel' 'libmariadbclient' 'unixodbc')
+source=("https://github.com/facebook/hhvm/archive/HHVM-$pkgver.tar.gz";
+
"hhvm-third-party-$_thirdparty_commit.tar.gz::https://github.com/hhvm/hhvm-third-party/archive/$_thirdparty_commit.tar.gz";
+
"folly-$_folly_commit.tar.gz::https://github.com/facebook/folly/archive/$_folly_commit.tar.gz";
+
"thrift-$_thrift_commit.tar.gz::https://github.com/facebook/fbthrift/archive/$_thrift_commit.tar.gz";
+
"proxygen-$_proxygen_commit.tar.gz::https://github.com/facebook/proxygen/archive/$_proxygen_commit.tar.gz";
+
"webscalesql-$_webscalesql_commit.tar.gz::https://github.com/webscalesql/webscalesql-5.6/archive/$_webscalesql_commit.tar.gz";
+
"mcrouter-$_mcrouter_commit.tar.gz::https://github.com/facebook/mcrouter/archive/$_mcrouter_commit.tar.gz";
+
"squangle-$_squangle_commit.tar.gz::https://github.com/facebook/squangle/archive/$_squangle_commit.tar.gz";
+'hhvm.tmpfile'
+'hhvm.service'
+'hhvm@.service'
+'php.ini'
+'server.ini'
+
'libvpx14.patch::https://patch-diff.githubusercontent.com/raw/facebook/hhvm/pull/5191.diff')
+install=hhvm.install
+backup=(etc/hhvm/{php,server}.ini)
+options+=('!buildflags')
+
+prepare() {
+cd "$srcdir"/$pkgname-HHVM-$pkgver
+
+patch -p1 -i "$srcdir"/libvpx14.patch
+
+# Fix sendmail path
+sed -r 's#/usr/lib/sendmail#/usr/bin/sendmail#g' -i \
+hphp/runtime/base/runtime-option.cpp
+
+rm -rf third-party
+ln -s "$srcdir"/hhvm-third-party-$_thirdparty_commit third-party
+
+cd third-party/folly
+rm -rf src
+ln -s "$srcdir"/folly-$_folly_commit src
+
+cd ../thrift
+rm -rf src
+ln -s "$srcdir"/fbthrift-$_thrift_commit src
+
+cd ../proxygen
+rm -rf src
+ln -s "$srcdir"/proxygen-$_proxygen_commit src
+
+cd ../mcrouter
+rm -rf src
+ln -s "$srcdir"/mcrouter-$_mcrouter_commit src
+
+cd ../squangle
+rm -rf src squangle
+ln -s "$srcdir"/squangle-$_squangle_commit src
+ln -s src/squangle
+
+cd ../webscalesqlclient
+rm -rf src webscalesql-5.6
+ln -s "$srcdir"/webscalesql-5.6-$_webscalesql_commit webscalesql-5.6
+ln -s "$srcdir"/webscalesql-5.6-$_webscalesql_commit src
+}
+
+build() {
+cd "$srcdir"/$pkgname-HHVM-$pkgver
+msg2 "Building hhvm"
+
+cmake -Wno-dev \
+-DCMAKE_BUILD_TYPE=Release \
+-DCMAKE_INSTALL_PREFIX=/usr \
+-DCMAKE_INSTALL_LIBDIR=lib \
+-DCMAKE_PREFIX_PATH="$srcdir" \
+-DENABLE_MONGO:BOOL=ON

[arch-commits] Commit in hhvm/repos (8 files)

2015-04-07 Thread Massimiliano Torromeo
Date: Tuesday, April 7, 2015 @ 13:54:59
  Author: mtorromeo
Revision: 130877

archrelease: copy trunk to community-staging-x86_64

Added:
  hhvm/repos/community-staging-x86_64/
  hhvm/repos/community-staging-x86_64/PKGBUILD
(from rev 130876, hhvm/trunk/PKGBUILD)
  hhvm/repos/community-staging-x86_64/hhvm.install
(from rev 130876, hhvm/trunk/hhvm.install)
  hhvm/repos/community-staging-x86_64/hhvm.service
(from rev 130876, hhvm/trunk/hhvm.service)
  hhvm/repos/community-staging-x86_64/hhvm.tmpfile
(from rev 130876, hhvm/trunk/hhvm.tmpfile)
  hhvm/repos/community-staging-x86_64/hhvm@.service
(from rev 130876, hhvm/trunk/hhvm@.service)
  hhvm/repos/community-staging-x86_64/php.ini
(from rev 130876, hhvm/trunk/php.ini)
  hhvm/repos/community-staging-x86_64/server.ini
(from rev 130876, hhvm/trunk/server.ini)

---+
 PKGBUILD  |  137 
 hhvm.install  |9 +++
 hhvm.service  |   15 ++
 hhvm.tmpfile  |2 
 hhvm@.service |   15 ++
 php.ini   |   10 
 server.ini|6 ++
 7 files changed, 194 insertions(+)

Copied: hhvm/repos/community-staging-x86_64/PKGBUILD (from rev 130876, 
hhvm/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2015-04-07 11:54:59 UTC (rev 130877)
@@ -0,0 +1,137 @@
+# $Id$
+# Maintainer: Massimiliano Torromeo 
+# Contributor: James Miller 
+
+pkgname=hhvm
+pkgver=3.6.1
+pkgrel=2
+
+_thirdparty_commit=3bf14f9194bff0f681ee60bc6e5f1ac60b233f5c
+_folly_commit=7d2497f0e57fb14b6ea43a5a2d180604d7e1e7e5
+_thrift_commit=d30280a33ed2c67672b0295872397e5affb60f8c
+_proxygen_commit=d17b4e7735ab728d77266a538cef4dcfc57b5fbd
+_webscalesql_commit=004b6b348fdf48f0aa4e3fe1010b891d4fdb9f70
+_mcrouter_commit=addcc91aee3942f4e50760a43fdcb052482be00e
+_squangle_commit=269cd2e30a88b16b1cdf12f1eec5a1c16cb8be10
+
+pkgdesc="Virtual Machine, Runtime, and JIT for PHP"
+arch=('x86_64')
+url="http://hhvm.com";
+license=('PHP')
+depends=('boost-libs' 'google-glog' 'libmysqlclient' 'libmemcached' 'libzip'
+ 'libxslt' 'intel-tbb' 'libmcrypt' 'oniguruma' 'jemalloc' 'curl' 
'libvpx'
+ 'libdwarf' 'imagemagick' 'libedit' 'sqlite' 'libyaml' 'fribidi' 're2')
+makedepends=('git' 'cmake' 'gcc' 'boost' 'gflags' 'python2' 'pfff' 'mongodb'
+ 'ragel' 'libmariadbclient' 'unixodbc')
+source=("https://github.com/facebook/hhvm/archive/HHVM-$pkgver.tar.gz";
+
"hhvm-third-party-$_thirdparty_commit.tar.gz::https://github.com/hhvm/hhvm-third-party/archive/$_thirdparty_commit.tar.gz";
+
"folly-$_folly_commit.tar.gz::https://github.com/facebook/folly/archive/$_folly_commit.tar.gz";
+
"thrift-$_thrift_commit.tar.gz::https://github.com/facebook/fbthrift/archive/$_thrift_commit.tar.gz";
+
"proxygen-$_proxygen_commit.tar.gz::https://github.com/facebook/proxygen/archive/$_proxygen_commit.tar.gz";
+
"webscalesql-$_webscalesql_commit.tar.gz::https://github.com/webscalesql/webscalesql-5.6/archive/$_webscalesql_commit.tar.gz";
+
"mcrouter-$_mcrouter_commit.tar.gz::https://github.com/facebook/mcrouter/archive/$_mcrouter_commit.tar.gz";
+
"squangle-$_squangle_commit.tar.gz::https://github.com/facebook/squangle/archive/$_squangle_commit.tar.gz";
+'hhvm.tmpfile'
+'hhvm.service'
+'hhvm@.service'
+'php.ini'
+'server.ini')
+install=hhvm.install
+backup=(etc/hhvm/{php,server}.ini)
+options+=('!buildflags')
+
+prepare() {
+cd "$srcdir"/$pkgname-HHVM-$pkgver
+
+# Fix sendmail path
+sed -r 's#/usr/lib/sendmail#/usr/bin/sendmail#g' -i \
+hphp/runtime/base/runtime-option.cpp
+
+rm -rf third-party
+ln -s "$srcdir"/hhvm-third-party-$_thirdparty_commit third-party
+
+cd third-party/folly
+rm -rf src
+ln -s "$srcdir"/folly-$_folly_commit src
+
+cd ../thrift
+rm -rf src
+ln -s "$srcdir"/fbthrift-$_thrift_commit src
+
+cd ../proxygen
+rm -rf src
+ln -s "$srcdir"/proxygen-$_proxygen_commit src
+
+cd ../mcrouter
+rm -rf src
+ln -s "$srcdir"/mcrouter-$_mcrouter_commit src
+
+cd ../squangle
+rm -rf src squangle
+ln -s "$srcdir"/squangle-$_squangle_commit src
+ln -s src/squangle
+
+cd ../webscalesqlclient
+rm -rf src webscalesql-5.6
+ln -s "$srcdir"/webscalesql-5.6-$_webscalesql_commit webscalesql-5.6
+ln -s "$srcdir"/webscalesql-5.6-$_webscalesql_commit src
+}
+
+build() {
+cd "$srcdir"/$pkgname-HHVM-$pkgver
+msg2 "Building hhvm"
+
+cmake -Wno-dev \
+-DCMAKE_BUILD_TYPE=Release \
+-DCMAKE_INSTALL_PREFIX=/usr \
+-DCMAKE_INSTALL_LIBDIR=lib \
+-DCMAKE_PREFIX_PATH="$srcdir" \
+-DENABLE_MONGO:BOOL=ON \
+-DMYSQL_UNIX_SOCK_ADDR=/run/mysqld/mysqld.sock \
+.
+
+make
+
+for hacktool in hackificator remove_soft_types; do
+