mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-02 06:03:50 +00:00
Bullet Cache is a memory database intended to be used much like memcached,
but offering much higher flexibility through use of record tags which can be used to perform bulk operations on sets of records. It has its own binary network protocol which is accessible through Unix domain sockets and through TCP. It is indended to be accessed through a high-performance C library. WWW: http://mdcached.sourceforge.net/ PR: ports/164872 Submitted by: Ivan Voras <ivoras@FreeBSD.org>
This commit is contained in:
parent
d5c8a54e90
commit
ef0e1865f8
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=292308
@ -182,6 +182,7 @@
|
||||
SUBDIR += mariadb-scripts
|
||||
SUBDIR += mariadb-server
|
||||
SUBDIR += mdbtools
|
||||
SUBDIR += mdcached
|
||||
SUBDIR += memcached
|
||||
SUBDIR += memcached12
|
||||
SUBDIR += memcachedb
|
||||
|
47
databases/mdcached/Makefile
Normal file
47
databases/mdcached/Makefile
Normal file
@ -0,0 +1,47 @@
|
||||
# New ports collection makefile for: mdcached
|
||||
# Date created: 3 February 2012
|
||||
# Whom: Ivan Voras <ivoras@FreeBSD.org>
|
||||
#
|
||||
# $FreeBSD$
|
||||
#
|
||||
|
||||
PORTNAME= mdcached
|
||||
PORTVERSION= 1.0.2
|
||||
CATEGORIES= databases net
|
||||
MASTER_SITES= SF/${PORTNAME}/${PORTNAME}/${PORTNAME}-${PORTVERSION}
|
||||
EXTRACT_SUFX= .tgz
|
||||
|
||||
MAINTAINER= ivoras@FreeBSD.org
|
||||
COMMENT= A high performance cache server similar to memcached
|
||||
|
||||
WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}/${PORTNAME}
|
||||
MAKE_JOBS_SAFE= yes
|
||||
USE_LDCONFIG= yes
|
||||
MAN1= ${PORTNAME}.1
|
||||
|
||||
PORTDOCS= UserGuide.txt mdcached.txt
|
||||
|
||||
post-patch:
|
||||
@${REINPLACE_CMD} 's|ADDCFLAGS = -Wall -g -O3 -march=native|ADDCFLAGS = ${CFLAGS}|' \
|
||||
${WRKSRC}/Makefile
|
||||
@${REINPLACE_CMD} 's|/usr/local|${PREFIX}|' \
|
||||
${WRKSRC}/FreeBSD/${PORTNAME}
|
||||
|
||||
do-install:
|
||||
${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${PREFIX}/bin
|
||||
${INSTALL_LIB} ${WRKSRC}/lib${PORTNAME}.so.1 ${PREFIX}/lib
|
||||
${LN} -s lib${PORTNAME}.so.1 ${PREFIX}/lib/lib${PORTNAME}.so
|
||||
${INSTALL_LIB} ${WRKSRC}/lib${PORTNAME}.a ${PREFIX}/lib
|
||||
${INSTALL_DATA} ${WRKSRC}/mc_protocol.h ${PREFIX}/include
|
||||
${INSTALL_DATA} ${WRKSRC}/mc_client.h ${PREFIX}/include
|
||||
${INSTALL_MAN} ${WRKSRC}/doc/${MAN1} ${MANPREFIX}/man/man1
|
||||
${INSTALL_SCRIPT} ${WRKSRC}/FreeBSD/${PORTNAME} ${PREFIX}/etc/rc.d
|
||||
|
||||
.if !defined(NOPORTDOCS)
|
||||
${MKDIR} ${DOCSDIR}
|
||||
for doc in ${PORTDOCS}; do \
|
||||
${INSTALL_DATA} ${WRKSRC}/doc/$${doc} ${DOCSDIR}; \
|
||||
done
|
||||
.endif
|
||||
|
||||
.include <bsd.port.mk>
|
2
databases/mdcached/distinfo
Normal file
2
databases/mdcached/distinfo
Normal file
@ -0,0 +1,2 @@
|
||||
SHA256 (mdcached-1.0.2.tgz) = c5d049331ac1ab869ad288a0416f40adc7454a37fe289898d0bc48b0b4f00db4
|
||||
SIZE (mdcached-1.0.2.tgz) = 268736
|
7
databases/mdcached/pkg-descr
Normal file
7
databases/mdcached/pkg-descr
Normal file
@ -0,0 +1,7 @@
|
||||
Bullet Cache is a memory database intended to be used much like memcached,
|
||||
but offering much higher flexibility through use of record tags which can be
|
||||
used to perform bulk operations on sets of records. It has its own binary
|
||||
network protocol which is accessible through Unix domain sockets and through
|
||||
TCP. It is indended to be accessed through a high-performance C library.
|
||||
|
||||
WWW: http://mdcached.sourceforge.net/
|
7
databases/mdcached/pkg-plist
Normal file
7
databases/mdcached/pkg-plist
Normal file
@ -0,0 +1,7 @@
|
||||
bin/mdcached
|
||||
etc/rc.d/mdcached
|
||||
include/mc_client.h
|
||||
include/mc_protocol.h
|
||||
lib/libmdcached.a
|
||||
lib/libmdcached.so
|
||||
lib/libmdcached.so.1
|
Loading…
Reference in New Issue
Block a user