entitlement-provider 2.9.81 → 2.9.86

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/LICENSE CHANGED
@@ -1,4 +1,4 @@
1
- Copyright (c) 2019-2021 by arlac77
1
+ Copyright (c) 2019-2022 by arlac77
2
2
  All rights reserved.
3
3
 
4
4
  Redistribution and use in source and binary forms, with or without
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "entitlement-provider",
3
- "version": "2.9.81",
3
+ "version": "2.9.86",
4
4
  "publishConfig": {
5
5
  "access": "public"
6
6
  },
@@ -26,28 +26,28 @@
26
26
  "cover": "c8 -x 'tests/**/*' --temp-directory build/tmp ava --timeout 2m && c8 report -r lcov -o build/coverage --temp-directory build/tmp"
27
27
  },
28
28
  "dependencies": {
29
- "@kronos-integration/interceptor-decode-json": "^2.1.52",
30
- "@kronos-integration/service": "^10.4.8",
31
- "@kronos-integration/service-admin": "^3.4.40",
32
- "@kronos-integration/service-authenticator": "^1.6.0",
33
- "@kronos-integration/service-health": "^5.0.127",
34
- "@kronos-integration/service-http": "^10.6.78",
35
- "@kronos-integration/service-ldap": "^4.0.62",
36
- "@kronos-integration/service-smtp": "^1.0.53",
37
- "model-attributes": "^4.1.12"
29
+ "@kronos-integration/interceptor-decode-json": "^2.1.56",
30
+ "@kronos-integration/service": "^10.4.15",
31
+ "@kronos-integration/service-admin": "^3.4.45",
32
+ "@kronos-integration/service-authenticator": "^1.6.8",
33
+ "@kronos-integration/service-health": "^5.0.134",
34
+ "@kronos-integration/service-http": "^10.6.91",
35
+ "@kronos-integration/service-ldap": "^4.0.70",
36
+ "@kronos-integration/service-smtp": "^1.0.58",
37
+ "model-attributes": "^4.1.13"
38
38
  },
39
39
  "devDependencies": {
40
- "@semantic-release/commit-analyzer": "^9.0.1",
41
- "@semantic-release/exec": "^6.0.2",
42
- "@semantic-release/release-notes-generator": "^10.0.2",
43
- "ava": "^3.15.0",
40
+ "@semantic-release/commit-analyzer": "^9.0.2",
41
+ "@semantic-release/exec": "^6.0.3",
42
+ "@semantic-release/release-notes-generator": "^10.0.3",
43
+ "ava": "^4.0.1",
44
44
  "c8": "^7.1.0",
45
- "got": "11.8.2",
46
- "npm-pkgbuild": "^6.12.67",
47
- "semantic-release": "^18.0.0"
45
+ "got": "12.0.1",
46
+ "npm-pkgbuild": "^7.23.5",
47
+ "semantic-release": "^19.0.2"
48
48
  },
49
49
  "optionalDependencies": {
50
- "@kronos-integration/service-systemd": "^2.5.2"
50
+ "@kronos-integration/service-systemd": "^2.5.3"
51
51
  },
52
52
  "engines": {
53
53
  "node": ">=16.13.0"
@@ -72,40 +72,34 @@
72
72
  "base": "/services/entitlements/api",
73
73
  "socket": "/run/${name}/http/socket"
74
74
  },
75
- "systemd": {
76
- "units": {
77
- "${name}": "systemd/${name}*"
78
- }
79
- },
80
- "pacman": {
81
- "arch": [
82
- "aarch64",
83
- "armv7h",
84
- "x86_64"
85
- ],
75
+ "pkg": {
86
76
  "backup": "etc/${name}/config.json",
87
77
  "content": {
88
- "/usr/lib/tmpfiles.d/${name}.conf": "pacman/tmpfiles.conf",
78
+ "/usr/lib/systemd/system": {
79
+ "base": "systemd"
80
+ },
81
+ "/usr/lib/tmpfiles.d/${name}.conf": "pkg/tmpfiles.conf",
89
82
  "/etc/${name}/config.json": "config/config.json",
90
- "/etc/nginx/sites/common/${name}.conf": "pacman/nginx.conf",
83
+ "/etc/nginx/sites/common/${name}.conf": "pkg/nginx.conf",
91
84
  "/srv/http/.well-known/openid-configuration": "config/openid-configuration",
92
- "/usr/lib/sysusers.d/${name}.conf": "pacman/sysusers.conf"
85
+ "/usr/lib/sysusers.d/${name}.conf": "pkg/sysusers.conf",
86
+ "${installdir}/": [
87
+ {
88
+ "type": "npm-pack"
89
+ },
90
+ {
91
+ "type": "node-modules"
92
+ }
93
+ ]
93
94
  },
94
95
  "depends": {
95
- "systemd": ">=249.5",
96
- "nginx-mainline": ">=1.21.1"
96
+ "systemd": ">=250.3",
97
+ "nginx-mainline": ">=1.21.4"
97
98
  },
98
99
  "groups": "user admin",
99
- "hooks": "pacman/hooks.sh",
100
+ "hooks": "pkg/hooks.sh",
100
101
  "installdir": "/services/${name}",
101
- "group": "services",
102
- "content-provider": {
103
- "systemd": {
104
- "units": {
105
- "${name}": "systemd/${name}*"
106
- }
107
- }
108
- }
102
+ "group": "services"
109
103
  },
110
104
  "release": {
111
105
  "plugins": [
@@ -115,8 +109,7 @@
115
109
  [
116
110
  "@semantic-release/exec",
117
111
  {
118
- "verifyConditionsCmd": "which makepkg",
119
- "publishCmd": "npx npm-pkgbuild --pkgver ${nextRelease.version} --npm-dist --npm-modules pkgbuild pacman makepkg"
112
+ "publishCmd": "npx npm-pkgbuild"
120
113
  }
121
114
  ],
122
115
  "@semantic-release/npm"
@@ -125,7 +118,7 @@
125
118
  "template": {
126
119
  "inheritFrom": [
127
120
  "arlac77/template-arlac77-github",
128
- "arlac77/template-kronos-app"
121
+ "arlac77/template-kronos-app#next"
129
122
  ]
130
123
  }
131
124
  }
File without changes
File without changes
File without changes
File without changes
@@ -19,7 +19,9 @@ OOMPolicy=stop
19
19
  User={{name}}
20
20
  Group={{name}}
21
21
  SupplementaryGroups=http
22
+ CapabilityBoundingSet=~CAP_SYS_BOOT
22
23
  NoNewPrivileges=true
24
+ UMask=0077
23
25
  ProtectSystem=full
24
26
  ProtectHome=true
25
27
  RuntimeDirectory={{name}}/http
@@ -38,12 +40,14 @@ ProtectKernelModules=true
38
40
  ProtectKernelLogs=true
39
41
  ProtectControlGroups=true
40
42
  LockPersonality=true
43
+ RestrictRealtime=true
41
44
  RestrictSUIDSGID=true
42
45
  CPUWeight=10
43
46
  IOWeight=10
44
47
  MemoryAccounting=true
45
48
  MemoryHigh=30M
46
49
  MemoryMax=60M
50
+ ProtectProc=noaccess
47
51
  SystemCallErrorNumber=EPERM
48
52
 
49
53
  [Install]