From 754a0ca632e9738a4f107cd46c34d1485735983d Mon Sep 17 00:00:00 2001 From: SJ Date: Fri, 7 Oct 2016 10:31:04 +0200 Subject: [PATCH] release of 1.2.0 Change-Id: I682745cac75ebf665e292165b45c5ba324c67f87 Signed-off-by: SJ --- RELEASE_NOTES | 68 +++++++++++++++++++ VERSION | 2 +- src/config.h | 2 +- util/Makefile.in | 6 +- util/db-upgrade-1.1.0-vs-1.2.0.sql | 10 +++ ...attachment.sh => indexer.attachment.sh.in} | 0 .../{indexer.delta.sh => indexer.delta.sh.in} | 0 util/{indexer.main.sh => indexer.main.sh.in} | 0 8 files changed, 83 insertions(+), 5 deletions(-) create mode 100644 RELEASE_NOTES rename util/{indexer.attachment.sh => indexer.attachment.sh.in} (100%) rename util/{indexer.delta.sh => indexer.delta.sh.in} (100%) rename util/{indexer.main.sh => indexer.main.sh.in} (100%) diff --git a/RELEASE_NOTES b/RELEASE_NOTES new file mode 100644 index 00000000..2441dc57 --- /dev/null +++ b/RELEASE_NOTES @@ -0,0 +1,68 @@ +1.2.0: +------ + +Heavy SQL scheme changes throughout the development of 1.2.0! + +2016.10.06. + +Removed deb and rpm packaging metadata. + +2016.09.21. + +Improved logging for the GUI. See the new config option: $config['LOG_LEVEL'] = NORMAL; + +2016.09.18. + +Moved all piler configuration from ${sysconfdir} to ${sysconfdir}/piler, eg. + +root@01b74b787c26:/# ls -la /usr/local/etc/piler/ +total 36 +drwxr-xr-x 1 root root 24 Oct 6 20:49 . +drwxr-xr-x 1 root root 74 Oct 6 20:49 .. +-rw-r--r-- 4 root root 1008 Oct 6 20:39 piler.conf +-rw-r----- 5 root piler 1066 Oct 6 20:39 piler.conf.dist +-rw-r----- 5 root piler 56 Oct 6 20:40 piler.key +-rw------- 5 root root 5256 Oct 6 20:40 piler.pem +-rw-r--r-- 1 root root 6270 Oct 6 20:49 sphinx.conf +-rw-r--r-- 5 root piler 6299 Oct 6 20:39 sphinx.conf.dist + +Make sure to update the piler shipped shell scripts +(rc.searchd, indexer.*.sh, ...) as well! + +2016.08.31. + +Added chunking / BDAT support for the piler daemon. +You may turn it on by setting enable_chunking=1 in piler.conf + +2016.06.19. + +Improved attachment table indexing. + +2016.05.07. + +Obsoleted the --enable-starttls configure option. + +2016.03.02. + +Discard messages shorther than 100 bytes. + +2016.02.10. + +Added the private feature (for auditors only). + + +2015.11.26. + +Removed the pilergetd stuff. + +2015.07.08. + +Delete option for auditors. + +2015.05.07. + +Added milter script to contrib directory. + +2015.04.22. + +Added timestamp support. diff --git a/VERSION b/VERSION index f7f5c7fe..26aaba0e 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -1.2.0-pre1 +1.2.0 diff --git a/src/config.h b/src/config.h index 0f38fa23..4ac5f4c2 100644 --- a/src/config.h +++ b/src/config.h @@ -11,7 +11,7 @@ #define PROGNAME "piler" -#define VERSION "1.2.0-master" +#define VERSION "1.2.0" #define BUILD 952 diff --git a/util/Makefile.in b/util/Makefile.in index 71db5ea3..f4b7e5cf 100644 --- a/util/Makefile.in +++ b/util/Makefile.in @@ -26,9 +26,9 @@ INSTALL = @INSTALL@ all: sed -e "s%BINDIR%$(bindir)%" -e "s%__SYSCONFDIR%$(sysconfdir)%" -e "s%__LOCALSTATEDIR%$(localstatedir)%" -e "s%__LIBEXECDIR%$(libexecdir)%" -e "s%__DATAROOTDIR%$(datarootdir)%" $(srcdir)/postinstall.sh.in > $(srcdir)/postinstall.sh - sed -i -e "s%SYSCONFDIR%$(sysconfdir)%" $(srcdir)/indexer.delta.sh - sed -i -e "s%SYSCONFDIR%$(sysconfdir)%" $(srcdir)/indexer.main.sh - sed -i -e "s%SYSCONFDIR%$(sysconfdir)%" $(srcdir)/indexer.attachment.sh + sed -e "s%SYSCONFDIR%$(sysconfdir)%" $(srcdir)/indexer.delta.sh.in > $(srcdir)/indexer.delta.sh + sed -e "s%SYSCONFDIR%$(sysconfdir)%" $(srcdir)/indexer.main.sh.in > $(srcdir)/indexer.main.sh + sed -e "s%SYSCONFDIR%$(sysconfdir)%" $(srcdir)/indexer.attachment.sh.in > $(srcdir)/indexer.attachment.sh install: $(INSTALL) -m 0755 $(srcdir)/automated-search.php $(DESTDIR)$(libexecdir)/piler diff --git a/util/db-upgrade-1.1.0-vs-1.2.0.sql b/util/db-upgrade-1.1.0-vs-1.2.0.sql index 619045d5..4d8a6451 100644 --- a/util/db-upgrade-1.1.0-vs-1.2.0.sql +++ b/util/db-upgrade-1.1.0-vs-1.2.0.sql @@ -61,3 +61,13 @@ drop view if exists `v_messages`; create view `v_messages` AS select `metadata`.`id` AS `id`,`metadata`.`piler_id` AS `piler_id`,`metadata`.`from` AS `from`,`metadata`.`fromdomain` AS `fromdomain`,`rcpt`.`to` AS `to`,`rcpt`.`todomain` AS `todomain`,`metadata`.`subject` AS `subject`, `metadata`.`size` AS `size`, `metadata`.`direction` AS `direction`, `metadata`.`sent` AS `sent`, `metadata`.`retained` AS `retained`, `metadata`.`arrived` AS `arrived`, `metadata`.`digest` AS `digest`, `metadata`.`bodydigest` AS `bodydigest`, `metadata`.`deleted` AS `deleted` from (`metadata` join `rcpt`) where (`metadata`.`id` = `rcpt`.`id`); +-- 2016.10.07 + +drop index `attachment_idx2` on `attachment`; +drop index `attachment_idx3` on `attachment`; +create index `attachment_idx2` on `attachment`(`sig`, `size`, `ptr`); + +create table if not exists `private` ( + `id` bigint unsigned not null unique, + key (`id`) +) ENGINE=InnoDB; diff --git a/util/indexer.attachment.sh b/util/indexer.attachment.sh.in similarity index 100% rename from util/indexer.attachment.sh rename to util/indexer.attachment.sh.in diff --git a/util/indexer.delta.sh b/util/indexer.delta.sh.in similarity index 100% rename from util/indexer.delta.sh rename to util/indexer.delta.sh.in diff --git a/util/indexer.main.sh b/util/indexer.main.sh.in similarity index 100% rename from util/indexer.main.sh rename to util/indexer.main.sh.in