Commit Graph

106 Commits

Author SHA1 Message Date
Sunpoet Po-Chuan Hsieh e4d33a3303 Add missing RUN_DEPENDS
- Bump PORTREVISION for dependency change

PR:		233275
Submitted by:	Christer Edwards <christer.edwards@gmail.com> (maintainer)
2018-11-17 17:45:39 +00:00
Ben Woods 537a0ae9dc sysutils/py-salt: Update to 2018.3.3
This is a security release, addressing the following CVE's:
- CVE-2018-15751 - Remote command execution and incorrect access control
                   when using salt-api.
- CVE-2018-15750 - Directory traversal vulnerability using salt-api.
                   Allows an attacker to determine what files exist on
                   a server when querying /run or /events.

Other changes this release:
  https://docs.saltstack.com/en/latest/topics/releases/2018.3.3.html

PR:		232663
Submitted by:	Christer Edwards <christer.edwards@gmail.com>
Approved by:	Christer Edwards (maintainer)
MFH:		2018Q4
Security:	https://www.vuxml.org/freebsd/4f7c6af3-6a2c-4ead-8453-04e509688d45.html
2018-10-27 08:07:37 +00:00
Wen Heping 441be23c75 - Update to 2018.3.2
- Fix the py3 loader issue

PR:		231609
Submitted by:	christer.edwards@gmail.com(maintainer)
2018-09-24 13:45:55 +00:00
Mathieu Arnold 4376dbbb58 Use PY_FLAVOR for dependencies.
FLAVOR is the current port's flavor, it should not be used outside of
this scope.

Sponsored by:	Absolight
2018-06-20 17:05:41 +00:00
Steve Wills 8f9941e6fd sysutils/py-salt : update to 2018.3.1
PR:		229012
Submitted by:	Christer Edwards <christer.edwards@gmail.com> (maintainer)
2018-06-15 13:25:56 +00:00
Sunpoet Po-Chuan Hsieh a4de91ec15 Fix msgpack dependency
- Bump PORTREVISION for package change

Tested by:	Christer Edwards <christer.edwards@gmail.com> (maintainer)
2018-04-25 21:01:46 +00:00
Dmitry Marakasov c637402081 Switch all pypi.python.org WWWs to a new PyPi home pypi.org where
they now redirect to anyway. All new urls checked to return 200,
I've fixed a couple of them in the process.

Approved by:	portmgr blanket, mat
2018-04-25 16:42:37 +00:00
Mathieu Arnold 35f7be6559 Update to 2018.3.0
PR:		227721
Submitted by:	maintainer
Sponsored by:	Absolight
2018-04-23 16:53:36 +00:00
Sunpoet Po-Chuan Hsieh f962491120 Move devel/py-msgpack-python to devel/py-msgpack
- Update to 0.5.6
- Update pkg-descr
- Update WWW

Changes:	https://github.com/msgpack/msgpack-python/blob/master/ChangeLog.rst
2018-04-22 18:29:51 +00:00
Renato Botelho 68555a3eb9 Fix saltstack bootstrap renaming desired to be installed package from
swig -> swig30 since former package doesn't exist

PR:		226830
Submitted by:	garga
Approved by:	maintainer timeout (> 2 weeks)
Obtained from:	https://github.com/saltstack/salt-bootstrap/issues/1192
MFH:		2018Q2
Sponsored by:	Rubicon communications, LLC (Netgate)
2018-04-13 16:06:33 +00:00
Kubilay Kocak 3a02f5d014 sysutils/py-salt: Bump PORTREVISION
Chase ports r464891 that switched salt's dependencies from tornado (5.x) to
tornado (4.x, www/tornado4), as the failure occurs at runtime.

Since package builds werent affected (packages were created) after the
ports r464162 regression (updating tornado to 5.x), we need to force a rebuild.

PR:		226548
Reported by:	dani-hp (via IRC)
2018-03-20 10:56:52 +00:00
Grzegorz Blach aa751a4818 Depend on www/tornado4 instead of www/tornado
PR:		226548
Approved by:	christer.edwards (maintainer)
2018-03-18 10:45:03 +00:00
Ben Woods 79bc1193c5 sysutils/py-salt: Update to 2017.7.4
This is a bugfix release for the 2017.7.x branch.

