entitlement-provider 2.9.87 → 2.9.91
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/package.json +12 -12
- package/pkg/hooks.sh +0 -27
- package/pkg/nginx.conf +0 -10
- package/pkg/sysusers.conf +0 -2
- package/pkg/tmpfiles.conf +0 -3
- package/systemd/entitlement-provider.service +0 -56
- package/systemd/entitlement-provider.socket +0 -9
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "entitlement-provider",
|
|
3
|
-
"version": "2.9.
|
|
3
|
+
"version": "2.9.91",
|
|
4
4
|
"publishConfig": {
|
|
5
5
|
"access": "public"
|
|
6
6
|
},
|
|
@@ -27,14 +27,14 @@
|
|
|
27
27
|
"pkg": "npm-pkgbuild --verbose -D version=0.0.0 --publish dist"
|
|
28
28
|
},
|
|
29
29
|
"dependencies": {
|
|
30
|
-
"@kronos-integration/interceptor-decode-json": "^2.1.
|
|
31
|
-
"@kronos-integration/service": "^10.4.
|
|
32
|
-
"@kronos-integration/service-admin": "^3.4.
|
|
33
|
-
"@kronos-integration/service-authenticator": "^1.6.
|
|
34
|
-
"@kronos-integration/service-health": "^5.0.
|
|
35
|
-
"@kronos-integration/service-http": "^10.6.
|
|
36
|
-
"@kronos-integration/service-ldap": "^4.0.
|
|
37
|
-
"@kronos-integration/service-smtp": "^1.0.
|
|
30
|
+
"@kronos-integration/interceptor-decode-json": "^2.1.58",
|
|
31
|
+
"@kronos-integration/service": "^10.4.17",
|
|
32
|
+
"@kronos-integration/service-admin": "^3.4.47",
|
|
33
|
+
"@kronos-integration/service-authenticator": "^1.6.11",
|
|
34
|
+
"@kronos-integration/service-health": "^5.0.137",
|
|
35
|
+
"@kronos-integration/service-http": "^10.6.94",
|
|
36
|
+
"@kronos-integration/service-ldap": "^4.0.73",
|
|
37
|
+
"@kronos-integration/service-smtp": "^1.0.61",
|
|
38
38
|
"model-attributes": "^4.1.13"
|
|
39
39
|
},
|
|
40
40
|
"devDependencies": {
|
|
@@ -44,14 +44,14 @@
|
|
|
44
44
|
"ava": "^4.0.1",
|
|
45
45
|
"c8": "^7.1.0",
|
|
46
46
|
"got": "12.0.1",
|
|
47
|
-
"npm-pkgbuild": "^7.23.
|
|
47
|
+
"npm-pkgbuild": "^7.23.8",
|
|
48
48
|
"semantic-release": "^19.0.2"
|
|
49
49
|
},
|
|
50
50
|
"optionalDependencies": {
|
|
51
51
|
"@kronos-integration/service-systemd": "^2.5.3"
|
|
52
52
|
},
|
|
53
53
|
"engines": {
|
|
54
|
-
"node": ">=16.13.
|
|
54
|
+
"node": ">=16.13.2"
|
|
55
55
|
},
|
|
56
56
|
"os": [
|
|
57
57
|
"linux"
|
|
@@ -122,7 +122,7 @@
|
|
|
122
122
|
"template": {
|
|
123
123
|
"inheritFrom": [
|
|
124
124
|
"arlac77/template-arlac77-github",
|
|
125
|
-
"arlac77/template-kronos-app
|
|
125
|
+
"arlac77/template-kronos-app"
|
|
126
126
|
]
|
|
127
127
|
}
|
|
128
128
|
}
|
package/pkg/hooks.sh
DELETED
|
@@ -1,27 +0,0 @@
|
|
|
1
|
-
|
|
2
|
-
post_install() {
|
|
3
|
-
systemctl daemon-reload
|
|
4
|
-
systemctl enable {{name}}
|
|
5
|
-
systemctl enable {{name}}.socket
|
|
6
|
-
systemctl start {{name}}.socket
|
|
7
|
-
}
|
|
8
|
-
|
|
9
|
-
pre_upgrade() {
|
|
10
|
-
systemctl stop {{name}}
|
|
11
|
-
}
|
|
12
|
-
|
|
13
|
-
post_upgrade() {
|
|
14
|
-
systemctl daemon-reload
|
|
15
|
-
systemctl restart {{name}}.socket
|
|
16
|
-
}
|
|
17
|
-
|
|
18
|
-
pre_remove() {
|
|
19
|
-
systemctl stop {{name}}.socket
|
|
20
|
-
systemctl disable {{name}}.socket
|
|
21
|
-
systemctl stop {{name}}
|
|
22
|
-
systemctl disable {{name}}
|
|
23
|
-
}
|
|
24
|
-
|
|
25
|
-
post_remove() {
|
|
26
|
-
systemctl daemon-reload
|
|
27
|
-
}
|
package/pkg/nginx.conf
DELETED
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
location {{base}} {
|
|
2
|
-
rewrite {{base}}/(.*) /$1 break;
|
|
3
|
-
proxy_set_header X-Real-IP $remote_addr;
|
|
4
|
-
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
|
|
5
|
-
proxy_set_header Host $http_host;
|
|
6
|
-
proxy_set_header X-NginX-Proxy true;
|
|
7
|
-
proxy_set_header Upgrade $http_upgrade;
|
|
8
|
-
proxy_set_header Connection "upgrade";
|
|
9
|
-
proxy_pass http://unix:{{socket}};
|
|
10
|
-
}
|
package/pkg/sysusers.conf
DELETED
package/pkg/tmpfiles.conf
DELETED
|
@@ -1,56 +0,0 @@
|
|
|
1
|
-
[Unit]
|
|
2
|
-
Description={{description}}
|
|
3
|
-
Wants=network-online.target
|
|
4
|
-
After=network-online.target
|
|
5
|
-
StopWhenUnneeded=true
|
|
6
|
-
|
|
7
|
-
[Service]
|
|
8
|
-
Type=notify
|
|
9
|
-
ExecStart=/usr/bin/node --unhandled-rejections=strict --trace-uncaught --trace-warnings --title {{name}} {{installdir}}/src/{{name}}-cli.mjs
|
|
10
|
-
ExecReload=/bin/kill -HUP $MAINPID
|
|
11
|
-
ExecStop=sleep 20
|
|
12
|
-
RestartSec=40
|
|
13
|
-
TimeoutStartSec=25
|
|
14
|
-
TimeoutStopSec=30
|
|
15
|
-
Restart=on-failure
|
|
16
|
-
NotifyAccess=all
|
|
17
|
-
FileDescriptorStoreMax=5
|
|
18
|
-
OOMPolicy=stop
|
|
19
|
-
User={{name}}
|
|
20
|
-
Group={{name}}
|
|
21
|
-
SupplementaryGroups=http
|
|
22
|
-
CapabilityBoundingSet=~CAP_SYS_BOOT
|
|
23
|
-
NoNewPrivileges=true
|
|
24
|
-
UMask=0077
|
|
25
|
-
ProtectSystem=full
|
|
26
|
-
ProtectHome=true
|
|
27
|
-
RuntimeDirectory={{name}}/http
|
|
28
|
-
StateDirectory={{name}}
|
|
29
|
-
CacheDirectory={{name}}
|
|
30
|
-
ConfigurationDirectory={{name}}
|
|
31
|
-
RuntimeDirectoryMode=755
|
|
32
|
-
RuntimeDirectoryPreserve=yes
|
|
33
|
-
PrivateTmp=true
|
|
34
|
-
PrivateDevices=true
|
|
35
|
-
PrivateUsers=true
|
|
36
|
-
ProtectHostname=true
|
|
37
|
-
ProtectClock=true
|
|
38
|
-
ProtectKernelTunables=true
|
|
39
|
-
ProtectKernelModules=true
|
|
40
|
-
ProtectKernelLogs=true
|
|
41
|
-
ProtectControlGroups=true
|
|
42
|
-
LockPersonality=true
|
|
43
|
-
RestrictRealtime=true
|
|
44
|
-
RestrictSUIDSGID=true
|
|
45
|
-
CPUWeight=10
|
|
46
|
-
IOWeight=10
|
|
47
|
-
MemoryAccounting=true
|
|
48
|
-
MemoryHigh=30M
|
|
49
|
-
MemoryMax=60M
|
|
50
|
-
ProtectProc=noaccess
|
|
51
|
-
SystemCallErrorNumber=EPERM
|
|
52
|
-
|
|
53
|
-
CapabilityBoundingSet=~CAP_SYS_BOOT CAP_SYS_ADMIN CAP_NET_ADMIN CAP_SYS_NICE CAP_SYS_RESOURCE CAP_KILLC AP_IPC_LOCK CAP_CHOWN CAP_FSETID CAP_SETFCAP CAP_SETUID CAP_SETGID CAP_SETPCAP CAP_WAKE_ALARM CAP_NET_BIND_SERVICE CAP_NET_BROADCAST CAP_NET_RAW CAP_KILL
|
|
54
|
-
|
|
55
|
-
[Install]
|
|
56
|
-
WantedBy=multi-user.target
|