delete rubygems

git-svn-id: https://svn.disconnected-by-peer.at/svn/linamh/trunk/linamh@1070 6952d904-891a-0410-993b-d76249ca496b
This commit is contained in:
geos_one 2009-04-18 06:05:49 +00:00
parent 82bead11d4
commit 6562ab098c
24 changed files with 14 additions and 620 deletions

View File

@ -1,5 +1,6 @@
AUX liblightscribe-gcc43-1.patch 717 RMD160 9292377e27207bdc66e4a01632467f15448239ab SHA1 8e64ad6c7522b11c62b6ee1fbea7800f531c96c3 SHA256 832c4f2ae472c308499af7dcee11afb42a7a241b5f1133847105fc36303d806a
DIST lightscribePublicSDK-1.14.32.1-linux-2.6-intel.rpm 622100 RMD160 42ee805c828e2d4302a889c4f73fe7c225eaca05 SHA1 8645933eefdc84dc4d775601da94253cf0519e6e SHA256 34aea8ce43dc2887e9c99c995e2af1d16d82f773fccd3fa7f674ac05600828e8
EBUILD lightscribe-lsprint-1.14.32.1-r1.ebuild 1833 RMD160 29796bdf32f98150e92a6cf074ef07f451003454 SHA1 42cc612d4137ca51394c14a03cbaddbf62c129c6 SHA256 adead5c1836263a56b27889fedca05cfb269fde6a4c62cce3b786b51125572f2
EBUILD lightscribe-lsprint-1.14.32.1.ebuild 1450 RMD160 f1bff13702252d0183bb03279879d23cd4b0f081 SHA1 9e92cd606c66f731a151a9863a796a18250dcdd1 SHA256 1609e67514172986688b250ba64db585d9153bbf67e36bb19c0eeb8aa022e580
MISC ChangeLog 435 RMD160 1857956e375311f8d0329bbc247ccfa0afcd154f SHA1 20847a44895348f2d44c00f7998459cfa32ee74e SHA256 8e3c89b8f32da6b24593ff89fc4ed59beda101a85ef2405a00dd0a7fc07f29f2
MISC metadata.xml 170 RMD160 645927a396fdc21cdeb089fe42c5397332420ea6 SHA1 ac7f48a14fec325926f9ce1be8fbf1f311b4f2e4 SHA256 d797a2ec6f9dc516c9f9c1a758ee87ad3e8c43101b5dc76c2f872d5bd4639b42

View File

@ -1,10 +1,11 @@
AUX qlscribe-0.10-gentoo-3.patch 2041 RMD160 cdbcdf23a4d89c48426d3a8c19fa78e2ed375f61 SHA1 005ec9268c3ae75af232a66e8a66d25d738aae89 SHA256 dc697f6c5f83af24104871888a7b72444e82fb06c5d1d8893f2d7ee560811197
AUX qlscribe-0.11-gentoo-4.patch 948 RMD160 5493345e6bd47f35da8fce04711b56ecf819465f SHA1 d58e36a2eabc4915a2cad62e729f9bfbb51c3251 SHA256 183d70e66517bfd5f5187d8144c965bdd05cb74835016de4091ba4257495195b
AUX qlscribe-0.9-gentoo-2.patch 2677 RMD160 174d1990547d034ccc129e5b1b2a453203ba5e85 SHA1 951f475479291e5b57d57e4b878662c8dfde2ca6 SHA256 d30fdfbefecdb813deecff48a585751c48c4598035c6d2490c6f99fbda0d8fee
DIST qlscribe-0.10.tar.gz 88774 RMD160 19e8a0eed3f1c4a754282fbedd6b91b526980a2c SHA1 06a54518b3c7848d431d7c84735e2931a7574d3e SHA256 43c30a8f799d8ac976117d776c6bcf1d0a6f9dc8a8cfa08010b1f4c17828aaa6
DIST qlscribe-0.11.tar.gz 90354 RMD160 ba2d355e0b465c3a3e79cdeae5a1875abcc60ab6 SHA1 da3904d0755204281fac44a5bdb8c4016d8b03e8 SHA256 02fe8ca52fde61cd3e54ecdd492f441404d871cbfb4af1a0db942f4198f37022
DIST qlscribe-0.9.tar.gz 88106 RMD160 68fdff43e8f09654a3c3e70f4c9fdd7f0b7f5990 SHA1 7eb24180003629e02e6c783cd00013d038ecb505 SHA256 8f77ba545e95d9684530bfc4998ebc913fcfad912a66b7201eaff5279145cbeb
EBUILD qlscribe-0.10.ebuild 1321 RMD160 a0ea5bd729110cff0c93b9aaa802f7aa74bc8449 SHA1 bdc4c7c965dd0a95204d7e3cea39c65d898791b2 SHA256 87240222a2b5f1acc6101347afc460d4d20829582e9c064aed7bef9c9d99d679
EBUILD qlscribe-0.11.ebuild 1229 RMD160 7d9a65837ccbf40372885d76a51af490994187f4 SHA1 2664f5e8ff7e4827dc17a9f34734d7884481d5a4 SHA256 747abf539a34c676a53de6dceaf779195d533d7267ff9272d7127cf484e03d57
EBUILD qlscribe-0.11.ebuild 1396 RMD160 dc9ef6a6e7a86e38b817d23c1470dc24ea024708 SHA1 a067d760d08b47d78fa2b9b23008572c484c2fd8 SHA256 8591edcb2b28ef75138451b8ca4b2b43e44f728b629a7706317fcbb329e02244
EBUILD qlscribe-0.9.ebuild 1321 RMD160 9e769bc4146f65ecb5f3ebf607a27c1face4e54a SHA1 61d7771c1eabd44037da24db07fdf0a371f77c7d SHA256 a412becb963eae3118fd15bbf9084782ac006337587fcc10cbc2982a252b3d69
MISC ChangeLog 1094 RMD160 aad6e3b3867f9c694353f52bd60fb8f1c0fd683b SHA1 37936da162bef5b270f7989ae25777ca2b8eb3de SHA256 98ccc01afa345ccbb19d296f2d4ba7e3d426eb2d7f75113a8cee92fde1516f85
MISC metadata.xml 1238 RMD160 c82938e77f387291d6a1c3bf9b0d802f2878dd12 SHA1 b5738f14922c69e78cfb867acdc65eeea25977bf SHA256 2c13f98be5fa8bdaf21ac86bcd00bbeb8944df5615de0cfce35ae4c00ef4b4d5

