diff options
author | 2009-10-13 16:58:24 +0000 | |
---|---|---|
committer | 2009-10-13 16:58:24 +0000 | |
commit | 750142fbbe2254a2b19394e40b92c26bebd19403 (patch) | |
tree | c4c8ed6635a57c6cc72de7fd63d03d3aba1b0b15 /app-misc | |
parent | ia64/m68k/s390/sh stable wrt #257399 (diff) | |
download | gentoo-2-750142fbbe2254a2b19394e40b92c26bebd19403.tar.gz gentoo-2-750142fbbe2254a2b19394e40b92c26bebd19403.tar.bz2 gentoo-2-750142fbbe2254a2b19394e40b92c26bebd19403.zip |
Package moved from app-admin to app-misc category, bug 273968.
(Portage version: 2.2_rc44/cvs/Linux i686, RepoMan options: --force)
Diffstat (limited to 'app-misc')
-rw-r--r-- | app-misc/realpath/ChangeLog | 180 | ||||
-rw-r--r-- | app-misc/realpath/files/realpath-1.14-build.patch | 26 | ||||
-rw-r--r-- | app-misc/realpath/files/realpath-1.14-no-po4a.patch | 12 | ||||
-rw-r--r-- | app-misc/realpath/metadata.xml | 9 | ||||
-rw-r--r-- | app-misc/realpath/realpath-1.15.ebuild | 58 |
5 files changed, 285 insertions, 0 deletions
diff --git a/app-misc/realpath/ChangeLog b/app-misc/realpath/ChangeLog new file mode 100644 index 000000000000..28caa8c68a9b --- /dev/null +++ b/app-misc/realpath/ChangeLog @@ -0,0 +1,180 @@ +# ChangeLog for app-misc/realpath +# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/app-misc/realpath/ChangeLog,v 1.1 2009/10/13 16:58:23 ulm Exp $ + + 13 Oct 2009; Ulrich Mueller <ulm@gentoo.org> + +files/realpath-1.14-build.patch, +files/realpath-1.14-no-po4a.patch, + +realpath-1.15.ebuild, +metadata.xml: + Package moved from app-admin to app-misc category, bug 273968. Remove old. + + 31 Aug 2009; Brent Baude <ranger@gentoo.org> realpath-1.15.ebuild: + stable ppc64, bug 279841 + + 09 Aug 2009; nixnut <nixnut@gentoo.org> realpath-1.15.ebuild: + ppc stable #279841 + + 02 Aug 2009; Raúl Porcel <armin76@gentoo.org> realpath-1.15.ebuild: + alpha/arm/ia64/sparc/x86 stable wrt #279841 + + 01 Aug 2009; <chainsaw@gentoo.org> realpath-1.15.ebuild: + Marked stable on AMD64 as requested by Jeremy "Darkside" Olexa + <darkside@gentoo.org> in bug #279841. Compile-tested on a dual hex-core + Opteron with USE="nls". + + 01 Aug 2009; Jeroen Roovers <jer@gentoo.org> realpath-1.15.ebuild: + Stable for HPPA (bug #279841). + +*realpath-1.15 (13 Jun 2009) + + 13 Jun 2009; Ulrich Mueller <ulm@gentoo.org> realpath-1.14-r1.ebuild, + +realpath-1.15.ebuild: + Version bump. Install translated man pages (extracted from deb file) with + USE=nls again, bug 269905. + +*realpath-1.14-r1 (19 May 2009) + + 19 May 2009; Ulrich Mueller <ulm@gentoo.org> -realpath-1.14.ebuild, + +realpath-1.14-r1.ebuild, +files/realpath-1.14-no-po4a.patch: + Don't build translated man pages, in order to drop the build-time + dependency on po4a; fixes bug 269905. Re-add ~ppc64 keyword. + + 11 May 2009; Peter Alfredsen <loki_val@gentoo.org> realpath-1.14.ebuild: + Force-define VERSION to drop dpkg dependency. + +*realpath-1.14 (30 Apr 2009) + + 30 Apr 2009; Samuli Suominen <ssuominen@gentoo.org> + +files/realpath-1.14-build.patch, +realpath-1.14.ebuild: + Version bump. + + 14 Jan 2009; Joseph Jezak <josejx@gentoo.org> realpath-1.12.ebuild: + Marked ppc stable for bug #254432. + + 12 Jan 2009; Brent Baude <ranger@gentoo.org> realpath-1.12.ebuild: + Marking realpath-1.12 ppc64 for bug 254432 + + 12 Jan 2009; Jeroen Roovers <jer@gentoo.org> realpath-1.12.ebuild: + Stable for HPPA (bug #254432). + + 10 Jan 2009; Thomas Anderson <gentoofan23@gentoo.org> + realpath-1.12.ebuild: + stable amd64, bug 254432 + + 10 Jan 2009; Raúl Porcel <armin76@gentoo.org> realpath-1.12.ebuild: + alpha/arm/ia64/sparc/x86 stable + + 07 Jul 2008; Raúl Porcel <armin76@gentoo.org> realpath-1.12.ebuild: + Add ~alpha/~ia64 wrt #229217 + +*realpath-1.12 (16 May 2008) + + 16 May 2008; Samuli Suominen <ssuominen@gentoo.org> +realpath-1.12.ebuild: + Version bump. + + 27 Mar 2008; Raúl Porcel <armin76@gentoo.org> realpath-1.9.16.ebuild, + realpath-1.9.28.ebuild: + Fix debian HOMEPAGE + + 28 Nov 2007; Fabian Groffen <grobian@gentoo.org> realpath-1.9.16.ebuild, + realpath-1.9.28.ebuild: + Dropped ppc-macos keyword, see you in prefix + + 23 Jun 2007; Joshua Kinard <kumba@gentoo.org> realpath-1.9.28.ebuild: + Stable on mips, per #182979. + + 23 Jun 2007; Christoph Mende <angelos@gentoo.org> realpath-1.9.28.ebuild: + Stable on amd64 wrt bug 182979 + + 24 Apr 2007; Gustavo Zacarias <gustavoz@gentoo.org> + realpath-1.9.28.ebuild: + Stable on sparc + + 15 Apr 2007; Markus Rothe <corsair@gentoo.org> realpath-1.9.28.ebuild: + Stable on ppc64 + + 01 Apr 2007; Michael Hanselmann <hansmi@gentoo.org> + realpath-1.9.28.ebuild: + Stable on ppc. + + 20 Mar 2007; Raúl Porcel <armin76@gentoo.org> realpath-1.9.28.ebuild: + x86 stable + + 04 Feb 2007; Ryan Hill <dirtyepic@gentoo.org> + +files/realpath-1.9.16-Makefile.patch, + +files/realpath-1.9.28-Makefile.patch, -realpath-1.9.3.ebuild, + -realpath-1.9.10.ebuild, realpath-1.9.16.ebuild, realpath-1.9.28.ebuild: + Fix pre-stripping of files, pass CFLAGS and LDFLAGS and get CC using + tc-getCC for bug #152219. Patch by jakub@gentoo.org. Remove old versions. + + 20 Apr 2006; Diego Pettenò <flameeyes@gentoo.org> realpath-1.9.28.ebuild: + Drop ~x86-fbsd keyword and block freebsd-bin, as that already provides a + realpath binary. + + 07 Apr 2006; Bryan Østergaard <kloeri@gentoo.org metadata.xml: + Remove ciaranm from metadata.xml. + + 31 Mar 2006; Diego Pettenò <flameeyes@gentoo.org> realpath-1.9.28.ebuild: + Add ~x86-fbsd keyword. + +*realpath-1.9.28 (04 Mar 2006) + + 04 Mar 2006; Ciaran McCreesh <ciaranm@gentoo.org> +realpath-1.9.28.ebuild: + New version. Fix tests. + + 08 Apr 2005; Markus Rothe <corsair@gentoo.org> realpath-1.9.16.ebuild: + Stable on ppc64 + + 27 Mar 2005; Michael Hanselmann <hansmi@gentoo.org> realpath-1.9.16.ebuild: + Stable on ppc. + + 17 Jan 2005; Simon Stelling <blubb@gentoo.org> realpath-1.9.16.ebuild: + stable on amd64 + + 05 Jan 2005; Ciaran McCreesh <ciaranm@gentoo.org> realpath-1.9.16.ebuild: + x86, sparc, mips stable, added ~hppa + + 02 Jan 2005; <gongloo@gentoo.org> realpath-1.9.10.ebuild: + Stable on ppc-macos. + + 17 Dec 2004; Markus Rothe <corsair@gentoo.org> realpath-1.9.10.ebuild: + Stable on ppc64 + +*realpath-1.9.16 (15 Dec 2004) + + 15 Dec 2004; Ciaran McCreesh <ciaranm@gentoo.org> +metadata.xml, + +realpath-1.9.16.ebuild: + New version. Added shell-tools herd as maintainer + + 20 Nov 2004; Nick Dimiduk <ndimiduk@gentoo.org> realpath-1.9.10.ebuild: + Provided support for ppc-macos's case-insensative file system. + + 15 Nov 2004; Markus Rothe <corsair@gentoo.org> realpath-1.9.10.ebuild: + Marked ~ppc64; bug #71163 + + 05 Oct 2004; Pieter Van den Abeele <pvdabeel@gentoo.org> + realpath-1.9.10.ebuild, realpath-1.9.3.ebuild: + Masked realpath-1.9.3.ebuild stable for ppc + + 05 Oct 2004; Pieter Van den Abeele <pvdabeel@gentoo.org> + realpath-1.9.10.ebuild: + Masked realpath-1.9.10.ebuild stable for ppc + + 27 Jun 2004; Ciaran McCreesh <ciaranm@gentoo.org> realpath-1.9.10.ebuild: + Stable on sparc, mips + +*realpath-1.9.10 (13 May 2004) + + 13 May 2004; <mkennedy@gentoo.org> +realpath-1.9.10.ebuild: + New version. Resolves Bug #40241 + + 28 Jan 2004; <mkennedy@gentoo.org> realpath-1.9.3.ebuild: + ~mips ~ppc needed for common-lisp-controller + + 22 Aug 2003; Jason Wever <weeve@gentoo.org> realpath-1.9.3.ebuild: + Added ~sparc to keywords + +*realpath-1.9.3 (09 Jun 2003) + + 09 Jun 2003; Matthew Kennedy <mkennedy@gentoo.org> : + Initial import. Dependency of dev-lisp/common-lisp-controller. + diff --git a/app-misc/realpath/files/realpath-1.14-build.patch b/app-misc/realpath/files/realpath-1.14-build.patch new file mode 100644 index 000000000000..baba53f36130 --- /dev/null +++ b/app-misc/realpath/files/realpath-1.14-build.patch @@ -0,0 +1,26 @@ +diff -ur realpath-1.14.orig/common.mk realpath-1.14/common.mk +--- realpath-1.14.orig/common.mk 2009-02-22 11:58:00.000000000 +0000 ++++ realpath-1.14/common.mk 2009-04-30 16:12:29.000000000 +0000 +@@ -34,9 +34,9 @@ + applicationsdir := $(prefix)/share/applications + + PERL := /usr/bin/perl +-CC := gcc +-CFLAGS = -Wall -Wextra -Wstrict-prototypes -Wmissing-prototypes -Werror -g -DVERSION='"$(VERSION)"' -DPACKAGE='"$(PACKAGE)"' -DLOCALEDIR='"$(nlsdir)"' +-LDFLAGS := ++CC ?= gcc ++CFLAGS += -Wall -Wextra -Wstrict-prototypes -Wmissing-prototypes -DVERSION='"$(VERSION)"' -DPACKAGE='"$(PACKAGE)"' -DLOCALEDIR='"$(nlsdir)"' ++LDFLAGS += + LIBS := + + ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS))) +@@ -60,9 +60,6 @@ + unexport CDPATH ENV + + ifdef DESTDIR +- ifneq ($(DESTDIR),$(abspath $(DESTDIR))) +- $(error DESTDIR "$(DESTDIR)" is not an absolute path) +- endif + override ddirshort := DESTDIR + export ddirshort + endif diff --git a/app-misc/realpath/files/realpath-1.14-no-po4a.patch b/app-misc/realpath/files/realpath-1.14-no-po4a.patch new file mode 100644 index 000000000000..cfa780553646 --- /dev/null +++ b/app-misc/realpath/files/realpath-1.14-no-po4a.patch @@ -0,0 +1,12 @@ +Don't require po4a at build time. +http://bugs.gentoo.org/269905 + +--- realpath-1.14-orig/po/Makefile 2009-02-22 12:56:47.000000000 +0100 ++++ realpath-1.14/po/Makefile 2009-05-19 23:45:26.000000000 +0200 +@@ -4,5 +4,5 @@ + # + + ALL_TARGET= +-SUBDIRS=bin man ++SUBDIRS=bin + include ../common.mk diff --git a/app-misc/realpath/metadata.xml b/app-misc/realpath/metadata.xml new file mode 100644 index 000000000000..376efb8cd9e0 --- /dev/null +++ b/app-misc/realpath/metadata.xml @@ -0,0 +1,9 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> +<herd>shell-tools</herd> +<longdescription lang="en"> + The realpath utility finds the canonicalized absolute pathname of its + arguments in a similar way to readlink -f. +</longdescription> +</pkgmetadata> diff --git a/app-misc/realpath/realpath-1.15.ebuild b/app-misc/realpath/realpath-1.15.ebuild new file mode 100644 index 000000000000..a0735faf041f --- /dev/null +++ b/app-misc/realpath/realpath-1.15.ebuild @@ -0,0 +1,58 @@ +# Copyright 1999-2009 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/app-misc/realpath/realpath-1.15.ebuild,v 1.1 2009/10/13 16:58:23 ulm Exp $ + +EAPI=2 +inherit eutils toolchain-funcs + +DESCRIPTION="Return the canonicalized absolute pathname" +HOMEPAGE="http://packages.debian.org/unstable/utils/realpath" +SRC_URI="mirror://debian/pool/main/r/${PN}/${PN}_${PV}.tar.gz + nls? ( mirror://debian/pool/main/r/${PN}/${PN}_${PV}_i386.deb )" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="alpha amd64 arm hppa ia64 ~mips ppc ppc64 sparc x86" +IUSE="nls" + +RDEPEND="!sys-freebsd/freebsd-bin" + +src_unpack() { + unpack ${PN}_${PV}.tar.gz + + if use nls; then + # Unpack the .deb file, in order to get the preprocessed man page + # translations. This way we avoid a dependency on app-text/po4a. + mkdir deb + cd deb + unpack ${PN}_${PV}_i386.deb + unpack ./data.tar.gz + gunzip -r usr/share/man || die "gunzip failed" + fi +} + +src_prepare() { + epatch "${FILESDIR}"/${PN}-1.14-build.patch + epatch "${FILESDIR}"/${PN}-1.14-no-po4a.patch +} + +src_compile() { + tc-export CC + emake VERSION="${PV}" SUBDIRS="src man $(use nls && echo po)" \ + || die "emake failed" +} + +src_install() { + emake VERSION="${PV}" SUBDIRS="src man $(use nls && echo po)" \ + DESTDIR="${D}" install || die "emake install failed" + newdoc debian/changelog ChangeLog.debian + + if use nls; then + local dir + for dir in "${WORKDIR}"/deb/usr/share/man/*; do + [ -f "${dir}"/man1/realpath.1 ] || continue + newman "${dir}"/man1/realpath.1 realpath.${dir##*/}.1 \ + || die "newman failed" + done + fi +} |