diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2017-10-09 18:53:29 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2017-10-09 18:53:29 +0100 |
commit | 4f2d7949f03e1c198bc888f2d05f421d35c57e21 (patch) | |
tree | ba5f07bf3f9d22d82e54a462313f5d244036c768 /app-portage/portage-utils |
reinit the tree, so we can have metadata
Diffstat (limited to 'app-portage/portage-utils')
-rw-r--r-- | app-portage/portage-utils/Manifest | 12 | ||||
-rw-r--r-- | app-portage/portage-utils/files/portage-utils-0.61-solaris.patch | 27 | ||||
-rw-r--r-- | app-portage/portage-utils/files/post_sync | 8 | ||||
-rw-r--r-- | app-portage/portage-utils/files/q-reinitialize | 3 | ||||
-rw-r--r-- | app-portage/portage-utils/metadata.xml | 7 | ||||
-rw-r--r-- | app-portage/portage-utils/portage-utils-0.62.ebuild | 77 | ||||
-rw-r--r-- | app-portage/portage-utils/portage-utils-0.63.ebuild | 43 | ||||
-rw-r--r-- | app-portage/portage-utils/portage-utils-0.64.ebuild | 36 |
8 files changed, 213 insertions, 0 deletions
diff --git a/app-portage/portage-utils/Manifest b/app-portage/portage-utils/Manifest new file mode 100644 index 000000000000..11202928726b --- /dev/null +++ b/app-portage/portage-utils/Manifest @@ -0,0 +1,12 @@ +AUX portage-utils-0.61-solaris.patch 599 SHA256 7a5fbdd3f3ed89e7c2fa92c9acc61bd855aac81427326cfe47d09c8508686fb6 SHA512 e8da9c632f1637cd36c0302b065b03c89be412170354038a8b180d977d03db8a54188f1f920f4a2044696d9f5f008a26465e81210e7e7cdce73ea4c9fe048fbd WHIRLPOOL 07725da5a91e8bc8f62ccca59865263e6a86ebc5fbc564a8ac176185c07dfda3fa543a002d08b82f40891949ee5e8af5f1c249a9869e9f9a2c2cd465a0674431 +AUX post_sync 190 SHA256 73560378a5ef2bc39ced8f954f3d371f89d04fa45301f6e6471262caff03d5bf SHA512 0153d2931c2d2a0f03e74f75dadc14d115c0d0e50cbc43e17c1b05a6a406b4bf47435bd32d1b2f559ce6a576e24a30dcf47e8ea6d346371553560ceb055b4429 WHIRLPOOL 747a31cb3d31c242f4272940cdba19c62b0b4a60e93f5c8fa558325c8733c74cf1494d53e6b8b931a60d3529bb75fb043f210d98238f37b0f19857a612927b78 +AUX q-reinitialize 68 SHA256 e7aa83822c78d89d128d10e61ff30f529ea5af3c3b9b4395db6c213675b11e3b SHA512 d322fc0e3fd82583e9cfc6ffa95636134e4491e63fc1a1f34dcda58a1749c3ebcda97caee47bea4f44fb056c35c97e30819dd22e5c2ed8c936e0863466ebf6ae WHIRLPOOL 95f691370916fb749c67dffc176a0a1fef75f4eb5c21e0ff0d06e825ebe204cd7cf3412e26d4f4a204b166a882819379442203235a0cc0110a21d11311a0afd3 +DIST portage-utils-0.62.tar.xz 527216 SHA256 f6ce1938e41ec2073be12568470a7aae51489579add0709c08af5d9be1c0c563 SHA512 71b2888cef1bf7549c3829cc7d4bbe2e99a711434bae4fb78c55b9c37815b61623518f19ab87db30f533d771398933c085640dc7c8ffcedf87a70ac702a52fa1 WHIRLPOOL 105d60d3f778a79972e39d2d8e78aa8b971f085721362e4d594d86006752d97b25d41a1e5a9006f603cda0088da89abb179d8bc129815c1363f30dfb6ff59891 +DIST portage-utils-0.63.tar.xz 529012 SHA256 7a754cccad2d4c3331d348ba9df51bb3b9565866674303152b55248b05130a02 SHA512 2b0bceee63b894e7f517f3c938a1873aa90c41b668abbf6a39125a1bb9ce1059731e34216cc357787b5cbf83a0cf0748530147262673ea0bc26404d6274714eb WHIRLPOOL fdaec19af639c744394063dd57f7e64fb02ff10c4ee5b1ef2f49928df6d47fb5bf732e547264390787e20ca6e3251be3935e9f348f2510aa0fc6779778ca44ba +DIST portage-utils-0.64.tar.xz 533124 SHA256 a53505758d04b2115f636afc9f0c15176a591f3cdb58f684cfd148b29c4783f0 SHA512 e384b88454607aa9123ac3a71d55fb16de475ba59f4ba6efd236594f42140e75650696430138cdb6e1c4e1792db091bbc1db42b1c1102fd579af6514ecefffb7 WHIRLPOOL 19e34782c2f1ed637db73865acc6c07c4162ace55c0b24287bf92c66a9ebea4ca0ab230bb94478aa71bee72280231f75dd5de4eb8fc10248b52ee77cc977392e +EBUILD portage-utils-0.62.ebuild 2255 SHA256 521aa5d3d09a887c1971d6f2003840feba084f26ab58806bfbda8113c57759ba SHA512 7623733d270ec35228f8ae3383ec123a4593e764aad2c960ab37ad3e08e616cc60e690dc59494dfcf4a06162ff822377bda580a0393beda20ea026bf557cf22e WHIRLPOOL 74b65fa301f624495c83fbfeb47e1f1d1e34efb2531778ab2ca2df9dd42c97db5b668c6e11464071b88183637c4b38824fc669363607eaf05cfb1c1fc23a975e +EBUILD portage-utils-0.63.ebuild 1202 SHA256 3b1d9e46fc06983f68e1596f696e5577a1ac915e2f8dc30810b87be66c34224e SHA512 59a8f22bff1da852dbc0b4cf6d37b98c8a7dbf4c1fe5abed40f771479471a08de418a4e898d90b6e52fd13a1bf92e6a3f74a88792bf52b54de27d9ae41cec3ad WHIRLPOOL 5b99ad53bdc322a9d4216c018b98d430a3f3003e8b0884be7b2613f3ca89a38c4040377f3b69502542db819b5ed96c75ad48362c5b357578680a4ab1e4a68962 +EBUILD portage-utils-0.64.ebuild 1098 SHA256 23f610445cdfd8eb57a5b34d9628c3d9e5d3e0ebb8fb836d43e4f8ba344948d0 SHA512 3623da7562f2c7e8ccfb2c9ba8229346615a730dd8dbd23bfffc6379cd3b182ca789aa5fb4b875d68070b78e931cc72971028094a366d757c23b02c5352994dd WHIRLPOOL 0eb66ff10058d12957d372262e3ef3e213d6bc5c751bcfc0d838c2a5de16446696a541d8a2886b455e7895956f4d0486b2010efec7b2e3b4198ada0b6850ef42 +MISC ChangeLog 5551 SHA256 ff22e38cd7884953731308cce4eec5c58ab6fc20346fe1f63b67b8218f5a3045 SHA512 b60867699b62397ad1eeaa58a1f7a39ab7582b73df14901a3d7fc12c7c073a31090e051b8e5de4dca5ab5998765b20a015783569b2678efdd19b6d868a9b4ad0 WHIRLPOOL 69858193d50d6c894f176dffa6ea92cd759a1ed0eecb3403d3c695211260f9301e3dac724f0ab9571f74afc2d28b3e4512f18a5eb7b865eb97c36ec47bc31385 +MISC ChangeLog-2015 29800 SHA256 fb987414375c6e0cf3014c646223045e16cb82678578617025df2a8b51c05312 SHA512 3905ac03de51f61ceaeb5873c57702459af1dc6158594015752e2b72a636006664ee1a6da783f531a27988352d73c9dd8a68aa1775d44fd9649565ca380a2134 WHIRLPOOL ee3a960bc7e66f1f5501b2ad24aedacc7fada42337a3f3a7a6478098e48177f8c334749b13272fb27ba4ddefa37dcc3d85826decabe7363230bcb80973cae427 +MISC metadata.xml 214 SHA256 67bae2549564e628c2309c047a10077b3864da7f3903a79a64597be1197ca4d4 SHA512 d0c4ab837bd2d936086900fa4ad3d048ad069bfbc58dc7f07ad3819b383646d66f392407314bfe8f542fb8b0b2ffec0848bc7b2d122469f23b9ddaa4aec0a9cd WHIRLPOOL be2c2d84627f9fd53ea5a6b1d1e7bb570423c19588c69157546fa3f6d615be5f98caf2227a0d218ff4ca5df3433baefef6f6d2d7b1ecdec773f8ba8689477758 diff --git a/app-portage/portage-utils/files/portage-utils-0.61-solaris.patch b/app-portage/portage-utils/files/portage-utils-0.61-solaris.patch new file mode 100644 index 000000000000..8bcc9c1b0bad --- /dev/null +++ b/app-portage/portage-utils/files/portage-utils-0.61-solaris.patch @@ -0,0 +1,27 @@ +qcache: work around missing d_type/DT_DIR + +--- qcache.c ++++ qcache.c +@@ -750,13 +750,21 @@ + + xasprintf(&catpath, "%s/dep/%s", portedb, data->overlay); + dir = opendir(catpath); +- while ((de = readdir(dir))) ++ while ((de = readdir(dir))) { ++#ifndef DT_DIR ++ struct stat s; ++ if (stat(de->d_name, &s)) ++ continue; ++ if (S_ISDIR(s.st_mode) && de->d_name[0] != '.') { ++#else + if (de->d_type == DT_DIR && de->d_name[0] != '.') { ++#endif + bool ok; + allcats = add_set_unique(de->d_name, allcats, &ok); + if (ok) + ++numcat; + } ++ } + closedir(dir); + free(catpath); + diff --git a/app-portage/portage-utils/files/post_sync b/app-portage/portage-utils/files/post_sync new file mode 100644 index 000000000000..e94ea5d0257a --- /dev/null +++ b/app-portage/portage-utils/files/post_sync @@ -0,0 +1,8 @@ +#!/bin/sh +# Copyright 2006-2009 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +for f in /etc/portage/postsync.d/* ; do + [ -x "${f}" ] && "${f}" +done +: diff --git a/app-portage/portage-utils/files/q-reinitialize b/app-portage/portage-utils/files/q-reinitialize new file mode 100644 index 000000000000..7bca1a86b3ae --- /dev/null +++ b/app-portage/portage-utils/files/q-reinitialize @@ -0,0 +1,3 @@ +#!/bin/sh +[ -x /usr/bin/q ] && /usr/bin/q -r ${PORTAGE_QUIET:+-q} +: diff --git a/app-portage/portage-utils/metadata.xml b/app-portage/portage-utils/metadata.xml new file mode 100644 index 000000000000..496b9d3fd3e6 --- /dev/null +++ b/app-portage/portage-utils/metadata.xml @@ -0,0 +1,7 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> +<maintainer type="person"> + <email>vapier@gentoo.org</email> +</maintainer> +</pkgmetadata> diff --git a/app-portage/portage-utils/portage-utils-0.62.ebuild b/app-portage/portage-utils/portage-utils-0.62.ebuild new file mode 100644 index 000000000000..ede0015835af --- /dev/null +++ b/app-portage/portage-utils/portage-utils-0.62.ebuild @@ -0,0 +1,77 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI="4" + +inherit flag-o-matic toolchain-funcs eutils + +DESCRIPTION="small and fast portage helper tools written in C" +HOMEPAGE="https://wiki.gentoo.org/wiki/Portage-utils" +SRC_URI="mirror://gentoo/${P}.tar.xz + https://dev.gentoo.org/~vapier/dist/${P}.tar.xz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="alpha amd64 arm arm64 hppa ia64 m68k ~mips ppc ppc64 s390 sh sparc x86 ~ppc-aix ~amd64-fbsd ~sparc-fbsd ~x86-fbsd ~amd64-linux ~arm-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" +IUSE="nls static" + +RDEPEND="dev-libs/iniparser:0" +DEPEND="${RDEPEND} + app-arch/xz-utils + static? ( dev-libs/iniparser:0[static-libs] )" + +src_prepare() { + epatch_user +} + +src_configure() { + use static && append-ldflags -static + + # Avoid slow configure+gnulib+make if on an up-to-date Linux system + if use prefix || ! use kernel_linux || \ + has_version '<sys-libs/glibc-2.10' + then + econf --with-eprefix="${EPREFIX}" + else + tc-export CC + fi +} + +src_compile() { + emake NLS=$(usex nls) +} + +src_install() { + default + + exeinto /etc/portage/bin + doexe "${FILESDIR}"/post_sync + insinto /etc/portage/postsync.d + doins "${FILESDIR}"/q-reinitialize + + # Portage fixes shebangs, we just need to fix the paths in the files + sed -i \ + -e "s:\(/etc/portage/postsync.d\|/usr/bin/q\):${EPREFIX}&:g" \ + "${ED}"/etc/portage/bin/post_sync \ + "${ED}"/etc/portage/postsync.d/q-reinitialize || die +} + +pkg_preinst() { + # preserve +x bit on postsync files #301721 + local x + pushd "${ED}" >/dev/null + for x in etc/portage/postsync.d/* ; do + [[ -x ${EROOT}/${x} ]] && chmod +x "${x}" + done +} + +pkg_postinst() { + if [[ -z ${REPLACING_VERSIONS} ]] ; then + elog "${EPREFIX}/etc/portage/postsync.d/q-reinitialize has been installed for convenience" + elog "If you wish for it to be automatically run at the end of every --sync:" + elog " # chmod +x ${EPREFIX}/etc/portage/postsync.d/q-reinitialize" + elog "Normally this should only take a few seconds to run but file systems" + elog "such as ext3 can take a lot longer. To disable, simply do:" + elog " # chmod -x ${EPREFIX}/etc/portage/postsync.d/q-reinitialize" + fi +} diff --git a/app-portage/portage-utils/portage-utils-0.63.ebuild b/app-portage/portage-utils/portage-utils-0.63.ebuild new file mode 100644 index 000000000000..7cb197753ca9 --- /dev/null +++ b/app-portage/portage-utils/portage-utils-0.63.ebuild @@ -0,0 +1,43 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI="4" + +inherit flag-o-matic toolchain-funcs eutils + +DESCRIPTION="small and fast portage helper tools written in C" +HOMEPAGE="https://wiki.gentoo.org/wiki/Portage-utils" +SRC_URI="mirror://gentoo/${P}.tar.xz + https://dev.gentoo.org/~vapier/dist/${P}.tar.xz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~ppc-aix ~amd64-fbsd ~sparc-fbsd ~x86-fbsd ~amd64-linux ~arm-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" +IUSE="nls static" + +RDEPEND="dev-libs/iniparser:0" +DEPEND="${RDEPEND} + app-arch/xz-utils + static? ( dev-libs/iniparser:0[static-libs] )" + +src_prepare() { + epatch "${FILESDIR}"/${PN}-0.61-solaris.patch + epatch_user +} + +src_configure() { + use static && append-ldflags -static + + # Avoid slow configure+gnulib+make if on an up-to-date Linux system + if use prefix || ! use kernel_linux || \ + has_version '<sys-libs/glibc-2.10' + then + econf --with-eprefix="${EPREFIX}" + else + tc-export CC + fi +} + +src_compile() { + emake NLS=$(usex nls) +} diff --git a/app-portage/portage-utils/portage-utils-0.64.ebuild b/app-portage/portage-utils/portage-utils-0.64.ebuild new file mode 100644 index 000000000000..5eb5c140742d --- /dev/null +++ b/app-portage/portage-utils/portage-utils-0.64.ebuild @@ -0,0 +1,36 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI="5" + +inherit toolchain-funcs + +DESCRIPTION="small and fast portage helper tools written in C" +HOMEPAGE="https://wiki.gentoo.org/wiki/Portage-utils" +SRC_URI="mirror://gentoo/${P}.tar.xz + https://dev.gentoo.org/~vapier/dist/${P}.tar.xz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~ppc-aix ~x64-cygwin ~amd64-fbsd ~sparc-fbsd ~x86-fbsd ~amd64-linux ~arm-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" +IUSE="nls static" + +RDEPEND="dev-libs/iniparser:0" +DEPEND="${RDEPEND} + app-arch/xz-utils + static? ( dev-libs/iniparser:0[static-libs] )" + +src_configure() { + # Avoid slow configure+gnulib+make if on an up-to-date Linux system + if use prefix || ! use kernel_linux || \ + has_version '<sys-libs/glibc-2.10' + then + econf --with-eprefix="${EPREFIX}" + else + tc-export CC + fi +} + +src_compile() { + emake NLS=$(usex nls) STATIC=$(usex static) +} |