r801 - zenoss/trunk/debian

Bernd Zeimetz bzed-guest at alioth.debian.org
Fri Apr 13 16:53:06 UTC 2007


Author: bzed-guest
Date: 2007-04-13 16:53:05 +0000 (Fri, 13 Apr 2007)
New Revision: 801

Modified:
   zenoss/trunk/debian/README.Debian
   zenoss/trunk/debian/control
   zenoss/trunk/debian/copyright
   zenoss/trunk/debian/rules
Log:
* filled debian/control, debian/copyright
* debian/rules updates
* README.Debian


Modified: zenoss/trunk/debian/README.Debian
===================================================================
--- zenoss/trunk/debian/README.Debian	2007-04-13 15:32:58 UTC (rev 800)
+++ zenoss/trunk/debian/README.Debian	2007-04-13 16:53:05 UTC (rev 801)
@@ -1,19 +1,28 @@
 zenoss for Debian
 -----------------
 
-- You may want to increase the size of the systems net buffers.
+A few notes on using Zenoss:
 
-    on linux in the file /etc/sysctl.conf, add:
+* The original Zenoss installer ships all start/stop scripts
+  and tools in one 'bin' directory. On Debian the start/stop
+  scripts reside in /etc/init.d, while the tools are are in
+  /usr/bin. Please remember this while reading the admin guide.
+
+* The minimum requirement is MySQL 5.0.22. Zenoss uses a trigger
+  to move events to the history database. MySQL 4 has no triggers
+  and 5.0.x < 5.0.22 has a very bad bug with triggers.
+
+* You may want to increase the size of the systems net buffers.
+    Add the following lines to /etc/sysctl.conf
         net.core.rmem_default=1048576
         net.core.rmem_max=1048576
         net.core.wmem_default=1048576
         net.core.wmem_max=1048576
 
-    to configure without a reboot:
-        sysctl -w net.core.rmem_default=1048576
-        sysctl -w net.core.rmem_max=1048576
-        sysctl -w net.core.wmem_default=1048576
-        sysctl -w net.core.wmem_max=1048576
+    to configure without a reboot run
+        /sbin/sysctl -p
 
+* Active help from the Zenoss community is avaiable in #zenoss
+  on irc.freenode.net
 
  -- Bernd Zeimetz <bernd at bzed.de>  Thu, 12 Apr 2007 16:37:13 +0200

Modified: zenoss/trunk/debian/control
===================================================================
--- zenoss/trunk/debian/control	2007-04-13 15:32:58 UTC (rev 800)
+++ zenoss/trunk/debian/control	2007-04-13 16:53:05 UTC (rev 801)
@@ -3,18 +3,48 @@
 Priority: optional
 Maintainer: Bernd Zeimetz <bernd at bzed.de>
 Uploaders: Debian Zope team <pkg-zope-developers at lists.alioth.debian.org>
-Build-Depends: debhelper (>= 5)
+Build-Depends: debhelper (>= 5), python-support (>= 0.5.3), python, dpatch
 XS-Vcs-Svn: svn://svn.debian.org/svn/pkg-zope/zenoss/trunk/
 XS-Vcs-Browser: http://svn.debian.org/wsvn/pkg-zope/zenoss/trunk/
 Standards-Version: 3.7.2
 
 Package: zenoss
 Architecture: all
-Depends: ${shlibs:Depends}, ${misc:Depends}
-Description: <insert up to 60 chars description>
- <insert long description, indented with spaces>
+Depends: ${python:Depends},
+ python-elementtree (>= 1.2.6), python-epydoc (>= 2.1),
+ python-mysqldb (>= 1.2.0),
+ python-pydot (>= 0.9.10), python-pysnmp-se, python-simplejson (>= 1.4),
+ python-twisted-core (>= 2.4.0), python-twisted-bin, python-twisted-conch,
+ python-twisted-names, python-twisted-snmp, python-twisted-web,
+ python-twill (>= 0.8.5), yapps2 (>= 2.1.1),
+ zope2.9, zope-advancedquery, zope-managableindex,
+ zope-cmfcore1.6, zope-genericsetup, zope-pas, zope-pluginregistry,
+ libart-2.0-2 (>= 2.3.17), libfreetype6 (>= 2.1.9), libsmi2,
+ rrdtool (>= 1.2.15)
+Recommends: mysql-server-5.0 (>= 5.0.22), sendpage-client, klogd
+Conflicts: system-log-daemon
+Provides: system-log-daemon
+Description: infrastucture monitoring and managment system
+ Zenoss is an integrated system to monitor and manage your
+ IT infrastructure. It has the following features:
+ .
+  o Inventory & Configuration
+    Persistent database of IT inventory and configuration detail
+    stored in a Zope Enterprise Object (ZEO) database.
+    - Manual and automatic discovery of devices
+    - Organize devices by location/operator, inheritance
+    - History and change details
+  o Avaiability, performance and monitoring
+    - providing reports, statistics and graphs
+    - alerts
+  o Rich web portal and dashboards
+ .
+  Homepage: http://zenoss.com/
 
 Package: zenoss-doc
 Architecture: all
 Description: Documentation for zenoss
