public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] repo/gentoo:master commit in: dev-ruby/rubygems/files/
@ 2016-10-31 12:09 Patrice Clement
  0 siblings, 0 replies; 5+ messages in thread
From: Patrice Clement @ 2016-10-31 12:09 UTC (permalink / raw
  To: gentoo-commits

commit:     25e37e78e2195bb92d1a35b063fe053aa7680950
Author:     Michael Mair-Keimberger (asterix) <m.mairkeimberger <AT> gmail <DOT> com>
AuthorDate: Mon Sep 26 16:24:09 2016 +0000
Commit:     Patrice Clement <monsieurp <AT> gentoo <DOT> org>
CommitDate: Mon Oct 31 11:59:14 2016 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=25e37e78

dev-ruby/rubygems: remove unused file.

Closes: https://github.com/gentoo/gentoo/pull/2416

Signed-off-by: Patrice Clement <monsieurp <AT> gentoo.org>

 dev-ruby/rubygems/files/10rubygems | 1 -
 1 file changed, 1 deletion(-)

diff --git a/dev-ruby/rubygems/files/10rubygems b/dev-ruby/rubygems/files/10rubygems
deleted file mode 100644
index f512216..00000000
--- a/dev-ruby/rubygems/files/10rubygems
+++ /dev/null
@@ -1 +0,0 @@
-RUBYOPT="-rauto_gem"


^ permalink raw reply related	[flat|nested] 5+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: dev-ruby/rubygems/files/
@ 2018-07-15 18:22 Hans de Graaff
  0 siblings, 0 replies; 5+ messages in thread
From: Hans de Graaff @ 2018-07-15 18:22 UTC (permalink / raw
  To: gentoo-commits

commit:     6022b0f4d356200dede844a86ce07439a15d46b0
Author:     Henning Schild <henning <AT> hennsch <DOT> de>
AuthorDate: Thu Jul 12 20:18:35 2018 +0000
Commit:     Hans de Graaff <graaff <AT> gentoo <DOT> org>
CommitDate: Sun Jul 15 18:20:17 2018 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6022b0f4

dev-ruby/rubygems: change init script from --chuid to --user

Change start-stop-daemon argument away from a deprecated one, that
commit gets rid of a warning when starting.

Signed-off-by: Henning Schild <henning <AT> hennsch.de>

 dev-ruby/rubygems/files/init.d-gem_server2 | 7 ++++---
 1 file changed, 4 insertions(+), 3 deletions(-)

diff --git a/dev-ruby/rubygems/files/init.d-gem_server2 b/dev-ruby/rubygems/files/init.d-gem_server2
index c7a6b6f1dc0..213d88b0bd6 100644
--- a/dev-ruby/rubygems/files/init.d-gem_server2
+++ b/dev-ruby/rubygems/files/init.d-gem_server2
@@ -1,5 +1,5 @@
 #!/sbin/openrc-run
-# Copyright 1999-2008 Gentoo Foundation
+# Copyright 1999-2018 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 
 PID=/var/run/gem_server.pid
@@ -10,8 +10,9 @@ depend() {
 
 start() {
 	ebegin "Starting gem_server"
-	start-stop-daemon --start --chuid nobody --quiet --background --make-pidfile \
-		 --pidfile ${PID} --exec /usr/bin/ruby -- /usr/bin/gem server ${GEM_SERVER_OPTS}
+	start-stop-daemon --start --user nobody --quiet --background \
+		--make-pidfile --pidfile ${PID} --exec /usr/bin/ruby -- \
+		/usr/bin/gem server ${GEM_SERVER_OPTS}
 	eend ${?}
 }
 


^ permalink raw reply related	[flat|nested] 5+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: dev-ruby/rubygems/files/
@ 2022-02-27  9:28 Hans de Graaff
  0 siblings, 0 replies; 5+ messages in thread
From: Hans de Graaff @ 2022-02-27  9:28 UTC (permalink / raw
  To: gentoo-commits

commit:     e00fc2f7c4d825b4c140086431d9379180aba7ab
Author:     Hans de Graaff <graaff <AT> gentoo <DOT> org>
AuthorDate: Sun Feb 27 07:17:40 2022 +0000
Commit:     Hans de Graaff <graaff <AT> gentoo <DOT> org>
CommitDate: Sun Feb 27 09:28:40 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e00fc2f7

dev-ruby/rubygems: remove unneccesary warning

Package-Manager: Portage-3.0.30, Repoman-3.0.3
Signed-off-by: Hans de Graaff <graaff <AT> gentoo.org>

 dev-ruby/rubygems/files/gentoo-defaults-5.rb | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/dev-ruby/rubygems/files/gentoo-defaults-5.rb b/dev-ruby/rubygems/files/gentoo-defaults-5.rb
index b6ac5554b121..817eb1eda4d5 100644
--- a/dev-ruby/rubygems/files/gentoo-defaults-5.rb
+++ b/dev-ruby/rubygems/files/gentoo-defaults-5.rb
@@ -35,8 +35,10 @@ module Gem
       path << gentoo_gems_dir
     end
 
+    undef :operating_system_defaults
     def operating_system_defaults
       options = "--install-dir #{gentoo_install_dir} --bindir #{gentoo_bindir}"
+
       {
         'install' => options,
         'uninstall' => options,


^ permalink raw reply related	[flat|nested] 5+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: dev-ruby/rubygems/files/
@ 2022-08-30 22:57 Conrad Kostecki
  0 siblings, 0 replies; 5+ messages in thread
From: Conrad Kostecki @ 2022-08-30 22:57 UTC (permalink / raw
  To: gentoo-commits

commit:     7cd0e9b6233cbf7a9ffb2ce77344e30e5d9862d3
Author:     Michael Mair-Keimberger <mmk <AT> levelnine <DOT> at>
AuthorDate: Tue Aug 30 17:00:57 2022 +0000
Commit:     Conrad Kostecki <conikost <AT> gentoo <DOT> org>
CommitDate: Tue Aug 30 22:57:34 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7cd0e9b6

dev-ruby/rubygems: remove unused files

Signed-off-by: Michael Mair-Keimberger <mmk <AT> levelnine.at>
Portage 3.0.30 / pkgdev 0.2.1 / pkgcheck 0.10.11
Closes: https://github.com/gentoo/gentoo/pull/27072
Signed-off-by: Conrad Kostecki <conikost <AT> gentoo.org>

 dev-ruby/rubygems/files/gentoo-defaults-3.rb | 63 ----------------------------
 dev-ruby/rubygems/files/gentoo-defaults.rb   | 42 -------------------
 2 files changed, 105 deletions(-)

diff --git a/dev-ruby/rubygems/files/gentoo-defaults-3.rb b/dev-ruby/rubygems/files/gentoo-defaults-3.rb
deleted file mode 100644
index 9d499b73f89d..000000000000
--- a/dev-ruby/rubygems/files/gentoo-defaults-3.rb
+++ /dev/null
@@ -1,63 +0,0 @@
-# frozen_string_literal: true
-
-# Gentoo defaults for rubygems 3.x
-#
-# Gentoo policy is to install all manually installed code into
-# /usr/local and to keep /usr managed by Gentoo. This policy file
-# ensures that all manually installed gems using "gem install" are
-# installed in /usr/local. Gentoo gems are installed in /usr.
-
-# TODO: We used to manipulate the default_dir, but this no longer
-# works since this is now the base for the new "default" gems that
-# ruby 2.6 uses with irb. So default_dir should refer to the system
-# default now. rubygems also provides various hooks so we may be able
-# to use those to install gems in /usr/local by default in a less
-# intrusive way.
-module Gem
-
-  class << self
-    def portage_gems_dir
-      ConfigMap[:sitelibdir].gsub('site_ruby', 'gems')
-    end
-
-    def local_dir
-      portage_gems_dir.gsub('@GENTOO_PORTAGE_EPREFIX@/usr',
-                            '@GENTOO_PORTAGE_EPREFIX@/usr/local')
-    end
-
-    def install_dir
-      Process.euid.zero? ? local_dir : user_dir
-    end
-
-    undef :default_path
-    def default_path
-      path = []
-      path << user_dir if user_home && File.exist?(user_home)
-      path << default_dir
-      path << vendor_dir if vendor_dir && File.directory?(vendor_dir)
-      path << local_dir
-      path << portage_gems_dir
-    end
-
-    def system_config_path
-      '@GENTOO_PORTAGE_EPREFIX@/etc'
-    end
-
-    # Set Gentoo defaults for gem commands
-    begin
-      undef :operating_system_defaults
-    rescue NameError
-      # Avoid either runtime errors or redefinition warnings since
-      # this method is not present in all rubygem versions distributed
-      # with dev-lang/ruby.
-    end
-    def operating_system_defaults
-      {
-        'install' => "--install-dir #{install_dir}",
-        'uninstall' => "--install-dir #{install_dir}",
-        'update' => "--install-dir #{install_dir}"
-      }
-    end
-
-  end
-end

diff --git a/dev-ruby/rubygems/files/gentoo-defaults.rb b/dev-ruby/rubygems/files/gentoo-defaults.rb
deleted file mode 100644
index a645f4868281..000000000000
--- a/dev-ruby/rubygems/files/gentoo-defaults.rb
+++ /dev/null
@@ -1,42 +0,0 @@
-module Gem
-
-  class << self
-    def portage_gems_dir
-      ConfigMap[:sitelibdir].gsub('site_ruby', 'gems')
-    end
-
-    def local_dir
-      portage_gems_dir.gsub('@GENTOO_PORTAGE_EPREFIX@/usr', '@GENTOO_PORTAGE_EPREFIX@/usr/local')
-    end
- 
-    undef :default_dir
-    def default_dir
-      Process.euid == 0 ? local_dir : user_dir
-    end
-
-    undef :default_path
-    def default_path
-      [user_dir, local_dir, portage_gems_dir]
-    end
-
-    undef :default_bindir
-    def default_bindir
-      Process.euid == 0 ? "@GENTOO_PORTAGE_EPREFIX@/usr/local/bin" : File.join(user_dir, 'bin')
-    end
-
-    undef :ruby_engine
-    def ruby_engine
-      if defined? RUBY_DESCRIPTION and RUBY_DESCRIPTION =~ /Ruby Enterprise Edition/
-        "rubyee"
-      else
-        # Ruby 1.8 and Ruby 1.9.2_rc2 and later install here, and JRuby
-        # rewrites that anyway.
-        "ruby"
-      end
-    end
-
-    def system_config_path
-      "@GENTOO_PORTAGE_EPREFIX@/etc"
-    end
-  end
-end


^ permalink raw reply related	[flat|nested] 5+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: dev-ruby/rubygems/files/
@ 2023-06-23 21:29 Conrad Kostecki
  0 siblings, 0 replies; 5+ messages in thread
From: Conrad Kostecki @ 2023-06-23 21:29 UTC (permalink / raw
  To: gentoo-commits

commit:     451ddf734cfe9a2395c36d93ebcb2565b41701fa
Author:     Michael Mair-Keimberger <mmk <AT> levelnine <DOT> at>
AuthorDate: Tue Jun 20 10:44:23 2023 +0000
Commit:     Conrad Kostecki <conikost <AT> gentoo <DOT> org>
CommitDate: Fri Jun 23 21:28:25 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=451ddf73

dev-ruby/rubygems: remove unused file

Signed-off-by: Michael Mair-Keimberger <mmk <AT> levelnine.at>
Closes: https://github.com/gentoo/gentoo/pull/31553
Signed-off-by: Conrad Kostecki <conikost <AT> gentoo.org>

 dev-ruby/rubygems/files/gentoo-defaults-4.rb | 63 ----------------------------
 1 file changed, 63 deletions(-)

diff --git a/dev-ruby/rubygems/files/gentoo-defaults-4.rb b/dev-ruby/rubygems/files/gentoo-defaults-4.rb
deleted file mode 100644
index 1da07f64ddef..000000000000
--- a/dev-ruby/rubygems/files/gentoo-defaults-4.rb
+++ /dev/null
@@ -1,63 +0,0 @@
-# frozen_string_literal: true
-
-# Gentoo defaults for rubygems 3.x
-#
-# Gentoo policy is to install all manually installed code into
-# /usr/local and to keep /usr managed by Gentoo. This policy file
-# ensures that all manually installed gems using "gem install" are
-# installed in /usr/local. Gentoo gems are installed in /usr.
-
-# TODO: We used to manipulate the default_dir, but this no longer
-# works since this is now the base for the new "default" gems that
-# ruby 2.6 uses with irb. So default_dir should refer to the system
-# default now. rubygems also provides various hooks so we may be able
-# to use those to install gems in /usr/local by default in a less
-# intrusive way.
-module Gem
-
-  class << self
-    def portage_gems_dir
-      RbConfig::CONFIG['sitelibdir'].gsub('site_ruby', 'gems')
-    end
-
-    def local_dir
-      portage_gems_dir.gsub('@GENTOO_PORTAGE_EPREFIX@/usr',
-                            '@GENTOO_PORTAGE_EPREFIX@/usr/local')
-    end
-
-    def install_dir
-      Process.euid.zero? ? local_dir : user_dir
-    end
-
-    undef :default_path
-    def default_path
-      path = []
-      path << user_dir if user_home && File.exist?(user_home)
-      path << default_dir
-      path << vendor_dir if vendor_dir && File.directory?(vendor_dir)
-      path << local_dir
-      path << portage_gems_dir
-    end
-
-    def system_config_path
-      '@GENTOO_PORTAGE_EPREFIX@/etc'
-    end
-
-    # Set Gentoo defaults for gem commands
-    begin
-      undef :operating_system_defaults
-    rescue NameError
-      # Avoid either runtime errors or redefinition warnings since
-      # this method is not present in all rubygem versions distributed
-      # with dev-lang/ruby.
-    end
-    def operating_system_defaults
-      {
-        'install' => "--install-dir #{install_dir}",
-        'uninstall' => "--install-dir #{install_dir}",
-        'update' => "--install-dir #{install_dir}"
-      }
-    end
-
-  end
-end


^ permalink raw reply related	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2023-06-23 21:29 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-07-15 18:22 [gentoo-commits] repo/gentoo:master commit in: dev-ruby/rubygems/files/ Hans de Graaff
  -- strict thread matches above, loose matches on Subject: below --
2023-06-23 21:29 Conrad Kostecki
2022-08-30 22:57 Conrad Kostecki
2022-02-27  9:28 Hans de Graaff
2016-10-31 12:09 Patrice Clement

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox