Subject: x2gobroker: incomplete install

From: Jan Engelhardt <[email-masked]>
Date: Tue, 7 May 2013 11:41:07 +0200 (CEST)

Package: x2gobroker
Version: 0.0.2.0

What is being executed:
make install DESTDIR=/bla

What is being observed:
make: Nothing to be done for `install'.

What is expected instead:
Install the just-compiled programs and python codes.

---

From: Jan Engelhardt <[email-masked]>
Date: Tue, 7 May 2013 12:25:31 +0200 (CEST)

From 45555ef541a76560dd6d9a1d322c96d06804052c Mon Sep 17 00:00:00 2001
From: Jan Engelhardt <[email-masked]>
Date: Tue, 7 May 2013 11:57:04 +0200
Subject: [PATCH] Populate install target of Makefile

---
 Makefile | 43 +++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 43 insertions(+)

diff --git a/Makefile b/Makefile
index b5c2148..02382e5 100755
--- a/Makefile
+++ b/Makefile
@@ -73,3 +73,46 @@ clean_indep:
 test:
 
 install:
+	mkdir -p "${DESTDIR}/var/lib/x2gobroker" \
+		"${DESTDIR}/var/log/x2gobroker"
+
+	# python-x2gobroker
+	python setup.py install --prefix="${PREFIX}" $${DESTDIR+--root="${DESTDIR}"}
+	mkdir -p "${DESTDIR}${ETCDIR}/broker" "${DESTDIR}/etc/pam.d"
+	${INSTALL_FILE} etc/x2gobroker.conf "${DESTDIR}${ETCDIR}/"
+	${INSTALL_FILE} etc/broker/x2gobroker-sessionprofiles.conf \
+		etc/broker/x2gobroker-loggers.conf \
+		"${DESTDIR}${ETCDIR}/broker/"
+	mkdir -p "${DESTDIR}/etc/pam.d"
+	${INSTALL_FILE} pam/x2gobroker "${DESTDIR}/etc/pam.d/"
+	
+	# x2gobroker-agent
+	mkdir -p "${DESTDIR}${LIBDIR}" "${DESTDIR}${SBINDIR}"
+	${INSTALL_PROGRAM} lib/x2gobroker-agent* "${DESTDIR}${LIBDIR}/"
+	${INSTALL_PROGRAM} sbin/x2gobroker-pubkeyauthorizer "${DESTDIR}${SBINDIR}/"
+	
+	# x2gobroker-authservice
+	mkdir -p "${DESTDIR}${SBINDIR}" "${DESTDIR}/etc/logrotate.d" \
+		"${DESTDIR}${ETCDIR}/broker"
+	${INSTALL_PROGRAM} sbin/x2gobroker-authservice "${DESTDIR}${SBINDIR}/"
+	${INSTALL_FILE} logrotate/x2gobroker-authservice \
+		"${DESTDIR}/etc/logrotate.d/"
+	${INSTALL_FILE} etc/broker/x2gobroker-authservice-logger.conf \
+		"${DESTDIR}${ETCDIR}/broker/"
+	
+	# x2gobroker-daemon
+	mkdir -p "${DESTDIR}/etc/logrotate.d/"
+	${INSTALL_FILE} logrotate/x2gobroker-daemon \
+		"${DESTDIR}/etc/logrotate.d/"
+	
+	# x2gobroker-wsgi
+	mkdir -p "${DESTDIR}${ETCDIR}" "${DESTDIR}/etc/logrotate.d"
+	${INSTALL_FILE} etc/x2gobroker-wsgi.apache.{conf,vhost} \
+		"${DESTDIR}${ETCDIR}/"
+	${INSTALL_FILE} logrotate/x2gobroker-wsgi "${DESTDIR}/etc/logrotate.d/"
+	
+	# x2gobroker
+	mkdir -p "${DESTDIR}${BINDIR}" "${DESTDIR}${SBINDIR}"
+	${INSTALL_PROGRAM} bin/x2gobroker-testauth "${DESTDIR}${BINDIR}/"
+	${INSTALL_PROGRAM} sbin/x2gobroker sbin/x2gobroker-keygen \
+		"${DESTDIR}${SBINDIR}/"
-- 
1.8.2

---

From: Mike Gabriel <[email-masked]>
Date: Tue, 14 May 2013 12:48:03 +0200

Hi Jan,

> Install the just-compiled programs and python codes.

I'd higly appreciate if we could work together on this.

The source tree of x2gobroker.git provides several binary packages to  
install (see /debian/control for details and dependencies [1]).

[1] http://code.x2go.org/gitweb?p=x2gobroker.git;a=blob;f=debian/control

python-x2gobroker (mostly covered by setup.py):

/.
/etc
/etc/default
/etc/default/python-x2gobroker
/etc/x2go
/etc/x2go/broker
/etc/x2go/broker/x2gobroker-loggers.conf
/etc/x2go/broker/x2gobroker-sessionprofiles.conf
/etc/x2go/x2gobroker.conf
/etc/pam.d
/etc/pam.d/x2gobroker
/var
/var/log
/var/log/x2gobroker
/usr
/usr/lib
/usr/lib/python2.6
/usr/lib/python2.6/dist-packages
/usr/lib/python2.6/dist-packages/x2gobroker
/usr/lib/python2.6/dist-packages/x2gobroker/web
/usr/lib/python2.6/dist-packages/x2gobroker/brokers
/usr/lib/python2.6/dist-packages/x2gobroker/tests
/usr/lib/python2.6/dist-packages/x2gobroker/nameservices
/usr/lib/python2.6/dist-packages/x2gobroker/authmechs
/usr/lib/python2.6/dist-packages/x2gobroker-0.0.2.1.egg-info
/usr/lib/python2.7
/usr/lib/python2.7/dist-packages
/usr/lib/python2.7/dist-packages/x2gobroker
/usr/lib/python2.7/dist-packages/x2gobroker/web
/usr/lib/python2.7/dist-packages/x2gobroker/brokers
/usr/lib/python2.7/dist-packages/x2gobroker/tests
/usr/lib/python2.7/dist-packages/x2gobroker/nameservices
/usr/lib/python2.7/dist-packages/x2gobroker/authmechs
/usr/lib/python2.7/dist-packages/x2gobroker-0.0.2.1.egg-info
/usr/share
/usr/share/doc
/usr/share/doc/python-x2gobroker
/usr/share/doc/python-x2gobroker/README
/usr/share/doc/python-x2gobroker/NEWS.gz
/usr/share/doc/python-x2gobroker/buildinfo_all.gz
/usr/share/doc/python-x2gobroker/copyright
/usr/share/doc/python-x2gobroker/TODO
/usr/share/doc/python-x2gobroker/changelog.Debian.gz
/usr/share/pyshared
/usr/share/pyshared/x2gobroker
/usr/share/pyshared/x2gobroker/web
/usr/share/pyshared/x2gobroker/web/extras.py
/usr/share/pyshared/x2gobroker/web/__init__.py
/usr/share/pyshared/x2gobroker/web/uccs.py
/usr/share/pyshared/x2gobroker/web/html.py
/usr/share/pyshared/x2gobroker/web/plain.py
/usr/share/pyshared/x2gobroker/web/json.py
/usr/share/pyshared/x2gobroker/brokers
/usr/share/pyshared/x2gobroker/brokers/zeroconf_broker.py
/usr/share/pyshared/x2gobroker/brokers/ldap_broker.py
/usr/share/pyshared/x2gobroker/brokers/base_broker.py
/usr/share/pyshared/x2gobroker/brokers/__init__.py
/usr/share/pyshared/x2gobroker/brokers/inifile_broker.py
/usr/share/pyshared/x2gobroker/utils.py
/usr/share/pyshared/x2gobroker/defaults.py
/usr/share/pyshared/x2gobroker/agent.py
/usr/share/pyshared/x2gobroker/basicauth.py
/usr/share/pyshared/x2gobroker/authservice.py
/usr/share/pyshared/x2gobroker/__init__.py
/usr/share/pyshared/x2gobroker/tests
/usr/share/pyshared/x2gobroker/tests/test_broker_zeroconf.py
/usr/share/pyshared/x2gobroker/tests/test_broker_inifile.py
/usr/share/pyshared/x2gobroker/tests/runalltests.py
/usr/share/pyshared/x2gobroker/tests/__init__.py
/usr/share/pyshared/x2gobroker/tests/test_uccsjson.py
/usr/share/pyshared/x2gobroker/tests/test_web_uccs_zeroconf.py
/usr/share/pyshared/x2gobroker/tests/test_web_plain_zeroconf.py
/usr/share/pyshared/x2gobroker/tests/test_utils.py
/usr/share/pyshared/x2gobroker/tests/test_broker_base.py
/usr/share/pyshared/x2gobroker/tests/test_web_plain_inifile.py
/usr/share/pyshared/x2gobroker/tests/test_web_plain_base.py
/usr/share/pyshared/x2gobroker/x2gobroker_exceptions.py
/usr/share/pyshared/x2gobroker/nameservices
/usr/share/pyshared/x2gobroker/nameservices/libnss_nameservice.py
/usr/share/pyshared/x2gobroker/nameservices/__init__.py
/usr/share/pyshared/x2gobroker/nameservices/testsuite_nameservice.py
/usr/share/pyshared/x2gobroker/nameservices/base_nameservice.py
/usr/share/pyshared/x2gobroker/config.py
/usr/share/pyshared/x2gobroker/_paramiko.py
/usr/share/pyshared/x2gobroker/authmechs
/usr/share/pyshared/x2gobroker/authmechs/testsuite_authmech.py
/usr/share/pyshared/x2gobroker/authmechs/htpasswd_authmech.py
/usr/share/pyshared/x2gobroker/authmechs/base_authmech.py
/usr/share/pyshared/x2gobroker/authmechs/pam_authmech.py
/usr/share/pyshared/x2gobroker/authmechs/__init__.py
/usr/share/pyshared/x2gobroker/uccsjson.py
/usr/share/pyshared/x2gobroker/loggers.py
/usr/share/pyshared/x2gobroker-0.0.2.1.egg-info
/usr/share/pyshared/x2gobroker-0.0.2.1.egg-info/SOURCES.txt
/usr/share/pyshared/x2gobroker-0.0.2.1.egg-info/dependency_links.txt
/usr/share/pyshared/x2gobroker-0.0.2.1.egg-info/top_level.txt
/usr/share/pyshared/x2gobroker-0.0.2.1.egg-info/PKG-INFO
/usr/lib/python2.6/dist-packages/x2gobroker/web/extras.py
/usr/lib/python2.6/dist-packages/x2gobroker/web/__init__.py
/usr/lib/python2.6/dist-packages/x2gobroker/web/uccs.py
/usr/lib/python2.6/dist-packages/x2gobroker/web/html.py
/usr/lib/python2.6/dist-packages/x2gobroker/web/plain.py
/usr/lib/python2.6/dist-packages/x2gobroker/web/json.py
/usr/lib/python2.6/dist-packages/x2gobroker/brokers/zeroconf_broker.py
/usr/lib/python2.6/dist-packages/x2gobroker/brokers/ldap_broker.py
/usr/lib/python2.6/dist-packages/x2gobroker/brokers/base_broker.py
/usr/lib/python2.6/dist-packages/x2gobroker/brokers/__init__.py
/usr/lib/python2.6/dist-packages/x2gobroker/brokers/inifile_broker.py
/usr/lib/python2.6/dist-packages/x2gobroker/utils.py
/usr/lib/python2.6/dist-packages/x2gobroker/defaults.py
/usr/lib/python2.6/dist-packages/x2gobroker/agent.py
/usr/lib/python2.6/dist-packages/x2gobroker/basicauth.py
/usr/lib/python2.6/dist-packages/x2gobroker/authservice.py
/usr/lib/python2.6/dist-packages/x2gobroker/__init__.py
/usr/lib/python2.6/dist-packages/x2gobroker/tests/test_broker_zeroconf.py
/usr/lib/python2.6/dist-packages/x2gobroker/tests/test_broker_inifile.py
/usr/lib/python2.6/dist-packages/x2gobroker/tests/runalltests.py
/usr/lib/python2.6/dist-packages/x2gobroker/tests/__init__.py
/usr/lib/python2.6/dist-packages/x2gobroker/tests/test_uccsjson.py
/usr/lib/python2.6/dist-packages/x2gobroker/tests/test_web_uccs_zeroconf.py
/usr/lib/python2.6/dist-packages/x2gobroker/tests/test_web_plain_zeroconf.py
/usr/lib/python2.6/dist-packages/x2gobroker/tests/test_utils.py
/usr/lib/python2.6/dist-packages/x2gobroker/tests/test_broker_base.py
/usr/lib/python2.6/dist-packages/x2gobroker/tests/test_web_plain_inifile.py
/usr/lib/python2.6/dist-packages/x2gobroker/tests/test_web_plain_base.py
/usr/lib/python2.6/dist-packages/x2gobroker/x2gobroker_exceptions.py
/usr/lib/python2.6/dist-packages/x2gobroker/nameservices/libnss_nameservice.py
/usr/lib/python2.6/dist-packages/x2gobroker/nameservices/__init__.py
/usr/lib/python2.6/dist-packages/x2gobroker/nameservices/testsuite_nameservice.py
/usr/lib/python2.6/dist-packages/x2gobroker/nameservices/base_nameservice.py
/usr/lib/python2.6/dist-packages/x2gobroker/config.py
/usr/lib/python2.6/dist-packages/x2gobroker/_paramiko.py
/usr/lib/python2.6/dist-packages/x2gobroker/authmechs/testsuite_authmech.py
/usr/lib/python2.6/dist-packages/x2gobroker/authmechs/htpasswd_authmech.py
/usr/lib/python2.6/dist-packages/x2gobroker/authmechs/base_authmech.py
/usr/lib/python2.6/dist-packages/x2gobroker/authmechs/pam_authmech.py
/usr/lib/python2.6/dist-packages/x2gobroker/authmechs/__init__.py
/usr/lib/python2.6/dist-packages/x2gobroker/uccsjson.py
/usr/lib/python2.6/dist-packages/x2gobroker/loggers.py
/usr/lib/python2.6/dist-packages/x2gobroker-0.0.2.1.egg-info/SOURCES.txt
/usr/lib/python2.6/dist-packages/x2gobroker-0.0.2.1.egg-info/dependency_links.txt
/usr/lib/python2.6/dist-packages/x2gobroker-0.0.2.1.egg-info/top_level.txt
/usr/lib/python2.6/dist-packages/x2gobroker-0.0.2.1.egg-info/PKG-INFO
/usr/lib/python2.7/dist-packages/x2gobroker/web/extras.py
/usr/lib/python2.7/dist-packages/x2gobroker/web/__init__.py
/usr/lib/python2.7/dist-packages/x2gobroker/web/uccs.py
/usr/lib/python2.7/dist-packages/x2gobroker/web/html.py
/usr/lib/python2.7/dist-packages/x2gobroker/web/plain.py
/usr/lib/python2.7/dist-packages/x2gobroker/web/json.py
/usr/lib/python2.7/dist-packages/x2gobroker/brokers/zeroconf_broker.py
/usr/lib/python2.7/dist-packages/x2gobroker/brokers/ldap_broker.py
/usr/lib/python2.7/dist-packages/x2gobroker/brokers/base_broker.py
/usr/lib/python2.7/dist-packages/x2gobroker/brokers/__init__.py
/usr/lib/python2.7/dist-packages/x2gobroker/brokers/inifile_broker.py
/usr/lib/python2.7/dist-packages/x2gobroker/utils.py
/usr/lib/python2.7/dist-packages/x2gobroker/defaults.py
/usr/lib/python2.7/dist-packages/x2gobroker/agent.py
/usr/lib/python2.7/dist-packages/x2gobroker/basicauth.py
/usr/lib/python2.7/dist-packages/x2gobroker/authservice.py
/usr/lib/python2.7/dist-packages/x2gobroker/__init__.py
/usr/lib/python2.7/dist-packages/x2gobroker/tests/test_broker_zeroconf.py
/usr/lib/python2.7/dist-packages/x2gobroker/tests/test_broker_inifile.py
/usr/lib/python2.7/dist-packages/x2gobroker/tests/runalltests.py
/usr/lib/python2.7/dist-packages/x2gobroker/tests/__init__.py
/usr/lib/python2.7/dist-packages/x2gobroker/tests/test_uccsjson.py
/usr/lib/python2.7/dist-packages/x2gobroker/tests/test_web_uccs_zeroconf.py
/usr/lib/python2.7/dist-packages/x2gobroker/tests/test_web_plain_zeroconf.py
/usr/lib/python2.7/dist-packages/x2gobroker/tests/test_utils.py
/usr/lib/python2.7/dist-packages/x2gobroker/tests/test_broker_base.py
/usr/lib/python2.7/dist-packages/x2gobroker/tests/test_web_plain_inifile.py
/usr/lib/python2.7/dist-packages/x2gobroker/tests/test_web_plain_base.py
/usr/lib/python2.7/dist-packages/x2gobroker/x2gobroker_exceptions.py
/usr/lib/python2.7/dist-packages/x2gobroker/nameservices/libnss_nameservice.py
/usr/lib/python2.7/dist-packages/x2gobroker/nameservices/__init__.py
/usr/lib/python2.7/dist-packages/x2gobroker/nameservices/testsuite_nameservice.py
/usr/lib/python2.7/dist-packages/x2gobroker/nameservices/base_nameservice.py
/usr/lib/python2.7/dist-packages/x2gobroker/config.py
/usr/lib/python2.7/dist-packages/x2gobroker/_paramiko.py
/usr/lib/python2.7/dist-packages/x2gobroker/authmechs/testsuite_authmech.py
/usr/lib/python2.7/dist-packages/x2gobroker/authmechs/htpasswd_authmech.py
/usr/lib/python2.7/dist-packages/x2gobroker/authmechs/base_authmech.py
/usr/lib/python2.7/dist-packages/x2gobroker/authmechs/pam_authmech.py
/usr/lib/python2.7/dist-packages/x2gobroker/authmechs/__init__.py
/usr/lib/python2.7/dist-packages/x2gobroker/uccsjson.py
/usr/lib/python2.7/dist-packages/x2gobroker/loggers.py
/usr/lib/python2.7/dist-packages/x2gobroker-0.0.2.1.egg-info/SOURCES.txt
/usr/lib/python2.7/dist-packages/x2gobroker-0.0.2.1.egg-info/dependency_links.txt
/usr/lib/python2.7/dist-packages/x2gobroker-0.0.2.1.egg-info/top_level.txt
/usr/lib/python2.7/dist-packages/x2gobroker-0.0.2.1.egg-info/PKG-INFO

x2gobroker:

/.
/usr
/usr/sbin
/usr/sbin/x2gobroker
/usr/sbin/x2gobroker-keygen
/usr/share
/usr/share/man
/usr/share/man/man8
/usr/share/man/man8/x2gobroker-keygen.8.gz
/usr/share/man/man8/x2gobroker.8.gz
/usr/share/man/man8/x2gobroker-testauth.8.gz
/usr/share/doc
/usr/share/doc/x2gobroker
/usr/share/doc/x2gobroker/README
/usr/share/doc/x2gobroker/NEWS.gz
/usr/share/doc/x2gobroker/buildinfo_all.gz
/usr/share/doc/x2gobroker/copyright
/usr/share/doc/x2gobroker/TODO
/usr/share/doc/x2gobroker/changelog.Debian.gz
/usr/bin
/usr/bin/x2gobroker-testauth

x2gobroker-authservice:

/.
/etc
/etc/default
/etc/default/x2gobroker-authservice
/etc/logrotate.d
/etc/logrotate.d/x2gobroker-authservice
/etc/init.d
/etc/init.d/x2gobroker-authservice
/etc/x2go
/etc/x2go/broker
/etc/x2go/broker/x2gobroker-authservice-logger.conf
/usr
/usr/sbin
/usr/sbin/x2gobroker-authservice
/usr/share
/usr/share/man
/usr/share/man/man8
/usr/share/man/man8/x2gobroker-authservice.8.gz
/usr/share/doc
/usr/share/doc/x2gobroker-authservice
/usr/share/doc/x2gobroker-authservice/README
/usr/share/doc/x2gobroker-authservice/NEWS.gz
/usr/share/doc/x2gobroker-authservice/buildinfo_all.gz
/usr/share/doc/x2gobroker-authservice/copyright
/usr/share/doc/x2gobroker-authservice/TODO
/usr/share/doc/x2gobroker-authservice/changelog.Debian.gz

x2gobroker-daemon:

/.
/etc
/etc/default
/etc/default/x2gobroker-daemon
/etc/logrotate.d
/etc/logrotate.d/x2gobroker-daemon
/etc/init.d
/etc/init.d/x2gobroker-daemon
/usr
/usr/share
/usr/share/doc
/usr/share/doc/x2gobroker-daemon
/usr/share/doc/x2gobroker-daemon/README
/usr/share/doc/x2gobroker-daemon/NEWS.gz
/usr/share/doc/x2gobroker-daemon/buildinfo_all.gz
/usr/share/doc/x2gobroker-daemon/copyright
/usr/share/doc/x2gobroker-daemon/TODO
/usr/share/doc/x2gobroker-daemon/changelog.Debian.gz

x2gobroker-wsgi:

/.
/etc
/etc/apache2
/etc/apache2/sites-available
/etc/apache2/conf.d
/etc/logrotate.d
/etc/logrotate.d/x2gobroker-wsgi
/etc/x2go
/etc/x2go/x2gobroker-wsgi.apache.vhost
/etc/x2go/x2gobroker-wsgi.apache.conf
/usr
/usr/share
/usr/share/doc
/usr/share/doc/x2gobroker-wsgi
/usr/share/doc/x2gobroker-wsgi/README
/usr/share/doc/x2gobroker-wsgi/NEWS.gz
/usr/share/doc/x2gobroker-wsgi/buildinfo_all.gz
/usr/share/doc/x2gobroker-wsgi/copyright
/usr/share/doc/x2gobroker-wsgi/TODO
/usr/share/doc/x2gobroker-wsgi/changelog.Debian.gz
/etc/apache2/sites-available/x2gobroker
/etc/apache2/conf.d/x2gobroker-wsgi

x2gobroker-agent:

/.
/usr
/usr/lib
/usr/lib/x2go
/usr/lib/x2go/x2gobroker-agent.pl
/usr/lib/x2go/x2gobroker-agent
/usr/sbin
/usr/sbin/x2gobroker-pubkeyauthorizer
/usr/share
/usr/share/man
/usr/share/man/man8
/usr/share/man/man8/x2gobroker-pubkeyauthorizer.8.gz
/usr/share/doc
/usr/share/doc/x2gobroker-agent
/usr/share/doc/x2gobroker-agent/README
/usr/share/doc/x2gobroker-agent/NEWS.gz
/usr/share/doc/x2gobroker-agent/copyright
/usr/share/doc/x2gobroker-agent/TODO
/usr/share/doc/x2gobroker-agent/buildinfo_amd64.gz
/usr/share/doc/x2gobroker-agent/changelog.Debian.gz

Let me know if you are available (via your contract with Michael?) to  
work on this. This will tremendously speed up the fixture of this bug.

Thanks+Greets,
Mike

-- 

DAS-NETZWERKTEAM
mike gabriel, herweg 7, 24357 fleckeby
fon: +49 (1520) 1976 148

GnuPG Key ID 0x25771B31
mail: [email-masked], http://das-netzwerkteam.de

freeBusy:
https://mail.das-netzwerkteam.de/freebusy/m.gabriel%40das-netzwerkteam.de.xfb

---

From: Jan Engelhardt <[email-masked]>
Date: Wed, 15 May 2013 00:33:00 +0200 (CEST)

On Tuesday 2013-05-14 12:48, Mike Gabriel wrote:
> The source tree of x2gobroker.git provides several binary packages to install
> (see /debian/control for details and dependencies [1]).

I have looked at /debian/*.install and wrote the Makefile
(posted to this bug) based upon that for a start.
If it is not complete, this can be addresses in further
patches on top.

---

From: Jan Engelhardt <[email-masked]>
Date: Wed, 15 May 2013 16:37:06 +0200 (CEST)

> /etc/default/python-x2gobroker
[...]

Ich habe keinen Plan, wo die Datei herkommen soll. Sie ist
in /debian/* absolut nicht referenziert.

--- yourlist	2013-05-15 16:34:44.890113044 +0200
+++ susepkg	2013-05-15 16:31:32.657658085 +0200
@@ -1,22 +1,11 @@
-/etc
-/etc/apache2
-/etc/apache2/conf.d
-/etc/apache2/conf.d/x2gobroker-wsgi
-/etc/apache2/sites-available
-/etc/apache2/sites-available/x2gobroker
-/etc/default
-/etc/default/python-x2gobroker
-/etc/default/x2gobroker-authservice
-/etc/default/x2gobroker-daemon
-/etc/init.d
-/etc/init.d/x2gobroker-authservice
-/etc/init.d/x2gobroker-daemon
-/etc/logrotate.d
 /etc/logrotate.d/x2gobroker-authservice
 /etc/logrotate.d/x2gobroker-daemon
 /etc/logrotate.d/x2gobroker-wsgi
 /etc/pam.d
 /etc/pam.d/x2gobroker
+/etc/permissions.d/x2gobroker.easy
+/etc/permissions.d/x2gobroker.paranoid
+/etc/permissions.d/x2gobroker.secure
 /etc/x2go
 /etc/x2go/broker
 /etc/x2go/broker/x2gobroker-authservice-logger.conf
@@ -25,178 +14,108 @@
 /etc/x2go/x2gobroker-wsgi.apache.conf
 /etc/x2go/x2gobroker-wsgi.apache.vhost
 /etc/x2go/x2gobroker.conf
-/usr
-/usr/bin
 /usr/bin/x2gobroker-testauth
-/usr/lib
-/usr/lib/python2.7
-/usr/lib/python2.7/site-packages
 /usr/lib/python2.7/site-packages/x2gobroker
-/usr/lib/python2.7/site-packages/x2gobroker-0.0.2.1.egg-info
-/usr/lib/python2.7/site-packages/x2gobroker-0.0.2.1.egg-info/PKG-INFO
-/usr/lib/python2.7/site-packages/x2gobroker-0.0.2.1.egg-info/SOURCES.txt
-/usr/lib/python2.7/site-packages/x2gobroker-0.0.2.1.egg-info/dependency_links.txt
-/usr/lib/python2.7/site-packages/x2gobroker-0.0.2.1.egg-info/top_level.txt
+/usr/lib/python2.7/site-packages/x2gobroker-0.0.1.2-py2.7.egg-info
+/usr/lib/python2.7/site-packages/x2gobroker-0.0.1.2-py2.7.egg-info/PKG-INFO
+/usr/lib/python2.7/site-packages/x2gobroker-0.0.1.2-py2.7.egg-info/SOURCES.txt
+/usr/lib/python2.7/site-packages/x2gobroker-0.0.1.2-py2.7.egg-info/dependency_links.txt
+/usr/lib/python2.7/site-packages/x2gobroker-0.0.1.2-py2.7.egg-info/top_level.txt
 /usr/lib/python2.7/site-packages/x2gobroker/__init__.py
+/usr/lib/python2.7/site-packages/x2gobroker/__init__.pyc
 /usr/lib/python2.7/site-packages/x2gobroker/_paramiko.py
+/usr/lib/python2.7/site-packages/x2gobroker/_paramiko.pyc
 /usr/lib/python2.7/site-packages/x2gobroker/agent.py
+/usr/lib/python2.7/site-packages/x2gobroker/agent.pyc
 /usr/lib/python2.7/site-packages/x2gobroker/authmechs
 /usr/lib/python2.7/site-packages/x2gobroker/authmechs/__init__.py
+/usr/lib/python2.7/site-packages/x2gobroker/authmechs/__init__.pyc
 /usr/lib/python2.7/site-packages/x2gobroker/authmechs/base_authmech.py
+/usr/lib/python2.7/site-packages/x2gobroker/authmechs/base_authmech.pyc
 /usr/lib/python2.7/site-packages/x2gobroker/authmechs/htpasswd_authmech.py
+/usr/lib/python2.7/site-packages/x2gobroker/authmechs/htpasswd_authmech.pyc
 /usr/lib/python2.7/site-packages/x2gobroker/authmechs/pam_authmech.py
+/usr/lib/python2.7/site-packages/x2gobroker/authmechs/pam_authmech.pyc
 /usr/lib/python2.7/site-packages/x2gobroker/authmechs/testsuite_authmech.py
+/usr/lib/python2.7/site-packages/x2gobroker/authmechs/testsuite_authmech.pyc
 /usr/lib/python2.7/site-packages/x2gobroker/authservice.py
+/usr/lib/python2.7/site-packages/x2gobroker/authservice.pyc
 /usr/lib/python2.7/site-packages/x2gobroker/basicauth.py
+/usr/lib/python2.7/site-packages/x2gobroker/basicauth.pyc
 /usr/lib/python2.7/site-packages/x2gobroker/brokers
 /usr/lib/python2.7/site-packages/x2gobroker/brokers/__init__.py
+/usr/lib/python2.7/site-packages/x2gobroker/brokers/__init__.pyc
 /usr/lib/python2.7/site-packages/x2gobroker/brokers/base_broker.py
+/usr/lib/python2.7/site-packages/x2gobroker/brokers/base_broker.pyc
 /usr/lib/python2.7/site-packages/x2gobroker/brokers/inifile_broker.py
+/usr/lib/python2.7/site-packages/x2gobroker/brokers/inifile_broker.pyc
 /usr/lib/python2.7/site-packages/x2gobroker/brokers/ldap_broker.py
+/usr/lib/python2.7/site-packages/x2gobroker/brokers/ldap_broker.pyc
 /usr/lib/python2.7/site-packages/x2gobroker/brokers/zeroconf_broker.py
+/usr/lib/python2.7/site-packages/x2gobroker/brokers/zeroconf_broker.pyc
 /usr/lib/python2.7/site-packages/x2gobroker/config.py
+/usr/lib/python2.7/site-packages/x2gobroker/config.pyc
 /usr/lib/python2.7/site-packages/x2gobroker/defaults.py
+/usr/lib/python2.7/site-packages/x2gobroker/defaults.pyc
 /usr/lib/python2.7/site-packages/x2gobroker/loggers.py
+/usr/lib/python2.7/site-packages/x2gobroker/loggers.pyc
 /usr/lib/python2.7/site-packages/x2gobroker/nameservices
 /usr/lib/python2.7/site-packages/x2gobroker/nameservices/__init__.py
+/usr/lib/python2.7/site-packages/x2gobroker/nameservices/__init__.pyc
 /usr/lib/python2.7/site-packages/x2gobroker/nameservices/base_nameservice.py
+/usr/lib/python2.7/site-packages/x2gobroker/nameservices/base_nameservice.pyc
 /usr/lib/python2.7/site-packages/x2gobroker/nameservices/libnss_nameservice.py
+/usr/lib/python2.7/site-packages/x2gobroker/nameservices/libnss_nameservice.pyc
 /usr/lib/python2.7/site-packages/x2gobroker/nameservices/testsuite_nameservice.py
+/usr/lib/python2.7/site-packages/x2gobroker/nameservices/testsuite_nameservice.pyc
 /usr/lib/python2.7/site-packages/x2gobroker/tests
 /usr/lib/python2.7/site-packages/x2gobroker/tests/__init__.py
+/usr/lib/python2.7/site-packages/x2gobroker/tests/__init__.pyc
 /usr/lib/python2.7/site-packages/x2gobroker/tests/runalltests.py
+/usr/lib/python2.7/site-packages/x2gobroker/tests/runalltests.pyc
 /usr/lib/python2.7/site-packages/x2gobroker/tests/test_broker_base.py
+/usr/lib/python2.7/site-packages/x2gobroker/tests/test_broker_base.pyc
 /usr/lib/python2.7/site-packages/x2gobroker/tests/test_broker_inifile.py
+/usr/lib/python2.7/site-packages/x2gobroker/tests/test_broker_inifile.pyc
 /usr/lib/python2.7/site-packages/x2gobroker/tests/test_broker_zeroconf.py
+/usr/lib/python2.7/site-packages/x2gobroker/tests/test_broker_zeroconf.pyc
 /usr/lib/python2.7/site-packages/x2gobroker/tests/test_uccsjson.py
+/usr/lib/python2.7/site-packages/x2gobroker/tests/test_uccsjson.pyc
 /usr/lib/python2.7/site-packages/x2gobroker/tests/test_utils.py
+/usr/lib/python2.7/site-packages/x2gobroker/tests/test_utils.pyc
 /usr/lib/python2.7/site-packages/x2gobroker/tests/test_web_plain_base.py
+/usr/lib/python2.7/site-packages/x2gobroker/tests/test_web_plain_base.pyc
 /usr/lib/python2.7/site-packages/x2gobroker/tests/test_web_plain_inifile.py
+/usr/lib/python2.7/site-packages/x2gobroker/tests/test_web_plain_inifile.pyc
 /usr/lib/python2.7/site-packages/x2gobroker/tests/test_web_plain_zeroconf.py
+/usr/lib/python2.7/site-packages/x2gobroker/tests/test_web_plain_zeroconf.pyc
 /usr/lib/python2.7/site-packages/x2gobroker/tests/test_web_uccs_zeroconf.py
+/usr/lib/python2.7/site-packages/x2gobroker/tests/test_web_uccs_zeroconf.pyc
 /usr/lib/python2.7/site-packages/x2gobroker/uccsjson.py
+/usr/lib/python2.7/site-packages/x2gobroker/uccsjson.pyc
 /usr/lib/python2.7/site-packages/x2gobroker/utils.py
+/usr/lib/python2.7/site-packages/x2gobroker/utils.pyc
 /usr/lib/python2.7/site-packages/x2gobroker/web
 /usr/lib/python2.7/site-packages/x2gobroker/web/__init__.py
+/usr/lib/python2.7/site-packages/x2gobroker/web/__init__.pyc
 /usr/lib/python2.7/site-packages/x2gobroker/web/extras.py
+/usr/lib/python2.7/site-packages/x2gobroker/web/extras.pyc
 /usr/lib/python2.7/site-packages/x2gobroker/web/html.py
+/usr/lib/python2.7/site-packages/x2gobroker/web/html.pyc
 /usr/lib/python2.7/site-packages/x2gobroker/web/json.py
+/usr/lib/python2.7/site-packages/x2gobroker/web/json.pyc
 /usr/lib/python2.7/site-packages/x2gobroker/web/plain.py
+/usr/lib/python2.7/site-packages/x2gobroker/web/plain.pyc
 /usr/lib/python2.7/site-packages/x2gobroker/web/uccs.py
+/usr/lib/python2.7/site-packages/x2gobroker/web/uccs.pyc
 /usr/lib/python2.7/site-packages/x2gobroker/x2gobroker_exceptions.py
+/usr/lib/python2.7/site-packages/x2gobroker/x2gobroker_exceptions.pyc
 /usr/lib/x2go
 /usr/lib/x2go/x2gobroker-agent
 /usr/lib/x2go/x2gobroker-agent.pl
-/usr/sbin
 /usr/sbin/x2gobroker
 /usr/sbin/x2gobroker-authservice
 /usr/sbin/x2gobroker-keygen
 /usr/sbin/x2gobroker-pubkeyauthorizer
-/usr/share
-/usr/share/doc
-/usr/share/doc/python-x2gobroker
-/usr/share/doc/python-x2gobroker/NEWS.gz
-/usr/share/doc/python-x2gobroker/README
-/usr/share/doc/python-x2gobroker/TODO
-/usr/share/doc/python-x2gobroker/buildinfo_all.gz
-/usr/share/doc/python-x2gobroker/changelog.Debian.gz
-/usr/share/doc/python-x2gobroker/copyright
-/usr/share/doc/x2gobroker
-/usr/share/doc/x2gobroker-agent
-/usr/share/doc/x2gobroker-agent/NEWS.gz
-/usr/share/doc/x2gobroker-agent/README
-/usr/share/doc/x2gobroker-agent/TODO
-/usr/share/doc/x2gobroker-agent/buildinfo_amd64.gz
-/usr/share/doc/x2gobroker-agent/changelog.Debian.gz
-/usr/share/doc/x2gobroker-agent/copyright
-/usr/share/doc/x2gobroker-authservice
-/usr/share/doc/x2gobroker-authservice/NEWS.gz
-/usr/share/doc/x2gobroker-authservice/README
-/usr/share/doc/x2gobroker-authservice/TODO
-/usr/share/doc/x2gobroker-authservice/buildinfo_all.gz
-/usr/share/doc/x2gobroker-authservice/changelog.Debian.gz
-/usr/share/doc/x2gobroker-authservice/copyright
-/usr/share/doc/x2gobroker-daemon
-/usr/share/doc/x2gobroker-daemon/NEWS.gz
-/usr/share/doc/x2gobroker-daemon/README
-/usr/share/doc/x2gobroker-daemon/TODO
-/usr/share/doc/x2gobroker-daemon/buildinfo_all.gz
-/usr/share/doc/x2gobroker-daemon/changelog.Debian.gz
-/usr/share/doc/x2gobroker-daemon/copyright
-/usr/share/doc/x2gobroker-wsgi
-/usr/share/doc/x2gobroker-wsgi/NEWS.gz
-/usr/share/doc/x2gobroker-wsgi/README
-/usr/share/doc/x2gobroker-wsgi/TODO
-/usr/share/doc/x2gobroker-wsgi/buildinfo_all.gz
-/usr/share/doc/x2gobroker-wsgi/changelog.Debian.gz
-/usr/share/doc/x2gobroker-wsgi/copyright
-/usr/share/doc/x2gobroker/NEWS.gz
-/usr/share/doc/x2gobroker/README
-/usr/share/doc/x2gobroker/TODO
-/usr/share/doc/x2gobroker/buildinfo_all.gz
-/usr/share/doc/x2gobroker/changelog.Debian.gz
-/usr/share/doc/x2gobroker/copyright
-/usr/share/man
-/usr/share/man/man8
-/usr/share/man/man8/x2gobroker-authservice.8.gz
-/usr/share/man/man8/x2gobroker-keygen.8.gz
-/usr/share/man/man8/x2gobroker-pubkeyauthorizer.8.gz
-/usr/share/man/man8/x2gobroker-testauth.8.gz
-/usr/share/man/man8/x2gobroker.8.gz
-/usr/share/pyshared
-/usr/share/pyshared/x2gobroker
-/usr/share/pyshared/x2gobroker-0.0.2.1.egg-info
-/usr/share/pyshared/x2gobroker-0.0.2.1.egg-info/PKG-INFO
-/usr/share/pyshared/x2gobroker-0.0.2.1.egg-info/SOURCES.txt
-/usr/share/pyshared/x2gobroker-0.0.2.1.egg-info/dependency_links.txt
-/usr/share/pyshared/x2gobroker-0.0.2.1.egg-info/top_level.txt
-/usr/share/pyshared/x2gobroker/__init__.py
-/usr/share/pyshared/x2gobroker/_paramiko.py
-/usr/share/pyshared/x2gobroker/agent.py
-/usr/share/pyshared/x2gobroker/authmechs
-/usr/share/pyshared/x2gobroker/authmechs/__init__.py
-/usr/share/pyshared/x2gobroker/authmechs/base_authmech.py
-/usr/share/pyshared/x2gobroker/authmechs/htpasswd_authmech.py
-/usr/share/pyshared/x2gobroker/authmechs/pam_authmech.py
-/usr/share/pyshared/x2gobroker/authmechs/testsuite_authmech.py
-/usr/share/pyshared/x2gobroker/authservice.py
-/usr/share/pyshared/x2gobroker/basicauth.py
-/usr/share/pyshared/x2gobroker/brokers
-/usr/share/pyshared/x2gobroker/brokers/__init__.py
-/usr/share/pyshared/x2gobroker/brokers/base_broker.py
-/usr/share/pyshared/x2gobroker/brokers/inifile_broker.py
-/usr/share/pyshared/x2gobroker/brokers/ldap_broker.py
-/usr/share/pyshared/x2gobroker/brokers/zeroconf_broker.py
-/usr/share/pyshared/x2gobroker/config.py
-/usr/share/pyshared/x2gobroker/defaults.py
-/usr/share/pyshared/x2gobroker/loggers.py
-/usr/share/pyshared/x2gobroker/nameservices
-/usr/share/pyshared/x2gobroker/nameservices/__init__.py
-/usr/share/pyshared/x2gobroker/nameservices/base_nameservice.py
-/usr/share/pyshared/x2gobroker/nameservices/libnss_nameservice.py
-/usr/share/pyshared/x2gobroker/nameservices/testsuite_nameservice.py
-/usr/share/pyshared/x2gobroker/tests
-/usr/share/pyshared/x2gobroker/tests/__init__.py
-/usr/share/pyshared/x2gobroker/tests/runalltests.py
-/usr/share/pyshared/x2gobroker/tests/test_broker_base.py
-/usr/share/pyshared/x2gobroker/tests/test_broker_inifile.py
-/usr/share/pyshared/x2gobroker/tests/test_broker_zeroconf.py
-/usr/share/pyshared/x2gobroker/tests/test_uccsjson.py
-/usr/share/pyshared/x2gobroker/tests/test_utils.py
-/usr/share/pyshared/x2gobroker/tests/test_web_plain_base.py
-/usr/share/pyshared/x2gobroker/tests/test_web_plain_inifile.py
-/usr/share/pyshared/x2gobroker/tests/test_web_plain_zeroconf.py
-/usr/share/pyshared/x2gobroker/tests/test_web_uccs_zeroconf.py
-/usr/share/pyshared/x2gobroker/uccsjson.py
-/usr/share/pyshared/x2gobroker/utils.py
-/usr/share/pyshared/x2gobroker/web
-/usr/share/pyshared/x2gobroker/web/__init__.py
-/usr/share/pyshared/x2gobroker/web/extras.py
-/usr/share/pyshared/x2gobroker/web/html.py
-/usr/share/pyshared/x2gobroker/web/json.py
-/usr/share/pyshared/x2gobroker/web/plain.py
-/usr/share/pyshared/x2gobroker/web/uccs.py
-/usr/share/pyshared/x2gobroker/x2gobroker_exceptions.py
-/var
-/var/log
+/var/lib/x2gobroker
 /var/log/x2gobroker