- <insert long description, indented with spaces>
+ This package contains the documentation for Zenoss, mainly
+ the Zenoss Administrator's Guide, which will give an overview
+ of the architecture of the Zenoss system and describe how to
+ perform common managment tasks.

Modified: zenoss/trunk/debian/copyright
===================================================================
--- zenoss/trunk/debian/copyright	2007-04-13 15:32:58 UTC (rev 800)
+++ zenoss/trunk/debian/copyright	2007-04-13 16:53:05 UTC (rev 801)
@@ -1,29 +1,34 @@
 This package was debianized by Bernd Zeimetz <bernd at bzed.de> on
 Thu, 12 Apr 2007 17:51:58 +0200.
 
-It was downloaded from <fill in http/ftp site>
+It was downloaded from http://dev.zenoss.com/svn/tags/
+and repackaged for Debian.
 
-Upstream Author: <put author(s) name and email here>
+Upstream Author: 
 
-Copyright: <put the year(s) of the copyright, and the names of the
-            copyright holder(s) here>
+  Zenoss, Inc.
+  275 West St. Suite 204
+  Annapolis, MD 21401, USA
 
-License:
+Copyright:
 
-   This package is free software; you can redistribute it and/or modify
-   it under the terms of the GNU General Public License as published by
-   the Free Software Foundation; either version 2 of the License, or
-   (at your option) any later version.
+  Copyright (c) 2002 Zenoss, Inc. All rights reserved.
 
-   This package is distributed in the hope that it will be useful,
-   but WITHOUT ANY WARRANTY; without even the implied warranty of
-   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
-   GNU General Public License for more details.
+  This program is free software; you can redistribute it and/or
+  modify it under the terms of the GNU General Public License
+  as published by the Free Software Foundation; either version 2
+  of the License, or (at your option) any later version.
 
-   You should have received a copy of the GNU General Public License
-   along with this package; if not, write to the Free Software
-   Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301 USA
+  This program is distributed in the hope that it will be useful,
+  but WITHOUT ANY WARRANTY; without even the implied warranty of
+  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+  GNU General Public License for more details.
 
