Index: head/databases/godis/files/patch-conn.go =================================================================== --- head/databases/godis/files/patch-conn.go (revision 296612) +++ head/databases/godis/files/patch-conn.go (nonexistent) @@ -1,24 +0,0 @@ ---- conn.go.orig 2011-09-04 22:00:03.000000000 +0200 -+++ conn.go 2012-01-18 21:31:25.000000000 +0100 -@@ -342,8 +342,8 @@ - } - - func (cc *conn) configConn(db int, password string) os.Error { -- if db != 0 { -- buf := [][]byte{[]byte("SELECT"), []byte(strconv.Itoa(db))} -+ if password != "" { -+ buf := [][]byte{[]byte("AUTH"), []byte(password)} - _, err := cc.rwc.Write(buildCmd(buf)) - - if err != nil { -@@ -356,8 +356,8 @@ - } - } - -- if password != "" { -- buf := [][]byte{[]byte("AUTH"), []byte(password)} -+ if db != 0 { -+ buf := [][]byte{[]byte("SELECT"), []byte(strconv.Itoa(db))} - _, err := cc.rwc.Write(buildCmd(buf)) - - if err != nil { \ No newline at end of file Property changes on: head/databases/godis/files/patch-conn.go ___________________________________________________________________ Deleted: cvs2svn:cvs-rev ## -1 +0,0 ## -1.1 \ No newline at end of property Deleted: fbsd:nokeywords ## -1 +0,0 ## -yes \ No newline at end of property Index: head/databases/godis/Makefile =================================================================== --- head/databases/godis/Makefile (revision 296612) +++ head/databases/godis/Makefile (revision 296613) @@ -1,23 +1,31 @@ # New ports collection makefile for: godis # Date created: 20 June , 2011 # Whom: Grzegorz Blach # # $FreeBSD$ # PORTNAME= godis -PORTVERSION= 20110803 -PORTREVISION= 3 +PORTVERSION= 20120405 CATEGORIES= databases MASTER_SITES= LOCAL/jlaffaye MAINTAINER= magik@roorback.net COMMENT= A Redis client library written in Go -PLIST_FILES= ${GO_LIBDIR}/godis.a - USE_GO= yes +GO_PKGNAME= ${SUBLIBDIR}/${PORTNAME} + +SUBLIBDIR= github.com/simonz05 + +do-install: + ${MKDIR} ${GO_LOCAL_LIBDIR}/${SUBLIBDIR} + ${INSTALL_DATA} ${GO_WRKDIR_PKG}/${SUBLIBDIR}/godis.a ${GO_LOCAL_LIBDIR}/${SUBLIBDIR} + ${MKDIR} ${GO_LOCAL_SRCDIR}/${GO_PKGNAME} +.for f in godis.go commands.go conn.go + ${INSTALL_DATA} ${GO_WRKSRC}/${f} ${GO_LOCAL_SRCDIR}/${GO_PKGNAME} +.endfor .include .include "${PORTSDIR}/lang/go/files/bsd.go.mk" .include Property changes on: head/databases/godis/Makefile ___________________________________________________________________ Modified: cvs2svn:cvs-rev ## -1 +1 ## -1.5 \ No newline at end of property +1.6 \ No newline at end of property Index: head/databases/godis/distinfo =================================================================== --- head/databases/godis/distinfo (revision 296612) +++ head/databases/godis/distinfo (revision 296613) @@ -1,2 +1,2 @@ -SHA256 (godis-20110803.tar.gz) = 24a3fb5e90983caa23163b33ed2d18d997747d5683f92fc1cbf335ad5bfed917 -SIZE (godis-20110803.tar.gz) = 15584 +SHA256 (godis-20120405.tar.gz) = 5be02502b07386085ac4ba6d92b749a7829fd694ad8bfee0d15b0960074b44b2 +SIZE (godis-20120405.tar.gz) = 17712 Property changes on: head/databases/godis/distinfo ___________________________________________________________________ Modified: cvs2svn:cvs-rev ## -1 +1 ## -1.2 \ No newline at end of property +1.3 \ No newline at end of property Index: head/databases/godis/pkg-plist =================================================================== --- head/databases/godis/pkg-plist (nonexistent) +++ head/databases/godis/pkg-plist (revision 296613) @@ -0,0 +1,9 @@ +%%GO_LIBDIR%%/github.com/simonz05/godis.a +%%GO_SRCDIR%%/%%GO_PKGNAME%%/godis.go +%%GO_SRCDIR%%/%%GO_PKGNAME%%/commands.go +%%GO_SRCDIR%%/%%GO_PKGNAME%%/conn.go +@dirrmtry %%GO_LIBDIR%%/github.com/simonz05 +@dirrmtry %%GO_LIBDIR%%/github.com +@dirrm %%GO_SRCDIR%%/%%GO_PKGNAME%% +@dirrmtry %%GO_SRCDIR%%/github.com/simonz05 +@dirrmtry %%GO_SRCDIR%%/github.com Property changes on: head/databases/godis/pkg-plist ___________________________________________________________________ Added: cvs2svn:cvs-rev ## -0,0 +1 ## +1.1 \ No newline at end of property Added: fbsd:nokeywords ## -0,0 +1 ## +yes \ No newline at end of property