pkgsrc-WIP-changes archive

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

Import go-tail-1.4.6 to wip



Module Name:	pkgsrc-wip
Committed By:	K.I.A.Derouiche <kamel.derouiche%gmail.com@localhost>
Pushed By:	jihbed
Date:		Sun Jan 24 23:54:21 2021 +0100
Changeset:	40aeb7367407e688274897269954090813d4a9bb

Modified Files:
	Makefile
Added Files:
	go-tail/DESCR
	go-tail/Makefile
	go-tail/PLIST
	go-tail/buildlink3.mk
	go-tail/distinfo

Log Message:
Import go-tail-1.4.6 to wip

To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=40aeb7367407e688274897269954090813d4a9bb

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

diffstat:
 Makefile              |  1 +
 go-tail/DESCR         |  1 +
 go-tail/Makefile      | 23 +++++++++++++++++++++++
 go-tail/PLIST         | 35 +++++++++++++++++++++++++++++++++++
 go-tail/buildlink3.mk | 15 +++++++++++++++
 go-tail/distinfo      |  6 ++++++
 6 files changed, 81 insertions(+)

diffs:
diff --git a/Makefile b/Makefile
index ec9f83bf57..03c561ced5 100644
--- a/Makefile
+++ b/Makefile
@@ -1300,6 +1300,7 @@ SUBDIR+=	go-stack
 SUBDIR+=	go-streamquote
 SUBDIR+=	go-stripansi
 SUBDIR+=	go-structs
+SUBDIR+=	go-tail
 SUBDIR+=	go-tiff
 SUBDIR+=	go-timego
 SUBDIR+=	go-transcoder
diff --git a/go-tail/DESCR b/go-tail/DESCR
new file mode 100644
index 0000000000..e44e4553ec
--- /dev/null
+++ b/go-tail/DESCR
@@ -0,0 +1 @@
+A Go package striving to emulate the features of the BSD tail program.
diff --git a/go-tail/Makefile b/go-tail/Makefile
new file mode 100644
index 0000000000..6de31a0942
--- /dev/null
+++ b/go-tail/Makefile
@@ -0,0 +1,23 @@
+# $NetBSD$
+
+DISTNAME=	tail-1.4.6
+PKGNAME=	go-${DISTNAME}
+GITHUB_PROJECT=	tail
+GITHUB_TAG=	v${PKGVERSION_NOREV}
+CATEGORIES=	devel
+MASTER_SITES=	${MASTER_SITE_GITHUB:=nxadm/}
+
+MAINTAINER=	pkgsrc-users%NetBSD.org@localhost
+HOMEPAGE=	https://github.com/nxadm/tail/
+COMMENT=	Go package for reading from continously updated files
+LICENSE=	mit
+
+GO_DIST_BASE=	${GITHUB_PROJECT}-${PKGVERSION_NOREV}
+GO_SRCPATH=	github.com/nxadm/tail
+
+
+post-install:
+	${RM} -rf ${DESTDIR}${PREFIX}/gopkg/src/${GO_SRCPATH}/vendor
+
+.include "../../lang/go/go-package.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/go-tail/PLIST b/go-tail/PLIST
new file mode 100644
index 0000000000..2d1647ac25
--- /dev/null
+++ b/go-tail/PLIST
@@ -0,0 +1,35 @@
+@comment $NetBSD$
+bin/01-tailAndPrint
+bin/02-closeAndReopen
+bin/gotail
+gopkg/pkg/${GO_PLATFORM}/github.com/nxadm/tail.a
+gopkg/pkg/${GO_PLATFORM}/github.com/nxadm/tail/ratelimiter.a
+gopkg/pkg/${GO_PLATFORM}/github.com/nxadm/tail/util.a
+gopkg/pkg/${GO_PLATFORM}/github.com/nxadm/tail/watch.a
+gopkg/src/github.com/nxadm/tail/CHANGES.md
+gopkg/src/github.com/nxadm/tail/Dockerfile
+gopkg/src/github.com/nxadm/tail/LICENSE
+gopkg/src/github.com/nxadm/tail/README.md
+gopkg/src/github.com/nxadm/tail/appveyor.yml
+gopkg/src/github.com/nxadm/tail/cmd/gotail/.gitignore
+gopkg/src/github.com/nxadm/tail/cmd/gotail/gotail.go
+gopkg/src/github.com/nxadm/tail/examples/01-tailAndPrint/main.go
+gopkg/src/github.com/nxadm/tail/examples/02-closeAndReopen/main.go
+gopkg/src/github.com/nxadm/tail/go.mod
+gopkg/src/github.com/nxadm/tail/go.sum
+gopkg/src/github.com/nxadm/tail/ratelimiter/Licence
+gopkg/src/github.com/nxadm/tail/ratelimiter/leakybucket.go
+gopkg/src/github.com/nxadm/tail/ratelimiter/leakybucket_test.go
+gopkg/src/github.com/nxadm/tail/ratelimiter/memory.go
+gopkg/src/github.com/nxadm/tail/ratelimiter/storage.go
+gopkg/src/github.com/nxadm/tail/tail.go
+gopkg/src/github.com/nxadm/tail/tail_posix.go
+gopkg/src/github.com/nxadm/tail/tail_test.go
+gopkg/src/github.com/nxadm/tail/tail_windows.go
+gopkg/src/github.com/nxadm/tail/util/util.go
+gopkg/src/github.com/nxadm/tail/watch/filechanges.go
+gopkg/src/github.com/nxadm/tail/watch/inotify.go
+gopkg/src/github.com/nxadm/tail/watch/inotify_tracker.go
+gopkg/src/github.com/nxadm/tail/watch/polling.go
+gopkg/src/github.com/nxadm/tail/watch/watch.go
+gopkg/src/github.com/nxadm/tail/winfile/winfile.go
diff --git a/go-tail/buildlink3.mk b/go-tail/buildlink3.mk
new file mode 100644
index 0000000000..561176284c
--- /dev/null
+++ b/go-tail/buildlink3.mk
@@ -0,0 +1,15 @@
+# $NetBSD$
+
+BUILDLINK_TREE+=	go-tail
+
+.if !defined(GO_TAIL_BUILDLINK3_MK)
+GO_TAIL_BUILDLINK3_MK:=
+
+BUILDLINK_CONTENTS_FILTER.go-tail=	${EGREP} gopkg/
+BUILDLINK_DEPMETHOD.go-tail?=		build
+
+BUILDLINK_API_DEPENDS.go-tail+=	go-tail>=1.4.6
+BUILDLINK_PKGSRCDIR.go-tail?=	../../wip/go-tail
+.endif	# GO_TAIL_BUILDLINK3_MK
+
+BUILDLINK_TREE+=	-go-tail
diff --git a/go-tail/distinfo b/go-tail/distinfo
new file mode 100644
index 0000000000..793e066255
--- /dev/null
+++ b/go-tail/distinfo
@@ -0,0 +1,6 @@
+$NetBSD$
+
+SHA1 (tail-1.4.6.tar.gz) = c23757173dd8d4115dbd3a644717600b4c08433c
+RMD160 (tail-1.4.6.tar.gz) = e7aac4202d230051bd5ea0255267244da8378128
+SHA512 (tail-1.4.6.tar.gz) = a8245a13136c216cf837cf400ed877dcb48cd693beb927542163908fdbbd66b4d1ac7ce0ca722cc347b8c7f8b6317c6c3dd00acf4e78a9bf4a1daef6487d1ec1
+Size (tail-1.4.6.tar.gz) = 1254162 bytes


Home | Main Index | Thread Index | Old Index