52 Commits

Author SHA1 Message Date
naddy
2b3700e37e drop RCS Ids 2022-03-11 19:57:10 +00:00
jeremy
d44947f608 Set Puppet-related ports to use Ruby 2.7
Puppet 5 and 6 currently use Ruby 2.7, as that is the default Ruby
version.  Puppet 6 can probably run on Ruby 3.0 after a distpatch,
but Puppet 5 would require additional backporting (how much is
unknown).  Both Puppet 5 and 6 depend on facter and mcollective,
and all must use the same Ruby version. So setting all four ports
to use Ruby 2.7 seems like the simplest way to continue to keep things
working when the default Ruby version is switched to Ruby 3.0.

While here, add install patches for Puppet 5, 6, and mcollective
to build with Ruby 3.0, and add backport a distpatch from Puppet 7
to Puppet 6 to allow Puppet 6 to run on Ruby 3.0.  This will make a
future switch to Ruby 3.0 easier.

These changes should not have a runtime effect on Puppet 5 or 6.
The Puppet 6 port is bumped, due to the backported patch, but that
patch should not change runtime behavior on Ruby 2.7.

review from sebastia@ (Puppet 5 maintainer)
OK kn@ (Puppet 6 maintainer)
2021-08-30 19:23:38 +00:00
sthen
3cbe1c2f30 Reverse the polarity of MODPY_VERSION; default is now 3.x,
if a port needs 2.x then set MODPY_VERSION=${MODPY_DEFAULT_VERSION_2}.

This commit doesn't change any versions currently used; it may be that
some ports have MODPY_DEFAULT_VERSION_2 but don't require it, those
should be cleaned up in the course of updating ports where possible.

Python module ports providing py3-* packages should still use
FLAVOR=python3 so that we don't have a mixture of dependencies some
using ${MODPY_FLAVOR} and others not.
2021-02-23 19:39:08 +00:00
kn
b728d49c4c Remove Puppet 4
Open Source Puppet 4 LTS reached EOL in october 2018, Puppet 5 (client,
master as well as puppetdb) have been in our tree for years, Puppet 6
(client and master, not yet puppetdb) were recently imported.

Users should long have upgraded to version 5 by now;  see
https://puppet.com/docs/puppet/5.5/upgrade_minor.html for upgrade details.

OK bcallah
2020-05-22 19:58:14 +00:00
kn
746b57dead Hook up Puppet 6 2020-05-18 09:15:50 +00:00
kn
7226c48d70 Use "find -delete" in post-install
No PLIST change except regular reshuffling from update-plist(1)
2020-04-16 13:59:04 +00:00
sthen
77f7cc9c61 replace simple PERMIT_PACKAGE_CDROM=Yes with PERMIT_PACKAGE=Yes 2019-07-12 20:49:33 +00:00
jasper
4276df88d7 remove puppet 3
ok sebastia@ (MAINTAINER)
2018-07-09 06:56:42 +00:00
sebastia
ddc0570f2c Preps for puppet5, do not bother with the emacs files anymore for puppet4,
it's not worth it bothering, and puppet5 doesn't provide them anymore
2017-11-20 12:24:43 +00:00
sebastia
c09d1adb48 Do not nail puppet to ruby 2.2, works well with ruby 2.3
feedback/OK jasper@
2016-09-21 20:29:31 +00:00
jasper
580b2aa32e sebastia@ is the new puppetmaster 2016-09-06 11:26:07 +00:00
jasper
e9ae4747a7 stop building puppet 3, effectively making puppet 4 the default on OpenBSD.
puppet 3 is scheduled to be removed from the tree after 6.1. for more information
on migrating to Puppet 4, please refer to [1] as a starting point.

however note we don't have a port for puppetserver yet, it's a work in progress,
see upstream SERVER-14 for more information. However the ruby puppetmaster
still works fine for us.

1: https://docs.puppet.com/puppet/latest/reference/upgrade_major_pre.html

as discussed with and OK sebastia@
2016-09-06 11:14:51 +00:00
jasper
7c4cf53f25 force MODRUBY_REV=2.2, partially from jeremy@ 2016-09-05 09:00:07 +00:00
jasper
22cdb80ab9 rgen is not required by puppet 3 unless the future parser is used 2016-06-01 12:02:44 +00:00
jasper
85d2554093 sync URL 2016-06-01 11:56:23 +00:00
jasper
975d0ee8b0 add ruby-hiera-eyaml and upcoming puppetdb4 ports to the list 2016-05-31 10:27:38 +00:00
jasper
73be8568b0 put back the FAKE_FLAGS 2016-04-29 07:59:53 +00:00
jasper
0666f5a241 - move common bits back to Makefile.inc in post-install
- gunzip puppet 4 manpages
- install emacs files for puppet 4
- move files.conf to puppet 3
- install some extra config files for puppet 4
2016-04-28 16:02:33 +00:00
jasper
67a696e412 move some bits that are common to 3 and 4 into Makefile.inc 2016-04-28 10:36:17 +00:00
jasper
f5dc4be977 - move do-install to 3/Makefile as most of it cannot be shared with puppet for now
- add conflict marker with puppet4
2016-04-28 09:27:10 +00:00
jasper
a2c1546c15 update HOMEPAGE 2016-04-28 08:54:37 +00:00
jeremy
e07f7c31e7 Remove MODRUBY_ICONV_DEPENDS. ruby 1.8 specific ports can hard code
the dependency, more modern ports don't need it.

