summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatsuu Takuto <matsuu@gentoo.org>2012-04-17 15:52:17 +0000
committerMatsuu Takuto <matsuu@gentoo.org>2012-04-17 15:52:17 +0000
commit3ce67757b6848106b438db5e6dfe83ffe256f035 (patch)
tree487939d64c6f4f802be41abbf5bf04a0b7c4ec4e /dev-ruby/ruby-shadow
parentAdded RESTRICT="test". (diff)
downloadhistorical-3ce67757b6848106b438db5e6dfe83ffe256f035.tar.gz
historical-3ce67757b6848106b438db5e6dfe83ffe256f035.tar.bz2
historical-3ce67757b6848106b438db5e6dfe83ffe256f035.zip
Version bumped. Fixed undefined issue.
Package-Manager: portage-2.1.10.54/cvs/Linux x86_64
Diffstat (limited to 'dev-ruby/ruby-shadow')
-rw-r--r--dev-ruby/ruby-shadow/ChangeLog8
-rw-r--r--dev-ruby/ruby-shadow/Manifest33
-rw-r--r--dev-ruby/ruby-shadow/files/ruby-shadow-2.1.3-rb_iterator_p.patch12
-rw-r--r--dev-ruby/ruby-shadow/ruby-shadow-2.1.3.ebuild32
4 files changed, 69 insertions, 16 deletions
diff --git a/dev-ruby/ruby-shadow/ChangeLog b/dev-ruby/ruby-shadow/ChangeLog
index 726cbd828d2c..fffd6dd6ddf7 100644
--- a/dev-ruby/ruby-shadow/ChangeLog
+++ b/dev-ruby/ruby-shadow/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for dev-ruby/ruby-shadow
# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-ruby/ruby-shadow/ChangeLog,v 1.17 2012/03/16 00:09:15 matsuu Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-ruby/ruby-shadow/ChangeLog,v 1.18 2012/04/17 15:52:16 matsuu Exp $
+
+*ruby-shadow-2.1.3 (17 Apr 2012)
+
+ 17 Apr 2012; MATSUU Takuto <matsuu@gentoo.org> +ruby-shadow-2.1.3.ebuild,
+ +files/ruby-shadow-2.1.3-rb_iterator_p.patch:
+ Version bumped. Fixed undefined issue.
*ruby-shadow-2.1.2-r1 (16 Mar 2012)
diff --git a/dev-ruby/ruby-shadow/Manifest b/dev-ruby/ruby-shadow/Manifest
index 8cdf5565e060..d5d6847f8b08 100644
--- a/dev-ruby/ruby-shadow/Manifest
+++ b/dev-ruby/ruby-shadow/Manifest
@@ -3,27 +3,30 @@ Hash: SHA1
AUX ruby-shadow-1.4.1-debian.patch 1321 RMD160 be8edfecbb1e807bf74dc61f16b5788d37e4c8fa SHA1 9de4b0d0b53b01731b741754380d8490e5d2c792 SHA256 b7a1b3e01f3607e1bf9afcd717ce1e7bcc6fe4c8caaa3b2dfaa5df2c006264aa
AUX ruby-shadow-2.1.2-file_ptr.patch 441 RMD160 c72e4e07821be12b910e0318645785bdcc09564d SHA1 e102a8a9a2c3bcceba89eaccbd1379015c26abce SHA256 cc5d8f0e404349e229cb4479d6c1b7e91a3db4541cebee8fe1e19b70e37ff5a6
+AUX ruby-shadow-2.1.3-rb_iterator_p.patch 412 RMD160 59de89f24b911b1d9dc3a1b1af81a9dc5a503d38 SHA1 aef0bad791e32096ec29cc7836a374927354953d SHA256 6f934eb4112684bc779d6861b957bfed2fd40f2c7b34014453fe76f082400442
DIST ruby-shadow-1.4.1.tar.gz 3693 RMD160 4694148941334d88f3033d19f0c90ee26e7f3b8d SHA1 abe2b77bb60b1505f03b62be52413aaabdf55783 SHA256 2b892acd7de3ba48c01d8e377c6daa3dc5a7c758e14f65e94a907c5ca2e62c57
DIST ruby-shadow-2.1.2.gem 8192 RMD160 8e170f66f6eb117730bd97376a5b89fd9add061a SHA1 4bb71d30640fa43dd9e20b8370e65e993c557ddb SHA256 e61a06d137e6a49b648c0672dab08dfaa30b2fce8295264e4aacac0e1653236f
+DIST ruby-shadow-2.1.3.gem 8192 RMD160 13121ec391778f23fdd821923b01edbe456c96bf SHA1 0e352f403a5b2b1040994c17d2705d0c3040b9cb SHA256 754dd2444eb90ef19a18c96bcf9eb7aabe60fcab2f4bdc52a8918a2fd6032c47
EBUILD ruby-shadow-1.4.1-r1.ebuild 797 RMD160 1a48aec5065ae680e23871ce7566017567337dc8 SHA1 196efab6ffb31e3ab2203fdea9f5be4cbd0b424f SHA256 921299234166b5399518f4311ec5a663db0963b6cf7c03e4b9f0409b3fc99ad3
EBUILD ruby-shadow-2.1.2-r1.ebuild 784 RMD160 6a288e64790bbfa92de6bae7b256c7abee37393b SHA1 3bf589627ef53d0eaacd03d428fe2ae8f145f6b6 SHA256 d9d0434fdd695e8196c91e8bf7c284e77ae1dadc7b333bbcec033d0614fd9c29
EBUILD ruby-shadow-2.1.2.ebuild 733 RMD160 ace3b662134170ab19f2255a206482fdc7c69cbb SHA1 a257b0187e53d0e1c19c503d38ebcbf298abd9d4 SHA256 2875c1c0dd94df70ccc1006f23dc37ca43995293b155b57c931c24c4d14fe5c3
-MISC ChangeLog 2276 RMD160 d6485646febfb09baf92cd659b263383027a64b6 SHA1 e24cb84a3d9518a45161364100fce53a3e142ef2 SHA256 4e784501cf8fc909348ede2f26c2bfdc4ddd318e2402bc9d09eed335097b691b
+EBUILD ruby-shadow-2.1.3.ebuild 786 RMD160 4cb1f568cd9176e17b57027194eb50ea1b0671b6 SHA1 d37c4cab891c09e061059e0aaa7bc0152d5c5585 SHA256 d7d66d3a6a2bd8b41d438cb14c0b20c89efe6fb1a84b19aa6874cae3eb0389de
+MISC ChangeLog 2476 RMD160 4b98fbe4806b6e9094f6f5fc924dabc06fc2f10b SHA1 49fe6ebb07ce54abac43606b7e1fd5884a84ba7e SHA256 b4c3182d5c60e4119ac182f16a337cdafc823392e371b694a3cb67acb453ef88
MISC metadata.xml 157 RMD160 5d9e2c7ecba96ffebd936d38acedf859cdea84e1 SHA1 8ce15dcc608eeb5616aeec610dc695cbe6f93e02 SHA256 11fba03a217e2d996f5cd8895493a5692ece8ddac2c1a2dfc71d0e830555121c
-----BEGIN PGP SIGNATURE-----
-Version: GnuPG v2.0.18 (GNU/Linux)
+Version: GnuPG v2.0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MZxjVMiuSstfY0hZYIyTqUOAhIjnLedj6vg
+qWDuIh4oFJIfjCyIyaSVTIucVL2tG2xOUNH5KhjEk9nhCXnmtmG/zwL24Bffd81x
+m5jW4WNrNTBle3TFfqejnloNMd3GCL04imrmez6M8/hW61lp+EuvnzJbepUNPIHR
+AcJ0Sa3lWrt4FKPslCe41/JYV3z6UPlDGVufnXTwafYP3+lmJrfCXYrf/h1yBSbe
++0ubF5DbFk28hBrBVuULvCMl3AADAyeN3QbM1hFgNHLrAb4k3KyDgXYqq29MaCbc
+n/Wkv6I5BuNbHD+Yj2c7iXpgxH8Gz10VzAy/4f33/atHjouG6XMPmb1d5ZezwyiK
+9tMF3xQRFdVeG0RYGRaV8OPaFyO7K8Wt6DypF3ToxD+87KZaLXFq1QXIFY6Pb9+m
+3armSsbfuJDLtIIGG7qb
+=N622
-----END PGP SIGNATURE-----
diff --git a/dev-ruby/ruby-shadow/files/ruby-shadow-2.1.3-rb_iterator_p.patch b/dev-ruby/ruby-shadow/files/ruby-shadow-2.1.3-rb_iterator_p.patch
new file mode 100644
index 000000000000..4b25c9ee48f6
--- /dev/null
+++ b/dev-ruby/ruby-shadow/files/ruby-shadow-2.1.3-rb_iterator_p.patch
@@ -0,0 +1,12 @@
+diff -Naur ruby-shadow-2.1.3.orig/shadow.c ruby-shadow-2.1.3/shadow.c
+--- ruby-shadow-2.1.3.orig/shadow.c 2012-04-17 15:07:29.489334366 +0900
++++ ruby-shadow-2.1.3/shadow.c 2012-04-17 15:14:40.955219365 +0900
+@@ -209,7 +209,7 @@
+ {
+ int result;
+
+- if( rb_iterator_p() ){
++ if( rb_block_given_p() ){
+ result = lckpwdf();
+ if( result == -1 ){
+ rb_raise(rb_eFileLock,"password file was locked");
diff --git a/dev-ruby/ruby-shadow/ruby-shadow-2.1.3.ebuild b/dev-ruby/ruby-shadow/ruby-shadow-2.1.3.ebuild
new file mode 100644
index 000000000000..df4ba94496a0
--- /dev/null
+++ b/dev-ruby/ruby-shadow/ruby-shadow-2.1.3.ebuild
@@ -0,0 +1,32 @@
+# Copyright 1999-2012 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-ruby/ruby-shadow/ruby-shadow-2.1.3.ebuild,v 1.1 2012/04/17 15:52:16 matsuu Exp $
+
+EAPI="4"
+USE_RUBY="ruby18 ruby19 ree18"
+
+RUBY_FAKEGEM_TASK_TEST=""
+RUBY_FAKEGEM_EXTRADOC="HISTORY README README.euc"
+
+inherit ruby-fakegem
+
+DESCRIPTION="ruby shadow bindings"
+HOMEPAGE="http://ttsky.net"
+
+LICENSE="Ruby"
+SLOT="0"
+KEYWORDS="~amd64 ~hppa ~ppc ~sparc ~x86"
+IUSE=""
+
+RUBY_PATCHES="${FILESDIR}/${P}-rb_iterator_p.patch"
+
+each_ruby_configure() {
+ ${RUBY} extconf.rb || die "Configuration failed."
+ sed -i -e "/^ldflags =/s/$/ \$(LDFLAGS)/" Makefile || die
+}
+
+each_ruby_compile() {
+ emake || die "Compilation failed."
+ mkdir lib
+ cp shadow.so lib
+}