mirror of
https://github.com/flatcar/scripts.git
synced 2025-08-17 18:06:59 +02:00
dev-libs/libbsd: update to 0.10.0
Update libbsd to 0.10.0, to address security issue CVE-2019-20367, an out-of-bounds read during a comparison for a symbol name from the string table.
This commit is contained in:
parent
4c9ee1d6e8
commit
9384fe3321
@ -1,7 +1 @@
|
||||
DIST libbsd-0.8.2.tar.xz 344292 SHA256 b2f644cae94a6e2fe109449c20ad79a0f6ee4faec2205b07eefa0020565e250a SHA512 2230d51a30a0c3a8518c7e325036d2b578c8c2b47525c2d0d5f530d28d82227ad48b50341e44521db21f99208fe7c0df7313254c90e3c92da1c8664a8cbb87c5 WHIRLPOOL 4f9b09aaa7c0775cd46bf0aaaba9e9a7f07040262739002bf3966aace3bb4d782f96b176e2c489e7d7cbc0840eecc463a414dee1b5c92414c9a821796d739290
|
||||
DIST libbsd-0.8.3.tar.xz 356772 SHA256 934b634f4dfd865b6482650b8f522c70ae65c463529de8be907b53c89c3a34a8 SHA512 155b895d6bd62b180718d65a2cda7484946c492d52735a57b51005705dfe4528b6a72e8745acea47b01fe68e3bbbe3c036c5e9998a8d06fc79efe2b96a04767f WHIRLPOOL ab74a85813ea3308e7e4c53b7a46f4b93e4dff4d091964a6347f9960729e8eb4c8a2a0866938de508caf47caf9371f14499fcb0cc4aa30da06f501f4ccad9ef2
|
||||
EBUILD libbsd-0.8.2.ebuild 1132 SHA256 618e140f483caa72a82bb16deb20b759388391c3864869af4cb9327cee1ce5ae SHA512 d141cfda78fd38481e3a5762b4fb1a5277b5350410f5f2ff6f1d4f56298a6c2380ca0acb1e663844cf74ac1117d3ce6844666e61677c90f3ed183e8945caa496 WHIRLPOOL c1eda192db31912cb8dc044a11838990d55875d6c3839fda82979914e3d4016b6ec12cbe4775be88b5e9f0daf6e17dbca4dd4dbf394f2f471f3d67e29250cdaa
|
||||
EBUILD libbsd-0.8.3.ebuild 1156 SHA256 eaf618183e644aed3dca0a984fab324221c24f59653e94178e0a5953f4e1a72e SHA512 58344f547ce2e835a9f01c44c31f364f162a1ecfbb54a5b056996e9f4b6abce777d7699b6224a5b0642d4d9b12545d269418129acc7c7b392ff03d9ea3287f40 WHIRLPOOL fbb1e220ee3a1fe14d108a87a921edd58de2b8aeb7a9a87eb598b3f38c7fada2fc45968a266f1f3b05fc54336a933a9ca742933e495958bceebf26c8a3985bcf
|
||||
MISC ChangeLog 7698 SHA256 ae39c8bfa8f2187cca3990233237765badabd0a138713cc884cdbb35232eb4cc SHA512 2415558c65f54d09e052fd883fb677156dbfdaa12be73ec67b97a3d38713cb92476b72bd1f37e43d84b78d2887ac5ff997f256566130c26f2112093861bb8be7 WHIRLPOOL 805fc806935b6b134a23aa60e88b970391eddc4400c58c0788165caf1678e3ae5bf20fe32a40dd93367577ee1cf750c0ce46fc37c4bcab0cf42108f656841bd6
|
||||
MISC ChangeLog-2015 5236 SHA256 5e8fd6dffc9bb76f2734a6da36bbf00792171f4167bfdb89419e08709ac4ec7d SHA512 dd4eae1cdfb9ab4eadf5ff529d291baa237612be9ea47794fefc7d86246172ef164c2bb65add1786acf651b89082ce5520aa5a0c1fd09fc70d65fba369d6bc41 WHIRLPOOL eda53a135a82ecfe31e32b9a6d03be9261f0ac14f4a1773494c2d7231de826bbaf7d4061f6827999ad79118c690bfd47d5983c7b9fb80c2a8795bfe061eeabc5
|
||||
MISC metadata.xml 276 SHA256 6bb81cdb026b199d78fb2a2327320a915a3bd241a9300bb069bd9c998521f613 SHA512 673180ba375ea401c0a8f197d516417b3f9361b11943c71bac88b0d0b1407b0bc657f5763c6fb6e429cc6ee112869a2247083fe56743e9ce918855c0ea929e59 WHIRLPOOL d494386e01171fe51879cf968a6cebca04c22477f3b8a52bfdd17b9ee06afd99c3979396f7abf40bee698d6fbb060e2f37e083cb3ed010c018d84211a2bc7cd0
|
||||
DIST libbsd-0.10.0.tar.xz 393576 BLAKE2B 66005a511dae7fb799322c813b8ea058ab460e3b9044756d6efad5de741d8f70270496f09803bbce8cd0000ff37e998f18e092037c850826c3c8e3f47ddfdb28 SHA512 b75529785b16c93d31401187f8a58258fbebe565dac071c8311775c913af989f62cd29d5ce2651af3ea6221cffd31cf04826577d3e546ab9ca14340f297777b9
|
||||
|
@ -1,16 +1,16 @@
|
||||
# Copyright 1999-2017 Gentoo Foundation
|
||||
# Copyright 1999-2020 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
inherit eutils multilib-minimal
|
||||
EAPI=7
|
||||
inherit multilib-minimal
|
||||
|
||||
DESCRIPTION="An library to provide useful functions commonly found on BSD systems"
|
||||
HOMEPAGE="https://libbsd.freedesktop.org/wiki/"
|
||||
HOMEPAGE="https://libbsd.freedesktop.org/wiki/ https://gitlab.freedesktop.org/libbsd/libbsd"
|
||||
SRC_URI="https://${PN}.freedesktop.org/releases/${P}.tar.xz"
|
||||
|
||||
LICENSE="BSD BSD-2 BSD-4 ISC"
|
||||
SLOT="0"
|
||||
KEYWORDS="alpha amd64 arm arm64 hppa ia64 ~mips ppc ppc64 sparc x86 ~amd64-linux ~x86-linux"
|
||||
KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~mips ppc ppc64 ~riscv s390 sparc x86 ~amd64-linux ~x86-linux"
|
||||
IUSE="static-libs"
|
||||
|
||||
DEPEND=">=sys-kernel/linux-headers-3.17"
|
||||
@ -30,11 +30,11 @@ pkg_setup() {
|
||||
multilib_src_configure() {
|
||||
# The build system will install libbsd-ctor.a despite of USE="-static-libs"
|
||||
# which is correct, see:
|
||||
# https://cgit.freedesktop.org/libbsd/commit/?id=c5b959028734ca2281250c85773d9b5e1d259bc8
|
||||
# https://gitlab.freedesktop.org/libbsd/libbsd/commit/c5b959028734ca2281250c85773d9b5e1d259bc8
|
||||
ECONF_SOURCE="${S}" econf $(use_enable static-libs static)
|
||||
}
|
||||
|
||||
multilib_src_install() {
|
||||
emake DESTDIR="${D}" install
|
||||
prune_libtool_files
|
||||
find "${ED}" -type f -name "*.la" -delete || die
|
||||
}
|
@ -1,40 +0,0 @@
|
||||
# Copyright 1999-2016 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=5
|
||||
inherit eutils multilib-minimal
|
||||
|
||||
DESCRIPTION="An library to provide useful functions commonly found on BSD systems"
|
||||
HOMEPAGE="https://libbsd.freedesktop.org/wiki/"
|
||||
SRC_URI="https://${PN}.freedesktop.org/releases/${P}.tar.xz"
|
||||
|
||||
LICENSE="BSD BSD-2 BSD-4 ISC"
|
||||
SLOT="0"
|
||||
KEYWORDS="alpha amd64 arm ~arm64 hppa ia64 ~mips ppc ppc64 sparc x86"
|
||||
IUSE="static-libs"
|
||||
|
||||
DEPEND=">=sys-kernel/linux-headers-3.17"
|
||||
RDEPEND=""
|
||||
|
||||
pkg_setup() {
|
||||
local f="${ROOT}/usr/$(get_libdir)/${PN}.a"
|
||||
local m="You need to remove ${f} by hand or re-emerge sys-libs/glibc first."
|
||||
if ! has_version ${CATEGORY}/${PN}; then
|
||||
if [[ -e ${f} ]]; then
|
||||
eerror "${m}"
|
||||
die "${m}"
|
||||
fi
|
||||
fi
|
||||
}
|
||||
|
||||
multilib_src_configure() {
|
||||
# The build system will install libbsd-ctor.a despite of USE="-static-libs"
|
||||
# which is correct, see:
|
||||
# https://cgit.freedesktop.org/libbsd/commit/?id=c5b959028734ca2281250c85773d9b5e1d259bc8
|
||||
ECONF_SOURCE="${S}" econf $(use_enable static-libs static)
|
||||
}
|
||||
|
||||
multilib_src_install() {
|
||||
emake DESTDIR="${D}" install
|
||||
prune_libtool_files
|
||||
}
|
@ -5,4 +5,7 @@
|
||||
<email>freedesktop-bugs@gentoo.org</email>
|
||||
<name>Gentoo Freedesktop Project</name>
|
||||
</maintainer>
|
||||
<upstream>
|
||||
<remote-id type="cpe">cpe:/a:libbsd:libbsd</remote-id>
|
||||
</upstream>
|
||||
</pkgmetadata>
|
||||
|
Loading…
Reference in New Issue
Block a user