Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 13 Jun 2012 00:41:18 +0800 (CST)
From:      Po-Chien Lin <linpc@cs.nctu.edu.tw>
To:        FreeBSD-gnats-submit@freebsd.org
Cc:        ruby@freebsd.org
Subject:   [PATCH] databases/rubygem-activerecord: update to 3.2.5
Message-ID:  <201206121641.q5CGfIhP047166@csvmnet67.cs.nctu.edu.tw>

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

>Submitter-Id:	current-users
>Originator:	Po-Chien Lin
>Organization:	
>Confidential:	no 
>Synopsis:	[PATCH] databases/rubygem-activerecord: update to 3.2.5
>Severity:	non-critical
>Priority:	low
>Category:	ports 
>Class:		update
>Release:	FreeBSD 10.0-CURRENT amd64
>Environment:
System: FreeBSD csvmnet67.cs.nctu.edu.tw 10.0-CURRENT FreeBSD 10.0-CURRENT #1: Tue Jun 12 09:58:21 CST 2012
>Description:
- Update to 3.2.5
- Convert to new options framework.
- Cleanup.

- Depend on PR/168985 and PR/168986

Port maintainer (ruby@FreeBSD.org) is cc'd.

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

--- rubygem-activerecord-3.2.5.patch begins here ---
Index: Makefile
===================================================================
RCS file: /home/ncvs/ports/databases/rubygem-activerecord/Makefile,v
retrieving revision 1.41
diff -u -r1.41 Makefile
--- Makefile	12 Feb 2012 02:08:20 -0000	1.41
+++ Makefile	12 Jun 2012 16:34:41 -0000
@@ -5,7 +5,7 @@
 # $FreeBSD: ports/databases/rubygem-activerecord/Makefile,v 1.41 2012/02/12 02:08:20 pgollucci Exp $
 
 PORTNAME=	activerecord
-PORTVERSION=	3.2.1
+PORTVERSION=	3.2.5
 CATEGORIES=	databases rubygems
 MASTER_SITES=	RG
 
@@ -15,29 +15,32 @@
 RUN_DEPENDS=	rubygem-activesupport>=${PORTVERSION}:${PORTSDIR}/devel/rubygem-activesupport \
 		rubygem-activemodel>=${PORTVERSION}:${PORTSDIR}/databases/rubygem-activemodel \
 		rubygem-tzinfo>=0.3.29:${PORTSDIR}/devel/rubygem-tzinfo \
-		rubygem-arel>=3.0.0:${PORTSDIR}/databases/rubygem-arel
+		rubygem-arel>=3.0.2:${PORTSDIR}/databases/rubygem-arel
 
-USE_RUBY=   yes
-USE_RUBYGEMS=   yes
-RUBYGEM_AUTOPLIST=  yes
-
-OPTIONS= \
-	NATIVE_MYSQL 		"Use native MySQL bindings" 		Off \
-	NATIVE_POSTGRESQL 	"Use native PostgreSQL bindings" 	Off \
-	NATIVE_SQLITE3 		"Use native SQLite3 bindings" 		Off
-OPTIONSFILE=   ${PORT_DBDIR}/rubygem-${PORTNAME}/options
+USE_RUBY=	yes
+USE_RUBYGEMS=	yes
+RUBYGEM_AUTOPLIST=	yes
+
+OPTIONS_DEFINE=	NATIVE_MYSQL NATIVE_POSTGRESQL NATIVE_SQLITE3
+OPTIONS_DEFAULT=
+
+NATIVE_MYSQL_DESC=	Use native MySQL bindings
+NATIVE_POSTGRESQL_DESC=	Use native PostgreSQL bindings
+NATIVE_SQLITE3_DESC=	Use native SQLite3 bindings
+
+OPTIONSFILE=	${PORT_DBDIR}/rubygem-${PORTNAME}/options
 
 .include <bsd.port.options.mk>
 
-.if defined(WITH_NATIVE_MYSQL)
+.if ${PORT_OPTIONS:MNATIVE_MYSQL}
 RUN_DEPENDS+=	${RUBY_PKGNAMEPREFIX}mysql>0:${PORTSDIR}/databases/ruby-mysql
 .endif
 
-.if defined(WITH_NATIVE_POSTGRESQL)
+.if ${PORT_OPTIONS:MNATIVE_POSTGRESQL}
 RUN_DEPENDS+=	rubygem-pg>=0:${PORTSDIR}/databases/rubygem-pg
 .endif
 
-.if defined(WITH_NATIVE_SQLITE3)
+.if ${PORT_OPTIONS:MNATIVE_SQLITE3}
 RUN_DEPENDS+=	rubygem-sqlite3>=1.2.1:${PORTSDIR}/databases/rubygem-sqlite3
 .endif
 
Index: distinfo
===================================================================
RCS file: /home/ncvs/ports/databases/rubygem-activerecord/distinfo,v
retrieving revision 1.26
diff -u -r1.26 distinfo
--- distinfo	12 Feb 2012 02:08:20 -0000	1.26
+++ distinfo	12 Jun 2012 16:14:40 -0000
@@ -1,2 +1,2 @@
-SHA256 (rubygem/activerecord-3.2.1.gem) = bbf6ee1ec9d5261c5fed071297880f9141fdf6ec9a26f44139dd3f87ad399075
-SIZE (rubygem/activerecord-3.2.1.gem) = 385536
+SHA256 (rubygem/activerecord-3.2.5.gem) = 39d227058e08003c4a483cf3412105868c0cf4697920a63cdf940cea7da42e0c
+SIZE (rubygem/activerecord-3.2.5.gem) = 388096
--- rubygem-activerecord-3.2.5.patch ends here ---




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201206121641.q5CGfIhP047166>