149 Commits

Author SHA256 Message Date
Klaus Kämpf
332c4efef0 SLES does not have fakeroot
OBS-URL: https://build.opensuse.org/package/show/systemsmanagement/cfengine?expand=0&rev=127
2015-06-17 14:22:50 +00:00
Klaus Kämpf
cf0dde5aac - Fix Fedora/RHEL builds
OBS-URL: https://build.opensuse.org/package/show/systemsmanagement/cfengine?expand=0&rev=126
2015-06-17 13:29:35 +00:00
Tomáš Chvátal
4d3f7735a7 - Partial fix for bnc#923417:
* 0001-Do-not-use-insecure-MD5-but-rather-SHA256.patch

OBS-URL: https://build.opensuse.org/package/show/systemsmanagement/cfengine?expand=0&rev=124
2015-03-23 10:20:00 +00:00
Tomáš Chvátal
3284c93bd1 - Enable tests, 1 fail so document it
OBS-URL: https://build.opensuse.org/package/show/systemsmanagement/cfengine?expand=0&rev=123
2015-03-18 14:33:46 +00:00
Tomáš Chvátal
a4711c12c3 - Enable pam and disable silent rules for make
OBS-URL: https://build.opensuse.org/package/show/systemsmanagement/cfengine?expand=0&rev=122
2015-03-18 14:32:21 +00:00
Tomáš Chvátal
976dbe8018 - Proceed bit more with cleaning, the RH sections are failing to build
for couple of years. Better readability without them so prune it
  out
- Convert the in-spec build switches to %bcond
- Provide rcbla links to systemd services

OBS-URL: https://build.opensuse.org/package/show/systemsmanagement/cfengine?expand=0&rev=121
2015-03-18 14:27:40 +00:00
Tomáš Chvátal
70984f1386 OBS-URL: https://build.opensuse.org/package/show/systemsmanagement/cfengine?expand=0&rev=119 2015-03-17 13:54:43 +00:00
Tomáš Chvátal
391de5e058 OBS-URL: https://build.opensuse.org/package/show/systemsmanagement/cfengine?expand=0&rev=118 2015-03-17 13:54:21 +00:00
Tomáš Chvátal
064b312930 - Add patch to use proper SSL exponent bnc#922571
* cfengine-fips.patch

OBS-URL: https://build.opensuse.org/package/show/systemsmanagement/cfengine?expand=0&rev=117
2015-03-17 13:51:53 +00:00
Tomáš Chvátal
6ba77f9022 - Format with spec-cleaner, this is just reordering, no factical
change here

