2
0
mirror of https://gitlab.isc.org/isc-projects/kea synced 2025-08-28 04:27:46 +00:00

909 Commits

Author SHA1 Message Date
Thomas Markwalder
0b4ec962af [4239] Moved schema scripts to src/share/database/scripts
Moved schema scripts into a new common location:

        src/share/database/scripts

    to make them accessible to both kea-admin and dhcpsrv testing
2016-04-12 11:14:52 -04:00
Francis Dupont
320d143822 [4315] Removed obsolete python3 check 2016-03-09 13:16:59 +01:00
Wlodek Wencel
665008525d [master] version update 2016-01-12 18:25:04 +01:00
Thomas Markwalder
f0fb9f35a3 [master] Fixes MySQL InnoDB engine issue, MySQL version bump to 4.1
Merges branch 'trac4237'
2015-12-17 09:20:18 -05:00
Thomas Markwalder
36e5204eb2 [4237] Fixes #4238, adds lease dump order by, bumps MySQL schema to 4.1
Bumps MySQL schema version from 4.0 to 4.1.

Fixes the issue spelled out in 4238 by adding an entry for hardware
address source of zero. This change was added here to limit the
number of schema version bumps.

Changes the MySQL lease dump functions to order by the lease address.
This ensures the dumps always ordered in a predictable manner.

src/bin/admin/scripts/mysql/upgrade_4.0_to_4.1.sh.in
    New file to upgrade from 4.0 to 4.1

configure.ac
    Added entry for mysql/upgrade_4.0_to_4.1.sh

src/bin/admin/scripts/mysql/Makefile.am
    Added entry form upgrade_4.0_to_4.1.sh

src/bin/admin/scripts/mysql/dhcpdb_create.mysql
    Added insert of HWADDR_SOURCE_UNKNOWN  into lease_hwaddr_source
    Added order by clauses to lease4DumpData and lease6DumpData
    Updated schema version from 4.0 to 4.1

src/bin/admin/tests/mysql_tests.sh.in
    mysql_upgrade_test()
        Added test for 4.0 to 4.1 upgrade
        Changed final version check to 4.1
2015-12-16 14:44:16 -05:00
Wlodek Wencel
06a577653e [master] version update 2015-12-16 20:28:09 +01:00
Tomek Mrugalski
acaa62090b [4102] Removed obsolete enabled_features in configure.ac
- this was used in bind10 for enabling SQLite in auth DNS
2015-12-15 19:42:56 +01:00
Tomek Mrugalski
6c9837796d [4102] Configuration backend info removed from configure.ac 2015-12-15 19:33:18 +01:00
Marcin Siodelski
0156b3dbb2 [master] Disable strict aliasing rules for gcc < 4.5
This is a workaround for a GCC bug which affects gcc 4.4 and
manifests on RHEL6.3 as a build failure. This fix was okayed
on jabber.
2015-12-01 18:03:46 +01:00
Francis Dupont
8e1d1e9b4b [master] Merged trac4201 (distcheck warning) 2015-11-23 22:52:04 +01:00
Francis Dupont
14e1063618 [4125] Made the parser target dependent on --enable-generate-parser 2015-11-14 20:17:01 +01:00
Francis Dupont
eca58144d4 [4201] Second attempt with a better fix 2015-11-14 19:35:40 +01:00
Francis Dupont
f3791f1bb3 [4201] Fixed DISTCHECK_CRYPTO_CONFIGURE_FLAG for Botan 2015-11-14 18:40:06 +01:00
Francis Dupont
e2ec18f60b [master] Minor fix to configure.ac 2015-11-14 15:23:00 +01:00
Francis Dupont
7058a4085d [master] Merged trac4088 (client classification expression parser) 2015-11-14 15:06:22 +01:00
Francis Dupont
60ad1417a5 [master] Merged trac4060a (Kea multi-threaded) 2015-11-11 13:50:07 +01:00
Francis Dupont
7a4fd5ace0 [4088] Some trivial fixes 2015-11-05 05:46:24 +01:00
Tomek Mrugalski
ac6a081567 [4088] Bison version is now detected during configure. 2015-11-04 22:03:51 +09:00
Francis Dupont
e7026936c6 [4060a] Cleaned up (partially, i.e., keep ugly but working code) 2015-11-03 07:10:38 +01:00
Tomek Mrugalski
a7923efa91 [4081] Initial Token implementation added. 2015-10-26 20:11:22 +01:00
Thomas Markwalder
49b0bac276 [3969] Added upgrade support from Postgres schema 1.0 to 2.0
Upgrade adds state column to both lease tables, the state table,
and the lease dump functions.

