diff options
author | Robin H. Johnson <robbat2@gentoo.org> | 2015-08-08 13:49:04 -0700 |
---|---|---|
committer | Robin H. Johnson <robbat2@gentoo.org> | 2015-08-08 17:38:18 -0700 |
commit | 56bd759df1d0c750a065b8c845e93d5dfa6b549d (patch) | |
tree | 3f91093cdb475e565ae857f1c5a7fd339e2d781e /app-misc/realpath | |
download | gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.tar.gz gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.tar.bz2 gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.zip |
proj/gentoo: Initial commit
This commit represents a new era for Gentoo:
Storing the gentoo-x86 tree in Git, as converted from CVS.
This commit is the start of the NEW history.
Any historical data is intended to be grafted onto this point.
Creation process:
1. Take final CVS checkout snapshot
2. Remove ALL ChangeLog* files
3. Transform all Manifests to thin
4. Remove empty Manifests
5. Convert all stale $Header$/$Id$ CVS keywords to non-expanded Git $Id$
5.1. Do not touch files with -kb/-ko keyword flags.
Signed-off-by: Robin H. Johnson <robbat2@gentoo.org>
X-Thanks: Alec Warner <antarus@gentoo.org> - did the GSoC 2006 migration tests
X-Thanks: Robin H. Johnson <robbat2@gentoo.org> - infra guy, herding this project
X-Thanks: Nguyen Thai Ngoc Duy <pclouds@gentoo.org> - Former Gentoo developer, wrote Git features for the migration
X-Thanks: Brian Harring <ferringb@gentoo.org> - wrote much python to improve cvs2svn
X-Thanks: Rich Freeman <rich0@gentoo.org> - validation scripts
X-Thanks: Patrick Lauer <patrick@gentoo.org> - Gentoo dev, running new 2014 work in migration
X-Thanks: Michał Górny <mgorny@gentoo.org> - scripts, QA, nagging
X-Thanks: All of other Gentoo developers - many ideas and lots of paint on the bikeshed
Diffstat (limited to 'app-misc/realpath')
-rw-r--r-- | app-misc/realpath/Manifest | 4 | ||||
-rw-r--r-- | app-misc/realpath/files/realpath-1.14-no-po4a.patch | 12 | ||||
-rw-r--r-- | app-misc/realpath/files/realpath-1.15-build.patch | 35 | ||||
-rw-r--r-- | app-misc/realpath/files/realpath-1.15-prefix.patch | 39 | ||||
-rw-r--r-- | app-misc/realpath/files/realpath-1.16-nonls.patch | 29 | ||||
-rw-r--r-- | app-misc/realpath/files/realpath-1.17-build.patch | 43 | ||||
-rw-r--r-- | app-misc/realpath/metadata.xml | 9 | ||||
-rw-r--r-- | app-misc/realpath/realpath-1.17.ebuild | 75 | ||||
-rw-r--r-- | app-misc/realpath/realpath-1.18.ebuild | 81 |
9 files changed, 327 insertions, 0 deletions
diff --git a/app-misc/realpath/Manifest b/app-misc/realpath/Manifest new file mode 100644 index 000000000000..71d10b2cdc64 --- /dev/null +++ b/app-misc/realpath/Manifest @@ -0,0 +1,4 @@ +DIST realpath_1.17.tar.gz 17800 SHA256 214962d9c6e5a0a446d9cf3368bd1ab6cf2c209fbce1fe52e852763e70da984b SHA512 d4f8105e9256b140918dfa400eaac07bec9c29bced7284ab2a3a96282b13b59dca32ab0af38836dfe89dd4e3bf8b038ef4cf61a96d19951f46ac13264ceeec96 WHIRLPOOL a0b96eb70e5aa27fd76d1f4635de950c1adcac8ce3b2a9414fcd54df5df2b01818f3641b3fc049650a05373ffb45dad2a918bfe949fb057592338d9320b9f0a5 +DIST realpath_1.17_i386.deb 16372 SHA256 07f47353d2552aec26c679c32b2335302cd1fe54e5c1a290ec4b708fd1b0d104 SHA512 15704a27f3f140c4d69411bfd9c319e3205e7b70cccefdc5bec94ad10d6b6c6ad948c2fa51cf2ed69c8884928ba6dcb83a865185f3b010dc6eb343c2125c2118 WHIRLPOOL abf52c219d3b4f8a186bec4549d9e50f933924ea4676298b12c8da3373e3eb82dac301729153cb8ea427d5321ce4500c2872d55c9c83602abaf04392a1a8bbe1 +DIST realpath_1.18.tar.gz 17618 SHA256 e085f617874ef34453be553a2900c15969d78836ce6476b1c6382a69ea4f75de SHA512 98daa53b7a6d4b40ea3ff9ea89b7cb97782dd53f031e41a228a5aa8d2a41ae7920cbc1e2213f568098496e5c25da1381f08fb939f8668733a3c391f744fd16ed WHIRLPOOL c643e4098eb5474956cc4d1ada9a2676b3a494ece47fb2f298cc1a5aa1457d4b494476f65c55f131e4dd309a2ed12224f53071cc5e0863a9cc59b45137ec2526 +DIST realpath_1.18_i386.deb 16426 SHA256 e9b2103ed8b8041ea6c02e587242b18a4f4b4d4ee6d8c990b4969af1d688d1fd SHA512 fb2062041f8089a5ff07f76a9833e9d8bbe9560d72d4d5803c9524aeb782f9f4a135921b9984432ccfa361edc785a0f33785377ddf031a07ed316861a00a6f37 WHIRLPOOL e22ca8a14c1e329c8576001b325a96bf110eda8f82b368ee1bff7da35a68805a4fe19174f5518d6fd614f5c2df5c939b6316e4898e2f4ad75fd465413444fc13 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/files/realpath-1.15-build.patch b/app-misc/realpath/files/realpath-1.15-build.patch new file mode 100644 index 000000000000..7b90a0c0c27b --- /dev/null +++ b/app-misc/realpath/files/realpath-1.15-build.patch @@ -0,0 +1,35 @@ +diff --git a/common.mk b/common.mk +index 18f539c..142f7e6 100644 +--- a/common.mk ++++ b/common.mk +@@ -34,16 +34,11 @@ webcgidir := $(prefix)/lib/cgi-bin + 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 := +-LIBS := ++CC ?= gcc ++CFLAGS += -Wall -Wextra -Wstrict-prototypes -Wmissing-prototypes -DVERSION='"$(VERSION)"' -DPACKAGE='"$(PACKAGE)"' -DLOCALEDIR='"$(nlsdir)"' ++LDFLAGS += ++LIBS += + +-ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS))) +- CFLAGS += -O0 +-else +- CFLAGS += -O2 +-endif + + + # determine our version number +@@ -60,9 +55,6 @@ ifndef VERSION + 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.15-prefix.patch b/app-misc/realpath/files/realpath-1.15-prefix.patch new file mode 100644 index 000000000000..f9534641382f --- /dev/null +++ b/app-misc/realpath/files/realpath-1.15-prefix.patch @@ -0,0 +1,39 @@ +diff --git a/common.mk b/common.mk +index 2443a40..0a342ee 100644 +--- a/common.mk ++++ b/common.mk +@@ -8,17 +8,19 @@ override TOPDIR := $(dir $(call getCurrentMakefileName)) + + override PACKAGE := realpath + +-PATH := /usr/bin:/usr/sbin:/bin:/sbin:$(PATH) ++#PATH := /usr/bin:/usr/sbin:/bin:/sbin:$(PATH) ++ ++SHELL := @GENTOO_PORTAGE_EPREFIX@/bin/bash + + # build abstraction +-install_file := install -p -o root -g root -m 644 +-install_script := install -p -o root -g root -m 755 +-install_dir := install -d -o root -g root -m 755 ++install_file := install -p -m 644 ++install_script := install -p -m 755 ++install_dir := install -d -m 755 + install_link := ln -sf + compress := gzip -9f + +-prefix := /usr +-etcdir := /etc/$(PACKAGE) ++prefix := @GENTOO_PORTAGE_EPREFIX@/usr ++etcdir := @GENTOO_PORTAGE_EPREFIX@/etc/$(PACKAGE) + bindir := $(prefix)/bin + sbindir := $(prefix)/sbin + mandir := $(prefix)/share/man +@@ -33,7 +35,7 @@ webdocrootdir := /var/www + webcgidir := $(prefix)/lib/cgi-bin + applicationsdir := $(prefix)/share/applications + +-PERL := /usr/bin/perl ++PERL := @GENTOO_PORTAGE_EPREFIX@/usr/bin/perl + CC ?= gcc + CFLAGS += -Wall -Wextra -Wstrict-prototypes -Wmissing-prototypes -DVERSION='"$(VERSION)"' -DPACKAGE='"$(PACKAGE)"' -DLOCALEDIR='"$(nlsdir)"' + LDFLAGS += diff --git a/app-misc/realpath/files/realpath-1.16-nonls.patch b/app-misc/realpath/files/realpath-1.16-nonls.patch new file mode 100644 index 000000000000..d758d03ff89b --- /dev/null +++ b/app-misc/realpath/files/realpath-1.16-nonls.patch @@ -0,0 +1,29 @@ + src/realpath.c | 6 +----- + 1 files changed, 1 insertions(+), 5 deletions(-) + +diff --git a/src/realpath.c b/src/realpath.c +index 76fc909..e2cf86f 100644 +--- a/src/realpath.c ++++ b/src/realpath.c +@@ -23,10 +23,9 @@ + #include <errno.h> + #include <getopt.h> + #include <stdarg.h> +-#include <libintl.h> + #include <locale.h> + +-#define _(String) gettext (String) ++#define _(String) (String) + + static char *stripdir(char * dir, char *buf, int maxlen); + +@@ -116,9 +115,6 @@ int main(int argc, char **argv) { + + myname = ( p = strchr(argv[0], '/') ) ? p+1 : argv[0]; + +- setlocale(LC_ALL, ""); +- bindtextdomain(PACKAGE, LOCALEDIR); +- textdomain(PACKAGE); + + + parse_options(argc, argv); diff --git a/app-misc/realpath/files/realpath-1.17-build.patch b/app-misc/realpath/files/realpath-1.17-build.patch new file mode 100644 index 000000000000..c4a8b3dfc9b9 --- /dev/null +++ b/app-misc/realpath/files/realpath-1.17-build.patch @@ -0,0 +1,43 @@ +--- a/common.mk ++++ b/common.mk +@@ -33,16 +33,9 @@ + applicationsdir := $(prefix)/share/applications + + PERL := /usr/bin/perl +-CC := gcc +-CFLAGS += $(CPPFLAGS) -Wall -Wextra -Wstrict-prototypes -Wmissing-prototypes -Werror -g -DVERSION='"$(VERSION)"' -DPACKAGE='"$(PACKAGE)"' -DLOCALEDIR='"$(nlsdir)"' +-LIBS := +- +-ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS))) +- CFLAGS += -O0 +-else +- CFLAGS += -O2 +-endif +- ++CC ?= gcc ++CFLAGS += $(CPPFLAGS) -Wall -Wextra -Wstrict-prototypes -Wmissing-prototypes -DVERSION='"$(VERSION)"' -DPACKAGE='"$(PACKAGE)"' -DLOCALEDIR='"$(nlsdir)"' ++LIBS += + + # determine our version number + ifndef VERSION +@@ -58,9 +51,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 +@@ -108,7 +99,9 @@ + esac; fi; + endef + else +- msg := : ++ define msg ++ : ++ endef + endif + + msgprefix := *$(subst * ,*,$(wordlist 1,$(MAKELEVEL),* * * * * * * * * * * * * * * * * *)) diff --git a/app-misc/realpath/metadata.xml b/app-misc/realpath/metadata.xml new file mode 100644 index 000000000000..c0dd433566a9 --- /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.17.ebuild b/app-misc/realpath/realpath-1.17.ebuild new file mode 100644 index 000000000000..a3d2eb1c9f15 --- /dev/null +++ b/app-misc/realpath/realpath-1.17.ebuild @@ -0,0 +1,75 @@ +# Copyright 1999-2013 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=4 +inherit eutils toolchain-funcs flag-o-matic multilib prefix + +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 m68k ~mips ppc ppc64 s390 sh sparc x86 ~x86-interix ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" +IUSE="nls" + +RDEPEND="!sys-freebsd/freebsd-bin + nls? ( virtual/libintl )" +DEPEND="${RDEPEND} + nls? ( sys-devel/gettext ) + x86-interix? ( dev-libs/gnulib ) + elibc_mintlib? ( virtual/libiconv )" + +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 + fi +} + +src_prepare() { + use nls || epatch "${FILESDIR}"/${PN}-1.16-nonls.patch + epatch "${FILESDIR}"/${PN}-1.17-build.patch + epatch "${FILESDIR}"/${PN}-1.14-no-po4a.patch + epatch "${FILESDIR}"/${PN}-1.15-prefix.patch + eprefixify common.mk +} + +src_compile() { + tc-export CC + use nls && use !elibc_glibc && append-libs -lintl + [[ ${CHOST} == *-mint* ]] && append-libs "-liconv" + if [[ ${CHOST} == *-irix* || ${CHOST} == *-interix[35]* ]] ; then + append-flags -I"${EPREFIX}"/usr/$(get_libdir)/gnulib/include + append-ldflags -L"${EPREFIX}"/usr/$(get_libdir)/gnulib/$(get_libdir) + append-libs -lgnu + fi + + local subdir + for subdir in src man $(usex nls po ''); do + emake MAKE_VERBOSE=yes VERSION="${PV}" -C ${subdir} + done +} + +src_install() { + emake VERSION="${PV}" SUBDIRS="src man $(usex nls po '')" \ + DESTDIR="${D}" install + 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 + done + fi +} diff --git a/app-misc/realpath/realpath-1.18.ebuild b/app-misc/realpath/realpath-1.18.ebuild new file mode 100644 index 000000000000..5c5975f9a2f7 --- /dev/null +++ b/app-misc/realpath/realpath-1.18.ebuild @@ -0,0 +1,81 @@ +# Copyright 1999-2013 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 + +inherit eutils flag-o-matic multilib prefix 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 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~x86-interix ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" +IUSE="nls" + +RDEPEND=" + !sys-freebsd/freebsd-bin + nls? ( virtual/libintl )" +DEPEND="${RDEPEND} + nls? ( sys-devel/gettext ) + x86-interix? ( dev-libs/gnulib ) + elibc_mintlib? ( virtual/libiconv )" + +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 + fi +} + +src_prepare() { + use nls || epatch "${FILESDIR}"/${PN}-1.16-nonls.patch + epatch \ + "${FILESDIR}"/${PN}-1.17-build.patch \ + "${FILESDIR}"/${PN}-1.14-no-po4a.patch \ + "${FILESDIR}"/${PN}-1.15-prefix.patch + eprefixify common.mk +} + +src_compile() { + tc-export CC + use nls && use !elibc_glibc && append-libs -lintl + [[ ${CHOST} == *-mint* ]] && append-libs "-liconv" + if [[ ${CHOST} == *-irix* || ${CHOST} == *-interix[35]* ]] ; then + append-flags -I"${EPREFIX}"/usr/$(get_libdir)/gnulib/include + append-ldflags -L"${EPREFIX}"/usr/$(get_libdir)/gnulib/$(get_libdir) + append-libs -lgnu + fi + + local subdir + for subdir in src man $(usex nls po ''); do + emake MAKE_VERBOSE=yes VERSION="${PV}" -C ${subdir} + done +} + +src_install() { + emake \ + VERSION="${PV}" \ + SUBDIRS="src man $(usex nls po '')" \ + DESTDIR="${D}" \ + install + 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 + done + fi +} |