diff options
author | Paul de Vrieze <pauldv@gentoo.org> | 2003-08-01 13:48:25 +0000 |
---|---|---|
committer | Paul de Vrieze <pauldv@gentoo.org> | 2003-08-01 13:48:25 +0000 |
commit | 27b63f783f264fc4d95e274f8311b6dd04053086 (patch) | |
tree | 96251061d88bb5e2ff932feefec997b330ce9048 /net-misc/cfengine | |
parent | Make cfengine work with db4 (diff) | |
download | historical-27b63f783f264fc4d95e274f8311b6dd04053086.tar.gz historical-27b63f783f264fc4d95e274f8311b6dd04053086.tar.bz2 historical-27b63f783f264fc4d95e274f8311b6dd04053086.zip |
Make cfengine work with db4
Diffstat (limited to 'net-misc/cfengine')
-rw-r--r-- | net-misc/cfengine/Manifest | 4 | ||||
-rw-r--r-- | net-misc/cfengine/cfengine-2.0.6-r1.ebuild | 38 | ||||
-rw-r--r-- | net-misc/cfengine/files/cfengine-2.0.6-db4.diff | 23 | ||||
-rw-r--r-- | net-misc/cfengine/files/digest-cfengine-2.0.6-r1 | 1 |
4 files changed, 64 insertions, 2 deletions
diff --git a/net-misc/cfengine/Manifest b/net-misc/cfengine/Manifest index 943ef3cf9fd4..a9b01ae10fb1 100644 --- a/net-misc/cfengine/Manifest +++ b/net-misc/cfengine/Manifest @@ -1,8 +1,8 @@ MD5 507e1c8c72d4b905793f5a2f86f7c607 cfengine-2.0.3.ebuild 976 MD5 307602128d10dadf1a04b6f1eb5a5967 cfengine-1.6.3.ebuild 830 MD5 3d65481afceeb7c69c8b9f462383a39f cfengine-2.0.6.ebuild 982 -MD5 a0ae5a27fc84b067b2ad66d79336ea9c ChangeLog 1460 -MD5 0103a2322a683cd32513ded245d44527 cfengine-2.0.6-r1.ebuild 1067 +MD5 82f4c695837efcb9da4b86bc9a80f292 ChangeLog 1755 +MD5 3e5a5d2d787aa384046698ec6b0b9d18 cfengine-2.0.6-r1.ebuild 1069 MD5 6453e4309a80963dde2df05003dfaf8a files/digest-cfengine-1.6.3 66 MD5 a1c3e8d4352d939660ecc6de54436e45 files/cfengine-2.0.6-db4.diff 567 MD5 454239897bc3708a917d4f47bc8a79b9 files/digest-cfengine-2.0.6 67 diff --git a/net-misc/cfengine/cfengine-2.0.6-r1.ebuild b/net-misc/cfengine/cfengine-2.0.6-r1.ebuild new file mode 100644 index 000000000000..866cb9e41405 --- /dev/null +++ b/net-misc/cfengine/cfengine-2.0.6-r1.ebuild @@ -0,0 +1,38 @@ +# Copyright 1999-2003 Gentoo Technologies, Inc. +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/net-misc/cfengine/cfengine-2.0.6-r1.ebuild,v 1.1 2003/08/01 13:48:14 pauldv Exp $ + +S=${WORKDIR}/${P} +DESCRIPTION="An agent/software robot and a high level policy language for building expert systems to administrate and configure large computer networks" +SRC_URI="ftp://ftp.iu.hio.no/pub/cfengine/${P}.tar.gz" +HOMEPAGE="http://www.iu.hio.no/cfengine/" + +DEPEND="virtual/glibc + >=sys-libs/db-3.2 + dev-libs/openssl" + +SLOT="0" +LICENSE="GPL-2" +KEYWORDS="~x86 ~sparc ~ppc" + +src_unpack(){ + unpack ${A} + cd ${S} + patch -p0 < ${FILESDIR}/${P}-db4.diff ||die +} + +src_compile() { + local myconf + myconf="--with-berkeleydb=/usr" + econf ${myconf} || die + emake || die +} + +src_install () { + emake DESTDIR=${D} install || die + dodoc AUTHORS ChangeLog COPYING DOCUMENTATION NEWS README SURVEY TODO + dodoc doc/*.html + doinfo doc/*.info* + dodoc ${D}/usr/share/cfengine/*.example + rm -rf ${D}/usr/share/cfengine ${D}/usr/doc +} diff --git a/net-misc/cfengine/files/cfengine-2.0.6-db4.diff b/net-misc/cfengine/files/cfengine-2.0.6-db4.diff new file mode 100644 index 000000000000..2749516484e7 --- /dev/null +++ b/net-misc/cfengine/files/cfengine-2.0.6-db4.diff @@ -0,0 +1,23 @@ +--- configure.orig 2003-08-01 15:35:36.000000000 +0200 ++++ configure 2003-08-01 15:36:10.000000000 +0200 +@@ -4904,6 +4904,7 @@ + cat >conftest.$ac_ext <<_ACEOF + #line 4905 "configure" + #include "confdefs.h" ++#include "db.h" + + /* Override any gcc2 internal prototype to avoid an error. */ + #ifdef __cplusplus +@@ -4911,11 +4912,10 @@ + #endif + /* We use char because int might match the return type of a gcc2 + builtin and then its argument prototype would still apply. */ +-char db_create (); + int + main () + { +-db_create (); ++db_create (0,0,0); + ; + return 0; + } diff --git a/net-misc/cfengine/files/digest-cfengine-2.0.6-r1 b/net-misc/cfengine/files/digest-cfengine-2.0.6-r1 new file mode 100644 index 000000000000..7d20074ad94b --- /dev/null +++ b/net-misc/cfengine/files/digest-cfengine-2.0.6-r1 @@ -0,0 +1 @@ +MD5 88b1af1671f3dac97a95de7adc3de305 cfengine-2.0.6.tar.gz 1173772 |