diff options
author | Kurt Lieber <klieber@gentoo.org> | 2003-10-03 12:56:05 +0000 |
---|---|---|
committer | Kurt Lieber <klieber@gentoo.org> | 2003-10-03 12:56:05 +0000 |
commit | c7b407bbd96f97e1a85936edcf3fedd7022f1279 (patch) | |
tree | 3108b03deb1c1e77853fd5af6d08424f00c567e4 /net-misc/cfengine | |
parent | updated ebuild with misc. fixes and tweaks. thanks to rladams@kelsey-seybold... (diff) | |
download | gentoo-2-c7b407bbd96f97e1a85936edcf3fedd7022f1279.tar.gz gentoo-2-c7b407bbd96f97e1a85936edcf3fedd7022f1279.tar.bz2 gentoo-2-c7b407bbd96f97e1a85936edcf3fedd7022f1279.zip |
updated ebuild with misc. fixes and tweaks. thanks to rladams@kelsey-seybold.com for the submission
Diffstat (limited to 'net-misc/cfengine')
-rw-r--r-- | net-misc/cfengine/Manifest | 2 | ||||
-rw-r--r-- | net-misc/cfengine/cfengine-2.0.8_p1-r1.ebuild | 55 | ||||
-rw-r--r-- | net-misc/cfengine/files/digest-cfengine-2.0.8_p1-r1 | 1 | ||||
-rw-r--r-- | net-misc/cfengine/metadata.xml | 11 |
4 files changed, 68 insertions, 1 deletions
diff --git a/net-misc/cfengine/Manifest b/net-misc/cfengine/Manifest index e02b88998276..efdf42b994c6 100644 --- a/net-misc/cfengine/Manifest +++ b/net-misc/cfengine/Manifest @@ -4,7 +4,7 @@ MD5 36e77baa893f49bfd0c662fecc417af4 cfengine-2.0.3.ebuild 909 MD5 e97f5f512d0ece4b0dd0100dc9f70d6c cfengine-2.0.6-r1.ebuild 991 MD5 62a95c94d7136aa0edd4c4e32fe14434 metadata.xml 846 MD5 0e7a0991afcf232cc7e2cc2fdb8f70f9 cfengine-2.0.8_p1.ebuild 1238 -MD5 a7f37832541a8a9096741f3233803248 cfengine-2.0.8_p1-r1.ebuild 1366 +MD5 0c937edc1e062fd6f5663c31321312fe cfengine-2.0.8_p1-r1.ebuild 1463 MD5 a1c3e8d4352d939660ecc6de54436e45 files/cfengine-2.0.6-db4.diff 567 MD5 6453e4309a80963dde2df05003dfaf8a files/digest-cfengine-1.6.3 66 MD5 eefdc9f408515115eec8c01f50a36b71 files/digest-cfengine-2.0.3 67 diff --git a/net-misc/cfengine/cfengine-2.0.8_p1-r1.ebuild b/net-misc/cfengine/cfengine-2.0.8_p1-r1.ebuild new file mode 100644 index 000000000000..5ed91883af80 --- /dev/null +++ b/net-misc/cfengine/cfengine-2.0.8_p1-r1.ebuild @@ -0,0 +1,55 @@ +# Copyright 1999-2003 Gentoo Technologies, Inc. +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/net-misc/cfengine/cfengine-2.0.8_p1-r1.ebuild,v 1.1 2003/10/03 12:56:03 klieber Exp $ + +PARCH=${P/_/} +DESCRIPTION="An agent/software robot and a high level policy language for building expert systems to administrate and configure large computer networks" +HOMEPAGE="http://www.iu.hio.no/cfengine/" +SRC_URI="ftp://ftp.iu.hio.no/pub/cfengine/${PARCH}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~x86 ~ppc ~sparc" + +DEPEND="virtual/glibc + >=sys-libs/db-3.2 + >=dev-libs/openssl-0.9.6k" + +S="${WORKDIR}/${PARCH}" + +src_compile() { + econf \ + --sysconfdir=/etc/cfengine \ + --localstatedir=/var/lib/cfengine \ + --with-workdir=/var/cfengine \ + --with-berkeleydb=/usr || die + + # Fix Makefile to skip docs install to wrong locations + cp Makefile Makefile.orig + sed 's/\(SUBDIRS.*\) inputs doc/\1/' Makefile.orig > Makefile + + emake || die +} + +src_install() { + make DESTDIR=${D} install || die + dodoc AUTHORS ChangeLog COPYING DOCUMENTATION README TODO + doinfo doc/*.info* + dohtml doc/*.html + dodoc inputs/*.example + + mkdir -p ${D}/var/cfengine + fperms 700 /var/cfengine + keepdir /var/cfengine/bin + keepdir /var/cfengine/inputs +} + +pkg_postinst() { + if [ ! -f "/var/cfengine/ppkeys/localhost.priv" ] + then + einfo "Generating keys for localhost." + /usr/sbin/cfkey + fi + + ln -sf /usr/sbin/cfagent /var/cfengine/bin/cfagent +} diff --git a/net-misc/cfengine/files/digest-cfengine-2.0.8_p1-r1 b/net-misc/cfengine/files/digest-cfengine-2.0.8_p1-r1 new file mode 100644 index 000000000000..58b0b328abcd --- /dev/null +++ b/net-misc/cfengine/files/digest-cfengine-2.0.8_p1-r1 @@ -0,0 +1 @@ +MD5 17f9647edcc955e5c07489a6ac6126b1 cfengine-2.0.8p1.tar.gz 1240535 diff --git a/net-misc/cfengine/metadata.xml b/net-misc/cfengine/metadata.xml new file mode 100644 index 000000000000..ee9609e840d0 --- /dev/null +++ b/net-misc/cfengine/metadata.xml @@ -0,0 +1,11 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> +<herd>no-herd</herd> +<maintainer> + <email>klieber@gentoo.org</email> +</maintainer> +<longdescription> +Cfengine, or the configuration engine is an autonomous agent and a middle to high level policy language for building expert systems which administrate and configure large computer networks. Cfengine uses the idea of classes and a primitive intelligence to define and automate the configuration and maintenance of system state, for small to huge configurations. Cfengine is designed to be a part of a computer immune system, and can be thought of as a gaming agent. It is ideal for cluster management and has been adopted for use all over the world in small and huge organizations alike. +</longdescription> +</pkgmetadata> |