106 Commits

Author SHA256 Message Date
Stephan Kulow
464e457bee Accepting request 235795 from systemsmanagement
- Upgrade to 3.6.0rc2
  Bugfix release

OBS-URL: https://build.opensuse.org/request/show/235795
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/cfengine?expand=0&rev=44
2014-06-01 17:41:09 +00:00
Klaus Kämpf
e265bc0d1f - 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
Stephan Kulow
487455f9ac Accepting request 233249 from systemsmanagement
Automatic submission by obs-autosubmit

OBS-URL: https://build.opensuse.org/request/show/233249
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/cfengine?expand=0&rev=43
2014-05-09 18:30:08 +00:00
Klaus Kämpf
4fbaf49bb7 - 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
Tomáš Chvátal
5998aa895c Accepting request 229693 from systemsmanagement
- Upgrade to 3.6.0rc
  Bugfix release
  Full ChangeLog at https://raw.githubusercontent.com/cfengine/core/3.6.x/ChangeLog

- add 0001-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.

- install cfengine.SuSEfirewall2

- install cfengine-masterfiles together with cfengine-server only.
  A cfengine client will get the masterfiles from the server.

- clean up /var/cfengine/inputs cache on removal.

- remove '.unknown' from reported version
  add drop-revision.patch

- Fix all .service files, type is forking.

OBS-URL: https://build.opensuse.org/request/show/229693
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/cfengine?expand=0&rev=42
2014-04-17 12:07:58 +00:00
Klaus Kämpf
e0943fe40a 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
0b2dd06478 - 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
fac2b5148b - 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
3b8d16732a 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
fbc1f08371 - 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
76f1d50926 - 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
ecb8b74fe3 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
9cfdbac5b7 - 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
f5b1275d99 - 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
9fcecd26b4 - 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
264b2dd024 - 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
ba55277191 - 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
9f14356207 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
79da141433 - 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
35ed2c7da9 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
ead513fd57 - 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
5bb1965c97 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
219fbac8e4 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
1abcaf4097 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
bf6e1ab870 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
bb2763a1a4 - 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
10b6742df9 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
07323632ae 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
dec8104620 - 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
404a42c4d2 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
04203f2cf0 - 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
Stephan Kulow
a62c7fbba4 Accepting request 210568 from systemsmanagement
- Fix packaging
  - rename cfengine-devel to libpromises-devel
  - rename libpromises1 to libpromises3

