head 1.8; access; symbols pkgsrc-2017Q1:1.7.0.18 pkgsrc-2017Q1-base:1.7 pkgsrc-2016Q4:1.7.0.16 pkgsrc-2016Q4-base:1.7 pkgsrc-2016Q3:1.7.0.14 pkgsrc-2016Q3-base:1.7 pkgsrc-2016Q2:1.7.0.12 pkgsrc-2016Q2-base:1.7 pkgsrc-2016Q1:1.7.0.10 pkgsrc-2016Q1-base:1.7 pkgsrc-2015Q4:1.7.0.8 pkgsrc-2015Q4-base:1.7 pkgsrc-2015Q3:1.7.0.6 pkgsrc-2015Q3-base:1.7 pkgsrc-2015Q2:1.7.0.4 pkgsrc-2015Q2-base:1.7 pkgsrc-2015Q1:1.7.0.2 pkgsrc-2015Q1-base:1.7 pkgsrc-2014Q4:1.6.0.12 pkgsrc-2014Q4-base:1.6 pkgsrc-2014Q3:1.6.0.10 pkgsrc-2014Q3-base:1.6 pkgsrc-2014Q2:1.6.0.8 pkgsrc-2014Q2-base:1.6 pkgsrc-2014Q1:1.6.0.6 pkgsrc-2014Q1-base:1.6 pkgsrc-2013Q4:1.6.0.4 pkgsrc-2013Q4-base:1.6 pkgsrc-2013Q3:1.6.0.2 pkgsrc-2013Q3-base:1.6 pkgsrc-2013Q2:1.5.0.2 pkgsrc-2013Q2-base:1.5 pkgsrc-2013Q1:1.3.0.14 pkgsrc-2013Q1-base:1.3 pkgsrc-2012Q4:1.3.0.12 pkgsrc-2012Q4-base:1.3 pkgsrc-2012Q3:1.3.0.10 pkgsrc-2012Q3-base:1.3 pkgsrc-2012Q2:1.3.0.8 pkgsrc-2012Q2-base:1.3 pkgsrc-2012Q1:1.3.0.6 pkgsrc-2012Q1-base:1.3 pkgsrc-2011Q4:1.3.0.4 pkgsrc-2011Q4-base:1.3 pkgsrc-2011Q3:1.3.0.2 pkgsrc-2011Q3-base:1.3 pkgsrc-2011Q2:1.2.0.8 pkgsrc-2011Q2-base:1.2 pkgsrc-2011Q1:1.2.0.6 pkgsrc-2011Q1-base:1.2 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.8 date 2017.04.22.18.09.12; author taca; state dead; branches; next 1.7; commitid Iv1dxNi8sdQ5EyOz; 1.7 date 2015.01.25.16.13.13; author taca; state Exp; branches; next 1.6; commitid 0JNO4xTqRGEAhq7y; 1.6 date 2013.09.10.16.33.29; author taca; state Exp; branches; next 1.5; commitid BL9G7Z2UIOP9wU4x; 1.5 date 2013.06.15.02.12.48; author taca; state Exp; branches; next 1.4; commitid K7yKQKfsTiMzzETw; 1.4 date 2013.06.11.14.55.54; author taca; state Exp; branches; next 1.3; commitid SPp1wZYhjtGPVcTw; 1.3 date 2011.08.12.15.50.44; author taca; state Exp; branches; 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 ; desc @@ 1.8 log @Remove rubygems package which is provided for ruby18 only. Other version of ruby2* pakcages have builtin rubygems. @ text @$NetBSD: patch-am,v 1.7 2015/01/25 16:13:13 taca Exp $ Make sure to setup under DESTDIR. --- lib/rubygems/commands/setup_command.rb.orig 2014-07-21 18:50:29.000000000 +0000 +++ lib/rubygems/commands/setup_command.rb @@@@ -145,7 +145,7 @@@@ By default, this RubyGems will install g uninstall_old_gemcutter - documentation_success = install_rdoc + documentation_success = install_rdoc install_destdir say if @@verbose then @@@@ -284,11 +284,15 @@@@ TEXT end end - def install_rdoc + def install_rdoc(install_destdir) gem_doc_dir = File.join Gem.dir, 'doc' rubygems_name = "rubygems-#{Gem::VERSION}" rubygems_doc_dir = File.join gem_doc_dir, rubygems_name + unless install_destdir.empty? + FileUtils.mkdir_p gem_doc_dir unless File.exist?(gem_doc_dir) + end + begin Gem.ensure_gem_subdirectories Gem.dir rescue SystemCallError @@@@ -299,7 +303,7 @@@@ TEXT (not File.exist? rubygems_doc_dir or File.writable? rubygems_doc_dir) then say "Removing old RubyGems RDoc and ri" if @@verbose - Dir[File.join(Gem.dir, 'doc', 'rubygems-[0-9]*')].each do |dir| + Dir[File.join(gem_doc_dir, 'rubygems-[0-9]*')].each do |dir| rm_rf dir end @ 1.7 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-am,v 1.6 2013/09/10 16:33:29 taca Exp $ @ 1.6 log @Update rubygems to 2.0.8. This includes a fix for CVE-2013-4287 in rubygems. === 2.0.8 / 2013-09-09 Security fixes: * RubyGems 2.0.7 and earlier are vulnerable to excessive CPU usage due to a backtracking in Gem::Version validation. See CVE-2013-4287 for full details including vulnerable APIs. Fixed versions include 2.0.8, 1.8.26 and 1.8.23.1 (for Ruby 1.9.3). Issue #626 by Damir Sharipov. Bug fixes: * Fixed Gem.clear_paths when Security is defined at top-level. Pull request #625 by elarkin === 2.0.7 / 2013-08-15 * Extensions may now be built in parallel (therefore gems may be installed in parallel). Bug #607 by Hemant Kumar. * Changed broken link to RubyGems Bookshelf to point to RubyGems guides. Ruby pull request #369 by 謝致邦. * Fixed various test failures due to platform differences or poor tests. Patches by Yui Naruse and Koichi Sasada. * Fixed documentation for Kernel#require. === 2.0.6 / 2013-07-24 Bug fixes: * Fixed the `--no-install` and `-I` options to `gem list` and friends. Bug #593 by Blargel. * Fixed crash when installing gems with extensions under the `-V` flag. Bug #601 by Nick Hoffman. * Fixed race condition retrieving HTTP connections in Gem::Request on JRuby. Bug #597 by Hemant Kumar. * Fixed building extensions on ruby 1.9.3 under mingw. Bug #594 by jonforums, Bug #599 by Chris Riesbeck * Restored default of remote search to `gem search`. === 2.0.5 / 2013-07-11 Bug fixes: * Fixed building of extensions that run ruby in their makefiles. Bug #589 by Zachary Salzbank. === 2.0.4 / 2013-07-09 Bug fixes: * Fixed error caused by gem install not finding the right platform for your platform. Bug #576 by John Anderson * Fixed pushing gems with the default host. Bug #495 by Utkarsh Kukreti * Improved unhelpful error message from `gem owner --remove`. Bug #488 by Steve Klabnik * Fixed typo in `gem spec` help. Pull request #563 by oooooooo * Fixed creation of build_info with --install-dir. Bug #457 by Vít Ondruch. * RubyGems converts non-string dependency names to strings now. Bug #505 by Terence Lee * Outdated prerelease versions are now listed in `gem outdated`. * RubyGems now only calls fsync() on the specification when installing, not every file from the gem. This improves the performance of gem installation on some systems. Pull Request #556 by Grzesiek Kolodziejczyk * Removed surprise search term anchoring in `gem search` to restore 1.8-like search behavior while still defaulting to --remote. Pull request #562 by Ben Bleything * Fixed handling of DESTDIR when building extensions. Pull request #573 by Akinori MUSHA * Fixed documentation of `gem pristine` defaults (--all is not a default). Pull request #577 by Shannon Skipper * Fixed a windows extension-building test failure. Pull request #575 by Hiroshi Shirosaki * Fixed issue with `gem update` where it would attempt to use a Version instead of a Requirement to find the latest gem. Fixes #570 by Nick Cox. * RubyGems now ignores an empty but set RUBYGEMS_HOST environment variable. Based on pull request #558 by Robin Dupret. * Removed duplicate creation of gem subdirectories in Gem::DependencyInstaller. Pull Request #456 by Vít Ondruch * RubyGems now works with Ruby built with `--with-ruby-version=''`. Pull Request #455 by Vít Ondruch * Fixed race condition when two threads require the same gem. Ruby bug report #8374 by Joel VanderWerf * Cleaned up siteconf between extension build and extension install. Pull request #587 by Dominic Cleal * Fix deprecation warnings when converting gemspecs to yaml. Ruby commit r41148 by Yui Naruse @ text @d1 1 a1 1 $NetBSD: patch-am,v 1.5 2013/06/15 02:12:48 taca Exp $ d5 1 a5 1 --- lib/rubygems/commands/setup_command.rb.orig 2013-09-09 23:41:27.000000000 +0000 @ 1.5 log @* Fix a problem of installing gem with Ruby 1.8.7 noted by David Holland. * Clean up patch files. Bump PKGREVISION. @ text @d1 1 a1 1 $NetBSD: patch-am,v 1.4 2013/06/11 14:55:54 taca Exp $ d5 1 a5 1 --- lib/rubygems/commands/setup_command.rb.orig 2013-03-11 20:40:09.000000000 +0000 d16 1 a16 14 @@@@ -162,7 +162,11 @@@@ By default, this RubyGems will install g release_notes = File.join Dir.pwd, 'History.txt' release_notes = if File.exist? release_notes then - history = File.read release_notes + if RUBY_VERSION != "1.8.7" + history = File.read release_notes, :encoding => 'utf-8' + else + history = File.read release_notes + end history = history.sub(/^# coding:.*?^=/m, '') text = history.split(HISTORY_HEADER) @@@@ -306,11 +310,15 @@@@ TEXT d33 1 a33 1 @@@@ -321,7 +329,7 @@@@ TEXT @ 1.4 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-am,v 1.3 2011/08/12 15:50:44 taca Exp $ d5 1 a5 1 --- lib/rubygems/commands/setup_command.rb.orig 2013-02-12 20:04:54.000000000 +0000 d7 1 a7 1 @@@@ -143,7 +143,7 @@@@ By default, this RubyGems will install g d16 1 a16 1 @@@@ -160,7 +160,11 @@@@ By default, this RubyGems will install g d29 1 a29 1 @@@@ -295,11 +299,15 @@@@ TEXT d46 1 a46 1 @@@@ -310,7 +318,7 @@@@ TEXT @ 1.3 log @Update rubygems package to 1.8.7 with adding compatibility to read older gemspec files. Changes are too may to write here, please refer History.txt file. @ text @d1 1 a1 1 $NetBSD: patch-am,v 1.2 2010/09/16 12:02:05 taca Exp $ d5 1 a5 1 --- lib/rubygems/commands/setup_command.rb.orig 2011-05-26 04:01:53.000000000 +0000 d7 1 a7 1 @@@@ -110,7 +110,7 @@@@ By default, this RubyGems will install g d11 2 a12 2 - install_rdoc + install_rdoc install_destdir d16 14 a29 1 @@@@ -221,16 +221,20 @@@@ TEXT d43 4 a46 1 if File.writable? gem_doc_dir and d51 1 a51 1 + Dir[File.join(gem_doc_dir, 'doc', 'rubygems-[0-9]*')].each do |dir| @ 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-am,v 1.1 2010/09/10 03:48:40 taca Exp $ d5 1 a5 1 --- lib/rubygems/commands/setup_command.rb.orig 2010-04-20 06:47:36.000000000 +0000 d7 1 a7 1 @@@@ -118,7 +118,7 @@@@ By default, this RubyGems will install g d16 1 a16 1 @@@@ -229,16 +229,20 @@@@ TEXT d35 1 a35 1 + Dir[File.join(gem_doc_dir, 'rubygems-[0-9]*')].each do |dir| @ 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/commands/setup_command.rb.orig 2009-06-26 00:43:45.000000000 +0000 d7 1 a7 1 @@@@ -117,7 +117,7 @@@@ By default, this RubyGems will install g d9 1 a9 1 say "RubyGems #{Gem::VERSION} installed" d16 1 a16 1 @@@@ -228,16 +228,20 @@@@ TEXT d23 1 a23 1 rubygems_name = "rubygems-#{Gem::RubyGemsVersion}" @