pkgsrc-WIP-changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
New port: lumberjack-2.0.
Module Name: pkgsrc-wip
Committed By: Benny Siegert <bsiegert%NetBSD.org@localhost>
Pushed By: bsiegert
Date: Tue Jul 12 22:56:48 2016 +0200
Changeset: 33a098ecd34a8d14d8da1a65ae893aa8e69bf8a5
Added Files:
lumberjack/DESCR
lumberjack/Makefile
lumberjack/PLIST
lumberjack/buildlink3.mk
lumberjack/distinfo
Log Message:
New port: lumberjack-2.0.
Lumberjack is a Go package for writing logs to rolling files.
Lumberjack is intended to be one part of a logging infrastructure.
It is not an all-in-one solution, but instead is a pluggable
component at the bottom of the logging stack that simply controls the files
to which logs are written.
Lumberjack plays well with any logging package that can write to an
io.Writer, including the standard library's log package.
Lumberjack assumes that only one process is writing to the output files.
Using the same lumberjack configuration from multiple processes on the same
machine will result in improper behavior.
To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=33a098ecd34a8d14d8da1a65ae893aa8e69bf8a5
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
diffstat:
lumberjack/DESCR | 13 +++++++++++++
lumberjack/Makefile | 19 +++++++++++++++++++
lumberjack/PLIST | 13 +++++++++++++
lumberjack/buildlink3.mk | 15 +++++++++++++++
lumberjack/distinfo | 6 ++++++
5 files changed, 66 insertions(+)
diffs:
diff --git a/lumberjack/DESCR b/lumberjack/DESCR
new file mode 100644
index 0000000..8d5b8dc
--- /dev/null
+++ b/lumberjack/DESCR
@@ -0,0 +1,13 @@
+Lumberjack is a Go package for writing logs to rolling files.
+
+Lumberjack is intended to be one part of a logging infrastructure.
+It is not an all-in-one solution, but instead is a pluggable
+component at the bottom of the logging stack that simply controls the files
+to which logs are written.
+
+Lumberjack plays well with any logging package that can write to an
+io.Writer, including the standard library's log package.
+
+Lumberjack assumes that only one process is writing to the output files.
+Using the same lumberjack configuration from multiple processes on the same
+machine will result in improper behavior.
diff --git a/lumberjack/Makefile b/lumberjack/Makefile
new file mode 100644
index 0000000..6746c64
--- /dev/null
+++ b/lumberjack/Makefile
@@ -0,0 +1,19 @@
+# $NetBSD$
+#
+
+DISTNAME= lumberjack-2.0
+GITHUB_PROJECT= lumberjack
+CATEGORIES= wip devel
+MASTER_SITES= ${MASTER_SITE_GITHUB:=natefinch/}
+GITHUB_TAG= v2.0
+
+MAINTAINER= bsiegert%NetBSD.org@localhost
+HOMEPAGE= http://gopkg.in/natefinch/lumberjack.v2
+COMMENT= Rolling logger for Go
+LICENSE= mit
+
+GO_SRCPATH= gopkg.in/natefinch/lumberjack.v2
+GO_DIST_BASE= ${DISTNAME}
+
+.include "../../lang/go/go-package.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/lumberjack/PLIST b/lumberjack/PLIST
new file mode 100644
index 0000000..19f4a2b
--- /dev/null
+++ b/lumberjack/PLIST
@@ -0,0 +1,13 @@
+@comment $NetBSD$
+gopkg/pkg/${GO_PLATFORM}/gopkg.in/natefinch/lumberjack.v2.a
+gopkg/src/gopkg.in/natefinch/lumberjack.v2/LICENSE
+gopkg/src/gopkg.in/natefinch/lumberjack.v2/README.md
+gopkg/src/gopkg.in/natefinch/lumberjack.v2/chown.go
+gopkg/src/gopkg.in/natefinch/lumberjack.v2/chown_linux.go
+gopkg/src/gopkg.in/natefinch/lumberjack.v2/example_test.go
+gopkg/src/gopkg.in/natefinch/lumberjack.v2/linux_test.go
+gopkg/src/gopkg.in/natefinch/lumberjack.v2/lumberjack.go
+gopkg/src/gopkg.in/natefinch/lumberjack.v2/lumberjack_test.go
+gopkg/src/gopkg.in/natefinch/lumberjack.v2/rotate_test.go
+gopkg/src/gopkg.in/natefinch/lumberjack.v2/testing_test.go
+@pkgdir bin
diff --git a/lumberjack/buildlink3.mk b/lumberjack/buildlink3.mk
new file mode 100644
index 0000000..cfb2412
--- /dev/null
+++ b/lumberjack/buildlink3.mk
@@ -0,0 +1,15 @@
+# $NetBSD$
+
+BUILDLINK_TREE+= lumberjack
+
+.if !defined(LUMBERJACK_BUILDLINK3_MK)
+LUMBERJACK_BUILDLINK3_MK:=
+
+BUILDLINK_CONTENTS_FILTER.lumberjack= ${EGREP} gopkg/
+BUILDLINK_DEPMETHOD.lumberjack?= build
+
+BUILDLINK_API_DEPENDS.lumberjack+= lumberjack>=2.0
+BUILDLINK_PKGSRCDIR.lumberjack?= ../../wip/lumberjack
+.endif # LUMBERJACK_BUILDLINK3_MK
+
+BUILDLINK_TREE+= -lumberjack
diff --git a/lumberjack/distinfo b/lumberjack/distinfo
new file mode 100644
index 0000000..754a1a4
--- /dev/null
+++ b/lumberjack/distinfo
@@ -0,0 +1,6 @@
+$NetBSD$
+
+SHA1 (lumberjack-2.0.tar.gz) = bd0e66b6e13e61b396290486da5ca56dcd0e8beb
+RMD160 (lumberjack-2.0.tar.gz) = 938919e52c2e7dc3bb1b0f37fe016ed905a54ef4
+SHA512 (lumberjack-2.0.tar.gz) = 1a1497e89aa17899ff5c62c56d8d7712b893e7367bbf4ed9def7d6b6efdecf79743c934edfa1ef54c90cc2a00645a079e03cc2bc4efda25e07dc360901fac35e
+Size (lumberjack-2.0.tar.gz) = 10811 bytes
Home |
Main Index |
Thread Index |
Old Index