Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 4 Nov 1999 11:40:41 -0500 (EST)
From:      kbyanc@posi.net
To:        FreeBSD-gnats-submit@freebsd.org
Subject:   ports/14708: update port to udmsearch-2.1.6
Message-ID:  <199911041640.LAA13990@kronos.alcnet.com>

next in thread | raw e-mail | index | archive | help

>Number:         14708
>Category:       ports
>Synopsis:       update www/udmsearch to version 2.1.6
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Thu Nov  4 08:50:00 PST 1999
>Closed-Date:
>Last-Modified:
>Originator:     Kelly Yancey
>Release:        FreeBSD 3.2-STABLE i386
>Organization:
>Environment:
>Description:

  New release of udmsearch which adds support for msql and postgresql
backends in addition to mysql. Attached is a recursive diff.

  -Kelly

>How-To-Repeat:
>Fix:
	
diff -ur udmsearch.orig/Makefile udmsearch/Makefile
--- udmsearch.orig/Makefile	Thu Nov  4 10:04:12 1999
+++ udmsearch/Makefile	Thu Nov  4 11:31:11 1999
@@ -1,30 +1,55 @@
 # New ports collection makefile for:	udmsearch
-# Version required:	2.1.5
-# Date created:		10/19/1999
+# Version required:	2.1.6
+# Date created:		11/04/1999
 # Whom:			Kelly Yancey <kbyanc@posi.net>
 #
 # $FreeBSD: ports/www/udmsearch/Makefile,v 1.1.1.1 1999/10/21 19:36:33 cpiazza Exp $
 #
 
-DISTNAME=	udmsearch-2.1.5
-CATEGORIES=	www databases
-MASTER_SITES=	http://search.udm.net/about/Download/	\
-		http://mysearch.udm.net/Download/	\
-		ftp://ftp.izhcom.ru/pub/unix/UdmSearch/	\
-		http://mirror.kuenzler.ch/udmsearch/Download/
-
-MAINTAINER=	kbyanc@posi.net
-
-LIB_DEPENDS=	mysqlclient.6:${PORTSDIR}/databases/mysql322-client
-
-MAN1=		indexer.1
-MAN5=		indexer.conf.5
-
-USE_GMAKE=	yes
-HAS_CONFIGURE=	yes
-CONFIGURE_ARGS= --prefix=${PREFIX} \
-		--bindir=${PREFIX}/bin/udmsearch \
-		--sysconfdir=${PREFIX}/etc/udmsearch \
+DISTNAME=		udmsearch-2.1.6
+CATEGORIES=		www databases
+MASTER_SITES=		http://search.udm.net/about/Download/	\
+			http://mysearch.udm.net/Download/	\
+			ftp://ftp.izhcom.ru/pub/unix/UdmSearch/	\
+			http://mirror.kuenzler.ch/udmsearch/Download/
+
+MAINTAINER=		kbyanc@posi.net
+
+MAN1=			indexer.1
+MAN5=			indexer.conf.5
+
+USE_GMAKE=		yes
+GNU_CONFIGURE=		yes
+CONFIGURE_ARGS=		--bindir=${PREFIX}/bin/udmsearch \
+			--sysconfdir=${PREFIX}/etc/udmsearch
+
+.if defined(USE_POSTGRESQL)
+LIB_DEPENDS=		pq.2:${PORTSDIR}/databases/postgresql
+CONFIGURE_ARGS+=	--with-pgsql
+
+.elif defined(USE_MSQL)
+BUILD_DEPENDS=		${PREFIX}/lib/libmsql.a:${PORTSDIR}/databases/msql
+CONFIGURE_ARGS+=	--with-msql
+
+.else
+# default to mysql
+
+LIB_DEPENDS=		mysqlclient.6:${PORTSDIR}/databases/mysql322-client
+CONFIGURE_ARGS+=	--with-mysql
+
+.if !defined(USE_MYSQL)
+pre-fetch:
+	@${ECHO}
+	@${ECHO} "Defaulting to udmsearch with mysql support."
+	@${ECHO}
+	@${ECHO} "You may alternately build udmsearch with either msql or"
+	@${ECHO} "postgresql support by invoking make with USE_MSQL=yes or"
+	@${ECHO} "USE_POSTGRESQL=yes respectively."
+	@${ECHO}
+.endif
+
+.endif
+
 
 pre-install:
 	${MKDIR} ${PREFIX}/bin/udmsearch
diff -ur udmsearch.orig/files/md5 udmsearch/files/md5
--- udmsearch.orig/files/md5	Thu Nov  4 10:04:12 1999
+++ udmsearch/files/md5	Thu Nov  4 10:05:24 1999
@@ -1 +1 @@
-MD5 (udmsearch-2.1.5.tar.gz) = 35adb0c32a1e9af078130e63bfe7be25
+MD5 (udmsearch-2.1.6.tar.gz) = dde55a53d0c5dd65af6a7166e00edd73
diff -ur udmsearch.orig/pkg/COMMENT udmsearch/pkg/COMMENT
--- udmsearch.orig/pkg/COMMENT	Thu Nov  4 10:04:12 1999
+++ udmsearch/pkg/COMMENT	Thu Nov  4 11:31:57 1999
@@ -1 +1 @@
-Full featured MySQL-based hypertext search engine
+Full featured SQL-based hypertext search engine
diff -ur udmsearch.orig/pkg/DESCR udmsearch/pkg/DESCR
--- udmsearch.orig/pkg/DESCR	Thu Nov  4 10:04:12 1999
+++ udmsearch/pkg/DESCR	Thu Nov  4 11:35:47 1999
@@ -1,8 +1,11 @@
-UdmSearch is a full featured MySQL-based search engine for intranet or small
+UdmSearch is a full featured SQL-based search engine for intranet or small
 domain Internet web servers. You can also use it to build specialized search
 engines such as cooking recipies or searching newspaper articles.
 
 Provides pre-built web search frontends in C (via CGI) and PHP.
+
+Currently, supports using mySQL, msql, or postgresql database backends, with
+mySQL being the default and best supported.
 
 WWW: http://mysearch.udm.net/
 

>Release-Note:
>Audit-Trail:
>Unformatted:


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199911041640.LAA13990>