diff options
author | zi <zi@FreeBSD.org> | 2014-07-30 04:31:48 +0800 |
---|---|---|
committer | zi <zi@FreeBSD.org> | 2014-07-30 04:31:48 +0800 |
commit | 83b49df5a754755eacda737c63cd862a891175e3 (patch) | |
tree | 529b53b2a338743a9bc44d31ddfff29f4a8b35d1 /net | |
parent | 6de0a1420c6ffc90572c408f22924488b8153fb5 (diff) | |
download | freebsd-ports-gnome-83b49df5a754755eacda737c63cd862a891175e3.tar.gz freebsd-ports-gnome-83b49df5a754755eacda737c63cd862a891175e3.tar.zst freebsd-ports-gnome-83b49df5a754755eacda737c63cd862a891175e3.zip |
- Add SQLITE3 OPTION
- Disable heartbleed test (requested by des@)
Diffstat (limited to 'net')
-rw-r--r-- | net/freeradius3/Makefile | 7 | ||||
-rw-r--r-- | net/freeradius3/files/patch-src__main__tls.c | 16 | ||||
-rw-r--r-- | net/freeradius3/pkg-plist | 3 |
3 files changed, 24 insertions, 2 deletions
diff --git a/net/freeradius3/Makefile b/net/freeradius3/Makefile index 31737c6b763f..8f97284c64bd 100644 --- a/net/freeradius3/Makefile +++ b/net/freeradius3/Makefile @@ -42,10 +42,11 @@ MAKE_JOBS_SAFE= yes PLIST_SUB= PORTVERSION=${DISTVERSION} LIBVER=0${PORTVERSION:C/\./0/g} +OPTIONS_SUB= yes OPTIONS_DEFINE= USER KERBEROS HEIMDAL HEIMDAL_PORT LDAP MYSQL \ PGSQL UNIXODBC FIREBIRD REDIS PYTHON RUBY \ EXPERIMENTAL UDPFROMTO DEVELOPER EDIR PERL REST \ - FREETDS IDN SSL_PORT DOCS + FREETDS IDN SSL_PORT DOCS SQLITE3 OPTIONS_DEFAULT=USER PERL USER_DESC= Run as user freeradius, group freeradius @@ -60,6 +61,9 @@ EDIR_DESC= Enable eDirectory support (implies LDAP) REST_DESC= Enable RESTful API support SSL_PORT_DESC= Use OpenSSL from the ports collection +SQLITE3_CONFIGURE_WITH=rlm_sql_sqlite +SQLITE3_LIB_DEPENDS= libsqlite3.so:${PORTSDIR}/databases/sqlite3 + .include <bsd.port.options.mk> # Default requirements for rc script @@ -327,7 +331,6 @@ CONFIGURE_ARGS+=--with-logdir=${LOGDIR} \ --without-rlm_opendirectory \ --without-rlm_sql_db2 \ --without-rlm_sql_iodbc \ - --without-rlm_sql_sqlite \ --without-rlm_sql_sybase \ --without-rlm_yubikey \ --without-rlm_sql_oracle \ diff --git a/net/freeradius3/files/patch-src__main__tls.c b/net/freeradius3/files/patch-src__main__tls.c new file mode 100644 index 000000000000..0b3241f69ea9 --- /dev/null +++ b/net/freeradius3/files/patch-src__main__tls.c @@ -0,0 +1,16 @@ +--- ./src/main/tls.c.orig 2014-07-29 15:55:29.000000000 -0400 ++++ ./src/main/tls.c 2014-07-29 15:57:18.000000000 -0400 +@@ -62,13 +62,6 @@ + /* Record critical defects in libssl here (newest first)*/ + static libssl_defect_t libssl_defects[] = + { +- { +- .low = 0x010001000, /* 1.0.1 */ +- .high = 0x01000106f, /* 1.0.1f */ +- .id = "CVE-2014-0160", +- .name = "Heartbleed", +- .comment = "For more information see http://heartbleed.com" +- } + }; + + /* record */ diff --git a/net/freeradius3/pkg-plist b/net/freeradius3/pkg-plist index 6d5537131e79..fc467be98a42 100644 --- a/net/freeradius3/pkg-plist +++ b/net/freeradius3/pkg-plist @@ -238,6 +238,9 @@ include/freeradius/udpfromto.h %%LIBDIR%%/rlm_sqlippool.a %%LIBDIR%%/rlm_sqlippool.la %%LIBDIR%%/rlm_sqlippool.so +%%SQLITE3%%%%LIBDIR%%/rlm_sql_sqlite.a +%%SQLITE3%%%%LIBDIR%%/rlm_sql_sqlite.la +%%SQLITE3%%%%LIBDIR%%/rlm_sql_sqlite.so %%LIBDIR%%/rlm_unix.a %%LIBDIR%%/rlm_unix.la %%LIBDIR%%/rlm_unix.so |