From 43ee673a90290656ab4cd250ba3a7c473693d53c Mon Sep 17 00:00:00 2001 From: opensides Date: Mon, 17 May 2010 09:44:33 +0000 Subject: [PATCH] - Removed separed pod files for manpages of gosa-si-server and gosa-si-client - 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 --- gosa-si/gosa-si-client | 59 ++++++++++++++++++++++++++++++- gosa-si/gosa-si-client.pod | 60 -------------------------------- gosa-si/gosa-si-server | 70 +++++++++++++++++++++++++++++++++++++ gosa-si/gosa-si-server.pod | 71 -------------------------------------- 4 files changed, 128 insertions(+), 132 deletions(-) delete mode 100644 gosa-si/gosa-si-client.pod delete mode 100644 gosa-si/gosa-si-server.pod diff --git a/gosa-si/gosa-si-client b/gosa-si/gosa-si-client index 19542cf56..4a521bcb9 100755 --- a/gosa-si/gosa-si-client +++ b/gosa-si/gosa-si-client @@ -10,6 +10,63 @@ # #********************************************************************* +=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, B<--config=>I + configuration file, default F + +B<-x>, B<--dump> + Dump configuration + -1 Current configuration + -2 Default Configuration + +=head1 DESCRIPTION + +B 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 or to + + +=head1 LICENCE AND COPYRIGHT + +This code is part of GOsa (L) + +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; @@ -1351,7 +1408,7 @@ if( defined $dump_config ) { # 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 deleted file mode 100644 index 507bf966e..000000000 --- a/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, B<--config=>I - configuration file, default F - -B<-x>, B<--dump> - Dump configuration - -1 Current configuration - -2 Default Configuration - -=head1 DESCRIPTION - -B 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 or to - - -=head1 LICENCE AND COPYRIGHT - -This code is part of GOsa (L) - -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 13960654c..5b21a7ced 100755 --- a/gosa-si/gosa-si-server +++ b/gosa-si/gosa-si-server @@ -9,6 +9,76 @@ # (c) 2010 by Benoit Mortier # #********************************************************************* + + +=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, B<--config=>I + configuration file, default F + +B<--no-arp> + starts script without connection to arp module + +B<-d> + 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 or to + + +=head1 LICENCE AND COPYRIGHT + +This code is part of GOsa (L) + +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 deleted file mode 100644 index 50772cd1c..000000000 --- a/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, B<--config=>I - configuration file, default F - -B<--no-arp> - starts script without connection to arp module - -B<-d> - 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 or to - - -=head1 LICENCE AND COPYRIGHT - -This code is part of GOsa (L) - -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 - - - -- 2.30.2