- update serf to 1.1.1
From changelog:
Serf 1.1.1 [2012-10-04, from /tags/1.1.1]
Fixed issue 86: ensure requeued requests are correctly handled. This fixes:
- infinite loop with multiple connection resets or SIGPIPE errors
- "connection" hang where we would not re-queue requests that are held after
we re-connect
Fixed issue 74: test_all goes in an endless loop
Fix memory leak when conn. is closed explicitly/due to pool cleanups (r1623)
Fix for https on Windows: handle connection aborts (r1628..-30,-33,-34,-37)
Add new error codes for the SSL bucket
Serf 1.1.0 [2012-06-07, from /tags/1.1.0]
New: serf_bucket_request_set_CL() for C-L based, non-chunked requests
New: serf_ssl_server_cert_chain_callback_set() for full-chain validation
Serf 1.0.3 [2012-03-20, from /tags/1.0.3, r1586]
Map more OpenSSL errors into SERF_SSL_CERT_UNKNOWNCA (r1573)
Serf 1.0.2
Not released.
Serf 1.0.1 [2012-02-15, from /tags/1.0.1, r1569]
FreeBSD fixes in the test suite (r1560, r1565)
Minor build fixes
Please note there are still some issues in case the SVN repo is located at /
(for example redports.org), a fix was committed to current subversion.
http://subversion.tigris.org/ds/viewMessage.do?dsForumId=463&dsMessageId=2901999
with hat apache@
2012-10-06 10:28:25 +02:00
|
|
|
# Created by: Craig Rodrigues <rodrigc@FreeBSD.org>
|
2008-05-28 23:01:11 +02:00
|
|
|
# $FreeBSD$
|
|
|
|
|
|
|
|
PORTNAME= serf
|
2014-02-02 15:59:45 +01:00
|
|
|
PORTVERSION= 1.3.3
|
2008-05-28 23:01:11 +02:00
|
|
|
CATEGORIES= www
|
2011-12-20 01:43:56 +01:00
|
|
|
MASTER_SITES= GOOGLE_CODE
|
2008-05-28 23:01:11 +02:00
|
|
|
|
2010-04-29 19:30:25 +02:00
|
|
|
MAINTAINER= apache@FreeBSD.org
|
2008-05-28 23:01:11 +02:00
|
|
|
COMMENT= Serf HTTP client library
|
|
|
|
|
2013-12-30 21:55:18 +01:00
|
|
|
LICENSE= APACHE20
|
2013-11-09 21:21:36 +01:00
|
|
|
|
2010-05-18 06:05:05 +02:00
|
|
|
LIB_DEPENDS+= apr-1:${PORTSDIR}/devel/apr1
|
2008-05-28 23:01:11 +02:00
|
|
|
|
2013-11-05 22:57:16 +01:00
|
|
|
USE_SCONS= yes
|
2008-05-28 23:01:11 +02:00
|
|
|
USE_BZIP2= yes
|
2013-11-05 22:57:16 +01:00
|
|
|
USE_OPENSSL= yes
|
2008-05-28 23:01:11 +02:00
|
|
|
USE_LDCONFIG= yes
|
|
|
|
|
2013-11-09 21:21:36 +01:00
|
|
|
SUB_FILES= libserf-1.la
|
|
|
|
|
2014-02-04 06:50:01 +01:00
|
|
|
OPTIONS_DEFINE= DOCS GSSAPI
|
2013-07-06 10:50:22 +02:00
|
|
|
|
2013-11-05 22:57:16 +01:00
|
|
|
SCONS_ENV= # empty
|
|
|
|
SCONS_BUILDENV= # empty
|
|
|
|
SCONS_ARGS= APR=${LOCALBASE}/bin/apr-1-config
|
|
|
|
SCONS_ARGS+= APU=${LOCALBASE}/bin/apu-1-config
|
|
|
|
SCONS_ARGS+= OPENSSL=${OPENSSLBASE}
|
|
|
|
SCONS_ARGS+= PREFIX=${PREFIX}
|
|
|
|
SCONS_ARGS+= CC=${CC}
|
|
|
|
SCONS_ARGS+= CFLAGS="${CFLAGS}"
|
|
|
|
SCONS_INSTALL_TARGET= install --install-sandbox=${STAGEDIR}
|
2013-07-06 10:50:22 +02:00
|
|
|
|
2014-02-04 06:50:01 +01:00
|
|
|
.include <bsd.port.options.mk>
|
|
|
|
|
|
|
|
.if ${PORT_OPTIONS:MGSSAPI}
|
|
|
|
SCONS_ARGS+= GSSAPI="/usr"
|
|
|
|
.endif
|
|
|
|
|
2012-11-04 01:14:05 +01:00
|
|
|
post-patch:
|
2013-11-05 22:57:16 +01:00
|
|
|
@${REINPLACE_CMD} -e '/^Requires.private/d' ${WRKSRC}/build/serf.pc.in
|
2012-11-04 01:14:05 +01:00
|
|
|
|
2008-05-28 23:01:11 +02:00
|
|
|
post-install:
|
2013-11-05 22:57:16 +01:00
|
|
|
@${MKDIR} ${STAGEDIR}${DOCSDIR}
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/design-guide.txt ${STAGEDIR}${DOCSDIR}
|
2013-11-09 21:21:36 +01:00
|
|
|
${INSTALL_DATA} ${SUB_FILES:S|^|${WRKDIR}/|} ${STAGEDIR}${PREFIX}/lib
|
2008-05-28 23:01:11 +02:00
|
|
|
|
2013-11-05 22:57:16 +01:00
|
|
|
regression-test check: build
|
|
|
|
@(cd ${WRKSRC} && ${SCONS_BIN} check)
|
- update serf to 1.1.1
From changelog:
Serf 1.1.1 [2012-10-04, from /tags/1.1.1]
Fixed issue 86: ensure requeued requests are correctly handled. This fixes:
- infinite loop with multiple connection resets or SIGPIPE errors
- "connection" hang where we would not re-queue requests that are held after
we re-connect
Fixed issue 74: test_all goes in an endless loop
Fix memory leak when conn. is closed explicitly/due to pool cleanups (r1623)
Fix for https on Windows: handle connection aborts (r1628..-30,-33,-34,-37)
Add new error codes for the SSL bucket
Serf 1.1.0 [2012-06-07, from /tags/1.1.0]
New: serf_bucket_request_set_CL() for C-L based, non-chunked requests
New: serf_ssl_server_cert_chain_callback_set() for full-chain validation
Serf 1.0.3 [2012-03-20, from /tags/1.0.3, r1586]
Map more OpenSSL errors into SERF_SSL_CERT_UNKNOWNCA (r1573)
Serf 1.0.2
Not released.
Serf 1.0.1 [2012-02-15, from /tags/1.0.1, r1569]
FreeBSD fixes in the test suite (r1560, r1565)
Minor build fixes
Please note there are still some issues in case the SVN repo is located at /
(for example redports.org), a fix was committed to current subversion.
http://subversion.tigris.org/ds/viewMessage.do?dsForumId=463&dsMessageId=2901999
with hat apache@
2012-10-06 10:28:25 +02:00
|
|
|
|
2008-05-28 23:01:11 +02:00
|
|
|
.include <bsd.port.mk>
|