--- glimpse-4.1.orig/Makefile.linux +++ glimpse-4.1/Makefile.linux @@ -17,10 +17,10 @@ UTIME = 1 # Define ISO_CHAR_SET to be 1 if you want to use the international 8bit character set. Else define it to be 0. -ISO_CHAR_SET = 0 +ISO_CHAR_SET = 1 # You might have to change this depending on your machine configuration. -CC = gcc -m486 +CC = gcc SHELL = /bin/sh --- glimpse-4.1.orig/agrep/Makefile.linux +++ glimpse-4.1/agrep/Makefile.linux @@ -16,10 +16,10 @@ UTIME = 1 # Define ISO_CHAR_SET to be 1 if you want to use the international 8bit character set. Else define it to be 0. -ISO_CHAR_SET = 0 +ISO_CHAR_SET = 1 # You might have to change this depending on your machine configuration. -CC = gcc -m486 +CC = gcc SHELL = /bin/sh --- glimpse-4.1.orig/compress/Makefile.linux +++ glimpse-4.1/compress/Makefile.linux @@ -5,7 +5,7 @@ # You might have to change these depending on your machine configuration. # AR and RANLIB are the library-archive programs. On Solaris, RANLIB is not # required (define it to true) and AR is in /usr/ccs/bin/ar (on our machine!). -CC = gcc -m486 +CC = gcc AR = ar #/usr/ccs/bin/ar #for Solaris RANLIB = ranlib #true #for Solaris @@ -21,7 +21,7 @@ UTIME = 1 # Define ISO_CHAR_SET to be 1 if you want to use the international 8bit character set. Else define it to be 0. -ISO_CHAR_SET = 0 +ISO_CHAR_SET = 1 # YOU DON'T HAVE TO CHANGE ANYTHING BELOW THIS LINE --- glimpse-4.1.orig/index/build_in.c +++ glimpse-4.1/index/build_in.c @@ -862,7 +862,7 @@ } else if (ret == 2) { /* Some pattern matched but no filter was successful */ - if (filetype(LIST_GET(name_list, i), 0)) { /* try to index input file if it satisfies filetype */ + if (filetype(LIST_GET(name_list, i), 0, NULL, NULL)) { /* try to index input file if it satisfies filetype */ remove_filename(i, -1); unlink(outname); continue; @@ -1072,7 +1072,7 @@ } else if (ret == 2) { /* Some pattern matched but no filter was successful */ - if (filetype(LIST_GET(name_list, i), 0)) { /* try to index input file if it satisfies filetype */ + if (filetype(LIST_GET(name_list, i), 0, NULL, NULL)) { /* try to index input file if it satisfies filetype */ remove_filename(i, -1); unlink(outname); continue; --- glimpse-4.1.orig/index/Makefile.linux +++ glimpse-4.1/index/Makefile.linux @@ -17,10 +17,10 @@ UTIME = 1 # Define ISO_CHAR_SET to be 1 if you want to use the international 8bit character set. Else define it to be 0. -ISO_CHAR_SET = 0 +ISO_CHAR_SET = 1 # You might have to change this depending on your machine configuration. -CC = gcc -m486 +CC = gcc SHELL = /bin/sh --- glimpse-4.1.orig/libtemplate/Makefile.linux +++ glimpse-4.1/libtemplate/Makefile.linux @@ -12,7 +12,7 @@ INSTALL_MANDIR = $(prefix)/man SHELL = /bin/sh -CC = gcc -m486 +CC = gcc INSTALL = cp #install -c INSTALL_BIN = ${INSTALL} INSTALL_FILE = ${INSTALL} #-m 644 --- glimpse-4.1.orig/libtemplate/include/config.h +++ glimpse-4.1/libtemplate/include/config.h @@ -111,11 +111,13 @@ /* * NO_STRERROR - define if standard C library doesn't have strerror(3). */ +/* #ifndef NO_STRERROR #ifndef HAVE_STRERROR #define NO_STRERROR #endif #endif +*/ /* * MAX_TYPES is the max # of types that the type recognition supports. --- glimpse-4.1.orig/libtemplate/template/Makefile.linux +++ glimpse-4.1/libtemplate/template/Makefile.linux @@ -11,7 +11,7 @@ INSTALL_MANDIR = $(prefix)/man SHELL = /bin/sh -CC = gcc -m486 +CC = gcc INSTALL = cp #install -c INSTALL_BIN = ${INSTALL} INSTALL_FILE = ${INSTALL} #-m 644 --- glimpse-4.1.orig/debian/changelog +++ glimpse-4.1/debian/changelog @@ -0,0 +1,40 @@ +glimpse (4.1-1.9) unstable; urgency=low + + * Potato backport. + + -- Philippe Troin Wed, 7 Feb 2001 10:02:10 -0800 + +glimpse (4.1-2) unstable; urgency=low + + * index/build_in.c + + -- Marco Budde Thu, 3 Sep 1998 14:12:00 +0200 + +glimpse (4.1-1) non-free; urgency=low + + * New upstream version + * New Debian maintainer + * debstd + * glimpse copyright file + * compressed man pages + * libc6 + * control file + + -- Marco Budde Mon, 15 Dec 1997 20:32:46 +0100 + +glimpse (4.0-1) non-free; urgency=low + + * New upstream version + + -- Michael Alan Dorman Sat, 23 Nov 1996 10:49:20 -0500 + +glimpse (3.6-1) non-free; urgency=low + + * New upstream version + * New packaging format + + -- Michael Alan Dorman Tue, 17 Sep 1996 11:47:42 -0400 + +Local variables: +mode: debian-changelog +End: --- glimpse-4.1.orig/debian/control +++ glimpse-4.1/debian/control @@ -0,0 +1,15 @@ +Source: glimpse +Section: non-free/text +Priority: optional +Maintainer: Marco Budde +Standards-Version: 2.4.1.0 + +Package: glimpse +Architecture: any +Depends: ${shlibs:Depends} +Description: Full-text indexing and searching tools + Glimpse is a very powerful indexing and query system that allows you to + search through all your files very quickly. It can be used by individuals + for their personal file systems as well as by organizations for large data + collections. Glimpse is the default search engine in Harvest. + --- glimpse-4.1.orig/debian/copyright +++ glimpse-4.1/debian/copyright @@ -0,0 +1,30 @@ +Copyright 1997, Arizona Board of Regents. + +Glimpse was developed by Udi Manber, Sun Wu, and Burra Gopal +at the University of Arizona, Department of Computer Science. +Permission is granted to copy this software, to redistribute it +on a nonprofit basis, and to use it for any purpose, subject to +the following restrictions and understandings. + +1. Any copy made of this software must include this copyright notice +in full. + +2. All materials developed as a consequence of the use of this +software shall duly acknowledge such use, in accordance with the usual +standards of acknowledging credit in academic research. +In particular, if you use glimpse in any way on any WWW site, +you should include a link to Glimpse home page at +http://glimpse.cs.arizona.edu + +3. The authors have made no warranty or representation that the +operation of this software will be error-free or suitable for any +application, and they are under under no obligation to provide any +services, by way of maintenance, update, or otherwise. The software +is an experimental prototype offered on an as-is basis. + +4. Any commercial use of this software will require a license. +Contact the Office of Technology Transfer at The University of Arizona: + e-mail: ott@u.arizona.edu + WWW: http://vpr.admin.arizona.edu/ott/WEBDMENU.HTM + Fax: (520) 626-4600 + Phone: (520) 621-5000 --- glimpse-4.1.orig/debian/rules +++ glimpse-4.1/debian/rules @@ -0,0 +1,58 @@ +#!/usr/bin/make -f + +package=glimpse + +tmpdir = $(shell pwd)/debian/tmp +instdirs = $(tmpdir) \ + $(tmpdir)/DEBIAN \ + $(tmpdir)/usr/bin \ + $(tmpdir)/usr/doc/glimpse \ + $(tmpdir)/usr/man/man1 + +build: + $(checkdir) + $(MAKE) -f Makefile.linux + touch build + +clean: + $(checkdir) + -rm -f build + -$(MAKE) -f Makefile.linux clean + -rm bin/* + -rm -rf *~ debian/tmp debian/*~ debian/files* debian/substvars + +binary-indep: checkroot build + $(checkdir) + +binary-arch: checkroot build $(instdirs) + $(checkdir) + install -s bin/* $(tmpdir)/usr/bin + debstd + dpkg-gencontrol + chown -R root.root $(tmpdir) + chmod -R g-ws $(tmpdir) + dpkg --build $(tmpdir) .. + +define checkdir + test -f debian/rules +endef + +# Below here is fairly generic really + +binary: binary-indep binary-arch + +source diff: + @echo >&2 'source and diff are obsolete - use dpkg-source -b'; false + +checkroot: + $(checkdir) + test root = "`whoami`" + +.PHONY: binary diff clean checkroot zapdirs + +zapdirs: + -rm -rf $(tmpdir) + +$(instdirs): zapdirs + install -d -m 755 $@ + chmod g-s $@