From 002d37cf2df803949f6fae2e7cff45e132bd0dcd Mon Sep 17 00:00:00 2001 From: Mustafa Arici Date: Tue, 19 Sep 2017 11:29:51 +0300 Subject: [PATCH 1/2] chore(package): make sure 'nobody' user & group exists on the target system --- contrib/afterinstall.sh | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/contrib/afterinstall.sh b/contrib/afterinstall.sh index 9b76642..59ae604 100644 --- a/contrib/afterinstall.sh +++ b/contrib/afterinstall.sh @@ -1 +1,6 @@ +export USER="nobody" +export GROUP="nobody" +id -u $USER &>/dev/null || useradd $USER +id -u $GROUP &>/dev/null || useradd $GROUP + systemctl daemon-reload From f6327523d45911c003de1304e6de7d41fade857a Mon Sep 17 00:00:00 2001 From: Mustafa Arici Date: Tue, 19 Sep 2017 14:24:11 +0300 Subject: [PATCH 2/2] release: v0.1.17 --- CHANGELOG.md | 21 +++++++++++++++++---- bindata/bindata.go | 10 +++++----- const.go | 2 +- 3 files changed, 23 insertions(+), 10 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 97ce610..0a1a416 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,22 @@ # Change Log +## [v0.1.16](https://github.com/cad/ovpm/tree/v0.1.16) (2017-09-19) +[Full Changelog](https://github.com/cad/ovpm/compare/v0.1.15...v0.1.16) + +**Fixed bugs:** + +- ovpmd.service wrong exe path... [\#47](https://github.com/cad/ovpm/issues/47) + +## [v0.1.15](https://github.com/cad/ovpm/tree/v0.1.15) (2017-09-12) +[Full Changelog](https://github.com/cad/ovpm/compare/v0.1.14...v0.1.15) + +**Implemented enhancements:** + +- rest api authentication [\#45](https://github.com/cad/ovpm/issues/45) + +## [v0.1.14](https://github.com/cad/ovpm/tree/v0.1.14) (2017-09-03) +[Full Changelog](https://github.com/cad/ovpm/compare/v0.1.13...v0.1.14) + ## [v0.1.13](https://github.com/cad/ovpm/tree/v0.1.13) (2017-09-03) [Full Changelog](https://github.com/cad/ovpm/compare/v0.1.12...v0.1.13) @@ -105,7 +122,3 @@ - implement remote control proto [\#8](https://github.com/cad/ovpm/issues/8) - write docs [\#4](https://github.com/cad/ovpm/issues/4) - write unit tests [\#3](https://github.com/cad/ovpm/issues/3) - - - -\* *This Change Log was automatically generated by [github_changelog_generator](https://github.com/skywinder/Github-Changelog-Generator)* \ No newline at end of file diff --git a/bindata/bindata.go b/bindata/bindata.go index 656ca98..78c0451 100644 --- a/bindata/bindata.go +++ b/bindata/bindata.go @@ -91,7 +91,7 @@ func templateAuthSwaggerJson() (*asset, error) { return nil, err } - info := bindataFileInfo{name: "template/auth.swagger.json", size: 2404, mode: os.FileMode(420), modTime: time.Unix(1505803820, 0)} + info := bindataFileInfo{name: "template/auth.swagger.json", size: 2404, mode: os.FileMode(420), modTime: time.Unix(1505820134, 0)} a := &asset{bytes: bytes, info: info} return a, nil } @@ -191,7 +191,7 @@ func templateNetworkSwaggerJson() (*asset, error) { return nil, err } - info := bindataFileInfo{name: "template/network.swagger.json", size: 7498, mode: os.FileMode(420), modTime: time.Unix(1505803820, 0)} + info := bindataFileInfo{name: "template/network.swagger.json", size: 7498, mode: os.FileMode(420), modTime: time.Unix(1505820134, 0)} a := &asset{bytes: bytes, info: info} return a, nil } @@ -211,7 +211,7 @@ func templateServerConfTmpl() (*asset, error) { return nil, err } - info := bindataFileInfo{name: "template/server.conf.tmpl", size: 9598, mode: os.FileMode(420), modTime: time.Unix(1505767450, 0)} + info := bindataFileInfo{name: "template/server.conf.tmpl", size: 9598, mode: os.FileMode(420), modTime: time.Unix(1505803900, 0)} a := &asset{bytes: bytes, info: info} return a, nil } @@ -231,7 +231,7 @@ func templateUserSwaggerJson() (*asset, error) { return nil, err } - info := bindataFileInfo{name: "template/user.swagger.json", size: 6532, mode: os.FileMode(420), modTime: time.Unix(1505803820, 0)} + info := bindataFileInfo{name: "template/user.swagger.json", size: 6532, mode: os.FileMode(420), modTime: time.Unix(1505820134, 0)} a := &asset{bytes: bytes, info: info} return a, nil } @@ -251,7 +251,7 @@ func templateVpnSwaggerJson() (*asset, error) { return nil, err } - info := bindataFileInfo{name: "template/vpn.swagger.json", size: 3322, mode: os.FileMode(420), modTime: time.Unix(1505803820, 0)} + info := bindataFileInfo{name: "template/vpn.swagger.json", size: 3322, mode: os.FileMode(420), modTime: time.Unix(1505820134, 0)} a := &asset{bytes: bytes, info: info} return a, nil } diff --git a/const.go b/const.go index 28c71b2..5f9fdaa 100644 --- a/const.go +++ b/const.go @@ -2,7 +2,7 @@ package ovpm const ( // Version defines the version of ovpm. - Version = "0.1.16" + Version = "0.1.17" // DefaultVPNPort is the default OpenVPN port to listen. DefaultVPNPort = "1197"