pkgsrc/sysutils/cfengine/patches/patch-ac
seb f377e26c1f Update to version 1.6.5 as requested in PR pkg/19459 by Michael Santos
<mike at ethmoid dot org>.

Package changes:
	- the vicf script is not usable as is: patch it to make it obvious and
	install it as an example.
	- switch to requiring the auto* tools at build time.
	- While I'm here claim stewardship (before completely removing it
	from pkgsrc ?).

Changes in version 1.6.5:
	- bug fixes including a security issue with link races.
	- auto* tools update and commands installation directory change
	(overridden by this package patch files to keep it the same as
	previous versions and even cfengine 2.*)

XXX Threads support completely removed. From my humble experience it is
quite broken in cfengine 1.*. It is only used in cfd and when DCE support
is enabled: the latter is not activated in this package and if the former
really needs a performance/ability boost you should really consider
cfengine 2.*.

All in all you should not update but switch to cfengine2 package instead. ;)
2003-06-19 11:45:02 +00:00

26 lines
635 B
Text

$NetBSD: patch-ac,v 1.5 2003/06/19 11:45:02 seb Exp $
--- contrib/vicf.in.orig 2002-06-20 13:38:34.000000000 +0000
+++ contrib/vicf.in
@@ -8,9 +8,9 @@ CFINPUTS="${CFINPUTS-"@pkgdata@"}
export EDITOR CFINPUTS
NOPARSE="cf.preconf|cfd.conf"
-if [ "`hostname`" != "sentral" ]
+if [ "`hostname`" != "CHANGEME" ]
then
- echo $0 can only be run on host sentral.
+ echo $0 can only be run on host CHANGEME.
exit 1
fi
@@ -39,7 +39,8 @@ EdFile () {
i=`expr $i - 1`
if [ $i = 0 ]
then
- echo "\nSorry, file is busy -- try again later."
+ echo
+ echo "Sorry, file is busy -- try again later."
exit 0
fi
sleep 1