OBS-URL: https://build.opensuse.org/package/show/systemsmanagement/cfengine?expand=0&rev=116
2015-03-17 13:41:48 +00:00
Klaus Kämpf
51e397b633 - Update to 3.6.5
Features:
  - Introduced "systemd" hard class. (Redmine #6995)
  - Added paths to dtrace, zfs and zpool on FreeBSD in masterfiles.
  Bug fixes:
  - Fixed build error on certain RHEL5 and SLES10 setups. (Redmine #6841)
  - Fixed a bug which caused dangling symlinks not to be removed.
    (Redmine #6582)
  - Fixed data_readstringarrayidx function not preserving the order of
    the array it's producing. (Redmine #6920)
  - Fixed a bug which sometimes caused CFEngine to kill the wrong daemon
    if both the host and a container inside the host were running
    CFEngine. (Redmine #6906)
  - Made sure the rm_rf_depth bundle also deletes the base directory.
    (Redmine #7009)
  - Fixed monitord reporting wrongly on open ports. (Redmine #6926)
  - Skip adding the class when its name is longer than 1024 characters.
    Fixed core dump when the name is too large. (Redmine #7013)
  - Fixed detection of stopped process on Solaris. (Redmine #6946)
  - Fixed infinite loop (Redmine #6992) plus a couple more minor
    bugs in edit_xml promises.

OBS-URL: https://build.opensuse.org/package/show/systemsmanagement/cfengine?expand=0&rev=114
2015-03-13 07:56:21 +00:00
Klaus Kämpf
c59e64b3e1 Accepting request 287583 from home:dimstar:Factory
- Remove install-info calls in post/postun: there is no info page
  being installed.
- rop texlive BuildRequires (there is no info page, and even if,
  makeinfo would be sufficien).

OBS-URL: https://build.opensuse.org/request/show/287583
OBS-URL: https://build.opensuse.org/package/show/systemsmanagement/cfengine?expand=0&rev=112
2015-02-25 06:44:30 +00:00
Klaus Kämpf
4440cc8a59 - Update to 3.6.4
Features:
  - Introduced users promises support on HP-UX platform.
  - Introduced process promises support on HP-UX platform.
  Bug fixes:
  - Fixed bug on FreeBSD which sometimes led to the wrong process being
    killed (Redmine #2330)
  - Fixed package version comparison sometimes failing with rpm package
    manager (Redmine #6807)
  - Fixed a bug in users promises which would sometimes set the wrong
    password hash if the user would also be unlocked at the same time.
  - Fixed a bug on AIX which would occationally kill the wrong process.
  - Improved error message for functions that require an absolute path.
    (Redmine #6877)
  - Fixed some spelling errors in examples.
  - Fixed error in out-of-tree builds when building cf-upgrade.
  - Fixed a bug which would make cf-agent exit with an error if it was
    built with a custom log directory, and that directory did not exist.
  - Fixed ordering of evaluating promises when depends_on is used.
    (Redmine #6484, Redmine #5462)
  - Skip non-empty directories silently when recursively deleting.
    (Redmine #6331)
  - Fix memory exhaustion with list larger than 4994 items.
    (Redmine # 6672)
  - Fix cf-execd segfault on IP address detection (Redmine #6905).
  - Fix hard class detection of RHEL6 ComputeNode (Redmine #3148).

OBS-URL: https://build.opensuse.org/package/show/systemsmanagement/cfengine?expand=0&rev=110
2015-01-28 07:44:22 +00:00
Klaus Kämpf
b988d3df30 - Update to 3.6.3
OBS-URL: https://build.opensuse.org/package/show/systemsmanagement/cfengine?expand=0&rev=108
2014-12-06 12:29:11 +00:00
Klaus Kämpf
88039577f2 - Update to 3.6.3~rc
New features:
  - support for HP-UX 11.23 and later
  - experimental support for Red Hat Enterprise Linux 7
  Bug fixes:
  - fix getindices on multi-dimensional arrays (Redmine #6779)
  - fix mustache template method to run in dryrun mode (Redmine #6739)
  - set mailto and mailfrom settings for execd in def.cf (Redmine #6702)
  - fix conflation of multi-index entries in arrays (Redmine #6674)
  - fix promise locking when transfering using update.cf (Redmine #6623)
  - update JSON parser to return an error on truncation (Redmine #6608)
  - fix sys.hardware_addresses not expanded (Redmine #6603)
  - fix opening database txn /var/cfengine/cf_lastseen.lmdb:
    MDB_READERS_FULL when running cf-keys --show-hosts (Redmine #6602)
  - fix segfault (Null pointer dereference) when select_end in
    delete_lines never matches (Redmine #6589)
  - fix max_file_size => "0" not disabling or allowing any size
    (Redmine #6588)
  - fix ifvarclass, with iteration over list, failing when deleting
    files with time condition (Redmine #6577)
  - fix classes defined with "or" constraint are never set if any value
    doesn't evaluate to a scalar (Redmine #6569)
  - update "mailfrom" default in default policy (Redmine #6567)
  - fix logrotate ambiguity of filename (Redmine #6563)
  - fix parsing JSON files (Redmine #6549)
  - reduce write count activity to /var partition (Redmine #6523)
  - fix files delete attribute incorrectly triggering promise_kept
    (Redmine #6509)
  - update services bundle output related to chkconfig when run in
    inform mode. (Redmine #6492)

OBS-URL: https://build.opensuse.org/package/show/systemsmanagement/cfengine?expand=0&rev=107
2014-11-28 11:08:37 +00:00
Klaus Kämpf
f9dcd6ca8e blah
OBS-URL: https://build.opensuse.org/package/show/systemsmanagement/cfengine?expand=0&rev=105
2014-10-09 07:24:21 +00:00
Klaus Kämpf
3e1b2e92eb - Update to 3.6.2
- don't regenerate software_packages.csv every time (Redmine #6441) 
 - improve verbose message for package_list_command 
 - fix missing log output on AIX (Redmine #6434) 
 - assorted fixes to dirname() esp on Windows (Redmine #4716) 
 - fix package manager detection 
 - fix build issues on FreeBSD 
 - allow copying of dead symbolic links (Redmine #6175) 
 - preserve order in readstringarrayidx (Redmine #6466) 
 - fix passing of unexpanded variable references to arrays (Redmine #5893) 
 - use entries for new {admin,deny}_{ips,hostnames} constraints in 
   the relevant legacy lists (Redmine #6542) 
 - cope with ps's numeric fields overflowing to the right 
 - interpret failing function calls in ifvarclass as class not set 
   (Redmine #6327) 
 - remove unexpanded lists when extending lists (Redmine #6541) 
 - infer start-time of a process from elapsed when needed 
   (Redmine #4094) 
 - fix input range definition for laterthan() function (Redmine #6530) 
 - don't add trailing delimiter when join()'ing lists ending with a 
   null-value (Redmine #6552) 
 - 9999999999 (ten 9s) or higher has been historically used as an upper 
   bound in CFEngine code and policy but because of overflow on 32-bit 
   platforms it caused problems with big numbers.
   Fixed in two ways: 
   first change all existing policy uses to 999999999 (nine 9s instead 
   of eleven 9s), second fix the C code to not wrap-around in case of 
   overflow, but use the LONG_MAX value (Redmine #6531). 
 - cf-serverd and other daemons no longer reload their configuration 
   every minute if CFEngine is built with an inputs directory outside

OBS-URL: https://build.opensuse.org/package/show/systemsmanagement/cfengine?expand=0&rev=104
2014-10-09 07:19:01 +00:00
Klaus Kämpf
593e9d6c13 - Update to 3.6.2-build5 pre-release
OBS-URL: https://build.opensuse.org/package/show/systemsmanagement/cfengine?expand=0&rev=103
2014-09-16 12:14:27 +00:00
Klaus Kämpf
a6c7881e71 fix rhel5
OBS-URL: https://build.opensuse.org/package/show/systemsmanagement/cfengine?expand=0&rev=102
2014-08-08 08:38:47 +00:00
Klaus Kämpf
c5f09118e1 - Update to 3.6.1
New features:
  - Introduced Solaris and AIX support into the 3.6 series, with
    many associated build and bug fixes.
  Changes:
  - Short-circuit evaluation of classes promises if class is already
    set (Redmine #5241)
  - fix to assume all non-specified return codes are failed in
    commands promises (Redmine #5986)
  - cf-serverd logs reconfiguration message to NOTICE (was INFO)
    so that it's always logged in syslog
  Bug fixes:
  - File monitoring has been completely rewritten (changes attribute
    in files promise), which eliminates many bugs, particularly
    regarding files that are deleted. Upgrading will keep all
    monitoring data, but downgrading again will reinitialize the DB,
    so all files will be reported as if they were new. (Redmine #2917)
  - $(this.promiser) expands in files promises for 'transformer',
    'edit_template', 'copy_from.source', 'file_select.exec_program',
    'classes' and 'action' bodies (Redmine #1554, #1496, #3530, #1563)
  - 'body changes' notifies about disappeared files in file monitoring
     (Redmine #2917)
  - Set not-kept classes when files or commands promise should be
    repaired, but is warn-only (Redmine #2359)
  - Fixed CFEngine template producing a zero-sized file (Redmine #6088)
  - Add 0-9 A-Z _ to allowed context of module protocol (Redmine #6063)
  - Extend ps command column width on Solaris and filter on zone
    rather than adding it to the ps output.
  - Fixed strftime() function on Solaris when called with certain
    specifiers.

OBS-URL: https://build.opensuse.org/package/show/systemsmanagement/cfengine?expand=0&rev=101
2014-07-29 09:09:25 +00:00
Klaus Kämpf
e91a3f4f19 - Decrease install size, drop mysql, postgresql,
and libvirt adapters

OBS-URL: https://build.opensuse.org/package/show/systemsmanagement/cfengine?expand=0&rev=99
2014-07-03 13:41:44 +00:00
Klaus Kämpf
8b1b7d26e3 - Upgrade to 3.6.0 final
Bugfixes 
- remove drop-revision.patch, included upstream

OBS-URL: https://build.opensuse.org/package/show/systemsmanagement/cfengine?expand=0&rev=97
2014-06-18 13:39:36 +00:00
Klaus Kämpf
c9a738f0b5 - Upgrade to 3.6.0rc2
Bugfix release

OBS-URL: https://build.opensuse.org/package/show/systemsmanagement/cfengine?expand=0&rev=95
2014-05-30 07:50:42 +00:00
Klaus Kämpf
c8f8f6ba8f - Set sys.bindir to /usr/sbin, expect cf-* components there
Add 0001-Set-sys.bindir-to-usr-sbin-expect-cf-components-ther.patch

OBS-URL: https://build.opensuse.org/package/show/systemsmanagement/cfengine?expand=0&rev=93
2014-05-02 12:07:23 +00:00
Klaus Kämpf
0f5a9d7db7 Full ChangeLog at https://raw.githubusercontent.com/cfengine/core/3.6.x/ChangeLog
OBS-URL: https://build.opensuse.org/package/show/systemsmanagement/cfengine?expand=0&rev=91
2014-04-11 07:37:22 +00:00
Klaus Kämpf
8ed699b382 - Upgrade to 3.6.0rc
Bugfix release
- add 0001-Simplify-and-fix-parsing-of-etc-SuSE-release-fixes-i.patch

OBS-URL: https://build.opensuse.org/package/show/systemsmanagement/cfengine?expand=0&rev=90
2014-04-11 07:32:56 +00:00
Klaus Kämpf
f093d085e7 - add 0002-Do-not-segfault-on-type-checking-NULL-Rvals.patch
to prevent crash on syntax error
- add 0007-Simplify-and-fix-parsing-of-etc-SuSE-release-fixes-i.patch
  * add 'suse' class for consistency with other vendor classes
    (fixes #5417)
  * distinction between "SUSE Linux Enterprise Server" (sles) and
    "... Desktop" (sled)
  * distinction between SUSE Linux Enterprise products (suse) and
    openSUSE (opensuse)
  * extract version from VERSION and PATCHLEVEL lines instead of
    first line of /etc/SuSE-release
- merge cfengine-server with cfengine. A policy server only
  gets cfengine-masterfiles but is otherwise identical to
  a client.

OBS-URL: https://build.opensuse.org/package/show/systemsmanagement/cfengine?expand=0&rev=89
2014-04-10 14:31:27 +00:00
Klaus Kämpf
938fd27cbb fix summary and description of cfengine-server
OBS-URL: https://build.opensuse.org/package/show/systemsmanagement/cfengine?expand=0&rev=88
2014-04-07 12:51:53 +00:00
Klaus Kämpf
e8cb6a7d8e - Parse /proc/1/cmdline to detect systemd
0001-Evaluate-proc-1-cmdline-and-check-for-systemd.patch

OBS-URL: https://build.opensuse.org/package/show/systemsmanagement/cfengine?expand=0&rev=87
2014-04-04 20:08:15 +00:00
Klaus Kämpf
1bedc1cf6e - move cf-serverd to cfengine, required for bootstrap
- Parse /etc/os-release for product and version
  Add patch 0001-Check-etc-os-release-for-distribution-information.patch

OBS-URL: https://build.opensuse.org/package/show/systemsmanagement/cfengine?expand=0&rev=86
2014-04-04 19:37:14 +00:00
Klaus Kämpf
01896c58a2 add firewall config to %files
OBS-URL: https://build.opensuse.org/package/show/systemsmanagement/cfengine?expand=0&rev=85
2014-04-03 13:13:30 +00:00
Klaus Kämpf
ca445e1603 - install cfengine.SuSEfirewall2
OBS-URL: https://build.opensuse.org/package/show/systemsmanagement/cfengine?expand=0&rev=84
2014-04-03 13:11:06 +00:00
Klaus Kämpf
012b5f314a - install cfengine-masterfiles together with cfengine-server only.
A cfengine client will get the masterfiles from the server.

OBS-URL: https://build.opensuse.org/package/show/systemsmanagement/cfengine?expand=0&rev=83
2014-04-03 12:52:10 +00:00
Klaus Kämpf
9cf8ca0510 - clean up /var/cfengine/inputs cache on removal.
OBS-URL: https://build.opensuse.org/package/show/systemsmanagement/cfengine?expand=0&rev=82
2014-04-02 13:15:07 +00:00
Klaus Kämpf
0e6ff09adf - Fix all .service files, type is forking.
OBS-URL: https://build.opensuse.org/package/show/systemsmanagement/cfengine?expand=0&rev=81
2014-03-26 16:12:54 +00:00
Klaus Kämpf
cbf11ae8c8 - remove '.unknown' from reported version
add drop-revision.patch

OBS-URL: https://build.opensuse.org/package/show/systemsmanagement/cfengine?expand=0&rev=80
2014-03-26 16:08:38 +00:00
Klaus Kämpf
2b544d710a drop obsolete patch
OBS-URL: https://build.opensuse.org/package/show/systemsmanagement/cfengine?expand=0&rev=79
2014-03-26 08:40:13 +00:00
Klaus Kämpf
67b05f7f38 - Fix cf-serverd.service file, type is forking.
OBS-URL: https://build.opensuse.org/package/show/systemsmanagement/cfengine?expand=0&rev=78
2014-03-26 08:24:32 +00:00
Klaus Kämpf
e1ee304c15 don't populate /inputs, it's a cache filled by --bootstrap
OBS-URL: https://build.opensuse.org/package/show/systemsmanagement/cfengine?expand=0&rev=77
2014-03-24 13:31:21 +00:00
Klaus Kämpf
104299806c - Update to 3.6.0b2
- performance has been significantly improved, with a 10-20% speed
    increase over 3.5 when using the default masterfiles
  - agents support the legacy protocol without TLS envelope
    This allows upgrading of an agent before the policy server.
  - several general improvements and bug fixes too numerous to list
    here.
- remove cfengine-bootstrap.patch, included upstream
- split masterfiles off as cfengine-masterfiles package

OBS-URL: https://build.opensuse.org/package/show/systemsmanagement/cfengine?expand=0&rev=76
2014-03-19 18:23:19 +00:00
Klaus Kämpf
d2e6bd171a Accepting request 226604 from home:aeszter:branches:systemsmanagement
- fix build for RHEL 
  * MySQL connector: disabled
  * docs go into versioned directory

OBS-URL: https://build.opensuse.org/request/show/226604
OBS-URL: https://build.opensuse.org/package/show/systemsmanagement/cfengine?expand=0&rev=75
2014-03-19 14:06:37 +00:00
Christian Wittmer
087959291b Accepting request 223319 from home:computersalat:devel:sysmgmnt
fix build for SLES

OBS-URL: https://build.opensuse.org/request/show/223319
OBS-URL: https://build.opensuse.org/package/show/systemsmanagement/cfengine?expand=0&rev=74
2014-02-21 00:13:10 +00:00
Klaus Kämpf
1da717a91a add primer.pdf
OBS-URL: https://build.opensuse.org/package/show/systemsmanagement/cfengine?expand=0&rev=73
2014-02-09 18:58:26 +00:00
Klaus Kämpf
d6a66b2d2a require libpromises3 explicitly
OBS-URL: https://build.opensuse.org/package/show/systemsmanagement/cfengine?expand=0&rev=72
2014-02-09 12:07:50 +00:00
Klaus Kämpf
ef8529b3c7 - use lmdb instead of tokyocabinet
- add primer.pdf

OBS-URL: https://build.opensuse.org/package/show/systemsmanagement/cfengine?expand=0&rev=71
2014-02-09 12:03:12 +00:00
Klaus Kämpf
28726d4b90 build against lmdb
OBS-URL: https://build.opensuse.org/package/show/systemsmanagement/cfengine?expand=0&rev=70
2014-02-09 12:02:43 +00:00
Klaus Kämpf
2be7bb6825 use upstream released tarball
OBS-URL: https://build.opensuse.org/package/show/systemsmanagement/cfengine?expand=0&rev=69
2014-02-04 11:35:26 +00:00
Klaus Kämpf
1c9c856c99 - split off -examples sub-package
OBS-URL: https://build.opensuse.org/package/show/systemsmanagement/cfengine?expand=0&rev=68
2014-02-04 07:11:07 +00:00
Klaus Kämpf
141166090b fix build
OBS-URL: https://build.opensuse.org/package/show/systemsmanagement/cfengine?expand=0&rev=67
2014-02-04 07:10:43 +00:00
Klaus Kämpf
5aaca72e10 - Upgrade to 3.6.0b1
- New promise type "users" for managing local user accounts.
  - TLS authentication and fully encrypted network protocol
  - New attributes in 'bundle server access_rules'
  - New variable type 'data' for handling of structured data
  - Tagging of classes and variables with meta data
  - Many new built-in variables
  - Many new functions
  - Replace tokyocabinet with lmdb database

OBS-URL: https://build.opensuse.org/package/show/systemsmanagement/cfengine?expand=0&rev=66
2014-02-03 18:31:18 +00:00