Move all to deprecated folder.
This commit is contained in:
@@ -0,0 +1,42 @@
|
||||
Disable the tests, cuts build time by half and avoids build issues
|
||||
with extra dependencies.
|
||||
|
||||
Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
|
||||
|
||||
diff -Nura libmemcached-1.0.18.orig/Makefile.am libmemcached-1.0.18/Makefile.am
|
||||
--- libmemcached-1.0.18.orig/Makefile.am 2014-07-19 09:24:45.246418899 -0300
|
||||
+++ libmemcached-1.0.18/Makefile.am 2014-07-19 09:25:12.701349345 -0300
|
||||
@@ -1,6 +1,6 @@
|
||||
# vim:ft=automake
|
||||
|
||||
-ACLOCAL_AMFLAGS= -I m4 -I libtest/m4
|
||||
+ACLOCAL_AMFLAGS= -I m4
|
||||
AM_YFLAGS= -d
|
||||
|
||||
# includes append to these:
|
||||
@@ -45,8 +45,6 @@
|
||||
include libmemcached-1.0/include.am
|
||||
else
|
||||
|
||||
-include libtest/include.am
|
||||
-
|
||||
include libhashkit-1.0/include.am
|
||||
include libmemcached-1.0/include.am
|
||||
|
||||
@@ -76,7 +74,6 @@
|
||||
include libmemcachedinternal/util/include.am
|
||||
include rpm/include.mk
|
||||
include support/include.am
|
||||
-include tests/include.am
|
||||
include util/include.am
|
||||
include win32/include.am
|
||||
|
||||
@@ -103,7 +100,7 @@
|
||||
@echo "Files that need to be either removed or checked in:"
|
||||
@bzr unknowns
|
||||
|
||||
-clean-local: clean-libtest-check clean-docs-check clean-rpm
|
||||
+clean-local: clean-docs-check clean-rpm
|
||||
|
||||
|
||||
lcov: lcov-clean check
|
||||
@@ -0,0 +1,25 @@
|
||||
Disable sanitizer checks, they're busted.
|
||||
|
||||
Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
|
||||
|
||||
diff -Nura libmemcached-1.0.18.orig/m4/ax_harden_compiler_flags.m4 libmemcached-1.0.18/m4/ax_harden_compiler_flags.m4
|
||||
--- libmemcached-1.0.18.orig/m4/ax_harden_compiler_flags.m4 2014-11-13 08:07:09.011614311 -0300
|
||||
+++ libmemcached-1.0.18/m4/ax_harden_compiler_flags.m4 2014-11-13 08:07:52.406092440 -0300
|
||||
@@ -222,8 +222,6 @@
|
||||
# GCC 4.5 removed this.
|
||||
# _APPEND_COMPILE_FLAGS_ERROR([-Wunreachable-code])
|
||||
|
||||
- _SET_SANITIZE_FLAGS
|
||||
-
|
||||
AS_IF([test "x$ax_enable_debug" = xno],
|
||||
[AS_IF([test "x$ac_cv_vcs_checkout" = xyes],
|
||||
[AS_IF([test "x${host_os}" != "xmingw"],
|
||||
@@ -337,8 +335,6 @@
|
||||
_APPEND_COMPILE_FLAGS_ERROR([-fstack-protector-all])
|
||||
])])])])
|
||||
|
||||
- _SET_SANITIZE_FLAGS
|
||||
-
|
||||
AS_IF([test "x$ac_cv_warnings_as_errors" = xyes],
|
||||
[AX_APPEND_FLAG([-Werror])])
|
||||
AC_LANG_POP([C++])
|
||||
@@ -0,0 +1,25 @@
|
||||
Move AC_CONFIG_AUX_DIR up a few lines so the autotools can find it
|
||||
|
||||
This patch is based on the same solution adopted by Debian:
|
||||
|
||||
https://lists.debian.org/debian-release/2014/11/msg01231.html
|
||||
|
||||
Signed-off-by: Vicente Olivert Riera <Vincent.Riera@imgtec.com>
|
||||
|
||||
diff -rup a/configure.ac b/configure.ac
|
||||
--- a/configure.ac 2014-02-09 11:52:42.000000000 +0000
|
||||
+++ b/configure.ac 2015-01-06 15:07:10.003074775 +0000
|
||||
@@ -13,11 +13,12 @@ m4_include([version.m4])
|
||||
AC_PREREQ([2.61])
|
||||
AC_INIT([libmemcached],VERSION_NUMBER,[http://libmemcached.org/])
|
||||
|
||||
+AC_CONFIG_AUX_DIR([build-aux])
|
||||
+
|
||||
# Setup the compilers early on
|
||||
AC_PROG_CC([cc gcc clang])
|
||||
AC_PROG_CXX([c++ g++ clang++])
|
||||
|
||||
-AC_CONFIG_AUX_DIR([build-aux])
|
||||
AC_CONFIG_MACRO_DIR([m4])
|
||||
|
||||
AC_CANONICAL_HOST
|
||||
@@ -0,0 +1,37 @@
|
||||
From 6c01bd3562cc18fbafdf950bbeb73a399c1adcdd Mon Sep 17 00:00:00 2001
|
||||
From: Romain Naour <romain.naour@openwide.fr>
|
||||
Date: Tue, 12 May 2015 00:00:02 +0200
|
||||
Subject: [PATCH] disable doc and man
|
||||
|
||||
WARNING: master file /home/naourr/git/buildroot/test/libmemcached-bfin/build/libmemcached-1.0.18/docs/index.rst not found
|
||||
|
||||
Exception occurred:
|
||||
File "/usr/lib/python2.7/site-packages/sphinx/environment.py", line 1213, in get_doctree
|
||||
f = open(doctree_filename, 'rb')
|
||||
IOError: [Errno 2] No such file or directory: '/home/naourr/buildroot-test/test/libmemcached-bfin/build/libmemcached-1.0.18/man/.doctrees/hashkit_create.doctree'
|
||||
The full traceback has been saved in /tmp/sphinx-err-JCIsnB.log, if you want to report the issue to the developers.
|
||||
Please also report this if it was a user error, so that a better error message can be provided next time.
|
||||
Either send bugs to the mailing list at <http://groups.google.com/group/sphinx-dev/>,
|
||||
or report them in the tracker at <http://bitbucket.org/birkenfeld/sphinx/issues/>. Thanks!
|
||||
|
||||
Signed-off-by: Romain Naour <romain.naour@openwide.fr>
|
||||
---
|
||||
Makefile.am | 2 --
|
||||
1 file changed, 2 deletions(-)
|
||||
|
||||
diff --git a/Makefile.am b/Makefile.am
|
||||
index 7f44102..cb7d058 100644
|
||||
--- a/Makefile.am
|
||||
+++ b/Makefile.am
|
||||
@@ -55,8 +55,6 @@ endif
|
||||
include libmemcachedutil-1.0/include.am
|
||||
|
||||
include clients/include.am
|
||||
-include docs/include.am
|
||||
-include man/include.am
|
||||
|
||||
if BUILD_LIBMEMCACHED_PROTOCOL
|
||||
include example/include.am
|
||||
--
|
||||
1.9.3
|
||||
|
||||
14
deprecated/firmware/buildroot/package/libmemcached/Config.in
Normal file
14
deprecated/firmware/buildroot/package/libmemcached/Config.in
Normal file
@@ -0,0 +1,14 @@
|
||||
config BR2_PACKAGE_LIBMEMCACHED
|
||||
bool "libmemcached"
|
||||
depends on BR2_INSTALL_LIBSTDCPP
|
||||
depends on BR2_TOOLCHAIN_HAS_THREADS
|
||||
help
|
||||
libMemcached is an open source C/C++ client library and tools
|
||||
for the memcached server.
|
||||
It has been designed to be light on memory usage, thread safe,
|
||||
and provide full access to server side methods.
|
||||
|
||||
http://libmemcached.org/libMemcached.html
|
||||
|
||||
comment "libmemcached needs a toolchain w/ C++, threads"
|
||||
depends on !BR2_INSTALL_LIBSTDCPP || !BR2_TOOLCHAIN_HAS_THREADS
|
||||
@@ -0,0 +1,2 @@
|
||||
# From https://launchpad.net/libmemcached/1.0/1.0.18/+download/libmemcached-1.0.18.tar.gz/+md5
|
||||
md5 b3958716b4e53ddc5992e6c49d97e819 libmemcached-1.0.18.tar.gz
|
||||
@@ -0,0 +1,31 @@
|
||||
################################################################################
|
||||
#
|
||||
# libmemcached
|
||||
#
|
||||
################################################################################
|
||||
|
||||
LIBMEMCACHED_VERSION_MAJOR = 1.0
|
||||
LIBMEMCACHED_VERSION = $(LIBMEMCACHED_VERSION_MAJOR).18
|
||||
LIBMEMCACHED_SITE = http://launchpad.net/libmemcached/$(LIBMEMCACHED_VERSION_MAJOR)/$(LIBMEMCACHED_VERSION)/+download
|
||||
LIBMEMCACHED_CONF_ENV = ac_cv_prog_cc_c99='-std=gnu99' \
|
||||
ax_cv_check_cflags__Werror__fmudflapth=no \
|
||||
ax_cv_check_cxxflags__Werror__fmudflapth=no
|
||||
LIBMEMCACHED_CONF_OPTS = --disable-dtrace
|
||||
LIBMEMCACHED_INSTALL_STAGING = YES
|
||||
LIBMEMCACHED_DEPENDENCIES = $(if $(BR2_PACKAGE_LIBEVENT),libevent)
|
||||
# For 0001-disable-tests.patch and 0002-disable-sanitizer.patch
|
||||
LIBMEMCACHED_AUTORECONF = YES
|
||||
LIBMEMCACHED_LICENSE = BSD-3c
|
||||
LIBMEMCACHED_LICENSE_FILES = COPYING
|
||||
|
||||
# Help libmemcached to understand that -fPIE and -pie should not be
|
||||
# used when linking statically.
|
||||
ifeq ($(BR2_STATIC_LIBS),y)
|
||||
LIBMEMCACHED_CONF_ENV += \
|
||||
ax_cv_check_cflags__Werror__fPIE=no \
|
||||
ax_cv_check_cflags__Werror__pie=no \
|
||||
ax_cv_check_cxxflags__Werror__fPIE=no \
|
||||
ax_cv_check_cxxflags__Werror__pie=no
|
||||
endif
|
||||
|
||||
$(eval $(autotools-package))
|
||||
Reference in New Issue
Block a user