Skip to content

Commit 5e4a822

Browse files
committed
GCP additional folder added
Signed-off-by: ashish-jabble <[email protected]>
1 parent de382af commit 5e4a822

File tree

3 files changed

+44
-0
lines changed

3 files changed

+44
-0
lines changed

others/scripts/gcp/Description

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
libjwt which allows you to encode and decode JSON Web Tokens (JWT) and Jansson for encoding, decoding and manipulating JSON data are the additional libraries which will be used in GCP plugins.

others/scripts/gcp/VERSION

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
fledge_gcp_version=1.8.2
2+
fledge_version>=1.8

others/scripts/gcp/requirements.sh

Lines changed: 41 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,41 @@
1+
#!/usr/bin/env bash
2+
3+
##--------------------------------------------------------------------
4+
## Copyright (c) 2021 Dianomic Systems
5+
##
6+
## Licensed under the Apache License, Version 2.0 (the "License");
7+
## you may not use this file except in compliance with the License.
8+
## You may obtain a copy of the License at
9+
##
10+
## http://www.apache.org/licenses/LICENSE-2.0
11+
##
12+
## Unless required by applicable law or agreed to in writing, software
13+
## distributed under the License is distributed on an "AS IS" BASIS,
14+
## WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15+
## See the License for the specific language governing permissions and
16+
## limitations under the License.
17+
##--------------------------------------------------------------------
18+
19+
##
20+
## Author: Ashish Jabble
21+
##
22+
23+
set -e
24+
25+
# Jansson for encoding, decoding and manipulating JSON data
26+
rm -rf jansson; git clone https://github.com/akheron/jansson.git
27+
cd jansson
28+
mkdir build
29+
cd build
30+
cmake ..
31+
make
32+
sudo make install
33+
cd -
34+
35+
# libjwt which allows you to encode and decode JSON Web Tokens (JWT)
36+
rm -rf libjwt; git clone https://github.com/benmcollins/libjwt.git
37+
cd libjwt
38+
autoreconf -i
39+
./configure
40+
make
41+
sudo make install

0 commit comments

Comments
 (0)