summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarkos Chandras <hwoarang@gentoo.org>2013-01-16 19:23:40 +0000
committerMarkos Chandras <hwoarang@gentoo.org>2013-01-16 19:23:40 +0000
commit1e256ff6cf84ebee660425914a72b4d0a5208a49 (patch)
tree959931f72c26979ca8bd2ab958e40dce116ce334 /app-admin/localepurge
parentFix AR/RANLIB again (bug #445524). (diff)
downloadhistorical-1e256ff6cf84ebee660425914a72b4d0a5208a49.tar.gz
historical-1e256ff6cf84ebee660425914a72b4d0a5208a49.tar.bz2
historical-1e256ff6cf84ebee660425914a72b4d0a5208a49.zip
Add patch to fix crash when cleared data equals to 0. Thanks to Kolan Sh. <mecareful@gmail.com>. Bug #452208
Package-Manager: portage-2.1.11.38/cvs/Linux x86_64 Manifest-Sign-Key: 0xB4AFF2C2
Diffstat (limited to 'app-admin/localepurge')
-rw-r--r--app-admin/localepurge/ChangeLog9
-rw-r--r--app-admin/localepurge/Manifest20
-rw-r--r--app-admin/localepurge/files/localepurge-0.5.4-evaltotal.patch11
-rw-r--r--app-admin/localepurge/localepurge-0.5.4-r2.ebuild43
4 files changed, 78 insertions, 5 deletions
diff --git a/app-admin/localepurge/ChangeLog b/app-admin/localepurge/ChangeLog
index 5cffd0647124..fb58e7cd9d9f 100644
--- a/app-admin/localepurge/ChangeLog
+++ b/app-admin/localepurge/ChangeLog
@@ -1,6 +1,13 @@
# ChangeLog for app-admin/localepurge
# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-admin/localepurge/ChangeLog,v 1.45 2013/01/13 17:53:05 maekke Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-admin/localepurge/ChangeLog,v 1.46 2013/01/16 19:23:39 hwoarang Exp $
+
+*localepurge-0.5.4-r2 (16 Jan 2013)
+
+ 16 Jan 2013; Markos Chandras <hwoarang@gentoo.org>
+ +files/localepurge-0.5.4-evaltotal.patch, +localepurge-0.5.4-r2.ebuild:
+ Add patch to fix crash when cleared data equals to 0. Thanks to Kolan Sh.
+ <mecareful@gmail.com>. Bug #452208
13 Jan 2013; Markus Meier <maekke@gentoo.org> localepurge-0.5.4-r1.ebuild:
arm stable, bug #451062
diff --git a/app-admin/localepurge/Manifest b/app-admin/localepurge/Manifest
index 4b1b54b92c2a..b743af353a0f 100644
--- a/app-admin/localepurge/Manifest
+++ b/app-admin/localepurge/Manifest
@@ -3,6 +3,7 @@ Hash: SHA256
AUX localepurge-0.5.3.3-prefix.patch 2585 SHA256 a20574adc1c6cbe1e32bd27bcd0389e0bc4d7d9156a5723389f1ddccf333cc6e SHA512 0522d28e2460fc326f9d6afb1c09ba3d3bb3c64b86ab8631017fbc1a29482e632613d8843013235f56d79e5207360eb036bcbdca28150dde652cc61687c32414 WHIRLPOOL 39821058e2cf46d667ab8014cfdbbf090b206437008b28797ca21a04d74989fff6df7472ca81c689ef1ec9b769e70e435b6e677bd2a01a90ba9bd8cfe61b49ea
AUX localepurge-0.5.4-directorysum.patch 799 SHA256 5b0ef49c52debca8a66a79087902b3beeafa91116d5e4eca5f87a4db54380593 SHA512 a7ccb8b1a6963e45ebde2ff72c0612eeaae62cd248b8b5c675d0e0d5d0c91d7d5db34edc6e09ceebab83016f62e233a62a71562537d5dc2ead20274f1bfead2b WHIRLPOOL 5939fbb8f623099f3c912e2fa9bfe698b4de217722286d7e9eb1cce729756c9510e7db400a3545fb5206ec1f7d95f98bb17154e41964aff8583d376c00532f13
+AUX localepurge-0.5.4-evaltotal.patch 366 SHA256 ee62901830d0c370be31279674b174151cfd23cdb7ffbdd7bd67f521b2548aec SHA512 81c10dae3222fee74ab814966745fcf6793aee4601ce3686d19c3ad6a602edb237fe877c94462cdfc5abfd71ce53cfa2fd439c453f38f98335147b1134cc843d WHIRLPOOL 4f76e43a98261a27d548062754104670e9a6980c5378346f9aef7a10d8c4ff5b7011ff6057c97cc7c177bb4b3e77eca533772dc14bccb2d26dac5b6944377444
AUX localepurge-0.5.4-parentdir.patch 730 SHA256 6c3418108a8e34202fe72ad03a673c088bda49667556ca374b98f6549cd0e592 SHA512 f46501a92fb37645c49d7ed50265cb739b7f0ca0f88be0586aae25f4672caf097ce60d6808c545b2dda31e295e596f58fba501f4470b7ea96c8fe11a1de0f0cb WHIRLPOOL 2bd35c43308b63d85b5a651220b813c0d9579621398b68f5fe8ef298658f132b6f3e49e3346d0c23d42e31378f403a525b7a9d76091ee44283b47a56f1c1e37d
AUX localepurge-0.5.4-prefix.patch 2872 SHA256 ebc8a9ed23e968edc182777c7e32a86169550b81dc13b6d78f5ebe919ce1f1ad SHA512 994050265349b6fd91d6759368250a25122d207ec3356dc5d7902a4d897012dadf2fead83d7aa36f98191ed309ce0019d8f21a445c7d56139355a9bd471e1ad6 WHIRLPOOL 0320e8dede7929b4db8cfc340aba8d96f69eee6e38d9c8b99b4ad10d34b5b5b0c973536e12cd79948179482c909fc04b1826ec517b35fc26bccd5251d0de8eda
DIST localepurge-0.5.2.tbz2 4729 SHA256 c58083aabbd0892594d74b464b4ac063857d14a5c3173f45b1debb77980f31bc SHA512 e0c98b3498d5a5972a6b72c8cf619e70a3ca150ad77c6147800ef821212e432db9792de252a251e0977c43f001159f93875c7cbbe8e5821763a09abf53c9d1ba WHIRLPOOL a16aff3e2bdc340cfed1efc6a2a03c0987c2d93d170c70e1fd03075aa231721ff0a2b01dad9fa7fe98e24db5cfb746ff0c0ecea7c8486408f1a3f8e437da4c73
@@ -11,12 +12,23 @@ DIST localepurge-0.5.4.tbz2 5038 SHA256 7aca13f6b44af74480c611c0dd63b6fe05c6084b
EBUILD localepurge-0.5.2.ebuild 916 SHA256 65feedfd4f16cac78a44be5754e3cede3c25d6ed5f80bd300803f335d66a4f81 SHA512 c741329ae6b99742efad8392837efdd03e4edeb5086be87a98a659c3619d050c24799c78fb716d646c1a73e3b0d6bec9a847f0d1428bf69fba2036cec1151736 WHIRLPOOL c181243a992ecd97c7ab4681f249724dc637b242f85a68ff145b705924babb4687b412706671ed5318ba4fc431192c888839bd76053206148e6e2ad2ae22cc25
EBUILD localepurge-0.5.3.3-r1.ebuild 1013 SHA256 80c09fabfe515286115958cf49c658dfb124dbe21905601fc3f4ac2a9a5c2d63 SHA512 9140f3798c3855585c4e2d156f99b53e7fbb315e9b133cb57fde79682b6a3ac1b1c4fbb4d630a1308dc89c6e743b92bbe46e8b28402ecb07d22976495f09b9ca WHIRLPOOL 45569c7483e3b792e1b2d58e65b19758da3b710f9bcdb17deb283da221d412ebbab63a11a3e088002ebb6915735fe7e81b02cc8e9e38435783c1f73c045812de
EBUILD localepurge-0.5.4-r1.ebuild 1131 SHA256 18e3f2c5cb76a0e56e2d7232e3cf52fc4dc99d171558b1d0aeb3779d77dbc7c9 SHA512 ad2cc3cf44b1340099f5f4053dc2dcd52923733554eb368154ebffe1097a599f7f11bc7f400074c10443878566feb49d96d5bdacca07033a91b6ccb5ae4b416c WHIRLPOOL 7238df7579d31a341a68705c9b4f5d9b44ce7c2f965cb0781a54c7ba40455d213d7caf34461264250d8cdfc082cefeb9920d8f1b0502657a177863c110cacca9
-MISC ChangeLog 6327 SHA256 6c84763e08e46c9d5af4407073700bf615d8700a32cf3e883e45a8a1055c48cf SHA512 19436838f3f470cddfb1fbf91e7f4cd9212c6ce572b3630d25c6f18530fabdb809440acda114708b2fbfde601f8b710a5ebcc768641b0b23ab2107dd628b7245 WHIRLPOOL ac96cbb8b962b68172ae36938c1a7433dd86dc8dbefc0944f35bcae8ef542b680f791d74ce299c0abfc23e6d6a5b3b242d567a535f32cdb1c07cac597eb6b3cf
+EBUILD localepurge-0.5.4-r2.ebuild 1193 SHA256 bdef63bd6d2857726bfb670f7eb033055beb7a75d6df7b5a0a6ce3f2f5768516 SHA512 5b64042f5a11403f094c58226319e17ea9e375f78d9ece0aba1038c7d0f095b844c4702d72afbfe700964190d0a4cd08b06412ef92122e19b0a5afe8175330a4 WHIRLPOOL f3ae1cea1affd21a76f682325e9fdcdd57e0018ccc3c8aa2a98516b93b898f77100ddf10955778c034625cf83a75ff5ae9a73d14ffa0b426a379bfabd4845eb0
+MISC ChangeLog 6607 SHA256 e756c644523bc20755cecbea80d351630853353e962e6ee177b17935a888dfee SHA512 fe09f363df070b590b4f633b17ee8fec065c0d116a433a6411b9841b87f57528edae9c4b93c0cf3524a452ebdb00085ecc894aa17cad0dd84205d33b2b8a9946 WHIRLPOOL 760112dcb54f6b2d1bf18ab02bfb0ba6d72939d72dc12db468837194b1686874a838f8110a112520d6c57cbed55207d939cceb86950232b80c8700c4fc0fb568
MISC metadata.xml 390 SHA256 fdd522819e9ca9140a24787bacf10cd54b0e6fb9f58a72aa8bbdc4c161ef60bf SHA512 665accecec788733edb2ca7d78893910c91c035642d042b10e8aa7def415761de6895de56fa7a7a6a34e3178014af871d7b5acd4ea29e6195d3c6808450caf7a WHIRLPOOL b7c112b966b4a9abceff6e6559d25591b50fa512dc7cc646a7472adb20f2286de95034286224c51f97e63398f4c4e7a8ad1d2d805f8c60549ec85f7c735c3a6c
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.19 (GNU/Linux)
-iEYEAREIAAYFAlDy9YwACgkQkKaRLQcq0GJ1fwCfd4vTRMvnyb0LDsVYk9gKAo8Z
-/sUAoKYJYRlKmEas5veV0UVP0iKi/alL
-=zTHs
+iQIcBAEBCAAGBQJQ9v48AAoJEPqDWhW0r/LCDXMP/3sGIKQQ76klo6nr4vIs7p0O
+Jz2AFBCR4HfZQ9bKHssg6Jx/0coHDhK0ampXS0Rw7jC8J4qZMWUPqUYxl1WVJHZT
+FGHncFRK0OVG6vQMHuFAFzL9O6kmWIDBuH213AVEJhOoeKg9RUQFnRhQLTPlYNhd
+o9E4gSNGPIoc6RwWmzExW3LW+tf5g2Z4n9O0c9oGwxOg8VedPZz7SGW8JgDkJy14
+DIGqu174VGPtEpOXjj0hNeXH5JoxGfvibtGNmJzZaQirhTbddRPNEdbC4iiIoJ3h
+LG3H0v3mZzc1LSZ5a4V3yAhpd8w2PzVgsKAFu+ySpxnU7vtq1rQqGol01xhLLfw+
+Tpl1nMdpGxmWe0SblTh9rR9tX9oQzsXlHgIapG8phhehkH3YRZ5zMhPsaQta5TlC
+ZpmrHhdCbUfBi9XXh1BbTTTYvWEfSuWnwxUq0ejKOALemLvhZV3KuEC1SPHtfnHl
+U4/IaaGmHBRdaCdwuTGQm8OVUX9zX24DGdXKmwUVbloVoDuyNNBghUByzWN4fLCZ
+gNy+Kh+q9XyOroNUucSPxTiPKoqa0MX1IxM9n/po6Yypp/ZpVHGcnm1gz5fYcQjd
+WjqGwaMPwjuEZ9yjFKEyeUeI2bMaah/dF6ijHB9z/Gd0rjqZM6yeW9wy7DWYu9EA
+2GR5aIepmg05MBTCEPEa
+=BcN+
-----END PGP SIGNATURE-----
diff --git a/app-admin/localepurge/files/localepurge-0.5.4-evaltotal.patch b/app-admin/localepurge/files/localepurge-0.5.4-evaltotal.patch
new file mode 100644
index 000000000000..df80a7f9c8a6
--- /dev/null
+++ b/app-admin/localepurge/files/localepurge-0.5.4-evaltotal.patch
@@ -0,0 +1,11 @@
+--- localepurge.original 2012-12-02 18:32:35.000000000 +0400
++++ localepurge 2013-01-14 19:31:35.327821252 +0400
+@@ -254,7 +254,7 @@
+
+ # Calculating and reporting total disk space freed:
+ if [ "$SHOWFREEDSPACE" = "enabled" ]; then
+- let TOTAL=$LOCALETOTAL+$MANTOTAL
++ TOTAL=$(($LOCALETOTAL+$MANTOTAL))
+ if test $TOTAL -lt 0; then
+ TOTAL=0
+ fi
diff --git a/app-admin/localepurge/localepurge-0.5.4-r2.ebuild b/app-admin/localepurge/localepurge-0.5.4-r2.ebuild
new file mode 100644
index 000000000000..e0a752f5c7a6
--- /dev/null
+++ b/app-admin/localepurge/localepurge-0.5.4-r2.ebuild
@@ -0,0 +1,43 @@
+# Copyright 1999-2013 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/app-admin/localepurge/localepurge-0.5.4-r2.ebuild,v 1.1 2013/01/16 19:23:39 hwoarang Exp $
+
+EAPI=4
+
+inherit eutils prefix
+
+DESCRIPTION="Script to recover diskspace wasted for unneeded locale files and localized man pages."
+HOMEPAGE="http://gentoo.org
+http://git.overlays.gentoo.org/gitweb/?p=proj/localepurge.git;a=summary"
+SRC_URI="http://dev.gentoo.org/~hwoarang/distfiles/${P}.tbz2"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~x86-fbsd ~x86-freebsd ~x86-interix ~amd64-linux ~x86-linux ~ppc-macos"
+IUSE=""
+
+DEPEND=""
+RDEPEND="app-shells/bash"
+
+S=${WORKDIR}/${PN}
+
+src_prepare() {
+ epatch "${FILESDIR}"/${P}-prefix.patch
+ # 164544
+ epatch "${FILESDIR}"/${P}-directorysum.patch
+ # 445910
+ epatch "${FILESDIR}"/${P}-parentdir.patch
+ # 452208
+ epatch "${FILESDIR}"/${P}-evaltotal.patch
+ eprefixify ${PN}
+}
+
+src_install() {
+ insinto /var/cache/${PN}
+ doins defaultlist
+ dosym defaultlist /var/cache/${PN}/localelist
+ insinto /etc
+ doins locale.nopurge
+ dobin ${PN}
+ doman ${PN}.8
+}