src/bin/admin/scripts/pgsql/upgrade_1.0_to_2.0.sh -
    new script for upgrading postgres schema

src/bin/admin/tests/dhcpdb_create_1.0.pgsql
    new sql script for creating 1.0 schema db

configure.ac
    added entry for new upgrade script

src/bin/admin/kea-admin.in
    pgsql_upgrade() - modified to set Postgres password env variable
    and pass in remaining args as psql expects them

src/bin/admin/scripts/pgsql/Makefile.am
    added entry for new upgrade script

src/bin/admin/tests/Makefile.am
    added entry for 1.0 schema script

src/bin/admin/tests/pgsql_tests.sh.in
    pgsql_upgrade_test()  - revamped now that Postgres actually
    has its first upgrade script.
2015-10-20 08:36:14 -04:00
Francis Dupont
0dea9af8ef [master] Finished merge of trac3516 (trac3516) 2015-10-16 13:29:41 +02:00
Francis Dupont
ea7f498bda [4060a] Rebased trac4060 2015-10-15 23:07:15 +02:00
Thomas Markwalder
2e13ac3b0b [master] Implemented schema upgrade for MySQL schema 4.0
Merged in trac3967.
2015-10-13 12:04:29 -04:00
Tomek Mrugalski
884d8bb4a5 [master] Merge branch 'trac3681_rebase' (Common MySQL Connection class)
Conflicts:
	src/lib/dhcpsrv/lease_mgr.h
	src/lib/dhcpsrv/memfile_lease_mgr.cc
	src/lib/dhcpsrv/mysql_lease_mgr.cc
	src/lib/dhcpsrv/tests/memfile_lease_mgr_unittest.cc
	src/lib/dhcpsrv/tests/schema_mysql_copy.h
2015-10-09 23:28:19 +02:00
Thomas Markwalder
bcf547a6ca [3967] Added MySQL schema upgrade from 3.0 to 4.0 support
src/bin/admin/scripts/mysql/upgrade_3.0_to_4.0.sh.in
    New script file for upgrading from Schema 3.0 to 4.0

configure.ac
    Added an entry for new MySQL uppgrade script, upgrade_3.0_to_4.0.sh.in

src/bin/admin/scripts/mysql/Makefile.am
    Added entries for upgrade_3.0_to_4.0.sh.
    Reformatted list style to make adding entries a bit more convenient.

src/bin/admin/tests/mysql_tests.sh.in
    mysql_upgrade_test() - extended the test to verify the upgrade step
    from 3.0 to 4.0.
2015-10-01 15:38:09 -04:00
Francis Dupont
e4368d2920 [master] Merged trac4004 (enable-static and unit tests) 2015-10-01 18:10:15 +02:00
Francis Dupont
96294e8cf5 [master] Finished merge of trac4009 (use Boost Asio vs. ext/asio) 2015-09-24 15:53:10 +02:00
Francis Dupont
634a480631 [4009] Added ext/coroutine Makefile 2015-09-20 09:44:51 +02:00
Francis Dupont
b0bfa72b8b [4009] Forgot BOOST_ASIO_DISABLE_DEV_POLL 2015-09-20 09:31:12 +02:00
Francis Dupont
8837571d29 [4004] Allowed --disable-shared 2015-09-19 13:25:24 +02:00
Francis Dupont
d840bbb9be [4004] Got rid of *ENV_LIBRARY_PATH 2015-09-18 20:21:04 +02:00
Wlodek Wencel
65748a41de [master] changed kea version from 'beta' to 'git' 2015-09-09 18:56:23 +02:00
Jeremy C. Reed
a08cbbecbd Merge branch 'trac3483' 2015-09-08 08:57:41 -04:00
Francis Dupont
8175031f4b [4009] Fixed the libboost_system dependency for Boost < 1.56 2015-09-04 10:42:21 +02:00
Francis Dupont
d053d1fd8c [4009] Added BOOST_ASIO_HEADER_ONLY define 2015-09-03 20:07:39 +02:00
Francis Dupont
d7c8e1aa32 [4009] Fixed the boost_system dependency 2015-09-02 22:28:02 +02:00
Francis Dupont
b494fd351e [4009] Added boost to asio (tentative) 2015-09-02 19:49:11 +02:00
Francis Dupont
6c1ef544fd [4029] Removed obsolete testutils/testdata directory 2015-09-01 23:46:24 +02:00
Thomas Markwalder
c2c8a9087c [3929] pass input file path into mk_cfgrpt.sh
Added required input config report file parameter to
mk_cfgrpt.sh rather than having hard-coded by configure.

