[arch-commits] Commit in meteorjs/trunk (PKGBUILD node010.patch)
Date: Saturday, March 23, 2013 @ 13:44:56 Author: mtorromeo Revision: 86867 upgpkg: meteorjs 0.5.9-2 Fixed node=0.10 incompatibilities and rebuild bundled fibers Added: meteorjs/trunk/node010.patch Modified: meteorjs/trunk/PKGBUILD ---+ PKGBUILD | 36 ++-- node010.patch | 11 +++ 2 files changed, 37 insertions(+), 10 deletions(-) Modified: PKGBUILD === --- PKGBUILD2013-03-23 11:28:05 UTC (rev 86866) +++ PKGBUILD2013-03-23 12:44:56 UTC (rev 86867) @@ -5,7 +5,7 @@ pkgname=meteorjs pkgver=0.5.9 -pkgrel=1 +pkgrel=2 pkgdesc=Open-source platform for building top-quality web apps in a fraction of the time. arch=('i686' 'x86_64') url=https://github.com/meteor/meteor; @@ -14,7 +14,8 @@ options=('!strip') sha256sums=('43e228e09c66bc167108c2a8375e23e472d19e82b216ad0875efed94073ef5ba' -'a3ac659c52b652676da0530f2148025e0f8bfa84bccf63431c20eb72d3bc5cb7') +'a3ac659c52b652676da0530f2148025e0f8bfa84bccf63431c20eb72d3bc5cb7' +'af74a9bd6fa7c8c556f7ed17e76983ff416309b02c0e86c97d1606236f2dd39e') if [ $CARCH = x86_64 ]; then _arch=amd64 @@ -23,19 +24,31 @@ sha256sums[0]='f28ca14d923e19e1035adff506cac8f839c1ec97410d4617a2c2a20cc733d879' fi -source=(http://d3sqy0vbqsdhku.cloudfront.net/meteor_$pkgver-1_$_arch.deb; meteor) +source=(http://d3sqy0vbqsdhku.cloudfront.net/meteor_$pkgver-1_$_arch.deb; meteor node010.patch) +build() { +[ -d build ] rm -rf build +mkdir build +tar xf data.tar.gz -C build ./usr/lib/meteor +cd build/usr/lib/meteor + +patch -p0 -i $srcdir/node010.patch + +# rebuild fibers +cd lib/node_modules/fibers/ +rm -rf bin/* +PATH=/usr/lib/node_modules/npm/bin/node-gyp-bin:$PATH node build.js +rm -rf build +} + package() { -tar xf data.tar.gz -C $pkgdir ./usr/lib/meteor +cp -a $srcdir/build/* $pkgdir +cd $pkgdir/usr/lib/meteor -install -Dm644 $pkgdir/usr/lib/meteor/LICENSE.txt $pkgdir/usr/share/licenses/$pkgname/LICENSE.txt +install -Dm644 LICENSE.txt $pkgdir/usr/share/licenses/$pkgname/LICENSE.txt install -Dm755 $srcdir/meteor $pkgdir/usr/bin/meteor -cd $pkgdir/usr/lib/meteor -rm -rf LICENSE.txt lib/node lib/dtrace lib/node_modules/npm share include \ - lib/node_modules/mongodb/node_modules/bson/build/Release/obj.target/bson.node \ - lib/node_modules/websocket/build/Release/obj.target/xor.node \ - lib/node_modules/websocket/build/Release/obj.target/validation.node +rm -rf LICENSE.txt lib/node lib/dtrace lib/node_modules/npm share include # mongodb links rm -rf mongodb @@ -49,4 +62,7 @@ ln -s /usr/bin/node bin/node ln -s /usr/bin/node-waf bin/node-waf ln -s /usr/bin/npm bin/npm + +# remove build dirs +find -type d -name build -exec rm -rf {} + } Added: node010.patch === --- node010.patch (rev 0) +++ node010.patch 2013-03-23 12:44:56 UTC (rev 86867) @@ -0,0 +1,11 @@ +--- lib/node_modules/connect/lib/middleware/static.js.orig 2013-03-23 13:30:36.479309260 +0100 lib/node_modules/connect/lib/middleware/static.js 2013-03-23 13:30:13.661917828 +0100 +@@ -126,7 +126,7 @@ + if (!root ~path.indexOf('..')) return utils.forbidden(res); + + // join / normalize from optional root dir +- path = normalize(join(root, path)); ++ path = normalize(join(root || '', path)); + + // malicious path + if (root 0 != path.indexOf(root)) return fn
[arch-commits] Commit in meteorjs/trunk (PKGBUILD)
Date: Monday, March 18, 2013 @ 12:30:14 Author: mtorromeo Revision: 86489 upgpkg: meteorjs 0.5.9-1 Updated to 0.5.9 Modified: meteorjs/trunk/PKGBUILD --+ PKGBUILD |6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) Modified: PKGBUILD === --- PKGBUILD2013-03-18 11:20:57 UTC (rev 86488) +++ PKGBUILD2013-03-18 11:30:14 UTC (rev 86489) @@ -4,7 +4,7 @@ # Contributor: Tom Vincent http://tlvince.com/contact/ pkgname=meteorjs -pkgver=0.5.8 +pkgver=0.5.9 pkgrel=1 pkgdesc=Open-source platform for building top-quality web apps in a fraction of the time. arch=('i686' 'x86_64') @@ -13,14 +13,14 @@ depends=('nodejs' 'mongodb') options=('!strip') -sha256sums=('232d7a0bf0947e29fcd6ff8e7314d5783c1b4b7e5c6b5b68ed9ef2ed8d75c6cc' +sha256sums=('43e228e09c66bc167108c2a8375e23e472d19e82b216ad0875efed94073ef5ba' 'a3ac659c52b652676da0530f2148025e0f8bfa84bccf63431c20eb72d3bc5cb7') if [ $CARCH = x86_64 ]; then _arch=amd64 else _arch=i386 - sha256sums[0]='b9c45ad56b2ccd2d6fa41740b20c671ea642ce84271474c319ddc8a67a0c77ff' + sha256sums[0]='f28ca14d923e19e1035adff506cac8f839c1ec97410d4617a2c2a20cc733d879' fi source=(http://d3sqy0vbqsdhku.cloudfront.net/meteor_$pkgver-1_$_arch.deb; meteor)
[arch-commits] Commit in meteorjs/trunk (PKGBUILD)
Date: Thursday, March 14, 2013 @ 09:55:33 Author: mtorromeo Revision: 86244 upgpkg: meteorjs 0.5.8-1 Updated meteorjs to version 0.5.8 Modified: meteorjs/trunk/PKGBUILD --+ PKGBUILD |6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) Modified: PKGBUILD === --- PKGBUILD2013-03-14 07:16:15 UTC (rev 86243) +++ PKGBUILD2013-03-14 08:55:33 UTC (rev 86244) @@ -4,7 +4,7 @@ # Contributor: Tom Vincent http://tlvince.com/contact/ pkgname=meteorjs -pkgver=0.5.7 +pkgver=0.5.8 pkgrel=1 pkgdesc=Open-source platform for building top-quality web apps in a fraction of the time. arch=('i686' 'x86_64') @@ -13,14 +13,14 @@ depends=('nodejs' 'mongodb') options=('!strip') -sha256sums=('dea74135489b89d7a7fdebb3966a05b2df41440bbdc31adce85e6b140aff8e23' +sha256sums=('232d7a0bf0947e29fcd6ff8e7314d5783c1b4b7e5c6b5b68ed9ef2ed8d75c6cc' 'a3ac659c52b652676da0530f2148025e0f8bfa84bccf63431c20eb72d3bc5cb7') if [ $CARCH = x86_64 ]; then _arch=amd64 else _arch=i386 - sha256sums[0]='2a126beb5224e4063c8efc849e099d7bf302f062e76356f8f7662737bccd41b6' + sha256sums[0]='b9c45ad56b2ccd2d6fa41740b20c671ea642ce84271474c319ddc8a67a0c77ff' fi source=(http://d3sqy0vbqsdhku.cloudfront.net/meteor_$pkgver-1_$_arch.deb; meteor)
[arch-commits] Commit in meteorjs/trunk (PKGBUILD)
Date: Friday, February 22, 2013 @ 12:21:39 Author: mtorromeo Revision: 84694 upgpkg: meteorjs 0.5.7-1 Updated meteorjs to version 0.5.7 Modified: meteorjs/trunk/PKGBUILD --+ PKGBUILD | 12 +++- 1 file changed, 7 insertions(+), 5 deletions(-) Modified: PKGBUILD === --- PKGBUILD2013-02-22 10:50:21 UTC (rev 84693) +++ PKGBUILD2013-02-22 11:21:39 UTC (rev 84694) @@ -4,7 +4,7 @@ # Contributor: Tom Vincent http://tlvince.com/contact/ pkgname=meteorjs -pkgver=0.5.4 +pkgver=0.5.7 pkgrel=1 pkgdesc=Open-source platform for building top-quality web apps in a fraction of the time. arch=('i686' 'x86_64') @@ -13,14 +13,14 @@ depends=('nodejs' 'mongodb') options=('!strip') -sha256sums=('64dbdfd1788e3859f54bbe36e99ca60574e625c68d41b9bfc9384b253b345798' +sha256sums=('dea74135489b89d7a7fdebb3966a05b2df41440bbdc31adce85e6b140aff8e23' 'a3ac659c52b652676da0530f2148025e0f8bfa84bccf63431c20eb72d3bc5cb7') -if [ $CARCH == x86_64 ]; then +if [ $CARCH = x86_64 ]; then _arch=amd64 else _arch=i386 - sha256sums[0]='7a3c1eaa8588876ed8bec6bab20b0be99f7e36fce839b3d70b776018ca606f89' + sha256sums[0]='2a126beb5224e4063c8efc849e099d7bf302f062e76356f8f7662737bccd41b6' fi source=(http://d3sqy0vbqsdhku.cloudfront.net/meteor_$pkgver-1_$_arch.deb; meteor) @@ -33,7 +33,9 @@ cd $pkgdir/usr/lib/meteor rm -rf LICENSE.txt lib/node lib/dtrace lib/node_modules/npm share include \ - lib/node_modules/mongodb/node_modules/bson/build/Release/obj.target/bson.node + lib/node_modules/mongodb/node_modules/bson/build/Release/obj.target/bson.node \ + lib/node_modules/websocket/build/Release/obj.target/xor.node \ + lib/node_modules/websocket/build/Release/obj.target/validation.node # mongodb links rm -rf mongodb
[arch-commits] Commit in meteorjs/trunk (PKGBUILD)
Date: Saturday, February 2, 2013 @ 19:37:45 Author: mtorromeo Revision: 83546 Fixed bin dir and 32bit checksum Modified: meteorjs/trunk/PKGBUILD --+ PKGBUILD |6 -- 1 file changed, 4 insertions(+), 2 deletions(-) Modified: PKGBUILD === --- PKGBUILD2013-02-02 18:21:46 UTC (rev 83545) +++ PKGBUILD2013-02-02 18:37:45 UTC (rev 83546) @@ -20,7 +20,7 @@ _arch=amd64 else _arch=i386 - sha256sums[0]='00aef3e1d5679e51f3aea59540b9385e82ad5fc852b27da6f85ec0e979e49654' + sha256sums[0]='7a3c1eaa8588876ed8bec6bab20b0be99f7e36fce839b3d70b776018ca606f89' fi source=(http://d3sqy0vbqsdhku.cloudfront.net/meteor_$pkgver-1_$_arch.deb; meteor) @@ -32,7 +32,8 @@ install -Dm755 $srcdir/meteor $pkgdir/usr/bin/meteor cd $pkgdir/usr/lib/meteor -rm -rf LICENSE.txt lib/node lib/dtrace lib/node_modules/npm share include +rm -rf LICENSE.txt lib/node lib/dtrace lib/node_modules/npm share include \ + lib/node_modules/mongodb/node_modules/bson/build/Release/obj.target/bson.node # mongodb links rm -rf mongodb @@ -42,6 +43,7 @@ # node links rm -rf bin +install -dm755 bin ln -s /usr/bin/node bin/node ln -s /usr/bin/node-waf bin/node-waf ln -s /usr/bin/npm bin/npm