head 1.6; access; symbols pkgsrc-2013Q2:1.6.0.42 pkgsrc-2013Q2-base:1.6 pkgsrc-2012Q4:1.6.0.40 pkgsrc-2012Q4-base:1.6 pkgsrc-2011Q4:1.6.0.38 pkgsrc-2011Q4-base:1.6 pkgsrc-2011Q2:1.6.0.36 pkgsrc-2011Q2-base:1.6 pkgsrc-2009Q4:1.6.0.34 pkgsrc-2009Q4-base:1.6 pkgsrc-2008Q4:1.6.0.32 pkgsrc-2008Q4-base:1.6 pkgsrc-2008Q3:1.6.0.30 pkgsrc-2008Q3-base:1.6 cube-native-xorg:1.6.0.28 cube-native-xorg-base:1.6 pkgsrc-2008Q2:1.6.0.26 pkgsrc-2008Q2-base:1.6 pkgsrc-2008Q1:1.6.0.24 pkgsrc-2008Q1-base:1.6 pkgsrc-2007Q4:1.6.0.22 pkgsrc-2007Q4-base:1.6 pkgsrc-2007Q3:1.6.0.20 pkgsrc-2007Q3-base:1.6 pkgsrc-2007Q2:1.6.0.18 pkgsrc-2007Q2-base:1.6 pkgsrc-2007Q1:1.6.0.16 pkgsrc-2007Q1-base:1.6 pkgsrc-2006Q4:1.6.0.14 pkgsrc-2006Q4-base:1.6 pkgsrc-2006Q3:1.6.0.12 pkgsrc-2006Q3-base:1.6 pkgsrc-2006Q2:1.6.0.10 pkgsrc-2006Q2-base:1.6 pkgsrc-2006Q1:1.6.0.8 pkgsrc-2006Q1-base:1.6 pkgsrc-2005Q4:1.6.0.6 pkgsrc-2005Q4-base:1.6 pkgsrc-2005Q3:1.6.0.4 pkgsrc-2005Q3-base:1.6 pkgsrc-2005Q2:1.6.0.2 pkgsrc-2005Q2-base:1.6 pkgsrc-2005Q1:1.5.0.12 pkgsrc-2005Q1-base:1.5 pkgsrc-2004Q4:1.5.0.10 pkgsrc-2004Q4-base:1.5 pkgsrc-2004Q3:1.5.0.8 pkgsrc-2004Q3-base:1.5 pkgsrc-2004Q2:1.5.0.6 pkgsrc-2004Q2-base:1.5 pkgsrc-2004Q1:1.5.0.4 pkgsrc-2004Q1-base:1.5 pkgsrc-2003Q4:1.5.0.2 pkgsrc-2003Q4-base:1.5 netbsd-1-6:1.3.0.8 netbsd-1-6-RELEASE-base:1.3 pkgviews:1.3.0.4 pkgviews-base:1.3 buildlink2:1.3.0.2 buildlink2-base:1.3 netbsd-1-5-PATCH003:1.3 netbsd-1-5-PATCH001:1.2 netbsd-1-5-RELEASE:1.2 netbsd-1-4-PATCH003:1.2 netbsd-1-4-PATCH002:1.1; locks; strict; comment @# @; 1.6 date 2005.04.22.19.03.04; author wiz; state dead; branches; next 1.5; 1.5 date 2003.06.19.11.45.02; author seb; state Exp; branches; next 1.4; 1.4 date 2002.09.26.22.51.01; author jlam; state dead; branches; next 1.3; 1.3 date 2001.06.04.16.18.21; author abs; state Exp; branches; next 1.2; 1.2 date 2000.10.02.16.43.45; author abs; state Exp; branches; next 1.1; 1.1 date 99.11.05.13.52.52; author abs; state Exp; branches; next ; desc @@ 1.6 log @Remove cfengine -- obsoleted by cfengine2. @ text @$NetBSD: patch-ac,v 1.5 2003/06/19 11:45:02 seb Exp $ --- contrib/vicf.in.orig 2002-06-20 13:38:34.000000000 +0000 +++ contrib/vicf.in @@@@ -8,9 +8,9 @@@@ CFINPUTS="${CFINPUTS-"@@pkgdata@@"} export EDITOR CFINPUTS NOPARSE="cf.preconf|cfd.conf" -if [ "`hostname`" != "sentral" ] +if [ "`hostname`" != "CHANGEME" ] then - echo $0 can only be run on host sentral. + echo $0 can only be run on host CHANGEME. exit 1 fi @@@@ -39,7 +39,8 @@@@ EdFile () { i=`expr $i - 1` if [ $i = 0 ] then - echo "\nSorry, file is busy -- try again later." + echo + echo "Sorry, file is busy -- try again later." exit 0 fi sleep 1 @ 1.5 log @Update to version 1.6.5 as requested in PR pkg/19459 by Michael Santos . Package changes: - the vicf script is not usable as is: patch it to make it obvious and install it as an example. - switch to requiring the auto* tools at build time. - While I'm here claim stewardship (before completely removing it from pkgsrc ?). Changes in version 1.6.5: - bug fixes including a security issue with link races. - auto* tools update and commands installation directory change (overridden by this package patch files to keep it the same as previous versions and even cfengine 2.*) XXX Threads support completely removed. From my humble experience it is quite broken in cfengine 1.*. It is only used in cfd and when DCE support is enabled: the latter is not activated in this package and if the former really needs a performance/ability boost you should really consider cfengine 2.*. All in all you should not update but switch to cfengine2 package instead. ;) @ text @d1 1 a1 1 $NetBSD$ @ 1.4 log @buildlink1 -> buildlink2 @ text @d1 1 a1 1 $NetBSD: patch-ac,v 1.3 2001/06/04 16:18:21 abs Exp $ d3 12 a14 13 --- configure.orig Mon Jan 29 19:21:35 2001 +++ configure @@@@ -3856,6 +3856,7 @@@@ echo "$ac_t""$rtry" 1>&6 +if false; then echo $ac_n "checking for main in -lpthread""... $ac_c" 1>&6 echo "configure:3861: checking for main in -lpthread" >&5 ac_lib_var=`echo pthread'_'main | sed 'y%./+-%__p_%'` @@@@ -3981,6 +3982,7 @@@@ done a15 19 +fi echo $ac_n "checking for lchown""... $ac_c" 1>&6 echo "configure:3987: checking for lchown" >&5 @@@@ -4034,6 +4036,7 @@@@ fi +if false; then echo $ac_n "checking for pthread_attr_setstacksize""... $ac_c" 1>&6 echo "configure:4039: checking for pthread_attr_setstacksize" >&5 if eval "test \"`echo '$''{'ac_cv_func_pthread_attr_setstacksize'+set}'`\" = set"; then @@@@ -4228,6 +4231,7 @@@@ echo "$ac_t""no" 1>&6 fi +fi fi d17 10 @ 1.3 log @Update cfengine to 1.6.3 * Expansion of $(dollar) broken in 1.6.0 - fixed * Locking problem in cfd fixed. Problem causing access denied while re-reading config files. MAXTRIES increased for high volume services, was causing premature apoptosis. dest= could not refer to a filename with spaces, fixed. * Made recipient variables in client.c long instead of size_t in rstat, for 64 bits. With %ld in scanf. * Cfengine 1.6.0-1.6.3 introduces filters into processes and files. * 1.6.3 change from Berkeley DB2 to DB3 - not backward compatible!!! Update Berkeley db with cd build_unix ../dist/configure make; make install ln -s /usr/local/BerkeleyDB.3.2 /usr/local/BerkeleyDB 2000-06-13 David Masterson * 1.6.0.a2: re-released to Mark after stupid mistakes. * src/Makefile.am (noinst_HEADERS): add cfparse.h * Makefile.am (EXTRA_DIST): add acconfig.h 2000-06-12 David Masterson * 1.6.0.a2: released to Mark * General: Attempted to convert to reincorporate all my Automake stuff into the release. 2000-06-12 Mark Burgess * 1.6.0-alpha1: released * General: Rewrite of DCE code by Transarc/IBM. Add elsedefine= tag as complement to define=. CompressCommand action=compress in files, tidy, compress=true for compressing files on the fly. Bug in copy with size= fixed. Was ignored if file didn't exist. Modules: in addition to setting classes, can return lines =ENVVAR=value which sets cfengine environment variables. This allows modules to set variables which can be inherited directly by scripts. 2000-05-11 David Masterson * contrib/Makefile.am (pkgdata_SCRIPTS): change cfemacs.el to cfengine.el in keeping with internal documentation. Also renamed the file as well. 2000-05-08 David Masterson * Release: V1.6 released to Mark for verification. * Everything: Many things have been changed and reorganized for the shift to automake generated Makefiles. See the end of the NEWS file for more information. 2000-04-24 David Masterson * ChangeLog: Created and initialized with old VERSION.DIFF ***************** Minor Version 5 ******************** KNOWN BUGS: linux, when making directories, ownership can perms can be wrong. 1.5.4 Added security message in checksum=md5 for cfengine if new files appear Bug in class evaluation with multiple embedded groups fixed Bug in file transfer could hang a server in special circumstances. Bug in secure recursive copy (access denied incorrectly). Type change, size is off_t in cfstat struct Multiple define bug in copy: could cause endless loop Thread counting error fixed in cfd Required/disk suspicious warnings now cause classes to be defined Resolver could delete substring lines Extra measures against Denial of Service attacks on cfd, only one instance of a host-IP may be connected at one time. 1) Multiple connections from the same host are refused by default (before any recv()) 2) A DenyConnectionsFrom list will prevent named IP adresses from connecting (before any recv) or a general AllowConnectionsFrom mask... 3) If the thread table is full for more than five requests, cfd commits suicide (apoptosis) to avoid resource usage by spamming. The control variable "DenyConnectionsFrom = ( ip1 ip2 ... )" allows a list of numerical IP masks to be specified, which cfd will deny connections from. This can be used to prevent hanging connection attacks from malicous hosts and other Denial of Service attacks. e.g. cfd.conf control: AllowConnectionsFrom ( 128.39.89 ) DenyConnectionsFrom = ( 128.39.89.4 ) This is in addition to tcp wrapper stuff, but the TCP wrapper code cannot protect against denial of service attacks. typecheck=false in copy switches off error messages on type mismatch. @ text @d1 1 a1 1 $NetBSD$ @ 1.2 log @Update to 1.5.3nb3: Always pass %s to syslog to avoid potential format string exploit. (Action based on alert by Pekka Savola on Bugtraq) @ text @d3 33 a35 10 --- src/encrypt.c.orig Wed Aug 11 10:32:33 1999 +++ src/encrypt.c @@@@ -39,6 +39,8 @@@@ #ifdef HAVE_LIBCRYPTO /* must be des.h from OpenSSL */ # ifdef HAVE_OPENSSL_DES_H # include +# else +# undef HAVE_LIBCRYPTO # endif #endif @ 1.1 log @Add cfengine to sysutils SUBDIRS Add patches to set the correct Class based on the netmask (in the process of submitting all patches back to the maintainer) @ text @d1 12 a12 10 $NetBSD: patch-ab,v 1.1.1.1 1999/10/10 23:13:07 abs Exp $ --- src/install.c.orig Fri Nov 5 06:44:50 1999 +++ src/install.c Fri Nov 5 10:38:31 1999 @@@@ -153,6 +153,7 @@@@ FatalError("Redefinition of basic system variable"); } strcpy(VNETMASK,value); + AddNetworkClass(VNETMASK); break; @