diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..cbb3a13 --- /dev/null +++ b/.gitignore @@ -0,0 +1,4 @@ +*.rpm +*.log +*spec-20* +*.tar.gz diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..c6d5a10 --- /dev/null +++ b/Makefile @@ -0,0 +1,21 @@ +# Makefile for source rpm: smeserver-service_control +# $Id: Makefile,v 1.1 2020/10/13 14:29:19 brianr Exp $ +NAME := smeserver-service_control +SPECFILE = $(firstword $(wildcard *.spec)) + +define find-makefile-common +for d in common ../common ../../common ; do if [ -f $$d/Makefile.common ] ; then if [ -f $$d/CVS/Root -a -w $$/Makefile.common ] ; then cd $$d ; cvs -Q update ; fi ; echo "$$d/Makefile.common" ; break ; fi ; done +endef + +MAKEFILE_COMMON := $(shell $(find-makefile-common)) + +ifeq ($(MAKEFILE_COMMON),) +# attept a checkout +define checkout-makefile-common +test -f CVS/Root && { cvs -Q -d $$(cat CVS/Root) checkout common && echo "common/Makefile.common" ; } || { echo "ERROR: I can't figure out how to checkout the 'common' module." ; exit -1 ; } >&2 +endef + +MAKEFILE_COMMON := $(shell $(checkout-makefile-common)) +endif + +include $(MAKEFILE_COMMON) diff --git a/README.md b/README.md index 16f04b9..58ecd7d 100644 --- a/README.md +++ b/README.md @@ -1,3 +1,15 @@ -# smeserver-service_control +# smeserver-service_control -SMEServer Koozali developed git repo for smeserver-service_control smecontribs \ No newline at end of file +SMEServer Koozali developed git repo for smeserver-service_control smecontribs + +## Wiki +
https://wiki.koozali.org/ + +## Bugzilla +Show list of outstanding bugs: [here](https://bugs.koozali.org/buglist.cgi?component=smeserver-service_control&product=SME%20Contribs&query_format=advanced&limit=0&bug_status=UNCONFIRMED&bug_status=NEW&bug_status=ASSIGNED&bug_status=REOPENED&bug_status=CONFIRMED) + +## Description + +
*This description has been generated by an LLM AI system and cannot be relied on to be fully correct.* +*Once it has been checked, then this comment will be deleted* +
diff --git a/additional/CHANGELOG.git b/additional/CHANGELOG.git new file mode 100644 index 0000000..2854d16 --- /dev/null +++ b/additional/CHANGELOG.git @@ -0,0 +1,140 @@ +commit aff389616c2a6fb8ddba3ab536d2b78d58bc6d15 +Author: Stephane de Labrusse +Date: Sun Feb 15 16:54:20 2015 +0100 + + * Sun Feb 15 2015 stephane de labrusse - 2.2-5 + - Services with localhost access are now manageable + - Cosmetic changes in the Panel + - Optimisation of service2adjust in createlinks + +commit 022d85a85e32ce6f0ce7edb7e0f4f60769d91e1f +Author: Stephane de Labrusse +Date: Fri Feb 13 18:54:42 2015 +0100 + + work on panel + +commit 180e9444974369de89188d8d2a0e3aab66e503d3 +Author: Stephane de Labrusse +Date: Fri Feb 13 09:16:28 2015 +0100 + + * Wed Feb 13 2015 stephane de labrusse - 2.0-4 + - New expand-template of service-expand with a link to bootstrap-console-save + - sigusr1 to httpd when service-expand is called + +commit 7a6f760ace46b00a43df7cdd220243ed24c0f0c2 +Author: Stephane de Labrusse +Date: Sat May 31 07:02:29 2014 +0200 + + complete rewrite of expand-template + +commit 49ad0c58d74e095244125896c1e8aa7776f99783 +Author: Stephane de Labrusse +Date: Sat May 31 06:47:03 2014 +0200 + + adjusted createlinks and unitialized variable + +commit 0f4b713b87972cb9d6495214e429a068be9e8727 +Author: Stephane de Labrusse +Date: Sat May 31 05:50:06 2014 +0200 + + spec file modified + +commit 22c97a4335b4d019bde258bfc559addac1d4e344 +Author: Stephane de Labrusse +Date: Sat May 31 05:49:18 2014 +0200 + + first commit to sme9-dev + +commit 7f90460ce1a2f1e4652bb9099dbc196cb1516bfe +Author: Stephane de Labrusse +Date: Sat May 31 03:50:32 2014 +0200 + + initial work on rebranding code with branch sme9_dev + +commit 7c03570435dce36de0792eda42b628d69497854d +Author: Stephane de Labrusse +Date: Fri May 30 08:34:18 2014 +0200 + + start to rewrite a real createlinks, bis + +commit 098eea56f4d19f5c5e28d8522e1cab6d20fd8e15 +Author: Stephane de Labrusse +Date: Fri May 30 08:23:56 2014 +0200 + + start to rewrite a real createlinks + +commit 21e275a0d77071279aa804fa103b778b6f78a3fd +Author: Stephane de Labrusse +Date: Fri May 30 03:56:50 2014 +0200 + + changed path of perl file + +commit c742637632d62d41a475bad12a4ced501bb21aa8 +Author: Stephane de Labrusse +Date: Fri May 30 03:41:44 2014 +0200 + + changed path of template to be compatible with el6 + +commit 5a46276a1a58ba0c37af9768896a6f8c6652c587 +Author: Stephane de Labrusse +Date: Wed May 21 15:30:38 2014 +0200 + + new template adjusted + +commit f0c082dc79b22970e468ebeb634d0bcbc9b97c75 +Author: Stephane de Labrusse +Date: Wed May 21 15:09:23 2014 +0200 + + change some old path to new location + +commit e0c16df0ad0012c7168a9b89ef21f701dc868f53 +Author: Stephane de Labrusse +Date: Wed May 21 14:27:43 2014 +0200 + + * Wed May 21 2014 stephane de labrusse - 2.0-3 + * adaptation to git use, creation of service2adjust by createlinks + +commit 5fc70438325278397a3d5f422068aef6e78b2b0d +Author: Stephane de Labrusse +Date: Mon Mar 31 19:12:06 2014 +0200 + + #modified: smeserver-service_control.spec + +commit f1cb06a758a45db0bd517bdab960fee38196bea7 +Author: Stephane de Labrusse +Date: Mon Mar 31 18:33:32 2014 +0200 + + #renamed: smeserver-service_control-2.0.spec -> smeserver-service_control.spec + +commit eac08ed6d4738621b6fcb1fee3d61186eaebe557 +Merge: dce7f2c 7738b1a +Author: Stephane de Labrusse +Date: Sat Mar 29 20:24:58 2014 +0100 + + Merge branch 'master' of github.com:stephdl/smeserver-service_control + +commit dce7f2c0a71dc150883ae634c46343235d85391d +Author: Stephane de Labrusse +Date: Sat Mar 29 20:21:19 2014 +0100 + + added .gitignore to empty directory + new file: root/etc/e-smith/events/service-access/services2adjust/.gitignore + new file: root/etc/e-smith/events/service-one/services2adjust/.gitignore + +commit 378920333185b6f64c42962e6ded1c5ce8bacfaf +Author: Stephane de Labrusse +Date: Sat Mar 29 20:03:31 2014 +0100 + + first commit to git + +commit 7738b1a90264844c4c578c11a8ef64e182988abd +Author: Stephane de Labrusse +Date: Sat Mar 29 20:03:31 2014 +0100 + + first commit to git + +commit c98730325e68f87ed7ddbabea8a769f7ee1aac49 +Author: Stéphane de Labrusse +Date: Fri Mar 28 07:48:54 2014 -0700 + + Initial commit diff --git a/additional/COPYING b/additional/COPYING new file mode 100644 index 0000000..eeb586b --- /dev/null +++ b/additional/COPYING @@ -0,0 +1,340 @@ + GNU GENERAL PUBLIC LICENSE + Version 2, June 1991 + + Copyright (C) 1989, 1991 Free Software Foundation, Inc. + 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA + Everyone is permitted to copy and distribute verbatim copies + of this license document, but changing it is not allowed. + + Preamble + + The licenses for most software are designed to take away your +freedom to share and change it. By contrast, the GNU General Public +License is intended to guarantee your freedom to share and change free +software--to make sure the software is free for all its users. This +General Public License applies to most of the Free Software +Foundation's software and to any other program whose authors commit to +using it. (Some other Free Software Foundation software is covered by +the GNU Library General Public License instead.) You can apply it to +your programs, too. + + When we speak of free software, we are referring to freedom, not +price. Our General Public Licenses are designed to make sure that you +have the freedom to distribute copies of free software (and charge for +this service if you wish), that you receive source code or can get it +if you want it, that you can change the software or use pieces of it +in new free programs; and that you know you can do these things. + + To protect your rights, we need to make restrictions that forbid +anyone to deny you these rights or to ask you to surrender the rights. +These restrictions translate to certain responsibilities for you if you +distribute copies of the software, or if you modify it. + + For example, if you distribute copies of such a program, whether +gratis or for a fee, you must give the recipients all the rights that +you have. You must make sure that they, too, receive or can get the +source code. And you must show them these terms so they know their +rights. + + We protect your rights with two steps: (1) copyright the software, and +(2) offer you this license which gives you legal permission to copy, +distribute and/or modify the software. + + Also, for each author's protection and ours, we want to make certain +that everyone understands that there is no warranty for this free +software. If the software is modified by someone else and passed on, we +want its recipients to know that what they have is not the original, so +that any problems introduced by others will not reflect on the original +authors' reputations. + + Finally, any free program is threatened constantly by software +patents. We wish to avoid the danger that redistributors of a free +program will individually obtain patent licenses, in effect making the +program proprietary. To prevent this, we have made it clear that any +patent must be licensed for everyone's free use or not licensed at all. + + The precise terms and conditions for copying, distribution and +modification follow. + + GNU GENERAL PUBLIC LICENSE + TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION + + 0. This License applies to any program or other work which contains +a notice placed by the copyright holder saying it may be distributed +under the terms of this General Public License. The "Program", below, +refers to any such program or work, and a "work based on the Program" +means either the Program or any derivative work under copyright law: +that is to say, a work containing the Program or a portion of it, +either verbatim or with modifications and/or translated into another +language. (Hereinafter, translation is included without limitation in +the term "modification".) Each licensee is addressed as "you". + +Activities other than copying, distribution and modification are not +covered by this License; they are outside its scope. The act of +running the Program is not restricted, and the output from the Program +is covered only if its contents constitute a work based on the +Program (independent of having been made by running the Program). +Whether that is true depends on what the Program does. + + 1. You may copy and distribute verbatim copies of the Program's +source code as you receive it, in any medium, provided that you +conspicuously and appropriately publish on each copy an appropriate +copyright notice and disclaimer of warranty; keep intact all the +notices that refer to this License and to the absence of any warranty; +and give any other recipients of the Program a copy of this License +along with the Program. + +You may charge a fee for the physical act of transferring a copy, and +you may at your option offer warranty protection in exchange for a fee. + + 2. You may modify your copy or copies of the Program or any portion +of it, thus forming a work based on the Program, and copy and +distribute such modifications or work under the terms of Section 1 +above, provided that you also meet all of these conditions: + + a) You must cause the modified files to carry prominent notices + stating that you changed the files and the date of any change. + + b) You must cause any work that you distribute or publish, that in + whole or in part contains or is derived from the Program or any + part thereof, to be licensed as a whole at no charge to all third + parties under the terms of this License. + + c) If the modified program normally reads commands interactively + when run, you must cause it, when started running for such + interactive use in the most ordinary way, to print or display an + announcement including an appropriate copyright notice and a + notice that there is no warranty (or else, saying that you provide + a warranty) and that users may redistribute the program under + these conditions, and telling the user how to view a copy of this + License. (Exception: if the Program itself is interactive but + does not normally print such an announcement, your work based on + the Program is not required to print an announcement.) + +These requirements apply to the modified work as a whole. If +identifiable sections of that work are not derived from the Program, +and can be reasonably considered independent and separate works in +themselves, then this License, and its terms, do not apply to those +sections when you distribute them as separate works. But when you +distribute the same sections as part of a whole which is a work based +on the Program, the distribution of the whole must be on the terms of +this License, whose permissions for other licensees extend to the +entire whole, and thus to each and every part regardless of who wrote it. + +Thus, it is not the intent of this section to claim rights or contest +your rights to work written entirely by you; rather, the intent is to +exercise the right to control the distribution of derivative or +collective works based on the Program. + +In addition, mere aggregation of another work not based on the Program +with the Program (or with a work based on the Program) on a volume of +a storage or distribution medium does not bring the other work under +the scope of this License. + + 3. You may copy and distribute the Program (or a work based on it, +under Section 2) in object code or executable form under the terms of +Sections 1 and 2 above provided that you also do one of the following: + + a) Accompany it with the complete corresponding machine-readable + source code, which must be distributed under the terms of Sections + 1 and 2 above on a medium customarily used for software interchange; or, + + b) Accompany it with a written offer, valid for at least three + years, to give any third party, for a charge no more than your + cost of physically performing source distribution, a complete + machine-readable copy of the corresponding source code, to be + distributed under the terms of Sections 1 and 2 above on a medium + customarily used for software interchange; or, + + c) Accompany it with the information you received as to the offer + to distribute corresponding source code. (This alternative is + allowed only for noncommercial distribution and only if you + received the program in object code or executable form with such + an offer, in accord with Subsection b above.) + +The source code for a work means the preferred form of the work for +making modifications to it. For an executable work, complete source +code means all the source code for all modules it contains, plus any +associated interface definition files, plus the scripts used to +control compilation and installation of the executable. However, as a +special exception, the source code distributed need not include +anything that is normally distributed (in either source or binary +form) with the major components (compiler, kernel, and so on) of the +operating system on which the executable runs, unless that component +itself accompanies the executable. + +If distribution of executable or object code is made by offering +access to copy from a designated place, then offering equivalent +access to copy the source code from the same place counts as +distribution of the source code, even though third parties are not +compelled to copy the source along with the object code. + + 4. You may not copy, modify, sublicense, or distribute the Program +except as expressly provided under this License. Any attempt +otherwise to copy, modify, sublicense or distribute the Program is +void, and will automatically terminate your rights under this License. +However, parties who have received copies, or rights, from you under +this License will not have their licenses terminated so long as such +parties remain in full compliance. + + 5. You are not required to accept this License, since you have not +signed it. However, nothing else grants you permission to modify or +distribute the Program or its derivative works. These actions are +prohibited by law if you do not accept this License. Therefore, by +modifying or distributing the Program (or any work based on the +Program), you indicate your acceptance of this License to do so, and +all its terms and conditions for copying, distributing or modifying +the Program or works based on it. + + 6. Each time you redistribute the Program (or any work based on the +Program), the recipient automatically receives a license from the +original licensor to copy, distribute or modify the Program subject to +these terms and conditions. You may not impose any further +restrictions on the recipients' exercise of the rights granted herein. +You are not responsible for enforcing compliance by third parties to +this License. + + 7. If, as a consequence of a court judgment or allegation of patent +infringement or for any other reason (not limited to patent issues), +conditions are imposed on you (whether by court order, agreement or +otherwise) that contradict the conditions of this License, they do not +excuse you from the conditions of this License. If you cannot +distribute so as to satisfy simultaneously your obligations under this +License and any other pertinent obligations, then as a consequence you +may not distribute the Program at all. For example, if a patent +license would not permit royalty-free redistribution of the Program by +all those who receive copies directly or indirectly through you, then +the only way you could satisfy both it and this License would be to +refrain entirely from distribution of the Program. + +If any portion of this section is held invalid or unenforceable under +any particular circumstance, the balance of the section is intended to +apply and the section as a whole is intended to apply in other +circumstances. + +It is not the purpose of this section to induce you to infringe any +patents or other property right claims or to contest validity of any +such claims; this section has the sole purpose of protecting the +integrity of the free software distribution system, which is +implemented by public license practices. Many people have made +generous contributions to the wide range of software distributed +through that system in reliance on consistent application of that +system; it is up to the author/donor to decide if he or she is willing +to distribute software through any other system and a licensee cannot +impose that choice. + +This section is intended to make thoroughly clear what is believed to +be a consequence of the rest of this License. + + 8. If the distribution and/or use of the Program is restricted in +certain countries either by patents or by copyrighted interfaces, the +original copyright holder who places the Program under this License +may add an explicit geographical distribution limitation excluding +those countries, so that distribution is permitted only in or among +countries not thus excluded. In such case, this License incorporates +the limitation as if written in the body of this License. + + 9. The Free Software Foundation may publish revised and/or new versions +of the General Public License from time to time. Such new versions will +be similar in spirit to the present version, but may differ in detail to +address new problems or concerns. + +Each version is given a distinguishing version number. If the Program +specifies a version number of this License which applies to it and "any +later version", you have the option of following the terms and conditions +either of that version or of any later version published by the Free +Software Foundation. If the Program does not specify a version number of +this License, you may choose any version ever published by the Free Software +Foundation. + + 10. If you wish to incorporate parts of the Program into other free +programs whose distribution conditions are different, write to the author +to ask for permission. For software which is copyrighted by the Free +Software Foundation, write to the Free Software Foundation; we sometimes +make exceptions for this. Our decision will be guided by the two goals +of preserving the free status of all derivatives of our free software and +of promoting the sharing and reuse of software generally. + + NO WARRANTY + + 11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY +FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN +OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES +PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED +OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF +MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS +TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE +PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING, +REPAIR OR CORRECTION. + + 12. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING +WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR +REDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, +INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING +OUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED +TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY +YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER +PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE +POSSIBILITY OF SUCH DAMAGES. + + END OF TERMS AND CONDITIONS + + How to Apply These Terms to Your New Programs + + If you develop a new program, and you want it to be of the greatest +possible use to the public, the best way to achieve this is to make it +free software which everyone can redistribute and change under these terms. + + To do so, attach the following notices to the program. It is safest +to attach them to the start of each source file to most effectively +convey the exclusion of warranty; and each file should have at least +the "copyright" line and a pointer to where the full notice is found. + + + Copyright (C) 19yy + + This program is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 2 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this program; if not, write to the Free Software + Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA + + +Also add information on how to contact you by electronic and paper mail. + +If the program is interactive, make it output a short notice like this +when it starts in an interactive mode: + + Gnomovision version 69, Copyright (C) 19yy name of author + Gnomovision comes with ABSOLUTELY NO WARRANTY; for details type `show w'. + This is free software, and you are welcome to redistribute it + under certain conditions; type `show c' for details. + +The hypothetical commands `show w' and `show c' should show the appropriate +parts of the General Public License. Of course, the commands you use may +be called something other than `show w' and `show c'; they could even be +mouse-clicks or menu items--whatever suits your program. + +You should also get your employer (if you work as a programmer) or your +school, if any, to sign a "copyright disclaimer" for the program, if +necessary. Here is a sample; alter the names: + + Yoyodyne, Inc., hereby disclaims all copyright interest in the program + `Gnomovision' (which makes passes at compilers) written by James Hacker. + + , 1 April 1989 + Ty Coon, President of Vice + +This General Public License does not permit incorporating your program into +proprietary programs. If your program is a subroutine library, you may +consider it more useful to permit linking proprietary applications with the +library. If this is what you want to do, use the GNU Library General +Public License instead of this License. diff --git a/additional/README.md b/additional/README.md new file mode 100644 index 0000000..4f363c8 --- /dev/null +++ b/additional/README.md @@ -0,0 +1,2 @@ +smeserver-service_control +========================= diff --git a/additional/smeserver-service_control.spec b/additional/smeserver-service_control.spec new file mode 100644 index 0000000..3021949 --- /dev/null +++ b/additional/smeserver-service_control.spec @@ -0,0 +1,86 @@ +%define name smeserver-service_control +%define version 2.2 +%define release 5 +Summary: SME Server service control Panel +Name: %{name} +Version: %{version} +Release: %{release}%{?dist} +Distribution: SME Server +License: GNU GPL version 2 +Group: SMEserver/addon +Source: %{name}-%{version}.tar.gz +BuildArchitectures: noarch +BuildRoot: /var/tmp/%{name}-%{version}-buildroot +BuildRequires: e-smith-devtools +Requires: e-smith-release >= 9.0 +AutoReqProv: no + + +%changelog +* Sun Feb 15 2015 stephane de labrusse - 2.2-5 +- Services with localhost access are now manageable +- Cosmetic changes in the Panel +- Optimisation of service2adjust in createlinks + +* Wed Feb 13 2015 stephane de labrusse - 2.2-4 +- New expand-template of service-expand with a link to bootstrap-console-save +- sigusr1 to httpd when service-expand is called + +* Wed May 21 2014 stephane de labrusse - 2.0-3 +- adaptation to git use, creation of service2adjust by createlinks + +* Wed Jan 22 2014 stephane de labrusse +- first release for SME Server 8.0 thanks to Michel Van hees for his work +- Adaptation to utf8 + +* Mon Feb 11 2008 Michel Van hees +- Adding Access service swap + +* Mon Jan 21 2008 Michel Van hees +- Code cleaning + +* Mon Jan 21 2008 Michel Van hees +- Adding confirmation screen + +* Tue Jan 15 2008 Michel Van hees +- Fix bug in server-manager menu + +* Mon Jan 14 2008 Michel Van hees +- Fix bug in TCP Port panel + +* Mon Jan 14 2008 Michel Van hees +- First release + +%description +sme server administration panel to control service status and tcp port + +%prep +%setup +#%patch0 -p1 +#%patch1 -p1 + +%build +perl createlinks + +%install +rm -rf $RPM_BUILD_ROOT +(cd root ; find . -depth -print | cpio -dump $RPM_BUILD_ROOT) +rm -f %{name}-%{version}-filelist +/sbin/e-smith/genfilelist $RPM_BUILD_ROOT > %{name}-%{version}-filelist +echo "%doc COPYING" >> %{name}-%{version}-filelist + +%clean +rm -rf $RPM_BUILD_ROOT + +%pre +%preun + +%post +#/etc/e-smith/events/actions/navigation-conf > /dev/null 2>&1 +#echo Go to your server-manager to use new function + +%postun +#/etc/e-smith/events/actions/navigation-conf > /dev/null 2>&1 + +%files -f %{name}-%{version}-filelist +%defattr(-,root,root) diff --git a/contriborbase b/contriborbase new file mode 100644 index 0000000..9b7fd51 --- /dev/null +++ b/contriborbase @@ -0,0 +1 @@ +contribs10 diff --git a/createlinks b/createlinks new file mode 100644 index 0000000..2b90dc6 --- /dev/null +++ b/createlinks @@ -0,0 +1,81 @@ +#!/usr/bin/perl -w +use esmith::Build::CreateLinks qw(:all); +# our event specific for updating with yum without reboot +$event = 'smeserver-service_control-update'; +#add here the path to your templates needed to expand +#see the /etc/systemd/system-preset/49-koozali.preset should be present for systemd integration on all you yum update event + +foreach my $file (qw( + /etc/systemd/system-preset/49-koozali.preset +)) +{ + templates2events( $file, $event ); +} +#action needed in case we have a systemd unit +event_link('systemd-default', $event, '10'); +event_link('systemd-reload', $event, '50'); +#action specific to this package +#event_link('action', $event, '30'); +#services we need to restart +#safe_symlink('restart',root/etc/e-smith/events/$event/services2adjust/service); +#and Server Manager panel link +#panel_link('somefunction', 'manager'); + + +# This script creates the symlinks needed by this RPM +# Specific support exists to create symlinks within e-smith web "panels" +# and for links from named "events" directories into the "actions" directory + +use esmith::Build::CreateLinks qw(:all); + +# Links for the panel +panel_link("servicecontrol", "manager"); + + +#-------------------------------------------------- +##service2adjust +#-------------------------------------------------- +foreach my $event (qw( service-access + smeserver-service_control-update' + service-one)) + { +# safe_symlink("sigusr1", "root/etc/e-smith/events/$event/services2adjust/httpd-e-smith"); +# safe_symlink("sigusr1", "root/etc/e-smith/events/$event/services2adjust/httpd-admin"); + safe_symlink("adjust", "root/etc/e-smith/events/$event/services2adjust/masq"); +# safe_symlink("sigterm", "root/etc/e-smith/events/$event/services2adjust/pptpd"); +# safe_symlink("sighup", "root/etc/e-smith/events/$event/services2adjust/qmail"); + safe_symlink("sigterm", "root/etc/e-smith/events/$event/services2adjust/radiusd"); +# safe_symlink("sighup", "root/etc/e-smith/events/$event/services2adjust/sshd"); +# safe_symlink("restart", "root/etc/e-smith/events/$event/services2adjust/wan"); + safe_symlink("restart", "root/etc/e-smith/events/$event/services2adjust/squid"); + + # Added by stephdl for testing purpose, not sure is needed +# safe_symlink("restart", "root/etc/e-smith/events/$event/services2adjust/qpsmtpd"); +# safe_symlink("restart", "root/etc/e-smith/events/$event/services2adjust/sqpsmtpd"); +# safe_symlink("restart", "root/etc/e-smith/events/$event/services2adjust/pop3"); +# safe_symlink("restart", "root/etc/e-smith/events/$event/services2adjust/pop3s"); +# safe_symlink("reload", "root/etc/e-smith/events/$event/services2adjust/dovecot"); +# safe_symlink("sigterm", "root/etc/e-smith/events/$event/services2adjust/dnscache"); + +# safe_symlink("sigusr1", "root/etc/e-smith/events/$event/services2adjust/ftp"); + +} + +safe_symlink("/etc/e-smith/events/bootstrap-console-save/templates2expand", "root/etc/e-smith/events/service-expand/templates2expand"); +#------------------------------------------------- +##Action2events +#------------------------------------------------- + +foreach my $event (qw ( service-access + smeserver-service_control-update' + service-one)) + { + event_link("service-control", $event, "90"); + } +foreach my $event (qw (service-expand smeserver-service_control-update')) + { + event_link("update-ifcfg", $event, "10"); + safe_symlink("sigusr1", "root/etc/e-smith/events/$event/services2adjust/httpd-e-smith"); + } +#proxy-update +#remoteaccess-update diff --git a/root/etc/e-smith/events/actions/service-control b/root/etc/e-smith/events/actions/service-control new file mode 100755 index 0000000..d437e2a --- /dev/null +++ b/root/etc/e-smith/events/actions/service-control @@ -0,0 +1,48 @@ +#!/usr/bin/perl -w + +#---------------------------------------------------------------------- +# copyright (C) 1999-2005 Mitel Networks Corporation +# +# This program is free software; you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation; either version 2 of the License, or +# (at your option) any later version. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with this program; if not, write to the Free Software +# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA +# +#---------------------------------------------------------------------- +package esmith; + +use strict; +use Errno; +use File::Find; +use esmith::util; +use esmith::templates; +use esmith::ConfigDB; + +my $event = shift || die "must give event name parameter"; +chdir "/etc/e-smith/events/$event" or die "Couldn't chdir to event directory /etc/e-smith/events/$event: $!"; + +my $serviceName = shift || die "serviceName argument missing"; +my $serviceAction = shift || die "Action argument missing"; + +my $configdb = esmith::ConfigDB->open_ro(); +my $serv = $configdb->get($serviceName) or + die "Couldn't find $serviceName record in config db\n"; + +my $status=$serv->prop('status'); + +if ($serviceName =~ /^([-\@\w.]+)$/) { + $serviceName = $1; # $data now untainted +} else { + die "Bad data in '$serviceName'"; # log this somewhere +} + +esmith::util::serviceControl( NAME=>$serviceName, ACTION=>$serviceAction,BACKGROUND=>'false' ); diff --git a/root/etc/e-smith/locale/bg/etc/e-smith/web/functions/servicecontrol b/root/etc/e-smith/locale/bg/etc/e-smith/web/functions/servicecontrol new file mode 100644 index 0000000..e5c3eae --- /dev/null +++ b/root/etc/e-smith/locale/bg/etc/e-smith/web/functions/servicecontrol @@ -0,0 +1,129 @@ + + + Configuration + Конфигурация + + + Service Control + Управление на всички услуги + + + + FORM_TITLE + Управление на услугите + + + FIRST_PAGE_DESCRIPTION + Управлението на услугите може активира и дезактивира всички услуги
то може и да променя TCP порта на услуга

