summaryrefslogtreecommitdiff
path: root/www/crawl/patches/patch-aa
diff options
context:
space:
mode:
authorpeter <peter@pkgsrc.org>2005-01-18 17:46:31 +0000
committerpeter <peter@pkgsrc.org>2005-01-18 17:46:31 +0000
commit32047739fe7311f437c2ad717d6f2d729968f297 (patch)
tree567d63160e9c0a97b1563f6dbf544c6d13ba52aa /www/crawl/patches/patch-aa
parentcc4a074fe91572d1fcf28f6d084e9e14b4c3b71d (diff)
downloadpkgsrc-32047739fe7311f437c2ad717d6f2d729968f297.tar.gz
Initial import of crawl-0.4 into the NetBSD Packages Collection.
The crawl utility starts a depth-first traversal of the web at the specified URLs. It stores all JPEG images that match the configured constraints. Crawl is fairly fast and allows for graceful termination. After terminating crawl, it is possible to restart it at exactly the same spot where it was terminated. Crawl keeps a persistent database that allows multiple crawls without revisiting sites. The main features of crawl are: * Saves encountered images or other media types * Media selection based on regular expressions and size contraints * Resume previous crawl after graceful termination * Persistent database of visited URLs * Very small and efficient code * Asynchronous DNS lookups * Supports robots.txt
Diffstat (limited to 'www/crawl/patches/patch-aa')
-rw-r--r--www/crawl/patches/patch-aa19
1 files changed, 19 insertions, 0 deletions
diff --git a/www/crawl/patches/patch-aa b/www/crawl/patches/patch-aa
new file mode 100644
index 00000000000..01fbfe2b1bf
--- /dev/null
+++ b/www/crawl/patches/patch-aa
@@ -0,0 +1,19 @@
+$NetBSD: patch-aa,v 1.1.1.1 2005/01/18 17:46:31 peter Exp $
+
+--- configure.orig 2003-05-18 03:50:55.000000000 +0200
++++ configure 2004-06-11 23:51:00.000000000 +0200
+@@ -2669,6 +2669,14 @@
+ DBINC="-I/usr/include/db2"
+ DBLIB="-ldb2"
+ have_db=yes
++ elif test -f /usr/include/db1/db.h; then
++
++cat >>confdefs.h <<\_ACEOF
++#define HAVE_DB1_H 1
++_ACEOF
++
++ DBLIB="-ldb"
++ have_db=yes
+ elif test -f /usr/include/db_185.h; then
+
+ cat >>confdefs.h <<\_ACEOF