summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans de Graaff <graaff@gentoo.org>2010-08-01 06:19:31 +0000
committerHans de Graaff <graaff@gentoo.org>2010-08-01 06:19:31 +0000
commitf07e0b76f54bafaebce9e7b748baa81e78c8acca (patch)
tree9bf2064af77575a96605514c586c6ba624b1f8bf /dev-ruby/ruby-serialport
parentVersion bump. Fixes security issue, bug #330481 (diff)
downloadhistorical-f07e0b76f54bafaebce9e7b748baa81e78c8acca.tar.gz
historical-f07e0b76f54bafaebce9e7b748baa81e78c8acca.tar.bz2
historical-f07e0b76f54bafaebce9e7b748baa81e78c8acca.zip
Version bump.
Package-Manager: portage-2.1.8.3/cvs/Linux x86_64
Diffstat (limited to 'dev-ruby/ruby-serialport')
-rw-r--r--dev-ruby/ruby-serialport/ChangeLog8
-rw-r--r--dev-ruby/ruby-serialport/Manifest12
-rw-r--r--dev-ruby/ruby-serialport/ruby-serialport-1.0.4.ebuild52
3 files changed, 66 insertions, 6 deletions
diff --git a/dev-ruby/ruby-serialport/ChangeLog b/dev-ruby/ruby-serialport/ChangeLog
index 448a40a04eef..e88357465785 100644
--- a/dev-ruby/ruby-serialport/ChangeLog
+++ b/dev-ruby/ruby-serialport/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for dev-ruby/ruby-serialport
# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-ruby/ruby-serialport/ChangeLog,v 1.16 2010/06/07 18:00:58 flameeyes Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-ruby/ruby-serialport/ChangeLog,v 1.17 2010/08/01 06:19:31 graaff Exp $
+
+*ruby-serialport-1.0.4 (01 Aug 2010)
+
+ 01 Aug 2010; Hans de Graaff <graaff@gentoo.org>
+ +ruby-serialport-1.0.4.ebuild:
+ Version bump.
07 Jun 2010; Diego E. Pettenò <flameeyes@gentoo.org>
ruby-serialport-1.0.3.ebuild, ruby-serialport-1.0.3-r1.ebuild:
diff --git a/dev-ruby/ruby-serialport/Manifest b/dev-ruby/ruby-serialport/Manifest
index 9fc5d3e94cde..3d5a5fe24693 100644
--- a/dev-ruby/ruby-serialport/Manifest
+++ b/dev-ruby/ruby-serialport/Manifest
@@ -1,15 +1,17 @@
-----BEGIN PGP SIGNED MESSAGE-----
-Hash: SHA1
+Hash: SHA256
DIST serialport-1.0.3.gem 22528 RMD160 bcfcd49df7f3e443338d920dc1098a84d4044720 SHA1 0e6a9e6e97d556831749b98b0a54ad0a454bedb8 SHA256 d8e3d771e343491aba18cc00a6eecc2e592ddb0d6048c079cff005894dc04e7e
+DIST serialport-1.0.4.gem 23552 RMD160 5f1dc54c8fd02c7839b5afe43c8eb525ba53449b SHA1 ffedecacc34d11f1dd1c38be1a194ea83e0f0038 SHA256 620a0d9e063e39dbcd378c9868a7ac83525848b3dafb2767652abf4b550eef4d
EBUILD ruby-serialport-1.0.3-r1.ebuild 1222 RMD160 bc3290ffa090eb0a3fd11e6eaef57d585d97ec01 SHA1 f2a072058c7049afb37bb829dc5083e9cd55c9cc SHA256 109f5a5c08b82afbe6a2225aaa6cf75df4239a165d2abac08cbeb63cbc13cfb1
EBUILD ruby-serialport-1.0.3.ebuild 1210 RMD160 d59fca27d1c0b5f727eb11975beff30c7fff1a81 SHA1 e51e1ab01adbae3fb81221a0c864db058ba5eca5 SHA256 585dc909e023ba5450ef13ce1d810a165f6ca9d59469fd9a89e1c60ce7b3c52d
-MISC ChangeLog 2652 RMD160 1c2f23a4607e42113ab71b6d9b16ce548920485a SHA1 93018244822d2692f22f565127fe4ed7b665ef69 SHA256 e6d13f732f8de7dc5c07b77aac7b195f629c784395c26046493ab592ad2b9ae4
+EBUILD ruby-serialport-1.0.4.ebuild 1216 RMD160 5296926567887a18353347b1758ce99f445eac6f SHA1 6141c252265b7a9a3644ab89f2610ee438f12a02 SHA256 eedf730377d6d9276537282325a8b494276524239c058d69f0e6bd4052526fd9
+MISC ChangeLog 2787 RMD160 4b2418307e67a75ef82861027d158cfbba366e54 SHA1 903c76496773384d1caae484233a4fa34a08214f SHA256 9c656ad028e9375610486e0c40cdc3c3c26a3a6f03ccc9482379f4d3048a6257
MISC metadata.xml 157 RMD160 5d9e2c7ecba96ffebd936d38acedf859cdea84e1 SHA1 8ce15dcc608eeb5616aeec610dc695cbe6f93e02 SHA256 11fba03a217e2d996f5cd8895493a5692ece8ddac2c1a2dfc71d0e830555121c
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.15 (GNU/Linux)
-iEYEARECAAYFAkwNM+QACgkQAiZjviIA2XioLwCgl0Un/Nvz08/1xmjh9cHWbzSa
-51oAoOas4eCI+dSGLYRY+uAm+J/8eyZb
-=gI08
+iF4EAREIAAYFAkxVEf8ACgkQZihJkut28SuXGQD8DTpC143HZF2S62uBZzqIGi4K
+GDK1+PhblFSyZpEPjeABAL7NtJpvzVZHxPHoattVTtwDNx9HmKmLydkb5oBktLe6
+=u4Wu
-----END PGP SIGNATURE-----
diff --git a/dev-ruby/ruby-serialport/ruby-serialport-1.0.4.ebuild b/dev-ruby/ruby-serialport/ruby-serialport-1.0.4.ebuild
new file mode 100644
index 000000000000..6deaa17ea3a2
--- /dev/null
+++ b/dev-ruby/ruby-serialport/ruby-serialport-1.0.4.ebuild
@@ -0,0 +1,52 @@
+# Copyright 1999-2010 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-ruby/ruby-serialport/ruby-serialport-1.0.4.ebuild,v 1.1 2010/08/01 06:19:31 graaff Exp $
+
+EAPI="2"
+
+# jruby → uses native library
+USE_RUBY="ruby18 ruby19"
+
+RUBY_FAKEGEM_TASK_DOC=""
+RUBY_FAKEGEM_TASK_TEST=""
+RUBY_FAKEGEM_EXTRADOC="CHANGELOG README"
+
+RUBY_FAKEGEM_NAME=${PN/ruby-/}
+
+inherit ruby-fakegem
+
+DESCRIPTION="a library for serial port (rs232) access in ruby"
+HOMEPAGE="http://rubyforge.org/projects/ruby-serialport/"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~ia64 ~ppc ~x86"
+IUSE=""
+
+all_ruby_prepare() {
+ # Fix the miniterm script so that it might actually work, we'll
+ # install it as example.
+ sed -i -e 's:\.\./serialport.so:serialport:' test/miniterm.rb || die
+}
+
+each_ruby_configure() {
+ cd ext/native
+ ${RUBY} extconf.rb || die
+}
+
+each_ruby_compile() {
+ pushd ext/native &>/dev/null
+ emake || die
+ popd &>/dev/null
+
+ # Avoids the need for a specific install phase
+ cp ext/native/*.so lib/ || die "extension copy failed"
+}
+
+all_ruby_install() {
+ all_fakegem_install
+
+ # don't compress it
+ insinto /usr/share/doc/${PF}/examples
+ doins test/miniterm.rb || die
+}