[X2go-Commits] x2gobroker.git - master (branch) updated: 70d45f5895ec8ca79f3b6703d9e1e30997d39c51

X2Go dev team git-admin at x2go.org
Sun Sep 16 19:08:29 CEST 2012


The branch, master has been updated
       via  70d45f5895ec8ca79f3b6703d9e1e30997d39c51 (commit)
       via  7c41ea0951e4a04f2324a7948c81d9c4e4414c29 (commit)
      from  2a9d64ae0863147ded432227b13275107ba18ff2 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit 70d45f5895ec8ca79f3b6703d9e1e30997d39c51
Author: Mike Gabriel <mike.gabriel at das-netzwerkteam.de>
Date:   Sun Sep 16 19:07:47 2012 +0200

    WARNING: do not try-out the X2Go Session Broker until announced for testing on our development mailing lists.

commit 7c41ea0951e4a04f2324a7948c81d9c4e4414c29
Author: Mike Gabriel <mike.gabriel at das-netzwerkteam.de>
Date:   Sun Sep 16 08:45:10 2012 +0200

    rename x2gobroker-ldap.pm inside its code, add Depends: libnet-ldap-perl

-----------------------------------------------------------------------

Summary of changes:
 README.dangerous-piece-of-code |   11 +++++++++++
 debian/control                 |    1 +
 lib/x2gobroker-ldap.pm         |    6 +++---
 lib/x2gobroker-zeroconf.pm     |    1 -
 4 files changed, 15 insertions(+), 4 deletions(-)
 create mode 100644 README.dangerous-piece-of-code

The diff of changes is:
diff --git a/README.dangerous-piece-of-code b/README.dangerous-piece-of-code
new file mode 100644
index 0000000..0909f32
--- /dev/null
+++ b/README.dangerous-piece-of-code
@@ -0,0 +1,11 @@
+X2Go subproject: X2Go Session Broker (x2gobroker.git)
+-----------------------------------------------------
+
+Whoever takes a look at this piece of code...
+
+It is currently a quite dangerous piece of software and not at all usable.
+
+Please stay away from it.
+
+light+love, 20120916
+Mike Gabriel
diff --git a/debian/control b/debian/control
index 0280326..10dc11a 100644
--- a/debian/control
+++ b/debian/control
@@ -72,6 +72,7 @@ Depends:
  ${misc:Depends},
  apache2 | httpd,
  perl,
+ libnet-ldap-perl,
  x2gobroker-common (>= ${source:Version}), x2gobroker-common (<< ${source:Version}.1~),
 Description: X2Go http(s) session broker (simple broker)
  X2Go is a serverbased computing environment with
diff --git a/lib/x2gobroker-ldap.pm b/lib/x2gobroker-ldap.pm
index 5e56c28..d05d63f 100644
--- a/lib/x2gobroker-ldap.pm
+++ b/lib/x2gobroker-ldap.pm
@@ -18,7 +18,7 @@
 # Free Software Foundation, Inc.,
 # 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA.
 
-package x2gobroker-simple;
+package x2gobroker-ldap;
 
 use strict;
 use Net::LDAP;
@@ -29,7 +29,7 @@ use Data::Dumper;
 
 
 my $cfg=new Config::Simple(syntax=>'ini');
-$cfg->read("/etc/x2go/x2gobroker-simple.cfg");
+$cfg->read("/etc/x2go/x2gobroker-ldap.cfg");
 my $ldapuri=$cfg->param('ldapuri');
 my $replica=$cfg->param('replica');
 my $binddn=$cfg->param('binddn');
@@ -40,7 +40,7 @@ our @EXPORT = ('checkAccess', 'listSessions', 'selectSession', 'setPass');
 
 sub getBase
 ###
-### FIXME: provide that in /etc/x2go/x2gobroker-simple.cfg
+### FIXME: provide that in /etc/x2go/x2gobroker-ldap.cfg
 ### FIXME: put the pid of this process in the lock files
 {
 	my $login=shift;
diff --git a/lib/x2gobroker-zeroconf.pm b/lib/x2gobroker-zeroconf.pm
index 5e56c28..fae529a 100644
--- a/lib/x2gobroker-zeroconf.pm
+++ b/lib/x2gobroker-zeroconf.pm
@@ -21,7 +21,6 @@
 package x2gobroker-simple;
 
 use strict;
-use Net::LDAP;
 use Config::Simple;
 use Crypt::SaltedHash;
 use MIME::Base64;


hooks/post-receive
-- 
x2gobroker.git (HTTP(S) Session broker for X2Go)

This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "x2gobroker.git" (HTTP(S) Session broker for X2Go).




More information about the x2go-commits mailing list