ВНИМАВАЙТЕ когато дезактивирате някои услуги (например, httpd) като така ще поставите системата в недостъпно състояние.

]]>
+
+ + SERVICE_FORM_ACTIVATE + Дезактивиране на услуга + + + SERVICE_STATUS_enabled + Изключи + + + SERVICE_STATUS_disabled + Включи + + + SERVICE_NAME + Име + + + SERVICE_STATUS + Състояние + + + SERVICE_ACTION + Действие + + + SUCCESSFULLY_ACTIVATE_SERVICE + Състоянието на услугата бе успешно променено.

]]>
+
+ + VALIDE + Промени + + + + SERVICE_FORM_TCPPORT + Промяна на TCP порта на услуга + + + + SERVICE_TCPPORT + TCP порт + + + SUCCESSFULLY_TCPPORT_CHANGE + TCP порта бе променен успешно

Услугата ще се рестартира с новия TCP порт
ВНИМАВАЙТЕ/b> някои услуги не вземат предвид този параметър! ]]> + + + SUCCESSFULLY_TCPPORT_NOCHANGE + TCP порта е същият, няма да бъде извършено нищо. + + + CANCEL + Отказ + + + VALIDE + Да + + + ALERTdisabled + ВНИМАНИЕ
Сигурни ли сте, че искате да включите тази услуга!!! ]]> + + + ALERTenabled + BEWARE
Сигурни ли сте, че искате да изключите тази услуга!!! ]]>
+
+ + ALERTTCP + !!! ]]> + + + ACTION_CANCEL_USER + Прекъснато от потребителя + + + ALERTprivate + BEWARE
Сигурни ли сте, че искате да направите тази услуга с локален достъп!!! ]]>
+
+ + ALERTpublic + BEWARE
Сигурни ли сте, че искате да направите тази услуга с публичен достъп!!! ]]>
+
+ + ALERTlocalhost + BEWARE
Сигурни ли сте, че искате да направите тази услуга достъпна само от сървъра!!! ]]>
+
+ + SERVICE_ACCESS + Достъп + + + SERVICE_ACCESS_ACTION + само от сървъра/локален/публичен достъп + + + SERVICE_ACCESS_public + Публичен + + + SERVICE_ACCESS_private + Локален + + + SERVICE_ACCESS_localhost + Само от сървъра + + + SERVICE_FORM_ACCESS + Промяна на достъпа на услуга + + diff --git a/root/etc/e-smith/locale/da/etc/e-smith/web/functions/servicecontrol b/root/etc/e-smith/locale/da/etc/e-smith/web/functions/servicecontrol new file mode 100644 index 0000000..721f858 --- /dev/null +++ b/root/etc/e-smith/locale/da/etc/e-smith/web/functions/servicecontrol @@ -0,0 +1,129 @@ + + + Configuration + Opsætning + + + Service Control + Kontroller alle services + + + + FORM_TITLE + Service kontrol + + + FIRST_PAGE_DESCRIPTION + Service kontrol kan aktivere eller deaktivere alle services
Det kan også rette en services TCP port

NB NB NB Når du deaktiverer nogle services (for eksempel httpd) risikerer du at bringe systemet i en usikker tilstand.

]]>
+
+ + SERVICE_FORM_ACTIVATE + Service (de)aktivering + + + SERVICE_STATUS_enabled + Deaktivere + + + SERVICE_STATUS_disabled + Aktivere + + + SERVICE_NAME + Navn + + + SERVICE_STATUS + Status + + + SERVICE_ACTION + Aktivitet + + + SUCCESSFULLY_ACTIVATE_SERVICE + Service status er rettet med succes.

]]>
+
+ + VALIDE + Ændre + + + + SERVICE_FORM_TCPPORT + Skift TCP port på service + + + + SERVICE_TCPPORT + TCP port + + + SUCCESSFULLY_TCPPORT_CHANGE + TCP port skiftet

Service vil genstarte og bruge den nye TCP Port
NB NB NB nogle service ignorerer denne parameters ! ]]> + + + SUCCESSFULLY_TCPPORT_NOCHANGE + TCP port er identiske, Det er ikke nødvendigt at foretage yderligere. + + + CANCEL + Fortryd + + + VALIDE + OK + + + ALERTdisabled + ADVARSEL
Er du sikker på, at du ønsker at aktivere denne service til!!! ]]>
+
+ + ALERTenabled + ADVARSEL
Er du sikker på at du ønsker at deaktivere denne service!!! ]]>
+
+ + ALERTTCP + !!! ]]> + + + ACTION_CANCEL_USER + Aflyst af bruger + + + ALERTprivate + ADVARSEL
Er du sikker på at du ønsker at sætte denne service til privat adgang!!! ]]>
+
+ + ALERTpublic + ADVARSEL
Er du sikker på at du ønsker at sætte denne service til offentlig adgang!!! ]]>
+
+ + ALERTlocalhost + ADVARSEL
Er du sikker på at du ønsker at sætte denne service til kun lokal adgang!!! ]]>
+
+ + SERVICE_ACCESS + Adgang + + + SERVICE_ACCESS_ACTION + Kun Lokal/Privat/Offentlig Adgang + + + SERVICE_ACCESS_public + Offentlig + + + SERVICE_ACCESS_private + Privat + + + SERVICE_ACCESS_localhost + Kun lokal + + + SERVICE_FORM_ACCESS + Skift adgangs service + + diff --git a/root/etc/e-smith/locale/de/etc/e-smith/web/functions/servicecontrol b/root/etc/e-smith/locale/de/etc/e-smith/web/functions/servicecontrol new file mode 100644 index 0000000..2695f30 --- /dev/null +++ b/root/etc/e-smith/locale/de/etc/e-smith/web/functions/servicecontrol @@ -0,0 +1,129 @@ + + + Configuration + Konfiguriation + + + Service Control + Steuere alle Dienste + + + + FORM_TITLE + Dienste Steuerung + + + FIRST_PAGE_DESCRIPTION + Die Dienste Konfigurierung kann alle Dienste aktivieren oder deaktivieren
sie kann auch die TCP Ports der Dienste ändern

BITTE BEACHTEN bei Deaktivierung einiger Dienste (zum Beispiel httpd) können Sie das System in einen schlechten Zustand bringen.

]]>
+
+ + SERVICE_FORM_ACTIVATE + Dienste (de)aktivieren + + + SERVICE_STATUS_enabled + Deaktivieren + + + SERVICE_STATUS_disabled + Aktivieren + + + SERVICE_NAME + Name + + + SERVICE_STATUS + Status + + + SERVICE_ACTION + Aktion + + + SUCCESSFULLY_ACTIVATE_SERVICE + Dienste Status erfolgreich geändert.

]]>
+
+ + VALIDE + Ändern + + + + SERVICE_FORM_TCPPORT + Dienste TCP Port ändern + + + + SERVICE_TCPPORT + TCP Port + + + SUCCESSFULLY_TCPPORT_CHANGE + TCP Port erfolgreich geändert

Der Dienst wird mit unter Verwendung des neuen TCP Ports neu gestartet
BITTE BEACHTEN einige Dienste ignorieren diesen Parameter! ]]> + + + SUCCESSFULLY_TCPPORT_NOCHANGE + TCP Ports sind identisch, keine weitere Aktion erforderlich. + + + CANCEL + Abbrechen + + + VALIDE + OK + + + ALERTdisabled + ACHTUNG
Sind Sie sicher, daß Sie diesen Dienst aktivieren wollen!!! ]]>
+
+ + ALERTenabled + ACHTUNG
Sind Sie sicher, daß Sie diesen Dienst deaktivieren wollen!!! ]]>
+
+ + ALERTTCP + !!! ]]> + + + ACTION_CANCEL_USER + Abbruch durch den Benutzer + + + ALERTprivate + ACHTUNG
Sind Sie sicher, daß Sie diesen Dienst umstellen wollen auf privaten Zugriff!!! ]]>
+
+ + ALERTpublic + ACHTUNG
Sind Sie sicher, daß Sie diesen Dienst umstellen wollen auf öffentlichen Zugriff!!! ]]>
+
+ + ALERTlocalhost + ACHTUNG
Sind Sie sicher, daß Sie diesen Dienst umstellen wollen auf Localhost Zugriff!!! ]]>
+
+ + SERVICE_ACCESS + Zugriff + + + SERVICE_ACCESS_ACTION + Localhost/Privater/Öffentlicher Zugriff + + + SERVICE_ACCESS_public + Öffentlich + + + SERVICE_ACCESS_private + Privat + + + SERVICE_ACCESS_localhost + Localhost + + + SERVICE_FORM_ACCESS + Änderung Dienstezugriff + + diff --git a/root/etc/e-smith/locale/el/etc/e-smith/web/functions/servicecontrol b/root/etc/e-smith/locale/el/etc/e-smith/web/functions/servicecontrol new file mode 100644 index 0000000..76bb688 --- /dev/null +++ b/root/etc/e-smith/locale/el/etc/e-smith/web/functions/servicecontrol @@ -0,0 +1,129 @@ + + + Configuration + Ρύθμιση παραμέτρων συστήματος + + + Service Control + Control all services + + + + FORM_TITLE + Service Control + + + FIRST_PAGE_DESCRIPTION + Service Control can activate or deactive all services
it can also modified TCP Port of the service

PAY ATTENTION when deactivate some service (for exemple httpd) you can put your system in a bad state.

]]>
+
+ + SERVICE_FORM_ACTIVATE + Service (de)Activation + + + SERVICE_STATUS_enabled + Disable + + + SERVICE_STATUS_disabled + Enable + + + SERVICE_NAME + Όνομα + + + SERVICE_STATUS + Status + + + SERVICE_ACTION + Ενέργεια + + + SUCCESSFULLY_ACTIVATE_SERVICE + Service status successfully changed.

]]>
+
+ + VALIDE + Αλλαγή + + + + SERVICE_FORM_TCPPORT + Service TCP Port change + + + + SERVICE_TCPPORT + TCP Port + + + SUCCESSFULLY_TCPPORT_CHANGE + Port TCP changed successfully

Service will restart using new TCP Port
PAY ATTENTION some service don't care about this parameters ! ]]> + + + SUCCESSFULLY_TCPPORT_NOCHANGE + TCP Port are identical, no further action needed. + + + CANCEL + Ακύρωση + + + VALIDE + OK + + + ALERTdisabled + BEWARE
Are you sure you want to enable this service!!! ]]>
+
+ + ALERTenabled + BEWARE
Are you sure you want to disable this service!!! ]]>
+
+ + ALERTTCP + !!! ]]> + + + ACTION_CANCEL_USER + Canceled by user + + + ALERTprivate + BEWARE
Are you sure you want to put this service in private access!!! ]]>
+
+ + ALERTpublic + BEWARE
Are you sure you want to put this service in public access!!! ]]>
+
+ + ALERTlocalhost + BEWARE
Are you sure you want to put this service in localhost access!!! ]]>
+
+ + SERVICE_ACCESS + Πρόσβαση + + + SERVICE_ACCESS_ACTION + Localhost/Private/Public Access + + + SERVICE_ACCESS_public + Public + + + SERVICE_ACCESS_private + Private + + + SERVICE_ACCESS_localhost + Localhost + + + SERVICE_FORM_ACCESS + Service Access change + + diff --git a/root/etc/e-smith/locale/en-us/etc/e-smith/web/functions/servicecontrol b/root/etc/e-smith/locale/en-us/etc/e-smith/web/functions/servicecontrol new file mode 100644 index 0000000..0a9a1d0 --- /dev/null +++ b/root/etc/e-smith/locale/en-us/etc/e-smith/web/functions/servicecontrol @@ -0,0 +1,170 @@ + + + Configuration + Configuration + + + Service Control + Control all services + + + + FORM_TITLE + Service Control + + + FIRST_PAGE_DESCRIPTION + + Service Control can activate or deactive all services
+ it can also modified TCP Port of the service

+

PAY ATTENTION when deactivate some service (for exemple httpd) you can put your system in a bad state.

+ ]]> +
+
+ + SERVICE_FORM_ACTIVATE + Service (de)Activation + + + SERVICE_STATUS_enabled + Disable + + + SERVICE_STATUS_disabled + Enable + + + SERVICE_NAME + Name + + + SERVICE_STATUS + Status + + + SERVICE_ACTION + Action + + + SUCCESSFULLY_ACTIVATE_SERVICE + + Service status successfully changed.

+ ]]> +
+
+ + VALIDE + Change + + + + SERVICE_FORM_TCPPORT + Service TCP Port change + + + + SERVICE_TCPPORT + TCP Port + + + SUCCESSFULLY_TCPPORT_CHANGE + + Port TCP changed successfully

+

Service will restart using new TCP Port
+ PAY ATTENTION some service don't care about this parameters ! + ]]> + + + + SUCCESSFULLY_TCPPORT_NOCHANGE + TCP Port are identical, no further action needed. + + + CANCEL + Cancel + + + VALIDE + OK + + + ALERTdisabled + + BEWARE
Are you sure you want to enable this service!!! + ]]> +
+
+ + ALERTenabled + + BEWARE
Are you sure you want to disable this service!!! + ]]> +
+
+ + ALERTTCP + + !!! + ]]> + + + + ACTION_CANCEL_USER + Canceled by user + + + ALERTprivate + + BEWARE
Are you sure you want to put this service in private access!!! + ]]> +
+
+ + ALERTpublic + + BEWARE
Are you sure you want to put this service in public access!!! + ]]> +
+
+ + ALERTlocalhost + + BEWARE
Are you sure you want to put this service in localhost access!!! + ]]> +
+
+ + SERVICE_ACCESS + Access + + + SERVICE_ACCESS_ACTION + Localhost/Private/Public Access + + + SERVICE_ACCESS_public + Public + + + SERVICE_ACCESS_private + Private + + + SERVICE_ACCESS_localhost + Localhost + + + SERVICE_FORM_ACCESS + Service Access change + + + diff --git a/root/etc/e-smith/locale/es/etc/e-smith/web/functions/servicecontrol b/root/etc/e-smith/locale/es/etc/e-smith/web/functions/servicecontrol new file mode 100644 index 0000000..2264270 --- /dev/null +++ b/root/etc/e-smith/locale/es/etc/e-smith/web/functions/servicecontrol @@ -0,0 +1,129 @@ + + + Configuration + Configuración + + + Service Control + Control all services + + + + FORM_TITLE + Service Control + + + FIRST_PAGE_DESCRIPTION + Service Control can activate or deactive all services
it can also modified TCP Port of the service

PAY ATTENTION when deactivate some service (for exemple httpd) you can put your system in a bad state.

]]>
+
+ + SERVICE_FORM_ACTIVATE + Service (de)Activation + + + SERVICE_STATUS_enabled + Deshabilitar + + + SERVICE_STATUS_disabled + Habilitar + + + SERVICE_NAME + Nombre + + + SERVICE_STATUS + Estado + + + SERVICE_ACTION + Acción + + + SUCCESSFULLY_ACTIVATE_SERVICE + Service status successfully changed.

]]>
+
+ + VALIDE + Cambiar + + + + SERVICE_FORM_TCPPORT + Service TCP Port change + + + + SERVICE_TCPPORT + TCP Port + + + SUCCESSFULLY_TCPPORT_CHANGE + Port TCP changed successfully

Service will restart using new TCP Port
PAY ATTENTION some service don't care about this parameters ! ]]> + + + SUCCESSFULLY_TCPPORT_NOCHANGE + TCP Port are identical, no further action needed. + + + CANCEL + Cancelar + + + VALIDE + OK + + + ALERTdisabled + BEWARE
Are you sure you want to enable this service!!! ]]>
+
+ + ALERTenabled + BEWARE
Are you sure you want to disable this service!!! ]]>
+
+ + ALERTTCP + !!! ]]> + + + ACTION_CANCEL_USER + Canceled by user + + + ALERTprivate + BEWARE
Are you sure you want to put this service in private access!!! ]]>
+
+ + ALERTpublic + BEWARE
Are you sure you want to put this service in public access!!! ]]>
+
+ + ALERTlocalhost + BEWARE
Are you sure you want to put this service in localhost access!!! ]]>
+
+ + SERVICE_ACCESS + Acceso + + + SERVICE_ACCESS_ACTION + Localhost/Private/Public Access + + + SERVICE_ACCESS_public + Público + + + SERVICE_ACCESS_private + Private + + + SERVICE_ACCESS_localhost + Localhost + + + SERVICE_FORM_ACCESS + Service Access change + + diff --git a/root/etc/e-smith/locale/et/etc/e-smith/web/functions/servicecontrol b/root/etc/e-smith/locale/et/etc/e-smith/web/functions/servicecontrol new file mode 100644 index 0000000..8931096 --- /dev/null +++ b/root/etc/e-smith/locale/et/etc/e-smith/web/functions/servicecontrol @@ -0,0 +1,129 @@ + + + Configuration + Seadistused + + + Service Control + Control all services + + + + FORM_TITLE + Service Control + + + FIRST_PAGE_DESCRIPTION + Service Control can activate or deactive all services
it can also modified TCP Port of the service

