Skip to content

Commit

Permalink
Merge branch 'release-0_5' into 0_5-extra-commits
Browse files Browse the repository at this point in the history
Conflicts:
	INSTALL
  • Loading branch information
nicolasnoble committed Feb 27, 2015
2 parents 7b7aa62 + b9943ed commit 1dd0183
Show file tree
Hide file tree
Showing 9 changed files with 45 additions and 6 deletions.
28 changes: 28 additions & 0 deletions src/node/LICENSE
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
Copyright 2015, Google Inc.
All rights reserved.

Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are
met:

* Redistributions of source code must retain the above copyright
notice, this list of conditions and the following disclaimer.
* Redistributions in binary form must reproduce the above
copyright notice, this list of conditions and the following disclaimer
in the documentation and/or other materials provided with the
distribution.
* Neither the name of Google Inc. nor the names of its
contributors may be used to endorse or promote products derived from
this software without specific prior written permission.

THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
"AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
11 changes: 10 additions & 1 deletion src/node/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,14 @@
{
"name": "grpc",
"version": "0.5.0",
"author": "Google Inc.",
"description": "gRPC Library for Node",
"contributors": [
{
"name": "Michael Lumish",
"email": "mlumish@google.com"
}
],
"scripts": {
"lint": "node ./node_modules/jshint/bin/jshint src test examples interop index.js",
"test": "node ./node_modules/mocha/bin/mocha && npm run-script lint"
Expand All @@ -22,6 +29,7 @@
"strftime": "^0.8.2"
},
"files": [
"LICENSE",
"README.md",
"index.js",
"binding.gyp",
Expand All @@ -31,5 +39,6 @@
"src",
"test"
],
"main": "index.js"
"main": "index.js",
"license": "BSD-3-Clause"
}
1 change: 1 addition & 0 deletions src/ruby/grpc.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ Gem::Specification.new do |s|
s.homepage = 'https://github.com/google/grpc/tree/master/src/ruby'
s.summary = 'GRPC system in Ruby'
s.description = 'Send RPCs from Ruby using GRPC'
s.license = 'BSD-3-Clause'

s.files = `git ls-files`.split("\n")
s.test_files = `git ls-files -- spec/*`.split("\n")
Expand Down
5 changes: 3 additions & 2 deletions tools/distpackages/build_deb_packages.sh
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,8 @@
deb_dest="deb_out"
mkdir -p $deb_dest

version='0.8.0.0'
version='0.5.0.0'
pkg_version='0.5.0'

if [ -f /.dockerinit ]; then
# We're in Docker where uname -p returns "unknown".
Expand Down Expand Up @@ -97,7 +98,7 @@ do
# Build the debian package
fakeroot dpkg-deb --build $tmp_dir/$pkg_name || { echo "dpkg-deb failed"; exit 1; }

deb_path=$deb_dest/${pkg_name}_amd64.deb
deb_path=$deb_dest/${pkg_name}_${pkg_version}_amd64.deb

# Copy the .deb file to destination dir
cp $tmp_dir/$pkg_name.deb $deb_path
Expand Down
2 changes: 1 addition & 1 deletion tools/distpackages/templates/libgrpc-dev/DEBIAN/control
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
Package: libgrpc-dev
Version: 0.8.0
Version: 0.5.0
Architecture: amd64
Maintainer: Jan Tattermusch <jtattermusch@google.com>
Depends: libgrpc, libc6-dev | libc-dev
Expand Down
Binary file not shown.
2 changes: 1 addition & 1 deletion tools/distpackages/templates/libgrpc/DEBIAN/control
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
Package: libgrpc
Version: 0.8.0
Version: 0.5.0
Architecture: amd64
Maintainer: Jan Tattermusch <jtattermusch@google.com>
Depends: libc6
Expand Down
Binary file not shown.
2 changes: 1 addition & 1 deletion tools/dockerfile/grpc_node_base/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ FROM grpc/base

RUN curl -sL https://deb.nodesource.com/setup | bash -

RUN apt-get update && apt-get install -y nodejs
RUN apt-get update && apt-get install -y nodejs nodejs-legacy

RUN npm install -g node-gyp

Expand Down

0 comments on commit 1dd0183

Please sign in to comment.