Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 24 Nov 2018 22:28:25 +0000 (UTC)
From:      Sunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r485802 - in head/textproc: . sift
Message-ID:  <201811242228.wAOMSPWe076521@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: sunpoet
Date: Sat Nov 24 22:28:25 2018
New Revision: 485802
URL: https://svnweb.freebsd.org/changeset/ports/485802

Log:
  Add sift 0.9.0
  
  sift has a slightly different focus than most other grep alternatives. Code
  search, log search / digital forensics and data processing are the main use
  cases, but the primary goal is to provide safe defaults and to make it easily
  configurable for a specific use case. Among the features are:
  - Stable releases, cross platform support
  - Safe defaults: sift searches everywhere if not configured otherwise
  - Complete & working .gitignore support
  - High performance for many uses cases
  - Support for adding custom file types to narrow down searches
  - Multiline support
  - Support for big files: >50GB, >5,000,000,000 lines and >5,000,000,000 matches
    successfully tested
  
  WWW: https://github.com/svent/sift

Added:
  head/textproc/sift/
  head/textproc/sift/Makefile   (contents, props changed)
  head/textproc/sift/distinfo   (contents, props changed)
  head/textproc/sift/pkg-descr   (contents, props changed)
Modified:
  head/textproc/Makefile

Modified: head/textproc/Makefile
==============================================================================
--- head/textproc/Makefile	Sat Nov 24 22:28:20 2018	(r485801)
+++ head/textproc/Makefile	Sat Nov 24 22:28:25 2018	(r485802)
@@ -1715,6 +1715,7 @@
     SUBDIR += sgmls
     SUBDIR += sgrep
     SUBDIR += sgrep2
+    SUBDIR += sift
     SUBDIR += sigil
     SUBDIR += silvercity
     SUBDIR += simplexml

Added: head/textproc/sift/Makefile
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/textproc/sift/Makefile	Sat Nov 24 22:28:25 2018	(r485802)
@@ -0,0 +1,31 @@
+# Created by: Po-Chuan Hsieh <sunpoet@FreeBSD.org>
+# $FreeBSD$
+
+PORTNAME=	sift
+PORTVERSION=	0.9.0
+DISTVERSIONPREFIX=	v
+CATEGORIES=	textproc
+
+MAINTAINER=	sunpoet@FreeBSD.org
+COMMENT=	Fast and powerful open source alternative to grep
+
+LICENSE=	GPLv3
+LICENSE_FILE=	${WRKSRC}/LICENSE
+
+USES=		go
+
+GO_PKGNAME=	github.com/${GH_ACCOUNT}/${GH_PROJECT}
+
+PLIST_FILES=	bin/sift
+
+GH_ACCOUNT=	svent
+GH_TUPLE=	golang:crypto:3d3f9f4:golang_crypto/../src/golang.org/x/crypto \
+		golang:sys:62eef0e:golang_sys/../src/golang.org/x/sys \
+		svent:go-flags:4bcbad3:svent_goflags/../src/github.com/svent/go-flags \
+		svent:go-nbreader:7cef48d:svent_gonbreader/../src/github.com/svent/go-nbreader
+USE_GITHUB=	yes
+
+do-install:
+	${INSTALL_PROGRAM} ${GO_WRKDIR_BIN}/sift ${STAGEDIR}${PREFIX}/bin/sift
+
+.include <bsd.port.mk>

Added: head/textproc/sift/distinfo
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/textproc/sift/distinfo	Sat Nov 24 22:28:25 2018	(r485802)
@@ -0,0 +1,11 @@
+TIMESTAMP = 1543074658
+SHA256 (svent-sift-v0.9.0_GH0.tar.gz) = bbbd5c472c36b78896cd7ae673749d3943621a6d5523d47973ed2fc6800ae4c8
+SIZE (svent-sift-v0.9.0_GH0.tar.gz) = 37442
+SHA256 (golang-crypto-3d3f9f4_GH0.tar.gz) = 4cac408ad0b69d6117d973764bc8dab1f9cf5bee6bf7c78041459241afa0b414
+SIZE (golang-crypto-3d3f9f4_GH0.tar.gz) = 1644646
+SHA256 (golang-sys-62eef0e_GH0.tar.gz) = ad3c32771a961d18cb8a1ae96c56e8927f49bc97f281a3f6333c05c4ee32d005
+SIZE (golang-sys-62eef0e_GH0.tar.gz) = 1115440
+SHA256 (svent-go-flags-4bcbad3_GH0.tar.gz) = 8fb342e5d1ad220c7040a6f185f39a38679f9c88e24716fcc6f2fef2ee09825a
+SIZE (svent-go-flags-4bcbad3_GH0.tar.gz) = 45988
+SHA256 (svent-go-nbreader-7cef48d_GH0.tar.gz) = 62e0248ba434aa54461f554afc532cd5a4393ce55c35fdf750175fa14f997448
+SIZE (svent-go-nbreader-7cef48d_GH0.tar.gz) = 2777

Added: head/textproc/sift/pkg-descr
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/textproc/sift/pkg-descr	Sat Nov 24 22:28:25 2018	(r485802)
@@ -0,0 +1,14 @@
+sift has a slightly different focus than most other grep alternatives. Code
+search, log search / digital forensics and data processing are the main use
+cases, but the primary goal is to provide safe defaults and to make it easily
+configurable for a specific use case. Among the features are:
+- Stable releases, cross platform support
+- Safe defaults: sift searches everywhere if not configured otherwise
+- Complete & working .gitignore support
+- High performance for many uses cases
+- Support for adding custom file types to narrow down searches
+- Multiline support
+- Support for big files: >50GB, >5,000,000,000 lines and >5,000,000,000 matches
+  successfully tested
+
+WWW: https://github.com/svent/sift



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201811242228.wAOMSPWe076521>