summaryrefslogtreecommitdiffstats
path: root/databases
diff options
context:
space:
mode:
authorclsung <clsung@FreeBSD.org>2006-08-23 02:30:45 +0000
committerclsung <clsung@FreeBSD.org>2006-08-23 02:30:45 +0000
commit054b2d909f5b9b3252dbbae08848005af33c1dce (patch)
tree4372f900ca401ad828f79a38526140aa802a00fb /databases
parent2654e649f8ca9ca5350bae38ea4883367f6e1c38 (diff)
downloadFreeBSD-ports-054b2d909f5b9b3252dbbae08848005af33c1dce.zip
FreeBSD-ports-054b2d909f5b9b3252dbbae08848005af33c1dce.tar.gz
* Update rails and its related ports to match rails 1.1.6:
activesupport = 1.3.1 activerecord = 1.14.4 actionpack = 1.12.5 actionmailer = 1.2.5 actionwebservice = 1.1.6 rails = 1.1.6 This update is needed to fix a serious bug in rails * Add a x-generate-plist target to easy the creation of pkg-plist * Add an "WWW" entry on pkg-descr that points to the correspoding project on rubyforge. PR: ports/101973 Submitted by: Rui Lopes <rgl_AT_ruilopes dot com> Approved by: maintainer (Jonathan Weiss) Security: http://weblog.rubyonrails.org/2006/8/10/rails-1-1-6-backports-and-full-disclosure Security: http://www.vuxml.org/freebsd/90064567-28b1-11db-844d-000c6ec775d9.html
Diffstat (limited to 'databases')
-rw-r--r--databases/rubygem-activerecord/Makefile15
-rw-r--r--databases/rubygem-activerecord/distinfo6
-rw-r--r--databases/rubygem-activerecord/pkg-descr3
-rw-r--r--databases/rubygem-activerecord/pkg-plist8
4 files changed, 23 insertions, 9 deletions
diff --git a/databases/rubygem-activerecord/Makefile b/databases/rubygem-activerecord/Makefile
index c7c4137..b88fb98 100644
--- a/databases/rubygem-activerecord/Makefile
+++ b/databases/rubygem-activerecord/Makefile
@@ -5,7 +5,7 @@
# $FreeBSD$
PORTNAME= activerecord
-PORTVERSION= 1.14.2
+PORTVERSION= 1.14.4
CATEGORIES= databases rubygems
MASTER_SITES= ${MASTER_SITE_RUBYFORGE}
MASTER_SITE_SUBDIR= ${PORTNAME}
@@ -24,6 +24,19 @@ OPTIONSFILE= ${PORT_DBDIR}/rubygem-${PORTNAME}/options
# to get RUBY_SITEARCHLIBDIR
USE_RUBY= yes
+# This target is only meant to be used by the port maintainer.
+x-generate-plist:
+ (${PORTSDIR}/Tools/scripts/plist -d -m ${MTREE_FILE} ${PREFIX} \
+ | ${SED} -E \
+ 's,.*share/nls/.+$$,,g \
+ ;s,^${GEM_CACHE}$$,%%GEM_CACHE%%,g \
+ ;s,${GEM_DOC_DIR}(/.+)?$$,%%GEM_DOC_DIR%%\1,g \
+ ;s,${GEM_LIB_DIR}(/.+)?$$,%%GEM_LIB_DIR%%\1,g \
+ ;s,^${GEM_SPEC}$$,%%GEM_SPEC%%,g \
+ ;s,^${GEMS_BASE_DIR}/(.+)$$,\1,g \
+ ;s,^@dirrm (${SPEC_DIR}|${GEMS_DIR}|lib/ruby).*$$,,g \
+ ' | ${TR} -s '\n') > temp-pkg-plist
+
.include <bsd.port.pre.mk>
.if defined(WITH_NATIVE_MYSQL)
diff --git a/databases/rubygem-activerecord/distinfo b/databases/rubygem-activerecord/distinfo
index 2853d7f..72a647e 100644
--- a/databases/rubygem-activerecord/distinfo
+++ b/databases/rubygem-activerecord/distinfo
@@ -1,3 +1,3 @@
-MD5 (rubygem/activerecord-1.14.2.gem) = 708c952b87d3a73c1cf2d14df781a472
-SHA256 (rubygem/activerecord-1.14.2.gem) = 181dcafb6fccfaf24473fd8869f138daf630bbbeb9afc11f46dbabce6930d177
-SIZE (rubygem/activerecord-1.14.2.gem) = 348672
+MD5 (rubygem/activerecord-1.14.4.gem) = 831a4398031e8177aea8985ebf5a27ac
+SHA256 (rubygem/activerecord-1.14.4.gem) = 290b7e60c9ee959d92d5bdc246e85486bb78a8b6f70b978d8ef6362c42dc07fc
+SIZE (rubygem/activerecord-1.14.4.gem) = 349696
diff --git a/databases/rubygem-activerecord/pkg-descr b/databases/rubygem-activerecord/pkg-descr
index 2a5b160..8ddcc27 100644
--- a/databases/rubygem-activerecord/pkg-descr
+++ b/databases/rubygem-activerecord/pkg-descr
@@ -5,7 +5,8 @@ mapping layer entitled Active Record. This layer allows you to present
the data from database rows as objects and embellish these data objects
with business logic methods.
-WWW: http://www.rubyonrails.com
+WWW: http://www.rubyonrails.org/
+WWW: http://rubyforge.org/projects/activerecord/
- Jonathan Weiss
jw@innerewut.de
diff --git a/databases/rubygem-activerecord/pkg-plist b/databases/rubygem-activerecord/pkg-plist
index 827a619..ea7705d 100644
--- a/databases/rubygem-activerecord/pkg-plist
+++ b/databases/rubygem-activerecord/pkg-plist
@@ -1,4 +1,4 @@
-%%CACHE_DIR%%/activerecord-%%PORTVERSION%%.gem
+%%GEM_CACHE%%
%%GEM_DOC_DIR%%/rdoc/classes/ActiveRecord/Acts/List/ClassMethods.html
%%GEM_DOC_DIR%%/rdoc/classes/ActiveRecord/Acts/List/ClassMethods.src/M000147.html
%%GEM_DOC_DIR%%/rdoc/classes/ActiveRecord/Acts/List/InstanceMethods.html
@@ -891,7 +891,7 @@
%%GEM_LIB_DIR%%/test/transactions_test.rb
%%GEM_LIB_DIR%%/test/unconnected_test.rb
%%GEM_LIB_DIR%%/test/validations_test.rb
-%%SPEC_DIR%%/activerecord-1.14.2.gemspec
+%%GEM_SPEC%%
@dirrm %%GEM_LIB_DIR%%/test/fixtures/subscribers
@dirrm %%GEM_LIB_DIR%%/test/fixtures/naked/yml
@dirrm %%GEM_LIB_DIR%%/test/fixtures/naked/csv
@@ -926,7 +926,7 @@
@dirrm %%GEM_LIB_DIR%%/lib/active_record
@dirrm %%GEM_LIB_DIR%%/lib
@dirrm %%GEM_LIB_DIR%%/examples
-@dirrm %%GEMS_DIR%%/activerecord-1.14.2
+@dirrm %%GEM_LIB_DIR%%
@dirrm %%GEM_DOC_DIR%%/rdoc/files/lib/active_record/wrappers
@dirrm %%GEM_DOC_DIR%%/rdoc/files/lib/active_record/vendor
@dirrm %%GEM_DOC_DIR%%/rdoc/files/lib/active_record/connection_adapters/abstract
@@ -1012,4 +1012,4 @@
@dirrm %%GEM_DOC_DIR%%/rdoc/classes/ActiveRecord
@dirrm %%GEM_DOC_DIR%%/rdoc/classes
@dirrm %%GEM_DOC_DIR%%/rdoc
-@dirrm %%DOC_DIR%%/activerecord-1.14.2
+@dirrm %%GEM_DOC_DIR%%
OpenPOWER on IntegriCloud