head	1.15;
access;
symbols
	pkgsrc-2026Q1:1.15.0.2
	pkgsrc-2026Q1-base:1.15
	pkgsrc-2025Q4:1.14.0.12
	pkgsrc-2025Q4-base:1.14
	pkgsrc-2025Q3:1.14.0.10
	pkgsrc-2025Q3-base:1.14
	pkgsrc-2025Q2:1.14.0.8
	pkgsrc-2025Q2-base:1.14
	pkgsrc-2025Q1:1.14.0.6
	pkgsrc-2025Q1-base:1.14
	pkgsrc-2024Q4:1.14.0.4
	pkgsrc-2024Q4-base:1.14
	pkgsrc-2024Q3:1.14.0.2
	pkgsrc-2024Q3-base:1.14
	pkgsrc-2024Q2:1.13.0.2
	pkgsrc-2024Q2-base:1.13
	pkgsrc-2024Q1:1.11.0.10
	pkgsrc-2024Q1-base:1.11
	pkgsrc-2023Q4:1.11.0.8
	pkgsrc-2023Q4-base:1.11
	pkgsrc-2023Q3:1.11.0.6
	pkgsrc-2023Q3-base:1.11
	pkgsrc-2023Q2:1.11.0.4
	pkgsrc-2023Q2-base:1.11
	pkgsrc-2023Q1:1.11.0.2
	pkgsrc-2023Q1-base:1.11
	pkgsrc-2022Q4:1.10.0.2
	pkgsrc-2022Q4-base:1.10
	pkgsrc-2022Q3:1.9.0.4
	pkgsrc-2022Q3-base:1.9
	pkgsrc-2022Q2:1.9.0.2
	pkgsrc-2022Q2-base:1.9
	pkgsrc-2022Q1:1.5.0.10
	pkgsrc-2022Q1-base:1.5
	pkgsrc-2021Q4:1.5.0.8
	pkgsrc-2021Q4-base:1.5
	pkgsrc-2021Q3:1.5.0.6
	pkgsrc-2021Q3-base:1.5
	pkgsrc-2021Q2:1.5.0.4
	pkgsrc-2021Q2-base:1.5
	pkgsrc-2021Q1:1.5.0.2
	pkgsrc-2021Q1-base:1.5
	pkgsrc-2020Q4:1.3.0.10
	pkgsrc-2020Q4-base:1.3
	pkgsrc-2020Q3:1.3.0.8
	pkgsrc-2020Q3-base:1.3
	pkgsrc-2020Q2:1.3.0.6
	pkgsrc-2020Q2-base:1.3
	pkgsrc-2020Q1:1.3.0.2
	pkgsrc-2020Q1-base:1.3
	pkgsrc-2019Q4:1.3.0.4
	pkgsrc-2019Q4-base:1.3
	pkgsrc-2019Q3:1.2.0.10
	pkgsrc-2019Q3-base:1.2
	pkgsrc-2019Q2:1.2.0.8
	pkgsrc-2019Q2-base:1.2
	pkgsrc-2019Q1:1.2.0.6
	pkgsrc-2019Q1-base:1.2
	pkgsrc-2018Q4:1.2.0.4
	pkgsrc-2018Q4-base:1.2
	pkgsrc-2018Q3:1.2.0.2
	pkgsrc-2018Q3-base:1.2;
locks; strict;
comment	@# @;


1.15
date	2026.02.15.18.22.31;	author gdt;	state Exp;
branches;
next	1.14;
commitid	qXByb1mU6D2vbvuG;

1.14
date	2024.08.31.07.04.01;	author nikita;	state Exp;
branches;
next	1.13;
commitid	g6Y1vyn8X21LyWnF;

1.13
date	2024.05.06.16.51.21;	author wiz;	state Exp;
branches;
next	1.12;
commitid	9H4wa5ZhA1PtzX8F;

1.12
date	2024.04.12.15.15.25;	author nikita;	state Exp;
branches;
next	1.11;
commitid	vn75wn5RcXc6OR5F;

