/mandos/release

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

  • Committer: Teddy Hogeborn
  • Date: 2016-03-09 21:23:21 UTC
  • mto: (237.7.594 trunk)
  • 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 237.2.216 14 years ago Teddy Hogeborn * debian/source/format: New; contains "3.0 (quilt) Diff
upstream 237.7.226 10 years ago Teddy Hogeborn Fix location and format of signing key file. * de Diff
changelog 338 8 years ago Teddy Hogeborn Update version number to 1.7.5 * Makefile (versio 21 KB Diff Download File
compat 237.7.174 11 years ago Teddy Hogeborn * Makefile (CFLAGS, LDFLAGS): Keep default flags f 2 bytes Diff Download File
control 237.7.376 8 years ago Teddy Hogeborn Server: Add Python 3 compatibility Add Python 3 c 2.6 KB Diff Download File
copyright 237.7.355 8 years ago Teddy Hogeborn Update copyright year. * DBUS-API: Update copyrig 1 KB Diff Download File
mandos-client.dirs 237.2.65 15 years ago Teddy Hogeborn * Makefile (install-client-nokey): Move "initramfs 147 bytes Diff Download File
mandos-client.docs 237.7.142 12 years ago Teddy Hogeborn * debian/copyright (Copyright): Join the two lines 17 bytes Diff Download File
mandos-client.examples 237.7.142 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 237.7.200 10 years ago Teddy Hogeborn Bug fix from libdir change: make plugins get setui 1.4 KB Diff Download File
mandos-client.postinst 237.7.319 9 years ago Teddy Hogeborn Don't use absolute paths to commands in Debian con 2.7 KB Diff Download File
mandos-client.postrm 237.7.327 9 years ago Teddy Hogeborn Debian bug fix for mandos-client: Remove dhparams. 1.2 KB Diff Download File
mandos-client.README.Debian 237.7.316 9 years ago Teddy Hogeborn debian/mandos-client.README.Debian: Document the d 4.6 KB Diff Download File
mandos.dirs 237.7.187 11 years ago Teddy Hogeborn Bug fix: Make sure systemd service file is install 124 bytes Diff Download File
mandos.docs 237.2.186 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 237.7.373 8 years ago Teddy Hogeborn Server bug fix: Include CAP_SETGID so it does not 2.2 KB Diff Download File
mandos.prerm 237.7.318 9 years ago Teddy Hogeborn * debian/mandos.prerm: Don't run init script, use 759 bytes Diff Download File
mandos.README.Debian 237.11.2 13 years ago Teddy Hogeborn Change "fukt.bsnet.se" to "recompile.se" throughou 445 bytes Diff Download File
File rules 237.7.341 8 years ago Teddy Hogeborn * debian/rules (override_dh_fixperms): Split into 961 bytes Diff Download File
watch 237.7.202 10 years ago Teddy Hogeborn Fix running of self-tests. * debian/control (Buil 132 bytes Diff Download File