Bug 176032 - [NEW PORT] databases/liquibase: Database Change Management
Summary: [NEW PORT] databases/liquibase: Database Change Management
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: freebsd-ports-bugs (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-02-11 16:00 UTC by gslin
Modified: 2013-02-12 10:40 UTC (History)
1 user (show)

See Also:


Attachments
.shar (3.70 KB, text/plain)
2013-02-11 16:00 UTC, gslin
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description gslin 2013-02-11 16:00:00 UTC
Liquibase is an open source (Apache 2.0 Licensed), database-independent
library for tracking, managing and applying database changes. It is built on
a simple premise: All database changes are stored in a human readable yet
trackable form and checked into source control.

WWW: http://www.liquibase.org/

Generated with FreeBSD Port Tools 0.99_6 (mode: new)
Comment 1 Martin Wilke freebsd_committer freebsd_triage 2013-02-12 10:30:03 UTC
State Changed
From-To: open->closed

New port added. Thanks!
Comment 2 dfilter service freebsd_committer freebsd_triage 2013-02-12 10:30:41 UTC
Author: miwi
Date: Tue Feb 12 10:30:26 2013
New Revision: 312093
URL: http://svnweb.freebsd.org/changeset/ports/312093

Log:
  Liquibase is an open source (Apache 2.0 Licensed), database-independent
  library for tracking, managing and applying database changes. It is built on
  a simple premise: All database changes are stored in a human readable yet
  trackable form and checked into source control.
  
  WWW: http://www.liquibase.org/
  
  PR:		ports/176032
  Submitted by:	Gea-Suan Lin <gslin@gslin.org>

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

Modified: head/databases/Makefile
==============================================================================
--- head/databases/Makefile	Tue Feb 12 10:20:51 2013	(r312092)
+++ head/databases/Makefile	Tue Feb 12 10:30:26 2013	(r312093)
@@ -178,6 +178,7 @@
     SUBDIR += linux-oracle-instantclient-basic
     SUBDIR += linux-oracle-instantclient-sdk
     SUBDIR += linux-oracle-instantclient-sqlplus
+    SUBDIR += liquibase
     SUBDIR += lsdb
     SUBDIR += luasql-mysql
     SUBDIR += luasql-postgres

Added: head/databases/liquibase/Makefile
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/databases/liquibase/Makefile	Tue Feb 12 10:30:26 2013	(r312093)
@@ -0,0 +1,24 @@
+# Created by: Gea-Suan Lin <gslin@gslin.org>
+# $FreeBSD$
+
+PORTNAME=	liquibase
+PORTVERSION=	2.0.5
+CATEGORIES=	databases java
+MASTER_SITES=	http://cloud.github.com/downloads/liquibase/liquibase/
+DISTFILES=	${PORTNAME}-${PORTVERSION}-bin${EXTRACT_SUFX}
+
+MAINTAINER=	gslin@gslin.org
+COMMENT=	Database Change Management
+
+LICENSE=	AL2
+
+NO_BUILD=	yes
+NO_WRKSUBDIR=	yes
+USE_JAVA=	yes
+
+do-install:
+	${MKDIR} ${DATADIR}
+	${INSTALL_DATA} ${WRKSRC}/liquibase.jar ${DATADIR}/
+	${INSTALL_SCRIPT} ${WRKSRC}/liquibase ${PREFIX}/bin/
+
+.include <bsd.port.mk>

Added: head/databases/liquibase/distinfo
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/databases/liquibase/distinfo	Tue Feb 12 10:30:26 2013	(r312093)
@@ -0,0 +1,2 @@
+SHA256 (liquibase-2.0.5-bin.tar.gz) = 8e395ce32f0b35fd7eaeb1b718adc8286ea6002af193b1f0812accf0810b6320
+SIZE (liquibase-2.0.5-bin.tar.gz) = 1859514

Added: head/databases/liquibase/files/patch-liquibase
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/databases/liquibase/files/patch-liquibase	Tue Feb 12 10:30:26 2013	(r312093)
@@ -0,0 +1,63 @@
+--- liquibase.orig	2013-02-11 22:36:23.000000000 +0800
++++ liquibase	2013-02-11 22:38:03.000000000 +0800
+@@ -1,51 +1,14 @@
+ #! /bin/sh
+ 
+-if [ -n "${LIQUIBASE_HOME+x}" ]; then
+-echo "Liquibase Home: $LIQUIBASE_HOME"
+-else
+-  echo "Liquibase Home is not set."
+-
+-  ## resolve links - $0 may be a symlink
+-  PRG="$0"
+-  while [ -h "$PRG" ] ; do
+-    ls=`ls -ld "$PRG"`
+-    link=`expr "$ls" : '.*-> \(.*\)$'`
+-    if expr "$link" : '/.*' > /dev/null; then
+-    PRG="$link"
+-    else
+-    PRG=`dirname "$PRG"`"/$link"
+-    fi
+-  done
+-
+-
+-  LIQUIBASE_HOME=`dirname "$PRG"`
+-
+-  # make it fully qualified
+-  LIQUIBASE_HOME=`cd "$LIQUIBASE_HOME" && pwd`
+-  echo "Liquibase Home: $LIQUIBASE_HOME"
+-fi
+-
+- 
+-# build classpath from all jars in lib
+-if [ -f /usr/bin/cygpath ]; then
+-  CP=.
+-  for i in "$LIQUIBASE_HOME"/liquibase*.jar; do
+-    i=`cygpath --windows "$i"`
+-    CP="$CP;$i"
+-  done
+-  for i in "$LIQUIBASE_HOME"/lib/*.jar; do
+-    i=`cygpath --windows "$i"`
+-    CP="$CP;$i"
+-  done
+-else
+-  CP=.
+-  for i in "$LIQUIBASE_HOME"/liquibase*.jar; do
+-    CP="$CP":"$i"
+-  done
+-  for i in "$LIQUIBASE_HOME"/lib/*.jar; do
+-    CP="$CP":"$i"
+-  done
+-fi
++LIQUIBASE_HOME=`dirname $0`/../share/liquibase
++
++CP=.
++for i in "$LIQUIBASE_HOME"/liquibase*.jar; do
++  CP="$CP":"$i"
++done
++for i in "$LIQUIBASE_HOME"/lib/*.jar; do
++  CP="$CP":"$i"
++done
+ 
+ # add any JVM options here
+ JAVA_OPTS=

Added: head/databases/liquibase/pkg-descr
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/databases/liquibase/pkg-descr	Tue Feb 12 10:30:26 2013	(r312093)
@@ -0,0 +1,6 @@
+Liquibase is an open source (Apache 2.0 Licensed), database-independent
+library for tracking, managing and applying database changes. It is built on
+a simple premise: All database changes are stored in a human readable yet
+trackable form and checked into source control.
+
+WWW: http://www.liquibase.org/

Added: head/databases/liquibase/pkg-plist
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/databases/liquibase/pkg-plist	Tue Feb 12 10:30:26 2013	(r312093)
@@ -0,0 +1,4 @@
+@comment $FreeBSD$
+%%DATADIR%%/liquibase.jar
+bin/liquibase
+@dirrmtry %%DATADIR%%
_______________________________________________
svn-ports-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-ports-all
To unsubscribe, send any mail to "svn-ports-all-unsubscribe@freebsd.org"