summaryrefslogtreecommitdiff
path: root/core/grep
diff options
context:
space:
mode:
authorrawnix ports <ports@rawnix.org>2026-09-26 18:19:05 +0000
committerrawnix ports <ports@rawnix.org>2026-09-26 18:19:05 +0000
commitc82e88dd00d1b0b7fcfb4e5628d99611388cef6f (patch)
tree56d864b5a5c6c145edd96178ae219a8f90e191a6 /core/grep
downloadports-c82e88dd00d1b0b7fcfb4e5628d99611388cef6f.tar.gz
sync 2026-09-26 18:19 UTC
1672 files changed, 151396 insertions(+)
Diffstat (limited to 'core/grep')
-rw-r--r--core/grep/.footprint9
-rw-r--r--core/grep/.signature6
-rw-r--r--core/grep/MAKEPKG39
3 files changed, 54 insertions, 0 deletions
diff --git a/core/grep/.footprint b/core/grep/.footprint
new file mode 100644
index 0000000..ee0ccf6
--- /dev/null
+++ b/core/grep/.footprint
@@ -0,0 +1,9 @@
+drwxr-xr-x root/root bin/
+-rwxr-xr-x root/root bin/egrep
+-rwxr-xr-x root/root bin/fgrep
+-rwxr-xr-x root/root bin/grep
+drwxr-xr-x root/root usr/
+drwxr-xr-x root/root usr/share/
+drwxr-xr-x root/root usr/share/man/
+drwxr-xr-x root/root usr/share/man/man1/
+-rw-r--r-- root/root usr/share/man/man1/grep.1.gz
diff --git a/core/grep/.signature b/core/grep/.signature
new file mode 100644
index 0000000..0a8872a
--- /dev/null
+++ b/core/grep/.signature
@@ -0,0 +1,6 @@
+RWTZ9IduCSQ/mF66K0BcS7ZgmiB4FMJtMLCh87PxMNvINbavCDF4s0TDh1eibwvjFkwjinMg/XnSR5GLxhsMTQOfhzHadK8kfA0=
+
+SHA256 (MAKEPKG) = 3024e7c6b7d6e905c4818b731ffa0f00b30664b98a4e2867bebe8781e139489c
+SHA256 (.footprint) = 4e0c628d41e12617e26f96463c8009a7017f6d3d90dda3b8d51c67844ca68f7a
+SHA256 (grep-3.12.tar.xz) = 2649b27c0e90e632eadcd757be06c6e9a4f48d941de51e7c0f83ff76408a07b9
+SHA256 (grep#3.12-2.pkg.tar.gz) = 6eae9cf4f9c6d052b26a5a8f53e50b04f22fc9f06bb7542ba181c66fc6f71564
diff --git a/core/grep/MAKEPKG b/core/grep/MAKEPKG
new file mode 100644
index 0000000..3d8ae00
--- /dev/null
+++ b/core/grep/MAKEPKG
@@ -0,0 +1,39 @@
+#!/bin/mkpkg
+# description: GNU grep
+# url: https://www.gnu.org/software/grep/
+
+name=grep
+version=3.12
+release=2
+depends=(pcre2)
+source=(https://ftp.gnu.org/gnu/$name/$name-$version.tar.xz)
+
+sha256sums=(
+ "2649b27c0e90e632eadcd757be06c6e9a4f48d941de51e7c0f83ff76408a07b9"
+)
+
+build() {
+ cd $name-$version
+
+ ./configure \
+ --prefix=/ \
+ --bindir=/bin \
+ --mandir=/usr/share/man \
+ --disable-nls
+
+ make
+ make install DESTDIR=$PKG
+
+ printf '#!/bin/sh\nexec grep -E "$@"\n' > $PKG/bin/egrep
+ printf '#!/bin/sh\nexec grep -F "$@"\n' > $PKG/bin/fgrep
+ chmod +x $PKG/bin/egrep $PKG/bin/fgrep
+
+ rm -rf $PKG/share
+}
+
+signify() {
+ untrusted comment: public key
+ RWTZ9IduCSQ/mL8337TEUinPwT92xFEUpD92hkS7IxcOnzTt9QdpohT3
+}
+
+# vim: filetype=sh