From owner-freebsd-ports Mon May 28 0:10:11 2001 Delivered-To: freebsd-ports@hub.freebsd.org Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id 4C79C37B424 for ; Mon, 28 May 2001 00:10:06 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.11.1/8.11.1) id f4S7A6X21157; Mon, 28 May 2001 00:10:06 -0700 (PDT) (envelope-from gnats) Received: from electron.databits.net (electron.databits.net [207.29.204.16]) by hub.freebsd.org (Postfix) with ESMTP id 8968D37B423 for ; Mon, 28 May 2001 00:01:36 -0700 (PDT) (envelope-from petef@electron.databits.net) Received: (from petef@localhost) by electron.databits.net (8.11.3/8.11.3) id f4S70mv00626; Mon, 28 May 2001 03:00:48 -0400 (EDT) (envelope-from petef) Message-Id: <200105280700.f4S70mv00626@electron.databits.net> Date: Mon, 28 May 2001 03:00:48 -0400 (EDT) From: petef@databits.net Reply-To: petef@databits.net To: FreeBSD-gnats-submit@freebsd.org X-Send-Pr-Version: 3.113 Subject: ports/27702: New port: databases/mysql2pgsql Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org >Number: 27702 >Category: ports >Synopsis: New port: databases/mysql2pgsql >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: Mon May 28 00:10:01 PDT 2001 >Closed-Date: >Last-Modified: >Originator: Pete Fritchman >Release: FreeBSD 4.3-STABLE i386 >Organization: Databits Network Services, Inc. >Environment: System: FreeBSD electron.databits.net 4.3-STABLE FreeBSD 4.3-STABLE #4: Sun Apr 22 21:17:37 EDT 2001 root@electron.databits.net:/usr/obj/usr/src/sys/ELECTRON i386 >Description: The perl script mysql2pgsql can be used to convert MySQL database dumps to a -compatible format (so the data can be imported into PostgreSQL). This can be useful if you are switching from MySQL to PostgreSQL and you have quite a bit of data in your MySQL databases. WWW: http://www.rot13.org/~dpavlin/projects.html >How-To-Repeat: >Fix: (http://hex.databits.net/~petef/freebsd/mysql2pgsql.shar) # 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: # # mysql2pgsql # mysql2pgsql/Makefile # mysql2pgsql/distinfo # mysql2pgsql/pkg-comment # mysql2pgsql/pkg-descr # mysql2pgsql/pkg-plist # echo c - mysql2pgsql mkdir -p mysql2pgsql > /dev/null 2>&1 echo x - mysql2pgsql/Makefile sed 's/^X//' >mysql2pgsql/Makefile << 'END-of-mysql2pgsql/Makefile' X# New ports collection makefile for: mysql2pgsql X# Date Created: 27 May 2001 X# Whom: Pete Fritchman X# X# $FreeBSD$ X# X XPORTNAME= mysql2pgsql XPORTVERSION= 20010527 XCATEGORIES= databases XMASTER_SITES= http://www.rot13.org/~dpavlin/projects/sql/ XDISTNAME= ${PORTNAME} XEXTRACT_ONLY= # empty X XMAINTAINER= petef@databits.net X XRUN_DEPENDS= ${LOCALBASE}/lib/perl5/site_perl/${PERL_VER}/${PERL_ARCH}/DBI.pm:${PORTSDIR}/databases/p5-DBI \ X ${LOCALBASE}/lib/perl5/site_perl/${PERL_VER}/${PERL_ARCH}/DBD/Pg.pm:${PORTSDIR}/databases/p5-DBD-Pg X XUSE_PERL5= yes XNO_BUILD= yes X Xdo-install: X ${INSTALL_SCRIPT} ${DISTDIR}/mysql2pgsql ${PREFIX}/bin X X.include END-of-mysql2pgsql/Makefile echo x - mysql2pgsql/distinfo sed 's/^X//' >mysql2pgsql/distinfo << 'END-of-mysql2pgsql/distinfo' XMD5 (mysql2pgsql) = 5ffeb56aacb9ab60753727b3358e0d75 END-of-mysql2pgsql/distinfo echo x - mysql2pgsql/pkg-comment sed 's/^X//' >mysql2pgsql/pkg-comment << 'END-of-mysql2pgsql/pkg-comment' XConvert a MySQL dump to a PostgreSQL dump END-of-mysql2pgsql/pkg-comment echo x - mysql2pgsql/pkg-descr sed 's/^X//' >mysql2pgsql/pkg-descr << 'END-of-mysql2pgsql/pkg-descr' XThe perl script mysql2pgsql can be used to convert MySQL database Xdumps to a -compatible format (so the data can be imported into XPostgreSQL). This can be useful if you are switching from MySQL Xto PostgreSQL and you have quite a bit of data in your MySQL Xdatabases. X XWWW: http://www.rot13.org/~dpavlin/projects.html X X- Pete Xpetef@databits.net END-of-mysql2pgsql/pkg-descr echo x - mysql2pgsql/pkg-plist sed 's/^X//' >mysql2pgsql/pkg-plist << 'END-of-mysql2pgsql/pkg-plist' Xbin/mysql2pgsql END-of-mysql2pgsql/pkg-plist exit >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message