1.11
date	2023.01.11.22.07.46;	author nikita;	state Exp;
branches;
next	1.10;
commitid	fzh17aPhR3gEMa9E;

1.10
date	2022.11.10.09.30.00;	author nikita;	state Exp;
branches;
next	1.9;
commitid	OUnAhe4v7AcZz81E;

1.9
date	2022.06.20.07.40.39;	author nikita;	state Exp;
branches;
next	1.8;
commitid	2FwEi2bpaoo3AKID;

1.8
date	2022.06.19.21.37.15;	author nikita;	state Exp;
branches;
next	1.7;
commitid	mBAQnwDS91J2fHID;

1.7
date	2022.06.19.20.49.18;	author nikita;	state Exp;
branches;
next	1.6;
commitid	RD51vZoXi88cYGID;

1.6
date	2022.04.25.12.25.58;	author nikita;	state Exp;
branches;
next	1.5;
commitid	08aueMuQKaw1WzBD;

1.5
date	2021.03.19.16.42.47;	author triaxx;	state Exp;
branches;
next	1.4;
commitid	swuouIPIREmBiWLC;

1.4
date	2021.01.16.00.06.09;	author triaxx;	state Exp;
branches;
next	1.3;
commitid	TyNctmQf4c2YLSDC;

1.3
date	2019.11.03.10.39.29;	author rillig;	state Exp;
branches;
next	1.2;
commitid	REW2CfrA7HdqqoJB;

1.2
date	2018.09.15.13.56.15;	author tnn;	state Exp;
branches;
next	1.1;
commitid	vDoGC8XpTvcMOcSA;

1.1
date	2018.09.13.14.56.43;	author fhajny;	state Exp;
branches;
next	;
commitid	KeBstidrSqCOdXRA;


desc
@@


1.15
log
@revbump for erlang update

(While I am not really aware of erlang ABI changes, the theory that no
compiled program has different bits is implausible.)
@
text
@# $NetBSD: Makefile,v 1.14 2024/08/31 07:04:01 nikita Exp $

DISTNAME=	rebar3-3.24.0
PKGREVISION=	1
CATEGORIES=	devel
MASTER_SITES=	${MASTER_SITE_GITHUB:=erlang/}
DIST_SUBDIR=	rebar3

MAINTAINER=	pkgsrc-users@@NetBSD.org
HOMEPAGE=	https://github.com/erlang/rebar3/
COMMENT=	Erlang build tool
LICENSE=	apache-2.0

MAKE_ENV+=	HOME=${WRKDIR}

SUBST_CLASSES+=		escript
SUBST_STAGE.escript=	pre-configure
SUBST_MESSAGE.escript=	Fix default escript sha-bang
SUBST_FILES.escript=	apps/rebar/src/rebar_prv_escriptize.erl
SUBST_FILES.escript+=	apps/rebar/test/rebar_eunit_SUITE_data/deflate
SUBST_FILES.escript+=	apps/rebar/test/rebar_eunit_SUITE_data/inflate
SUBST_FILES.escript+=	bootstrap
SUBST_FILES.escript+=	rebar.config.sample
SUBST_FILES.escript+=	vendor/relx/priv/templates/install_upgrade_escript
SUBST_FILES.escript+=	vendor/relx/priv/templates/nodetool
SUBST_SED.escript=	-e 's,/usr/bin/env escript,${PREFIX}/bin/escript,'

INSTALLATION_DIRS+=	bin ${PKGMANDIR}/man1 share/examples/rebar3

# We shouldn't have to override http_proxy and https_proxy here
# https://github.com/erlang/rebar3/issues/2887
do-build:
	cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} http_proxy= https_proxy= ./bootstrap --offline

do-install:
	${INSTALL_SCRIPT} ${WRKSRC}/rebar3 ${DESTDIR}${PREFIX}/bin/
	${INSTALL_MAN} ${WRKSRC}/manpages/rebar3.1 ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1/
	${INSTALL_DATA} ${WRKSRC}/rebar.config.sample \
		${DESTDIR}${PREFIX}/share/examples/rebar3

