From: arp242 <arp242@users.noreply.github.com>
To: ml@inbox.vuxu.org
Subject: [PR PATCH] New package: bsdgrep
Date: Mon, 18 Jan 2021 00:06:35 +0100 [thread overview]
Message-ID: <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-27997@inbox.vuxu.org> (raw)
[-- 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"
next reply other threads:[~2021-01-17 23:06 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-01-17 23:06 arp242 [this message]
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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-27997@inbox.vuxu.org \
--to=arp242@users.noreply.github.com \
--cc=ml@inbox.vuxu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).