/mandos/trunk

To get this branch, use:
bzr branch http://bzr.recompile.se/loggerhead/mandos/trunk

  • 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.
Filename Latest Rev Last Changed Committer Comment Size
..
po 199 16 years ago Teddy Hogeborn * Makefile: Bug fix: fix syntax error. * debian/c Diff
source 452.1.1 14 years ago Teddy Hogeborn * debian/source/format: New; contains "3.0 (quilt) Diff
upstream 678 10 years ago Teddy Hogeborn Fix location and format of signing key file. * de Diff
changelog 237.4.69 8 years ago Teddy Hogeborn Update version number to 1.7.5 * Makefile (versio 21 KB Diff Download File
compat 626 11 years ago Teddy Hogeborn * Makefile (CFLAGS, LDFLAGS): Keep default flags f 2 bytes Diff Download File
control 828 8 years ago Teddy Hogeborn Server: Add Python 3 compatibility Add Python 3 c 2.6 KB Diff Download File
copyright 807 8 years ago Teddy Hogeborn Update copyright year. * DBUS-API: Update copyrig 1 KB Diff Download File
mandos-client.dirs 302 15 years ago Teddy Hogeborn * Makefile (install-client-nokey): Move "initramfs 147 bytes Diff Download File
mandos-client.docs 594 12 years ago Teddy Hogeborn * debian/copyright (Copyright): Join the two lines 17 bytes Diff Download File
mandos-client.examples 594 12 years ago Teddy Hogeborn * debian/copyright (Copyright): Join the two lines 16 bytes Diff Download File
mandos-client.links 191 16 years ago Teddy Hogeborn * debian/mandos-client.docs: New. Add README and 93 bytes Diff Download File
mandos-client.lintian-overrides 652 10 years ago Teddy Hogeborn Bug fix from libdir change: make plugins get setui 1.4 KB Diff Download File
mandos-client.postinst 771 9 years ago Teddy Hogeborn Don't use absolute paths to commands in Debian con 2.7 KB Diff Download File
mandos-client.postrm 779 9 years ago Teddy Hogeborn Debian bug fix for mandos-client: Remove dhparams. 1.2 KB Diff Download File
mandos-client.README.Debian 768 9 years ago Teddy Hogeborn debian/mandos-client.README.Debian: Document the d 4.6 KB Diff Download File
mandos.dirs 639 11 years ago Teddy Hogeborn Bug fix: Make sure systemd service file is install 124 bytes Diff Download File
mandos.docs 423 14 years ago Teddy Hogeborn Documentation changes: * DBUS-API: New file docum 26 bytes Diff Download File
mandos.lintian-overrides 221 16 years ago Teddy Hogeborn * debian/changelog: New Debian revision. * debian 203 bytes Diff Download File
mandos.postinst 825 8 years ago Teddy Hogeborn Server bug fix: Include CAP_SETGID so it does not 2.2 KB Diff Download File
mandos.prerm 770 9 years ago Teddy Hogeborn * debian/mandos.prerm: Don't run init script, use 759 bytes Diff Download File
mandos.README.Debian 505.1.2 13 years ago Teddy Hogeborn Change "fukt.bsnet.se" to "recompile.se" throughou 445 bytes Diff Download File
File rules 793 8 years ago Teddy Hogeborn * debian/rules (override_dh_fixperms): Split into 961 bytes Diff Download File
watch 654 10 years ago Teddy Hogeborn Fix running of self-tests. * debian/control (Buil 132 bytes Diff Download File