head	1.9;
access;
symbols
	RELEASE_7_2_0:1.8
	RELEASE_7_1_0:1.8
	RELEASE_6_4_0:1.8
	RELEASE_5_EOL:1.8
	RELEASE_7_0_0:1.8
	RELEASE_6_3_0:1.8
	PRE_XORG_7:1.8
	RELEASE_4_EOL:1.8
	RELEASE_6_2_0:1.8
	RELEASE_6_1_0:1.8
	RELEASE_5_5_0:1.8
	RELEASE_6_0_0:1.7
	old_RELEASE_5_4_0:1.7
	old_RELEASE_4_11_0:1.7
	old_RELEASE_5_3_0:1.7
	old_RELEASE_4_10_0:1.3
	old_RELEASE_5_2_1:1.3
	old_RELEASE_5_2_0:1.3;
locks; strict;
comment	@# @;


1.9
date	2009.06.13.16.16.40;	author erwin;	state dead;
branches;
next	1.8;

1.8
date	2006.02.23.10.39.41;	author ade;	state Exp;
branches;
next	1.7;

1.7
date	2004.06.14.04.42.47;	author ache;	state Exp;
branches;
next	1.6;

1.6
date	2004.06.14.03.54.53;	author ache;	state Exp;
branches;
next	1.5;

1.5
date	2004.06.14.03.21.58;	author ache;	state Exp;
branches;
next	1.4;

1.4
date	2004.05.21.09.12.33;	author ache;	state Exp;
branches;
next	1.3;

1.3
date	2003.09.24.12.23.26;	author ache;	state Exp;
branches;
next	1.2;

1.2
date	2001.02.13.22.34.47;	author ache;	state dead;
branches;
next	1.1;

1.1
date	2001.01.30.21.40.53;	author ache;	state Exp;
branches;
next	;


desc
@@


1.9
log
@Remove www/mnogosearch31: Use www/mnogosearch instead, this version is ancient

Submitted by:		portsmon
@
text
@--- configure.orig	Tue Jun 17 13:35:22 2003
+++ configure	Mon Jun 14 07:46:23 2004
@@@@ -3659,6 +3660,8 @@@@
 #line $LINENO "configure"
 #include "confdefs.h"
 $ac_includes_default
+#include <netinet/in.h>
+#include <netinet/in_systm.h>
 #include <$ac_header>
 _ACEOF
 rm -f conftest.$ac_objext
@@@@ -5826,8 +5829,8 @@@@
 
     echo "$as_me:$LINENO: result: enabled" >&5
 echo "${ECHO_T}enabled" >&6
-    PTHREAD_CFLAGS="-pthread"
-    PTHREAD_LFLAGS="-pthread"
+#    PTHREAD_CFLAGS="-pthread"
+#    PTHREAD_LFLAGS="-pthread"
 else
     echo "$as_me:$LINENO: result: disabled" >&5
 echo "${ECHO_T}disabled" >&6
@@@@ -7553,8 +7556,8 @@@@
 LD="$LD" LDFLAGS="$LDFLAGS" LIBS="$LIBS" \
 LN_S="$LN_S" NM="$NM" RANLIB="$RANLIB" \
 DLLTOOL="$DLLTOOL" AS="$AS" OBJDUMP="$OBJDUMP" \
-${CONFIG_SHELL-/bin/sh} $ac_aux_dir/ltconfig --no-reexec \
-$libtool_flags --no-verify $ac_aux_dir/ltmain.sh $lt_target \
+${CONFIG_SHELL-/bin/sh} $lt_aux_dir/ltconfig --no-reexec \
+$libtool_flags --no-verify $lt_aux_dir/ltmain.sh $lt_target \
 || { { echo "$as_me:$LINENO: error: libtool configure failed" >&5
 echo "$as_me: error: libtool configure failed" >&2;}
    { (exit 1); exit 1; }; }
@@@@ -7579,7 +7582,7 @@@@
 
 
 # This can be used to rebuild libtool when needed
-LIBTOOL_DEPS="$ac_aux_dir/ltconfig $ac_aux_dir/ltmain.sh"
+LIBTOOL_DEPS="$lt_aux_dir/ltconfig $lt_aux_dir/ltmain.sh"
 
 # Always use our own libtool.
 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
