View | Details | Raw Unified | Return to bug 213416 | Differences between
and this patch

Collapse All | Expand All

(-)databases/memcached/Makefile (-9 / +4 lines)
Lines 2-8 Link Here
2
# $FreeBSD$
2
# $FreeBSD$
3
3
4
PORTNAME=	memcached
4
PORTNAME=	memcached
5
PORTVERSION=	1.4.25
5
PORTVERSION=	1.4.31
6
CATEGORIES=	databases
6
CATEGORIES=	databases
7
MASTER_SITES=	http://www.memcached.org/files/ \
7
MASTER_SITES=	http://www.memcached.org/files/ \
8
		GENTOO
8
		GENTOO
Lines 27-34 SASL_DESC= Enable SASL Authentication Link Here
27
USE_RC_SUBR=	memcached
27
USE_RC_SUBR=	memcached
28
SUB_LIST+=	RC_SUBR_SUFFIX=${RC_SUBR_SUFFIX}
28
SUB_LIST+=	RC_SUBR_SUFFIX=${RC_SUBR_SUFFIX}
29
29
30
USES=		cpe shebangfix autoreconf:build
30
USES=		cpe shebangfix autoreconf
31
USE_AUTOTOOLS=	aclocal
32
SHEBANG_FILES=	scripts/memcached-tool
31
SHEBANG_FILES=	scripts/memcached-tool
33
32
34
USE_CSTD=	c99
33
USE_CSTD=	c99
Lines 37-42 CONFIGURE_ARGS= --with-libevent=${LOCALBASE} \ Link Here
37
		--program-prefix= \
36
		--program-prefix= \
38
		--disable-coverage
37
		--disable-coverage
39
38
39
DOCS_BUILD_DEPENDS=	xml2rfc:textproc/xml2rfc
40
40
DTRACE_CONFIGURE_ENABLE=	dtrace
41
DTRACE_CONFIGURE_ENABLE=	dtrace
41
42
42
SASL_LIB_DEPENDS=	libsasl2.so:security/cyrus-sasl2
43
SASL_LIB_DEPENDS=	libsasl2.so:security/cyrus-sasl2
Lines 57-75 CONFIGURE_ARGS+= --enable-64bit Link Here
57
BROKEN=			DTRACE broken with gcc/clang - reported upstream
58
BROKEN=			DTRACE broken with gcc/clang - reported upstream
58
.endif
59
.endif
59
60
60
.if ${PORT_OPTIONS:MDOCS}
61
BUILD_DEPENDS=	xml2rfc:textproc/xml2rfc
62
.endif
63
64
post-install:
61
post-install:
65
	${INSTALL_SCRIPT} ${WRKSRC}/scripts/memcached-tool ${STAGEDIR}${PREFIX}/bin
62
	${INSTALL_SCRIPT} ${WRKSRC}/scripts/memcached-tool ${STAGEDIR}${PREFIX}/bin
66
.if ${PORT_OPTIONS:MDOCS}
67
	@${MKDIR} ${STAGEDIR}${DOCSDIR}
63
	@${MKDIR} ${STAGEDIR}${DOCSDIR}
68
.for i in protocol-binary-range.txt protocol-binary.txt protocol.txt \
64
.for i in protocol-binary-range.txt protocol-binary.txt protocol.txt \
69
		readme.txt threads.txt
65
		readme.txt threads.txt
70
	${INSTALL_DATA} ${WRKSRC}/doc/${i} ${STAGEDIR}${DOCSDIR}
66
	${INSTALL_DATA} ${WRKSRC}/doc/${i} ${STAGEDIR}${DOCSDIR}
71
.endfor
67
.endfor
72
.endif
73
68
74
regression-test: test
69
regression-test: test
75
test: build
70
test: build
(-)databases/memcached/distinfo (-2 / +3 lines)
Lines 1-2 Link Here
1
SHA256 (memcached-1.4.25.tar.gz) = f058437b3c224d321919a9a6bb4e3eedb2312ed718c0caf087ff2f04ab795dda
1
TIMESTAMP = 1476187643
2
SIZE (memcached-1.4.25.tar.gz) = 359709
2
SHA256 (memcached-1.4.31.tar.gz) = 77ce5f820bafe94c33bf7bd86268d9bcdb3b76f68128d795b106db53d528707f
3
SIZE (memcached-1.4.31.tar.gz) = 389502
(-)databases/memcached/files/patch-thread.c (-11 lines)
Removed Link Here
1
--- thread.c.orig	2015-04-20 05:34:19 UTC
2
+++ thread.c
3
@@ -402,7 +402,7 @@ static void thread_libevent_process(int 
4
         conn *c = conn_new(item->sfd, item->init_state, item->event_flags,
5
                            item->read_buffer_size, item->transport, me->base);
6
         if (c == NULL) {
7
-            if (IS_UDP(item->transport)) {
8
+            if IS_UDP(item->transport) {
9
                 fprintf(stderr, "Can't listen for events on UDP socket\n");
10
                 exit(1);
11
             } else {

Return to bug 213416