From 3a5cbf9eee4b99368c957a48356791a97a6a69ba Mon Sep 17 00:00:00 2001 From: Mingcong Bai Date: Sun, 6 Mar 2016 09:11:01 -0700 Subject: [PATCH] tre: new, checkout on 20150813, fixes #162 --- extra-utils/tre/autobuild/alternatives | 1 + extra-utils/tre/autobuild/beyond | 2 ++ extra-utils/tre/autobuild/defines | 6 ++++++ extra-utils/tre/autobuild/prepare | 3 +++ extra-utils/tre/spec | 3 +++ 5 files changed, 15 insertions(+) create mode 100644 extra-utils/tre/autobuild/alternatives create mode 100644 extra-utils/tre/autobuild/beyond create mode 100644 extra-utils/tre/autobuild/defines create mode 100644 extra-utils/tre/autobuild/prepare create mode 100644 extra-utils/tre/spec diff --git a/extra-utils/tre/autobuild/alternatives b/extra-utils/tre/autobuild/alternatives new file mode 100644 index 00000000000..7efa4052a89 --- /dev/null +++ b/extra-utils/tre/autobuild/alternatives @@ -0,0 +1 @@ +alternative /usr/bin/agrep /usr/bin/agrep-tre 50 diff --git a/extra-utils/tre/autobuild/beyond b/extra-utils/tre/autobuild/beyond new file mode 100644 index 00000000000..aaa22550341 --- /dev/null +++ b/extra-utils/tre/autobuild/beyond @@ -0,0 +1,2 @@ +mv "$PKGDIR"/usr/bin/{agrep,agrep-tre} +mv "$PKGDIR"/usr/share/man/man1/{agrep,tre}.1 diff --git a/extra-utils/tre/autobuild/defines b/extra-utils/tre/autobuild/defines new file mode 100644 index 00000000000..cefe204a186 --- /dev/null +++ b/extra-utils/tre/autobuild/defines @@ -0,0 +1,6 @@ +PKGNAME=tre +PKGSEC=utils +PKGDEP="glibc" +PKGDES="The approximate regex matching library and agrep command line tool" + +ABSHADOW=no diff --git a/extra-utils/tre/autobuild/prepare b/extra-utils/tre/autobuild/prepare new file mode 100644 index 00000000000..92c7dd7b156 --- /dev/null +++ b/extra-utils/tre/autobuild/prepare @@ -0,0 +1,3 @@ +mv ChangeLog{.old,} + +# FIXME: security patches? diff --git a/extra-utils/tre/spec b/extra-utils/tre/spec new file mode 100644 index 00000000000..2bed5213cb5 --- /dev/null +++ b/extra-utils/tre/spec @@ -0,0 +1,3 @@ +VER=20150813 +GITSRC="https://github.com/laurikari/tre.git" +GITCO="556ef09df29aadc041923522d07cc012d92a4749"