pkgsrc-Changes archive

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

CVS commit: pkgsrc/sysutils/hs-hslogger



Module Name:    pkgsrc
Committed By:   pho
Date:           Wed Feb 16 09:19:42 UTC 2022

Added Files:
        pkgsrc/sysutils/hs-hslogger: DESCR Makefile PLIST buildlink3.mk
            distinfo
        pkgsrc/sysutils/hs-hslogger/patches: patch-hslogger.cabal

Log Message:
sysutils/hs-hslogger: import hs-hslogger-1.3.1.0

hslogger is a logging framework for Haskell, roughly similar to Python's
logging module.

hslogger lets each log message have a priority and source be associated
with it. The programmer can then define global handlers that route or
filter messages based on the priority and source. hslogger also has a
Syslog handler built in.


To generate a diff of this commit:
cvs rdiff -u -r0 -r1.1 pkgsrc/sysutils/hs-hslogger/DESCR \
    pkgsrc/sysutils/hs-hslogger/Makefile pkgsrc/sysutils/hs-hslogger/PLIST \
    pkgsrc/sysutils/hs-hslogger/buildlink3.mk \
    pkgsrc/sysutils/hs-hslogger/distinfo
cvs rdiff -u -r0 -r1.1 \
    pkgsrc/sysutils/hs-hslogger/patches/patch-hslogger.cabal

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

Added files:

