149 Commits

Author SHA256 Message Date
Klaus Kämpf
2b386e6d3b 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
d5a1fff71d - 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
fb703ad58b 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
Klaus Kämpf
113e0d7503 - 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
Klaus Kämpf
3fc7fc9d1c 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
dbfe2d48e1 - 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
Klaus Kämpf
65923a05a0 - 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
d7b03de225 - 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
Klaus Kämpf
d06af7e9c2 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
311bbe03da 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
5001b8d778 - 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
480287e8d0 - 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
Klaus Kämpf
115b822e71 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
Klaus Kämpf
ab9ffc7941 - add rpmlintrc file
OBS-URL: https://build.opensuse.org/package/show/systemsmanagement/cfengine?expand=0&rev=46
2013-05-15 11:58:34 +00:00
Klaus Kämpf
da0f81fdba - run cf-key on first install
OBS-URL: https://build.opensuse.org/package/show/systemsmanagement/cfengine?expand=0&rev=44
2013-04-26 09:22:50 +00:00
Klaus Kämpf
fd75a3bea0 - Build with libvirt
- fix %post

OBS-URL: https://build.opensuse.org/package/show/systemsmanagement/cfengine?expand=0&rev=43
2013-04-26 09:21:54 +00:00
Klaus Kämpf
606624852f generate key on initial install
OBS-URL: https://build.opensuse.org/package/show/systemsmanagement/cfengine?expand=0&rev=42
2013-04-16 10:12:34 +00:00
Klaus Kämpf
bcfe1fcd78 - Update to 3.5.0 - Beta 1
- new built-in functions: classesmatching, strftime, filestat,
    ifelse, maparray
  - action_policy => "warn" causes not_kept classes to be set on
    promise needing repair.
  - command line option version (-V) now prints a shorter
    parsable version without graphic
  - implicit execution of server and common bundles taking
    arguments is skipped in cf-serverd.
  - ifvarclass checked from classes promises in common bundles