View File

@ -21,7 +21,12 @@ RDEPEND="${DEPEND}
dev-util/cmake[qt4]"
mycmakeargs="-DDBUS_SYSTEM_POLICY_DIR=/etc/dbus-1/system.d
-DDBUS_SYSTEM_SERVICE_DIR=/usr/share/dbus-1/services"
-DDBUS_SYSTEM_SERVICE_DIR=/usr/share/dbus-1/services
-DLSRPATH=/usr/lib32/libstdc++-v3:/usr/lib/libstdc++-v3"
src_prepare() {
epatch "${FILESDIR}"/${P}-gentoo-4.patch || die "Error applying patch"
}
src_compile() {
# hack in Library path cant use get_libdir as it would change vars used in the build

View File

@ -1,20 +0,0 @@
AUX 0.8.11-install.rb.extract_files.patch 1416 RMD160 1af89ae0536a8139a849e66a71e27c205b1a5a0a SHA1 f7feb72e775ddaf48b455f66a719575306e4e09b SHA256 801106efb151be063fca60dd3eed4a981424e4a7ce65f60eb97606453ebffde2
AUX 10rubygems 21 RMD160 02441be7de6307bbb859fbc2bf5891809fe9ecf8 SHA1 3f98150bfb39a3f3f1dfabcf2d9bf80051960d81 SHA256 8c30de9ba7f327237af47f85d8f7f6701d34c9a8780ff7303244667568ca5833
AUX auto_gem.rb 159 RMD160 fbf261e5cf0a8450c51c33a7ad4dafbab21bd518 SHA1 8dde3d73f65998f4c5552924ad49e1441e1b211d SHA256 fe1efe24cd0ba36c55449e9623cd0be394980f37d12468624dad7ffdef72f4dc
AUX conf.d-gem_server 81 RMD160 8c5c57e989e009b87fcb345185f3f1e3acaf517d SHA1 4d43d760253a478adbce597148ff1c4e414e8eea SHA256 aa850780bebe0e31da9732d8707a748567ca72716fd91e294dc712e71f82db2f
AUX init.d-gem_server 502 RMD160 9fe089f462edff052e6b7fa6ea3803e0178f41ef SHA1 e00ead252760613865f5e655ff2e559e7578d28f SHA256 b6166c27021880ee1509eb68092f0d3d0550adb9d6b0dcb9396c91c725c5218e
AUX init.d-gem_server2 502 RMD160 baf764bc5ad41adce73576b2376093744ddd3917 SHA1 ad332343eab53b4be8d796999063ec2018245a4b SHA256 b7f7d215bb3dba02150dbdc431a84308010515ad4c5d9776d0dd5b99bf9a2cee
AUX no-manage_gems.patch 472 RMD160 e70f8c939f4e35a5fb7e0ccc3935cda8089fd569 SHA1 eca009a56418bf076c1153d2a71ab4fe3a576f8a SHA256 36a4a5cca5c32185f5057934f10c28704f64ba1cb586120f20473875413b9f93
AUX no-system-rubygems.patch 376 RMD160 05d535ae617b5d712f53883f4eaf614e3cd941c4 SHA1 74fa2092861b2e4a27d2e5c4de5c2887a99b4fe1 SHA256 94814341463b76ef1a56455ad89a880e69c276f32c07931758a5e7c7d693dac9
AUX no_post_install.patch 204 RMD160 e903ea665032f9695b7a05ec4b7b46f1351afcc2 SHA1 ba6f291af9552df9d134d5e4ef76c70ca0a0419a SHA256 85fb8720c63c3b3ff5257acd7b3be9a370f13364c800189006f7b9d4954ad536
AUX rubygems-0.9.1-no_post_install.patch 317 RMD160 5fc0efc85cacfca6a6f4f59e0d6c7c1159c0ce1a SHA1 06141b0b5b9a2b7ec51befe0b118f53b230eb5f0 SHA256 c0cad34d968f6082f637c9144fc6075a6da383d7c2828a96574e5622d6619ee6
AUX rubygems-0.9.1-no_rdoc_install.patch 327 RMD160 088ebdd6ff4a5df74f1e741eab56cea61f90bad8 SHA1 c000e3575accede2220acec7e312821841f66d3b SHA256 2bd1d7637843b66148f50a8bb9b2c6ea55c6f19a7d25413bc978f3aac18ebcba
AUX rubygems-0.9.4-shebang-env-fix.patch 1064 RMD160 c9532f60054199cd4c2a2e305e114a28eb929bfa SHA1 d2e4a561a53f667de6ec1f9e66b56dc18b729c63 SHA256 50402d910bf01e59f68d4aba4aedd5218ecd927d13fe2aa84fbd36b893c1c22e
AUX rubygems-0.9.5-setup.patch 1794 RMD160 3b417ae647a187dbfa27aeca41c045a5e593400c SHA1 e3216b98fa73790c5294e429814a4afa6479d202 SHA256 1c516056489c760de1aa2bdd826c763cfb72193f9b038023499f7b08bec7579a
AUX rubygems-1.1.0-dependency-installer-install-dir-fix.patch 664 RMD160 e065cdfb53d9ee441f2f99bec0277eceb8b1ef4c SHA1 5042cfa95c50cf882f1d6e54371763e49ef557c6 SHA256 0a3a4800cc61e6afa47f1abe9e580f90f4b8e3134e51f24cb8cf526951336744
AUX rubygems-1.1.0-setup.patch 1522 RMD160 f29438e5caa31660f7c0059b0c91713cda492c14 SHA1 687014af8a563462e497ab386fb8f81894f3458d SHA256 ed36f08538ef915d97015d51294cdb7327ee8f0eec8b581bcd09da11ba147849
AUX rubygems-1.1.1-setup.patch 1555 RMD160 f36324fb0b4092d7af330a55db19c2de70b8a66b SHA1 07f6c0d5f32640fdd3762c56caf184004c687d47 SHA256 9f8006fdf6d43a97773029ce695ed384ae0bd6ea3e5ad18c64c8e8ea8babc86d
AUX rubygems-1.2.0-setup-notmpdir.patch 1921 RMD160 514031631120221cd40d22cfce67b55661fba672 SHA1 460401b0c0c87059dc1beae812418745b325fa8b SHA256 de57ba7fd0db3c55cce75333c606c200aef8c0c768f63287878d27f8fd0c6f8b
AUX rubygems-1.2.0-setup.patch 1534 RMD160 e253b5bf4b21a79e67bd4809cb0decad87240a77 SHA1 15dcec952759233a257dfb825df4ad05fac24e26 SHA256 a95b44921346f82384a5799cc92e2a4a8abde8e6073693349eb3c28d928c09c5
DIST rubygems-1.2.0.tgz 246920 RMD160 c66444cc3f372f7170ba1d8ef3c456052acb2bde SHA1 89f8e35f03e1e8057cc8e237f2df025642653dde SHA256 28af450a85fd74ae8bd315023cbeeff98a132720978fa009199f6c95f4bb372d
EBUILD rubygems-1.2.0-r1.ebuild 2853 RMD160 83a9baece490c9e94f31a61a3fafb22e11387bb9 SHA1 5c4cad9de60ebcd5ac2537471755578dc365c64f SHA256 95727c740d28436010018c79c54e419fb94eef29411376671661564bb0c776e2

View File

@ -1,42 +0,0 @@
Index: lib/rubygems/installer.rb
===================================================================
--- lib/rubygems/installer.rb (revision 1195)
+++ lib/rubygems/installer.rb (working copy)
@@ -7,6 +7,8 @@ require 'rubygems/dependency_list'
module Gem
+ class InstallError < Gem::Exception; end
+
class DependencyRemovalException < Gem::Exception; end
##
@@ -321,14 +323,20 @@ TEXT
#
def extract_files(directory, format)
require 'fileutils'
- wd = Dir.getwd
- Dir.chdir directory do
- format.file_entries.each do |entry, file_data|
- path = entry['path']
- FileUtils.mkdir_p File.dirname(path)
- File.open(path, "wb") do |out|
- out.write file_data
- end
+ format.file_entries.each do |entry, file_data|
+ path = entry['path']
+ if path =~ /\A\// then # for extra sanity
+ raise Gem::InstallError,
+ "attempt to install file into #{entry['path'].inspect}"
+ end
+ path = File.expand_path File.join(directory, path)
+ if path !~ /\A#{Regexp.escape(File.expand_path(directory))}/ then
+ raise Gem::InstallError,
+ "attempt to install file into #{entry['path'].inspect}"
+ end
+ FileUtils.mkdir_p File.dirname(path)
+ File.open(path, "wb") do |out|
+ out.write file_data
end
end
end

View File

@ -1 +0,0 @@
RUBYOPT="-rauto_gem"

View File

@ -1,7 +0,0 @@
# This file is installed by Gentoo's rubygems package.
# It's intended to help automate the loading of rubygems
begin
require 'rubygems'
rescue LoadError
end

View File

@ -1,5 +0,0 @@
# /etc/conf.d/gem_server
# See `gem_server --help` for more
GEM_SERVER_OPTS=""

View File

@ -1,22 +0,0 @@
#!/sbin/runscript
# Copyright 1999-2007 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
PID=/var/run/gem_server.pid
depend() {
need localmount net
}
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}
eend ${?}
}
stop() {
ebegin "Stopping gem_server"
start-stop-daemon --stop --pidfile ${PID}
eend ${?}
}