Index: pkgsrc/sysutils/hs-hslogger/DESCR
diff -u /dev/null pkgsrc/sysutils/hs-hslogger/DESCR:1.1
--- /dev/null   Wed Feb 16 09:19:42 2022
+++ pkgsrc/sysutils/hs-hslogger/DESCR   Wed Feb 16 09:19:42 2022
@@ -0,0 +1,7 @@
+hslogger is a logging framework for Haskell, roughly similar to Python's
+logging module.
+
+hslogger lets each log message have a priority and source be associated
+with it. The programmer can then define global handlers that route or
+filter messages based on the priority and source. hslogger also has a
+Syslog handler built in.
Index: pkgsrc/sysutils/hs-hslogger/Makefile
diff -u /dev/null pkgsrc/sysutils/hs-hslogger/Makefile:1.1
--- /dev/null   Wed Feb 16 09:19:42 2022
+++ pkgsrc/sysutils/hs-hslogger/Makefile        Wed Feb 16 09:19:42 2022
@@ -0,0 +1,14 @@
+# $NetBSD: Makefile,v 1.1 2022/02/16 09:19:42 pho Exp $
+
+DISTNAME=      hslogger-1.3.1.0
+CATEGORIES=    sysutils
+
+MAINTAINER=    pkgsrc-users%NetBSD.org@localhost
+COMMENT=       Versatile logging framework
+LICENSE=       modified-bsd
+
+.include "../../devel/hs-old-locale/buildlink3.mk"
+.include "../../net/hs-network/buildlink3.mk"
+.include "../../net/hs-network-bsd/buildlink3.mk"
+.include "../../mk/haskell.mk"
+.include "../../mk/bsd.pkg.mk"
Index: pkgsrc/sysutils/hs-hslogger/PLIST
diff -u /dev/null pkgsrc/sysutils/hs-hslogger/PLIST:1.1
--- /dev/null   Wed Feb 16 09:19:42 2022
+++ pkgsrc/sysutils/hs-hslogger/PLIST   Wed Feb 16 09:19:42 2022
@@ -0,0 +1,50 @@
+@comment $NetBSD: PLIST,v 1.1 2022/02/16 09:19:42 pho Exp $
+lib/hslogger-${PKGVERSION}/${HS_VERSION}/package-description
+lib/hslogger-${PKGVERSION}/${HS_VERSION}/package-id
+lib/${HS_PLATFORM}/${HS_PKGID}/System/Log.dyn_hi
+lib/${HS_PLATFORM}/${HS_PKGID}/System/Log.hi
+lib/${HS_PLATFORM}/${HS_PKGID}/System/Log.p_hi
+lib/${HS_PLATFORM}/${HS_PKGID}/System/Log/Formatter.dyn_hi
+lib/${HS_PLATFORM}/${HS_PKGID}/System/Log/Formatter.hi
+lib/${HS_PLATFORM}/${HS_PKGID}/System/Log/Formatter.p_hi
+lib/${HS_PLATFORM}/${HS_PKGID}/System/Log/Handler.dyn_hi
+lib/${HS_PLATFORM}/${HS_PKGID}/System/Log/Handler.hi
+lib/${HS_PLATFORM}/${HS_PKGID}/System/Log/Handler.p_hi
+lib/${HS_PLATFORM}/${HS_PKGID}/System/Log/Handler/Growl.dyn_hi
+lib/${HS_PLATFORM}/${HS_PKGID}/System/Log/Handler/Growl.hi
+lib/${HS_PLATFORM}/${HS_PKGID}/System/Log/Handler/Growl.p_hi
+lib/${HS_PLATFORM}/${HS_PKGID}/System/Log/Handler/Log4jXML.dyn_hi
+lib/${HS_PLATFORM}/${HS_PKGID}/System/Log/Handler/Log4jXML.hi
+lib/${HS_PLATFORM}/${HS_PKGID}/System/Log/Handler/Log4jXML.p_hi
+lib/${HS_PLATFORM}/${HS_PKGID}/System/Log/Handler/Simple.dyn_hi
+lib/${HS_PLATFORM}/${HS_PKGID}/System/Log/Handler/Simple.hi
+lib/${HS_PLATFORM}/${HS_PKGID}/System/Log/Handler/Simple.p_hi
+lib/${HS_PLATFORM}/${HS_PKGID}/System/Log/Handler/Syslog.dyn_hi
+lib/${HS_PLATFORM}/${HS_PKGID}/System/Log/Handler/Syslog.hi
+lib/${HS_PLATFORM}/${HS_PKGID}/System/Log/Handler/Syslog.p_hi
+lib/${HS_PLATFORM}/${HS_PKGID}/System/Log/Logger.dyn_hi
+lib/${HS_PLATFORM}/${HS_PKGID}/System/Log/Logger.hi
+lib/${HS_PLATFORM}/${HS_PKGID}/System/Log/Logger.p_hi
+lib/${HS_PLATFORM}/${HS_PKGID}/UTF8.dyn_hi
+lib/${HS_PLATFORM}/${HS_PKGID}/UTF8.hi
+lib/${HS_PLATFORM}/${HS_PKGID}/UTF8.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}/hslogger-${PKGVERSION}/LICENSE
+share/doc/${HS_PLATFORM}/hslogger-${PKGVERSION}/html/System-Log-Formatter.html
+share/doc/${HS_PLATFORM}/hslogger-${PKGVERSION}/html/System-Log-Handler-Growl.html
+share/doc/${HS_PLATFORM}/hslogger-${PKGVERSION}/html/System-Log-Handler-Log4jXML.html
+share/doc/${HS_PLATFORM}/hslogger-${PKGVERSION}/html/System-Log-Handler-Simple.html
+share/doc/${HS_PLATFORM}/hslogger-${PKGVERSION}/html/System-Log-Handler-Syslog.html
+share/doc/${HS_PLATFORM}/hslogger-${PKGVERSION}/html/System-Log-Handler.html
+share/doc/${HS_PLATFORM}/hslogger-${PKGVERSION}/html/System-Log-Logger.html
+share/doc/${HS_PLATFORM}/hslogger-${PKGVERSION}/html/System-Log.html
+share/doc/${HS_PLATFORM}/hslogger-${PKGVERSION}/html/doc-index.html
+share/doc/${HS_PLATFORM}/hslogger-${PKGVERSION}/html/haddock-bundle.min.js
+share/doc/${HS_PLATFORM}/hslogger-${PKGVERSION}/html/hslogger.haddock
+share/doc/${HS_PLATFORM}/hslogger-${PKGVERSION}/html/index.html
+share/doc/${HS_PLATFORM}/hslogger-${PKGVERSION}/html/linuwial.css
+share/doc/${HS_PLATFORM}/hslogger-${PKGVERSION}/html/meta.json
+share/doc/${HS_PLATFORM}/hslogger-${PKGVERSION}/html/quick-jump.css
+share/doc/${HS_PLATFORM}/hslogger-${PKGVERSION}/html/synopsis.png
Index: pkgsrc/sysutils/hs-hslogger/buildlink3.mk
diff -u /dev/null pkgsrc/sysutils/hs-hslogger/buildlink3.mk:1.1
--- /dev/null   Wed Feb 16 09:19:42 2022
+++ pkgsrc/sysutils/hs-hslogger/buildlink3.mk   Wed Feb 16 09:19:42 2022
@@ -0,0 +1,17 @@
+# $NetBSD: buildlink3.mk,v 1.1 2022/02/16 09:19:42 pho Exp $
+
+BUILDLINK_TREE+=       hs-hslogger
+
+.if !defined(HS_HSLOGGER_BUILDLINK3_MK)
+HS_HSLOGGER_BUILDLINK3_MK:=
+
+BUILDLINK_API_DEPENDS.hs-hslogger+=    hs-hslogger>=1.3.1
+BUILDLINK_ABI_DEPENDS.hs-hslogger+=    hs-hslogger>=1.3.1.0
+BUILDLINK_PKGSRCDIR.hs-hslogger?=      ../../sysutils/hs-hslogger
+
+.include "../../devel/hs-old-locale/buildlink3.mk"
+.include "../../net/hs-network/buildlink3.mk"
+.include "../../net/hs-network-bsd/buildlink3.mk"
+.endif # HS_HSLOGGER_BUILDLINK3_MK
+
+BUILDLINK_TREE+=       -hs-hslogger
Index: pkgsrc/sysutils/hs-hslogger/distinfo
diff -u /dev/null pkgsrc/sysutils/hs-hslogger/distinfo:1.1
--- /dev/null   Wed Feb 16 09:19:42 2022
+++ pkgsrc/sysutils/hs-hslogger/distinfo        Wed Feb 16 09:19:42 2022
@@ -0,0 +1,6 @@
+$NetBSD: distinfo,v 1.1 2022/02/16 09:19:42 pho Exp $
+
+BLAKE2s (hslogger-1.3.1.0.tar.gz) = 7f03dd7d459ee977af7b8eaef8d28627a5d1283e7843340a7b52598943edabb2
+SHA512 (hslogger-1.3.1.0.tar.gz) = a08e7c85efe2b3f97e87b54db993f78ac31380f9b6f8d926517854771f482b2c64c358ddd12a449a413e5af0f374c034161b6f772148835b50551dc2cdbfa15a
+Size (hslogger-1.3.1.0.tar.gz) = 37468 bytes
+SHA1 (patch-hslogger.cabal) = 8b6d6990d5c7b63aada905b060b0db9a0b3edd97

