From owner-svn-ports-head@freebsd.org Tue Jun 13 03:30:53 2017 Return-Path: Delivered-To: svn-ports-head@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 3F026D8C103; Tue, 13 Jun 2017 03:30:53 +0000 (UTC) (envelope-from wen@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 1AEF566F16; Tue, 13 Jun 2017 03:30:53 +0000 (UTC) (envelope-from wen@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id v5D3UqlL048710; Tue, 13 Jun 2017 03:30:52 GMT (envelope-from wen@FreeBSD.org) Received: (from wen@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id v5D3UpVV048705; Tue, 13 Jun 2017 03:30:51 GMT (envelope-from wen@FreeBSD.org) Message-Id: <201706130330.v5D3UpVV048705@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: wen set sender to wen@FreeBSD.org using -f From: Wen Heping Date: Tue, 13 Jun 2017 03:30:51 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r443484 - in head/databases: . ora2pg X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 13 Jun 2017 03:30:53 -0000 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 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