Skip to content

Commit 28e4b3d

Browse files
committed
add Github build workflow; update references to OpenIDC
Signed-off-by: Hans Zandbelt <hans.zandbelt@openidc.com>
1 parent de24d3a commit 28e4b3d

File tree

7 files changed

+56
-8
lines changed

7 files changed

+56
-8
lines changed

.github/workflows/build.yml

Lines changed: 46 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,46 @@
1+
name: Build
2+
3+
on:
4+
push:
5+
pull_request:
6+
schedule:
7+
- cron: "0 0 * * *"
8+
9+
jobs:
10+
build:
11+
runs-on: ubuntu-22.04
12+
13+
steps:
14+
- uses: actions/checkout@v3
15+
with:
16+
submodules: recursive
17+
18+
- name: Dependencies
19+
env:
20+
NGINX_VERSION: 1.18.0
21+
run: |
22+
sudo apt-get update -y
23+
sudo apt-get install -y libssl-dev libcurl4-openssl-dev libhiredis-dev libmemcached-dev
24+
sudo apt-get install -y libjansson-dev libcjose-dev apache2-dev pkg-config
25+
cd /tmp
26+
wget https://nginx.org/download/nginx-${NGINX_VERSION}.tar.gz
27+
tar zxvf nginx-${NGINX_VERSION}.tar.gz
28+
ln -s nginx-${NGINX_VERSION} nginx
29+
cd /tmp/nginx && ./configure --with-debug
30+
cd /tmp
31+
git clone https://github.com/zmartzone/liboauth2.git
32+
cd liboauth2
33+
./autogen.sh
34+
./configure --with-nginx=/tmp/nginx
35+
make
36+
sudo make install
37+
- name: Configure
38+
run: |
39+
./autogen.sh
40+
./configure --with-nginx=/tmp/nginx
41+
42+
- name: Make
43+
run: make
44+
45+
- name: Distcheck
46+
run: make distcheck DESTDIR="/tmp/ngx_sts_module" DISTCHECK_CONFIGURE_FLAGS="--with-nginx=/tmp/nginx"

Makefile.am

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ includesub_HEADERS = \
1616

1717
lib_LTLIBRARIES = @PACKAGE_NAME@.la
1818

19-
@PACKAGE_NAME@_la_CFLAGS = @OAUTH2_CFLAGS@ @OAUTH2_NGINX_CFLAGS@ @NGINX_CFLAGS@ @XML_CFLAGS@ -Isrc/liboauth2-sts/include
19+
@PACKAGE_NAME@_la_CFLAGS = @OAUTH2_CFLAGS@ @OAUTH2_NGINX_CFLAGS@ @NGINX_CFLAGS@ @XML_CFLAGS@ -I${srcdir}/src/liboauth2-sts/include
2020
@PACKAGE_NAME@_la_LIBADD = @OAUTH2_LIBS@ @OAUTH2_NGINX_LIBS@ @NGINX_LIBS@ @XML_LIBS@
2121
@PACKAGE_NAME@_la_SOURCES = \
2222
src/liboauth2-sts/src/sts_int.h \

README.md

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
[![Build Status](https://github.com/zmartzone/ngx_sts_module/actions/workflows/build.yml/badge.svg)](https://github.com/zmartzone/ngx_sts_module/actions/workflows/build.yml)
2+
13
# ngx_sts_module
24

35
A security token exchange module for the NGINX web server which allows for exchanging arbitrary security
@@ -160,11 +162,11 @@ Any questions/issues should go to issues tracker.
160162
#### Commercial Services
161163
For commercial Support contracts, Professional Services, Training and use-case specific support you
162164
can contact:
163-
[sales@zmartzone.eu](mailto:sales@zmartzone.eu)
165+
[sales@openidc.com](mailto:sales@openidc.com)
164166

165167

166168
Disclaimer
167169
----------
168-
*This software is open sourced by ZmartZone IAM. For commercial support
169-
you can contact [ZmartZone IAM](https://www.zmartzone.eu) as described above in the [Support](#support)
170+
*This software is open sourced by OpenIDC. For commercial support
171+
you can contact [OpenIDC](https://www.openidc.com) as described above in the [Support](#support)
170172
section.*

configure.ac

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
AC_INIT([ngx_sts_module],[3.3.0],[hans.zandbelt@zmartzone.eu])
1+
AC_INIT([ngx_sts_module],[3.3.0],[hans.zandbelt@openidc.com])
22

33
AM_INIT_AUTOMAKE([foreign no-define subdir-objects])
44
AC_CONFIG_MACRO_DIRS([m4])

src/liboauth2-sts

src/ngx_sts_module.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
* You should have received a copy of the GNU Affero General Public License
1616
* along with this program. If not, see <http://www.gnu.org/licenses/>.
1717
*
18-
* @Author: Hans Zandbelt - hans.zandbelt@zmartzone.eu
18+
* @Author: Hans Zandbelt - hans.zandbelt@openidc.com
1919
*
2020
**************************************************************************/
2121

src/ngx_sts_module_modules.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
* You should have received a copy of the GNU Affero General Public License
1616
* along with this program. If not, see <http://www.gnu.org/licenses/>.
1717
*
18-
* @Author: Hans Zandbelt - hans.zandbelt@zmartzone.eu
18+
* @Author: Hans Zandbelt - hans.zandbelt@openidc.com
1919
*
2020
**************************************************************************/
2121

0 commit comments

Comments
 (0)