@


1.8
log
@Conversion to a single libtool environment.

Approved by:	portmgr (kris)
@
text
@@


1.7
log
@Use LOCALBASE for libtool
@
text
@a2 26
@@@@ -3176,13 +3176,14 @@@@
 fi
 rm -f confcache
 
+lt_aux_dir=${LOCALBASE}/share/libtool13
 # Actually configure libtool.  ac_aux_dir is where install-sh is found.
 CC="$CC" CFLAGS="$CFLAGS" CPPFLAGS="$CPPFLAGS" \
 LD="$LD" LDFLAGS="$LDFLAGS" LIBS="$LIBS" \
 LN_S="$LN_S" NM="$NM" RANLIB="$RANLIB" \
 DLLTOOL="$DLLTOOL" AS="$AS" OBJDUMP="$OBJDUMP" \
-${CONFIG_SHELL-/bin/sh} $ac_aux_dir/ltconfig --no-reexec \
-$libtool_flags --no-verify $ac_aux_dir/ltmain.sh $lt_target \
+${CONFIG_SHELL-/bin/sh} $lt_aux_dir/ltconfig --no-reexec \
+$libtool_flags --no-verify $lt_aux_dir/ltmain.sh $lt_target \
 || { { echo "$as_me:$LINENO: error: libtool configure failed" >&5
 echo "$as_me: error: libtool configure failed" >&2;}
    { (exit 1); exit 1; }; }
@@@@ -3207,7 +3208,7 @@@@
 
 
 # This can be used to rebuild libtool when needed
-LIBTOOL_DEPS="$ac_aux_dir/ltconfig $ac_aux_dir/ltmain.sh"
+LIBTOOL_DEPS="$lt_aux_dir/ltconfig $lt_aux_dir/ltmain.sh"
 
 # Always use our own libtool.
 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
@


1.6
log
@Properly detect <netinet/ip.h>
@
text
@d7 1
a7 1
+lt_aux_dir=${prefix}/share/libtool13
@


1.5
log
@Use libtool from ports
@
text
@d2 1
a2 1
+++ configure	Mon Jun 14 07:09:11 2004
d29 10
a38 1
@@@@ -5826,8 +5827,8 @@@@
d49 1
a49 1
@@@@ -7553,8 +7554,8 @@@@
d60 1
a60 1
@@@@ -7579,7 +7580,7 @@@@
@


1.4
log
@Upgrade to 3.1.21

PR:             66353
@
text
@d2 28
a29 2
+++ configure	Fri May 21 12:30:40 2004
@@@@ -5826,8 +5826,8 @@@@
d40 20
@


1.3
log
@Teach PTHREADS
@
text
@d1 3
a3 4
--- configure.bak	Thu Jun 27 14:20:21 2002
+++ configure	Wed Sep 24 09:40:31 2003
@@@@ -3247,8 +3247,8 @@@@
 EOF
d5 2
a6 1
     echo "$ac_t""enabled" 1>&6
d9 2
a10 2
+#   PTHREAD_CFLAGS="-pthread"
+#   PTHREAD_LFLAGS="-pthread"
d12 2
a13 2
     echo "$ac_t""disabled" 1>&6
 fi
@


