Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 17 Jan 2012 19:16:59 +0100 (CET)
From:      Radim Kolar <hsn@sendmail.cz>
To:        FreeBSD-gnats-submit@FreeBSD.org
Cc:        hsn@sendmail.cz, gslin@gslin.org
Subject:   ports/164253: [PATCH] databases/cassandra: update to 1.0.7
Message-ID:  <201201171816.q0HIGx5K011551@fbsd8.localdomain>
Resent-Message-ID: <201201171820.q0HIKAab028771@freefall.freebsd.org>

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

>Number:         164253
>Category:       ports
>Synopsis:       [PATCH] databases/cassandra: update to 1.0.7
>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:   Tue Jan 17 18:20:09 UTC 2012
>Closed-Date:
>Last-Modified:
>Originator:     Radim Kolar
>Release:        FreeBSD 8.2-RELEASE i386
>Organization:
>Environment:
System: FreeBSD fbsd8.localdomain 8.2-RELEASE FreeBSD 8.2-RELEASE #8: Tue Mar  1 14:49:07 CET
>Description:
- Update to 1.0.7
- tune shutdown procesure a bit because of changes in cassandra

Port maintainer (gslin@gslin.org) is cc'd.

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

--- cassandra-1.0.7.patch begins here ---
diff -ruN --exclude=CVS /usr/ports/databases/cassandra/Makefile /home/hsn/ports/cassandra/Makefile
--- /usr/ports/databases/cassandra/Makefile	2012-01-09 16:40:54.000000000 +0100
+++ /home/hsn/ports/cassandra/Makefile	2012-01-17 17:46:38.967200908 +0100
@@ -6,7 +6,7 @@
 #
 
 PORTNAME=	cassandra
-PORTVERSION=	1.0.6
+PORTVERSION=	1.0.7
 CATEGORIES=	databases java
 MASTER_SITES=	${MASTER_SITE_APACHE}
 MASTER_SITE_SUBDIR=	cassandra/${PORTVERSION}
diff -ruN --exclude=CVS /usr/ports/databases/cassandra/distinfo /home/hsn/ports/cassandra/distinfo
--- /usr/ports/databases/cassandra/distinfo	2012-01-09 08:02:24.000000000 +0100
+++ /home/hsn/ports/cassandra/distinfo	2012-01-17 17:47:38.015329976 +0100
@@ -1,2 +1,2 @@
-SHA256 (apache-cassandra-1.0.6-bin.tar.gz) = a1610344b78164d238415112f523639e8c33b0a3a14b427e8b910017cf060d13
-SIZE (apache-cassandra-1.0.6-bin.tar.gz) = 11243727
+SHA256 (apache-cassandra-1.0.7-bin.tar.gz) = d0f6062ab75b1348ac9bcc844b6bd7a57dcea5680fe586e25c749db589eddd8d
+SIZE (apache-cassandra-1.0.7-bin.tar.gz) = 11257128
diff -ruN --exclude=CVS /usr/ports/databases/cassandra/files/cassandra.in /home/hsn/ports/cassandra/files/cassandra.in
--- /usr/ports/databases/cassandra/files/cassandra.in	2012-01-14 09:55:27.000000000 +0100
+++ /home/hsn/ports/cassandra/files/cassandra.in	2012-01-17 18:07:19.361718348 +0100
@@ -62,10 +62,7 @@
 cassandra_prestop() {
 	$CASSANDRA_HOME/bin/nodetool -h localhost disablegossip
 	sleep 13
-	$CASSANDRA_HOME/bin/nodetool -h localhost disablethrift
-	sleep 2
 	$CASSANDRA_HOME/bin/nodetool -h localhost drain 
-	sleep 5
 	return 0
 }
 
diff -ruN --exclude=CVS /usr/ports/databases/cassandra/files/repaircluster.in /home/hsn/ports/cassandra/files/repaircluster.in
--- /usr/ports/databases/cassandra/files/repaircluster.in	2012-01-09 08:02:24.000000000 +0100
+++ /home/hsn/ports/cassandra/files/repaircluster.in	2011-11-09 22:05:16.984839227 +0100
@@ -6,7 +6,7 @@
 if test $# -eq 0; then
 	echo "$0 <any node in cluster>"
 	exit 1;
-fi
+fi	 
 for i in `$NODETOOL -h $1 ring | cut -d ' ' -f 1 | grep -e '^[0-9]'`; do
 	$NODETOOL -h $i repair
 done
diff -ruN --exclude=CVS /usr/ports/databases/cassandra/pkg-plist /home/hsn/ports/cassandra/pkg-plist
--- /usr/ports/databases/cassandra/pkg-plist	2012-01-09 08:02:24.000000000 +0100
+++ /home/hsn/ports/cassandra/pkg-plist	2012-01-17 17:53:23.559223680 +0100
@@ -1765,9 +1765,9 @@
 %%CQL%%%%DATADIR%%/pylib/cqlshlib/pylexotron.pyc
 %%CQL%%%%DATADIR%%/pylib/cqlshlib/saferscanner.pyc
 %%DATADIR%%/lib/antlr-3.2.jar
-%%DATADIR%%/lib/apache-cassandra-1.0.6.jar
-%%DATADIR%%/lib/apache-cassandra-clientutil-1.0.6.jar
-%%DATADIR%%/lib/apache-cassandra-thrift-1.0.6.jar
+%%DATADIR%%/lib/apache-cassandra-1.0.7.jar
+%%DATADIR%%/lib/apache-cassandra-clientutil-1.0.7.jar
+%%DATADIR%%/lib/apache-cassandra-thrift-1.0.7.jar
 %%DATADIR%%/lib/avro-1.4.0-fixes.jar
 %%DATADIR%%/lib/avro-1.4.0-sources-fixes.jar
 %%DATADIR%%/lib/commons-cli-1.1.jar
--- cassandra-1.0.7.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?201201171816.q0HIGx5K011551>