pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/sysutils/cfengine2 Update cfengine to 2.1.9, addresses...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/88b4af4b1683
branches:  trunk
changeset: 479276:88b4af4b1683
user:      ben <ben%pkgsrc.org@localhost>
date:      Tue Aug 10 14:18:44 2004 +0000

description:
Update cfengine to 2.1.9, addresses PR#26608.

diffstat:

 sysutils/cfengine2/Makefile.common  |   4 +-
 sysutils/cfengine2/distinfo         |  17 +++---
 sysutils/cfengine2/patches/patch-aa |   9 ---
 sysutils/cfengine2/patches/patch-ab |  31 ------------
 sysutils/cfengine2/patches/patch-af |  36 +++++---------
 sysutils/cfengine2/patches/patch-ag |  16 +++---
 sysutils/cfengine2/patches/patch-ai |  35 +++++--------
 sysutils/cfengine2/patches/patch-aj |  90 +++++++++++++-----------------------
 sysutils/cfengine2/patches/patch-ak |  25 ++++++++++
 9 files changed, 105 insertions(+), 158 deletions(-)

diffs (truncated from 353 to 300 lines):

diff -r 1011f015faeb -r 88b4af4b1683 sysutils/cfengine2/Makefile.common
--- a/sysutils/cfengine2/Makefile.common        Tue Aug 10 14:09:19 2004 +0000
+++ b/sysutils/cfengine2/Makefile.common        Tue Aug 10 14:18:44 2004 +0000
@@ -1,7 +1,7 @@
-# $NetBSD: Makefile.common,v 1.6 2003/09/16 19:24:26 seb Exp $
+# $NetBSD: Makefile.common,v 1.7 2004/08/10 14:18:44 ben Exp $
 #
 
-CFENGINE_VERSION= 2.0.8p1
+CFENGINE_VERSION= 2.1.9
 DISTNAME=      cfengine-${CFENGINE_VERSION}
 CATEGORIES=    sysutils net
 MASTER_SITES=  ftp://ftp.iu.hio.no/pub/cfengine/ \
diff -r 1011f015faeb -r 88b4af4b1683 sysutils/cfengine2/distinfo
--- a/sysutils/cfengine2/distinfo       Tue Aug 10 14:09:19 2004 +0000
+++ b/sysutils/cfengine2/distinfo       Tue Aug 10 14:18:44 2004 +0000
@@ -1,13 +1,12 @@
-$NetBSD: distinfo,v 1.4 2003/09/16 19:24:26 seb Exp $
+$NetBSD: distinfo,v 1.5 2004/08/10 14:18:44 ben Exp $
 
-SHA1 (cfengine-2.0.8p1.tar.gz) = 7ba589a6a7f5f231d66c6b1a41dc0757502801f3
-Size (cfengine-2.0.8p1.tar.gz) = 1240535 bytes
-SHA1 (patch-aa) = 93a957af8d124d5b6e584c1c3d3cdda73190d58c
-SHA1 (patch-ab) = caf7e63f25d0bba61d37a0060c586c84b2742fe4
+SHA1 (cfengine-2.1.9.tar.gz) = bbe3027df4b2e2f0128bdac61a99f8fabd678267
+Size (cfengine-2.1.9.tar.gz) = 3099090 bytes
 SHA1 (patch-ad) = 559b8378c1cad5e88e1eba55c7f62e2336153186
 SHA1 (patch-ae) = 99496b14f80c8605886cd78a520af4d1c6cc0475
-SHA1 (patch-af) = 470e6e6b89b70caaaecc036ebb5d6a4071d1c3ed
-SHA1 (patch-ag) = f64e2d1f9f3a5c0e0dc37a40c56f0188382e02ed
+SHA1 (patch-af) = e13dec2fb9010d1c1a86ed69f9b0e5fa55deea88
+SHA1 (patch-ag) = a98372a18f6720a0919990636699cf160f6d8d5a
 SHA1 (patch-ah) = d0a79d2c5ce636e401486ff9740bd126fd94f172
