From 721b7b298ffcd9178b49c42ead476d2b77158711 Mon Sep 17 00:00:00 2001 From: Markus Ullmann Date: Thu, 1 Feb 2007 16:37:54 +0000 Subject: Dropping direct DB deps wrt bug #159828 Package-Manager: portage-2.1.2-r1 --- net-analyzer/jffnms/ChangeLog | 19 +++++- net-analyzer/jffnms/Manifest | 58 +++++++++--------- net-analyzer/jffnms/files/digest-jffnms-0.8.2 | 3 - net-analyzer/jffnms/files/digest-jffnms-0.8.2-r1 | 3 + net-analyzer/jffnms/files/digest-jffnms-0.8.3 | 3 - net-analyzer/jffnms/files/digest-jffnms-0.8.3-r1 | 3 + net-analyzer/jffnms/files/mysql_db | 3 - net-analyzer/jffnms/files/postgresql_db | 2 - net-analyzer/jffnms/files/postgresql_db_table | 1 - net-analyzer/jffnms/jffnms-0.8.2-r1.ebuild | 71 ++++++++++++++++++++++ net-analyzer/jffnms/jffnms-0.8.2.ebuild | 72 ---------------------- net-analyzer/jffnms/jffnms-0.8.3-r1.ebuild | 75 +++++++++++++++++++++++ net-analyzer/jffnms/jffnms-0.8.3.ebuild | 77 ------------------------ 13 files changed, 197 insertions(+), 193 deletions(-) delete mode 100644 net-analyzer/jffnms/files/digest-jffnms-0.8.2 create mode 100644 net-analyzer/jffnms/files/digest-jffnms-0.8.2-r1 delete mode 100644 net-analyzer/jffnms/files/digest-jffnms-0.8.3 create mode 100644 net-analyzer/jffnms/files/digest-jffnms-0.8.3-r1 delete mode 100644 net-analyzer/jffnms/files/mysql_db delete mode 100644 net-analyzer/jffnms/files/postgresql_db delete mode 100644 net-analyzer/jffnms/files/postgresql_db_table create mode 100644 net-analyzer/jffnms/jffnms-0.8.2-r1.ebuild delete mode 100644 net-analyzer/jffnms/jffnms-0.8.2.ebuild create mode 100644 net-analyzer/jffnms/jffnms-0.8.3-r1.ebuild delete mode 100644 net-analyzer/jffnms/jffnms-0.8.3.ebuild (limited to 'net-analyzer/jffnms') diff --git a/net-analyzer/jffnms/ChangeLog b/net-analyzer/jffnms/ChangeLog index 7426d66927df..bde956575a96 100644 --- a/net-analyzer/jffnms/ChangeLog +++ b/net-analyzer/jffnms/ChangeLog @@ -1,6 +1,21 @@ # ChangeLog for net-analyzer/jffnms -# Copyright 1999-2006 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/net-analyzer/jffnms/ChangeLog,v 1.7 2006/11/23 19:48:53 vivo Exp $ +# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/net-analyzer/jffnms/ChangeLog,v 1.8 2007/02/01 16:37:54 jokey Exp $ + + 01 Feb 2007; Markus Ullmann -files/mysql_db, + -files/postgresql_db, -files/postgresql_db_table, -jffnms-0.8.2.ebuild, + +jffnms-0.8.2-r1.ebuild, -jffnms-0.8.3.ebuild, +jffnms-0.8.3-r1.ebuild: + Dropping direct DB deps wrt bug #159828 + +*jffnms-0.8.3-r1 (01 Feb 2007) + + 01 Feb 2007; <> jffnms-0.8.3-r1.ebuild files/digest-jffnms-0.8.3-r1 + # INSERT ENTRY HERE + +*jffnms-0.8.2-r1 (01 Feb 2007) + + 01 Feb 2007; <> jffnms-0.8.2-r1.ebuild files/digest-jffnms-0.8.2-r1 + # INSERT ENTRY HERE 23 Nov 2006; Francesco Riosa jffnms-0.8.2.ebuild, jffnms-0.8.3.ebuild: diff --git a/net-analyzer/jffnms/Manifest b/net-analyzer/jffnms/Manifest index 07fd89c43929..5f5995f8a48b 100644 --- a/net-analyzer/jffnms/Manifest +++ b/net-analyzer/jffnms/Manifest @@ -1,36 +1,34 @@ -AUX mysql_db 119 RMD160 fd54513c750558651b0687396d920910c96d78b7 SHA1 d50b3d5245ac6d97d3b3154bd657ad8091d05e97 SHA256 b9d542fe500e4006184becaa5b17dd1955ca9b34711903bcb72ea209f887b927 -MD5 36459cd0e2d6f01a3f7f501692be546b files/mysql_db 119 -RMD160 fd54513c750558651b0687396d920910c96d78b7 files/mysql_db 119 -SHA256 b9d542fe500e4006184becaa5b17dd1955ca9b34711903bcb72ea209f887b927 files/mysql_db 119 -AUX postgresql_db 73 RMD160 6a10ceaac6f4826f96477d5b2c2ca4555cb5609d SHA1 d5ed50e727d81ec10edec10e254695bd55ffc0d8 SHA256 912ea3da22eeeb6dfb046245fe3eb3848eb81524297a6647edf652b2caea5c02 -MD5 932dbe8966d923efd658a9b16322dab1 files/postgresql_db 73 -RMD160 6a10ceaac6f4826f96477d5b2c2ca4555cb5609d files/postgresql_db 73 -SHA256 912ea3da22eeeb6dfb046245fe3eb3848eb81524297a6647edf652b2caea5c02 files/postgresql_db 73 -AUX postgresql_db_table 24 RMD160 94cdb129a4944235408efc138f40340c9f19f682 SHA1 594d387c1412d75d3f1433c98dc078acf5d985af SHA256 201a55d370e38b9c7f981a7cb6b9901302fcccb8cf21511905f5343834aa387e -MD5 52e3fbf9a0fb34dafd44043c9df57a16 files/postgresql_db_table 24 -RMD160 94cdb129a4944235408efc138f40340c9f19f682 files/postgresql_db_table 24 -SHA256 201a55d370e38b9c7f981a7cb6b9901302fcccb8cf21511905f5343834aa387e files/postgresql_db_table 24 +-----BEGIN PGP SIGNED MESSAGE----- +Hash: SHA1 + DIST jffnms-0.8.2.tar.gz 557085 RMD160 5ce08a50f5bbedbc00c990933c6ade935e681772 SHA1 3e1ff8f302d5fd30e14f4f363338b68870343d30 SHA256 d42b2b9e0a65b744bec12f2eea34efe14a4b836c37c37f187d835774395edf90 DIST jffnms-0.8.3.tar.gz 698871 RMD160 681d498bf49f3e1011241254c441540ebbbe1860 SHA1 230cd88b9ff5b869e7a07c828425be15ede9614f SHA256 51f84606aa81113b2ea894c9e499f18df84e5317853aefd51610f5b279853ae4 -EBUILD jffnms-0.8.2.ebuild 1871 RMD160 34b5785b790fd9d575ae3051a6e3b8f72c8c5304 SHA1 7d35ab5600c8f0d19e674ed1b534479e906f62a5 SHA256 68edd40f064940f35f4ff510ca7e803c9b2b29f9b6e7307cbc09466bbfd1848b -MD5 b32a5b918439b29d1f784eae7386a36a jffnms-0.8.2.ebuild 1871 -RMD160 34b5785b790fd9d575ae3051a6e3b8f72c8c5304 jffnms-0.8.2.ebuild 1871 -SHA256 68edd40f064940f35f4ff510ca7e803c9b2b29f9b6e7307cbc09466bbfd1848b jffnms-0.8.2.ebuild 1871 -EBUILD jffnms-0.8.3.ebuild 2112 RMD160 dca87d99a9dd9a03713c891c70c5356e485d0859 SHA1 4e25cd414463ebc522532ec8f78924fe5ddb66be SHA256 a94d2e2db63e48dee70725f6f7749f6891b33a867ed168650a9f99b959769f91 -MD5 2d9e07cb02009ebc89f8b66ba7e0c1e7 jffnms-0.8.3.ebuild 2112 -RMD160 dca87d99a9dd9a03713c891c70c5356e485d0859 jffnms-0.8.3.ebuild 2112 -SHA256 a94d2e2db63e48dee70725f6f7749f6891b33a867ed168650a9f99b959769f91 jffnms-0.8.3.ebuild 2112 -MISC ChangeLog 1204 RMD160 709c0fb8bd7d66739da6d61ed6cce38dc8ae9e4c SHA1 85be900221371837e68f642121da247476958070 SHA256 1afee66cbe4f5ca4fc42d5b5b16246fe3ffc33cdf97675c7b4291c8493b46b2f -MD5 9b1ec2db59205099240cc2ce299cec2f ChangeLog 1204 -RMD160 709c0fb8bd7d66739da6d61ed6cce38dc8ae9e4c ChangeLog 1204 -SHA256 1afee66cbe4f5ca4fc42d5b5b16246fe3ffc33cdf97675c7b4291c8493b46b2f ChangeLog 1204 +EBUILD jffnms-0.8.2-r1.ebuild 1834 RMD160 937d343c383cfaba2790d8e2c7a8909333bbddef SHA1 e421bfe555769e9a30f70f67193be127ae0df9fd SHA256 5e57fd22800aa0a9132a9dd07065712a4c312067151bf3e8a56b0c798a75c995 +MD5 903231585ba4d617a6e319a67c06ab01 jffnms-0.8.2-r1.ebuild 1834 +RMD160 937d343c383cfaba2790d8e2c7a8909333bbddef jffnms-0.8.2-r1.ebuild 1834 +SHA256 5e57fd22800aa0a9132a9dd07065712a4c312067151bf3e8a56b0c798a75c995 jffnms-0.8.2-r1.ebuild 1834 +EBUILD jffnms-0.8.3-r1.ebuild 2057 RMD160 8e2822450c52cc2a1df3298469ebaf0e323f04e9 SHA1 0a61be0449594024bc182b5fd58f70047fc92151 SHA256 7719b7540030bd978523dd95c55b8a0c03c2c195e628daff71eab26c7fb8e073 +MD5 bf893dfb5006bfabc41a7813a766cb80 jffnms-0.8.3-r1.ebuild 2057 +RMD160 8e2822450c52cc2a1df3298469ebaf0e323f04e9 jffnms-0.8.3-r1.ebuild 2057 +SHA256 7719b7540030bd978523dd95c55b8a0c03c2c195e628daff71eab26c7fb8e073 jffnms-0.8.3-r1.ebuild 2057 +MISC ChangeLog 1716 RMD160 cd584da7183f52f89166e55d9f0ff4a7fe01c24f SHA1 da5a8af16d467d2519508e173fee7912e23f5e2b SHA256 faa8a8c700afa91f9dcf5da26cc472485aa41e27fdad00569edaffcdb0856f46 +MD5 7fd9d8c6c0f52d1baa21cf0dfcf7a83d ChangeLog 1716 +RMD160 cd584da7183f52f89166e55d9f0ff4a7fe01c24f ChangeLog 1716 +SHA256 faa8a8c700afa91f9dcf5da26cc472485aa41e27fdad00569edaffcdb0856f46 ChangeLog 1716 MISC metadata.xml 159 RMD160 28e799fe0fd02aaab9d4bbe5595f133101606f5b SHA1 9f5df3eabd621951a959cc8e0e2e0d352cd1fe1e SHA256 b75c711bd971e46f0ec957e833c60879b0c5023e0bb94409a6255781b69f6dc6 MD5 f34e3c8858756da0001b12d2d3fa1af2 metadata.xml 159 RMD160 28e799fe0fd02aaab9d4bbe5595f133101606f5b metadata.xml 159 SHA256 b75c711bd971e46f0ec957e833c60879b0c5023e0bb94409a6255781b69f6dc6 metadata.xml 159 -MD5 a01464e5866620e8703815db0e566469 files/digest-jffnms-0.8.2 238 -RMD160 f6d19620bb3649aae5765b68f7e62fe175d7245b files/digest-jffnms-0.8.2 238 -SHA256 ff790a322c824f6a74e6425b92f79852c65878844fcc89e37a0cb639d7ea8f34 files/digest-jffnms-0.8.2 238 -MD5 6fe4d457ec8518e152f7f6615d1eb401 files/digest-jffnms-0.8.3 238 -RMD160 5411137de6c3221379230507ea07e1fc8603c100 files/digest-jffnms-0.8.3 238 -SHA256 28acbd4ddf1e417a4561d54fa7febbc163d9ac28080423b402d9f365120eb969 files/digest-jffnms-0.8.3 238 +MD5 a01464e5866620e8703815db0e566469 files/digest-jffnms-0.8.2-r1 238 +RMD160 f6d19620bb3649aae5765b68f7e62fe175d7245b files/digest-jffnms-0.8.2-r1 238 +SHA256 ff790a322c824f6a74e6425b92f79852c65878844fcc89e37a0cb639d7ea8f34 files/digest-jffnms-0.8.2-r1 238 +MD5 6fe4d457ec8518e152f7f6615d1eb401 files/digest-jffnms-0.8.3-r1 238 +RMD160 5411137de6c3221379230507ea07e1fc8603c100 files/digest-jffnms-0.8.3-r1 238 +SHA256 28acbd4ddf1e417a4561d54fa7febbc163d9ac28080423b402d9f365120eb969 files/digest-jffnms-0.8.3-r1 238 +-----BEGIN PGP SIGNATURE----- +Version: GnuPG v2.0.1 (GNU/Linux) + +iD8DBQFFwhdQz974XjDVpbkRAjxtAKCGia7GqaqOSWC2fpS1zYB5G9nWXACguPzv +LFV2Fa2/3D0Zx4jqDei7uwk= +=4WNF +-----END PGP SIGNATURE----- diff --git a/net-analyzer/jffnms/files/digest-jffnms-0.8.2 b/net-analyzer/jffnms/files/digest-jffnms-0.8.2 deleted file mode 100644 index b1b07dad71fc..000000000000 --- a/net-analyzer/jffnms/files/digest-jffnms-0.8.2 +++ /dev/null @@ -1,3 +0,0 @@ -MD5 10c4dbead14c7e53a040140620768d19 jffnms-0.8.2.tar.gz 557085 -RMD160 5ce08a50f5bbedbc00c990933c6ade935e681772 jffnms-0.8.2.tar.gz 557085 -SHA256 d42b2b9e0a65b744bec12f2eea34efe14a4b836c37c37f187d835774395edf90 jffnms-0.8.2.tar.gz 557085 diff --git a/net-analyzer/jffnms/files/digest-jffnms-0.8.2-r1 b/net-analyzer/jffnms/files/digest-jffnms-0.8.2-r1 new file mode 100644 index 000000000000..b1b07dad71fc --- /dev/null +++ b/net-analyzer/jffnms/files/digest-jffnms-0.8.2-r1 @@ -0,0 +1,3 @@ +MD5 10c4dbead14c7e53a040140620768d19 jffnms-0.8.2.tar.gz 557085 +RMD160 5ce08a50f5bbedbc00c990933c6ade935e681772 jffnms-0.8.2.tar.gz 557085 +SHA256 d42b2b9e0a65b744bec12f2eea34efe14a4b836c37c37f187d835774395edf90 jffnms-0.8.2.tar.gz 557085 diff --git a/net-analyzer/jffnms/files/digest-jffnms-0.8.3 b/net-analyzer/jffnms/files/digest-jffnms-0.8.3 deleted file mode 100644 index b79ff483c4f6..000000000000 --- a/net-analyzer/jffnms/files/digest-jffnms-0.8.3 +++ /dev/null @@ -1,3 +0,0 @@ -MD5 6f030ee09302b67f639eaff713b78c65 jffnms-0.8.3.tar.gz 698871 -RMD160 681d498bf49f3e1011241254c441540ebbbe1860 jffnms-0.8.3.tar.gz 698871 -SHA256 51f84606aa81113b2ea894c9e499f18df84e5317853aefd51610f5b279853ae4 jffnms-0.8.3.tar.gz 698871 diff --git a/net-analyzer/jffnms/files/digest-jffnms-0.8.3-r1 b/net-analyzer/jffnms/files/digest-jffnms-0.8.3-r1 new file mode 100644 index 000000000000..b79ff483c4f6 --- /dev/null +++ b/net-analyzer/jffnms/files/digest-jffnms-0.8.3-r1 @@ -0,0 +1,3 @@ +MD5 6f030ee09302b67f639eaff713b78c65 jffnms-0.8.3.tar.gz 698871 +RMD160 681d498bf49f3e1011241254c441540ebbbe1860 jffnms-0.8.3.tar.gz 698871 +SHA256 51f84606aa81113b2ea894c9e499f18df84e5317853aefd51610f5b279853ae4 jffnms-0.8.3.tar.gz 698871 diff --git a/net-analyzer/jffnms/files/mysql_db b/net-analyzer/jffnms/files/mysql_db deleted file mode 100644 index 40743be81839..000000000000 --- a/net-analyzer/jffnms/files/mysql_db +++ /dev/null @@ -1,3 +0,0 @@ -CREATE DATABASE jffnms; -GRANT ALL PRIVILEGES ON jffnms.* TO jffnms@localhost IDENTIFIED BY 'jffnms'; -FLUSH PRIVILEGES; diff --git a/net-analyzer/jffnms/files/postgresql_db b/net-analyzer/jffnms/files/postgresql_db deleted file mode 100644 index e556d3ea5c59..000000000000 --- a/net-analyzer/jffnms/files/postgresql_db +++ /dev/null @@ -1,2 +0,0 @@ -create user jffnms password 'jffnms' createdb; -\connect template1 jffnms diff --git a/net-analyzer/jffnms/files/postgresql_db_table b/net-analyzer/jffnms/files/postgresql_db_table deleted file mode 100644 index fd09f31b1897..000000000000 --- a/net-analyzer/jffnms/files/postgresql_db_table +++ /dev/null @@ -1 +0,0 @@ -create database jffnms; diff --git a/net-analyzer/jffnms/jffnms-0.8.2-r1.ebuild b/net-analyzer/jffnms/jffnms-0.8.2-r1.ebuild new file mode 100644 index 000000000000..79bfae05151f --- /dev/null +++ b/net-analyzer/jffnms/jffnms-0.8.2-r1.ebuild @@ -0,0 +1,71 @@ +# Copyright 1999-2007 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/net-analyzer/jffnms/jffnms-0.8.2-r1.ebuild,v 1.1 2007/02/01 16:37:54 jokey Exp $ + +inherit eutils + +DESCRIPTION="Network Management and Monitoring System." +HOMEPAGE="http://www.jffnms.org/" +SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~x86" +IUSE="mysql postgres snmp" + +DEPEND="net-www/apache + net-analyzer/rrdtool + media-libs/gd + =dev-lang/php-4* + dev-php/PEAR-PEAR + snmp? ( net-analyzer/net-snmp ) + sys-apps/diffutils + media-gfx/graphviz + net-analyzer/nmap + net-analyzer/fping + app-mobilephone/smsclient" +RDEPEND=${DEPEND} + +pkg_setup() { + local flags="gd wddx sockets session spl cli" + + if use mysql ; then + flags="$flags mysql" + fi + + if use postgres ; then + flags="$flags postgres" + fi + + for flagname in $flags ; do + if ! built_with_use "=dev-lang/php-4*" $flagname; then + eerror "You need to build php with $flagname USE flag" + die "Jffnms requires php with $flagname USE flag" + fi + done + + enewgroup jffnms + enewuser jffnms -1 /bin/bash /dev/null jffnms,apache +} + +src_install(){ + INSTALL_DIR="/opt/${PN}" + IMAGE_DIR="${D}${INSTALL_DIR}" + + dodir "${INSTALL_DIR}" + cp -r * "${IMAGE_DIR}" || die + rm -f "${IMAGE_DIR}/LICENSE" + + # Clean up windows related stuff + rm -f "${IMAGE_DIR}/*.win32.txt" + rm -rf "${IMAGE_DIR}/docs/windows" + rm -rf "${IMAGE_DIR}/engine/windows" + + chown -R jffnms:apache "${IMAGE_DIR}" || die + chmod -R ug+rw "${IMAGE_DIR}" || die + + einfo "JFFNMS has been partialy installed on your system. However you" + einfo "still need proceed with final installation and configuration." + einfo "You can visit http://www.gentoo.org/doc/en/jffnms.xml in order" + einfo "to get detailed information on how to get jffnms up and running." +} diff --git a/net-analyzer/jffnms/jffnms-0.8.2.ebuild b/net-analyzer/jffnms/jffnms-0.8.2.ebuild deleted file mode 100644 index 768ecebfaba5..000000000000 --- a/net-analyzer/jffnms/jffnms-0.8.2.ebuild +++ /dev/null @@ -1,72 +0,0 @@ -# Copyright 1999-2006 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/net-analyzer/jffnms/jffnms-0.8.2.ebuild,v 1.4 2006/11/23 19:48:53 vivo Exp $ - -inherit eutils - -DESCRIPTION="Network Management and Monitoring System." -HOMEPAGE="http://www.jffnms.org/" -SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz" - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="~x86" -IUSE="mysql postgres snmp" - -DEPEND="net-www/apache - mysql? ( virtual/mysql ) - postgres? ( dev-db/postgresql ) - net-analyzer/rrdtool - media-libs/gd - =dev-lang/php-4* - dev-php/PEAR-PEAR - snmp? ( net-analyzer/net-snmp ) - sys-apps/diffutils - media-gfx/graphviz - net-analyzer/nmap - net-analyzer/fping - app-mobilephone/smsclient" - -pkg_setup() { - local flags="gd wddx sockets session spl cli" - - if use mysql ; then - flags="$flags mysql" - fi - - if use postgres ; then - flags="$flags postgres" - fi - - for flagname in $flags ; do - if ! built_with_use "=dev-lang/php-4*" $flagname; then - eerror "You need to build php with $flagname USE flag" - die "Jffnms requires php with $flagname USE flag" - fi - done - - enewgroup jffnms - enewuser jffnms -1 /bin/bash /dev/null jffnms,apache -} - -src_install(){ - INSTALL_DIR="/opt/${PN}" - IMAGE_DIR="${D}${INSTALL_DIR}" - - dodir "${INSTALL_DIR}" - cp -r * "${IMAGE_DIR}" || die - rm -f "${IMAGE_DIR}/LICENSE" - - # Clean up windows related stuff - rm -f "${IMAGE_DIR}/*.win32.txt" - rm -rf "${IMAGE_DIR}/docs/windows" - rm -rf "${IMAGE_DIR}/engine/windows" - - chown -R jffnms:apache "${IMAGE_DIR}" || die - chmod -R ug+rw "${IMAGE_DIR}" || die - - einfo "JFFNMS has been partialy installed on your system. However you" - einfo "still need proceed with final installation and configuration." - einfo "You can visit http://www.gentoo.org/doc/en/jffnms.xml in order" - einfo "to get detailed information on how to get jffnms up and running." -} diff --git a/net-analyzer/jffnms/jffnms-0.8.3-r1.ebuild b/net-analyzer/jffnms/jffnms-0.8.3-r1.ebuild new file mode 100644 index 000000000000..0b4b0ae4ea0e --- /dev/null +++ b/net-analyzer/jffnms/jffnms-0.8.3-r1.ebuild @@ -0,0 +1,75 @@ +# Copyright 1999-2007 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/net-analyzer/jffnms/jffnms-0.8.3-r1.ebuild,v 1.1 2007/02/01 16:37:54 jokey Exp $ + +inherit eutils depend.php + +DESCRIPTION="Network Management and Monitoring System." +HOMEPAGE="http://www.jffnms.org/" +SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~x86" +IUSE="mysql postgres snmp" + +DEPEND="net-www/apache + net-analyzer/rrdtool + media-libs/gd + dev-php/PEAR-PEAR + net-analyzer/net-snmp + sys-apps/diffutils + app-mobilephone/smsclient" + +RDEPEND="${DEPEND} + media-gfx/graphviz + net-analyzer/nmap + net-analyzer/fping" + +need_php_cli + +pkg_setup() { + local flags="pcre session snmp sockets wddx" + use mysql && flags="${flags} mysql" + use postgres && flags="${flags} postgres" + + if ! PHPCHECKNODIE="yes" require_php_with_use ${flags} \ + || ! PHPCHECKNODIE="yes" require_php_with_any_use gd gd-external ; then + eerror + eerror "${PHP_PKG} needs to be re-installed with all of the following" + eerror "USE flags enabled:" + eerror + eerror "${flags}" + eerror + eerror "as well as any of the following USE flags enabled:" + eerror + eerror "gd or gd-external" + eerror + die "Re-install ${PHP_PKG} with ${flags} and either gd or gd-external" + fi + + enewgroup jffnms + enewuser jffnms -1 /bin/bash -1 jffnms,apache +} + +src_install(){ + INSTALL_DIR="/opt/${PN}" + IMAGE_DIR="${D}${INSTALL_DIR}" + + dodir "${INSTALL_DIR}" + cp -r * "${IMAGE_DIR}" || die + rm -f "${IMAGE_DIR}/LICENSE" + + # Clean up windows related stuff + rm -f "${IMAGE_DIR}/*.win32.txt" + rm -rf "${IMAGE_DIR}/docs/windows" + rm -rf "${IMAGE_DIR}/engine/windows" + + chown -R jffnms:apache "${IMAGE_DIR}" || die + chmod -R ug+rw "${IMAGE_DIR}" || die + + elog "${PN} has been partialy installed on your system. However you" + elog "still need proceed with final installation and configuration." + elog "You can visit http://www.gentoo.org/doc/en/jffnms.xml in order" + elog "to get detailed information on how to get jffnms up and running." +} diff --git a/net-analyzer/jffnms/jffnms-0.8.3.ebuild b/net-analyzer/jffnms/jffnms-0.8.3.ebuild deleted file mode 100644 index 483e2cc247d8..000000000000 --- a/net-analyzer/jffnms/jffnms-0.8.3.ebuild +++ /dev/null @@ -1,77 +0,0 @@ -# Copyright 1999-2006 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/net-analyzer/jffnms/jffnms-0.8.3.ebuild,v 1.5 2006/11/23 19:48:53 vivo Exp $ - -inherit eutils depend.php - -DESCRIPTION="Network Management and Monitoring System." -HOMEPAGE="http://www.jffnms.org/" -SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz" - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="~x86" -IUSE="mysql postgres snmp" - -DEPEND="net-www/apache - mysql? ( virtual/mysql ) - postgres? ( dev-db/postgresql ) - net-analyzer/rrdtool - media-libs/gd - dev-php/PEAR-PEAR - net-analyzer/net-snmp - sys-apps/diffutils - app-mobilephone/smsclient" - -RDEPEND="${DEPEND} - media-gfx/graphviz - net-analyzer/nmap - net-analyzer/fping" - -need_php_cli - -pkg_setup() { - local flags="pcre session snmp sockets wddx" - use mysql && flags="${flags} mysql" - use postgres && flags="${flags} postgres" - - if ! PHPCHECKNODIE="yes" require_php_with_use ${flags} \ - || ! PHPCHECKNODIE="yes" require_php_with_any_use gd gd-external ; then - eerror - eerror "${PHP_PKG} needs to be re-installed with all of the following" - eerror "USE flags enabled:" - eerror - eerror "${flags}" - eerror - eerror "as well as any of the following USE flags enabled:" - eerror - eerror "gd or gd-external" - eerror - die "Re-install ${PHP_PKG} with ${flags} and either gd or gd-external" - fi - - enewgroup jffnms - enewuser jffnms -1 /bin/bash -1 jffnms,apache -} - -src_install(){ - INSTALL_DIR="/opt/${PN}" - IMAGE_DIR="${D}${INSTALL_DIR}" - - dodir "${INSTALL_DIR}" - cp -r * "${IMAGE_DIR}" || die - rm -f "${IMAGE_DIR}/LICENSE" - - # Clean up windows related stuff - rm -f "${IMAGE_DIR}/*.win32.txt" - rm -rf "${IMAGE_DIR}/docs/windows" - rm -rf "${IMAGE_DIR}/engine/windows" - - chown -R jffnms:apache "${IMAGE_DIR}" || die - chmod -R ug+rw "${IMAGE_DIR}" || die - - elog "${PN} has been partialy installed on your system. However you" - elog "still need proceed with final installation and configuration." - elog "You can visit http://www.gentoo.org/doc/en/jffnms.xml in order" - elog "to get detailed information on how to get jffnms up and running." -} -- cgit v1.2.3-65-gdbad