head 1.9; access; symbols pkgsrc-2021Q1:1.8.0.20 pkgsrc-2021Q1-base:1.8 pkgsrc-2020Q4:1.8.0.18 pkgsrc-2020Q4-base:1.8 pkgsrc-2020Q3:1.8.0.16 pkgsrc-2020Q3-base:1.8 pkgsrc-2020Q2:1.8.0.14 pkgsrc-2020Q2-base:1.8 pkgsrc-2020Q1:1.8.0.10 pkgsrc-2020Q1-base:1.8 pkgsrc-2019Q4:1.8.0.12 pkgsrc-2019Q4-base:1.8 pkgsrc-2019Q3:1.8.0.8 pkgsrc-2019Q3-base:1.8 pkgsrc-2019Q2:1.8.0.6 pkgsrc-2019Q2-base:1.8 pkgsrc-2019Q1:1.8.0.4 pkgsrc-2019Q1-base:1.8 pkgsrc-2018Q4:1.8.0.2 pkgsrc-2018Q4-base:1.8 pkgsrc-2018Q3:1.7.0.70 pkgsrc-2018Q3-base:1.7 pkgsrc-2018Q2:1.7.0.68 pkgsrc-2018Q2-base:1.7 pkgsrc-2018Q1:1.7.0.66 pkgsrc-2018Q1-base:1.7 pkgsrc-2017Q4:1.7.0.64 pkgsrc-2017Q4-base:1.7 pkgsrc-2017Q3:1.7.0.62 pkgsrc-2017Q3-base:1.7 pkgsrc-2017Q2:1.7.0.58 pkgsrc-2017Q2-base:1.7 pkgsrc-2017Q1:1.7.0.56 pkgsrc-2017Q1-base:1.7 pkgsrc-2016Q4:1.7.0.54 pkgsrc-2016Q4-base:1.7 pkgsrc-2016Q3:1.7.0.52 pkgsrc-2016Q3-base:1.7 pkgsrc-2016Q2:1.7.0.50 pkgsrc-2016Q2-base:1.7 pkgsrc-2016Q1:1.7.0.48 pkgsrc-2016Q1-base:1.7 pkgsrc-2015Q4:1.7.0.46 pkgsrc-2015Q4-base:1.7 pkgsrc-2015Q3:1.7.0.44 pkgsrc-2015Q3-base:1.7 pkgsrc-2015Q2:1.7.0.42 pkgsrc-2015Q2-base:1.7 pkgsrc-2015Q1:1.7.0.40 pkgsrc-2015Q1-base:1.7 pkgsrc-2014Q4:1.7.0.38 pkgsrc-2014Q4-base:1.7 pkgsrc-2014Q3:1.7.0.36 pkgsrc-2014Q3-base:1.7 pkgsrc-2014Q2:1.7.0.34 pkgsrc-2014Q2-base:1.7 pkgsrc-2014Q1:1.7.0.32 pkgsrc-2014Q1-base:1.7 pkgsrc-2013Q4:1.7.0.30 pkgsrc-2013Q4-base:1.7 pkgsrc-2013Q3:1.7.0.28 pkgsrc-2013Q3-base:1.7 pkgsrc-2013Q2:1.7.0.26 pkgsrc-2013Q2-base:1.7 pkgsrc-2013Q1:1.7.0.24 pkgsrc-2013Q1-base:1.7 pkgsrc-2012Q4:1.7.0.22 pkgsrc-2012Q4-base:1.7 pkgsrc-2012Q3:1.7.0.20 pkgsrc-2012Q3-base:1.7 pkgsrc-2012Q2:1.7.0.18 pkgsrc-2012Q2-base:1.7 pkgsrc-2012Q1:1.7.0.16 pkgsrc-2012Q1-base:1.7 pkgsrc-2011Q4:1.7.0.14 pkgsrc-2011Q4-base:1.7 pkgsrc-2011Q3:1.7.0.12 pkgsrc-2011Q3-base:1.7 pkgsrc-2011Q2:1.7.0.10 pkgsrc-2011Q2-base:1.7 pkgsrc-2011Q1:1.7.0.8 pkgsrc-2011Q1-base:1.7 pkgsrc-2010Q4:1.7.0.6 pkgsrc-2010Q4-base:1.7 pkgsrc-2010Q3:1.7.0.4 pkgsrc-2010Q3-base:1.7 pkgsrc-2010Q2:1.7.0.2 pkgsrc-2010Q2-base:1.7 pkgsrc-2010Q1:1.6.0.16 pkgsrc-2010Q1-base:1.6 pkgsrc-2009Q4:1.6.0.14 pkgsrc-2009Q4-base:1.6 pkgsrc-2009Q3:1.6.0.12 pkgsrc-2009Q3-base:1.6 pkgsrc-2009Q2:1.6.0.10 pkgsrc-2009Q2-base:1.6 pkgsrc-2009Q1:1.6.0.8 pkgsrc-2009Q1-base:1.6 pkgsrc-2008Q4:1.6.0.6 pkgsrc-2008Q4-base:1.6 pkgsrc-2008Q3:1.6.0.4 pkgsrc-2008Q3-base:1.6 cube-native-xorg:1.6.0.2 cube-native-xorg-base:1.6 pkgsrc-2008Q2:1.5.0.8 pkgsrc-2008Q2-base:1.5 cwrapper:1.5.0.6 pkgsrc-2008Q1:1.5.0.4 pkgsrc-2008Q1-base:1.5 pkgsrc-2007Q4:1.5.0.2 pkgsrc-2007Q4-base:1.5 pkgsrc-2007Q3:1.3.0.26 pkgsrc-2007Q3-base:1.3 pkgsrc-2007Q2:1.3.0.24 pkgsrc-2007Q2-base:1.3 pkgsrc-2007Q1:1.3.0.22 pkgsrc-2007Q1-base:1.3 pkgsrc-2006Q4:1.3.0.20 pkgsrc-2006Q4-base:1.3 pkgsrc-2006Q3:1.3.0.18 pkgsrc-2006Q3-base:1.3 pkgsrc-2006Q2:1.3.0.16 pkgsrc-2006Q2-base:1.3 pkgsrc-2006Q1:1.3.0.14 pkgsrc-2006Q1-base:1.3 pkgsrc-2005Q4:1.3.0.12 pkgsrc-2005Q4-base:1.3 pkgsrc-2005Q3:1.3.0.10 pkgsrc-2005Q3-base:1.3 pkgsrc-2005Q2:1.3.0.8 pkgsrc-2005Q2-base:1.3 pkgsrc-2005Q1:1.3.0.6 pkgsrc-2005Q1-base:1.3 pkgsrc-2004Q4:1.3.0.4 pkgsrc-2004Q4-base:1.3 pkgsrc-2004Q3:1.3.0.2 pkgsrc-2004Q3-base:1.3 pkgsrc-2004Q2:1.2.0.6 pkgsrc-2004Q2-base:1.2 pkgsrc-2004Q1:1.2.0.4 pkgsrc-2004Q1-base:1.2 pkgsrc-2003Q4:1.2.0.2 pkgsrc-2003Q4-base:1.2 netbsd-1-6-1:1.1.1.1.0.2 netbsd-1-6-1-base:1.1.1.1 pkgsrc-base:1.1.1.1 TNF:1.1.1; locks; strict; comment @# @; 1.9 date 2021.05.15.10.27.16; author nia; state dead; branches; next 1.8; commitid t7HkmzpAGx8koeTC; 1.8 date 2018.10.01.10.05.24; author jperkin; state Exp; branches; next 1.7; commitid JFfvmXnRUFb22fUA; 1.7 date 2010.05.09.22.09.30; author pettai; state Exp; branches; next 1.6; 1.6 date 2008.09.07.10.14.31; author rhaen; state Exp; branches; next 1.5; 1.5 date 2007.12.10.14.12.41; author rhaen; state Exp; branches; next 1.4; 1.4 date 2007.12.09.22.45.14; author rhaen; state Exp; branches; next 1.3; 1.3 date 2004.08.10.14.18.44; author ben; state dead; branches; next 1.2; 1.2 date 2003.05.29.21.08.27; author seb; state Exp; branches; next 1.1; 1.1 date 2002.12.22.13.04.38; author seb; state Exp; branches 1.1.1.1; next ; 1.1.1.1 date 2002.12.22.13.04.38; author seb; state Exp; branches; next ; desc @@ 1.9 log @Remove cfengine2, broken and replaced by cfengine3 ages ago @ text @$NetBSD: patch-ab,v 1.8 2018/10/01 10:05:24 jperkin Exp $ Remove bogus _POSIX_C_SOURCE setting. --- configure.orig 2009-04-11 19:59:34.000000000 +0000 +++ configure @@@@ -16104,7 +16104,7 @@@@ $as_echo "$BERKELEY_DB_DIR" >&6; } elif test -d "$BERKELEY_DB_DIR"; then BERKELEY_DB_CFLAGS="-I$BERKELEY_DB_DIR/include" - for v in . db47 db46 db45 db44 db43 db42 db41 db40 db4 db33 db32 db3 db; do + for v in . db47 db46 db45 db44 db43 db42 db41 db40 db4 db33 db32 db3 db db4; do if test -f "$BERKELEY_DB_DIR/include/$v/db.h"; then BERKELEY_DB_CFLAGS="-I$BERKELEY_DB_DIR/include/$v" break @@@@ -16112,7 +16112,7 @@@@ $as_echo "$BERKELEY_DB_DIR" >&6; } done BERKELEY_DB_LIB="-ldb" - for v in db-4.7 db4.7 db47 db-4.6 db4.6 db46 db-4.5 db4.5 db45 db-4.4 db4.4 db44; do + for v in db-4.7 db4.7 db47 db-4.6 db4.6 db46 db-4.5 db4.5 db45 db-4.4 db4.4 db44 db4; do if test -f "$BERKELEY_DB_DIR/lib/lib$v.so"; then BERKELEY_DB_LIB="-l$v" break @@@@ -22778,9 +22778,6 @@@@ else $as_echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 - cat >>confdefs.h <<\_ACEOF -#define _POSIX_C_SOURCE 200112loL -_ACEOF fi @ 1.8 log @cfengine2: Remove bogus _POSIX_C_SOURCE setting. @ text @d1 1 a1 1 $NetBSD: patch-ab,v 1.7 2010/05/09 22:09:30 pettai Exp $ @ 1.7 log @Updated to version 2.2.10 Protocol fix, potential integer error in server decoding. @ text @d1 1 a1 1 $NetBSD$ d3 5 a7 3 --- configure.orig 2010-03-22 15:25:59.000000000 +0100 +++ configure 2010-03-22 15:27:57.000000000 +0100 @@@@ -16104,7 +16104,7 @@@@ d16 1 a16 1 @@@@ -16112,7 +16112,7 @@@@ d25 10 @ 1.6 log @Updated to version 2.2.8 ChangeLog: 2.2.8 Patch for cfservd serving wrong data when link->copy Checksum changes now trigger persistent class "checksum_alerts" and log to WORKDIR/state/file_hash_event_history Threading error fix for cfexecd Windows compilation fixes. Note that windows users might have to move keys and files from /home/user/.cfagent to /var/cfengine after the standardization of administrator paths for windows where getuid != 0. 2.2.7 Memory leak in database access, affecting cfenvd 2.2.6 Xen detection Bug in popen - incorrect placement of conditional in setting groups added in 2.2.4. Sensor code added for linux cfenvd. Ready for patches for other systems. Cpu utilization and temperature measurement added for linux where available Bug reported in installable-negated classes. Patch by jack/SiliconSlick Bugfix for class defined by directories 2.2.5 No content changes since 2.2.4, just fixes a packaging error. (Mark's Easter turkey) 2.2.4p Blunder in makefile change. Compilation error fixed. 2.2.4 Build changes. libpub is now an installed library libcfpub.so/a so that cfengine 3 can find it. Documentation is no longer distributed in the tarball, since most people will use the online version. Also, enhanced documentation is now available for any user who registers (free) at cfengine.com. compress=true option in tidy was missing from documentation, and left uninitialized during purging leading to attempts to compress files instead of deleting. Bugfix for empty strings in editfiles. Links did not get removed with nolink=kill. Code changes apparently broken earlier. Fixed. rxdirs= added to files. Default is false. If set to true, cfengine will not assume that x-bits should be set when r is set on directory permissions. Group initialization to popen, so shellcommands groups are consistent with uid login id Rpm fix for package removal. @ text @d3 3 a5 3 --- configure.orig 2008-08-26 10:26:51.000000000 +0200 +++ configure 2008-08-26 10:27:42.000000000 +0200 @@@@ -24254,7 +24254,7 @@@@ d9 2 a10 2 - for v in . db46 db45 db44 db43 db42 db41 db40 db4 db33 db32 db3 db; do + for v in . db46 db45 db44 db43 db42 db41 db40 db4 db33 db32 db3 db db4; do d14 1 a14 1 @@@@ -24262,7 +24262,7 @@@@ d18 2 a19 2 - for v in db-4.6 db4.6 db46 db-4.5 db4.5 db45 db-4.4 db4.4 db44; do + for v in db-4.6 db4.6 db46 db-4.5 db4.5 db45 db-4.4 db4.4 db44 db4; do @ 1.5 log @corrected error in header of patch-ab @ text @d3 12 a14 12 --- configure.orig 2007-12-01 13:42:22.000000000 +0100 +++ configure 2007-12-08 11:14:08.000000000 +0100 @@@@ -25141,7 +25141,7 @@@@ return 0; } _ACEOF -for ac_lib in '' db-4 db4 db-4.6 db-4.5 db-4.4 db-4.3 db-4.2 db-4.1 db-4.0; do +for ac_lib in '' db4 db-4 db4 db-4.6 db-4.5 db-4.4 db-4.3 db-4.2 db-4.1 db-4.0; do if test -z "$ac_lib"; then ac_res="none required" else @@@@ -25273,7 +25273,7 @@@@ @ 1.4 log @- updated to 2.2.3 - new maintainer - PKG_DESTDIR_SUPPORT - ok by joerg 2.2.3 Feedback release after 2.2.2 and LISA 07, minor tweaks and bug fixes "Harmless features" IgnoreInterfaceRegex( "vm.*" ) added to control function added for removing data from special interfaces from class data Option checkroot=true/false added to copy directive. This switches on/off the change in 2.2.2 about setting permissions on the destination root when recursively copying files. Default is now false. Can escape colons in the strings now to avoid confusion with expansion separator. cfenvgraph --erasehistory users,www_in etc will now set the average and variance of learned cfenvd data to zero. The current week's trace is not affected. audit=true/false flag added to most actions 2.2.2 The build procedure for cfengine changes in this version to incorporate an intermediate library. The default behaviour is now to build a static library which will be used by cfengine 3 and other application interfaces. To build a shared library, use --enable-shared=yes NOTE to developers: if running from the compiled code you now need to delete the files cfagent cfservd etc and recompile to see changes appear in the code. This is due to the libtool build process. libtoolizing compilation process for migration to cfengine shared library (this is to support mulitple interfaces in future, and cf 3) -- XML and HTML output options added to equip the internal instrumentation with readable output in cfshow e.g. cfshow --performance --html > output.html firefox output.html provides an easier summary and searchability in browser function Instrumentation changed to use realtime functions where possible. Standard unix timer is too insensitive to measure performance. The beginning of an integrated auditing system has been added. See references to AuditLog() in the code. This logs to a compressed database and can be extracted in ascii, html, xml using cfshow, e.g. cfshow --audit --html > output.html Auditing is switched on by control: cfinputs_version = ( 1.2.1 ) # record this version in log, e.g. cvs revision Auditing = true -- cfshow --classes also shows the relative frequencies of classes that have occurred on the system and the last time these were observed. cfshow -f cfagent.conf --regex "lin.*" displays all rules in the named file whose classes match the named regular expression. Note that the class "any" is not automatically matched and the search is based on the class text from the file. The output is not related to which classes are currently defined, and it will not recognise the history of classes implicit through class-restricted imported files. -- SCLI interface modifications. -- Intermittency entropy code added to the copy instrumentation for automatic host reliability measurements. Special variable IgnoreFriendRegex = ( regex ) prevents last-seen warnings about hosts matching the named regex -- UserExists("name") and GroupExists("name") functions added to builtin functions. ClassMatch function added in classes/groups to match regular expressions of other classes -- Additional octet variables added on default IPv4 address, for convenience: e.g. 590 : ipv4_2[eth1]=192.168 1895 : ipv4[eth1]=192.168.1.101 2100 : ipv4_1[eth1]=192 4049 : ipv4_3[eth1]=192.168.1 Methods can now expand some list variables, one list only per argument set. This is a limited compromise pending cfengine 3. A patch for expansion of variables in the control part of a program in methods has also been added. Bug fix and code simplication of variable expansion. ----- tied variable expansion added. Allows method workaround for file dissemination by name, e.g. copy from host1.conf -> /dir/host1/file.conf host2.conf -> /dir/host2/file.conf e.g. for virtual or diskless machines ----- Major changes to package manager code by Jo Rhett. Variable expansion fixed by Mark. ----- Option "best" added to checksum= in files action, this allows cross checking of the two best known hash algorithms for each file. Currently this is md5 and sha due to limitations in OpenSSL libcrypto. UnCommentToLineMatching regex added 2.2.1 scli: type section added. This is a special case of shellcommands, which send commands to the special shell scli by Juergen Schoenwaelder for communicating with snmp devices. Code refactoring for package management. Bug fixes for problems introduced in 2.2.0. Copy directory would not set owner correctly on root 2.2.0 Apart from minor changes, this version is about structural internal changes that ease the eventual confluence with cfengine 3 and the work going on behind the scenes there. Every effort is being made to make this change easy for users and existing installations. New features will be introduced into 2.2.x gradually, and the new front-end will eventually merge into this. This version accompanies a new introduction to cfengine published as a SAGE Short Topics book. * Some changes EMANICS extensions and reference testing for context sensitive network navigation patterns using voluntary cooperation contracts. PrintFile("name") function added to alerts !! List expansion in editfiles actions. This is an important change because it can potentially affect existing configurations that contain variables with a list separator in them. EditSplit is used for this. elsdefine fixed in tidy processes with action=warn only install fix ifelapsed/expireafter fixed in editfiles Instrumentation of copy/shellcommands measuring time/averages use cfshow --performance background=true in shellcommands was not implemented! (Fixed) SLES10 recognition RedHat/Fedora further classes SELinux support begun by Jeff Sheltren UCSB, who notes. > Currently, I have editfiles and copy working with selinux security > contexts, although so far copy only has support for regular files; I > haven't worked on links, etc. yet. > Use --enable-selinux during compilation Bug / misleading error message in ReadArray fixed HostRange bug for numericals in hostname fixed by Steve Radar. @ text @d1 2 @ 1.3 log @Update cfengine to 2.1.9, addresses PR#26608. @ text @d1 13 a13 30 $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) d15 6 @ 1.2 log @Update to version 2.0.7p3. Versions 2.0.7p1, 2.0.7p2 and 2.0.7p3 are patch releases. Changes in version 2.0.7: Resolv.conf search directive removed from code. This was wrong, in spite of pressure to put it in. EditBackup -> Backup corrected in manual Check for class definitions that are not installable SMTP client handling patch in cfexecd - must wait for reply AppendIfNoLineMatching replaced with regex, not Setline value ChecksumPurge = ( on ) causes cfagent to purge its checksum database of files that no longer exist. Forgotten built in function RandomInt(a,b) - returns a random number in variable assignments. Actually introduced in 2.0.6. Forgot this control: rand = ( RandomInt(4,7) ) Major rewrite of parser - code simplifications - Allowed escaping of quotes in strings and newlines e.g. var1 = ( "a b c\"substring\" d e" ) var2 = ( "a b c" ) Tidy code tidied and bug fixed for new scheduler Moduledirectory defaults to /var/cfengine/modules @ text @d1 1 a1 1 $NetBSD$ @ 1.1 log @Initial revision @ text @d3 6 a8 5 --- Makefile.in.orig Wed Dec 18 08:39:40 2002 +++ Makefile.in Wed Dec 18 08:40:02 2002 @@@@ -94,5 +94,5 @@@@ am__quote = @@am__quote@@ install_sh = @@install_sh@@ d10 1 a10 1 +SUBDIRS = pub src contrib inputs d13 19 @ 1.1.1.1 log @Initial import of Cfengine version 2 into the NetBSD Packages Collection. Provided in PR pkg/19456 by Michael Santos , slighty edited by me. 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 @ text @@