PAY ATTENTION when deactivate some service (for exemple httpd) you can put your system in a bad state.

]]>
+
+ + SERVICE_FORM_ACTIVATE + Service (de)Activation + + + SERVICE_STATUS_enabled + Keela + + + SERVICE_STATUS_disabled + Luba + + + SERVICE_NAME + Nimi + + + SERVICE_STATUS + Olek + + + SERVICE_ACTION + Tegevus + + + SUCCESSFULLY_ACTIVATE_SERVICE + Service status successfully changed.

]]>
+
+ + VALIDE + Muuda + + + + SERVICE_FORM_TCPPORT + Service TCP Port change + + + + SERVICE_TCPPORT + TCP Port + + + SUCCESSFULLY_TCPPORT_CHANGE + Port TCP changed successfully

Service will restart using new TCP Port
PAY ATTENTION some service don't care about this parameters ! ]]> + + + SUCCESSFULLY_TCPPORT_NOCHANGE + TCP Port are identical, no further action needed. + + + CANCEL + Tühista + + + VALIDE + OK + + + ALERTdisabled + BEWARE
Are you sure you want to enable this service!!! ]]>
+
+ + ALERTenabled + BEWARE
Are you sure you want to disable this service!!! ]]>
+
+ + ALERTTCP + !!! ]]> + + + ACTION_CANCEL_USER + Canceled by user + + + ALERTprivate + BEWARE
Are you sure you want to put this service in private access!!! ]]>
+
+ + ALERTpublic + BEWARE
Are you sure you want to put this service in public access!!! ]]>
+
+ + ALERTlocalhost + BEWARE
Are you sure you want to put this service in localhost access!!! ]]>
+
+ + SERVICE_ACCESS + Juurdepääs + + + SERVICE_ACCESS_ACTION + Localhost/Private/Public Access + + + SERVICE_ACCESS_public + Public + + + SERVICE_ACCESS_private + Private + + + SERVICE_ACCESS_localhost + Localhost + + + SERVICE_FORM_ACCESS + Service Access change + + diff --git a/root/etc/e-smith/locale/fr/etc/e-smith/web/functions/servicecontrol b/root/etc/e-smith/locale/fr/etc/e-smith/web/functions/servicecontrol new file mode 100644 index 0000000..ce84cb1 --- /dev/null +++ b/root/etc/e-smith/locale/fr/etc/e-smith/web/functions/servicecontrol @@ -0,0 +1,129 @@ + + + Configuration + Configuration + + + Service Control + Contrôler tous les services + + + + FORM_TITLE + Contrôle de Service + + + FIRST_PAGE_DESCRIPTION + Service Control peut activer ou désactiver tous les services
il peut aussi modifier le Port TCP d'un service

PRENEZ GARDE quand vous désactivez certain service (par exemple httpd) vous pouvez agir sur le bon fonctionnement de votre système.

]]>
+
+ + SERVICE_FORM_ACTIVATE + (Dés)activation de service + + + SERVICE_STATUS_enabled + Désactiver + + + SERVICE_STATUS_disabled + Activer + + + SERVICE_NAME + Nom + + + SERVICE_STATUS + État + + + SERVICE_ACTION + Action + + + SUCCESSFULLY_ACTIVATE_SERVICE + Etat du Service modifié avec succès.

]]>
+
+ + VALIDE + Modifier + + + + SERVICE_FORM_TCPPORT + Modification du port TCP du Service + + + + SERVICE_TCPPORT + Port TCP + + + SUCCESSFULLY_TCPPORT_CHANGE + Port TCP modifié avec succès

Le Service va redémarrer avec le nouveau Port TCP
PRENEZ GARDE certains services ne tiennent pas compte de ces paramètres ! ]]> + + + SUCCESSFULLY_TCPPORT_NOCHANGE + Ports TCP identiques, aucune action requise. + + + CANCEL + Annuler + + + VALIDE + OK + + + ALERTdisabled + ATTENTION
Etes-vous certain de vouloir activer ce service!?! ]]>
+
+ + ALERTenabled + BEWARE
Etes vous certain de vouloir désactiver ce service!!! ]]>
+
+ + ALERTTCP + !!! ]]> + + + ACTION_CANCEL_USER + Annulé par l'utilisateur + + + ALERTprivate + BEWARE
Etes vous certain de vouloir passer ce service enaccès privé !!! ]]>
+
+ + ALERTpublic + BEWARE
Etes vous certain de vouloir passer ce service enaccès public !!! ]]>
+
+ + ALERTlocalhost + BEWARE
Etes vous certain de vouloir passer ce service en accès local !!! ]]>
+
+ + SERVICE_ACCESS + Accès + + + SERVICE_ACCESS_ACTION + Accès Local/Privé/Public + + + SERVICE_ACCESS_public + Public + + + SERVICE_ACCESS_private + Privé + + + SERVICE_ACCESS_localhost + Local + + + SERVICE_FORM_ACCESS + Modification des accès aux services + + diff --git a/root/etc/e-smith/locale/he/etc/e-smith/web/functions/servicecontrol b/root/etc/e-smith/locale/he/etc/e-smith/web/functions/servicecontrol new file mode 100644 index 0000000..eaec340 --- /dev/null +++ b/root/etc/e-smith/locale/he/etc/e-smith/web/functions/servicecontrol @@ -0,0 +1,129 @@ + + + Configuration + קונפיגורציה + + + Service Control + Control all services + + + + FORM_TITLE + Service Control + + + FIRST_PAGE_DESCRIPTION + Service Control can activate or deactive all services
it can also modified TCP Port of the service

PAY ATTENTION when deactivate some service (for exemple httpd) you can put your system in a bad state.

]]>
+
+ + SERVICE_FORM_ACTIVATE + Service (de)Activation + + + SERVICE_STATUS_enabled + Disable + + + SERVICE_STATUS_disabled + Enable + + + SERVICE_NAME + שם + + + SERVICE_STATUS + מצב + + + SERVICE_ACTION + פעולה + + + SUCCESSFULLY_ACTIVATE_SERVICE + Service status successfully changed.

]]>
+
+ + VALIDE + Change + + + + SERVICE_FORM_TCPPORT + Service TCP Port change + + + + SERVICE_TCPPORT + TCP Port + + + SUCCESSFULLY_TCPPORT_CHANGE + Port TCP changed successfully

Service will restart using new TCP Port
PAY ATTENTION some service don't care about this parameters ! ]]> + + + SUCCESSFULLY_TCPPORT_NOCHANGE + TCP Port are identical, no further action needed. + + + CANCEL + Cancel + + + VALIDE + OK + + + ALERTdisabled + BEWARE
Are you sure you want to enable this service!!! ]]>
+
+ + ALERTenabled + BEWARE
Are you sure you want to disable this service!!! ]]>
+
+ + ALERTTCP + !!! ]]> + + + ACTION_CANCEL_USER + Canceled by user + + + ALERTprivate + BEWARE
Are you sure you want to put this service in private access!!! ]]>
+
+ + ALERTpublic + BEWARE
Are you sure you want to put this service in public access!!! ]]>
+
+ + ALERTlocalhost + BEWARE
Are you sure you want to put this service in localhost access!!! ]]>
+
+ + SERVICE_ACCESS + Access + + + SERVICE_ACCESS_ACTION + Localhost/Private/Public Access + + + SERVICE_ACCESS_public + Public + + + SERVICE_ACCESS_private + Private + + + SERVICE_ACCESS_localhost + Localhost + + + SERVICE_FORM_ACCESS + Service Access change + + diff --git a/root/etc/e-smith/locale/hu/etc/e-smith/web/functions/servicecontrol b/root/etc/e-smith/locale/hu/etc/e-smith/web/functions/servicecontrol new file mode 100644 index 0000000..a0bed75 --- /dev/null +++ b/root/etc/e-smith/locale/hu/etc/e-smith/web/functions/servicecontrol @@ -0,0 +1,129 @@ + + + Configuration + Konfiguráció + + + Service Control + Control all services + + + + FORM_TITLE + Service Control + + + FIRST_PAGE_DESCRIPTION + Service Control can activate or deactive all services
it can also modified TCP Port of the service

PAY ATTENTION when deactivate some service (for exemple httpd) you can put your system in a bad state.

]]>
+
+ + SERVICE_FORM_ACTIVATE + Service (de)Activation + + + SERVICE_STATUS_enabled + Tiltás + + + SERVICE_STATUS_disabled + Engedélyezés + + + SERVICE_NAME + Név + + + SERVICE_STATUS + Állapot + + + SERVICE_ACTION + Művelet + + + SUCCESSFULLY_ACTIVATE_SERVICE + Service status successfully changed.

]]>
+
+ + VALIDE + Módosítás + + + + SERVICE_FORM_TCPPORT + Service TCP Port change + + + + SERVICE_TCPPORT + TCP Port + + + SUCCESSFULLY_TCPPORT_CHANGE + Port TCP changed successfully

Service will restart using new TCP Port
PAY ATTENTION some service don't care about this parameters ! ]]> + + + SUCCESSFULLY_TCPPORT_NOCHANGE + TCP Port are identical, no further action needed. + + + CANCEL + Mégsem + + + VALIDE + OK + + + ALERTdisabled + BEWARE
Are you sure you want to enable this service!!! ]]>
+
+ + ALERTenabled + BEWARE
Are you sure you want to disable this service!!! ]]>
+
+ + ALERTTCP + !!! ]]> + + + ACTION_CANCEL_USER + Canceled by user + + + ALERTprivate + BEWARE
Are you sure you want to put this service in private access!!! ]]>
+
+ + ALERTpublic + BEWARE
Are you sure you want to put this service in public access!!! ]]>
+
+ + ALERTlocalhost + BEWARE
Are you sure you want to put this service in localhost access!!! ]]>
+
+ + SERVICE_ACCESS + Hozzáférés + + + SERVICE_ACCESS_ACTION + Localhost/Private/Public Access + + + SERVICE_ACCESS_public + Nyilvános + + + SERVICE_ACCESS_private + Private + + + SERVICE_ACCESS_localhost + Localhost + + + SERVICE_FORM_ACCESS + Service Access change + + diff --git a/root/etc/e-smith/locale/id/etc/e-smith/web/functions/servicecontrol b/root/etc/e-smith/locale/id/etc/e-smith/web/functions/servicecontrol new file mode 100644 index 0000000..633f579 --- /dev/null +++ b/root/etc/e-smith/locale/id/etc/e-smith/web/functions/servicecontrol @@ -0,0 +1,129 @@ + + + Configuration + Konfigurasi + + + Service Control + Control all services + + + + FORM_TITLE + Service Control + + + FIRST_PAGE_DESCRIPTION + Service Control can activate or deactive all services
it can also modified TCP Port of the service

PAY ATTENTION when deactivate some service (for exemple httpd) you can put your system in a bad state.

]]>
+
+ + SERVICE_FORM_ACTIVATE + Service (de)Activation + + + SERVICE_STATUS_enabled + Disable + + + SERVICE_STATUS_disabled + Enable + + + SERVICE_NAME + Nama + + + SERVICE_STATUS + Status + + + SERVICE_ACTION + Aksi + + + SUCCESSFULLY_ACTIVATE_SERVICE + Service status successfully changed.

]]>
+
+ + VALIDE + Change + + + + SERVICE_FORM_TCPPORT + Service TCP Port change + + + + SERVICE_TCPPORT + TCP Port + + + SUCCESSFULLY_TCPPORT_CHANGE + Port TCP changed successfully

Service will restart using new TCP Port
PAY ATTENTION some service don't care about this parameters ! ]]> + + + SUCCESSFULLY_TCPPORT_NOCHANGE + TCP Port are identical, no further action needed. + + + CANCEL + Batal + + + VALIDE + OK + + + ALERTdisabled + BEWARE
Are you sure you want to enable this service!!! ]]>
+
+ + ALERTenabled + BEWARE
Are you sure you want to disable this service!!! ]]>
+
+ + ALERTTCP + !!! ]]> + + + ACTION_CANCEL_USER + Canceled by user + + + ALERTprivate + BEWARE
Are you sure you want to put this service in private access!!! ]]>
+
+ + ALERTpublic + BEWARE
Are you sure you want to put this service in public access!!! ]]>
+
+ + ALERTlocalhost + BEWARE
Are you sure you want to put this service in localhost access!!! ]]>
+
+ + SERVICE_ACCESS + Akses + + + SERVICE_ACCESS_ACTION + Localhost/Private/Public Access + + + SERVICE_ACCESS_public + Public + + + SERVICE_ACCESS_private + Private + + + SERVICE_ACCESS_localhost + Localhost + + + SERVICE_FORM_ACCESS + Service Access change + + diff --git a/root/etc/e-smith/locale/it/etc/e-smith/web/functions/servicecontrol b/root/etc/e-smith/locale/it/etc/e-smith/web/functions/servicecontrol new file mode 100644 index 0000000..6b5caa5 --- /dev/null +++ b/root/etc/e-smith/locale/it/etc/e-smith/web/functions/servicecontrol @@ -0,0 +1,129 @@ + + + Configuration + Configurazione + + + Service Control + Controlla tutti i servizi + + + + FORM_TITLE + Controllo servizio + + + FIRST_PAGE_DESCRIPTION + Service Control può attivare o disattivare tutti i servizi.
Può anche modificare la porta TCP del servizio

PRESTARE ATTENZIONE disattivando alcuni servizi (per esempio httpd) il sistema può essere messo in uno stato inconsistente.

]]>
+
+ + SERVICE_FORM_ACTIVATE + (dis)Attivazione servizio + + + SERVICE_STATUS_enabled + Disabilita + + + SERVICE_STATUS_disabled + Abilita + + + SERVICE_NAME + Nome + + + SERVICE_STATUS + Stato + + + SERVICE_ACTION + Azione + + + SUCCESSFULLY_ACTIVATE_SERVICE + Stato del servizio modificato con successo.

]]>
+
+ + VALIDE + Cambia + + + + SERVICE_FORM_TCPPORT + Cambio della porta TCP del servizio + + + + SERVICE_TCPPORT + Porta TCP + + + SUCCESSFULLY_TCPPORT_CHANGE + Porta TCP modificata con successo

