summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThilo Bangert <bangert@gentoo.org>2007-05-26 11:50:12 +0000
committerThilo Bangert <bangert@gentoo.org>2007-05-26 11:50:12 +0000
commit1d05d23aa5e6efc42d3d932bc623fbecbe1db140 (patch)
treeb19be2cd572506a0b9f290f1eefb0c428c833921
parentthe red5-0.6.1 release - announced later today (diff)
downloadbangert-1d05d23aa5e6efc42d3d932bc623fbecbe1db140.tar.gz
bangert-1d05d23aa5e6efc42d3d932bc623fbecbe1db140.tar.bz2
bangert-1d05d23aa5e6efc42d3d932bc623fbecbe1db140.zip
add enhost: currently testing
svn path=/ebuilds/; revision=31
-rw-r--r--app-admin/enhost/ChangeLog8
-rw-r--r--app-admin/enhost/Manifest16
-rw-r--r--app-admin/enhost/enhost-1.0.4.ebuild26
-rw-r--r--app-admin/enhost/files/digest-enhost-1.0.43
-rw-r--r--app-admin/enhost/files/enhost.schema67
5 files changed, 120 insertions, 0 deletions
diff --git a/app-admin/enhost/ChangeLog b/app-admin/enhost/ChangeLog
new file mode 100644
index 0000000..6871573
--- /dev/null
+++ b/app-admin/enhost/ChangeLog
@@ -0,0 +1,8 @@
+# ChangeLog for app-admin/enhost
+# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2
+# $Header: $
+
+ 26 May 2007; Thilo Bangert <bangert@gentoo.org> ChangeLog:
+ initial import: A simple tool for collecting facts from dev-ruby/facter and
+ storing them in LDAP.
+
diff --git a/app-admin/enhost/Manifest b/app-admin/enhost/Manifest
new file mode 100644
index 0000000..8c02683
--- /dev/null
+++ b/app-admin/enhost/Manifest
@@ -0,0 +1,16 @@
+AUX enhost.schema 2097 RMD160 b707b35cda1d5c5645f88277f6bad40ffb978f34 SHA1 4dc3781cae81a2dc2b7fd0e5e2a8879792e5871e SHA256 a3bf189bbda63ec59c857a1f45149260d9903a0f3e0c31ac501141e400195f2c
+MD5 ccdcf5df1b944b513a4975e5ae3ecf66 files/enhost.schema 2097
+RMD160 b707b35cda1d5c5645f88277f6bad40ffb978f34 files/enhost.schema 2097
+SHA256 a3bf189bbda63ec59c857a1f45149260d9903a0f3e0c31ac501141e400195f2c files/enhost.schema 2097
+DIST enhost-1.0.4.tgz 14473 RMD160 68a63a563f727da2f8960062f891f85502972f89 SHA1 caae76b0e6b3d9da7bf3186502d4ed30a9ecbe64 SHA256 0597adce169b13aa1c81ff97041abd64f7e57e30fd091778bec7f8e1f0ae26f3
+EBUILD enhost-1.0.4.ebuild 595 RMD160 66509fdb20f1c1558a62ba169c75d7038f017806 SHA1 8dac7c57fc59d14d02533cc426a93dbeb0a2cd59 SHA256 598a1b888dfa2b6f836135346d7d4bfce47b53407274c117d73b114e121148a6
+MD5 3ce49f04a47be10ca5247bfb71f58695 enhost-1.0.4.ebuild 595
+RMD160 66509fdb20f1c1558a62ba169c75d7038f017806 enhost-1.0.4.ebuild 595
+SHA256 598a1b888dfa2b6f836135346d7d4bfce47b53407274c117d73b114e121148a6 enhost-1.0.4.ebuild 595
+MISC ChangeLog 281 RMD160 8cc59f73492d108b04a682c6cdba3b6a3f9b5b64 SHA1 5c14dfc544ebd0467f6ca207ef15c33e108c862e SHA256 27e0b38795d6f0460874fd52db92e0a97f8e95afb96d8c88fb847be0985e6c0e
+MD5 ed18faedac93b80e923fa9f52bdd0995 ChangeLog 281
+RMD160 8cc59f73492d108b04a682c6cdba3b6a3f9b5b64 ChangeLog 281
+SHA256 27e0b38795d6f0460874fd52db92e0a97f8e95afb96d8c88fb847be0985e6c0e ChangeLog 281
+MD5 a42687b0f911c7f0f7231c723caaaf98 files/digest-enhost-1.0.4 226
+RMD160 5d957aea3636449ec5ae584322eee8769dc08f32 files/digest-enhost-1.0.4 226
+SHA256 4b2c90acdba45aad0a94dc29ba474d16bf572b78481f472c1265e13edc179e07 files/digest-enhost-1.0.4 226
diff --git a/app-admin/enhost/enhost-1.0.4.ebuild b/app-admin/enhost/enhost-1.0.4.ebuild
new file mode 100644
index 0000000..3780540
--- /dev/null
+++ b/app-admin/enhost/enhost-1.0.4.ebuild
@@ -0,0 +1,26 @@
+# Copyright 1999-2007 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+DESCRIPTION="A simple tool for collecting facts from dev-ruby/facter and storing them in
+LDAP."
+HOMEPAGE="http://reductivelabs.com/projects/enhost/"
+SRC_URI="http://reductivelabs.com/downloads/${PN}/${P}.tgz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~x86"
+IUSE=""
+
+RDEPEND="dev-ruby/facter
+ dev-ruby/ruby-ldap"
+
+src_install() {
+ dobin bin/enhost
+ insinto /etc
+ doins etc/enhost.conf
+ insinto /etc/openldap/schema
+ doins ${FILESDIR}/enhost.schema
+ dodoc CHANGELOG README TODO
+}
+
diff --git a/app-admin/enhost/files/digest-enhost-1.0.4 b/app-admin/enhost/files/digest-enhost-1.0.4
new file mode 100644
index 0000000..618b129
--- /dev/null
+++ b/app-admin/enhost/files/digest-enhost-1.0.4
@@ -0,0 +1,3 @@
+MD5 db608b38f02287a7bdfa2a38939dcd3c enhost-1.0.4.tgz 14473
+RMD160 68a63a563f727da2f8960062f891f85502972f89 enhost-1.0.4.tgz 14473
+SHA256 0597adce169b13aa1c81ff97041abd64f7e57e30fd091778bec7f8e1f0ae26f3 enhost-1.0.4.tgz 14473
diff --git a/app-admin/enhost/files/enhost.schema b/app-admin/enhost/files/enhost.schema
new file mode 100644
index 0000000..d507f9b
--- /dev/null
+++ b/app-admin/enhost/files/enhost.schema
@@ -0,0 +1,67 @@
+# stupid oid stuff
+# start everything at 1.1.2
+
+attributetype ( 1.1.2.1 NAME 'sshdsakey'
+ DESC 'SSH 2 DSA public key'
+ EQUALITY caseExactIA5Match
+ SYNTAX 1.3.6.1.4.1.1466.115.121.1.26 )
+
+attributetype ( 1.1.2.10 NAME 'sshrsakey'
+ DESC 'SSH 2 RSA public key'
+ EQUALITY caseExactIA5Match
+ SYNTAX 1.3.6.1.4.1.1466.115.121.1.26 )
+
+attributetype ( 1.1.2.2 NAME 'cfkey'
+ DESC 'Cfengine public key'
+ EQUALITY caseExactIA5Match
+ SYNTAX 1.3.6.1.4.1.1466.115.121.1.26 )
+
+attributetype ( 1.1.2.3 NAME 'hoststat'
+ DESC 'Arbitrary host statistics'
+ EQUALITY caseIgnoreIA5Match
+ SYNTAX 1.3.6.1.4.1.1466.115.121.1.26 )
+
+attributetype ( 1.1.2.4 NAME 'operatingSystem'
+ DESC 'Operating System Name'
+ EQUALITY caseIgnoreIA5Match
+ SYNTAX 1.3.6.1.4.1.1466.115.121.1.26 )
+
+attributetype ( 1.1.2.5 NAME 'operatingSystemRelease'
+ DESC 'Operating System Release'
+ EQUALITY caseIgnoreIA5Match
+ SYNTAX 1.3.6.1.4.1.1466.115.121.1.26 )
+
+attributetype ( 1.1.2.6 NAME 'uniqueId'
+ DESC 'Unique ID, often the hostid'
+ EQUALITY caseIgnoreIA5Match
+ SYNTAX 1.3.6.1.4.1.1466.115.121.1.26 )
+
+attributetype ( 1.1.2.7 NAME 'hardwareISA'
+ DESC 'Physical host architecture'
+ EQUALITY caseIgnoreIA5Match
+ SYNTAX 1.3.6.1.4.1.1466.115.121.1.26 )
+
+attributetype ( 1.1.2.8 NAME 'hardwareModel'
+ DESC 'Physical host Model'
+ EQUALITY caseIgnoreIA5Match
+ SYNTAX 1.3.6.1.4.1.1466.115.121.1.26 )
+
+attributetype ( 1.1.2.9 NAME 'updatestatus'
+ DESC 'Last seen, per application'
+ EQUALITY caseIgnoreIA5Match
+ SYNTAX 1.3.6.1.4.1.1466.115.121.1.26 )
+
+objectclass ( 1.1.1.1 NAME 'enHost' SUP ipHost AUXILIARY
+ DESC 'enhanced host objectclass'
+ MAY ( operatingSystem $ operatingSystemRelease $ uniqueId $ hardwareISA $
+ hardwareModel $ SSHDSAKey $ SSHRSAKey $ CfKey $ hoststat $ updatestatus $
+ macAddress ) )
+
+# how uname translates to LDAP attrs
+# Attribute AIX SunOS
+#-----------------------------------------------------------------
+# operatingSystem uname -s uname -s
+# operatingSystemRelease $(uname -v).$(uname -r) uname -r
+# uniqueId hostid hostid
+# hardwareISA uname -p uname -p
+# hardwareModel uname -M uname -i