summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans de Graaff <graaff@gentoo.org>2010-02-07 13:34:15 +0000
committerHans de Graaff <graaff@gentoo.org>2010-02-07 13:34:15 +0000
commit2c789ef448948e38de241e9ce0d9ba3f846ec51d (patch)
tree6e7f0290b3a4c192757f7613f8a92c950ddef9ed /dev-ruby/ruby-shadow
parentStable on amd64 wrt bug #300732 (diff)
downloadhistorical-2c789ef448948e38de241e9ce0d9ba3f846ec51d.tar.gz
historical-2c789ef448948e38de241e9ce0d9ba3f846ec51d.tar.bz2
historical-2c789ef448948e38de241e9ce0d9ba3f846ec51d.zip
Convert to ruby-ng. Add Debian patch to fix #302798.
Package-Manager: portage-2.1.7.16/cvs/Linux x86_64
Diffstat (limited to 'dev-ruby/ruby-shadow')
-rw-r--r--dev-ruby/ruby-shadow/ChangeLog10
-rw-r--r--dev-ruby/ruby-shadow/Manifest14
-rw-r--r--dev-ruby/ruby-shadow/files/ruby-shadow-1.4.1-debian.patch51
-rw-r--r--dev-ruby/ruby-shadow/ruby-shadow-1.4.1-r1.ebuild37
4 files changed, 109 insertions, 3 deletions
diff --git a/dev-ruby/ruby-shadow/ChangeLog b/dev-ruby/ruby-shadow/ChangeLog
index 1a47bbc42ee7..4a093997299c 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-2009 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-ruby/ruby-shadow/ChangeLog,v 1.7 2009/08/09 12:22:17 nixnut Exp $
+# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/dev-ruby/ruby-shadow/ChangeLog,v 1.8 2010/02/07 13:34:14 graaff Exp $
+
+*ruby-shadow-1.4.1-r1 (07 Feb 2010)
+
+ 07 Feb 2010; Hans de Graaff <graaff@gentoo.org>
+ +ruby-shadow-1.4.1-r1.ebuild, +files/ruby-shadow-1.4.1-debian.patch:
+ Convert to ruby-ng. Add Debian patch to fix #302798.
09 Aug 2009; nixnut <nixnut@gentoo.org> ruby-shadow-1.4.1.ebuild:
ppc stable #274170
diff --git a/dev-ruby/ruby-shadow/Manifest b/dev-ruby/ruby-shadow/Manifest
index 2b9f85ffd09f..d16f455734c4 100644
--- a/dev-ruby/ruby-shadow/Manifest
+++ b/dev-ruby/ruby-shadow/Manifest
@@ -1,4 +1,16 @@
+-----BEGIN PGP SIGNED MESSAGE-----
+Hash: SHA1
+
+AUX ruby-shadow-1.4.1-debian.patch 1321 RMD160 be8edfecbb1e807bf74dc61f16b5788d37e4c8fa SHA1 9de4b0d0b53b01731b741754380d8490e5d2c792 SHA256 b7a1b3e01f3607e1bf9afcd717ce1e7bcc6fe4c8caaa3b2dfaa5df2c006264aa
DIST ruby-shadow-1.4.1.tar.gz 3693 RMD160 4694148941334d88f3033d19f0c90ee26e7f3b8d SHA1 abe2b77bb60b1505f03b62be52413aaabdf55783 SHA256 2b892acd7de3ba48c01d8e377c6daa3dc5a7c758e14f65e94a907c5ca2e62c57
+EBUILD ruby-shadow-1.4.1-r1.ebuild 797 RMD160 9bf8183ffdbf9a573229f3c0515ae5ed1d9170a0 SHA1 d81d85f84dc64f97f14703fa26526b1d94b45d08 SHA256 5ae395d8ab45f1d3329a5445dcca30592992192a8c23cfe77b44459cb86737e0
EBUILD ruby-shadow-1.4.1.ebuild 469 RMD160 db601fb17bdadcfe6eb104ea49b5ab9dfdd6edac SHA1 c6e4ddf654800cb359e0d63748e9ed17aef503ce SHA256 53c4c9798cb29617c6810778c339bffd1956cb29e4de5bdade15ceedd18e4934
-MISC ChangeLog 1031 RMD160 ac38dc2e9abece39553489eece5eb2d7c6babb39 SHA1 23a38f58d43a70de558f22a503bd433db2b76852 SHA256 3ce76c36abcbed9917aec97cc4d7a88f0663bddf18b1ba5ceac361fc97e302e1
+MISC ChangeLog 1245 RMD160 44aa91f0a79091e8c90b0dfa438e0ca281d4fa41 SHA1 0afb4e9c32030797b3fe25365ab18ffceba6642f SHA256 3b04cf8f5fc25986a45e00d1ff69490b8bc7a61cf8dac901f67c8dea651f7052
MISC metadata.xml 157 RMD160 5d9e2c7ecba96ffebd936d38acedf859cdea84e1 SHA1 8ce15dcc608eeb5616aeec610dc695cbe6f93e02 SHA256 11fba03a217e2d996f5cd8895493a5692ece8ddac2c1a2dfc71d0e830555121c
+-----BEGIN PGP SIGNATURE-----
+Version: GnuPG v2.0.14 (GNU/Linux)
+
+iEYEARECAAYFAktuwWAACgkQeM7EJeUH71NtAgCfSLS7cnLlLyLWtuS8irVEw7+3
+y/8AoILuiHwdlZOlDEJnxyxKkMcH5qGi
+=i3sB
+-----END PGP SIGNATURE-----
diff --git a/dev-ruby/ruby-shadow/files/ruby-shadow-1.4.1-debian.patch b/dev-ruby/ruby-shadow/files/ruby-shadow-1.4.1-debian.patch
new file mode 100644
index 000000000000..2e56fffeaa65
--- /dev/null
+++ b/dev-ruby/ruby-shadow/files/ruby-shadow-1.4.1-debian.patch
@@ -0,0 +1,51 @@
+--- libshadow-ruby-1.4.1.orig/shadow.c
++++ libshadow-ruby-1.4.1/shadow.c
+@@ -60,7 +60,7 @@
+ INT2FIX(entry->sp_inact),
+ INT2FIX(entry->sp_expire),
+ INT2FIX(entry->sp_flag),
+- 0);
++ NULL);
+ free(entry);
+ return result;
+ };
+@@ -89,7 +89,7 @@
+ INT2FIX(entry->sp_inact),
+ INT2FIX(entry->sp_expire),
+ INT2FIX(entry->sp_flag),
+- 0);
++ NULL);
+ return result;
+ };
+
+@@ -114,7 +114,7 @@
+ INT2FIX(entry->sp_inact),
+ INT2FIX(entry->sp_expire),
+ INT2FIX(entry->sp_flag),
+- 0);
++ NULL);
+ return result;
+ };
+
+@@ -142,7 +142,7 @@
+ INT2FIX(entry->sp_inact),
+ INT2FIX(entry->sp_expire),
+ INT2FIX(entry->sp_flag),
+- 0);
++ NULL);
+ return result;
+ };
+
+@@ -254,10 +254,10 @@
+ rb_sPasswdEntry = rb_struct_define("PasswdEntry",
+ "sp_namp","sp_pwdp","sp_lstchg",
+ "sp_min","sp_max","sp_warn",
+- "sp_inact","sp_expire","sp_flag",0);
++ "sp_inact","sp_expire","sp_flag",NULL);
+ rb_sGroupEntry = rb_struct_define("GroupEntry",
+ "sg_name","sg_passwd",
+- "sg_adm","sg_mem",0);
++ "sg_adm","sg_mem",NULL);
+
+ rb_mShadow = rb_define_module("Shadow");
+ rb_eFileLock = rb_define_class_under(rb_mShadow,"FileLock",rb_eException);
diff --git a/dev-ruby/ruby-shadow/ruby-shadow-1.4.1-r1.ebuild b/dev-ruby/ruby-shadow/ruby-shadow-1.4.1-r1.ebuild
new file mode 100644
index 000000000000..257d30bfb74f
--- /dev/null
+++ b/dev-ruby/ruby-shadow/ruby-shadow-1.4.1-r1.ebuild
@@ -0,0 +1,37 @@
+# Copyright 1999-2010 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-ruby/ruby-shadow/ruby-shadow-1.4.1-r1.ebuild,v 1.1 2010/02/07 13:34:14 graaff Exp $
+
+EAPI="2"
+USE_RUBY="ruby18"
+
+inherit ruby-ng
+
+DESCRIPTION="ruby shadow bindings"
+HOMEPAGE="http://ttsky.net"
+SRC_URI="http://ttsky.net/src/${P}.tar.gz"
+
+S=${WORKDIR}/shadow-${PV}
+
+LICENSE="Ruby"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~sparc ~x86"
+IUSE=""
+
+RUBY_PATCHES=( "${P}-debian.patch" )
+
+each_ruby_configure() {
+ ${RUBY} extconf.rb || die "Configuration failed."
+}
+
+each_ruby_compile() {
+ emake || die "Compilation failed."
+}
+
+each_ruby_install() {
+ emake install DESTDIR="${D}" || die "Installation failed."
+}
+
+all_ruby_install() {
+ dodoc HISTORY README README.euc
+}