entitlement-provider 2.9.86 → 2.9.90
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 +16 -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 -54
- 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.90",
|
|
4
4
|
"publishConfig": {
|
|
5
5
|
"access": "public"
|
|
6
6
|
},
|
|
@@ -23,17 +23,18 @@
|
|
|
23
23
|
"scripts": {
|
|
24
24
|
"test": "npm run test:ava",
|
|
25
25
|
"test:ava": "ava --timeout 2m tests/*.mjs",
|
|
26
|
-
"cover": "c8 -x 'tests/**/*' --temp-directory build/tmp ava --timeout 2m && c8 report -r lcov -o build/coverage --temp-directory build/tmp"
|
|
26
|
+
"cover": "c8 -x 'tests/**/*' --temp-directory build/tmp ava --timeout 2m && c8 report -r lcov -o build/coverage --temp-directory build/tmp",
|
|
27
|
+
"pkg": "npm-pkgbuild --verbose -D version=0.0.0 --publish dist"
|
|
27
28
|
},
|
|
28
29
|
"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.
|
|
30
|
+
"@kronos-integration/interceptor-decode-json": "^2.1.58",
|
|
31
|
+
"@kronos-integration/service": "^10.4.17",
|
|
32
|
+
"@kronos-integration/service-admin": "^3.4.46",
|
|
33
|
+
"@kronos-integration/service-authenticator": "^1.6.10",
|
|
34
|
+
"@kronos-integration/service-health": "^5.0.136",
|
|
35
|
+
"@kronos-integration/service-http": "^10.6.93",
|
|
36
|
+
"@kronos-integration/service-ldap": "^4.0.72",
|
|
37
|
+
"@kronos-integration/service-smtp": "^1.0.61",
|
|
37
38
|
"model-attributes": "^4.1.13"
|
|
38
39
|
},
|
|
39
40
|
"devDependencies": {
|
|
@@ -43,7 +44,7 @@
|
|
|
43
44
|
"ava": "^4.0.1",
|
|
44
45
|
"c8": "^7.1.0",
|
|
45
46
|
"got": "12.0.1",
|
|
46
|
-
"npm-pkgbuild": "^7.23.
|
|
47
|
+
"npm-pkgbuild": "^7.23.8",
|
|
47
48
|
"semantic-release": "^19.0.2"
|
|
48
49
|
},
|
|
49
50
|
"optionalDependencies": {
|
|
@@ -75,7 +76,7 @@
|
|
|
75
76
|
"pkg": {
|
|
76
77
|
"backup": "etc/${name}/config.json",
|
|
77
78
|
"content": {
|
|
78
|
-
"/usr/lib/systemd/system": {
|
|
79
|
+
"/usr/lib/systemd/system/": {
|
|
79
80
|
"base": "systemd"
|
|
80
81
|
},
|
|
81
82
|
"/usr/lib/tmpfiles.d/${name}.conf": "pkg/tmpfiles.conf",
|
|
@@ -92,6 +93,9 @@
|
|
|
92
93
|
}
|
|
93
94
|
]
|
|
94
95
|
},
|
|
96
|
+
"output": {
|
|
97
|
+
"arch": {}
|
|
98
|
+
},
|
|
95
99
|
"depends": {
|
|
96
100
|
"systemd": ">=250.3",
|
|
97
101
|
"nginx-mainline": ">=1.21.4"
|
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,54 +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
|
-
[Install]
|
|
54
|
-
WantedBy=multi-user.target
|