2020-01-19 00:30:43 +01:00
|
|
|
# $NetBSD: Makefile,v 1.40 2020/01/18 23:35:45 rillig Exp $
|
2007-01-24 20:55:59 +01:00
|
|
|
|
2016-10-30 12:39:14 +01:00
|
|
|
DISTNAME= serf-1.3.9
|
2020-01-18 22:48:19 +01:00
|
|
|
PKGREVISION= 1
|
2007-01-24 20:55:59 +01:00
|
|
|
CATEGORIES= www
|
2016-10-30 12:39:14 +01:00
|
|
|
MASTER_SITES= https://www.apache.org/dist/serf/
|
2007-01-24 20:55:59 +01:00
|
|
|
EXTRACT_SUFX= .tar.bz2
|
|
|
|
|
2008-08-18 02:55:48 +02:00
|
|
|
MAINTAINER= pkgsrc-users@NetBSD.org
|
2020-01-19 00:30:43 +01:00
|
|
|
HOMEPAGE= https://serf.apache.org/
|
2007-01-24 20:55:59 +01:00
|
|
|
COMMENT= High-performance asynchronous HTTP client library
|
2013-09-17 16:01:01 +02:00
|
|
|
LICENSE= apache-2.0
|
2007-01-24 20:55:59 +01:00
|
|
|
|
Update to 1.3.1:
Serf 1.3.1 [2013-08-15, from /tags/1.3.1, r????]
Fix issue 77: Endless loop if server doesn't accept Negotiate authentication.
Fix issue 114: ssl/tls renegotiation fails
Fix issue 120: error with ssl tunnel over proxy with KeepAlive off and
Basic authentication.
Fixed bugs with authentication (r2057,2115,2118)
SCons-related fixes:
Fix issue 111: add flag to set custom library path
Fix issue 112: add soname
Fix issue 113: add gssapi libs in the serf pc file
Fix issue 115: Setting RPATH on Solaris broken in SConstruct
Fix issue 116: scons check should return non-zero exit staths
Fix issue 121: make CFLAGS, LIBS, LINKFLAGS and CPPFLAGS take a space-
separated list of flags.
Fix issue 122: make scons PREFIX create the folder if it doesn't exist
Mac OS X: Fix scons --install-sandbox
Solaris: Fix build with cc, don't use unsupported compiler flags
Require SCons version 2.3.0 or higher now (for the soname support).
Serf 1.3.0 [2013-07-23, from /tags/1.3.0, r2074]
Fix issue 83: use PATH rather than URI within an ssltunnel (r1952)
Fix issue 108: improved error reporting from the underlying socket (r1951)
NEW: Switch to the SCons build system; retire serfmake, serf.mak, autotools
Improved Basic and Digest authentication:
- remember credentials on a per-server basis
- properly manage authentication realms
- continue functioning when a server sets KeepAlive: off
Windows: add support for NTLM authentication
Improved 2617 compliance: always use strongest authentication (r1968,1971)
Fixed bugs with proxy authentication and SSL tunneling through a proxy
Fixed bugs the response parser (r2032,r2036)
SSL connection performance improvements
Huge expansion of the test suite
2013-09-06 19:23:49 +02:00
|
|
|
SCONS_ARGS+= APR=${PREFIX}/bin/apr-1-config
|
|
|
|
SCONS_ARGS+= APU=${PREFIX}/bin/apu-1-config
|
2013-09-17 16:01:01 +02:00
|
|
|
SCONS_ARGS+= CC=${CC:Q}
|
|
|
|
SCONS_ARGS+= CFLAGS=${CFLAGS:Q}
|
2014-02-12 15:35:11 +01:00
|
|
|
SCONS_ARGS+= LDFLAGS=${LDFLAGS:Q}
|
2015-03-16 16:22:47 +01:00
|
|
|
SCONS_ARGS+= LINKFLAGS=${LDFLAGS:Q}
|
Update to 1.3.1:
Serf 1.3.1 [2013-08-15, from /tags/1.3.1, r????]
Fix issue 77: Endless loop if server doesn't accept Negotiate authentication.
Fix issue 114: ssl/tls renegotiation fails
Fix issue 120: error with ssl tunnel over proxy with KeepAlive off and
Basic authentication.
Fixed bugs with authentication (r2057,2115,2118)
SCons-related fixes:
Fix issue 111: add flag to set custom library path
Fix issue 112: add soname
Fix issue 113: add gssapi libs in the serf pc file
Fix issue 115: Setting RPATH on Solaris broken in SConstruct
Fix issue 116: scons check should return non-zero exit staths
Fix issue 121: make CFLAGS, LIBS, LINKFLAGS and CPPFLAGS take a space-
separated list of flags.
Fix issue 122: make scons PREFIX create the folder if it doesn't exist
Mac OS X: Fix scons --install-sandbox
Solaris: Fix build with cc, don't use unsupported compiler flags
Require SCons version 2.3.0 or higher now (for the soname support).
Serf 1.3.0 [2013-07-23, from /tags/1.3.0, r2074]
Fix issue 83: use PATH rather than URI within an ssltunnel (r1952)
Fix issue 108: improved error reporting from the underlying socket (r1951)
NEW: Switch to the SCons build system; retire serfmake, serf.mak, autotools
Improved Basic and Digest authentication:
- remember credentials on a per-server basis
- properly manage authentication realms
- continue functioning when a server sets KeepAlive: off
Windows: add support for NTLM authentication
Improved 2617 compliance: always use strongest authentication (r1968,1971)
Fixed bugs with proxy authentication and SSL tunneling through a proxy
Fixed bugs the response parser (r2032,r2036)
SSL connection performance improvements
Huge expansion of the test suite
2013-09-06 19:23:49 +02:00
|
|
|
SCONS_ARGS+= OPENSSL=${PREFIX}/lib
|
2014-04-14 00:23:44 +02:00
|
|
|
SCONS_ARGS+= --install-sandbox=${DESTDIR}
|
Update to 1.3.1:
Serf 1.3.1 [2013-08-15, from /tags/1.3.1, r????]
Fix issue 77: Endless loop if server doesn't accept Negotiate authentication.
Fix issue 114: ssl/tls renegotiation fails
Fix issue 120: error with ssl tunnel over proxy with KeepAlive off and
Basic authentication.
Fixed bugs with authentication (r2057,2115,2118)
SCons-related fixes:
Fix issue 111: add flag to set custom library path
Fix issue 112: add soname
Fix issue 113: add gssapi libs in the serf pc file
Fix issue 115: Setting RPATH on Solaris broken in SConstruct
Fix issue 116: scons check should return non-zero exit staths
Fix issue 121: make CFLAGS, LIBS, LINKFLAGS and CPPFLAGS take a space-
separated list of flags.
Fix issue 122: make scons PREFIX create the folder if it doesn't exist
Mac OS X: Fix scons --install-sandbox
Solaris: Fix build with cc, don't use unsupported compiler flags
Require SCons version 2.3.0 or higher now (for the soname support).
Serf 1.3.0 [2013-07-23, from /tags/1.3.0, r2074]
Fix issue 83: use PATH rather than URI within an ssltunnel (r1952)
Fix issue 108: improved error reporting from the underlying socket (r1951)
NEW: Switch to the SCons build system; retire serfmake, serf.mak, autotools
Improved Basic and Digest authentication:
- remember credentials on a per-server basis
- properly manage authentication realms
- continue functioning when a server sets KeepAlive: off
Windows: add support for NTLM authentication
Improved 2617 compliance: always use strongest authentication (r1968,1971)
Fixed bugs with proxy authentication and SSL tunneling through a proxy
Fixed bugs the response parser (r2032,r2036)
SSL connection performance improvements
Huge expansion of the test suite
2013-09-06 19:23:49 +02:00
|
|
|
|
2015-01-29 11:29:13 +01:00
|
|
|
.include "options.mk"
|
|
|
|
|
2013-09-20 08:30:02 +02:00
|
|
|
CFLAGS.SunOS+= -D__EXTENSIONS__
|
|
|
|
|
2017-04-05 01:40:06 +02:00
|
|
|
# Upstream distfile incorrectly has world-writable files.
|
|
|
|
post-extract:
|
|
|
|
${CHMOD} -R go-w ${WRKSRC}
|
|
|
|
|
Update to 1.3.1:
Serf 1.3.1 [2013-08-15, from /tags/1.3.1, r????]
Fix issue 77: Endless loop if server doesn't accept Negotiate authentication.
Fix issue 114: ssl/tls renegotiation fails
Fix issue 120: error with ssl tunnel over proxy with KeepAlive off and
Basic authentication.
Fixed bugs with authentication (r2057,2115,2118)
SCons-related fixes:
Fix issue 111: add flag to set custom library path
Fix issue 112: add soname
Fix issue 113: add gssapi libs in the serf pc file
Fix issue 115: Setting RPATH on Solaris broken in SConstruct
Fix issue 116: scons check should return non-zero exit staths
Fix issue 121: make CFLAGS, LIBS, LINKFLAGS and CPPFLAGS take a space-
separated list of flags.
Fix issue 122: make scons PREFIX create the folder if it doesn't exist
Mac OS X: Fix scons --install-sandbox
Solaris: Fix build with cc, don't use unsupported compiler flags
Require SCons version 2.3.0 or higher now (for the soname support).
Serf 1.3.0 [2013-07-23, from /tags/1.3.0, r2074]
Fix issue 83: use PATH rather than URI within an ssltunnel (r1952)
Fix issue 108: improved error reporting from the underlying socket (r1951)
NEW: Switch to the SCons build system; retire serfmake, serf.mak, autotools
Improved Basic and Digest authentication:
- remember credentials on a per-server basis
- properly manage authentication realms
- continue functioning when a server sets KeepAlive: off
Windows: add support for NTLM authentication
Improved 2617 compliance: always use strongest authentication (r1968,1971)
Fixed bugs with proxy authentication and SSL tunneling through a proxy
Fixed bugs the response parser (r2032,r2036)
SSL connection performance improvements
Huge expansion of the test suite
2013-09-06 19:23:49 +02:00
|
|
|
do-build:
|
2019-01-02 18:25:05 +01:00
|
|
|
cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ${SCONSBIN} PREFIX=${PREFIX} ${SCONS_ARGS}
|
Update to 1.3.1:
Serf 1.3.1 [2013-08-15, from /tags/1.3.1, r????]
Fix issue 77: Endless loop if server doesn't accept Negotiate authentication.
Fix issue 114: ssl/tls renegotiation fails
Fix issue 120: error with ssl tunnel over proxy with KeepAlive off and
Basic authentication.
Fixed bugs with authentication (r2057,2115,2118)
SCons-related fixes:
Fix issue 111: add flag to set custom library path
Fix issue 112: add soname
Fix issue 113: add gssapi libs in the serf pc file
Fix issue 115: Setting RPATH on Solaris broken in SConstruct
Fix issue 116: scons check should return non-zero exit staths
Fix issue 121: make CFLAGS, LIBS, LINKFLAGS and CPPFLAGS take a space-
separated list of flags.
Fix issue 122: make scons PREFIX create the folder if it doesn't exist
Mac OS X: Fix scons --install-sandbox
Solaris: Fix build with cc, don't use unsupported compiler flags
Require SCons version 2.3.0 or higher now (for the soname support).
Serf 1.3.0 [2013-07-23, from /tags/1.3.0, r2074]
Fix issue 83: use PATH rather than URI within an ssltunnel (r1952)
Fix issue 108: improved error reporting from the underlying socket (r1951)
NEW: Switch to the SCons build system; retire serfmake, serf.mak, autotools
Improved Basic and Digest authentication:
- remember credentials on a per-server basis
- properly manage authentication realms
- continue functioning when a server sets KeepAlive: off
Windows: add support for NTLM authentication
Improved 2617 compliance: always use strongest authentication (r1968,1971)
Fixed bugs with proxy authentication and SSL tunneling through a proxy
Fixed bugs the response parser (r2032,r2036)
SSL connection performance improvements
Huge expansion of the test suite
2013-09-06 19:23:49 +02:00
|
|
|
|
|
|
|
do-install:
|
2019-01-02 18:25:05 +01:00
|
|
|
cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ${SCONSBIN} PREFIX=${PREFIX} ${SCONS_ARGS} install
|
2007-01-24 20:55:59 +01:00
|
|
|
|
|
|
|
.include "../../devel/apr/buildlink3.mk"
|
|
|
|
.include "../../devel/apr-util/buildlink3.mk"
|
2019-01-02 18:25:05 +01:00
|
|
|
PYTHON_FOR_BUILD_ONLY?= yes
|
|
|
|
.include "../../devel/scons/buildlink3.mk"
|
2011-11-27 06:42:50 +01:00
|
|
|
.include "../../devel/zlib/buildlink3.mk"
|
2007-02-08 16:49:06 +01:00
|
|
|
.include "../../security/openssl/buildlink3.mk"
|
2007-01-24 20:55:59 +01:00
|
|
|
.include "../../mk/bsd.pkg.mk"
|