aboutsummaryrefslogtreecommitdiff
path: root/databases/memcached
diff options
context:
space:
mode:
authorMarcus Alves Grando <mnag@FreeBSD.org>2008-04-13 03:00:55 +0000
committerMarcus Alves Grando <mnag@FreeBSD.org>2008-04-13 03:00:55 +0000
commitc9e35e557f2b50abc4aeb23b44c57ea9553383c4 (patch)
tree704686690eebb5c9b58f6644a0bf8d740ac7f2e4 /databases/memcached
parent9ac0f6f8b34fc1162b0a98e195914d356756bd75 (diff)
downloadports-c9e35e557f2b50abc4aeb23b44c57ea9553383c4.tar.gz
ports-c9e35e557f2b50abc4aeb23b44c57ea9553383c4.zip
Notes
Diffstat (limited to 'databases/memcached')
-rw-r--r--databases/memcached/Makefile18
-rw-r--r--databases/memcached/distinfo9
2 files changed, 22 insertions, 5 deletions
diff --git a/databases/memcached/Makefile b/databases/memcached/Makefile
index 10ef4348e7f4..7d53e017b563 100644
--- a/databases/memcached/Makefile
+++ b/databases/memcached/Makefile
@@ -6,7 +6,7 @@
#
PORTNAME= memcached
-PORTVERSION= 1.2.4
+PORTVERSION= 1.2.5
CATEGORIES= databases
MASTER_SITES= http://www.danga.com/memcached/dist/ \
${MASTER_SITE_GENTOO}
@@ -22,6 +22,8 @@ GNU_CONFIGURE= YES
CONFIGURE_ARGS= --with-libevent=${LOCALBASE} --program-prefix=
CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
+OPTIONS= REPCACHED "Enable data replication feature" off
+
MAN1= memcached.1
PLIST_FILES= bin/memcached \
@@ -29,6 +31,18 @@ PLIST_FILES= bin/memcached \
PORTDOCS= memory_management.txt protocol.txt
+.include <bsd.port.pre.mk>
+
+.if defined(WITH_REPCACHED)
+# WWW: http://repcached.lab.klab.org/
+PATCH_SITES+= ${MASTER_SITE_SOURCEFORGE}
+PATCH_SITE_SUBDIR= repcached
+PATCH_DIST_STRIP+= -p1
+REPCACHED_VERSION= 2.0
+PATCHFILES+= repcached-${REPCACHED_VERSION}-${PORTVERSION}.patch.gz
+CONFIGURE_ARGS+= --enable-replication --disable-threads
+.endif
+
post-configure:
@${REINPLACE_CMD} -e 's#doc/memcached.1##' ${WRKSRC}/Makefile
@@ -45,4 +59,4 @@ post-install:
test:
${MAKE} -C ${WRKSRC} test
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>
diff --git a/databases/memcached/distinfo b/databases/memcached/distinfo
index d2e2c18a5392..1d348f2622ac 100644
--- a/databases/memcached/distinfo
+++ b/databases/memcached/distinfo
@@ -1,3 +1,6 @@
-MD5 (memcached-1.2.4.tar.gz) = b80db034f951b296b2672b243022c061
-SHA256 (memcached-1.2.4.tar.gz) = 33796120ad4e806cf23b8e8b1ecc249cc027f55c9f0b491ed6d4d80a2dc3f8f9
-SIZE (memcached-1.2.4.tar.gz) = 363196
+MD5 (memcached-1.2.5.tar.gz) = 8ac0d1749ded88044f0f850fad979e4d
+SHA256 (memcached-1.2.5.tar.gz) = f5c763229a4a2a83d6b14d193795f64ef961b81c48f5e194f740aea6be6ffb0b
+SIZE (memcached-1.2.5.tar.gz) = 208801
+MD5 (repcached-2.0-1.2.5.patch.gz) = 2fe954ee4ca0e3a04ca60b4fe7b1d125
+SHA256 (repcached-2.0-1.2.5.patch.gz) = f60561371fee84b10bd54c993f590ffaf72a8dfb43b8f989460a50a818d934f4
+SIZE (repcached-2.0-1.2.5.patch.gz) = 16981