parent
1225cf000a
commit
c354d1c4d0
Binary file not shown.
Binary file not shown.
@ -0,0 +1,8 @@
|
|||||||
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||||
|
<pkgmetadata>
|
||||||
|
<maintainer type="person">
|
||||||
|
<email>whissi@gentoo.org</email>
|
||||||
|
<name>Thomas Deutschmann</name>
|
||||||
|
</maintainer>
|
||||||
|
</pkgmetadata>
|
@ -0,0 +1,8 @@
|
|||||||
|
# Copyright 2020 Gentoo Authors
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
|
||||||
|
EAPI=7
|
||||||
|
|
||||||
|
inherit acct-group
|
||||||
|
|
||||||
|
ACCT_GROUP_ID=308
|
Binary file not shown.
@ -0,0 +1,8 @@
|
|||||||
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||||
|
<pkgmetadata>
|
||||||
|
<maintainer type="person">
|
||||||
|
<email>whissi@gentoo.org</email>
|
||||||
|
<name>Thomas Deutschmann</name>
|
||||||
|
</maintainer>
|
||||||
|
</pkgmetadata>
|
@ -0,0 +1,14 @@
|
|||||||
|
# Copyright 2020 Gentoo Authors
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
|
||||||
|
EAPI=7
|
||||||
|
|
||||||
|
inherit acct-user
|
||||||
|
|
||||||
|
DESCRIPTION="mysqld_exporter User"
|
||||||
|
ACCT_USER_ID=308
|
||||||
|
ACCT_USER_HOME=/var/lib/mysqld_exporter
|
||||||
|
ACCT_USER_HOME_PERMS=0750
|
||||||
|
ACCT_USER_GROUPS=( mysqld_exporter )
|
||||||
|
|
||||||
|
acct-user_add_deps
|
Binary file not shown.
Binary file not shown.
@ -1,8 +1,11 @@
|
|||||||
<?xml version="1.0" encoding="UTF-8"?>
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||||
<pkgmetadata>
|
<pkgmetadata>
|
||||||
<!-- maintainer-needed -->
|
<maintainer type="person">
|
||||||
<upstream>
|
<email>soap@gentoo.org</email>
|
||||||
<remote-id type="github">MacPaw/XADMaster</remote-id>
|
<name>David Seifert</name>
|
||||||
</upstream>
|
</maintainer>
|
||||||
|
<upstream>
|
||||||
|
<remote-id type="github">MacPaw/XADMaster</remote-id>
|
||||||
|
</upstream>
|
||||||
</pkgmetadata>
|
</pkgmetadata>
|
||||||
|
Binary file not shown.
@ -1 +1,2 @@
|
|||||||
DIST qca-2.3.0.tar.xz 729504 BLAKE2B 71cf9dfae00066c14e1055da1fa1a8e1210f538b1addfde1b99a9b26b1e8f7dd61e289d0f505b5ec04d5f4745216d4fd0f8be8f8de9e9cbf74123907ba703d0e SHA512 ca9251868e073834562fa62ffc64b3e7817c9ddadc6bc3fb99cf8b5c8d859969562170a98874be9590c617b2dd8e5590d2c83792554f54bb880c677902db22fe
|
DIST qca-2.3.0.tar.xz 729504 BLAKE2B 71cf9dfae00066c14e1055da1fa1a8e1210f538b1addfde1b99a9b26b1e8f7dd61e289d0f505b5ec04d5f4745216d4fd0f8be8f8de9e9cbf74123907ba703d0e SHA512 ca9251868e073834562fa62ffc64b3e7817c9ddadc6bc3fb99cf8b5c8d859969562170a98874be9590c617b2dd8e5590d2c83792554f54bb880c677902db22fe
|
||||||
|
DIST qca-2.3.1.tar.xz 725984 BLAKE2B a99121dd95822ef5e1057dc9ad9250bb14486f42b0571936453644bc7c5649f16cbc918fa04d4a5af2c62bc35cc672159a84e27a86e685cfe320518a42076052 SHA512 092704a8d7c5973f05c82584ea55b4f8f874965aea943277e50fde873913a9bdad6a51ea74fc0036bbb632a13141cb4c030504229c06779890286205929f6021
|
||||||
|
@ -0,0 +1,84 @@
|
|||||||
|
# Copyright 1999-2020 Gentoo Authors
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
|
||||||
|
EAPI=7
|
||||||
|
|
||||||
|
inherit kde.org cmake qmake-utils
|
||||||
|
|
||||||
|
DESCRIPTION="Qt Cryptographic Architecture (QCA)"
|
||||||
|
HOMEPAGE="https://userbase.kde.org/QCA"
|
||||||
|
SRC_URI="mirror://kde/stable/${PN}/${PV}/${P}.tar.xz"
|
||||||
|
|
||||||
|
LICENSE="LGPL-2.1"
|
||||||
|
SLOT="2"
|
||||||
|
KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~sparc-solaris"
|
||||||
|
IUSE="botan debug doc examples gcrypt gpg logger nss pkcs11 sasl softstore +ssl test"
|
||||||
|
|
||||||
|
RESTRICT="!test? ( test )"
|
||||||
|
|
||||||
|
BDEPEND="
|
||||||
|
doc? ( app-doc/doxygen )
|
||||||
|
"
|
||||||
|
RDEPEND="
|
||||||
|
dev-qt/qtcore:5
|
||||||
|
botan? ( dev-libs/botan:= )
|
||||||
|
gcrypt? ( dev-libs/libgcrypt:= )
|
||||||
|
gpg? ( app-crypt/gnupg )
|
||||||
|
nss? ( dev-libs/nss )
|
||||||
|
pkcs11? (
|
||||||
|
>=dev-libs/openssl-1.1
|
||||||
|
dev-libs/pkcs11-helper
|
||||||
|
)
|
||||||
|
sasl? ( dev-libs/cyrus-sasl:2 )
|
||||||
|
ssl? ( >=dev-libs/openssl-1.1:0= )
|
||||||
|
"
|
||||||
|
DEPEND="${RDEPEND}
|
||||||
|
test? (
|
||||||
|
dev-qt/qtnetwork:5
|
||||||
|
dev-qt/qttest:5
|
||||||
|
)
|
||||||
|
"
|
||||||
|
|
||||||
|
PATCHES=( "${FILESDIR}/${PN}-disable-pgp-test.patch" )
|
||||||
|
|
||||||
|
qca_plugin_use() {
|
||||||
|
echo -DWITH_${2:-$1}_PLUGIN=$(usex "$1")
|
||||||
|
}
|
||||||
|
|
||||||
|
src_configure() {
|
||||||
|
local mycmakeargs=(
|
||||||
|
-DQCA_FEATURE_INSTALL_DIR="${EPREFIX}$(qt5_get_mkspecsdir)/features"
|
||||||
|
-DQCA_PLUGINS_INSTALL_DIR="${EPREFIX}$(qt5_get_plugindir)"
|
||||||
|
$(qca_plugin_use botan)
|
||||||
|
$(qca_plugin_use gcrypt)
|
||||||
|
$(qca_plugin_use gpg gnupg)
|
||||||
|
$(qca_plugin_use logger)
|
||||||
|
$(qca_plugin_use nss)
|
||||||
|
$(qca_plugin_use pkcs11)
|
||||||
|
$(qca_plugin_use sasl cyrus-sasl)
|
||||||
|
$(qca_plugin_use softstore)
|
||||||
|
$(qca_plugin_use ssl ossl)
|
||||||
|
-DBUILD_TESTS=$(usex test)
|
||||||
|
)
|
||||||
|
cmake_src_configure
|
||||||
|
}
|
||||||
|
|
||||||
|
src_test() {
|
||||||
|
local -x QCA_PLUGIN_PATH="${BUILD_DIR}/lib/qca"
|
||||||
|
cmake_src_test
|
||||||
|
}
|
||||||
|
|
||||||
|
src_install() {
|
||||||
|
cmake_src_install
|
||||||
|
|
||||||
|
if use doc; then
|
||||||
|
pushd "${BUILD_DIR}" >/dev/null || die
|
||||||
|
doxygen Doxyfile || die
|
||||||
|
dodoc -r apidocs/html
|
||||||
|
popd >/dev/null || die
|
||||||
|
fi
|
||||||
|
|
||||||
|
if use examples; then
|
||||||
|
dodoc -r "${S}"/examples
|
||||||
|
fi
|
||||||
|
}
|
Binary file not shown.
@ -1,13 +0,0 @@
|
|||||||
--- a/configure
|
|
||||||
+++ b/configure
|
|
||||||
@@ -4468,10 +4468,6 @@ fi
|
|
||||||
if test "$gcov" = "yes" ; then
|
|
||||||
CFLAGS="-fprofile-arcs -ftest-coverage -g $CFLAGS"
|
|
||||||
LDFLAGS="-fprofile-arcs -ftest-coverage $LDFLAGS"
|
|
||||||
-elif test "$fortify_source" = "yes" ; then
|
|
||||||
- CFLAGS="-O2 -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 $CFLAGS"
|
|
||||||
-elif test "$debug" = "no"; then
|
|
||||||
- CFLAGS="-O2 $CFLAGS"
|
|
||||||
fi
|
|
||||||
|
|
||||||
##########################################
|
|
@ -1,94 +0,0 @@
|
|||||||
https://bugs.gentoo.org/719266
|
|
||||||
|
|
||||||
From ac2071c3791b67fc7af78b8ceb320c01ca1b5df7 Mon Sep 17 00:00:00 2001
|
|
||||||
From: BALATON Zoltan <balaton@eik.bme.hu>
|
|
||||||
Date: Mon, 6 Apr 2020 22:34:26 +0200
|
|
||||||
Subject: [PATCH] ati-vga: Fix checks in ati_2d_blt() to avoid crash
|
|
||||||
|
|
||||||
In some corner cases (that never happen during normal operation but a
|
|
||||||
malicious guest could program wrong values) pixman functions were
|
|
||||||
called with parameters that result in a crash. Fix this and add more
|
|
||||||
checks to disallow such cases.
|
|
||||||
|
|
||||||
Reported-by: Ziming Zhang <ezrakiez@gmail.com>
|
|
||||||
Signed-off-by: BALATON Zoltan <balaton@eik.bme.hu>
|
|
||||||
Message-id: 20200406204029.19559747D5D@zero.eik.bme.hu
|
|
||||||
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
|
|
||||||
---
|
|
||||||
hw/display/ati_2d.c | 37 ++++++++++++++++++++++++++-----------
|
|
||||||
1 file changed, 26 insertions(+), 11 deletions(-)
|
|
||||||
|
|
||||||
--- a/hw/display/ati_2d.c
|
|
||||||
+++ b/hw/display/ati_2d.c
|
|
||||||
@@ -53,12 +53,20 @@ void ati_2d_blt(ATIVGAState *s)
|
|
||||||
s->vga.vbe_start_addr, surface_data(ds), surface_stride(ds),
|
|
||||||
surface_bits_per_pixel(ds),
|
|
||||||
(s->regs.dp_mix & GMC_ROP3_MASK) >> 16);
|
|
||||||
- int dst_x = (s->regs.dp_cntl & DST_X_LEFT_TO_RIGHT ?
|
|
||||||
- s->regs.dst_x : s->regs.dst_x + 1 - s->regs.dst_width);
|
|
||||||
- int dst_y = (s->regs.dp_cntl & DST_Y_TOP_TO_BOTTOM ?
|
|
||||||
- s->regs.dst_y : s->regs.dst_y + 1 - s->regs.dst_height);
|
|
||||||
+ unsigned dst_x = (s->regs.dp_cntl & DST_X_LEFT_TO_RIGHT ?
|
|
||||||
+ s->regs.dst_x : s->regs.dst_x + 1 - s->regs.dst_width);
|
|
||||||
+ unsigned dst_y = (s->regs.dp_cntl & DST_Y_TOP_TO_BOTTOM ?
|
|
||||||
+ s->regs.dst_y : s->regs.dst_y + 1 - s->regs.dst_height);
|
|
||||||
int bpp = ati_bpp_from_datatype(s);
|
|
||||||
+ if (!bpp) {
|
|
||||||
+ qemu_log_mask(LOG_GUEST_ERROR, "Invalid bpp\n");
|
|
||||||
+ return;
|
|
||||||
+ }
|
|
||||||
int dst_stride = DEFAULT_CNTL ? s->regs.dst_pitch : s->regs.default_pitch;
|
|
||||||
+ if (!dst_stride) {
|
|
||||||
+ qemu_log_mask(LOG_GUEST_ERROR, "Zero dest pitch\n");
|
|
||||||
+ return;
|
|
||||||
+ }
|
|
||||||
uint8_t *dst_bits = s->vga.vram_ptr + (DEFAULT_CNTL ?
|
|
||||||
s->regs.dst_offset : s->regs.default_offset);
|
|
||||||
|
|
||||||
@@ -82,12 +90,16 @@ void ati_2d_blt(ATIVGAState *s)
|
|
||||||
switch (s->regs.dp_mix & GMC_ROP3_MASK) {
|
|
||||||
case ROP3_SRCCOPY:
|
|
||||||
{
|
|
||||||
- int src_x = (s->regs.dp_cntl & DST_X_LEFT_TO_RIGHT ?
|
|
||||||
- s->regs.src_x : s->regs.src_x + 1 - s->regs.dst_width);
|
|
||||||
- int src_y = (s->regs.dp_cntl & DST_Y_TOP_TO_BOTTOM ?
|
|
||||||
- s->regs.src_y : s->regs.src_y + 1 - s->regs.dst_height);
|
|
||||||
+ unsigned src_x = (s->regs.dp_cntl & DST_X_LEFT_TO_RIGHT ?
|
|
||||||
+ s->regs.src_x : s->regs.src_x + 1 - s->regs.dst_width);
|
|
||||||
+ unsigned src_y = (s->regs.dp_cntl & DST_Y_TOP_TO_BOTTOM ?
|
|
||||||
+ s->regs.src_y : s->regs.src_y + 1 - s->regs.dst_height);
|
|
||||||
int src_stride = DEFAULT_CNTL ?
|
|
||||||
s->regs.src_pitch : s->regs.default_pitch;
|
|
||||||
+ if (!src_stride) {
|
|
||||||
+ qemu_log_mask(LOG_GUEST_ERROR, "Zero source pitch\n");
|
|
||||||
+ return;
|
|
||||||
+ }
|
|
||||||
uint8_t *src_bits = s->vga.vram_ptr + (DEFAULT_CNTL ?
|
|
||||||
s->regs.src_offset : s->regs.default_offset);
|
|
||||||
|
|
||||||
@@ -137,8 +149,10 @@ void ati_2d_blt(ATIVGAState *s)
|
|
||||||
dst_y * surface_stride(ds),
|
|
||||||
s->regs.dst_height * surface_stride(ds));
|
|
||||||
}
|
|
||||||
- s->regs.dst_x += s->regs.dst_width;
|
|
||||||
- s->regs.dst_y += s->regs.dst_height;
|
|
||||||
+ s->regs.dst_x = (s->regs.dp_cntl & DST_X_LEFT_TO_RIGHT ?
|
|
||||||
+ dst_x + s->regs.dst_width : dst_x);
|
|
||||||
+ s->regs.dst_y = (s->regs.dp_cntl & DST_Y_TOP_TO_BOTTOM ?
|
|
||||||
+ dst_y + s->regs.dst_height : dst_y);
|
|
||||||
break;
|
|
||||||
}
|
|
||||||
case ROP3_PATCOPY:
|
|
||||||
@@ -179,7 +193,8 @@ void ati_2d_blt(ATIVGAState *s)
|
|
||||||
dst_y * surface_stride(ds),
|
|
||||||
s->regs.dst_height * surface_stride(ds));
|
|
||||||
}
|
|
||||||
- s->regs.dst_y += s->regs.dst_height;
|
|
||||||
+ s->regs.dst_y = (s->regs.dp_cntl & DST_Y_TOP_TO_BOTTOM ?
|
|
||||||
+ dst_y + s->regs.dst_height : dst_y);
|
|
||||||
break;
|
|
||||||
}
|
|
||||||
default:
|
|
||||||
--
|
|
||||||
2.26.2
|
|
||||||
|
|
Binary file not shown.
@ -1 +1,2 @@
|
|||||||
DIST memcached_exporter-0.5.0.tar.gz 1350752 BLAKE2B e9a326ca155e0e0a89dd556f0a97ba9bbe73e3e02a905497c55a5390be2cbf211dde9dda37355dd043b711258c78cf911c79ae898b6e0934f2d4b2ddef7ae946 SHA512 62ec7f9cefc88425ea3b53a634b2d5ff1534624b6e149c962372e81a7271fc1bf3c01c7d8641dc49250b8d124bec740b3c2768e62d51cfdc025a29f71a49b428
|
DIST memcached_exporter-0.5.0.tar.gz 1350752 BLAKE2B e9a326ca155e0e0a89dd556f0a97ba9bbe73e3e02a905497c55a5390be2cbf211dde9dda37355dd043b711258c78cf911c79ae898b6e0934f2d4b2ddef7ae946 SHA512 62ec7f9cefc88425ea3b53a634b2d5ff1534624b6e149c962372e81a7271fc1bf3c01c7d8641dc49250b8d124bec740b3c2768e62d51cfdc025a29f71a49b428
|
||||||
|
DIST memcached_exporter-0.6.0.tar.gz 1709929 BLAKE2B 3b2f3272289d7745b560eb466918c00a2b65947dfcc219d2971cf6215a5590809c48e4b4385e572ff38c1abe7af74c9bf1575450498382b18644a46d1dab3dd7 SHA512 02238da4e901c3e3b57144501d64fa19502bdcf1aa65e775188ef18f9e524c4e2a44d87e8dcc926261b589715a8347628b87c2e418bcbcc63b5a18058ef771be
|
||||||
|
@ -0,0 +1,34 @@
|
|||||||
|
# Copyright 2019 Gentoo Authors
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
|
||||||
|
EAPI=7
|
||||||
|
inherit go-module user
|
||||||
|
|
||||||
|
DESCRIPTION="Prometheus exporter for memcached"
|
||||||
|
HOMEPAGE="https://github.com/prometheus/memcached_exporter"
|
||||||
|
SRC_URI="https://github.com/prometheus/memcached_exporter/archive/v${PV}.tar.gz -> ${P}.tar.gz"
|
||||||
|
|
||||||
|
LICENSE="Apache-2.0 BSD BSD-2 MIT"
|
||||||
|
SLOT="0"
|
||||||
|
KEYWORDS="~amd64"
|
||||||
|
|
||||||
|
BDEPEND="dev-util/promu"
|
||||||
|
|
||||||
|
pkg_setup() {
|
||||||
|
enewgroup ${PN}
|
||||||
|
enewuser ${PN} -1 -1 -1 ${PN}
|
||||||
|
}
|
||||||
|
|
||||||
|
src_compile() {
|
||||||
|
mkdir bin || die
|
||||||
|
promu build --prefix bin || die
|
||||||
|
}
|
||||||
|
|
||||||
|
src_install() {
|
||||||
|
newbin bin/${P} ${PN}
|
||||||
|
dodoc *.md
|
||||||
|
keepdir /var/log/${PN}
|
||||||
|
fowners ${PN}:${PN} /var/log/${PN}
|
||||||
|
newinitd "${FILESDIR}"/${PN}.initd ${PN}
|
||||||
|
newconfd "${FILESDIR}"/${PN}.confd ${PN}
|
||||||
|
}
|
@ -1 +1,2 @@
|
|||||||
|
DIST mongodb_exporter-0.11.0.tar.gz 2638227 BLAKE2B c8d6cde2fcc40bcdbbd84276d78e8ee2012a0237637ce51a67d458d030a4f8b8d5b72b3eb434cbbfd403aa7481ed76651b2af181b3785abf913ae6cfd4f2faf0 SHA512 08c2f889c5f503804af35e41220729fa9fae3226cfb89642964edc8c391fe8209cd6f8246b0e904711a63a1c0cf613d5666373035d94db537840ae9ac561c2cf
|
||||||
DIST mongodb_exporter-0.6.2.tar.gz 1296198 BLAKE2B 4cd04b5e69788f2bbe3e87eafe6a7cf4f0a2e72abff4784176299e46943eac2219141beed2f8d11cc8a2458737456d8edaed42a5392bedd017e85315dc75ba1d SHA512 52c1464af82c09fc79338e805e62936d4da8131cea1bb6608500fa36a2d4069676eace5da0ed1b14d82de9d626be301b42c7bc1d5c620bbecb47ae9a350ecd65
|
DIST mongodb_exporter-0.6.2.tar.gz 1296198 BLAKE2B 4cd04b5e69788f2bbe3e87eafe6a7cf4f0a2e72abff4784176299e46943eac2219141beed2f8d11cc8a2458737456d8edaed42a5392bedd017e85315dc75ba1d SHA512 52c1464af82c09fc79338e805e62936d4da8131cea1bb6608500fa36a2d4069676eace5da0ed1b14d82de9d626be301b42c7bc1d5c620bbecb47ae9a350ecd65
|
||||||
|
@ -0,0 +1,34 @@
|
|||||||
|
# Copyright 1999-2019 Gentoo Authors
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
|
||||||
|
EAPI=7
|
||||||
|
inherit go-module user
|
||||||
|
EXPORTER_COMMIT=a642618
|
||||||
|
|
||||||
|
DESCRIPTION="Prometheus exporter for MongoDB"
|
||||||
|
HOMEPAGE="https://github.com/percona/mongodb_exporter"
|
||||||
|
SRC_URI="https://github.com/percona/mongodb_exporter/archive/v${PV}.tar.gz -> ${P}.tar.gz"
|
||||||
|
|
||||||
|
LICENSE="Apache-2.0 AGPL-3 BSD MIT"
|
||||||
|
SLOT="0"
|
||||||
|
KEYWORDS="~amd64"
|
||||||
|
|
||||||
|
BDEPEND="dev-util/promu"
|
||||||
|
|
||||||
|
pkg_setup() {
|
||||||
|
enewgroup ${PN}
|
||||||
|
enewuser ${PN} -1 -1 -1 ${PN}
|
||||||
|
}
|
||||||
|
|
||||||
|
src_compile() {
|
||||||
|
go build -mod=vendor . || die
|
||||||
|
}
|
||||||
|
|
||||||
|
src_install() {
|
||||||
|
dobin ${PN}
|
||||||
|
dodoc {README,CHANGELOG}.md
|
||||||
|
keepdir /var/log/mongodb_exporter
|
||||||
|
fowners ${PN}:${PN} /var/log/mongodb_exporter
|
||||||
|
newinitd "${FILESDIR}"/${PN}.initd ${PN}
|
||||||
|
newconfd "${FILESDIR}"/${PN}.confd ${PN}
|
||||||
|
}
|
@ -1,2 +1,3 @@
|
|||||||
DIST mysqld_exporter-0.10.0.tar.gz 971604 BLAKE2B ec077b7b6a15f6173e5cc04e741c51c4d26a214601da8eb1aede49ee325f52bea2140b8e5b3bdbc2a1e527e40c95099dca2a57501d44a26e787cdc330f4aa8b8 SHA512 0a7b0ff537ad59a9b64aa18dfe1d1eb9253b12ae566d5c151555fbd4457b7e65890b6569632b452ae317b3acbfa94c12d96f6fb6e4f982b9b2161fc4747330f5
|
DIST mysqld_exporter-0.10.0.tar.gz 971604 BLAKE2B ec077b7b6a15f6173e5cc04e741c51c4d26a214601da8eb1aede49ee325f52bea2140b8e5b3bdbc2a1e527e40c95099dca2a57501d44a26e787cdc330f4aa8b8 SHA512 0a7b0ff537ad59a9b64aa18dfe1d1eb9253b12ae566d5c151555fbd4457b7e65890b6569632b452ae317b3acbfa94c12d96f6fb6e4f982b9b2161fc4747330f5
|
||||||
DIST mysqld_exporter-0.11.0.tar.gz 1393809 BLAKE2B ac6b04d2ad24f1c083c411f10bbb6724c2458be357ff60e1950aa624955497432295726e7f739dff03aa1ed8290d852a9511e01893f5a2b293e79b3214270578 SHA512 69f39ecc1b17bfcfd3acdad9d92a70c1daf3f0c9690770fa390a818bd29f43a98bfe4856f22b48e9d2d9945ce98ded0ea54c95010755a85ebc3ebfdc353d0c24
|
DIST mysqld_exporter-0.11.0.tar.gz 1393809 BLAKE2B ac6b04d2ad24f1c083c411f10bbb6724c2458be357ff60e1950aa624955497432295726e7f739dff03aa1ed8290d852a9511e01893f5a2b293e79b3214270578 SHA512 69f39ecc1b17bfcfd3acdad9d92a70c1daf3f0c9690770fa390a818bd29f43a98bfe4856f22b48e9d2d9945ce98ded0ea54c95010755a85ebc3ebfdc353d0c24
|
||||||
|
DIST mysqld_exporter-0.12.1_p20200622.tar.gz 1640334 BLAKE2B fa52fd7474af548bc9429026d7c92bc543cff7f2e2f5e17007a52adc647d6d022a4ec9d099376cc469b4fdc8bab285e0e699a1b10938fc6b7a6704dcc1466a50 SHA512 ccac9a718214c9ab82362deeb81949cecaa6c2fc6567ef7e3d099ca2dbf8385cb9c498837e41ad0bcdf5ec2c9d82fd159792245b97e53c182a30917e80a20cf1
|
||||||
|
@ -0,0 +1,22 @@
|
|||||||
|
--- a/collector/exporter_test.go
|
||||||
|
+++ b/collector/exporter_test.go
|
||||||
|
@@ -71,6 +71,8 @@ func TestExporter(t *testing.T) {
|
||||||
|
}
|
||||||
|
|
||||||
|
func TestGetMySQLVersion(t *testing.T) {
|
||||||
|
+ t.Skip("Test requires running mysqld")
|
||||||
|
+
|
||||||
|
if testing.Short() {
|
||||||
|
t.Skip("-short is passed, skipping test")
|
||||||
|
}
|
||||||
|
--- a/mysqld_exporter_test.go
|
||||||
|
+++ b/mysqld_exporter_test.go
|
||||||
|
@@ -142,6 +142,8 @@ type bin struct {
|
||||||
|
|
||||||
|
// TestBin builds, runs and tests binary.
|
||||||
|
func TestBin(t *testing.T) {
|
||||||
|
+ t.Skip("Test requires network access")
|
||||||
|
+
|
||||||
|
var err error
|
||||||
|
binName := "mysqld_exporter"
|
||||||
|
|
@ -0,0 +1,78 @@
|
|||||||
|
# Copyright 1999-2020 Gentoo Authors
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
|
||||||
|
EAPI=7
|
||||||
|
inherit go-module
|
||||||
|
# uncomment the first setting of MY_PV for a normal release
|
||||||
|
# MY_PV="v${PV/_rc/-rc.}"
|
||||||
|
# set MY_PV to the full commit hash for a snapshot release
|
||||||
|
MY_PV=f5d5289f7627016d8b53b0b3fa7615da8a73b56a
|
||||||
|
MYSQLD_EXPORTER_COMMIT=f5d5289f
|
||||||
|
|
||||||
|
DESCRIPTION="Prometheus exporter for MySQL server metrics"
|
||||||
|
HOMEPAGE="https://github.com/prometheus/mysqld_exporter"
|
||||||
|
SRC_URI="https://github.com/prometheus/mysqld_exporter/archive/${MY_PV}.tar.gz -> ${P}.tar.gz"
|
||||||
|
|
||||||
|
LICENSE="Apache-2.0 BSD BSD-2 MIT MPL-2.0"
|
||||||
|
SLOT="0"
|
||||||
|
KEYWORDS="~amd64"
|
||||||
|
IUSE=""
|
||||||
|
|
||||||
|
BDEPEND="dev-util/promu"
|
||||||
|
|
||||||
|
DEPEND="acct-group/mysqld_exporter
|
||||||
|
acct-user/mysqld_exporter"
|
||||||
|
|
||||||
|
RDEPEND="${DEPEND}"
|
||||||
|
|
||||||
|
# Comment this for a normal release.
|
||||||
|
S="${WORKDIR}/${PN}-${MY_PV}"
|
||||||
|
|
||||||
|
PATCHES=( "${FILESDIR}"/${PN}-0.12.1-skip-tests.patch )
|
||||||
|
|
||||||
|
src_prepare() {
|
||||||
|
default
|
||||||
|
|
||||||
|
sed -i -e "s/{{.Revision}}/${MYSQLD_EXPORTER_COMMIT}/" .promu.yml || die
|
||||||
|
}
|
||||||
|
|
||||||
|
src_compile() {
|
||||||
|
mkdir -p bin || die
|
||||||
|
|
||||||
|
promu build --prefix bin || die
|
||||||
|
|
||||||
|
# comment this for a normal release.
|
||||||
|
mv bin/${PN}-${MY_PV} bin/${PN} || die
|
||||||
|
}
|
||||||
|
|
||||||
|
src_install() {
|
||||||
|
dobin bin/*
|
||||||
|
dodoc {README,CHANGELOG,CONTRIBUTING}.md
|
||||||
|
|
||||||
|
keepdir /var/lib/mysqld_exporter /var/log/mysqld_exporter
|
||||||
|
fowners ${PN}:${PN} /var/lib/mysqld_exporter /var/log/mysqld_exporter
|
||||||
|
fperms 0770 /var/lib/mysqld_exporter
|
||||||
|
|
||||||
|
newinitd "${FILESDIR}"/${PN}-r1.initd ${PN}
|
||||||
|
newconfd "${FILESDIR}"/${PN}-r1.confd ${PN}
|
||||||
|
|
||||||
|
insinto /etc/logrotate.d/
|
||||||
|
newins "${FILESDIR}"/${PN}.logrotate ${PN}
|
||||||
|
}
|
||||||
|
|
||||||
|
pkg_postinst() {
|
||||||
|
if [[ -z "${REPLACING_VERSIONS}" ]]; then
|
||||||
|
# This is a new installation
|
||||||
|
elog "Create \"${EROOT%/}/var/lib/mysqld_exporter/.my.cnf\" to read MySQL credentials from file."
|
||||||
|
else
|
||||||
|
local _replacing_version=
|
||||||
|
for _replacing_version in ${REPLACING_VERSIONS}; do
|
||||||
|
if ! ver_test "${_replacing_version}" -ge "0.11.0"; then
|
||||||
|
elog "Starting with ${PN}-0.11.0, command-line flags will require double dashes (--)."
|
||||||
|
elog "You must update your configuration or ${PN} won't start."
|
||||||
|
|
||||||
|
break
|
||||||
|
fi
|
||||||
|
done
|
||||||
|
fi
|
||||||
|
}
|
Binary file not shown.
@ -1 +1,2 @@
|
|||||||
DIST mc-4.8.24.tar.xz 2434988 BLAKE2B 18bd730d5bfbad19fa5e70fb578cf587a3df8da33885543b3d316548ac0d29bd67e4683d32b2751471e148e89390c7658edb622fd741eae054b7fae774996b60 SHA512 ec9e40198455e7001bb1d06ea060b9b4c32ad3a3750d0cc9bac334b53eb666df1746335bfcd411213fa4386b23e516f6026fe3d74ad9119b2340b26c63ccd4fc
|
DIST mc-4.8.24.tar.xz 2434988 BLAKE2B 18bd730d5bfbad19fa5e70fb578cf587a3df8da33885543b3d316548ac0d29bd67e4683d32b2751471e148e89390c7658edb622fd741eae054b7fae774996b60 SHA512 ec9e40198455e7001bb1d06ea060b9b4c32ad3a3750d0cc9bac334b53eb666df1746335bfcd411213fa4386b23e516f6026fe3d74ad9119b2340b26c63ccd4fc
|
||||||
|
DIST mc-4.8.25_rc1.tar.xz 2487732 BLAKE2B 18bbff9e44bdd2996e5e4dc44389167a90798bc03098850f3df70b8451951e95f66fdd58416e9f44289e072729d4217be7ecf20e65fb4f507e44669d76c13589 SHA512 61e21d905dd28ea732d62c75cb5a18e67f90c7c85376ceb2240089ff7b5d724bcf2cb7de4d89709a44b795cdcbbf123648a302552bd370972e23f0967a3a1353
|
||||||
|
@ -0,0 +1,103 @@
|
|||||||
|
# Copyright 1999-2020 Gentoo Authors
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
|
||||||
|
EAPI=7
|
||||||
|
|
||||||
|
inherit flag-o-matic vcs-snapshot
|
||||||
|
|
||||||
|
DESCRIPTION="GNU Midnight Commander is a text based file manager"
|
||||||
|
HOMEPAGE="https://www.midnight-commander.org"
|
||||||
|
#SRC_URI="http://ftp.midnight-commander.org/${P}.tar.xz"
|
||||||
|
SRC_URI="https://www.midnight-commander.org/nopaste/tarball/mc-4.8.24-163-g171957980.tar.xz -> ${P}.tar.xz"
|
||||||
|
|
||||||
|
LICENSE="GPL-3"
|
||||||
|
SLOT="0"
|
||||||
|
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sparc ~x86 ~amd64-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x86-solaris"
|
||||||
|
IUSE="+edit gpm nls samba sftp +slang spell test unicode X +xdg"
|
||||||
|
|
||||||
|
REQUIRED_USE="spell? ( edit )"
|
||||||
|
|
||||||
|
RDEPEND=">=dev-libs/glib-2.26.0:2
|
||||||
|
gpm? ( sys-libs/gpm )
|
||||||
|
kernel_linux? ( sys-fs/e2fsprogs )
|
||||||
|
samba? ( net-fs/samba )
|
||||||
|
sftp? ( net-libs/libssh2 )
|
||||||
|
slang? ( >=sys-libs/slang-2 )
|
||||||
|
!slang? ( sys-libs/ncurses:0=[unicode?] )
|
||||||
|
spell? ( app-text/aspell )
|
||||||
|
X? ( x11-libs/libX11
|
||||||
|
x11-libs/libICE
|
||||||
|
x11-libs/libXau
|
||||||
|
x11-libs/libXdmcp
|
||||||
|
x11-libs/libSM )"
|
||||||
|
DEPEND="${RDEPEND}
|
||||||
|
app-arch/xz-utils
|
||||||
|
virtual/pkgconfig
|
||||||
|
nls? ( sys-devel/gettext )
|
||||||
|
test? ( dev-libs/check )
|
||||||
|
"
|
||||||
|
|
||||||
|
RESTRICT="!test? ( test )"
|
||||||
|
|
||||||
|
pkg_pretend() {
|
||||||
|
if use slang && use unicode ; then
|
||||||
|
ewarn "\"unicode\" USE flag only takes effect when the \"slang\" USE flag is disabled."
|
||||||
|
fi
|
||||||
|
}
|
||||||
|
|
||||||
|
src_configure() {
|
||||||
|
[[ ${CHOST} == *-solaris* ]] && append-ldflags "-lnsl -lsocket"
|
||||||
|
|
||||||
|
local myeconfargs=(
|
||||||
|
--enable-charset
|
||||||
|
--enable-vfs
|
||||||
|
--with-homedir=$(usex xdg 'XDG' '.mc')
|
||||||
|
--with-screen=$(usex slang 'slang' "ncurses$(usex unicode 'w' '')")
|
||||||
|
$(use_enable kernel_linux vfs-undelfs)
|
||||||
|
# Today mclib does not expose any headers and is linked to
|
||||||
|
# single 'mc' binary. Thus there is no advantage of having
|
||||||
|
# a library. Let's avoid shared library altogether
|
||||||
|
# as it also conflicts with sci-libs/mc: bug #685938
|
||||||
|
--disable-mclib
|
||||||
|
$(use_enable nls)
|
||||||
|
$(use_enable samba vfs-smb)
|
||||||
|
$(use_enable sftp vfs-sftp)
|
||||||
|
$(use_enable spell aspell)
|
||||||
|
$(use_enable test tests)
|
||||||
|
$(use_with gpm gpm-mouse)
|
||||||
|
$(use_with X x)
|
||||||
|
$(use_with edit internal-edit)
|
||||||
|
)
|
||||||
|
econf "${myeconfargs[@]}"
|
||||||
|
}
|
||||||
|
|
||||||
|
src_test() {
|
||||||
|
# CK_FORK=no to avoid using fork() in check library
|
||||||
|
# as mc mocks fork() itself: bug #644462.
|
||||||
|
#
|
||||||
|
# VERBOSE=1 to make test failures contain detailed
|
||||||
|
# information.
|
||||||
|
CK_FORK=no emake check VERBOSE=1
|
||||||
|
}
|
||||||
|
|
||||||
|
src_install() {
|
||||||
|
emake DESTDIR="${D}" install
|
||||||
|
dodoc AUTHORS README NEWS
|
||||||
|
|
||||||
|
# fix bug #334383
|
||||||
|
if use kernel_linux && [[ ${EUID} == 0 ]] ; then
|
||||||
|
fowners root:tty /usr/libexec/mc/cons.saver
|
||||||
|
fperms g+s /usr/libexec/mc/cons.saver
|
||||||
|
fi
|
||||||
|
|
||||||
|
if ! use xdg ; then
|
||||||
|
sed 's@MC_XDG_OPEN="xdg-open"@MC_XDG_OPEN="/bin/false"@' \
|
||||||
|
-i "${ED}"/usr/libexec/mc/ext.d/*.sh || die
|
||||||
|
fi
|
||||||
|
}
|
||||||
|
|
||||||
|
pkg_postinst() {
|
||||||
|
elog "To enable exiting to latest working directory,"
|
||||||
|
elog "put this into your ~/.bashrc:"
|
||||||
|
elog ". ${EPREFIX}/usr/libexec/mc/mc.sh"
|
||||||
|
}
|
Binary file not shown.
Binary file not shown.
@ -1 +1,2 @@
|
|||||||
DIST foliate-2.2.1.tar.gz 4310842 BLAKE2B 3e858379c84a790d1ce4d60af25c4911d2864d7b82f1896216ae8a01598ae7865d65b90056348b372b328e84184e75fcbacfbb2b6fdb8aa9a7e254e726957c4f SHA512 3c9c3d8f2df72fcb8699ccf23bf1850c129c6f387a9b12489d8fcc3dd1da4da5a7e0707f74f4607ab0e28d67e2f55f0bb2d053fbbc072bc9915c54c4857e4cff
|
DIST foliate-2.2.1.tar.gz 4310842 BLAKE2B 3e858379c84a790d1ce4d60af25c4911d2864d7b82f1896216ae8a01598ae7865d65b90056348b372b328e84184e75fcbacfbb2b6fdb8aa9a7e254e726957c4f SHA512 3c9c3d8f2df72fcb8699ccf23bf1850c129c6f387a9b12489d8fcc3dd1da4da5a7e0707f74f4607ab0e28d67e2f55f0bb2d053fbbc072bc9915c54c4857e4cff
|
||||||
|
DIST foliate-2.4.1.tar.gz 4637388 BLAKE2B 4dfc0e0de5c668e73d80ff86b009f4711f0a439e6defd01a591f6271dab2de403d5f5304b29cad6c04661ee3da4d821416952324b500f73d22cdb62f85f97fed SHA512 25ae76232cb70722b0bb17d8a22c72011d99b7029f4ce70fa85a2f4baa2f93ce1fb855f5a03df882fe6f6af42101d4a368dc05a09d5fbeb78cb503b5d57fffe1
|
||||||
|
@ -0,0 +1,46 @@
|
|||||||
|
# Copyright 1999-2020 Gentoo Authors
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
|
||||||
|
EAPI=7
|
||||||
|
PLOCALES="cs_CS de_DE es fr_FR id_ID ie it nl pt_BR ru_RU sv tr uk zh_CN zh_TW"
|
||||||
|
inherit meson l10n xdg-utils gnome2-utils
|
||||||
|
SRC_URI="https://github.com/johnfactotum/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
|
||||||
|
DESCRIPTION="gtk ebook reader built with gjs"
|
||||||
|
HOMEPAGE="https://github.com/johnfactotum/foliate/"
|
||||||
|
|
||||||
|
LICENSE="GPL-3+"
|
||||||
|
SLOT="0"
|
||||||
|
KEYWORDS="~amd64"
|
||||||
|
IUSE=""
|
||||||
|
|
||||||
|
BDEPEND="${MESON_DEPEND}
|
||||||
|
sys-devel/gettext"
|
||||||
|
RDEPEND="dev-libs/gjs
|
||||||
|
net-libs/webkit-gtk"
|
||||||
|
|
||||||
|
src_prepare() {
|
||||||
|
default
|
||||||
|
|
||||||
|
l10n_find_plocales_changes "${S}"/po '' '.po'
|
||||||
|
|
||||||
|
rm_po() {
|
||||||
|
rm po/${1}.po
|
||||||
|
sed -e "/^${1}/d" -i po/LINGUAS
|
||||||
|
}
|
||||||
|
|
||||||
|
l10n_for_each_disabled_locale_do rm_po
|
||||||
|
}
|
||||||
|
|
||||||
|
pkg_postinst() {
|
||||||
|
xdg_desktop_database_update
|
||||||
|
xdg_mimeinfo_database_update
|
||||||
|
xdg_icon_cache_update
|
||||||
|
gnome2_schemas_update
|
||||||
|
}
|
||||||
|
|
||||||
|
pkg_postrm() {
|
||||||
|
xdg_desktop_database_update
|
||||||
|
xdg_mimeinfo_database_update
|
||||||
|
xdg_icon_cache_update
|
||||||
|
gnome2_schemas_update
|
||||||
|
}
|
@ -0,0 +1,111 @@
|
|||||||
|
# Copyright 1999-2020 Gentoo Authors
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
|
||||||
|
EAPI=7
|
||||||
|
|
||||||
|
inherit qmake-utils toolchain-funcs
|
||||||
|
|
||||||
|
DESCRIPTION="Converts source code to formatted text (HTML, LaTeX, etc.) with syntax highlight"
|
||||||
|
HOMEPAGE="http://www.andre-simon.de/"
|
||||||
|
SRC_URI="http://www.andre-simon.de/zip/${P}.tar.bz2"
|
||||||
|
|
||||||
|
LICENSE="GPL-3"
|
||||||
|
SLOT="0"
|
||||||
|
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos"
|
||||||
|
IUSE="examples qt5"
|
||||||
|
|
||||||
|
RDEPEND="
|
||||||
|
|| ( dev-lang/lua:0 dev-lang/lua:5.3 dev-lang/lua:5.2 dev-lang/lua:5.1 )
|
||||||
|
qt5? (
|
||||||
|
dev-qt/qtcore:5
|
||||||
|
dev-qt/qtgui:5
|
||||||
|
dev-qt/qtwidgets:5
|
||||||
|
)
|
||||||
|
"
|
||||||
|
DEPEND="${RDEPEND}
|
||||||
|
dev-libs/boost
|
||||||
|
"
|
||||||
|
BDEPEND="
|
||||||
|
virtual/pkgconfig
|
||||||
|
qt5? ( dev-qt/linguist-tools:5 )
|
||||||
|
"
|
||||||
|
|
||||||
|
myhlopts=(
|
||||||
|
"CXX=$(tc-getCXX)"
|
||||||
|
"AR=$(tc-getAR)"
|
||||||
|
"LDFLAGS=${LDFLAGS}"
|
||||||
|
"CFLAGS=${CXXFLAGS} -DNDEBUG -std=c++11"
|
||||||
|
"DESTDIR=${D}"
|
||||||
|
"PREFIX=${EPREFIX}/usr"
|
||||||
|
"HL_CONFIG_DIR=${EPREFIX}/etc/highlight/"
|
||||||
|
"HL_DATA_DIR=${EPREFIX}/usr/share/highlight/"
|
||||||
|
"doc_dir=${EPREFIX}/usr/share/doc/${PF}/"
|
||||||
|
"conf_dir=${EPREFIX}/etc/highlight/"
|
||||||
|
)
|
||||||
|
|
||||||
|
src_prepare() {
|
||||||
|
default
|
||||||
|
|
||||||
|
# disable man page compression
|
||||||
|
sed -e "/GZIP/d" -i makefile || die
|
||||||
|
|
||||||
|
sed -e "/LSB_DOC_DIR/s:doc/${PN}:doc/${PF}:" \
|
||||||
|
-i src/core/datadir.cpp || die
|
||||||
|
|
||||||
|
# Use the correct pkgconfig name for Lua
|
||||||
|
# Upstream codebase supports up to and including Lua 5.3!
|
||||||
|
if has_version 'dev-lang/lua:5.3'; then
|
||||||
|
LUAPKGCONFIG=lua5.3
|
||||||
|
elif has_version 'dev-lang/lua:5.2'; then
|
||||||
|
LUAPKGCONFIG=lua5.2
|
||||||
|
elif has_version 'dev-lang/lua:5.1'; then
|
||||||
|
LUAPKGCONFIG=lua5.1
|
||||||
|
elif has_version 'dev-lang/lua:0'; then
|
||||||
|
LUAPKGCONFIG=lua
|
||||||
|
else
|
||||||
|
die "Could not detect Lua version"
|
||||||
|
fi
|
||||||
|
einfo "Using pkg-config ${LUAPKGCONFIG}"
|
||||||
|
sed -r -i \
|
||||||
|
-e "/^LUA_.*pkg-config/s,\<lua\>,${LUAPKGCONFIG},g" \
|
||||||
|
"${S}"/extras/tcl/makefile \
|
||||||
|
"${S}"/extras/swig/makefile \
|
||||||
|
"${S}"/makefile \
|
||||||
|
"${S}"/src/makefile \
|
||||||
|
|| die "Failed to set Lua version"
|
||||||
|
|
||||||
|
# We set it via eqmake5, otherwise it forces clang...
|
||||||
|
sed -e "s/QMAKE_CC/#QMAKE_CC/g" \
|
||||||
|
-e "s/QMAKE_CXX /#QMAKE_CXX /g" \
|
||||||
|
-i src/gui-qt/highlight.pro || die
|
||||||
|
}
|
||||||
|
|
||||||
|
src_configure() {
|
||||||
|
if use qt5 ; then
|
||||||
|
pushd src/gui-qt > /dev/null || die
|
||||||
|
eqmake5 \
|
||||||
|
'DEFINES+=DATA_DIR=\\\"'"${EPREFIX}"'/usr/share/${PN}/\\\" CONFIG_DIR=\\\"'"${EPREFIX}"'/etc/${PN}/\\\" DOC_DIR=\\\"'"${EPREFIX}"'/usr/share/doc/${PF}/\\\"'
|
||||||
|
popd > /dev/null || die
|
||||||
|
fi
|
||||||
|
}
|
||||||
|
|
||||||
|
src_compile() {
|
||||||
|
emake -f makefile "${myhlopts[@]}"
|
||||||
|
if use qt5 ; then
|
||||||
|
pushd src/gui-qt > /dev/null || die
|
||||||
|
emake
|
||||||
|
popd > /dev/null || die
|
||||||
|
fi
|
||||||
|
}
|
||||||
|
|
||||||
|
src_install() {
|
||||||
|
emake -f makefile "${myhlopts[@]}" install
|
||||||
|
if use qt5; then
|
||||||
|
emake -f makefile "${myhlopts[@]}" install-gui
|
||||||
|
docompress -x /usr/share/doc/${PF}/{ChangeLog,COPYING,README,README_PLUGINS}
|
||||||
|
fi
|
||||||
|
|
||||||
|
if ! use examples ; then
|
||||||
|
rm -r "${ED}"/usr/share/doc/${PF}/extras || die
|
||||||
|
fi
|
||||||
|
}
|
@ -1 +1,2 @@
|
|||||||
DIST vgrep-2.3.1.tar.gz 1149421 BLAKE2B c4c9a414bba5e509d57faa9ca6f6ce5cae1dbb001ff8b410ad54691ec6bf39f41c535fd25bdd5d93fdf89b4e4b49acf4dfa9a8956653e5c5e2ce39bd7da8d484 SHA512 0fa65151ae40f7fefc4e5b1af8e6ea332b50b1136849ec0902dd110786ca14204441e27c65a036b08fa56bf04a6325d8aa8ef2d4d02cdb0e0fe219896e24d694
|
DIST vgrep-2.3.1.tar.gz 1149421 BLAKE2B c4c9a414bba5e509d57faa9ca6f6ce5cae1dbb001ff8b410ad54691ec6bf39f41c535fd25bdd5d93fdf89b4e4b49acf4dfa9a8956653e5c5e2ce39bd7da8d484 SHA512 0fa65151ae40f7fefc4e5b1af8e6ea332b50b1136849ec0902dd110786ca14204441e27c65a036b08fa56bf04a6325d8aa8ef2d4d02cdb0e0fe219896e24d694
|
||||||
|
DIST vgrep-2.3.3.tar.gz 1149769 BLAKE2B 59f15e0f2d9fd069b4926cb26a0517cb1d201dccce53d7c6b3ec1954693a3286396e8d4d72e2c3bcc4bb8e70083ba1ea349dfc4bec244caa112fcc2289063c25 SHA512 b745ec24bb5c329a3d0e4e756e54432f3acf9c24f9492339b69850d5a8e688074323d7e56c584e59f3aedf3a41b84997497791512dae2950424eaed56d6b7329
|
||||||
|
@ -0,0 +1,33 @@
|
|||||||
|
# Copyright 1999-2020 Gentoo Authors
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
|
||||||
|
EAPI="7"
|
||||||
|
|
||||||
|
inherit go-module
|
||||||
|
|
||||||
|
DESCRIPTION="A pager for grep, git-grep and similar grep implementations"
|
||||||
|
HOMEPAGE="https://github.com/vrothberg/vgrep"
|
||||||
|
SRC_URI="https://github.com/vrothberg/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
|
||||||
|
|
||||||
|
LICENSE="BSD GPL-3+ MIT MIT-with-advertising"
|
||||||
|
SLOT="0"
|
||||||
|
KEYWORDS="~amd64"
|
||||||
|
|
||||||
|
# Uses golangci-lint
|
||||||
|
RESTRICT="test"
|
||||||
|
|
||||||
|
DOCS=( README.md )
|
||||||
|
|
||||||
|
# go binary
|
||||||
|
QA_PRESTRIPPED="usr/bin/vgrep"
|
||||||
|
|
||||||
|
src_compile() {
|
||||||
|
emake build
|
||||||
|
}
|
||||||
|
|
||||||
|
src_install() {
|
||||||
|
local prefix="${D}/usr"
|
||||||
|
mkdir -p "${prefix}"/bin || die
|
||||||
|
|
||||||
|
emake PREFIX="${prefix}" install
|
||||||
|
}
|
Binary file not shown.
@ -1,3 +1,2 @@
|
|||||||
DIST asio-1.10.8.tar.bz2 1270332 BLAKE2B 97e4a6a7c8b4562f10af1d122e9b08c12d567fd0447d1951a907f47f77832dcd42df4cb9b5b392feaaa2ea7c79d8bedfcf12e3052957ec012d8bb6b4d1347eb5 SHA512 d870686d2b19bec9925c311f2f0fd370e9797bbad252176a80a998f9c322ecd502b5081826105712e7caf87c03c3e6b70a0e219019e5bff46077d6e8c3c6db09
|
DIST asio-1.10.8.tar.bz2 1270332 BLAKE2B 97e4a6a7c8b4562f10af1d122e9b08c12d567fd0447d1951a907f47f77832dcd42df4cb9b5b392feaaa2ea7c79d8bedfcf12e3052957ec012d8bb6b4d1347eb5 SHA512 d870686d2b19bec9925c311f2f0fd370e9797bbad252176a80a998f9c322ecd502b5081826105712e7caf87c03c3e6b70a0e219019e5bff46077d6e8c3c6db09
|
||||||
DIST asio-1.14.0.tar.bz2 1473195 BLAKE2B e28960d585a1a84c6be7d6205be310bd2baab36e93630b9f5f4fba593377e57d6baf1c60e2503c46cd00ae73b20b622215358cae2068e86b62dac7e782210ecb SHA512 84855a06a3facc41e3c1c61be443d8b73a01afcb9bc3f1f444f0f3fd901ea1d5c932266ed94a031a0abd83171d5a6b83b6ab850e44aa31d175081a7e07b4793a
|
|
||||||
DIST asio-1.16.1.tar.bz2 1493978 BLAKE2B 810fd735a0cbea8e07bfe30cbf02d44469c3c7eebed3822766c0a658fe8972681232afe4a6124537886fafd0769eecc40b8eabbcaa2771b84b93cda56329394d SHA512 e8cab449887e3e362f9d3c2aa1b1bbb2f81954aeaf2cd12cefe7f848cdc30e1a576130b49f551efd49611b9d4941e724baea42739c043e158626f3c982b75311
|
DIST asio-1.16.1.tar.bz2 1493978 BLAKE2B 810fd735a0cbea8e07bfe30cbf02d44469c3c7eebed3822766c0a658fe8972681232afe4a6124537886fafd0769eecc40b8eabbcaa2771b84b93cda56329394d SHA512 e8cab449887e3e362f9d3c2aa1b1bbb2f81954aeaf2cd12cefe7f848cdc30e1a576130b49f551efd49611b9d4941e724baea42739c043e158626f3c982b75311
|
||||||
|
@ -1,49 +0,0 @@
|
|||||||
# Copyright 1999-2020 Gentoo Authors
|
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
|
||||||
|
|
||||||
EAPI=7
|
|
||||||
|
|
||||||
DESCRIPTION="Asynchronous Network Library"
|
|
||||||
HOMEPAGE="https://think-async.com"
|
|
||||||
SRC_URI="mirror://sourceforge/${PN}/${PN}/${P}.tar.bz2"
|
|
||||||
|
|
||||||
LICENSE="Boost-1.0"
|
|
||||||
SLOT="0"
|
|
||||||
KEYWORDS="~alpha amd64 ~arm ~arm64 ~hppa ~ia64 ppc ppc64 sparc x86"
|
|
||||||
IUSE="doc examples libressl ssl test"
|
|
||||||
RESTRICT="!test? ( test )"
|
|
||||||
|
|
||||||
RDEPEND="dev-libs/boost
|
|
||||||
ssl? (
|
|
||||||
!libressl? ( dev-libs/openssl:0= )
|
|
||||||
libressl? ( dev-libs/libressl:0= )
|
|
||||||
)"
|
|
||||||
DEPEND="${RDEPEND}"
|
|
||||||
|
|
||||||
src_prepare() {
|
|
||||||
default
|
|
||||||
|
|
||||||
if ! use test; then
|
|
||||||
# Don't build nor install any examples or unittests
|
|
||||||
# since we don't have a script to run them
|
|
||||||
cat > src/Makefile.in <<-EOF || die
|
|
||||||
all:
|
|
||||||
|
|
||||||
install:
|
|
||||||
|
|
||||||
clean:
|
|
||||||
EOF
|
|
||||||
fi
|
|
||||||
}
|
|
||||||
|
|
||||||
src_install() {
|
|
||||||
use doc && local HTML_DOCS=( doc/. )
|
|
||||||
default
|
|
||||||
|
|
||||||
if use examples; then
|
|
||||||
# Get rid of the object files
|
|
||||||
emake clean
|
|
||||||
dodoc -r src/examples
|
|
||||||
docompress -x /usr/share/doc/${PF}/examples
|
|
||||||
fi
|
|
||||||
}
|
|
Binary file not shown.
Binary file not shown.
@ -0,0 +1,77 @@
|
|||||||
|
--- a/Makefile
|
||||||
|
+++ b/Makefile
|
||||||
|
@@ -1,11 +1,7 @@
|
||||||
|
# Unix gcc or DOS go32 cross-compiling gcc
|
||||||
|
#
|
||||||
|
-CC = gcc
|
||||||
|
-LD = gcc
|
||||||
|
# for testing. not to be used; build failures in misc/.
|
||||||
|
#CFLAGS = -O2 -W -Wall -pedantic -ansi
|
||||||
|
-CFLAGS = -O2
|
||||||
|
-LDFLAGS = -lc
|
||||||
|
|
||||||
|
# for DOS?
|
||||||
|
# CC = gcc-go32
|
||||||
|
@@ -32,13 +28,13 @@
|
||||||
|
rm -f xa
|
||||||
|
|
||||||
|
xa:
|
||||||
|
- (cd src && LD=${LD} CC="${CC} ${CFLAGS}" ${MAKE})
|
||||||
|
+ (cd src && ${MAKE})
|
||||||
|
|
||||||
|
load:
|
||||||
|
- (cd loader && CC="${CC} ${CFLAGS}" ${MAKE})
|
||||||
|
+ (cd loader && ${MAKE})
|
||||||
|
|
||||||
|
uncpk:
|
||||||
|
- (cd misc && CC="${CC} ${CFLAGS}" ${MAKE})
|
||||||
|
+ (cd misc && ${MAKE})
|
||||||
|
|
||||||
|
dos: clean
|
||||||
|
(cd src && LD=gcc-go32 CC=gcc-go32 CFLAGS="-W -Wall -pedantic" ${MAKE})
|
||||||
|
--- a/misc/Makefile
|
||||||
|
+++ b/misc/Makefile
|
||||||
|
@@ -2,7 +2,6 @@
|
||||||
|
XCBMLIB = ..
|
||||||
|
|
||||||
|
# -Wall -ansi et al. cause compile problems.
|
||||||
|
-CFLAGS = -O2
|
||||||
|
|
||||||
|
LIBS = #-lncurses -ltermcap -lm
|
||||||
|
|
||||||
|
@@ -10,19 +9,19 @@
|
||||||
|
all: ../mkrom.sh ../uncpk ../printcbm ../file65 ../reloc65 ../ldo65
|
||||||
|
|
||||||
|
../uncpk: uncpk.c
|
||||||
|
- ${CC} ${CFLAGS} uncpk.c -o $(XCBMLIB)/uncpk
|
||||||
|
+ ${CC} ${CFLAGS} ${CPPFLAGS} ${LDFLAGS} uncpk.c -o $(XCBMLIB)/uncpk
|
||||||
|
|
||||||
|
../printcbm: printcbm.c
|
||||||
|
- ${CC} ${CFLAGS} printcbm.c -o $(XCBMLIB)/printcbm
|
||||||
|
+ ${CC} ${CFLAGS} ${CPPFLAGS} ${LDFLAGS} printcbm.c -o $(XCBMLIB)/printcbm
|
||||||
|
|
||||||
|
../file65: file65.c
|
||||||
|
- ${CC} ${CFLAGS} file65.c -o $(XCBMLIB)/file65
|
||||||
|
+ ${CC} ${CFLAGS} ${CPPFLAGS} ${LDFLAGS} file65.c -o $(XCBMLIB)/file65
|
||||||
|
|
||||||
|
../ldo65: ldo65.c
|
||||||
|
- ${CC} ${CFLAGS} ldo65.c -o $(XCBMLIB)/ldo65
|
||||||
|
+ ${CC} ${CFLAGS} ${CPPFLAGS} ${LDFLAGS} ldo65.c -o $(XCBMLIB)/ldo65
|
||||||
|
|
||||||
|
../reloc65: reloc65.c
|
||||||
|
- ${CC} ${CFLAGS} reloc65.c -o $(XCBMLIB)/reloc65
|
||||||
|
+ ${CC} ${CFLAGS} ${CPPFLAGS} ${LDFLAGS} reloc65.c -o $(XCBMLIB)/reloc65
|
||||||
|
|
||||||
|
../mkrom.sh: mkrom.sh
|
||||||
|
cp mkrom.sh ../mkrom.sh
|
||||||
|
--- a/src/Makefile
|
||||||
|
+++ b/src/Makefile
|
||||||
|
@@ -8,7 +8,7 @@
|
||||||
|
all: xa
|
||||||
|
|
||||||
|
xa: ${OBJ}
|
||||||
|
- ${LD} -o ../xa ${OBJ} ${LDFLAGS}
|
||||||
|
+ ${CC} ${CFLAGS} ${LDFLAGS} -o ../xa ${OBJ}
|
||||||
|
|
||||||
|
clean:
|
||||||
|
rm -f *.o *.o65
|
Binary file not shown.
@ -1,39 +0,0 @@
|
|||||||
# Copyright 1999-2015 Gentoo Foundation
|
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
|
||||||
|
|
||||||
EAPI=5
|
|
||||||
inherit toolchain-funcs eutils multilib
|
|
||||||
|
|
||||||
DESCRIPTION="A cross-platform network library designed for games"
|
|
||||||
HOMEPAGE="http://www.hawksoft.com/hawknl/"
|
|
||||||
SRC_URI="http://www.sonic.net/~philf/download/HawkNL${PV/./}src.tar.gz"
|
|
||||||
|
|
||||||
LICENSE="LGPL-2.1"
|
|
||||||
SLOT="0"
|
|
||||||
KEYWORDS="amd64 hppa x86"
|
|
||||||
IUSE="doc"
|
|
||||||
|
|
||||||
RDEPEND=""
|
|
||||||
DEPEND=""
|
|
||||||
|
|
||||||
S=${WORKDIR}/hawknl${PV}
|
|
||||||
|
|
||||||
src_prepare() {
|
|
||||||
epatch "${FILESDIR}"/${P}-build.patch
|
|
||||||
sed -i\ -e '/echo /d' src/makefile.linux || die
|
|
||||||
}
|
|
||||||
|
|
||||||
src_compile() {
|
|
||||||
emake -C src -f makefile.linux \
|
|
||||||
CC="$(tc-getCC)" \
|
|
||||||
OPTFLAGS="${CFLAGS} -D_GNU_SOURCE -D_REENTRANT"
|
|
||||||
}
|
|
||||||
|
|
||||||
src_install() {
|
|
||||||
emake -j1 -C src -f makefile.linux \
|
|
||||||
LIBDIR="${D}/usr/$(get_libdir)" \
|
|
||||||
INCDIR="${D}/usr/include" install
|
|
||||||
if use doc ; then
|
|
||||||
dodoc -r samples
|
|
||||||
fi
|
|
||||||
}
|
|
@ -0,0 +1,40 @@
|
|||||||
|
# Copyright 1999-2020 Gentoo Authors
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
|
||||||
|
EAPI=7
|
||||||
|
|
||||||
|
inherit toolchain-funcs
|
||||||
|
|
||||||
|
DESCRIPTION="A cross-platform network library designed for games"
|
||||||
|
HOMEPAGE="http://www.hawksoft.com/hawknl/"
|
||||||
|
SRC_URI="http://www.sonic.net/~philf/download/HawkNL${PV/./}src.tar.gz"
|
||||||
|
|
||||||
|
LICENSE="LGPL-2.1"
|
||||||
|
SLOT="0"
|
||||||
|
KEYWORDS="amd64 hppa x86"
|
||||||
|
IUSE="examples"
|
||||||
|
|
||||||
|
S="${WORKDIR}/${PN}${PV}"
|
||||||
|
|
||||||
|
PATCHES=( "${FILESDIR}"/${P}-build.patch )
|
||||||
|
|
||||||
|
src_configure() {
|
||||||
|
tc-export CC
|
||||||
|
}
|
||||||
|
|
||||||
|
src_compile() {
|
||||||
|
emake -C src -f makefile.linux
|
||||||
|
}
|
||||||
|
|
||||||
|
src_install() {
|
||||||
|
emake -j1 -C src -f makefile.linux \
|
||||||
|
LIBDIR="${ED}"/usr/$(get_libdir) \
|
||||||
|
INCDIR="${ED}"/usr/include install
|
||||||
|
|
||||||
|
dodoc src/{nlchanges.txt,readme.txt}
|
||||||
|
if use examples; then
|
||||||
|
docinto examples
|
||||||
|
dodoc -r samples/.
|
||||||
|
docompress -x /usr/share/doc/${PF}/examples
|
||||||
|
fi
|
||||||
|
}
|
Binary file not shown.
@ -0,0 +1,39 @@
|
|||||||
|
# Copyright 1999-2020 Gentoo Authors
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
|
||||||
|
EAPI=7
|
||||||
|
JAVA_PKG_IUSE="source"
|
||||||
|
|
||||||
|
inherit eutils java-pkg-2 java-ant-2
|
||||||
|
|
||||||
|
MY_A="apache-${P}-src"
|
||||||
|
MY_P="${MY_A/-servlet-api/}"
|
||||||
|
DESCRIPTION="Tomcat's Servlet API 3.1/JSP API 2.3/EL API 3.0 implementation"
|
||||||
|
HOMEPAGE="https://tomcat.apache.org/"
|
||||||
|
SRC_URI="mirror://apache/tomcat/tomcat-8/v${PV}/src/${MY_P}.tar.gz"
|
||||||
|
|
||||||
|
LICENSE="Apache-2.0"
|
||||||
|
SLOT="3.1"
|
||||||
|
KEYWORDS="~amd64 ~arm64 ~ppc64 ~x86 ~amd64-linux ~x86-linux ~x64-solaris ~x86-solaris"
|
||||||
|
IUSE=""
|
||||||
|
|
||||||
|
DEPEND=">=virtual/jdk-1.8"
|
||||||
|
RDEPEND=">=virtual/jre-1.8"
|
||||||
|
|
||||||
|
S="${WORKDIR}/${MY_P}/"
|
||||||
|
|
||||||
|
src_prepare() {
|
||||||
|
default
|
||||||
|
|
||||||
|
cp "${FILESDIR}/${SLOT}-build.xml" build.xml || die "Could not replace build.xml"
|
||||||
|
rm -fR */*/build.xml
|
||||||
|
einfo "Removing bundled jars and classes"
|
||||||
|
find "${S}" '(' -name '*.class' -o -name '*.jar' ')' -exec rm -frv {} +
|
||||||
|
|
||||||
|
java-pkg-2_src_prepare
|
||||||
|
}
|
||||||
|
|
||||||
|
src_install() {
|
||||||
|
java-pkg_dojar "${S}"/output/build/lib/*.jar
|
||||||
|
use source && java-pkg_dosrc java/javax/servlet/
|
||||||
|
}
|
Binary file not shown.
Binary file not shown.
@ -1,17 +0,0 @@
|
|||||||
Install python module into gdb auto-load directory.
|
|
||||||
|
|
||||||
--- a/Makefile.in
|
|
||||||
+++ b/Makefile.in
|
|
||||||
@@ -2189,9 +2189,9 @@ install-data-local: $(srcdir)/isl.py
|
|
||||||
case $$libisl in \
|
|
||||||
'') echo Cannot find isl library name. GDB bindings not installed.;; \
|
|
||||||
*) echo $(INSTALL_DATA) $(srcdir)/isl.py \
|
|
||||||
- $(DESTDIR)$(libdir)/$$libisl-gdb.py; \
|
|
||||||
- test -z "$(libdir)" || $(MKDIR_P) "$(DESTDIR)$(libdir)"; \
|
|
||||||
- $(INSTALL_DATA) $(srcdir)/isl.py $(DESTDIR)$(libdir)/$$libisl-gdb.py; esac
|
|
||||||
+ $(DESTDIR)$(prefix)/share/gdb/auto-load$(libdir)/$$libisl-gdb.py; \
|
|
||||||
+ test -z "$(libdir)" || $(MKDIR_P) "$(DESTDIR)$(prefix)/share/gdb/auto-load$(libdir)"; \
|
|
||||||
+ $(INSTALL_DATA) $(srcdir)/isl.py $(DESTDIR)$(prefix)/share/gdb/auto-load$(libdir)/$$libisl-gdb.py; esac
|
|
||||||
|
|
||||||
# Tell versions [3.59,3.63) of GNU make to not export all variables.
|
|
||||||
# Otherwise a system limit (for SysV at least) may be exceeded.
|
|
@ -0,0 +1,38 @@
|
|||||||
|
--- a/configure.ac
|
||||||
|
+++ b/configure.ac
|
||||||
|
@@ -89,6 +89,9 @@
|
||||||
|
AC_PROG_AWK
|
||||||
|
AC_SUBST(AWK)
|
||||||
|
|
||||||
|
+AC_ARG_VAR([NM], [utility for listing symbols from object files])
|
||||||
|
+AC_CHECK_TOOL([NM], [nm])
|
||||||
|
+
|
||||||
|
if test "x$GCC" != "xyes"
|
||||||
|
then
|
||||||
|
AC_MSG_WARN([
|
||||||
|
--- a/lib/cdda_interface/Makefile.am
|
||||||
|
+++ b/lib/cdda_interface/Makefile.am
|
||||||
|
@@ -129,8 +129,8 @@
|
||||||
|
echo 'CDIO_CDDA_$(libcdio_cdda_la_MAJOR) { ' > $@
|
||||||
|
objs=`for obj in $(libcdio_cdda_la_OBJECTS); do sed -ne "s/^pic_object='\(.*\)'$$/\1/p" $$obj; done`; \
|
||||||
|
if test -n "$$objs" ; then \
|
||||||
|
- nm $${objs} | sed -n -e 's/^.*[ ][ABCDGIRSTW][ABCDGIRSTW]*[ ][ ]*\([_A-Za-z][_A-Za-z0-9]*\)$$/\1/p' | sort -u | { first=true; while read symbol; do if grep -q "^$${symbol}\$$" $(srcdir)/libcdio_cdda.sym; then if test $$first = true; then echo " global:"; first=false; fi; echo " $${symbol};"; fi; done; } >> $@; \
|
||||||
|
- nm $${objs} | sed -n -e 's/^.*[ ][ABCDGIRSTW][ABCDGIRSTW]*[ ][ ]*\([_A-Za-z][_A-Za-z0-9]*\)$$/\1/p' | sort -u | { first=true; while read symbol; do if grep -q "^$${symbol}\$$" $(srcdir)/libcdio_cdda.sym; then :; else if test $$first = true; then echo " local:"; first=false; fi; echo " $${symbol};"; fi; done; } >> $@; \
|
||||||
|
+ ${NM} $${objs} | sed -n -e 's/^.*[ ][ABCDGIRSTW][ABCDGIRSTW]*[ ][ ]*\([_A-Za-z][_A-Za-z0-9]*\)$$/\1/p' | sort -u | { first=true; while read symbol; do if grep -q "^$${symbol}\$$" $(srcdir)/libcdio_cdda.sym; then if test $$first = true; then echo " global:"; first=false; fi; echo " $${symbol};"; fi; done; } >> $@; \
|
||||||
|
+ ${NM} $${objs} | sed -n -e 's/^.*[ ][ABCDGIRSTW][ABCDGIRSTW]*[ ][ ]*\([_A-Za-z][_A-Za-z0-9]*\)$$/\1/p' | sort -u | { first=true; while read symbol; do if grep -q "^$${symbol}\$$" $(srcdir)/libcdio_cdda.sym; then :; else if test $$first = true; then echo " local:"; first=false; fi; echo " $${symbol};"; fi; done; } >> $@; \
|
||||||
|
fi
|
||||||
|
echo '};' >> $@
|
||||||
|
else !BUILD_VERSIONED_LIBS
|
||||||
|
--- a/lib/paranoia/Makefile.am
|
||||||
|
+++ b/lib/paranoia/Makefile.am
|
||||||
|
@@ -142,8 +142,8 @@
|
||||||
|
echo 'CDIO_PARANOIA_$(libcdio_paranoia_la_MAJOR) { ' > $@
|
||||||
|
objs=`for obj in $(libcdio_paranoia_la_OBJECTS); do sed -ne "s/^pic_object='\(.*\)'$$/\1/p" $$obj; done`; \
|
||||||
|
if test -n "$$objs" ; then \
|
||||||
|
- nm $${objs} | sed -n -e 's/^.*[ ][ABCDGIRSTW][ABCDGIRSTW]*[ ][ ]*\([_A-Za-z][_A-Za-z0-9]*\)$$/\1/p' | sort -u | { first=true; while read symbol; do if grep -q "^$${symbol}\$$" $(srcdir)/libcdio_paranoia.sym; then if test $$first = true; then echo " global:"; first=false; fi; echo " $${symbol};"; fi; done; } >> $@; \
|
||||||
|
- nm $${objs} | sed -n -e 's/^.*[ ][ABCDGIRSTW][ABCDGIRSTW]*[ ][ ]*\([_A-Za-z][_A-Za-z0-9]*\)$$/\1/p' | sort -u | { first=true; while read symbol; do if grep -q "^$${symbol}\$$" $(srcdir)/libcdio_paranoia.sym; then :; else if test $$first = true; then echo " local:"; first=false; fi; echo " $${symbol};"; fi; done; } >> $@; \
|
||||||
|
+ ${NM} $${objs} | sed -n -e 's/^.*[ ][ABCDGIRSTW][ABCDGIRSTW]*[ ][ ]*\([_A-Za-z][_A-Za-z0-9]*\)$$/\1/p' | sort -u | { first=true; while read symbol; do if grep -q "^$${symbol}\$$" $(srcdir)/libcdio_paranoia.sym; then if test $$first = true; then echo " global:"; first=false; fi; echo " $${symbol};"; fi; done; } >> $@; \
|
||||||
|
+ ${NM} $${objs} | sed -n -e 's/^.*[ ][ABCDGIRSTW][ABCDGIRSTW]*[ ][ ]*\([_A-Za-z][_A-Za-z0-9]*\)$$/\1/p' | sort -u | { first=true; while read symbol; do if grep -q "^$${symbol}\$$" $(srcdir)/libcdio_paranoia.sym; then :; else if test $$first = true; then echo " local:"; first=false; fi; echo " $${symbol};"; fi; done; } >> $@; \
|
||||||
|
fi
|
||||||
|
echo '};' >> $@
|
||||||
|
else
|
@ -1,3 +1,4 @@
|
|||||||
DIST libfmt-6.1.2.tar.gz 723160 BLAKE2B 36e7451a8732c62dcbf47e6d287ea582827b6196a468b8648803ea1bc9a37a5f681d87488f748d749183d97783ac7fb47a3f2aeed64fc6a684f9ee85b67ae28d SHA512 8770bf4bd2bb6d938e75e0cf1e665c41930dbd9d2a6825274a5a43cd1d85b9c9ca621bb040ed099429f0e16bddbc3399361c453eb1bf3fc01376e6ad9dd875b7
|
DIST libfmt-6.1.2.tar.gz 723160 BLAKE2B 36e7451a8732c62dcbf47e6d287ea582827b6196a468b8648803ea1bc9a37a5f681d87488f748d749183d97783ac7fb47a3f2aeed64fc6a684f9ee85b67ae28d SHA512 8770bf4bd2bb6d938e75e0cf1e665c41930dbd9d2a6825274a5a43cd1d85b9c9ca621bb040ed099429f0e16bddbc3399361c453eb1bf3fc01376e6ad9dd875b7
|
||||||
DIST libfmt-6.2.0.tar.gz 733403 BLAKE2B c7ff69a56b90ec8df7d1af5c9934592449f2052046192aa498a6440d2aab76f10c17fa2833a41475b777dca2e3a1ae671021530bf0ef8be12443541f0f5212b3 SHA512 0003543f437bae416600a2b982eb133f65588bd36d7506fa7d883ae3133fcaf7ad825904af9b588ea22e5d91e56560aaf4243a6afa11ff6d8aace2e4bb1b0cee
|
DIST libfmt-6.2.0.tar.gz 733403 BLAKE2B c7ff69a56b90ec8df7d1af5c9934592449f2052046192aa498a6440d2aab76f10c17fa2833a41475b777dca2e3a1ae671021530bf0ef8be12443541f0f5212b3 SHA512 0003543f437bae416600a2b982eb133f65588bd36d7506fa7d883ae3133fcaf7ad825904af9b588ea22e5d91e56560aaf4243a6afa11ff6d8aace2e4bb1b0cee
|
||||||
DIST libfmt-6.2.1.tar.gz 733646 BLAKE2B 74394efc67065bf7a2259f5c16521b1cc4fb08bd599fe99be86b97b712c60d8790f39d65257ab18fe95bcde3d115d97e91c41d23309596f279cf51ebd4d2957d SHA512 520ef3addfecd9796253c347e0ecf4c18ef2f86d3b1b6b714f7834741f4737f1b7ed8365d3be46c9186617898911b23680cad2ae3cb7aadaf641ab32e327b0dc
|
DIST libfmt-6.2.1.tar.gz 733646 BLAKE2B 74394efc67065bf7a2259f5c16521b1cc4fb08bd599fe99be86b97b712c60d8790f39d65257ab18fe95bcde3d115d97e91c41d23309596f279cf51ebd4d2957d SHA512 520ef3addfecd9796253c347e0ecf4c18ef2f86d3b1b6b714f7834741f4737f1b7ed8365d3be46c9186617898911b23680cad2ae3cb7aadaf641ab32e327b0dc
|
||||||
|
DIST libfmt-7.0.0.tar.gz 738799 BLAKE2B de032e6d0400e960f9622281bd00aa8676c909f4f171ba327206d9fe7ce9616ea134f61d90616917e4a23d025d83c05ee41faa5a9b61691458a20e66631942a5 SHA512 c92bcc067cdc0d260179a1f731ab8f54d8c0f3af5911b39034f0e24b0a8ef43ecfd820e42f1a2e30c2a436113920ea06e73b297b185c8794a5d480f1ec9e5916
|
||||||
|
@ -0,0 +1,36 @@
|
|||||||
|
# Copyright 1999-2020 Gentoo Authors
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
|
||||||
|
EAPI=7
|
||||||
|
|
||||||
|
CMAKE_ECLASS=cmake
|
||||||
|
inherit cmake-multilib
|
||||||
|
|
||||||
|
DESCRIPTION="Small, safe and fast formatting library"
|
||||||
|
HOMEPAGE="https://github.com/fmtlib/fmt"
|
||||||
|
|
||||||
|
LICENSE="MIT"
|
||||||
|
IUSE="test"
|
||||||
|
SLOT="0/$(ver_cut 1)"
|
||||||
|
|
||||||
|
if [[ ${PV} == *9999 ]] ; then
|
||||||
|
EGIT_REPO_URI="https://github.com/fmtlib/fmt.git"
|
||||||
|
inherit git-r3
|
||||||
|
else
|
||||||
|
SRC_URI="https://github.com/fmtlib/fmt/archive/${PV}.tar.gz -> ${P}.tar.gz"
|
||||||
|
KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~x86"
|
||||||
|
S="${WORKDIR}/fmt-${PV}"
|
||||||
|
fi
|
||||||
|
|
||||||
|
DEPEND=""
|
||||||
|
RDEPEND=""
|
||||||
|
RESTRICT="!test? ( test )"
|
||||||
|
|
||||||
|
multilib_src_configure() {
|
||||||
|
local mycmakeargs=(
|
||||||
|
-DFMT_CMAKE_DIR="$(get_libdir)/cmake/fmt"
|
||||||
|
-DFMT_LIB_DIR="$(get_libdir)"
|
||||||
|
-DFMT_TEST=$(usex test)
|
||||||
|
)
|
||||||
|
cmake_src_configure
|
||||||
|
}
|
@ -1 +1,2 @@
|
|||||||
DIST protobuf-c-1.3.2.tar.gz 500100 BLAKE2B b8bcd4ad6f9ddc05f28526f7cc58778b21a34fc18c7c7aa2a5bb45ae7fdc7c5d8957f989fe1bbfe353214ca87b02afed8cf0ad43c0f0e39f7e13059a5dfd6b7d SHA512 d94d2c6f11b3e482fd3d1b8cef5b2d896ad37a679068f393d29916311deadc5b6b86f946b046d7ee49260b0223e3128e052dc76324b4a8cd6ea184d566ad9aa6
|
DIST protobuf-c-1.3.2.tar.gz 500100 BLAKE2B b8bcd4ad6f9ddc05f28526f7cc58778b21a34fc18c7c7aa2a5bb45ae7fdc7c5d8957f989fe1bbfe353214ca87b02afed8cf0ad43c0f0e39f7e13059a5dfd6b7d SHA512 d94d2c6f11b3e482fd3d1b8cef5b2d896ad37a679068f393d29916311deadc5b6b86f946b046d7ee49260b0223e3128e052dc76324b4a8cd6ea184d566ad9aa6
|
||||||
|
DIST protobuf-c-1.3.3.tar.gz 500505 BLAKE2B 6f00eac847f5287cdea5afaea5be05d660eda10b30a14bbab89331ef134f93b8a77d3f6546cab246447494b0283b32218f794c56a7d081906c49668631b14505 SHA512 85308348929487e3a89158c6078dab39cee0b39a0611a4d5ba73d20520e41d96915e42a0d6060ebd3eb7d922c82444f5ca000ea4f8791b37734485cbb7e283b1
|
||||||
|
@ -0,0 +1,43 @@
|
|||||||
|
# Copyright 1999-2020 Gentoo Authors
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
|
||||||
|
EAPI=7
|
||||||
|
|
||||||
|
inherit autotools multilib-minimal
|
||||||
|
|
||||||
|
MY_PV="${PV/_/-}"
|
||||||
|
MY_P="${PN}-${MY_PV}"
|
||||||
|
|
||||||
|
DESCRIPTION="Protocol Buffers implementation in C"
|
||||||
|
HOMEPAGE="https://github.com/protobuf-c/protobuf-c"
|
||||||
|
SRC_URI="https://github.com/${PN}/${PN}/releases/download/v${MY_PV}/${MY_P}.tar.gz"
|
||||||
|
|
||||||
|
LICENSE="BSD-2"
|
||||||
|
# Subslot == SONAME version
|
||||||
|
SLOT="0/1.0.0"
|
||||||
|
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sparc ~x86"
|
||||||
|
IUSE="static-libs test"
|
||||||
|
RESTRICT="!test? ( test )"
|
||||||
|
|
||||||
|
BDEPEND=">=dev-libs/protobuf-3:0
|
||||||
|
virtual/pkgconfig"
|
||||||
|
DEPEND=">=dev-libs/protobuf-3:0=[${MULTILIB_USEDEP}]"
|
||||||
|
RDEPEND="${DEPEND}"
|
||||||
|
|
||||||
|
S="${WORKDIR}/${MY_P}"
|
||||||
|
|
||||||
|
src_prepare() {
|
||||||
|
default
|
||||||
|
if ! use test; then
|
||||||
|
eapply "${FILESDIR}"/${PN}-1.3.0-no-build-tests.patch
|
||||||
|
fi
|
||||||
|
|
||||||
|
eautoreconf
|
||||||
|
}
|
||||||
|
|
||||||
|
multilib_src_configure() {
|
||||||
|
local myeconfargs=(
|
||||||
|
$(use_enable static-libs static)
|
||||||
|
)
|
||||||
|
ECONF_SOURCE="${S}" econf "${myeconfargs[@]}"
|
||||||
|
}
|
@ -0,0 +1,33 @@
|
|||||||
|
https://github.com/gabime/spdlog/pull/1606
|
||||||
|
|
||||||
|
From 22bee8128a4150ce37cf761ed9a609ad891848a6 Mon Sep 17 00:00:00 2001
|
||||||
|
From: Craig Andrews <candrews@integralblue.com>
|
||||||
|
Date: Mon, 6 Jul 2020 13:01:52 -0400
|
||||||
|
Subject: [PATCH] fmt 7.0.0 renamed the internal namespace to detail.
|
||||||
|
|
||||||
|
See: https://github.com/fmtlib/fmt/issues/1538
|
||||||
|
---
|
||||||
|
include/spdlog/details/fmt_helper.h | 10 +++++++++-
|
||||||
|
1 file changed, 9 insertions(+), 1 deletion(-)
|
||||||
|
|
||||||
|
diff --git a/include/spdlog/details/fmt_helper.h b/include/spdlog/details/fmt_helper.h
|
||||||
|
index cbc0bdf3..4f363858 100644
|
||||||
|
--- a/include/spdlog/details/fmt_helper.h
|
||||||
|
+++ b/include/spdlog/details/fmt_helper.h
|
||||||
|
@@ -34,7 +34,15 @@ template<typename T>
|
||||||
|
inline unsigned int count_digits(T n)
|
||||||
|
{
|
||||||
|
using count_type = typename std::conditional<(sizeof(T) > sizeof(uint32_t)), uint64_t, uint32_t>::type;
|
||||||
|
- return static_cast<unsigned int>(fmt::internal::count_digits(static_cast<count_type>(n)));
|
||||||
|
+ return static_cast<unsigned int>(fmt::
|
||||||
|
+// fmt 7.0.0 renamed the internal namespace to detail.
|
||||||
|
+// See: https://github.com/fmtlib/fmt/issues/1538
|
||||||
|
+#if FMT_VERSION < 70000
|
||||||
|
+internal
|
||||||
|
+#else
|
||||||
|
+detail
|
||||||
|
+#endif
|
||||||
|
+::count_digits(static_cast<count_type>(n)));
|
||||||
|
}
|
||||||
|
|
||||||
|
inline void pad2(int n, memory_buf_t &dest)
|
@ -0,0 +1,51 @@
|
|||||||
|
# Copyright 1999-2020 Gentoo Authors
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
|
||||||
|
EAPI=7
|
||||||
|
|
||||||
|
inherit cmake
|
||||||
|
|
||||||
|
DESCRIPTION="Very fast, header only, C++ logging library"
|
||||||
|
HOMEPAGE="https://github.com/gabime/spdlog"
|
||||||
|
|
||||||
|
if [[ ${PV} == *9999 ]]; then
|
||||||
|
inherit git-r3
|
||||||
|
EGIT_REPO_URI="https://github.com/gabime/${PN}"
|
||||||
|
else
|
||||||
|
SRC_URI="https://github.com/gabime/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
|
||||||
|
KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~x86"
|
||||||
|
fi
|
||||||
|
|
||||||
|
LICENSE="MIT"
|
||||||
|
SLOT="0/1"
|
||||||
|
IUSE="test"
|
||||||
|
RESTRICT="!test? ( test )"
|
||||||
|
|
||||||
|
BDEPEND="
|
||||||
|
virtual/pkgconfig
|
||||||
|
"
|
||||||
|
DEPEND="
|
||||||
|
>=dev-libs/libfmt-5.3.0:=
|
||||||
|
"
|
||||||
|
RDEPEND="${DEPEND}"
|
||||||
|
|
||||||
|
PATCHES=(
|
||||||
|
"${FILESDIR}/${P}-libfmt-7.0.0.patch"
|
||||||
|
)
|
||||||
|
|
||||||
|
src_prepare() {
|
||||||
|
cmake_src_prepare
|
||||||
|
rm -r include/spdlog/fmt/bundled || die "Failed to delete bundled libfmt"
|
||||||
|
}
|
||||||
|
|
||||||
|
src_configure() {
|
||||||
|
local mycmakeargs=(
|
||||||
|
-DSPDLOG_BUILD_BENCH=no
|
||||||
|
-DSPDLOG_BUILD_EXAMPLE=no
|
||||||
|
-DSPDLOG_FMT_EXTERNAL=yes
|
||||||
|
-DSPDLOG_BUILD_SHARED=yes
|
||||||
|
-DSPDLOG_BUILD_TESTS=$(usex test)
|
||||||
|
)
|
||||||
|
|
||||||
|
cmake_src_configure
|
||||||
|
}
|
@ -0,0 +1,54 @@
|
|||||||
|
# Copyright 1999-2020 Gentoo Authors
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
|
||||||
|
EAPI=7
|
||||||
|
|
||||||
|
DIST_AUTHOR=YVES
|
||||||
|
DIST_VERSION=2.40
|
||||||
|
inherit perl-module
|
||||||
|
|
||||||
|
DESCRIPTION="Accurately serialize a data structure as Perl code"
|
||||||
|
|
||||||
|
SLOT="0"
|
||||||
|
KEYWORDS="~amd64 ~arm ~ppc ~x86"
|
||||||
|
IUSE="test"
|
||||||
|
RESTRICT="!test? ( test )"
|
||||||
|
|
||||||
|
RDEPEND="
|
||||||
|
dev-perl/B-Utils
|
||||||
|
virtual/perl-Data-Dumper
|
||||||
|
virtual/perl-Exporter
|
||||||
|
virtual/perl-IO
|
||||||
|
virtual/perl-IO-Compress
|
||||||
|
virtual/perl-MIME-Base64
|
||||||
|
virtual/perl-Text-Balanced
|
||||||
|
dev-perl/PadWalker
|
||||||
|
virtual/perl-XSLoader
|
||||||
|
"
|
||||||
|
DEPEND="
|
||||||
|
dev-perl/Module-Build
|
||||||
|
"
|
||||||
|
BDEPEND="${RDEPEND}
|
||||||
|
dev-perl/Module-Build
|
||||||
|
virtual/perl-Carp
|
||||||
|
virtual/perl-ExtUtils-CBuilder
|
||||||
|
dev-perl/ExtUtils-Depends
|
||||||
|
test? (
|
||||||
|
virtual/perl-Test-Simple
|
||||||
|
dev-perl/JSON-XS
|
||||||
|
)
|
||||||
|
"
|
||||||
|
PATCHES=( "${FILESDIR}/${P}-perl526.patch" )
|
||||||
|
src_prepare() {
|
||||||
|
# Add DDS.pm shortcut
|
||||||
|
echo 'yes' > "${S}"/.answer
|
||||||
|
perl-module_src_prepare
|
||||||
|
}
|
||||||
|
src_configure() {
|
||||||
|
unset LD
|
||||||
|
[[ -n "${CCLD}" ]] && export LD="${CCLD}"
|
||||||
|
perl-module_src_configure
|
||||||
|
}
|
||||||
|
src_compile() {
|
||||||
|
./Build --config optimize="${CFLAGS}" build || die
|
||||||
|
}
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in new issue