summaryrefslogtreecommitdiff
path: root/misc/rubygems/Makefile
diff options
context:
space:
mode:
authortaca <taca@pkgsrc.org>2012-04-22 08:11:54 +0000
committertaca <taca@pkgsrc.org>2012-04-22 08:11:54 +0000
commitc7fc86ea2296af4b433ae80aad0ae4c1553bd00d (patch)
tree2b06bd8001ffbc457a34ebe93f0dc6b9d0cee88e /misc/rubygems/Makefile
parent7b4c5729444852bf1b9c9f29358d65305621f809 (diff)
downloadpkgsrc-c7fc86ea2296af4b433ae80aad0ae4c1553bd00d.tar.gz
Update rubygems package to 1.8.23.
=== 1.8.23 / 2012-04-19 This release increases the security used when RubyGems is talking to an https server. If you use a custom RubyGems server over SSL, this release will cause RubyGems to no longer connect unless your SSL cert is globally valid. You can configure SSL certificate usage in RubyGems through the :ssl_ca_cert and :ssl_verify_mode options in ~/.gemrc and /etc/gemrc. The recommended way is to set :ssl_ca_cert to the CA certificate for your server or a certificate bundle containing your CA certification. You may also set :ssl_verify_mode to 0 to completely disable SSL certificate checks, but this is not recommended. * 2 security fixes: * Disallow redirects from https to http * Turn on verification of server SSL certs * 1 minor feature: * Add --clear-sources to fetch * 2 bug fixes: * Use File.identical? to check if two files are the same. * Fixed init_with warning when using psych === 1.8.22 / 2012-04-13 * 4 bug fixes: * Workaround for psych/syck YAML date parsing issue * Don't trust the encoding of ARGV. Fixes #307 * Quiet default warnings about missing spec variables * Read a binary file properly (windows fix) === 1.8.21 / 2012-03-22 * 2 bug fixes: * Add workaround for buggy yaml output from 1.9.2 * Force 1.9.1 to remove it's prelude code. Fixes #305 === 1.8.20 / 2012-03-21 * 4 bug fixes: * Add --force to `gem build` to skip validation. Fixes #297 * Gracefully deal with YAML::PrivateType objects in Marshal'd gemspecs * Treat the source as a proper url base. Fixes #304 * Warn when updating the specs cache fails. Fixes #300 === 1.8.19 / 2012-03-14 * 3 bug fixes: * Handle loading psych vs syck properly. Fixes #298 * Make sure Date objects don't leak in via Marshal * Perform Date => Time coercion on yaml loading. Fixes #266 === 1.8.18 / 2012-03-11 * 4 bug fixes: * Use Psych API to emit more compatible YAML * Download and write inside `gem fetch` directly. Fixes #289 * Honor sysconfdir on 1.8. Fixes #291 * Search everywhere for a spec for `gem spec`. Fixes #288 * Fix Gem.all_load_path. Fixes #171
Diffstat (limited to 'misc/rubygems/Makefile')
-rw-r--r--misc/rubygems/Makefile14
1 files changed, 9 insertions, 5 deletions
diff --git a/misc/rubygems/Makefile b/misc/rubygems/Makefile
index 2a1c99d0b4a..d4dfd926efa 100644
--- a/misc/rubygems/Makefile
+++ b/misc/rubygems/Makefile
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.46 2012/02/19 16:32:43 taca Exp $
+# $NetBSD: Makefile,v 1.47 2012/04/22 08:11:54 taca Exp $
-DISTNAME= rubygems-1.8.17
+DISTNAME= rubygems-1.8.23
CATEGORIES= misc ruby
MASTER_SITES= http://production.cf.rubygems.org/rubygems/ \
http://rubyforge.org/frs/download.php/75309/
@@ -44,8 +44,12 @@ FILES_SUBST+= RUBYGEM_NAME=${RUBYGEM_NAME}
GENERATE_PLIST+= \
${ECHO} "@comment The following lines are automatically generated." && \
cd ${DESTDIR}${PREFIX} && \
- ${FIND} ${GEM_DOCDIR:S|${PREFIX}/||} \! -type d -print | \
- ${SORT};
+ if [ -d ${GEM_DOCDIR:S|${PREFIX}/||} ]; then \
+ ${FIND} ${GEM_DOCDIR:S|${PREFIX}/||} \! -type d -print | \
+ ${SORT}; \
+ else \
+ :; \
+ fi
# Force the Gem repository to be under ${DESTDIR}. This is harmless
# because this package depends on no other gems.
@@ -54,7 +58,7 @@ INSTALL_ENV+= GEM_HOME=${DESTDIR}${PREFIX}/${GEM_HOME}
INSTALL_ENV+= GEM_PATH=${DESTDIR}${PREFIX}/${GEM_HOME}
INSTALL_TARGET= install
-INSTALL_TARGET+= --vendor
+INSTALL_TARGET+= --vendor --no-rdoc --no-ri
.if ${_USE_DESTDIR} != "no"
INSTALL_TARGET+= --destdir=${DESTDIR:Q}
.endif