pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/sysutils/erlang-lager erlang-lager: Update to 3.8.1
details: https://anonhg.NetBSD.org/pkgsrc/rev/3d280370b2f1
branches: trunk
changeset: 445025:3d280370b2f1
user: triaxx <triaxx%pkgsrc.org@localhost>
date: Sat Jan 16 00:10:50 2021 +0000
description:
erlang-lager: Update to 3.8.1
No changelog is provided upstream. Changes can be observed through git log:
https://github.com/erlang-lager/lager/commits/master
diffstat:
sysutils/erlang-lager/Makefile | 18 ++++++++++++++++--
sysutils/erlang-lager/PLIST | 4 +++-
sysutils/erlang-lager/distinfo | 11 ++++++-----
sysutils/erlang-lager/patches/patch-Makefile | 27 +++++++++++++++++++++++++++
4 files changed, 52 insertions(+), 8 deletions(-)
diffs (107 lines):
diff -r e2b99e86bb7c -r 3d280370b2f1 sysutils/erlang-lager/Makefile
--- a/sysutils/erlang-lager/Makefile Sat Jan 16 00:06:24 2021 +0000
+++ b/sysutils/erlang-lager/Makefile Sat Jan 16 00:10:50 2021 +0000
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.6 2017/10/24 06:46:15 fhajny Exp $
+# $NetBSD: Makefile,v 1.7 2021/01/16 00:10:50 triaxx Exp $
-DISTNAME= lager-3.5.2
+DISTNAME= lager-3.8.1
CATEGORIES= sysutils
MASTER_SITES= ${MASTER_SITE_GITHUB:=erlang-lager/}
@@ -9,14 +9,28 @@
COMMENT= Logging framework for Erlang/OTP
LICENSE= apache-2.0
+BUILD_DEPENDS+= rebar3-[0-9]*:../../devel/rebar3
DEPENDS+= erlang-goldrush>=0.1.9:../../sysutils/erlang-goldrush
GITHUB_PROJECT= lager
GITHUB_TAG= ${PKGVERSION_NOREV}
+REBAR= ${PREFIX}/bin/rebar3
+
+SUBST_CLASSES+= rebar
+SUBST_STAGE.rebar= pre-configure
+SUBST_MESSAGE.rebar= Using rebar3 to compile.
+SUBST_FILES.rebar= Makefile
+SUBST_VARS.rebar= REBAR
+
post-extract:
# Remove dependency handling
${RM} -f ${WRKSRC}/rebar.config.script
+pre-install:
+ # Move rebar3 build tree to make working the do-install rule of module.mk
+ ${MV} ${WRKSRC}/_build/default/lib/lager/ebin ${WRKSRC}
+ ${RM} -rf ${WRKSRC}/_build
+
.include "../../lang/erlang/module.mk"
.include "../../mk/bsd.pkg.mk"
diff -r e2b99e86bb7c -r 3d280370b2f1 sysutils/erlang-lager/PLIST
--- a/sysutils/erlang-lager/PLIST Sat Jan 16 00:06:24 2021 +0000
+++ b/sysutils/erlang-lager/PLIST Sat Jan 16 00:10:50 2021 +0000
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.5 2017/10/24 06:46:15 fhajny Exp $
+@comment $NetBSD: PLIST,v 1.6 2021/01/16 00:10:50 triaxx Exp $
lib/erlang/lib/lager-${PKGVERSION}/ebin/error_logger_lager_h.beam
lib/erlang/lib/lager-${PKGVERSION}/ebin/lager.app
lib/erlang/lib/lager-${PKGVERSION}/ebin/lager.beam
@@ -15,6 +15,8 @@
lib/erlang/lib/lager-${PKGVERSION}/ebin/lager_handler_watcher_sup.beam
lib/erlang/lib/lager-${PKGVERSION}/ebin/lager_manager_killer.beam
lib/erlang/lib/lager-${PKGVERSION}/ebin/lager_msg.beam
+lib/erlang/lib/lager-${PKGVERSION}/ebin/lager_rotator_behaviour.beam
+lib/erlang/lib/lager-${PKGVERSION}/ebin/lager_rotator_default.beam
lib/erlang/lib/lager-${PKGVERSION}/ebin/lager_stdlib.beam
lib/erlang/lib/lager-${PKGVERSION}/ebin/lager_sup.beam
lib/erlang/lib/lager-${PKGVERSION}/ebin/lager_transform.beam
diff -r e2b99e86bb7c -r 3d280370b2f1 sysutils/erlang-lager/distinfo
--- a/sysutils/erlang-lager/distinfo Sat Jan 16 00:06:24 2021 +0000
+++ b/sysutils/erlang-lager/distinfo Sat Jan 16 00:10:50 2021 +0000
@@ -1,7 +1,8 @@
-$NetBSD: distinfo,v 1.5 2017/10/24 06:46:15 fhajny Exp $
+$NetBSD: distinfo,v 1.6 2021/01/16 00:10:50 triaxx Exp $
-SHA1 (lager-3.5.2.tar.gz) = 2441e3aaad770e219ed1c0ca17250c3e4beb3839
-RMD160 (lager-3.5.2.tar.gz) = 0a21de3c4c25f0dc2e094352af8aeffbd8337bd6
-SHA512 (lager-3.5.2.tar.gz) = d207e5b3b937b75601fd9ed75fd3b33ef9fc83966c3e6032d4e03cbf66c05bf03f67de177380d57a0a89298dd9172ded3954cabcee3e24ad5f6a70afbc035ecb
-Size (lager-3.5.2.tar.gz) = 258789 bytes
+SHA1 (lager-3.8.1.tar.gz) = 840912f8ba56a057e45c63fa4957a7599e3fda5e
+RMD160 (lager-3.8.1.tar.gz) = 0ed5a7b289dfad92fb2ac8bbf628935902b7a8f2
+SHA512 (lager-3.8.1.tar.gz) = 5838b7676aef4b289116a8fd66e475a6e35b9b0a1947310168a73014f3f641e447df3d311a430c6920df3ebeafbab90fd101dbbeaebfd7b05aac9c89d85841eb
+Size (lager-3.8.1.tar.gz) = 273594 bytes
+SHA1 (patch-Makefile) = 8c71466df8a7ea55e4eef9f99ab6de05d32b428f
SHA1 (patch-rebar.config) = cc8c5503c026a5610b982773f52a38ee26385a27
diff -r e2b99e86bb7c -r 3d280370b2f1 sysutils/erlang-lager/patches/patch-Makefile
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/sysutils/erlang-lager/patches/patch-Makefile Sat Jan 16 00:10:50 2021 +0000
@@ -0,0 +1,27 @@
+$NetBSD: patch-Makefile,v 1.1 2021/01/16 00:10:51 triaxx Exp $
+
+Use pkgsrc rebar.
+
+--- Makefile.orig 2020-08-28 17:41:26.000000000 +0000
++++ Makefile
+@@ -4,16 +4,16 @@
+ all: deps compile
+
+ compile: deps
+- ./rebar compile
++ @REBAR@ compile
+
+ deps:
+- test -d deps || ./rebar get-deps
++ test -d deps || @REBAR@ get-deps
+
+ clean:
+- ./rebar clean
++ @REBAR@ clean
+
+ distclean: clean
+- ./rebar delete-deps
++ @REBAR@ delete-deps
+
+ DIALYZER_APPS = kernel stdlib erts sasl eunit syntax_tools compiler crypto \
+ common_test
Home |
Main Index |
Thread Index |
Old Index