Il servizio si riavvierà usando la nuova porta TCP
ATTENZIONE taluni servizi non sono interessati da questo parametro! ]]> + + + SUCCESSFULLY_TCPPORT_NOCHANGE + La porta TCP non è stata modificata, non sono richieste ulteriori azioni. + + + CANCEL + Annulla + + + VALIDE + OK + + + ALERTdisabled + ATTENZIONE
Sei sicuro di volere abilitare questo servizio!!! ]]>
+
+ + ALERTenabled + ATTENZIONE
Sei sicuro di voler disabilitare questo servizio !!! ]]>
+
+ + ALERTTCP + !!! ]]> + + + ACTION_CANCEL_USER + Annullato dall'utente + + + ALERTprivate + ATTENZIONE
Sei sicuro di voler mettere questo servizio in accesso privato !!! ]]>
+
+ + ALERTpublic + ATTENZIONE
Sei sicuro di voler mettere questo servizio in accesso pubblico!!! ]]>
+
+ + ALERTlocalhost + ATTENZIONE
Sei sicuro di voler mettere questo servizio in accesso locale!!! ]]>
+
+ + SERVICE_ACCESS + Accesso + + + SERVICE_ACCESS_ACTION + Accesso Locale/Privato/Pubblico + + + SERVICE_ACCESS_public + Pubblico + + + SERVICE_ACCESS_private + Privato + + + SERVICE_ACCESS_localhost + Locale + + + SERVICE_FORM_ACCESS + Cambia Accesso al Servizio + + diff --git a/root/etc/e-smith/locale/ja/etc/e-smith/web/functions/servicecontrol b/root/etc/e-smith/locale/ja/etc/e-smith/web/functions/servicecontrol new file mode 100644 index 0000000..a3f0af1 --- /dev/null +++ b/root/etc/e-smith/locale/ja/etc/e-smith/web/functions/servicecontrol @@ -0,0 +1,129 @@ + + + Configuration + 設定 + + + Service Control + Control all services + + + + FORM_TITLE + Service Control + + + FIRST_PAGE_DESCRIPTION + Service Control can activate or deactive all services
it can also modified TCP Port of the service

PAY ATTENTION when deactivate some service (for exemple httpd) you can put your system in a bad state.

]]>
+
+ + SERVICE_FORM_ACTIVATE + Service (de)Activation + + + SERVICE_STATUS_enabled + 無効 + + + SERVICE_STATUS_disabled + 有効 + + + SERVICE_NAME + 氏名 + + + SERVICE_STATUS + 状態 + + + SERVICE_ACTION + Action + + + SUCCESSFULLY_ACTIVATE_SERVICE + Service status successfully changed.

]]>
+
+ + VALIDE + 変更 + + + + SERVICE_FORM_TCPPORT + Service TCP Port change + + + + SERVICE_TCPPORT + TCP Port + + + SUCCESSFULLY_TCPPORT_CHANGE + Port TCP changed successfully

Service will restart using new TCP Port
PAY ATTENTION some service don't care about this parameters ! ]]> + + + SUCCESSFULLY_TCPPORT_NOCHANGE + TCP Port are identical, no further action needed. + + + CANCEL + 取消し + + + VALIDE + OK + + + ALERTdisabled + BEWARE
Are you sure you want to enable this service!!! ]]>
+
+ + ALERTenabled + BEWARE
Are you sure you want to disable this service!!! ]]>
+
+ + ALERTTCP + !!! ]]> + + + ACTION_CANCEL_USER + Canceled by user + + + ALERTprivate + BEWARE
Are you sure you want to put this service in private access!!! ]]>
+
+ + ALERTpublic + BEWARE
Are you sure you want to put this service in public access!!! ]]>
+
+ + ALERTlocalhost + BEWARE
Are you sure you want to put this service in localhost access!!! ]]>
+
+ + SERVICE_ACCESS + Access + + + SERVICE_ACCESS_ACTION + Localhost/Private/Public Access + + + SERVICE_ACCESS_public + 公開 + + + SERVICE_ACCESS_private + Private + + + SERVICE_ACCESS_localhost + Localhost + + + SERVICE_FORM_ACCESS + Service Access change + + diff --git a/root/etc/e-smith/locale/nb/etc/e-smith/web/functions/servicecontrol b/root/etc/e-smith/locale/nb/etc/e-smith/web/functions/servicecontrol new file mode 100644 index 0000000..c3bb79b --- /dev/null +++ b/root/etc/e-smith/locale/nb/etc/e-smith/web/functions/servicecontrol @@ -0,0 +1,129 @@ + + + Configuration + Oppsett + + + Service Control + Control all services + + + + FORM_TITLE + Service Control + + + FIRST_PAGE_DESCRIPTION + Service Control can activate or deactive all services
it can also modified TCP Port of the service

PAY ATTENTION when deactivate some service (for exemple httpd) you can put your system in a bad state.

]]>
+
+ + SERVICE_FORM_ACTIVATE + Service (de)Activation + + + SERVICE_STATUS_enabled + Slå av + + + SERVICE_STATUS_disabled + Slå på + + + SERVICE_NAME + Navn + + + SERVICE_STATUS + Status + + + SERVICE_ACTION + Handling + + + SUCCESSFULLY_ACTIVATE_SERVICE + Service status successfully changed.

]]>
+
+ + VALIDE + Endre + + + + SERVICE_FORM_TCPPORT + Service TCP Port change + + + + SERVICE_TCPPORT + TCP Port + + + SUCCESSFULLY_TCPPORT_CHANGE + Port TCP changed successfully

Service will restart using new TCP Port
PAY ATTENTION some service don't care about this parameters ! ]]> + + + SUCCESSFULLY_TCPPORT_NOCHANGE + TCP Port are identical, no further action needed. + + + CANCEL + Avbryt + + + VALIDE + OK + + + ALERTdisabled + BEWARE
Are you sure you want to enable this service!!! ]]>
+
+ + ALERTenabled + BEWARE
Are you sure you want to disable this service!!! ]]>
+
+ + ALERTTCP + !!! ]]> + + + ACTION_CANCEL_USER + Canceled by user + + + ALERTprivate + BEWARE
Are you sure you want to put this service in private access!!! ]]>
+
+ + ALERTpublic + BEWARE
Are you sure you want to put this service in public access!!! ]]>
+
+ + ALERTlocalhost + BEWARE
Are you sure you want to put this service in localhost access!!! ]]>
+
+ + SERVICE_ACCESS + Tilgang + + + SERVICE_ACCESS_ACTION + Localhost/Private/Public Access + + + SERVICE_ACCESS_public + Offentlig + + + SERVICE_ACCESS_private + Private + + + SERVICE_ACCESS_localhost + Localhost + + + SERVICE_FORM_ACCESS + Service Access change + + diff --git a/root/etc/e-smith/locale/nl/etc/e-smith/web/functions/servicecontrol b/root/etc/e-smith/locale/nl/etc/e-smith/web/functions/servicecontrol new file mode 100644 index 0000000..789131f --- /dev/null +++ b/root/etc/e-smith/locale/nl/etc/e-smith/web/functions/servicecontrol @@ -0,0 +1,129 @@ + + + Configuration + Configuratie + + + Service Control + Beheer all diensten + + + + FORM_TITLE + Dienst Beheer + + + FIRST_PAGE_DESCRIPTION + Service Control kan alle diensten activeren of deactiveren.
Het kan ook TCP poorten van de dient aanpassen.

LET OP het uitschakelen van sommige diensten (bijvoorbeeld httpd) kan het systeem in een onbruikbare staat brengen.

]]>
+
+ + SERVICE_FORM_ACTIVATE + Dienst Activeren/Deactiveren + + + SERVICE_STATUS_enabled + Deaktiveer + + + SERVICE_STATUS_disabled + Aktiveer + + + SERVICE_NAME + Naam + + + SERVICE_STATUS + Status + + + SERVICE_ACTION + Actie + + + SUCCESSFULLY_ACTIVATE_SERVICE + Dienst status met succes gewijzigd.

]]>
+
+ + VALIDE + Wijzig + + + + SERVICE_FORM_TCPPORT + TCP poort van dient wijzigen + + + + SERVICE_TCPPORT + TCP poort + + + SUCCESSFULLY_TCPPORT_CHANGE + De TCP poort is met succes gewijzigd.

De dient zal herstarten met de gewijzigde TCP poort
LET OP sommige diensten negeren deze instellingen!

]]>
+
+ + SUCCESSFULLY_TCPPORT_NOCHANGE + TCP poort is gelijk. Geen verdere actie benodigd. + + + CANCEL + Annuleer + + + VALIDE + OK + + + ALERTdisabled + LET OP
Weet U zeker dat U deze dient wilt activeren !!! ]]>
+
+ + ALERTenabled + WAARSCHUWING
Weet U zeker dat U deze dienst wilt uitschakelen !!! ]]>
+
+ + ALERTTCP + !!! ]]> + + + ACTION_CANCEL_USER + Gestopt door gebruiker + + + ALERTprivate + WAARSCHUWING
Weet U zeker dat U deze dienst wilt instellen met privé toegang!!! ]]>
+
+ + ALERTpublic + WAARSCHUWING
Weet U zeker dat U deze dienst wilt instellen met publieke toegang!!! ]]>
+
+ + ALERTlocalhost + WAARSCHUWING
Weet U zeker dat U deze dienst wilt instellen met localhost toegang!!! ]]>
+
+ + SERVICE_ACCESS + Toegang + + + SERVICE_ACCESS_ACTION + Localhost/Privé/Publieke Toegang + + + SERVICE_ACCESS_public + Publiekelijk + + + SERVICE_ACCESS_private + Privé + + + SERVICE_ACCESS_localhost + Localhost + + + SERVICE_FORM_ACCESS + Dienst Toegang Wijzigen + +
diff --git a/root/etc/e-smith/locale/pl/etc/e-smith/web/functions/servicecontrol b/root/etc/e-smith/locale/pl/etc/e-smith/web/functions/servicecontrol new file mode 100644 index 0000000..9bc5342 --- /dev/null +++ b/root/etc/e-smith/locale/pl/etc/e-smith/web/functions/servicecontrol @@ -0,0 +1,129 @@ + + + Configuration + Konfiguracja + + + Service Control + Control all services + + + + FORM_TITLE + Service Control + + + FIRST_PAGE_DESCRIPTION + Service Control can activate or deactive all services
it can also modified TCP Port of the service

PAY ATTENTION when deactivate some service (for exemple httpd) you can put your system in a bad state.

]]>
+
+ + SERVICE_FORM_ACTIVATE + Service (de)Activation + + + SERVICE_STATUS_enabled + Wyłącz + + + SERVICE_STATUS_disabled + Włącz + + + SERVICE_NAME + Nazwa + + + SERVICE_STATUS + Stan + + + SERVICE_ACTION + Action + + + SUCCESSFULLY_ACTIVATE_SERVICE + Service status successfully changed.

]]>
+
+ + VALIDE + Zmień + + + + SERVICE_FORM_TCPPORT + Service TCP Port change + + + + SERVICE_TCPPORT + TCP Port + + + SUCCESSFULLY_TCPPORT_CHANGE + Port TCP changed successfully

Service will restart using new TCP Port
PAY ATTENTION some service don't care about this parameters ! ]]> + + + SUCCESSFULLY_TCPPORT_NOCHANGE + TCP Port are identical, no further action needed. + + + CANCEL + Anuluj + + + VALIDE + OK + + + ALERTdisabled + BEWARE
Are you sure you want to enable this service!!! ]]>
+
+ + ALERTenabled + BEWARE
Are you sure you want to disable this service!!! ]]>
+
+ + ALERTTCP + !!! ]]> + + + ACTION_CANCEL_USER + Canceled by user + + + ALERTprivate + BEWARE
Are you sure you want to put this service in private access!!! ]]>
+
+ + ALERTpublic + BEWARE
Are you sure you want to put this service in public access!!! ]]>
+
+ + ALERTlocalhost + BEWARE
Are you sure you want to put this service in localhost access!!! ]]>
+
+ + SERVICE_ACCESS + Dostęp + + + SERVICE_ACCESS_ACTION + Localhost/Private/Public Access + + + SERVICE_ACCESS_public + Publiczny + + + SERVICE_ACCESS_private + Private + + + SERVICE_ACCESS_localhost + Localhost + + + SERVICE_FORM_ACCESS + Service Access change + + diff --git a/root/etc/e-smith/locale/pt-br/etc/e-smith/web/functions/servicecontrol b/root/etc/e-smith/locale/pt-br/etc/e-smith/web/functions/servicecontrol new file mode 100644 index 0000000..71a706a --- /dev/null +++ b/root/etc/e-smith/locale/pt-br/etc/e-smith/web/functions/servicecontrol @@ -0,0 +1,129 @@ + + + Configuration + Configuração + + + Service Control + Controlar todos serviços + + + + FORM_TITLE + Controle de Serviços + + + FIRST_PAGE_DESCRIPTION + O Controle de Serviços pode ativar ou desativar todos serviços
Ele também pode modificar a porta TCP do serviço

PRESTE BEM ATENÇÃO quando desativando alguns serviços (por exemplo o HTTPd) você pode colocar seu sistema em um status instável ou não-usável.

]]>
+
+ + SERVICE_FORM_ACTIVATE + (des)Ativação de Serviço + + + SERVICE_STATUS_enabled + Desabilitar + + + SERVICE_STATUS_disabled + Habilitar + + + SERVICE_NAME + Nome + + + SERVICE_STATUS + Status + + + SERVICE_ACTION + Ação + + + SUCCESSFULLY_ACTIVATE_SERVICE + Status do serviço atualizado com sucesso.

]]>
+
+ + VALIDE + Alterar + + + + SERVICE_FORM_TCPPORT + Mudança da porta TCP de serviço + + + + SERVICE_TCPPORT + Porta TCP + + + SUCCESSFULLY_TCPPORT_CHANGE + Portas TCP alteradas com sucesso

O serviço irá reiniciar usando a nova porta TCP
PRESTE ATENÇÃO porque alguns serviços ignoram esses parametros ! ]]> + + + SUCCESSFULLY_TCPPORT_NOCHANGE + Portas TCP são iguais, nenhuma ação extra necessária. + + + CANCEL + Cancelar + + + VALIDE + OK + + + ALERTdisabled + ATENÇÃO
Você está certo de que deseja habilitar este serviço??? ]]>
+
+ + ALERTenabled + ATENÇÃO
Você está certo de que deseja desabilitar este serviço??? ]]>
+
+ + ALERTTCP + ??? ]]> + + + ACTION_CANCEL_USER + Cancelado pelo usuário + + + ALERTprivate + ATENÇÃO
Você está seguro de que deseja colocar esse serviço em acesso privado??? ]]>
+
+ + ALERTpublic + ATENÇÃO
Você está certo de que deseja colocar esse serviço para acesso publico!!! ]]>
+
+ + ALERTlocalhost + ATENÇÃO
Você está certo de que deseja colocar esse serviço para acesso apenas do servidor!!! ]]>
+
+ + SERVICE_ACCESS + Acesso + + + SERVICE_ACCESS_ACTION + Localhost/Privado/Acesso Público + + + SERVICE_ACCESS_public + Público + + + SERVICE_ACCESS_private + Privado + + + SERVICE_ACCESS_localhost + Localhost + + + SERVICE_FORM_ACCESS + mudar Acesso ao Serviço + + diff --git a/root/etc/e-smith/locale/pt/etc/e-smith/web/functions/servicecontrol b/root/etc/e-smith/locale/pt/etc/e-smith/web/functions/servicecontrol new file mode 100644 index 0000000..16ee437 --- /dev/null +++ b/root/etc/e-smith/locale/pt/etc/e-smith/web/functions/servicecontrol @@ -0,0 +1,129 @@ + + + Configuration + Configuração + + + Service Control + Control all services + + + + FORM_TITLE + Service Control + + + FIRST_PAGE_DESCRIPTION + Service Control can activate or deactive all services
it can also modified TCP Port of the service

