Commit Graph

172 Commits

Author SHA1 Message Date
sthen
d858b7cc2a Ports built with setuptools on python 3.10 don't need a RUN_DEPENDS on
setuptools (it's used as a package locator but importlib.metadata in
newer Python core or the external importlib_metadata are preferred).
So drop the RDEP in that case (it's still kept for py27) and bump
revisions.
2022-11-26 23:28:11 +00:00
sthen
1427b990d1 bump for MODPY_DEFAULT_VERSION_3 change 2022-11-13 15:29:41 +00:00
ajacoutot
c4096e6659 Stop using the daemon class in @newuser.
If we need to make an exception we can do it and properly document the
reason but by default we should just use the default login class.
rc.d uses daemon or the login class provided in login.conf.d so this has
no impact there.

discussed with sthen@, tb@ and robert@

praying that my grep/sed skills did not break anything and still
believing in portbump :-)
2022-11-08 11:16:56 +00:00
florian
e716f7389a update to 3003.5 to make it work with py3-jinja2 >= 3.1
OK robert
2022-07-14 13:47:42 +00:00
robert
01eee621ba security update to to 3003.4
https://saltproject.io/security_announcements/attention-some-critical-vulnerabilities-have-been-discovered-in-salt-versions-3004-and-earlier/
2022-03-29 13:36:00 +00:00
naddy
2b3700e37e drop RCS Ids 2022-03-11 19:57:10 +00:00
sthen
384d97056e bump REVISION for switch from Python 3.8 -> 3.9 2021-11-02 00:02:32 +00:00
robert
77ea7ea5de remove a dependency which is part of python now;
https://github.com/saltstack/salt/issues/60483
2021-09-21 06:09:40 +00:00
robert
88aecddeb8 update to 3003.3 2021-09-14 07:23:12 +00:00
jasper
626e4bd6b9 passing the salt to robert
ok robert@ (new maintainer)
2021-08-17 19:16:23 +00:00
jasper
816e85189a update to salt-3002.6 2021-03-24 18:38:35 +00:00
jasper
684a663148 update to salt-3002.5 2021-02-27 11:59:40 +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
jasper
0cf562d602 update to salt-3002.2 2020-11-20 13:21:00 +00:00
jasper
3449419e41 update to salt-3002.1 2020-11-06 18:42:15 +00:00
jasper
91bbf0a313 update to salt-3002 which includes fixes for CVE-2020-16846, CVE-2020-17490, CVE-2020-25592
https://docs.saltstack.com/en/master/topics/releases/3002.html
2020-11-05 14:56:04 +00:00
jca
b59233c341 Remove gnupg-1.4 and replace it with gnupg-2
gnupg-1.4 is not developed actively anymore, and new software expects
a modern "gpg" executable, which leads to pointless patches in the ports
tree.  Move the various users of security/gnupg2 to security/gnupg and
zap patches that forced the use of "gpg2".

Crusade started by edd@ (security/gnupg maintainer), gnupg->gnupg2 test
reports from semarie@, giovanni@ and solene@, input and bulk build by
sthen@.  ok sthen@ edd@ (maintainer)
2020-10-05 19:46:17 +00:00
jasper
9199e4b60d update to salt-3001.1 2020-08-09 10:33:43 +00:00
jasper
e7694a6bca unbreak swap_total which was divided by a 1024 too many 2020-08-07 19:31:23 +00:00
jasper
2e00cc8d91 unbreak grains gathering on minions without swap configured 2020-08-03 13:30:06 +00:00
jasper
cc0ebf4c39 also fix argument order for 'vmctl start' when creating a new vm 2020-07-26 13:05:24 +00:00
jasper
f44b9933a3 Fix order of argument for 'vmctl create'
Diagnosed by tb@, patch from martingot@protonmail.com
thanks!
2020-07-26 12:45:58 +00:00
jasper
d5d1a06045 Attempt to use gpg2 first, falling back to gpg 2020-07-25 09:25:32 +00:00
florian
a3e2e12f8b Replace cgi.escape with html.escape. The former has been deprecated since
python 3.2 and removed in 3.8. html.escape is the recommended drop-in
fix.
OK sthen, bket
2020-07-15 10:29:15 +00:00
florian
170605c53d Fix sysctl state.
OK kn, jasper
2020-07-09 08:15:12 +00:00
jasper
3aab882a73 stop passing GSSAPIAuthentication to ssh(1) which isn't understood and only results
in a message getting logged to stderr
2020-07-06 17:17:13 +00:00
jasper
6dc485a4f6 add py-psutil as RDEP as it's used by quite a number of modules 2020-07-06 16:52:27 +00:00
sthen
d9cfe4113e bump REVISION; python 3 default changed to 3.8 2020-07-03 21:12:24 +00:00
jasper
326f184d6a - update to salt-3001
https://docs.saltstack.com/en/master/topics/releases/3001.html

