diff options
author | Christoph Junghans <ottxor@gentoo.org> | 2012-08-05 23:45:10 +0000 |
---|---|---|
committer | Christoph Junghans <ottxor@gentoo.org> | 2012-08-05 23:45:10 +0000 |
commit | 897ab39cee3d3ab9dac6712a659c2a42578fa9d7 (patch) | |
tree | 24d59fba04793211f8133ebd124e7d9f211811d9 /app-admin | |
parent | Remove old. (diff) | |
download | historical-897ab39cee3d3ab9dac6712a659c2a42578fa9d7.tar.gz historical-897ab39cee3d3ab9dac6712a659c2a42578fa9d7.tar.bz2 historical-897ab39cee3d3ab9dac6712a659c2a42578fa9d7.zip |
add prefix changes
Package-Manager: portage-2.2.0_alpha120/cvs/Linux i686
Diffstat (limited to 'app-admin')
-rw-r--r-- | app-admin/localepurge/ChangeLog | 9 | ||||
-rw-r--r-- | app-admin/localepurge/Manifest | 19 | ||||
-rw-r--r-- | app-admin/localepurge/files/localepurge-0.5.3.3-prefix.patch | 58 | ||||
-rw-r--r-- | app-admin/localepurge/localepurge-0.5.3.3-r1.ebuild (renamed from app-admin/localepurge/localepurge-0.5.3.3.ebuild) | 8 |
4 files changed, 89 insertions, 5 deletions
diff --git a/app-admin/localepurge/ChangeLog b/app-admin/localepurge/ChangeLog index 3050004e1775..daa7be302041 100644 --- a/app-admin/localepurge/ChangeLog +++ b/app-admin/localepurge/ChangeLog @@ -1,6 +1,13 @@ # ChangeLog for app-admin/localepurge # Copyright 2002-2012 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/app-admin/localepurge/ChangeLog,v 1.37 2012/03/21 12:04:26 pacho Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-admin/localepurge/ChangeLog,v 1.38 2012/08/05 23:45:10 ottxor Exp $ + +*localepurge-0.5.3.3-r1 (05 Aug 2012) + + 05 Aug 2012; Christoph Junghans <ottxor@gentoo.org> + +files/localepurge-0.5.3.3-prefix.patch, +localepurge-0.5.3.3-r1.ebuild, + -localepurge-0.5.3.3.ebuild: + add prefix changes 21 Mar 2012; Pacho Ramos <pacho@gentoo.org> localepurge-0.5.3.3.ebuild: Fix reported version. diff --git a/app-admin/localepurge/Manifest b/app-admin/localepurge/Manifest index 98c0dfb1f508..ea3a6a18f224 100644 --- a/app-admin/localepurge/Manifest +++ b/app-admin/localepurge/Manifest @@ -1,6 +1,21 @@ +-----BEGIN PGP SIGNED MESSAGE----- +Hash: SHA256 + +AUX localepurge-0.5.3.3-prefix.patch 2585 SHA256 a20574adc1c6cbe1e32bd27bcd0389e0bc4d7d9156a5723389f1ddccf333cc6e SHA512 0522d28e2460fc326f9d6afb1c09ba3d3bb3c64b86ab8631017fbc1a29482e632613d8843013235f56d79e5207360eb036bcbdca28150dde652cc61687c32414 WHIRLPOOL 39821058e2cf46d667ab8014cfdbbf090b206437008b28797ca21a04d74989fff6df7472ca81c689ef1ec9b769e70e435b6e677bd2a01a90ba9bd8cfe61b49ea DIST localepurge-0.5.2.tbz2 4729 SHA256 c58083aabbd0892594d74b464b4ac063857d14a5c3173f45b1debb77980f31bc SHA512 e0c98b3498d5a5972a6b72c8cf619e70a3ca150ad77c6147800ef821212e432db9792de252a251e0977c43f001159f93875c7cbbe8e5821763a09abf53c9d1ba WHIRLPOOL a16aff3e2bdc340cfed1efc6a2a03c0987c2d93d170c70e1fd03075aa231721ff0a2b01dad9fa7fe98e24db5cfb746ff0c0ecea7c8486408f1a3f8e437da4c73 DIST localepurge-0.5.3.3.tbz2 4925 SHA256 55ea160eaea257a45200aa236680204bfc6eeb77235985fc6d0a1fb11392eb4d SHA512 1314503276956e404cab0224d3e5c15b60fd8722a063281459ca149da46c6704757763c1647ff7a28a964cf0f3c80fe633f969712ce85faecf41963d5b0cc03c WHIRLPOOL bdd12825dcea7d184a67a1feb4fe7ee2ffad29c816d82ebe76e5dd9c35e120c42a4cc4d1164137e458b478d9e52b8bebe69826da6b6e7b98190f041e950c2063 EBUILD localepurge-0.5.2.ebuild 916 SHA256 65feedfd4f16cac78a44be5754e3cede3c25d6ed5f80bd300803f335d66a4f81 SHA512 c741329ae6b99742efad8392837efdd03e4edeb5086be87a98a659c3619d050c24799c78fb716d646c1a73e3b0d6bec9a847f0d1428bf69fba2036cec1151736 WHIRLPOOL c181243a992ecd97c7ab4681f249724dc637b242f85a68ff145b705924babb4687b412706671ed5318ba4fc431192c888839bd76053206148e6e2ad2ae22cc25 -EBUILD localepurge-0.5.3.3.ebuild 861 SHA256 2160a5bb54951ba4cbce5353be20430d9f44a6175e2fbd7bfe3694a3c770b958 SHA512 800e10f921c7ff0ac56da439cafcde7e85e36bee42ec98c226492e89c82ef11a40bc949500bb911761bf9636e64999edab227cb71a0ac653174a7dc70bbd1ed9 WHIRLPOOL 940395c433c73ba40bf7184e41d519f0a9a5e671b7c3b92c45ceb0c38e69aee91602b0e07cd7ed533da04db05d8341e416eda488798277d54aab5e8ec6d3475b -MISC ChangeLog 4994 SHA256 d3995b828d3d91ecd2125fc2511a92953afd219444ed2f9f4949cdc2b968bf8f SHA512 a4eb187cbe1e479ad9ddc434632167bc307fb4946156e0146245a6178b756ff9f982da0c04146ef3b4865bd989547ac93d304876e328c861ff052b74d74a5662 WHIRLPOOL 4f5feca906c95cdec8a8b742cad588d03968bbd07b1c4e47260da7ff794510617d23d82c0518b9ebac4766fe5e0c41ff70e525cc18915b4cc61d4f2dd5160e95 +EBUILD localepurge-0.5.3.3-r1.ebuild 1013 SHA256 80c09fabfe515286115958cf49c658dfb124dbe21905601fc3f4ac2a9a5c2d63 SHA512 9140f3798c3855585c4e2d156f99b53e7fbb315e9b133cb57fde79682b6a3ac1b1c4fbb4d630a1308dc89c6e743b92bbe46e8b28402ecb07d22976495f09b9ca WHIRLPOOL 45569c7483e3b792e1b2d58e65b19758da3b710f9bcdb17deb283da221d412ebbab63a11a3e088002ebb6915735fe7e81b02cc8e9e38435783c1f73c045812de +MISC ChangeLog 5216 SHA256 7c4fdd83b5c591b834064bb0456f467450088c1cf507ddf39091389d74f98965 SHA512 9eb30402350786bc13df17f7379bf93405e1e70419523e844d020afbc2d72d848a8d288f9ce7bc6c7b1619837e96ca716d8c17ceddf686fe2f300219e0d182fa WHIRLPOOL 3b6e4fd894c01db4ec059e58a8f713066f28a369e2129d377109f0dab56b9b8c0d1505f062fda9d66d81da0595138d0941d1900a256f09c69d379c0c898bd3c4 MISC metadata.xml 342 SHA256 e55e43e1b1f3a8a26a99d0a9061584de5e24f2de489c93f525f35ded499324de SHA512 5258f0b87386f51ca3185558fd3875747c1b5a617febc4cc2cc0b29315540516bdb46481faa773e1e831e3ddf5733b1de8050303a8937c60d535c1a9238d3bca WHIRLPOOL 13182fe116da94cd1c7a745a9b71c84b00c0432fbb29e1e141e905f70be0d6ee616177039b288fe8048c317088505b335e6220023ddc4aea55523aec35400d6a +-----BEGIN PGP SIGNATURE----- +Version: GnuPG v2.0.19 (GNU/Linux) + +iQEcBAEBCAAGBQJQHwWMAAoJEOeBhlrCAAWGXPIH/i422K0HSaPjFpjQPapMZ5P5 +Q/lP3cZnA/F0IJneIjnssSxh1DUe3FHJFXH4BcSS+itfXLgrX2a7rAI6LZxXUXvj +Kx9RRwkdLSM7Rc3P7+Fez+3io6U7EcO9IWshVOgMBb8fQWjSosBPSUNFdLCey5RA +1mG9ztSV+3JtZD0FQ9W8y7MPlsb5dvhTl6J+1syBXBExkYxyju1nPcoemepZlBcW +Sa22ij3e5PHSRQ/ayCke54UA/uO1bQ/TP6aL/kBYQ7ZaHvbyIzZk+uAs+w8nEUsb +Nk0CzTHQ9QBGPWLz4wgWdtUconnP7beIwWimhQuXEQtvFUIj6m+jHcUkRdbt6Mc= +=k6dY +-----END PGP SIGNATURE----- diff --git a/app-admin/localepurge/files/localepurge-0.5.3.3-prefix.patch b/app-admin/localepurge/files/localepurge-0.5.3.3-prefix.patch new file mode 100644 index 000000000000..8787029cdaa9 --- /dev/null +++ b/app-admin/localepurge/files/localepurge-0.5.3.3-prefix.patch @@ -0,0 +1,58 @@ +--- localepurge ++++ localepurge +@@ -1,14 +1,14 @@ +-#!/bin/bash ++#!@GENTOO_PORTAGE_EPREFIX@/bin/bash + + # Deleting all locale files on system + # *not* listed in /etc/locale.nopurge + + set -e + +-LOCALEDIRS="/usr/share/locale /usr/local/share/locale /usr/kde/?.?/share/locale /opt/sun-jdk-*/jre/lib/locale /opt/sun-jre-bin-*/lib/locale /usr/lib/locale" +-MANPAGEDIRS="/usr/share/man /usr/man /usr/local/share/man /usr/kde/?.?/share/man /usr/kde/?.?/man /opt/sun-jdk-*/man /opt/sun-jre-bin-*/man" +-LOCALELIST="/var/cache/localepurge/localelist" +-CONFIGFILE="/etc/locale.nopurge" ++LOCALEDIRS="@GENTOO_PORTAGE_EPREFIX@/usr/share/locale @GENTOO_PORTAGE_EPREFIX@/usr/local/share/locale @GENTOO_PORTAGE_EPREFIX@/usr/kde/?.?/share/locale @GENTOO_PORTAGE_EPREFIX@/opt/sun-jdk-*/jre/lib/locale @GENTOO_PORTAGE_EPREFIX@/opt/sun-jre-bin-*/lib/locale @GENTOO_PORTAGE_EPREFIX@/usr/lib/locale" ++MANPAGEDIRS="@GENTOO_PORTAGE_EPREFIX@/usr/share/man @GENTOO_PORTAGE_EPREFIX@/usr/man @GENTOO_PORTAGE_EPREFIX@/usr/local/share/man @GENTOO_PORTAGE_EPREFIX@/usr/kde/?.?/share/man @GENTOO_PORTAGE_EPREFIX@/usr/kde/?.?/man @GENTOO_PORTAGE_EPREFIX@/opt/sun-jdk-*/man @GENTOO_PORTAGE_EPREFIX@/opt/sun-jre-bin-*/man" ++LOCALELIST="@GENTOO_PORTAGE_EPREFIX@/var/cache/localepurge/localelist" ++CONFIGFILE="@GENTOO_PORTAGE_EPREFIX@/etc/locale.nopurge" + VERSION="0.5.3.2" + + LOCALETOTAL=0 +@@ -22,7 +22,7 @@ + BRACKET=$'\e[34;01m' + BOLD=$'\e[1m' + +-ACTION="/bin/rm -vf" ++ACTION="@GENTOO_PORTAGE_EPREFIX@/bin/rm -vf" + + eerror () { + echo -e " ${BAD}*${NORMAL} $*" 2> /dev/stderr +@@ -42,7 +42,7 @@ + print() { + for x in $@; do + if [ "${x}" = "" ]; then return 0 +- else /bin/echo $x ++ else @GENTOO_PORTAGE_EPREFIX@/bin/echo $x + fi + done + } +@@ -165,7 +165,7 @@ + einfo "localepurge: processing locale files in ${LOCALEDIR} ..." + fi + +- for LOCALE in `/bin/ls ${LOCALEDIR}`; do ++ for LOCALE in `@GENTOO_PORTAGE_EPREFIX@/bin/ls ${LOCALEDIR}`; do + if echo "${PURGELIST}" | grep -xq ${LOCALE}; then + if [ -d ${LOCALEDIR}/${LOCALE}/LC_MESSAGES ]; then + if [ "${LIST}" = "enabled" ]; then +@@ -203,7 +203,7 @@ + einfo "localepurge: processing man pages in ${MANPAGEDIR} ..." + fi + +- for LOCALE in `/bin/ls ${MANPAGEDIR} | grep -v ^man[1-9]`; do ++ for LOCALE in `@GENTOO_PORTAGE_EPREFIX@/bin/ls ${MANPAGEDIR} | grep -v ^man[1-9]`; do + if echo "${PURGELIST}" | grep -xq ${LOCALE}; then + if [ -d ${MANPAGEDIR}/${LOCALE} ]; then + if [ "${LIST}" = "enabled" ]; then diff --git a/app-admin/localepurge/localepurge-0.5.3.3.ebuild b/app-admin/localepurge/localepurge-0.5.3.3-r1.ebuild index 905739be6b0f..66b1026cff37 100644 --- a/app-admin/localepurge/localepurge-0.5.3.3.ebuild +++ b/app-admin/localepurge/localepurge-0.5.3.3-r1.ebuild @@ -1,16 +1,18 @@ # Copyright 1999-2012 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/app-admin/localepurge/localepurge-0.5.3.3.ebuild,v 1.3 2012/03/21 12:04:26 pacho Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-admin/localepurge/localepurge-0.5.3.3-r1.ebuild,v 1.1 2012/08/05 23:45:10 ottxor Exp $ EAPI=4 +inherit eutils prefix + DESCRIPTION="Script to recover diskspace wasted for unneeded locale files and localized man pages." HOMEPAGE="http://gentoo.org" SRC_URI="mirror://gentoo/${P}.tbz2" LICENSE="GPL-2" SLOT="0" -KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~x86-fbsd" +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="" @@ -19,6 +21,8 @@ RDEPEND="app-shells/bash" S=${WORKDIR}/${PN} src_prepare() { + epatch "${FILESDIR}"/${P}-prefix.patch + eprefixify localepurge sed -i -e 's/0.5.3.2/0.5.3.3/' localepurge || die } |