pkgsrc/devel/libmemcached/Makefile

53 lines
1.7 KiB
Makefile
Raw Normal View History

2020-03-16 11:38:09 +01:00
# $NetBSD: Makefile,v 1.14 2020/03/16 10:38:09 nia Exp $
DISTNAME= libmemcached-1.0.18
CATEGORIES= devel
1.0.17 Tue Apr 2 14:02:01 HST 2013 * Remove c++ namespace that was being exposed (the API should be plug compatible).. * Fix cases where --servers wasn't behaving the same in all clients. 1.0.16 Thu Jan 31 19:14:32 EST 2013 * Added support to do two part shutdown of socket. * Fixes for Fedora 18. * Fix for binary memcached_touch() 1.0.15 Mon Dec 17 07:25:44 EST 2012 * Added support for Murmur3 (HASHKIT_HASH_MURMUR3) * Portability fixes. 1.0.14 Wed Nov 14 04:56:25 EST 2012 * CLIENT_ERROR fixed to not be treated as a fatal error. * Compiler fixes for older Ubuntu releases. 1.0.13 Fri Oct 19 00:09:28 EDT 2012 * Fix bug that caused version string to not be exported correctly. 1.0.12 Tue Oct 9 03:30:20 EDT 2012 * Added memcached_result_take_value(). * Added ax_libmemcached.m4 1.0.11 Sun Sep 16 20:32:13 EDT 2012 * Removed custom version of memcached. * Updated hardening rules. * Fixed a case where the return error from a socket connection differred from that of a TCP/IP socket. 1.0.10 Sun Jul 29 21:50:15 PDT 2012 * --disable-assert has been removed from configure, and --enable-assert has been added in its place. * Compiling fixes for Clang on OSX Mountain Lion. 1.0.9 Wed Jul 4 22:46:19 EDT 2012 * Faster close on socket. * Instance allocation is now seperated from server interface. This should allow for a better preservation of ABI compliance from now on. * Fix close on exec bug. * Numerous other bug fixes. 1.0.8 Tue May 22 15:06:04 EDT 2012 * Added support for setting options via ENV variable LIBMEMCACHED * Fix corner case on last used result. 1.0.7 Sat Apr 28 00:48:29 PDT 2012 * Add API call for exist calls. * Update all license files to be BSD. 1.0.6 Sat Apr 7 18:26:49 PDT 2012 * Fixes for gcc 4.7, lp:961812 * Fix for restart issue that happens under testing. * Fix for lp:962815. * Support for transparent AES encryption. 1.0.5 Tue Mar 13 22:56:47 PDT 2012 * Fixes for OSX. * Version is now parsed directly in the parser, which makes buffered operations now work with it.. * memstat has been extended so that it can be used to find the version of the server. * Update documentation. * Fixes for compile issues on Debian and Ubuntu 1.0.4 Thu Jan 26 22:33:54 PST 2012 * Fix for memcached_dump(). * Additional testing for memcached_stat_execute().
2013-09-12 16:20:56 +02:00
MASTER_SITES= http://launchpad.net/libmemcached/1.0/${PKGVERSION_NOREV}/+download/
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= https://libmemcached.org/
COMMENT= C/C++ client library and tools for the memcached server
LICENSE= modified-bsd
GNU_CONFIGURE= yes
USE_TOOLS+= pkg-config gmake
2020-03-16 11:38:09 +01:00
USE_LANGUAGES= c gnu++0x
USE_LIBTOOL= yes
PKGCONFIG_OVERRIDE+= support/libmemcached.pc.in
# Let pkgsrc handle security options.
CONFIGURE_ENV+= ax_cv_check_cflags__Werror__fPIE=no
CONFIGURE_ENV+= ax_cv_check_cflags__Werror__pie=no
CONFIGURE_ENV+= ax_cv_check_cxxflags__Werror__fPIE=no
CONFIGURE_ENV+= ax_cv_check_cxxflags__Werror__pie=no
.include "../../mk/bsd.prefs.mk"
1.0.17 Tue Apr 2 14:02:01 HST 2013 * Remove c++ namespace that was being exposed (the API should be plug compatible).. * Fix cases where --servers wasn't behaving the same in all clients. 1.0.16 Thu Jan 31 19:14:32 EST 2013 * Added support to do two part shutdown of socket. * Fixes for Fedora 18. * Fix for binary memcached_touch() 1.0.15 Mon Dec 17 07:25:44 EST 2012 * Added support for Murmur3 (HASHKIT_HASH_MURMUR3) * Portability fixes. 1.0.14 Wed Nov 14 04:56:25 EST 2012 * CLIENT_ERROR fixed to not be treated as a fatal error. * Compiler fixes for older Ubuntu releases. 1.0.13 Fri Oct 19 00:09:28 EDT 2012 * Fix bug that caused version string to not be exported correctly. 1.0.12 Tue Oct 9 03:30:20 EDT 2012 * Added memcached_result_take_value(). * Added ax_libmemcached.m4 1.0.11 Sun Sep 16 20:32:13 EDT 2012 * Removed custom version of memcached. * Updated hardening rules. * Fixed a case where the return error from a socket connection differred from that of a TCP/IP socket. 1.0.10 Sun Jul 29 21:50:15 PDT 2012 * --disable-assert has been removed from configure, and --enable-assert has been added in its place. * Compiling fixes for Clang on OSX Mountain Lion. 1.0.9 Wed Jul 4 22:46:19 EDT 2012 * Faster close on socket. * Instance allocation is now seperated from server interface. This should allow for a better preservation of ABI compliance from now on. * Fix close on exec bug. * Numerous other bug fixes. 1.0.8 Tue May 22 15:06:04 EDT 2012 * Added support for setting options via ENV variable LIBMEMCACHED * Fix corner case on last used result. 1.0.7 Sat Apr 28 00:48:29 PDT 2012 * Add API call for exist calls. * Update all license files to be BSD. 1.0.6 Sat Apr 7 18:26:49 PDT 2012 * Fixes for gcc 4.7, lp:961812 * Fix for restart issue that happens under testing. * Fix for lp:962815. * Support for transparent AES encryption. 1.0.5 Tue Mar 13 22:56:47 PDT 2012 * Fixes for OSX. * Version is now parsed directly in the parser, which makes buffered operations now work with it.. * memstat has been extended so that it can be used to find the version of the server. * Update documentation. * Fixes for compile issues on Debian and Ubuntu 1.0.4 Thu Jan 26 22:33:54 PST 2012 * Fix for memcached_dump(). * Additional testing for memcached_stat_execute().
2013-09-12 16:20:56 +02:00
.include "options.mk"
2020-03-16 11:38:09 +01:00
BUILDLINK_TRANSFORM+= rm:-std=c++0x
CONFIGURE_ARGS+= --enable-jobserver=no
2012-07-09 21:08:46 +02:00
CPPFLAGS+= -D__STDC_FORMAT_MACROS
1.0.17 Tue Apr 2 14:02:01 HST 2013 * Remove c++ namespace that was being exposed (the API should be plug compatible).. * Fix cases where --servers wasn't behaving the same in all clients. 1.0.16 Thu Jan 31 19:14:32 EST 2013 * Added support to do two part shutdown of socket. * Fixes for Fedora 18. * Fix for binary memcached_touch() 1.0.15 Mon Dec 17 07:25:44 EST 2012 * Added support for Murmur3 (HASHKIT_HASH_MURMUR3) * Portability fixes. 1.0.14 Wed Nov 14 04:56:25 EST 2012 * CLIENT_ERROR fixed to not be treated as a fatal error. * Compiler fixes for older Ubuntu releases. 1.0.13 Fri Oct 19 00:09:28 EDT 2012 * Fix bug that caused version string to not be exported correctly. 1.0.12 Tue Oct 9 03:30:20 EDT 2012 * Added memcached_result_take_value(). * Added ax_libmemcached.m4 1.0.11 Sun Sep 16 20:32:13 EDT 2012 * Removed custom version of memcached. * Updated hardening rules. * Fixed a case where the return error from a socket connection differred from that of a TCP/IP socket. 1.0.10 Sun Jul 29 21:50:15 PDT 2012 * --disable-assert has been removed from configure, and --enable-assert has been added in its place. * Compiling fixes for Clang on OSX Mountain Lion. 1.0.9 Wed Jul 4 22:46:19 EDT 2012 * Faster close on socket. * Instance allocation is now seperated from server interface. This should allow for a better preservation of ABI compliance from now on. * Fix close on exec bug. * Numerous other bug fixes. 1.0.8 Tue May 22 15:06:04 EDT 2012 * Added support for setting options via ENV variable LIBMEMCACHED * Fix corner case on last used result. 1.0.7 Sat Apr 28 00:48:29 PDT 2012 * Add API call for exist calls. * Update all license files to be BSD. 1.0.6 Sat Apr 7 18:26:49 PDT 2012 * Fixes for gcc 4.7, lp:961812 * Fix for restart issue that happens under testing. * Fix for lp:962815. * Support for transparent AES encryption. 1.0.5 Tue Mar 13 22:56:47 PDT 2012 * Fixes for OSX. * Version is now parsed directly in the parser, which makes buffered operations now work with it.. * memstat has been extended so that it can be used to find the version of the server. * Update documentation. * Fixes for compile issues on Debian and Ubuntu 1.0.4 Thu Jan 26 22:33:54 PST 2012 * Fix for memcached_dump(). * Additional testing for memcached_stat_execute().
2013-09-12 16:20:56 +02:00
LIBS.SunOS+= -lsocket
# Disable, the configure check is completely broken.
# Some checks are fixed in the local patches, but not enough to get
# an actual build running
.for sanitizer in address integer thread memory alignment bool bounds enum \
float-cast-overflow float-divide-by-zero integer-divide-by-zero null \
object-size return shift signed-integer-overflow unreachable \
unsigned-integer-overflow vla-bound vptr
CONFIGURE_ARGS+= ax_cv_check_cxxflags__Werror__fsanitize_${sanitizer:S/-/_/g}=no
CONFIGURE_ARGS+= ax_cv_check_cflags__Werror__fsanitize_${sanitizer:S/-/_/g}=no
.endfor
1.0.17 Tue Apr 2 14:02:01 HST 2013 * Remove c++ namespace that was being exposed (the API should be plug compatible).. * Fix cases where --servers wasn't behaving the same in all clients. 1.0.16 Thu Jan 31 19:14:32 EST 2013 * Added support to do two part shutdown of socket. * Fixes for Fedora 18. * Fix for binary memcached_touch() 1.0.15 Mon Dec 17 07:25:44 EST 2012 * Added support for Murmur3 (HASHKIT_HASH_MURMUR3) * Portability fixes. 1.0.14 Wed Nov 14 04:56:25 EST 2012 * CLIENT_ERROR fixed to not be treated as a fatal error. * Compiler fixes for older Ubuntu releases. 1.0.13 Fri Oct 19 00:09:28 EDT 2012 * Fix bug that caused version string to not be exported correctly. 1.0.12 Tue Oct 9 03:30:20 EDT 2012 * Added memcached_result_take_value(). * Added ax_libmemcached.m4 1.0.11 Sun Sep 16 20:32:13 EDT 2012 * Removed custom version of memcached. * Updated hardening rules. * Fixed a case where the return error from a socket connection differred from that of a TCP/IP socket. 1.0.10 Sun Jul 29 21:50:15 PDT 2012 * --disable-assert has been removed from configure, and --enable-assert has been added in its place. * Compiling fixes for Clang on OSX Mountain Lion. 1.0.9 Wed Jul 4 22:46:19 EDT 2012 * Faster close on socket. * Instance allocation is now seperated from server interface. This should allow for a better preservation of ABI compliance from now on. * Fix close on exec bug. * Numerous other bug fixes. 1.0.8 Tue May 22 15:06:04 EDT 2012 * Added support for setting options via ENV variable LIBMEMCACHED * Fix corner case on last used result. 1.0.7 Sat Apr 28 00:48:29 PDT 2012 * Add API call for exist calls. * Update all license files to be BSD. 1.0.6 Sat Apr 7 18:26:49 PDT 2012 * Fixes for gcc 4.7, lp:961812 * Fix for restart issue that happens under testing. * Fix for lp:962815. * Support for transparent AES encryption. 1.0.5 Tue Mar 13 22:56:47 PDT 2012 * Fixes for OSX. * Version is now parsed directly in the parser, which makes buffered operations now work with it.. * memstat has been extended so that it can be used to find the version of the server. * Update documentation. * Fixes for compile issues on Debian and Ubuntu 1.0.4 Thu Jan 26 22:33:54 PST 2012 * Fix for memcached_dump(). * Additional testing for memcached_stat_execute().
2013-09-12 16:20:56 +02:00
post-configure:
${ECHO} '#define HAVE_MEMCACHED_BINARY 1' >> ${WRKSRC}/mem_config.h
${ECHO} '#define MEMCACHED_BINARY "${PREFIX}/bin/memcached"' >> ${WRKSRC}/mem_config.h
.include "../../devel/libexecinfo/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"