summaryrefslogtreecommitdiff
path: root/app-misc/glimpse
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
committerV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
commit4f2d7949f03e1c198bc888f2d05f421d35c57e21 (patch)
treeba5f07bf3f9d22d82e54a462313f5d244036c768 /app-misc/glimpse
reinit the tree, so we can have metadata
Diffstat (limited to 'app-misc/glimpse')
-rw-r--r--app-misc/glimpse/Manifest9
-rw-r--r--app-misc/glimpse/files/glimpse-4.18.5-makefile.patch42
-rw-r--r--app-misc/glimpse/files/glimpse-4.18.6-makefile.patch42
-rw-r--r--app-misc/glimpse/glimpse-4.18.5.ebuild54
-rw-r--r--app-misc/glimpse/glimpse-4.18.6-r1.ebuild60
-rw-r--r--app-misc/glimpse/metadata.xml5
6 files changed, 212 insertions, 0 deletions
diff --git a/app-misc/glimpse/Manifest b/app-misc/glimpse/Manifest
new file mode 100644
index 000000000000..60b8d37933a6
--- /dev/null
+++ b/app-misc/glimpse/Manifest
@@ -0,0 +1,9 @@
+AUX glimpse-4.18.5-makefile.patch 1044 SHA256 a4bbf8b63cd20242c51b3200d150850854da455f17bfc7b8914598aee7d4fca8 SHA512 5b6d35bbdc27e4920ede025d6b44e0c3372b1740809d0639f2538bfdad8ce0fa64296ffe01487fde2a6356ac80ee3ae256c1bf775685e3e5d0b2d06a1db49026 WHIRLPOOL 209c8c9e2da50ba627e9ed4c07eb600132f610ffb5c115059a2a94d72d473868876ba9801af6719a324fd232775d7648228c63e3dc130c57e6398d19f713bcda
+AUX glimpse-4.18.6-makefile.patch 1048 SHA256 c86e7cad73e532b77f8b3189704ad40d9b23e4e999c3492e7b8161b7c203be45 SHA512 568b0cc6f52d8ce79e5ad552a302a814162072b85f1a3b7bd2b00bf18ae2d7526429f68f6910d9fb91ddcde43387a2778f9f61ed3f86f0fb533b69946cfef0b7 WHIRLPOOL 29e0b3056684e013a503f4ed77b2bd8f52c7f1682e48b7f53012f022814dbed526d33beed7a0dd08a8d17c1912ef3fe99d4fdb57e78026d8b1e907fe7675cdb1
+DIST glimpse-4.18.5.tar.gz 402754 SHA256 ef15d43db09d59fdce6d46343ac38a3d996924dfce3287ba63c76e6be93b70e1 SHA512 74cdc44f3eff6da62456f5ff6cf13172386bf73175e05258965ca15408bb77839b7e8bfc07e16c1cd4b4ebfaf499097ee24aac5ec77427390ed7e6e9ae3343de WHIRLPOOL a99a39168848869cf88a7664528f10b110c9b5f71c5859a3f9861599cfd0a887d512ae97f4b2fa84da1415fbe0df236259f16cbdad2c1ddfc85569424f162422
+DIST glimpse-4.18.6.tar.gz 812595 SHA256 0c21d27d6a3fe37dacdc66ef9194623f5a94b2f5d221dff8f187f69f629beade SHA512 884daf2057f46bbe29ad2c3e9000e18a3fcc5101abdcb5193dcf66e5da650e2528a6d2cef05ab4176243f381ba03f533cba989cad329697808d97a61f1b42d3a WHIRLPOOL 9b6ecf23ed3a15f53d9324de0a271722a3d8a6b153d146388a25a2e3878ffda537e16ec3d7a2903dd964acfc889352bf89fb28c8a99309793ceefa215b2f4ae6
+EBUILD glimpse-4.18.5.ebuild 1274 SHA256 89709209ec1f969ed56909110968c85094f60e48d3760a2a6b85ecd7e6e3e133 SHA512 5873fa4b8e31776ec552efef685db7d8edcbda0dd9e783d130b1091744f4a5214b006b6055f4a4aa40f86cb7bb2e77a2f07d4cff3a427f28d7a477d6f32cceca WHIRLPOOL d40433e4238b48b34f9b5fd3355ef796b16b37b34f79a15adb1b78f7227e3d7de60159f96127e4162bb9326fa3609b334da924e1fcd59cff77cb3243866ad481
+EBUILD glimpse-4.18.6-r1.ebuild 1422 SHA256 e3a000b4fd2377cb01fba03caa9e2102eb2f146688aaa7ed696e729429ea8f45 SHA512 d8fc26603642c4732b3beedc8c4747d3fce0ebffea62ac59f11c46d8d49cfaf5618d51c3b0cd5234fd0ed822bf2e3d45659f4278b3c014adc25efc01b9e74e72 WHIRLPOOL 83e3d8bf74c61e19e7f9960f7e979414c16a69dd26c9f2fd21b8ce2ca06e3a8960b2ae6b0367ff626cdc5d7745f9567afc8669374f405155095d19224b8004f0
+MISC ChangeLog 2618 SHA256 6236ff58d1686f4cf497dc4b186305afd66af6e10a6a1e05a753df849fff027f SHA512 6caf7cd69869bc07540ce881df0c0eb5f532b10f0b9c156b74ba4719ccb2974f115e3751da3e51dd1fbbc9840c000c61ad99b5023d2a05b44deabe9e937105b1 WHIRLPOOL fcf14a716528bf40dc83687acf9af882b0ca30d79ce1c58ce5e6bc48f213e7f6d7645f8b58faa5e029af553e9d8f0f547975993f9dcc121e4cce5cac75117ec3
+MISC ChangeLog-2015 4366 SHA256 d4deb1bfb2d8e35b91095f8cd0579245851ebf1f304efc715aadc2ee9b3f2a79 SHA512 d7b8f187936eb57c25cf874309860da3e282d462e6328ca14b6a7bd7c00c8e595f70f73f8bf59a6ec650e17b855f55c3af99a57a1a5d8c26ff6c6943f1363391 WHIRLPOOL 30cf9b48528465b52958d34d955f776ff48ee6ab1042f69bb34fe3129784cd2d14db127adce958907d46399df27b5c25fc12e6b0a4a5ea206f220fe18364db38
+MISC metadata.xml 166 SHA256 2caff447f5bd2701d8456ada5cc633c41ef4373fa4bfeabeb73599d40bcc941b SHA512 a56648c974a1d14dd4c18237532773c72057a13ab90c58b5da04f185e3c12a8bd8d5c21fb06053507f31766291a82dc7d87b34cd65fd94cfe2af7295c813ef84 WHIRLPOOL 1ff70497eca6531f0e0614c72a19f4b8e5ff486a58d369f4f0b36308d1d6b01168f9da887740e3b9f536236be251d3fe05f904d27a9233a7cf613416ba882968
diff --git a/app-misc/glimpse/files/glimpse-4.18.5-makefile.patch b/app-misc/glimpse/files/glimpse-4.18.5-makefile.patch
new file mode 100644
index 000000000000..86064099adf2
--- /dev/null
+++ b/app-misc/glimpse/files/glimpse-4.18.5-makefile.patch
@@ -0,0 +1,42 @@
+--- Makefile.in 2006-03-10 20:42:12.000000000 -0500
++++ Makefile.in.new 2010-08-12 21:12:41.000000000 -0400
+@@ -52,7 +52,7 @@
+ PROGAGREP = agrep/agrep
+ OPTIMIZEFLAGS = -O2
+ INCLUDEFLAGS = -I$(INDEXDIR) -I$(AGREPDIR) -I$(TEMPLATEDIR)/include
+-CFLAGS = $(INCLUDEFLAGS) $(DEFS)
++CFLAGS = $(INCLUDEFLAGS) $(DEFS) $(OPTIMIZEFLAGS)
+
+ OBJS = get_filename.o \
+ get_index.o \
+@@ -78,7 +78,7 @@
+ $(INDEXDIR)/memlook.c \
+ $(INDEXDIR)/io.c
+
+-all: build-sub @TARGET@
++all: build-sub
+ Sall: $(PROG) $(PROGSERVER) $(PROGINDEX)
+ agrep: $(PROGAGREP)
+ NOTSall: $(NOTSPROG) $(NOTSPROGSERVER)
+@@ -87,6 +87,7 @@
+ for d in $(SUBDIRS) ; do \
+ ( cd $$d; $(MAKE) ); \
+ done
++ $(MAKE) @TARGET@
+
+ # Check target
+
+@@ -105,11 +106,11 @@
+
+ install-man:
+ for d in $(MANUAL) ; do \
+- $(INSTALL_MAN) $$d $(mandir) ; \
++ $(INSTALL_MAN) $$d $(mandir)/man1/ ; \
+ done
+
+ installdirs: mkinstalldirs
+- $(srcdir)/mkinstalldirs $(bindir) $(mandir)
++ $(srcdir)/mkinstalldirs $(bindir) $(mandir)/man1/
+
+ clean:
+ for d in $(SUBDIRS); do \
diff --git a/app-misc/glimpse/files/glimpse-4.18.6-makefile.patch b/app-misc/glimpse/files/glimpse-4.18.6-makefile.patch
new file mode 100644
index 000000000000..a6f3b430d62b
--- /dev/null
+++ b/app-misc/glimpse/files/glimpse-4.18.6-makefile.patch
@@ -0,0 +1,42 @@
+--- a/Makefile.in 2006-03-10 20:42:12.000000000 -0500
++++ b/Makefile.in.new 2010-08-12 21:12:41.000000000 -0400
+@@ -52,7 +52,7 @@
+ PROGAGREP = agrep/agrep
+ OPTIMIZEFLAGS = -O2
+ INCLUDEFLAGS = -I$(INDEXDIR) -I$(AGREPDIR) -I$(TEMPLATEDIR)/include
+-CFLAGS = $(INCLUDEFLAGS) $(DEFS)
++CFLAGS = $(INCLUDEFLAGS) $(DEFS) $(OPTIMIZEFLAGS)
+
+ OBJS = get_filename.o \
+ get_index.o \
+@@ -78,7 +78,7 @@
+ $(INDEXDIR)/memlook.c \
+ $(INDEXDIR)/io.c
+
+-all: build-sub @TARGET@
++all: build-sub
+ Sall: $(PROG) $(PROGSERVER) $(PROGINDEX)
+ agrep: $(PROGAGREP)
+ NOTSall: $(NOTSPROG) $(NOTSPROGSERVER)
+@@ -87,6 +87,7 @@
+ for d in $(SUBDIRS) ; do \
+ ( cd $$d; $(MAKE) ); \
+ done
++ $(MAKE) @TARGET@
+
+ # Check target
+
+@@ -105,11 +106,11 @@
+
+ install-man:
+ for d in $(MANUAL) ; do \
+- $(INSTALL_MAN) $$d $(mandir) ; \
++ $(INSTALL_MAN) $$d $(mandir)/man1/ ; \
+ done
+
+ installdirs: mkinstalldirs
+- $(srcdir)/mkinstalldirs $(bindir) $(mandir)
++ $(srcdir)/mkinstalldirs $(bindir) $(mandir)/man1/
+
+ clean:
+ for d in $(SUBDIRS); do \
diff --git a/app-misc/glimpse/glimpse-4.18.5.ebuild b/app-misc/glimpse/glimpse-4.18.5.ebuild
new file mode 100644
index 000000000000..b91dcc1c0f1e
--- /dev/null
+++ b/app-misc/glimpse/glimpse-4.18.5.ebuild
@@ -0,0 +1,54 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+inherit flag-o-matic eutils
+
+DESCRIPTION="A index/query system to search a large set of files quickly"
+HOMEPAGE="http://webglimpse.net/"
+SRC_URI="http://webglimpse.net/trial/${P}.tar.gz"
+
+LICENSE="glimpse"
+SLOT="0"
+KEYWORDS="alpha amd64 ia64 ~mips ppc ~ppc64 sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos"
+IUSE="static"
+
+RDEPEND="!dev-libs/tre
+ !dev-ruby/amatch
+ !app-text/agrep"
+
+src_unpack() {
+ unpack ${A}
+ cd "${S}"
+ sed -i \
+ -e "s:CC=.*:CC=$(tc-getCC):" \
+ -e 's:-O3 -fomit-frame-pointer:$(OPTIMIZEFLAGS):' \
+ dynfilters/Makefile.in \
+ || die "removing -O3 failed"
+ sed -i \
+ -e '/^CFLAGS/s:$: $(OPTIMIZEFLAGS):' \
+ {agrep,compress,index}/Makefile.in \
+ libtemplate/{template,util}/Makefile.in \
+ || die "inserting OPTIMIZEFLAGS failed"
+ sed -i \
+ -e 's:$(mandir):&/man1/:' \
+ agrep/Makefile.in \
+ || die "adding man1 to man install dir failed"
+
+ sed -i \
+ -e '/^LDFLAGS/d' \
+ {agrep,compress,index}/Makefile.in \
+ || die "LDFLAGS sed failed"
+
+ epatch "${FILESDIR}"/${P}-makefile.patch
+}
+
+src_compile() {
+ use static && append-ldflags -static
+
+ econf || die
+ emake OPTIMIZEFLAGS="${CFLAGS}" || die
+}
+
+src_install() {
+ einstall || die
+}
diff --git a/app-misc/glimpse/glimpse-4.18.6-r1.ebuild b/app-misc/glimpse/glimpse-4.18.6-r1.ebuild
new file mode 100644
index 000000000000..0db485045de1
--- /dev/null
+++ b/app-misc/glimpse/glimpse-4.18.6-r1.ebuild
@@ -0,0 +1,60 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+inherit flag-o-matic
+
+DESCRIPTION="A index/query system to search a large set of files quickly"
+HOMEPAGE="http://webglimpse.net/"
+SRC_URI="http://webglimpse.net/trial/${P}.tar.gz"
+
+LICENSE="ISC"
+SLOT="0"
+KEYWORDS="alpha amd64 ia64 ~mips ppc ~ppc64 ~sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos"
+IUSE="static"
+
+RDEPEND="!dev-libs/tre
+ !dev-ruby/amatch
+ !app-text/agrep"
+
+PATCHES=( "${FILESDIR}/${PN}-4.18.6-makefile.patch" )
+
+src_prepare() {
+ sed -i \
+ -e "s:CC=.*:CC=$(tc-getCC):" \
+ -e 's:-O3 -fomit-frame-pointer:$(OPTIMIZEFLAGS):' \
+ dynfilters/Makefile.in \
+ || die "removing -O3 failed"
+ sed -i \
+ -e '/^CFLAGS/s:$: $(OPTIMIZEFLAGS):' \
+ {agrep,compress,index}/Makefile.in \
+ libtemplate/{template,util}/Makefile.in \
+ || die "inserting OPTIMIZEFLAGS failed"
+ sed -i \
+ -e 's:$(mandir):&/man1/:' \
+ agrep/Makefile.in \
+ || die "adding man1 to man install dir failed"
+
+ sed -i \
+ -e '/^LDFLAGS/d' \
+ {agrep,compress,index}/Makefile.in \
+ || die "LDFLAGS sed failed"
+
+ default
+}
+
+src_configure() {
+ use static && append-ldflags -static
+ default
+}
+
+src_compile() {
+ # The OPTIMIZEFLAGS variable is our own, patched in...
+ emake OPTIMIZEFLAGS="${CFLAGS}"
+}
+
+src_install() {
+ # The build system is buggy; we get sandbox violations without this.
+ emake prefix="${ED}/usr" install
+}
diff --git a/app-misc/glimpse/metadata.xml b/app-misc/glimpse/metadata.xml
new file mode 100644
index 000000000000..6f49eba8f496
--- /dev/null
+++ b/app-misc/glimpse/metadata.xml
@@ -0,0 +1,5 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<!-- maintainer-needed -->
+</pkgmetadata>