PAY ATTENTION when deactivate some service (for exemple httpd) you can put your system in a bad state.

]]>
+
+ + SERVICE_FORM_ACTIVATE + Service (de)Activation + + + SERVICE_STATUS_enabled + Desabilita + + + SERVICE_STATUS_disabled + Habilita + + + SERVICE_NAME + Nome + + + SERVICE_STATUS + Status + + + SERVICE_ACTION + Ação + + + SUCCESSFULLY_ACTIVATE_SERVICE + Service status successfully changed.

]]>
+
+ + VALIDE + Alterar + + + + SERVICE_FORM_TCPPORT + Service TCP Port change + + + + SERVICE_TCPPORT + TCP Port + + + SUCCESSFULLY_TCPPORT_CHANGE + Port TCP changed successfully

Service will restart using new TCP Port
PAY ATTENTION some service don't care about this parameters ! ]]> + + + SUCCESSFULLY_TCPPORT_NOCHANGE + TCP Port are identical, no further action needed. + + + CANCEL + Cancelar + + + VALIDE + OK + + + ALERTdisabled + BEWARE
Are you sure you want to enable this service!!! ]]>
+
+ + ALERTenabled + BEWARE
Are you sure you want to disable this service!!! ]]>
+
+ + ALERTTCP + !!! ]]> + + + ACTION_CANCEL_USER + Canceled by user + + + ALERTprivate + BEWARE
Are you sure you want to put this service in private access!!! ]]>
+
+ + ALERTpublic + BEWARE
Are you sure you want to put this service in public access!!! ]]>
+
+ + ALERTlocalhost + BEWARE
Are you sure you want to put this service in localhost access!!! ]]>
+
+ + SERVICE_ACCESS + Acesso + + + SERVICE_ACCESS_ACTION + Localhost/Private/Public Access + + + SERVICE_ACCESS_public + Público + + + SERVICE_ACCESS_private + Private + + + SERVICE_ACCESS_localhost + Localhost + + + SERVICE_FORM_ACCESS + Service Access change + + diff --git a/root/etc/e-smith/locale/ro/etc/e-smith/web/functions/servicecontrol b/root/etc/e-smith/locale/ro/etc/e-smith/web/functions/servicecontrol new file mode 100644 index 0000000..32ce05e --- /dev/null +++ b/root/etc/e-smith/locale/ro/etc/e-smith/web/functions/servicecontrol @@ -0,0 +1,129 @@ + + + Configuration + Configurare + + + Service Control + Control all services + + + + FORM_TITLE + Service Control + + + FIRST_PAGE_DESCRIPTION + Service Control can activate or deactive all services
it can also modified TCP Port of the service

PAY ATTENTION when deactivate some service (for exemple httpd) you can put your system in a bad state.

]]>
+
+ + SERVICE_FORM_ACTIVATE + Service (de)Activation + + + SERVICE_STATUS_enabled + Dezaactivează + + + SERVICE_STATUS_disabled + Activează + + + SERVICE_NAME + Nume + + + SERVICE_STATUS + Stare + + + SERVICE_ACTION + Acțiune + + + SUCCESSFULLY_ACTIVATE_SERVICE + Service status successfully changed.

]]>
+
+ + VALIDE + Modifică + + + + SERVICE_FORM_TCPPORT + Service TCP Port change + + + + SERVICE_TCPPORT + TCP Port + + + SUCCESSFULLY_TCPPORT_CHANGE + Port TCP changed successfully

Service will restart using new TCP Port
PAY ATTENTION some service don't care about this parameters ! ]]> + + + SUCCESSFULLY_TCPPORT_NOCHANGE + TCP Port are identical, no further action needed. + + + CANCEL + Anulare + + + VALIDE + OK + + + ALERTdisabled + BEWARE
Are you sure you want to enable this service!!! ]]>
+
+ + ALERTenabled + BEWARE
Are you sure you want to disable this service!!! ]]>
+
+ + ALERTTCP + !!! ]]> + + + ACTION_CANCEL_USER + Canceled by user + + + ALERTprivate + BEWARE
Are you sure you want to put this service in private access!!! ]]>
+
+ + ALERTpublic + BEWARE
Are you sure you want to put this service in public access!!! ]]>
+
+ + ALERTlocalhost + BEWARE
Are you sure you want to put this service in localhost access!!! ]]>
+
+ + SERVICE_ACCESS + Access + + + SERVICE_ACCESS_ACTION + Localhost/Private/Public Access + + + SERVICE_ACCESS_public + Public + + + SERVICE_ACCESS_private + Private + + + SERVICE_ACCESS_localhost + Localhost + + + SERVICE_FORM_ACCESS + Service Access change + + diff --git a/root/etc/e-smith/locale/ru/etc/e-smith/web/functions/servicecontrol b/root/etc/e-smith/locale/ru/etc/e-smith/web/functions/servicecontrol new file mode 100644 index 0000000..5d3b2f7 --- /dev/null +++ b/root/etc/e-smith/locale/ru/etc/e-smith/web/functions/servicecontrol @@ -0,0 +1,129 @@ + + + Configuration + Конфигурация + + + Service Control + Control all services + + + + FORM_TITLE + Service Control + + + FIRST_PAGE_DESCRIPTION + Service Control can activate or deactive all services
it can also modified TCP Port of the service

PAY ATTENTION when deactivate some service (for exemple httpd) you can put your system in a bad state.

]]>
+
+ + SERVICE_FORM_ACTIVATE + Service (de)Activation + + + SERVICE_STATUS_enabled + Отключить + + + SERVICE_STATUS_disabled + Включить + + + SERVICE_NAME + Название + + + SERVICE_STATUS + Состояние + + + SERVICE_ACTION + Действие + + + SUCCESSFULLY_ACTIVATE_SERVICE + Service status successfully changed.

]]>
+
+ + VALIDE + Изменить + + + + SERVICE_FORM_TCPPORT + Service TCP Port change + + + + SERVICE_TCPPORT + TCP Port + + + SUCCESSFULLY_TCPPORT_CHANGE + Port TCP changed successfully

Service will restart using new TCP Port
PAY ATTENTION some service don't care about this parameters ! ]]> + + + SUCCESSFULLY_TCPPORT_NOCHANGE + TCP Port are identical, no further action needed. + + + CANCEL + Отмена + + + VALIDE + OK + + + ALERTdisabled + BEWARE
Are you sure you want to enable this service!!! ]]>
+
+ + ALERTenabled + BEWARE
Are you sure you want to disable this service!!! ]]>
+
+ + ALERTTCP + !!! ]]> + + + ACTION_CANCEL_USER + Canceled by user + + + ALERTprivate + BEWARE
Are you sure you want to put this service in private access!!! ]]>
+
+ + ALERTpublic + BEWARE
Are you sure you want to put this service in public access!!! ]]>
+
+ + ALERTlocalhost + BEWARE
Are you sure you want to put this service in localhost access!!! ]]>
+
+ + SERVICE_ACCESS + Доступ + + + SERVICE_ACCESS_ACTION + Localhost/Private/Public Access + + + SERVICE_ACCESS_public + Public + + + SERVICE_ACCESS_private + Private + + + SERVICE_ACCESS_localhost + Localhost + + + SERVICE_FORM_ACCESS + Service Access change + + diff --git a/root/etc/e-smith/locale/sl/etc/e-smith/web/functions/servicecontrol b/root/etc/e-smith/locale/sl/etc/e-smith/web/functions/servicecontrol new file mode 100644 index 0000000..d2b0b06 --- /dev/null +++ b/root/etc/e-smith/locale/sl/etc/e-smith/web/functions/servicecontrol @@ -0,0 +1,129 @@ + + + Configuration + Konfiguracija + + + Service Control + Control all services + + + + FORM_TITLE + Service Control + + + FIRST_PAGE_DESCRIPTION + Service Control can activate or deactive all services
it can also modified TCP Port of the service

PAY ATTENTION when deactivate some service (for exemple httpd) you can put your system in a bad state.

]]>
+
+ + SERVICE_FORM_ACTIVATE + Service (de)Activation + + + SERVICE_STATUS_enabled + Disable + + + SERVICE_STATUS_disabled + Enable + + + SERVICE_NAME + Ime + + + SERVICE_STATUS + Status + + + SERVICE_ACTION + Izvedi + + + SUCCESSFULLY_ACTIVATE_SERVICE + Service status successfully changed.

]]>
+
+ + VALIDE + Spremeni + + + + SERVICE_FORM_TCPPORT + Service TCP Port change + + + + SERVICE_TCPPORT + TCP Port + + + SUCCESSFULLY_TCPPORT_CHANGE + Port TCP changed successfully

Service will restart using new TCP Port
PAY ATTENTION some service don't care about this parameters ! ]]> + + + SUCCESSFULLY_TCPPORT_NOCHANGE + TCP Port are identical, no further action needed. + + + CANCEL + Preklici + + + VALIDE + V redu + + + ALERTdisabled + BEWARE
Are you sure you want to enable this service!!! ]]>
+
+ + ALERTenabled + BEWARE
Are you sure you want to disable this service!!! ]]>
+
+ + ALERTTCP + !!! ]]> + + + ACTION_CANCEL_USER + Canceled by user + + + ALERTprivate + BEWARE
Are you sure you want to put this service in private access!!! ]]>
+
+ + ALERTpublic + BEWARE
Are you sure you want to put this service in public access!!! ]]>
+
+ + ALERTlocalhost + BEWARE
Are you sure you want to put this service in localhost access!!! ]]>
+
+ + SERVICE_ACCESS + Access + + + SERVICE_ACCESS_ACTION + Localhost/Private/Public Access + + + SERVICE_ACCESS_public + Public + + + SERVICE_ACCESS_private + Private + + + SERVICE_ACCESS_localhost + Localhost + + + SERVICE_FORM_ACCESS + Service Access change + + diff --git a/root/etc/e-smith/locale/sv/etc/e-smith/web/functions/servicecontrol b/root/etc/e-smith/locale/sv/etc/e-smith/web/functions/servicecontrol new file mode 100644 index 0000000..0707703 --- /dev/null +++ b/root/etc/e-smith/locale/sv/etc/e-smith/web/functions/servicecontrol @@ -0,0 +1,129 @@ + + + Configuration + Konfiguration + + + Service Control + Control all services + + + + FORM_TITLE + Service Control + + + FIRST_PAGE_DESCRIPTION + Service Control can activate or deactive all services
it can also modified TCP Port of the service

PAY ATTENTION when deactivate some service (for exemple httpd) you can put your system in a bad state.

]]>
+
+ + SERVICE_FORM_ACTIVATE + Service (de)Activation + + + SERVICE_STATUS_enabled + Tillåt ej + + + SERVICE_STATUS_disabled + Aktivera + + + SERVICE_NAME + Namn + + + SERVICE_STATUS + Status + + + SERVICE_ACTION + Verkställ + + + SUCCESSFULLY_ACTIVATE_SERVICE + Service status successfully changed.

]]>
+
+ + VALIDE + Ändra + + + + SERVICE_FORM_TCPPORT + Service TCP Port change + + + + SERVICE_TCPPORT + TCP Port + + + SUCCESSFULLY_TCPPORT_CHANGE + Port TCP changed successfully

Service will restart using new TCP Port
PAY ATTENTION some service don't care about this parameters ! ]]> + + + SUCCESSFULLY_TCPPORT_NOCHANGE + TCP Port are identical, no further action needed. + + + CANCEL + Avbryt + + + VALIDE + OK + + + ALERTdisabled + BEWARE
Are you sure you want to enable this service!!! ]]>
+
+ + ALERTenabled + BEWARE
Are you sure you want to disable this service!!! ]]>
+
+ + ALERTTCP + !!! ]]> + + + ACTION_CANCEL_USER + Canceled by user + + + ALERTprivate + BEWARE
Are you sure you want to put this service in private access!!! ]]>
+
+ + ALERTpublic + BEWARE
Are you sure you want to put this service in public access!!! ]]>
+
+ + ALERTlocalhost + BEWARE
Are you sure you want to put this service in localhost access!!! ]]>
+
+ + SERVICE_ACCESS + Åtkomst + + + SERVICE_ACCESS_ACTION + Localhost/Private/Public Access + + + SERVICE_ACCESS_public + Allmän + + + SERVICE_ACCESS_private + Private + + + SERVICE_ACCESS_localhost + Localhost + + + SERVICE_FORM_ACCESS + Service Access change + + diff --git a/root/etc/e-smith/locale/th/etc/e-smith/web/functions/servicecontrol b/root/etc/e-smith/locale/th/etc/e-smith/web/functions/servicecontrol new file mode 100644 index 0000000..3b0d32d --- /dev/null +++ b/root/etc/e-smith/locale/th/etc/e-smith/web/functions/servicecontrol @@ -0,0 +1,129 @@ + + + Configuration + การตั้งค่าของระบบ + + + Service Control + Control all services + + + + FORM_TITLE + Service Control + + + FIRST_PAGE_DESCRIPTION + Service Control can activate or deactive all services
it can also modified TCP Port of the service

PAY ATTENTION when deactivate some service (for exemple httpd) you can put your system in a bad state.

]]>
+
+ + SERVICE_FORM_ACTIVATE + Service (de)Activation + + + SERVICE_STATUS_enabled + Disable + + + SERVICE_STATUS_disabled + เปิดใช้, เปิดใช้งาน + + + SERVICE_NAME + ชื่อ + + + SERVICE_STATUS + สถานะ + + + SERVICE_ACTION + การดำเนินการ + + + SUCCESSFULLY_ACTIVATE_SERVICE + Service status successfully changed.

]]>
+
+ + VALIDE + Change + + + + SERVICE_FORM_TCPPORT + Service TCP Port change + + + + SERVICE_TCPPORT + TCP Port + + + SUCCESSFULLY_TCPPORT_CHANGE + Port TCP changed successfully

