Date: Thu, 1 Apr 2004 11:22:17 +0400 (MSD) From: Denis Shaposhnikov <dsh@vlink.ru> To: FreeBSD-gnats-submit@FreeBSD.org Cc: dsh@neva.vlink.ru Subject: ports/65023: new port: www/parser-mysql (mysql driver for parser) Message-ID: <200404010722.i317MH3E078714@neva.vlink.ru> Resent-Message-ID: <200404010730.i317UJNZ012268@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 65023 >Category: ports >Synopsis: new port: www/parser-mysql (mysql driver for parser) >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: maintainer-update >Submitter-Id: current-users >Arrival-Date: Wed Mar 31 23:30:19 PST 2004 >Closed-Date: >Last-Modified: >Originator: Denis Shaposhnikov >Release: FreeBSD 4.9-STABLE i386 >Organization: >Environment: System: FreeBSD neva.vlink.ru 4.9-STABLE FreeBSD 4.9-STABLE #2: Wed Mar 3 14:17:03 MSK 2004 dsh@neva.vlink.ru:/var/FreeBSD/src/sys/compile/NEVA i386 >Description: MySQL driver for Parser. WWW: http://www.parser.ru/ >How-To-Repeat: # 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: # # parser-mysql/ # parser-mysql/Makefile # parser-mysql/distinfo # parser-mysql/pkg-descr # parser-mysql/pkg-plist # parser-mysql/files # parser-mysql/files/patch-Makefile.in # parser-mysql/files/patch-parser3mysql.C # echo c - parser-mysql/ mkdir -p parser-mysql/ > /dev/null 2>&1 echo x - parser-mysql/Makefile sed 's/^X//' >parser-mysql/Makefile << 'END-of-parser-mysql/Makefile' X# New ports collection makefile for: Parser-MySQL X# Date created: Wed Aug 6 11:02:01 MSD 2003 X# Whom: dsh@vlink.ru X# X# $FreeBSD$ X# X XPORTNAME= parser-mysql XPORTVERSION= 3.1.2 XCATEGORIES= www XMASTER_SITES= http://www.parser.ru/off-line/download/src/ XDISTNAME= parser3mysql-${PORTVERSION} XDISTFILES= ${DISTNAME}${EXTRACT_SUFX} parser-${PORTVERSION}${EXTRACT_SUFX} X XMAINTAINER= dsh@vlink.ru XCOMMENT= MySQL driver for Parser X XRUN_DEPENDS= parser3:${PORTSDIR}/www/parser X XWRKSRC= ${WRKDIR}/${DISTNAME:S/3.1.2/3.1.HEAD/} XUSE_MYSQL= yes XHAS_CONFIGURE= yes X Xpost-extract: X ${MV} ${WRKDIR}/parser-${PORTVERSION} ${WRKDIR}/parser3 X X.include <bsd.port.mk> END-of-parser-mysql/Makefile echo x - parser-mysql/distinfo sed 's/^X//' >parser-mysql/distinfo << 'END-of-parser-mysql/distinfo' XMD5 (parser3mysql-3.1.2.tar.gz) = f73acead347f337019fd7a13fc2a03b7 XSIZE (parser3mysql-3.1.2.tar.gz) = 445039 XMD5 (parser-3.1.2.tar.gz) = 483d15c61cdcb8d961c57abbcbbf7ebb XSIZE (parser-3.1.2.tar.gz) = 1036809 END-of-parser-mysql/distinfo echo x - parser-mysql/pkg-descr sed 's/^X//' >parser-mysql/pkg-descr << 'END-of-parser-mysql/pkg-descr' XMySQL driver for Parser. X XWWW: http://www.parser.ru/ END-of-parser-mysql/pkg-descr echo x - parser-mysql/pkg-plist sed 's/^X//' >parser-mysql/pkg-plist << 'END-of-parser-mysql/pkg-plist' Xlib/libparser3mysql.la Xlib/libparser3mysql.so END-of-parser-mysql/pkg-plist echo c - parser-mysql/files mkdir -p parser-mysql/files > /dev/null 2>&1 echo x - parser-mysql/files/patch-Makefile.in sed 's/^X//' >parser-mysql/files/patch-Makefile.in << 'END-of-parser-mysql/files/patch-Makefile.in' X--- Makefile.in.orig Mon Aug 11 11:53:00 2003 X+++ Makefile.in Tue Aug 12 16:06:13 2003 X@@ -129,7 +129,7 @@ X target_alias = @target_alias@ X SUBDIRS = libltdl X X-INCLUDES = -I../../parser3/src/sql $(INCLTDL) -I$(MYSQL_INC) X+INCLUDES = -I../parser3/src/sql $(INCLTDL) -I$(MYSQL_INC) X X noinst_HEADERS = config_includes.h X lib_LTLIBRARIES = libparser3mysql.la END-of-parser-mysql/files/patch-Makefile.in echo x - parser-mysql/files/patch-parser3mysql.C sed 's/^X//' >parser-mysql/files/patch-parser3mysql.C << 'END-of-parser-mysql/files/patch-parser3mysql.C' X--- parser3mysql.C.orig Fri Mar 26 17:30:48 2004 X+++ parser3mysql.C Wed Mar 31 16:06:39 2004 X@@ -46,7 +46,7 @@ X return result; X } X X-static void toupper(char *out, const char *in, size_t size) { X+static void toupper3(char *out, const char *in, size_t size) { X while(size--) X *out++=(char)toupper(*in++); X } X@@ -122,7 +122,7 @@ X if(*key) { X if(char *value=lsplit(key, '=')) { X if(strcmp(key, "ClientCharset" ) == 0) { X- toupper(value, value, strlen(value)); X+ toupper3(value, value, strlen(value)); X connection.cstrClientCharset=value; X } else if(strcasecmp(key, "charset")==0) { // left for backward compatibility, consider using ClientCharset X cstrBackwardCompAskServerToTranscode=value; END-of-parser-mysql/files/patch-parser3mysql.C exit >Fix: >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200404010722.i317MH3E078714>