Commit graph

76 commits

Author SHA1 Message Date
Cy Schubert
17398d76ec Welcome the new cfengine311 and cfengine-masterfiles311. 2017-08-11 13:59:57 +00:00
Cy Schubert
be999441b8 Update cfengine310 and cfengine-masterfiles310 3.10.0 --> 3.10.1.
cfengine310 and cfengine-masterfiles310 are now the default
cfengine and cfengine-masterfiles ports.
2017-03-30 00:19:28 +00:00
Cy Schubert
5adedb838a Welcome the new cfengine and cfengine-masterfiles 3.10.
Adjust the other cfengine and cfengine-masterfiles ports CONFLICTS to
recognize the new cfengine sister ports.

Add cfengine and cfengine-masterfiles 310 to their respective metaports.
2016-12-29 07:11:50 +00:00
Cy Schubert
89f3109dd2 Update cfengine39 and cfengine-masterfiles39 to 3.9.1.
cfengine and cfengine-masterfiles now defaults to cfengine39 and
cfengine-masterfiles39
2016-08-05 21:32:46 +00:00
Cy Schubert
8f597c05bc Introduce new ports:
- cfengine39 (3.9.0), copied from cfengine38
- cfengine-masterfiles39 (3.9.0), copied from cfengine-masterfiles38
- add cfengine39 to cfengine metaport (non-default for now)
- add cfengine-masterfiles39 to cfengine-metafiles metaport (not default for now)

Sort documentation files in cfengine39.
2016-06-15 02:20:47 +00:00
Cy Schubert
a5b14ddca0 Update cfengine38 3.8.0 --> 3.8.1.
Update cfengine-masterfiles38 3.8.0 --> 3.8.1.

Change default cfengine and cfengine-masterfiles to 38.
2016-01-30 16:18:13 +00:00
Cy Schubert
895f95be7e Introduce cfengine38 and cfengine-masterfiles38. 2016-01-12 02:35:42 +00:00
Steven Kreuzer
6795afec25 Update to version 3.7.1 change CFENGINE_VERSION to 37 in the master port
Approved by:	cy@ (maintainer)
Differential Revision:	D4278
2015-11-26 15:24:08 +00:00
Cy Schubert
fc86aa5704 Add new cfengine37 port. 2015-07-27 06:39:28 +00:00
Cy Schubert
7f23e47989 cfengine36 has been around for a while. It has proven itself.
It is now the default.
2015-01-22 04:34:41 +00:00
Cy Schubert
7ea116081b Stagify. 2014-05-30 05:56:15 +00:00
Glen Barber
0c9e9ae61d Add cfengine36 to VERSIONS list.
Approved by:	cy (maintainer, implicit)
Sponsored by:	The FreeBSD Foundation
2014-04-01 19:07:14 +00:00
Cy Schubert
b9a8f319b3 Remove -devel.
PR:		188134
Submitted by:	skreuzer
2014-03-31 19:09:09 +00:00
Baptiste Daroussin
83f65384c9 Add NO_STAGE all over the place in preparation for the staging support (cat: sysutils) 2013-09-20 23:05:58 +00:00
Glen Barber
ef33475c14 cfengine/Makefile:
- Add CFENGINE_VERSION 35

cfengine-devel/Makefile:
 - Mark IGNORE since development has not branched yet

Add cfengine 3.5.0:

New features:
  - classes promises now take an optional scope constraint.
  - new built-in functions: every, none, some, nth, sublist, uniq, filter
  - 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)
  - Better diagnostics of parsing errors
  - Error messages from parser now show the context of error
  - new cf-agent option: --self-diagnostics
  - new output format, and --legacy-output
  - warnings for cf-promises.
  - Enable zeroconf-discovery of policy hubs for automatic bootstrapping
    if Avahi is present
  - Support for sys.cpus on more platforms than Linux & HPUX