do-test:
	cd ${WRKSRC} && \
		${SETENV} ./rebar3 escriptize && \
		${SETENV} ./rebar3 ct

.include "../../lang/erlang/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"
@


1.14
log
@rebar3: update to version 3.24.0

Changelog:

New features:

    Turn rich compiler errors on by default
    Tweak experimental manifest plugin to return ELP-compatible information

Bug fixes:

    make escriptize reproducible by setting timestamps for files in zip to unix epoch
    Log path when plugin template file read fails
    Prevent infinite compiler DAG growth
    Port Relx compatibility fix for escript files in OTP-27

Internal maintenance:

    Made rebar_utils:filtermap/2 to call directly lists:filtermap/2
    Cleaned up additional definitions in bootstrap
    Replaced rebar_utils:find_source/3 by a call to filelib:find_source/3 and Marked rebar_utils:find_source/3 as deprecated
    Fixing various typos in comments, types, and function names
    Bump hex_core and certifi dependencies
    Remove legacy hostname checks
    Replaced group_by_namespace/1 by a call to maps:groups_from_list/2
    Removed legacy OTP_RELEASE macro statements
    Removed legacy fun_stacktrace usage
    Removed unsused platform_define options
    Standardizing templates indentation

Regarding rich compiler errors, the change is optional.

Given the module:

-module(fake_mod).

-export([diagnostic/1]).

diagnostic(A) ->
    X = add(5 / 0),
    {X,X}.

add(X) -> X.

add(X, Y) -> X + Y.

Calling rebar3 compile can now yield:

...
===> Compiling apps/rebar/src/fake_mod.erl failed
   ┌─ apps/rebar/src/fake_mod.erl:
   │
 5 │  diagnostic(A) ->
   │             ╰── variable 'A' is unused

   ┌─ apps/rebar/src/fake_mod.erl:
   │
 6 │      X = add(5 / 0),
   │                ╰── evaluation of operator '/'/2 will fail with a 'badarith' exception

    ┌─ apps/rebar/src/fake_mod.erl:
    │
 11 │  add(X, Y) -> X + Y.
    │  ╰── function add/2 is unused

and in a terminal supporting color output:

By default, this format is turned on, but can be turned off optionally by configuring values with

{compiler_error_format, minimal}.

If this breaks your tooling, you may want to put it in your global rebar3 config file.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.13 2024/05/06 16:51:21 wiz Exp $
d4 1
@


1.13
log
@rebar3: fix build

Unset http_proxy and https_proxy when calling bootstrap - these variables
are validated even though the bootstrap shouldn't access the network.
Add link to upstream bug report.

While here, remove superfluous, incompletely defined SUBST section
that pkglint warned about.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.12 2024/04/12 15:15:25 nikita Exp $
d3 1
a3 1
DISTNAME=	rebar3-3.23.0
@


1.12
log
@rebar3: update to version 3.23.0

Changelog:


3.23.0

New Features:

    add a new shell completion provider
    zsh support for aliases in completion
    Add new 'shell_hooks_env' config to extend shell hooks' OS env vars
    Add (newer) Dialyzer info. about invalid_contract
    Add command rebar3 alias

Bug fixes:

    Bump relx and erlware commons versions
    REBAR_SRC_DIRS and REBAR_APP_DIRS fix by making rebar_dir:src_dirs/1 options default to ["src"]
    Eliminate use of experimental function code:lib_dir/2
    Fix "clean" hooks in non-umbrella apps and when override are presents
    Initial version of the Manifest plugin
    Make log_level entry in rebar.app work again
    Append . to --eval arg if missing
    Handle 'or' in versions in a primitive manner
    Fall back to reading versions from hex metadata
    Dedupe compiler DAG edge insertion for artifacts
    Add missing doc. for incremental on Dialyzer analysis
    rebar_utils: add metadata to primary logger config
    Prevent XRef issue when analysis runs on generated code
    Fix unicode output printed as charlist
    Rework argument parsing in do/as providers
    Fix for rebar3 shell in Erlang 26 when ShellArgs==undefined
    Erlang 26 custom shell fix
    Add app name to "OTP release ~ts or later is required" msg


