Portage is a package management system used by Gentoo Linux
# ChangeLog for net-misc/cfengine
# Copyright 2002-2008 Gentoo Foundation; Distributed under the GPL v2
# $Header: /var/cvsroot/gentoo-x86/net-misc/cfengine/ChangeLog,v 1.85 2008/06/16 16:37:11 ramereth Exp $
*cfengine-2.2.7 (16 Jun 2008)
16 Jun 2008; Lance Albertson
Bump version
08 Jun 2008; nixnut
Stable on ppc wrt bug 220927
18 May 2008; Raúl Porcel
sparc stable wrt #220927
28 Apr 2008; Lance Albertson
-cfengine-2.1.17.ebuild, -cfengine-2.1.18.ebuild, cfengine-2.1.20.ebuild,
cfengine-2.1.21.ebuild, -cfengine-2.1.22.ebuild,
cfengine-2.1.22-r1.ebuild:
* Stable bumps for x86/amd64
* Clean old ebuilds out
* Fix DESCRIPTION,HOMEPAGE,SRC_URI fields
*cfengine-2.2.6 (28 Apr 2008)
28 Apr 2008; Lance Albertson
+files/cfengine-2.2.6-typo-fix.patch, +files/cfenvd.rc6,
+files/cfexecd.rc6, +cfengine-2.2.6.ebuild:
* Bump package to 2.2.6
- Update DESCRIPTION,HOMEPAGE,SRC_URI fields
- Add portage-utils depend
- Add typo patch for this specific version
- Fix man pages that use /usr/local
- Add init scripts for cfenvd & cfexecd
- Fix documentation
- Remove references to cfportage since upstream now has it builtin
- Update postinst section
*cfengine-2.1.22-r1 (21 Mar 2007)
21 Mar 2007; Michael Marineau
+files/cfengine-2.1.22-package-fix.patch, +cfengine-2.1.22-r1.ebuild:
Minor fix, backport r347 from trunk to 2.1.22 to fix inform for package
install.
*cfengine-2.1.22 (20 Feb 2007)
20 Feb 2007; Michael Marineau
+cfengine-2.1.22.ebuild:
Bump cfengine to version 2.1.22
*cfengine-2.1.21 (20 Sep 2006)
20 Sep 2006; Lance Albertson
+cfengine-2.1.21.ebuild:
* Version bump
13 Aug 2006; Jason Wever
Stable on SPARC.
18 Jul 2006; Michael Hanselmann
cfengine-2.1.20.ebuild:
Stable on ppc.
04 Jul 2006; Lance Albertson
-cfengine-2.1.15-r1.ebuild, -cfengine-2.1.16.ebuild,
cfengine-2.1.20.ebuild:
* Stable on x86
* Remove old ebuilds/files
02 Jul 2006; Chris White
Japanese metadata.xml translation. Thanks to Yoshino-san in bug #133930 for
the translation.
*cfengine-2.1.20 (27 Apr 2006)
27 Apr 2006; Lance Albertson
+cfengine-2.1.20.ebuild:
* Version bump
10 Mar 2006; Michael Hanselmann
cfengine-2.1.18.ebuild:
Stable on ppc.
27 Feb 2006; Gustavo Zacarias
cfengine-2.1.18.ebuild:
Stable on sparc
25 Feb 2006; Lance Albertson
* Stable on x86
07 Feb 2006; Simon Stelling
stable on amd64
15 Jan 2006; Michael Hanselmann
cfengine-2.1.17.ebuild:
Stable on ppc.
11 Jan 2006; Gustavo Zacarias
cfengine-2.1.17.ebuild:
Stable on sparc
*cfengine-2.1.18 (11 Jan 2006)
11 Jan 2006; Lance Albertson
+cfengine-2.1.18.ebuild:
* Stable on x86
* Version bump
24 Dec 2005; Michael Hanselmann
cfengine-2.1.16.ebuild:
Stable on ppc.
16 Dec 2005; Diego Pettenò
Replace root:root in root:0. Bug #103563.
22 Nov 2005; Gustavo Zacarias
cfengine-2.1.16.ebuild:
Stable on sparc
*cfengine-2.1.17 (20 Nov 2005)
20 Nov 2005; Lance Albertson
-cfengine-2.1.14-r1.ebuild, cfengine-2.1.16.ebuild,
+cfengine-2.1.17.ebuild:
* Version bump
* Stable on x86
* Clean out old ebuild
*cfengine-2.1.16 (02 Oct 2005)
02 Oct 2005; Lance Albertson
-files/cfengine-2.1.10-setnetgrent.patch, metadata.xml,
-cfengine-2.1.13.ebuild, -cfengine-2.1.14.ebuild, +cfengine-2.1.16.ebuild:
* Rev bump for 2.1.16
* Ebuild cleanup
* Fix wordwrap in metadata.xml
* Removed unused patch
20 Aug 2005; Jason Wever
Stable on SPARC.
19 Aug 2005; Michael Hanselmann
cfengine-2.1.15-r1.ebuild:
Stable on ppc.
17 Aug 2005; Lance Albertson
cfengine-2.1.14-r1.ebuild, -cfengine-2.1.15.ebuild,
cfengine-2.1.15-r1.ebuild:
* Stable on x86/amd64
13 Aug 2005; Michael Hanselmann
cfengine-2.1.14.ebuild:
Stable on ppc.
07 Aug 2005; Jason Wever
Stable on SPARC.
*cfengine-2.1.15-r1 (02 Jul 2005)
*cfengine-2.1.14-r1 (02 Jul 2005)
02 Jul 2005; Lance Albertson
+cfengine-2.1.14-r1.ebuild, +cfengine-2.1.15-r1.ebuild:
* Fixed openssl dep to match upstream's suggestion
* Fixed the contrib, inputs, & doc installation issue
(It would put it in the wrong place)
* Fixed a few doc locations
* Added manpages
*cfengine-2.1.15 (25 Jun 2005)
25 Jun 2005; Lance Albertson
+cfengine-2.1.15.ebuild:
* Bumped 2.1.14 stable on x86
* Added 2.1.15 ~arch
*cfengine-2.1.14 (30 Apr 2005)
30 Apr 2005; Lance Albertson
-cfengine-2.1.7.ebuild, -cfengine-2.1.9.ebuild,
-cfengine-2.1.10-r2.ebuild, -cfengine-2.1.11-r1.ebuild,
-cfengine-2.1.11-r2.ebuild, +cfengine-2.1.14.ebuild:
version bump, cleaning out old ebuilds
25 Apr 2005; Jason Wever
Stable on SPARC.
20 Apr 2005; Michael Hanselmann
cfengine-2.1.13.ebuild:
Stable on ppc.
23 Mar 2005; Kurt Lieber
marked stable on x86
*cfengine-2.1.13 (27 Jan 2005)
27 Jan 2005; Kurt Lieber
version bumpage
*cfengine-2.1.11-r2 (14 Nov 2004)
14 Nov 2004; Kurt Lieber
+cfengine-2.1.11-r2.ebuild:
added init script, changed perms for module:cfportage. thanks to jaervosz for
the changes
09 Nov 2004; Jason Wever
Stable on sparc.
04 Nov 2004; Kurt Lieber
unmasking on x86
*cfengine-2.1.11-r1 (01 Nov 2004)
01 Nov 2004; Kurt Lieber
-cfengine-2.1.11.ebuild:
oops, forgot to inherit gnuconfig
*cfengine-2.1.11 (01 Nov 2004)
01 Nov 2004; Kurt Lieber
version bump to 2.1.11
*cfengine-2.1.10-r2 (01 Nov 2004)
01 Nov 2004; Kurt Lieber
Add inherit eutils
30 Oct 2004; Kurt Lieber
marking stable on x86 and ppc
*cfengine-2.1.10-r1 (25 Oct 2004)
25 Oct 2004; Kurt Lieber
bumpage to fix 68709 and 64411
06 Oct 2004; Kurt Lieber
added ~amd64 to ebuild
*cfengine-2.1.10 (18 Sep 2004)
04 Oct 2004; Pieter Van den Abeele
Masking stable on ppc
18 Sep 2004; Jason Wever
Stable on sparc.
18 Aug 2004; Kurt Lieber
version bump to 2.1.10
*cfengine-2.1.9 (10 Aug 2004)
10 Aug 2004; Jason Wever
Stable on sparc wrt security bug #59895.
10 Aug 2004; Kurt Lieber
version bump to 2.1.9
14 Jul 2004; Kurt Lieber
mark stable on x86
01 Jul 2004; Jon Hood
cfengine-2.1.3.ebuild, cfengine-2.1.5.ebuild, cfengine-2.1.6.ebuild,
cfengine-2.1.7.ebuild:
change virtual/glibc to virtual/libc, add IUSE, fix headers
*cfengine-2.1.7 (29 Jun 2004)
29 Jun 2004; Kurt Lieber
version bump to 2.1.7
23 Jun 2004; Kurt Lieber
marked 2.1.6 stable on x86
*cfengine-2.1.6 (13 May 2004)
13 May 2004; Kurt Lieber
cfengine version bump
*cfengine-2.1.5 (13 Apr 2004)
13 Apr 2004; Kurt Lieber
bump to 2.1.5 to fix a minor bug.
*cfengine-2.1.4 (06 Apr 2004)
06 Apr 2004; Kurt Lieber
2.1.4 committed ~masked
19 Mar 2004; Kurt Lieber
cfengine-2.1.3.ebuild:
removed 2.0.8, marked 2.1.3 stable on x86
08 Mar 2004; Kurt Lieber
cfengine-2.1.3.ebuild:
marked cfengine 2.1.1 stable on x86, removed DOCUMENTATION from dodoc on 2.1.3
ebuild
*cfengine-2.1.3 (06 Mar 2004)
06 Mar 2004; Kurt Lieber
2.1.3 version bump
*cfengine-2.1.1 (31 Jan 2004)
31 Jan 2004; Kurt Lieber
cfengine-2.1.1.ebuild:
added new 2.1.1 build
*cfengine-2.0.8_p1-r3 (17 Dec 2003)
17 Dec 2003; rob holland
files/cfportage.README, files/module:cfportage:
Added a cfengine module to test for installed software using portage.
Removed silly mkdir which did nothing
*cfengine-2.1.0_p1 (05 Nov 2003)
05 Nov 2003; Kurt Lieber,,,
2.1.0_p1 ebuild
04 Nov 2003; Kurt Lieber,,,
cfengine-2.1.0.ebuild, cfengine-2.1.0_beta5.ebuild:
bumping 2.1.0 to stable on x86, removing 2.1.0b5 and 2.0.3 from portage.
*cfengine-2.1.0 (29 Oct 2003)
29 Oct 2003; Kurt Lieber,,,
final version of cfengine-2.1.0
12 Oct 2003; Kurt Lieber,,,
cfengine-2.0.8_p1-r2.ebuild:
removing -r1, marking -r2 as stable. minor cleanups. no major changes
*cfengine-2.1.0_beta5 (11 Oct 2003)
11 Oct 2003; Kurt Lieber,,,
cfengine-2.1.0_beta5.ebuild:
bumped to beta 5. no other changes
04 Oct 2003; Kurt Lieber,,,
initial version of 2.1.0b4 for testing.
*cfengine-2.0.8_p1-r2 (04 Oct 2003)
04 Oct 2003; Kurt Lieber,,,
changed ln -sf to cp to maintain consistency with how cfengine does things.
04 Oct 2003; Kurt Lieber,,,
bumped to stable -- tested and running on multiple Gentoo infrastructure
servers
03 Oct 2003; Kurt Lieber
cfengine-2.0.8_p1-r1.ebuild:
Misc. fixes regarding #28910. Thanks to rladams@kelsey-seybold.com
for the submission.
*cfengine-2.0.8_p1 (29 Sep 2003)
30 Sep 2003; Donnie Berkholz
cfengine-2.0.8_p1.ebuild:
Ebuild cleanup.
*cfengine-2.0.8_p1 (29 Sep 2003)
29 Sep 2003;
security version bump. 2.0.8_p1 ebuild submission by Russell Adams
*cfengine-2.0.6-r1 (01 Aug 2003)
01 Aug 2003; Paul de Vrieze
files/cfengine-2.0.6-db4.diff:
Add a hack to make configure work with versioned symbols in db4. Unfortunately
autoconf does not work easilly so I had to hack configure itself
*cfengine-2.0.6 (30 Apr 2003)
30 Apr 2003; Kurt Lieber
Version bump
06 Dec 2002; Rodney Rees
*cfengine-2.0.3 (1 Jul 2002)
6 Jul 2002; phoen][x
Added KEYWORDS.
1 Jul 2002; Jon Nelson
Update ebuild closes #2915
Note that this revision still does not contain an init.d file,
nor a sample config file, because at this time I (jnelson) haven't
fully set up a cfengine installation.
*cfengine-1.6.3 (1 Feb 2002)
6 Jul 2002; phoen][x
Added KEYWORDS, LICENSE, SLOT.
1 Feb 2002; G.Bevin
Ebuild Author Prakash Shetty (Crux)
Added initial ChangeLog which should be updated whenever the package is
updated in any way. This changelog is targetted to users. This means that the
comments should well explained and written in clean English. The details about
writing correct changelogs are explained in the skel.ChangeLog file which you
can find in the root directory of the portage repository.
AUX cfengine-2.1.22-package-fix.patch 431 RMD160 c92f6b497e1d03aeefb5fb7cb6fd64ce2ac5aa15 SHA1 a587359f0d180d776065546112c0623e91016dd8 SHA256 3fff21b705fb84d7e1efc3c7891f466182b977bd88855f55c85aa283b2ccd584
AUX cfengine-2.2.6-typo-fix.patch 400 RMD160 6e23769b84335ae2433912af2709b11669c0fd08 SHA1 141b9d74ceb0ca947ef717461b002c2a84fb927e SHA256 4047ab39c1bc2029c32c57eb796cc8c6bb2822fb9bd7f8b3186172ef0e745da7
AUX cfenvd.rc6 254 RMD160 cbbb932dfee81318437f27b0e644b3201d6e4664 SHA1 d27f693a0744cbbd8f06ec85779935fc1a3181f2 SHA256 de0877e26bbb5cd8eb5da1827308b8fa00c9ce487e61263306c4b57e3ba9e150
AUX cfexecd.rc6 259 RMD160 05810d7582d962903033ed85b409818dd19089ef SHA1 f95df7747bded2a2d9c5bdcfb1bebc3e3c9ef463 SHA256 98735d665038e372be29ac8b173861491dde1d71fad7d0cefddab0fbf99a157c
AUX cfportage.README 2294 RMD160 05c285d3b79e266ac6229985b2fdbab1b7841752 SHA1 7f7598154775bf9f180383f69294a00624a69735 SHA256 c1a5a2af3b7e41a9b1c6d5e252e7a3673ec17d12ed3fa0aa34581b5893c8f833
AUX cfservd.rc6 259 RMD160 8390afb5b3cf7ffbe0b74766ddf3f9d05c4d5b6c SHA1 c1fc1ccf15789c8acfc3857481ed69dc7f9b6d2b SHA256 892e9537c9b75861031a0755af886b2b931e1ca4dd2589847a2bacf00862de0f
AUX module-cfportage.tbz2 3099 RMD160 21826b2263d6aa9ad83037d465adc40bafc0222b SHA1 cbda2ba5955ffec10f30805d14c76159429ebdb8 SHA256 192692a2bc7f990b85364b37ad440a05d05b4a0cbf268da49d3fc31011359e8f
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
DIST cfengine-2.2.6.tar.gz 1075766 RMD160 54fa608871e82c385550f5b01bebd75bfd6c772d SHA1 7bdb11676a36f600c426f66e8efc0e8b6e178955 SHA256 e07a82f367b185af41976611b06a64477d1a49772f1333c19a9d0694fc142657
DIST cfengine-2.2.7.tar.gz 1077903 RMD160 42eaee0bfa3fb6bace20e944b45c6bfad304e38f SHA1 c96fd0c824a1b25fc1fd4720663cb1da89ad6025 SHA256 36f672957bbfd639a591cf77549865130c19b691deeb29fbcca207ee145016bd
EBUILD cfengine-2.1.20.ebuild 2184 RMD160 baeb4cf531c6b04b0cafafd9ab384496e7c82195 SHA1 c2f3995e9b8460be195a3022e5b2313534ad5a91 SHA256 2a7e51976c7f1ae7edbf7af5c7b5f1abbcec1bcfbff201c91c601cac0ba5fd69
EBUILD cfengine-2.1.21.ebuild 2187 RMD160 fb89af28d9007e0c66763ebc43fd121a4313afaf SHA1 a84f4448ef9f68f5815bb5cba94115e25df5269c SHA256 339ed25f99ca9789c608db1dbccd0cfc389198a339f36d1703dd706311701bb9
EBUILD cfengine-2.1.22-r1.ebuild 2261 RMD160 2870b0a500dc121c156d3e1ca7ac6abb9e6c513c SHA1 59ddbd32ccbeddb1e0b2dcdfe8023f3edab6a0a7 SHA256 d9a82b8fbfa6f4ce2675ab0397b841b9dc5e1f862da6f24f77d9fffdc29b13f9
EBUILD cfengine-2.2.6.ebuild 2374 RMD160 85079256f14469843ad6927cc8c988c360120680 SHA1 582c4a960ad80076dffd39cc877698bf079e9adb SHA256 a63856c247390c3719a1cc42a2f5ddd03f29a4c0a3806a7b3eab2904165c1394
EBUILD cfengine-2.2.7.ebuild 2301 RMD160 c00ab6df0fa917b5882083cb3786463cd3ea298e SHA1 0d0a4bf02b32986fd0217550e21cf2b854408aaf SHA256 e4e5a6e6f32025778b27a515eac8f4a81126488d02a4bba2c5cc5888bf752712
MISC ChangeLog 12945 RMD160 00b3f124aefb575425b0614af92cfa3e427bd8ce SHA1 1bfb08e99e1b39e5d220ad7288d6f727e6cdabe4 SHA256 68072e1971d214d1c5ea4b196b2763e0bb07d56c9abf954589fc51c6682424dc
MISC metadata.xml 1778 RMD160 a2f0a0604ba979552761a74b22c0f5fd74d2b7b7 SHA1 88909229ff2a2773d58ff91499bd2272eca34499 SHA256 e39a880a0da5fdeb4f9a0548a99b1ff5ead65d12442c9de16db2776afdbd09a9
# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/net-misc/cfengine/cfengine-2.1.20.ebuild,v 1.7 2008/04/28 19:38:56 ramereth Exp $
inherit eutils
DESCRIPTION="An automated suite of programs for configuring and maintaining
Unix-like computers"
HOMEPAGE="http://www.cfengine.org/"
SRC_URI="http://www.cfengine.org/downloads/${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
}
# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/net-misc/cfengine/cfengine-2.1.21.ebuild,v 1.3 2008/04/28 19:38:56 ramereth Exp $
inherit eutils
DESCRIPTION="An automated suite of programs for configuring and maintaining
Unix-like computers"
HOMEPAGE="http://www.cfengine.org/"
SRC_URI="http://www.cfengine.org/downloads/${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
}
# Copyright 1999-2008 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-r1.ebuild,v 1.5 2008/06/08 11:58:37 nixnut Exp $
inherit eutils
DESCRIPTION="An automated suite of programs for configuring and maintaining
Unix-like computers"
HOMEPAGE="http://www.cfengine.org/"
SRC_URI="http://www.cfengine.org/downloads/${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_unpack() {
unpack ${A}
epatch ${FILESDIR}/${P}-package-fix.patch
}
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
}
# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/net-misc/cfengine/cfengine-2.2.6.ebuild,v 1.1 2008/04/28 19:27:29 ramereth Exp $
inherit eutils
DESCRIPTION="An automated suite of programs for configuring and maintaining
Unix-like computers"
HOMEPAGE="http://www.cfengine.org/"
SRC_URI="http://www.cfengine.org/downloads/${P}.tar.gz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~arm ~ppc ~sparc ~x86"
IUSE=""
DEPEND=">=sys-libs/db-4
>=dev-libs/openssl-0.9.7
app-portage/portage-utils"
src_unpack() {
unpack ${A}
epatch "${FILESDIR}/${P}"-typo-fix.patch
}
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
# Fix man pages
sed -i -e 's/\/usr\/local/\/usr/' doc/*.8
emake || die
}
src_install() {
newinitd "${FILESDIR}"/cfservd.rc6 cfservd
newinitd "${FILESDIR}"/cfenvd.rc6 cfenvd
newinitd "${FILESDIR}"/cfexecd.rc6 cfexecd
make DESTDIR="${D}" install || die
dodoc AUTHORS ChangeLog README TODO INSTALL
# Manually install doc and inputs
doman doc/*.8
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
}
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 "NOTE: The cfportage module has been deprecated in favor of the"
einfo " upstream 'packages' action."
einfo
einfo "Init scripts for cfservd, cfenvd, and cfexecd are now provided."
einfo
einfo "To run cfengine out of cron every half hour modify your crontab:"
einfo "0,30 * * * * /usr/sbin/cfexecd -F"
einfo
}
# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/net-misc/cfengine/cfengine-2.2.7.ebuild,v 1.1 2008/06/16 16:37:11 ramereth Exp $
inherit eutils
DESCRIPTION="An automated suite of programs for configuring and maintaining
Unix-like computers"
HOMEPAGE="http://www.cfengine.org/"
SRC_URI="http://www.cfengine.org/downloads/${P}.tar.gz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~arm ~ppc ~sparc ~x86"
IUSE=""
DEPEND=">=sys-libs/db-4
>=dev-libs/openssl-0.9.7
app-portage/portage-utils"
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
# Fix man pages
sed -i -e 's/\/usr\/local/\/usr/' doc/*.8
emake || die
}
src_install() {
newinitd "${FILESDIR}"/cfservd.rc6 cfservd
newinitd "${FILESDIR}"/cfenvd.rc6 cfenvd
newinitd "${FILESDIR}"/cfexecd.rc6 cfexecd
make DESTDIR="${D}" install || die
dodoc AUTHORS ChangeLog README TODO INSTALL
# Manually install doc and inputs
doman doc/*.8
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
}
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 "NOTE: The cfportage module has been deprecated in favor of the"
einfo " upstream 'packages' action."
einfo
einfo "Init scripts for cfservd, cfenvd, and cfexecd are now provided."
einfo
einfo "To run cfengine out of cron every half hour modify your crontab:"
einfo "0,30 * * * * /usr/sbin/cfexecd -F"
einfo
}
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.
Cfengine 、つまり the configuration engine (設定エンジン)は大規模
コンピュータ・ネットワークの管理と設定を行うエキスパート・システム
を構築するためのハイレベルなポリシ言語の自律型エージェントとその
ミドルを指します。莫大な設定を軽減するため、Cfengineはクラス概念と
プリミティブ・インテリジェンスの導入及びシステム状態の設定と保守を
自動化します。Cfengine は免疫型システムの一部としてデザインされ、
ゲーム・エージェントにもなります。クラスタ制御には最適で、世界中
の小さな組織および大きな組織で採用されています。