Date: Mon, 28 May 2001 03:00:48 -0400 (EDT) From: petef@databits.net To: FreeBSD-gnats-submit@freebsd.org Subject: ports/27702: New port: databases/mysql2pgsql Message-ID: <200105280700.f4S70mv00626@electron.databits.net>
next in thread | raw e-mail | index | archive | help
>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 <petef@databits.net> 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 <bsd.port.mk> 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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200105280700.f4S70mv00626>