3.22.1

This is a small patch release for some bugfixes:

    Defer hostname check to OTP when supported
    Print diagnostic when failing to get VSN with Git
    Add simple Erlang LS config


3.22.0

This release most importantly contains patches to fix blocking issues on Windows:

    Avoid setting a shell-encoding in OTP-26, which causes the shell command to hang on windows
    Support CRLF in shell ENV files

This release also contains an experimental and optional change that warrants a bit of explanation: Support rich compiler messages in errors and in warnings

Given the module:

-module(fake_mod).

-export([diagnostic/1]).

diagnostic(A) ->
    X = add(5 / 0),
    {X,X}.

add(X) -> X.

add(X, Y) -> X + Y.

Calling rebar3 compile can now yield:

...
===> Compiling apps/rebar/src/fake_mod.erl failed
   ┌─ apps/rebar/src/fake_mod.erl:
   │
 5 │  diagnostic(A) ->
   │             ╰── variable 'A' is unused

   ┌─ apps/rebar/src/fake_mod.erl:
   │
 6 │      X = add(5 / 0),
   │                ╰── evaluation of operator '/'/2 will fail with a 'badarith' exception

    ┌─ apps/rebar/src/fake_mod.erl:
    │
 11 │  add(X, Y) -> X + Y.
    │  ╰── function add/2 is unused

and in a terminal supporting color output:

By default, this format is turned off, but can be turned on optionally by configuring values with

{compiler_error_format, rich}.

You can get this enabled. You may want to put it in your global rebar3 config file. That being said, this may break some tooling that could parse rebar3-specific output. The default value is {compiler_error_format, minimal}. and putting that value back in should fix any breakage. We're also expecting color output to have a few bugs related to a rather naive heuristic used to delimit language constructs, but we wanted to make the feature available for feedback and this bug-fixing release was a decent opportunity.

This functionality relies on an expanded compiler API exposed by Rebar3, but since we're not yet quite sure what form we want it to take, we'll keep the new API undocumented in the short term.


3.21.0

New Features:

    Support OTP-26, Deprecate OTP-23 support.
    Add incremental dialyzer support for OTP-26

Various fixes:

    bumping a bunch of deps, including certificates, smaller patches in dependencies, and the following relx changes:
        Also set -dist_listen false for relx_nodetool calls
        Force use of nodetool if proto_dist set
        Only overwrite erl with dyn_erl if dyn_erl exists
    Add rebar_parallel pool, use in DAG scans which limits memory usage on large projects
    Maintain cth_log_redirect default in CT runs to show logger messages in HTML test logs
    Change license template to Markdown
    rebar3_dialyzer_format: Add missing message formatting
    Always dereference symbolic links when copying files in ct
    Add ?RTX_LOG macro option to top-level rebar.config
    fix help shell output, --eval is misindeted
    Ignore _vendor folder
    Do not ignore everything starting with underscore recursively
    scope local install VSN variable
    pkgs command should support empty lists
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.11 2023/01/11 22:07:46 nikita Exp $
a26 14
SUBST_CLASSES+=		sh
SUBST_STAGE.escript=	pre-configure
SUBST_MESSAGE.escript=	Fix default sh sha-bang
SUBST_FILES.sh=		apps/rebar/src/rebar_prv_local_install.erl
SUBST_FILES.sh+=	pr2relnotes.sh
SUBST_FILES.sh+=	vendor/relx/priv/templates/bin
SUBST_FILES.sh+=	vendor/relx/priv/templates/builtin_hook_pid
SUBST_FILES.sh+=	vendor/relx/priv/templates/builtin_hook_status
SUBST_FILES.sh+=	vendor/relx/priv/templates/builtin_hook_wait_for_process
SUBST_FILES.sh+=	vendor/relx/priv/templates/builtin_hook_wait_for_vm_start
SUBST_FILES.sh+=	vendor/relx/priv/templates/erl_script
SUBST_FILES.sh+=	vendor/relx/priv/templates/extended_bin
SUBST_SED.escript=	-e 's,/usr/bin/env escript,${PREFIX}/bin/escript,'

