summaryrefslogtreecommitdiff
path: root/sysutils
diff options
context:
space:
mode:
authorpho <pho@pkgsrc.org>2021-05-05 12:25:17 +0000
committerpho <pho@pkgsrc.org>2021-05-05 12:25:17 +0000
commit9db21cca97559ef9cae7211e0b95fb4d53a30f69 (patch)
tree452e892a70c385f328e4081b9535d13b201c49b5 /sysutils
parenteaab3c98b1464ccc24129fd9c04dee24d4c2a9b2 (diff)
downloadpkgsrc-9db21cca97559ef9cae7211e0b95fb4d53a30f69.tar.gz
Import fast-logger-3.0.5
This package provides a fast logging system which scales on multicore environments (i.e. +RTS -N<x>). Note: This library does not guarantee correct ordering of log messages when program is run on more than one core thus users should rely more on message timestamps than on their order in the log.
Diffstat (limited to 'sysutils')
-rw-r--r--sysutils/hs-fast-logger/DESCR6
-rw-r--r--sysutils/hs-fast-logger/Makefile15
-rw-r--r--sysutils/hs-fast-logger/PLIST54
-rw-r--r--sysutils/hs-fast-logger/buildlink3.mk18
-rw-r--r--sysutils/hs-fast-logger/distinfo6
5 files changed, 99 insertions, 0 deletions
diff --git a/sysutils/hs-fast-logger/DESCR b/sysutils/hs-fast-logger/DESCR
new file mode 100644
index 00000000000..862c7b98b63
--- /dev/null
+++ b/sysutils/hs-fast-logger/DESCR
@@ -0,0 +1,6 @@
+This package provides a fast logging system which scales on multicore
+environments (i.e. +RTS -N<x>).
+
+Note: This library does not guarantee correct ordering of log messages
+when program is run on more than one core thus users should rely more
+on message timestamps than on their order in the log.
diff --git a/sysutils/hs-fast-logger/Makefile b/sysutils/hs-fast-logger/Makefile
new file mode 100644
index 00000000000..a2a6a88995c
--- /dev/null
+++ b/sysutils/hs-fast-logger/Makefile
@@ -0,0 +1,15 @@
+# $NetBSD: Makefile,v 1.1 2021/05/05 12:25:17 pho Exp $
+
+DISTNAME= fast-logger-3.0.5
+CATEGORIES= sysutils
+
+MAINTAINER= pho@cielonegro.org
+COMMENT= Fast logging system
+LICENSE= modified-bsd
+
+.include "../../devel/hs-auto-update/buildlink3.mk"
+.include "../../sysutils/hs-easy-file/buildlink3.mk"
+.include "../../devel/hs-unix-compat/buildlink3.mk"
+.include "../../time/hs-unix-time/buildlink3.mk"
+.include "../../mk/haskell.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/sysutils/hs-fast-logger/PLIST b/sysutils/hs-fast-logger/PLIST
new file mode 100644
index 00000000000..d58fe3fe874
--- /dev/null
+++ b/sysutils/hs-fast-logger/PLIST
@@ -0,0 +1,54 @@
+@comment $NetBSD: PLIST,v 1.1 2021/05/05 12:25:17 pho Exp $
+lib/fast-logger-${PKGVERSION}/${HS_VERSION}/package-description
+lib/fast-logger-${PKGVERSION}/${HS_VERSION}/package-id
+lib/${HS_PLATFORM}/${HS_PKGID}/System/Log/FastLogger.dyn_hi
+lib/${HS_PLATFORM}/${HS_PKGID}/System/Log/FastLogger.hi
+lib/${HS_PLATFORM}/${HS_PKGID}/System/Log/FastLogger.p_hi
+lib/${HS_PLATFORM}/${HS_PKGID}/System/Log/FastLogger/Date.dyn_hi
+lib/${HS_PLATFORM}/${HS_PKGID}/System/Log/FastLogger/Date.hi
+lib/${HS_PLATFORM}/${HS_PKGID}/System/Log/FastLogger/Date.p_hi
+lib/${HS_PLATFORM}/${HS_PKGID}/System/Log/FastLogger/File.dyn_hi
+lib/${HS_PLATFORM}/${HS_PKGID}/System/Log/FastLogger/File.hi
+lib/${HS_PLATFORM}/${HS_PKGID}/System/Log/FastLogger/File.p_hi
+lib/${HS_PLATFORM}/${HS_PKGID}/System/Log/FastLogger/FileIO.dyn_hi
+lib/${HS_PLATFORM}/${HS_PKGID}/System/Log/FastLogger/FileIO.hi
+lib/${HS_PLATFORM}/${HS_PKGID}/System/Log/FastLogger/FileIO.p_hi
+lib/${HS_PLATFORM}/${HS_PKGID}/System/Log/FastLogger/IO.dyn_hi
+lib/${HS_PLATFORM}/${HS_PKGID}/System/Log/FastLogger/IO.hi
+lib/${HS_PLATFORM}/${HS_PKGID}/System/Log/FastLogger/IO.p_hi
+lib/${HS_PLATFORM}/${HS_PKGID}/System/Log/FastLogger/Imports.dyn_hi
+lib/${HS_PLATFORM}/${HS_PKGID}/System/Log/FastLogger/Imports.hi
+lib/${HS_PLATFORM}/${HS_PKGID}/System/Log/FastLogger/Imports.p_hi
+lib/${HS_PLATFORM}/${HS_PKGID}/System/Log/FastLogger/Internal.dyn_hi
+lib/${HS_PLATFORM}/${HS_PKGID}/System/Log/FastLogger/Internal.hi
+lib/${HS_PLATFORM}/${HS_PKGID}/System/Log/FastLogger/Internal.p_hi
+lib/${HS_PLATFORM}/${HS_PKGID}/System/Log/FastLogger/LogStr.dyn_hi
+lib/${HS_PLATFORM}/${HS_PKGID}/System/Log/FastLogger/LogStr.hi
+lib/${HS_PLATFORM}/${HS_PKGID}/System/Log/FastLogger/LogStr.p_hi
+lib/${HS_PLATFORM}/${HS_PKGID}/System/Log/FastLogger/Logger.dyn_hi
+lib/${HS_PLATFORM}/${HS_PKGID}/System/Log/FastLogger/Logger.hi
+lib/${HS_PLATFORM}/${HS_PKGID}/System/Log/FastLogger/Logger.p_hi
+lib/${HS_PLATFORM}/${HS_PKGID}/System/Log/FastLogger/LoggerSet.dyn_hi
+lib/${HS_PLATFORM}/${HS_PKGID}/System/Log/FastLogger/LoggerSet.hi
+lib/${HS_PLATFORM}/${HS_PKGID}/System/Log/FastLogger/LoggerSet.p_hi
+lib/${HS_PLATFORM}/${HS_PKGID}/System/Log/FastLogger/Types.dyn_hi
+lib/${HS_PLATFORM}/${HS_PKGID}/System/Log/FastLogger/Types.hi
+lib/${HS_PLATFORM}/${HS_PKGID}/System/Log/FastLogger/Types.p_hi
+lib/${HS_PLATFORM}/${HS_PKGID}/libHS${HS_PKGID}.a
+lib/${HS_PLATFORM}/${HS_PKGID}/libHS${HS_PKGID}_p.a
+lib/${HS_PLATFORM}/libHS${HS_PKGID}-${HS_VER}.so
+share/doc/${HS_PLATFORM}/fast-logger-${PKGVERSION}/LICENSE
+share/doc/${HS_PLATFORM}/fast-logger-${PKGVERSION}/html/System-Log-FastLogger-Date.html
+share/doc/${HS_PLATFORM}/fast-logger-${PKGVERSION}/html/System-Log-FastLogger-File.html
+share/doc/${HS_PLATFORM}/fast-logger-${PKGVERSION}/html/System-Log-FastLogger-Internal.html
+share/doc/${HS_PLATFORM}/fast-logger-${PKGVERSION}/html/System-Log-FastLogger-LoggerSet.html
+share/doc/${HS_PLATFORM}/fast-logger-${PKGVERSION}/html/System-Log-FastLogger-Types.html
+share/doc/${HS_PLATFORM}/fast-logger-${PKGVERSION}/html/System-Log-FastLogger.html
+share/doc/${HS_PLATFORM}/fast-logger-${PKGVERSION}/html/doc-index.html
+share/doc/${HS_PLATFORM}/fast-logger-${PKGVERSION}/html/fast-logger.haddock
+share/doc/${HS_PLATFORM}/fast-logger-${PKGVERSION}/html/haddock-bundle.min.js
+share/doc/${HS_PLATFORM}/fast-logger-${PKGVERSION}/html/index.html
+share/doc/${HS_PLATFORM}/fast-logger-${PKGVERSION}/html/linuwial.css
+share/doc/${HS_PLATFORM}/fast-logger-${PKGVERSION}/html/meta.json
+share/doc/${HS_PLATFORM}/fast-logger-${PKGVERSION}/html/quick-jump.css
+share/doc/${HS_PLATFORM}/fast-logger-${PKGVERSION}/html/synopsis.png
diff --git a/sysutils/hs-fast-logger/buildlink3.mk b/sysutils/hs-fast-logger/buildlink3.mk
new file mode 100644
index 00000000000..436d1bfd7bd
--- /dev/null
+++ b/sysutils/hs-fast-logger/buildlink3.mk
@@ -0,0 +1,18 @@
+# $NetBSD: buildlink3.mk,v 1.1 2021/05/05 12:25:17 pho Exp $
+
+BUILDLINK_TREE+= hs-fast-logger
+
+.if !defined(HS_FAST_LOGGER_BUILDLINK3_MK)
+HS_FAST_LOGGER_BUILDLINK3_MK:=
+
+BUILDLINK_API_DEPENDS.hs-fast-logger+= hs-fast-logger>=3.0.5
+BUILDLINK_ABI_DEPENDS.hs-fast-logger+= hs-fast-logger>=3.0.5
+BUILDLINK_PKGSRCDIR.hs-fast-logger?= ../../sysutils/hs-fast-logger
+
+.include "../../devel/hs-auto-update/buildlink3.mk"
+.include "../../sysutils/hs-easy-file/buildlink3.mk"
+.include "../../devel/hs-unix-compat/buildlink3.mk"
+.include "../../time/hs-unix-time/buildlink3.mk"
+.endif # HS_FAST_LOGGER_BUILDLINK3_MK
+
+BUILDLINK_TREE+= -hs-fast-logger
diff --git a/sysutils/hs-fast-logger/distinfo b/sysutils/hs-fast-logger/distinfo
new file mode 100644
index 00000000000..3ba5ebc4f6f
--- /dev/null
+++ b/sysutils/hs-fast-logger/distinfo
@@ -0,0 +1,6 @@
+$NetBSD: distinfo,v 1.1 2021/05/05 12:25:17 pho Exp $
+
+SHA1 (fast-logger-3.0.5.tar.gz) = 083c893ea368a1cc7fe382196049c69d920c1c43
+RMD160 (fast-logger-3.0.5.tar.gz) = dca3e3b3d93db5c77aa643643ca5fef4b26530a9
+SHA512 (fast-logger-3.0.5.tar.gz) = 3a79b7f6e033601ee4c09d0e64fa10d17a7dad221a9002e3452ba90d45b3557e7224060ffe65dbc8904bd60f21011bf7d1db2070449dd2e15ed29b3032b32aa4
+Size (fast-logger-3.0.5.tar.gz) = 12331 bytes