from Uwe Werler
2020-07-02 19:04:32 +00:00
jasper
bdad9ddb7c address a few deprecation warnings; from upstream 2020-05-20 12:38:20 +00:00
jasper
dca1e91ee6 include py-mysqlclient in TEST_DEPENDS to replace py-msql. the former is fork
which includes python3 support
2020-05-15 11:01:13 +00:00
jasper
96742ee25f remove py-mysql from TEST_DEPENDS since the version we have in tree doesn't support python3
and upstream claims it will be added in a future release. for now, unbreak sqlports
2020-05-15 06:18:31 +00:00
florian
e071f4050f Update to salt stack 3000.3.
All the heavy lifting for updating from 2018.3 to 3000.1 by robert.
Trivial rebasing & updating to 3000.1 -> 3000.3 by me.
"Please commit" robert
OK robert, jasper
2020-05-14 16:47:27 +00:00
robert
abaf66394a apply better patches for the CVE-2020-11652 CVE from
https://github.com/rossengeorgiev/salt-security-backports

ok naddy@, sthen@
2020-05-06 18:54:08 +00:00
robert
63530a4cbf backport patches for two security issues:
commit f47e4856497231eb672da2ce0df3e641581d47e6
Author: Daniel A. Wozniak <dwozniak@saltstack.com>
Date:   Mon Apr 13 06:41:04 2020 +0000

    Fix CVE-2020-11651

    Resolve issue which allows access to un-intended methods in the
    ClearFuncs class of the salt-master process

commit 7bd0ab195fbec4f34523dad11149f741c154e2b7
Author: Daniel A. Wozniak <dwozniak@saltstack.com>
Date:   Mon Apr 13 06:44:58 2020 +0000

    Fix CVE-2020-11652

    Sanitize paths in ClearFuncs methods provided by salt-master. This
    ensures we do not allow access to un-intended files and directories.

ok sthen@, jasper@
2020-05-01 08:01:08 +00:00
ajacoutot
4e6b2a66cb Remove TDEP on net/py-libcloud which is py3 only.
Will be brought back once salt move to py3 after unlock.
2020-04-18 09:22:32 +00:00
bket
64a02a3178 Revert to py-msgpack-0.6.2 and set version requirement in sysutils/salt
florian@ noticed that sysutils/salt does not like py-msgpack-1.0.0.
Upstream of the latter dropped the encoding option from Packer and
Unpacker causing a TypeError

Comments and OK from jca@
2020-03-13 12:31:46 +00:00
sthen
77f7cc9c61 replace simple PERMIT_PACKAGE_CDROM=Yes with PERMIT_PACKAGE=Yes 2019-07-12 20:49:33 +00:00
jasper
df48dc5abd fix use of deprecated functions after the py-git2-0.27.4 update
pointed out by florian@
2019-02-28 16:34:59 +00:00
jasper
0a83c4c061 update to salt-2018.3.3 2019-01-28 19:25:27 +00:00
jasper
2d12e72a76 update to salt-2018.3.2 2018-07-09 12:28:05 +00:00
jasper
8c7601b150 update to salt-2018.3.1 2018-06-14 18:58:26 +00:00
jasper
ceaeacbc82 bump after py-cryptodome pkgname change; saltstack already depended on it 2018-06-03 11:26:39 +00:00
jasper
6e23ec0650 address deprecation warnings for salt.utils.which 2018-05-24 16:59:40 +00:00
jasper
ed98ae7fcd don't crash when calling swapctl fails, i.e. when there's no swap configured
spotted by juanfra@
2018-05-17 12:51:10 +00:00
jasper
c87a402305 switch to py-cryptodome 2018-05-14 19:16:50 +00:00
robert
7c24292864 fix path to zabbix_send to be able to use zabbix as a returner
ok jasper@
2018-04-25 17:16:19 +00:00
jasper
8134ad9721 update to salt-2018.3.0
https://docs.saltstack.com/en/latest/topics/releases/2018.3.0.html
2018-04-25 10:02:48 +00:00
ajacoutot
cce4536626 End these over to jasper@, I'm not really using salt anymore these days.
ok jasper@
2018-04-05 11:45:43 +00:00
ajacoutot
95aa9f5f75 Update to salt-2017.7.4. 2018-02-23 10:35:29 +00:00