1.2
log
@Upgrade to 3.1.10
@
text
@d1 4
a4 18
--- src/sql.c.bak	Wed Jan 24 13:35:58 2001
+++ src/sql.c	Tue Jan 30 22:11:34 2001
@@@@ -2205,8 +2205,13 @@@@
 }
 int UdmMarkForReindex(UDM_AGENT *Indexer){
 char qbuf[UDMSTRSIZ];
+#ifdef HAVE_MSQL
+	sprintf(qbuf,"UPDATE url SET next_index_time=%d WHERE rec_id<>0 %s%s%s%s%s",(int)now(),
+		Indexer->Conf->tagstr,Indexer->Conf->urlstr,Indexer->Conf->statusstr,Indexer->Conf->langstr,Indexer->Conf->catstr);
+#else
 	sprintf(qbuf,"UPDATE url SET next_index_time=%d WHERE 1=1 %s%s%s%s%s",(int)now(),
 		Indexer->Conf->tagstr,Indexer->Conf->urlstr,Indexer->Conf->statusstr,Indexer->Conf->langstr,Indexer->Conf->catstr);
+#endif
 	sql_query(Indexer,qbuf);
 	if(UdmDBErrorCode(Indexer->db))return(IND_ERROR);
 	return(IND_OK);
@@@@ -3136,6 +3141,18 @@@@
 	char qbuf[UDMSTRSIZ];
d6 8
a13 73
 	if(query->Conf->tagstr[0] || query->Conf->statusstr[0] || query->Conf->urlstr[0] || query->Conf->langstr[0] || query->Conf->timestr[0] || query->Conf->catstr[0]){
+#ifdef HAVE_MSQL
+		sprintf(qbuf,"\
+SELECT rec_id \
+FROM url \
+WHERE rec_id<>0 %s%s%s%s%s%s",
+		query->Conf->tagstr,
+		query->Conf->statusstr,
+		query->Conf->urlstr,
+		query->Conf->langstr,
+		query->Conf->timestr,
+		query->Conf->catstr);
+#else
 		sprintf(qbuf,"\
 SELECT rec_id \
 FROM url \
@@@@ -3146,7 +3163,7 @@@@
 		query->Conf->langstr,
 		query->Conf->timestr,
 		query->Conf->catstr);
-
+#endif
 		((DB*)(query->db))->res=sql_query(query,qbuf);
 		if(UdmDBErrorCode(query->db))return(NULL);
 		num=SQL_NUM_ROWS(((DB*)(query->db))->res);
@@@@ -3595,13 +3612,21 @@@@
 	}
 	SQL_FREE(((DB*)(Indexer->db))->res);
 #elif (HAVE_IBASE||HAVE_MSQL || HAVE_IODBC || HAVE_UNIXODBC || HAVE_SOLID || HAVE_VIRT || HAVE_EASYSOFT)
+#ifdef HAVE_MSQL
+	sprintf(qbuf,"SELECT status,next_index_time FROM url WHERE rec_id<>0 %s%s%s%s%s",
+		Indexer->Conf->tagstr,
+		Indexer->Conf->urlstr,
+		Indexer->Conf->statusstr,
+		Indexer->Conf->langstr,
+		Indexer->Conf->catstr);
+#else
 	sprintf(qbuf,"SELECT status,next_index_time FROM url WHERE 1=1 %s%s%s%s%s",
 		Indexer->Conf->tagstr,
 		Indexer->Conf->urlstr,
 		Indexer->Conf->statusstr,
 		Indexer->Conf->langstr,
 		Indexer->Conf->catstr);
-
+#endif
 	((DB*)(Indexer->db))->res=sql_query(Indexer,qbuf);
 	if(UdmDBErrorCode(Indexer->db))return(IND_ERROR);
 	if(SQL_NUM_ROWS(((DB*)(Indexer->db))->res)){
@@@@ -3698,6 +3723,15 @@@@
 #ifdef HAVE_SQL_LIMIT
 			sprintf(limit," LIMIT %d",URL_DELETE_CACHE);
 #endif
+#ifdef HAVE_MSQL
+			sprintf(qbuf,"SELECT rec_id FROM url WHERE rec_id<>0 %s%s%s%s%s%s",
+				Indexer->Conf->tagstr,
+				Indexer->Conf->urlstr,
+				Indexer->Conf->statusstr,
+				Indexer->Conf->langstr,
+				Indexer->Conf->catstr,
+				limit);
+#else
 			sprintf(qbuf,"SELECT rec_id FROM url WHERE 1=1 %s%s%s%s%s%s",
 				Indexer->Conf->tagstr,
 				Indexer->Conf->urlstr,
@@@@ -3705,7 +3739,7 @@@@
 				Indexer->Conf->langstr,
 				Indexer->Conf->catstr,
 				limit);
-
+#endif
 			((DB*)(Indexer->db))->res=sql_query(Indexer,qbuf);
 			if(UdmDBErrorCode(Indexer->db))return(IND_ERROR);
 			if(SQL_NUM_ROWS(((DB*)(Indexer->db))->res)){
@


1.1
log
@Add missing msql DB initialization files
Fix msql syntax error
@
text
@@

