summaryrefslogtreecommitdiff
path: root/app-misc/realpath
diff options
context:
space:
mode:
Diffstat (limited to 'app-misc/realpath')
-rw-r--r--app-misc/realpath/Manifest8
-rw-r--r--app-misc/realpath/files/realpath-1.14-no-po4a.patch12
-rw-r--r--app-misc/realpath/files/realpath-1.15-prefix.patch37
-rw-r--r--app-misc/realpath/files/realpath-1.16-nonls.patch24
-rw-r--r--app-misc/realpath/files/realpath-1.17-build.patch43
-rw-r--r--app-misc/realpath/metadata.xml12
-rw-r--r--app-misc/realpath/realpath-1.18.ebuild85
7 files changed, 0 insertions, 221 deletions
diff --git a/app-misc/realpath/Manifest b/app-misc/realpath/Manifest
deleted file mode 100644
index 8b8224f81be2..000000000000
--- a/app-misc/realpath/Manifest
+++ /dev/null
@@ -1,8 +0,0 @@
-AUX realpath-1.14-no-po4a.patch 187 BLAKE2B db92ae9baeeb76245f34653277b0ba9cc315e0d02512296bcdd3aadbaafccf3096f1aaefe52d856e6f9d17b44af8cb7701bc548731e21243f032c540739d4fbe SHA512 5e8068b6d88c63bd5b39d36e786f69d4ee2b9575568f09835baf9b2ac7c8006d42d240042317a966e3355a4b2c3df84f413db0573d467e1d637bf91e3e5fd71c
-AUX realpath-1.15-prefix.patch 1378 BLAKE2B b4a60485715366a9b8077d4662ea2fa34149e1809d256b2cef21aa6cb71cbcf79088e14552cfbeceb19d2fb91587c83eb8e5a1e6a50e2be995048fb4d1a1ddf8 SHA512 64841163f0fb281c679b62268289ab81b86e96120d17a4bc01e1ccef1eb7fe01fd7326cfb0891b48ab820e11e8a4277dbe8caa8089427011706062929653cd68
-AUX realpath-1.16-nonls.patch 529 BLAKE2B 0ae255f9011e4b3e493bbb34e0bc7ea3b7139d42b9cc71fcc9d0c88b9014f8b572093e3b81db876c3ab86b559e7b41956954f1fa53cacb34090f4b91647e6309 SHA512 aae8f78398398ac3f6e93757ef6682ff3d31998dad165093098b32735e4bf3b506a4d3661dcc6049cf6ef4bad5d0e77f4e96ddfc2568ce4905afb389114a6e69
-AUX realpath-1.17-build.patch 1161 BLAKE2B cd5821e86f048bae80b224b8db2322170e40638fcbe2d4582a2f21ef6a5218a576528446422d8363ca2e6b4a7cf209de9ff355ab229a683382d095436a22845a SHA512 507df6759deaf43c7973c8d9bb1faeffc22003308cd2fc4f73270eac9ba347e605093f55110b5c86170597eba4f2c80ea7d15b5ccab4b3d0b75dcef09203c09f
-DIST realpath_1.18.tar.gz 17618 BLAKE2B c42cbade8022a0aaafbf012c5f4db899bdadac6d06743a64fa0cf58c0533e9574fe1389939d296986fc1307362399753f58650d9029bf240fc6dc980c17a59f4 SHA512 98daa53b7a6d4b40ea3ff9ea89b7cb97782dd53f031e41a228a5aa8d2a41ae7920cbc1e2213f568098496e5c25da1381f08fb939f8668733a3c391f744fd16ed
-DIST realpath_1.18_i386.deb 16426 BLAKE2B 934d4d61bda3ce069959f3cf818b8d0b206c95ef458487f12c8afa59014dc141dcdf0ebd18a9540dd3104358139ce7f9317aabd8027dca6883f55905cc198d83 SHA512 fb2062041f8089a5ff07f76a9833e9d8bbe9560d72d4d5803c9524aeb782f9f4a135921b9984432ccfa361edc785a0f33785377ddf031a07ed316861a00a6f37
-EBUILD realpath-1.18.ebuild 1824 BLAKE2B 11edf4a0eacf2ad6b9bcee16473735ece66dd97fb93cfcddfd058d490ef3e890447c41f4e026b321fd412f45d455a70e4a9c3f140fd088e3abd8ab597270b8ef SHA512 c94cacf7b19a73ac85fbaca08e4da4794bb63ec336b2a2aa557eff13d7a66b09aa5c5578df23435cfa7bd5029848e25aeaa2149c2b0c9c9869891f78df09884a
-MISC metadata.xml 440 BLAKE2B 2e9225290f664d0b6ccd89f21720a08a837d72bae3576da60161a3d328a9947e2043ad28ff65aa1d4aad41a045f39d5ec1ba2a6c723ea17d6a2bce7eaa89f225 SHA512 3c070da6d5193b60193fa6de2f9f76339cd449450a785e2cbdc578be6ab66783e3892e5212e7dd1360f66680ade798282b6802358754d2a45f3956dc28f8dd9f
diff --git a/app-misc/realpath/files/realpath-1.14-no-po4a.patch b/app-misc/realpath/files/realpath-1.14-no-po4a.patch
deleted file mode 100644
index 44e13286bfac..000000000000
--- a/app-misc/realpath/files/realpath-1.14-no-po4a.patch
+++ /dev/null
@@ -1,12 +0,0 @@
-Don't require po4a at build time.
-http://bugs.gentoo.org/269905
-
---- a/po/Makefile
-+++ b/po/Makefile
-@@ -4,5 +4,5 @@
- #
-
- ALL_TARGET=
--SUBDIRS=bin man
-+SUBDIRS=bin
- include ../common.mk
diff --git a/app-misc/realpath/files/realpath-1.15-prefix.patch b/app-misc/realpath/files/realpath-1.15-prefix.patch
deleted file mode 100644
index 3e0837a8bf38..000000000000
--- a/app-misc/realpath/files/realpath-1.15-prefix.patch
+++ /dev/null
@@ -1,37 +0,0 @@
---- 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
deleted file mode 100644
index c1963ae46014..000000000000
--- a/app-misc/realpath/files/realpath-1.16-nonls.patch
+++ /dev/null
@@ -1,24 +0,0 @@
---- 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
deleted file mode 100644
index c4a8b3dfc9b9..000000000000
--- a/app-misc/realpath/files/realpath-1.17-build.patch
+++ /dev/null
@@ -1,43 +0,0 @@
---- 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
deleted file mode 100644
index dab54dbc151c..000000000000
--- a/app-misc/realpath/metadata.xml
+++ /dev/null
@@ -1,12 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
-<pkgmetadata>
- <maintainer type="project">
- <email>shell-tools@gentoo.org</email>
- <name>Gentoo Shell Tools Project</name>
- </maintainer>
- <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.18.ebuild b/app-misc/realpath/realpath-1.18.ebuild
deleted file mode 100644
index 4c596cd953c7..000000000000
--- a/app-misc/realpath/realpath-1.18.ebuild
+++ /dev/null
@@ -1,85 +0,0 @@
-# Copyright 1999-2021 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-inherit flag-o-matic 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 sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x64-solaris"
-IUSE="nls"
-
-RDEPEND="
- nls? ( virtual/libintl )"
-DEPEND="
- ${RDEPEND}
- nls? ( sys-devel/gettext )
-"
-
-PATCHES=(
- "${FILESDIR}"/${PN}-1.17-build.patch
- "${FILESDIR}"/${PN}-1.14-no-po4a.patch
- "${FILESDIR}"/${PN}-1.15-prefix.patch
-)
-
-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() {
- if ! use nls ; then
- eapply "${FILESDIR}"/${PN}-1.16-nonls.patch
- fi
-
- default
-
- # Don't compress man pages
- sed -i -e 's:gzip -9f:true:' common.mk || die
-
- eprefixify common.mk
-}
-
-src_compile() {
- tc-export CC
-
- use nls && ! use elibc_glibc && append-libs -lintl
-
- 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
-}