Changes this release:
  https://docs.saltstack.com/en/latest/topics/releases/2017.7.4.html

PR:		226319
Approved by:	Christer Edwards (maintainer)
MFH:		2018Q1
2018-03-07 12:44:29 +00:00
Sunpoet Po-Chuan Hsieh 196e09ff90 Simplify Makefile: use PY_ENUM34 and PY_FUTURES
With hat:	python
2018-02-26 22:32:37 +00:00
Ben Woods 4daf2cd109 sysutils/py-salt: make AWS support optional (off by default)
PR:		225983
Submitted by:	ohauer
Approved by:	Christer Edwards (maintainer)
2018-02-24 02:13:41 +00:00
Ben Woods ae948d775b sysutils/py-salt: Update to 2017.7.3
This is a bug fix release for the 2017.7.x branch. Changes this release:
  https://docs.saltstack.com/en/latest/topics/releases/2017.7.3.html

PR:		225983
Submitted by:	ohauer
Approved by:	Christer Edwards (maintainer)
MFH:		2018Q1
2018-02-24 01:56:11 +00:00
Ben Woods e8140dfc2d sysutils/py-salt: Patch module pkgng to fix pkg.clean and pkg.upgrade
These have been committed upstream:
  https://github.com/saltstack/salt/commit/f70ca0f91d722647c7bf528204f56e01835ba1b9
  https://github.com/saltstack/salt/commit/348342f4eb8803f3c31e8b21fd59130facb89a93

PR:		224594
Approved by:	Christer Edwards (maintainer)
2017-12-28 08:53:53 +00:00
Sunpoet Po-Chuan Hsieh d187f2f62c Fix packaging on Python 3+ and unbreak this port
PR:		224029
Reported by:	Henrik Hudson <ports@thelanman.net>
Approved by:	portmgr (blanket)
2017-12-12 13:35:38 +00:00
Mathieu Arnold 551be3c723 Convert Python ports to FLAVORS.
Ports using USE_PYTHON=distutils are now flavored.  They will
  automatically get flavors (py27, py34, py35, py36) depending on what
  versions they support.

  There is also a USE_PYTHON=flavors for ports that do not use distutils
  but need FLAVORS to be set.  A USE_PYTHON=noflavors can be set if
  using distutils but flavors are not wanted.

  A new USE_PYTHON=optsuffix that will add PYTHON_PKGNAMESUFFIX has been
  added to cope with Python ports that did not have the Python
  PKGNAMEPREFIX but are flavored.

  USES=python now also exports a PY_FLAVOR variable that contains the
  current python flavor.  It can be used in dependency lines when the
  port itself is not python flavored.  For example, deskutils/calibre.

  By default, all the flavors are generated.  To only generate flavors
  for the versions in PYTHON2_DEFAULT and PYTHON3_DEFAULT, define
  BUILD_DEFAULT_PYTHON_FLAVORS in your make.conf.

  In all the ports with Python dependencies, the *_DEPENDS entries MUST
  end with the flavor so that the framework knows which to build/use.
  This is done by appending '@${PY_FLAVOR}' after the origin (or
  @${FLAVOR} if in a Python module with Python flavors, as the content
  will be the same).  For example:

    RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}six>0:devel/py-six@${PY_FLAVOR}

PR:		223071
Reviewed by:	portmgr, python
Sponsored by:	Absolight
Differential Revision:	https://reviews.freebsd.org/D12464
2017-11-30 15:50:30 +00:00
Ben Woods 428e71ba1b sysutils/py-salt: Update to 2017.7.2
Changes this release:
  https://docs.saltstack.com/en/latest/topics/releases/2017.7.2.html

This update also includes
- 2 security fixes (CVE-2017-14695 and CVE-2017-14696)
- 2 additional boto dependencies to fix error msgs produced by salt

