svn commit: r346214 - in head/devel: . go-sql-driver

Ryan Steinmetz zi at FreeBSD.org
Wed Feb 26 17:00:54 UTC 2014


Author: zi
Date: Wed Feb 26 17:00:52 2014
New Revision: 346214
URL: http://svnweb.freebsd.org/changeset/ports/346214
QAT: https://qat.redports.org/buildarchive/r346214/

Log:
  New port: devel/go-sql-driver:
  
  Go-MySQL-Driver is a lightweight and fast MySQL-Driver for Go's
  (golang) database/sql package
  
  Features:
  * Lightweight and fast
  * Native Go implementation. No C-bindings, just pure Go
  * Connections over TCP/IPv4, TCP/IPv6 or Unix domain sockets
  * Automatic handling of broken connections
  * Automatic Connection Pooling (by database/sql package)
  * Supports queries larger than 16MB
  * Full sql.RawBytes support.
  * Intelligent LONG DATA handling in prepared statements
  * Secure LOAD DATA LOCAL INFILE support with file Whitelisting and io.Reader
    support
  * Optional time.Time parsing
  
  WWW: https://github.com/go-sql-driver/mysql/

Added:
  head/devel/go-sql-driver/
  head/devel/go-sql-driver/Makefile   (contents, props changed)
  head/devel/go-sql-driver/distinfo   (contents, props changed)
  head/devel/go-sql-driver/pkg-descr   (contents, props changed)
  head/devel/go-sql-driver/pkg-plist   (contents, props changed)
Modified:
  head/devel/Makefile

Modified: head/devel/Makefile
==============================================================================
--- head/devel/Makefile	Wed Feb 26 16:14:55 2014	(r346213)
+++ head/devel/Makefile	Wed Feb 26 17:00:52 2014	(r346214)
@@ -590,6 +590,7 @@
     SUBDIR += gnustep
     SUBDIR += gnustep-make
     SUBDIR += go-pretty
+    SUBDIR += go-sql-driver
     SUBDIR += gob2
     SUBDIR += gobject-introspection
     SUBDIR += goffice

Added: head/devel/go-sql-driver/Makefile
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/devel/go-sql-driver/Makefile	Wed Feb 26 17:00:52 2014	(r346214)
@@ -0,0 +1,25 @@
+# Created by: Ryan Steinmetz <zi at FreeBSD.org>
+# $FreeBSD$
+
+PORTNAME=	go-sql-driver
+PORTVERSION=	1.1
+CATEGORIES=	devel
+MASTER_SITES=	http://github.com/${PORTNAME}/mysql/archive/v${PORTVERSION}.tar.gz?dummy=/ \
+    		http://mirrors.rit.edu/zi/
+DISTNAME=	v${PORTVERSION}
+
+MAINTAINER=	zi at FreeBSD.org
+COMMENT=	Lightweight and fast MySQL driver for go
+
+USE_GITHUB=	yes
+GH_ACCOUNT=	${PORTNAME}
+GH_TAGNAME=	${PORTVERSION}
+GH_PROJECT=	mysql
+GH_COMMIT=	9a7aa36
+
+GO_PKGNAME=	github.com/go-sql-driver/mysql
+WRKSRC=		${WRKDIR}/mysql-${PORTVERSION}
+
+.include <bsd.port.pre.mk>
+.include "${PORTSDIR}/lang/go/files/bsd.go.mk"
+.include <bsd.port.post.mk>

Added: head/devel/go-sql-driver/distinfo
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/devel/go-sql-driver/distinfo	Wed Feb 26 17:00:52 2014	(r346214)
@@ -0,0 +1,2 @@
+SHA256 (v1.1.tar.gz) = 8b999b966477cb59ee1cf2923cb7f9e42aedcd8bc521df3045a9f7749d45439c
+SIZE (v1.1.tar.gz) = 38852

Added: head/devel/go-sql-driver/pkg-descr
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/devel/go-sql-driver/pkg-descr	Wed Feb 26 17:00:52 2014	(r346214)
@@ -0,0 +1,17 @@
+Go-MySQL-Driver is a lightweight and fast MySQL-Driver for Go's
+(golang) database/sql package
+
+Features:
+* Lightweight and fast
+* Native Go implementation. No C-bindings, just pure Go
+* Connections over TCP/IPv4, TCP/IPv6 or Unix domain sockets
+* Automatic handling of broken connections
+* Automatic Connection Pooling (by database/sql package)
+* Supports queries larger than 16MB
+* Full sql.RawBytes support.
+* Intelligent LONG DATA handling in prepared statements
+* Secure LOAD DATA LOCAL INFILE support with file Whitelisting and io.Reader
+  support
+* Optional time.Time parsing
+
+WWW: https://github.com/go-sql-driver/mysql/

Added: head/devel/go-sql-driver/pkg-plist
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/devel/go-sql-driver/pkg-plist	Wed Feb 26 17:00:52 2014	(r346214)
@@ -0,0 +1,31 @@
+ at comment $FreeBSD$
+%%GO_LIBDIR%%/github.com/go-sql-driver/mysql.a
+%%GO_SRCDIR%%/%%GO_PKGNAME%%/AUTHORS
+%%GO_SRCDIR%%/%%GO_PKGNAME%%/CHANGELOG.md
+%%GO_SRCDIR%%/%%GO_PKGNAME%%/CONTRIBUTING.md
+%%GO_SRCDIR%%/%%GO_PKGNAME%%/LICENSE
+%%GO_SRCDIR%%/%%GO_PKGNAME%%/README.md
+%%GO_SRCDIR%%/%%GO_PKGNAME%%/benchmark_test.go
+%%GO_SRCDIR%%/%%GO_PKGNAME%%/buffer.go
+%%GO_SRCDIR%%/%%GO_PKGNAME%%/connection.go
+%%GO_SRCDIR%%/%%GO_PKGNAME%%/const.go
+%%GO_SRCDIR%%/%%GO_PKGNAME%%/driver.go
+%%GO_SRCDIR%%/%%GO_PKGNAME%%/driver_test.go
+%%GO_SRCDIR%%/%%GO_PKGNAME%%/errors.go
+%%GO_SRCDIR%%/%%GO_PKGNAME%%/infile.go
+%%GO_SRCDIR%%/%%GO_PKGNAME%%/packets.go
+%%GO_SRCDIR%%/%%GO_PKGNAME%%/result.go
+%%GO_SRCDIR%%/%%GO_PKGNAME%%/rows.go
+%%GO_SRCDIR%%/%%GO_PKGNAME%%/statement.go
+%%GO_SRCDIR%%/%%GO_PKGNAME%%/transaction.go
+%%GO_SRCDIR%%/%%GO_PKGNAME%%/utils.go
+%%GO_SRCDIR%%/%%GO_PKGNAME%%/utils_test.go
+ at dirrmtry %%GO_SRCDIR%%/%%GO_PKGNAME%%
+ at dirrmtry %%GO_SRCDIR%%/github.com/go-sql-driver
+ at dirrmtry %%GO_SRCDIR%%/github.com
+ at dirrmtry %%GO_LIBDIR%%/github.com/go-sql-driver
+ at dirrmtry %%GO_LIBDIR%%/github.com
+ at dirrmtry %%GO_LIBDIR%%
+ at dirrmtry %%GO_SRCDIR%%
+ at dirrmtry share/go/pkg
+ at dirrmtry share/go


More information about the svn-ports-all mailing list