Changes:
  - parser no longer allows ',' after promiser or promisee. must be
    either ';' or lval
  - Make parser output in GCC compatible format the only supported format
    (remove --gcc-brief-format flag)
  - Silence license warnings in Enterprise Free25 installations
  - 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.
  - 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
  - Version info removed from mail subject in the emails sent by cf-execd.
    The subject will only contain "[fqname/ipaddress]" instead of
    "communnity/nova [fqname/ipaddress]".
    Please change your email filters accordingly if necessary.
  - "outputs" promise type is retired. Their semantics was not clear,
    and the functionality
    is better suited for control body setting, not a promise.
  - Tokyo Cabinet databases are now automatically checked for
    correctness during opening. It should prevent a number of issues
    with corrupted TC databases causing binaries to hang.
  - Improved ACL handling on Windows, which led to some syntax changes.
    We now consistently use the term "default" to describe ACLs that
    can be inherited by child objects. These keywords have received new names:
      acl_directory_inherit -> acl_default
      specify_inherit_aces -> specify_default_aces
      The old keywords are deprecated, but still valid. In addition, a new
      keyword "acl_inherit" controls inheritance behavior on Windows. This
      feature does not exist on Unix platforms. (Redmine #1832)
  - Networking code is moved from libpromises to its own library,
    libcfnet. Work has begun on making the API more sane and thread-safe.
    Lots of legacy code was removed.
  - Add getaddrinfo() replacement in libcompat (borrowed from PostgreSQL).
  - Replace old deprecated and non thread-safe resolver calls with
    getaddrinfo() and getnameinfo().
  - Hostname2IPString(), IPString2Hostname() are now thread-safe, and are
    returning error when resolution fails.
  - Running cf-execd --once now implies --no-fork, and also does not wait
    for splaytime to pass.
  - execresult(), returnszero() and commands promises no longer requires
    the first word
    word to be an absolute path when using the shell. (Part of Redmine #2143)
  - commands promises useshell attribute now accepts "noshell" and
    "useshell" values. Boolean values are accepted but deprecated. (Part of
    Redmine #2143)
  - returnszero() now correctly sets the class name in this scenario  (Part of
    Redmine #2143):
      classes:
        "commandfailed" not => returnszero("/bin/nosuchcommand", "noshell");

Bugfixes:
  - bundles are allowed to be empty (Redmine #2411)
  - Fixed '.' and '-' not being accepted by a commands module. (Redmine #2384)
  - Correct parsing of list variables by a command module. (Redmine #2239)
  - Fixed issue with package management and warn. (Redmine #1831)
  - Fixed JSON crash. (Redmine #2151)
  - Improved error checking when using fgets(). (Redmine #2451)
  - Fixed error message when deleting nonexistent files. (Redmine #2448)
  - Honor warn-only when purging from local directory. (Redmine #2162)
  - Make sure "restart" and "reload" are recognized keywords in
    packages. (Redmine #2468)
  - 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)
  - ifvarclass checked from classes promises in common bundles
  - do not wait for splaytime when executing only once
  - disable xml editing functionality when libxml2 doesn't provide
    necessary APIs (Redmine #1937)
  - Out-of-tree builds should work again, fixed a bunch of related bugs.
  - Fixed race condition in file editing. (Redmine #2545)
  - Fixed memory leak in cf-serverd and others (Redmine #1758)

Approved by:	cy (maintainer, implicit)
2013-06-12 18:00:45 +00:00
Glen Barber
0fda4454c6 Implement the concept of a "master" port for the set of
sysutils/cfengine* ports.

The idea here is two-fold:

 1.)  Users should not need to ever change port origins
      for a default software version bump;
 2.)  Users should expect to exist an unversioned port
      directory to reflect the latest major version (and
      they should be correct in this expectation).

With this change, users can install the sysutils/cfengine
port, and by default track the latest major version of the
software.  Subsequent version releases, for example the 3.5
branch, will not require any interaction from user side.

Additionally, users can stay on a certain branch release by
adding, in this case, CFENGINE_VERSION version to make.conf
or specifying the branch during build time with:

	# make CFENGINE_VERSION=NN

The list of available CFENGINE_VERSION values are listed
with:

	# make -V VERSIONS

Discussed with:		cy
2013-01-08 04:33:08 +00:00
Cy Schubert
8402c86ad4 Move cfengine ports to standardize namaing.
Submitted by:	gjb
2012-08-14 20:50:56 +00:00
Cy Schubert
59b496fc28 gjb@ and I will commit to the cfengine* ports. Both of us can be blamed
for the goings on in this place.
2012-08-09 01:03:03 +00:00
Cy Schubert
ca935c286c Record conflict with cfengine 3.3.0. 2012-04-19 04:22:15 +00:00
Doug Barton
83eb2c3700 In the rc.d scripts, change assignments to rcvar to use the
literal name_enable wherever possible, and ${name}_enable
when it's not, to prepare for the demise of set_rcvar().

In cases where I had to hand-edit unusual instances also
modify formatting slightly to be more uniform (and in
some cases, correct). This includes adding some $FreeBSD$
tags, and most importantly moving rcvar= to right after
name= so it's clear that one is derived from the other.
2012-01-14 08:57:23 +00:00
Martin Wilke
a9481afc8a - Get Rid MD5 support 2011-03-19 12:38:54 +00:00
Doug Barton
1d6b4b3f91 Begin the process of deprecating sysutils/rc_subr by
s#. %%RC_SUBR%%#. /etc/rc.subr#
2010-03-27 00:15:24 +00:00
Cy Schubert
e0ea97caa2 Update 2.2.9 --> 2.2.10
Take on maintainership of the port as the maintainer, Jo Rhett
<jrhett@netconsonance.com>, can no longer maintain this port.
2009-11-14 06:09:49 +00:00
Steven Kreuzer
123270a916 Change MASTER_SITES to new distfile location
Feature safe:	YES
2009-10-12 18:19:52 +00:00
Doug Barton
0175383f0a Fix a few "bad example" problems in the rc.d scripts that have been
propogated by copy and paste.

1. Primarily the "empty variable" default assignment, which is mostly
${name}_flags="", but fix a few others as well.
2. Where they are not already documented, add the existence of the _flags
(or other deleted empties) option to the comments, and in some cases add
comments from scratch.
3. Replace things that look like:
prefix=%%PREFIX%%
command=${prefix}/sbin/foo
to just use %%PREFIX%%. In many cases the $prefix variable is only used
once, and in some cases it is not used at all.
4. In a few cases remove ${name}_flags from command_args
5. Remove a long-stale comment about putting the port's rc.d script in
/etc/rc.d (which is no longer necessary).

No PORTREVISION bumps because all of these changes are noops.
2009-07-15 16:56:10 +00:00
Boris Samorodov
97931967df Update to 2.2.9.
PR:		ports/131040
Submitted by:	Eygene Ryabinkin <rea-fbsd at codelabs.ru>
Patch by:	Jo Rhett <jrhett at netconsonance.com> (maintainer)
2009-02-05 18:17:22 +00:00
Rong-En Fan
741aa71483 Update CONFIGURE_ARGS for how we pass CONFIGURE_TARGET to configure script.
Specifically, newer autoconf (> 2.13) has different semantic of the
configure target. In short, one should use --build=CONFIGURE_TARGET
instead of CONFIGURE_TARGET directly. Otherwise, you will get a warning
and the old semantic may be removed in later autoconf releases.

To workaround this issue, many ports hack the CONFIGURE_TARGET variable
so that it contains the ``--build='' prefix.

To solve this issue, under the fact that some ports still have
configure script generated by the old autoconf, we use runtime detection
in the do-configure target so that the proper argument can be used.

Changes to Mk/*:
 - Add runtime detection magic in bsd.port.mk
 - Remove CONFIGURE_TARGET hack in various bsd.*.mk
 - USE_GNOME=gnometarget is now an no-op

Changes to individual ports, other than removing the CONFIGURE_TARGET hack:

= pkg-plist changed (due to the ugly CONFIGURE_TARGET prefix in * executables)
  - comms/gnuradio
  - science/abinit
  - science/elmer-fem
  - science/elmer-matc
  - science/elmer-meshgen2d
  - science/elmerfront
  - science/elmerpost

= use x86_64 as ARCH
  - devel/g-wrap

= other changes
  - print/magicfilter
    GNU_CONFIGURE -> HAS_CONFIGURE since it's not generated by autoconf

Total # of ports modified:  1,027
Total # of ports affected: ~7,000 (set GNU_CONFIGURE to yes)

PR:		126524 (obsoletes 52917)
Submitted by:	rafan
Tested on:	two pointyhat 7-amd64 exp runs (by pav)
Approved by:	portmgr (pav)
2008-08-21 06:18:49 +00:00
Wesley Shields
d8f55d21f2 - Update to 2.2.8
PR:		ports/126347
Submitted by:	Eygene Ryabinkin <rea-fbsd@codelabs.ru>
Approved by:	jrhett@netconsonance.com (maintainer)
2008-08-13 21:41:14 +00:00
Mark Linimon
3fc3d1ecb1 Assign maintainership to submitter of recent PRs. Previous maintainer
has become inactive.

Hat:		portmgr
2008-07-27 04:16:28 +00:00
Wesley Shields
b55f7b2bca Update to 2.2.7
Properly respect NOPORTDOCS and NOPORTEXAMPLES

PR:		ports/124993, ports/122057
Submitted by:	Jo Rhett <jrhett@netconsonance.com>
Approved by:	sergei (maintainer timeout)
2008-07-02 03:08:53 +00:00
Xin LI
e74b7c2d72 Fixup for previous commit:
- Correct pkg-plist by adding two newly added intermediate
   libraries. [1]
 - Use better way to make dependency on Berkeley DB. [2]

Pointy hat to:	delphij
Reported by:	Scot Hetzel <swhetzel gmail com> [1]
		tinderbox via pav and edwin [2]
2008-01-08 08:44:49 +00:00
Xin LI
38432f5ca6 - Update to 2.2.3;
- Make BDB 4.6 as default BDB version;
 - Modify MASTER_SITES according to official website.

Submitted by:	delphij
PR:		ports/118562
Approved by:	maintainer timeout
2008-01-04 23:54:18 +00:00
Rong-En Fan
f935a609c5 - Set --mandir and --infodir in CONFIGURE_ARGS if the configure script
supports them.  This is determined by running ``configure --help'' in
  do-configure target and set the shell variable _LATE_CONFIGURE_ARGS
  which is then passed to CONFIGURE_ARGS.
- Remove --mandir and --infodir in ports' Makefile where applicable
  Few ports use REINPLACE_CMD to achieve the same effect, remove them too.
- Correct some manual pages location from PREFIX/man to MANPREFIX/man
- Define INFO_PATH where necessary
- Document that .info files are installed in a subdirectory relative to
  PREFIX/INFO_PATH and slightly change add-plist-info to use INFO_PATH and
  subdirectory detection.

PR:		ports/111470
Approved by:	portmgr
Discussed with:	stas (Mk/*), gerald (info related stuffs)
Tested by:	pointyhat exp run
2007-07-23 09:36:51 +00:00
Sergei Kolobov
73de43e54b - Update to 2.2.1 [1]
- Add rc.d scripts for cfexecd(8) and cfservd(8)

PR:		ports/113167 [1]
Submitted by:	Jo Rhett <jrhett AT svcolo dot com>
2007-06-15 18:18:57 +00:00
Xin LI
d976912159 - Update to 2.1.22
- Respect users' PTHREEAD related settings
 - Correct usage of BerkeleyDB
 - Use Berkeley DB 4.4 per original authors

PR:		ports/109707
Approved by:	maintainer timeout (19 days)
2007-03-20 03:34:48 +00:00
Pav Lucistnik
74e93340df - Patch to fix berkeley db detection in configure script. Fixes compilation
when multiple db ports are installed
- Patch to explicitly link with included libpub.a, instead of one in /usr/local
- Patch to never rebuild documentation, the full copy is included

PR:		ports/106790
Submitted by:	Nick Barkas <snb@threerings.net>
Approved by:	maintainer timeout (sergei; 1 month)
2007-01-24 22:47:36 +00:00
Sergei Kolobov
a73e848342 - Update to 2.1.21 2006-10-09 15:36:58 +00:00
Sergei Kolobov
fabbead445 - Add patches synced with sysutils/cfengine2 port
Forgotten by:	cvs(1)
2006-10-09 13:23:49 +00:00
Sergei Kolobov
b7ccbcd1bb - Resurrect sysutils/cfengine port removed year ago. It is currently
synced with sysutils/cfengine2 which it is going to replace.
  The reason for that is Cfengine 2.x being the stable version now,
  so the need for keeping both old 1.x (sysutils/cfengine) and the new
  2.x (sysutils/cfengine2) has been obsoleted.

This is currently disconnected from the build.
2006-10-09 13:19:33 +00:00
Sergei Kolobov
05588ab48b - Remove sysutils/cfengine (cfengine-1.x) - the port is marked DEPRECATED
and has expired on 2005-09-14.
  Any cfengine-1.x users should consider migrating to cfengine-2.x
  (sysutils/cfengine2).

Approved by:	gordon (maintainer)
2005-10-20 09:44:21 +00:00
Sergei Kolobov
c9acdc058a - Mark this port DEPRECATED; users are advised to use sysutils/cfengine2
- Set EXPIRATION_DATE to 6 months from now
- Set NO_LATEST_LINK

Approved by:	gordon (maintainer) on freebsd-ports
2005-03-14 15:16:44 +00:00
Colin Percival
7ef8b8da40 Remove conditional dependencies on security/tcp_wrapper: That port
hasn't existed since October 2002, and tcp_wrapper has been included in
the base system since March 1999.
2005-01-20 18:52:56 +00:00
Ade Lovett
1a628ded35 Sync with new bsd.autotools.mk 2004-06-04 17:29:38 +00:00
Trevor Johnson
8232e82f85 SIZEify (maintainer timeout) 2004-03-31 03:12:58 +00:00
Joe Marcus Clarke
73f7c91b5d Bump PORTREVISION on all ports that depend on gettext to aid with upgrading.
(Part 1)
2004-02-04 05:10:27 +00:00
Ade Lovett
7e52725f2a Clear moonlight beckons.
Requiem mors pacem pkg-comment,
And be calm ports tree.

E Nomini Patri, E Fili, E Spiritu Sancti.
2003-03-07 06:14:21 +00:00
Jacques Vidrine
5ed6273d82 Remove bogus patch to use `-ldes'.
Approved by:	gordon (MAINTAINER)
2003-02-18 18:35:22 +00:00
Gordon Tetlow
97bdda3e78 Fix cfengine port now that makeinfo splits info -> html output. This broke
package building. The solution is to force it back to creating a monolithic
html file.

Submitted by:	kris
2002-09-19 15:49:09 +00:00
Kris Kennaway
b980632519 BROKEN: Incorrect plist 2002-09-19 02:51:53 +00:00
Ade Lovett
76d6ac6122 BerkeleyDB cleanup - stage 2
Update databases/db3 to 3.3.11, and fix the few ports that need sorting
after the shlib version update, and a slight API change from 3.2.x->3.3.x
2002-08-22 19:13:46 +00:00