Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 13 Jun 2017 03:30:51 +0000 (UTC)
From:      Wen Heping <wen@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r443484 - in head/databases: . ora2pg
Message-ID:  <201706130330.v5D3UpVV048705@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: wen
Date: Tue Jun 13 03:30:51 2017
New Revision: 443484
URL: https://svnweb.freebsd.org/changeset/ports/443484

Log:
  Ora2Pg is a free tool used to migrate an Oracle database to a PostgreSQL
  compatible schema. It connects your Oracle database, scan it automatically
  and extracts its structure or data, it then generates SQL scripts that you
  can load into your PostgreSQL database. Ora2Pg can be used from reverse
  engineering Oracle database to huge enterprise database migration or simply
  to replicate some Oracle data into a PostgreSQL database. It is really easy
  to used and doesn't need any Oracle database knowledge than providing the
  parameters needed to connect to the Oracle database.
  
  WWW: https://github.com/darold/ora2pg
  
  PR:		219682
  Submitted by:	amutu@amutu.com

Added:
  head/databases/ora2pg/
  head/databases/ora2pg/Makefile   (contents, props changed)
  head/databases/ora2pg/distinfo   (contents, props changed)
  head/databases/ora2pg/pkg-descr   (contents, props changed)
  head/databases/ora2pg/pkg-plist   (contents, props changed)
Modified:
  head/databases/Makefile

Modified: head/databases/Makefile
==============================================================================
--- head/databases/Makefile	Mon Jun 12 23:12:19 2017	(r443483)
+++ head/databases/Makefile	Tue Jun 13 03:30:51 2017	(r443484)
@@ -242,6 +242,7 @@
     SUBDIR += openark-kit
     SUBDIR += opendbx
     SUBDIR += opentsdb
+    SUBDIR += ora2pg
     SUBDIR += oracle8-client
     SUBDIR += p5-Amazon-SimpleDB
     SUBDIR += p5-Amon2-DBI

Added: head/databases/ora2pg/Makefile
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/databases/ora2pg/Makefile	Tue Jun 13 03:30:51 2017	(r443484)
@@ -0,0 +1,30 @@
+# Created by: Jov amutu@amutu.com
+# $FreeBSD$
+
+PORTNAME=	ora2pg
+PORTVERSION=	18.1
+DISTVERSIONPREFIX=	v
+CATEGORIES=	databases
+
+MAINTAINER=	amutu@amutu.com
+COMMENT=	Oracle to PostgreSQL database schema converter
+
+LICENSE=	GPLv3
+
+BUILD_DEPENDS=	p5-Class-DBI-Pg>=0:databases/p5-Class-DBI-Pg \
+		p5-Class-DBI-mysql>=0:databases/p5-Class-DBI-mysql \
+		p5-Class-DBI-Oracle>=0:databases/p5-Class-DBI-Oracle
+
+RUN_DEPENDS:=	${BUILD_DEPENDS}
+
+USES=		perl5
+USE_PERL5=	configure
+USE_GITHUB=	yes
+GH_ACCOUNT=	darold
+
+do-patch:
+	${REINPLACE_CMD} -e '/install_all :/,/};/s=$$CONFDIR=${STAGEDIR}${ETCDIR}=g' \
+		-e '/install_all :/,/};/s=$$DOCDIR=${STAGEDIR}${DOCSDIR}=g' \
+		${WRKSRC}/Makefile.PL
+
+.include <bsd.port.mk>

Added: head/databases/ora2pg/distinfo
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/databases/ora2pg/distinfo	Tue Jun 13 03:30:51 2017	(r443484)
@@ -0,0 +1,3 @@
+TIMESTAMP = 1496212996
+SHA256 (darold-ora2pg-v18.1_GH0.tar.gz) = b8d330b4b4f57d3bc32624880e37f25077656be6c4b5c9f8e9042a6ea83e20da
+SIZE (darold-ora2pg-v18.1_GH0.tar.gz) = 358395

Added: head/databases/ora2pg/pkg-descr
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/databases/ora2pg/pkg-descr	Tue Jun 13 03:30:51 2017	(r443484)
@@ -0,0 +1,10 @@
+Ora2Pg is a free tool used to migrate an Oracle database to a PostgreSQL
+compatible schema. It connects your Oracle database, scan it automatically
+and extracts its structure or data, it then generates SQL scripts that you
+can load into your PostgreSQL database. Ora2Pg can be used from reverse
+engineering Oracle database to huge enterprise database migration or simply
+to replicate some Oracle data into a PostgreSQL database. It is really easy
+to used and doesn't need any Oracle database knowledge than providing the
+parameters needed to connect to the Oracle database.
+
+WWW: https://github.com/darold/ora2pg

Added: head/databases/ora2pg/pkg-plist
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/databases/ora2pg/pkg-plist	Tue Jun 13 03:30:51 2017	(r443484)
@@ -0,0 +1,11 @@
+bin/ora2pg
+bin/ora2pg_scanner
+%%ETCDIR%%/ora2pg.conf.dist
+%%SITE_PERL%%/Ora2Pg.pm
+%%SITE_PERL%%/Ora2Pg/GEOM.pm
+%%SITE_PERL%%/Ora2Pg/MySQL.pm
+%%SITE_PERL%%/Ora2Pg/PLSQL.pm
+%%PERL5_MAN3%%/ora2pg.3.gz
+%%PORTDOCS%%%%DOCSDIR%%/INSTALL
+%%PORTDOCS%%%%DOCSDIR%%/README
+%%PORTDOCS%%%%DOCSDIR%%/changelog



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