Index: pkgsrc/sysutils/hs-hslogger/patches/patch-hslogger.cabal
diff -u /dev/null pkgsrc/sysutils/hs-hslogger/patches/patch-hslogger.cabal:1.1
--- /dev/null   Wed Feb 16 09:19:42 2022
+++ pkgsrc/sysutils/hs-hslogger/patches/patch-hslogger.cabal    Wed Feb 16 09:19:42 2022
@@ -0,0 +1,21 @@
+$NetBSD: patch-hslogger.cabal,v 1.1 2022/02/16 09:19:42 pho Exp $
+
+Fix build with GHC 9.2
+
+--- hslogger.cabal.orig        2001-09-09 01:46:40.000000000 +0000
++++ hslogger.cabal
+@@ -64,11 +64,11 @@ library
+     other-extensions: CPP ExistentialQuantification DeriveDataTypeable
+ 
+     build-depends:
+-        base       >= 4.3 && < 4.14
+-      , bytestring >= 0.9 && < 0.11
++        base       >= 4.3 && < 5
++      , bytestring >= 0.9
+       , containers >= 0.4 && < 0.7
+       , deepseq    >= 1.1 && < 1.5
+-      , time       >= 1.2 && < 1.10
++      , time       >= 1.2
+       , old-locale >= 1.0 && < 1.1
+ 
+     if flag(network--GT-3_0_0)



Home | Main Index | Thread Index | Old Index