Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 30 May 2007 18:50:12 GMT
From:      Jo Rhett <jrhett@svcolo.com>
To:        freebsd-ports-bugs@FreeBSD.org
Subject:   Re: ports/113167: patch to update cfengine port to 2.2.1
Message-ID:  <200705301850.l4UIoC6N016264@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help
The following reply was made to PR ports/113167; it has been noted by GNATS.

From: Jo Rhett <jrhett@svcolo.com>
To: bug-followup@FreeBSD.org
Cc:  
Subject: Re: ports/113167: patch to update cfengine port to 2.2.1
Date: Wed, 30 May 2007 11:47:17 -0700

 --Apple-Mail-3-380174914
 Content-Transfer-Encoding: 7bit
 Content-Type: text/plain;
 	charset=US-ASCII;
 	delsp=yes;
 	format=flowed
 
 Here is an improved patch which fixes a missing period (.) in the  
 first patch, and also fixes the info directory location.
 
 
 --Apple-Mail-3-380174914
 Content-Transfer-Encoding: 7bit
 Content-Type: text/plain;
 	x-unix-mode=0644;
 	name=cfengine-2.2.1-port.patch.txt
 Content-Disposition: attachment;
 	filename=cfengine-2.2.1-port.patch.txt
 
 --- Makefile.orig	Mon May 21 18:11:42 2007
 +++ Makefile	Wed May 30 11:31:28 2007
 @@ -6,7 +6,7 @@
  #
  
  PORTNAME=	cfengine
 -PORTVERSION=	2.1.22
 +PORTVERSION=	2.2.1
  CATEGORIES=	sysutils
  MASTER_SITES=	ftp://ftp.iu.hio.no/pub/cfengine/ \
  		${MASTER_SITE_GNU}
 @@ -15,15 +15,18 @@
  MAINTAINER=	sergei@FreeBSD.org
  COMMENT=	A systems administration tool for networks
  
 -USE_BDB=	44
  USE_OPENSSL=	yes
  GNU_CONFIGURE=	yes
  CONFIGURE_TARGET=	--build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
 -CONFIGURE_ARGS=	--with-docs
 +CONFIGURE_ARGS=	--with-docs --infodir=/usr/local/share/info --docdir=/usr/local/share/doc/cfengine
  CONFIGURE_ENV+=	PTHREAD_CFLAGS=${PTHREAD_CFLAGS} PTHREAD_LIBS=${PTHREAD_LIBS} \
  		BERKELEY_DB_CFLAGS=-I${BDB_INCLUDE_DIR} \
  		BERKELEY_DB_LDFLAGS=-L${BDB_LIB_DIR} \
  		BERKELEY_DB_LIB=-l${BDB_LIB_NAME}
 +
 +.if !defined(USE_BDB)
 +USE_BDB=	44
 +.endif
  
  .if !defined(NOPORTDOCS)
  INFO=		cfengine-Anomalies cfengine-Reference cfengine-Tutorial
 --- distinfo.orig	Mon May 21 18:13:08 2007
 +++ distinfo	Wed May 30 11:01:14 2007
 @@ -1,3 +1,3 @@
 -MD5 (cfengine-2.1.22.tar.gz) = 5452c988225751da9ed2f1edf3426866
 -SHA256 (cfengine-2.1.22.tar.gz) = fa30e5b29517370e5cea8d9935999e437709e574d103eb317eeed007c975d451
 -SIZE (cfengine-2.1.22.tar.gz) = 3673965
 +SHA256 (cfengine-2.2.1.tar.gz) = ad820f08dc0883eaceae58eafa043d7638d117825496abb289228746132bafea
 +MD5 (cfengine-2.2.1.tar.gz) = 27764b352e835eeb648052ee01140953
 +SIZE (cfengine-2.2.1.tar.gz) = 3715232
 --- files/orig/patch-Makefile.in	Wed May 30 10:43:06 2007
 +++ files/patch-Makefile.in	Wed May 30 10:49:20 2007
 @@ -1,12 +1,19 @@
 ---- Makefile.in.orig	Sat Oct  1 16:32:09 2005
 -+++ Makefile.in	Fri Oct  7 10:36:51 2005
 -@@ -201,8 +201,12 @@
 +--- Makefile.in_orig	Wed May 30 10:44:56 2007
 ++++ Makefile.in	Wed May 30 10:48:32 2007
 +@@ -174,7 +174,7 @@
 + build_vendor = @build_vendor@
 + datadir = @datadir@
 + datarootdir = @datarootdir@
 +-docdir = $(pkgdatadir)
 ++docdir = $(prefix)/share/doc/cfengine
 + dvidir = @dvidir@
 + exec_prefix = @exec_prefix@
 + host = @host@
 +@@ -209,7 +209,11 @@
   @BUILD_DOC_TRUE@DOC_DIR = doc
   SUBDIRS = pub src contrib inputs $(DOC_DIR)
   EXTRA_DIST = acconfig.h doc/cfengine.8 COPYING ChangeLog INSTALL NEWS README
 --docdir = $(pkgdatadir)
  -doc_DATA = README ChangeLog INSTALL NEWS
 -+docdir = $(prefix)/share/doc/cfengine
  +.if defined(NOPORTDOCS)
  +doc_DATA = 
  +.else
 --- files/orig/patch-doc_Makefile.in	Wed May 30 10:43:06 2007
 +++ files/patch-doc_Makefile.in	Wed May 30 11:18:48 2007
 @@ -1,5 +1,5 @@
 ---- doc/Makefile.in.orig	Wed Sep 20 10:27:06 2006
 -+++ doc/Makefile.in	Fri Dec 15 12:24:05 2006
 +--- doc/Makefile.in.orig	Tue May 29 11:07:06 2007
 ++++ doc/Makefile.in	Wed May 30 10:58:27 2007
  @@ -52,8 +52,12 @@
   CONFIG_CLEAN_FILES =
   SOURCES =
 @@ -13,12 +13,28 @@
   am__TEXINFO_TEX_DIR = $(srcdir)
   DVIS = cfengine-Reference.dvi cfengine-Tutorial.dvi \
   	cfengine-Anomalies.dvi
 -@@ -205,15 +209,23 @@
 +@@ -171,7 +175,7 @@
 + build_vendor = @build_vendor@
 + datadir = @datadir@
 + datarootdir = @datarootdir@
 +-docdir = $(pkgdatadir)/doc
 ++docdir = $(prefix)/share/doc/cfengine
 + dvidir = @dvidir@
 + exec_prefix = @exec_prefix@
 + host = @host@
 +@@ -179,7 +183,7 @@
 + host_cpu = @host_cpu@
 + host_os = @host_os@
 + host_vendor = @host_vendor@
 +-htmldir = $(pkgdatadir)/html
 ++htmldir = $(docdir)
 + includedir = @includedir@
 + infodir = @infodir@
 + install_sh = @install_sh@
 +@@ -213,13 +217,21 @@
   
   # Info used in building and installing HTML files
   htmlfiles = $(info_TEXINFOS:.texinfo=.html)
 --htmldir = $(pkgdatadir)/html
 -+htmldir = $(docdir)
  +.if defined(NOPORTDOCS)
  +html_DATA = 
  +.else
 @@ -29,8 +45,6 @@
   psfiles = $(info_TEXINFOS:.texinfo=.ps)
   pdffiles = $(info_TEXINFOS:.texinfo=.pdf)
   dvifiles = $(info_TEXINFOS:.texinfo=.dvi)
 --docdir = $(pkgdatadir)/doc
 -+docdir = $(prefix)/share/doc/cfengine
  +.if defined(NOPORTDOCS)
  +doc_DATA = 
  +.else
 @@ -39,7 +53,7 @@
   
   # Make sure these get distributed with everything else.
   EXTRA_DIST = cfagent.8 cfenvd.8 cfenvgraph.8 cfexecd.8 cfkey.8 cfrun.8 cfservd.8 cfengine.8 cfshow.8 cfetoolcheck.8   cfetooldump.8   cfetoolimport.8  cfetoolupdate.8 cfetoolcreate.8  cfetoolgraph.8  cfetoolinfo.8 cfetoolcheck.8   cfetooldump.8   cfetoolimport.8  cfetoolupdate.8 cfetoolcreate.8  cfetoolgraph.8  cfetoolinfo.8 texinfo.tex $(htmlfiles) $(infofiles)  $(psfiles) $(dvifiles) $(pdffiles)
 -@@ -316,7 +328,7 @@
 +@@ -324,7 +336,7 @@
   	  exit 1; \
   	fi
   $(srcdir)/version1.texi:  $(srcdir)/stamp-vti
 @@ -48,7 +62,7 @@
   	@(dir=.; test -f ./cfengine-Reference.texinfo || dir=$(srcdir); \
   	set `$(SHELL) $(srcdir)/mdate-sh $$dir/cfengine-Reference.texinfo`; \
   	echo "@set UPDATED $$1 $$2 $$3"; \
 -@@ -375,7 +387,7 @@
 +@@ -385,7 +397,7 @@
   	  exit 1; \
   	fi
   $(srcdir)/version2.texi:  $(srcdir)/stamp-1
 @@ -57,7 +71,7 @@
   	@(dir=.; test -f ./cfengine-Tutorial.texinfo || dir=$(srcdir); \
   	set `$(SHELL) $(srcdir)/mdate-sh $$dir/cfengine-Tutorial.texinfo`; \
   	echo "@set UPDATED $$1 $$2 $$3"; \
 -@@ -434,7 +446,7 @@
 +@@ -446,7 +458,7 @@
   	  exit 1; \
   	fi
   $(srcdir)/version3.texi:  $(srcdir)/stamp-2
 @@ -66,7 +80,7 @@
   	@(dir=.; test -f ./cfengine-Anomalies.texinfo || dir=$(srcdir); \
   	set `$(SHELL) $(srcdir)/mdate-sh $$dir/cfengine-Anomalies.texinfo`; \
   	echo "@set UPDATED $$1 $$2 $$3"; \
 -@@ -579,6 +591,7 @@
 +@@ -592,6 +604,7 @@
   	  rm -f "$(DESTDIR)$(man8dir)/$$inst"; \
   	done
   install-docDATA: $(doc_DATA)
 @@ -74,7 +88,7 @@
   	@$(NORMAL_INSTALL)
   	test -z "$(docdir)" || $(mkdir_p) "$(DESTDIR)$(docdir)"
   	@list='$(doc_DATA)'; for p in $$list; do \
 -@@ -587,6 +600,7 @@
 +@@ -600,6 +613,7 @@
   	  echo " $(docDATA_INSTALL) '$$d$$p' '$(DESTDIR)$(docdir)/$$f'"; \
   	  $(docDATA_INSTALL) "$$d$$p" "$(DESTDIR)$(docdir)/$$f"; \
   	done
 @@ -82,7 +96,7 @@
   
   uninstall-docDATA:
   	@$(NORMAL_UNINSTALL)
 -@@ -596,6 +610,7 @@
 +@@ -609,6 +623,7 @@
   	  rm -f "$(DESTDIR)$(docdir)/$$f"; \
   	done
   install-htmlDATA: $(html_DATA)
 @@ -90,7 +104,7 @@
   	@$(NORMAL_INSTALL)
   	test -z "$(htmldir)" || $(mkdir_p) "$(DESTDIR)$(htmldir)"
   	@list='$(html_DATA)'; for p in $$list; do \
 -@@ -604,6 +619,7 @@
 +@@ -617,6 +632,7 @@
   	  echo " $(htmlDATA_INSTALL) '$$d$$p' '$(DESTDIR)$(htmldir)/$$f'"; \
   	  $(htmlDATA_INSTALL) "$$d$$p" "$(DESTDIR)$(htmldir)/$$f"; \
   	done
 @@ -98,7 +112,7 @@
   
   uninstall-htmlDATA:
   	@$(NORMAL_UNINSTALL)
 -@@ -712,6 +728,7 @@
 +@@ -725,6 +741,7 @@
   install-info: install-info-am
   
   install-info-am: $(INFO_DEPS)
 @@ -106,7 +120,7 @@
   	@$(NORMAL_INSTALL)
   	test -z "$(infodir)" || $(mkdir_p) "$(DESTDIR)$(infodir)"
   	@srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; \
 -@@ -741,6 +758,7 @@
 +@@ -754,6 +771,7 @@
   	    install-info --info-dir="$(DESTDIR)$(infodir)" "$(DESTDIR)$(infodir)/$$relfile" || :;\
   	  done; \
   	else : ; fi
 --- files/orig/patch-configure	Wed May 30 10:43:06 2007
 +++ files/patch-configure	Wed May 30 10:52:51 2007
 @@ -1,6 +1,6 @@
 ---- configure.orig	Wed Sep 20 10:27:07 2006
 -+++ configure	Thu Dec 14 18:00:21 2006
 -@@ -8539,7 +8539,7 @@
 +--- configure.orig	Tue May 29 11:07:07 2007
 ++++ configure	Wed May 30 10:52:14 2007
 +@@ -9745,7 +9745,7 @@
           done
   
           BERKELEY_DB_LIB="-ldb"
 @@ -9,7 +9,7 @@
               if test -f "$BERKELEY_DB_DIR/lib/lib$v.so"; then
                   BERKELEY_DB_LIB="-l$v"
   		break
 -@@ -15998,7 +15998,7 @@
 +@@ -17933,7 +17933,7 @@
   
   
   
 @@ -17,4 +17,4 @@
  +LIBS="../pub/libpub.a $LIBS"
   
   
 - echo "$as_me:$LINENO: checking Checking for GCC Specific compile flags" >&5
 + { echo "$as_me:$LINENO: checking Checking for GCC Specific compile flags" >&5
 
 --Apple-Mail-3-380174914
 Content-Transfer-Encoding: 7bit
 Content-Type: text/plain;
 	charset=US-ASCII;
 	format=flowed
 
 
 -- 
 Jo Rhett
 senior geek
 
 Silicon Valley Colocation
 Support Phone: 408-400-0550
 
 
 
 
 
 --Apple-Mail-3-380174914--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200705301850.l4UIoC6N016264>