1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-22 08:58:47 +00:00
freebsd-ports/databases/cassandra2/pkg-deinstall
Kurt Jaeger ebe20a9e0d New port: databases/cassandra2
Cassandra is a highly scalable, eventually consistent, distributed,
structured key-value store. Cassandra brings together the distributed
systems technologies from Dynamo and the data model from Google's
BigTable. Like Dynamo, Cassandra is eventually consistent. Like
BigTable, Cassandra provides a ColumnFamily-based data model richer
than typical key/value systems.

Cassandra was open sourced by Facebook in 2008, where it was designed
by one of the authors of Amazon's Dynamo. In a lot of ways you can
think of Cassandra as Dynamo 2.0. Cassandra is in production use at
Facebook but is still under heavy development.

WWW: http://cassandra.apache.org/

The previous version is still available as databases/cassandra.

PR:		186056
Submitted by:	admins@perceptyx.com
2014-08-29 07:18:10 +00:00

16 lines
461 B
Bash

#!/bin/sh
#
# Removes unchanged configuration files
#
if [ "$2" = "DEINSTALL" ]; then
if [ ! -d $PKG_PREFIX/share/cassandra/conf ]; then exit 1; fi
cd $PKG_PREFIX/share/cassandra/conf
for cfgfile in cassandra.yaml commitlog_archiving.properties \
log4j-server.properties log4j-tools.properties \
cassandra-topology.properties cassandra-rackdc.properties;do
if cmp -s $cfgfile.sample $cfgfile; then
rm $cfgfile
fi
done
fi