pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc/sysutils/erlang-lager



Module Name:    pkgsrc
Committed By:   triaxx
Date:           Sat Jan 16 00:10:51 UTC 2021

Modified Files:
        pkgsrc/sysutils/erlang-lager: Makefile PLIST distinfo
Added Files:
        pkgsrc/sysutils/erlang-lager/patches: patch-Makefile

Log Message:
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


To generate a diff of this commit:
cvs rdiff -u -r1.6 -r1.7 pkgsrc/sysutils/erlang-lager/Makefile
cvs rdiff -u -r1.5 -r1.6 pkgsrc/sysutils/erlang-lager/PLIST \
    pkgsrc/sysutils/erlang-lager/distinfo
cvs rdiff -u -r0 -r1.1 pkgsrc/sysutils/erlang-lager/patches/patch-Makefile

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/sysutils/erlang-lager/Makefile
diff -u pkgsrc/sysutils/erlang-lager/Makefile:1.6 pkgsrc/sysutils/erlang-lager/Makefile:1.7
--- pkgsrc/sysutils/erlang-lager/Makefile:1.6   Tue Oct 24 06:46:15 2017
+++ pkgsrc/sysutils/erlang-lager/Makefile       Sat Jan 16 00:10:50 2021
@@ -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 @@ HOMEPAGE=     https://github.com/erlang-lage
 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"

Index: pkgsrc/sysutils/erlang-lager/PLIST
diff -u pkgsrc/sysutils/erlang-lager/PLIST:1.5 pkgsrc/sysutils/erlang-lager/PLIST:1.6
--- pkgsrc/sysutils/erlang-lager/PLIST:1.5      Tue Oct 24 06:46:15 2017
+++ pkgsrc/sysutils/erlang-lager/PLIST  Sat Jan 16 00:10:50 2021
@@ -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/
 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
Index: pkgsrc/sysutils/erlang-lager/distinfo
diff -u pkgsrc/sysutils/erlang-lager/distinfo:1.5 pkgsrc/sysutils/erlang-lager/distinfo:1.6
--- pkgsrc/sysutils/erlang-lager/distinfo:1.5   Tue Oct 24 06:46:15 2017
+++ pkgsrc/sysutils/erlang-lager/distinfo       Sat Jan 16 00:10:50 2021
@@ -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

Added files:

Index: pkgsrc/sysutils/erlang-lager/patches/patch-Makefile
diff -u /dev/null pkgsrc/sysutils/erlang-lager/patches/patch-Makefile:1.1
--- /dev/null   Sat Jan 16 00:10:51 2021
+++ pkgsrc/sysutils/erlang-lager/patches/patch-Makefile Sat Jan 16 00:10:51 2021
@@ -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