Bump cfengine to version 2.1.22
authorMichael Marineau <marineam@gentoo.org>
Tue, 20 Feb 2007 00:43:53 +0000 (00:43 +0000)
committerMichael Marineau <marineam@gentoo.org>
Tue, 20 Feb 2007 00:43:53 +0000 (00:43 +0000)
Package-Manager: portage-2.1.1-r2

net-misc/cfengine/ChangeLog
net-misc/cfengine/Manifest
net-misc/cfengine/cfengine-2.1.22.ebuild [new file with mode: 0644]
net-misc/cfengine/files/digest-cfengine-2.1.22 [new file with mode: 0644]

index b41b708eaa74e796209d7bfcd288f6af6519868d..b794f36bdd40789bfcc269bc637edd8307a079d1 100644 (file)
@@ -1,6 +1,12 @@
 # ChangeLog for net-misc/cfengine
-# Copyright 2002-2006 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-misc/cfengine/ChangeLog,v 1.78 2006/09/20 22:11:10 ramereth Exp $
+# Copyright 2002-2007 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/net-misc/cfengine/ChangeLog,v 1.79 2007/02/20 00:43:53 marineam Exp $
+
+*cfengine-2.1.22 (20 Feb 2007)
+
+  20 Feb 2007; Michael Marineau <marineam@gentoo.org>
+  +cfengine-2.1.22.ebuild:
+  Bump cfengine to version 2.1.22
 
 *cfengine-2.1.21 (20 Sep 2006)
 
index fbe9d471cadcf6d334412e2acff73a76dfa3e8d1..00d394be230475f8178e77ae51860c0ffa772223 100644 (file)
@@ -1,3 +1,6 @@
+-----BEGIN PGP SIGNED MESSAGE-----
+Hash: SHA1
+
 AUX cfportage.README 2294 RMD160 05c285d3b79e266ac6229985b2fdbab1b7841752 SHA1 7f7598154775bf9f180383f69294a00624a69735 SHA256 c1a5a2af3b7e41a9b1c6d5e252e7a3673ec17d12ed3fa0aa34581b5893c8f833
 MD5 f4fe82c710efac73c0895ad268c54196 files/cfportage.README 2294
 RMD160 05c285d3b79e266ac6229985b2fdbab1b7841752 files/cfportage.README 2294
@@ -14,6 +17,7 @@ DIST cfengine-2.1.17.tar.gz 3613861 RMD160 82a1d1003957502838c3a5b22c474f0d2dfb5
 DIST cfengine-2.1.18.tar.gz 3622774 RMD160 6f249dfbbe1e045f1c181c1d8af18ebbdc072903 SHA1 4f1350d9cb052443df105fa080a39dd07726dfec SHA256 41f0afa72a783b47fc9e756539377e26724ddab6bfceebf67d758ad5e92aaeb5
 DIST cfengine-2.1.20.tar.gz 3684594 RMD160 865524fe8f4d07d01185abeab03d7b6adfc0e608 SHA1 98bae354ee6134a3f3274095a57a40b3620a1a64 SHA256 61bdca73ab60f7a707e02490ada8a357505121759ab0c2a4e6c14afc391253a0
 DIST cfengine-2.1.21.tar.gz 3688993 RMD160 d291d5e6be33f61d6427b99fe03ceeaab110c3ab SHA1 9731a9b4582847ba5b83ff0b1ade71d4c90fec50 SHA256 3d670fdcc8dc669d3cdad9c3e951dfdb84c21415fee19202c90039aac204a8be
