]> git.pld-linux.org Git - packages/cacti-template-memcached.git/commitdiff
- depend on shebang in template; rel 2 auto/ac/cacti-plugin-memcached-1_0-2
authorElan Ruusamäe <glen@pld-linux.org>
Thu, 16 Jul 2009 08:11:10 +0000 (08:11 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    cacti-template-memcached.spec -> 1.3
    shebang.patch -> 1.1

cacti-template-memcached.spec
shebang.patch [new file with mode: 0644]

index f418c2efdd2200e4fb05faacbfadf6ef374c2035..c7eed0cb3a6062a67f65e51a132706d1be1b8bb6 100644 (file)
@@ -2,12 +2,13 @@
 Summary:       Memcached Cacti Template
 Name:          cacti-plugin-%{plugin}
 Version:       1.0
-Release:       1
+Release:       2
 License:       GPL v2
 Group:         Applications/WWW
 Source0:       http://content.dealnews.com/dealnews/developers/cacti-%{plugin}-%{version}.tar.gz
 # Source0-md5: 1febadae299aff606860da60ef3bd80e
 URL:           http://dealnews.com/developers/cacti/memcached.html
+Patch0:                shebang.patch
 Requires:      cacti >= 0.8.6j
 Requires:      cacti-add_template
 Requires:      python-memcached
@@ -30,6 +31,7 @@ for both the get and set commands.
 
 %prep
 %setup -q -n cacti-%{plugin}-%{version}
+%patch0 -p1
 
 %install
 rm -rf $RPM_BUILD_ROOT
diff --git a/shebang.patch b/shebang.patch
new file mode 100644 (file)
index 0000000..3accffc
--- /dev/null
@@ -0,0 +1,11 @@
+--- cacti-plugin-memcached/cacti_memcached_host_template.xml~  2006-07-04 06:43:34.000000000 +0300
++++ cacti-plugin-memcached/cacti_memcached_host_template.xml   2009-07-16 11:08:14.860757243 +0300
+@@ -1119,7 +1119,7 @@
+       <hash_0300115e00ab857a021489fc3c0c1a30677e34>
+               <name>Memcached - Statistics</name>
+               <type_id>1</type_id>
+-              <input_string>python &lt;path_cacti&gt;/scripts/memcached.py &lt;hostname&gt;</input_string>
++              <input_string>&lt;path_cacti&gt;/scripts/memcached.py &lt;hostname&gt;</input_string>
+               <fields>
+                       <hash_0700118f2eae45e32f2fd9c348f18e40fe295b>
+                               <name>Host to query for memcached statistics.</name>
This page took 0.112353 seconds and 4 git commands to generate.