[arch-commits] Commit in libuv/repos (6 files)
Massimiliano Torromeo
mtorromeo at archlinux.org
Mon Aug 18 22:24:25 UTC 2014
Date: Tuesday, August 19, 2014 @ 00:24:25
Author: mtorromeo
Revision: 117560
archrelease: copy trunk to community-i686, community-x86_64
Added:
libuv/repos/community-i686/09cb5b534e325fa93ec2d72491dff85179797f89.patch
(from rev 117559, libuv/trunk/09cb5b534e325fa93ec2d72491dff85179797f89.patch)
libuv/repos/community-i686/PKGBUILD
(from rev 117559, libuv/trunk/PKGBUILD)
libuv/repos/community-x86_64/09cb5b534e325fa93ec2d72491dff85179797f89.patch
(from rev 117559, libuv/trunk/09cb5b534e325fa93ec2d72491dff85179797f89.patch)
libuv/repos/community-x86_64/PKGBUILD
(from rev 117559, libuv/trunk/PKGBUILD)
Deleted:
libuv/repos/community-i686/PKGBUILD
libuv/repos/community-x86_64/PKGBUILD
-----------------------------------------------------------------+
/PKGBUILD | 94 ++++++++++
community-i686/09cb5b534e325fa93ec2d72491dff85179797f89.patch | 47 +++++
community-i686/PKGBUILD | 41 ----
community-x86_64/09cb5b534e325fa93ec2d72491dff85179797f89.patch | 47 +++++
community-x86_64/PKGBUILD | 41 ----
5 files changed, 188 insertions(+), 82 deletions(-)
Copied: libuv/repos/community-i686/09cb5b534e325fa93ec2d72491dff85179797f89.patch (from rev 117559, libuv/trunk/09cb5b534e325fa93ec2d72491dff85179797f89.patch)
===================================================================
--- community-i686/09cb5b534e325fa93ec2d72491dff85179797f89.patch (rev 0)
+++ community-i686/09cb5b534e325fa93ec2d72491dff85179797f89.patch 2014-08-18 22:24:25 UTC (rev 117560)
@@ -0,0 +1,47 @@
+From 09cb5b534e325fa93ec2d72491dff85179797f89 Mon Sep 17 00:00:00 2001
+From: =?UTF-8?q?Sa=C3=BAl=20Ibarra=20Corretg=C3=A9?= <saghul at gmail.com>
+Date: Sun, 10 Aug 2014 11:18:03 +0200
+Subject: [PATCH] test: fix spawn_reads_child_path when using autoconf
+
+Don't hardcode the name of the executable, take it from the exepath.
+
+Fixes #1407
+---
+ test/test-spawn.c | 6 ++++--
+ 1 file changed, 4 insertions(+), 2 deletions(-)
+
+diff --git a/test/test-spawn.c b/test/test-spawn.c
+index 57f0862..11f43bd 100644
+--- a/test/test-spawn.c
++++ b/test/test-spawn.c
+@@ -1295,23 +1295,25 @@ TEST_IMPL(closed_fd_events) {
+ TEST_IMPL(spawn_reads_child_path) {
+ int r;
+ int len;
++ char file[64];
+ char path[1024];
+ char *env[2] = {path, NULL};
+
+ /* Set up the process, but make sure that the file to run is relative and */
+ /* requires a lookup into PATH */
+ init_process_options("spawn_helper1", exit_cb);
+- options.file = "run-tests";
+- args[0] = "run-tests";
+
+ /* Set up the PATH env variable */
+ for (len = strlen(exepath);
+ exepath[len - 1] != '/' && exepath[len - 1] != '\\';
+ len--);
++ strcpy(file, exepath + len);
+ exepath[len] = 0;
+ strcpy(path, "PATH=");
+ strcpy(path + 5, exepath);
+
++ options.file = file;
++ options.args[0] = file;
+ options.env = env;
+
+ r = uv_spawn(uv_default_loop(), &process, &options);
+--
+2.0.3
+
Deleted: community-i686/PKGBUILD
===================================================================
--- community-i686/PKGBUILD 2014-08-18 22:24:01 UTC (rev 117559)
+++ community-i686/PKGBUILD 2014-08-18 22:24:25 UTC (rev 117560)
@@ -1,41 +0,0 @@
-# $Id$
-# Maintainer: Massimiliano Torromeo <massimiliano.torromeo at gmail.com>
-
-pkgname=libuv
-pkgver=0.11.27
-pkgrel=1
-pkgdesc="A new platform layer for Node.JS"
-arch=('i686' 'x86_64')
-url="https://github.com/joyent/libuv"
-license=('custom')
-depends=('glibc')
-source=("https://github.com/joyent/libuv/archive/v$pkgver.tar.gz")
-
-build() {
- cd "$srcdir/$pkgname-$pkgver"
- ./autogen.sh
- ./configure --prefix=/usr
- make
-}
-
-check() {
- cd "$srcdir/$pkgname-$pkgver"
- make check
-}
-
-package() {
- cd "$srcdir/$pkgname-$pkgver"
-
- make DESTDIR="$pkgdir" install
-
- install -Dm644 LICENSE \
- "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
- install -Dm644 AUTHORS \
- "$pkgdir/usr/share/doc/$pkgname/AUTHORS"
- install -Dm644 README.md \
- "$pkgdir/usr/share/doc/$pkgname/README.md"
- install -Dm644 ChangeLog \
- "$pkgdir/usr/share/doc/$pkgname/ChangeLog"
-}
-
-sha256sums=('68ffa82ef2b894df5d6e530cc70735fa3633857b69f078923b6580b182dc1cd3')
Copied: libuv/repos/community-i686/PKGBUILD (from rev 117559, libuv/trunk/PKGBUILD)
===================================================================
--- community-i686/PKGBUILD (rev 0)
+++ community-i686/PKGBUILD 2014-08-18 22:24:25 UTC (rev 117560)
@@ -0,0 +1,47 @@
+# $Id$
+# Maintainer: Massimiliano Torromeo <massimiliano.torromeo at gmail.com>
+
+pkgname=libuv
+pkgver=0.11.28
+pkgrel=1
+pkgdesc="A new platform layer for Node.JS"
+arch=('i686' 'x86_64')
+url="https://github.com/joyent/libuv"
+license=('custom')
+depends=('glibc')
+source=("https://github.com/joyent/libuv/archive/v$pkgver.tar.gz" "09cb5b534e325fa93ec2d72491dff85179797f89.patch")
+
+prepare() {
+ cd "$srcdir"/$pkgname-$pkgver
+ patch -p1 -i "$srcdir"/09cb5b534e325fa93ec2d72491dff85179797f89.patch
+}
+
+build() {
+ cd "$srcdir"/$pkgname-$pkgver
+ ./autogen.sh
+ ./configure --prefix=/usr
+ make
+}
+
+check() {
+ cd "$srcdir"/$pkgname-$pkgver
+ make check
+}
+
+package() {
+ cd "$srcdir"/$pkgname-$pkgver
+
+ make DESTDIR="$pkgdir" install
+
+ install -Dm644 LICENSE \
+ "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+ install -Dm644 AUTHORS \
+ "$pkgdir"/usr/share/doc/$pkgname/AUTHORS
+ install -Dm644 README.md \
+ "$pkgdir"/usr/share/doc/$pkgname/README.md
+ install -Dm644 ChangeLog \
+ "$pkgdir"/usr/share/doc/$pkgname/ChangeLog
+}
+
+sha256sums=('dde48073b5d46de5892fea31e6d5384134ec729bb0e31ef06754e4c73f89ae75'
+ '9c045143927ae7389aa415e0b7fbdfbeb023bd5534ff0cd8ae53f0267f809836')
Copied: libuv/repos/community-x86_64/09cb5b534e325fa93ec2d72491dff85179797f89.patch (from rev 117559, libuv/trunk/09cb5b534e325fa93ec2d72491dff85179797f89.patch)
===================================================================
--- community-x86_64/09cb5b534e325fa93ec2d72491dff85179797f89.patch (rev 0)
+++ community-x86_64/09cb5b534e325fa93ec2d72491dff85179797f89.patch 2014-08-18 22:24:25 UTC (rev 117560)
@@ -0,0 +1,47 @@
+From 09cb5b534e325fa93ec2d72491dff85179797f89 Mon Sep 17 00:00:00 2001
+From: =?UTF-8?q?Sa=C3=BAl=20Ibarra=20Corretg=C3=A9?= <saghul at gmail.com>
+Date: Sun, 10 Aug 2014 11:18:03 +0200
+Subject: [PATCH] test: fix spawn_reads_child_path when using autoconf
+
+Don't hardcode the name of the executable, take it from the exepath.
+
+Fixes #1407
+---
+ test/test-spawn.c | 6 ++++--
+ 1 file changed, 4 insertions(+), 2 deletions(-)
+
+diff --git a/test/test-spawn.c b/test/test-spawn.c
+index 57f0862..11f43bd 100644
+--- a/test/test-spawn.c
++++ b/test/test-spawn.c
+@@ -1295,23 +1295,25 @@ TEST_IMPL(closed_fd_events) {
+ TEST_IMPL(spawn_reads_child_path) {
+ int r;
+ int len;
++ char file[64];
+ char path[1024];
+ char *env[2] = {path, NULL};
+
+ /* Set up the process, but make sure that the file to run is relative and */
+ /* requires a lookup into PATH */
+ init_process_options("spawn_helper1", exit_cb);
+- options.file = "run-tests";
+- args[0] = "run-tests";
+
+ /* Set up the PATH env variable */
+ for (len = strlen(exepath);
+ exepath[len - 1] != '/' && exepath[len - 1] != '\\';
+ len--);
++ strcpy(file, exepath + len);
+ exepath[len] = 0;
+ strcpy(path, "PATH=");
+ strcpy(path + 5, exepath);
+
++ options.file = file;
++ options.args[0] = file;
+ options.env = env;
+
+ r = uv_spawn(uv_default_loop(), &process, &options);
+--
+2.0.3
+
Deleted: community-x86_64/PKGBUILD
===================================================================
--- community-x86_64/PKGBUILD 2014-08-18 22:24:01 UTC (rev 117559)
+++ community-x86_64/PKGBUILD 2014-08-18 22:24:25 UTC (rev 117560)
@@ -1,41 +0,0 @@
-# $Id$
-# Maintainer: Massimiliano Torromeo <massimiliano.torromeo at gmail.com>
-
-pkgname=libuv
-pkgver=0.11.27
-pkgrel=1
-pkgdesc="A new platform layer for Node.JS"
-arch=('i686' 'x86_64')
-url="https://github.com/joyent/libuv"
-license=('custom')
-depends=('glibc')
-source=("https://github.com/joyent/libuv/archive/v$pkgver.tar.gz")
-
-build() {
- cd "$srcdir/$pkgname-$pkgver"
- ./autogen.sh
- ./configure --prefix=/usr
- make
-}
-
-check() {
- cd "$srcdir/$pkgname-$pkgver"
- make check
-}
-
-package() {
- cd "$srcdir/$pkgname-$pkgver"
-
- make DESTDIR="$pkgdir" install
-
- install -Dm644 LICENSE \
- "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
- install -Dm644 AUTHORS \
- "$pkgdir/usr/share/doc/$pkgname/AUTHORS"
- install -Dm644 README.md \
- "$pkgdir/usr/share/doc/$pkgname/README.md"
- install -Dm644 ChangeLog \
- "$pkgdir/usr/share/doc/$pkgname/ChangeLog"
-}
-
-sha256sums=('68ffa82ef2b894df5d6e530cc70735fa3633857b69f078923b6580b182dc1cd3')
Copied: libuv/repos/community-x86_64/PKGBUILD (from rev 117559, libuv/trunk/PKGBUILD)
===================================================================
--- community-x86_64/PKGBUILD (rev 0)
+++ community-x86_64/PKGBUILD 2014-08-18 22:24:25 UTC (rev 117560)
@@ -0,0 +1,47 @@
+# $Id$
+# Maintainer: Massimiliano Torromeo <massimiliano.torromeo at gmail.com>
+
+pkgname=libuv
+pkgver=0.11.28
+pkgrel=1
+pkgdesc="A new platform layer for Node.JS"
+arch=('i686' 'x86_64')
+url="https://github.com/joyent/libuv"
+license=('custom')
+depends=('glibc')
+source=("https://github.com/joyent/libuv/archive/v$pkgver.tar.gz" "09cb5b534e325fa93ec2d72491dff85179797f89.patch")
+
+prepare() {
+ cd "$srcdir"/$pkgname-$pkgver
+ patch -p1 -i "$srcdir"/09cb5b534e325fa93ec2d72491dff85179797f89.patch
+}
+
+build() {
+ cd "$srcdir"/$pkgname-$pkgver
+ ./autogen.sh
+ ./configure --prefix=/usr
+ make
+}
+
+check() {
+ cd "$srcdir"/$pkgname-$pkgver
+ make check
+}
+
+package() {
+ cd "$srcdir"/$pkgname-$pkgver
+
+ make DESTDIR="$pkgdir" install
+
+ install -Dm644 LICENSE \
+ "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+ install -Dm644 AUTHORS \
+ "$pkgdir"/usr/share/doc/$pkgname/AUTHORS
+ install -Dm644 README.md \
+ "$pkgdir"/usr/share/doc/$pkgname/README.md
+ install -Dm644 ChangeLog \
+ "$pkgdir"/usr/share/doc/$pkgname/ChangeLog
+}
+
+sha256sums=('dde48073b5d46de5892fea31e6d5384134ec729bb0e31ef06754e4c73f89ae75'
+ '9c045143927ae7389aa415e0b7fbdfbeb023bd5534ff0cd8ae53f0267f809836')
More information about the arch-commits
mailing list