+DIST cfengine-2.1.22.tar.gz 3673965 RMD160 9109a5156aa24e29137ff51ad1b5a0050b62eb2f SHA1 79501a4d430bc5a955b56519e0d00f62d8353229 SHA256 fa30e5b29517370e5cea8d9935999e437709e574d103eb317eeed007c975d451
 EBUILD cfengine-2.1.17.ebuild 2243 RMD160 0a7ead1124f8dd02b7f6007cfe8adec43f224607 SHA1 6c0bd8bb0a0376dd825725139b8e63aef8bd5bb7 SHA256 08680d598cd52745fde4ae3ef3adb5afaacb4d7ef1de9f896e498de9caf1346a
 MD5 ce1941ec8a3dc65efbf025fdb09a38c1 cfengine-2.1.17.ebuild 2243
 RMD160 0a7ead1124f8dd02b7f6007cfe8adec43f224607 cfengine-2.1.17.ebuild 2243
@@ -30,10 +34,14 @@ EBUILD cfengine-2.1.21.ebuild 2251 RMD160 45a9bbb251583747c6347add11c9a753ce22e9
 MD5 347765f84c18c5903fb63160b70088a9 cfengine-2.1.21.ebuild 2251
 RMD160 45a9bbb251583747c6347add11c9a753ce22e90b cfengine-2.1.21.ebuild 2251
 SHA256 391a1f5bcf4b2f509c90bdfb3efdb06f4ccbc770b7002ece5513b3142f53b760 cfengine-2.1.21.ebuild 2251
-MISC ChangeLog 11358 RMD160 bbc2d9bae7e27cc001f8942c0c2df89983633011 SHA1 0569a08ee83ffa009f1d182a6936242aeb8e39aa SHA256 e3e5175cde87f726df81306b87d4709f77d1fbab4100f8c0c676bc84c28c0e78
-MD5 2a6dec6053e0589b1e1f0ac02f498d85 ChangeLog 11358
-RMD160 bbc2d9bae7e27cc001f8942c0c2df89983633011 ChangeLog 11358
-SHA256 e3e5175cde87f726df81306b87d4709f77d1fbab4100f8c0c676bc84c28c0e78 ChangeLog 11358
+EBUILD cfengine-2.1.22.ebuild 2251 RMD160 4ff15a40e18a1dce1c0756c24ace6318296eb0bb SHA1 baf90ae39b56587d65d6a663550a3eac53c4ba9f SHA256 69199018d0886c10330bdfda10de03c6b833b73e4cf85c6f2acbeca61cb9a9f2
+MD5 3d6b77338743bef0b271a061ede660e6 cfengine-2.1.22.ebuild 2251
+RMD160 4ff15a40e18a1dce1c0756c24ace6318296eb0bb cfengine-2.1.22.ebuild 2251
+SHA256 69199018d0886c10330bdfda10de03c6b833b73e4cf85c6f2acbeca61cb9a9f2 cfengine-2.1.22.ebuild 2251
+MISC ChangeLog 11506 RMD160 318ebc0ae44839c2016d31e373afae67a1207f70 SHA1 95c54c54d19bebcd5ec1f723d4816b66de2fb94a SHA256 99e60495d1eec244e138d1bcbb6f1779544fb74bdd87378461fa1ef8e5bd3cf9
+MD5 9721d84c19f059f0efacb15b82c8f7fe ChangeLog 11506
+RMD160 318ebc0ae44839c2016d31e373afae67a1207f70 ChangeLog 11506
+SHA256 99e60495d1eec244e138d1bcbb6f1779544fb74bdd87378461fa1ef8e5bd3cf9 ChangeLog 11506
 MISC metadata.xml 1778 RMD160 a2f0a0604ba979552761a74b22c0f5fd74d2b7b7 SHA1 88909229ff2a2773d58ff91499bd2272eca34499 SHA256 e39a880a0da5fdeb4f9a0548a99b1ff5ead65d12442c9de16db2776afdbd09a9
 MD5 3db3dc96acb63eb4967de18b96b8c927 metadata.xml 1778
 RMD160 a2f0a0604ba979552761a74b22c0f5fd74d2b7b7 metadata.xml 1778