OBS-URL: https://build.opensuse.org/package/show/systemsmanagement/cfengine?expand=0&rev=41
2013-04-15 07:18:01 +00:00
Klaus Kämpf
6c7419f1ea - Update to 3.5.0 - Alpha 2
New features:
  - cf-promises flag --parse-tree is replaced by --policy-output-format=,
    requiring the user to specify the output format (none, cf, json)
  - cf-promises allows partial check of policy (without body common
    control) without integrity check;
    --full-check enforces integrity check
  - agent binaries support JSON input format (.json file as generated
    by cf-promises)
  - cf-key: new options --trust-key/-t and --print-digest/-p
  - Class "failsafe_fallback" is defined in failsafe.cf when main
    policy contains errors and failsafe is run because of this
  - add scope attribute for body classes (Redmine #2013) 
  Changes:
  - WARNING: option --policy-server removed, require option to
    --bootstrap instead
  - process promises don't log if processes are out of range unless
    you run in verbose mode
  - reports promises are now allowed in any context (Redmine #2005)
  - cf-report has been removed
  - cf-execd: --once implies --no-fork
  Bugfixes:
  - do not wait for splaytime when executing only once
  - disable xml editing functionality when libxml2 doesn't provide
    necessary APIs (Redmine #1937)

OBS-URL: https://build.opensuse.org/package/show/systemsmanagement/cfengine?expand=0&rev=39
2013-03-18 11:05:24 +00:00
Klaus Kämpf
a350c34c99 - Update to 3.5.0 - Alpha 1
New Features:
  - Enable zeroconf-discovery of policy hubs for automatic bootstrapping
    if Avahi is present
  - Support for sys.cpus on more platforms than Linux & HPUX
  Changes:
  - Make parser output in GCC compatible format the only supported format 
    (remove --gcc-brief-format flag)
  - Silence license warnings in Enterprise Free25 installations
  Bugfixes:
  - Allocate memory dynamically to avoid out-of-buffer or out-of-hash
    situations
  - fix edit_xml update of existing attributes  (Redmine #2034)
  - use failsafe policy from compile-time specified workdir (Redmine #1991)
- Update to 3.4.2   (Bugfix and Stability release)
  Bugfixes:
  - Fixes to policies in masterfiles (see masterfiles/Changelog for details)
  - Fixes for OpenBSD (GitHub #278)
  - Do not canonify values specified in abortbundleclasses/abortclasses (Redmine #1786)
  - Fix build issues on NetBSD, SLES 12.2
  - Improve error message when libxml2 support is not compiled (Redmine #1799)
  - fix potential segmentation fault when trimming network socket data (GitHub #233)
  - fix potential segmentation fault when address-lookups in lastseen db failed (GitHub #233)
  - execute background promise serially when max_children was reached, rather
    than skipping them (GitHub #233)
  - fix segmentation fault in cf-promises when invoked with --reports (Redmine #1931)
  - fix compilation with Sun Studio 12 (Redmine #1901)
  - silence type-pun warning when building on HP-UX (GitHub #287)

OBS-URL: https://build.opensuse.org/package/show/systemsmanagement/cfengine?expand=0&rev=37
2013-02-01 20:37:49 +00:00
Factory Maintainer
91b56fb298 Accepting request 148206 from home:coolo:branches:openSUSE:Factory
- remove suse_update_config

OBS-URL: https://build.opensuse.org/request/show/148206
OBS-URL: https://build.opensuse.org/package/show/systemsmanagement/cfengine?expand=0&rev=35
2013-01-14 16:46:54 +00:00
Klaus Kämpf
291e848ea4 3.4.1 (Bugfix and Stability release)
New feature/behavior:
  - cf-execd terminates agent processes that are not responsive
    for a configurable amount of time (see agent_expireafter in
    body executor control), defaulting to 1 week
  Bugfixes:
  - fix regression of classmatch() failing with hard classes
    (Redmine #1834)
  - create promise-defined and persistent classes in correct
    namespace (Redmine #1836)
  - several fixes to namespace support
  - fix several crash bugs caused by buffer overflow and race
    conditions in cf-serverd
  - regenerate time classes in cf-execd for each run
    (Redmine #1838)
  - edit_xml: fix select_xpath implementation and update
    documentation
    NOTE: code that uses select_xpath_region needs to be changed
          to select_xpath
  - edit_xml: make sure that text-modification functions don't
    overwrite child nodes
  - edit_xml: improve error logging

OBS-URL: https://build.opensuse.org/package/show/systemsmanagement/cfengine?expand=0&rev=33
2012-12-14 08:36:22 +00:00
Klaus Kämpf
37529f0596 document bug report
OBS-URL: https://build.opensuse.org/package/show/systemsmanagement/cfengine?expand=0&rev=32
2012-12-14 08:31:14 +00:00
Klaus Kämpf
a02f28ba11 reduce rpmlint warnings
OBS-URL: https://build.opensuse.org/package/show/systemsmanagement/cfengine?expand=0&rev=31
2012-12-14 08:30:38 +00:00
Klaus Kämpf
f7885894ba - update to 3.4.1 final
remove cfengine-3.4.0.patch, was accepted upstream

OBS-URL: https://build.opensuse.org/package/show/systemsmanagement/cfengine?expand=0&rev=30
2012-12-14 08:07:06 +00:00
Klaus Kämpf
49192247d3 refresh PDFs
OBS-URL: https://build.opensuse.org/package/show/systemsmanagement/cfengine?expand=0&rev=28
2012-11-29 08:31:45 +00:00
Klaus Kämpf
3acd77771a comment on patch
OBS-URL: https://build.opensuse.org/package/show/systemsmanagement/cfengine?expand=0&rev=27
2012-11-29 08:19:20 +00:00
Klaus Kämpf
deac151d4b - update to 3.4.0 final
OBS-URL: https://build.opensuse.org/package/show/systemsmanagement/cfengine?expand=0&rev=26
2012-11-29 08:18:22 +00:00
Klaus Kämpf
e7f7623d26 - fix systemd check (use systemd for openSUSE 12.1 too)
OBS-URL: https://build.opensuse.org/package/show/systemsmanagement/cfengine?expand=0&rev=25
2012-10-21 10:08:48 +00:00
Klaus Kämpf
04efae26cb - workaround for potential buffer overflow
OBS-URL: https://build.opensuse.org/package/show/systemsmanagement/cfengine?expand=0&rev=24
2012-10-08 14:31:45 +00:00
Klaus Kämpf
9bdac5c3cf - honor filesystem hierachy standard (FHS):
- build with --enable-fhs
- honor documentation
  - install in /var/cfengine
- support systemd where applicable

OBS-URL: https://build.opensuse.org/package/show/systemsmanagement/cfengine?expand=0&rev=23
2012-10-08 13:04:19 +00:00
Klaus Kämpf
90977e1ce0 fix SLE_11 build
OBS-URL: https://build.opensuse.org/package/show/systemsmanagement/cfengine?expand=0&rev=22
2012-10-05 12:43:48 +00:00
Klaus Kämpf
2aef43ea11 - honor filesystem hierachy standard (FHS): build with --enable-fhs
OBS-URL: https://build.opensuse.org/package/show/systemsmanagement/cfengine?expand=0&rev=21
2012-10-05 12:21:25 +00:00
Klaus Kämpf
b62b079f16 - update to 3.0.4b2
New features:
  - XML editing capabilities. See the documentation for edit_xml
    body. Note the new dependency: libxml2.
  - Implement inheritance of local classes by bundles called using
    "usebundle". By default classes are not inherited. See the
    examples/unit_inherit.cf for an example.
  - Moved from Nova/Enterprise:
    - POSIX ACL support,
    - "outputs" promise type,
    - remote syslog support.
  - packages_default_arch_command hook in packages promises, to
    specify default architecture of the packages on the system.
  - packages_version_less_command / packages_version_equal_command hooks
    in packages promises, to specify external command for native package
    manager versions comparison
  - Running in Solaris zone is now detected and classes "zone" and
    "zone_<name>" are created in this case.
  - VirtualBox support added to guest_environment promises.
  - guest_environment promises are supported under OS X.
  - The "depends_on" attribute is now active, for the partal ordering
    of promises. If a promise depends on another (referred by handle)
    it will only be considered if the depends_on list is either kept
    or repaired already.
          
  ** WARNING: When upgrading, make sure that any existing use
     of depends_on does not make some promises being
     unintentionally ignored.
     This can happen if you are currently refering to non-existant or
     never-run handles in depends_on attributes.

OBS-URL: https://build.opensuse.org/package/show/systemsmanagement/cfengine?expand=0&rev=20
2012-10-04 08:52:41 +00:00
Christian Wittmer
6908649799 Accepting request 105246 from home:computersalat:devel:sysmgmnt
update to 3.2.4

OBS-URL: https://build.opensuse.org/request/show/105246
OBS-URL: https://build.opensuse.org/package/show/systemsmanagement/cfengine?expand=0&rev=17
2012-02-15 15:14:26 +00:00
Christian Wittmer
0449752482 Accepting request 103358 from home:computersalat:devel:sysmgmnt
fix pre/post scripts

OBS-URL: https://build.opensuse.org/request/show/103358
OBS-URL: https://build.opensuse.org/package/show/systemsmanagement/cfengine?expand=0&rev=16
2012-02-08 15:13:48 +00:00
Christian Wittmer
f839fba3e6 Accepting request 103304 from home:computersalat:devel:sysmgmnt
fix pre/post scripts

OBS-URL: https://build.opensuse.org/request/show/103304
OBS-URL: https://build.opensuse.org/package/show/systemsmanagement/cfengine?expand=0&rev=15
2012-02-08 12:40:10 +00:00
Christian Wittmer
ec4c9dc035 Accepting request 103023 from home:computersalat:devel:sysmgmnt
fix dpes for CentOS/RHEL

OBS-URL: https://build.opensuse.org/request/show/103023
OBS-URL: https://build.opensuse.org/package/show/systemsmanagement/cfengine?expand=0&rev=14
2012-02-07 12:27:12 +00:00
Christian Wittmer
6d4bbb5e34 Accepting request 102101 from home:computersalat:devel:sysmgmnt
folder changes, add cron file, some init script fixes

OBS-URL: https://build.opensuse.org/request/show/102101
OBS-URL: https://build.opensuse.org/package/show/systemsmanagement/cfengine?expand=0&rev=13
2012-01-30 19:10:38 +00:00
Christian Wittmer
a4e6092705 Accepting request 101360 from home:computersalat:devel:sysmgmnt
fix init scripts, subpkg server

OBS-URL: https://build.opensuse.org/request/show/101360
OBS-URL: https://build.opensuse.org/package/show/systemsmanagement/cfengine?expand=0&rev=12
2012-01-24 14:32:07 +00:00
Christian Wittmer
22d332e7fd Accepting request 91611 from home:computersalat:devel:sysmgmnt
update to 3.2.3

OBS-URL: https://build.opensuse.org/request/show/91611
OBS-URL: https://build.opensuse.org/package/show/systemsmanagement/cfengine?expand=0&rev=11
2011-11-15 15:28:15 +00:00
Christian Wittmer
46983a9fce Accepting request 87373 from home:computersalat:devel:sysmgmnt
update to 3.2.1

OBS-URL: https://build.opensuse.org/request/show/87373
OBS-URL: https://build.opensuse.org/package/show/systemsmanagement/cfengine?expand=0&rev=9
2011-10-11 11:32:32 +00:00
Stephan Kulow
5db49730ff Accepting request 85964 from home:coolo:removelibtool
add libtool as buildrequires so we no longer rely on libtool in the project config of factory - it's only needed by <10% of all packages

OBS-URL: https://build.opensuse.org/request/show/85964
OBS-URL: https://build.opensuse.org/package/show/systemsmanagement/cfengine?expand=0&rev=7
2011-10-06 10:12:30 +00:00
Vítězslav Čížek
8bb77d2fdf Accepting request 83078 from home:jengelh:bl-c
- Remove redundant tags/sections from specfile

OBS-URL: https://build.opensuse.org/request/show/83078
OBS-URL: https://build.opensuse.org/package/show/systemsmanagement/cfengine?expand=0&rev=6
2011-09-19 09:23:49 +00:00
Vítězslav Čížek
eb2bb2ab32 Accepting request 80438 from home:computersalat:devel:sysmgmnt
lib pkging policy: libpromises1, devel, doc, several rpmlint fixes

OBS-URL: https://build.opensuse.org/request/show/80438
OBS-URL: https://build.opensuse.org/package/show/systemsmanagement/cfengine?expand=0&rev=5
2011-09-06 09:27:45 +00:00
Vítězslav Čížek
7ce2ef21d2 Accepting request 80021 from home:computersalat:devel:sysmgmnt
update to 3.2.0

OBS-URL: https://build.opensuse.org/request/show/80021
OBS-URL: https://build.opensuse.org/package/show/systemsmanagement/cfengine?expand=0&rev=4
2011-08-31 13:18:52 +00:00
Klaus Kämpf
01e5a824cb Accepting request 79677 from home:computersalat:devel:sysmgmnt
fix init scripts, RH, CentOS: fix return of checkproc, start_daemon

OBS-URL: https://build.opensuse.org/request/show/79677
OBS-URL: https://build.opensuse.org/package/show/systemsmanagement/cfengine?expand=0&rev=3
2011-08-28 09:20:59 +00:00
Vítězslav Čížek
0909822105 Accepting request 78459 from home:computersalat:devel:sysmgmnt
update to 3.1.5

OBS-URL: https://build.opensuse.org/request/show/78459
OBS-URL: https://build.opensuse.org/package/show/systemsmanagement/cfengine?expand=0&rev=2
2011-08-18 09:39:36 +00:00
6c5363ea28 osc copypac from project:systemmanagement package:cfengine revision:10
OBS-URL: https://build.opensuse.org/package/show/systemsmanagement/cfengine?expand=0&rev=1
2010-11-09 11:15:22 +00:00