Update of /cvsroot/fink/dists/10.2/unstable/main/finkinfo/net
In directory usw-pr-cvs1:/tmp/cvs-serv5787
Added Files:
cfengine-2.0.1-2.info cfengine-2.0.1-2.patch
Log Message:
new package from tracker
--- NEW FILE: cfengine-2.0.1-2.info ---
Package: cfengine
Version: 2.0.1
Revision: 2
License: GPL
Source: ftp://ftp.iu.hio.no/pub/%n/%n-%v.tar.gz
Depends: db4-shlibs
BuildDepends: fink (>= 0.9.9), autoconf25, db4
Patch: %f.patch
CompileScript: <<
autoconf
./configure %c
make
<<
ConfigureParams: --with-berkeleydb=%p --with-openssl=/usr/lib --infodir=%p/share/info
--mandir=%p/share/man
InstallScript: <<
make install DESTDIR=%d
rmdir %i/doc/cfengine-%v
rmdir %i/doc
<<
DocFiles: AUTHORS NEWS COPYING README SURVEY DOCUMENTATION TODO
Description: Configuration engine for computers and networks
Homepage: http://www.cfengine.org
DescDetail: <<
Cfengine is a tool for setting up and maintaining computer systems optionally
attached to a TCP/IP network.
The idea behind cfengine is to focus upon a few key areas of basic system
administration and provide a language in which the transparency of a
configuration program is optimal. It eliminates the need for lots of tests by
allowing you to organize your network according to "classes". From a single
configuration file (or set of files) you can specify how your network should be
configured -- and cfengine will then parse your file and carry out the
instructions, warning or fixing errors as it goes.
Cfengine incorporates a declarative language--much higher level than Perl or
shell: a single statement can result in many hundreds of operations being
performed on multiple hosts. Cfengine is good at performing a lot of common
system administration tasks, and allows you to build on its strengths with your
own scripts. You can also use it as a netwide front-end for cron. Once you
have set up cfengine, you'll be free to use your time being like a human being,
instead of playing R2-D2 with the system.
Cfengine is written mainly by Mark Burgess at Oslo University College in Norway.
<<
Maintainer: Stephen Butler <[EMAIL PROTECTED]>
DescPackaging: <<
We don't need to patch the C source files, thanks to OS X testing of the
beta releases.
We need configure parameters and a configure.ac patch so that the
we can link to the openssl and Berkeley DB libraries and copy the info and
man files to Fink's locations. Autoconf 2.52 is needed to regenerate the
configure script after patching configure.ac.
<<
--- NEW FILE: cfengine-2.0.1-2.patch ---
--- cfengine-2.0.1-old/configure.ac Mon Apr 8 03:11:59 2002
+++ cfengine-2.0.1/configure.ac Fri Apr 12 13:43:35 2002
@@ -135,10 +135,21 @@
solaris*) BERKELEY_DB_LDFLAGS="-L$BERKELEY_DB_DIR/lib
-R$BERKELEY_DB_DIR/lib";;
*) BERKELEY_DB_LDFLAGS="-L$BERKELEY_DB_DIR/lib";;
esac
-
- BERKELEY_DB_CFLAGS="-I$BERKELEY_DB_DIR/include"
+
+ case "$target_os" in
+ darwin*) dnl Under Fink, db headers are in a subdir of /sw/include.
+ BERKELEY_DB_CFLAGS="-I$BERKELEY_DB_DIR/include/db4"
+ AC_MSG_RESULT(OSX--Fink location)
+ ;;
+ *) BERKELEY_DB_CFLAGS="-I$BERKELEY_DB_DIR/include"
+ AC_MSG_RESULT($BERKELEY_DB_DIR/include)
+ ;;
+ esac
+ if test x"$BERKELEY_DB_CFLAGS" = x ; then
+ AC_MSG_ERROR(Cannot find BerkeleyDB)
+ fi
BERKELEY_DB_LIB="-ldb"
- AC_MSG_RESULT($BERKELEY_DB_DIR)
+ AC_MSG_RESULT($BERKELEY_DB_CFLAGS)
fi
AC_DEFINE(USE_BERKELEY_DB, 1, [Define if BerkeleyDB is available.])
fi
-------------------------------------------------------
This sf.net email is sponsored by:
Access Your PC Securely with GoToMyPC. Try Free Now
https://www.gotomypc.com/s/OSND/DD
_______________________________________________
Fink-commits mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/fink-commits