diff --git a/NEWS b/NEWS index c9283b4f0..e67a789d1 100644 --- a/NEWS +++ b/NEWS @@ -1,3 +1,8 @@ +Version 0.32.0 - Poseidon +------------------------- + * nipapd, nipap-www and whoisd running on Python 3 (#1316) + * Fix for special characters in passwords in NIPAP CLI + Version 0.31.2 - Persephone --------------------------- * Removed last bits of Pylons diff --git a/nipap-cli/debian/changelog b/nipap-cli/debian/changelog index 0b18b2996..adcf5ba9c 100644 --- a/nipap-cli/debian/changelog +++ b/nipap-cli/debian/changelog @@ -1,3 +1,10 @@ +nipap-cli (0.32.0-1) stable; urgency=medium + + * nipapd, nipap-www and whoisd running on Python 3 (#1316) + * Fix for special characters in passwords in NIPAP CLI + + -- Lukas Garberg Sat, 07 Oct 2023 22:03:37 +0200 + nipap-cli (0.31.2-1) stable; urgency=medium * Removed last bits of Pylons diff --git a/nipap-cli/nipap_cli/__init__.py b/nipap-cli/nipap_cli/__init__.py index a616497af..01f82e3d4 100644 --- a/nipap-cli/nipap_cli/__init__.py +++ b/nipap-cli/nipap_cli/__init__.py @@ -1,4 +1,4 @@ -__version__ = "0.31.2" +__version__ = "0.32.0" __author__ = "Kristian Larsson, Lukas Garberg" __author_email__ = "kll@tele2.net, lukas@spritelink.net" __license__ = "MIT" diff --git a/nipap-www/debian/changelog b/nipap-www/debian/changelog index e3b7a8fb8..c08d40159 100644 --- a/nipap-www/debian/changelog +++ b/nipap-www/debian/changelog @@ -1,3 +1,10 @@ +nipap-www (0.32.0-1) stable; urgency=medium + + * nipapd, nipap-www and whoisd running on Python 3 (#1316) + * Fix for special characters in passwords in NIPAP CLI + + -- Lukas Garberg Sat, 07 Oct 2023 22:03:37 +0200 + nipap-www (0.31.2-1) stable; urgency=medium * Removed last bits of Pylons diff --git a/nipap-www/debian/preinst b/nipap-www/debian/preinst new file mode 100755 index 000000000..625af31da --- /dev/null +++ b/nipap-www/debian/preinst @@ -0,0 +1,20 @@ +#!/bin/sh + +# Source debconf library. +. /usr/share/debconf/confmodule + +ACTION=$1 +OLD_VERSION=$2 +NEW_VERSION=$3 + +# Notify the user that actions needs to be taken when upgrading from a version +# pre 0.32.0 to a version post 0.32.0 +if [ -n "$OLD_VERSION" ]; then + OLD_MAJOR=`echo $OLD_VERSION | cut -d . -f 1` + OLD_MINOR=`echo $OLD_VERSION | cut -d . -f 2` + + if [ \( $OLD_MAJOR -le 0 \) -a \( $OLD_MINOR -lt 32 \) ]; then + db_input high nipap-www/python3-warning || true + db_go + fi +fi diff --git a/nipap-www/debian/templates b/nipap-www/debian/templates index 0a7e66e34..de676f8b7 100644 --- a/nipap-www/debian/templates +++ b/nipap-www/debian/templates @@ -17,3 +17,13 @@ Default: false Description: Automatically configure randomized secret_key? The NIPAP web UI requires a secret key to be configured in the www-section of nipap.conf. + +Template: nipap-www/python3-warning +Type: note +Description: The NIPAP web UI is now migrated to Python 3. + Depending on how it is served, some further action might be needed for it to + function after the upgrade. If it is served with Apache httpd and mod_wsgi as + described in the installation guide, the Python 3 version of mod_wsgi needs to + be installed: + . + apt install libapache2-mod-wsgi-py3 diff --git a/nipap-www/nipap_www.egg-info/PKG-INFO b/nipap-www/nipap_www.egg-info/PKG-INFO index 683bdba2e..0567d8110 100644 --- a/nipap-www/nipap_www.egg-info/PKG-INFO +++ b/nipap-www/nipap_www.egg-info/PKG-INFO @@ -1,6 +1,6 @@ Metadata-Version: 1.0 Name: nipap-www -Version: 0.31.2 +Version: 0.32.0 Summary: web frontend for NIPAP Home-page: http://SpriteLink.github.io/NIPAP Author: Kristian Larsson, Lukas Garberg diff --git a/nipap-www/nipapwww/__init__.py b/nipap-www/nipapwww/__init__.py index b7535e54f..3d23d87ac 100644 --- a/nipap-www/nipapwww/__init__.py +++ b/nipap-www/nipapwww/__init__.py @@ -1,4 +1,4 @@ -__version__ = "0.31.2" +__version__ = "0.32.0" __author__ = "Kristian Larsson, Lukas Garberg" __author_email__ = "kll@tele2.net, lukas@spritelink.net" __license__ = "MIT" diff --git a/nipap/debian/changelog b/nipap/debian/changelog index 3b072975c..17cab1d41 100644 --- a/nipap/debian/changelog +++ b/nipap/debian/changelog @@ -1,3 +1,10 @@ +nipap (0.32.0-1) stable; urgency=medium + + * nipapd, nipap-www and whoisd running on Python 3 (#1316) + * Fix for special characters in passwords in NIPAP CLI + + -- Lukas Garberg Sat, 07 Oct 2023 22:03:36 +0200 + nipap (0.31.2-1) stable; urgency=medium * Removed last bits of Pylons diff --git a/nipap/nipap/__init__.py b/nipap/nipap/__init__.py index e39308ded..4bc370cf9 100644 --- a/nipap/nipap/__init__.py +++ b/nipap/nipap/__init__.py @@ -1,4 +1,4 @@ -__version__ = "0.31.2" +__version__ = "0.32.0" __db_version__ = 7 __author__ = "Kristian Larsson, Lukas Garberg" __author_email__ = "kll@tele2.net, lukas@spritelink.net" diff --git a/pynipap/debian/changelog b/pynipap/debian/changelog index 51b760c2d..d79db4c43 100644 --- a/pynipap/debian/changelog +++ b/pynipap/debian/changelog @@ -1,3 +1,10 @@ +pynipap (0.32.0-1) stable; urgency=medium + + * nipapd, nipap-www and whoisd running on Python 3 (#1316) + * Fix for special characters in passwords in NIPAP CLI + + -- Lukas Garberg Sat, 07 Oct 2023 22:03:37 +0200 + pynipap (0.31.2-1) stable; urgency=medium * Removed last bits of Pylons diff --git a/pynipap/pynipap.py b/pynipap/pynipap.py index 190230a76..78a33f6b8 100644 --- a/pynipap/pynipap.py +++ b/pynipap/pynipap.py @@ -212,7 +212,7 @@ else: import xmlrpc.client as xmlrpclib -__version__ = "0.31.2" +__version__ = "0.32.0" __author__ = "Kristian Larsson, Lukas Garberg" __author_email__= "kll@tele2.net, lukas@spritelink.net" __copyright__ = "Copyright 2011, Kristian Larsson, Lukas Garberg" diff --git a/whoisd/debian/changelog b/whoisd/debian/changelog index 2a942b1d3..4b1583ffd 100644 --- a/whoisd/debian/changelog +++ b/whoisd/debian/changelog @@ -1,3 +1,10 @@ +nipap-whoisd (0.32.0-1) stable; urgency=medium + + * nipapd, nipap-www and whoisd running on Python 3 (#1316) + * Fix for special characters in passwords in NIPAP CLI + + -- Lukas Garberg Sat, 07 Oct 2023 22:03:37 +0200 + nipap-whoisd (0.31.2-1) stable; urgency=medium * Removed last bits of Pylons diff --git a/whoisd/nipap_whoisd.py b/whoisd/nipap_whoisd.py index ac3533041..58f529922 100644 --- a/whoisd/nipap_whoisd.py +++ b/whoisd/nipap_whoisd.py @@ -1,6 +1,6 @@ import os -__version__ = "0.31.2" +__version__ = "0.32.0" __author__ = "Kristian Larsson, Lukas Garberg" __author_email__ = "kll@tele2.net, lukas@spritelink.net" __copyright__ = "Copyright 2011-2014, Kristian Larsson, Lukas Garberg"