Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 26 Apr 2012 13:04:52 -0700 (PDT)
From:      Julien Laffaye <jlaffaye@FreeBSD.org>
To:        FreeBSD-gnats-submit@FreeBSD.org
Cc:        magik@roorback.net
Subject:   ports/167342: [PATCH] databases/godis: update to 20120405
Message-ID:  <4f99aa64.d01b0e0a.1d9a.60bb@mx.google.com>
Resent-Message-ID: <201204262010.q3QKAApG068664@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         167342
>Category:       ports
>Synopsis:       [PATCH] databases/godis: update to 20120405
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          update
>Submitter-Id:   current-users
>Arrival-Date:   Thu Apr 26 20:10:10 UTC 2012
>Closed-Date:
>Last-Modified:
>Originator:     Julien Laffaye
>Release:        FreeBSD 9.0-RELEASE amd64
>Organization:
>Environment:
System: FreeBSD proclarush.jlaffaye.net 9.0-RELEASE FreeBSD 9.0-RELEASE #0: Tue Jan  3 07:46:30 UTC
>Description:
- Update to 20120405
- Compile with upcoming Go1

Added file(s):
- pkg-plist

Removed file(s):
- files/patch-conn.go

Port maintainer (magik@roorback.net) is cc'd.

Generated with FreeBSD Port Tools 0.99_5 (mode: update, diff: CVS)
>How-To-Repeat:
>Fix:

--- godis-20120405.patch begins here ---
Index: Makefile
===================================================================
RCS file: /home/pcvs/ports/databases/godis/Makefile,v
retrieving revision 1.5
diff -u -r1.5 Makefile
--- Makefile	19 Jan 2012 01:53:50 -0000	1.5
+++ Makefile	26 Apr 2012 20:04:28 -0000
@@ -6,17 +6,21 @@
 #
 
 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}
 
 .include <bsd.port.pre.mk>
 .include "${PORTSDIR}/lang/go/files/bsd.go.mk"
Index: distinfo
===================================================================
RCS file: /home/pcvs/ports/databases/godis/distinfo,v
retrieving revision 1.2
diff -u -r1.2 distinfo
--- distinfo	22 Sep 2011 16:43:10 -0000	1.2
+++ distinfo	26 Apr 2012 20:04:28 -0000
@@ -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
Index: pkg-plist
===================================================================
RCS file: pkg-plist
diff -N pkg-plist
--- /dev/null	1 Jan 1970 00:00:00 -0000
+++ pkg-plist	26 Apr 2012 20:04:28 -0000
@@ -0,0 +1,3 @@
+%%GO_LIBDIR%%/github.com/simonz05/godis.a
+@dirrmtry %%GO_LIBDIR%%/github.com/simonz05
+@dirrmtry %%GO_LIBDIR%%/github.com/
Index: files/patch-conn.go
===================================================================
RCS file: files/patch-conn.go
diff -N files/patch-conn.go
--- files/patch-conn.go	19 Jan 2012 01:53:50 -0000	1.1
+++ /dev/null	1 Jan 1970 00:00:00 -0000
@@ -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
--- godis-20120405.patch ends here ---

>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4f99aa64.d01b0e0a.1d9a.60bb>