summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTimothy Redaelli <drizzt@gentoo.org>2007-01-03 15:09:08 +0000
committerTimothy Redaelli <drizzt@gentoo.org>2007-01-03 15:09:08 +0000
commitd6f683cd440fdfb20a9ba45ef6d30e824b0066eb (patch)
tree7bb95b854b01968e73b22837483c4f2985eacffa /sys-apps/grep
parentFixed profiles/categories and profiles/thirdpartymirrors (diff)
downloaddrizzt-d6f683cd440fdfb20a9ba45ef6d30e824b0066eb.tar.gz
drizzt-d6f683cd440fdfb20a9ba45ef6d30e824b0066eb.tar.bz2
drizzt-d6f683cd440fdfb20a9ba45ef6d30e824b0066eb.zip
Add aliases for {b,}z{e,f,}grep
svn path=/; revision=78
Diffstat (limited to 'sys-apps/grep')
-rw-r--r--sys-apps/grep/ChangeLog7
-rw-r--r--sys-apps/grep/Manifest26
-rw-r--r--sys-apps/grep/files/grep.sh10
-rw-r--r--sys-apps/grep/grep-2.5.1a-r2.ebuild5
4 files changed, 44 insertions, 4 deletions
diff --git a/sys-apps/grep/ChangeLog b/sys-apps/grep/ChangeLog
new file mode 100644
index 0000000..b21e237
--- /dev/null
+++ b/sys-apps/grep/ChangeLog
@@ -0,0 +1,7 @@
+# ChangeLog for sys-apps/grep
+# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2
+# $Header: $
+
+ 03 Jan 2007; Timothy Redaelli <drizzt@gentoo.org> ChangeLog:
+ Add aliases for {b,}z{e,f,}grep
+
diff --git a/sys-apps/grep/Manifest b/sys-apps/grep/Manifest
index d0af67b..85d6e04 100644
--- a/sys-apps/grep/Manifest
+++ b/sys-apps/grep/Manifest
@@ -1,3 +1,6 @@
+-----BEGIN PGP SIGNED MESSAGE-----
+Hash: SHA1
+
AUX 2.5.1-tests.patch 1786 RMD160 a95b24ce9b2d8c395e7396bc3ed15ec73b09088c SHA1 3c7bc0ac1993a2b91864df17fa3162cdbd677082 SHA256 c2392469fba6a6c434295b277099d19fa2b7500f69e2383bfb68e06816835f18
MD5 16d6cd54c93041d4f4bef59a9e327d04 files/2.5.1-tests.patch 1786
RMD160 a95b24ce9b2d8c395e7396bc3ed15ec73b09088c files/2.5.1-tests.patch 1786
@@ -54,11 +57,26 @@ AUX grep-onthefly.patch 11164 RMD160 bafa12774c6507c8f1d7e96f9bb8d1fb12b96ec0 SH
MD5 f1536479d5fbe3a6e6aa5fb9bad15c4e files/grep-onthefly.patch 11164
RMD160 bafa12774c6507c8f1d7e96f9bb8d1fb12b96ec0 files/grep-onthefly.patch 11164
SHA256 8362e7bd930368b0b069c7253a0908ce676ada339f29955ea1c94601819f8a59 files/grep-onthefly.patch 11164
+AUX grep.sh 337 RMD160 27363d6a19b6062779d16e5c0351d059074a486d SHA1 600ece37a46f160b8b1e0026ed4b64124622df25 SHA256 d7e530b67180adec9f3a7461a9eca8dda0007bceb662c6f494dd498fd8b6861a
+MD5 ca528ff440aba8d36778a30f4e33af2f files/grep.sh 337
+RMD160 27363d6a19b6062779d16e5c0351d059074a486d files/grep.sh 337
+SHA256 d7e530b67180adec9f3a7461a9eca8dda0007bceb662c6f494dd498fd8b6861a files/grep.sh 337
DIST grep-2.5.1a.tar.bz2 527386 RMD160 f02c36c5a1efe805eafb0b4c0171ddb7ff15fbeb SHA1 2cd082775d30be463c0ac674a00595eb56fda22e SHA256 38c8a2bb9223d1fb1b10bdd607cf44830afc92fd451ac4cd07619bf92bdd3132
-EBUILD grep-2.5.1a-r2.ebuild 2263 RMD160 3158266f35aaafe025b2add7ae25be305cc30f2d SHA1 41c6f453daf26c71635717b227577bda0bee2037 SHA256 3f567156a32241b1a6278ec85fcd7128e3e17425f8a5fa5fb6b2c038381ebf59
-MD5 4a7877e02bb343859607ff66d55e9a45 grep-2.5.1a-r2.ebuild 2263
-RMD160 3158266f35aaafe025b2add7ae25be305cc30f2d grep-2.5.1a-r2.ebuild 2263
-SHA256 3f567156a32241b1a6278ec85fcd7128e3e17425f8a5fa5fb6b2c038381ebf59 grep-2.5.1a-r2.ebuild 2263
+EBUILD grep-2.5.1a-r2.ebuild 2347 RMD160 4e2727580182657da22aff8e8fbcab269cb15845 SHA1 9b7db604c885702480c73f7a108179c9d4cef5a1 SHA256 00a17b43e4914ad2421aee57d0a08f8c1b41e8e2d0f8c21738f208b64627aaf1
+MD5 5763ec5dbc288d163721324f6c5f9b3a grep-2.5.1a-r2.ebuild 2347
+RMD160 4e2727580182657da22aff8e8fbcab269cb15845 grep-2.5.1a-r2.ebuild 2347
+SHA256 00a17b43e4914ad2421aee57d0a08f8c1b41e8e2d0f8c21738f208b64627aaf1 grep-2.5.1a-r2.ebuild 2347
+MISC ChangeLog 212 RMD160 8ba4f494696448b38cc19399e0020a3e4482d097 SHA1 f2120aa1b81e1e38daf557ae6a1c13113a3f616d SHA256 6f822d408f00e0f336b062f85b48a99daaebfa7e0d938d4cbb3b97c066850d2d
+MD5 f6dfdd8601a977290357da1f7e221674 ChangeLog 212
+RMD160 8ba4f494696448b38cc19399e0020a3e4482d097 ChangeLog 212
+SHA256 6f822d408f00e0f336b062f85b48a99daaebfa7e0d938d4cbb3b97c066850d2d ChangeLog 212
MD5 aa75d543de9cdb9d9a86269a7f2216c8 files/digest-grep-2.5.1a-r2 238
RMD160 ed247f3fb6af7fd98d06b4cb2228706e4640a22b files/digest-grep-2.5.1a-r2 238
SHA256 855e142dd76e809d8ae1f95394f7adb8ccb2d8b4c9bb79336d1966ae225f8e84 files/digest-grep-2.5.1a-r2 238
+-----BEGIN PGP SIGNATURE-----
+Version: GnuPG v2.0.1 (GNU/Linux)
+
+iD8DBQFFm8cLGDyatLGpTbYRAlVlAKCSS9OCCMRrAwsy7qZB5yYxwmdC6QCdHDbD
+CmCMpE5OkLfISvIvE4XqsWw=
+=z+po
+-----END PGP SIGNATURE-----
diff --git a/sys-apps/grep/files/grep.sh b/sys-apps/grep/files/grep.sh
new file mode 100644
index 0000000..a5e50a7
--- /dev/null
+++ b/sys-apps/grep/files/grep.sh
@@ -0,0 +1,10 @@
+# Copyright 2006 Timothy Redaelli
+# Distributed under the terms of the GNU General Public License, v2 or later
+# $Header: $
+
+alias zgrep="grep --decompress"
+alias bzgrep="grep --bz2decompress"
+alias zegrep="egrep --decompress"
+alias zfgrep="fgrep --decompress"
+alias bzegrep="egrep --bz2decompress"
+alias bzfgrep="fgrep --bz2decompress"
diff --git a/sys-apps/grep/grep-2.5.1a-r2.ebuild b/sys-apps/grep/grep-2.5.1a-r2.ebuild
index 154ffa0..5509b45 100644
--- a/sys-apps/grep/grep-2.5.1a-r2.ebuild
+++ b/sys-apps/grep/grep-2.5.1a-r2.ebuild
@@ -71,5 +71,10 @@ src_install() {
ln -sfn grep "${D}"/bin/egrep || die "ln egrep failed"
ln -sfn grep "${D}"/bin/fgrep || die "ln fgrep failed"
+ if ! use vanilla; then
+ exeinto /etc/profile.d
+ doexe "${FILESDIR}"/grep.sh
+ fi
+
dodoc AUTHORS ChangeLog NEWS README THANKS TODO
}