-
Committer:
Teddy Hogeborn
-
Date:
2016-03-09 21:23:21 UTC
-
Revision ID:
teddy@recompile.se-20160309212321-2qlkzj9tecepc8xq
Server: Add Python 3 compatibility
Add Python 3 compatibility by not using the python-avahi module. Also
fix miscellaneous things which differs in Python 3. Especially hard
to fix is loading and saving clients data between Python 3 and 2,
since pickle formats have problems with strings.
* INSTALL: Remove python-avahi (and change python-gobject to
python-gi, which is preferred now).
* debian/control (Source: mandos/Build-Depends-Indep): Remove
"python-avahi".
* mandos: Wrap future_builtins import in try-except clause. Do not
import avahi module. Use codecs.decode(..., "base64) instead of
.decode("base64). Use .keys(), .values(), and .items() instead of
.iterkeys(), .itervalues(), and .iteritems().
(alternate_dbus_interfaces/wrapper): Python 3 still requires the
"black magic", but luckily it still works. The Python 3 type()
constructor requires first argument to be a string, not a byte
string.
(copy_function): New. Use throughout.
(Avahi, avahi): New class and global variable.
(GnuTLS._need_version): Changed to be a byte string.
(main): Decode byte strings loaded from pickle file.
(main/cleanup): Dump using pickle prototoc 2 which Python 2 can
read.
.. |
.bzr-builddeb
|
185
|
17 years ago |
Teddy Hogeborn |
* .bzr-builddeb/default.conf: New.
* Makefile (in |
|
|
|
debian
|
185
|
17 years ago |
Teddy Hogeborn |
* .bzr-builddeb/default.conf: New.
* Makefile (in |
|
|
|
network-hooks.d
|
505.3.10
|
13 years ago |
Teddy Hogeborn |
* network-hooks.d: New directory.
* network-hooks. |
|
|
|
plugin-helpers
|
738.1.1
|
10 years ago |
Teddy Hogeborn |
Add a plugin helper directory, available to all pl |
|
|
|
plugins.d
|
13
|
17 years ago |
Björn Påhlsson |
Added following support:
Pluginbased client handle |
|
|
|
.bzrignore |
585
|
13 years ago |
Teddy Hogeborn |
* .bzrignore (statedir): Added. |
188 bytes |
|
|
bugs.xml |
821
|
9 years ago |
Teddy Hogeborn |
Add bug reporting information to manual pages
* b |
539 bytes |
|
|
clients.conf |
609
|
13 years ago |
Teddy Hogeborn |
* clients.conf: Convert all time intervals to new |
3.1 KB |
|
|
common.ent |
237.4.69
|
9 years ago |
Teddy Hogeborn |
Update version number to 1.7.5
* Makefile (versio |
93 bytes |
|
|
COPYING |
24.1.51
|
17 years ago |
Björn Påhlsson |
Added configuration files support for mandos-clien |
34.2 KB |
|
|
DBUS-API |
807
|
9 years ago |
Teddy Hogeborn |
Update copyright year.
* DBUS-API: Update copyrig |
5.8 KB |
|
|
dbus-mandos.conf |
24.1.186
|
14 years ago |
Björn Påhlsson |
transitional stuff actually working
documented cha |
820 bytes |
|
|
default-mandos |
185
|
17 years ago |
Teddy Hogeborn |
* .bzr-builddeb/default.conf: New.
* Makefile (in |
174 bytes |
|
|
init.d-mandos |
826
|
9 years ago |
Teddy Hogeborn |
Server bug fix: Work around bug when stopping serv |
4.4 KB |
|
|
initramfs-tools-hook |
789
|
10 years ago |
Teddy Hogeborn |
* initramfs-tools-hook: Don't try to chmod symlink |
7.3 KB |
|
|
initramfs-tools-hook-conf |
237.2.19
|
16 years ago |
Teddy Hogeborn |
* initramfs-tools-hook-conf: Security bug fix: Add |
407 bytes |
|
|
initramfs-tools-script |
815
|
9 years ago |
Teddy Hogeborn |
Ignore any error from initramfs-tools' "configure_ |
3.7 KB |
|
|
initramfs-unpack |
624
|
12 years ago |
Teddy Hogeborn |
* initramfs-unpack: Bug fix: Made executable.
|
2.2 KB |
|
|
INSTALL |
828
|
9 years ago |
Teddy Hogeborn |
Server: Add Python 3 compatibility
Add Python 3 c |
5.2 KB |
|
|
intro.xml |
821
|
9 years ago |
Teddy Hogeborn |
Add bug reporting information to manual pages
* b |
16.1 KB |
|
|
legalnotice.xml |
174
|
17 years ago |
Teddy Hogeborn |
* legalnotice.xml: Copy DocBook 4.4-formatted text |
1 KB |
|
|
Makefile |
237.4.69
|
9 years ago |
Teddy Hogeborn |
Update version number to 1.7.5
* Makefile (versio |
17.6 KB |
|
|
mandos |
828
|
9 years ago |
Teddy Hogeborn |
Server: Add Python 3 compatibility
Add Python 3 c |
138 KB |
|
|
mandos-clients.conf.xml |
821
|
9 years ago |
Teddy Hogeborn |
Add bug reporting information to manual pages
* b |
18.6 KB |
|
|
mandos-ctl |
237.4.69
|
9 years ago |
Teddy Hogeborn |
Update version number to 1.7.5
* Makefile (versio |
18.7 KB |
|
|
mandos-ctl.xml |
821
|
9 years ago |
Teddy Hogeborn |
Add bug reporting information to manual pages
* b |
16.4 KB |
|
|
mandos-keygen |
237.4.69
|
9 years ago |
Teddy Hogeborn |
Update version number to 1.7.5
* Makefile (versio |
10.5 KB |
|
|
mandos-keygen.xml |
821
|
9 years ago |
Teddy Hogeborn |
Add bug reporting information to manual pages
* b |
15.3 KB |
|
|
mandos-monitor |
237.4.69
|
9 years ago |
Teddy Hogeborn |
Update version number to 1.7.5
* Makefile (versio |
30.6 KB |
|
|
mandos-monitor.xml |
822
|
9 years ago |
Teddy Hogeborn |
Fix incorrect documentation of minor limitation
* |
6.2 KB |
|
|
mandos-options.xml |
777
|
10 years ago |
Teddy Hogeborn |
Bug fix for GnuTLS 3: be compatible with old 2048- |
4.8 KB |
|
|
mandos.conf |
777
|
10 years ago |
Teddy Hogeborn |
Bug fix for GnuTLS 3: be compatible with old 2048- |
1.6 KB |
|
|
mandos.conf.xml |
821
|
9 years ago |
Teddy Hogeborn |
Add bug reporting information to manual pages
* b |
8.8 KB |
|
|
mandos.lsm |
237.4.69
|
9 years ago |
Teddy Hogeborn |
Update version number to 1.7.5
* Makefile (versio |
906 bytes |
|
|
mandos.service |
826
|
9 years ago |
Teddy Hogeborn |
Server bug fix: Work around bug when stopping serv |
1.3 KB |
|
|
mandos.xml |
821
|
9 years ago |
Teddy Hogeborn |
Add bug reporting information to manual pages
* b |
23.7 KB |
|
|
NEWS |
237.4.69
|
9 years ago |
Teddy Hogeborn |
Update version number to 1.7.5
* Makefile (versio |
14.9 KB |
|
|
overview.xml |
183
|
17 years ago |
Teddy Hogeborn |
* Makefile (install-client-nokey): Do "&&" instead |
926 bytes |
|
|
plugin-runner.c |
810
|
9 years ago |
Teddy Hogeborn |
Depend on the GNU C Library 2.16 or later
* INST |
34.7 KB |
|
|
plugin-runner.conf |
342
|
16 years ago |
Teddy Hogeborn |
* initramfs-tools-hook: Bug fix: Add "--userid" an |
380 bytes |
|
|
plugin-runner.xml |
821
|
9 years ago |
Teddy Hogeborn |
Add bug reporting information to manual pages
* b |
21.9 KB |
|
|
README |
550
|
13 years ago |
Teddy Hogeborn |
* README: Hint that the intro(8mandos) manual page |
409 bytes |
|
|
TODO |
825
|
9 years ago |
Teddy Hogeborn |
Server bug fix: Include CAP_SETGID so it does not |
4.2 KB |
|
|