Service will restart using new TCP Port
PAY ATTENTION some service don't care about this parameters ! ]]> + + + SUCCESSFULLY_TCPPORT_NOCHANGE + TCP Port are identical, no further action needed. + + + CANCEL + ยกเลิก + + + VALIDE + OK + + + ALERTdisabled + BEWARE
Are you sure you want to enable this service!!! ]]>
+
+ + ALERTenabled + BEWARE
Are you sure you want to disable this service!!! ]]>
+
+ + ALERTTCP + !!! ]]> + + + ACTION_CANCEL_USER + Canceled by user + + + ALERTprivate + BEWARE
Are you sure you want to put this service in private access!!! ]]>
+
+ + ALERTpublic + BEWARE
Are you sure you want to put this service in public access!!! ]]>
+
+ + ALERTlocalhost + BEWARE
Are you sure you want to put this service in localhost access!!! ]]>
+
+ + SERVICE_ACCESS + สิทธิการเข้าถึง + + + SERVICE_ACCESS_ACTION + Localhost/Private/Public Access + + + SERVICE_ACCESS_public + สาธารณะ + + + SERVICE_ACCESS_private + Private + + + SERVICE_ACCESS_localhost + Localhost + + + SERVICE_FORM_ACCESS + Service Access change + + diff --git a/root/etc/e-smith/locale/tr/etc/e-smith/web/functions/servicecontrol b/root/etc/e-smith/locale/tr/etc/e-smith/web/functions/servicecontrol new file mode 100644 index 0000000..c2e07b0 --- /dev/null +++ b/root/etc/e-smith/locale/tr/etc/e-smith/web/functions/servicecontrol @@ -0,0 +1,129 @@ + + + Configuration + Konfigürasyon + + + Service Control + Control all services + + + + FORM_TITLE + Service Control + + + FIRST_PAGE_DESCRIPTION + Service Control can activate or deactive all services
it can also modified TCP Port of the service

PAY ATTENTION when deactivate some service (for exemple httpd) you can put your system in a bad state.

]]>
+
+ + SERVICE_FORM_ACTIVATE + Service (de)Activation + + + SERVICE_STATUS_enabled + Disable + + + SERVICE_STATUS_disabled + Enable + + + SERVICE_NAME + İsim + + + SERVICE_STATUS + Durum + + + SERVICE_ACTION + Eylem + + + SUCCESSFULLY_ACTIVATE_SERVICE + Service status successfully changed.

]]>
+
+ + VALIDE + Değiştir + + + + SERVICE_FORM_TCPPORT + Service TCP Port change + + + + SERVICE_TCPPORT + TCP Port + + + SUCCESSFULLY_TCPPORT_CHANGE + Port TCP changed successfully

Service will restart using new TCP Port
PAY ATTENTION some service don't care about this parameters ! ]]> + + + SUCCESSFULLY_TCPPORT_NOCHANGE + TCP Port are identical, no further action needed. + + + CANCEL + İptal + + + VALIDE + Tamam + + + ALERTdisabled + BEWARE
Are you sure you want to enable this service!!! ]]>
+
+ + ALERTenabled + BEWARE
Are you sure you want to disable this service!!! ]]>
+
+ + ALERTTCP + !!! ]]> + + + ACTION_CANCEL_USER + Canceled by user + + + ALERTprivate + BEWARE
Are you sure you want to put this service in private access!!! ]]>
+
+ + ALERTpublic + BEWARE
Are you sure you want to put this service in public access!!! ]]>
+
+ + ALERTlocalhost + BEWARE
Are you sure you want to put this service in localhost access!!! ]]>
+
+ + SERVICE_ACCESS + Giriş + + + SERVICE_ACCESS_ACTION + Localhost/Private/Public Access + + + SERVICE_ACCESS_public + Public + + + SERVICE_ACCESS_private + Private + + + SERVICE_ACCESS_localhost + Localhost + + + SERVICE_FORM_ACCESS + Service Access change + + diff --git a/root/etc/e-smith/locale/zh-cn/etc/e-smith/web/functions/servicecontrol b/root/etc/e-smith/locale/zh-cn/etc/e-smith/web/functions/servicecontrol new file mode 100644 index 0000000..bb2249d --- /dev/null +++ b/root/etc/e-smith/locale/zh-cn/etc/e-smith/web/functions/servicecontrol @@ -0,0 +1,129 @@ + + + Configuration + 配置 + + + Service Control + Control all services + + + + FORM_TITLE + Service Control + + + FIRST_PAGE_DESCRIPTION + Service Control can activate or deactive all services
it can also modified TCP Port of the service

PAY ATTENTION when deactivate some service (for exemple httpd) you can put your system in a bad state.

]]>
+
+ + SERVICE_FORM_ACTIVATE + Service (de)Activation + + + SERVICE_STATUS_enabled + 禁用,停用 + + + SERVICE_STATUS_disabled + 启用 + + + SERVICE_NAME + 姓名 + + + SERVICE_STATUS + 状态 + + + SERVICE_ACTION + 动作 + + + SUCCESSFULLY_ACTIVATE_SERVICE + Service status successfully changed.

]]>
+
+ + VALIDE + 更改 + + + + SERVICE_FORM_TCPPORT + Service TCP Port change + + + + SERVICE_TCPPORT + TCP Port + + + SUCCESSFULLY_TCPPORT_CHANGE + Port TCP changed successfully

Service will restart using new TCP Port
PAY ATTENTION some service don't care about this parameters ! ]]> + + + SUCCESSFULLY_TCPPORT_NOCHANGE + TCP Port are identical, no further action needed. + + + CANCEL + 取消 + + + VALIDE + OK + + + ALERTdisabled + BEWARE
Are you sure you want to enable this service!!! ]]>
+
+ + ALERTenabled + BEWARE
Are you sure you want to disable this service!!! ]]>
+
+ + ALERTTCP + !!! ]]> + + + ACTION_CANCEL_USER + Canceled by user + + + ALERTprivate + BEWARE
Are you sure you want to put this service in private access!!! ]]>
+
+ + ALERTpublic + BEWARE
Are you sure you want to put this service in public access!!! ]]>
+
+ + ALERTlocalhost + BEWARE
Are you sure you want to put this service in localhost access!!! ]]>
+
+ + SERVICE_ACCESS + 访问 + + + SERVICE_ACCESS_ACTION + Localhost/Private/Public Access + + + SERVICE_ACCESS_public + 公共的 + + + SERVICE_ACCESS_private + Private + + + SERVICE_ACCESS_localhost + Localhost + + + SERVICE_FORM_ACCESS + Service Access change + + diff --git a/root/etc/e-smith/locale/zh-tw/etc/e-smith/web/functions/servicecontrol b/root/etc/e-smith/locale/zh-tw/etc/e-smith/web/functions/servicecontrol new file mode 100644 index 0000000..52d8b93 --- /dev/null +++ b/root/etc/e-smith/locale/zh-tw/etc/e-smith/web/functions/servicecontrol @@ -0,0 +1,129 @@ + + + Configuration + 設定組態 + + + Service Control + 控制所有服務 + + + + FORM_TITLE + 服務控制 + + + FIRST_PAGE_DESCRIPTION + 服務控制台可以啟動或關閉所有服務
它也能修正服務的 TCP 埠

注意當您關閉一些服務時 (例如 httpd) 您可能會讓您的系統陷入糟糕的情況。

]]>
+
+ + SERVICE_FORM_ACTIVATE + 服務 (不) 啟動 + + + SERVICE_STATUS_enabled + 禁用,停用 + + + SERVICE_STATUS_disabled + 啟用 + + + SERVICE_NAME + 名稱 + + + SERVICE_STATUS + 狀態 + + + SERVICE_ACTION + 動作 + + + SUCCESSFULLY_ACTIVATE_SERVICE + 系統狀態成功變更。

]]>
+
+ + VALIDE + 變更,改變 + + + + SERVICE_FORM_TCPPORT + 變更服務的 TCP 埠 + + + + SERVICE_TCPPORT + TCP 埠 + + + SUCCESSFULLY_TCPPORT_CHANGE + TCP 埠成功變更

服務將重啟使用新的 TCP 埠。
注意某些服務並不在意此參數!]]> + + + SUCCESSFULLY_TCPPORT_NOCHANGE + TCP 埠已指定,無需進一步行動。 + + + CANCEL + 取消 + + + VALIDE + 確定 + + + ALERTdisabled + 注意
您確定您想啟動此服務?!!! ]]>
+
+ + ALERTenabled + 注意
您確定您想 關閉 此服務?!!! ]]>
+
+ + ALERTTCP + !!! ]]> + + + ACTION_CANCEL_USER + 使用者取消 + + + ALERTprivate + 注意
您確定您想將此服務放在 私有存取?!!! ]]>
+
+ + ALERTpublic + 注意
您確定您想將此服務放在 公開存取?!!! ]]>
+
+ + ALERTlocalhost + 注意
您確定您想將此服務放在 本機存取?!!! ]]>
+
+ + SERVICE_ACCESS + 存取 + + + SERVICE_ACCESS_ACTION + 本機/私有/公開存取 + + + SERVICE_ACCESS_public + 公開 + + + SERVICE_ACCESS_private + 私有 + + + SERVICE_ACCESS_localhost + 本機 + + + SERVICE_FORM_ACCESS + 改變服務存取的狀態 + + diff --git a/root/etc/e-smith/web/functions/servicecontrol b/root/etc/e-smith/web/functions/servicecontrol new file mode 100755 index 0000000..8af9d63 --- /dev/null +++ b/root/etc/e-smith/web/functions/servicecontrol @@ -0,0 +1,92 @@ +#!/usr/bin/perl -wT +# vim: ft=xml ts=8 sw=4 noet: +#---------------------------------------------------------------------- +# heading : Configuration +# description : Service Control +# navigation : 6000 6810 +#---------------------------------------------------------------------- +#---------------------------------------------------------------------- +# copyright (C) 2004 Schirrm's Studio +# copyright (C) 2002 Mitel Networks Corporation +# +# This program is free software; you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation; either version 2 of the License, or +# (at your option) any later version. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with this program; if not, write to the Free Software +# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA +#---------------------------------------------------------------------- + +use strict; +use esmith::FormMagick::Panel::servicecontrol; +my $form = esmith::FormMagick::Panel::servicecontrol->new(); +# Uncomment the next line for debugging purposes. +# $form->debug(1); +$form->display(); + + +__DATA__ +

+ + + + FIRST_PAGE_DESCRIPTION + + + + + FIRST_PAGE_DESCRIPTION + + + + + + + + FIRST_PAGE_DESCRIPTION + + + + + + + + FIRST_PAGE_DESCRIPTION + + + + + + +
diff --git a/root/usr/share/perl5/vendor_perl/esmith/FormMagick/Panel/servicecontrol.pm b/root/usr/share/perl5/vendor_perl/esmith/FormMagick/Panel/servicecontrol.pm new file mode 100644 index 0000000..10b64bd --- /dev/null +++ b/root/usr/share/perl5/vendor_perl/esmith/FormMagick/Panel/servicecontrol.pm @@ -0,0 +1,595 @@ +#!/usr/bin/perl -w +#---------------------------------------------------------------------- +# $Id: servicetotal.pm,v 1.31 2003/04/08 15:28:55 mvanhees Exp $ +# vim: ft=perl ts=4 sw=4 et: +#---------------------------------------------------------------------- +# copyright (C) 2004 Pascal Schirrmann +# copyright (C) 2002 Mitel Networks Corporation +# +# This program is free software; you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation; either version 2 of the License, or +# (at your option) any later version. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with this program; if not, write to the Free Software +# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA +#---------------------------------------------------------------------- + +package esmith::FormMagick::Panel::servicecontrol; + +use strict; +use esmith::FormMagick; +use esmith::cgi; +use esmith::util; +use esmith::config; +use esmith::db; +use esmith::event; +use esmith::ConfigDB; + +use File::Basename; +use Carp; +use Exporter; + +use constant TRUE => 1; +use constant FALSE => 0; + +our @ISA = qw(esmith::FormMagick Exporter); + +our @EXPORT = qw( + main + displayService + ); + +our $VERSION = sprintf '%d.%03d', q$Revision: 1.1 $ =~ /: (\d+).(\d+)/; + +my $config = esmith::ConfigDB->open; + +=head1 NAME + +esmith::FormMagick::Panels::serviceactivated - useful panel functions + +=head1 SYNOPSIS + + use esmith::FormMagick::Panels::servicecontrol + + my $panel = esmith::FormMagick::Panel::servicecontrol->new(); + $panel->display(); + +=head1 DESCRIPTION + +This module is the backend to the servicecontrol panel, responsible for +supplying all functions used by that panel. It is a subclass of +esmith::FormMagick itself, so it inherits the functionality of a FormMagick +object. + +=head2 new + +This is the class constructor. + +=cut + +sub new { + shift; + my $self = esmith::FormMagick->new(); + $self->{calling_package} = (caller)[0]; + bless $self; + return $self; +} + +=head2 main + +Main methode select correct action + +=cut + +sub main { + my ($fm) = @_; + my $action = $fm->{cgi}->param('action') || ''; + my $wherenext = $fm->{cgi}->param('wherenext'); + + $fm->debug_msg("Action: $action"); + $fm->debug_msg("Wherenext: $wherenext"); + + # Everythings regarding service status + # + if ( $action eq 'ServiceChange' ) + { + my $can= $fm->{cgi}->param('cancel') || 'no'; + my $service = $fm->{cgi}->param('service'); + if ( $can eq 'no' ) + { + $fm->ServiceChange($service); + } else { + $fm->error("ACTION_CANCEL_USER"); + } + # Everythings regarding TCP property + # + } elsif ( $action eq 'TCPPORTChange' ) + { + my $can= $fm->{cgi}->param('cancel') || 'no'; + my $service = $fm->{cgi}->param('service'); + my $port = $fm->{cgi}->param('port'); + if ( $can eq 'no' ) + { + $fm->ServiceTCPChange($service,$port); + } else + { + $fm->error("ACTION_CANCEL_USER"); + } + # Everythings regarding ACCESS property + # + } elsif ( $action eq 'ACCESSChange' ) + { + my $can= $fm->{cgi}->param('cancel') || 'no'; + my $service = $fm->{cgi}->param('service'); + my $access = $fm->{cgi}->param('access'); + + if ( $can eq 'no' ) + { + $fm->AccessChange($service,$access); + } else { + $fm->error("ACTION_CANCEL_USER"); + } + } + + $fm->wherenext($wherenext); +} + +=head2 ServiceTCPChange + +Change TCP Port of a service + +=cut + +sub ServiceTCPChange { + my ($self, $service, $port) = @_; + my $action; + my $startScript; + + my $record = $config->get($service); + + $self->debug_msg("Service: $service"); + $self->debug_msg("Port: $port"); + $self->debug_msg("Old port: " . $record->prop("TCPPort")); + + if ($service =~ /^([-\@\w.]+)$/) { + $service = $1; # $data now untainted + } else { + die "Bad data in '$service'"; # log this somewhere + } + + if ( $record->prop("TCPPort") ne $port ) + { + $record->set_prop("TCPPort", $port); + $action="restart"; +#expand all templates + esmith::event::event_signal("service-expand"); + +# A hack since a lot db set as service don't have a service name in rc7.d +# THINK to change as same in sub ServiceChange and sub AccessChange + $service = 'dovecot' if ( $service =~ 'imap'); + $service = 'httpd-e-smith' if ( $service eq 'modSSL'); + $service = 'httpd-e-smith' if ( $service eq 'php'); + $service = 'httpd-e-smith' if ( $service eq 'imp'); + $service = 'smb' if ( $service eq 'nmbd'); + $service = 'smb' if ( $service eq 'smbd'); + $service = 'clamd' if ( $service eq 'clamav'); + $service = 'dnscache' if ( $service eq 'dnscache.forwarder'); + $service = 'httpd-e-smith' if ( $service eq 'horde'); + $service = 'httpd-e-smith' if ( $service eq 'modPerl'); + $service = 'qpsmtpd' if ( $service eq 'smtpd'); + $service = 'sqpsmtpd' if ( $service eq 'ssmtpd'); + + + $startScript = glob("/etc/rc.d/rc7.d/S*$service"); + if ($startScript){ + esmith::event::event_signal("service-one", $service, $action);} + $self->success("SUCCESSFULLY_TCPPORT_CHANGE"); + } else { + $self->success("SUCCESSFULLY_TCPPORT_NOCHANGE"); + } + +} + +=head2 ServiceChange + +swap service status : stop or start the service + +=cut + +sub ServiceChange { + my ($self, $service) = @_; + my $action; + my $startScript; + + my $record = $config->get($service); + $self->debug_msg("Service: $service"); + $self->debug_msg("Actual status: " . $record->prop("status")); + + if ($service =~ /^([-\@\w.]+)$/) { + $service = $1; # $data now untainted + } else { + die "Bad data in '$service'"; # log this somewhere + } + + if ( $record->prop("status") eq 'enabled' ) + { + $record->set_prop("status", "disabled"); + $action="stop"; + } else { + $record->set_prop("status", "enabled"); + $action="start"; + } +#expand all templates + esmith::event::event_signal("service-expand"); + +# A hack since a lot db set as service don't have a service name in rc7.d +# THINK to change as same in sub ServiceTCPChange and sub AccessChange + + $service = 'dovecot' if ( $service =~ 'imap'); + $service = 'httpd-e-smith' if ( $service eq 'modSSL'); + $service = 'httpd-e-smith' if ( $service eq 'php'); + $service = 'httpd-e-smith' if ( $service eq 'imp'); + $service = 'smb' if ( $service eq 'nmbd'); + $service = 'smb' if ( $service eq 'smbd'); + $service = 'clamd' if ( $service eq 'clamav'); + $service = 'dnscache' if ( $service eq 'dnscache.forwarder'); + $service = 'httpd-e-smith' if ( $service eq 'horde'); + $service = 'httpd-e-smith' if ( $service eq 'modPerl'); + $service = 'qpsmtpd' if ( $service eq 'smtpd'); + $service = 'sqpsmtpd' if ( $service eq 'ssmtpd'); + + $startScript = glob("/etc/rc.d/rc7.d/S*$service"); + if ($startScript){ + esmith::event::event_signal("service-one", $service, $action);} + + $self->success("SUCCESSFULLY_ACTIVATE_SERVICE"); +} + +=head2 displayNavig + +This will show the first level naviguation + +=cut + +sub displayNavig { + my $self = shift; + my $q = $self->{cgi}; + + print ''; + print ' '; + + print ' '; + + print ' '; + + print ' '; + + print ' '; + print '
'; + print '
'; + print ' '; + print ' '; + print ' '; + print ' '; + print ' '; + print '
'; + print '
'; + print '
'; + print ' '; + print ' '; + print ' '; + print ' '; + print ' '; + print '
'; + print '
'; + print '
'; + print ' '; + print ' '; + print ' '; + print ' '; + print ' '; + print '
'; + print '
'; + + return ''; +} + +=head2 displayService + +This return all service definies in serve + +=cut + +sub displayService { + my $self = shift; + my $q = $self->{cgi}; + my $prop_value; + + my @services = $config->services(); + + print ''; + print ' '; + print ' '; + print ' '; + print ' '; + print ' '; + + foreach my $filter ( @services ) + { + $prop_value = $config->get($filter)->prop("status") || "Error"; + if ($prop_value ne 'Error') { + print ' '; + print ' '; + print ' '; + print ' '; + print ' '; + } + } + print '
' . $self->localise('SERVICE_NAME') . '' . $self->localise('SERVICE_STATUS') . '' . $self->localise('SERVICE_ACTION') . '
' . $filter . '' . $prop_value . ''; + print '
'; + print ' '; + print ' '; + print ' '; + print ' '; + print ' '; + print ' '; + print '
'; + print '
'; + return ''; +} + +=head2 displayConfirnActivate + +Display confirmation message for service activation part + +=cut + +sub displayConfirmActivate { + my ($self) = @_; + my $service = $self->{cgi}->param('service') || ''; + + my $q = $self->{cgi}; + + my $record = $config->get($service); + + print '
'; + print ' '; + print ' '; + print ' '; + print ' '; + print ' '; + print '