PR:		223821
PR:		222943
Submitted by:	netzmacher <admin@netzmacher.net> (PR 222943)
Approved by:	Christer Edwards (maintainer)
MFH:		2017Q4
Security:	https://vuxml.freebsd.org/freebsd/50127e44-7b88-4ade-8e12-5d57320823f1.html
2017-11-25 01:07:10 +00:00
Ben Woods 38ed2db8e3 sysutils/py-salt: Only depend on devel/py-futures with python2
(futures is built into python3)

PR:		220869
Submitted by:	admin@netzmacher.net
2017-08-26 07:51:59 +00:00
Ben Woods acf30df658 Update sysutils/py-salt to 2017.7.1
- Includes fix for security vulnerability CVE-2017-12791
- Include patch to fix bug in the freebsdservice module [1]
- Add TCP transport option
- Clarify the port options for transports only install the runtime dependencies
- Add note to pkg-message explaining how to change to non-default transports
- Change supported python releases to exclude 2.6 and allow python3 [2]
- Only depend on py-enum34 if python version is < 3.4 (included in python >= 3.4)
- Reorder Makefile to move OPTIONS after USES/USE/standard variables [3]
- Ensure Makefile lists are sorted alphabetically

[1] https://github.com/saltstack/salt/issues/36675#issuecomment-323586323
[2] https://docs.saltstack.com/en/latest/topics/releases/2017.7.0.html#python-3
[3] https://www.freebsd.org/doc/en/books/porters-handbook/porting-order.html

Changes this release:
  https://docs.saltstack.com/en/latest/topics/releases/2017.7.0.html
  https://docs.saltstack.com/en/latest/topics/releases/2017.7.1.html

PR:		220869
Reported by:	Christer Edwards <christer.edwards@gmail.com> (maintainer)
Approved by:	Christer Edwards <christer.edwards@gmail.com> (maintainer)
Security:	CVE-2017-12791
Security:	https://vuxml.freebsd.org/freebsd/3531141d-a708-477c-954a-2a0549e49ca9.html
2017-08-22 23:02:21 +00:00
Brad Davis 2515b4ebf6 Use @sample for the master and minion config files.
PR:		217780
Approved by:	Christer Edwards <christer.edwards@gmail.com> (maintainer)
Approved by:	bdrewery (mentor, implicit)
2017-07-18 01:55:10 +00:00
Sunpoet Po-Chuan Hsieh a6468135f8 Update to 2016.11.6
Changes:	https://github.com/saltstack/salt/blob/develop/doc/topics/releases/2016.11.6.rst
PR:		220448
Submitted by:	Dani <i.dani@outlook.com>
Approved by:	Christer Edwards <christer.edwards@gmail.com> (maintainer)
2017-07-07 16:34:02 +00:00
Sunpoet Po-Chuan Hsieh 23e914032b Update to 2016.11.5
Changes:	https://github.com/saltstack/salt/blob/develop/doc/topics/releases/2016.11.5.rst
PR:		219258
Submitted by:	Christer Edwards <christer.edwards@gmail.com> (maintainer)
2017-05-13 14:59:25 +00:00
Sunpoet Po-Chuan Hsieh 82c65033cc Update to 2016.11.4
Changes:	https://github.com/saltstack/salt/blob/develop/doc/topics/releases/2016.11.4.rst
PR:		218836
Submitted by:	Christer Edwards <christer.edwards@gmail.com> (maintainer)
2017-04-24 15:21:40 +00:00
Ben Woods 516254aa68 sysutils/py-salt: Make salt.modules.pw_user.get_loginclass return string
rather than dict.

This fixes salt.modules.pw_user.chloginclass which is used for FreeBSD
and expects a string to be returned. This was therefore returning False
even after successfully changing the loginclass.

This also fixes salt.states.user.present on FreeBSD when loginclass is
set.

