diff options
Diffstat (limited to 'dev-util')
| -rw-r--r-- | dev-util/cbindgen/Manifest | 1 | ||||
| -rw-r--r-- | dev-util/cbindgen/cbindgen-0.14.6.ebuild | 55 | ||||
| -rw-r--r-- | dev-util/docker-distribution-pruner/docker-distribution-pruner-0_p20170401.ebuild | 4 | ||||
| -rw-r--r-- | dev-util/mingw64-runtime/Manifest | 2 | ||||
| -rw-r--r-- | dev-util/mingw64-runtime/metadata.xml | 1 | ||||
| -rw-r--r-- | dev-util/mingw64-runtime/mingw64-runtime-6.0.0-r3.ebuild | 115 | ||||
| -rw-r--r-- | dev-util/mingw64-runtime/mingw64-runtime-8.0.0.ebuild (renamed from dev-util/mingw64-runtime/mingw64-runtime-7.0.0.ebuild) | 4 |
7 files changed, 63 insertions, 119 deletions
diff --git a/dev-util/cbindgen/Manifest b/dev-util/cbindgen/Manifest index 6a6ffd6787f9..2456eb6cf3f0 100644 --- a/dev-util/cbindgen/Manifest +++ b/dev-util/cbindgen/Manifest @@ -3,6 +3,7 @@ DIST atty-0.2.13.crate 4764 BLAKE2B 673eea1d377fc3aca792a3a8bd2a5c058f3041abc76a DIST bitflags-1.2.1.crate 16745 BLAKE2B 0fa6d3ce44aad7616d5cd02aad8c1d0b0fed4022650eb43067c4a72e6fc88da05442674fa51826e4858a47c9de233e1ba2229820af094197cd11bb416ceffb2b SHA512 ad89b3798845e23737a620bba581c2ff1ff3e15bac12555c765e201d2c0b90ecea0cdbc5b5b1a3fa9858c385e8e041f8226f5acfae5bbbe9925643fff2bf3f0b DIST c2-chacha-0.2.3.crate 13336 BLAKE2B 0b548907ce4c9ee502ec96307ca003d168e8bcf9007ec667661d158f33de36fc2e832cb3c36cadc2523f6ba8b9aeff4dcb16e7f95a9a34ae02e8bd5d00f65cf2 SHA512 302498f75d1befdb8bf8b61d0eff2762f0e86000c3909d819a377be2fec72e830bfb4530e24059906b499cef17ab56229f5627fb998ad9ba34a7c6c0de748538 DIST cbindgen-0.14.4.crate 172123 BLAKE2B e86fe619d824b25884570c7a34bdb6ceb3d4906b2309a3c16b29b46284f7bd855991910000a54605eaf2786ce4f570b647a469a2d02831919d9c0a17feda694f SHA512 1d1dfbb159aad25ecbe77368ced803a0cf219a00238364d95b1866f371912e10932e9a6ccda7acd8541b270b1880bda4a29af095a8d83b79a792e31d1ce2bd78 +DIST cbindgen-0.14.6.crate 174606 BLAKE2B 9b1145513b8ff468b4afc51d44e038af48bf925901e1d8b12942e6ec19aed84e984de8024f2684965c6e68d68ae3c772b2a022d1cded9495011c2210156aeac7 SHA512 160165c1e273b571cedde7e7911c56d81408e1fb416d6415329a7a8b4f366a0dc66ceb8974da9ccf3d5dd20af86785cc57c8b788484b17da51372810c25b01bb DIST cfg-if-0.1.10.crate 7933 BLAKE2B 063a96ed176f34f788666b40adc483d147fc011dee941ab60569ddd0e57502b5dd06ed71090f4e14ce005d06e240500a286f74652615e9d068fba649610d8cf8 SHA512 9d22616bfb4a75770a828a0a3cddac6787297a5fdc53eb17e25811cc94de717f2de8bd66d53c5d65ba1c83d8892aefee5ae758cf56a1ef0a0c3120f70b244339 DIST clap-2.33.0.crate 196458 BLAKE2B 3bb62d817afc77b421a6282746b9b61367d224de6b614c7ed66bde452ce1046728077dab3368a46635b5c74d82ba3196586d87c0201478ce5b89638910dadb1a SHA512 f1075031414d48e4340bfe308904a95a31b72460724773c52a0bc8c004e625a04c904a39fc5420cb8c26a633321f9b5f4f69019c7aae5ed89900b63ed8c21a91 DIST getrandom-0.1.13.crate 24581 BLAKE2B a61df4369526f860eef6952a021c3f473562cc4171c373c105d8944c305370592cd98a6c28cc0f8d00496f6b47cb900a4498dad942d0b6f60b4d8163d8904f14 SHA512 534b01d28bc9e69a5ad1e84f34aa4154939c27d70c5f557f15e669fa8894c375486ee945a6a6d8adaf1b6b7accda0e24963f70e77dd51ee0638a6ae6daa38925 diff --git a/dev-util/cbindgen/cbindgen-0.14.6.ebuild b/dev-util/cbindgen/cbindgen-0.14.6.ebuild new file mode 100644 index 000000000000..bcf078abdef2 --- /dev/null +++ b/dev-util/cbindgen/cbindgen-0.14.6.ebuild @@ -0,0 +1,55 @@ +# Copyright 2017-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI="7" + +CRATES=" +ansi_term-0.11.0 +atty-0.2.13 +bitflags-1.2.1 +c2-chacha-0.2.3 +cbindgen-0.14.6 +cfg-if-0.1.10 +clap-2.33.0 +getrandom-0.1.13 +heck-0.3.1 +itoa-0.4.4 +libc-0.2.66 +log-0.4.8 +ppv-lite86-0.2.6 +proc-macro2-1.0.6 +quote-1.0.2 +rand-0.7.2 +rand_chacha-0.2.1 +rand_core-0.5.1 +rand_hc-0.2.0 +redox_syscall-0.1.56 +remove_dir_all-0.5.2 +ryu-1.0.2 +serde-1.0.104 +serde_derive-1.0.104 +serde_json-1.0.44 +strsim-0.8.0 +syn-1.0.11 +tempfile-3.1.0 +textwrap-0.11.0 +toml-0.5.5 +unicode-segmentation-1.6.0 +unicode-width-0.1.7 +unicode-xid-0.2.0 +vec_map-0.8.1 +wasi-0.7.0 +winapi-0.3.8 +winapi-i686-pc-windows-gnu-0.4.0 +winapi-x86_64-pc-windows-gnu-0.4.0 +" + +inherit cargo + +DESCRIPTION="A tool for generating C bindings to Rust code" +HOMEPAGE="https://github.com/eqrion/cbindgen/" +SRC_URI="$(cargo_crate_uris ${CRATES})" +LICENSE="MIT MPL-2.0" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~x86" +QA_FLAGS_IGNORED="usr/bin/cbindgen" diff --git a/dev-util/docker-distribution-pruner/docker-distribution-pruner-0_p20170401.ebuild b/dev-util/docker-distribution-pruner/docker-distribution-pruner-0_p20170401.ebuild index 3eafca49e433..506f657c859c 100644 --- a/dev-util/docker-distribution-pruner/docker-distribution-pruner-0_p20170401.ebuild +++ b/dev-util/docker-distribution-pruner/docker-distribution-pruner-0_p20170401.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2017 Gentoo Foundation +# Copyright 1999-2020 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=6 @@ -11,7 +11,7 @@ EGO_VENDOR=( "gopkg.in/yaml.v2 a3f3340b5840cee44f372bddb5880fcbc419b46a github.c inherit golang-build golang-vcs-snapshot ARCHIVE_URI="https://${EGO_PN%/*}/repository/archive.tar.gz?ref=${EGIT_COMMIT} -> ${P}.tar.gz" -KEYWORDS="~amd64" +KEYWORDS="~amd64 ~arm64" DESCRIPTION="Clean all old container revisions from registry" HOMEPAGE="https://gitlab.com/gitlab-org/docker-distribution-pruner" diff --git a/dev-util/mingw64-runtime/Manifest b/dev-util/mingw64-runtime/Manifest index 2769e87b5d4c..6f80cb794114 100644 --- a/dev-util/mingw64-runtime/Manifest +++ b/dev-util/mingw64-runtime/Manifest @@ -1,2 +1,2 @@ -DIST mingw-w64-v6.0.0.tar.bz2 9045653 BLAKE2B 8a54dca2d06c92ab968a93240996d07ab3b1ed4652555a48b7581c477856d5784ed192c578d78186e171e400bd18b4de3c6cafbdd96109367ad13c37792015c1 SHA512 e3d3663e0cb33a16f90b1a33e81b5a30d26f7e34270b14e865c10068f2a2d32da9ef8cbbb0c3fed9c71429ae11c82152ff3b87d81558929b2a4993dc99cfc11e DIST mingw-w64-v7.0.0.tar.bz2 9071231 BLAKE2B da00794ec456ede5913a565248c79255407c058469cb7338cf81b8d03c1e39f4189016b01734b786c0ad8f18166a24fdb95ca72edc954f31151e5d3aa2b2a899 SHA512 30e5b2824a24eeb99ab519e3fc134cc9a7f04ee8b853bc8d66a13d1ab74144bf78b93e162bfe6de2a5e61f63c0e620a933b260b02d019cd68cc4b78bd36c67fd +DIST mingw-w64-v8.0.0.tar.bz2 9370799 BLAKE2B ec65191722f6f2ddbb93488ea4c4c21e22fb5ef777ef293d65d13de1057d96c9105a4a4936999d4babbd8fdfc52ed14675f1c5fbc630524df28805e0f66b1a2b SHA512 cefcc86ac3e6337c88ed224ab4692abbd5eb543ce78fb6c5462198a85f36c9274a0a1df0a0bebd182137fd527c15831f9237c782711a85f32e77d9104b28359e diff --git a/dev-util/mingw64-runtime/metadata.xml b/dev-util/mingw64-runtime/metadata.xml index 1af9b3063944..9c316241d99a 100644 --- a/dev-util/mingw64-runtime/metadata.xml +++ b/dev-util/mingw64-runtime/metadata.xml @@ -8,7 +8,6 @@ <use> <flag name="idl">Install idl files.</flag> <flag name="libraries">Build extra libraries: mangle, pseh, winpthreads.</flag> - <flag name="secure-api">Expose secure API (*_s function) by default.</flag> <flag name="tools">Build extra tools: gendef, genidl.</flag> </use> <upstream> diff --git a/dev-util/mingw64-runtime/mingw64-runtime-6.0.0-r3.ebuild b/dev-util/mingw64-runtime/mingw64-runtime-6.0.0-r3.ebuild deleted file mode 100644 index 77fa46f250d6..000000000000 --- a/dev-util/mingw64-runtime/mingw64-runtime-6.0.0-r3.ebuild +++ /dev/null @@ -1,115 +0,0 @@ -# Copyright 1999-2020 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=6 - -export CBUILD=${CBUILD:-${CHOST}} -export CTARGET=${CTARGET:-${CHOST}} -if [[ ${CTARGET} == ${CHOST} ]] ; then - if [[ ${CATEGORY} == cross-* ]] ; then - export CTARGET=${CATEGORY#cross-} - fi -fi - -inherit autotools flag-o-matic eutils toolchain-funcs - -DESCRIPTION="Free Win64 runtime and import library definitions" -HOMEPAGE="https://sourceforge.net/projects/mingw-w64/" -SRC_URI="mirror://sourceforge/mingw-w64/mingw-w64/mingw-w64-release/mingw-w64-v${PV}.tar.bz2" - -LICENSE="BSD" -SLOT="0" -KEYWORDS="~amd64 ~x86" -# USE=libraries needs working stage2 compiler: bug #665512 -IUSE="headers-only idl libraries +secure-api tools" -RESTRICT="strip" - -S="${WORKDIR}/mingw-w64-v${PV}" - -is_crosscompile() { - [[ ${CHOST} != ${CTARGET} ]] -} -just_headers() { - use headers-only -} -alt_prefix() { - is_crosscompile && echo /usr/${CTARGET} -} -crt_with() { - just_headers && echo --without-$1 || echo --with-$1 -} -crt_use_enable() { - just_headers && echo --without-$2 || use_enable "$@" -} -crt_use_with() { - just_headers && echo --without-$2 || use_with "$@" -} - -pkg_setup() { - if [[ ${CBUILD} == ${CHOST} ]] && [[ ${CHOST} == ${CTARGET} ]] ; then - die "Invalid configuration" - fi -} - -src_configure() { - CHOST=${CTARGET} strip-unsupported-flags - # Normally mingw-64 does not use dynamic linker. - # But at configure time it uses $LDFLAGS. - # When default -Wl,--hash-style=gnu is passed - # __CTORS_LIST__ / __DTORS_LIST__ is mis-detected - # for target ld and binaries crash at shutdown. - filter-ldflags '-Wl,--hash-style=*' - - if ! just_headers; then - mkdir "${WORKDIR}/headers" - pushd "${WORKDIR}/headers" > /dev/null - CHOST=${CTARGET} "${S}/configure" \ - --prefix="${T}/tmproot" \ - --with-headers \ - --without-crt \ - || die - popd > /dev/null - append-cppflags "-I${T}/tmproot/include" - fi - - # By default configure tries to set --sysroot=${prefix}. We disable - # this behaviour with --with-sysroot=no to use gcc's sysroot default. - # That way we can cross-build mingw64-runtime with cross-emerge. - local prefix="${EPREFIX}"$(alt_prefix)/usr - CHOST=${CTARGET} econf \ - --with-sysroot=no \ - --prefix="${prefix}" \ - --libdir="${prefix}"/lib \ - --with-headers \ - --enable-sdk \ - $(crt_with crt) \ - $(crt_use_enable idl idl) \ - $(crt_use_with libraries libraries) \ - $(crt_use_with tools tools) \ - $(use_enable secure-api) \ - $( - $(tc-getCPP ${CTARGET}) ${CPPFLAGS} -dM - < /dev/null | grep -q __MINGW64__ \ - && echo --disable-lib32 --enable-lib64 \ - || echo --enable-lib32 --disable-lib64 - ) -} - -src_compile() { - if ! just_headers; then - emake -C "${WORKDIR}/headers" install - fi - default -} - -src_install() { - default - - if is_crosscompile ; then - # gcc is configured to look at specific hard-coded paths for mingw #419601 - dosym usr /usr/${CTARGET}/mingw - dosym usr /usr/${CTARGET}/${CTARGET} - dosym usr/include /usr/${CTARGET}/sys-include - fi - - rm -rf "${ED}/usr/share" -} diff --git a/dev-util/mingw64-runtime/mingw64-runtime-7.0.0.ebuild b/dev-util/mingw64-runtime/mingw64-runtime-8.0.0.ebuild index 9d94c1177c72..6daa6d5fb1d9 100644 --- a/dev-util/mingw64-runtime/mingw64-runtime-7.0.0.ebuild +++ b/dev-util/mingw64-runtime/mingw64-runtime-8.0.0.ebuild @@ -26,6 +26,10 @@ RESTRICT="strip" S="${WORKDIR}/mingw-w64-v${PV}" +PATCHES=( + "${FILESDIR}"/${PN}-7.0.0-fortify-only-ssp.patch +) + is_crosscompile() { [[ ${CHOST} != ${CTARGET} ]] } |