OK ajacoutot@
2015-07-18 21:07:40 +00:00
jeremy
aa3fa6c794 Remove unnecessary dependency on ruby-json.
The json library is shipped with ruby 1.9+, and these ports support the
json library that comes with ruby.  While here, remove some
MODRUBY_ICONV_DEPENDS as those only are necessary on ruby 1.8.

OK jasper@
2015-07-18 15:46:11 +00:00
jasper
044cd60f0a install config.ru, as needed for a rack webserver
prompted by sebastia@
2014-11-25 13:19:28 +00:00
jasper
23a8d2deaa - add 'loginclass' property to the 'user' type to get and set the login class for a user
- bump ruby-shadow dependency

requested, tested and ok sebastia@
2014-10-30 12:21:37 +00:00
jeremy
11d34692f8 Use default version of ruby instead of ruby 2.0.
OK jasper@
2014-09-27 17:08:47 +00:00
jasper
8ed5fa0ebe switch puppet to using ruby 2.0, it's about time.. 2014-04-17 18:10:28 +00:00
jasper
27211e6a1b add puppetdb to the list of ports to adjust when bumping ruby 2014-04-17 17:22:35 +00:00
jasper
2f59069ee6 mention ruby-msgpack, though it's currently not required by puppet but just
as a reminder
2014-04-17 15:25:39 +00:00
jasper
38dd93b27a - remove rc_stop() hack from puppetd, the issue has long since been resolved
- fixup license tag
2014-04-17 14:15:53 +00:00
jasper
54f7dbfed2 remove 'net' from CATEGORIES, otherwise we should make the list exhaustive and
add 'mail', 'www', etc to it.
2014-04-17 14:07:41 +00:00
jasper
40fc88e868 update to puppet-3.5.0, please refer to the release notes for detailed
information about the changes:
http://docs.puppetlabs.com/puppet/latest/reference/release_notes.html#puppet-350
2014-04-04 14:31:26 +00:00
jasper
2c3984ea3d add post-install target to ensure cleaner PLISTs 2014-01-12 09:54:03 +00:00
jasper
ac8981df1c update comment with "watch list" 2013-12-21 15:03:52 +00:00
jasper
223e6372b8 add ruby-shadow as a dependency; this enables support for managing user{} passwords 2013-12-13 07:52:55 +00:00
jasper
b1fb6ec8df fixup MASTER_SITES 2013-12-04 09:52:04 +00:00
jasper
6d88c6b446 let puppet run_depend on augeas; suggested by aja@ 2013-12-02 16:04:26 +00:00
jasper
b3ecb0ddbc take maintainership
ok robert@
2013-08-07 08:20:08 +00:00
jasper
c5624b8939 drop the ruby- prefix from these package names since they mainly provide an
application, not a library.

discussed with jeremy@ aja@ robert@
2013-07-09 07:03:28 +00:00
jasper
8a68763bba switch to ruby 1.9 which brings significant speed ups over 1.8.
there is one thing to be aware of, which is that ruby 1.9 uses a stricter
yaml parser, so be sure your hier yaml files are OK before attempting to
update or your agents will fail.

ok robert@ (MAINTAINER)
2013-06-11 14:56:14 +00:00
jasper
9708cbb54f hiera is required by puppet3
ok robert@ (MAINTAINER)
2013-06-11 13:37:14 +00:00
jasper
c9c5fe36e6 remove puppet-2.x, it was intended to be kept around to work against the PE
version, but OS interaction with PE has been broken for a long time now.
Besides, the next PE version will be based on Puppet 3.

ok robert@ (MAINTAINER) ajacoutot@
2013-06-11 13:31:39 +00:00
jasper
9fc8bddff1 add ruby-rgen to the watchlist; it's needed for the "future" parser in 3.2.x 2013-06-10 14:46:59 +00:00
jasper
e5f82867e4 add ruby-augeas to the watchlist
ok aja@
2013-04-15 08:08:09 +00:00
jeremy
ac78ad4e83 Make ruby 1.9 the default ruby for non-gem/extconf ports,
for consistency with the gem/extconf ports.

Update non-gem/extconf ports that relied on the previous
default of ruby 1.8 to explicitly specify it.

OK ajacoutot@
2013-03-20 19:13:50 +00:00
ajacoutot
b2cc782920 Extend comment; no pkg change. 2013-03-20 07:12:22 +00:00
ajacoutot
23308d862b PKG_ARCH=* 2013-03-20 06:55:19 +00:00
ajacoutot
f2bf574479 Factorize a bit more since both ports version share a lot.
While here, fix the rc script to start the master instead of the client
and vice-versa.

ok robert@ (maintainer)
2013-03-13 14:35:38 +00:00
ajacoutot
735feab5d5 Do not hardcode paths in the rc scripts. 2013-03-13 09:56:19 +00:00
sthen
7b10e7c633 PERMIT_* 2013-03-11 12:27:53 +00:00