-SHA1 (patch-ai) = 074eaadc318bb11a9f7987199f60e3d0dd69c4b0
-SHA1 (patch-aj) = 4953a018297d59a21201703f5a019d623587d97f
+SHA1 (patch-ai) = 2f71c484bac8ad61e40769313e79e7598532a559
+SHA1 (patch-aj) = 8bf0d1e3af5b4fac229eb7eb62459e9c6afe4ead
+SHA1 (patch-ak) = de92fc7e9e0a44be121adba4f9388ccd77018621
diff -r 1011f015faeb -r 88b4af4b1683 sysutils/cfengine2/patches/patch-aa
--- a/sysutils/cfengine2/patches/patch-aa       Tue Aug 10 14:09:19 2004 +0000
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -1,9 +0,0 @@
-$NetBSD: patch-aa,v 1.1.1.1 2002/12/22 13:04:38 seb Exp $
-
---- Makefile.am.orig   Wed Dec 18 08:39:09 2002
-+++ Makefile.am        Wed Dec 18 08:39:16 2002
-@@ -1,3 +1,3 @@
--SUBDIRS = pub src contrib inputs doc 
-+SUBDIRS = pub src contrib inputs 
- 
- EXTRA_DIST = acconfig.h DOCUMENTATION doc/cfengine.8 COPYING ChangeLog INSTALL NEWS README
diff -r 1011f015faeb -r 88b4af4b1683 sysutils/cfengine2/patches/patch-ab
--- a/sysutils/cfengine2/patches/patch-ab       Tue Aug 10 14:09:19 2004 +0000
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -1,31 +0,0 @@
-$NetBSD: patch-ab,v 1.2 2003/05/29 21:08:27 seb Exp $
-
---- Makefile.in.orig   2003-05-28 16:54:45.000000000 +0000
-+++ Makefile.in
-@@ -142,7 +142,7 @@ target_alias = @target_alias@
- target_cpu = @target_cpu@
- target_os = @target_os@
- target_vendor = @target_vendor@
--SUBDIRS = pub src contrib inputs doc 
-+SUBDIRS = pub src contrib inputs 
- 
- EXTRA_DIST = acconfig.h DOCUMENTATION doc/cfengine.8 COPYING ChangeLog INSTALL NEWS README
- 
-@@ -176,6 +176,8 @@ ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
- mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
- CONFIG_HEADER = $(top_builddir)/src/conf.h
- CONFIG_CLEAN_FILES =
-+depcomp =
-+am__depfiles_maybe =
- DIST_SOURCES =
- 
- RECURSIVE_TARGETS = info-recursive dvi-recursive pdf-recursive \
-@@ -196,7 +198,7 @@ am__CONFIG_DISTCLEAN_FILES = config.stat
-  configure.lineno
- $(srcdir)/Makefile.in:  Makefile.am  $(top_srcdir)/configure.ac $(ACLOCAL_M4)
-       cd $(top_srcdir) && \
--        $(AUTOMAKE) --gnu  Makefile
-+        $(AUTOMAKE) --foreign  --ignore-deps Makefile
- Makefile:  $(srcdir)/Makefile.in  $(top_builddir)/config.status
-       cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__depfiles_maybe)
- 
diff -r 1011f015faeb -r 88b4af4b1683 sysutils/cfengine2/patches/patch-af
--- a/sysutils/cfengine2/patches/patch-af       Tue Aug 10 14:09:19 2004 +0000
+++ b/sysutils/cfengine2/patches/patch-af       Tue Aug 10 14:18:44 2004 +0000
@@ -1,24 +1,16 @@
-$NetBSD: patch-af,v 1.3 2003/05/29 21:08:27 seb Exp $
+$NetBSD: patch-af,v 1.4 2004/08/10 14:18:44 ben Exp $
 
---- configure.orig     2003-05-28 16:53:58.000000000 +0000
-+++ configure
-@@ -7611,6 +7611,19 @@ echo "$as_me: error: Cannot find Berkele
-         echo "$as_me:$LINENO: result: $BERKELEY_DB_DIR" >&5
- echo "${ECHO_T}$BERKELEY_DB_DIR" >&6
-     else
-+      d="$BERKELEY_DB_DIR"
-+      for v in db-4 db4 db3 db; do
-+          if test -f "$d/include/$v/db.h" ; then
-+              test "x$d" != "x/usr" && BERKELEY_DB_LDFLAGS="-L$d/lib"
-+              BERKELEY_DB_CFLAGS="-I$d/include/$v"
-+              BERKELEY_DB_LIB="-l$v"
-+              echo "$as_me:$LINENO: result: $d" >&5
-+echo "${ECHO_T}$d" >&6
+--- configure.orig     2004-08-09 21:14:27.000000000 -0400
++++ configure  2004-08-09 21:14:59.000000000 -0400
+@@ -8447,4 +8447,5 @@
+             if test -f "$BERKELEY_DB_DIR/include/$v/db.h"; then
+                 BERKELEY_DB_CFLAGS="-I$BERKELEY_DB_DIR/include/$v"
 +              break
