summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKurt Lieber <klieber@gentoo.org>2004-04-06 12:39:13 +0000
committerKurt Lieber <klieber@gentoo.org>2004-04-06 12:39:13 +0000
commit7cfce21225800ea88bf94667b7365314f7aac218 (patch)
tree3087d448b88f8d3593b42bcc5ba0e101a80b6cc2 /net-misc/cfengine
parentsorry, revert arch, profiles (diff)
downloadgentoo-2-7cfce21225800ea88bf94667b7365314f7aac218.tar.gz
gentoo-2-7cfce21225800ea88bf94667b7365314f7aac218.tar.bz2
gentoo-2-7cfce21225800ea88bf94667b7365314f7aac218.zip
2.1.4 committed as ~masked
Diffstat (limited to 'net-misc/cfengine')
-rw-r--r--net-misc/cfengine/Manifest12
-rw-r--r--net-misc/cfengine/cfengine-2.1.4.ebuild63
-rw-r--r--net-misc/cfengine/files/digest-cfengine-2.1.41
3 files changed, 71 insertions, 5 deletions
diff --git a/net-misc/cfengine/Manifest b/net-misc/cfengine/Manifest
index 5eed9ac8e5ca..64e5c6d30d10 100644
--- a/net-misc/cfengine/Manifest
+++ b/net-misc/cfengine/Manifest
@@ -1,12 +1,14 @@
-MD5 1ee8d8f329b8027fb01046f15ec596cd cfengine-2.1.3.ebuild 1533
+MD5 8515e93c9c26160c91213654007e4cb9 ChangeLog 4452
MD5 a2be03b6731823dbd298d4f35758f9b6 cfengine-1.6.3.ebuild 723
MD5 e35c3445cb81576250f15893c893b290 cfengine-2.1.0_p1.ebuild 1570
-MD5 8515e93c9c26160c91213654007e4cb9 ChangeLog 4452
-MD5 62a95c94d7136aa0edd4c4e32fe14434 metadata.xml 846
MD5 91b94c15077795a19c52bdb37e5cb381 cfengine-2.1.1.ebuild 1548
+MD5 62a95c94d7136aa0edd4c4e32fe14434 metadata.xml 846
+MD5 1ee8d8f329b8027fb01046f15ec596cd cfengine-2.1.3.ebuild 1533
+MD5 1df853c35c50040b88c299b4247823e6 cfengine-2.1.4.ebuild 1542
+MD5 82f197653e5cd9f1132d3f75f699e172 files/digest-cfengine-2.1.4 67
+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 6453e4309a80963dde2df05003dfaf8a files/digest-cfengine-1.6.3 66
+MD5 6b82ac72e557796ee7c63f7cba273bf5 files/module:cfportage 10243
MD5 c95df57a119e762a238f89210448914e files/digest-cfengine-2.1.1 67
MD5 0e4089dc686aa3db08565e1b64db2ea0 files/digest-cfengine-2.1.3 67
-MD5 6b82ac72e557796ee7c63f7cba273bf5 files/module:cfportage 10243
diff --git a/net-misc/cfengine/cfengine-2.1.4.ebuild b/net-misc/cfengine/cfengine-2.1.4.ebuild
new file mode 100644
index 000000000000..bc9679cf3790
--- /dev/null
+++ b/net-misc/cfengine/cfengine-2.1.4.ebuild
@@ -0,0 +1,63 @@
+# 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"
+IUSE=""
+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 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.4 b/net-misc/cfengine/files/digest-cfengine-2.1.4
new file mode 100644
index 000000000000..209423a55946
--- /dev/null
+++ b/net-misc/cfengine/files/digest-cfengine-2.1.4
@@ -0,0 +1 @@
+MD5 3a1f66aaaab31835e5ee0ac9d2a7d792 cfengine-2.1.4.tar.gz 1845681