summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKurt Lieber <klieber@gentoo.org>2004-11-01 15:24:42 +0000
committerKurt Lieber <klieber@gentoo.org>2004-11-01 15:24:42 +0000
commit044747e3f737fb11df0955554dbae1071bc5ac26 (patch)
tree7ca080f9c1c68ce6ba9418f510ceecd1cfa5c7e4 /net-misc
parentMarked ~ppc64; bug #66216 (diff)
downloadhistorical-044747e3f737fb11df0955554dbae1071bc5ac26.tar.gz
historical-044747e3f737fb11df0955554dbae1071bc5ac26.tar.bz2
historical-044747e3f737fb11df0955554dbae1071bc5ac26.zip
version bump to 2.1.11
Diffstat (limited to 'net-misc')
-rw-r--r--net-misc/cfengine/ChangeLog7
-rw-r--r--net-misc/cfengine/Manifest4
-rw-r--r--net-misc/cfengine/cfengine-2.1.11.ebuild72
-rw-r--r--net-misc/cfengine/files/digest-cfengine-2.1.111
4 files changed, 82 insertions, 2 deletions
diff --git a/net-misc/cfengine/ChangeLog b/net-misc/cfengine/ChangeLog
index 95218e3f1c89..bf52e4f9f55d 100644
--- a/net-misc/cfengine/ChangeLog
+++ b/net-misc/cfengine/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for net-misc/cfengine
# Copyright 2002-2004 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-misc/cfengine/ChangeLog,v 1.42 2004/11/01 14:44:48 klieber Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-misc/cfengine/ChangeLog,v 1.43 2004/11/01 15:24:42 klieber Exp $
+
+*cfengine-2.1.11 (01 Nov 2004)
+
+ 01 Nov 2004; Kurt Lieber <klieber@gentoo.org> +cfengine-2.1.11.ebuild:
+ version bump to 2.1.11
*cfengine-2.1.10-r2 (01 Nov 2004)
diff --git a/net-misc/cfengine/Manifest b/net-misc/cfengine/Manifest
index ef669d944aa9..59c7bc1deb38 100644
--- a/net-misc/cfengine/Manifest
+++ b/net-misc/cfengine/Manifest
@@ -1,12 +1,14 @@
MD5 87a96ecdae01b29f18591925ec989ff4 cfengine-2.1.10-r2.ebuild 1871
+MD5 a9ba59ae5360f51dff718e62a2f1af05 cfengine-2.1.11.ebuild 1819
MD5 c43d635d5a652147971486b2b09e8345 metadata.xml 873
MD5 2af42bcc42a23046558831ca3a11a30a cfengine-2.1.7.ebuild 1628
-MD5 511c45e7deb381da8ea97ee7a166527a ChangeLog 6393
+MD5 9e84ef14bcffa3ea6c0431bcb5b577f6 ChangeLog 6524
MD5 08f5b76b494f5e82db441002c0f7cdb9 cfengine-2.1.9.ebuild 1624
MD5 5d51f960bf5096976cb3d605a0df00ec cfengine-2.1.10.ebuild 1634
MD5 62458403e7a0a025a1270e082a8dc65c cfengine-2.1.10-r1.ebuild 1855
MD5 f4fe82c710efac73c0895ad268c54196 files/cfportage.README 2294
MD5 24084321590f39650eaf07a073bf0582 files/digest-cfengine-2.1.10-r2 68
+MD5 0436f0fa78bed80815c0c8372182a174 files/digest-cfengine-2.1.11 68
MD5 bf538c6d3db7c825355a0e8d34fa6efc files/module:cfportage 10247
MD5 13f423656685d25e1e1e3d0bf261b474 files/digest-cfengine-2.1.7 67
MD5 1815c2c18d0905908868d2d550b9246a files/digest-cfengine-2.1.9 67
diff --git a/net-misc/cfengine/cfengine-2.1.11.ebuild b/net-misc/cfengine/cfengine-2.1.11.ebuild
new file mode 100644
index 000000000000..b20036eeca18
--- /dev/null
+++ b/net-misc/cfengine/cfengine-2.1.11.ebuild
@@ -0,0 +1,72 @@
+# Copyright 1999-2004 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/net-misc/cfengine/cfengine-2.1.11.ebuild,v 1.1 2004/11/01 15:24:42 klieber Exp $
+
+inherit eutils
+
+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/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~x86 ~ppc ~sparc ~arm ~amd64"
+IUSE=""
+
+DEPEND="virtual/libc
+ >=sys-libs/db-3.2
+ >=dev-libs/openssl-0.9.6k"
+
+src_unpack() {
+ unpack ${A}
+ cd ${S}
+ gnuconfig_update ${S}
+}
+
+src_compile() {
+
+ # Enforce /var/cfengine for historical compatibility
+ econf \
+ --with-workdir=/var/cfengine \
+ --with-berkeleydb=/usr || die
+
+ # Fix Makefile to skip doc & inputs install to wrong locations
+ sed -i -e 's/\(SUBDIRS.*\) inputs doc/\1/' Makefile
+
+ emake || die
+}
+
+src_install() {
+ make DESTDIR=${D} install || die
+ dodoc AUTHORS ChangeLog COPYING README TODO
+
+ # Manually install doc and inputs
+ doinfo doc/*.info*
+ dohtml doc/*.html
+ dodoc inputs/*.example
+
+ # Create cfengine working directory
+ mkdir -p ${D}/var/cfengine
+ fperms 700 /var/cfengine
+ keepdir /var/cfengine/bin
+ keepdir /var/cfengine/inputs
+ dodir /var/cfengine/modules
+ cd ${D}/var/cfengine/modules
+ tar pjxf ${FILESDIR}/module-cfportage.tbz2
+}
+
+pkg_postinst() {
+ if [ ! -f "/var/cfengine/ppkeys/localhost.priv" ]
+ then
+ einfo "Generating keys for localhost."
+ /usr/sbin/cfkey
+ fi
+
+
+ # Copy cfagent into the cfengine tree otherwise cfexecd won't
+ # find it. Most hosts cache their copy of the cfengine
+ # binaries here. This is the default search location for the
+ # binaries.
+
+ cp /usr/sbin/cf{agent,servd,execd} /var/cfengine/bin/
+}
diff --git a/net-misc/cfengine/files/digest-cfengine-2.1.11 b/net-misc/cfengine/files/digest-cfengine-2.1.11
new file mode 100644
index 000000000000..6dd49e278549
--- /dev/null
+++ b/net-misc/cfengine/files/digest-cfengine-2.1.11
@@ -0,0 +1 @@
+MD5 6d6bd644e4e8b4374d4eb9ed5bd154a2 cfengine-2.1.11.tar.gz 3119529