Add a check with database version.

Since Netmagis upgrades often require an upgrade of the database
schema, include a version number in the database schema, in the
global.config table, and checks this version number in the Netmagis
application.

This needs a new "read-only" flag for each configuration parameter,
and appropriate support in the "application parameter" page.

By the way, fix a bug: when an error occurs very soon at initialization
(e.g. for a CGI script), database access is not always correctly
initialized. The error procedure tried to access user's properties
for the "actions" left menu from the database, resulting in an
internal error.
FreeBSD ports announcement.
Bring ports in sync with FreeBSD ports

Merge commits from 2.1:
    c7b8505685e84e3f781e78aefe20370677f5ab1e
    5a8ff955d2eea657ab85b7c16307cb800221e816
User in auth-pgsql.conf should match netmagis.conf

Bug signaled by Martin Oesting.
http://www.freelists.org/post/netmagis/Problem-with-Netmagis-21-install-on-Ubuntu-12401-LTS

Close #76
Update from FreeBSD ports tree

http://www.freebsd.org/cgi/getmsg.cgi?fetch=1595589+0+current/svn-ports-all
Add more visible instructions for accessing source files

Close #80

Thanks schplurtz!
Wrong quoting of string in pgauth-crypt

Close #81

if password contained a single quote (') or a &, pgauth-crypt failed to
quote the string for the exec sh -c command

Thanks to Schplurtz's sharp eyes.
Characters refused in database password

Close #83

If the database password contained one of [ ' (space) \. then netmagis
web application died with "error 500 internal error"

Bug signalled by Schplurtz and its sharp eyes.
Invalid character '$' in database password

Close #85

Database passwords with a '$' character were not
understood in database import.
Bug in debian package: depends on default-mta

Close #79

Debian package netmagis-topo should not depend on default-mta, but on
mail-transport-agent.
Bad link in Debian packaging

Close #78

Target of symbolic link must not include DESTDIR.
Allow error messages in early initialization

Close #86

Set scriptmode variable very early in initialization
methods such as error method can use it.
Release 2.1.1
Fix step numbers in RELENG
Merge branch 'views'

Conflicts:
	common/libnetmagis.tcl
	common/msgs/fr.msg
Bug fix in example network.txt

Access right was not allowed to IPv6 networks.
This had the effect to forbid modification of
dual stacked hosts (e.g. ns1.example.com).
Database schema internationalization, step 1

Translate database schema (table and column names)
into English.

Step 1:
- translate the dns.domain (old: dns.domaine) table
    and column names
- translate domain parameter in CGI forms and %...% holes
- provides the infrastructure to ease such modifications:
    - database creation is splitted into 4 files:
	.../lib/sql22/schema-main.sql: create schema and tables
	    for all schemas but the MAC schema
	.../lib/sql22/schema-mac.sql: create MAC schema and tables
	.../lib/sql22/functions.sql: create all functions
	.../lib/sql22/triggers.sql: create all triggers
    - links in .../lib/*.sql are provided such as netmagis-dbcreate
	can call  these files
    - the upgrade script (.../share/exampes/upgrade/21-22/upgrade.sql)
	destroys functions and triggers, then upgrades tables and
	finally calls the .../lib/sql22/{functions,triggers}.sql files
    => this way, the function/trigger creation logic is located in only
	one place (and the table creation logic is in a single file,
	not mixed with the netmagis-dbcreate shell programm)

While we are here, fix a few translations in
common/msgs/fr.msg
Invalid character in password breaks calls to netmagis-config

Close #84

This issue has been forgotten (no milestone assigned)
in the 2.1.1 release.

Thanks to schplurtz for this issue, and for the
solution.
DNS views, part 21 (1 of 6)

Issue #26
Program: dnsaddhost

This commit provides:
- third argument (view) to dnsaddhost
- common code migration from CGI and dnsaddhost
    to libnetmagis.tcl
- translation of messages and comments
DNS views, part 21 (2 of 6)

Issue #26
Program: dnsaddalias (and dnsaddhost)

This commit provides:
- third argument (view) to dnsaddalias
- fix bug in previous commit about dbabort output
- common code migration from CGI and dnsaddalias
    to libnetmagis.tcl (add-alias procedure)
- translation of messages and comments
- reduce size of dnsaddhost by removing the unneeded
    add-ip function
- syntax-error no longer quits (call "d error" method
    instead)
- fix a long standing bug in admpar (dbabort method
    called without reference to the "d" object)