PR:		218694
Approved by:	Christer Edwards <christer.edwards@gmail.com> (maintainer)
2017-04-24 13:09:34 +00:00
Bartek Rutkowski efc63701d6 sysutils/py-salt: update 2016.11.2 -> 2016.11.3
PR:		217687
Submitted by:	garga
Approved by:	Christer Edwards <christer.edwards@gmail.com> (maintainer)
2017-03-23 11:31:56 +00:00
Martin Wilke 47784de97d - Update to 2016.11.2
PR:		        217185
Submitted by:	maintainer
2017-02-18 08:39:05 +00:00
Brad Davis 7472c5e220 sysutils/py-salt: Teach the Salt master and minion startup scripts to set
pidfile=.

On a restart this will cause the rc framework to wait for the processes to
exit before trying to start, instead of failing to start because the previous
processes have not gone away yet.

PR:		217154
Approved by:	Christer Edwards <christer.edwards@gmail.com> (maintainer),
		bdrewery (mentor, implicit)
2017-02-17 15:59:58 +00:00
Ben Woods 40e930d67d sysutils/py-salt: Restore install arguments post r427901 to fix syspaths.py
Without PYDISTUTILS_INSTALL_TARGET setting the install arguments, salt
will be built with an invalid syspaths.py, particularly if installed
somewhere other than /usr/local.

As of 2016.11.0, the arguments caused an error, which was traced back to
https://github.com/saltstack/salt/pull/31097/files.
The removed code was deprecated, but included instructions on how to
make the arguments continue to work: simply move them earlier in the
command (ie., "python setup.py <args> install" instead of
"python setup.py install <args>").

PR:		215885
Submitted by:	Erick Turnquist <jhujhiti@adjectivism.org>
Approved by:	Christer Edwards (maintainer)
MFH:		2017Q1
2017-02-09 13:10:53 +00:00
Sunpoet Po-Chuan Hsieh d27a263393 - Update to 2016.11.1
- While I'm here:
  - Update version requirement
  - Use USE_PYTHON=autoplist
  - Remove PYDISTUTILS_EGGINFO
  - Sort USE_RC_SUBR
  - Sort PLIST

Changes:	https://docs.saltstack.com/en/latest/topics/releases/2016.11.1.html
PR:		215380
Submitted by:	Christer Edwards <christer.edwards@gmail.com> (maintainer)
2016-12-19 15:54:48 +00:00
Steve Wills 5ff7c76c2c sysutils/py-salt: put back sysctl patch
It's not yet merged upstream

Reported by:	Dani Ilg <ilg.dani@outlook.com> (private email)
Approved by:	Christer Edwards <christer.edwards@gmail.com> (private email)
2016-12-06 19:56:51 +00:00
Steve Wills d5f1652d5d sysutils/py-salt : update to 2016.3.4
While here, fix OpenSSL 1.1 compatibility

PR:		214786
PR:		214998
PR:		215051
Submitted by:	Christer Edwards <christer.edwards@gmail.com> (maintainer)
Reported by:	Melvyn Sopacua <m.r.sopacua@gmail.com> (214998)
Obtained from:	https://github.com/saltstack/salt/pull/37772 (215051)
2016-12-05 15:00:49 +00:00
Steve Wills 66dece4792 sysutils/py-salt: update to 2016.3.4
PR:		214020
Submitted by:	Christer Edwards <christer.edwards@gmail.com> (maintainer)
2016-11-08 13:01:42 +00:00
Dmitry Marakasov b735aaab75 - Update to 2016.3.3
PR:		212221
Submitted by:	christer.edwards@gmail.com (maintainer)
2016-08-29 11:20:48 +00:00
Pawel Pekala e2072932e3 Update to version 2016.3.2
PR:		211532
Submitted by:	Andres Montalban
Approved by:	Christer Edwards (maintainer)
2016-08-03 18:26:42 +00:00
Jason Unovitch 6fae8107d2 sysutils/py-salt: add patches to handle runtime regressions in 2016.3.x
Fixes cron.file from upstream issue #34094/#34095 [1].  This will be in
2016.3.2.
- https://github.com/saltstack/salt/issues/34094
- https://github.com/saltstack/salt/pull/34095

Restore patch for upstream issue #33608. This was patched in 2016.3.0 but
removed in the maintainer update to 2016.3.1 in r417508. However the patch
has yet to be merged upstream. [2]
- https://github.com/saltstack/salt/issues/33608

