summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: be75b0b)
raw | patch | inline | side by side (parent: be75b0b)
author | opensides <opensides@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Mon, 17 May 2010 09:44:33 +0000 (09:44 +0000) | ||
committer | opensides <opensides@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Mon, 17 May 2010 09:44:33 +0000 (09:44 +0000) |
- Moved them inside the code to be more easier and more perl compliant
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@18505 594d385d-05f5-0310-b6e9-bd551577e9d8
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@18505 594d385d-05f5-0310-b6e9-bd551577e9d8
gosa-si/gosa-si-client | patch | blob | history | |
gosa-si/gosa-si-client.pod | [deleted file] | patch | blob | history |
gosa-si/gosa-si-server | patch | blob | history | |
gosa-si/gosa-si-server.pod | [deleted file] | patch | blob | history |
diff --git a/gosa-si/gosa-si-client b/gosa-si/gosa-si-client
index 19542cf5696087e77a49b8667f341e07d4c4b17c..4a521bcb9db01866facc64bd7a5add7585c07516 100755 (executable)
--- a/gosa-si/gosa-si-client
+++ b/gosa-si/gosa-si-client
#
#*********************************************************************
+=head1 NAME
+
+gosa-si-client - Client for GOsa support infrastructure
+
+=head1 SYNOPSIS
+
+gosa-si-client [-hvf] [-c config]
+
+=head1 OPTIONS
+
+B<-h>, B<--help>
+ print out this help message
+
+B<-v>, B<--verbose>
+ be verbose (multiple v's will increase verbosity)
+ -v ERROR level
+ -vvv WARNING + ERROR level
+ -vvvvv INFO + WARNING level
+ -vvvvvvv DEBUG + INFO level
+ -vvvvvvvvv in and out going xml messages will be displayed
+
+B<-f>, B<--foreground>
+ foregroud, process will not be forked to background
+
+B<-c> I<file>, B<--config=>I<file>
+ configuration file, default F</etc/gosa-si/client.conf>
+
+B<-x>, B<--dump>
+ Dump configuration
+ -1 Current configuration
+ -2 Default Configuration
+
+=head1 DESCRIPTION
+
+B<gosa-si-client> belongs to the support infrastructure of GOsa.
+The client registrates at a GOsa-SI-server and accepts messages from it.
+Each message is related to a working instruction which will be executed on the client.
+Depending on the message an answer can be send back to the server.
+
+=head1 BUGS
+
+Please report any bugs, or post any suggestions, to the GOsa mailing list <gosa-devel@oss.gonicus.de> or to <https://oss.gonicus.de/labs/gosa>
+
+
+=head1 LICENCE AND COPYRIGHT
+
+This code is part of GOsa (L<http://www.gosa-project.org>)
+
+Copyright (C) 2003-2010 GONICUS GmbH
+
+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.
+
+=cut
+
use strict;
use warnings;
# Ensure you put a name that won't clobber
# another program's PID file
my $pid = File::Pid->new({
- file => $pidfile,
+ file => $pid_file,
});
# Write the PID file
diff --git a/gosa-si/gosa-si-client.pod b/gosa-si/gosa-si-client.pod
+++ /dev/null
@@ -1,60 +0,0 @@
-
-=head1 NAME
-
-gosa-si-client - Client for GOsa support infrastructure
-
-=head1 SYNOPSIS
-
-gosa-si-client [-hvf] [-c config]
-
-=head1 OPTIONS
-
-B<-h>, B<--help>
- print out this help message
-
-B<-v>, B<--verbose>
- be verbose (multiple v's will increase verbosity)
- -v ERROR level
- -vvv WARNING + ERROR level
- -vvvvv INFO + WARNING level
- -vvvvvvv DEBUG + INFO level
- -vvvvvvvvv in and out going xml messages will be displayed
-
-B<-f>, B<--foreground>
- foregroud, process will not be forked to background
-
-B<-c> I<file>, B<--config=>I<file>
- configuration file, default F</etc/gosa-si/client.conf>
-
-B<-x>, B<--dump>
- Dump configuration
- -1 Current configuration
- -2 Default Configuration
-
-=head1 DESCRIPTION
-
-B<gosa-si-client> belongs to the support infrastructure of GOsa.
-The client registrates at a GOsa-SI-server and accepts messages from it.
-Each message is related to a working instruction which will be executed on the client.
-Depending on the message an answer can be send back to the server.
-
-=head1 BUGS
-
-Please report any bugs, or post any suggestions, to the GOsa mailing list <gosa-devel@oss.gonicus.de> or to <https://oss.gonicus.de/labs/gosa>
-
-
-=head1 LICENCE AND COPYRIGHT
-
-This code is part of GOsa (L<http://www.gosa-project.org>)
-
-Copyright (C) 2003-2010 GONICUS GmbH
-
-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.
-
-=cut
-
-
-
diff --git a/gosa-si/gosa-si-server b/gosa-si/gosa-si-server
index 13960654cc342a3d42a2cfde0a96748055dd12b8..5b21a7ced9acfa36a1af4bc7c0cd8c32385a0a70 100755 (executable)
--- a/gosa-si/gosa-si-server
+++ b/gosa-si/gosa-si-server
# (c) 2010 by Benoit Mortier <benoit.mortier@opensides.be>
#
#*********************************************************************
+
+
+=head1 NAME
+
+gosa-si-server -Support infrastructure for GOsa
+
+=head1 SYNOPSIS
+
+gosa-si-server [-hvf] [-c config]
+
+=head1 OPTIONS
+
+B<-h>, B<--help>
+ print out this help message
+
+B<-v>, B<--verbose>
+ be verbose (multiple v's will increase verbosity)
+ -v ERROR level
+ -vvv WARNING + ERROR level
+ -vvvvv INFO + WARNING level
+ -vvvvvvv DEBUG + INFO level
+ -vvvvvvvvv in and out going xml messages will be displayed
+
+B<-f>, B<--foreground>
+ foregroud, process will not be forked to background
+
+B<-c> I<file>, B<--config=>I<file>
+ configuration file, default F</etc/gosa-si/server.conf>
+
+B<--no-arp>
+ starts script without connection to arp module
+
+B<-d> <int>
+ if verbose level is higher than 7 'v' specified parts can be debugged
+
+ 1 : receiving messages
+ 2 : sending messages
+ 4 : encrypting/decrypting messages
+ 8 : verification if a message complies gosa-si requirements
+ 16 : message processing
+ 32 : ldap connectivity
+ 64 : database status and connectivity
+ 128 : main process
+ 256 : creation of packages_list_db
+ 512 : ARP debug information
+
+
+=head1 DESCRIPTION
+
+gosa-si-server belongs to the support infrastructure of GOsa. Several gosa-si-clients can connect to one gosa-si-server. The server take care of the message forwarding from GOsa to si-clients. At the client site each message is related to a working instruction which will be executed there. Depending of the message an answer from the client to GOsa via the server is possible. Additional to answers clients reporting events or information to the server. The server registers himself at other servers in network and shares his knowledge with them. So messages to clients which are no registrated locally will be forward to the client corresponding server. The communication within the complete SI nework is realised by XML messages.
+
+
+=head1 BUGS
+
+Please report any bugs, or post any suggestions, to the GOsa mailing list <gosa-devel@oss.gonicus.de> or to <https://oss.gonicus.de/labs/gosa>
+
+
+=head1 LICENCE AND COPYRIGHT
+
+This code is part of GOsa (L<http://www.gosa-project.org>)
+
+Copyright (C) 2003-2010 GONICUS GmbH
+
+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.
+
+=cut
+
use strict;
use warnings;
diff --git a/gosa-si/gosa-si-server.pod b/gosa-si/gosa-si-server.pod
+++ /dev/null
@@ -1,71 +0,0 @@
-
-=head1 NAME
-
-gosa-si-server -Support infrastructure for GOsa
-
-=head1 SYNOPSIS
-
-gosa-si-server [-hvf] [-c config]
-
-=head1 OPTIONS
-
-B<-h>, B<--help>
- print out this help message
-
-B<-v>, B<--verbose>
- be verbose (multiple v's will increase verbosity)
- -v ERROR level
- -vvv WARNING + ERROR level
- -vvvvv INFO + WARNING level
- -vvvvvvv DEBUG + INFO level
- -vvvvvvvvv in and out going xml messages will be displayed
-
-B<-f>, B<--foreground>
- foregroud, process will not be forked to background
-
-B<-c> I<file>, B<--config=>I<file>
- configuration file, default F</etc/gosa-si/server.conf>
-
-B<--no-arp>
- starts script without connection to arp module
-
-B<-d> <int>
- if verbose level is higher than 7 'v' specified parts can be debugged
-
- 1 : receiving messages
- 2 : sending messages
- 4 : encrypting/decrypting messages
- 8 : verification if a message complies gosa-si requirements
- 16 : message processing
- 32 : ldap connectivity
- 64 : database status and connectivity
- 128 : main process
- 256 : creation of packages_list_db
- 512 : ARP debug information
-
-
-=head1 DESCRIPTION
-
-gosa-si-server belongs to the support infrastructure of GOsa. Several gosa-si-clients can connect to one gosa-si-server. The server take care of the message forwarding from GOsa to si-clients. At the client site each message is related to a working instruction which will be executed there. Depending of the message an answer from the client to GOsa via the server is possible. Additional to answers clients reporting events or information to the server. The server registers himself at other servers in network and shares his knowledge with them. So messages to clients which are no registrated locally will be forward to the client corresponding server. The communication within the complete SI nework is realised by XML messages.
-
-
-=head1 BUGS
-
-Please report any bugs, or post any suggestions, to the GOsa mailing list <gosa-devel@oss.gonicus.de> or to <https://oss.gonicus.de/labs/gosa>
-
-
-=head1 LICENCE AND COPYRIGHT
-
-This code is part of GOsa (L<http://www.gosa-project.org>)
-
-Copyright (C) 2003-2010 GONICUS GmbH
-
-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.
-
-=cut
-
-
-