head 1.7; access; symbols pkgsrc-2017Q1:1.6.0.18 pkgsrc-2017Q1-base:1.6 pkgsrc-2016Q4:1.6.0.16 pkgsrc-2016Q4-base:1.6 pkgsrc-2016Q3:1.6.0.14 pkgsrc-2016Q3-base:1.6 pkgsrc-2016Q2:1.6.0.12 pkgsrc-2016Q2-base:1.6 pkgsrc-2016Q1:1.6.0.10 pkgsrc-2016Q1-base:1.6 pkgsrc-2015Q4:1.6.0.8 pkgsrc-2015Q4-base:1.6 pkgsrc-2015Q3:1.6.0.6 pkgsrc-2015Q3-base:1.6 pkgsrc-2015Q2:1.6.0.4 pkgsrc-2015Q2-base:1.6 pkgsrc-2015Q1:1.6.0.2 pkgsrc-2015Q1-base:1.6 pkgsrc-2014Q4:1.5.0.14 pkgsrc-2014Q4-base:1.5 pkgsrc-2014Q3:1.5.0.12 pkgsrc-2014Q3-base:1.5 pkgsrc-2014Q2:1.5.0.10 pkgsrc-2014Q2-base:1.5 pkgsrc-2014Q1:1.5.0.8 pkgsrc-2014Q1-base:1.5 pkgsrc-2013Q4:1.5.0.6 pkgsrc-2013Q4-base:1.5 pkgsrc-2013Q3:1.5.0.4 pkgsrc-2013Q3-base:1.5 pkgsrc-2013Q2:1.5.0.2 pkgsrc-2013Q2-base:1.5 pkgsrc-2013Q1:1.4.0.8 pkgsrc-2013Q1-base:1.4 pkgsrc-2012Q4:1.4.0.6 pkgsrc-2012Q4-base:1.4 pkgsrc-2012Q3:1.4.0.4 pkgsrc-2012Q3-base:1.4 pkgsrc-2012Q2:1.4.0.2 pkgsrc-2012Q2-base:1.4 pkgsrc-2012Q1:1.3.0.10 pkgsrc-2012Q1-base:1.3 pkgsrc-2011Q4:1.3.0.8 pkgsrc-2011Q4-base:1.3 pkgsrc-2011Q3:1.3.0.6 pkgsrc-2011Q3-base:1.3 pkgsrc-2011Q2:1.3.0.4 pkgsrc-2011Q2-base:1.3 pkgsrc-2011Q1:1.3.0.2 pkgsrc-2011Q1-base:1.3 pkgsrc-2010Q4:1.2.0.4 pkgsrc-2010Q4-base:1.2 pkgsrc-2010Q3:1.2.0.2 pkgsrc-2010Q3-base:1.2; locks; strict; comment @# @; 1.7 date 2017.04.22.18.09.12; author taca; state dead; branches; next 1.6; commitid Iv1dxNi8sdQ5EyOz; 1.6 date 2015.01.25.16.13.13; author taca; state Exp; branches; next 1.5; commitid 0JNO4xTqRGEAhq7y; 1.5 date 2013.06.11.14.55.54; author taca; state Exp; branches; next 1.4; commitid SPp1wZYhjtGPVcTw; 1.4 date 2012.04.22.08.11.54; author taca; state Exp; branches; next 1.3; 1.3 date 2011.03.23.14.35.05; author taca; state Exp; branches 1.3.10.1; next 1.2; 1.2 date 2010.09.16.12.02.05; author taca; state Exp; branches; next 1.1; 1.1 date 2010.09.10.03.48.40; author taca; state Exp; branches; next ; 1.3.10.1 date 2012.04.22.21.02.19; author spz; state Exp; branches; next ; desc @@ 1.7 log @Remove rubygems package which is provided for ruby18 only. Other version of ruby2* pakcages have builtin rubygems. @ text @$NetBSD: patch-ao,v 1.6 2015/01/25 16:13:13 taca Exp $ Don't hard code config file's path for gem. --- lib/rubygems/config_file.rb.orig 2014-09-04 20:56:50.000000000 +0000 +++ lib/rubygems/config_file.rb @@@@ -57,32 +57,7 @@@@ class Gem::ConfigFile # :stopdoc: - SYSTEM_CONFIG_PATH = - begin - require "etc" - Etc.sysconfdir - rescue LoadError, NoMethodError - begin - # TODO: remove after we drop 1.8.7 and 1.9.1 - require 'Win32API' - - CSIDL_COMMON_APPDATA = 0x0023 - path = 0.chr * 260 - if RUBY_VERSION > '1.9' then - SHGetFolderPath = Win32API.new 'shell32', 'SHGetFolderPath', 'PLPLP', - 'L', :stdcall - SHGetFolderPath.call nil, CSIDL_COMMON_APPDATA, nil, 1, path - else - SHGetFolderPath = Win32API.new 'shell32', 'SHGetFolderPath', 'LLLLP', - 'L' - SHGetFolderPath.call 0, CSIDL_COMMON_APPDATA, 0, 1, path - end - - path.strip - rescue LoadError - RbConfig::CONFIG["sysconfdir"] || "/etc" - end - end + SYSTEM_CONFIG_PATH = '@@PKG_SYSCONFDIR@@' # :startdoc: @ 1.6 log @Update rubygems to 2.4.5 and make this package for ruby18 only. Changes are too many to write here, please refer rubygem's github: https://github.com/rubygems/rubygems/blob/master/History.txt. @ text @d1 1 a1 1 $NetBSD: patch-ao,v 1.5 2013/06/11 14:55:54 taca Exp $ @ 1.5 log @Update rubygems to 2.0.3. THere are too many changes to write here, please refer these release notes. http://blog.rubygems.org/2013/03/11/2.0.3-released.html http://blog.rubygems.org/2013/03/06/2.0.2-released.html http://blog.rubygems.org/2013/03/05/2.0.1-released.html http://blog.rubygems.org/2013/02/24/2.0.0-released.html http://blog.rubygems.org/2013/02/08/2.0.0.rc.2-released.html http://blog.rubygems.org/2012/12/03/2.0.0-preview2.html @ text @d1 1 a1 1 $NetBSD: patch-ao,v 1.4 2012/04/22 08:11:54 taca Exp $ d5 1 a5 1 --- lib/rubygems/config_file.rb.orig 2013-02-12 20:04:55.000000000 +0000 d7 1 a7 1 @@@@ -56,32 +56,7 @@@@ class Gem::ConfigFile d11 1 a11 1 - system_config_path = d37 1 a37 1 + system_config_path = '@@PKG_SYSCONFDIR@@' @ 1.4 log @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 @ text @d1 1 a1 1 $NetBSD: patch-ao,v 1.3 2011/03/23 14:35:05 taca Exp $ d5 1 a5 1 --- lib/rubygems/config_file.rb.orig 2012-03-22 21:25:48.000000000 +0000 d7 1 a7 1 @@@@ -47,32 +47,7 @@@@ class Gem::ConfigFile d9 1 a9 1 PLATFORM_DEFAULTS = {} d39 1 a39 1 SYSTEM_WIDE_CONFIG_FILE = File.join system_config_path, 'gemrc' @ 1.3 log @Update rubygems package to 1.6.2. For complete changes, please refer: https://github.com/rubygems/rubygems/blob/master/History.txt @ text @d1 1 a1 1 $NetBSD: patch-ao,v 1.2 2010/09/16 12:02:05 taca Exp $ d5 1 a5 1 --- lib/rubygems/config_file.rb.orig 2011-02-26 20:40:09.000000000 +0000 d7 1 a7 1 @@@@ -45,32 +45,7 @@@@ class Gem::ConfigFile d34 1 a34 1 - "/etc" @ 1.3.10.1 log @Pullup ticket #3750 - requested by taca misc/rubygems: security fix Revisions pulled up: - misc/rubygems/Makefile 1.47 - misc/rubygems/PLIST 1.20 - misc/rubygems/distinfo 1.37 - misc/rubygems/patches/patch-aa 1.12 - misc/rubygems/patches/patch-ao 1.4 ------------------------------------------------------------------- Module Name: pkgsrc Committed By: taca Date: Sun Apr 22 08:11:54 UTC 2012 Modified Files: pkgsrc/misc/rubygems: Makefile PLIST distinfo pkgsrc/misc/rubygems/patches: patch-aa patch-ao Log Message: 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 To generate a diff of this commit: cvs rdiff -u -r1.46 -r1.47 pkgsrc/misc/rubygems/Makefile cvs rdiff -u -r1.19 -r1.20 pkgsrc/misc/rubygems/PLIST cvs rdiff -u -r1.36 -r1.37 pkgsrc/misc/rubygems/distinfo cvs rdiff -u -r1.11 -r1.12 pkgsrc/misc/rubygems/patches/patch-aa cvs rdiff -u -r1.3 -r1.4 pkgsrc/misc/rubygems/patches/patch-ao @ text @d1 1 a1 1 $NetBSD$ d5 1 a5 1 --- lib/rubygems/config_file.rb.orig 2012-03-22 21:25:48.000000000 +0000 d7 1 a7 1 @@@@ -47,32 +47,7 @@@@ class Gem::ConfigFile d34 1 a34 1 - RbConfig::CONFIG["sysconfdir"] || "/etc" @ 1.2 log @Update rubygems to 1.3.7. o pkgsrc changes: * Add patches to keep output of specification sub-command as before. * Make sure to 'yaml is loaded in Gem::Specification::from_yaml(). === 1.3.7 / 2010-05-13 NOTE: http://rubygems.org is now the default source for downloading gems. You may have sources set via ~/.gemrc, so you should replace http://gems.rubyforge.org with http://rubygems.org http://gems.rubyforge.org will continue to work for the forseeable future. New features: * `gem` commands * `gem install` and `gem fetch` now report alternate platforms when a matching one couldn't be found. * `gem contents` --prefix is now the default as specified in --help. Bug #27211 by Mamoru Tasaka. * `gem fetch` can fetch of old versions again. Bug #27960 by Eric Hankins. * `gem query` and friends output now lists platforms. Bug #27856 by Greg Hazel. * `gem server` now allows specification of multiple gem dirs for documentation. Bug #27573 by Yuki Sonoda. * `gem unpack` can unpack gems again. Bug #27872 by Timothy Jones. * `gem unpack` now unpacks remote gems. * --user-install is no longer the default. If you really liked it, see Gem::ConfigFile to learn how to set it by default. (This change was made in 1.3.6) * RubyGems now has platform support for IronRuby. Patch #27951 by Will Green. Bug fixes: * Require rubygems/custom_require if --disable-gem was set. Bug #27700 by Roger Pack. * RubyGems now protects against exceptions being raised by plugins. * rubygems/builder now requires user_interaction. Ruby Bug #1040 by Phillip Toland. * Gem::Dependency support #version_requirements= with a warning. Fix for old Rails versions. Bug #27868 by Wei Jen Lu. * Gem::PackageTask depends on the package dir like the other rake package tasks so dependencies can be hooked up correctly. === 1.3.6 / 2010-02-17 New features: * `gem` commands * Added `gem push` and `gem owner` for interacting with modern/Gemcutter sources * `gem dep` now supports --prerelease. * `gem fetch` now supports --prerelease. * `gem server` now supports --bind. Patch #27357 by Bruno Michel. * `gem rdoc` no longer overwrites built documentation. Use --overwrite force rebuilding. Patch #25982 by Akinori MUSHA. * Captial letters are now allowed in prerelease versions. Bug fixes: * Development deps are no longer added to rubygems-update gem so older versions can update sucessfully. * Installer bugs: * Prerelease gems can now depend on non-prerelease gems. * Development dependencies are ignored unless explicitly needed. Bug #27608 by Roger Pack. * `gem` commands * `gem which` now fails if no paths were found. Adapted patch #27681 by Caio Chassot. * `gem server` no longer has invalid markup. Bug #27045 by Eric Young. * `gem list` and friends show both prerelease and regular gems when --prerelease --all is given * Gem::Format no longer crashes on empty files. Bug #27292 by Ian Ragsdale. * Gem::GemPathSearcher handles nil require_paths. Patch #27334 by Roger Pack. * Gem::RemoteFetcher no longer copies the file if it is where we want it. Patch #27409 by Jakub Stastny. Deprecation Notices: * lib/rubygems/timer.rb has been removed. * Gem::Dependency#version_requirements is deprecated and will be removed on or after August 2010. * Bulk index update is no longer supported. * Gem::manage_gems was removed in 1.3.3. * Time::today was removed in 1.3.3. @ text @d1 1 a1 1 $NetBSD: patch-ao,v 1.1 2010/09/10 03:48:40 taca Exp $ d5 1 a5 1 --- lib/rubygems/config_file.rb.orig 2010-02-16 04:14:16.000000000 +0000 d7 1 a7 1 @@@@ -45,26 +45,7 @@@@ class Gem::ConfigFile d13 6 a18 1 - require 'Win32API' d20 15 a34 10 - CSIDL_COMMON_APPDATA = 0x0023 - path = 0.chr * 260 - if RUBY_VERSION > '1.9' then - SHGetFolderPath = Win32API.new 'shell32', 'SHGetFolderPath', 'PLPLP', - 'L', :stdcall - SHGetFolderPath.call nil, CSIDL_COMMON_APPDATA, nil, 1, path - else - SHGetFolderPath = Win32API.new 'shell32', 'SHGetFolderPath', 'LLLLP', - 'L' - SHGetFolderPath.call 0, CSIDL_COMMON_APPDATA, 0, 1, path a35 4 - - path.strip - rescue LoadError - '/etc' @ 1.1 log @* take maintainer ship. * Add LICENSE. * Adjust new ruby packages' framework. * Command name is gem${RUBY_VER} == gem18 now and add ALTERNATIVES. * Add comments to patches. * Overhalt --install_root option. * Avoid access HOME when --install_root is enabled. * honor PKG_SYSCONFDIR. Bump PKGREVISION. @ text @d1 1 a1 1 $NetBSD$ d5 1 a5 1 --- lib/rubygems/config_file.rb.orig 2009-06-25 21:37:14.000000000 +0000 d7 1 a7 1 @@@@ -29,26 +29,7 @@@@ class Gem::ConfigFile @