aboutsummaryrefslogtreecommitdiffstats
path: root/databases/memcached
diff options
context:
space:
mode:
authorswills <swills@FreeBSD.org>2011-10-25 00:11:24 +0800
committerswills <swills@FreeBSD.org>2011-10-25 00:11:24 +0800
commit6dc049713015757419c031a7bfe5fd9c0c724596 (patch)
tree8ad8b868961303704ece2557f3d867cf722ccdb0 /databases/memcached
parent312d04989ab1964ebce2f9d79b9ec3603db7a1d7 (diff)
downloadfreebsd-ports-gnome-6dc049713015757419c031a7bfe5fd9c0c724596.tar.gz
freebsd-ports-gnome-6dc049713015757419c031a7bfe5fd9c0c724596.tar.zst
freebsd-ports-gnome-6dc049713015757419c031a7bfe5fd9c0c724596.zip
- Restore repcached option
Submitted by: flo
Diffstat (limited to 'databases/memcached')
-rw-r--r--databases/memcached/Makefile9
-rw-r--r--databases/memcached/distinfo2
2 files changed, 9 insertions, 2 deletions
diff --git a/databases/memcached/Makefile b/databases/memcached/Makefile
index fa94360028c9..665363eea39b 100644
--- a/databases/memcached/Makefile
+++ b/databases/memcached/Makefile
@@ -24,7 +24,8 @@ SUB_LIST+= RC_SUBR_SUFFIX=${RC_SUBR_SUFFIX}
GNU_CONFIGURE= YES
CONFIGURE_ARGS= --with-libevent=${LOCALBASE} --program-prefix=
-OPTIONS= SASL "Enable SASL support" off
+OPTIONS= REPCACHED "Enable data replication feature" off \
+ SASL "Enable SASL support" off
MAN1= memcached.1
@@ -42,7 +43,11 @@ CFLAGS+= -fstack-protector
.endif
.if defined(WITH_REPCACHED)
-IGNORE= Repcached support removed
+# WWW: http://repcached.lab.klab.org/
+PATCH_SITES+= http://mdounin.ru/files/
+PATCH_DIST_STRIP+= -p1
+PATCHFILES+= repcached-2.3.1-${PORTVERSION}.patch.gz
+CONFIGURE_ARGS+= --enable-replication
.endif
.if defined(WITH_SASL) && !defined(WITHOUT_SASL)
diff --git a/databases/memcached/distinfo b/databases/memcached/distinfo
index 3133f8133e6a..a184a0a04cef 100644
--- a/databases/memcached/distinfo
+++ b/databases/memcached/distinfo
@@ -1,2 +1,4 @@
SHA256 (memcached-1.4.9.tar.gz) = 854a5fa6dfde478d1bb440498e378bd073f303d51bb82c611001eecdec9b4a79
SIZE (memcached-1.4.9.tar.gz) = 311591
+SHA256 (repcached-2.3.1-1.4.9.patch.gz) = d159a33ea7aa8e1e938928325d2eeac4cec5c45d4c268f4e9e2dae7f5877d0ee
+SIZE (repcached-2.3.1-1.4.9.patch.gz) = 19476