Commit graph

18 commits

Author SHA1 Message Date
jlam
60c8592291 buildlink1 -> buildlink2 2002-09-26 22:50:32 +00:00
seb
51a111863d Adjust HOMEPAGE and MASTER_SITES: hioslo.no -> hio.no 2002-02-12 12:47:30 +00:00
zuntum
d038a73ebd Move pkg/ files into package's toplevel directory 2001-10-31 22:52:58 +00:00
abs
64c787b2e1 Update cfengine to 1.6.3
* Expansion of $(dollar) broken in 1.6.0 - fixed

	* Locking problem in cfd fixed. Problem causing access
	denied while re-reading config files. MAXTRIES increased
	for high volume services, was causing premature apoptosis.

	dest= could not refer to a filename with spaces, fixed.

	* Made recipient variables in client.c long instead of
	size_t in rstat, for 64 bits. With %ld in scanf.

	* Cfengine 1.6.0-1.6.3 introduces filters into processes
	and files.

	* 1.6.3 change from Berkeley DB2 to DB3 - not backward compatible!!!
	  Update Berkeley db with
	     cd build_unix
	     ../dist/configure
	     make; make install
	     ln -s /usr/local/BerkeleyDB.3.2 /usr/local/BerkeleyDB

2000-06-13  David Masterson  <David.Masterson@kla-tencor.com>

	* 1.6.0.a2: re-released to Mark after stupid mistakes.

	* src/Makefile.am (noinst_HEADERS): add cfparse.h

	* Makefile.am (EXTRA_DIST): add acconfig.h

2000-06-12  David Masterson <David.Masterson@kla-tencor.com>

	* 1.6.0.a2: released to Mark

	* General: Attempted to convert to reincorporate all my Automake
	stuff into the release.

2000-06-12  Mark Burgess <Mark.Burgess@hio.no>

	* 1.6.0-alpha1: released

	* General: Rewrite of DCE code by Transarc/IBM.  Add elsedefine=
	tag as complement to define=.  CompressCommand action=compress in
	files, tidy, compress=true for compressing files on the fly.  Bug
	in copy with size= fixed.  Was ignored if file didn't exist.
	Modules: in addition to setting classes, can return lines
	=ENVVAR=value which sets cfengine environment variables.  This
	allows modules to set variables which can be inherited directly by
	scripts.

2000-05-11  David Masterson  <David.Masterson@kla-tencor.com>

	* contrib/Makefile.am (pkgdata_SCRIPTS): change cfemacs.el to
	cfengine.el in keeping with internal documentation.  Also renamed
	the file as well.

2000-05-08  David Masterson  <David.Masterson@kla-tencor.com>

	* Release: V1.6 released to Mark for verification.

	* Everything:  Many things have been changed and reorganized for
	the shift to automake generated Makefiles.  See the end of the
	NEWS file for more information.

2000-04-24  David Masterson  <David.Masterson@kla-tencor.com>

	* ChangeLog: Created and initialized with old VERSION.DIFF


***************** Minor Version 5 ********************

KNOWN BUGS: linux, when making directories, ownership can perms can be wrong.


1.5.4
  Added security message in checksum=md5 for cfengine if new files appear
  Bug in class evaluation with multiple embedded groups fixed
  Bug in file transfer could hang a server in special circumstances.
  Bug in secure recursive copy (access denied incorrectly).

  Type change, size is off_t in cfstat struct

  Multiple define bug in copy: could cause endless loop
  Thread counting error fixed in cfd
  Required/disk suspicious warnings now cause classes to be defined
  Resolver could delete substring lines

  Extra measures against Denial of Service attacks on cfd, only one
  instance of a host-IP may be connected at one time.

  1) Multiple connections from the same host are refused by default
     (before any recv())
  2) A DenyConnectionsFrom list will prevent named IP adresses from connecting
     (before any recv) or a general AllowConnectionsFrom mask...
  3) If the thread table is full for more than five requests, cfd commits
     suicide (apoptosis) to avoid resource usage by spamming.

  The control variable "DenyConnectionsFrom = ( ip1 ip2 ... )" allows a list
  of numerical IP masks to be specified, which cfd will deny connections from.
  This can be used to prevent hanging connection attacks from malicous hosts
  and other Denial of Service attacks.

   e.g. cfd.conf

     control:

      AllowConnectionsFrom ( 128.39.89 )
      DenyConnectionsFrom = ( 128.39.89.4 )

  This is in addition to tcp wrapper stuff, but the TCP wrapper code cannot
  protect against denial of service attacks.
  typecheck=false in copy switches off error messages on type mismatch.
