Date: Thu, 2 Dec 1999 21:00:02 -0800 (PST) From: Kelly Yancey <kbyanc@posi.net> To: freebsd-ports@FreeBSD.org Subject: Re: ports/15166: update udmsearch port to 2.2.1 Message-ID: <199912030500.VAA04575@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
The following reply was made to PR ports/15166; it has been noted by GNATS. From: Kelly Yancey <kbyanc@posi.net> To: freebsd-gnats-submit@freebsd.org Cc: Subject: Re: ports/15166: update udmsearch port to 2.2.1 Date: Thu, 2 Dec 1999 23:51:06 -0500 (EST) Urg. Apparently I didn't patch it enough :) Here is a shar of the complete 2.2.1 port, including some things I overlooked when I originally submitted the PR for the upgrade to 2.2.1. # This is a shell archive. Save it in a file, remove anything before # this line, and then unpack it by entering "sh file". Note, it may # create directories; files and directories will be owned by you and # have default permissions. # # This archive contains: # # udmsearch # udmsearch/Makefile # udmsearch/pkg # udmsearch/pkg/PLIST # udmsearch/pkg/COMMENT # udmsearch/pkg/DESCR # udmsearch/pkg/MESSAGE # udmsearch/files # udmsearch/files/md5 # udmsearch/files/MESSAGE # udmsearch/patches # udmsearch/patches/patch-aa # echo c - udmsearch mkdir -p udmsearch > /dev/null 2>&1 echo x - udmsearch/Makefile sed 's/^X//' >udmsearch/Makefile << 'END-of-udmsearch/Makefile' X# New ports collection makefile for: udmsearch X# Version required: 2.2.1 X# Date created: 11/29/1999 X# Whom: Kelly Yancey <kbyanc@posi.net> X# X# $FreeBSD: ports/www/udmsearch/Makefile,v 1.2 1999/11/14 02:17:48 steve Exp $ X# X XDISTNAME= udmsearch-2.2.1 XCATEGORIES= www databases XMASTER_SITES= http://mysearch.udm.net/Download/ \ X ftp://ftp.izhcom.ru/pub/unix/UdmSearch/ \ X http://mirror.kuenzler.ch/udmsearch/Download/ X XMAINTAINER= kbyanc@posi.net X XMAN1= indexer.1 XMAN5= indexer.conf.5 X XWRKSRC= ${WRKDIR}/udmsearch-2.2.1 XUSE_GMAKE= yes XGNU_CONFIGURE= yes XCONFIGURE_ARGS= --bindir=${PREFIX}/bin/udmsearch \ X --sysconfdir=${PREFIX}/etc/udmsearch X X.if defined(USE_POSTGRESQL) XLIB_DEPENDS= pq.2:${PORTSDIR}/databases/postgresql XCONFIGURE_ARGS+= --with-pgsql X X.elif defined(USE_MSQL) XBUILD_DEPENDS= ${PREFIX}/lib/libmsql.a:${PORTSDIR}/databases/msql XCONFIGURE_ARGS+= --with-msql X X.else X# default to mysql X XLIB_DEPENDS= mysqlclient.6:${PORTSDIR}/databases/mysql322-client XCONFIGURE_ARGS+= --with-mysql X X.if !defined(USE_MYSQL) Xpre-fetch: X @${ECHO} X @${ECHO} "Defaulting to udmsearch with mysql support." X @${ECHO} X @${ECHO} "You may alternately build udmsearch with either msql or" X @${ECHO} "postgresql support by invoking make with USE_MSQL=yes or" X @${ECHO} "USE_POSTGRESQL=yes respectively." X @${ECHO} X.endif X X.endif X Xpre-install: X ${MKDIR} ${PREFIX}/bin/udmsearch X ${MKDIR} ${PREFIX}/etc/udmsearch X Xpost-install: X @cp -R ${WRKSRC}/create ${PREFIX}/etc/udmsearch X @strip ${PREFIX}/sbin/indexer X @strip ${PREFIX}/bin/udmsearch/search.cgi X @${ECHO} X @${CAT} ${PKGMESSAGE} X X.include <bsd.port.mk> END-of-udmsearch/Makefile echo c - udmsearch/pkg mkdir -p udmsearch/pkg > /dev/null 2>&1 echo x - udmsearch/pkg/PLIST sed 's/^X//' >udmsearch/pkg/PLIST << 'END-of-udmsearch/pkg/PLIST' Xbin/udmsearch/search.cgi Xbin/udmsearch/search.phtml Xetc/udmsearch/indexer.conf-dist Xetc/udmsearch/search.htm-dist Xetc/udmsearch/create/msql/create.txt Xetc/udmsearch/create/mssql/create.txt Xetc/udmsearch/create/mysql/alter19-20.txt Xetc/udmsearch/create/mysql/alter20-21.txt Xetc/udmsearch/create/mysql/create.txt Xetc/udmsearch/create/pgsql/create.txt Xetc/udmsearch/create/odbc-mysql/create.txt Xetc/udmsearch/create/odbc-pgsql/create.txt Xetc/udmsearch/create/solid/README Xetc/udmsearch/create/solid/create.txt Xetc/udmsearch/create/stopwords/stop.cz.txt Xetc/udmsearch/create/stopwords/stop.de.txt Xetc/udmsearch/create/stopwords/stop.en.txt Xetc/udmsearch/create/stopwords/stop.es.txt Xetc/udmsearch/create/stopwords/stop.fr.txt Xetc/udmsearch/create/stopwords/stop.it.txt Xetc/udmsearch/create/stopwords/stop.nl.txt Xetc/udmsearch/create/stopwords/stop.no.txt Xetc/udmsearch/create/stopwords/stop.pt.txt Xetc/udmsearch/create/stopwords/stop.ru.txt Xetc/udmsearch/create/stopwords/stop.ua.txt Xshare/doc/udmsearch/parsers.txt Xshare/doc/udmsearch/syslog.txt Xshare/doc/udmsearch/templates.txt Xshare/doc/udmsearch/usage.txt Xsbin/indexer X@dirrm bin/udmsearch X@dirrm etc/udmsearch/create/msql X@dirrm etc/udmsearch/create/mssql X@dirrm etc/udmsearch/create/mysql X@dirrm etc/udmsearch/create/pgsql X@dirrm etc/udmsearch/create/odbc-mysql X@dirrm etc/udmsearch/create/odbc-pgsql X@dirrm etc/udmsearch/create/solid X@dirrm etc/udmsearch/create/stopwords X@dirrm etc/udmsearch/create X@dirrm etc/udmsearch X@dirrm share/doc/udmsearch END-of-udmsearch/pkg/PLIST echo x - udmsearch/pkg/COMMENT sed 's/^X//' >udmsearch/pkg/COMMENT << 'END-of-udmsearch/pkg/COMMENT' XFull featured SQL-based hypertext search engine END-of-udmsearch/pkg/COMMENT echo x - udmsearch/pkg/DESCR sed 's/^X//' >udmsearch/pkg/DESCR << 'END-of-udmsearch/pkg/DESCR' XUdmSearch is a full featured SQL-based search engine for intranet or small Xdomain Internet web servers. You can also use it to build specialized search Xengines such as cooking recipies or searching newspaper articles. X XProvides pre-built web search frontends in C (via CGI) and PHP. X XCurrently, supports using mySQL, msql, or postgresql database backends, with XmySQL being the default and best supported. X XWWW: http://mysearch.udm.net/ X X -Kelly X kbyanc@posi.net END-of-udmsearch/pkg/DESCR echo x - udmsearch/pkg/MESSAGE sed 's/^X//' >udmsearch/pkg/MESSAGE << 'END-of-udmsearch/pkg/MESSAGE' Xudmsearch is successfully installed. XNow, to use udmsearch you need to create the appropriate mysql database Xmanually: X X Create mysql database 'udmsearch'. X You can also use existing MySQL database, skip this step in this case. X X $ mysqladmin create udmsearch X X X Create tables. X If you are installing UdmSearch for the first time: X X $ mysql udmsearch < /usr/local/etc/udmsearch/create/create.txt X X IMPORTANT: If you already use UdmSearch and want to upgrade from X UdmSearch 2.0 or earlier while keep existing data, please do not use X create.txt. Instead, to upgrade from UdmSearch 2.0, run X X $ mysql udmsearch < /usr/local/etc/udmsearch/create/alter20-21.txt X X or, to upgrade from UdmSearch 1.x, run X $ mysql udmsearch < /usr/local/etc/udmsearch/create/alter19-20.txt X $ mysql udmsearch < /usr/local/etc/udmsearch/create/alter20-21.txt X XFor more information on how to use udmsearch, please refer to their Xweb site at http://mysearch.udm.net/ END-of-udmsearch/pkg/MESSAGE echo c - udmsearch/files mkdir -p udmsearch/files > /dev/null 2>&1 echo x - udmsearch/files/md5 sed 's/^X//' >udmsearch/files/md5 << 'END-of-udmsearch/files/md5' XMD5 (udmsearch-2.2.1.tar.gz) = 8e5d9cc6140da9ebe3ecc9814333168d END-of-udmsearch/files/md5 echo x - udmsearch/files/MESSAGE sed 's/^X//' >udmsearch/files/MESSAGE << 'END-of-udmsearch/files/MESSAGE' Xudmsearch is successfully installed. XNow, to use udmsearch you need to create the appropriate mysql database Xmanually: X X Create mysql database 'udmsearch'. X You can also use existing MySQL database, skip this step in this case. X X $ mysqladmin create udmsearch X X X Create tables. X If you are installing UdmSearch for the first time: X X $ mysql udmsearch < /usr/local/etc/udmsearch/create/mysql/create.txt X X IMPORTANT: If you already use UdmSearch and want to upgrade from X UdmSearch 2.0 or earlier while keep existing data, please do not use X create.txt. Instead, to upgrade from UdmSearch 2.0, run X X $ mysql udmsearch < /usr/local/etc/udmsearch/create/mysql/alter20-21.txt X X or, to upgrade from UdmSearch 1.x, run X $ mysql udmsearch < /usr/local/etc/udmsearch/create/mysql/alter19-20.txt X $ mysql udmsearch < /usr/local/etc/udmsearch/create/mysql/alter20-21.txt X XFor more information on how to use udmsearch, please refer to their Xweb site at http://mysearch.udm.net/ X END-of-udmsearch/files/MESSAGE echo c - udmsearch/patches mkdir -p udmsearch/patches > /dev/null 2>&1 echo x - udmsearch/patches/patch-aa sed 's/^X//' >udmsearch/patches/patch-aa << 'END-of-udmsearch/patches/patch-aa' X--- doc/Makefile.in.orig Thu Dec 2 22:11:39 1999 X+++ doc/Makefile.in Thu Dec 2 22:12:27 1999 X@@ -261,9 +261,9 @@ X X X install-data-local: X- $(mkinstalldirs) $(prefix)/doc X- echo ${INSTALL_DATA} docs $(DESTDIR)$(prefix)/doc/ X- ${INSTALL_DATA} ${txt_DOCS} $(DESTDIR)$(prefix)/doc/ X+ $(mkinstalldirs) $(prefix)/share/doc/udmsearch X+ echo ${INSTALL_DATA} docs $(DESTDIR)$(prefix)/share/doc/udmsearch X+ ${INSTALL_DATA} ${txt_DOCS} $(DESTDIR)$(prefix)/share/doc/udmsearch X X # Tell versions [3.59,3.63) of GNU make to not export all variables. X # Otherwise a system limit (for SysV at least) may be exceeded. END-of-udmsearch/patches/patch-aa exit -- Kelly Yancey - kbyanc@posi.net - Richmond, VA Director of Technical Services, ALC Communications http://www.alcnet.com/ Maintainer, BSD Driver Database http://www.posi.net/freebsd/drivers/ Coordinator, Team FreeBSD http://www.posi.net/freebsd/Team-FreeBSD/ 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?199912030500.VAA04575>