-+          fi
-+      done
-+    fi
-+    if test x"$BERKELEY_DB_LIB" = "x"; then
-         { { echo "$as_me:$LINENO: error: Cannot find BerkeleyDB" >&5
- echo "$as_me: error: Cannot find BerkeleyDB" >&2;}
-    { (exit 1); exit 1; }; }
+             fi
+         done
+@@ -8454,4 +8455,5 @@
+             if test -f "$BERKELEY_DB_DIR/lib/lib$v.so"; then
+                 BERKELEY_DB_LIB="-l$v"
++              break
+             fi
+         done
diff -r 1011f015faeb -r 88b4af4b1683 sysutils/cfengine2/patches/patch-ag
--- a/sysutils/cfengine2/patches/patch-ag       Tue Aug 10 14:09:19 2004 +0000
+++ b/sysutils/cfengine2/patches/patch-ag       Tue Aug 10 14:18:44 2004 +0000
@@ -1,11 +1,11 @@
-$NetBSD: patch-ag,v 1.1.1.1 2002/12/22 13:04:38 seb Exp $
+$NetBSD: patch-ag,v 1.2 2004/08/10 14:18:44 ben Exp $
 
---- src/cfservd.c.orig Thu Dec 19 13:24:23 2002
-+++ src/cfservd.c      Thu Dec 19 13:24:50 2002
-@@ -722,5 +722,5 @@
+--- src/cfservd.c.orig 2004-08-03 04:04:56.000000000 -0400
++++ src/cfservd.c      2004-08-09 20:17:45.000000000 -0400
+@@ -764,5 +764,5 @@
        Debug("Bound to address %s on %s=%d\n",sockaddr_ntop(ap->ai_addr),CLASSTEXT[VSYSTEMHARDCLASS],VSYSTEMHARDCLASS);
  
