pkgsrc-WIP-changes archive

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

cfengine: remove, newer versions in sysutils/cfengine[23]



Module Name:	pkgsrc-wip
Committed By:	Thomas Klausner <wiz%NetBSD.org@localhost>
Pushed By:	wiz
Date:		Wed Aug 16 22:27:10 2017 +0200
Changeset:	e50b7b561dcad4dd7b60a3e52a4f804a544660f5

Modified Files:
	Makefile
Removed Files:
	cfengine/DESCR
	cfengine/MESSAGE
	cfengine/Makefile
	cfengine/Makefile.common
	cfengine/PLIST
	cfengine/TODO
	cfengine/distinfo
	cfengine/files/cfenvd.sh
	cfengine/files/cfexecd.sh
	cfengine/files/cfservd.sh
	cfengine/patches/patch-ae
	cfengine/patches/patch-af
	cfengine/patches/patch-al

Log Message:
cfengine: remove, newer versions in sysutils/cfengine[23]

To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=e50b7b561dcad4dd7b60a3e52a4f804a544660f5

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

diffstat:
 Makefile                  |  1 -
 cfengine/DESCR            |  6 -----
 cfengine/MESSAGE          | 27 --------------------
 cfengine/Makefile         | 63 -----------------------------------------------
 cfengine/Makefile.common  | 14 -----------
 cfengine/PLIST            | 55 -----------------------------------------
 cfengine/TODO             |  9 -------
 cfengine/distinfo         |  8 ------
 cfengine/files/cfenvd.sh  | 15 -----------
 cfengine/files/cfexecd.sh | 42 -------------------------------
 cfengine/files/cfservd.sh | 16 ------------
 cfengine/patches/patch-ae | 20 ---------------
 cfengine/patches/patch-af | 13 ----------
 cfengine/patches/patch-al | 18 --------------
 14 files changed, 307 deletions(-)

diffs:
diff --git a/Makefile b/Makefile
index c4977de8a6..8ad6980a62 100644
--- a/Makefile
+++ b/Makefile
@@ -329,7 +329,6 @@ SUBDIR+=	cdirip
 SUBDIR+=	cdogs
 SUBDIR+=	cdpr
 SUBDIR+=	cedet
-SUBDIR+=	cfengine
 SUBDIR+=	cglib
 SUBDIR+=	cgnslib
 SUBDIR+=	cgterm
