From owner-freebsd-ports Mon Jul 29 11:50:35 2002 Delivered-To: freebsd-ports@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id DF0C237B400 for ; Mon, 29 Jul 2002 11:50:05 -0700 (PDT) Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7348A43E70 for ; Mon, 29 Jul 2002 11:50:05 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.12.4/8.12.4) with ESMTP id g6TIo3JU031435 for ; Mon, 29 Jul 2002 11:50:03 -0700 (PDT) (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.12.4/8.12.4/Submit) id g6TIo30U031433; Mon, 29 Jul 2002 11:50:03 -0700 (PDT) Date: Mon, 29 Jul 2002 11:50:03 -0700 (PDT) Message-Id: <200207291850.g6TIo30U031433@freefall.freebsd.org> To: freebsd-ports@FreeBSD.org Cc: From: Tony Finch Subject: Re: ports/35037: New port: sysutils/cfengine2 Reply-To: Tony Finch 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: Tony Finch To: freebsd-gnats-submit@freebsd.org, gordon@freebsd.org, juha.ylitalo@iki.fi Cc: dot@dotat.at Subject: Re: ports/35037: New port: sysutils/cfengine2 Date: Mon, 29 Jul 2002 19:42:06 +0100 This is my version of the cfengine2 port, for version 2.0.3. I'll commit if a ports person says OK. Tony. -- f.a.n.finch http://dotat.at/ NORTH UTSIRE SOUTH UTSIRE: VARIABLE 4, BECOMING SOUTHEAST 5 IN SOUTH UTSIRE. OCCASIONAL DRIZZLE. MODERATE WITH FOG PATCHES. # 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/files # cfengine2/files/patch-doc::Makefile.in # cfengine2/files/patch-contrib::Makefile.in # cfengine2/files/patch-doc::cfengine-Anomalies.info # cfengine2/files/patch-configure # cfengine2/distinfo # cfengine2/pkg-descr # cfengine2/pkg-plist # cfengine2/pkg-comment # cfengine2/Makefile # echo c - cfengine2 mkdir -p cfengine2 > /dev/null 2>&1 echo c - cfengine2/files mkdir -p cfengine2/files > /dev/null 2>&1 echo x - cfengine2/files/patch-doc::Makefile.in sed 's/^X//' >cfengine2/files/patch-doc::Makefile.in << 'END-of-cfengine2/files/patch-doc::Makefile.in' X--- doc/Makefile.in.orig Sat Jun 22 08:36:43 2002 X+++ doc/Makefile.in Mon Jul 29 17:19:22 2002 X@@ -88,10 +88,10 @@ X man_MANS = cfengine.8 X info_TEXINFOS = cfengine-Reference.texinfo cfengine-Tutorial.texinfo cfengine-Anomalies.texinfo X X-docdir = $(prefix)/doc/$(PACKAGE)-$(VERSION) X+#docdir = $(prefix)/doc/$(PACKAGE)-$(VERSION) X doc_DATA = X # Info used in building and installing HTML files X-htmldir = $(pkgdatadir)/html X+htmldir = $(datadir)/doc/@PACKAGE@ X htmlfiles = cfengine-Reference.html cfengine-Tutorial.html X html_DATA = $(htmlfiles) X X@@ -103,7 +103,7 @@ X # then uncomment the reference to ps2 X psfiles = $(ps1) # $(ps2) X X-psdir = $(pkgdatadir)/doc X+#psdir = $(pkgdatadir)/doc X ps_DATA = $(psfiles) X X # Make sure these get distributed with everything else. END-of-cfengine2/files/patch-doc::Makefile.in echo x - cfengine2/files/patch-contrib::Makefile.in sed 's/^X//' >cfengine2/files/patch-contrib::Makefile.in << 'END-of-cfengine2/files/patch-contrib::Makefile.in' X--- contrib/Makefile.in.orig Mon Jul 29 17:24:20 2002 X+++ contrib/Makefile.in Mon Jul 29 17:26:30 2002 X@@ -33,7 +33,7 @@ X mandir = @mandir@ X includedir = @includedir@ X oldincludedir = /usr/include X-pkgdatadir = $(datadir)/@PACKAGE@ X+pkgdatadir = $(datadir)/emacs/site-lisp X pkglibdir = $(libdir)/@PACKAGE@ X pkgincludedir = $(includedir)/@PACKAGE@ X top_builddir = .. END-of-cfengine2/files/patch-contrib::Makefile.in echo x - cfengine2/files/patch-doc::cfengine-Anomalies.info sed 's/^X//' >cfengine2/files/patch-doc::cfengine-Anomalies.info << 'END-of-cfengine2/files/patch-doc::cfengine-Anomalies.info' X--- doc/cfengine-Anomalies.info.orig Mon Jul 29 18:15:38 2002 X+++ doc/cfengine-Anomalies.info Mon Jul 29 18:16:20 2002 X@@ -3,7 +3,7 @@ X X INFO-DIR-SECTION System Utilities X START-INFO-DIR-ENTRY X-* cfengine Tutorial: (cfengine-Tutorial.info). X+* cfengine Anomalies: (cfengine-Anomalies.info). X Cfengine is a language based tool specifically X designed for configuring and maintaining BSD X and System-5-like operating systems attached END-of-cfengine2/files/patch-doc::cfengine-Anomalies.info echo x - cfengine2/files/patch-configure sed 's/^X//' >cfengine2/files/patch-configure << 'END-of-cfengine2/files/patch-configure' XAccept the -STABLE version of OpenSSL XUse the correct #includes for sys/mount.h X X--- configure.orig Mon Jul 29 15:32:39 2002 X+++ configure Mon Jul 29 15:35:41 2002 X@@ -3637,8 +3637,8 @@ X if test x"$OPENSSL_LIB_DIR" = xno ; then X echo "$as_me:3638: result: no" >&5 X echo "${ECHO_T}no" >&6 X- { { echo "$as_me:3640: error: This release of cfengine requires OpenSSL 0.9.6b or later" >&5 X-echo "$as_me: error: This release of cfengine requires OpenSSL 0.9.6b or later" >&2;} X+ { { echo "$as_me:3640: error: This release of cfengine requires OpenSSL 0.9.6a or later" >&5 X+echo "$as_me: error: This release of cfengine requires OpenSSL 0.9.6a or later" >&2;} X { (exit 1); exit 1; }; } X else X if test x"$OPENSSL_LIB_DIR" = xyes ; then X@@ -3700,7 +3700,7 @@ X #include X int main(void) X { X- if (OPENSSL_VERSION_NUMBER < 0x0090602fL) X+ if (OPENSSL_VERSION_NUMBER < 0x0090601fL) X exit(1); X exit(0); X } X@@ -3723,8 +3723,8 @@ X echo "$as_me: program exited with status $ac_status" >&5 X echo "$as_me: failed program was:" >&5 X cat conftest.$ac_ext >&5 X-{ { echo "$as_me:3726: error: This release of cfengine requires openssl 0.9.6b or later" >&5 X-echo "$as_me: error: This release of cfengine requires openssl 0.9.6b or later" >&2;} X+{ { echo "$as_me:3726: error: This release of cfengine requires openssl 0.9.6a or later" >&5 X+echo "$as_me: error: This release of cfengine requires openssl 0.9.6a or later" >&2;} X { (exit 1); exit 1; }; } X X fi X@@ -4098,6 +4098,7 @@ X cat >conftest.$ac_ext <<_ACEOF X #line 4099 "configure" X #include "confdefs.h" X+#include X #include <$ac_header> X _ACEOF X if { (eval echo "$as_me:4103: \"$ac_cpp conftest.$ac_ext\"") >&5 X@@ -8485,8 +8486,8 @@ X echo "$as_me: WARNING: This version requires Berkeley db version 3.2 or" >&2;} X { echo "$as_me:8486: WARNING: later from www.sleepycat.com" >&5 X echo "$as_me: WARNING: later from www.sleepycat.com" >&2;} X-{ echo "$as_me:8488: WARNING: This version requires OpenSSL 0.9.6b or later" >&5 X-echo "$as_me: WARNING: This version requires OpenSSL 0.9.6b or later" >&2;} X+{ echo "$as_me:8488: WARNING: This version requires OpenSSL 0.9.6a or later" >&5 X+echo "$as_me: WARNING: This version requires OpenSSL 0.9.6a or later" >&2;} X { echo "$as_me:8490: WARNING: from www.openssl.org" >&5 X echo "$as_me: WARNING: from www.openssl.org" >&2;} X { echo "$as_me:8492: WARNING: " >&5 END-of-cfengine2/files/patch-configure echo x - cfengine2/distinfo sed 's/^X//' >cfengine2/distinfo << 'END-of-cfengine2/distinfo' XMD5 (cfengine-2.0.3.tar.gz) = 55df32a5856e5d267f895ec1dc6b2511 END-of-cfengine2/distinfo 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.cfengine.org/ END-of-cfengine2/pkg-descr echo x - cfengine2/pkg-plist sed 's/^X//' >cfengine2/pkg-plist << 'END-of-cfengine2/pkg-plist' Xsbin/cfagent Xsbin/cfdoc Xsbin/cfenvd Xsbin/cfenvgraph Xsbin/cfexecd Xsbin/cfkey Xsbin/cfrun Xsbin/cfservd Xsbin/vicf Xshare/emacs/site-lisp/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/cfagent.conf-advanced.example Xshare/cfengine/cfagent.conf.example Xshare/cfengine/cfrc.example Xshare/cfengine/cfrun.hosts.example Xshare/cfengine/cfservd.conf.example Xshare/cfengine/update.conf.example Xshare/doc/cfengine/cfengine-Reference.html Xshare/doc/cfengine/cfengine-Tutorial.html Xinfo/cfengine-Anomalies.info Xinfo/cfengine-Reference.info Xinfo/cfengine-Reference.info-1 Xinfo/cfengine-Reference.info-2 Xinfo/cfengine-Reference.info-3 Xinfo/cfengine-Reference.info-4 Xinfo/cfengine-Reference.info-5 Xinfo/cfengine-Reference.info-6 Xinfo/cfengine-Reference.info-7 Xinfo/cfengine-Reference.info-8 Xinfo/cfengine-Tutorial.info Xinfo/cfengine-Tutorial.info-1 Xinfo/cfengine-Tutorial.info-2 Xinfo/cfengine-Tutorial.info-3 Xinfo/cfengine-Tutorial.info-4 Xinfo/cfengine-Tutorial.info-5 Xinfo/cfengine-Tutorial.info-6 X@exec install-info %D/info/cfengine-Tutorial.info %D/info/dir X@exec install-info %D/info/cfengine-Reference.info %D/info/dir X@exec install-info %D/info/cfengine-Anomalies.info %D/info/dir X@unexec install-info --delete %D/info/cfengine-Tutorial.info %D/info/dir X@unexec install-info --delete %D/info/cfengine-Reference.info %D/info/dir X@unexec install-info --delete %D/info/cfengine-Anomalies.info %D/info/dir X@dirrm share/cfengine X@dirrm share/doc/cfengine END-of-cfengine2/pkg-plist 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/Makefile sed 's/^X//' >cfengine2/Makefile << 'END-of-cfengine2/Makefile' X# New ports collection makefile for: cfengine2 X# Date created: 2002-07-29 X# Whom: fanf@FreeBSD.org X# X# $FreeBSD$ X# X XPORTNAME= cfengine2 XPORTVERSION= 2.0.3 XCATEGORIES= sysutils XMASTER_SITES= ftp://ftp.iu.hio.no/pub/cfengine/ \ X ${MASTER_SITE_GNU} XMASTER_SITE_SUBDIR= ${PORTNAME} XDISTNAME= cfengine-${PORTVERSION} X XMAINTAINER= fanf@FreeBSD.org X XLIB_DEPENDS= db3:${PORTSDIR}/databases/db3 X XUSE_OPENSSL= yes X X# if we use GNU_CONFIGURE=yes then the binaries get installed with weird names XHAS_CONFIGURE= yes XCONFIGURE_ARGS= --prefix=${PREFIX} X XMAN8= cfengine.8 X X.include END-of-cfengine2/Makefile exit To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message