PR:		210627 [1], 210395 [2]
Reported by:	Andres Montalban <amontalban@gmail.com>
Approved by:	Christer Edwards <christer.edwards@gmail.com> (maintainer)
MFH:		2016Q3
2016-07-13 01:53:45 +00:00
Jason Unovitch 71f55866a1 sysutils/py-salt: update 2016.3.0 -> 2016.3.1
- Remove patches accepted upstream

Changes:	https://docs.saltstack.com/en/latest/topics/releases/2016.3.1.html

PR:		210395
Submitted by:	Christer Edwards <christer.edwards@gmail.com> (maintainer)
2016-06-26 00:42:55 +00:00
Kurt Jaeger 97a33341e6 sysutils/py-salt: Fix upstream issues #33554, #33578, #33608 and #33529
The patch fixes some issues that are new with 2016.3.0
- https://github.com/saltstack/salt/issues/33529
- https://github.com/saltstack/salt/issues/33554
- https://github.com/saltstack/salt/issues/33578
- https://github.com/saltstack/salt/issues/33608

PR:		209829
Submitted by:	ohauer, Andreas Montalban <amontalban@gmail.com>
Approved by:	christer.edwards@gmail.com (maintainer timeout)
2016-06-15 04:40:36 +00:00
Dmitry Marakasov e7901397f3 - Update to 2016.3.0
PR:		209757
Submitted by:	christer.edwards@gmail.com (maintainer)
2016-05-26 10:26:24 +00:00
Dmitry Marakasov a640a5e0d0 - Update to 2015.8.10
PR:		209721
Submitted by:	christer.edwards@gmail.com (maintainer)
2016-05-24 14:02:32 +00:00
Dmitry Marakasov e87a8bd319 - Fix trailing whitespace in pkg-messages
Approved by:	portmgr blanket
2016-05-19 11:09:14 +00:00
Guido Falsi 6c33de93f4 Import upstream patches which remove some spurious log entries
PR:		208520
Submitted by:	Christer Edwards <christer.edwards at gmail.com>
		(maintainer)
Obtained from:	https://github.com/saltstack/salt/pull/32135
		https://github.com/saltstack/salt/pull/32023
		https://github.com/saltstack/salt/pull/32117
2016-04-06 20:11:24 +00:00
Mathieu Arnold 597afc47ba Remove ${PORTSDIR}/ from dependencies, categories r, s, t, and u.
With hat:	portmgr
Sponsored by:	Absolight
2016-04-01 14:25:16 +00:00
Dmitry Marakasov e5b14f998c - Add CPE information
PR:		208330
Submitted by:	shun.fbsd.pr@dropcut.net
Approved by:	christer.edwards@gmail.com (maintainer)
2016-03-29 18:44:45 +00:00
Raphael Kubo da Costa fc0fd19430 Update to 2015.8.8.
Release notes:
https://docs.saltstack.com/en/latest/topics/releases/2015.8.8.html

PR:		208244
Submitted by:	Christer Edwards <christer.edwards@gmail.com>
2016-03-24 14:08:09 +00:00
Vsevolod Stakhov 7349ed49cd - Update libsodium to 1.0.8
- Bump revisions of all dependant ports

PR:		206482
Submitted by:	lev, w.schwarzenfeld@aon.at
2016-03-23 09:20:35 +00:00
Raphael Kubo da Costa 5117692ddf Update to 2015.8.7.
PR:		207316
Submitted by:	Christer Edwards <christer.edwards@gmail.com> (maintainer)
2016-02-19 13:18:27 +00:00
Jason Unovitch 65d4203ba0 sysutils/py-salt: update 2015.8.4 -> 2015.8.5
Note that 2015.8.4 resolved CVE-2016-1866 but introduced a bug that broke a
lot of Salt functionality. This update is functionally equivalent to the
current patched 2015.8.4_1 port but brings us back in line with upstream.

PR:		206906
Submitted by:	Christer Edwards <christer.edwards@gmail.com>
MFH:		2016Q1
2016-02-05 20:47:02 +00:00