diff options
author | peter <peter@pkgsrc.org> | 2005-01-18 17:46:31 +0000 |
---|---|---|
committer | peter <peter@pkgsrc.org> | 2005-01-18 17:46:31 +0000 |
commit | 17755172c88d50cc8537a0f7a3bdd4db84fd8fa0 (patch) | |
tree | 567d63160e9c0a97b1563f6dbf544c6d13ba52aa /www/crawl/patches | |
parent | cfe5fc3c8433b06fc0ae38ed5ece78af13236e1a (diff) | |
download | pkgsrc-17755172c88d50cc8537a0f7a3bdd4db84fd8fa0.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')
-rw-r--r-- | www/crawl/patches/patch-aa | 19 | ||||
-rw-r--r-- | www/crawl/patches/patch-ab | 14 | ||||
-rw-r--r-- | www/crawl/patches/patch-ac | 13 |
3 files changed, 46 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 diff --git a/www/crawl/patches/patch-ab b/www/crawl/patches/patch-ab new file mode 100644 index 00000000000..c3ba1e7ce79 --- /dev/null +++ b/www/crawl/patches/patch-ab @@ -0,0 +1,14 @@ +$NetBSD: patch-ab,v 1.1.1.1 2005/01/18 17:46:31 peter Exp $ + +--- config.h.in.orig 2003-05-18 02:54:45.000000000 +0200 ++++ config.h.in 2004-06-12 00:06:58.000000000 +0200 +@@ -42,6 +42,9 @@ + /* Define if your system has libdb */ + #undef HAVE_DB_H + ++/* Define if your system has libdb */ ++#undef HAVE_DB1_H ++ + /* Define to 1 if you have the `dirname' function. */ + #undef HAVE_DIRNAME + diff --git a/www/crawl/patches/patch-ac b/www/crawl/patches/patch-ac new file mode 100644 index 00000000000..6812a77a969 --- /dev/null +++ b/www/crawl/patches/patch-ac @@ -0,0 +1,13 @@ +$NetBSD: patch-ac,v 1.1.1.1 2005/01/18 17:46:31 peter Exp $ + +--- crawldb.c.orig 2003-05-17 18:59:51.000000000 +0200 ++++ crawldb.c 2004-06-11 23:56:47.000000000 +0200 +@@ -44,6 +44,8 @@ + #include <db_185.h> + #elif HAVE_DB_H + #include <db.h> ++#elif HAVE_DB1_H ++#include <db1/db.h> + #endif + #include <compat/md5.h> + |