' . $service . '

'; + print '

' . $self->localise('ALERT' . $record->prop("status")) . '

'; + print ' '; + print ' '; + print '
'; + + return ''; +} + +=head2 displayConfirmTCP + +Display confirmation message for TCP edit part + +=cut + +sub displayConfirmTCP { + my ($self) = @_; + my $service = $self->{cgi}->param('service') || ''; + my $port = $self->{cgi}->param('port') || ''; + + my $q = $self->{cgi}; + + print '
'; + print ' '; + print ' '; + print ' '; + print ' '; + print ' '; + print ' '; + print '

' . $service . " : $port" . '

'; + print '

' . $self->localise('ALERTTCP') . '

'; + print ' '; + print ' '; + print '
'; + + return ''; +} + +=head2 displayServiceTcp + +This return all service definies in serve + +=cut + +sub displayServiceTcp { + my $self = shift; + my $q = $self->{cgi}; + my $prop_value; + + my @services = $config->services(); + + print ''; + print ' '; + print ' '; + print ' '; + print ' '; + print ' '; + + foreach my $filter ( @services ) + { + $prop_value = $config->get($filter)->prop("TCPPort") || "Error"; + if ($prop_value ne 'Error') { + print ' '; + print ' '; + print ' '; + print ' '; + print ' '; + } + } + print '
' . $self->localise('SERVICE_NAME') . '' . $self->localise('SERVICE_TCPPORT') . '' . $self->localise('SERVICE_ACTION') . '
' . $filter . ''; + print '
'; + print ' '; + print ' '; + print ' '; + print ' '; + print ' '; + print ' '; + print '
'; + print ' '; + print ' '; + print '
'; + return ''; +} + +=head2 displayServiceAccess + +This return all service definies in server + +=cut + +sub displayServiceAccess { + my $self = shift; + my $q = $self->{cgi}; + my $prop_value; + + my @services = $config->services(); + + print ''; + print ' '; + print ' '; + print ' '; + print ' '; + print ' '; + + foreach my $filter ( @services ) + { + $prop_value = $config->get($filter)->prop("access") || "Error"; + if ($prop_value ne 'Error') { + if ($prop_value eq 'private' || $prop_value eq 'public'|| $prop_value eq 'localhost') { + print ' '; + print ' '; + print ' '; + print ' '; + print ' '; + } + } + } + print '
' . $self->localise('SERVICE_NAME') . '' . $self->localise('SERVICE_ACCESS') . '' . $self->localise('SERVICE_ACCESS_ACTION') . '
' . $filter . '' . $prop_value . ''; + print '
'; + print ' '; + print ' '; + print ' '; + print ' '; + print ' '; + print ' '; + print ' '; + print ' '; + print '
'; + print '
'; + return ''; +} + +=head2 displayConfirmAccess + +Display confirmation message for service activation part + +=cut + +sub displayConfirmAccess { + my ($self,$service,$access) = @_; + $service = $self->{cgi}->param('service') || ''; + $access = $self->{cgi}->param('access') || ''; + + $access = 'private' if $access eq $self->localise('SERVICE_ACCESS_private'); + $access = 'localhost' if $access eq $self->localise('SERVICE_ACCESS_localhost'); + $access = 'public' if $access eq $self->localise('SERVICE_ACCESS_public'); + + my $q = $self->{cgi}; + + my $record = $config->get($service); + + print '
'; + print ' '; + print ' '; + print ' '; + print ' '; + print ' '; + print '

' . $service . '

'; + print '

' . $self->localise('ALERT' . $access) . '

'; + print ' '; + print ' '; + print '
'; + + return ''; +} + +=head2 AccessChange + +swap service access + +=cut + +sub AccessChange { + my ($self, $service,$access) = @_; + my $action; + my $startScript; + my $record = $config->get($service); + $self->debug_msg("Service: $service"); + $self->debug_msg("Actual status: " . $record->prop("access")); + + if ($service =~ /^([-\@\w.]+)$/) { + $service = $1; # $data now untainted + } else { + die "Bad data in '$service'"; # log this somewhere + } + + if ( $access eq $self->localise('SERVICE_ACCESS_localhost') ) + { + $record->set_prop("access", "localhost"); + } + elsif ( $access eq $self->localise('SERVICE_ACCESS_private') ) + { + $record->set_prop("access", "private"); + } + elsif ( $access eq $self->localise('SERVICE_ACCESS_public') ) + { + $record->set_prop("access", "public"); + } +#expand all templates + esmith::event::event_signal("service-expand"); + +# A hack since a lot db set as service don't have a service name in rc7.d +# THINK to change as same in sub ServiceChange and sub ServiceTCPChange + $service = 'dovecot' if ( $service =~ 'imap'); + $service = 'httpd-e-smith' if ( $service eq 'modSSL'); + $service = 'httpd-e-smith' if ( $service eq 'php'); + $service = 'httpd-e-smith' if ( $service eq 'imp'); + $service = 'smb' if ( $service eq 'nmbd'); + $service = 'smb' if ( $service eq 'smbd'); + $service = 'clamd' if ( $service eq 'clamav'); + $service = 'dnscache' if ( $service eq 'dnscache.forwarder'); + $service = 'httpd-e-smith' if ( $service eq 'horde'); + $service = 'httpd-e-smith' if ( $service eq 'modPerl'); + $service = 'qpsmtpd' if ( $service eq 'smtpd'); + $service = 'sqpsmtpd' if ( $service eq 'ssmtpd'); + + my $serv_status = $record->prop("status") || 'disabled'; + + $action="restart"; + + $startScript = glob("/etc/rc.d/rc7.d/S*$service"); + if ($startScript && ($serv_status eq 'enabled')){ + esmith::event::event_signal("service-access", $service, $action);} + + $self->success("SUCCESSFULLY_ACTIVATE_SERVICE"); +} + +1; diff --git a/smeserver-service_control.spec b/smeserver-service_control.spec new file mode 100644 index 0000000..28a8673 --- /dev/null +++ b/smeserver-service_control.spec @@ -0,0 +1,130 @@ +%define name smeserver-service_control +%define version 2.2 +%define release 18 +Summary: SME Server service control Panel +Name: %{name} +Version: %{version} +Release: %{release}%{?dist} +Distribution: SME Server +License: GNU GPL version 2 +Group: SMEserver/addon +Source: %{name}-%{version}.tar.xz +BuildArchitectures: noarch +BuildRoot: /var/tmp/%{name}-%{version}-buildroot +BuildRequires: e-smith-devtools +Requires: e-smith-release >= 9.0 +AutoReqProv: no + +%changelog +* Sat Sep 07 2024 cvs2git.sh aka Brian Read 2.2-18.sme +- Roll up patches and move to git repo [SME: 12338] + +* Sat Sep 07 2024 BogusDateBot +- Eliminated rpmbuild "bogus date" warnings due to inconsistent weekday, + by assuming the date is correct and changing the weekday. + +* Fri Sep 06 2024 Terry Fage 0.0.2-17.sme +- apply locale 2024-09-06.patch + +* Mon Aug 23 2021 Terry Fage 2.2-16.sme +- apply locale 2021-08-23 patch + +* Mon Mar 29 2021 Brian Read 2.2-15.sme +- Add Update event to createlinks [SME: 11036] + +* Mon Mar 29 2021 BogusDateBot +- Eliminated rpmbuild "bogus date" warnings due to inconsistent weekday, + by assuming the date is correct and changing the weekday. + Wed Feb 13 2015 --> Wed Feb 11 2015 or Fri Feb 13 2015 or Wed Feb 18 2015 or .... + +* Tue Oct 13 2020 Brian Read 2.2-14.sme +- Initial Import to SME10 tree [SME: 11036] + +* Sat Dec 07 2019 SME Translation Server 2.2-13.sme +- apply locale 2019-12-07 patch + +* Fri Dec 14 2018 john Crisp 2.2-12 +* Sat Dec 02 2017 SME Translation Server 2.2-11.sme +- apply locale 2017-12-02 patch + +* Sat Mar 25 2017 Jean-Philipe Pialasse 2.2-10.sme +- apply locale 2017-03-25 patch + +* Wed Feb 01 2017 Jean-Philipe Pialasse 2.2-9.sme +- apply locale 2017-02-02.patch + +* Wed Mar 09 2016 JP Pialasse 2.2-8.sme +- apply locale 2016-03-09 patch + +* Sat Sep 12 2015 stephane de Labrusse 2.2-7.sme +- Added smeserver-service_control-2.2-locale-2015-09-12.patch + +* Sat Aug 22 2015 stephane de Labrusse 2.2-6.sme +- Initial release to contribs9 + +* Sun Feb 15 2015 stephane de labrusse - 2.2-5 +- Services with localhost access are now manageable +- Cosmetic changes in the Panel +- Optimisation of service2adjust in createlinks + +* Fri Feb 13 2015 stephane de labrusse - 2.2-4 + Wed Feb 13 2015 --> Wed Feb 11 2015 or Fri Feb 13 2015 or Wed Feb 18 2015 or .... +- New expand-template of service-expand with a link to bootstrap-console-save +- sigusr1 to httpd when service-expand is called + +* Wed May 21 2014 stephane de labrusse - 2.0-3 +- adaptation to git use, creation of service2adjust by createlinks + +* Wed Jan 22 2014 stephane de labrusse +- first release for SME Server 8.0 thanks to Michel Van hees for his work +- Adaptation to utf8 + +* Mon Feb 11 2008 Michel Van hees +- Adding Access service swap + +* Mon Jan 21 2008 Michel Van hees +- Code cleaning + +* Mon Jan 21 2008 Michel Van hees +- Adding confirmation screen + +* Tue Jan 15 2008 Michel Van hees +- Fix bug in server-manager menu + +* Mon Jan 14 2008 Michel Van hees +- Fix bug in TCP Port panel + +* Mon Jan 14 2008 Michel Van hees +- First release + +%description +sme server administration panel to control service status and tcp port + +%prep +%setup + +%build +perl createlinks + +%install +rm -rf $RPM_BUILD_ROOT +(cd root ; find . -depth -print | cpio -dump $RPM_BUILD_ROOT) +rm -f %{name}-%{version}-filelist +/sbin/e-smith/genfilelist $RPM_BUILD_ROOT > %{name}-%{version}-filelist +echo "%doc COPYING" >> %{name}-%{version}-filelist + +%clean +rm -rf $RPM_BUILD_ROOT + +%pre +%preun + +%post +#/etc/e-smith/events/actions/navigation-conf > /dev/null 2>&1 +#echo Go to your server-manager to use new function + +%postun +#/etc/e-smith/events/actions/navigation-conf > /dev/null 2>&1 + +%files -f %{name}-%{version}-filelist +%defattr(-,root,root)