[cacti/f18] remove non-free treeview bits (replace with jquery future code from 0.8.9 trunk)

Tom Callaway spot at fedoraproject.org
Fri Jan 4 21:15:09 UTC 2013


commit 93f833c290357d0322061318307f0cd96f11717a
Author: Tom Callaway <spot at fedoraproject.org>
Date:   Fri Jan 4 16:17:28 2013 -0500

    remove non-free treeview bits (replace with jquery future code from 0.8.9 trunk)

 cacti.spec   |   20 ++++++++++++++++++--
 d.gif        |  Bin 0 -> 2944 bytes
 d.png        |  Bin 0 -> 7635 bytes
 sources      |    2 +-
 throbber.gif |  Bin 0 -> 1849 bytes
 5 files changed, 19 insertions(+), 3 deletions(-)
---
diff --git a/cacti.spec b/cacti.spec
index f4697c5..25e0171 100644
--- a/cacti.spec
+++ b/cacti.spec
@@ -1,16 +1,25 @@
 Name: cacti
 Version: 0.8.8a
-Release: 3%{?dist}
+Release: 4%{?dist}
 Summary: An rrd based graphing tool
 
 Group: Applications/System
 # There's a lot of stuff in there. It's all compatible.
 License: GPLv2+ and LGPLv2 and (MPLv1.1 or GPLv2 or LGPLv2) and (LGPLv2 or BSD)
 URL: http://www.cacti.net/
-Source0: http://www.cacti.net/downloads/%{name}-%{version}.tar.gz
+# Source0: http://www.cacti.net/downloads/%{name}-%{version}.tar.gz
+# Just unpack, rm -rf include/treeview/* , then	repack.
+Source0: %{name}-%{version}-notreeview.tar.gz
 Source1: cacti-httpd.conf
 Source2: cacti.logrotate
 Source3: cacti.README.Fedora
+Source4: d.gif
+Source5: d.png
+Source6: throbber.gif
+# Add replacement files for treeview
+Patch0: cacti-0.8.8a-legal.patch
+# Thanks to Paul Gevers
+Patch1: Third-try-on-jstree-inclusion.patch
 
 BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 
@@ -30,6 +39,10 @@ used to creating traffic graphs with MRTG.
 
 %prep
 %setup -q
+%patch0 -p1
+%patch1 -p1 -b .notreeview
+cp %{SOURCE4} %{SOURCE5} %{SOURCE6} include/js/jquery/themes/default/
+rm -rf include/treeview
 
 echo "#*/5 * * * *	cacti	%{_bindir}/php %{_datadir}/%{name}/poller.php > /dev/null 2>&1" >cacti.cron
 
@@ -115,6 +128,9 @@ fi
 %attr(0644,root,root) %{_localstatedir}/lib/%{name}/lib
 
 %changelog
+* Fri Jan  4 2013 Tom Callaway <spot at fedoraproject.org> - 0.8.8a-4
+- remove non-free treeview bits (replace with jquery future code from 0.8.9 trunk)
+
 * Wed Jul 18 2012 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 0.8.8a-3
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
 
diff --git a/d.gif b/d.gif
new file mode 100644
index 0000000..0e958d3
Binary files /dev/null and b/d.gif differ
diff --git a/d.png b/d.png
new file mode 100644
index 0000000..8540175
Binary files /dev/null and b/d.png differ
diff --git a/sources b/sources
index 106d01f..46afcd3 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-a4da682dab9a88a2e0edb1728bf531ae  cacti-0.8.8a.tar.gz
+0650becd06fb41a5fb6ea08e79ed5c3e  cacti-0.8.8a-notreeview.tar.gz
diff --git a/throbber.gif b/throbber.gif
new file mode 100644
index 0000000..5b33f7e
Binary files /dev/null and b/throbber.gif differ


More information about the scm-commits mailing list