+  You should have received a copy of the GNU General Public License
+  along with this program; if not, write to the Free Software
+  Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301, USA.
+
+
 On Debian systems, the complete text of the GNU General
 Public License can be found in `/usr/share/common-licenses/GPL'.
 
@@ -31,5 +36,49 @@
 is licensed under the GPL, see above.
 
 
-# Please also look if there are files or directories which have a
-# different copyright/license attached and list them here.
+The license of PDIS-XPath-0.3 is:
+
+  Copyright 2004 Helsinki Institute for Information Technology (HIIT)
+  and the authors.  All rights reserved.
+
+  Permission is hereby granted, free of charge, to any person
+  obtaining a copy of this software and associated documentation files
+  (the "Software"), to deal in the Software without restriction,
+  including without limitation the rights to use, copy, modify, merge,
+  publish, distribute, sublicense, and/or sell copies of the Software,
+  and to permit persons to whom the Software is furnished to do so,
+  subject to the following conditions:
+
+  The above copyright notice and this permission notice shall be
+  included in all copies or substantial portions of the Software.
+
+  THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
+  EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
+  MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
+  IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
+  CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
+  TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
+  SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
+
+
+The license of testgen is:
+
+  Copyright (c) 2006, Matt Harrison and Duncan McGreggor
+
+  Permission is hereby granted, free of charge, to any person obtaining a copy of
+  this software and associated documentation files (the "Software"), to deal in
+  the Software without restriction, including without limitation the rights to
+  use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies
+  of the Software, and to permit persons to whom the Software is furnished to do
+  so, subject to the following conditions:
+
+  The above copyright notice and this permission notice shall be included in all
+  copies or substantial portions of the Software.
+
+  THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+  IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+  FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+  AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+  LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+  OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
+  SOFTWARE.

Modified: zenoss/trunk/debian/rules
===================================================================
--- zenoss/trunk/debian/rules	2007-04-13 15:32:58 UTC (rev 800)
+++ zenoss/trunk/debian/rules	2007-04-13 16:53:05 UTC (rev 801)
@@ -13,20 +13,12 @@
 
 
 #Architecture 
-build: build-arch build-indep
+build: build-indep
 
-build-arch: build-arch-stamp
-build-arch-stamp:
-
-	# Add here commands to compile the arch part of the package.
-	#$(MAKE) 
-	touch $@
-
 build-indep: build-indep-stamp
 build-indep-stamp: 
-
-	# Add here commands to compile the indep part of the package.
-	#$(MAKE) doc
+	cd PDIS-XPath-0.3; python setup.py build
+	cd testgen; python setup.py build
 	touch $@
 
 clean:
@@ -38,7 +30,7 @@
 
 	dh_clean 
 
-install: install-indep install-arch
+install: install-indep
 install-indep:
 	dh_testdir
 	dh_testroot
@@ -48,20 +40,12 @@
 	# Add here commands to install the indep part of the package into
 	# debian/<package>-doc.
 	#INSTALLDOC#
-
+	
+	cd PDIS-XPath-0.3; setup.py install --debian --root $(CURDIR)/debian/zenoss
+	cd testgen; setup.py install --debian --root $(CURDIR)/debian/zenoss
 	dh_install -i
 
-install-arch:
-	dh_testdir
-	dh_testroot
-	dh_clean -k -s 
-	dh_installdirs -s
 
-	# Add here commands to install the arch part of the package into 
-	# debian/tmp.
-	$(MAKE) DESTDIR=$(CURDIR)/debian/foo install
-
-	dh_install -s
 # Must not depend on anything. This is to be called by
 # binary-arch/binary-indep
 # in another 'make' thread.
@@ -70,27 +54,27 @@
 	dh_testroot
 	dh_installchangelogs 
 	dh_installdocs
-	dh_installexamples
+#	dh_installexamples
 #	dh_installmenu
 #	dh_installdebconf	
 #	dh_installlogrotate	
 #	dh_installemacsen
 #	dh_installpam
 #	dh_installmime
-#	dh_python
+	dh_pythonsupport
 #	dh_installinit
 #	dh_installcron
 #	dh_installinfo
 	dh_installman
 	dh_link -pzenoss-doc /usr/share/doc/zenoss-doc/doc /usr/share/doc/zenoss
 	dh_link
-	dh_strip
+#	dh_strip
 	dh_compress 
 	dh_fixperms
 #	dh_perl
-	dh_makeshlibs
+#	dh_makeshlibs
 	dh_installdeb
-	dh_shlibdeps
+#	dh_shlibdeps
 	dh_gencontrol
 	dh_md5sums
 	dh_builddeb
@@ -101,16 +85,12 @@
 binary-indep: build-indep install-indep
 	$(MAKE) -f debian/rules DH_OPTIONS=-i binary-common
 
-# Build architecture dependant packages using the common target.
-binary-arch: build-arch install-arch
-	$(MAKE) -f debian/rules DH_OPTIONS=-s binary-common
+binary: binary-indep
 
-binary: binary-arch binary-indep
 
 
-
 ##############################################################################
-# targets which  are not used while building the package
+# targets which are not used while building the package
 #
 get-orig-source: clean
 	tarball="zenoss_$(ZENOSS_VERSION).orig.tar.gz" ;\
@@ -124,6 +104,7 @@
 	mkdir -p $$packdir ;\
 	cd $$packdir ;\
 	svn export $(ZENOSS_SVN)/Products ;\
+	svn export $(ZENOSS_SVN)/testgen ;\
 	svn export $(ZENOSS_SVN)/inst/externallibs/PDIS-XPath-0.3.tar.gz ;\
 	tar xfz PDIS-XPath-0.3.tar.gz ;\
 	rm PDIS-XPath-0.3.tar.gz ;\
@@ -150,6 +131,7 @@
 	rm -f docs/*.doc ;\
 	rm -f docs/ZenossAdminGuide-1.0.0.pdf ;\
 	rm -f docs/ZenossQStart-1.0.pdf ;\
+	chmod 644 docs/* ;\
 	popd ;\
 	find . -name \.cvsignore -exec rm -f {} \; ;\
 	find . -name \.svnignore -exec rm -f {} \; ;\
@@ -158,8 +140,7 @@
 		> $$tarball ;\
 	rm -rf zenoss-$(ZENOSS_VERSION).orig ;\
 	popd
-
 #
 ##############################################################################
 
-.PHONY: build clean binary-indep binary-arch binary install install-indep install-arch get-orig-source
+.PHONY: build clean binary-indep binary install install-indep get-orig-source




More information about the pkg-zope-commits mailing list