summaryrefslogtreecommitdiff
path: root/net
diff options
context:
space:
mode:
authorrecht <recht@pkgsrc.org>2004-07-27 15:39:21 +0000
committerrecht <recht@pkgsrc.org>2004-07-27 15:39:21 +0000
commitf9ca125c159282d9eff2027fc7704e5540cea6b7 (patch)
tree9217890d27710c025dede65c3aed760cc96c38b0 /net
parent8a2bc5c96b123817bfb548a160859369316daee4 (diff)
downloadpkgsrc-f9ca125c159282d9eff2027fc7704e5540cea6b7.tar.gz
update to gift-openft-0.2.1.3
changes: * Fixed a potentially fatal problem when parsing an HTTP request header which fails to provide a request method. Also add a patch from CVS to fix a core dump when giftd tries to scan files with non printable names when building a share index. Patch by Kailash Sethuraman
Diffstat (limited to 'net')
-rw-r--r--net/gift-openft/Makefile7
-rw-r--r--net/gift-openft/distinfo9
-rw-r--r--net/gift-openft/patches/patch-aa10
-rw-r--r--net/gift-openft/patches/patch-ab13
4 files changed, 28 insertions, 11 deletions
diff --git a/net/gift-openft/Makefile b/net/gift-openft/Makefile
index 5c2b2bacb1f..378cce2c748 100644
--- a/net/gift-openft/Makefile
+++ b/net/gift-openft/Makefile
@@ -1,7 +1,7 @@
-# $NetBSD: Makefile,v 1.1.1.1 2004/05/08 02:06:06 xtraeme Exp $
+# $NetBSD: Makefile,v 1.2 2004/07/27 15:39:21 recht Exp $
#
-DISTNAME= gift-openft-0.2.1.2
+DISTNAME= gift-openft-0.2.1.3
CATEGORIES= net
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=gift/}
@@ -15,7 +15,10 @@ GNU_CONFIGURE= yes
SHLIBTOOL_OVERRIDE= libtool
+LIBS+=${PTHREAD_LDFLAGS}
+
.include "../../devel/zlib/buildlink3.mk"
.include "../../databases/db4/buildlink3.mk"
.include "../../net/gift/buildlink3.mk"
+.include "../../mk/pthread.buildlink3.mk"
.include "../../mk/bsd.pkg.mk"
diff --git a/net/gift-openft/distinfo b/net/gift-openft/distinfo
index 33df798fcf6..6ef702762c4 100644
--- a/net/gift-openft/distinfo
+++ b/net/gift-openft/distinfo
@@ -1,5 +1,6 @@
-$NetBSD: distinfo,v 1.1.1.1 2004/05/08 02:06:07 xtraeme Exp $
+$NetBSD: distinfo,v 1.2 2004/07/27 15:39:21 recht Exp $
-SHA1 (gift-openft-0.2.1.2.tar.gz) = 3119265513ee9b2907b7d1568eb25c13d1628e47
-Size (gift-openft-0.2.1.2.tar.gz) = 447446 bytes
-SHA1 (patch-aa) = 6429f13b18556fe868397d8c7d0d622aea5c044d
+SHA1 (gift-openft-0.2.1.3.tar.gz) = 09a5fc7300105b5040ce7a31edb58fa28ca2c24b
+Size (gift-openft-0.2.1.3.tar.gz) = 457717 bytes
+SHA1 (patch-aa) = 4a997c48d3bc3faf6a9a3172ddbaad0d66849ecd
+SHA1 (patch-ab) = 8a950bf8747c110a444bc10013d80343b36f0fe1
diff --git a/net/gift-openft/patches/patch-aa b/net/gift-openft/patches/patch-aa
index a894cf78d7f..191892a58cb 100644
--- a/net/gift-openft/patches/patch-aa
+++ b/net/gift-openft/patches/patch-aa
@@ -1,8 +1,8 @@
-$NetBSD: patch-aa,v 1.1.1.1 2004/05/08 02:06:07 xtraeme Exp $
+$NetBSD: patch-aa,v 1.2 2004/07/27 15:39:21 recht Exp $
---- configure.orig Fri Sep 5 01:16:52 2003
-+++ configure Fri Sep 5 01:16:58 2003
-@@ -8710,7 +8710,7 @@
+--- configure.orig 2004-05-08 04:24:24.000000000 +0200
++++ configure 2004-07-27 17:32:35.000000000 +0200
+@@ -20100,7 +20100,7 @@
LIBS="$LIBS -l$dbname"
echo "$as_me:$LINENO: checking for libdb (-l$dbname)" >&5
echo $ECHO_N "checking for libdb (-l$dbname)... $ECHO_C" >&6
@@ -11,7 +11,7 @@ $NetBSD: patch-aa,v 1.1.1.1 2004/05/08 02:06:07 xtraeme Exp $
echo $ECHO_N "(cached) $ECHO_C" >&6
else
if test "$cross_compiling" = yes; then
-@@ -8790,7 +8790,7 @@
+@@ -20179,7 +20179,7 @@
echo "${ECHO_T}$found_libdb" >&6
CFLAGS="$ac_save_CFLAGS"
LIBS="$ac_save_LIBS"
diff --git a/net/gift-openft/patches/patch-ab b/net/gift-openft/patches/patch-ab
new file mode 100644
index 00000000000..89baf52aa18
--- /dev/null
+++ b/net/gift-openft/patches/patch-ab
@@ -0,0 +1,13 @@
+$NetBSD: patch-ab,v 1.1 2004/07/27 15:39:21 recht Exp $
+
+--- src/ft_search_exec.c.orig 2004-07-27 22:32:38.000000000 +0800
++++ src/ft_search_exec.c
+@@ -235,7 +235,7 @@ static int next_letter (const char **str
+ len--;
+ }
+
+- c = tolower (*str);
++ c = tolower ((unsigned char)*str);
+ assert (c != '\0');
+
+ *strref = str + 1;