summaryrefslogtreecommitdiff
path: root/app-admin/localepurge
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2018-07-14 20:56:41 +0100
committerV3n3RiX <venerix@redcorelinux.org>2018-07-14 20:56:41 +0100
commitd87262dd706fec50cd150aab3e93883b6337466d (patch)
tree246b44c33ad7a57550430b0a60fa0df86a3c9e68 /app-admin/localepurge
parent71bc00c87bba1ce31de0dac6c3b7fd1aee6917fc (diff)
gentoo resync : 14.07.2018
Diffstat (limited to 'app-admin/localepurge')
-rw-r--r--app-admin/localepurge/Manifest7
-rw-r--r--app-admin/localepurge/files/localepurge-0.5.4-directorysum.patch20
-rw-r--r--app-admin/localepurge/files/localepurge-0.5.4-evaltotal.patch11
-rw-r--r--app-admin/localepurge/files/localepurge-0.5.4-parentdir.patch18
-rw-r--r--app-admin/localepurge/files/localepurge-0.5.4-prefix.patch58
-rw-r--r--app-admin/localepurge/localepurge-0.5.4-r2.ebuild43
-rw-r--r--app-admin/localepurge/metadata.xml7
7 files changed, 0 insertions, 164 deletions
diff --git a/app-admin/localepurge/Manifest b/app-admin/localepurge/Manifest
deleted file mode 100644
index ba9bb5eb2d9e..000000000000
--- a/app-admin/localepurge/Manifest
+++ /dev/null
@@ -1,7 +0,0 @@
-AUX localepurge-0.5.4-directorysum.patch 726 BLAKE2B ededf92eb7b11dce7b1b7a46ce879f180ccfef64d2b6e503391350d32af7e502f0ebf27341f3e4345e0d944184e291b8df12daf0d863af9c11126b30dda309a1 SHA512 2b7c2284d26ad2ab254faf9c976ee2d53e0b5e46bf3696164e21772304ae28a8de13662099f492146674e50a8dfc49b799a4be25a3e8e0c42a6e47a085dfd522
-AUX localepurge-0.5.4-evaltotal.patch 289 BLAKE2B 05029aebc3e5a808b42188f0759b45c5bff534dd962374986fb49e7713c70353e7607c91ef8e045f89185dbc6cd24b672824c53e3f7b9f8b096843e1f8c40390 SHA512 d3326631ada71ed930aae1b7e9338fdff2e216d9130a735b431d37f0da5691f087d57e8cb5851b27514a43bf5b00cf3881e1e02f5d8899da186baa2cb771cf4f
-AUX localepurge-0.5.4-parentdir.patch 657 BLAKE2B ace728b65f9e1ce6f8c449f75cdec0313c3ba6168e5baeb64adf7a76fe7cd92774e7a8d345492c4f4c633854672278f91a4c3eb0cab8d30817a3b4af3ed6dc2d SHA512 246d7865eb0645e71b607a523c49d9ae39a31b3371d7042045dadaf4939b6c5a7dd1bc13bc9eabef46ebdebabdb07669b3636a498e9e8059196206b32c38484e
-AUX localepurge-0.5.4-prefix.patch 2799 BLAKE2B 167d9fae44e9351526a103b6fe2d91b0a825a9aa096f02cbede29ddb72a1c42acf849b1a0f19afce0b303e2966668ecdfaa23b9a99a49ef3ca0971eb46723563 SHA512 cdff18f4387919f1ac1376f843b3ce65645cb6c4837401d00bbb3293108833ceded1a5f0e02b23f4024164ee10d2d03fe798d3ce591401a2816c8b61a9999c21
-DIST localepurge-0.5.4.tbz2 5038 BLAKE2B 32a2155761d3cc8d8c1b0ad62ef324b7c7c768d75395ba6d4d6100382e83becba1d69fa15ac2839dabeeae15f1d2bb3bb947c62d5cbcb3d496cf68b140ae2bc8 SHA512 246acb8ef497a2f607ee8545c4d46fd5a1957189eb0b705bf6bcd1cd35ba5b48c7e090db480519c8e3a7427b5ad5a2c020b40232a8fbd0840f9677a6c7af600e
-EBUILD localepurge-0.5.4-r2.ebuild 1014 BLAKE2B 6e65605b6e478bc8e1cc09c01cbd65f5af572566cf7a741cf7591f332246c7f36f9f1c5aaa057e8ab62052c2c9ed502c73f5e708eb6662d08acccb873a4610a9 SHA512 8c00d1fe5b1ee8d95b6666e27e43b43d3dd32682d99f8c9f5f81f12f438cd4cb2d787dbf6fd818d903b44fd049a3138daaf5b0fd1a31f51fcb9b5c9d9715c756
-MISC metadata.xml 295 BLAKE2B b7de6495b5128fc39975ccef8917e8b997649cfb1d96bce9c969b1cc99d1aa01de5ad9b3992594c3e26a4753f9cb83ba87e33c0d5ffbd2c3b341e993c2e6825d SHA512 1828b9bd1dc81e15ab98d4dd17aa1dd165739824cd3c56c32872cee9b42ea6a4d4a110be9dcc21df889341402d1b1bc74c71e84572aa7892f81321e8a74d9cf5
diff --git a/app-admin/localepurge/files/localepurge-0.5.4-directorysum.patch b/app-admin/localepurge/files/localepurge-0.5.4-directorysum.patch
deleted file mode 100644
index ebca3b755aec..000000000000
--- a/app-admin/localepurge/files/localepurge-0.5.4-directorysum.patch
+++ /dev/null
@@ -1,20 +0,0 @@
---- a/localepurge
-+++ b/localepurge
-@@ -198,7 +198,7 @@
-
- if [ "$SHOWFREEDSPACE" = "enabled" ]; then
- if test $SPACETMP -gt 0 ; then
-- LOCALETOTAL=$SPACETMP
-+ LOCALETOTAL=$(($LOCALETOTAL + $SPACETMP))
- einfo "localepurge: Disk space freed in $LOCALEDIR: ${BOLD}"$SPACETMP"K${NORMAL}"
- fi
- SPACETMP=0
-@@ -230,7 +230,7 @@
-
- if [ "$SHOWFREEDSPACE" = "enabled" ]; then
- if test $SPACETMP -gt 0 ; then
-- MANTOTAL=$SPACETMP
-+ MANTOTAL=$(($MANTOTAL + $SPACETMP))
- einfo "localepurge: Disk space freed in $MANPAGEDIR: ${BOLD}"$SPACETMP"K${NORMAL}"
- fi
- SPACETMP=0
diff --git a/app-admin/localepurge/files/localepurge-0.5.4-evaltotal.patch b/app-admin/localepurge/files/localepurge-0.5.4-evaltotal.patch
deleted file mode 100644
index aed408283343..000000000000
--- a/app-admin/localepurge/files/localepurge-0.5.4-evaltotal.patch
+++ /dev/null
@@ -1,11 +0,0 @@
---- a/localepurge
-+++ b/localepurge
-@@ -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/files/localepurge-0.5.4-parentdir.patch b/app-admin/localepurge/files/localepurge-0.5.4-parentdir.patch
deleted file mode 100644
index 2d8d6dac5720..000000000000
--- a/app-admin/localepurge/files/localepurge-0.5.4-parentdir.patch
+++ /dev/null
@@ -1,18 +0,0 @@
---- a/localepurge
-+++ b/localepurge
-@@ -165,7 +165,14 @@
- ${ACTION} `find ${REMOVEPATH} -type f -o -type l`
-
- if [ "$SHOWFREEDSPACE" = "enabled" ]; then
-- SPACEAFTER=$(df -P ${REMOVEPATH} | awk '{if ( NR==2 ) { print $3 }}')
-+ # if symlink, REMOVEPATH could be removed
-+ # check from parentdir then
-+ if [ -d ${REMOVEPATH} ]; then
-+ SPACEAFTER=$(df -P ${REMOVEPATH} | awk '{if ( NR==2 ) { print $3 }}')
-+ else
-+ SPACEAFTER=$(df -P ${REMOVEPATH%/*} | awk '{if ( NR==2 ) { print $3 }}')
-+ fi
-+
- SPACESUM=$(($SPACEBEFORE - $SPACEAFTER))
-
- if test $SPACESUM -gt 0 ; then
diff --git a/app-admin/localepurge/files/localepurge-0.5.4-prefix.patch b/app-admin/localepurge/files/localepurge-0.5.4-prefix.patch
deleted file mode 100644
index 488871381aed..000000000000
--- a/app-admin/localepurge/files/localepurge-0.5.4-prefix.patch
+++ /dev/null
@@ -1,58 +0,0 @@
---- a/localepurge
-+++ b/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 /usr/share/binutils-data/*/*/locale /usr/share/gcc-data/*/*/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 @GENTOO_PORTAGE_EPREFIX@/usr/share/binutils-data/*/*/locale @GENTOO_PORTAGE_EPREFIX@/usr/share/gcc-data/*/*/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.4"
-
- LOCALETOTAL=0
-@@ -23,7 +23,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
-@@ -43,7 +43,7 @@
- print() {
- for x in $@; do
- if [ "${x}" = "" ]; then return 0
-- else /bin/echo $x
-+ else @GENTOO_PORTAGE_EPREFIX@/bin/echo $x
- fi
- done
- }
-@@ -184,7 +184,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
-@@ -216,7 +216,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.4-r2.ebuild b/app-admin/localepurge/localepurge-0.5.4-r2.ebuild
deleted file mode 100644
index 2375b29b4a0a..000000000000
--- a/app-admin/localepurge/localepurge-0.5.4-r2.ebuild
+++ /dev/null
@@ -1,43 +0,0 @@
-# Copyright 1999-2018 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-
-inherit prefix
-
-DESCRIPTION="Script to recover diskspace on unneeded locale files & localized man pages"
-HOMEPAGE="https://gentoo.org
-https://cgit.gentoo.org/proj/localepurge.git"
-SRC_URI="https://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 ~amd64-linux ~arm-linux ~x86-linux ~ppc-macos"
-IUSE=""
-
-DEPEND=""
-RDEPEND="app-shells/bash"
-
-S=${WORKDIR}/${PN}
-
-PATCHES=(
- "${FILESDIR}"/${PN}-0.5.4-prefix.patch
- "${FILESDIR}"/${PN}-0.5.4-directorysum.patch # 164544
- "${FILESDIR}"/${PN}-0.5.4-parentdir.patch #445910
- "${FILESDIR}"/${PN}-0.5.4-evaltotal.patch #452208
-)
-
-src_prepare() {
- default
- 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
-}
diff --git a/app-admin/localepurge/metadata.xml b/app-admin/localepurge/metadata.xml
deleted file mode 100644
index 779ea9e0804e..000000000000
--- a/app-admin/localepurge/metadata.xml
+++ /dev/null
@@ -1,7 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
-<pkgmetadata>
-<!-- maintainer-needed -->
-<longdescription>Just a simple tool to erase all uneeded locale and man files
-usually generated for USE="nls"</longdescription>
-</pkgmetadata>