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