pkgsrc/sysutils/cfengine2/Makefile

39 lines
1 KiB
Makefile
Raw Normal View History

2010-05-11 16:50:27 +02:00
# $NetBSD: Makefile,v 1.32 2010/05/11 14:50:27 pettai Exp $
#
DISTNAME= cfengine-2.2.10
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.
2008-09-07 12:14:31 +02:00
CATEGORIES= sysutils net
2010-04-17 18:22:28 +02:00
MASTER_SITES= http://www.cfengine.org/tarballs/ \
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.
2008-09-07 12:14:31 +02:00
http://ftp.osuosl.org/pub/cfengine/ \
ftp://sunsite.uio.no/pub/cfengine/
MAINTAINER= rhaen@NetBSD.org
HOMEPAGE= http://www.cfengine.org/
COMMENT= Automate configuration and administration of large systems
LICENSE= gnu-gpl-v2
PKG_DESTDIR_SUPPORT= user-destdir
BUILD_DEFS+= IPV6_READY
Update cfengine2 and cfengine2-doc to version 2.0.6. Package changes Vicf moved from $PREFIX/sbin to $PREFIX/share/examples/cfengine as it can really be used as is: site tuning is required. Both packages now share the same distinfo file. Changes in version 2.0.6 SKIPVERIFY removed from AccessControl checks. This was wrongly allowing access to files if they only had an accepted encryption key. SetLine added to AppendIfNoLineMatching to allow current line to be added. ForEachLineIn "/tmp/in" AppendIfNoLineMatching "ThisLine" EndLoop Changed /etc/services reference to port 5308 in ipv6 compatible calls. Efficiency, removed getpwnam from GetFile(). Was unnecessarily looking up the uid multiple times, which delays copying speed. Copy rates improved by five to ten times!! Single copy uses too much cache memory. Optimize by only caching copies that use the singlecopy keyword. Message status change: %s is a link which points to %s, but that file doesn't seem to exist Verbose only Patches to editfiles to check empty files. DefineinGroup added. Changes in version 2.0.5 Cfrun ipv6 patch Syslog messages name patch mountables, binservers variable usage fix backup=timestamp added in copy so that multiple backups can coexist. Other backups use this by default. Cfenvd records loadaverage - and av.db renamed to cf_averages.db since records in av.db no longer compatible. Iteration added to disk paths Typo in filters.c UID -> USER meant that Owner field in filters would not always work for processes. Bug in removal of spaces in process-filter matches could cause some criteria to fail to match. Netstat changed entry in solaris 2.9 Hard class hpux10 -> hpux and the old hpux is deprecated tidy //tmp would start tidying / due to error in ExpandWildcardsAndDo. FIxed Cfenvd netstat state recorded in separate files now in WORKDIR, by protocol and incoming/outgoing. This allows accurate record of the state to which classes refer. excludes and ignores would not appended in a tidy command if a path already existed in another previous command. Fixed so that all excludes and ignores are concatenated for all related paths. Local AF_LOCAL addresses not handled by sockaddr in IPv6 compatible functions. Now returns 127.0.0.1 (why not ::1??) Typo in tidy.c prevented tidy old links from working. Documentation patches. Checksums no longer performed on dry run (-n) in files, but still in copy. No errors written to syslog in dryrun mode. Umask patch in editfiles - umask was not properly installed New copy options / variables singlecopy= and autodefine added. Alerts added as own section alerts: allow users to define a custom message triggered by a class activation. Alerts can also quote state information from cfenvd and the process table. tidy define= does not set class if file could not be tidied. debian detect patch (Andy Stribblehill) cfservd descriptor leak (Andy Stribblehill) cfservd daemonize modification
2003-04-26 10:33:00 +02:00
USE_TOOLS+= flex perl:run
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.
2008-09-07 12:14:31 +02:00
USE_LIBTOOL= yes
GNU_CONFIGURE= YES
CONFIGURE_ARGS+= --with-berkeleydb=${BUILDLINK_PREFIX.db4}
CONFIGURE_ARGS+= --with-openssl=${BUILDLINK_PREFIX.openssl}
PTHREAD_OPTS+= require
- 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.
2007-12-09 23:45:13 +01:00
REPLACE_PERL= contrib/cfdoc
RCD_SCRIPTS= cfexecd cfservd cfenvd
2010-05-11 16:50:27 +02:00
INSTALLATION_DIRS= ${PKGMANDIR}/man8 ${VARBASE}/cfengine/inputs
post-install:
${INSTALL_MAN} ${WRKSRC}/doc/*.8 ${DESTDIR}${PREFIX}/${PKGMANDIR}/man8
2004-05-04 04:07:06 +02:00
.include "../../mk/pthread.buildlink3.mk"
.include "../../databases/db4/buildlink3.mk"
.include "../../security/openssl/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"