summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKurt Lieber <klieber@gentoo.org>2004-03-06 20:43:34 +0000
committerKurt Lieber <klieber@gentoo.org>2004-03-06 20:43:34 +0000
commit9db1259836c47488e8d4ef27476cbd214922f14a (patch)
treeefb4344175152807b9da34c21ff94dd85b46b9fd
parentVersion bump; closes bug #43421. Old version removed due to memory leaks. (Ma... (diff)
downloadgentoo-2-9db1259836c47488e8d4ef27476cbd214922f14a.tar.gz
gentoo-2-9db1259836c47488e8d4ef27476cbd214922f14a.tar.bz2
gentoo-2-9db1259836c47488e8d4ef27476cbd214922f14a.zip
2.1.3 version bump -- no other changes
-rw-r--r--net-misc/cfengine/Manifest16
-rw-r--r--net-misc/cfengine/cfengine-2.1.3.ebuild62
-rw-r--r--net-misc/cfengine/files/digest-cfengine-2.1.31
3 files changed, 72 insertions, 7 deletions
diff --git a/net-misc/cfengine/Manifest b/net-misc/cfengine/Manifest
index 5b496aa8c969..cc2250e28ec0 100644
--- a/net-misc/cfengine/Manifest
+++ b/net-misc/cfengine/Manifest
@@ -1,15 +1,17 @@
-MD5 b9833356ba8b5eaf8fe127b1eedeafb9 cfengine-2.0.8_p1-r3.ebuild 1944
+MD5 af820062b3a75d83eb0485f48d22c51f ChangeLog 3991
MD5 a2be03b6731823dbd298d4f35758f9b6 cfengine-1.6.3.ebuild 723
MD5 e35c3445cb81576250f15893c893b290 cfengine-2.1.0_p1.ebuild 1570
-MD5 182ac43da90866ce913dc85ec6b6f4eb cfengine-2.0.8_p1-r2.ebuild 1570
-MD5 af820062b3a75d83eb0485f48d22c51f ChangeLog 3991
-MD5 62a95c94d7136aa0edd4c4e32fe14434 metadata.xml 846
MD5 6dbab18cc5b89f9c6875708f922e7f10 cfengine-2.1.1.ebuild 1549
+MD5 62a95c94d7136aa0edd4c4e32fe14434 metadata.xml 846
+MD5 b9833356ba8b5eaf8fe127b1eedeafb9 cfengine-2.0.8_p1-r3.ebuild 1944
+MD5 6dbab18cc5b89f9c6875708f922e7f10 cfengine-2.1.3.ebuild 1549
+MD5 182ac43da90866ce913dc85ec6b6f4eb cfengine-2.0.8_p1-r2.ebuild 1570
MD5 a1c3e8d4352d939660ecc6de54436e45 files/cfengine-2.0.6-db4.diff 567
+MD5 6453e4309a80963dde2df05003dfaf8a files/digest-cfengine-1.6.3 66
MD5 d306cf207af6fe2703ab614c50719cbf files/digest-cfengine-2.1.0_p1 69
MD5 f4fe82c710efac73c0895ad268c54196 files/cfportage.README 2294
-MD5 c8ffce770e77f013fb284e2ea3ecbb68 files/digest-cfengine-2.0.8_p1-r2 69
MD5 c8ffce770e77f013fb284e2ea3ecbb68 files/digest-cfengine-2.0.8_p1-r3 69
-MD5 6453e4309a80963dde2df05003dfaf8a files/digest-cfengine-1.6.3 66
-MD5 c95df57a119e762a238f89210448914e files/digest-cfengine-2.1.1 67
MD5 6b82ac72e557796ee7c63f7cba273bf5 files/module:cfportage 10243
+MD5 c8ffce770e77f013fb284e2ea3ecbb68 files/digest-cfengine-2.0.8_p1-r2 69
+MD5 c95df57a119e762a238f89210448914e files/digest-cfengine-2.1.1 67
+MD5 0e4089dc686aa3db08565e1b64db2ea0 files/digest-cfengine-2.1.3 67
diff --git a/net-misc/cfengine/cfengine-2.1.3.ebuild b/net-misc/cfengine/cfengine-2.1.3.ebuild
new file mode 100644
index 000000000000..37de71297af3
--- /dev/null
+++ b/net-misc/cfengine/cfengine-2.1.3.ebuild
@@ -0,0 +1,62 @@
+# Copyright 1999-2004 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License v2
+# $
+
+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"
+
+DEPEND="virtual/glibc
+ >=sys-libs/db-3.2
+ >=dev-libs/openssl-0.9.6k"
+
+S="${WORKDIR}/${P}"
+
+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 DOCUMENTATION 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
+}
+
+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.3 b/net-misc/cfengine/files/digest-cfengine-2.1.3
new file mode 100644
index 000000000000..d563e1f09d37
--- /dev/null
+++ b/net-misc/cfengine/files/digest-cfengine-2.1.3
@@ -0,0 +1 @@
+MD5 54cc5ac220c16ad636fb94a950d8e83a cfengine-2.1.3.tar.gz 1317295