This allows cfgrpt/Makefile to pass in the pathname of
the report file it used in its "config_report.cc", as
the input report file.  In other words, we garuantee that
the file we used for change is the same file we generate
the source from.
2015-07-22 15:23:38 -04:00
Thomas Markwalder
37a9566461 [3929] Added basic unittests to src/lib/cfgrpt 2015-07-22 12:56:45 -04:00
Thomas Markwalder
7eaa1ec09c [3929] config_report.cc is now generated during src/lib/cfgrpt/Makefile
By generating config_report.cc in the cfgrpt directory Makefile
rather than configure, it can be treated as any other generated
source file, rather than a one-off special case.

Moved cfgrpt directory from bin to lib since it creates a library
rather than an executable.

mk_cfgrpt.sh is now generated by configure from a .in file and

Details:

configure.ac
   removed call to mk_cfgrpts.sh
   added mk_cfgprt.sh to list of files generated by configure

src/bin/Makefile.am
   removed cfgrpt dir

changed cfgrpt directory to lib
    src/bin/d2/Makefile.am
    src/bin/d2/tests/Makefile.am
    src/bin/dhcp4/Makefile.am
    src/bin/dhcp4/tests/Makefile.am
    src/bin/dhcp6/Makefile.am
    src/bin/dhcp6/tests/Makefile.am
    src/bin/lfc/Makefile.am
    src/bin/lfc/tests/Makefile.am
    src/bin/perfdhcp/Makefile.am
    src/bin/perfdhcp/tests/Makefile.am

src/lib/Makefile.am
    added cfgrpt dir

src/lib/cfgrpt/Makefile.am
    changed include dir to be in lib not dir
    added config_report.cc to CLEANFILES
    added config_report.cc to BUILD_SOURCES
    removed config_report.cc from libcfgrpt_la_SOURCES
    added rule for config_report.cc to call mk_cfgrpt.sh
2015-07-22 11:53:35 -04:00
Thomas Markwalder
b5d28c9c28 [master] Fixed distcheck issues with src/bin/admin tests
There were several minor issues related to src/bin/admin tests
that were visible only when distcheck was perfomed with mysql
and/or postgresql enabled.
2015-06-29 14:08:46 -04:00
Tomek Mrugalski
fe06c49b19 [3681] Patch as provided by Adam Kalmus:
- schema header is now updated to 3.0
 - copyright years updated
 - doxygen comments added
 - unit-test for upgrading to 3.0 added
2015-06-25 21:00:25 +02:00
Jeremy C. Reed
a47202ced6 Merge branch 'master' into trac3483 2015-06-24 19:40:55 +00:00
Wlodek Wencel
03a894a14b [kea-0.9.2-beta] ChangeLog and configure.ac updated 2015-06-22 17:53:03 +02:00
Francis Dupont
23eab31271 [3732b] Updated PTHEAD_LDFLAGS comment 2015-06-17 22:08:26 +02:00
Francis Dupont
c3346812b6 [master] Revert "[master] Finished merge if trac3732a (remove BUNDY 2nd pass)"
This reverts commit 8d0324f4786900db953489ebaa9e018b1238543f, reversing
changes made to 9257854f21b976f8711c8181f70261467759e0d7.

Revert trac3732a merge because config was reused by command stuff.
2015-06-17 17:12:33 +02:00
Francis Dupont
8d0324f478 [master] Finished merge if trac3732a (remove BUNDY 2nd pass) 2015-06-17 14:30:57 +02:00
Francis Dupont
584cf666e1 [master] Merged trac3513 (-V extended version) 2015-06-15 13:21:08 +02:00