diff options
author | krion <krion@FreeBSD.org> | 2004-07-07 06:15:40 +0800 |
---|---|---|
committer | krion <krion@FreeBSD.org> | 2004-07-07 06:15:40 +0800 |
commit | 5d1dd3e80d047f289bda9a7d739095121ffa91fe (patch) | |
tree | b136cd0dc71708bf1350c653efeec0afe1b59b7e | |
parent | a63db044159413c27fc9e64379993563cdfe55dc (diff) | |
download | freebsd-ports-graphics-5d1dd3e80d047f289bda9a7d739095121ffa91fe.tar.gz freebsd-ports-graphics-5d1dd3e80d047f289bda9a7d739095121ffa91fe.tar.zst freebsd-ports-graphics-5d1dd3e80d047f289bda9a7d739095121ffa91fe.zip |
Update to 0.92.1
Chase libraries according to new math/gsl version
PR: ports/68741
Submitted by: maintainer
-rw-r--r-- | mail/bogofilter-current/Makefile | 6 | ||||
-rw-r--r-- | mail/bogofilter-current/distinfo | 4 | ||||
-rw-r--r-- | mail/bogofilter-current/files/ChangeLog.port | 9 | ||||
-rw-r--r-- | mail/bogofilter-current/files/patch-aa | 172 | ||||
-rw-r--r-- | mail/bogofilter-current/files/patch-ab | 11 | ||||
-rw-r--r-- | mail/bogofilter/Makefile | 6 | ||||
-rw-r--r-- | mail/bogofilter/distinfo | 4 | ||||
-rw-r--r-- | mail/bogofilter/files/ChangeLog.port | 9 | ||||
-rw-r--r-- | mail/bogofilter/files/patch-aa | 172 | ||||
-rw-r--r-- | mail/bogofilter/files/patch-ab | 11 |
10 files changed, 24 insertions, 380 deletions
diff --git a/mail/bogofilter-current/Makefile b/mail/bogofilter-current/Makefile index e32fb0ba026..36899e6c54e 100644 --- a/mail/bogofilter-current/Makefile +++ b/mail/bogofilter-current/Makefile @@ -6,8 +6,8 @@ # PORTNAME= bogofilter -PORTVERSION= 0.92.0 -PORTREVISION= 1 +PORTVERSION= 0.92.1 +PORTREVISION= 0 CATEGORIES?= mail MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} MASTER_SITE_SUBDIR= ${PORTNAME} @@ -17,7 +17,7 @@ COMMENT= "Fast, teachable, learning spam detector" LIB_DEPENDS?= db-4.2:${PORTSDIR}/databases/db42 .if !defined(WITHOUT_GSL) -LIB_DEPENDS+= gsl.5:${PORTSDIR}/math/gsl +LIB_DEPENDS+= gsl.6:${PORTSDIR}/math/gsl .endif .if !defined(WITHOUT_BASH) RUN_DEPENDS= bash:${PORTSDIR}/shells/bash2 diff --git a/mail/bogofilter-current/distinfo b/mail/bogofilter-current/distinfo index ec8a5811396..d2337c19403 100644 --- a/mail/bogofilter-current/distinfo +++ b/mail/bogofilter-current/distinfo @@ -1,2 +1,2 @@ -MD5 (bogofilter-0.92.0.tar.bz2) = bf596e8f0b6b1280dd6e5ae9b2c025b2 -SIZE (bogofilter-0.92.0.tar.bz2) = 681155 +MD5 (bogofilter-0.92.1.tar.bz2) = 9fc67e9adb2d51e78eb04b85ad205975 +SIZE (bogofilter-0.92.1.tar.bz2) = 686048 diff --git a/mail/bogofilter-current/files/ChangeLog.port b/mail/bogofilter-current/files/ChangeLog.port index 67772db70a7..55c0279800c 100644 --- a/mail/bogofilter-current/files/ChangeLog.port +++ b/mail/bogofilter-current/files/ChangeLog.port @@ -1,10 +1,15 @@ FreeBSD's port ChangeLog for mail/bogofilter ------------------------ +0.92.1 +- pick up bugfixes, dropping patch-aa and patch-ab from 0.92.0_1 +- update GSL dependency to gsl.6 (GNU GSL v1.5) + 0.92.0_1 -- fix SIGSEGV (NULL dereferenced pointer read) when %I is used +- [patch-ab] fix SIGSEGV (NULL dereferenced pointer read) when %I is used and no IP address had been found (reported by Clemens Fischer) -- fix data base shutdown in multiple-wordlists mode + +- [patch-aa] fix data base shutdown in multiple-wordlists mode when BOGOFILTER_CONCURRENT_DATA_STORE is set in the environment 0.92.0 diff --git a/mail/bogofilter-current/files/patch-aa b/mail/bogofilter-current/files/patch-aa deleted file mode 100644 index e9cfcb16bdd..00000000000 --- a/mail/bogofilter-current/files/patch-aa +++ /dev/null @@ -1,172 +0,0 @@ ---- ./src/datastore.c 19 Jun 2004 19:17:56 -0000 1.44 -+++ ./src/datastore.c 28 Jun 2004 01:43:29 -0000 1.45 -@@ -323,6 +323,7 @@ - - void ds_init() - { -+ db_init(); - if (msg_count_tok == NULL) { - msg_count_tok = word_new((const byte *)MSG_COUNT, strlen(MSG_COUNT)); - } -@@ -334,6 +335,7 @@ - /* Cleanup storage allocation */ - void ds_cleanup() - { -+ db_cleanup(); - xfree(msg_count_tok); - xfree(wordlist_version_tok); - msg_count_tok = NULL; - ---- ./src/datastore_db.c 19 Jun 2004 19:17:56 -0000 1.107 -+++ ./src/datastore_db.c 28 Jun 2004 01:43:29 -0000 1.108 -@@ -70,9 +70,6 @@ - /* dummy infrastructure, to be expanded by environment - * or transactional initialization/shutdown */ - --static int db_init(void); --static void db_cleanup(void); -- - /* Function definitions */ - - /** translate BerkeleyDB \a flags bitfield back to symbols */ -@@ -285,10 +282,6 @@ - size_t idx; - uint32_t retryflags[] = { 0, DB_NOMMAP }; - -- db_init(); -- -- if (!init) abort(); -- - check_db_version(); - - if (open_mode & DS_READ ) -@@ -574,8 +567,6 @@ - print_error(__FILE__, __LINE__, "(db) db_close err: %d, %s", ret, db_strerror(ret)); - - dbh_free(handle); -- -- db_cleanup(); - } - - -@@ -671,7 +662,7 @@ - /* dummy infrastructure, to be expanded by environment - * or transactional initialization/shutdown */ - --static int db_init(void) { -+int db_init(void) { - char *t; - int cdb_alldb = 1; - -@@ -705,7 +696,7 @@ - return 0; - } - --static void db_cleanup(void) { -+void db_cleanup(void) { - if (!init) - return; - if (dbe) - ---- ./src/datastore_db.h 19 Jun 2004 19:17:56 -0000 1.12 -+++ ./src/datastore_db.h 28 Jun 2004 01:43:30 -0000 1.13 -@@ -81,6 +81,9 @@ - /* Returns created flag */ - bool db_created(void *vhandle); - -+int db_init(void); -+void db_cleanup(void); -+ - /* This is not currently used ... - * - #define db_write_lock(fd) db_lock(fd, F_SETLKW, F_WRLCK) - ---- ./src/datastore_qdbm.c 19 Jun 2004 19:17:56 -0000 1.27 -+++ ./src/datastore_qdbm.c 28 Jun 2004 01:43:30 -0000 1.28 -@@ -47,8 +47,6 @@ - * or transactional initialization/shutdown */ - - static bool init = false; --static int db_init(void) { init = true; return 0; } --static void db_cleanup(void) { init = false; } - - /* Function definitions */ - -@@ -128,8 +126,6 @@ - - if (handle == NULL) return NULL; - -- db_init(); -- - dbp = handle->dbp = dpopen(handle->name, open_flags, DB_INITBNUM); - - if ((dbp == NULL) && (open_mode & DS_WRITE)) { -@@ -276,8 +272,6 @@ - handle->dbp = NULL; - - dbh_free(handle); -- -- db_cleanup(); - } - - -@@ -344,3 +338,14 @@ - const char *db_str_err(int e) { - return dperrmsg(e); - } -+ -+int db_init(void) -+{ -+ init = true; -+ return 0; -+} -+ -+void db_cleanup(void) -+{ -+ init = false; -+} - ---- ./src/datastore_tdb.c 19 Jun 2004 19:17:56 -0000 1.29 -+++ ./src/datastore_tdb.c 28 Jun 2004 01:43:30 -0000 1.30 -@@ -37,8 +37,6 @@ - * or transactional initialization/shutdown */ - - static bool init = false; --static int db_init(void) { init = true; return 0; } --static void db_cleanup(void) { init = false; } - - /* Function definitions */ - -@@ -119,8 +117,6 @@ - - if (handle == NULL) return NULL; - -- db_init(); -- - dbp = handle->dbp = tdb_open(handle->name, 0, tdb_flags, open_flags, 0664); - - if ((dbp == NULL) && (open_mode & DS_WRITE)) { -@@ -258,8 +254,6 @@ - } - - dbh_free(handle); -- -- db_cleanup(); - } - - /* -@@ -358,3 +352,14 @@ - return emap[i].estring; - return "Invalid error code"; - } -+ -+int db_init(void) -+{ -+ init = true; -+ return 0; -+} -+ -+void db_cleanup(void) -+{ -+ init = false; -+} diff --git a/mail/bogofilter-current/files/patch-ab b/mail/bogofilter-current/files/patch-ab deleted file mode 100644 index 112ed2d26fc..00000000000 --- a/mail/bogofilter-current/files/patch-ab +++ /dev/null @@ -1,11 +0,0 @@ ---- ./src/format.c 14 Jun 2004 23:45:44 -0000 1.37 -+++ ./src/format.c 28 Jun 2004 19:45:17 -0000 -@@ -357,7 +357,7 @@ - buff += format_string(buff, spam_header_name, 0, prec, flags, end); - break; - case 'I': /* I - received IP address */ -- buff += format_string(buff, ipaddr->text, 0, prec, flags, end); -+ buff += format_string(buff, ipaddr ? (const char *)ipaddr->text : "UNKNOWN", 0, prec, flags, end); - break; - case 'l': /* l - logging tag */ - buff += format_string(buff, logtag, 0, prec, flags, end); diff --git a/mail/bogofilter/Makefile b/mail/bogofilter/Makefile index e32fb0ba026..36899e6c54e 100644 --- a/mail/bogofilter/Makefile +++ b/mail/bogofilter/Makefile @@ -6,8 +6,8 @@ # PORTNAME= bogofilter -PORTVERSION= 0.92.0 -PORTREVISION= 1 +PORTVERSION= 0.92.1 +PORTREVISION= 0 CATEGORIES?= mail MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} MASTER_SITE_SUBDIR= ${PORTNAME} @@ -17,7 +17,7 @@ COMMENT= "Fast, teachable, learning spam detector" LIB_DEPENDS?= db-4.2:${PORTSDIR}/databases/db42 .if !defined(WITHOUT_GSL) -LIB_DEPENDS+= gsl.5:${PORTSDIR}/math/gsl +LIB_DEPENDS+= gsl.6:${PORTSDIR}/math/gsl .endif .if !defined(WITHOUT_BASH) RUN_DEPENDS= bash:${PORTSDIR}/shells/bash2 diff --git a/mail/bogofilter/distinfo b/mail/bogofilter/distinfo index ec8a5811396..d2337c19403 100644 --- a/mail/bogofilter/distinfo +++ b/mail/bogofilter/distinfo @@ -1,2 +1,2 @@ -MD5 (bogofilter-0.92.0.tar.bz2) = bf596e8f0b6b1280dd6e5ae9b2c025b2 -SIZE (bogofilter-0.92.0.tar.bz2) = 681155 +MD5 (bogofilter-0.92.1.tar.bz2) = 9fc67e9adb2d51e78eb04b85ad205975 +SIZE (bogofilter-0.92.1.tar.bz2) = 686048 diff --git a/mail/bogofilter/files/ChangeLog.port b/mail/bogofilter/files/ChangeLog.port index 67772db70a7..55c0279800c 100644 --- a/mail/bogofilter/files/ChangeLog.port +++ b/mail/bogofilter/files/ChangeLog.port @@ -1,10 +1,15 @@ FreeBSD's port ChangeLog for mail/bogofilter ------------------------ +0.92.1 +- pick up bugfixes, dropping patch-aa and patch-ab from 0.92.0_1 +- update GSL dependency to gsl.6 (GNU GSL v1.5) + 0.92.0_1 -- fix SIGSEGV (NULL dereferenced pointer read) when %I is used +- [patch-ab] fix SIGSEGV (NULL dereferenced pointer read) when %I is used and no IP address had been found (reported by Clemens Fischer) -- fix data base shutdown in multiple-wordlists mode + +- [patch-aa] fix data base shutdown in multiple-wordlists mode when BOGOFILTER_CONCURRENT_DATA_STORE is set in the environment 0.92.0 diff --git a/mail/bogofilter/files/patch-aa b/mail/bogofilter/files/patch-aa deleted file mode 100644 index e9cfcb16bdd..00000000000 --- a/mail/bogofilter/files/patch-aa +++ /dev/null @@ -1,172 +0,0 @@ ---- ./src/datastore.c 19 Jun 2004 19:17:56 -0000 1.44 -+++ ./src/datastore.c 28 Jun 2004 01:43:29 -0000 1.45 -@@ -323,6 +323,7 @@ - - void ds_init() - { -+ db_init(); - if (msg_count_tok == NULL) { - msg_count_tok = word_new((const byte *)MSG_COUNT, strlen(MSG_COUNT)); - } -@@ -334,6 +335,7 @@ - /* Cleanup storage allocation */ - void ds_cleanup() - { -+ db_cleanup(); - xfree(msg_count_tok); - xfree(wordlist_version_tok); - msg_count_tok = NULL; - ---- ./src/datastore_db.c 19 Jun 2004 19:17:56 -0000 1.107 -+++ ./src/datastore_db.c 28 Jun 2004 01:43:29 -0000 1.108 -@@ -70,9 +70,6 @@ - /* dummy infrastructure, to be expanded by environment - * or transactional initialization/shutdown */ - --static int db_init(void); --static void db_cleanup(void); -- - /* Function definitions */ - - /** translate BerkeleyDB \a flags bitfield back to symbols */ -@@ -285,10 +282,6 @@ - size_t idx; - uint32_t retryflags[] = { 0, DB_NOMMAP }; - -- db_init(); -- -- if (!init) abort(); -- - check_db_version(); - - if (open_mode & DS_READ ) -@@ -574,8 +567,6 @@ - print_error(__FILE__, __LINE__, "(db) db_close err: %d, %s", ret, db_strerror(ret)); - - dbh_free(handle); -- -- db_cleanup(); - } - - -@@ -671,7 +662,7 @@ - /* dummy infrastructure, to be expanded by environment - * or transactional initialization/shutdown */ - --static int db_init(void) { -+int db_init(void) { - char *t; - int cdb_alldb = 1; - -@@ -705,7 +696,7 @@ - return 0; - } - --static void db_cleanup(void) { -+void db_cleanup(void) { - if (!init) - return; - if (dbe) - ---- ./src/datastore_db.h 19 Jun 2004 19:17:56 -0000 1.12 -+++ ./src/datastore_db.h 28 Jun 2004 01:43:30 -0000 1.13 -@@ -81,6 +81,9 @@ - /* Returns created flag */ - bool db_created(void *vhandle); - -+int db_init(void); -+void db_cleanup(void); -+ - /* This is not currently used ... - * - #define db_write_lock(fd) db_lock(fd, F_SETLKW, F_WRLCK) - ---- ./src/datastore_qdbm.c 19 Jun 2004 19:17:56 -0000 1.27 -+++ ./src/datastore_qdbm.c 28 Jun 2004 01:43:30 -0000 1.28 -@@ -47,8 +47,6 @@ - * or transactional initialization/shutdown */ - - static bool init = false; --static int db_init(void) { init = true; return 0; } --static void db_cleanup(void) { init = false; } - - /* Function definitions */ - -@@ -128,8 +126,6 @@ - - if (handle == NULL) return NULL; - -- db_init(); -- - dbp = handle->dbp = dpopen(handle->name, open_flags, DB_INITBNUM); - - if ((dbp == NULL) && (open_mode & DS_WRITE)) { -@@ -276,8 +272,6 @@ - handle->dbp = NULL; - - dbh_free(handle); -- -- db_cleanup(); - } - - -@@ -344,3 +338,14 @@ - const char *db_str_err(int e) { - return dperrmsg(e); - } -+ -+int db_init(void) -+{ -+ init = true; -+ return 0; -+} -+ -+void db_cleanup(void) -+{ -+ init = false; -+} - ---- ./src/datastore_tdb.c 19 Jun 2004 19:17:56 -0000 1.29 -+++ ./src/datastore_tdb.c 28 Jun 2004 01:43:30 -0000 1.30 -@@ -37,8 +37,6 @@ - * or transactional initialization/shutdown */ - - static bool init = false; --static int db_init(void) { init = true; return 0; } --static void db_cleanup(void) { init = false; } - - /* Function definitions */ - -@@ -119,8 +117,6 @@ - - if (handle == NULL) return NULL; - -- db_init(); -- - dbp = handle->dbp = tdb_open(handle->name, 0, tdb_flags, open_flags, 0664); - - if ((dbp == NULL) && (open_mode & DS_WRITE)) { -@@ -258,8 +254,6 @@ - } - - dbh_free(handle); -- -- db_cleanup(); - } - - /* -@@ -358,3 +352,14 @@ - return emap[i].estring; - return "Invalid error code"; - } -+ -+int db_init(void) -+{ -+ init = true; -+ return 0; -+} -+ -+void db_cleanup(void) -+{ -+ init = false; -+} diff --git a/mail/bogofilter/files/patch-ab b/mail/bogofilter/files/patch-ab deleted file mode 100644 index 112ed2d26fc..00000000000 --- a/mail/bogofilter/files/patch-ab +++ /dev/null @@ -1,11 +0,0 @@ ---- ./src/format.c 14 Jun 2004 23:45:44 -0000 1.37 -+++ ./src/format.c 28 Jun 2004 19:45:17 -0000 -@@ -357,7 +357,7 @@ - buff += format_string(buff, spam_header_name, 0, prec, flags, end); - break; - case 'I': /* I - received IP address */ -- buff += format_string(buff, ipaddr->text, 0, prec, flags, end); -+ buff += format_string(buff, ipaddr ? (const char *)ipaddr->text : "UNKNOWN", 0, prec, flags, end); - break; - case 'l': /* l - logging tag */ - buff += format_string(buff, logtag, 0, prec, flags, end); |