summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTiago Cunha <tcunha@gentoo.org>2009-09-07 14:12:55 +0000
committerTiago Cunha <tcunha@gentoo.org>2009-09-07 14:12:55 +0000
commit00c0eac0cdab0401dd4e3a34efd96387a0c6710b (patch)
tree0215b086e217390b34565125872592cf823a317f /dev-util/diffstat
parentarm/ia64/s390/sh/sparc stable (diff)
downloadgentoo-2-00c0eac0cdab0401dd4e3a34efd96387a0c6710b.tar.gz
gentoo-2-00c0eac0cdab0401dd4e3a34efd96387a0c6710b.tar.bz2
gentoo-2-00c0eac0cdab0401dd4e3a34efd96387a0c6710b.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.49.ebuild48
2 files changed, 54 insertions, 1 deletions
diff --git a/dev-util/diffstat/ChangeLog b/dev-util/diffstat/ChangeLog
index f05061700808..13bc351b5e61 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.80 2009/08/13 11:47:40 tcunha Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-util/diffstat/ChangeLog,v 1.81 2009/09/07 14:12:55 tcunha Exp $
+
+*diffstat-1.49 (07 Sep 2009)
+
+ 07 Sep 2009; Tiago Cunha <tcunha@gentoo.org> +diffstat-1.49.ebuild:
+ Version bump.
*diffstat-1.48 (13 Aug 2009)
diff --git a/dev-util/diffstat/diffstat-1.49.ebuild b/dev-util/diffstat/diffstat-1.49.ebuild
new file mode 100644
index 000000000000..ae654dbb04ed
--- /dev/null
+++ b/dev-util/diffstat/diffstat-1.49.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.49.ebuild,v 1.1 2009/09/07 14:12:55 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"
+}