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

* Re: New package: bsdgrep
  2021-01-17 23:06 [PR PATCH] New package: bsdgrep arp242
@ 2021-01-18  1:24 ` arp242
  2021-01-18  2:12 ` ericonr
                   ` (4 subsequent siblings)
  5 siblings, 0 replies; 7+ messages in thread
From: arp242 @ 2021-01-18  1:24 UTC (permalink / raw)
  To: ml

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

New comment by arp242 on void-packages repository

https://github.com/void-linux/void-packages/pull/27997#issuecomment-761923201

Comment:
I'll fix the musl builds later.

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

* Re: New package: bsdgrep
  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
                   ` (3 subsequent siblings)
  5 siblings, 0 replies; 7+ messages in thread
From: ericonr @ 2021-01-18  2:12 UTC (permalink / raw)
  To: ml

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

New comment by ericonr on void-packages repository

https://github.com/void-linux/void-packages/pull/27997#issuecomment-761934645

Comment:
Given that it is pretty much a drop in replacement, what value does it bring?

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

* Re: New package: bsdgrep
  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
                   ` (2 subsequent siblings)
  5 siblings, 0 replies; 7+ messages in thread
From: ahesford @ 2021-01-18  3:03 UTC (permalink / raw)
  To: ml

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

New comment by ahesford on void-packages repository

https://github.com/void-linux/void-packages/pull/27997#issuecomment-761949211

Comment:
I see no value in having FreeBSD grep.

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

* Re: New package: bsdgrep
  2021-01-17 23:06 [PR PATCH] New package: bsdgrep arp242
                   ` (2 preceding siblings ...)
  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
  5 siblings, 0 replies; 7+ messages in thread
From: arp242 @ 2021-01-18  3:36 UTC (permalink / raw)
  To: ml

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

New comment by arp242 on void-packages repository

https://github.com/void-linux/void-packages/pull/27997#issuecomment-761958102

Comment:
> Given that it is pretty much a drop in replacement, what value does it bring?

It's quite a bit smaller; it apparently has fewer bugs (according to that commit, but I didn't research which bugs exactly), I don't need to muck about with GREP_COLORS to make it behave on a light background. It's all pretty small stuff; nothing super-major.

> I see no value in having FreeBSD grep.

Fair enough; but anyone can say this about any package. Why should only GNU grep be allowed?

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

* Re: New package: bsdgrep
  2021-01-17 23:06 [PR PATCH] New package: bsdgrep arp242
                   ` (3 preceding siblings ...)
  2021-01-18  3:36 ` arp242
@ 2021-01-18 10:39 ` travankor
  2021-02-25  6:33 ` [PR PATCH] [Closed]: " arp242
  5 siblings, 0 replies; 7+ messages in thread
From: travankor @ 2021-01-18 10:39 UTC (permalink / raw)
  To: ml

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

New comment by travankor on void-packages repository

https://github.com/void-linux/void-packages/pull/27997#issuecomment-762157780

Comment:
>Fair enough; but anyone can say this about any package. Why should only GNU grep be allowed?

Wouldn't it make more sense to replace the GNU userland with FreeBSD userland, rather than replacing one package? 

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

* Re: [PR PATCH] [Closed]: New package: bsdgrep
  2021-01-17 23:06 [PR PATCH] New package: bsdgrep arp242
                   ` (4 preceding siblings ...)
  2021-01-18 10:39 ` travankor
@ 2021-02-25  6:33 ` arp242
  5 siblings, 0 replies; 7+ messages in thread
From: arp242 @ 2021-02-25  6:33 UTC (permalink / raw)
  To: ml

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

There's a closed pull request on the void-packages repository

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

Description:
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.

^ 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).