- Update to 3.5.3
  - Improved security checks of symlink ownership.
    A symlink created by a user pointing to resources owned by a
    different user will no longer be followed.
  - Changed the way package versions are compared in package promises.
    (Redmine #3314)
    In previous versions the comparison was inconsistent. This has
    been fixed, but may also lead to behavior changes in certain
    cases. In CFEngine 3.5.3, the comparison works as follows:
    <package-being-considered> <package_select> <package_version>
    For instance: apache-2.2.31 ">=" "2.2.0" will result in the
    package being installed.
  Bug fixes:
  - fix cf-monitord crash due to incorrect array initialization (Redmine
    #3180)
  - fix cf-serverd stat()'ing the file tree every second (Redmine #3479)
  - correctly populate sys.hardware_addresses variable (Redmine #2936)
  - add support for Debian's GNU/kfreebsd to build system (Redmine #3500)
  - fix possible stack corruption in guest_environments promises (Redmine
    #3552)
  - work-around hostname trunctation in HP-UX's uname (Redmine #3517)
  - fix body copy purging of empty directories (Redmine #3429)
  - make discovery and loading of avahi libraries more robust
  - compile and packaging fixes for HP-UX, AIX and Solaris
  - fix fatal error in lsdir() when directory doesn't exist (Redmine
    #3273)

OBS-URL: https://build.opensuse.org/request/show/210568
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/cfengine?expand=0&rev=41
2013-12-13 10:55:21 +00:00
Klaus Kämpf
225386a441 drop libpromises1
OBS-URL: https://build.opensuse.org/package/show/systemsmanagement/cfengine?expand=0&rev=64
2013-12-11 07:31:12 +00:00
Klaus Kämpf
62fb7aa3c5 - Fix packaging
- rename cfengine-devel to libpromises-devel
  - rename libpromises1 to libpromises3

OBS-URL: https://build.opensuse.org/package/show/systemsmanagement/cfengine?expand=0&rev=63
2013-12-11 07:28:27 +00:00
Klaus Kämpf
1f52b53ae0 update to 3.5.3
OBS-URL: https://build.opensuse.org/package/show/systemsmanagement/cfengine?expand=0&rev=62
2013-12-10 13:05:55 +00:00
Stephan Kulow
0a76e9a72f Accepting request 196885 from systemsmanagement
- Update to 3.5.2
  Bug-fixes in the CFEngine Core:
  - fix delayed abortclasses checking (Redmine #2316, #3114, #3003)
  - fix maplist arguments bug (Redmine #3256)
  - fix segfaults in cf-pomises (Redmine #3173, 3194)
  - fix build on Solaris 10/SmartOS (Redmine #3097)
  - sanitize characters from /etc/issue in sys.flavor for Debian
    (Redmine #2988)
  - Fix segfault when dealing with files or data > 4K
    (Redmine #2912, 2698)
  - Don't truncate keys to 126 characters in getindices
    (Redmine #2626)
  - files created via log_* actions now have mode 600
    (Redmine #1578)
  - fix wrong log message when a promise is ignored due to
    'ifvarclass' not matching
  - fix lifetime of persistent classes (Redmine #3259)
  - fix segfault when process_select body had no process_result
    attribute
  - Default to AND'ed expression of all specified attributes
    (Redmine #3224)
  - include system message in output when acl promises fail
  - fix invocation of standard_services bundle and corresponding
    promise compliance (Redmine #2869)
- run fdupes after install

OBS-URL: https://build.opensuse.org/request/show/196885
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/cfengine?expand=0&rev=39
2013-09-04 11:17:32 +00:00
Klaus Kämpf
eada620998 - Update to 3.5.2
Bug-fixes in the CFEngine Core:
  - fix delayed abortclasses checking (Redmine #2316, #3114, #3003)
  - fix maplist arguments bug (Redmine #3256)
  - fix segfaults in cf-pomises (Redmine #3173, 3194)
  - fix build on Solaris 10/SmartOS (Redmine #3097)
  - sanitize characters from /etc/issue in sys.flavor for Debian
    (Redmine #2988)
  - Fix segfault when dealing with files or data > 4K
    (Redmine #2912, 2698)
  - Don't truncate keys to 126 characters in getindices
    (Redmine #2626)
  - files created via log_* actions now have mode 600
    (Redmine #1578)
  - fix wrong log message when a promise is ignored due to
    'ifvarclass' not matching
  - fix lifetime of persistent classes (Redmine #3259)
  - fix segfault when process_select body had no process_result
    attribute
  - Default to AND'ed expression of all specified attributes
    (Redmine #3224)
  - include system message in output when acl promises fail
  - fix invocation of standard_services bundle and corresponding
    promise compliance (Redmine #2869)
- run fdupes after install

OBS-URL: https://build.opensuse.org/package/show/systemsmanagement/cfengine?expand=0&rev=60
2013-08-30 13:02:48 +00:00
Tomáš Chvátal
e135889ba9 Accepting request 186550 from systemsmanagement
Automatic submission by obs-autosubmit

OBS-URL: https://build.opensuse.org/request/show/186550
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/cfengine?expand=0&rev=38
2013-08-10 10:11:52 +00:00
Klaus Kämpf
542ac7fe91 fix Fedora and RHEL builds
OBS-URL: https://build.opensuse.org/package/show/systemsmanagement/cfengine?expand=0&rev=58
2013-08-02 08:46:05 +00:00
Klaus Kämpf
bb106502f7 - Fix SLE 11 build
Add remove-am_subst_notmake.patch

OBS-URL: https://build.opensuse.org/package/show/systemsmanagement/cfengine?expand=0&rev=57
2013-08-02 07:14:58 +00:00
Stephan Kulow
012a11b6a7 Accepting request 183674 from systemsmanagement
Automatic submission by obs-autosubmit

OBS-URL: https://build.opensuse.org/request/show/183674
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/cfengine?expand=0&rev=37
2013-07-18 15:31:02 +00:00
Klaus Kämpf
57a53f9dc6 - Update to 3.5.1
Core Changes:
  - the CFEngine Standard Library in masterfiles/libraries is now
    split into promise-type specific policy files, and lives in a
    version-specific directory. This should have no impact on current
    code, but allows more granular include of needed stdlib
    elements (Redmine #3044)
  - file changes are logged with log level Notice, not Error
  Bug fixes:
  - fix recursive copying of files (Redmine #2965)
  - respect classes in templates (Redmine ##2928)
  - fix timestamps on Windows (Redmine #2933)
  - fix non-root cf-agent flooding syslog (Redmine #2980)
  - fix email flood from cf-execd due to timestamps in agent output
    (Redmine #3011)
  - Preserve security context when editing or copying local files
    (Redmine #2728)
  - fix path for sys.crontab on redhat systems (Redmine #2553)
  - prevent incorrect "insert_lines promise uses the same
    select_line_matching anchor" warning (Redmine #2778)
  - Fix regression of setting VIPADDRESS to 127.0.0.1 (Redmine #3010)
  - Fix "changes" promise not receiving status when file is missing
    (Redmine #2820)
  - Fix symlinks being destroyed when editing them (Redmine #2363)
  - Fix missing "promise kept" status for the last line in a file
    (Redmine #2943)

OBS-URL: https://build.opensuse.org/package/show/systemsmanagement/cfengine?expand=0&rev=55
2013-07-11 11:34:46 +00:00
Klaus Kämpf
553c4095b2 - explicitly enable postgres, pthreads, openssl, pcre, libvirt
and libacl
- add libacl-headers.patch to adapt to libacl-devel packaging

OBS-URL: https://build.opensuse.org/package/show/systemsmanagement/cfengine?expand=0&rev=54
2013-07-09 07:37:13 +00:00
Stephan Kulow
4dbffc26a1 Accepting request 180167 from systemsmanagement
Automatic submission by obs-autosubmit

OBS-URL: https://build.opensuse.org/request/show/180167
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/cfengine?expand=0&rev=36
2013-06-20 13:00:34 +00:00
Klaus Kämpf
5fdfd6c4fb source dir changed in final
OBS-URL: https://build.opensuse.org/package/show/systemsmanagement/cfengine?expand=0&rev=52
2013-06-13 09:01:23 +00:00
Klaus Kämpf
a99fbd3a58 See http://cfengine.com/docs/3.5/whats-new.html
OBS-URL: https://build.opensuse.org/package/show/systemsmanagement/cfengine?expand=0&rev=51
2013-06-13 08:50:13 +00:00
Klaus Kämpf
f5e770d3a7 - Update to 3.5.0 - Final
OBS-URL: https://build.opensuse.org/package/show/systemsmanagement/cfengine?expand=0&rev=50
2013-06-13 06:55:34 +00:00
Klaus Kämpf
ae33c2c20a - Update to 3.5.0 - Release Candidate
OBS-URL: https://build.opensuse.org/package/show/systemsmanagement/cfengine?expand=0&rev=49
2013-06-07 13:04:42 +00:00
Stephan Kulow
1423169b3d Accepting request 176396 from systemsmanagement
Automatic submission by obs-autosubmit

OBS-URL: https://build.opensuse.org/request/show/176396
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/cfengine?expand=0&rev=35
2013-06-05 09:41:53 +00:00
Klaus Kämpf
5dd3a67a9c fix SLE11 build :-/
OBS-URL: https://build.opensuse.org/package/show/systemsmanagement/cfengine?expand=0&rev=47
2013-05-16 07:52:54 +00:00