diff options
Diffstat (limited to 'sys-apps/fakeroot')
-rw-r--r-- | sys-apps/fakeroot/Manifest | 4 | ||||
-rw-r--r-- | sys-apps/fakeroot/fakeroot-1.18.4.ebuild | 38 | ||||
-rw-r--r-- | sys-apps/fakeroot/fakeroot-1.19.ebuild | 37 | ||||
-rw-r--r-- | sys-apps/fakeroot/fakeroot-1.20.2.ebuild | 38 | ||||
-rw-r--r-- | sys-apps/fakeroot/fakeroot-1.20.ebuild | 38 | ||||
-rw-r--r-- | sys-apps/fakeroot/files/fakeroot-1.18.4-no-acl_h.patch | 35 | ||||
-rw-r--r-- | sys-apps/fakeroot/files/fakeroot-1.19-no-acl_h.patch | 37 | ||||
-rw-r--r-- | sys-apps/fakeroot/metadata.xml | 5 |
8 files changed, 232 insertions, 0 deletions
diff --git a/sys-apps/fakeroot/Manifest b/sys-apps/fakeroot/Manifest new file mode 100644 index 000000000000..1e33a114419a --- /dev/null +++ b/sys-apps/fakeroot/Manifest @@ -0,0 +1,4 @@ +DIST fakeroot_1.18.4.orig.tar.bz2 309298 SHA256 0a359efa3e9496c33234b3e9c89306a09bb4da9d33de43c261f1d8447e6ebea2 SHA512 497292fe21d18a37eadd657fbe01db8902f4b8d87d63605928efd59789f4c14737997b9f0abc4d794dbef78066b952064bdb2dd9f0910ec75349d7dd313cd058 WHIRLPOOL cef9846747a7ef1712658cc39c5374a3921dd27b9f9540080c4be7b7eab75722c0710a0640900c51852910b0db2d44d5605f61e5c18981d56abc835269a11626 +DIST fakeroot_1.19.orig.tar.bz2 312304 SHA256 eafa6885535ff57a42248aec090fe17cfa5ca85b62cefa0d13637c9de8996868 SHA512 ff3f50cdf168deafab337d3d98299ccd4129ed2a9befa5f28171d92c2ddfa08c8f42424f32b3fbcbb1f83c16f22952e571946f4152246d08b0d18bab77c458e9 WHIRLPOOL 4fcce88f114a87a07698eede3ab384621bfff4cc3fa478c5b162e95c4901bc75647c7e7c69c8196885d96acd0658b5f3cba50e46973e010d0e4adc3f49729e00 +DIST fakeroot_1.20.2.orig.tar.bz2 326910 SHA256 7c0a164d19db3efa9e802e0fc7cdfeff70ec6d26cdbdc4338c9c2823c5ea230c SHA512 1ac231f995774aa40f43c4325cd9e6de45365963277c32a85776690c3e7fd281ac410f3d91395dc1e5e5ca3b143e89914e048632011a3985ead216e870852231 WHIRLPOOL b39d8682e13d69648f60ff70853b2588b9e638112b8874794e1c6bccb6c060868ee81031887cb7aacf78d2fa2ec9f00c4103655d24406d001e076c43b4ca6c1d +DIST fakeroot_1.20.orig.tar.bz2 321491 SHA256 2297b7e79487cf0bbc64ff6d3d02446d895e82e2b26467c74fd1119011f6f098 SHA512 b041ab87559f784041f05bfa9d5186ceaafebbcbd03057ede62bf420551e337ceec4b7101854937e206c6389ac2c0719545d5971457edaf564856bb44ce7b4b6 WHIRLPOOL 00b55e38004b3bb843e06299e014fb776150efc398b42099fa1772c4999aa3282a244c0987123f33aee9f844351dd9a31cf6c218c3439aebf1cba2c633a2b7bb diff --git a/sys-apps/fakeroot/fakeroot-1.18.4.ebuild b/sys-apps/fakeroot/fakeroot-1.18.4.ebuild new file mode 100644 index 000000000000..9fb41a9a14fc --- /dev/null +++ b/sys-apps/fakeroot/fakeroot-1.18.4.ebuild @@ -0,0 +1,38 @@ +# Copyright 1999-2013 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=4 +inherit eutils + +DESCRIPTION="A fake root environment by means of LD_PRELOAD and SysV IPC (or TCP) trickery" +HOMEPAGE="http://packages.qa.debian.org/f/fakeroot.html" +SRC_URI="mirror://debian/pool/main/${PN:0:1}/${PN}/${P/-/_}.orig.tar.bz2" + +LICENSE="GPL-3" +SLOT="0" +KEYWORDS="alpha amd64 ~arm hppa ppc sparc x86 ~amd64-linux ~x86-linux" +IUSE="acl static-libs test" + +RDEPEND="" +DEPEND="${RDEPEND} + acl? ( sys-apps/acl ) + test? ( app-arch/sharutils )" + +DOCS="AUTHORS BUGS DEBUG README doc/README.saving" + +src_prepare() { + epatch "${FILESDIR}"/${PN}-1.18.4-no-acl_h.patch +} + +src_configure() { + export ac_cv_header_sys_acl_h=$(usex acl) + + econf \ + $(use_enable static-libs static) +} + +src_install() { + default + use static-libs || find "${ED}" -name '*.la' -exec rm -f {} + +} diff --git a/sys-apps/fakeroot/fakeroot-1.19.ebuild b/sys-apps/fakeroot/fakeroot-1.19.ebuild new file mode 100644 index 000000000000..788b77b8a2c8 --- /dev/null +++ b/sys-apps/fakeroot/fakeroot-1.19.ebuild @@ -0,0 +1,37 @@ +# Copyright 1999-2013 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=4 +inherit eutils + +DESCRIPTION="A fake root environment by means of LD_PRELOAD and SysV IPC (or TCP) trickery" +HOMEPAGE="http://packages.qa.debian.org/f/fakeroot.html" +SRC_URI="mirror://debian/pool/main/${PN:0:1}/${PN}/${P/-/_}.orig.tar.bz2" + +LICENSE="GPL-3" +SLOT="0" +KEYWORDS="alpha amd64 ~arm hppa ppc sparc x86 ~amd64-linux ~x86-linux" +IUSE="acl static-libs test" + +DEPEND="acl? ( sys-apps/acl ) + test? ( app-arch/sharutils ) + sys-libs/libcap" + +DOCS="AUTHORS BUGS DEBUG README doc/README.saving" + +src_prepare() { + epatch "${FILESDIR}"/${PN}-1.19-no-acl_h.patch +} + +src_configure() { + export ac_cv_header_sys_acl_h=$(usex acl) + + econf \ + $(use_enable static-libs static) +} + +src_install() { + default + prune_libtool_files +} diff --git a/sys-apps/fakeroot/fakeroot-1.20.2.ebuild b/sys-apps/fakeroot/fakeroot-1.20.2.ebuild new file mode 100644 index 000000000000..25cbea37a3aa --- /dev/null +++ b/sys-apps/fakeroot/fakeroot-1.20.2.ebuild @@ -0,0 +1,38 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=4 +inherit eutils flag-o-matic + +DESCRIPTION="A fake root environment by means of LD_PRELOAD and SysV IPC (or TCP) trickery" +HOMEPAGE="http://packages.qa.debian.org/f/fakeroot.html" +SRC_URI="mirror://debian/pool/main/${PN:0:1}/${PN}/${P/-/_}.orig.tar.bz2" + +LICENSE="GPL-3" +SLOT="0" +KEYWORDS="alpha amd64 ~arm hppa ppc sparc x86 ~amd64-linux ~x86-linux" +IUSE="acl debug static-libs test" + +DEPEND="acl? ( sys-apps/acl ) + test? ( app-arch/sharutils ) + sys-libs/libcap" + +DOCS="AUTHORS BUGS DEBUG README doc/README.saving" + +src_prepare() { + epatch "${FILESDIR}"/${PN}-1.19-no-acl_h.patch +} + +src_configure() { + export ac_cv_header_sys_acl_h=$(usex acl) + + use debug && append-cppflags "-DLIBFAKEROOT_DEBUGGING" + econf \ + $(use_enable static-libs static) +} + +src_install() { + default + prune_libtool_files +} diff --git a/sys-apps/fakeroot/fakeroot-1.20.ebuild b/sys-apps/fakeroot/fakeroot-1.20.ebuild new file mode 100644 index 000000000000..7f05451d4270 --- /dev/null +++ b/sys-apps/fakeroot/fakeroot-1.20.ebuild @@ -0,0 +1,38 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=4 +inherit eutils flag-o-matic + +DESCRIPTION="A fake root environment by means of LD_PRELOAD and SysV IPC (or TCP) trickery" +HOMEPAGE="http://packages.qa.debian.org/f/fakeroot.html" +SRC_URI="mirror://debian/pool/main/${PN:0:1}/${PN}/${P/-/_}.orig.tar.bz2" + +LICENSE="GPL-3" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ppc ~sparc ~x86 ~amd64-linux ~x86-linux" +IUSE="acl debug static-libs test" + +DEPEND="acl? ( sys-apps/acl ) + test? ( app-arch/sharutils ) + sys-libs/libcap" + +DOCS="AUTHORS BUGS DEBUG README doc/README.saving" + +src_prepare() { + epatch "${FILESDIR}"/${PN}-1.19-no-acl_h.patch +} + +src_configure() { + export ac_cv_header_sys_acl_h=$(usex acl) + + use debug && append-cppflags "-DLIBFAKEROOT_DEBUGGING" + econf \ + $(use_enable static-libs static) +} + +src_install() { + default + prune_libtool_files +} diff --git a/sys-apps/fakeroot/files/fakeroot-1.18.4-no-acl_h.patch b/sys-apps/fakeroot/files/fakeroot-1.18.4-no-acl_h.patch new file mode 100644 index 000000000000..dbd9dd7758e9 --- /dev/null +++ b/sys-apps/fakeroot/files/fakeroot-1.18.4-no-acl_h.patch @@ -0,0 +1,35 @@ +http://bugs.gentoo.org/424419 + +--- libfakeroot.c ++++ libfakeroot.c +@@ -1551,6 +1551,7 @@ + return fakeroot_disabled; + } + ++#ifdef HAVE_SYS_ACL_H + #ifdef HAVE_ACL_T + int acl_set_fd(int fd, acl_t acl) { + errno = ENOTSUP; +@@ -1561,6 +1562,7 @@ + errno = ENOTSUP; + return -1; + } ++#endif /* HAVE_ACL_T */ + #endif /* HAVE_SYS_ACL_H */ + + #ifdef HAVE_FTS_READ +--- wrapfunc.inp ++++ wrapfunc.inp +@@ -167,10 +167,12 @@ + #endif /* HAVE_UNLINKAT */ + #endif /* HAVE_FSTATAT */ + ++#ifdef HAVE_SYS_ACL_H + #ifdef HAVE_ACL_T + acl_set_fd;int;(int fd, acl_t acl);(fd, acl) + acl_set_file;int;(const char *path_p, acl_type_t type, acl_t acl);(path_p, type, acl) + #endif /* HAVE_ACL_T */ ++#endif /* HAVE_SYS_ACL_H */ + + #ifdef HAVE_FTS_READ + fts_read;FTSENT *;(FTS *ftsp);(ftsp) diff --git a/sys-apps/fakeroot/files/fakeroot-1.19-no-acl_h.patch b/sys-apps/fakeroot/files/fakeroot-1.19-no-acl_h.patch new file mode 100644 index 000000000000..d208b8ffa43b --- /dev/null +++ b/sys-apps/fakeroot/files/fakeroot-1.19-no-acl_h.patch @@ -0,0 +1,37 @@ +http://bugs.gentoo.org/424419 + +--- fakeroot-1.19/libfakeroot.c ++++ fakeroot-1.19/libfakeroot.c +@@ -1908,6 +1908,7 @@ + return fakeroot_disabled; + } + ++#ifdef HAVE_SYS_ACL_H + #ifdef HAVE_ACL_T + acl_t acl_get_fd(int fd) { + errno = ENOTSUP; +@@ -1926,6 +1927,7 @@ + errno = ENOTSUP; + return -1; + } ++#endif /* HAVE_ACL_T */ + #endif /* HAVE_SYS_ACL_H */ + + #ifdef HAVE_FTS_READ +--- fakeroot-1.19/wrapfunc.inp ++++ fakeroot-1.19/wrapfunc.inp +@@ -206,12 +206,14 @@ + #endif /* HAVE_UNLINKAT */ + #endif /* HAVE_FSTATAT */ + ++#ifdef HAVE_SYS_ACL_H + #ifdef HAVE_ACL_T + acl_get_fd;acl_t;(int fd);(fd) + acl_get_file;acl_t;(const char *path_p, acl_type_t type);(path_p, type) + acl_set_fd;int;(int fd, acl_t acl);(fd, acl) + acl_set_file;int;(const char *path_p, acl_type_t type, acl_t acl);(path_p, type, acl) + #endif /* HAVE_ACL_T */ ++#endif /* HAVE_SYS_ACL_H */ + + #ifdef HAVE_FTS_READ + fts_read;FTSENT *;(FTS *ftsp);(ftsp) diff --git a/sys-apps/fakeroot/metadata.xml b/sys-apps/fakeroot/metadata.xml new file mode 100644 index 000000000000..96a2d586367d --- /dev/null +++ b/sys-apps/fakeroot/metadata.xml @@ -0,0 +1,5 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> +<herd>base-system</herd> +</pkgmetadata> |