pkgsrc/devel/memcached/Makefile
nia 957afb73af memcached: Update to 1.6.9
This change has a few useful new features, along with a lot of bugfixes and some internal code reorganization for future projects. We have been questing to improve test quality and stamp down bugs that came in over the 1.6 series.

As usual many thanks to the numerous contributors who sent in patches or helped test this release!

Fixes

    crawler: remove bad mutex unlock during error
    idle_timeout: avoid long hangs during shutdown
    extstore: use fcntl locking on disk file
    portability fix for getsubopt
    illumos build fixes + require libevent2
    core: generalize extstore's defered IO queue
    fix connection limit tests
    logger: fix spurious watcher hangups
    watcher.t: reduce flakiness
    Extend test CA validity to 500 years
    adjust "t/idle-timeout.t" be more forgiving

New Features

    arm64: Re-add arm crc32c hw acceleration for extstore
    restart mode: expose memory_file path in stats settings
    'shutdown graceful' command for raising SIGUSR1
    Introduce NAPI ID based worker thread selection (see doc/napi_ids.txt)
    item crawler hash table walk mode
2020-11-23 20:11:24 +00:00

52 lines
1.6 KiB
Makefile

# $NetBSD: Makefile,v 1.75 2020/11/23 20:11:24 nia Exp $
DISTNAME= memcached-1.6.9
CATEGORIES= devel
MASTER_SITES= https://memcached.org/files/
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= https://memcached.org/
COMMENT= High-performance distributed memory object caching system
LICENSE= 2-clause-bsd
USE_TOOLS+= perl
GNU_CONFIGURE= yes
CONFIGURE_ARGS+= --disable-coverage # coverage fails on some platforms
CONFIGURE_ARGS+= --with-libevent=${BUILDLINK_PREFIX.libevent}
REPLACE_PERL= scripts/memcached-tool
RCD_SCRIPTS= memcached
INSTALLATION_DIRS= share/doc/${PKGBASE}
.include "../../mk/bsd.prefs.mk"
.include "options.mk"
BUILD_DEFS+= VARBASE
MEMCACHED_USER?= memcached
MEMCACHED_GROUP?= memcached
MEMCACHED_HOME?= ${VARBASE}/chroot/${PKGBASE}
PKG_GROUPS= ${MEMCACHED_GROUP}
PKG_USERS= ${MEMCACHED_USER}:${MEMCACHED_GROUP}
PKG_GROUPS_VARS+= MEMCACHED_GROUP
PKG_USERS_VARS= MEMCACHED_USER
PKG_HOME.${MEMCACHED_USER}= ${MEMCACHED_HOME}
PKG_GECOS.${MEMCACHED_USER}= Memcached
OWN_DIRS_PERMS+= ${MEMCACHED_HOME} ${MEMCACHED_USER} ${MEMCACHED_GROUP} 0700
FILES_SUBST+= MEMCACHED_USER=${MEMCACHED_USER}
FILES_SUBST+= MEMCACHED_GROUP=${MEMCACHED_GROUP} MEMCACHED_HOME=${MEMCACHED_HOME}
MESSAGE_SUBST+= MEMCACHED_HOME=${MEMCACHED_HOME}
TEST_TARGET= test
post-install:
${INSTALL_DATA} ${WRKSRC}/doc/*.txt ${DESTDIR}${PREFIX}/share/doc/${PKGBASE}
${INSTALL_SCRIPT} ${WRKSRC}/scripts/memcached-tool ${DESTDIR}${PREFIX}/bin
.include "../../devel/libevent/buildlink3.mk"
BUILDLINK_API_DEPENDS.libevent+= libevent>=1.0
.include "../../mk/pthread.buildlink3.mk"
.include "../../mk/bsd.pkg.mk"