View File

@ -1,22 +0,0 @@
#!/sbin/runscript
# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
PID=/var/run/gem_server.pid
depend() {
need localmount net
}
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}
eend ${?}
}
stop() {
ebegin "Stopping gem_server"
start-stop-daemon --stop --pidfile ${PID}
eend ${?}
}

View File

@ -1,13 +0,0 @@
diff -ur rubygems-0.8.11/post-install.rb rubygems-0.8.11.new/post-install.rb
--- rubygems-0.8.11/post-install.rb 2005-07-10 06:18:40.000000000 +0700
+++ rubygems-0.8.11.new/post-install.rb 2007-01-26 22:05:18.000000000 +0700
@@ -61,7 +61,8 @@
def install_sources
$: << "lib"
require 'rubygems'
- Gem::manage_gems
+ require 'rubygems/builder'
+ require 'rubygems/installer'
Dir.chdir("pkgs/sources") do
load "sources.gemspec"
spec = Gem.sources_spec

View File

@ -1,12 +0,0 @@
diff -ur rubygems-0.9.0/post-install.rb rubygems-0.9.0.new/post-install.rb
--- rubygems-0.9.0/post-install.rb 2006-06-07 10:39:53.000000000 +0700
+++ rubygems-0.9.0.new/post-install.rb 2007-01-28 16:53:13.000000000 +0700
@@ -65,7 +65,7 @@
end
def install_sources
- $: << "lib"
+ $:.unshift "lib"
require 'rubygems'
Gem::manage_gems
Dir.chdir("pkgs/sources") do

View File

@ -1,9 +0,0 @@
--- post-install.rb.orig 2005-10-20 10:46:25.000000000 -0500
+++ post-install.rb 2005-10-20 10:46:29.000000000 -0500
@@ -71,6 +71,5 @@
end
install_windows_batch_files
-remove_stubs
install_sources

View File

@ -1,9 +0,0 @@
diff -ur rubygems-0.9.1/post-install.rb rubygems-0.9.1.new/post-install.rb
--- rubygems-0.9.1/post-install.rb 2007-01-16 07:31:27.000000000 +0700
+++ rubygems-0.9.1.new/post-install.rb 2007-01-17 20:05:04.000000000 +0700
@@ -117,5 +117,4 @@
remove_old_rdoc
install_rdoc
install_windows_batch_files
-remove_stubs

