ports/144960: [PATCH] databases/memcached: repcached with memcached 1.4.4

Maxim Dounin mdounin at mdounin.ru
Mon Mar 22 17:00:14 UTC 2010


>Number:         144960
>Category:       ports
>Synopsis:       [PATCH] databases/memcached: repcached with memcached 1.4.4
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Mon Mar 22 17:00:13 UTC 2010
>Closed-Date:
>Last-Modified:
>Originator:     Maxim Dounin
>Release:        FreeBSD 7.2-RELEASE-p6 i386
>Organization:
>Environment:
System: FreeBSD mdounin.cust.ramtel.ru 7.2-RELEASE-p6 FreeBSD 7.2-RELEASE-p6 #3: Fri Jan  8 06:37:37 MSK
>Description:
I've recently merged repcached 2.2 with memcached 1.4.4.  We
(www.openstat.com) are currently using it in production and
haven't seen any issues.  The only thing which is currently missing
is binary protocol support (though it should be trivial to add it if
anybody cares).

Git tree with all changes may be found here:

http://github.com/mdounin/memcached/tree/repcached

Patch against memcached 1.4.4 distribution is here:

haven't seen any issues.  The only thing which is currently missing
is binary protocol support (though it should be trivial to add it if
anybody cares).

Git tree with all changes may be found here:

http://github.com/mdounin/memcached/tree/repcached

Patch against memcached 1.4.4 distribution is here:

http://mdounin.ru/files/repcached-2.2-1.4.4.patch.gz

I've submitted this code to info-repcached at ... as specified at
http://repcached.lab.klab.org/ several weeks ago, but still didn't get any
reply.  Looks like the probject is no longer maintained, so submitting it
to FreeBSD directly.

The attached patch changes databases/memcached port to use the merge (and
removes BROKEN= accordingly).

>How-To-Repeat:
>Fix:

--- memcached-1.4.4.patch begins here ---
diff -ruN --exclude=CVS /usr/ports/databases/memcached/Makefile /usr/home/mdounin/work/ports/memcached/Makefile
--- /usr/ports/databases/memcached/Makefile	2010-03-22 19:15:44.000000000 +0300
+++ /usr/home/mdounin/work/ports/memcached/Makefile	2010-03-22 19:17:30.000000000 +0300
@@ -39,11 +39,10 @@
 
 .if defined(WITH_REPCACHED)
 # WWW: http://repcached.lab.klab.org/
-BROKEN=			Waiting a new release for this patch.
-PATCH_SITES+=		${MASTER_SITE_SOURCEFORGE:C/%SUBDIR%/repcached\/repcached\/2.2-${PORTVERSION}/}
+PATCH_SITES+=		http://mdounin.ru/files/
 PATCH_DIST_STRIP+=	-p1
 PATCHFILES+=		repcached-2.2-${PORTVERSION}.patch.gz
-CONFIGURE_ARGS+=	--enable-replication --disable-threads
+CONFIGURE_ARGS+=	--enable-replication
 .endif
 
 .if defined(WITH_SASL) && !defined(WITHOUT_SASL)
diff -ruN --exclude=CVS /usr/ports/databases/memcached/distinfo /usr/home/mdounin/work/ports/memcached/distinfo
--- /usr/ports/databases/memcached/distinfo	2010-03-22 19:15:44.000000000 +0300
+++ /usr/home/mdounin/work/ports/memcached/distinfo	2010-03-22 19:19:59.000000000 +0300
@@ -1,3 +1,6 @@
 MD5 (memcached-1.4.4.tar.gz) = 5ca5b24de347e97ac1f48f3785b4178a
 SHA256 (memcached-1.4.4.tar.gz) = 6bbca41460ded17c6d56c76d96309cd3dee518603fa093938e252262935f8bac
 SIZE (memcached-1.4.4.tar.gz) = 297920
+MD5 (repcached-2.2-1.4.4.patch.gz) = 47f9b2953798a89a2602050e589938c1
+SHA256 (repcached-2.2-1.4.4.patch.gz) = 73f5f7bef52dd2b65b91efa9bdb06af15377877ca3e82bcda1615ce561678215
+SIZE (repcached-2.2-1.4.4.patch.gz) = 35361
--- memcached-1.4.4.patch ends here ---

>Release-Note:
>Audit-Trail:
>Unformatted:
 



More information about the freebsd-ports-bugs mailing list