Git sources from `Cargo.lock` are added to `CARGO_CRATES` through
the normal mechanism of `make cargo-crates` by the porter. They
are used to populate `MASTER_SITES`, `DISTFILES` with static
git-archive(1) tarballs a la `USE_GITHUB`, `USE_GITLAB`. In the
configure phase we generate `[patch]` sections in the config file
which will cause `cargo update` to auto-update `Cargo.lock` to point
to the appropriate extraction directories.
Normally `cargo update` would connect to the network to update all
Git sources but since rust-1.55.0 our cargo has been patched to
skip this when `CARGO_FREEBSD_PORTS_SKIP_GIT_UPDATE` is set in the
environment.
This replaces the old `CARGO_USE_GITHUB`, `CARGO_USE_GITLAB` hacks
where this was done by editing all `Cargo.toml` with sed(1) calls.
Additionally, we try to automatically infer the individiual crate
sub-directories inside the Git sources based on `package.name` in
`Cargo.toml` to remove the need for `CARGO_GIT_SUBDIR`.
USES=cargo also now sets `WRKSRC_crate_$name` for each crate to
point to the crate extraction directories.
PR: 256581
Reviewed by: jbeich
This port is outdated in several ways:
- port has version 2.8, while 2.9 is out
- relies on EOL net/asterisk13
- uses c89, fcommon, etc
Reported by: Tomoaki AOKI <junchoon@dec.sakura.ne.jp>
As of FreeBSD 12.0, OpenSSL is depending on the threading library
and it is no longer possible to build a true non-threaded version
of libldap.
The libldap_r is ABI compatible with libldap and is shipped as the
libldap on Solaris and many Linux distributions, so follow the same
approach.
Adjust Makefile to follow Porter's Handbook and framework more closely,
also pet portclippy while at it.
PR: 259203
Approved by: arrowd (mentor)
Differential Revision: https://reviews.freebsd.org/D32622
Adjust Makefile to follow Porter's Handbook and framework more closely,
also pet portclippy while at it.
PR: 259202
Approved by: arrowd (mentor)
Differential Revision: https://reviews.freebsd.org/D32621
Use a direct URL to Apache's release archive site as it's not mirrored
by upstream mirror sites
Approved by: rene (portmgr blanket), tcberner (mentor)
Differential Revision: https://reviews.freebsd.org/D32614
Patch the configure script so it evaluates a variable that uses
PYTHON_PREFIX (since automake 1.16.4) before PYTHON_PREFIX is unset.
PR: 258898
Approved by: maintainer timeout (2 weeks)
Now comes with Esperanto flag!
Source code had been reformatted, adjust GTK2 patch accordingly and
regenerate with ``make makepatch'' to make future diffs less noisy.
Reported by: portscout
* In build environments have git installed in conjunction with a
git-based Ports tree and haven't WRKDIRPREFIX set, there will be
significant delays when building devel/py-setuptools_scm or ports
that depend on it.
This is because the top-level directory of the git repository is
determined during build via "git rev-parse --show-toplevel" which is
issued inside the WRKSRC directory.
Once the top-level directory (which is PORTSDIR) has been determined,
an archive is created from this point using "git archive" which is
then very time-consuming due the complexity of the Ports tree.
In environments (e.g. poudriere) that have WRKDIRPREFIX set and also
have git present during build, the issue doesn't appear because
"git rev-parse --show-toplevel" fails silently with "not a git repo".
Remedy the issue by returning only the actual path of WRKSRC, but only
if it has "setup.py" in it (= devel/py-setuptools_scm is built) or a
test session is performed.
* Modernize the "do-test" target while I'm here and bump PORTREVISION
due package change.
PR: 258891
Reported by: Robert Clausecker <fuz@fuz.su>
Obtained from: OpenIndiana
MFH: 2021Q4 (after 1 week)