Github messages for voidlinux
 help / color / mirror / Atom feed
* [PR PATCH] New package: bsdgrep
@ 2021-01-17 23:06 arp242
  2021-01-18  1:24 ` arp242
                   ` (5 more replies)
  0 siblings, 6 replies; 7+ messages in thread
From: arp242 @ 2021-01-17 23:06 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 700 bytes --]

There is a new pull request by arp242 against master on the void-packages repository

https://github.com/arp242/void-packages bsdgrep
https://github.com/void-linux/void-packages/pull/27997

New package: bsdgrep
This is "BSD grep" from the FreeBSD source tree, which is the default
grep in FreeBSD 13.

It should be pretty much a drop-in replacement for GNU grep, so I just
set it to replace/conflict with it. It installs a bunch of
commands/links, and I'm not sure if having them all as "bsd*grep*" and
updating alternatives is all that useful, but it could be done if people
feel strongly about this.

A patch file from https://github.com/void-linux/void-packages/pull/27997.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-bsdgrep-27997.patch --]
[-- Type: text/x-diff, Size: 1394 bytes --]

From 364464e0210e3ebed91ce71c8ef54ef761b7a226 Mon Sep 17 00:00:00 2001
From: Martin Tournoij <martin@arp242.net>
Date: Mon, 18 Jan 2021 06:56:38 +0800
Subject: [PATCH] New package: bsdgrep

This is "BSD grep" from the FreeBSD source tree, which is the default
grep in FreeBSD 13.

It should be pretty much a drop-in replacement for GNU grep, so I just
set it to replace/conflict with it. It installs a bunch of
commands/links, and I'm not sure if having them all as "bsd*grep*" and
updating alternatives is all that useful, but it could be done if people
feel strongly about this.
---
 srcpkgs/bsdgrep/template | 14 ++++++++++++++
 1 file changed, 14 insertions(+)
 create mode 100644 srcpkgs/bsdgrep/template

diff --git a/srcpkgs/bsdgrep/template b/srcpkgs/bsdgrep/template
new file mode 100644
index 00000000000..33a7995434c
--- /dev/null
+++ b/srcpkgs/bsdgrep/template
@@ -0,0 +1,14 @@
+# Template file for 'bsdgrep'
+pkgname=bsdgrep
+version=1.0.0
+revision=1
+build_style=gnu-makefile
+makedepends="bzip2-devel zlib-devel"
+short_desc="BSD grep from FreeBSD"
+maintainer="Martin Tournoij <martin@arp242.net>"
+license="BSD-2-Clause"
+homepage="https://github.com/arp242/bsdgrep"
+distfiles="https://github.com/arp242/bsdgrep/archive/v${version}.tar.gz"
+checksum=04e6be645eba6e50cc614d505dd7d53893573c6c6be577385695120cd7c5fe37
+provides="grep-${version}_${revision}"
+replaces="grep>=0"

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2021-02-25  6:34 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-01-17 23:06 [PR PATCH] New package: bsdgrep arp242
2021-01-18  1:24 ` arp242
2021-01-18  2:12 ` ericonr
2021-01-18  3:03 ` ahesford
2021-01-18  3:36 ` arp242
2021-01-18 10:39 ` travankor
2021-02-25  6:33 ` [PR PATCH] [Closed]: " arp242

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).