d29 2
d32 1
a32 1
	cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ./bootstrap --offline
@


1.11
log
@revbump after lang/relang fix.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.10 2022/11/10 09:30:00 nikita Exp $
d3 1
a3 2
DISTNAME=	rebar3-3.20.0
PKGREVISION=	1
@


1.10
log
@rebar3: update to version 3.20.0

Changelog (taken from https://github.com/erlang/rebar3/releases/tag/3.20.0):

This release took a while to build; OTP-25.1 had incompatibilities with EUnit
that interrupted the CI process, and which are corrected in later releases.

New features:
    Add --eval option to shell
    Add support for dialyzer --incremental when available
    Vendor structure

This new vendor structure should be of no impact to anyone using Rebar3 as a
built artifact, but should make the life of corporate users and
package managers much easier by having pre-bundled in all dependencies and
allowing effective offline builds. It also simplifies our bootstrap code and
reduces security issues by not having to download a certificate bundle
without certificates, at least until our oldest supported version can use
Erlang's new built-in on-host certificate lookup mechanisms.

If you do rely on Rebar3 source for your tooling or any other mechanisms,
then you will want to cd apps/rebar before running other commands.

Other fixes:
    Warn of EUnit issues on OTP-25.1
    Respect HEX_MIRROR environment variable
    Use shell:start_interactive to start shell if available
    Do not send empty If-None-Match in tarball request
    Respect rebar_packages_cdn set in rebar.config
    Dereference symbolic links when copying files from ct data folder
    Reduce warnings around bootstrap and DAG operations
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.9 2022/06/20 07:40:39 nikita Exp $
d4 1
@


1.9
log
@rebar3: Fix tests.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.8 2022/06/19 21:37:15 nikita Exp $
d3 1
a3 1
DISTNAME=	rebar3-3.19.0
a12 14
USE_TOOLS+=	tar

REBAR_DEPS+=	bbmustache-1.12.2
REBAR_DEPS+=	certifi-2.9.0
REBAR_DEPS+=	cf-0.3.1
REBAR_DEPS+=	cth_readable-1.5.1
REBAR_DEPS+=	erlware_commons-1.5.0
REBAR_DEPS+=	eunit_formatters-0.5.0
REBAR_DEPS+=	getopt-1.0.1
REBAR_DEPS+=	providers-1.9.0
REBAR_DEPS+=	relx-4.7.0
REBAR_DEPS+=	ssl_verify_fun-1.1.6
REBAR_DEPS+=	meck-0.8.13

a13 1
#MAKE_ENV+=	REBAR_NO_VERIFY_REPO_ORIGIN=1
d15 11
a25 7
DISTFILES=	${DEFAULT_DISTFILES}

.for dep in ${REBAR_DEPS}
DISTFILES+=		${dep}.tar
SITES.${dep}.tar=	https://repo.hex.pm/tarballs/
EXTRACT_DIR.${dep}.tar=	${WRKSRC}/_build/default/lib/${dep:C/-.*//}
.endfor
d27 1
a27 1
SUBST_CLASSES+=		escript
d29 10
a38 2
SUBST_MESSAGE.escript=	Fix default escript shebangh
SUBST_FILES.escript=	src/rebar_prv_escriptize.erl
a42 16
post-extract:
.for dep in ${REBAR_DEPS}
	${MKDIR} ${WRKSRC}/_build/default/lib/${dep:C/-.*//}
	${TAR} xOf ${DISTDIR}/${DIST_SUBDIR}/${dep}.tar contents.tar.gz | ${TAR} xfz - -C ${WRKSRC}/_build/default/lib/${dep:C/-.*//}
	${MKDIR} ${WRKSRC}/_checkouts/${dep:C/-.*//}
	${TAR} xOf ${DISTDIR}/${DIST_SUBDIR}/${dep}.tar contents.tar.gz | ${TAR} xfz - -C ${WRKSRC}/_checkouts/${dep:C/-.*//}
.endfor
	${MKDIR} ${WRKSRC}/_build/bootstrap/lib
	${MKDIR} ${WRKSRC}/_build/bootstrap/plugins
.for dep in ${REBAR_DEPS}
	${LN} -sf ${WRKSRC}/_build/default/lib/${dep:C/-.*//} ${WRKSRC}/_build/bootstrap/lib/
.endfor
.for dep in ${REBAR_DEPS}
	${LN} -sf ${WRKSRC}/_build/default/plugins/${dep:C/-.*//} ${WRKSRC}/_build/bootstrap/plugins/
.endfor

a43 1
	#${RM} ${WRKSRC}/rebar.lock
@


1.8
log
@rebar3: Add link to bugreport.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.7 2022/06/19 20:49:18 nikita Exp $
a27 1
MAKE_ENV+=	REBAR_OFFLINE=1
a71 2
# Failed 159 tests. Skipped 1 (1, 0) tests. Passed 454 tests.
# Reported upstream: https://github.com/erlang/rebar3/issues/2721
d74 2
a75 2
		${SETENV} REBAR_OFFLINE=1 DEBUG=1 ./rebar3 escriptize && \
		${SETENV} REBAR_OFFLINE=1 DEBUG=1 ./rebar3 ct
@


1.7
log
@rebar3: Update to 3.19.0

Changelog taken from https://github.com/erlang/rebar3/releases

3.19.0

New features:
    Add --offline option and REBAR_OFFLINE environment variable
    Add support for project-local plugins in umbrella projects only
    Add eunit --test flag

Experimental features for which we promise no backwards compatibility in
the near future:
    Experimental vendoring provider
        Support plugins in experimental vendor provider

Other changes:
    Support OTP 23..25 inclusively
    Bump Relx to 4.7.0
        Use erlexec directly in relx helper functions
        Make rlx_util:parse_vsn parse integer versions
        fix awk script check_name() in extended_bin
        avoid crash when overlay is malformed
        keep attributes when stripping beams
        Fix {include_erts,true} in Windows releases
        ensure the erl file is writable before copying dyn_erl to it
        Various tests added
    Properly carry overlay_vars settings for files in relx
    Track mib compilation artifacts
    Attempt to find apps in git subdirs (sparse checkouts)
    Do not discard parameters --system_libs and --include-erts when duplicate values exist
    Use default depth parameter for SSL
    Fix global cache config overriding
    Error out on unknown templates in 'new' command
    Fix a typo
    Bump certifi to 2.9.0
    add a debug message in internal dependency fetching code
    Use SPDX id for license in template and test
    Use default branch for git and git_subdir resources with no revision
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.6 2022/04/25 12:25:58 nikita Exp $
d74 1
d77 2
a78 2
		${SETENV} REBAR_OFFLINE=1 ./rebar3 escriptize && \
		${SETENV} REBAR_OFFLINE=1 ./rebar3 ct
@


1.6
log
@rebar3: Update to 3.18.0

Changelog taken from https://github.com/erlang/rebar3/releases


3.18.0 Latest

    add support for otp24 optional applications
    use git command in non interactive mode
    git_resource: ignore stderr in get_patch_count when calling git rev-list
    fix NIF compilation on Apple M1.
    fix issue for duplicates options of 'parserfile' in 'yrl_opts'
    support for --all argument in unlock
    support for --all argument in upgrade
    support for --all argument in upgrade plugin
    add --relnames option to allow selectively building of multiple releases
    bump bbmustache to support unicode attributes
    proper respect of GLOBAL_CACHE_DIR
    bump certifi to 2.8.0
    don't crash on printing non-ASCII characters
    upgrade providers to 1.9.0


3.17.0

This release is mostly bug fixes, and repairs prior broken builds of
elixir dependencies, but also includes a couple of useful features.

New Features:
    Add escript_incl_priv so escriptize priv dir inclusion works with
    _checkouts and profiles
    Added SSL cacert patch to support Corporate MITM Proxies

Bug fixes:
    rebar3 release to honour the ignore-xref attribute
    Bump relx to 4.5.0
        use copied erts dir when tar'ing even when the user sets the erts
        improve error message when a symlink creation fails
        State extended with a filter method to filter xref_warnings
        Do not require logger
        Add default time warp mode of multi
        optionally allow static node name prefixes
        use random:uniform instead of os:pid when constructing node name in nodetool
        Fix eval command to use ERL_DIST_PORT, consistency with rpc command
        Fix bin script arguments to erlexec
    Give compiler hints when handling run-time deps in parse_transforms
    Make rebar_file_utils:system_tmpdir/1 take TMPDIR env var into account on *nix
    Handle abstract code starting with a non-file attribute
    Prefer erlang app to mix project
    Drop bootstrap URI handling functions warnings
    Prevent crashes on recursive src_dir definitions in deps
    Fix ssl check hostname options for wildcard certificate
    {xref_ignores} now properly works on module,
    Normalize Dialyzer PLT paths
    Fix optimistic registry update of plugins being upgraded

3.13.3

Security release. See
https://ferd.ca/you-ve-got-to-upgrade-rebar3.html

3.16.1

Major security fix around TLS validation. See
https://ferd.ca/you-ve-got-to-upgrade-rebar3.html

Also:
    local upgrade: extract vsn of rebar3 from downloaded escript

3.15.2

Major security fix around TLS validation. See
https://ferd.ca/you-ve-got-to-upgrade-rebar3.html

3.16.0

This release drops multiple OTP versions as officially
supported. We're aligning rebar3 development with the OTP team's
compatibility guarantees, as some deprecations from OTP-21 were
removed in OTP-24 and we just could not maintain compatible code
bases. We're using the breakage opportunity to change just how much we
support to something more sustainable.

The release also contains extra fixes that should prove useful.

    Only support 3 newest OTP versions
    add support to configure application resource naming
    Support ERL_LIBS libraries in escript building
    Fix CLI arg order in makefile template
    Increase OTP 24 readiness + move to OTP 20 min.
    Bump erlware_commons and certifi
    Treat applications and included_applications the same way when builing Dialyzer PLTs
    Strip CLI args from provider hooks
    Fix plugins upgrade for non-tuple specification

3.15.1

    Fix bad compiler path nesting

3.15.0

    Make dialyzer output file format configurable
    Fix DAG resolving for recursive directories
    Add EUnit support for sys_config options
    Catch and report missing escript dependency
    Relay unexpected relx return values
    Bump Relx and cth_readable
        relx_resolve:to_app raise error with .app file pathname
        Concurrent Builds - xref interactions refinement
        Add richer return values for nodetool rpc
        add exports of RELEASE_NAME, RELEASE_VERSION and RELEASE_PROG to script
    add an option to select the application to build an escript for
    Do not discard parameters --system_libs and --include-erts
    Have "rebar3 plugins upgrade" work without specifying plugin name
    rebar3 shell: implement various modes to print "booted" message
    More path juggling fixes in the compiler
    Fix OTP24 complaining about underscored variables
    Handle OTP-24 function location in xref
    pass no_spawn_compiler_process to compile:file/2
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.5 2021/03/19 16:42:47 triaxx Exp $
d3 1
a3 1
DISTNAME=	rebar3-3.18.0
d16 1
a16 1
REBAR_DEPS+=	certifi-2.8.0
d23 1
a23 1
REBAR_DEPS+=	relx-4.6.0
d25 1
a26 1
MAKE_ENV+=	DEBUG=1
d28 2
a29 1
MAKE_ENV+=	REBAR_NO_VERIFY_REPO_ORIGIN=1
a32 3
# rebar3 bootstrap in offline mode
# is an open ticket: https://github.com/erlang/rebar3/issues/1281
# until then, we have to bootstrap it this way.
d64 2
a65 2
	${RM} ${WRKSRC}/rebar.lock
	cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ./bootstrap
d73 1
d76 2
a77 2
		${SETENV} ./rebar3 escriptize && \
		${SETENV} ./rebar3 ct
@


1.5
log
@rebar3: Update to 3.14.4

upstream changes:
-----------------

3.14.4

@@github-actions github-actions released this 23 days ago

This is a point release containing various bug fixes, some performance enhancements, and adding support for OTP-24.

  o Common test: make group paths work for --group "[g1,g2],g3" option
  o Adapt to upcoming OTP 24 dialyzer output
  o Sanitize repo configuration in DEBUG output
  o Modify algorithm to decide compilation order between apps to resolve header dependencies
  o Use rebar_packages_cdn for fetching package resource
  o bump relx to 4.3.0
  o Compile nothing if there are no extra virtual apps (performance increase)
  o Print actural download repo in DEBUG output
  o bump cth readable to 1.5.0
  o Make sure dialyzer static analysis is performed at least once, in CI
  o Use "git rev-list --count" to count refs (performance increase)
  o OTP-24 Readiness
  o fix injection of cth_readable to allow for hook configuration
  o Fixed link to list of plugins.
  o rebar_compiler: fix DAG and speed-up analysis for large repositories
  o use newest certifi release
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.4 2021/01/16 00:06:09 triaxx Exp $
d3 1
a3 1
DISTNAME=	rebar3-3.14.4
d15 14
a28 11
REBAR_DEPS=	erlware_commons-1.3.1 \
		ssl_verify_fun-1.1.6 \
		certifi-2.5.2 \
		parse_trans-3.3.0 \
		providers-1.8.1 \
		getopt-1.0.1 \
		bbmustache-1.10.0 \
		relx-4.2.0 \
		cf-0.3.1 \
		cth_readable-1.4.9 \
		eunit_formatters-0.5.0
d32 3
a49 1
	${MKDIR} -p ${WRKSRC}/_build/bootstrap/lib
d51 12
a62 4
	cd ${WRKSRC}/_build/default/lib/${dep:C/-.*//} && \
		${TAR} -xzf contents.tar.gz
	${LN} -sf ../../default/lib/${dep:C/-.*//} \
		${WRKSRC}/_build/bootstrap/lib/${dep:C/-.*//}
d66 1
d75 5
@


1.4
log
@rebar3: Update to 3.14.3

No changelog is provided upstream. Changes can be observed through git log:
https://github.com/erlang/rebar3/commits/master
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.3 2019/11/03 10:39:29 rillig Exp $
d3 1
a3 1
DISTNAME=	rebar3-3.14.3
@


1.3
log
@devel: align variable assignments

pkglint -Wall -F --only aligned --only indent -r

No manual corrections.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.2 2018/09/15 13:56:15 tnn Exp $
d3 1
a3 1
DISTNAME=	rebar3-3.6.1
d15 5
a19 6
REBAR_DEPS=	bbmustache-1.5.0 \
		certifi-2.0.0 \
		cf-0.2.2 \
		cth_readable-1.4.2 \
		erlware_commons-1.2.0 \
		eunit_formatters-0.5.0 \
d21 5
a25 3
		providers-1.7.0 \
		relx-3.26.0 \
		ssl_verify_fun-1.1.3
a34 3
DISTFILES+=				${DISTNAME:S/-/-cache-/}.tar.gz
SITES.${DISTNAME:S/-/-cache-/}.tar.gz=	https://ftp.netbsd.org/pub/NetBSD/misc/fhajny/

@


1.2
log
@rebar3: remove ':' port separator from url. Also ftp -> https
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.1 2018/09/13 14:56:43 fhajny Exp $
d15 1
a15 1
REBAR_DEPS=     bbmustache-1.5.0 \
@


1.1
log
@devel/rebar3: Import rebar 3.6.1 as devel/rebar3.

Rebar3 is an Erlang tool that makes it easy to create, develop,
and release Erlang libraries, applications, and systems in
a repeatable manner.
@
text
@d1 1
a1 1
# $NetBSD$
d35 1
a35 1
SITES.${DISTNAME:S/-/-cache-/}.tar.gz=	ftp://ftp.netbsd.org:/pub/NetBSD/misc/fhajny/
@

