upgrade to crawl 0.4
-- From: Robert Nagy <thuglife at bsd dot hu>
This commit is contained in:
parent
b8b0d1047a
commit
292a790802
@ -1,8 +1,8 @@
|
||||
# $OpenBSD: Makefile,v 1.16 2004/01/10 08:33:11 sturm Exp $
|
||||
# $OpenBSD: Makefile,v 1.17 2004/04/07 22:51:03 brad Exp $
|
||||
|
||||
COMMENT= "small and efficient HTTP crawler"
|
||||
|
||||
DISTNAME= crawl-0.3
|
||||
DISTNAME= crawl-0.4
|
||||
CATEGORIES= net
|
||||
|
||||
HOMEPAGE= http://www.monkey.org/~provos/crawl/
|
||||
@ -17,14 +17,10 @@ MASTER_SITES= http://www.monkey.org/~provos/
|
||||
|
||||
LIB_DEPENDS= lib/db/db.3:db->3,<4:databases/db/v3
|
||||
|
||||
DESTDIRNAME= install_prefix
|
||||
|
||||
CONFIGURE_STYLE= gnu
|
||||
CONFIGURE_ARGS= --with-db="${LOCALBASE}"
|
||||
CONFIGURE_ENV= CFLAGS="${CFLAGS} -I/usr/local/include/db"
|
||||
|
||||
WRKDIST= ${WRKDIR}/crawl
|
||||
|
||||
NO_REGRESS= Yes
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
@ -1,3 +1,3 @@
|
||||
MD5 (crawl-0.3.tar.gz) = 5281f076276f65b62bfb0e994c1bbb81
|
||||
RMD160 (crawl-0.3.tar.gz) = 0c240040c9e528b53454bdbef2bf636be0c71a21
|
||||
SHA1 (crawl-0.3.tar.gz) = 3d2eaebc3134c6595d9e6ab05610bde322c652e9
|
||||
MD5 (crawl-0.4.tar.gz) = b1cce00b14d29eb715d3537fac75309e
|
||||
RMD160 (crawl-0.4.tar.gz) = c86898b66c661e6b841170114deba4d8f076651d
|
||||
SHA1 (crawl-0.4.tar.gz) = b53be27b572ba6a88ab80243b177873aed0b314b
|
||||
|
@ -1,7 +1,7 @@
|
||||
$OpenBSD: patch-crawl_c,v 1.3 2002/12/28 23:29:13 pvalchev Exp $
|
||||
--- crawl.c.orig Sun Jan 27 20:01:47 2002
|
||||
+++ crawl.c Sat Dec 28 14:44:16 2002
|
||||
@@ -159,8 +159,8 @@ image_saver(struct uri *uri)
|
||||
$OpenBSD: patch-crawl_c,v 1.4 2004/04/07 22:51:03 brad Exp $
|
||||
--- crawl.c.orig Sun May 18 03:26:41 2003
|
||||
+++ crawl.c Fri Apr 2 12:30:08 2004
|
||||
@@ -167,8 +167,8 @@
|
||||
return (-1);
|
||||
|
||||
if (uri->length != -1 && uri->bdlen != uri->length) {
|
||||
@ -12,7 +12,7 @@ $OpenBSD: patch-crawl_c,v 1.3 2002/12/28 23:29:13 pvalchev Exp $
|
||||
p = tmp;
|
||||
}
|
||||
fprintf(stdout, "%s %s%s\n",
|
||||
@@ -376,7 +376,7 @@ external_filter(char *program)
|
||||
@@ -384,7 +384,7 @@
|
||||
dup2(fromext[1], fileno(stdout));
|
||||
close(fromext[0]);
|
||||
|
||||
@ -21,12 +21,3 @@ $OpenBSD: patch-crawl_c,v 1.3 2002/12/28 23:29:13 pvalchev Exp $
|
||||
err(1, "execlp");
|
||||
exit(0);
|
||||
}
|
||||
@@ -408,7 +408,7 @@ main(int argc, char **argv)
|
||||
char *state = "crawl.state";
|
||||
char *external = NULL;
|
||||
char *resume = NULL;
|
||||
- char ch;
|
||||
+ int ch;
|
||||
|
||||
progname = argv[0];
|
||||
saveimgdir = ".";
|
||||
|
@ -1,11 +1,11 @@
|
||||
$OpenBSD: patch-dns_c,v 1.1 2002/07/16 16:08:23 naddy Exp $
|
||||
--- dns.c.orig Tue Jul 16 02:04:51 2002
|
||||
+++ dns.c Tue Jul 16 02:05:38 2002
|
||||
@@ -141,7 +141,7 @@ dns_read(int fd, short why, void *arg)
|
||||
$OpenBSD: patch-dns_c,v 1.2 2004/04/07 22:51:03 brad Exp $
|
||||
--- dns.c.orig Sun May 18 03:21:33 2003
|
||||
+++ dns.c Fri Apr 2 12:30:59 2004
|
||||
@@ -139,7 +139,7 @@
|
||||
event_add(&child->ev_write, NULL);
|
||||
|
||||
if (atomicio(read, fd, &size, sizeof(size)) != sizeof(size))
|
||||
- err(1, __FUNCTION__": read(%d)", sizeof(size));
|
||||
- err(1, "%s: read(%d)", __func__, sizeof(size));
|
||||
+ err(1, __FUNCTION__": read(%lu)", (unsigned long)sizeof(size));
|
||||
|
||||
if (size == -1)
|
||||
|
Loading…
Reference in New Issue
Block a user