From 47e12278435180a046470b8e71ee0992105f08a5 Mon Sep 17 00:00:00 2001 From: Alfredo Tupone Date: Fri, 28 Apr 2006 19:36:34 +0000 Subject: Fixing sandbox failure, bug #131597 Package-Manager: portage-2.1_pre9-r4 --- games-board/daemonshogi/ChangeLog | 8 +++- games-board/daemonshogi/Manifest | 32 +++++++++++-- games-board/daemonshogi/daemonshogi-0.1.3.ebuild | 14 ++++-- .../files/daemonshogi-0.1.3-sandbox.patch | 54 ++++++++++++++++++++++ .../daemonshogi/files/digest-daemonshogi-0.1.3 | 2 + 5 files changed, 101 insertions(+), 9 deletions(-) create mode 100644 games-board/daemonshogi/files/daemonshogi-0.1.3-sandbox.patch (limited to 'games-board') diff --git a/games-board/daemonshogi/ChangeLog b/games-board/daemonshogi/ChangeLog index bd067e148845..3670a67ea3e4 100644 --- a/games-board/daemonshogi/ChangeLog +++ b/games-board/daemonshogi/ChangeLog @@ -1,6 +1,10 @@ # ChangeLog for games-board/daemonshogi -# Copyright 2000-2004 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/games-board/daemonshogi/ChangeLog,v 1.6 2004/11/12 18:44:49 wolf31o2 Exp $ +# Copyright 2000-2006 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/games-board/daemonshogi/ChangeLog,v 1.7 2006/04/28 19:36:34 tupone Exp $ + + 28 Apr 2006; +files/daemonshogi-0.1.3-sandbox.patch, + daemonshogi-0.1.3.ebuild: + Fixing sandbox failure, bug #131597 by me 12 Nov 2004; Chris Gianelloni daemonshogi-0.1.3.ebuild: diff --git a/games-board/daemonshogi/Manifest b/games-board/daemonshogi/Manifest index 84ddf7a955c8..30410191586a 100644 --- a/games-board/daemonshogi/Manifest +++ b/games-board/daemonshogi/Manifest @@ -1,4 +1,30 @@ -MD5 54bb8d0a25cf2281d1da6a9017c7c904 daemonshogi-0.1.3.ebuild 880 -MD5 eed81175af1b13f915bf734b13530fcd ChangeLog 940 +-----BEGIN PGP SIGNED MESSAGE----- +Hash: SHA1 + +AUX daemonshogi-0.1.3-sandbox.patch 2174 RMD160 ab0fbee70e9e6bc210d99a178522f6eae8e41df7 SHA1 23843d1eb9cc9a4258704af527217e870b89e8e5 SHA256 92926ed87f20225381ca994972322b55708f75f6aaef8579eeb158934348f317 size 2174 +MD5 89353ef364f93fbb5583f0be50abf8f6 files/daemonshogi-0.1.3-sandbox.patch 2174 +RMD160 ab0fbee70e9e6bc210d99a178522f6eae8e41df7 files/daemonshogi-0.1.3-sandbox.patch 2174 +SHA256 92926ed87f20225381ca994972322b55708f75f6aaef8579eeb158934348f317 files/daemonshogi-0.1.3-sandbox.patch 2174 +DIST daemonshogi-0.1.3.tar.gz 507275 RMD160 4d309f2540ddc5555ccd54647f769bc9ff1a0993 SHA256 db05612259aaa43a50b29d41bfe321d41ab907b0f55cbe33ba4ccaa6b884fd61 size 507275 +EBUILD daemonshogi-0.1.3.ebuild 980 RMD160 e5041c7616e561fc81be62fa929f8bf09d3f675a SHA1 cdb0efa54c08079b49b7e23ae2ea105481d38d4e SHA256 cd4d82033239677ebc316fb2753fae4866143cd7887cbf5895cc44763a5eaec0 size 980 +MD5 f774eb0dcba6573e7dbac221385f561d daemonshogi-0.1.3.ebuild 980 +RMD160 e5041c7616e561fc81be62fa929f8bf09d3f675a daemonshogi-0.1.3.ebuild 980 +SHA256 cd4d82033239677ebc316fb2753fae4866143cd7887cbf5895cc44763a5eaec0 daemonshogi-0.1.3.ebuild 980 +MISC ChangeLog 1086 RMD160 1a25144c356f11150429ac4af67a0e52b0ae48a3 SHA1 ff9f2c438846db4e404e3823c52aa7f1ca86c4d8 SHA256 e2f33fc54d9dd2fb1e2f34ec46a250e4e8e244b9f3076f3d244ec8b692ce5b12 size 1086 +MD5 2b791057cd872f7279cce8ba6537b105 ChangeLog 1086 +RMD160 1a25144c356f11150429ac4af67a0e52b0ae48a3 ChangeLog 1086 +SHA256 e2f33fc54d9dd2fb1e2f34ec46a250e4e8e244b9f3076f3d244ec8b692ce5b12 ChangeLog 1086 +MISC metadata.xml 158 RMD160 cbd9984bb6b426c8c9cee5022fe0a26261612fea SHA1 be5251fa1dacef5c41b74761bb1c8c54fb633b9e SHA256 1423a4fdd4a79b1728a2056d9e300f7e1074253095d82726218d9e9b953888a3 size 158 MD5 f17b9b8fa07a38914fe1c03268f51678 metadata.xml 158 -MD5 c03a831291426128ab93478061233d42 files/digest-daemonshogi-0.1.3 69 +RMD160 cbd9984bb6b426c8c9cee5022fe0a26261612fea metadata.xml 158 +SHA256 1423a4fdd4a79b1728a2056d9e300f7e1074253095d82726218d9e9b953888a3 metadata.xml 158 +MD5 f3aef01466402c6166add49717d84980 files/digest-daemonshogi-0.1.3 253 +RMD160 7f8962f27f56ac8b4323ed5fc2074000cf444a2a files/digest-daemonshogi-0.1.3 253 +SHA256 0fa48844939715685a7c05c5c10f7e5918b83d1d648f7003c52a7f2ca90653c0 files/digest-daemonshogi-0.1.3 253 +-----BEGIN PGP SIGNATURE----- +Version: GnuPG v1.4.3 (GNU/Linux) + +iD8DBQFEUm7N2CTtIKiFlQIRAnBpAJwN6hsFkdpy3WHjj3dcimUMlSQT1gCfSemb +EqRkqYqtfY0xi5VfXfXFN1M= +=0QrR +-----END PGP SIGNATURE----- diff --git a/games-board/daemonshogi/daemonshogi-0.1.3.ebuild b/games-board/daemonshogi/daemonshogi-0.1.3.ebuild index 158d483c4abc..13b6cc8acb5b 100644 --- a/games-board/daemonshogi/daemonshogi-0.1.3.ebuild +++ b/games-board/daemonshogi/daemonshogi-0.1.3.ebuild @@ -1,8 +1,8 @@ -# Copyright 1999-2004 Gentoo Foundation +# Copyright 1999-2006 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/games-board/daemonshogi/daemonshogi-0.1.3.ebuild,v 1.6 2004/11/12 18:44:49 wolf31o2 Exp $ +# $Header: /var/cvsroot/gentoo-x86/games-board/daemonshogi/daemonshogi-0.1.3.ebuild,v 1.7 2006/04/28 19:36:34 tupone Exp $ -inherit games +inherit eutils games DESCRIPTION="A GTK+ based, simple shogi (Japanese chess) program" HOMEPAGE="http://www.users.yun.co.jp/~tokita/daemonshogi/" @@ -16,6 +16,12 @@ IUSE="nls" DEPEND="gnome-base/gnome-libs nls? ( >=sys-devel/gettext-0.10.38 )" +src_unpack() { + unpack ${A} + cd "${S}" + epatch "${FILESDIR}/${P}"-sandbox.patch +} + src_compile() { if use nls && has_version '>=sys-devel/gettext-0.12' ; then export XGETTEXT="/usr/bin/xgettext --from-code=EUC-JP" @@ -25,7 +31,7 @@ src_compile() { } src_install() { - egamesinstall || die + make install DESTDIR=${D} || die dodoc ChangeLog README* NEWS prepgamesdirs } diff --git a/games-board/daemonshogi/files/daemonshogi-0.1.3-sandbox.patch b/games-board/daemonshogi/files/daemonshogi-0.1.3-sandbox.patch new file mode 100644 index 000000000000..be526515134f --- /dev/null +++ b/games-board/daemonshogi/files/daemonshogi-0.1.3-sandbox.patch @@ -0,0 +1,54 @@ +--- po/Makefile.in.in 2002-09-04 07:32:04.000000000 +0200 ++++ /home/Tupone/Desktop/Makefile.in.in 2006-04-28 21:15:02.000000000 +0200 +@@ -111,16 +111,16 @@ + install-data-no: all + install-data-yes: all + if test -r "$(MKINSTALLDIRS)"; then \ +- $(MKINSTALLDIRS) $(datadir); \ ++ $(MKINSTALLDIRS) $(DESTDIR)$(datadir); \ + else \ +- $(SHELL) $(top_srcdir)/mkinstalldirs $(datadir); \ ++ $(SHELL) $(top_srcdir)/mkinstalldirs $(DESTDIR)$(datadir); \ + fi + @catalogs='$(CATALOGS)'; \ + for cat in $$catalogs; do \ + cat=`basename $$cat`; \ + case "$$cat" in \ +- *.gmo) destdir=$(gnulocaledir);; \ +- *) destdir=$(localedir);; \ ++ *.gmo) destdir=$(DESTDIR)$(gnulocaledir);; \ ++ *) destdir=$(DESTDIR)$(localedir);; \ + esac; \ + lang=`echo $$cat | sed 's/\$(CATOBJEXT)$$//'`; \ + dir=$$destdir/$$lang/LC_MESSAGES; \ +@@ -153,12 +153,12 @@ + done + if test "$(PACKAGE)" = "gettext"; then \ + if test -r "$(MKINSTALLDIRS)"; then \ +- $(MKINSTALLDIRS) $(gettextsrcdir); \ ++ $(MKINSTALLDIRS) $(DESTDIR)$(gettextsrcdir); \ + else \ +- $(SHELL) $(top_srcdir)/mkinstalldirs $(gettextsrcdir); \ ++ $(SHELL) $(top_srcdir)/mkinstalldirs $(DESTDIR)$(gettextsrcdir); \ + fi; \ + $(INSTALL_DATA) $(srcdir)/Makefile.in.in \ +- $(gettextsrcdir)/Makefile.in.in; \ ++ $(DESTDIR)$(gettextsrcdir)/Makefile.in.in; \ + else \ + : ; \ + fi +@@ -171,10 +171,10 @@ + for cat in $$catalogs; do \ + cat=`basename $$cat`; \ + lang=`echo $$cat | sed 's/\$(CATOBJEXT)$$//'`; \ +- rm -f $(localedir)/$$lang/LC_MESSAGES/$(PACKAGE)$(INSTOBJEXT); \ +- rm -f $(localedir)/$$lang/LC_MESSAGES/$(PACKAGE)$(INSTOBJEXT).m; \ +- rm -f $(gnulocaledir)/$$lang/LC_MESSAGES/$(PACKAGE)$(INSTOBJEXT); \ +- rm -f $(gnulocaledir)/$$lang/LC_MESSAGES/$(PACKAGE)$(INSTOBJEXT).m; \ ++ rm -f $(DESTDIR)$(localedir)/$$lang/LC_MESSAGES/$(PACKAGE)$(INSTOBJEXT); \ ++ rm -f $(DESTDIR)$(localedir)/$$lang/LC_MESSAGES/$(PACKAGE)$(INSTOBJEXT).m; \ ++ rm -f $(DESTDIR)$(gnulocaledir)/$$lang/LC_MESSAGES/$(PACKAGE)$(INSTOBJEXT); \ ++ rm -f $(DESTDIR)$(gnulocaledir)/$$lang/LC_MESSAGES/$(PACKAGE)$(INSTOBJEXT).m; \ + done + rm -f $(gettextsrcdir)/po-Makefile.in.in + diff --git a/games-board/daemonshogi/files/digest-daemonshogi-0.1.3 b/games-board/daemonshogi/files/digest-daemonshogi-0.1.3 index 4518571255c0..3236dc84bde1 100644 --- a/games-board/daemonshogi/files/digest-daemonshogi-0.1.3 +++ b/games-board/daemonshogi/files/digest-daemonshogi-0.1.3 @@ -1 +1,3 @@ MD5 0c50aed707c8781e00ca0947fe77546a daemonshogi-0.1.3.tar.gz 507275 +RMD160 4d309f2540ddc5555ccd54647f769bc9ff1a0993 daemonshogi-0.1.3.tar.gz 507275 +SHA256 db05612259aaa43a50b29d41bfe321d41ab907b0f55cbe33ba4ccaa6b884fd61 daemonshogi-0.1.3.tar.gz 507275 -- cgit v1.2.3-65-gdbad