- update to 2.5.0
ChangeLog:
--------------------------------
Bugs fixed:
* Handle non-ASCII, non-UTF8 filenames in .cvsignore files.
* ExternalBlobGenerator: Don't fail if no revisions are needed for a file.
* Fix the handling of symbol-matching regexps that include "|".
* Handle excluded paths under Attic directories, too.
* cvs2git: fix logging in process_post_commit().
* Prefer to break internal cycles at the *largest* timestamp gaps.
* Don't try to delete a supposed "revision 1.1" if it has a predecessor.
Improvements and output changes:
* Various small documentation fixes and improvements.
* Make cvs2xxx runnable under PyPy.
* Avoid some allusions to Subversion when converting to another VCS.
* Use tempfile.mkdtemp() to choose the location for temporary files.
* Write all progress information to stderr rather than stdout.
* Write cvs2git and cvs2bzr output to stdout by default.
* Improve build reproducibility by respecting $SOURCE_DATE_EPOCH.
* cvs2git: don't add so much useless metadata to symbol commits.
* cvs2git: allow a file to be set executable in Git via "svn:executable"
Miscellaneous:
* Use "co --version" rather than the deprecated "co -V".
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
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
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
MASTER_SITES cleanup.
- Replace ${MASTER_SITE_FOO} with FOO.
- Merge MASTER_SITE_SUBDIR into MASTER_SITES when possible. (This means 99.9%
of the time.)
- Remove occurrences of MASTER_SITE_LOCAL when no subdirectory was present and
no hint of what it should be was present.
- Fix some logic.
- And generally, make things more simple and easy to understand.
While there, add magic values to the FESTIVAL, GENTOO, GIMP, GNUPG, QT and
SAMBA macros.
Also, replace some EXTRACT_SUFX occurences with USES=tar:*.
Checked by: make fetch-urlall-list
With hat: portmgr
Sponsored by: Absolight
devel/cvs2svn: Replace EXTRACT_CMD with TAR
This port has distfiles of two formats: .tar.bz2 and .tar.gz.
The TAR command handles both of them, so explicit specify this tool
to ensure the port continues to work in the future.
As a comment, it's strange that a custom extract target is needed to
overcome a possible deficiency in the standard extract target.
- update patch from r5406 to r5433
- fix PORTEXAMPLES and PORTDOCS
- depend on devel/cvs for ${OSVERSION} > 1000000
Bugs fixed:
- Handle non-ASCII, non-UTF8 filenames in .cvsignore files.
- ExternalBlobGenerator: Don't fail if no revisions are needed for a file.
From the commit log:
- Write all progress information to stderr rather than stdout. (r5419)
- Make sure to close CVS repository files after parsing them. (r5421)
- Choose garbage collection policy a bit more intelligently. (r5431)
- cvs2git: Emit some more information in OutputPass. (rr5432)
- Allow paths under Attic directories to be excluded, too. (r5433)
- update to version 2.4.0
- adopt new Makefile header
- take maintainer
Some highlights:
* cvs2git conversions are cleaned up in a number of smallish ways.
* Much faster cvs2git conversions via new option
--use-external-blob-generator.
* Optionally include empty directories from the CVS repository in
the Subversion output.
* More flexible keyword and EOL handling.
* More aggressively omit unnecessary dead revisions.
* Make check of illegal filename characters dependent on the target VCS.
* Allow grafting a branch onto a parent that has itself been grafted.
* Only require a DB module if the "internal co" functionality is used.
(This dependency has been a source of much grief to people on systems
without decent package managers.)
* Sort using a Python implementation rather than an external sort
command, to remove the dependency on POSIX-like sort. (This
dependency has been the source of much grief to Windows users.)
For more information see:
http://cvs2svn.tigris.org/source/browse/cvs2svn/tags/2.4.0/CHANGES?view=markup
Special thanks to Michael Haggerty
Approved by: glarkin (explicit per pm)
At the moment 1385 ports use BUILD_DEPENDS= ${RUN_DEPENDS} and 450
ports use BUILD_DEPENDS:= ${RUN_DEPENDS}. This patch fixes ports that are
currently broken. This is a temporary measure until we organically stop using
:= or someone(s) spend a lot of time changing all the ports over.
Explicit duplication > := > = and this just moves ports one step to the left
Approved by: portmgr
- Replaced tigris.org master site with new ones. Tigris.org goes into a
redirect loop unless it can set a cookie in the client.
Reported by: pointyhat (via erwin)
Feature safe: yes
Reset maintainership (the domain has expired):
<joe@joeholden.co.uk>
(reason: 553 5.3.5 system config error)
----- Transcript of session follows -----
553 5.3.5 127.0.0.1. config error: mail loops back to me (MX problem?)
554 5.3.5 Local configuration error
Bump portrevision due to upgrade of devel/gettext.
The affected ports are the ones with gettext as a run-dependency
according to ports/INDEX-7 (5007 of them) and the ones with USE_GETTEXT
in Makefile (29 of them).
PR: ports/124340
Submitted by: edwin@
Approved by: portmgr (pav)
Update to v1.5.0. Upstream changes since the prior ported
version (v1.3.1) include:
- Support for multiproject conversions.
- New options: `--output', `--co', `--cvs', `--sort', `--auto-props',
`--symbol-default'.
- Options `--force-branch' and `--force-tag' now accept regexes.
- Speedups, reduction in disk space needed for conversion.
- Multicomponent `--trunk', `--tags' and `--branches' paths.
- Better warning messages and error handling.
- Improved handling of commit dependencies and multibranch
commits.
- Scripts to help isolate conversion problems and shrink
test cases.
PR: ports/106468
Submitted by: Li-Wen Hsu <lwhsu@lwhsu.ckefgisc.org>