diff --git a/cfengine/DESCR b/cfengine/DESCR
deleted file mode 100644
index 99d78817c8..0000000000
--- a/cfengine/DESCR
+++ /dev/null
@@ -1,6 +0,0 @@
-Cfengine, or the "configuration engine" is a very high level language
-for building expert systems which administrate and configure large
-computer networks. Cfengine uses the idea of classes and a primitive
-form of intelligence to define and automate the configuration of
-large systems in the most economical way possible. Cfengine is
-designed to be a part of computer immune system.
diff --git a/cfengine/MESSAGE b/cfengine/MESSAGE
deleted file mode 100644
index 083f7bea6f..0000000000
--- a/cfengine/MESSAGE
+++ /dev/null
@@ -1,27 +0,0 @@
-===========================================================================
-$NetBSD: MESSAGE,v 1.3 2006/04/20 07:08:27 ahallmann Exp $
-$Id: MESSAGE,v 1.3 2006/04/20 07:08:27 ahallmann Exp $
-
-To set up cfengine, install sysutils/cfengine2-doc and see:
-${PREFIX}/share/doc/html/cfengine/cfengine-Tutorial.html
-
-At a minimum, you will need:
-
-1. ${VARBASE}/cfengine/inputs/update.conf
-
-2. Manually add the "cfengine" service to /etc/services or
-   automate it in ${VARBASE}/cfengine/inputs/cfagent.conf:
-
-editfiles:
-
- { /etc/services
-
-   Backup "false"
-   AppendIfNoSuchLine "cfengine 5308/tcp # CFengine"
- }
-
-3. Once you are happy using cfengine, you will want it to
-   run least once per hour.  This is easily achieved by
-   adding the following line to the root crontab:
-     7,37 * * * * ${PREFIX}/sbin/cfexecd -F
-===========================================================================
diff --git a/cfengine/Makefile b/cfengine/Makefile
deleted file mode 100644
index b13df74a08..0000000000
--- a/cfengine/Makefile
+++ /dev/null
@@ -1,63 +0,0 @@
-# $NetBSD: Makefile,v 1.18 2012/09/24 18:26:52 asau Exp $
-# $Id: Makefile,v 1.18 2012/09/24 18:26:52 asau Exp $
-
-
-.include "Makefile.common"
-
-PKGREVISION=		3
-
-PKG_OPTIONS_VAR=	PKG_OPTIONS.cfengine2
-PKG_SUPPORTED_OPTIONS=	static cfengine-thread
-PKG_SUGGESTED_OPTIONS=	static cfengine-thread
-
-.include "../../mk/bsd.options.mk"
-
-COMMENT=	Automate configuration and administration of large systems, networks
-
-GNU_CONFIGURE=		YES
-PTHREAD_OPTS+=		require
-
-BUILD_DEFS+=		IPV6_READY
-
-CONFIGURE_ARGS+=	--with-berkeleydb=${BUILDLINK_PREFIX.db4:Q}
-CONFIGURE_ARGS+=	--with-openssl=${BUILDLINK_PREFIX.openssl:Q}
-
-INSTALLATION_DIRS+=	${PKGMANDIR}/man8 share/examples/cfengine
-
-RCD_SCRIPTS=		cfexecd cfservd cfenvd
-
-# PR#33028
-# Cfengine needs flex not lex.
-# On netbsd flex=lex, so USE_TOOLS doesn't do anything.
-# But other platforms i.e. Solaris need this.
-
-USE_TOOLS+=		flex yacc perl:run
-REPLACE_PERL+=		contrib/cfdoc
-
-.if (empty(PKG_OPTIONS:Mcfengine-pthread))
-CONFIGURE_ARGS+= --without-pthreads
-.else
-PTHREAD_OPTS+=		require
-.include "../../mk/pthread.buildlink3.mk"
-.endif
-
-#
-# static linking should be prefered for cfengine
-# as it likes to distribute itself as a binary
-# for boot-straping.
-#
-.if (!empty(PKG_OPTIONS:Mstatic))
-LDFLAGS+= -static
-BUILDLINK_DEPMETHOD.db4=build
-BUILDLINK_DEPMETHOD.openssl=build
-.endif
-
-post-install:
-	${INSTALL_MAN} ${WRKSRC:Q}/doc/*.8 ${PREFIX:Q}/${PKGMANDIR}/man8
-	${INSTALL_DATA} ${WRKSRC:Q}/inputs/*.example \
-		${PREFIX:Q}/share/examples/cfengine/
-	${INSTALL_DATA_DIR} ${VARBASE:Q}/cfengine/inputs
-
-.include "../../databases/db4/buildlink3.mk"
-.include "../../security/openssl/buildlink3.mk"
-.include "../../mk/bsd.pkg.mk"
diff --git a/cfengine/Makefile.common b/cfengine/Makefile.common
deleted file mode 100644
index e21829aff8..0000000000
--- a/cfengine/Makefile.common
+++ /dev/null
@@ -1,14 +0,0 @@
-# $NetBSD: Makefile.common,v 1.3 2006/04/20 07:08:27 ahallmann Exp $
-# $Id: Makefile.common,v 1.3 2006/04/20 07:08:27 ahallmann Exp $
-
-CFENGINE_VERSION= 2.1.17
-DISTNAME=	cfengine-${CFENGINE_VERSION}
-CATEGORIES=	sysutils net
-MASTER_SITES=	ftp://ftp.iu.hio.no/pub/cfengine/ \
-		http://sunsite.utk.edu/ftp/pub/cfengine/cfengine-ftp/
-
-MAINTAINER=	hallmann%ahatec.de@localhost
-HOMEPAGE=	http://www.cfengine.org/
-
-DISTINFO_FILE=	${.CURDIR}/distinfo
-PATCHDIR=	${.CURDIR}/patches
diff --git a/cfengine/PLIST b/cfengine/PLIST
deleted file mode 100644
index ec2d591549..0000000000
--- a/cfengine/PLIST
+++ /dev/null
@@ -1,55 +0,0 @@
-@comment $NetBSD: PLIST,v 1.6 2009/10/11 11:18:12 thomasklausner Exp $
-man/man8/cfagent.8
-man/man8/cfengine.8
-man/man8/cfenvd.8
-man/man8/cfenvgraph.8
-man/man8/cfetoolcheck.8
-man/man8/cfetoolcreate.8
-man/man8/cfetooldump.8
-man/man8/cfetoolgraph.8
-man/man8/cfetoolimport.8
-man/man8/cfetoolinfo.8
-man/man8/cfetoolupdate.8
-man/man8/cfexecd.8
-man/man8/cfkey.8
-man/man8/cfrun.8
-man/man8/cfservd.8
-man/man8/cfshow.8
-sbin/cfagent
-sbin/cfdoc
-sbin/cfenvd
-sbin/cfenvgraph
-sbin/cfetool
-sbin/cfetoolgraph
-sbin/cfexecd
-sbin/cfkey
-sbin/cfrun
-sbin/cfservd
-sbin/cfshow
-share/cfengine/cfengine.el
-share/cfengine/ChangeLog
-share/cfengine/INSTALL
-share/cfengine/NEWS
-share/cfengine/README
-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/rc.d/cfenvd
-share/examples/rc.d/cfexecd
-share/examples/rc.d/cfservd
diff --git a/cfengine/TODO b/cfengine/TODO
deleted file mode 100644
index 1142563fb6..0000000000
--- a/cfengine/TODO
+++ /dev/null
@@ -1,9 +0,0 @@
-$Id: TODO,v 1.2 2006/04/20 07:08:27 ahallmann Exp $
-
-Modify the follwing to have some automation about ${VARBASE}
-
-files/cfexecd.sh:required_files="/var/cfengine/inputs/update.conf"
-files/cfexecd.sh:        if [ -f /var/cfengine/ppkeys/localhost.priv ]; then
-files/cfexecd.sh:                    "in /var/cfengine/ppkeys/localhost.priv"
-files/cfexecd.sh:        if [ ! -f /var/cfengine/ppkeys/localhost.priv ]; then
-files/cfservd.sh:required_files="/var/cfengine/inputs/cfservd.conf"
diff --git a/cfengine/distinfo b/cfengine/distinfo
deleted file mode 100644
index ff96dbae23..0000000000
--- a/cfengine/distinfo
+++ /dev/null
@@ -1,8 +0,0 @@
-$NetBSD: distinfo,v 1.5 2006/12/03 14:33:43 shattered Exp $
-
-SHA1 (cfengine-2.1.17.tar.gz) = 80cedc21a1d22098d587c01e0330c44747d5c025
-RMD160 (cfengine-2.1.17.tar.gz) = 82a1d1003957502838c3a5b22c474f0d2dfb5ccb
-Size (cfengine-2.1.17.tar.gz) = 3613861 bytes
-SHA1 (patch-ae) = 99496b14f80c8605886cd78a520af4d1c6cc0475
-SHA1 (patch-af) = 33b643b422c95351859bcd6a775c0a6d706d553d
-SHA1 (patch-al) = a54b3d4a03e337ce386fba0ced71c8280132e85d
diff --git a/cfengine/files/cfenvd.sh b/cfengine/files/cfenvd.sh
deleted file mode 100644
index d2ff492d8a..0000000000
--- a/cfengine/files/cfenvd.sh
+++ /dev/null
@@ -1,15 +0,0 @@
-#!@RCD_SCRIPTS_SHELL@
-#
-# $NetBSD: cfenvd.sh,v 1.1.1.1 2006/04/19 10:30:20 ahallmann Exp $
-
-# PROVIDE: cfenvd
-# REQUIRE: cfexecd
-
-. /etc/rc.subr
-
-name="cfenvd"
-rcvar=$name
-command="@PREFIX@/sbin/${name}"
-
-load_rc_config $name
-run_rc_command "$1"
diff --git a/cfengine/files/cfexecd.sh b/cfengine/files/cfexecd.sh
deleted file mode 100644
index 835ab2505b..0000000000
--- a/cfengine/files/cfexecd.sh
+++ /dev/null
@@ -1,42 +0,0 @@
-#!@RCD_SCRIPTS_SHELL@
-#
-# $NetBSD: cfexecd.sh,v 1.1.1.1 2006/04/19 10:30:20 ahallmann Exp $
-#
-# 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"
diff --git a/cfengine/files/cfservd.sh b/cfengine/files/cfservd.sh
deleted file mode 100644
index 80823a4865..0000000000
--- a/cfengine/files/cfservd.sh
+++ /dev/null
@@ -1,16 +0,0 @@
-#!@RCD_SCRIPTS_SHELL@
-#
-# $NetBSD: cfservd.sh,v 1.1.1.1 2006/04/19 10:30:20 ahallmann Exp $
-
-# 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"
diff --git a/cfengine/patches/patch-ae b/cfengine/patches/patch-ae
deleted file mode 100644
index bfb00a610e..0000000000
--- a/cfengine/patches/patch-ae
+++ /dev/null
@@ -1,20 +0,0 @@
-$NetBSD: patch-ae,v 1.1.1.1 2006/04/19 10:30:20 ahallmann Exp $
-
---- src/image.c.orig	Thu Feb 15 07:23:22 2001
-+++ src/image.c
-@@ -206,9 +206,12 @@
-    DeleteItemList(namecache);
-    }
-  
--DeleteCompressedArray(ip->inode_cache);
--
--ip->inode_cache = NULL;
-+	/* Only flush when exiting initial call to RecursiveImage() */
-+if (strcmp(from,ip->path) == 0)
-+   {
-+   DeleteCompressedArray(ip->inode_cache);
-+   ip->inode_cache = NULL;
-+   }
- 
- cfclosedir(dirh);
- }
diff --git a/cfengine/patches/patch-af b/cfengine/patches/patch-af
deleted file mode 100644
index 11ef4b34ae..0000000000
--- a/cfengine/patches/patch-af
+++ /dev/null
@@ -1,13 +0,0 @@
-$NetBSD: patch-af,v 1.1.1.1 2006/04/19 10:30:20 ahallmann Exp $
-
---- configure.orig	2005-10-16 16:47:21.000000000 -0400
-+++ configure	2005-10-16 16:47:05.000000000 -0400
-@@ -8545,4 +8545,8 @@
- 		break
-             fi
-+            if test -f "$BERKELEY_DB_DIR/lib/lib$v.dylib"; then
-+                BERKELEY_DB_LIB="-l$v"
-+		break
-+            fi
-         done
- 
diff --git a/cfengine/patches/patch-al b/cfengine/patches/patch-al
deleted file mode 100644
index 21034ae507..0000000000
--- a/cfengine/patches/patch-al
+++ /dev/null
@@ -1,18 +0,0 @@
-$NetBSD: patch-al,v 1.1.1.1 2006/04/19 10:30:20 ahallmann Exp $
-
---- Makefile.in.orig	2005-10-16 15:35:50.000000000 -0400
-+++ Makefile.in	2005-10-16 15:36:30.000000000 -0400
-@@ -73,5 +73,5 @@
- ETAGS = etags
- CTAGS = ctags
--DIST_SUBDIRS = pub src contrib inputs doc
-+DIST_SUBDIRS = pub src contrib doc
- DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
- distdir = $(PACKAGE)-$(VERSION)
-@@ -200,5 +200,5 @@
- @BUILD_DOC_FALSE@DOC_DIR = 
- @BUILD_DOC_TRUE@DOC_DIR = doc
--SUBDIRS = pub src contrib inputs $(DOC_DIR)
-+SUBDIRS = pub src contrib $(DOC_DIR)
- EXTRA_DIST = acconfig.h doc/cfengine.8 COPYING ChangeLog INSTALL NEWS README
- docdir = $(pkgdatadir)


Home | Main Index | Thread Index | Old Index