diff options
author | swills <swills@FreeBSD.org> | 2016-11-02 13:26:58 +0800 |
---|---|---|
committer | swills <swills@FreeBSD.org> | 2016-11-02 13:26:58 +0800 |
commit | c1f612ed31affdf87c233af5325be5febf59a8dd (patch) | |
tree | e578d62fdd0c6bf490ad6b88395dfe632d7fe0c4 /databases | |
parent | 7c1e5f1975c261e8d704cdec2dfff105c4cd9dac (diff) | |
download | freebsd-ports-graphics-c1f612ed31affdf87c233af5325be5febf59a8dd.tar.gz freebsd-ports-graphics-c1f612ed31affdf87c233af5325be5febf59a8dd.tar.zst freebsd-ports-graphics-c1f612ed31affdf87c233af5325be5febf59a8dd.zip |
databases/memcached: Update to version 1.4.33
PR: 213416
Submitted by: luca.pizzamiglio@gmail.com (with modifications)
MFH: 2016Q4
Relnotes: https://github.com/memcached/memcached/wiki/ReleaseNotes1433
Security: f4bf713f-6ac7-4b76-8980-47bf90c5419f
Diffstat (limited to 'databases')
-rw-r--r-- | databases/memcached/Makefile | 17 | ||||
-rw-r--r-- | databases/memcached/distinfo | 5 | ||||
-rw-r--r-- | databases/memcached/files/patch-thread.c | 11 |
3 files changed, 10 insertions, 23 deletions
diff --git a/databases/memcached/Makefile b/databases/memcached/Makefile index 267ae659fbf..f82db19ba72 100644 --- a/databases/memcached/Makefile +++ b/databases/memcached/Makefile @@ -2,7 +2,7 @@ # $FreeBSD$ PORTNAME= memcached -PORTVERSION= 1.4.25 +PORTVERSION= 1.4.33 CATEGORIES= databases MASTER_SITES= http://www.memcached.org/files/ \ GENTOO @@ -27,8 +27,7 @@ SASL_DESC= Enable SASL Authentication USE_RC_SUBR= memcached SUB_LIST+= RC_SUBR_SUFFIX=${RC_SUBR_SUFFIX} -USES= cpe shebangfix autoreconf:build -USE_AUTOTOOLS= aclocal +USES= cpe shebangfix autoreconf SHEBANG_FILES= scripts/memcached-tool USE_CSTD= c99 @@ -37,6 +36,8 @@ CONFIGURE_ARGS= --with-libevent=${LOCALBASE} \ --program-prefix= \ --disable-coverage +DOCS_BUILD_DEPENDS= xml2rfc:textproc/xml2rfc + DTRACE_CONFIGURE_ENABLE= dtrace SASL_LIB_DEPENDS= libsasl2.so:security/cyrus-sasl2 @@ -57,19 +58,15 @@ CONFIGURE_ARGS+= --enable-64bit BROKEN= DTRACE broken with gcc/clang - reported upstream .endif -.if ${PORT_OPTIONS:MDOCS} -BUILD_DEPENDS= xml2rfc:textproc/xml2rfc -.endif - post-install: ${INSTALL_SCRIPT} ${WRKSRC}/scripts/memcached-tool ${STAGEDIR}${PREFIX}/bin -.if ${PORT_OPTIONS:MDOCS} - @${MKDIR} ${STAGEDIR}${DOCSDIR} + +post-install-DOCS-on: + ${MKDIR} ${STAGEDIR}${DOCSDIR} .for i in protocol-binary-range.txt protocol-binary.txt protocol.txt \ readme.txt threads.txt ${INSTALL_DATA} ${WRKSRC}/doc/${i} ${STAGEDIR}${DOCSDIR} .endfor -.endif regression-test: test test: build diff --git a/databases/memcached/distinfo b/databases/memcached/distinfo index 9e86bec01fd..cd7927a321f 100644 --- a/databases/memcached/distinfo +++ b/databases/memcached/distinfo @@ -1,2 +1,3 @@ -SHA256 (memcached-1.4.25.tar.gz) = f058437b3c224d321919a9a6bb4e3eedb2312ed718c0caf087ff2f04ab795dda -SIZE (memcached-1.4.25.tar.gz) = 359709 +TIMESTAMP = 1478061979 +SHA256 (memcached-1.4.33.tar.gz) = 83726c8d68258c56712373072abb25a449c257398075a39ec0867fd8ba69771d +SIZE (memcached-1.4.33.tar.gz) = 389813 diff --git a/databases/memcached/files/patch-thread.c b/databases/memcached/files/patch-thread.c deleted file mode 100644 index 92bc5ea6217..00000000000 --- a/databases/memcached/files/patch-thread.c +++ /dev/null @@ -1,11 +0,0 @@ ---- thread.c.orig 2015-04-20 05:34:19 UTC -+++ thread.c -@@ -402,7 +402,7 @@ static void thread_libevent_process(int - conn *c = conn_new(item->sfd, item->init_state, item->event_flags, - item->read_buffer_size, item->transport, me->base); - if (c == NULL) { -- if (IS_UDP(item->transport)) { -+ if IS_UDP(item->transport) { - fprintf(stderr, "Can't listen for events on UDP socket\n"); - exit(1); - } else { |