SF.net SVN: gar:[25157] csw/mgar/pkg/lang-python/carbonate/trunk
dmichelsen at users.sourceforge.net
dmichelsen at users.sourceforge.net
Mon Jul 6 17:17:04 CEST 2015
Revision: 25157
http://sourceforge.net/p/gar/code/25157
Author: dmichelsen
Date: 2015-07-06 15:17:03 +0000 (Mon, 06 Jul 2015)
Log Message:
-----------
lang-python/carbonate/trunk: Add config example
Modified Paths:
--------------
csw/mgar/pkg/lang-python/carbonate/trunk/Makefile
Added Paths:
-----------
csw/mgar/pkg/lang-python/carbonate/trunk/files/carbonate.conf
Modified: csw/mgar/pkg/lang-python/carbonate/trunk/Makefile
===================================================================
--- csw/mgar/pkg/lang-python/carbonate/trunk/Makefile 2015-07-06 14:47:27 UTC (rev 25156)
+++ csw/mgar/pkg/lang-python/carbonate/trunk/Makefile 2015-07-06 15:17:03 UTC (rev 25157)
@@ -9,6 +9,7 @@
MASTER_SITES = $(PYPI_MIRROR)
DISTFILES += $(DISTNAME).tar.gz
+DISTFILES += carbonate.conf
# This is a new package, don't bother building for 2.6
MODULATIONS_PYTHON_VERSION = 2_7
@@ -19,6 +20,8 @@
ARCHALL_CSWpy-carbonate = 1
# The binaries like carbon-cache.py need this
RUNTIME_DEP_PKGS_CSWpy-carbonate += CSWpython27
+# Checkpkg can't detect this
+CHECKPKG_OVERRIDES_CSWpy-carbonate += surplus-dependency|CSWpython27
# This is intended
CHECKPKG_OVERRIDES_CSWpy-carbonate += python-package-missing-py26-files
@@ -28,4 +31,10 @@
REINPLACE_WITH_conf = $(sysconfdir)/graphite/carbonate.conf
REINPLACE_FILES_conf += carbonate/util.py
+PRESERVECONF = $(sysconfdir)/graphite/carbonate.conf
+
include gar/category.mk
+
+post-install:
+ ginstall -D -m 0644 $(WORKDIR)/carbonate.conf $(DESTDIR)$(sysconfdir)/graphite/carbonate.conf
+ @$(MAKECOOKIE)
Added: csw/mgar/pkg/lang-python/carbonate/trunk/files/carbonate.conf
===================================================================
--- csw/mgar/pkg/lang-python/carbonate/trunk/files/carbonate.conf (rev 0)
+++ csw/mgar/pkg/lang-python/carbonate/trunk/files/carbonate.conf 2015-07-06 15:17:03 UTC (rev 25157)
@@ -0,0 +1,6 @@
+[main]
+
+#DESTINATIONS = 192.168.9.13:2004:carbon01, 192.168.9.15:2004:carbon02, 192.168.6.20:2004:carbon03
+#REPLICATION_FACTOR = 2
+#SSH_USER = carbon
+
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
More information about the devel
mailing list