You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: spk/demoservice/Makefile
+8-6Lines changed: 8 additions & 6 deletions
Original file line number
Diff line number
Diff line change
@@ -3,17 +3,20 @@ SPK_VERS = 1.2
3
3
SPK_REV = 6
4
4
SPK_ICON = src/demoservice.png
5
5
6
+
# force noarch target
6
7
overrideARCH=
7
8
8
9
MAINTAINER = ymartin59
9
-
DESCRIPTION = Demonstration package to show installer script capabilities when requiring non-root user for background service
10
+
DESCRIPTION = Demonstration package to show installer script capabilities when requiring non-root user for background service. <br>Further more this package creates a demo MySQL database. Upon deinstallation the demo database and/or user can be kept or droped.
10
11
RELOAD_UI = yes
11
12
DISPLAY_NAME = DemoService
12
-
CHANGELOG = "Initial version"
13
+
CHANGELOG = "Add db creation demo."
13
14
14
15
LICENSE = GPLv2
15
16
16
-
WIZARDS_DIR = src/wizard/
17
+
WIZARDS_DIR = src/wizard/
18
+
# The demo database is created by definitions in conf/resource and controlled by wizard variables.
19
+
CONF_DIR = src/conf/
17
20
18
21
# 'auto' reserved value grabs SPK_NAME
19
22
SERVICE_USER = auto
@@ -36,8 +39,7 @@ include ../../mk/spksrc.spk.mk
36
39
.PHONY: demoservice_install
37
40
# Replace standard copy/install targets, no sources, no content
Copy file name to clipboardExpand all lines: spk/demoservice/src/wizard/install_uifile
+15-2Lines changed: 15 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -35,11 +35,24 @@
35
35
]
36
36
},
37
37
{
38
-
"step_title": "Attention! DSM Permissions",
38
+
"step_title": "DSM Permissions",
39
39
"items": [
40
40
{
41
41
"desc": "Permissions are managed with the group <b>'sc-download'</b> in DSM.<br>The group 'users' is no longer used as of DSM 6.<br>Package user (= demoservice) will not appear on most UI settings.<br>Including the following:<br>- Application privilege's permission viewer<br>- FPT's chroot user selector<br>- File Stations's<br>- Change owner<br>- Shared Links Manager -> Enable secure sharing<br><br>The only exceptions are:<br>- Control Panel > Shared Folder > Edit > Permission > System internal user<br>- ACL editor<br>"
42
42
}
43
43
]
44
+
},
45
+
{
46
+
"step_title": "Create MySQL Demo Database",
47
+
"items": [{
48
+
"desc": "This package creates a demo database 'demoservice' and a db user 'demoservice' with full access to this database. The password for the db user is randomly generated by DSM and is stored in the file demoservice.ini by package specific install function.<br>"
Copy file name to clipboardExpand all lines: spk/demoservice/src/wizard/install_uifile_fre
+14-1Lines changed: 14 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -35,11 +35,24 @@
35
35
]
36
36
},
37
37
{
38
-
"step_title": "Attention! DSM Permissions",
38
+
"step_title": "DSM Permissions",
39
39
"items": [
40
40
{
41
41
"desc": "Les autorisations sont gérées avec le groupe <b>'sc-download'</b> dans DSM.<br>Le groupe 'utilisateurs' n'est plus utilisé à partir de DSM 6.<br>L'utilisateur du paquet (= demoservice) n'apparaîtra pas sur la plupart des paramètres d'interface utilisateur. Y compris ce qui suit: <br>- Afficheur d'autorisation de privilège d'application <br>- Sélecteur d'utilisateur chroot FPT <br>- File Stations's- Changer de propriétaire <br>- Shared Links Manager -> Activer le partage sécurisé <br><br>Les seules exceptions sont: <br>- Panneau de configuration> Dossier partagé> Edition> Autorisation> Utilisateur interne du système <br>- Éditeur ACL"
42
42
}
43
43
]
44
+
},
45
+
{
46
+
"step_title": "Create MySQL Demo Database",
47
+
"items": [{
48
+
"desc": "This package creates a demo database 'demoservice' and a db user 'demoservice' with full access to this database. The password for the db user is randomly generated by DSM and is stored in the file demoservice.ini by package specific install function.<br>"
0 commit comments