summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeroen Roovers <jer@gentoo.org>2013-07-24 02:24:18 +0000
committerJeroen Roovers <jer@gentoo.org>2013-07-24 02:24:18 +0000
commitadfa2a63b6150573ecf8fabaa8de24e5711413f3 (patch)
tree2c389ef24e9d128aac6c88ae14d685034c5c613c /app-text
parentQA: Removing stable keyword on arm as dev-python/lockfile doesn't have matchi... (diff)
downloadhistorical-adfa2a63b6150573ecf8fabaa8de24e5711413f3.tar.gz
historical-adfa2a63b6150573ecf8fabaa8de24e5711413f3.tar.bz2
historical-adfa2a63b6150573ecf8fabaa8de24e5711413f3.zip
Fix sandbox violation with LINGUAS=da (bug #465654).
Package-Manager: portage-2.2.0_alpha188/cvs/Linux x86_64 Manifest-Sign-Key: 0xA792A613
Diffstat (limited to 'app-text')
-rw-r--r--app-text/spellutils/ChangeLog8
-rw-r--r--app-text/spellutils/Manifest15
-rw-r--r--app-text/spellutils/files/spellutils-0.7-nls.patch13
-rw-r--r--app-text/spellutils/spellutils-0.7.ebuild26
4 files changed, 50 insertions, 12 deletions
diff --git a/app-text/spellutils/ChangeLog b/app-text/spellutils/ChangeLog
index 6900546e7237..093b70d6e390 100644
--- a/app-text/spellutils/ChangeLog
+++ b/app-text/spellutils/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for app-text/spellutils
-# Copyright 2000-2009 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-text/spellutils/ChangeLog,v 1.13 2009/01/03 15:37:55 angelos Exp $
+# Copyright 2000-2013 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/app-text/spellutils/ChangeLog,v 1.14 2013/07/24 02:24:17 jer Exp $
+
+ 24 Jul 2013; Jeroen Roovers <jer@gentoo.org> spellutils-0.7.ebuild,
+ +files/spellutils-0.7-nls.patch:
+ Fix sandbox violation with LINGUAS=da (bug #465654).
03 Jan 2009; Christoph Mende <angelos@gentoo.org> spellutils-0.7.ebuild:
QA: Respect CC (bug 243756)
diff --git a/app-text/spellutils/Manifest b/app-text/spellutils/Manifest
index 8b433f402990..15a08fd72329 100644
--- a/app-text/spellutils/Manifest
+++ b/app-text/spellutils/Manifest
@@ -1,4 +1,15 @@
+-----BEGIN PGP SIGNED MESSAGE-----
+Hash: SHA256
+
+AUX spellutils-0.7-nls.patch 506 SHA256 c4fccf1d519984dc8f9b33f3be056a8506180954285705e2565a12d957f29c59 SHA512 1d329b8cb27f6f50c3b0c7572352ca57420da12553143269c691f4998d62d6b7f730c42f2cbae324debddbda1729be3ea775c90ee3894d75e64d5f685f764723 WHIRLPOOL f1957ffdaaba7c45eacbab8f67b0a1bd17f7090a234256d62bf70d1529e28eef57c878a449be99d1e5aa20fe5b122c595c1d6db5aff4b0d1c9b6cd9f520c3943
DIST spellutils-0.7.tar.bz2 110421 SHA256 0d5723321b6d60f31a93a43708904b2fddfcff3ec2fdd30e13214c64dd28e875 SHA512 030b06038c587e668fcbef95afc64e28db48a25f2b247b829155c1a5b66d3b3012650cb4c13e5de41a70a1665b05fbfb44a4cd0b1295868e611a21d855f02f9e WHIRLPOOL eae95485f51ef7bede2076c60a7b2aa3f36b57723bb30aadc8fd863aded939f0529e18e656cc18cdb614945657ccecbb4ebf5580aa598974edaf2485ac71a709
-EBUILD spellutils-0.7.ebuild 738 SHA256 2b06a23096fd26d4da5f2cbb6eca65307a6c0a19fce1b772d05cb7bc68dfdb7d SHA512 ff94c4dd36c97806be4280a48a4770f07691f580b7ddb20533385333274f572865ff58920bcd9c58f15bd2e0ae3b6ffabdc9e2109179ced81705d3e00715951b WHIRLPOOL a0d9f6452eaa46bc88bff6a41bac0437029e68a5d7e30ace528373b66b367ecf6bf4ed39baf72b07f145f726cf7b70b8af0b2e7d289a5007da3578fb8bf1f387
-MISC ChangeLog 1381 SHA256 260699e073bb034f90c0159e3d9fe5a8fcc7fa36e21d384c526b6041a1b68a56 SHA512 a68e8956c09692b1196fa2166de41a9ca55aff1a73595ed341718c6dccd31e2b901b6312c113715aa65c7cdd0a29881a2a24d57ce8e2a2baf5be24e6716f685a WHIRLPOOL e46a75799351f8ab5a6ea44a16db3138f166e67a6d2e9900183259de4f587ade1d8c3bf8db3e5d86bf7797aa6bfc118aa8762e1b794cfd2bf778b63f3c79255d
+EBUILD spellutils-0.7.ebuild 776 SHA256 458b108f5e92a76170cf10a41b0de07ad72b239d4042550fb181337cf2173247 SHA512 307b9fa8afd8960e31f3c097d524293f7e3c2fb76f64df292ad9dd6a9f937190b2d88089de97cc3dfc3b8ace0b857c9906416801f24ff4f91102ef1580d27f4b WHIRLPOOL cd43692bd760e16376e4199d1f3188672d8fa9658abfdb631f8446698c8aae75f2c5f931cfe868d61b27c365fe8d30f05bc94795014598d3277998adf753831a
+MISC ChangeLog 1538 SHA256 c24f28b7c9ca74c98a10eb49b67cbfadf761f716195d779988c3369eebbdef93 SHA512 7a7891b4286080b1ffb48d2e8692ac382aa8213b44307886146f65f13fdc4a5c631dbf1dbc64ae879fdfd65a5bc66f0749e1b4882eca8a27d52b02bf7bf43cb7 WHIRLPOOL 01fe6046a0b55929476982b06f72747c3dcad102aeab4795aef65e9752ce22dd239d7d46d06f108370607d4369707922279e55c6a0b0dcd94094bc8f29dc1272
MISC metadata.xml 210 SHA256 90082fe26a119a63ca8fbe227f66c33ba74167b6cf28e2cef02dea6c4f656c39 SHA512 4554adeece55ce9adfdadba04443a3ede6ff910b96a11b77bb1f07ddd6bdbc756b8e6e1873660f8f54e67f46db1065980794a6136c6de7883b24d0ee13ff51fe WHIRLPOOL f546bd1233d5a9934ba0480881ceba944cb8ff1869c12ed2421d4ccbb247ee38dc0c7c8b979f10533ad0fc603b5e4829d0ddf174a83d0bda8e8dd62c1c873eeb
+-----BEGIN PGP SIGNATURE-----
+Version: GnuPG v2.0.20 (GNU/Linux)
+
+iEYEAREIAAYFAlHvOtIACgkQVWmRsqeSphMqSwCdFYZjzJKFPb1vIu/dDzQOCPzc
+wpsAn3jIa6OOVJHgcNxI2kz47l76IrvQ
+=PkCc
+-----END PGP SIGNATURE-----
diff --git a/app-text/spellutils/files/spellutils-0.7-nls.patch b/app-text/spellutils/files/spellutils-0.7-nls.patch
new file mode 100644
index 000000000000..ff36f67a9823
--- /dev/null
+++ b/app-text/spellutils/files/spellutils-0.7-nls.patch
@@ -0,0 +1,13 @@
+--- po/Makefile.in.in.orig 2000-04-16 12:04:50.000000000 +0200
++++ po/Makefile.in.in 2013-07-24 04:14:20.698869858 +0200
+@@ -119,8 +119,8 @@
+ 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; \
diff --git a/app-text/spellutils/spellutils-0.7.ebuild b/app-text/spellutils/spellutils-0.7.ebuild
index 89d112ff3aaa..321d93a19f41 100644
--- a/app-text/spellutils/spellutils-0.7.ebuild
+++ b/app-text/spellutils/spellutils-0.7.ebuild
@@ -1,8 +1,9 @@
-# Copyright 1999-2009 Gentoo Foundation
+# Copyright 1999-2013 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/app-text/spellutils/spellutils-0.7.ebuild,v 1.11 2009/01/03 15:37:55 angelos Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-text/spellutils/spellutils-0.7.ebuild,v 1.12 2013/07/24 02:24:17 jer Exp $
-inherit toolchain-funcs
+EAPI=5
+inherit eutils toolchain-funcs
DESCRIPTION="spellutils includes 'newsbody' (useful for spellchecking in mails, etc.)"
HOMEPAGE="http://home.worldonline.dk/byrial/spellutils/"
@@ -13,12 +14,21 @@ SLOT="0"
KEYWORDS="x86 ppc ~sparc alpha ~mips ~hppa amd64"
IUSE="nls"
-src_compile() {
+DEPEND="
+ nls? ( sys-devel/gettext)
+"
+DEPEND=""
+
+DOCS=( NEWS README )
+
+src_prepare() {
+ epatch "${FILESDIR}"/${P}-nls.patch
+}
+
+src_configure() {
econf $(use_enable nls)
- emake CC="$(tc-getCC)" || die "emake failed"
}
-src_install() {
- emake DESTDIR="${D}" install || die "emake install failed"
- dodoc NEWS README
+src_compile() {
+ emake CC="$(tc-getCC)"
}