aboutsummaryrefslogtreecommitdiffstats
path: root/extras
diff options
context:
space:
mode:
authorAngelo Naselli <anaselli@linux.it>2015-03-16 18:16:50 +0100
committerAngelo Naselli <anaselli@linux.it>2015-03-16 18:16:50 +0100
commitfc9772f1f03684e8dab50ff77d2c46c5e0309c7b (patch)
tree375b76cf80e5d816eb48a4badf3bb949199ef220 /extras
parent825922057a21a9b09c60edf4b44535d7fd49926d (diff)
downloadmanatools-fc9772f1f03684e8dab50ff77d2c46c5e0309c7b.tar
manatools-fc9772f1f03684e8dab50ff77d2c46c5e0309c7b.tar.gz
manatools-fc9772f1f03684e8dab50ff77d2c46c5e0309c7b.tar.bz2
manatools-fc9772f1f03684e8dab50ff77d2c46c5e0309c7b.tar.xz
manatools-fc9772f1f03684e8dab50ff77d2c46c5e0309c7b.zip
Moved to namespace to ManaTools
Diffstat (limited to 'extras')
-rw-r--r--extras/README6
-rw-r--r--extras/conf/categories.conf12
-rw-r--r--extras/conf/categories.conf.d/manaservice.conf2
-rw-r--r--extras/conf/categories.conf.d/manauser.conf2
-rw-r--r--extras/desktop/manaclock.desktop2
-rw-r--r--extras/desktop/manadm.desktop2
-rw-r--r--extras/desktop/manahost.desktop2
-rw-r--r--extras/desktop/manalog.desktop2
-rw-r--r--extras/desktop/manaproxy.desktop2
-rw-r--r--extras/desktop/manaservice.desktop2
-rw-r--r--extras/desktop/manauser.desktop2
-rw-r--r--extras/desktop/manauserlog.desktop2
-rw-r--r--extras/desktop/manawall.desktop2
-rw-r--r--extras/desktop/mpan.desktop4
-rwxr-xr-xextras/setup.sh22
15 files changed, 33 insertions, 33 deletions
diff --git a/extras/README b/extras/README
index 8bb98c56..465d6999 100644
--- a/extras/README
+++ b/extras/README
@@ -1,7 +1,7 @@
Configure polkit
----------------
-Please copy extras/org.mageia.policykit.pkexec.adminpanel.policy to /usr/share/polkit-1/actions/org.mageia.policykit.pkexec.adminpanel.policy
+Please copy extras/org.mageia.policykit.pkexec.manatools.policy to /usr/share/polkit-1/actions/org.mageia.policykit.pkexec.manatools.policy
to make apanel be usable through policykit (mcc is currently using pam, a bit more complicated compared to polkit).
After that you have to make a symbolic link to apanel.pl into /usr/bin/ (i.e. /usr/bin/apanel.pl) and make your local apanel.pl script executable (chmod +x apanel.pl).
@@ -33,10 +33,10 @@ xhost local:root
5. setup apanel.pl to use consolehelper backend ($USE_CHLP)
-Add AdminPanel to the include path (for developers)
+Add ManaTools to the include path (for developers)
---------------------------------------------------
-symlink trunk/AdminPanel to /usr/lib/perl5/<currentversion>/AdminPanel
+symlink trunk/ManaTools to /usr/lib/perl5/<currentversion>/ManaTools
where currentversion could be for example 5.16.2
Additional notes:
diff --git a/extras/conf/categories.conf b/extras/conf/categories.conf
index 774d0318..5bfac57d 100644
--- a/extras/conf/categories.conf
+++ b/extras/conf/categories.conf
@@ -23,34 +23,34 @@
<title>System</title>
<icon>/usr/share/icons/system_section.png</icon>
<module>
- <class>AdminPanel::Module::LogViewer</class>
+ <class>ManaTools::Module::LogViewer</class>
</module>
<module>
- <class>AdminPanel::Module::Clock</class>
+ <class>ManaTools::Module::Clock</class>
</module>
</category>
<category>
<title>Network &amp;&amp; Internet</title>
<icon>/usr/share/icons/networking_section.png</icon>
<module>
- <class>AdminPanel::Module::Hosts</class>
+ <class>ManaTools::Module::Hosts</class>
</module>
<module>
- <class>AdminPanel::Module::Proxy</class>
+ <class>ManaTools::Module::Proxy</class>
</module>
</category>
<category>
<title>Security</title>
<icon>/usr/share/icons/security_section.png</icon>
<module>
- <class>AdminPanel::Module::Firewall</class>
+ <class>ManaTools::Module::Firewall</class>
</module>
</category>
<category>
<title>Boot</title>
<icon>/usr/share/icons/boot_init_section.png</icon>
<module>
- <class>AdminPanel::Module::DisplayManager</class>
+ <class>ManaTools::Module::DisplayManager</class>
</module>
</category>
</categories>
diff --git a/extras/conf/categories.conf.d/manaservice.conf b/extras/conf/categories.conf.d/manaservice.conf
index 304f75ed..61c3bd0e 100644
--- a/extras/conf/categories.conf.d/manaservice.conf
+++ b/extras/conf/categories.conf.d/manaservice.conf
@@ -4,7 +4,7 @@
<title>System</title>
<icon>/usr/share/icons/system_section.png</icon>
<module>
- <class>AdminPanel::Module::Services</class>
+ <class>ManaTools::Module::Services</class>
</module>
</category>
</categories>
diff --git a/extras/conf/categories.conf.d/manauser.conf b/extras/conf/categories.conf.d/manauser.conf
index 85dba9f2..99ed6d06 100644
--- a/extras/conf/categories.conf.d/manauser.conf
+++ b/extras/conf/categories.conf.d/manauser.conf
@@ -4,7 +4,7 @@
<title>System</title>
<icon>/usr/share/icons/system_section.png</icon>
<module>
- <class>AdminPanel::Module::Users</class>
+ <class>ManaTools::Module::Users</class>
</module>
</category>
</categories>
diff --git a/extras/desktop/manaclock.desktop b/extras/desktop/manaclock.desktop
index c193d614..9fd261aa 100644
--- a/extras/desktop/manaclock.desktop
+++ b/extras/desktop/manaclock.desktop
@@ -1,6 +1,6 @@
[Desktop Entry]
Name=manaclock
-Comment=AdminPanel clock manager
+Comment=ManaTools clock manager
Exec=mana clock
Icon=/usr/share/icons/manaclock.png
Type=Application
diff --git a/extras/desktop/manadm.desktop b/extras/desktop/manadm.desktop
index 7e37fd01..d10c0572 100644
--- a/extras/desktop/manadm.desktop
+++ b/extras/desktop/manadm.desktop
@@ -1,6 +1,6 @@
[Desktop Entry]
Name=manadm
-Comment=AdminPanel login manager configuration
+Comment=ManaTools login manager configuration
Exec=mana dm
Icon=/usr/share/icons/manadm.png
Type=Application
diff --git a/extras/desktop/manahost.desktop b/extras/desktop/manahost.desktop
index 0823c39c..2e638518 100644
--- a/extras/desktop/manahost.desktop
+++ b/extras/desktop/manahost.desktop
@@ -1,6 +1,6 @@
[Desktop Entry]
Name=manahost
-Comment=AdminPanel host manager
+Comment=ManaTools host manager
Exec=mana host
Icon=/usr/share/icons/manahost.png
Type=Application
diff --git a/extras/desktop/manalog.desktop b/extras/desktop/manalog.desktop
index 3dc6d88b..b87b9f3a 100644
--- a/extras/desktop/manalog.desktop
+++ b/extras/desktop/manalog.desktop
@@ -1,6 +1,6 @@
[Desktop Entry]
Name=manalog admin mode
-Comment=AdminPanel log viewer
+Comment=ManaTools log viewer
Exec=mana log
Icon=/usr/share/icons/manalog.png
Type=Application
diff --git a/extras/desktop/manaproxy.desktop b/extras/desktop/manaproxy.desktop
index 23d39bb5..db8766a9 100644
--- a/extras/desktop/manaproxy.desktop
+++ b/extras/desktop/manaproxy.desktop
@@ -1,6 +1,6 @@
[Desktop Entry]
Name=manaproxy
-Comment=AdminPanel proxy manager
+Comment=ManaTools proxy manager
Exec=mana proxy
Icon=/usr/share/icons/manaproxy.png
Type=Application
diff --git a/extras/desktop/manaservice.desktop b/extras/desktop/manaservice.desktop
index e5dec7aa..01964081 100644
--- a/extras/desktop/manaservice.desktop
+++ b/extras/desktop/manaservice.desktop
@@ -1,6 +1,6 @@
[Desktop Entry]
Name=manaservice
-Comment=AdminPanel service manager
+Comment=ManaTools service manager
Exec=mana service
Icon=/usr/share/icons/manaservice.png
Type=Application
diff --git a/extras/desktop/manauser.desktop b/extras/desktop/manauser.desktop
index 87397de8..b72c5a91 100644
--- a/extras/desktop/manauser.desktop
+++ b/extras/desktop/manauser.desktop
@@ -1,6 +1,6 @@
[Desktop Entry]
Name=manauser
-Comment=AdminPanel user manager
+Comment=ManaTools user manager
Exec=mana user
Icon=/usr/share/icons/manauser.png
Type=Application
diff --git a/extras/desktop/manauserlog.desktop b/extras/desktop/manauserlog.desktop
index 3b33b9e4..2d60730e 100644
--- a/extras/desktop/manauserlog.desktop
+++ b/extras/desktop/manauserlog.desktop
@@ -1,6 +1,6 @@
[Desktop Entry]
Name=manalog user mode
-Comment=AdminPanel log viewer
+Comment=ManaTools log viewer
Exec=/usr/bin/manalog
Icon=/usr/share/icons/manalog.png
Type=Application
diff --git a/extras/desktop/manawall.desktop b/extras/desktop/manawall.desktop
index 8a2d93dd..2c5b54f5 100644
--- a/extras/desktop/manawall.desktop
+++ b/extras/desktop/manawall.desktop
@@ -1,6 +1,6 @@
[Desktop Entry]
Name=manawall
-Comment=AdminPanel firewall configurator
+Comment=ManaTools firewall configurator
Exec=mana wall
Icon=/usr/share/icons/manawall.png
Type=Application
diff --git a/extras/desktop/mpan.desktop b/extras/desktop/mpan.desktop
index 6ea03899..df3df292 100644
--- a/extras/desktop/mpan.desktop
+++ b/extras/desktop/mpan.desktop
@@ -1,6 +1,6 @@
[Desktop Entry]
-Name=Mageia AdminPanel
-Comment=Administration panel - application launcher
+Name=Mageia ManaTools
+Comment=Mana-tools panel - application launcher
Exec=mana pan
Icon=/usr/share/icons/mpan.png
Type=Application
diff --git a/extras/setup.sh b/extras/setup.sh
index bbb0645b..a45a9808 100755
--- a/extras/setup.sh
+++ b/extras/setup.sh
@@ -1,7 +1,7 @@
#!/bin/bash
# vim: set et ts=4 sw=4:
-apanel=`rpm --eval %perl_privlib`/AdminPanel
+apanel=`rpm --eval %perl_privlib`/ManaTools
function check_root_permissions
{
@@ -13,17 +13,17 @@ function check_root_permissions
function uninstall
{
- echo "== Uninstalling AdminPanel..."
+ echo "== Uninstalling ManaTools..."
if [ -L $apanel ]
then
unlink $apanel
fi
-
- if [ -f /usr/share/polkit-1/actions/org.mageia.policykit.pkexec.adminpanel.policy ]
+
+ if [ -f /usr/share/polkit-1/actions/org.mageia.policykit.pkexec.manatools.policy ]
then
- rm /usr/share/polkit-1/actions/org.mageia.policykit.pkexec.adminpanel.policy
+ rm /usr/share/polkit-1/actions/org.mageia.policykit.pkexec.manatools.policy
fi
-
+
if [ -f /usr/bin/apanel.pl ]
then
unlink /usr/bin/apanel.pl
@@ -45,11 +45,11 @@ function uninstall_xhost_conf {
}
function setup {
- echo "== Installing AdminPanel..."
+ echo "== Installing ManaTools..."
pushd .
cd ..
- cp extras/org.mageia.policykit.pkexec.adminpanel.policy /usr/share/polkit-1/actions/
- ln -s $PWD/AdminPanel `rpm --eval %perl_privlib`
+ cp extras/org.mageia.policykit.pkexec.manatools.policy /usr/share/polkit-1/actions/
+ ln -s $PWD/ManaTools `rpm --eval %perl_privlib`
ln -s $PWD/apanel.pl /usr/bin
popd
echo "== Done"
@@ -57,8 +57,8 @@ function setup {
function usage {
echo "Usage:"
- echo "--remove uninstall AdminPanel references"
- echo "--install install AdminPanel references"
+ echo "--remove uninstall ManaTools references"
+ echo "--install install ManaTools references"
echo "--privilege define the authentication method to gain privileges (NOT IMPLEMENTED YET)"
}