Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 12 Apr 2008 12:25:34 +0900 (JST)
From:      Tomoyuki Sakurai <cherry@trombik.org>
To:        FreeBSD-gnats-submit@FreeBSD.org
Cc:        mnag@FreeBSD.org
Subject:   ports/122681: [PATCH] databases/memcached: update to 1.2.5
Message-ID:  <20080412032534.B43463C041D@spica.trombik.org>
Resent-Message-ID: <200804120330.m3C3U5Ob019128@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         122681
>Category:       ports
>Synopsis:       [PATCH] databases/memcached: update to 1.2.5
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          update
>Submitter-Id:   current-users
>Arrival-Date:   Sat Apr 12 03:30:05 UTC 2008
>Closed-Date:
>Last-Modified:
>Originator:     Tomoyuki Sakurai
>Release:        FreeBSD 6.3-STABLE i386
>Organization:
>Environment:
System: FreeBSD x60.i.trombik.org 6.3-STABLE FreeBSD 6.3-STABLE #6: Sat Mar 29 17:03:57 JST 2008
>Description:
- Update to 1.2.5
- add WITH_REPCACHED knob
  "repcached" is patch set which adds data replication feature to memcached 1.2.x.

Port maintainer (mnag@FreeBSD.org) is cc'd.

Generated with FreeBSD Port Tools 0.77
>How-To-Repeat:
>Fix:

--- memcached-1.2.5.patch begins here ---
diff -ruN --exclude=CVS /usr/ports/databases/memcached/Makefile /usr/home/cherry/svn/ports/databases/memcached/Makefile
--- /usr/ports/databases/memcached/Makefile	Thu Jan  3 08:42:38 2008
+++ /usr/home/cherry/svn/ports/databases/memcached/Makefile	Sat Apr 12 12:21:56 2008
@@ -6,12 +6,19 @@
 #
 
 PORTNAME=	memcached
-PORTVERSION=	1.2.4
+PORTVERSION=	1.2.5
 CATEGORIES=	databases
 MASTER_SITES=	http://www.danga.com/memcached/dist/ \
 		${MASTER_SITE_GENTOO}
 MASTER_SITE_SUBDIR=	distfiles
 
+# repcached
+# http://repcached.lab.klab.org/
+.if defined(WITH_REPCACHED)
+PATCH_SITES=	${MASTER_SITE_SOURCEFORGE}
+PATCH_DIST_STRIP=	-p1
+.endif
+
 MAINTAINER=	mnag@FreeBSD.org
 COMMENT=	High-performance distributed memory object cache system
 
@@ -28,6 +35,13 @@
 		bin/memcached-debug
 
 PORTDOCS=	memory_management.txt protocol.txt
+
+.if defined(WITH_REPCACHED)
+REPCACHED_VERSION=	2.0
+PATCHFILES+=	repcached-${REPCACHED_VERSION}-${PORTVERSION}.patch.gz
+PATCH_SITE_SUBDIR=	repcached
+CONFIGURE_ARGS+=	--enable-replication --disable-threads
+.endif
 
 post-configure:
 	@${REINPLACE_CMD} -e 's#doc/memcached.1##' ${WRKSRC}/Makefile
diff -ruN --exclude=CVS /usr/ports/databases/memcached/distinfo /usr/home/cherry/svn/ports/databases/memcached/distinfo
--- /usr/ports/databases/memcached/distinfo	Thu Jan  3 08:42:38 2008
+++ /usr/home/cherry/svn/ports/databases/memcached/distinfo	Sat Apr 12 12:21:34 2008
@@ -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
--- memcached-1.2.5.patch ends here ---

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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20080412032534.B43463C041D>