Permalink
Browse files

FL-487: add sys-monitor/zenoss, work in progress

  • Loading branch information...
1 parent ed579fa commit ce4c376ba453203174a0cb1299f8f1ec5d3dc9be @danielrobbins danielrobbins committed Apr 10, 2013
View
@@ -33,6 +33,7 @@ sys-devel
sys-fs
sys-kernel
sys-libs
+sys-monitor
virtual
www-servers
x11-apps
@@ -1,6 +1,10 @@
# Keep the most recent masks in a reverse chrono order
# newest on top
+# Daniel Robbins (10 Apr 2013)
+# FL-487: staging zenoss, as it is a work in progress.
+sys-monitor/zenoss
+
# Jean-Francis Roy (1 april 2013)
# FL-477: new networkmanager, masked for testing
>=net-misc/networkmanager-0.9.8
@@ -0,0 +1,2 @@
+DIST zenoss-build-1.0.9.tar.gz 12589 SHA256 3cd3d04c2c914284343610f00c1120f68882449d5d97e2709bbe5c242ae55997 SHA512 5313c7d07ccf123851ca141ba5292d5babb51f7e6742c377d6df8067aba3348366c176598087362760c31a024b848b78c0821cf0c719c08e0f30cd46dc69071a WHIRLPOOL 0c1dd20c9db0d44563be077d70e630eac6d6e2c3e71ecab2346820427b2fda767bc207ca13fcc733d3653a31c9bdc12bfa34957cecc1d112548e7e1cf4e6e25a
+DIST zenoss-dev-20130125.tar.xz 235236424 SHA256 ff7714d3effa85667892477cbc1cbc9bd37866ec792544ad35c860694cabeb4d SHA512 7d014d26f3a24fce21d1616a468da0c1cd7714d7c1261555a29934d3378ae4e54859272acd86dc679e3c25bab4087f16a995fb3d02ebce88f0325a857264b1af WHIRLPOOL c50506033350bab5b83489a6ba357cad9fd9087782963bf85d62a1340160a421f98125223b87ce08cbc49c303836bc6ce487a7f6f104217469d32276f0d4f14a
@@ -0,0 +1,51 @@
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=4-python
+PYTHON_DEPEND="<<2:2.7>>"
+
+inherit eutils python
+
+DESCRIPTION=""
+HOMEPAGE="http://wiki.zenoss.org"
+RESTRICT="mirror"
+GITHUB_REPO="VirtualEnvBuild"
+GITHUB_USER="zenoss"
+GITHUB_TAG="1.0.9"
+ZENOSS_A="zenoss-dev-20130125.tar.xz"
+SRC_URI="http://www.github.com/${GITHUB_USER}/${GITHUB_REPO}/tarball/${GITHUB_TAG} -> zenoss-build-${GITHUB_TAG}.tar.gz http://www.funtoo.org/distfiles/zenoss/$ZENOSS_A"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="*"
+IUSE=""
+
+COMMON_DEPEND="
+ =dev-lang/python-2.7*
+ =dev-java/sun-jdk-1.6*
+ =dev-java/maven-bin-3*
+ =virtual/mysql-5.5*
+ >=net-analyzer/rrdtool-1.4.7[python]
+ net-nds/openldap[sasl]
+ net-analyzer/net-snmp
+ dev-python/pip
+ dev-python/virtualenv
+ >=net-misc/rabbitmq-server-2.8.7
+ dev-libs/libxslt[python]"
+DEPEND="${COMMON_DEPEND} app-arch/unzip"
+RDEPEND="${COMMON_DEPEND}"
+
+pkg_setup() {
+ enewgroup zenoss
+ enewuser zenoss -1 /bin/bash /home/zenoss zenoss
+ export GENTOO_VM=sun-jdk-1.6
+}
+
+src_unpack() {
+ unpack zenoss-build-${GITHUB_TAG}.tar.gz
+ mv "${WORKDIR}/${GITHUB_REPO}-${GITHUB_TAG}" "${S}" || die
+}
+
+src_compile() {
+ install -d ${S}/maven
+ ./build_zenoss.sh ${DISTDIR}/${ZENOSS_A} ./requirements.txt || die "build fail"
+}

0 comments on commit ce4c376

Please sign in to comment.