From owner-freebsd-ports Thu May 9 11:10:43 2002 Delivered-To: freebsd-ports@hub.freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id 90D3537B403 for ; Thu, 9 May 2002 11:10:03 -0700 (PDT) Received: (from gnats@localhost) by freefall.freebsd.org (8.11.6/8.11.6) id g49IA3W76322; Thu, 9 May 2002 11:10:03 -0700 (PDT) (envelope-from gnats) Date: Thu, 9 May 2002 11:10:03 -0700 (PDT) Message-Id: <200205091810.g49IA3W76322@freefall.freebsd.org> To: freebsd-ports@FreeBSD.org Cc: From: Juha Ylitalo Subject: Re: ports/35037: New port: sysutils/cfengine2 Reply-To: Juha Ylitalo Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org The following reply was made to PR ports/35037; it has been noted by GNATS. From: Juha Ylitalo To: freebsd-gnats-submit@FreeBSD.org, jylitalo@iki.fi Cc: Subject: Re: ports/35037: New port: sysutils/cfengine2 Date: 09 May 2002 22:08:40 +0400 --=-rrNgb5Mc8FXVFYorvAP3 Content-Type: text/plain Content-Transfer-Encoding: quoted-printable This latest version has number of changes to my earlier submits on this same PR. Things that come right into my mind are following: - renamed port from cfengine-devel to cfengine2, because cfengine 2.0.x is now mainstream, but at the sametime, I suspect that too much organizations are still using cfengine 1.6.x, so upgrade to cfengine port wouldn't go through. - cfengine 2.0.0 -> 2.0.1 version upgrade - cfexec and cfservd start/stop scripts (thanks to fcron port for those) - fixes to pkg-plist, where I had forgot to do some modifications, when I upgraded it from 2.0b1 to 2.0.0 - somehow the formatting in my cfengine 2.0.0 submission was bit flaky because some lines seemed to have extra space at the beginning of =20 line. Now it should be ready for submitters to check it. Here is actual submission: # This is a shell archive. Save it in a file, remove anything before # this line, and then unpack it by entering "sh file". Note, it may # create directories; files and directories will be owned by you and # have default permissions. # # This archive contains: # # cfengine2 # cfengine2/Makefile # cfengine2/distinfo # cfengine2/pkg-comment # cfengine2/pkg-descr # cfengine2/pkg-plist # cfengine2/files # cfengine2/files/cfexecd.sh.sample # cfengine2/files/cfservd.sh.sample # echo c - cfengine2 mkdir -p cfengine2 > /dev/null 2>&1 echo x - cfengine2/Makefile sed 's/^X//' >cfengine2/Makefile << 'END-of-cfengine2/Makefile' X# New ports collection makefile for: cfengine2 X# Date created: May 9, 2002 X# Whom: jylitalo@iki.fi X# $FreeBSD$ X# X XPORTNAME=3D cfengine2 XPORTVERSION=3D 2.0.1 X# PORTREVISION=3D 1 XCATEGORIES=3D sysutils XMASTER_SITES=3D ftp://ftp.iu.hio.no/pub/cfengine/ \ X ${MASTER_SITE_GNU} XMASTER_SITE_SUBDIR=3Dcfengine XDISTNAME=3D cfengine-${PORTVERSION} X XMAINTAINER=3D jylitalo@iki.fi X XBUILD_DEPENDS=3D latex:${PORTSDIR}/print/teTeX XLIB_DEPENDS=3D db3:${PORTSDIR}/databases/db3 X XCONFIGURE_ARGS+=3D BERKELEY_DB_LIB=3D-ldb3 BERKELEY_DB_CFLAGS=3D-I/usr/loc= al/include/db3 BERKELEY_DB_LDFLAGS=3D-L/usr/local/lib XCFLAGS+=3D-g XCC=3Dgcc X# USE_AUTOCONF=3D yes X# USE_AUTOMAKE=3D yes XHAS_CONFIGURE=3D yes XUSE_GMAKE=3D yes X XMAN8=3D cfengine.8 X Xdo-install: X cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ${MAKE} -f ${MAKEFILE} install X ${INSTALL_SCRIPT} ${FILESDIR}/cfexecd.sh.sample ${PREFIX}/etc/rc.d/ X ${INSTALL_SCRIPT} ${FILESDIR}/cfservd.sh.sample ${PREFIX}/etc/rc.d/ X.include END-of-cfengine2/Makefile echo x - cfengine2/distinfo sed 's/^X//' >cfengine2/distinfo << 'END-of-cfengine2/distinfo' XMD5 (cfengine-2.0.1.tar.gz) =3D 16a44d47c194bd7c2a7bff003ec6f08b END-of-cfengine2/distinfo echo x - cfengine2/pkg-comment sed 's/^X//' >cfengine2/pkg-comment << 'END-of-cfengine2/pkg-comment' XGNU cfengine - a systems administration tool for networks END-of-cfengine2/pkg-comment echo x - cfengine2/pkg-descr sed 's/^X//' >cfengine2/pkg-descr << 'END-of-cfengine2/pkg-descr' XCfengine, or the configuration engine is an agent/software robot and a Xvery high level language for building expert systems to administrate Xand configure large computer networks. Cfengine uses the idea of Xclasses and a primitive form of intelligence to define and automate Xthe configuration and maintenance of system state, for small to huge Xconfigurations. Cfengine is designed to be a part of a computer immune Xsystem. X XWWW: http://www.iu.hioslo.no/cfengine/ END-of-cfengine2/pkg-descr echo x - cfengine2/pkg-plist sed 's/^X//' >cfengine2/pkg-plist << 'END-of-cfengine2/pkg-plist' Xsbin/cfagent Xsbin/cfservd Xsbin/cfrun Xsbin/cfkey Xsbin/cfenvd Xsbin/cfenvgraph Xsbin/cfexecd Xsbin/vicf Xsbin/cfdoc Xshare/cfengine/cfengine.el Xshare/cfengine/cf.chflags.example Xshare/cfengine/cf.freebsd.example Xshare/cfengine/cf.ftp.example Xshare/cfengine/cf.groups.example Xshare/cfengine/cf.linux.example Xshare/cfengine/cf.main.example Xshare/cfengine/cf.motd.example Xshare/cfengine/cf.preconf.example Xshare/cfengine/cf.services.example Xshare/cfengine/cf.site.example Xshare/cfengine/cf.solaris.example Xshare/cfengine/cf.sun4.example Xshare/cfengine/cf.users.example Xshare/cfengine/cfservd.conf.example Xshare/cfengine/cfagent.conf.example Xshare/cfengine/cfagent.conf-advanced.example Xshare/cfengine/update.conf.example Xshare/cfengine/cfrc.example Xshare/cfengine/cfrun.hosts.example Xshare/cfengine/html/cfengine-Reference.html Xshare/cfengine/html/cfengine-Tutorial.html Xinfo/cfengine-Reference.info Xdoc/cfengine-2.0.1/COPYING Xdoc/cfengine-2.0.1/ChangeLog Xdoc/cfengine-2.0.1/INSTALL Xdoc/cfengine-2.0.1/NEWS Xdoc/cfengine-2.0.1/README Xdoc/cfengine-2.0.1/SURVEY X@dirrm share/cfengine/html X@dirrm share/cfengine X@dirrm doc/cfengine-2.0.1 END-of-cfengine2/pkg-plist echo c - cfengine2/files mkdir -p cfengine2/files > /dev/null 2>&1 echo x - cfengine2/files/cfexecd.sh.sample sed 's/^X//' >cfengine2/files/cfexecd.sh.sample << 'END-of-cfengine2/files/= cfexecd.sh.sample' X#!/bin/sh X# Start cfexecd at boot time under FreeBSD X XSBIN=3D/usr/local/sbin XPROG=3Dcfexecd X Xcase "$1" in X start) X if [ ! -d /var/cfengine/bin ]; then X mkdir -p /var/cfengine/bin X fi X if [ ! -h /var/cfengine/bin/cfagent ]; then X ln -s $SBIN/cfagent /var/cfengine/bin/ X fi X if [ ! -f /var/cfengine/ppkeys/localhost.priv ]; then X $SBIN/cfkey X fi X $SBIN/$PROG && echo -n " $PROG" X ;; X stop) X killall -TERM $PROG=20 X ;; X *) X echo "Usage: $PROG start|stop" X exit 1 X ;; Xesac END-of-cfengine2/files/cfexecd.sh.sample echo x - cfengine2/files/cfservd.sh.sample sed 's/^X//' >cfengine2/files/cfservd.sh.sample << 'END-of-cfengine2/files/= cfservd.sh.sample' X#!/bin/sh X# Start cfservd at boot time under FreeBSD X XSBIN=3D/usr/local/sbin XPROG=3Dcfservd X Xcase "$1" in X start) X if [ ! -f /var/cfengine/ppkeys/localhost.priv ]; then X $SBIN/cfkey X fi X $SBIN/$PROG && echo -n " $PROG" X ;; X stop) X killall -TERM $PROG=20 X ;; X *) X echo "Usage: $PROG start|stop" X exit 1 X ;; Xesac END-of-cfengine2/files/cfservd.sh.sample exit --=20 Juha Ylitalo juha.ylitalo@iki.fi +358 40 562 6152 http://www.iki.fi/jylitalo "Some tools are used, because its policy, others because they are good." --=-rrNgb5Mc8FXVFYorvAP3 Content-Type: application/pgp-signature; name=signature.asc Content-Description: This is a digitally signed message part -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.6 (FreeBSD) Comment: For info see http://www.gnupg.org iD8DBQA82rsoT3Z0FVGK5qMRAmx4AKCP+IYIpipHnTKn3wtmClIvTJetuwCeMsDo WLwIGqaL97hYoiMJmFUHFlg= =lTqG -----END PGP SIGNATURE----- --=-rrNgb5Mc8FXVFYorvAP3-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message