summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'sys-apps')
-rw-r--r--sys-apps/apparmor-utils/ChangeLog9
-rw-r--r--sys-apps/apparmor-utils/Manifest6
-rw-r--r--sys-apps/apparmor-utils/apparmor-utils-2.7.2.ebuild (renamed from sys-apps/apparmor-utils/apparmor-utils-2.7.0.ebuild)21
3 files changed, 31 insertions, 5 deletions
diff --git a/sys-apps/apparmor-utils/ChangeLog b/sys-apps/apparmor-utils/ChangeLog
index b0227772a..cb9c4eeec 100644
--- a/sys-apps/apparmor-utils/ChangeLog
+++ b/sys-apps/apparmor-utils/ChangeLog
@@ -1,7 +1,14 @@
# ChangeLog for sys-apps/apparmor-utils
-# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
+# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
# $Header: $
+*apparmor-utils-2.7.2 (05 Feb 2012)
+
+ 05 Feb 2012; Michael Palimaka (kensington) <kensington@astralcloak.net>
+ -apparmor-utils-2.7.0.ebuild, +apparmor-utils-2.7.2.ebuild:
+ Version bump. Respect LINGUAS. Thanks to mgorny, hasufull, and Tommy[D] for
+ review.
+
*apparmor-utils-2.7.0 (18 Dec 2011)
18 Dec 2011; Michael Palimaka (kensington) <kensington@astralcloak.net>
diff --git a/sys-apps/apparmor-utils/Manifest b/sys-apps/apparmor-utils/Manifest
index d6f5c57a0..6c48c1eed 100644
--- a/sys-apps/apparmor-utils/Manifest
+++ b/sys-apps/apparmor-utils/Manifest
@@ -1,4 +1,4 @@
-DIST apparmor-2.7.0.tar.gz 1399442 RMD160 13e74c631baef1155d664b68465c655bd32f8570 SHA1 9428e466e242b9381ac152dafb58d488c8a01921 SHA256 ff8a2f49f902faa78e502590c65d3850fb9a2a3453bef0dc1f99e947c52fc60f
-EBUILD apparmor-utils-2.7.0.ebuild 803 RMD160 ad3fa4ba6859b830feb111b68619ed53ad81ae57 SHA1 4be583588daae5af974d6c8700c5612923b55672 SHA256 3e3238e20c1c5fce76d85821a3a7ae4b99dc78bed535830e2540475466da7ab2
-MISC ChangeLog 623 RMD160 a346531705ba0a3cd3814d12d8b7e8ffe54c57ff SHA1 f9b366b2ce0a53062330a991449c73ef1c14e22e SHA256 2bdbc594b2d47d13c4173301bf697af124e5820fd15be2a2b169d59bf3d7462b
+DIST apparmor-2.7.2.tar.gz 1403151 RMD160 a51fa3ec0dfa4f3cae77556fa751a414e1bc556b SHA1 0645cc2352f89c41825c59a07dfca9035599d85d SHA256 42deb8cbf4937fac07a48ec8427b90131e92ed2f83b606beee092bdb4fc2a41f
+EBUILD apparmor-utils-2.7.2.ebuild 1215 RMD160 a823137f85c6cac6c3e1e1850809a93247e88615 SHA1 0ceb8f37fe9eeef8ad2b31e66cf4971e6a5e1992 SHA256 3cd10ad26e033ffc46cf89e1b4661cfdf3588bcb3805530df1b9185094e1d974
+MISC ChangeLog 885 RMD160 f8c66e55c381ef3e364acd631c4ad3fa6230d05d SHA1 222db9be7c472c4603c9bbc51de995d106e6cd78 SHA256 23e8a3b55477e62ba3ca19b391f39f10146ccfa1e7f732ca72bdea4e2fda9459
MISC metadata.xml 209 RMD160 184537d7a401571abe0e5cbf9258ba3947d19382 SHA1 f2ea13baedca19e24be6ed7c3e6b765f7ff67cba SHA256 b0f0595f625235a62d9d40753827ae160e42156371fd9568bd2779042517f5e8
diff --git a/sys-apps/apparmor-utils/apparmor-utils-2.7.0.ebuild b/sys-apps/apparmor-utils/apparmor-utils-2.7.2.ebuild
index 816c496f6..cbbb2e3e5 100644
--- a/sys-apps/apparmor-utils/apparmor-utils-2.7.0.ebuild
+++ b/sys-apps/apparmor-utils/apparmor-utils-2.7.2.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2011 Gentoo Foundation
+# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $
@@ -15,6 +15,16 @@ SLOT="0"
KEYWORDS="~amd64"
IUSE=""
+LANGS="af ar bg bn bs ca cs cy da de el en_GB en_US es et fi fr gl
+ gu he hi hr hu id it ja ka km ko lo lt mk mr nb nl pa pl pt
+ pt_BR pt_PT ro ru si sk sl sr sv ta th tr uk vi wa xh zh_CN
+ zh_TW zu"
+
+for X in ${LANGS} ; do
+ IUSE+=" linguas_${X}"
+done
+unset X
+
DEPEND="dev-lang/perl"
RDEPEND="${DEPEND}
~sys-libs/libapparmor-${PV}[perl]
@@ -27,6 +37,15 @@ RDEPEND="${DEPEND}
S=${WORKDIR}/apparmor-${PV}/utils
+src_prepare() {
+ local lang
+ for lang in ${LANGS}; do
+ if ! use linguas_${lang}; then
+ rm po/${lang}.po || die "failed to remove nls"
+ fi
+ done
+}
+
src_install() {
perlinfo
emake DESTDIR="${D}" PERLDIR="${D}/${VENDOR_LIB}/Immunix" install