View File

@ -1,11 +0,0 @@
diff -ur rubygems-0.9.1/post-install.rb rubygems-0.9.1.new/post-install.rb
--- rubygems-0.9.1/post-install.rb 2007-01-17 20:18:48.000000000 +0700
+++ rubygems-0.9.1.new/post-install.rb 2007-01-17 20:18:24.000000000 +0700
@@ -114,7 +114,5 @@
end
install_sources
-remove_old_rdoc
-install_rdoc
install_windows_batch_files

View File

@ -1,20 +0,0 @@
This patch is taken from r1441 of rubygems's SVN repository to fix
rewriting of /usr/bin/env shebang patch with additional arguments to
the ruby interpreter. Without the patch the regexp would not match,
leaving the /usr/bin/env in place. This causes problems on platforms
that pass the remainder of the shebang line as a single argument, such
as Linux. See bug #199378 for all the details.
This patch should no longer be needed with rubygems 0.9.5.
--- lib/rubygems/installer.rb.~1~ 2007-05-10 21:01:45.000000000 +0200
+++ lib/rubygems/installer.rb 2007-11-18 14:18:31.000000000 +0100
@@ -254,7 +254,7 @@
path_to_ruby = File.join(Config::CONFIG['bindir'], Config::CONFIG['ruby_install_name'])
if first_line =~ /^#!/
# Preserve extra words on shebang line, like "-w". Thanks RPA.
- shebang = first_line.sub(/\A\#!\s*\S*ruby\S*/, "#!" + path_to_ruby)
+ shebang = first_line.sub(/\A\#!.*?ruby\S*/, "#!" + path_to_ruby)
else
# Create a plain shebang line.
shebang = "#!" + path_to_ruby

View File

@ -1,70 +0,0 @@
Index: setup.rb
===================================================================
--- setup.rb (revision 1542)
+++ setup.rb (working copy)
@@ -72,8 +72,8 @@
raise "invalid --prefix #{prefix.inspect}" if prefix.nil?
- lib_dir = File.join prefix, 'lib'
- bin_dir = File.join prefix, 'bin'
+ lib_dir = File.join prefix, Config::CONFIG['sitelibdir']
+ bin_dir = File.join prefix, Config::CONFIG['bindir']
mkdir_p lib_dir
mkdir_p bin_dir
@@ -173,26 +173,12 @@
end
end
-# Remove source caches
-
-require 'rubygems/source_info_cache'
-
-user_cache_file = Gem::SourceInfoCache.user_cache_file
-system_cache_file = Gem::SourceInfoCache.system_cache_file
-
-rm user_cache_file if File.writable? user_cache_file
-rm system_cache_file if File.writable? system_cache_file
-
# install RDoc
-gem_doc_dir = File.join Gem.dir, 'doc'
+gem_doc_dir = File.join prefix, Gem.dir, 'doc'
+unless ARGV.include? '--no-rdoc'
if File.writable? gem_doc_dir then
- puts "Removing old RubyGems RDoc and ri..."
- Dir[File.join(Gem.dir, 'doc', 'rubygems-[0-9]*')].each do |dir|
- rm_rf dir
- end
-
def run_rdoc(*args)
args << '--quiet'
args << '--main' << 'README'
@@ -204,7 +190,7 @@
rubygems_name = "rubygems-#{Gem::RubyGemsVersion}"
- doc_dir = File.join Gem.dir, 'doc', rubygems_name
+ doc_dir = File.join prefix, Gem.dir, 'doc', rubygems_name
unless ARGV.include? '--no-ri' then
ri_dir = File.join doc_dir, 'ri'
@@ -221,8 +207,10 @@
puts "Skipping RDoc generation, #{gem_doc_dir} not writable"
puts "Set the GEM_HOME environment variable if you want RDoc generated"
end
+end
# Remove stubs
+if false # Don't want this
def stub?(path)
return unless File.readable? path
@@ -268,3 +256,4 @@
puts "No library stubs found."
end
+end

View File

@ -1,13 +0,0 @@
Index: lib/rubygems/dependency_installer.rb
===================================================================
--- lib/rubygems/dependency_installer.rb (revision 1678)
+++ lib/rubygems/dependency_installer.rb (working copy)
@@ -189,7 +189,7 @@
say "Installing gem #{spec.full_name}" if Gem.configuration.really_verbose
_, source_uri = @specs_and_sources.assoc spec
- local_gem_path = Gem::RemoteFetcher.fetcher.download spec, source_uri
+ local_gem_path = Gem::RemoteFetcher.fetcher.download spec, source_uri, @install_dir
inst = Gem::Installer.new local_gem_path,
:env_shebang => @env_shebang,

View File

@ -1,61 +0,0 @@
Source: Richard Brown
Upstream: no
Reason: respect --prefix properly, stop stamping on live filesystem.
--- setup.rb.orig 2008-03-27 23:09:24.000000000 +0000
+++ setup.rb 2008-03-29 09:12:32.000000000 +0000
@@ -81,8 +81,8 @@
raise "invalid --prefix #{prefix.inspect}" if prefix.nil?
- lib_dir = File.join prefix, 'lib'
- bin_dir = File.join prefix, 'bin'
+ lib_dir = File.join prefix, Config::CONFIG['sitelibdir']
+ bin_dir = File.join prefix, Config::CONFIG['bindir']
mkdir_p lib_dir
mkdir_p bin_dir
@@ -187,30 +187,15 @@
end
end
-# Remove source caches
-
-require 'rubygems/source_info_cache'
-
-user_cache_file = Gem::SourceInfoCache.user_cache_file
-system_cache_file = Gem::SourceInfoCache.system_cache_file
-
-rm_f user_cache_file if File.writable? File.dirname(user_cache_file)
-rm_f system_cache_file if File.writable? File.dirname(system_cache_file)
-
# install RDoc
gem_doc_dir = File.join Gem.dir, 'doc'
if File.writable? gem_doc_dir then
- puts "Removing old RubyGems RDoc and ri"
- Dir[File.join(Gem.dir, 'doc', 'rubygems-[0-9]*')].each do |dir|
- rm_rf dir
- end
-
def run_rdoc(*args)
args << '--quiet'
args << '--main' << 'README'
- args << '.' << 'README' << 'LICENSE.txt' << 'GPL.txt'
+ args << '.' << 'README'
r = RDoc::RDoc.new
r.document args
@@ -237,6 +222,7 @@
end
# Remove stubs
+if false # Don't want this
def stub?(path)
return unless File.readable? path
@@ -305,3 +291,4 @@
puts "to remove it by hand."
puts
+end

View File

@ -1,60 +0,0 @@
--- setup.rb.orig 2008-04-11 07:18:01.000000000 +0100
+++ setup.rb 2008-04-11 07:14:53.000000000 +0100
@@ -94,8 +94,8 @@
lib_dir = Gem::ConfigMap[:sitelibdir]
bin_dir = Gem::ConfigMap[:bindir]
else
- lib_dir = File.join prefix, 'lib'
- bin_dir = File.join prefix, 'bin'
+ lib_dir = File.join prefix, Gem::ConfigMap[:sitelibdir]
+ bin_dir = File.join prefix, Gem::ConfigMap[:bindir]
mkdir_p lib_dir
mkdir_p bin_dir
@@ -201,16 +201,6 @@
end
end
-# Remove source caches
-
-require 'rubygems/source_info_cache'
-
-user_cache_file = Gem::SourceInfoCache.user_cache_file
-system_cache_file = Gem::SourceInfoCache.system_cache_file
-
-rm_f user_cache_file if File.writable? File.dirname(user_cache_file)
-rm_f system_cache_file if File.writable? File.dirname(system_cache_file)
-
# install RDoc
gem_doc_dir = File.join Gem.dir, 'doc'
@@ -220,15 +210,11 @@
if File.writable? gem_doc_dir and
(not File.exist? rubygems_doc_dir or
File.writable? rubygems_doc_dir) then
- puts "Removing old RubyGems RDoc and ri"
- Dir[File.join(Gem.dir, 'doc', 'rubygems-[0-9]*')].each do |dir|
- rm_rf dir
- end
def run_rdoc(*args)
args << '--quiet'
args << '--main' << 'README'
- args << '.' << 'README' << 'LICENSE.txt' << 'GPL.txt'
+ args << '.' << 'README'
r = RDoc::RDoc.new
r.document args
@@ -251,6 +237,7 @@
end
# Remove stubs
+if false # Don't want this
def stub?(path)
return unless File.readable? path
@@ -319,3 +306,4 @@
puts "to remove it by hand."
puts
+end

View File

@ -1,71 +0,0 @@
--- setup.vanilla.rb 2008-08-07 23:05:41.000000000 +0200
+++ setup.rb 2008-08-07 23:07:19.000000000 +0200
@@ -97,7 +97,7 @@
require 'fileutils'
require 'rbconfig'
-require 'tmpdir'
+#require 'tmpdir'
include FileUtils::Verbose
@@ -128,8 +128,8 @@
lib_dir = Gem::ConfigMap[site_or_vendor]
bin_dir = Gem::ConfigMap[:bindir]
else
- lib_dir = File.join prefix, 'lib'
- bin_dir = File.join prefix, 'bin'
+ lib_dir = File.join prefix, Gem::ConfigMap[site_or_vendor]
+ bin_dir = File.join prefix, Gem::ConfigMap[:bindir]
end
end
@@ -168,7 +168,7 @@
end
dest_file = File.join bin_dir, bin_file_formatted
- bin_tmp_file = File.join Dir.tmpdir, bin_file
+ bin_tmp_file = File.join ENV['T'], bin_file
begin
cp bin_file, bin_tmp_file
@@ -240,19 +240,6 @@
end
end
-# Remove source caches
-if install_destdir.empty?
- require 'rubygems/source_info_cache'
-
- user_cache_file = File.join(install_destdir,
- Gem::SourceInfoCache.user_cache_file)
- system_cache_file = File.join(install_destdir,
- Gem::SourceInfoCache.system_cache_file)
-
- rm_f user_cache_file if File.writable? File.dirname(user_cache_file)
- rm_f system_cache_file if File.writable? File.dirname(system_cache_file)
-end
-
# install RDoc
gem_doc_dir = File.join Gem.dir, 'doc'
@@ -262,10 +249,6 @@
if File.writable? gem_doc_dir and
(not File.exist? rubygems_doc_dir or
File.writable? rubygems_doc_dir) then
- puts "Removing old RubyGems RDoc and ri"
- Dir[File.join(Gem.dir, 'doc', 'rubygems-[0-9]*')].each do |dir|
- rm_rf dir
- end
def run_rdoc(*args)
begin
@@ -277,7 +260,7 @@
args << '--quiet'
args << '--main' << 'README'
- args << '.' << 'README' << 'LICENSE.txt' << 'GPL.txt'
+ args << '.' << 'README'
r = RDoc::RDoc.new
r.document args

View File

@ -1,53 +0,0 @@
--- setup.rb.~1~ 2008-06-22 01:51:11.000000000 +0200
+++ setup.rb 2008-06-28 09:05:54.923666929 +0200
@@ -128,8 +128,8 @@
lib_dir = Gem::ConfigMap[site_or_vendor]
bin_dir = Gem::ConfigMap[:bindir]
else
- lib_dir = File.join prefix, 'lib'
- bin_dir = File.join prefix, 'bin'
+ lib_dir = File.join prefix, Gem::ConfigMap[site_or_vendor]
+ bin_dir = File.join prefix, Gem::ConfigMap[:bindir]
end
end
@@ -240,19 +240,6 @@
end
end
-# Remove source caches
-if install_destdir.empty?
- require 'rubygems/source_info_cache'
-
- user_cache_file = File.join(install_destdir,
- Gem::SourceInfoCache.user_cache_file)
- system_cache_file = File.join(install_destdir,
- Gem::SourceInfoCache.system_cache_file)
-
- rm_f user_cache_file if File.writable? File.dirname(user_cache_file)
- rm_f system_cache_file if File.writable? File.dirname(system_cache_file)
-end
-
# install RDoc
gem_doc_dir = File.join Gem.dir, 'doc'
@@ -262,10 +249,6 @@
if File.writable? gem_doc_dir and
(not File.exist? rubygems_doc_dir or
File.writable? rubygems_doc_dir) then
- puts "Removing old RubyGems RDoc and ri"
- Dir[File.join(Gem.dir, 'doc', 'rubygems-[0-9]*')].each do |dir|
- rm_rf dir
- end
def run_rdoc(*args)
begin
@@ -277,7 +260,7 @@
args << '--quiet'
args << '--main' << 'README'
- args << '.' << 'README' << 'LICENSE.txt' << 'GPL.txt'
+ args << '.' << 'README'
r = RDoc::RDoc.new
r.document args

View File

@ -1,92 +0,0 @@
# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-ruby/rubygems/rubygems-1.2.0.ebuild,v 1.4 2008/08/06 16:40:12 graaff Exp $
inherit ruby
DESCRIPTION="Centralized Ruby extension management system"
HOMEPAGE="http://rubyforge.org/projects/rubygems/"
LICENSE="|| ( Ruby GPL-2 )"
# Needs to be installed first
RESTRICT="test"
# The URL depends implicitly on the version, unfortunately. Even if you
# change the filename on the end, it still downloads the same file.
SRC_URI="mirror://rubyforge/${PN}/${P}.tgz"
KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd"
SLOT="0"
IUSE="doc server"
DEPEND=">=dev-lang/ruby-1.8"
PDEPEND="server? ( dev-ruby/builder )" # index_gem_repository.rb
USE_RUBY="ruby18"
src_unpack() {
unpack ${A}
cd "${S}"
epatch "${FILESDIR}/${P}-setup-notmpdir.patch"
}
src_compile() {
# Allowing ruby_src_compile would be bad with the new setup.rb
:
}
src_install() {
# RUBYOPT=-rauto_gem without rubygems installed will cause ruby to fail, bug #158455
export RUBYOPT="${GENTOO_RUBYOPT}"
ewarn "RUBYOPT=${RUBYOPT}"
ver=$(${RUBY} -r rbconfig -e 'print Config::CONFIG["ruby_version"]')
# rubygems tries to create GEM_HOME if it doesn't exist, upsetting sandbox,
# bug #202109
export GEM_HOME="${D}/usr/$(get_libdir)/ruby/gems/${ver}"
keepdir /usr/$(get_libdir)/ruby/gems/$ver/{doc,gems,cache,specifications}
myconf=""
if ! use doc; then
myconf="${myconf} --no-ri"
myconf="${myconf} --no-rdoc"
fi
${RUBY} setup.rb $myconf --prefix="${D}" || die "setup.rb install failed"
dosym gem18 /usr/bin/gem || die "dosym gem failed"
dodoc README || die "dodoc README failed"
cp "${FILESDIR}/auto_gem.rb" "${D}"/$(${RUBY} -r rbconfig -e 'print Config::CONFIG["sitedir"]') || die "cp auto_gem.rb failed"
doenvd "${FILESDIR}/10rubygems" || die "doenvd 10rubygems failed"
if use server; then
newinitd "${FILESDIR}/init.d-gem_server2" gem_server || die "newinitd failed"
newconfd "${FILESDIR}/conf.d-gem_server" gem_server || die "newconfd failed"
fi
}
pkg_postinst()
{
SOURCE_CACHE="/usr/$(get_libdir)/ruby/gems/$ver/source_cache"
if [[ -e "${SOURCE_CACHE}" ]]; then
rm "${SOURCE_CACHE}"
fi
ewarn "If you have previously switched to using ruby18_with_gems using ruby-config, this"
ewarn "package has removed that file and makes it unnecessary anymore."
ewarn "Please use ruby-config to revert back to ruby18."
}
pkg_postrm()
{
ewarn "If you have uninstalled dev-ruby/rubygems. Ruby applications are unlikely"
ewarn "to run in current shells because of missing auto_gem."
ewarn "Please run \"unset RUBYOPT\" in your shells before using ruby"
ewarn "or start new shells"
ewarn
ewarn "If you have not uninstalled dev-ruby/rubygems, please do not unset "
ewarn "RUBYOPT"
}

View File

@ -3,6 +3,7 @@ AUX 2-bcm5974-quad-finger-tapping.patch 2014 RMD160 8ae24293dd608db76316ea0ebb90
AUX 3-bcm5974-macbook5-support.patch 4515 RMD160 e69c5aa44b925c76995b5a040327b2ed4b7acc79 SHA1 62a729437a289cd7474d202dbe3fac0607152a83 SHA256 c1f5027fa74591123ff38968aceb9df715a40922efc865ec2ae2b58b728c49cd
AUX alsa-driver-1.0.18a-xa3530.patch 14509 RMD160 7b64bd5303d4e646957c1e49a53adfb012b3de8e SHA1 148a444560bb9473325147d44a6f813b084d4819 SHA256 6236e6e64d09284c13f16aaefb20e54e891d5b7f1d93cdb64cf5d6901f94761c
AUX alsa-driver-1.0.19-input.patch 608 RMD160 be8e1f14e5a7ec33102a87dc2fd443a8b49ba329 SHA1 0d4f66a40ccebc034c859b3fd4ff34e436cf4d41 SHA256 414dc3663be345c42e34c3c44087e1b316e67eea6b7979c447effd39e05a8652
AUX cloneconfig.diff 1252 RMD160 074487bb0363789fa0f27a78311e52df3bcddee4 SHA1 b9b8d6400d425041280e0fc90e73920c7cbff6e1 SHA256 f374d97468f8ee7a5c265bb51c46104bdfcdeb825b42fe0766c6cdb12cd68e08
AUX colored-printk-2.6.26.patch 11265 RMD160 1e520168b8813754906513317f5c683dbec2b31b SHA1 d321509ccc286b29b8c0fac9ae18205705fea332 SHA256 e8afce0c43cd534a6f707dc9f8769d0ba03322efccd55e3dc3edc3375e44c4ba
AUX drm-modesetting-radeon.patch 1348501 RMD160 d89e04413554815f4a94f684a7f1e0f5a9e62b2b SHA1 39fb1193f0643798705786c85f3c90cdf28fd27a SHA256 a126a762c7df6e9bde0a65b500fefd2e8188b10cd1d15454668d91cbe1a38f7b
AUX drm-next.patch 643528 RMD160 3ec76231e1268821db9c18c11677b0661b1af7fc SHA1 848f637d414433f86b35983827e6465d24674499 SHA256 8f36e6418aa33c51af8b3567ca09a65024fcef5bcec73040a1bc87e5f71a5bf4
@ -26,7 +27,6 @@ DIST UnionFS_2.5.1-AppArmor_2.3.patch 10524 RMD160 808fce3fb3eb2f7d98ed95b654f44
DIST acpi-dsdt-initrd-v0.9c-2.6.26.patch 10058 RMD160 f568e92e79d95892e8e56396f83b2628bd34fd6e SHA1 0581b78d842ba8ba4a3be58974a2abbcf67124a2 SHA256 4c63609b13ea1a4abbd27e173c96cdd62faa51758e934607403471c518a7290f
DIST acpi-dsdt-initrd-v0.9c-2.6.28.patch 9992 RMD160 3d29ad2cdc6232282a85569979368c85a76879b1 SHA1 a219e0896346936a402d6f188174271d8e706eff SHA256 286a88dd244addc0f0bab1b8cb20cd435a471c1927b55220e892bdec1a0ea759
DIST alsa-driver-1.0.18a.tar.bz2 2833780 RMD160 c06c0b68999802da80becb58ea86596f031fa406 SHA1 c8ca0d2f9093f697ee519c45c13dd7d166f6fb2a SHA256 31148e6722da1ffbbc96504a106ef2f9a06cfcc0843c3306996d4379abaff833
DIST current-tuxonice-for-head.patch-20090313-v1.bz2 114830 RMD160 2113b151cdb1c8dcbd360fbe0305dad130459bf6 SHA1 321be2b9fbc1762946832248a1c124662870807d SHA256 bb0082f299a6581850aeb06a9c7ab676701cf65950e05b748230575efa1dea48
DIST genpatches-2.6.27-4.base.tar.bz2 23928 RMD160 d50a94ec3038dd80d38a52d139f2f4185792df49 SHA1 b671e45b169920b7b6b056ec373620e2df840358 SHA256 d0c321279ce26750cd159a5d4a736182dca871fb12574f256786df03e99f12f6
DIST genpatches-2.6.27-4.extras.tar.bz2 41456 RMD160 bd6e5fc57d4895c23401f22892f630097174aead SHA1 35a86799ee1d4f55e347b2f01f64e4abbda8a7ae SHA256 384ecb94815261a960dd57b942206d73e2a7ad0e4d883400860a47f01573bd41
DIST genpatches-2.6.27-5.base.tar.bz2 66486 RMD160 3ca48c4498fc9847aa25fd4892f7b22488bf5088 SHA1 69871df039a229e53313c46174587c804cda4fb6 SHA256 2c479c575a7c5d40f87e87b38152ea9de37b3f4ca2e1df398d22de37e5eec05d
@ -45,14 +45,14 @@ DIST genpatches-2.6.28-4.base.tar.bz2 145207 RMD160 77aab4e40ab2d55a4c3c208462c7
DIST genpatches-2.6.28-4.extras.tar.bz2 41365 RMD160 6517f7245778dcc4f3f52bd90c230b953d2f8028 SHA1 1f058531ffe48125f8c98e88aa5e43dd29df8889 SHA256 8a098ca1153d0ddf76a6eb3da3e7bda482b3efa13c51815c70be5603b4f53e5f
DIST genpatches-2.6.28-7.base.tar.bz2 180022 RMD160 a73a586284962243eb79562c0a73f2d9833902a8 SHA1 a24244a3b9e64ef735e1e2bd0dda27af8b6510c4 SHA256 9119e3048c69ed454925f58eaa1148ccb36cb0a76453f89c7117430c7ce841aa
DIST genpatches-2.6.28-7.extras.tar.bz2 42243 RMD160 d83c72599a0718c605433040d26ca2eec8dbff11 SHA1 2504ac8a94fa163cc15d819ab84b0a0a984114ea SHA256 f40b1ec84f4c9ba5808854d9b9f79af725e728fef223cc38b4db5f59c7e9a80a
DIST genpatches-2.6.29-1.base.tar.bz2 944 RMD160 6f100791c6438678ace6d6f8c8577eb5f4baf94c SHA1 e9a3ec6da87c97a7c524c5c3d66ef28455c5d9f1 SHA256 9104cf330a1f0783b51860db24e258a7ed1e5283d1b36b125438f3e8abd6735b
DIST genpatches-2.6.29-1.extras.tar.bz2 23204 RMD160 fac84672c8e29f5cefa69a00fb5cad58b650bd75 SHA1 b0186dfca31ff81c88b543991c9ade72ca02b063 SHA256 cddfaa8821e0147741e9fc88a83fa4962a21fbcd8909df5fb99b40557210d624
DIST genpatches-2.6.29-2.base.tar.bz2 17861 RMD160 1b9bcf6e025e3cdd06002875dca374dee22753f2 SHA1 34edd169b5acfa3533878d6a0027de88c71f5526 SHA256 8683c44bcdf85b24db06c382a6c7c31f5bcec54986041d5bef5a788e14fa3cf5
DIST genpatches-2.6.29-2.extras.tar.bz2 24597 RMD160 f43cad26f1744a1c629f2a4e29dfa98f9c99f65c SHA1 d2fef4c503d586a4fff3b5900f18036478381258 SHA256 f93a7cb4a2040b800750b32bf33a96825fb5bab2771e23e94e1fca4399fe1325
DIST geos_one-patches-2.6.29-1-p1.tar.bz2 637622 RMD160 b5247372c35226f0c2c83f53db0aafea7947fb24 SHA1 d7a72224da930e5073e1a2381fe4e1c8a1f7a0ba SHA256 e9e79cf1d49f87cee56f627d8570f2fd025b07a98139dae25470197ad2927b6b
DIST hda_realtek_xa3530.diff.bz2 3246 RMD160 4e65261a1d90971ed9fc57662cb2f4e9868a59e6 SHA1 9b363b2e5511d06d9d3552475d5df0baa1e05db1 SHA256 801cf43fddf060beedf0dfe6b8944be0ee5e508b68246a5251d0a432dd314967
DIST linux-2.6.27.tar.bz2 50355835 RMD160 5be4595ad824a4af67c1ec0c692838ad0c31f0c0 SHA1 8425ec3be2652f9d511911ff4fcf99039d4574be SHA256 0e99bf9e83f4d1ae0c656741a84dfddfa9c4d2469cf35475f5939d02dc3e4393
DIST linux-2.6.28.tar.bz2 52665364 RMD160 47e8925220e29e239f9478228fc53543c1f7b300 SHA1 4f40f8bf3fd110b0cc6e1fea5f539c98f9959e94 SHA256 ae0d97c55efe7fce01273c97f8152af0deff5541e3bbf5b9ad98689112b54380
DIST linux-2.6.29.tar.bz2 56579370 RMD160 e0e8c0635665ed34618b04fe1140015a4b6ff806 SHA1 0640a2f4bea3fc272541f322b74ea365ad7f2349 SHA256 58a5ea16d499fe06f90fcbf1d687d1235d2cb9bc28bf979867bd3faadf38fc3f
DIST linux-sabayon-2.6.27-from-ext4dev-to-ext4.patch 532 RMD160 0f76679d1aea9317d4c52377daf63b5bdaff60fd SHA1 dec8291c9eedd615839f5c8dbe6bcee5d1088b10 SHA256 0d1e159bee5e7128e4c2b8b201d7811db66a0e224cd54803508c6bfdb4558a74
DIST reiser4-2.6.29.tar.gz 610596 RMD160 1f713ea6de71c836f5b258bb7c9f3f62ca940ac9 SHA1 331a64c47be1ee88c684943c9bf4e8a2602e2ead SHA256 4fe7fe0497fdc3628a6526a7dae55ea95868f4d38a6ec056461765de324bac8a
DIST reiser4-for-2.6.27.patch.bz2 449626 RMD160 d4efaac12976068799cb32ce7c157bf086161e77 SHA1 95e94375bd691f7453f39d4fca7873b5eb92fcc0 SHA256 24f5e1eceaa513bace23ee34c50051e9cdf21bf20a36eb2b19706375d928962f
DIST reiser4-for-2.6.28.patch.bz2 449709 RMD160 e1703babe49c2b68c4e0fbc94e996d0af9ad3761 SHA1 eb7cadc5d0f1ea3cdc6c33cdd1da68491f326b85 SHA256 031469a11e4fe998a1e187c69a5f078c3c4c7ddd57e0ab579baae07e5abb6ce5
DIST tuxonice-3.0-rc7a-for-2.6.27-rc3.patch.bz2 113142 RMD160 99cde80e345320fe786ec1218c73f0a0226a412d SHA1 37063e593b20e1cc7b356bd9600ed471f010610c SHA256 b62d43d8ddf127c05463dbacc17267a58fd24ade0da2aedf44047f1ac9356f7c
@ -70,6 +70,6 @@ EBUILD geos_one-sources-2.6.28-r2.ebuild 4178 RMD160 e66a7981525ede4e7e96db413e4
EBUILD geos_one-sources-2.6.28-r3.ebuild 4178 RMD160 e1e2267bd936f49f104df16a93d8c73eb1a38db5 SHA1 89c15bbc5c2c385a942f5fec7dc6c47927cd80c9 SHA256 89cf23e997f6f9672585a0ba32b9ebd43fa22fa8dad8ea1ba9f83def6a3f2526
EBUILD geos_one-sources-2.6.28-r4.ebuild 4181 RMD160 f20fed4f3879cf05165fe597fdefec826016da92 SHA1 d3dcdc5c6de8113d4284ec93388cba78b59ad722 SHA256 2c34fdd51d294f4c3272a45927675a565f536780348f3925f535eef97070e29d
EBUILD geos_one-sources-2.6.28.ebuild 2724 RMD160 59ef67d038f90f54f7ad0224263fe3b8309db45d SHA1 f1e32cf7640706c4843679339d1774bbf89bed45 SHA256 dcb53c7bdbe81d51d74cc5f82e6efbade931fd33e962fd37cf71e7800d5d257c
EBUILD geos_one-sources-2.6.29.ebuild 3967 RMD160 a48da4aeac66e3c50bf381e7520df0583d6fcdda SHA1 a1cf0042bca9ec8ff75decbd76ed96df9e086909 SHA256 0600bd2d1f7572d994fed71732c24db356f53387ba1ab842c0776ec6c7263211
EBUILD geos_one-sources-2.6.29.ebuild 1354 RMD160 368e1724b54059367036b1754e116c52f02cf176 SHA1 0cf8d0a347e65db24de14991894ce7c04e6e2a14 SHA256 097dc9f80d436ead181cd8453899de004ad5f3c3de447c53bfd04a134f2e02e6
MISC ChangeLog 5509 RMD160 43faa46c9d91ec1ce700766f9ca3c50a3d72bca0 SHA1 55458c84fba7e2e8e933cd882d14507da3a36329 SHA256 85a0c6dfe5147b5ed5ea8a7bf528ab4034dea0c3738079ea27ef2e00b6b2bff9
MISC metadata.xml 413 RMD160 7e4e48d47e48804072f4ce93e1948fda82433a90 SHA1 cd61cf36ba79f6635ab7b7957f31609ecf52cc90 SHA256 74fe6520890eaf800a1759f3e4f772fd0e433e5de9cf775a50c7af95b199518b