Commit graph

11 commits

Author SHA1 Message Date
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