Commit Graph

14 Commits

Author SHA1 Message Date
Ryan Steinmetz
63a19cb01f - Update to 19.2
PR:		239836
Submitted by:	Andrey Fesenko <andrey@bsdnir.info>
2019-08-14 14:55:50 +00:00
Ryan Steinmetz
0d35359389 - Fix auto-resize code
- Bump PORTREVISION
2018-08-03 17:36:44 +00:00
Ryan Steinmetz
16ca8f48fd - Bump PORTREVISION
- Fix rc script errors
- Fix config file location
2018-08-02 12:05:46 +00:00
Ryan Steinmetz
121d16317b - Update to 18.3
- Take MAINTAINERship
2018-07-31 21:55:18 +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
Tobias Kortkamp
4fd6b1be12 net/cloud-init: Add ldconfig to rc.d script
rcorder shows that ldconfig is running after cloudinit in some cases.
This can lead to problems like the following when running it on
OpenStack:

Shared object "libpython2.7.so.1" not found, required by "python2.7"

- Reset maintainer by request of the current maintainer

PR:		224361
Submitted by:	thompsa
Approved by:	maintainer
2018-01-01 12:14:13 +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
Rene Ladan
ea4c1ae8b4 Remove dependency on devel/py-argparse which is expired and included in
Python 2.7+ / 3.2+ by default.

sysutils/osquery fails to build because of C++ errors.
2016-12-04 13:08:46 +00:00
Mark Linimon
10007ec1c7 Mark as x86-only due to dependency on dmidecode.
From the maintainer:

FreeBSD support is not high on the list of things that upstream is
working on ... dmidecode is used as a fallback to try and figure out
if cloud-init is running on RHEV or VSPHERE.  I would rather not try to
patch the existing source code since upstream is multiple versions ahead
(all of them are unfortunately broken on FreeBSD).

Approved by:	maintainer
2016-11-20 21:09:05 +00:00
Jan Beich
28bd9cceaf net/cloud-init: over to new maintainer to fix #57
Submitted by:	@harmw (via GitHub PR)
2016-11-08 09:08:39 +00:00
Mathieu Arnold
8d6597e0bb Remove ${PORTSDIR}/ from dependencies, categories m, n, o, and p.
With hat:	portmgr
Sponsored by:	Absolight
2016-04-01 14:16:16 +00:00
Dmitry Marakasov
67971bd0fb Improve shebangfix framework
- Support multiple values in *_OLD_CMD, i.e. we can now fix both "/usr/bin/python" and "/usr/bin/env python" at the same time
- Default *_OLD_CMD values are now always appended, so you don't need to specify them in individual ports
- Add lua support (depends on USES=lua)
- Add more default values, such as "/usr/bin/env foo" for python, perl, bash, ruby and lua
- Shebangfix now matches whole words, e.g. we will no longer (erroneously) replace "/usr/bin/perl5.005" with "${perl_CMD}5.005" (but "/usr/bin/perl -tt" is still (correctly) replaced with "${perl_CMD} -tt")

Note that *_OLD_CMD items containing spaces must now be quoted (e.g. perl_OLD_CMD=/bin/perl /usr/bin/perl "/usr/bin/env perl")

Update shebangfix usage according to new rules in many ports:

- Remove *_OLD_CMD for patterns now replaced by default
- Quote custom *_OLD_CMD which contain spaces

Fix shebangfix usage in many ports (irrelevant to infrastructure change):

- Remove redundant SHEBANG_LANG (no need to duplicate default langs)
- Remove redundant *_CMD (such as python_CMD=${LOCALBASE}/bin/python${PYTHON_VER} when USES=python is present)
- Never use *_OLD_CMD in REINPLACE_CMD matchers, these should always look for exact string

Approved by:	portmgr (bapt)
Differential Revision:	D3756
2015-10-19 14:50:52 +00:00
Antoine Brodin
6e381a9d53 Switch default python_CMD used by shebangfix to ${PYTHON_CMD} for ports
using python

PR:		201077
Reviewed by:	mat
With hat:	portmgr
Differential Revision:	https://reviews.freebsd.org/D2955
2015-07-29 22:09:53 +00:00
Dmitry Marakasov
93c6b5cf52 Package provides configuration and customization of cloud instance.
WWW: https://launchpad.net/cloud-init

PR:		194295
Submitted by:	harm@weites.com
2014-10-27 19:48:03 +00:00