summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTiago Cunha <tcunha@gentoo.org>2009-08-13 11:47:40 +0000
committerTiago Cunha <tcunha@gentoo.org>2009-08-13 11:47:40 +0000
commitccca27d8bd171244a999f7d8a88afff4d77f225a (patch)
tree5c67d7bf28beddc8616feac02dfe6f9c17d432f1 /dev-util/diffstat
parentVersion bump <http://my.opera.com/desktopteam/blog/2009/08/13/opera-10-0-beta... (diff)
downloadgentoo-2-ccca27d8bd171244a999f7d8a88afff4d77f225a.tar.gz
gentoo-2-ccca27d8bd171244a999f7d8a88afff4d77f225a.tar.bz2
gentoo-2-ccca27d8bd171244a999f7d8a88afff4d77f225a.zip
Version bump.
(Portage version: 2.1.6.13/cvs/Linux x86_64)
Diffstat (limited to 'dev-util/diffstat')
-rw-r--r--dev-util/diffstat/ChangeLog7
-rw-r--r--dev-util/diffstat/diffstat-1.48.ebuild48
2 files changed, 54 insertions, 1 deletions
diff --git a/dev-util/diffstat/ChangeLog b/dev-util/diffstat/ChangeLog
index b16c5103bf3d..f05061700808 100644
--- a/dev-util/diffstat/ChangeLog
+++ b/dev-util/diffstat/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for dev-util/diffstat
# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-util/diffstat/ChangeLog,v 1.79 2009/06/01 16:31:08 tcunha Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-util/diffstat/ChangeLog,v 1.80 2009/08/13 11:47:40 tcunha Exp $
+
+*diffstat-1.48 (13 Aug 2009)
+
+ 13 Aug 2009; Tiago Cunha <tcunha@gentoo.org> +diffstat-1.48.ebuild:
+ Version bump.
01 Jun 2009; Tiago Cunha <tcunha@gentoo.org>
-files/diffstat-1.37-hard-locale.patch, -diffstat-1.43.ebuild,
diff --git a/dev-util/diffstat/diffstat-1.48.ebuild b/dev-util/diffstat/diffstat-1.48.ebuild
new file mode 100644
index 000000000000..10f63aa80054
--- /dev/null
+++ b/dev-util/diffstat/diffstat-1.48.ebuild
@@ -0,0 +1,48 @@
+# Copyright 1999-2009 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-util/diffstat/diffstat-1.48.ebuild,v 1.1 2009/08/13 11:47:40 tcunha Exp $
+
+DESCRIPTION="Display a histogram of diff changes"
+HOMEPAGE="http://invisible-island.net/diffstat/diffstat.html"
+SRC_URI="ftp://invisible-island.net/diffstat/${P}.tgz"
+
+LICENSE="as-is"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~x86-fbsd"
+IUSE=""
+
+# NOTE: diffstat(1) auto-detects which decompressors are available, and switches
+# off the ability to read diff compressed files in a specific format if the
+# decompressor isn't found at build-time, even if you install it afterwards.
+# There are three solutions:
+# 1) Patch the build system to enable/disable a given decompressor, and provide
+# USE flags.
+# 2) (R)DEPEND on all decompressors.
+# 3) Warn the user by stating that if a decompressor is installed after
+# dev-util/diffstat, (s)he either needs to recompile this package, or set the
+# decompressor environment variable (eg DIFFSTAT_LZCAT_PATH).
+#
+# In the long term the first two solutions are flawed, because:
+# 1) Adding USE flags for each new decompressor is obviously wrong (the user
+# would still need to recompile dev-util/diffstat just to obtain support for
+# a given decompressor).
+# 2) Of keywording. An architecture team would either need to mask the USE flag,
+# drop its keyword from this package, or keyword every single decompressor.
+#
+# Thus, I think that if in the future a new decompressor support is added, it
+# would be better to just warn the user. For the 1.48 release, aside from the
+# ones that are installed by the system set (eg bzcat, zcat), only lzma-utils
+# would be needed, but there are already a few important packages that depend
+# on it, anyway.
+#
+# Also, pack(1) support is disabled, even though zcat from gzip(1) supports it.
+# Not sure if anyone is using this, but it was marked as LEGACY on SUSv2, and
+# disappeared on SUSv3. Nevertheless, if wanted set DIFFSTAT_PCAT_PATH to
+# /bin/zcat.
+DEPEND=""
+RDEPEND=""
+
+src_install() {
+ emake DESTDIR="${D}" install || die "emake install failed"
+ dodoc CHANGES || die "dodoc failed"
+}