2001-06-04 16:18:21 +00:00
agc
027c166bf7 Move to sha1 digests, and add distfile sizes. 2001-04-19 11:28:57 +00:00
agc
2d6b6a009c + move the distfile digest/checksum value from files/md5 to distinfo
+ move the patch digest/checksum values from files/patch-sum to distinfo
2001-04-17 11:43:32 +00:00
wiz
a87738b456 Update to new COMMENT style: COMMENT var in Makefile instead of pkg/COMMENT. 2001-02-17 17:42:09 +00:00
abs
5f91a6a960 Update to 1.5.3nb3:
Always pass %s to syslog to avoid potential format string exploit.
	(Action based on alert by Pekka Savola on Bugtraq)
2000-10-02 16:43:44 +00:00
wiz
0dddf30568 Fix #ifdef's to make the program compile even if rsaref's des.h is installed.
Fixes pkg/9835 by Michael Wolfson.
2000-09-13 01:00:48 +00:00
wiz
29f7b922d2 Don't find any installed pthreads packages. Addresses pkg/9835. 2000-09-09 18:11:54 +00:00
wiz
8ccd773aeb add @dirrm share/cfengine 2000-09-09 18:11:23 +00:00
abs
cafd922874 Convert to new 'nb<N>' suffix 2000-02-03 11:23:19 +00:00
abs
ddfa34a912 Oh, impolitic profanities... Solaris doesn't know about INADDR_NONE either.
"Sun, the dot in half-a-decade-behind-the-rest-of-the-world.com"
1999-11-09 19:29:57 +00:00
abs
d6d150908a Drift back into the dark ages and use inet_addr() instead of inet_aton().
For Solaris and similarly handicapped systems.
1999-11-09 17:22:15 +00:00
abs
27fd117acc Fix bug which would cause source linked files to sometimes copied
separately.
Just for posterity, here is how to replicate the problem:
(All this is going back to the maintainers)

#!/bin/sh

# Generates a 'from' directory, then runs cfengine to copy it into 'to'.
# The order of file creation in the from directory is significant -
# the 'bad' file must be picked up _after_ the 'subdir'.
# Obvious caveats about IRIX XFS notwithstanding.

TESTDIR=/tmp/cfenginetest

rm -rf $TESTDIR
mkdir -p $TESTDIR
cd $TESTDIR

# Generate cfengine.conf
cat > cfengine.conf <<END
control:
        actionsequence = ( copy )

copy:
        $TESTDIR/from
                dest=$TESTDIR/to recurse=inf
END

# Generate 'from' directory
mkdir from
cd from
touch ok
mkdir subdir
touch bad
cd subdir
ln ../ok
ln ../bad
cd ../..

cfengine -v

echo
echo "Both 'ok' and 'bad' should have the same number of links (2) in both"
echo "'from' and 'to' directories. 'bad' will have 1 if bug is present."
echo

ls -l from to
1999-11-09 16:14:58 +00:00
abs
ac05b2c400 Upgrade to 1.5.3 1999-11-05 14:17:13 +00:00
abs
c8db892862 Add cfengine to sysutils SUBDIRS
Add patches to set the correct Class based on the netmask (in the process of
submitting all patches back to the maintainer)
1999-11-05 13:52:50 +00:00
abs
d38a5fd04a cfengine-1.52
Automate configuration and administration of large systems
1999-10-10 23:13:06 +00:00