NetBSD Problem Report #26614

Received: (qmail 28038 invoked by uid 605); 11 Aug 2004 08:53:31 -0000
Message-Id: <200408110853.i7B8rLKk021911@dobratsch.nt.e-technik.tu-darmstadt.de>
Date: Wed, 11 Aug 2004 10:53:21 +0200 (CEST)
From: Hauke Fath <hf@spg.tu-darmstadt.de>
Sender: gnats-bugs-owner@NetBSD.org
Reply-To: Hauke Fath <hf@spg.tu-darmstadt.de>
To: gnats-bugs@gnats.NetBSD.org
Cc: Hauke Fath <hf@spg.tu-darmstadt.de>
Subject: cfengine2 pkg installation issues
X-Send-Pr-Version: 3.95

>Number:         26614
>Category:       pkg
>Synopsis:       cfengine2 pkg installation issues
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    ben
>State:          closed
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Wed Aug 11 08:54:00 +0000 2004
>Closed-Date:    Thu Sep 23 23:02:44 +0000 2004
>Last-Modified:  Thu Sep 23 23:02:44 +0000 2004
>Originator:     Hauke Fath <hf@spg.tu-darmstadt.de>
>Release:        NetBSD 2.0_BETA
>Organization:
-- 
/~\  The ASCII Ribbon Campaign                      Hauke Fath
\ /    No HTML/RTF in email	          Institut für Nachrichtentechnik
 X     No Word docs in email	                    TU Darmstadt
/ \  Respect for open standards                Ruf +49-6151-16-3281
>Environment:


System: NetBSD dobratsch.nt.e-technik.tu-darmstadt.de 2.0_BETA NetBSD 2.0_BETA (GENERIC) #0: Tue Jul 13 15:33:36 CEST 2004 hf@heiligenberg:/var/obj/netbsd-builds/2_0/i386/sys/arch/i386/compile/GENERIC i386
Architecture: i386
Machine: i386
>Description:

	There are several issues with the cfengine2 install as it is now.

(1) The cfengine example config files are installed in
{LOCALBASE}/share/cfengine; as examples, they should go into
{LOCALBASE}/share/examples/cfengine.

(2) There are no rc.d scripts for cfenvd and cfservd.

(3) The canonical cfengine home is /var/cfengine -- create at least
{VARBASE}/cfengine/{inputs,outputs,ppkeys} if it doesn't exist.

(4) In addition, create the host key during installation.

(5) There are no man pages for the cfengine tools.

(6) There is no /etc/services entry for the cfengine port (5308/tcp).

(7) There is no sample crontab entry for cfexecd.

>How-To-Repeat:

	Install cfengine2 package. Find there is some way to go from
	what ist installed to what you need to use cfengine.

>Fix:

	Most things should have an obvious solution; the man page
	issue should be reported to the maintainers.

	Start scripts:

--- /dev/null   2004-08-11 03:20:35.000000000 +0200
+++ /etc/rc.d/cfenvd    2004-07-26 15:58:26.000000000 +0200
@@ -0,0 +1,17 @@
+#!/bin/sh
+#
+# $NetBSD$
+#
+
+# PROVIDE: cfenvd
+# REQUIRE: DAEMON
+# BEFORE:  LOGIN
+
+. /etc/rc.subr
+
+name="cfenvd"
+rcvar=$name
+command="/usr/pkg/sbin/${name}"
+
+load_rc_config $name
+run_rc_command "$1"



--- /dev/null   2004-08-11 03:20:35.000000000 +0200
+++ /etc/rc.d/cfservd   2004-07-26 16:56:02.000000000 +0200
@@ -0,0 +1,17 @@
+#!/bin/sh
+#
+# $NetBSD$
+#
+
+# PROVIDE: cfservd
+# REQUIRE: DAEMON
+# BEFORE:  LOGIN
+
+. /etc/rc.subr
+
+name="cfservd"
+rcvar=$name
+command="/usr/pkg/sbin/${name}"
+
+load_rc_config $name
+run_rc_command "$1"

>Release-Note:
>Audit-Trail:

From: Michael Santos <mike@ethmoid.org>
To: gnats-bugs@gnats.NetBSD.org
Cc: Ben Collver <ben@NetBSD.org>, Hauke Fath <hf@spg.tu-darmstadt.de>
Subject: pkg/26614: cfengine2 pkg installation issues
Date: Wed, 11 Aug 2004 18:53:02 -0400

 > (1) The cfengine example config files are installed in
 > {LOCALBASE}/share/cfengine; as examples, they should go into
 > {LOCALBASE}/share/examples/cfengine.

 Fixed.

 > (2) There are no rc.d scripts for cfenvd and cfservd.

 Fixed.

 > (3) The canonical cfengine home is /var/cfengine -- create at least
 > {VARBASE}/cfengine/{inputs,outputs,ppkeys} if it doesn't exist.

 The cfengine dir should be left in /var/cfengine. It's a painful having
 the cfengine dir placed in other locations.

 /var/cfengine/outputs and /var/cfengine/ppkeys should be created the
 first time cfagent and cfkey is run. The package install will create
 the /var/cfengine/inputs directory. Without a
 /var/cfengine/inputs/update.conf, not much will happen.

 > (4) In addition, create the host key during installation.

 The start up script will create the key during cfexecd startup.
 However, you will need an update.conf first.

 > (5) There are no man pages for the cfengine tools.

 Added to cfengine2-doc. The man pages were missing from the PLIST.

 > (6) There is no /etc/services entry for the cfengine port (5308/tcp).
 > (7) There is no sample crontab entry for cfexecd.

 The usual way is to add a stanza to cfagent.conf (distributed by the
 server), along the lines of:

 editfiles:

  { /etc/services

    AppendIfNoSuchLine "cfengine 5308/tcp # CFengine"
  } 

 Do these warrant e.g., an installation message? They are both covered
 in cfengine-Tutorial.html (part of the cfengine2-doc package).

 Note: there is a bug in the makefile. RCD_SCRIPTS doesn't install the
 start up scripts. Anybody see why?

 -- 
 Michael Santos
 mike@ethmoid.org

 --- /dev/null	2004-08-11 18:41:32.000000000 -0400
 +++ cfenvd	2004-08-11 18:34:05.000000000 -0400
 @@ -0,0 +1,16 @@
 +#!/bin/sh
 +#
 +# $NetBSD$
 +#
 +
 +# PROVIDE: cfenvd
 +# REQUIRE: cfexecd
 +
 +. /etc/rc.subr
 +
 +name="cfenvd"
 +rcvar=$name
 +command="@PREFIX@/sbin/${name}"
 +
 +load_rc_config $name
 +run_rc_command "$1"

 --- /dev/null	2004-08-11 18:41:32.000000000 -0400
 +++ cfexecd.sh	2004-08-11 18:35:53.000000000 -0400
 @@ -0,0 +1,42 @@
 +#!@RCD_SCRIPTS_SHELL@
 +#
 +# $NetBSD$
 +#
 +# start script for cfexecd
 +
 +# PROVIDE: cfexecd
 +# REQUIRE: network
 +
 +. /etc/rc.subr
 +
 +name="cfexecd"
 +rcvar=$name
 +command="@PREFIX@/sbin/${name}"
 +required_files="/var/cfengine/inputs/update.conf"
 +extra_commands="keygen reload"
 +
 +cfexecd_keygen()
 +{
 +        (
 +        umask 022
 +        if [ -f /var/cfengine/ppkeys/localhost.priv ]; then
 +                echo "You already have a host key" \
 +                    "in /var/cfengine/ppkeys/localhost.priv"
 +        else
 +                @PREFIX@/sbin/cfkey
 +        fi
 +        )
 +}
 +
 +cfexecd_precmd()
 +{
 +        if [ ! -f /var/cfengine/ppkeys/localhost.priv ]; then
 +                run_rc_command keygen
 +        fi
 +}
 +
 +keygen_cmd=cfexecd_keygen
 +start_precmd=cfexecd_precmd
 +
 +load_rc_config $name
 +run_rc_command "$1"

 --- /dev/null	2004-08-11 18:41:32.000000000 -0400
 +++ cfservd	2004-08-11 18:34:12.000000000 -0400
 @@ -0,0 +1,17 @@
 +#!/bin/sh
 +#
 +# $NetBSD$
 +#
 +
 +# PROVIDE: cfservd
 +# REQUIRE: cfexecd
 +
 +. /etc/rc.subr
 +
 +name="cfservd"
 +rcvar=$name
 +command="@PREFIX@/sbin/${name}"
 +required_files="/var/cfengine/inputs/cfservd.conf"
 +
 +load_rc_config $name
 +run_rc_command "$1"


 Index: Makefile
 ===================================================================
 RCS file: /cvsroot/pkgsrc/sysutils/cfengine2/Makefile,v
 retrieving revision 1.7
 diff -u -r1.7 Makefile
 --- Makefile	4 May 2004 02:07:06 -0000	1.7
 +++ Makefile	11 Aug 2004 22:42:17 -0000
 @@ -15,11 +15,17 @@
  CONFIGURE_ARGS+=	--with-berkeleydb=${BUILDLINK_PREFIX.db4}
  CONFIGURE_ARGS+=	--with-openssl=${BUILDLINK_PREFIX.openssl}

 +RCD_SCRIPTS=		cfexecd cfservd cfenvd
 +
  pre-configure:
  	${MV} -f ${WRKSRC}/contrib/vicf.in ${WRKSRC}/contrib/vicf.in.orig
  	${SED} -e "s|@ECHO@|${ECHO}|" \
  		${WRKSRC}/contrib/vicf.in.orig > ${WRKSRC}/contrib/vicf.in

 +post-install:
 +	${INSTALL_DATA} ${WRKSRC}/inputs/*.example ${PREFIX}/share/examples/cfengine
 +	${INSTALL_DATA_DIR} /var/cfengine/inputs
 +
  .include "../../mk/pthread.buildlink3.mk"
  .include "../../databases/db4/buildlink3.mk"
  .include "../../security/openssl/buildlink3.mk"
 Index: PLIST
 ===================================================================
 RCS file: /cvsroot/pkgsrc/sysutils/cfengine2/PLIST,v
 retrieving revision 1.2
 diff -u -r1.2 PLIST
 --- PLIST	26 Apr 2003 08:33:00 -0000	1.2
 +++ PLIST	11 Aug 2004 22:42:18 -0000
 @@ -7,26 +7,26 @@
  sbin/cfkey
  sbin/cfrun
  sbin/cfservd
 -share/cfengine/cf.chflags.example
 -share/cfengine/cf.freebsd.example
 -share/cfengine/cf.ftp.example
 -share/cfengine/cf.groups.example
 -share/cfengine/cf.linux.example
 -share/cfengine/cf.main.example
 -share/cfengine/cf.motd.example
 -share/cfengine/cf.preconf.example
 -share/cfengine/cf.services.example
 -share/cfengine/cf.site.example
 -share/cfengine/cf.solaris.example
 -share/cfengine/cf.sun4.example
 -share/cfengine/cf.users.example
 -share/cfengine/cfagent.conf-advanced.example
 -share/cfengine/cfagent.conf.example
  share/cfengine/cfengine.el
 -share/cfengine/cfrc.example
 -share/cfengine/cfrun.hosts.example
 -share/cfengine/cfservd.conf.example
 -share/cfengine/update.conf.example
 +share/examples/cfengine/cf.chflags.example
 +share/examples/cfengine/cf.freebsd.example
 +share/examples/cfengine/cf.ftp.example
 +share/examples/cfengine/cf.groups.example
 +share/examples/cfengine/cf.linux.example
 +share/examples/cfengine/cf.main.example
 +share/examples/cfengine/cf.motd.example
 +share/examples/cfengine/cf.preconf.example
 +share/examples/cfengine/cf.services.example
 +share/examples/cfengine/cf.site.example
 +share/examples/cfengine/cf.solaris.example
 +share/examples/cfengine/cf.sun4.example
 +share/examples/cfengine/cf.users.example
 +share/examples/cfengine/cfagent.conf-advanced.example
 +share/examples/cfengine/cfagent.conf.example
 +share/examples/cfengine/cfrc.example
 +share/examples/cfengine/cfrun.hosts.example
 +share/examples/cfengine/cfservd.conf.example
 +share/examples/cfengine/update.conf.example
  share/examples/cfengine/vicf
  @dirrm share/examples/cfengine
  @dirrm share/cfengine

 Index: Makefile
 ===================================================================
 RCS file: /cvsroot/pkgsrc/sysutils/cfengine2-doc/Makefile,v
 retrieving revision 1.4
 diff -u -r1.4 Makefile
 --- Makefile	9 Aug 2003 11:25:14 -0000	1.4
 +++ Makefile	11 Aug 2004 22:44:13 -0000
 @@ -14,7 +14,7 @@

  do-install:
  	${INSTALL_MAN_DIR} ${PREFIX}/man/man8
 -	${INSTALL_MAN} ${WRKSRC}/doc/cfengine.8 ${PREFIX}/man/man8
 +	${INSTALL_MAN} ${WRKSRC}/doc/*.8 ${PREFIX}/man/man8
  	${INSTALL_DATA} ${WRKSRC}/doc/cfengine-*.info* ${PREFIX}/info
  	${INSTALL_DATA_DIR} ${PREFIX}/share/doc/html/cfengine
  	${INSTALL_DATA} ${WRKSRC}/doc/cfengine-*.html ${PREFIX}/share/doc/html/cfengine
 Index: PLIST
 ===================================================================
 RCS file: /cvsroot/pkgsrc/sysutils/cfengine2-doc/PLIST,v
 retrieving revision 1.4
 diff -u -r1.4 PLIST
 --- PLIST	10 Aug 2004 14:20:57 -0000	1.4
 +++ PLIST	11 Aug 2004 22:44:13 -0000
 @@ -1,5 +1,13 @@
  @comment $NetBSD: PLIST,v 1.4 2004/08/10 14:20:57 ben Exp $
  man/man8/cfengine.8
 +man/man8/cfagent.8
 +man/man8/cfengine.8
 +man/man8/cfenvd.8
 +man/man8/cfenvgraph.8
 +man/man8/cfexecd.8
 +man/man8/cfkey.8
 +man/man8/cfrun.8
 +man/man8/cfservd.8
  share/doc/html/cfengine/cfengine-Anomalies.html
  share/doc/html/cfengine/cfengine-Reference.html
  share/doc/html/cfengine/cfengine-Tutorial.html

From: Ben Collver <ben@NetBSD.org>
To: Michael Santos <mike@ethmoid.org>
Cc: gnats-bugs@gnats.NetBSD.org, Hauke Fath <hf@spg.tu-darmstadt.de>
Subject: Re: pkg/26614: cfengine2 pkg installation issues
Date: Wed, 11 Aug 2004 16:23:28 -0700

 On Wed, Aug 11, 2004 at 06:53:02PM -0400, Michael Santos wrote:
 > Note: there is a bug in the makefile. RCD_SCRIPTS doesn't install the
 > start up scripts. Anybody see why?

 Maybe you need to add to the Makefile a line such as the following?

 USE_PKGINSTALL=YES

 Cheers,

 Ben

From: Ben Collver <ben@NetBSD.org>
To: Michael Santos <mike@ethmoid.org>
Cc: gnats-bugs@gnats.NetBSD.org, Hauke Fath <hf@spg.tu-darmstadt.de>
Subject: Re: pkg/26614: cfengine2 pkg installation issues
Date: Wed, 11 Aug 2004 16:26:36 -0700

 > > (3) The canonical cfengine home is /var/cfengine -- create at least
 > > {VARBASE}/cfengine/{inputs,outputs,ppkeys} if it doesn't exist.
 > 
 > The cfengine dir should be left in /var/cfengine. It's a painful having
 > the cfengine dir placed in other locations.

 I think his point is that the directories should automatically be
 created if they don't already exist.  Does that sound right?

 Ben

From: Hauke Fath <hf@spg.tu-darmstadt.de>
To: Ben Collver <ben@NetBSD.org>
Cc: Michael Santos <mike@ethmoid.org>, gnats-bugs@gnats.NetBSD.org,
  Hauke Fath <hf@spg.tu-darmstadt.de>
Subject: Re: pkg/26614: cfengine2 pkg installation issues
Date: Thu, 12 Aug 2004 11:39:08 +0200

 Am 11.08.2004 um 16:26 Uhr -0700 schrieb Ben Collver:
 >  > > (3) The canonical cfengine home is /var/cfengine -- create at least
 >  > > {VARBASE}/cfengine/{inputs,outputs,ppkeys} if it doesn't exist.
 >>
 >>  The cfengine dir should be left in /var/cfengine. It's a painful having
 >>  the cfengine dir placed in other locations.
 >
 >I think his point is that the directories should automatically be
 >created if they don't already exist.  Does that sound right?

 Yep. The {VARBASE}/cfengine was intended to be pkg-politically 
 correct. But, as you indicate, since Cfengine hard-codes the path 
 (and is multi-platform), we should probably stick with /var/cfengine.

 	hauke

 -- 
 Institut für Nachrichtentechnik        /~\  The ASCII Ribbon Campaign
      FG Signalverarbeitung              \ /    No HTML/RTF in email
           TU Darmstadt                   X     No Word docs in email
 Ruf +49-6151-16-3281, Fax -3778        / \  Respect for open standards

From: Hauke Fath <hf@spg.tu-darmstadt.de>
To: Michael Santos <mike@ethmoid.org>
Cc: gnats-bugs@gnats.NetBSD.org, Ben Collver <ben@NetBSD.org>,
  Hauke Fath <hf@spg.tu-darmstadt.de>
Subject: Re: pkg/26614: cfengine2 pkg installation issues
Date: Thu, 12 Aug 2004 11:50:41 +0200

 Am 11.08.2004 um 18:53 Uhr -0400 schrieb Michael Santos:
 >/var/cfengine/outputs and /var/cfengine/ppkeys should be created the
 >first time cfagent and cfkey is run. The package install will create
 >the /var/cfengine/inputs directory. Without a
 >/var/cfengine/inputs/update.conf, not much will happen.

 Sounds fine.

 >  > (4) In addition, create the host key during installation.
 >
 >The start up script will create the key during cfexecd startup.

 Ditto.

 >However, you will need an update.conf first.

 Which we cannot install. Still, it should probably be mentioned in 
 the install message.

 >  > (5) There are no man pages for the cfengine tools.
 >
 >Added to cfengine2-doc. The man pages were missing from the PLIST.

 Hm - I can imagine wanting to look at a man page on client machines 
 where I won't install the doc package. Can the man pages go with the 
 binaries?

 >  > (6) There is no /etc/services entry for the cfengine port (5308/tcp).
 >>  (7) There is no sample crontab entry for cfexecd.
 >
 >The usual way is to add a stanza to cfagent.conf (distributed by the
 >server), along the lines of:
 >
 >editfiles:
 >
 >  { /etc/services
 >
 >    AppendIfNoSuchLine "cfengine 5308/tcp # CFengine"
 >  }
 >
 >Do these warrant e.g., an installation message?

 I'd say yes.

 	hauke

 -- 
 Institut für Nachrichtentechnik        /~\  The ASCII Ribbon Campaign
      FG Signalverarbeitung              \ /    No HTML/RTF in email
           TU Darmstadt                   X     No Word docs in email
 Ruf +49-6151-16-3281, Fax -3778        / \  Respect for open standards

From: Michael Santos <mike@ethmoid.org>
To: Hauke Fath <hf@spg.tu-darmstadt.de>
Cc: Michael Santos <mike@ethmoid.org>, gnats-bugs@gnats.NetBSD.org,
  Ben Collver <ben@NetBSD.org>
Subject: Re: pkg/26614: cfengine2 pkg installation issues
Date: Thu, 12 Aug 2004 09:49:24 -0400

 On Thu, Aug 12, 2004 at 11:50:41AM +0200, Hauke Fath wrote:

 > >However, you will need an update.conf first.
 > 
 > Which we cannot install. Still, it should probably be mentioned in 
 > the install message.

 Done.

 > > > (5) There are no man pages for the cfengine tools.
 > >
 > Hm - I can imagine wanting to look at a man page on client machines 
 > where I won't install the doc package. Can the man pages go with the 
 > binaries?

 Hmm, true. I did this because most servers I install cfengine on don't
 have troff/groff. I'd like to keep it separate but am willing to follow
 the consensus.

 > > > (6) There is no /etc/services entry for the cfengine port (5308/tcp).
 > >> (7) There is no sample crontab entry for cfexecd.
 > >Do these warrant e.g., an installation message?

 Updated patch for Makefile and the MESSAGE file attached.

 Thanks for the feedback!

 -- 
 Michael Santos
 mike@ethmoid.org


 Index: Makefile
 ===================================================================
 RCS file: /cvsroot/pkgsrc/sysutils/cfengine2/Makefile,v
 retrieving revision 1.7
 diff -u -r1.7 Makefile
 --- Makefile	4 May 2004 02:07:06 -0000	1.7
 +++ Makefile	12 Aug 2004 13:44:45 -0000
 @@ -15,11 +15,18 @@
  CONFIGURE_ARGS+=	--with-berkeleydb=${BUILDLINK_PREFIX.db4}
  CONFIGURE_ARGS+=	--with-openssl=${BUILDLINK_PREFIX.openssl}

 +USE_PKGINSTALL=		YES  
 +RCD_SCRIPTS=		cfexecd cfservd cfenvd
 +
  pre-configure:
  	${MV} -f ${WRKSRC}/contrib/vicf.in ${WRKSRC}/contrib/vicf.in.orig
  	${SED} -e "s|@ECHO@|${ECHO}|" \
  		${WRKSRC}/contrib/vicf.in.orig > ${WRKSRC}/contrib/vicf.in

 +post-install:
 +	${INSTALL_DATA} ${WRKSRC}/inputs/*.example ${PREFIX}/share/examples/cfengine
 +	${INSTALL_DATA_DIR} /var/cfengine/inputs
 +
  .include "../../mk/pthread.buildlink3.mk"
  .include "../../databases/db4/buildlink3.mk"
  .include "../../security/openssl/buildlink3.mk"


 --- /dev/null	2004-08-12 09:40:01.000000000 -0400
 +++ MESSAGE	2004-08-12 09:37:55.000000000 -0400
 @@ -0,0 +1,24 @@
 +===========================================================================
 +$NetBSD$
 +
 +To set up cfengine, see:
 +
 +${PREFIX}/share/doc/html/cfengine/cfengine-Tutorial.html
 +
 +At a minimum, you will need:
 +
 +1. /var/cfengine/inputs/update.conf
 +
 +2. Manually add the "cfengine" service to /etc/services or
 +   automate it in /var/cfengine/inputs/cfagent.conf:
 +
 +editfiles: 
 + 
 + { /etc/services 
 +   
 +   Backup "false"
 +   AppendIfNoSuchLine "cfengine 5308/tcp # CFengine"
 + }
 +
 +
 +===========================================================================

From: Hauke Fath <hf@spg.tu-darmstadt.de>
To: Michael Santos <mike@ethmoid.org>
Cc: Hauke Fath <hf@spg.tu-darmstadt.de>, Michael Santos <mike@ethmoid.org>,
  gnats-bugs@gnats.NetBSD.org, Ben Collver <ben@NetBSD.org>
Subject: Re: pkg/26614: cfengine2 pkg installation issues
Date: Thu, 12 Aug 2004 16:20:08 +0200

 Am 12.08.2004 um 9:49 Uhr -0400 schrieb Michael Santos:
 >Updated patch for Makefile and the MESSAGE file attached.

 Looks good.

 >Thanks for the feedback!

 Thanks for picking up the PR so quickly.  :)

 This has come by on the cfengine ML, btw.:

 ------------------------------------------------------------------------

 Date: Wed, 11 Aug 2004 23:09:53 +0200 (MEST)
 From: Mark.Burgess@iu.hio.no
 To: Darryl.Baker@gedas.com
 X-Scanned-By: MIMEDefang 2.41
 Cc: help-cfengine@gnu.org
 Subject: Re: Build problems 2.1.9 on Solaris 2.6 and 7

 I apologise for this. There seems to have been a blunder in
 packaging 2.1.9. I have managed to publish the wrong version!
 Well, there will be a 2.1.10 soon....hopefully the last one for
 a long time.

 Many apologies. You can collect the latest snapshot if you cannot wait.

 ------------------------------------------------------------------------

 - so there is going to be an update, soon...

 	hauke

 -- 
 Institut für Nachrichtentechnik        /~\  The ASCII Ribbon Campaign
      FG Signalverarbeitung              \ /    No HTML/RTF in email
           TU Darmstadt                   X     No Word docs in email
 Ruf +49-6151-16-3281, Fax -3778        / \  Respect for open standards

From: Ben Collver <ben@NetBSD.org>
To: Michael Santos <mike@ethmoid.org>
Cc: Hauke Fath <hf@spg.tu-darmstadt.de>, gnats-bugs@gnats.NetBSD.org
Subject: Re: pkg/26614: cfengine2 pkg installation issues
Date: Thu, 12 Aug 2004 07:40:44 -0700

 Hello Michael,

 Before I commit anything, would you test this for me and see if there is
 anything wrong with it?

 http://backyard.homeunix.net/~ben/cfengine2-ben.tgz

 I had to make a few changes from your patches, but nothing big.

 Thank you,

 Ben

From: Michael Santos <mike@ethmoid.org>
To: gnats-bugs@gnats.NetBSD.org
Cc: Ben Collver <ben@NetBSD.org>
Subject: Re: pkg/26614: cfengine2 pkg installation issues
Date: Wed, 18 Aug 2004 12:57:29 -0400

 Here is an updated patch for cfengine2 version 2.1.10.

 Note the following changes:

 1. Fix a pasto in pkg-vulnerability

 --- pkg-vulnerabilities-orig	2004-08-18 12:24:24.000000000 -0400
 +++ pkg-vulnerabilities	2004-08-18 12:23:31.000000000 -0400
 @@ -568,5 +568,5 @@
  thunderbird{,-gtk2}{,-bin}<0.7.2	denial-of-service	http://www.cve.mitre.org/cgi-bin/cvename.cgi?name=CAN-2004-0758
  cfengine-2.0.*		remote-code-execution	http://www.securityfocus.org/advisories/7045
 -cfengine-2.1.[0-7]*	remote-code-execution	http://www.securityfocus.org/advisories/7045
 +cfengine-2.1.[0-7]	remote-code-execution	http://www.securityfocus.org/advisories/7045
  spamassassin<2.64	denial-of-service	http://marc.theaimsgroup.com/?l=spamassassin-announce&m=109168121628767&w=2
  kdelibs<3.2.3nb2	denial-of-service	http://cve.mitre.org/cgi-bin/cvename.cgi?name=CAN-2004-0689

 2. Added:

 MESSAGE
 files/cfexecd.sh
 files/cfenvd.sh
 files/cfservd.sh
 patches/patch-al

 3. Removed:

 patches/patch-af
 patches/patch-ag
 patches/patch-ai
 patches/patch-ak

 -- 
 Michael Santos
 mike@ethmoid.org


 ? MESSAGE
 ? files
 ? work
 ? patches/patch-al
 Index: Makefile
 ===================================================================
 RCS file: /cvsroot/pkgsrc/sysutils/cfengine2/Makefile,v
 retrieving revision 1.7
 diff -U2 -r1.7 Makefile
 --- Makefile	4 May 2004 02:07:06 -0000	1.7
 +++ Makefile	18 Aug 2004 16:47:50 -0000
 @@ -3,5 +3,4 @@

  .include "../../sysutils/cfengine2/Makefile.common"
 -PKGREVISION=	1

  COMMENT=	Automate configuration and administration of large systems
 @@ -16,4 +15,7 @@
  CONFIGURE_ARGS+=	--with-openssl=${BUILDLINK_PREFIX.openssl}

 +USE_PKGINSTALL=		YES
 +RCD_SCRIPTS=		cfexecd cfservd cfenvd
 +
  pre-configure:
  	${MV} -f ${WRKSRC}/contrib/vicf.in ${WRKSRC}/contrib/vicf.in.orig
 @@ -21,4 +23,9 @@
  		${WRKSRC}/contrib/vicf.in.orig > ${WRKSRC}/contrib/vicf.in

 +post-install:
 +	${INSTALL_DATA} ${WRKSRC}/inputs/*.example \
 +		${PREFIX}/share/examples/cfengine
 +	${INSTALL_DATA_DIR} /var/cfengine/inputs
 +
  .include "../../mk/pthread.buildlink3.mk"
  .include "../../databases/db4/buildlink3.mk"
 Index: Makefile.common
 ===================================================================
 RCS file: /cvsroot/pkgsrc/sysutils/cfengine2/Makefile.common,v
 retrieving revision 1.7
 diff -U2 -r1.7 Makefile.common
 --- Makefile.common	10 Aug 2004 14:18:44 -0000	1.7
 +++ Makefile.common	18 Aug 2004 16:47:50 -0000
 @@ -2,5 +2,5 @@
  #

 -CFENGINE_VERSION= 2.1.9
 +CFENGINE_VERSION= 2.1.10
  DISTNAME=	cfengine-${CFENGINE_VERSION}
  CATEGORIES=	sysutils net
 Index: PLIST
 ===================================================================
 RCS file: /cvsroot/pkgsrc/sysutils/cfengine2/PLIST,v
 retrieving revision 1.2
 diff -U2 -r1.2 PLIST
 --- PLIST	26 Apr 2003 08:33:00 -0000	1.2
 +++ PLIST	18 Aug 2004 16:47:50 -0000
 @@ -8,24 +8,24 @@
  sbin/cfrun
  sbin/cfservd
 -share/cfengine/cf.chflags.example
 -share/cfengine/cf.freebsd.example
 -share/cfengine/cf.ftp.example
 -share/cfengine/cf.groups.example
 -share/cfengine/cf.linux.example
 -share/cfengine/cf.main.example
 -share/cfengine/cf.motd.example
 -share/cfengine/cf.preconf.example
 -share/cfengine/cf.services.example
 -share/cfengine/cf.site.example
 -share/cfengine/cf.solaris.example
 -share/cfengine/cf.sun4.example
 -share/cfengine/cf.users.example
 -share/cfengine/cfagent.conf-advanced.example
 -share/cfengine/cfagent.conf.example
  share/cfengine/cfengine.el
 -share/cfengine/cfrc.example
 -share/cfengine/cfrun.hosts.example
 -share/cfengine/cfservd.conf.example
 -share/cfengine/update.conf.example
 +share/examples/cfengine/cf.chflags.example
 +share/examples/cfengine/cf.freebsd.example
 +share/examples/cfengine/cf.ftp.example
 +share/examples/cfengine/cf.groups.example
 +share/examples/cfengine/cf.linux.example
 +share/examples/cfengine/cf.main.example
 +share/examples/cfengine/cf.motd.example
 +share/examples/cfengine/cf.preconf.example
 +share/examples/cfengine/cf.services.example
 +share/examples/cfengine/cf.site.example
 +share/examples/cfengine/cf.solaris.example
 +share/examples/cfengine/cf.sun4.example
 +share/examples/cfengine/cf.users.example
 +share/examples/cfengine/cfagent.conf-advanced.example
 +share/examples/cfengine/cfagent.conf.example
 +share/examples/cfengine/cfrc.example
 +share/examples/cfengine/cfrun.hosts.example
 +share/examples/cfengine/cfservd.conf.example
 +share/examples/cfengine/update.conf.example
  share/examples/cfengine/vicf
  @dirrm share/examples/cfengine


 begin 644 cfengine.tar.gz
 M'XL(`````````^T\_7?:N++[*_XKM)1SFVQBXR\,H8=[88F3<IJ0/"![=\_K
 M?=38,GAC;)X_DN:V^=_?C&R#(:&AO6EZSEM/&VQ+H]%H1C,:299-FWI3QZ/R
 M3]\/1%$5Z[4:7!EL7MF])$J26!=524,\25(!O_8=>5I"'$9&0,A/@>]'7\*[
 MG5'JO@1#+PMFIO_JN7%-;<>ESU^'*(FBIJK;]"]I:BW3/^@=TR5%JDL_B<_/
 MRD/XB^O_%:GT:?3K\+A)L@YP>$,DH4YD,-NJ6*N**A'EIEAOBAH)O3^)_G%!
 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RTD_BV=EG\-+=,#P2
 MSIQ=MCM&_``#E>7'Y9R(/(C/EFYKM9L$7.$G/)B7:Q)\D_'3!EVDBG^_&N8U
 MB+-L&Q#&L:"NLUA0S^K9?7\8F[,S_`+=DE%24\1&-3(7Y!7IGJ3,XS%QCGM.
 MA?_HSEM``0444$`!!1100`$%%%!``0444$`!!1100`$%%%!``0444,`2_@_W
 '_,_;`'@```44
 `
 end

From: Ben Collver <ben@netbsd.org>
To: gnats-bugs@gnats.NetBSD.org
Cc:  
Subject: pr/26614 CVS commit: pkgsrc/sysutils/cfengine2
Date: Wed, 18 Aug 2004 23:03:44 +0000 (UTC)

 Module Name:	pkgsrc
 Committed By:	ben
 Date:		Wed Aug 18 23:03:44 UTC 2004

 Modified Files:
 	pkgsrc/sysutils/cfengine2: Makefile Makefile.common PLIST distinfo
 Added Files:
 	pkgsrc/sysutils/cfengine2: MESSAGE
 	pkgsrc/sysutils/cfengine2/patches: patch-al
 Removed Files:
 	pkgsrc/sysutils/cfengine2/patches: patch-af patch-ag patch-ai patch-ak

 Log Message:
 Update cfengine2 to version 2.0.10.  Addresses PR#26614.

 Notable changes include:

 Persistent class protection added to returned remote vrpc calls to
 prevent meaningless multiple replies.

 Change added to IPRange to avoid possible bootstrap problem with
 unconfigured resolver.  IP address setting was contingent on having DNS.
 Misplaced } fixed in nameinfo

 EmptyResolvConf removed only nameserver entries. Now removes everything.

 Due to an error in constructing 2.1.9 some of the advertised
 changes below were not included. They are included in this version.

 Workaround error message for parser bug with nested variables.

 WORKDIR/state/allclasses file caches all class date during cfagent
 execution, just like the $(allclasses) variable, but the file can grow
 much larger without overflow.

 .cfengine -> .cfagent in non-root public keys (some missing conversions)
 Expand buffer incorrectly zeroed out public name key causing empty
 keyname in RSA dialogue

 Old style bind reverse lookup added to Hostname2IPAddress


 To generate a diff of this commit:
 cvs rdiff -r0 -r1.1 pkgsrc/sysutils/cfengine2/MESSAGE
 cvs rdiff -r1.7 -r1.8 pkgsrc/sysutils/cfengine2/Makefile \
     pkgsrc/sysutils/cfengine2/Makefile.common
 cvs rdiff -r1.2 -r1.3 pkgsrc/sysutils/cfengine2/PLIST
 cvs rdiff -r1.5 -r1.6 pkgsrc/sysutils/cfengine2/distinfo
 cvs rdiff -r1.4 -r0 pkgsrc/sysutils/cfengine2/patches/patch-af
 cvs rdiff -r1.2 -r0 pkgsrc/sysutils/cfengine2/patches/patch-ag
 cvs rdiff -r1.3 -r0 pkgsrc/sysutils/cfengine2/patches/patch-ai
 cvs rdiff -r1.1 -r0 pkgsrc/sysutils/cfengine2/patches/patch-ak
 cvs rdiff -r0 -r1.1 pkgsrc/sysutils/cfengine2/patches/patch-al

 Please note that diffs are not public domain; they are subject to the
 copyright notices on the relevant files.

State-Changed-From-To: open->feedback 
State-Changed-By: ben 
State-Changed-When: Wed Aug 18 23:08:47 UTC 2004 
State-Changed-Why:  
cfengine2 version 2.0.10 committed with fixes from maintainer. 

Please verify whether this resolves your problems. 

Thank you, 

Ben 


Responsible-Changed-From-To: pkg-manager->ben 
Responsible-Changed-By: ben 
Responsible-Changed-When: Wed Aug 18 23:08:47 UTC 2004 
Responsible-Changed-Why:  
I'll take this one. 

From: Hauke Fath <hf@spg.tu-darmstadt.de>
To: gnats-bugs@gnats.NetBSD.org
Cc:  
Subject: Re: pkg/26614: cfengine2 pkg installation issues
Date: Fri, 17 Sep 2004 11:30:50 +0200

 [Copy forwarded since the mis-formatted subject prevented Gnats from
 properly delivering the mail.]

 Begin forwarded message:

 Date: Wed, 8 Sep 2004 10:42:33 +0200
 From: Hauke Fath <hf@spg.tu-darmstadt.de>
 To: Ben Collver <ben@NetBSD.org>
 Cc: Hauke Fath <hf@spg.tu-darmstadt.de>, gnats-bugs@gnats.NetBSD.org
 Subject: Re: PR#26614 cfengine2 pkg installation issues


 Am 07.09.2004 um 15:02 Uhr -0700 schrieb Ben Collver:
 >Good Day Hauke,
 >
 >Are you satisfied with the changes that have been made to the cfengine2
 >package?  May I close PR#26614 now?

 I've just done a fresh install, to be sure. Two issues of the PR are 
 still open:

 (5) There are no man pages for the cfengine tools.

 -- They are installed with cfengine2-doc but should go with the
 binaries, IMHO.

 (7) There is no sample crontab entry for cfexecd.

 -- Something like

 # Cfengine
 7,37 * * * * * /usr/pkg/sbin/cfexecd -F

 going to share/examples/cfengine would do nicely.


From: Ben Collver <ben@netbsd.org>
To: gnats-bugs@gnats.NetBSD.org
Cc:  
Subject: pr/26614 CVS commit: pkgsrc/sysutils
Date: Thu, 23 Sep 2004 22:50:59 +0000 (UTC)

 Module Name:	pkgsrc
 Committed By:	ben
 Date:		Thu Sep 23 22:50:59 UTC 2004

 Modified Files:
 	pkgsrc/sysutils/cfengine2: Makefile PLIST
 	pkgsrc/sysutils/cfengine2-doc: Makefile PLIST

 Log Message:
 Move man pages from cfengine2-doc to cfengine package.
 Addresses one of the issues in PR#26614.


 To generate a diff of this commit:
 cvs rdiff -r1.8 -r1.9 pkgsrc/sysutils/cfengine2/Makefile
 cvs rdiff -r1.3 -r1.4 pkgsrc/sysutils/cfengine2/PLIST
 cvs rdiff -r1.5 -r1.6 pkgsrc/sysutils/cfengine2-doc/Makefile \
     pkgsrc/sysutils/cfengine2-doc/PLIST

 Please note that diffs are not public domain; they are subject to the
 copyright notices on the relevant files.


From: Ben Collver <ben@netbsd.org>
To: gnats-bugs@gnats.NetBSD.org
Cc:  
Subject: pr/26614 CVS commit: pkgsrc/sysutils/cfengine2
Date: Thu, 23 Sep 2004 22:57:28 +0000 (UTC)

 Module Name:	pkgsrc
 Committed By:	ben
 Date:		Thu Sep 23 22:57:28 UTC 2004

 Modified Files:
 	pkgsrc/sysutils/cfengine2: Makefile PLIST
 Added Files:
 	pkgsrc/sysutils/cfengine2/files: cfexecd.cron

 Log Message:
 Add example crontab entry for cfexecd.  This addresses one of the issues
 in PR#26614.


 To generate a diff of this commit:
 cvs rdiff -r1.9 -r1.10 pkgsrc/sysutils/cfengine2/Makefile
 cvs rdiff -r1.4 -r1.5 pkgsrc/sysutils/cfengine2/PLIST
 cvs rdiff -r0 -r1.1 pkgsrc/sysutils/cfengine2/files/cfexecd.cron

 Please note that diffs are not public domain; they are subject to the
 copyright notices on the relevant files.

State-Changed-From-To: feedback->closed 
State-Changed-By: ben 
State-Changed-When: Thu Sep 23 23:01:45 UTC 2004 
State-Changed-Why:  
Issues in PR have been resolved.  Thank you for this PR, and for all your 
help and patience.  -Ben 
>Unformatted:

NetBSD Home
NetBSD PR Database Search

(Contact us) $NetBSD: query-full-pr,v 1.51 2026/08/10 02:28:17 riastradh Exp $
$NetBSD: gnats_config.sh,v 1.10 2026/05/13 22:00:09 riastradh Exp $
Copyright © 1994-2026 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.