@@ -50,3 +58,13 @@ SHA256 aedd0d6f0de48b1f8199b59135b8b3e1986d82f5d12c48d21e61ed82af21bcb7 files/di
 MD5 cf08807e674f5bbe4ea9e115d5fcaebb files/digest-cfengine-2.1.21 250
 RMD160 3f7713ad78feea6781c472a306b9442186fd3b4b files/digest-cfengine-2.1.21 250
 SHA256 c99e28ac9e2ddcc92d27936ca1ba8d6659654682164f9ab8d569229978823560 files/digest-cfengine-2.1.21 250
+MD5 2b4800f747f5eab29f1dcc4f638f848e files/digest-cfengine-2.1.22 250
+RMD160 6ca8b486309457a6ba2252bc2dfec4fcc3810ae3 files/digest-cfengine-2.1.22 250
+SHA256 6c1e18e824b5acc49ee4df428b92e2326164183a03ba42ceb6726e29246e9990 files/digest-cfengine-2.1.22 250
+-----BEGIN PGP SIGNATURE-----
+Version: GnuPG v1.4.4 (GNU/Linux)
+
+iD8DBQFF2kRRiP+LossGzjARAqiPAJ9KJSoSZP8Nb1xKb9Sx6JUL31vocwCgjXm2
+Bql5nV3J8Li4urffubSrcGg=
+=QZkL
+-----END PGP SIGNATURE-----
diff --git a/net-misc/cfengine/cfengine-2.1.22.ebuild b/net-misc/cfengine/cfengine-2.1.22.ebuild
new file mode 100644 (file)
index 0000000..174807b
--- /dev/null
@@ -0,0 +1,78 @@
+# Copyright 1999-2007 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/net-misc/cfengine/cfengine-2.1.22.ebuild,v 1.1 2007/02/20 00:43:53 marineam 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="~amd64 ~arm ~ppc ~sparc ~x86"
+IUSE=""
+
+DEPEND=">=sys-libs/db-3.2
+       >=dev-libs/openssl-0.9.7"
+
+src_compile() {
+       # Enforce /var/cfengine for historical compatibility
+       econf \
+               --with-workdir=/var/cfengine \
+               --with-berkeleydb=/usr || die
+
+       # Fix Makefile to skip doc,inputs, & contrib install to wrong locations
+       sed -i -e 's/\(DIST_SUBDIRS.*\) contrib inputs doc/\1/' Makefile
+       sed -i -e 's/\(SUBDIRS.*\) contrib inputs/\1/' Makefile
+       sed -i -e 's/\(install-data-am.*\) install-docDATA/\1/' Makefile
+
+       emake || die
+}
+
+src_install() {
+       newinitd "${FILESDIR}"/cfservd.rc6 cfservd
+
+       make DESTDIR="${D}" install || die
+       dodoc AUTHORS ChangeLog README TODO INSTALL
+
+       # Manually install doc and inputs
+       doinfo doc/*.info*
+       dohtml doc/*.html
+       doman doc/*.8
+       dodoc ${FILESDIR}/cfportage.README
+       docinto examples
+       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
+       tar jxf ${FILESDIR}/module-cfportage.tbz2 -C ${D}/var/cfengine/modules
+       fowners root:0 /var/cfengine/modules/module\:cfportage
+}
+
+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/
+
+       einfo
+       einfo "Now an init script for cfservd is provided."
+       einfo
+       einfo "To run cfengine out of cron every half hour modify your crontab:"
+       einfo "0,30 * * * *    /usr/sbin/cfexecd -F"
+       einfo
+}
diff --git a/net-misc/cfengine/files/digest-cfengine-2.1.22 b/net-misc/cfengine/files/digest-cfengine-2.1.22
new file mode 100644 (file)
index 0000000..fd575ec
--- /dev/null
@@ -0,0 +1,3 @@
+MD5 5452c988225751da9ed2f1edf3426866 cfengine-2.1.22.tar.gz 3673965
+RMD160 9109a5156aa24e29137ff51ad1b5a0050b62eb2f cfengine-2.1.22.tar.gz 3673965
+SHA256 fa30e5b29517370e5cea8d9935999e437709e574d103eb317eeed007c975d451 cfengine-2.1.22.tar.gz 3673965