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
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "entitlement-provider",
|
|
3
|
-
"version": "2.9.
|
|
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.
|
|
30
|
-
"@kronos-integration/service": "^10.4.
|
|
31
|
-
"@kronos-integration/service-admin": "^3.4.
|
|
32
|
-
"@kronos-integration/service-authenticator": "^1.6.
|
|
33
|
-
"@kronos-integration/service-health": "^5.0.
|
|
34
|
-
"@kronos-integration/service-http": "^10.6.
|
|
35
|
-
"@kronos-integration/service-ldap": "^4.0.
|
|
36
|
-
"@kronos-integration/service-smtp": "^1.0.
|
|
37
|
-
"model-attributes": "^4.1.
|
|
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.
|
|
41
|
-
"@semantic-release/exec": "^6.0.
|
|
42
|
-
"@semantic-release/release-notes-generator": "^10.0.
|
|
43
|
-
"ava": "^
|
|
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": "
|
|
46
|
-
"npm-pkgbuild": "^
|
|
47
|
-
"semantic-release": "^
|
|
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.
|
|
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
|
-
"
|
|
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/
|
|
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": "
|
|
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": "
|
|
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": ">=
|
|
96
|
-
"nginx-mainline": ">=1.21.
|
|
96
|
+
"systemd": ">=250.3",
|
|
97
|
+
"nginx-mainline": ">=1.21.4"
|
|
97
98
|
},
|
|
98
99
|
"groups": "user admin",
|
|
99
|
-
"hooks": "
|
|
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
|
-
"
|
|
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
|
}
|
package/{pacman → pkg}/hooks.sh
RENAMED
|
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]
|