--      if (VSYSTEMHARDCLASS == openbsd)
-+      if (VSYSTEMHARDCLASS == openbsd || VSYSTEMHARDCLASS == netbsd)
-        {
-        continue;  /* openbsd doesn't map ipv6 addresses */
+-      if (VSYSTEMHARDCLASS == openbsd || VSYSTEMHARDCLASS == freebsd)
++      if (VSYSTEMHARDCLASS == openbsd || VSYSTEMHARDCLASS == freebsd || VSYSTEMHARDCLASS == netbsd)
+          {
+          continue;  /* *bsd doesn't map ipv6 addresses */
diff -r 1011f015faeb -r 88b4af4b1683 sysutils/cfengine2/patches/patch-ai
--- a/sysutils/cfengine2/patches/patch-ai       Tue Aug 10 14:09:19 2004 +0000
+++ b/sysutils/cfengine2/patches/patch-ai       Tue Aug 10 14:18:44 2004 +0000
@@ -1,23 +1,16 @@
-$NetBSD: patch-ai,v 1.2 2003/04/26 08:33:01 seb Exp $
+$NetBSD: patch-ai,v 1.3 2004/08/10 14:18:44 ben Exp $
 
---- configure.ac.orig  2003-04-07 17:47:46.000000000 +0000
-+++ configure.ac
-@@ -133,6 +133,18 @@ else
-         BERKELEY_DB_LIB="-ldb"
-         AC_MSG_RESULT($BERKELEY_DB_DIR)
-     else
-+      d="$BERKELEY_DB_DIR"
-+      for v in db-4 db4 db3 db; do
-+          if test -f "$d/include/$v/db.h" ; then
-+              test "x$d" != "x/usr" && BERKELEY_DB_LDFLAGS="-L$d/lib"
-+              BERKELEY_DB_CFLAGS="-I$d/include/$v"
-+              BERKELEY_DB_LIB="-l$v"
-+              AC_MSG_RESULT($d)
+--- configure.ac.orig  2004-08-09 20:55:01.000000000 -0400
++++ configure.ac       2004-08-09 20:55:48.000000000 -0400
+@@ -159,4 +159,5 @@
+             if test -f "$BERKELEY_DB_DIR/include/$v/db.h"; then
+                 BERKELEY_DB_CFLAGS="-I$BERKELEY_DB_DIR/include/$v"
 +              break
-+          fi
-+      done
-+    fi
-+    if test x"$BERKELEY_DB_LIB" = "x"; then
-         AC_MSG_ERROR(Cannot find BerkeleyDB)
-     fi
-     AC_DEFINE(USE_BERKELEY_DB, 1, [Define if BerkeleyDB is available.])
+             fi
+         done
+@@ -166,4 +167,5 @@
+             if test -f "$BERKELEY_DB_DIR/lib/lib$v.so"; then
+                 BERKELEY_DB_LIB="-l$v"
++              break
+             fi
+         done
diff -r 1011f015faeb -r 88b4af4b1683 sysutils/cfengine2/patches/patch-aj
--- a/sysutils/cfengine2/patches/patch-aj       Tue Aug 10 14:09:19 2004 +0000
+++ b/sysutils/cfengine2/patches/patch-aj       Tue Aug 10 14:18:44 2004 +0000
@@ -1,43 +1,33 @@
-$NetBSD: patch-aj,v 1.2 2003/05/29 21:08:27 seb Exp $
+$NetBSD: patch-aj,v 1.3 2004/08/10 14:18:44 ben Exp $
 
---- contrib/Makefile.in.orig   2003-05-28 16:55:26.000000000 +0000
-+++ contrib/Makefile.in
-@@ -145,9 +145,12 @@ target_vendor = @target_vendor@
- s1 = cfdoc
- s2 = cfengine.el
- 
--sbin_SCRIPTS = vicf $(s1)
-+sbin_SCRIPTS = $(s1)
+--- contrib/Makefile.in.orig   2004-08-09 13:27:41.000000000 -0400
++++ contrib/Makefile.in        2004-08-09 20:44:12.000000000 -0400
+@@ -50,5 +50,7 @@
+ pkgdataSCRIPT_INSTALL = $(INSTALL_SCRIPT)
+ sbinSCRIPT_INSTALL = $(INSTALL_SCRIPT)
+-SCRIPTS = $(pkgdata_SCRIPTS) $(sbin_SCRIPTS)
++SCRIPTS = $(example_SCRIPTS) $(pkgdata_SCRIPTS) $(sbin_SCRIPTS)
++depcomp =
++am__depfiles_maybe =
+ SOURCES =
+ DIST_SOURCES =
+@@ -168,4 +170,6 @@
+ sbin_SCRIPTS = vicf $(s1)
  pkgdata_SCRIPTS = $(s2)
- 
 +exampledir = $(prefix)/share/examples/cfengine
 +example_SCRIPTS = vicf
-+
  EXTRA_DIST = README README.vicf $(s1) $(s2)
  
- #
-@@ -178,8 +181,10 @@ ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
- mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
- CONFIG_HEADER = $(top_builddir)/src/conf.h
- CONFIG_CLEAN_FILES = vicf
--SCRIPTS = $(pkgdata_SCRIPTS) $(sbin_SCRIPTS)
-+SCRIPTS = $(example_SCRIPTS) $(pkgdata_SCRIPTS) $(sbin_SCRIPTS)
+@@ -205,5 +209,5 @@
+         esac; \
+       done; \
+-      echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu  contrib/Makefile'; \
++      echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign  contrib/Makefile'; \
+       cd $(top_srcdir) && \
+         $(AUTOMAKE) --gnu  contrib/Makefile
+@@ -218,4 +222,26 @@
+       esac;
  
-+depcomp =
-+am__depfiles_maybe =
- DIST_SOURCES =
- DIST_COMMON = README Makefile.am Makefile.in vicf.in
- all: all-am
-@@ -187,11 +192,31 @@ all: all-am
- .SUFFIXES:
- $(srcdir)/Makefile.in:  Makefile.am  $(top_srcdir)/configure.ac $(ACLOCAL_M4)
-       cd $(top_srcdir) && \
--        $(AUTOMAKE) --gnu  contrib/Makefile
-+        $(AUTOMAKE) --foreign  --ignore-deps contrib/Makefile
- Makefile:  $(srcdir)/Makefile.in  $(top_builddir)/config.status
-       cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)
- vicf: $(top_builddir)/config.status vicf.in
-       cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@
 +exampleSCRIPT_INSTALL = $(INSTALL_SCRIPT)
 +install-exampleSCRIPTS: $(example_SCRIPTS)
 +      @$(NORMAL_INSTALL)
@@ -58,29 +48,18 @@
 +        echo " rm -f $(DESTDIR)$(exampledir)/$$f"; \
 +        rm -f $(DESTDIR)$(exampledir)/$$f; \
 +      done
- pkgdataSCRIPT_INSTALL = $(INSTALL_SCRIPT)
- install-pkgdataSCRIPTS: $(pkgdata_SCRIPTS)
-       @$(NORMAL_INSTALL)
-@@ -276,7 +301,7 @@ check: check-am
- all-am: Makefile $(SCRIPTS)
- 
- installdirs:
--      $(mkinstalldirs) $(DESTDIR)$(pkgdatadir) $(DESTDIR)$(sbindir)
-+      $(mkinstalldirs) $(DESTDIR)$(exampledir) $(DESTDIR)$(pkgdatadir) $(DESTDIR)$(sbindir)
- 
- install: install-am
- install-exec: install-exec-am
-@@ -322,7 +347,7 @@ info: info-am
- 
++
++
+ $(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
+       cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
+@@ -353,5 +379,5 @@
  info-am:
  
 -install-data-am: install-pkgdataSCRIPTS
 +install-data-am: install-exampleSCRIPTS install-pkgdataSCRIPTS
  
  install-exec-am: install-sbinSCRIPTS
- 
-@@ -348,17 +373,18 @@ ps: ps-am
- 
+@@ -379,15 +405,16 @@
  ps-am:
  
 -uninstall-am: uninstall-info-am uninstall-pkgdataSCRIPTS \
@@ -89,20 +68,19 @@
 +      uninstall-pkgdataSCRIPTS uninstall-sbinSCRIPTS



Home | Main Index | Thread Index | Old Index