parent
7305a06764
commit
36505cb518
@ -1,23 +1,23 @@
|
||||
-----BEGIN PGP SIGNED MESSAGE-----
|
||||
Hash: SHA512
|
||||
|
||||
MANIFEST Manifest.files.gz 29289 BLAKE2B c3ff0064347f64738d12e0326a58f73e94890f100ecefef9ed84f4d9efd4a2955049cc320864217bf5a0d04025428c4866f2749b60c6da8cd06c3de24d162b33 SHA512 b7c0f5228000038ac33a67f8977bd10a6dd27d32e2f2f37bb055ede9145220fd5391c7ee9d406d1ee1891dd6c30b02460f0fc0f543653f334b139c140b342e21
|
||||
TIMESTAMP 2021-01-25T05:38:39Z
|
||||
MANIFEST Manifest.files.gz 29274 BLAKE2B 63a8cb92315e9f1234ce2006eb9f00bfe984a09da4320b05015aead8634f5113f4e6ac451987c84f382c1bb79a8e42040ad819f20607012baf98c51dc3122f9b SHA512 d8c823f9f1e83f0238c2aec4f2965e8802d74688cf6c93205344444998a30eaf7d6bead98643ad08bda2f98deddf23bd7d3dd824dc0cd27fc70b606ec4194fc0
|
||||
TIMESTAMP 2021-01-26T05:38:38Z
|
||||
-----BEGIN PGP SIGNATURE-----
|
||||
|
||||
iQKTBAEBCgB9FiEE4dartjv8+0ugL98c7FkO6skYklAFAmAOWV9fFIAAAAAALgAo
|
||||
iQKTBAEBCgB9FiEE4dartjv8+0ugL98c7FkO6skYklAFAmAPqt5fFIAAAAAALgAo
|
||||
aXNzdWVyLWZwckBub3RhdGlvbnMub3BlbnBncC5maWZ0aGhvcnNlbWFuLm5ldEUx
|
||||
RDZBQkI2M0JGQ0ZCNEJBMDJGREYxQ0VDNTkwRUVBQzkxODkyNTAACgkQ7FkO6skY
|
||||
klD6Eg//SyL0zIoKwEwGNA1RqfBlIEWFyUW/jebwQUS5Oi6b2DaCswMBpsIYgEoM
|
||||
vGihQo/I4Cr1x8/dbgigZKOTrm80CwCaOwi28IJ1Ou2xUzbCsgbl1g/JmTiyTXfe
|
||||
sxSHNsgzhpPBsU9d3SXMeh2+uOPmqhp4RQRv0Dk9XKF8hLs2CvYqSUnXcYOmzTyY
|
||||
nF8b5ooMjNc6b9x4SShuT7ZRDlOh1eDJgAnyRLQJ1H6WO4XYYDshdiEMXaWRkiDp
|
||||
QrVNBaL6ptV+ViBj/cLqzDcahHvyNQmb2M5HioD3kVk+PazTUHpshugs9C3N0usU
|
||||
yXOBTjsbJN0UbbT5Vu6o2i9qllh9Xe+YGHFlu86JvUL5zvwKO95z8N7WCdC+osyB
|
||||
xCVJQ2LMNcgkD6GDvcsmGcw6u3qLuQ7hUOPjBMopU4YPyKlbEFNU5djZo+KpM+CU
|
||||
bn2D8g2K4uZxTGcJzOK9EIJKJ+o1LHa5uyA8jXXxTJi+WMSWszWIQ9lkkmaOjZvV
|
||||
n4D7fEieg04QwiXlLQuMmEpc+81Tjp+gYoPwsRKketQ/LP6JG7ujSyLeQF+ccjEZ
|
||||
qiPNPhGAzUYZrLaFYkraPgv8ykE4twHen2id9A2mCyPs5m3xmHrM6cFXjQL+IMqu
|
||||
7njHybXKl6308sInmIgA0tB335XyznXiS9DYnSbbFstXhwQPXL0=
|
||||
=raxP
|
||||
klB/PBAAsUm5BAqGOY4u8m/fpiIBOHPHHqZrVWG5zi6uKjJ4+6A1Y5mBQz7/Krng
|
||||
Q9XfhnrNqV6XaP6r9gwgY4+Nwvf9sK06wSt7P3CgRIRzpWg96BBD4LXhy7ncVsHX
|
||||
L6gyonongqhF4yVB+PUdDSRR18JZnuTZYGeGX0FYLOebU0OPHep2RRo2iuGTjq3S
|
||||
JXXTTPaiUCKpcXKr8dIO+TFdHZ1MrwEkaX1ZEr/9LCiNhUW238qoDP3ZU1glSU80
|
||||
DkDUvdetSKsZQ2zxzuFQ6XVtCkwO0u4DUCyiWa9L4DYNEW0J1QtpqwFEQma6J/Vx
|
||||
88geqUMJFfwta2kvSNFyRIkqY7LrzCFjGjNNSJdloIVo7aj/pEzV8nUASd23HPHG
|
||||
wOTeUUo6tplkBRhx9tPOiBzvPCrYrWqllZZQeoJGOI1lwslRx7Eb9VR1nZurmim0
|
||||
Z/TzhASrD7HkTLsrW1NJcWvdBI3jba5NIWJxLS+J0fPmBs+F1wp/UGqz7JdpZWvD
|
||||
fiq0NfFuyAAUH7x391NWkCvvV+kdOrBzC0K0UJZgMovQQZ+S2eyQCdlFx7DR/fc7
|
||||
12BHvBt8yncpW9loXLotruqGDsDYwVx91OvPyHkrl/BVjHSve8zJMgbjSe8Zb4xG
|
||||
AjkUoRQpzBkZb9fEL6jDC7ULmbXwyXkoHe93oDY9kcSC1jkW0mA=
|
||||
=sVJe
|
||||
-----END PGP SIGNATURE-----
|
||||
|
Binary file not shown.
Binary file not shown.
Binary file not shown.
@ -1,3 +1,5 @@
|
||||
DIST exo-1.22.2.tar.gz 4684092 BLAKE2B ee5ddab06438cbc7d177796917c97649fefa35630a0d8012da53042098b639f5bd580a676e30567981f55e7fc9a512069804b7c45fddb739ca54c4702cc09955 SHA512 325f9a902de424d197583bf921528bc08fc8336030f7d3d5fe4571ab26ffbdf42bf602331302124c3be1103bf3b645f05e6729752295d5ceaa3cf88f802cde99
|
||||
DIST exo-1.23.0.tar.gz 4690475 BLAKE2B 6f28c28dd4dbd015b48ee01aa5edd6b234bdd32702062844ed1e46da626bc411c87892c2b134db4ba0a3b30a77fecbf1b9458a190bf894c41f07f6c67e5e846c SHA512 f0fdb1147c9b9a062e68a1dab2aba797236bff480d44eee4eed07132cad71f1d2fdcf4d32b7ea13c012d74256342cab01c3c7b7bb9ce6af11cb79eb337a83c34
|
||||
EBUILD exo-1.22.2.ebuild 704 BLAKE2B 1c1f293aa7248dc68579928c50601f02a25c36ed19e06ccddf459918b9608a127329a7ff4dbefc70bd24dbf368a62471f766fd8d8f0ff2699f439577bc150a65 SHA512 af225c3d9bda0a2735056531edcc435efae64e2fc45a68487d81893c1cba118a74110562859e7dd962d79b8d39e8682c93b9a5fe8ed7953d2a5121d360fddc85
|
||||
EBUILD exo-1.23.0.ebuild 704 BLAKE2B 4116e696998dc4fbada1247aa9d0bc1bf0c863bc9325df342ea73010a6f8d573568472f418fd3e47a347b7a5e9a922dd8797beb5085e1dac9404c2d239b09ad9 SHA512 17e48fa4c79ec343769f7c6d7d90a29f7255c3b985bd31680d0fb3c9db82370eff26a9737b7a1911adf1a5e992a394972b3cffbcaf53a58b741e71e302e8de1f
|
||||
MISC metadata.xml 333 BLAKE2B 7158aba785c9b503c94098e7d68a820475660172b369a4adce5c68a50f21741db69e58ed9e946b792cd30a8e7b9506efaad35e48f508c4e292ee224be9b34c1b SHA512 0a6b2be31cf0944ea9077c8b2cd9da50dfd87568be72bc00f44822930487f8bcaf2da4324c5a3a35cbdfd69173673122660f3dba3e4189205d45e6b75c1c1f67
|
||||
|
@ -0,0 +1,36 @@
|
||||
# Copyright 1999-2021 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
DESCRIPTION="Command-line tool for everything at Exoscale: compute, storage, dns."
|
||||
HOMEPAGE="https://github.com/exoscale/cli"
|
||||
SRC_URI="https://github.com/exoscale/cli/archive/v${PV}.tar.gz -> ${P}.tar.gz"
|
||||
|
||||
LICENSE="Apache-2.0"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64"
|
||||
|
||||
IUSE=""
|
||||
DEPEND="dev-lang/go:="
|
||||
RESTRICT="strip"
|
||||
QA_FLAGS_IGNORED=".*"
|
||||
|
||||
S="${WORKDIR}/cli-${PV}"
|
||||
|
||||
src_compile() {
|
||||
go build -mod vendor -o ${PN} || die "build failed"
|
||||
}
|
||||
|
||||
src_test() {
|
||||
# run at least 'exo version' for test
|
||||
./exo version > /dev/null 2>&1
|
||||
if [[ $? -ne 0 ]]
|
||||
then
|
||||
die "Test failed"
|
||||
fi
|
||||
}
|
||||
|
||||
src_install() {
|
||||
dobin ${PN}
|
||||
}
|
@ -0,0 +1,3 @@
|
||||
DIST undertaker-scripts-1.tar.gz 6608 BLAKE2B 82aaf4395f480b2ac7194c9d0022a1001e0f6e3fd137db030bac8d0d0fa80e7f51a086dbdc611c6698a765b467178d9c85518947fd26cc062904142babec3d72 SHA512 a946e669628f1dba4ff6846fa79a5eb1ea44cf19b3ec2d5d24d6792f0d621e262514d346379be88c1abc529373e0cfadb83eed9ba1cd4d4e2f73a078fc20fe04
|
||||
EBUILD undertaker-scripts-1.ebuild 794 BLAKE2B f98f61b0ed84b6e51c528269c047170fc402dfe62b8860dcb26dcace0d43ae7ee925e4841da1330cb30fd40a853623fd0b9711efc97a3f8ea7b8a77628e458f7 SHA512 f828caf7856e5d7315986496c608a590cc895e0064c9ab1f35b62f7dc78b90b17934b09283ea3edac4b2fab0d1f2ee14f64275118bdf1676e8fc4b17e7d01207
|
||||
MISC metadata.xml 247 BLAKE2B 1750cec57189e711ca5eba89a78e1d317f0839fa53564fbd39b4e955c28d98f4ae04caf9069afc20a18536cdc92b30fe7b15eb086767c742bad07d9980cfd24b SHA512 d6e2ea8a9d74791bcbf3d6311a66bafc20b8f4db3a576d9a8d54b86d7afb231122b8d87f71f3f46360980adf8d815c633b6d5041f9a30fc8656e8fb66057a282
|
@ -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>mgorny@gentoo.org</email>
|
||||
<name>Michał Górny</name>
|
||||
</maintainer>
|
||||
</pkgmetadata>
|
@ -0,0 +1,37 @@
|
||||
# Copyright 2021 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
PYTHON_COMPAT=( python3_{7..9} )
|
||||
inherit python-single-r1
|
||||
|
||||
DESCRIPTION="Scripts to help retiring Gentoo developers"
|
||||
HOMEPAGE="https://github.com/mgorny/undertaker-scripts"
|
||||
SRC_URI="
|
||||
https://github.com/mgorny/undertaker-scripts/archive/v${PV}.tar.gz
|
||||
-> ${P}.tar.gz"
|
||||
|
||||
LICENSE="BSD-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
REQUIRED_USE=${PYTHON_REQUIRED_USE}
|
||||
|
||||
RDEPEND="
|
||||
${PYTHON_DEPS}
|
||||
$(python_gen_cond_dep '
|
||||
dev-python/jinja[${PYTHON_USEDEP}]
|
||||
dev-python/lxml[${PYTHON_USEDEP}]
|
||||
dev-python/python-bugzilla[${PYTHON_USEDEP}]
|
||||
')"
|
||||
|
||||
src_compile() {
|
||||
python_fix_shebang .
|
||||
}
|
||||
|
||||
src_install() {
|
||||
exeinto /opt/undertaker-scripts
|
||||
doexe *.py
|
||||
insinto /opt/undertaker-scripts
|
||||
doins *.template
|
||||
}
|
Binary file not shown.
Binary file not shown.
Binary file not shown.
@ -1,5 +1,3 @@
|
||||
DIST cardpeek-0.7.2.tar.gz 1130295 BLAKE2B c2aec139c8834947dd2e04fe384719bccdbce9b75b24f791136d5afb5873e6e0afb8306ebb2ddf6fa4e8b4cb46078667fae8eb962b425278351172292df6faaf SHA512 9fd1790794b8d092859670bb36a0cdd235e7d098d563032ccdb8143eac00bb77532f1ab918897c4b753afd184079975de34a6f645e31eadb28b6c5a81d344ecd
|
||||
DIST cardpeek-0.8.4.tar.gz 1520613 BLAKE2B f31a0298ab8423b384b0ad62abb0599da75fd968385e9e6c9a5982e6fbaf7bec8a6098e3e7a5c30ce6634c65e05db084772f4a33c7ef5d6fdcdee0022cc56b86 SHA512 f6eebc7a17f270dd56529ee36815fee72b2f9d62b24d6cc90060f20c7604b9b99ab76858d9c04c60aaec838b02b8db76476a91ee22a4e10f01f852cd1f536efb
|
||||
EBUILD cardpeek-0.7.2.ebuild 528 BLAKE2B 510a780b8ea3528c6d97f099609e50b439858c8eaf71a7f87d3d00b5d95cbdddd38c1ce2dd66c023e8fe1fa48daf48347c5a121a4d62aeb5f6b189ce0d0ad087 SHA512 61930483a3ec7833ecb52775c8bb412ccf566624d433b267a19ca501c23885f9e73df7b50b9336704628cb1630a84b264de48b7897dfd6c27195988ee5175a04
|
||||
EBUILD cardpeek-0.8.4.ebuild 607 BLAKE2B b06e12aa486b40ba7f61e8fbfab1d52f0b47568389a36c65ad45e86431ebd463977c52cd325c04b6b1c38ce966ace6a40620de880ed391828e32d1712c5c56fd SHA512 4dd08041350eaabb3efc0d3fb9da025232783fd2c4128467e60157bcebbea1659a4a9a3e57c9d809a6a979f342f8770686775a9b7d4fa4a66b4929320552a09e
|
||||
MISC metadata.xml 167 BLAKE2B e4dadf27fd344484f2bccb5b904909c89aac568c32e5b3c44bdf139eacefd4b4fae74419f503d2b7da0dccc1b68ba05d777d11292c0f89270d1ac5c9c703e8ca SHA512 7c8decb24ee3a850e38186cf3c7f8933a28017426806870ad6ef9ceb2533be147a2681fc789b535a81cb528af8c29d90d3006e4f250aee23bd7dea4561294e33
|
||||
|
@ -1,23 +0,0 @@
|
||||
# Copyright 1999-2020 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
inherit xdg
|
||||
|
||||
DESCRIPTION="Tool to read the contents of smartcards"
|
||||
HOMEPAGE="http://pannetrat.com/Cardpeek"
|
||||
SRC_URI="https://${PN}.googlecode.com/files/${P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-3"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64"
|
||||
IUSE="libressl"
|
||||
|
||||
RDEPEND=">=x11-libs/gtk+-2.12:2
|
||||
sys-apps/pcsc-lite
|
||||
dev-lang/lua:0
|
||||
!libressl? ( dev-libs/openssl:0= )
|
||||
libressl? ( dev-libs/libressl:0= )"
|
||||
DEPEND="${RDEPEND}"
|
||||
BDEPEND="virtual/pkgconfig"
|
@ -1,163 +0,0 @@
|
||||
# Copyright 1999-2020 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
inherit linux-info systemd toolchain-funcs udev
|
||||
|
||||
DESCRIPTION="Entropy Key userspace daemon"
|
||||
HOMEPAGE="http://www.entropykey.co.uk/"
|
||||
SRC_URI="mirror://ubuntu/pool/universe/e/ekeyd/ekeyd_${PV}.orig.tar.gz"
|
||||
|
||||
LICENSE="MIT GPL-2" # GPL-2 (only) for init script
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="kernel_linux munin minimal usb"
|
||||
REQUIRED_USE="minimal? ( !munin )"
|
||||
|
||||
EKEYD_RDEPEND="dev-lang/lua:0"
|
||||
EKEYD_DEPEND="${EKEYD_RDEPEND}"
|
||||
EKEYD_RDEPEND="${EKEYD_RDEPEND}
|
||||
dev-lua/luasocket
|
||||
kernel_linux? ( virtual/udev )
|
||||
munin? ( net-analyzer/munin )"
|
||||
|
||||
RDEPEND="!minimal? ( ${EKEYD_RDEPEND} )
|
||||
virtual/service-manager"
|
||||
DEPEND="!minimal? ( ${EKEYD_DEPEND} )"
|
||||
|
||||
CONFIG_CHECK="~USB_ACM"
|
||||
|
||||
pkg_setup() {
|
||||
if ! use minimal && use kernel_linux && ! use usb && linux_config_exists; then
|
||||
check_extra_config
|
||||
fi
|
||||
}
|
||||
|
||||
PATCHES=(
|
||||
"${FILESDIR}"/${P}-const_char_usage.patch
|
||||
"${FILESDIR}"/${P}-enoent.patch
|
||||
"${FILESDIR}"/${P}-path-fixes.patch
|
||||
"${FILESDIR}"/${P}-udev-rule.patch
|
||||
"${FILESDIR}"/${P}-remove-werror.patch
|
||||
"${FILESDIR}"/${P}-misc.patch
|
||||
)
|
||||
|
||||
src_compile() {
|
||||
local osname
|
||||
|
||||
# Override automatic detection: upstream provides this with uname,
|
||||
# we don't like using uname.
|
||||
case ${CHOST} in
|
||||
*-linux-*)
|
||||
osname=linux;;
|
||||
*-freebsd*)
|
||||
osname=freebsd;;
|
||||
*-kfrebsd-gnu)
|
||||
osname=gnukfreebsd;;
|
||||
*-openbsd*)
|
||||
osname=openbsd;;
|
||||
*)
|
||||
die "Unsupported operating system!"
|
||||
;;
|
||||
esac
|
||||
|
||||
# We don't slot LUA so we don't really need to have the variables
|
||||
# set at all.
|
||||
emake -C host \
|
||||
CC="$(tc-getCC)" \
|
||||
LUA_V= LUA_INC= \
|
||||
OSNAME=${osname} \
|
||||
OPT="${CFLAGS}" \
|
||||
BUILD_ULUSBD=no \
|
||||
$(use minimal && echo egd-linux)
|
||||
}
|
||||
|
||||
src_install() {
|
||||
exeinto /usr/libexec
|
||||
newexe host/egd-linux ekey-egd-linux
|
||||
newman host/egd-linux.8 ekey-egd-linux.8
|
||||
|
||||
newconfd "${FILESDIR}"/ekey-egd-linux.conf.2 ekey-egd-linux
|
||||
newinitd "${FILESDIR}"/ekey-egd-linux.init.2 ekey-egd-linux
|
||||
|
||||
dodoc doc/* AUTHORS ChangeLog THANKS
|
||||
|
||||
use minimal && return
|
||||
# from here on, install everything that is not part of the minimal
|
||||
# support.
|
||||
|
||||
emake -C host \
|
||||
DESTDIR="${D}" \
|
||||
MANZCMD=cat MANZEXT= \
|
||||
install-ekeyd
|
||||
|
||||
# We move the daemons around to avoid polluting the available
|
||||
# commands.
|
||||
dodir /usr/libexec
|
||||
mv "${D}"/usr/sbin/ekey*d "${D}"/usr/libexec
|
||||
|
||||
systemd_dounit "${FILESDIR}/ekeyd.service"
|
||||
|
||||
newinitd "${FILESDIR}"/${PN}.init.2 ${PN}
|
||||
|
||||
if use kernel_linux; then
|
||||
local rules="${FILESDIR}/90-ekeyd.rules"
|
||||
udev_newrules ${rules} 90-${PN}.rules
|
||||
fi
|
||||
|
||||
if use munin; then
|
||||
exeinto /usr/libexec/munin/plugins
|
||||
doexe munin/ekeyd_stat_
|
||||
|
||||
insinto /etc/munin/plugin-conf.d
|
||||
newins munin/plugin-conf.d_ekeyd ekeyd
|
||||
fi
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
elog "${CATEGORY}/${PN} now install also the EGD client service ekey-egd-linux."
|
||||
elog "To use this service, you need enable EGDTCPSocket for the ekeyd service"
|
||||
elog "managing the key(s)."
|
||||
elog ""
|
||||
elog "The daemon will send more entropy to the kernel once the available pool"
|
||||
elog "falls below the value set in the kernel.random.write_wakeup_threshold"
|
||||
elog "sysctl entry."
|
||||
elog ""
|
||||
ewarn "Since version 1.1.4-r1, ekey-egd-linux will *not* set the watermark for"
|
||||
ewarn "you, instead you'll have to configure the sysctl in /etc/sysctl.conf"
|
||||
|
||||
use minimal && return
|
||||
# from here on, document everything that is not part of the minimal
|
||||
# support.
|
||||
|
||||
elog ""
|
||||
elog "To make use of your EntropyKey, make sure to execute ekey-rekey"
|
||||
elog "the first time, and then start the ekeyd service."
|
||||
elog ""
|
||||
elog "By default ekeyd will feed the entropy directly to the kernel's pool;"
|
||||
elog "if your system has jumps in load average, you might prefer using the"
|
||||
elog "EGD compatibility mode, by enabling EGDTCPSocket for ekeyd and then"
|
||||
elog "starting the ekey-egd-linux service."
|
||||
elog ""
|
||||
elog "The same applies if you intend to provide entropy for multiple hosts"
|
||||
elog "over the network. If you want to have the ekey-egd-linux service on"
|
||||
elog "other hosts, you can enable the 'minimal' USE flag."
|
||||
elog ""
|
||||
elog "The service supports multiplexing if you wish to use multiple"
|
||||
elog "keys, just symlink /etc/init.d/ekeyd -> /etc/init.d/ekeyd.identifier"
|
||||
elog "and it'll be looking for /etc/entropykey/identifier.conf"
|
||||
elog ""
|
||||
|
||||
if use kernel_linux; then
|
||||
elog "Some versions of Linux have a faulty CDC ACM driver that stops"
|
||||
elog "EntropyKey from working properly; please check the compatibility"
|
||||
elog "table at http://www.entropykey.co.uk/download/"
|
||||
else
|
||||
elog "Make sure your operating system supports the CDC ACM driver"
|
||||
elog "or otherwise you won't be able to use the EntropyKey."
|
||||
fi
|
||||
elog ""
|
||||
elog "If you're unsure about the working state of the CDC ACM driver"
|
||||
elog "enable the usb USE flag and use the userland USB daemon"
|
||||
}
|
@ -0,0 +1,88 @@
|
||||
# Copyright 1999-2021 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
inherit autotools flag-o-matic qmake-utils toolchain-funcs
|
||||
|
||||
DESCRIPTION="Simple passphrase entry dialogs which utilize the Assuan protocol"
|
||||
HOMEPAGE="https://gnupg.org/aegypten2/index.html"
|
||||
SRC_URI="mirror://gnupg/${PN}/${P}.tar.bz2"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~x64-cygwin ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
|
||||
IUSE="caps emacs gnome-keyring gtk ncurses qt5"
|
||||
|
||||
DEPEND="
|
||||
app-eselect/eselect-pinentry
|
||||
>=dev-libs/libassuan-2.1
|
||||
>=dev-libs/libgcrypt-1.6.3
|
||||
>=dev-libs/libgpg-error-1.17
|
||||
caps? ( sys-libs/libcap )
|
||||
gnome-keyring? ( app-crypt/libsecret )
|
||||
ncurses? ( sys-libs/ncurses:0= )
|
||||
qt5? (
|
||||
dev-qt/qtcore:5
|
||||
dev-qt/qtgui:5
|
||||
dev-qt/qtwidgets:5
|
||||
)
|
||||
"
|
||||
RDEPEND="${DEPEND}
|
||||
gtk? ( app-crypt/gcr )
|
||||
"
|
||||
BDEPEND="
|
||||
sys-devel/gettext
|
||||
virtual/pkgconfig
|
||||
"
|
||||
|
||||
DOCS=( AUTHORS ChangeLog NEWS README THANKS TODO )
|
||||
|
||||
PATCHES=(
|
||||
"${FILESDIR}/${PN}-1.0.0-make-icon-work-under-Plasma-Wayland.patch"
|
||||
"${FILESDIR}/${PN}-0.8.2-ncurses.patch"
|
||||
"${FILESDIR}/${PN}-1.0.0-AR.patch"
|
||||
)
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
unset FLTK_CONFIG
|
||||
eautoreconf
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
[[ "$(gcc-major-version)" -ge 5 ]] && append-cxxflags -std=gnu++11
|
||||
|
||||
export QTLIB="$(qt5_get_libdir)"
|
||||
|
||||
econf \
|
||||
$(use_enable emacs pinentry-emacs) \
|
||||
$(use_enable gnome-keyring libsecret) \
|
||||
$(use_enable gtk pinentry-gnome3) \
|
||||
$(use_enable ncurses fallback-curses) \
|
||||
$(use_enable ncurses pinentry-curses) \
|
||||
$(use_enable qt5 pinentry-qt) \
|
||||
$(use_with caps libcap) \
|
||||
--enable-pinentry-tty \
|
||||
--disable-pinentry-fltk \
|
||||
--disable-pinentry-gtk2 \
|
||||
MOC="$(qt5_get_bindir)"/moc \
|
||||
GPG_ERROR_CONFIG="${ESYSROOT}/usr/bin/${CHOST}-gpg-error-config" \
|
||||
LIBASSUAN_CONFIG="${ESYSROOT}/usr/bin/libassuan-config" \
|
||||
$("${S}/configure" --help | grep -- '--without-.*-prefix' | sed -e 's/^ *\([^ ]*\) .*/\1/g')
|
||||
}
|
||||
|
||||
src_install() {
|
||||
default
|
||||
rm "${ED}"/usr/bin/pinentry || die
|
||||
|
||||
use qt5 && dosym pinentry-qt /usr/bin/pinentry-qt5
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
eselect pinentry update ifunset
|
||||
}
|
||||
|
||||
pkg_postrm() {
|
||||
eselect pinentry update ifunset
|
||||
}
|
Binary file not shown.
@ -1,91 +0,0 @@
|
||||
# Copyright 1999-2020 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
inherit cmake optfeature xdg
|
||||
|
||||
DESCRIPTION="Vim-fork focused on extensibility and agility."
|
||||
HOMEPAGE="https://neovim.io"
|
||||
|
||||
if [[ ${PV} == 9999 ]]; then
|
||||
inherit git-r3
|
||||
EGIT_REPO_URI="https://github.com/neovim/neovim.git"
|
||||
else
|
||||
SRC_URI="https://github.com/neovim/neovim/archive/v${PV}.tar.gz -> ${P}.tar.gz"
|
||||
KEYWORDS="amd64 ~arm ~arm64 x86"
|
||||
fi
|
||||
|
||||
LICENSE="Apache-2.0 vim"
|
||||
SLOT="0"
|
||||
IUSE="+luajit +nvimpager +tui"
|
||||
|
||||
BDEPEND="
|
||||
dev-util/gperf
|
||||
virtual/libiconv
|
||||
virtual/libintl
|
||||
virtual/pkgconfig
|
||||
"
|
||||
DEPEND="
|
||||
dev-libs/libuv:0=
|
||||
>=dev-libs/libvterm-0.1.2
|
||||
dev-libs/msgpack:0=
|
||||
dev-lua/lpeg[luajit=]
|
||||
dev-lua/luv[luajit=]
|
||||
dev-lua/mpack[luajit=]
|
||||
net-libs/libnsl
|
||||
luajit? ( dev-lang/luajit:2 )
|
||||
!luajit? (
|
||||
dev-lang/lua:0=
|
||||
dev-lua/LuaBitOp
|
||||
)
|
||||
tui? (
|
||||
dev-libs/libtermkey
|
||||
>=dev-libs/unibilium-2.0.0:0=
|
||||
)
|
||||
"
|
||||
RDEPEND="
|
||||
${DEPEND}
|
||||
app-eselect/eselect-vi
|
||||
"
|
||||
|
||||
CMAKE_BUILD_TYPE=Release
|
||||
|
||||
PATCHES=( "${FILESDIR}"/${P}-gcc-10-fix.patch )
|
||||
|
||||
src_prepare() {
|
||||
# use our system vim dir
|
||||
sed -e "/^# define SYS_VIMRC_FILE/s|\$VIM|${EPREFIX}/etc/vim|" \
|
||||
-i src/nvim/globals.h || die
|
||||
|
||||
cmake_src_prepare
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
local mycmakeargs=(
|
||||
-DFEAT_TUI=$(usex tui)
|
||||
-DPREFER_LUA=$(usex luajit no yes)
|
||||
)
|
||||
cmake_src_configure
|
||||
}
|
||||
|
||||
src_install() {
|
||||
cmake_src_install
|
||||
|
||||
# install a default configuration file
|
||||
insinto /etc/vim
|
||||
doins "${FILESDIR}"/sysinit.vim
|
||||
|
||||
# conditionally install a symlink for nvimpager
|
||||
if use nvimpager; then
|
||||
dosym ../share/nvim/runtime/macros/less.sh /usr/bin/nvimpager
|
||||
fi
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
xdg_pkg_postinst
|
||||
optfeature "clipboard support" x11-misc/xsel x11-misc/xclip gui-apps/wl-clipboard
|
||||
optfeature "Python plugin support" dev-python/pynvim
|
||||
optfeature "Ruby plugin support" dev-ruby/neovim-ruby-client
|
||||
optfeature "remote/nvr support" dev-python/neovim-remote
|
||||
}
|
@ -1,103 +0,0 @@
|
||||
# Copyright 1999-2021 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
inherit cmake optfeature xdg
|
||||
|
||||
DESCRIPTION="Vim-fork focused on extensibility and agility."
|
||||
HOMEPAGE="https://neovim.io"
|
||||
|
||||
if [[ ${PV} == 9999 ]]; then
|
||||
inherit git-r3
|
||||
EGIT_REPO_URI="https://github.com/neovim/neovim.git"
|
||||
else
|
||||
SRC_URI="https://github.com/neovim/neovim/archive/v${PV}.tar.gz -> ${P}.tar.gz"
|
||||
KEYWORDS="amd64 ~arm ~arm64 x86"
|
||||
fi
|
||||
|
||||
LICENSE="Apache-2.0 vim"
|
||||
SLOT="0"
|
||||
IUSE="+lto +luajit +nvimpager +tui"
|
||||
# Upstream say the test library needs LuaJIT
|
||||
# https://github.com/neovim/neovim/blob/91109ffda23d0ce61cec245b1f4ffb99e7591b62/CMakeLists.txt#L377
|
||||
#REQUIRED_USE="test? ( luajit )"
|
||||
#RESTRICT="!test? ( test )"
|
||||
|
||||
BDEPEND="
|
||||
dev-util/gperf
|
||||
virtual/libiconv
|
||||
virtual/libintl
|
||||
virtual/pkgconfig
|
||||
"
|
||||
# Once dev-lua/busted has luajit support, we can add tests.
|
||||
# bug #584694
|
||||
DEPEND="
|
||||
dev-libs/libuv:0=
|
||||
>=dev-libs/libvterm-0.1.2
|
||||
dev-libs/msgpack:0=
|
||||
dev-lua/lpeg[luajit=]
|
||||
dev-lua/luv[luajit=]
|
||||
dev-lua/mpack[luajit=]
|
||||
net-libs/libnsl
|
||||
luajit? ( dev-lang/luajit:2 )
|
||||
!luajit? (
|
||||
dev-lang/lua:0=
|
||||
dev-lua/LuaBitOp
|
||||
)
|
||||
tui? (
|
||||
dev-libs/libtermkey
|
||||
>=dev-libs/unibilium-2.0.0:0=
|
||||
)
|
||||
"
|
||||
RDEPEND="
|
||||
${DEPEND}
|
||||
app-eselect/eselect-vi
|
||||
"
|
||||
|
||||
PATCHES=(
|
||||
"${FILESDIR}/${PN}-0.4.4-cmake-release-type.patch"
|
||||
)
|
||||
|
||||
src_prepare() {
|
||||
# use our system vim dir
|
||||
sed -e "/^# define SYS_VIMRC_FILE/s|\$VIM|${EPREFIX}/etc/vim|" \
|
||||
-i src/nvim/globals.h || die
|
||||
|
||||
cmake_src_prepare
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
# Upstream default to LTO on non-debug builds
|
||||
# Let's expose it as a USE flag because upstream
|
||||
# have preferences for how we should use LTO
|
||||
# if we want it on (not just -flto)
|
||||
# ... but allow turning it off.
|
||||
local mycmakeargs=(
|
||||
-DENABLE_LTO=$(usex lto)
|
||||
-DFEAT_TUI=$(usex tui)
|
||||
-DPREFER_LUA=$(usex luajit no yes)
|
||||
)
|
||||
cmake_src_configure
|
||||
}
|
||||
|
||||
src_install() {
|
||||
cmake_src_install
|
||||
|
||||
# install a default configuration file
|
||||
insinto /etc/vim
|
||||
doins "${FILESDIR}"/sysinit.vim
|
||||
|
||||
# conditionally install a symlink for nvimpager
|
||||
if use nvimpager; then
|
||||
dosym ../share/nvim/runtime/macros/less.sh /usr/bin/nvimpager
|
||||
fi
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
xdg_pkg_postinst
|
||||
optfeature "clipboard support" x11-misc/xsel x11-misc/xclip gui-apps/wl-clipboard
|
||||
optfeature "Python plugin support" dev-python/pynvim
|
||||
optfeature "Ruby plugin support" dev-ruby/neovim-ruby-client
|
||||
optfeature "remote/nvr support" dev-python/neovim-remote
|
||||
}
|
Binary file not shown.
@ -1,73 +0,0 @@
|
||||
# Copyright 2018-2020 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
PYTHON_COMPAT=( python3_{6,7,8,9} )
|
||||
DISTUTILS_USE_SETUPTOOLS=rdepend
|
||||
|
||||
inherit bash-completion-r1 distutils-r1
|
||||
|
||||
MY_PV=${PV/_/-}
|
||||
DESCRIPTION="Multi-container orchestration for Docker"
|
||||
HOMEPAGE="https://github.com/docker/compose"
|
||||
SRC_URI="https://github.com/docker/compose/archive/${MY_PV}.tar.gz -> ${P}.tar.gz"
|
||||
|
||||
LICENSE="Apache-2.0"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~arm64"
|
||||
IUSE="test"
|
||||
RESTRICT="!test? ( test )"
|
||||
|
||||
RDEPEND="dev-python/setuptools[${PYTHON_USEDEP}]
|
||||
>=dev-python/cached-property-1.2.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/distro-1.5.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/docker-py-4.3.1[${PYTHON_USEDEP}]
|
||||
>=dev-python/dockerpty-0.4.1[${PYTHON_USEDEP}]
|
||||
>=dev-python/docopt-0.6.1[${PYTHON_USEDEP}]
|
||||
>=dev-python/python-dotenv-0.13.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/jsonschema-2.5.1[${PYTHON_USEDEP}]
|
||||
dev-python/paramiko[${PYTHON_USEDEP}]
|
||||
>=dev-python/PySocks-1.6.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/pyyaml-3.10[${PYTHON_USEDEP}]
|
||||
>=dev-python/requests-2.20.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/six-1.3.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/texttable-0.9.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/websocket-client-0.32.0[${PYTHON_USEDEP}]"
|
||||
|
||||
DEPEND="${RDEPEND}
|
||||
test? (
|
||||
>=dev-python/pytest-5[${PYTHON_USEDEP}]
|
||||
>=dev-python/ddt-1.2.2[${PYTHON_USEDEP}]
|
||||
)"
|
||||
|
||||
S="${WORKDIR}/compose-${MY_PV}"
|
||||
|
||||
PATCHES=(
|
||||
# Bug #679968 -- https://bugs.gentoo.org/679968
|
||||
# Bug #681002 -- https://bugs.gentoo.org/681002
|
||||
"${FILESDIR}"/${PN}-1.27.0_rc3-setup-py.patch
|
||||
)
|
||||
|
||||
DOCS=( CHANGELOG.md README.md )
|
||||
|
||||
src_prepare() {
|
||||
# Address QA issue "docker-compose.exe: missing alias (symlink) for completed command."
|
||||
sed 's,^\(complete.*\) docker-compose\.exe\(.*\),\1\2,' -i contrib/completion/bash/docker-compose || die
|
||||
|
||||
default
|
||||
}
|
||||
|
||||
python_test() {
|
||||
distutils_install_for_testing
|
||||
${PYTHON} -m pytest tests/unit/ || die "tests failed under ${EPYTHON}"
|
||||
}
|
||||
|
||||
python_install_all() {
|
||||
newbashcomp contrib/completion/bash/docker-compose ${PN}
|
||||
|
||||
insinto /usr/share/zsh/site-functions
|
||||
doins contrib/completion/zsh/*
|
||||
|
||||
distutils-r1_python_install_all
|
||||
}
|
@ -1,73 +0,0 @@
|
||||
# Copyright 2018-2021 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
PYTHON_COMPAT=( python3_{6,7,8,9} )
|
||||
DISTUTILS_USE_SETUPTOOLS=rdepend
|
||||
|
||||
inherit bash-completion-r1 distutils-r1
|
||||
|
||||
MY_PV=${PV/_/-}
|
||||
DESCRIPTION="Multi-container orchestration for Docker"
|
||||
HOMEPAGE="https://github.com/docker/compose"
|
||||
SRC_URI="https://github.com/docker/compose/archive/${MY_PV}.tar.gz -> ${P}.tar.gz"
|
||||
|
||||
LICENSE="Apache-2.0"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~arm64"
|
||||
IUSE="test"
|
||||
RESTRICT="!test? ( test )"
|
||||
|
||||
RDEPEND="dev-python/setuptools[${PYTHON_USEDEP}]
|
||||
>=dev-python/cached-property-1.2.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/distro-1.5.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/docker-py-4.4.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/dockerpty-0.4.1[${PYTHON_USEDEP}]
|
||||
>=dev-python/docopt-0.6.1[${PYTHON_USEDEP}]
|
||||
>=dev-python/python-dotenv-0.13.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/jsonschema-2.5.1[${PYTHON_USEDEP}]
|
||||
dev-python/paramiko[${PYTHON_USEDEP}]
|
||||
>=dev-python/PySocks-1.6.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/pyyaml-3.10[${PYTHON_USEDEP}]
|
||||
>=dev-python/requests-2.20.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/six-1.3.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/texttable-0.9.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/websocket-client-0.32.0[${PYTHON_USEDEP}]"
|
||||
|
||||
DEPEND="${RDEPEND}
|
||||
test? (
|
||||
>=dev-python/pytest-5[${PYTHON_USEDEP}]
|
||||
>=dev-python/ddt-1.2.2[${PYTHON_USEDEP}]
|
||||
)"
|
||||
|
||||
S="${WORKDIR}/compose-${MY_PV}"
|
||||
|
||||
PATCHES=(
|
||||
# Bug #679968 -- https://bugs.gentoo.org/679968
|
||||
# Bug #681002 -- https://bugs.gentoo.org/681002
|
||||
"${FILESDIR}"/${PN}-1.28.0_rc2-setup-py.patch
|
||||
)
|
||||
|
||||
DOCS=( CHANGELOG.md README.md )
|
||||
|
||||
src_prepare() {
|
||||
# Address QA issue "docker-compose.exe: missing alias (symlink) for completed command."
|
||||
sed 's,^\(complete.*\) docker-compose\.exe\(.*\),\1\2,' -i contrib/completion/bash/docker-compose || die
|
||||
|
||||
default
|
||||
}
|
||||
|
||||
python_test() {
|
||||
distutils_install_for_testing
|
||||
${PYTHON} -m pytest tests/unit/ || die "tests failed under ${EPYTHON}"
|
||||
}
|
||||
|
||||
python_install_all() {
|
||||
newbashcomp contrib/completion/bash/docker-compose ${PN}
|
||||
|
||||
insinto /usr/share/zsh/site-functions
|
||||
doins contrib/completion/zsh/*
|
||||
|
||||
distutils-r1_python_install_all
|
||||
}
|
Binary file not shown.
@ -1,3 +1,3 @@
|
||||
AUX pinentry.eselect-0.7 406 BLAKE2B 99f9d0d0dabe57f863d2d814ee0b27956b0f14827a6ba0aa5d06c6580e6e55e359f7ad3fdf56e9d8ee087e79d46f2d9c8c874064b2dc6947d0f4b2f7a0c80533 SHA512 752be6cc5612799fdfaf765e9476e69d845065834a3a471838a94f1955d645473ac56db6e51b6f45b9a251b32c36ba0b149cd72145665972243abbbfe4a5941d
|
||||
EBUILD eselect-pinentry-0.7.ebuild 639 BLAKE2B 62c70b2e59e991fdb49e2ff8778452c4c2d47c3cb6c08b028cc789a834354a1ee98957f48986a6a0430ac6830ab5a4de757cf2a884889c3fb5470c7d908ddafd SHA512 cfcf61cccf7d9f8633d7b3672bd291d95f2251752a99c5b7c1b9d21e4271c393ca842ae9daea44f44167a5d2757d8d014b07549cef781d62229627d35f6ee376
|
||||
AUX pinentry.eselect-0.7.1 376 BLAKE2B 0bc741a032deb7d36139e87a414820c1787d7310867b2fb501b4cf427ab5c62a3b1163c845282a12ee401e6b0ff1518bc96cd0df83dbd34024a92091ae6f874c SHA512 63cb32fc453130fcd53c891984f2058902fe1f00291a18c6d2828a0bc564a08b583bf68ae91ad14adabb3f280ea1540cc0cc6ec3b77a1d1ee01551004e0503ec
|
||||
EBUILD eselect-pinentry-0.7.1.ebuild 639 BLAKE2B 62c70b2e59e991fdb49e2ff8778452c4c2d47c3cb6c08b028cc789a834354a1ee98957f48986a6a0430ac6830ab5a4de757cf2a884889c3fb5470c7d908ddafd SHA512 cfcf61cccf7d9f8633d7b3672bd291d95f2251752a99c5b7c1b9d21e4271c393ca842ae9daea44f44167a5d2757d8d014b07549cef781d62229627d35f6ee376
|
||||
MISC metadata.xml 247 BLAKE2B 94608f4bda5b60a090b18717a5d81d90defbb5e482043059dcb7a41d39a21b9192e6f58a1ebdb83cc8cfaa9fe85ced13c40e6e43c110e0e21b2cb6a36f6dc852 SHA512 1196d40f8c6a3b2e5d0c0590c2f56b53ead40ec8d9eb2c125094eb961b092558c51baa89f237fda24cf1050e85c78dd7419e1d217c2feceb32c6296990ac54c3
|
||||
|
@ -1,12 +1,12 @@
|
||||
# Copyright 1999-2016 Gentoo Foundation
|
||||
# Copyright 1999-2021 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
DESCRIPTION="Manage /usr/bin/pinentry implementation"
|
||||
MAINTAINER="ssuominen@gentoo.org"
|
||||
VERSION="0.7"
|
||||
MAINTAINER="zlogene@gentoo.org"
|
||||
VERSION="0.7.1"
|
||||
|
||||
SYMLINK_PATH=/usr/bin/pinentry
|
||||
SYMLINK_TARGETS=( pinentry-gnome3 pinentry-qt pinentry-gtk-2 pinentry-qt4 pinentry-curses pinentry-tty )
|
||||
SYMLINK_TARGETS=( pinentry-gnome3 pinentry-qt5 pinentry-curses pinentry-tty )
|
||||
SYMLINK_DESCRIPTION='pinentry binary'
|
||||
|
||||
inherit bin-symlink
|
Binary file not shown.
@ -1,6 +1,6 @@
|
||||
AUX figlet.bashcomp 1376 BLAKE2B a0e07ba26e97890bb0a6df473c609d40e68bd31a1ede5369eb2e4f04bfafdfdb680d6fc62670f1299db6978add0298c833afd6471ff26992db96fbd0a78f6874 SHA512 1a9d06139bbb105c9d909d1e7bfb64b04d6ccba6e0ebfa0968f75264da5582c2f449ad5759f36ec90bf068e69005c2eac2d0565765b02a13044531601b7b9d18
|
||||
AUX figlet.bashcomp-r1 1214 BLAKE2B b2f521559b9f3f957d1fe060e72dffa3b2342f389e5c1791dadd94181ef215344de2d909cf4abd5de1beef7f03a637576401db68ec1d537b569a89e0a9bb3a6f SHA512 7140cfbacbd99f0f4e9463bb024ead73ea1a3f6ddf9cb5806134ab711e772f32c57e69596f63f125cf13941cff51f84ccdb9f0288ca8614c99b9f1890d3d3e69
|
||||
DIST figlet-2.2.5.tar.gz 233201 BLAKE2B 9d7a8b518ee91bd937d7fb81d782c894bc2a1738b696b03d948c1319e68aadde9ff1ea291ee77f9e79bdd950c68fe98c9e4539e7e76ef5f9e758c16b968966e1 SHA512 bb9610fd89a51dd3e65c485653fe1292f47dbca7cb9a05af4ce317f5d776bb346ae455aec07fc37c290f6658639920fd7c431c1135a0f4d456a21c0bd25f99fb
|
||||
EBUILD figlet-2.2.5-r1.ebuild 921 BLAKE2B 6362495de3f7a576bebb3a97e5fb350771cdce97ca0d99021acf1de59df473fda0159fb03386bacfad57a3366d476775342ed9c3345416feb3f7afad315bf426 SHA512 246c3679102c6f8a469e1ded6dc673597575f69a1305799c770e5a1964f0182f2daea4355cb142f7350e4ef8e837ab419b70d771d96caae11a4d4e2bc9657c52
|
||||
EBUILD figlet-2.2.5-r1.ebuild 928 BLAKE2B 9078bc61209a7b7cf91003c5087254a1cce151b1940dd7735802bb013ec2715f3def56be4da494e207cb1171a4e68d6126dfb5b6928fa4828c7a983bf15e11dd SHA512 f6509a52425db0874528e17b17f976fdca7204cae3f41f69db0b97e39d32e4d72d01a96e5dcc06ccca26b7fa660819e69848667c5ff6c971f10731818111ceb7
|
||||
EBUILD figlet-9999.ebuild 805 BLAKE2B 9562e2503c2395d88e78e832c5ae1fb5fc2a49c83871cd868cda802138db038f685dcbe60ffe77d9cfcea7b75281fb5596bee641d8ad9da28167452b4a127302 SHA512 1486ee9197ebab6a17e781366037f5e8cd24ead017dd2c87de373321f18bf3e908e952f983b2e9be6bda7914e51938324e8fe257487ccb015cf180495b1c7304
|
||||
MISC metadata.xml 166 BLAKE2B c254f1fb642881aba57637be14fb0a89b10384f91a128feaec3a8c870d76efc2cbacb92caccc0dee2dd19a5ac5eaf8643080dafa05c4e2ac96a68568927e5afd SHA512 a56648c974a1d14dd4c18237532773c72057a13ab90c58b5da04f185e3c12a8bd8d5c21fb06053507f31766291a82dc7d87b34cd65fd94cfe2af7295c813ef84
|
||||
|
@ -1,7 +1,5 @@
|
||||
DIST worker-3.8.3.tar.bz2 1519483 BLAKE2B 45573bed62256eda879a776f8a65af63a5c57f8c89784445faf264d2e09403faecdeb225d99ee50498df4c21a9cdf69a131c7d391a24eafe48c2319808b009dd SHA512 fa5d078233a91ec603cd87718542cdd5d99ef89c5d2e72c84fe40c08778c5e9dde8e99a23ccfee5ef61e63535c809a48ccf71fe9a256fd7afa05f848c5045738
|
||||
DIST worker-4.6.1.tar.bz2 1615384 BLAKE2B a0d665f82d585d4e8a7e515e44b23541da24f6712c86bff422d4612ea67292c31cd204367965f8dd0ed91e69fa11453f7fc5a0228b2508d8397bde39460ff6f1 SHA512 f5977bc2c84c1eebb0058d63c7d10a0b39fa3c3bace09b6adac82f6a17bd9df8b1e2ba8138d764899895b69493493245cb6f7aff15014471a109a023fe203e57
|
||||
EBUILD worker-3.8.3-r100.ebuild 1350 BLAKE2B ae916e885f177c37254b0c1fc5239f8f4de0d58c2bdb01cda99fec2ee4ae1e74b51e390bf4faaa0c7361f23853eb3b9f4636f6ae715951e79a98f0c1b8169622 SHA512 9b2d3087f599bb130516cd6b64ee95496eed76c217be928d18d05fb45d9b2ddb373edc2f01477aebc89f4097f4063898ce31ab84150102fc6c237bbb59903a81
|
||||
EBUILD worker-3.8.3.ebuild 1264 BLAKE2B 94d3fe57c632417e7b2a913e3fc0556ebac23c8eff0738985d3f5e3283e75839fb77a700a557731c948299035b0d67511cacf1ebf107fd64212615271dd59307 SHA512 9d41c3ddf13e86873ac6288601e0f50e552e912a0cab69133300285947bc0f3a48574d9121729ef721ebd41b03998b0dbb0aa82f23ceec123455ba299d46d2e4
|
||||
EBUILD worker-4.6.1-r100.ebuild 1464 BLAKE2B 5dbbc41a11ad9d0ddcf4785149b3a0455e8c0be5a9fd626b97b48aa1b6be45793acefe3a02f08d5d8a2a8f4b34956a51740e55d0aeaecb7aa7a9be669e0b8706 SHA512 2bcc4330e62805d2a5863e77f251d5c39839ef9ddb530fbec4573bb6100dc4104086b680ba536484fe60b775426eef341079d31526ca64749640d901a858ce20
|
||||
EBUILD worker-4.6.1.ebuild 1371 BLAKE2B 0ee500570f815dedacef68f7dfc402e92e26c8f3c17e8c27c73f991558b92b8ebf623bcc185253e52c15aad4ba454b063a5bf65ef2f9dea67d47a325dea3ec02 SHA512 28237549662bf2c3055e18ea324a8e00b8ecba3f387a0eba641eb8c5835888f099713b78dfe95257aa6c85f6a4cd0d89c43a27f19aaa9f53496b3a5f0127b591
|
||||
MISC metadata.xml 625 BLAKE2B 663b7236063925cb15a6025b7c48b0cceb01c0af01955215eed227939c1e6f471de78fa16ddaba4eb152b78303d835690a7b18d630f7440bab3934c89b69fc46 SHA512 b8a94fd69a914d144791fca62c5f52085dfc8d9f2d09810860e761683f34bef87623f0e15a33713fac06a1c7529f1967faf155c96b5a8d5bef7a9abb9ff02883
|
||||
|
@ -1,54 +0,0 @@
|
||||
# Copyright 1999-2019 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
|
||||
inherit eutils toolchain-funcs
|
||||
|
||||
DESCRIPTION="Worker Filemanager: Amiga Directory Opus 4 clone"
|
||||
HOMEPAGE="http://www.boomerangsworld.de/cms/worker/"
|
||||
SRC_URI="http://www.boomerangsworld.de/cms/worker/downloads/${P}.tar.bz2"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64 ~arm ~hppa ppc ~ppc64 x86"
|
||||
IUSE="avfs debug dbus examples libnotify lua +magic xinerama xft"
|
||||
|
||||
RDEPEND="x11-libs/libX11
|
||||
avfs? ( >=sys-fs/avfs-0.9.5 )
|
||||
dbus? ( dev-libs/dbus-glib )
|
||||
lua? ( dev-lang/lua:0 )
|
||||
magic? ( sys-apps/file )
|
||||
xft? ( x11-libs/libXft )
|
||||
xinerama? ( x11-libs/libXinerama )"
|
||||
DEPEND="${RDEPEND}"
|
||||
|
||||
DOCS=( AUTHORS ChangeLog INSTALL NEWS README README_LARGEFILES THANKS )
|
||||
|
||||
src_configure() {
|
||||
# there is no ./configure flag to disable libXinerama support
|
||||
export ac_cv_lib_Xinerama_XineramaQueryScreens=$(usex xinerama)
|
||||
econf \
|
||||
--without-hal \
|
||||
--enable-utf8 \
|
||||
$(use_with avfs) \
|
||||
$(use_with dbus) \
|
||||
$(use_enable debug) \
|
||||
$(use_enable libnotify inotify) \
|
||||
$(use_enable lua) \
|
||||
$(use_with magic libmagic) \
|
||||
$(use_enable xft)
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
emake -j1
|
||||
}
|
||||
|
||||
src_install() {
|
||||
default
|
||||
|
||||
if use examples; then
|
||||
docinto examples
|
||||
dodoc examples/config-*
|
||||
fi
|
||||
}
|
@ -1,58 +0,0 @@
|
||||
# Copyright 1999-2021 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
inherit autotools toolchain-funcs
|
||||
|
||||
DESCRIPTION="Worker Filemanager: Amiga Directory Opus 4 clone"
|
||||
HOMEPAGE="http://www.boomerangsworld.de/cms/worker/"
|
||||
SRC_URI="http://www.boomerangsworld.de/cms/worker/downloads/${P}.tar.bz2"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~arm ~hppa ~ppc ~ppc64 ~x86"
|
||||
IUSE="avfs debug dbus examples libnotify lua +magic xinerama xft"
|
||||
|
||||
RDEPEND="x11-libs/libX11
|
||||
avfs? ( >=sys-fs/avfs-0.9.5 )
|
||||
dbus? ( sys-apps/dbus )
|
||||
lua? ( dev-lang/lua:0 )
|
||||
magic? ( sys-apps/file )
|
||||
xft? ( x11-libs/libXft )
|
||||
xinerama? ( x11-libs/libXinerama )"
|
||||
DEPEND="${RDEPEND}"
|
||||
|
||||
DOCS=( AUTHORS ChangeLog INSTALL NEWS README README_LARGEFILES THANKS )
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
|
||||
# Don't use /usr/share/appdata
|
||||
sed -i -e "s:/appdata:/metainfo:" contrib/Makefile.am || die
|
||||
eautoreconf
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
# there is no ./configure flag to disable libXinerama support
|
||||
export ac_cv_lib_Xinerama_XineramaQueryScreens=$(usex xinerama)
|
||||
econf \
|
||||
--without-hal \
|
||||
--enable-utf8 \
|
||||
$(use_with avfs) \
|
||||
$(use_with dbus) \
|
||||
$(use_enable debug) \
|
||||
$(use_enable libnotify inotify) \
|
||||
$(use_enable lua) \
|
||||
$(use_with magic libmagic) \
|
||||
$(use_enable xft)
|
||||
}
|
||||
|
||||
src_install() {
|
||||
default
|
||||
|
||||
if use examples; then
|
||||
docinto examples
|
||||
dodoc examples/config-*
|
||||
fi
|
||||
}
|
Binary file not shown.
@ -1,7 +1,5 @@
|
||||
DIST skrooge-2.23.0.tar.xz 22403128 BLAKE2B e8b4e33e80f307f2c7e6c984199c116aee1d7cabe0ac4ee9461ba10289adc0a15ba5e5d8efb93d49ec8f22104462d572a8ee52b08df84d0379fa77ce56a4ddc9 SHA512 4592deb159aa310f36f8950cf0a65d811624b40dc8b05cdefc271b95885bc6db5ac15f7b4c5299b1468ac92b7e560636bf95ddd6d31340993d9184ba0b150a76
|
||||
DIST skrooge-2.24.0.tar.xz 22184092 BLAKE2B 84d14fa35665fc1d5326e6212e56569f095b0a22ff2b3df752a8f456e34442edb639c2855b4f1a54cd639c2f9041e8a5e2ccfdf488876ce25dd48f0b0e0721c1 SHA512 e48ad9e657e4f15ab10db38cf1944cfe5a1fe73fa4623ec288b8749de746fc64ccc2534dc2bc7c379db0632107eba17ffc6a39e50de8e52a6800bb86b2ef234d
|
||||
DIST skrooge-2.24.6.tar.xz 22187100 BLAKE2B 8657397c1faef949e4d2aa5a23b35433695329e9b00e62f11e4b60b78b3d0e92c32ff93219a4931b9baa08ae1bbdc18285728c97b0d49ca71bad37ee37b01a83 SHA512 a253bdcd966dbb3b0b2b078a88b8de7e9fbdf7700ce91850c0a174c3bb2f56aa04a00250e8164a5e9387699b4a6162052edb4a064293360a3b5ef62c350912df
|
||||
EBUILD skrooge-2.23.0-r1.ebuild 2556 BLAKE2B d1c89d00e4e0b8b870a9500fff0bb90a877fbddc8df3f397133d63c5f6d700051d7289bd662edd8921e30796fb978d43c9320ca8e1387025a68c0ae26f9ea685 SHA512 55046b4cffc5a83e7157f77021a8245fd0658ee837b5aee69e5b690ac4302e43a36e78fe3626320bef7ad89f13107e16f42464eec55ffa6a6a643e345ee3560c
|
||||
EBUILD skrooge-2.24.0.ebuild 2558 BLAKE2B ccfe31f3ccccddf042c38da794b3f90dd7695e66e28348c711b826c836a7a4e3d8cd98afdddeea9436391b58d2ec04b9840bc5fdc0b953f3d954d44c97a0d7dd SHA512 e95c7ba30049268b3d636d06b31e85abb7a1f808fba637f95aa52c994e1c0e76a9f6f71bb4ecf46b0a23d608ce0d2c2957fe96fc013a7a7a7d012fffc2fec875
|
||||
EBUILD skrooge-2.24.6.ebuild 2558 BLAKE2B ccfe31f3ccccddf042c38da794b3f90dd7695e66e28348c711b826c836a7a4e3d8cd98afdddeea9436391b58d2ec04b9840bc5fdc0b953f3d954d44c97a0d7dd SHA512 e95c7ba30049268b3d636d06b31e85abb7a1f808fba637f95aa52c994e1c0e76a9f6f71bb4ecf46b0a23d608ce0d2c2957fe96fc013a7a7a7d012fffc2fec875
|
||||
MISC metadata.xml 324 BLAKE2B ffd83d73c861eb5aa5281a859162ba693bd9ac642f7475b28419aa92c512e6caeef1fcecf56faade8b9c6573f9b09c9023dbc7f1a153f59aeea9e4c7dfa30571 SHA512 a5af84ff6c29117ec87f605e4d565a133656a05a9669a6fb2190f6c8706c4cee56c40df024c0160d391ca5e74be7a3d45244a86039cd403b0f60bc0334977a7c
|
||||
|
@ -1,98 +0,0 @@
|
||||
# Copyright 1999-2021 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
ECM_HANDBOOK="optional"
|
||||
ECM_TEST="forceoptional"
|
||||
KFMIN=5.74.0
|
||||
QTMIN=5.15.1
|
||||
VIRTUALX_REQUIRED="test"
|
||||
inherit ecm kde.org
|
||||
|
||||
DESCRIPTION="Personal finances manager, aiming at being simple and intuitive"
|
||||
HOMEPAGE="https://skrooge.org/"
|
||||
|
||||
if [[ ${KDE_BUILD_TYPE} = release ]]; then
|
||||
SRC_URI="mirror://kde/stable/${PN}/${P}.tar.xz"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
fi
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="5"
|
||||
IUSE="activities kde ofx"
|
||||
|
||||
BDEPEND="
|
||||
dev-libs/libxslt
|
||||
virtual/pkgconfig
|
||||
"
|
||||
COMMON_DEPEND="
|
||||
>=app-crypt/qca-2.3.0:2
|
||||
dev-db/sqlcipher
|
||||
dev-libs/grantlee:5
|
||||
>=dev-qt/qtconcurrent-${QTMIN}:5
|
||||
>=dev-qt/qtdbus-${QTMIN}:5
|
||||
>=dev-qt/qtdeclarative-${QTMIN}:5[widgets]
|
||||
>=dev-qt/qtgui-${QTMIN}:5
|
||||
>=dev-qt/qtnetwork-${QTMIN}:5
|
||||
>=dev-qt/qtprintsupport-${QTMIN}:5
|
||||
>=dev-qt/qtscript-${QTMIN}:5
|
||||
>=dev-qt/qtsql-${QTMIN}:5=
|
||||
>=dev-qt/qtsvg-${QTMIN}:5
|
||||
>=dev-qt/qtwebengine-${QTMIN}:5[widgets]
|
||||
>=dev-qt/qtwidgets-${QTMIN}:5
|
||||
>=dev-qt/qtxml-${QTMIN}:5
|
||||
>=kde-frameworks/karchive-${KFMIN}:5
|
||||
>=kde-frameworks/kcompletion-${KFMIN}:5
|
||||
>=kde-frameworks/kconfig-${KFMIN}:5
|
||||
>=kde-frameworks/kconfigwidgets-${KFMIN}:5
|
||||
>=kde-frameworks/kcoreaddons-${KFMIN}:5
|
||||
>=kde-frameworks/kdbusaddons-${KFMIN}:5
|
||||
>=kde-frameworks/ki18n-${KFMIN}:5
|
||||
>=kde-frameworks/kiconthemes-${KFMIN}:5
|
||||
>=kde-frameworks/kio-${KFMIN}:5
|
||||
>=kde-frameworks/kitemviews-${KFMIN}:5
|
||||
>=kde-frameworks/knewstuff-${KFMIN}:5
|
||||
>=kde-frameworks/knotifications-${KFMIN}:5
|
||||
>=kde-frameworks/knotifyconfig-${KFMIN}:5
|
||||
>=kde-frameworks/kparts-${KFMIN}:5
|
||||
>=kde-frameworks/kservice-${KFMIN}:5
|
||||
>=kde-frameworks/ktextwidgets-${KFMIN}:5
|
||||
>=kde-frameworks/kwallet-${KFMIN}:5
|
||||
>=kde-frameworks/kwidgetsaddons-${KFMIN}:5
|
||||
>=kde-frameworks/kxmlgui-${KFMIN}:5
|
||||
activities? ( >=kde-frameworks/kactivities-${KFMIN}:5 )
|
||||
kde? ( >=kde-frameworks/krunner-${KFMIN}:5 )
|
||||
ofx? ( dev-libs/libofx:= )
|
||||
"
|
||||
DEPEND="${COMMON_DEPEND}
|
||||
>=kde-frameworks/kguiaddons-${KFMIN}:5
|
||||
>=kde-frameworks/kjobwidgets-${KFMIN}:5
|
||||
>=kde-frameworks/kwindowsystem-${KFMIN}:5
|
||||
"
|
||||
RDEPEND="${COMMON_DEPEND}
|
||||
>=dev-qt/qtquickcontrols-${QTMIN}:5
|
||||
"
|
||||
|
||||
# hangs + installs files (also requires KF5DesignerPlugin)
|
||||
RESTRICT+=" test"
|
||||
|
||||
src_configure() {
|
||||
local mycmakeargs=(
|
||||
-DSKG_WEBENGINE=ON
|
||||
-DSKG_DESIGNER=OFF
|
||||
$(cmake_use_find_package activities KF5Activities)
|
||||
$(cmake_use_find_package kde KF5Runner)
|
||||
$(cmake_use_find_package ofx LibOfx)
|
||||
-DSKG_BUILD_TEST=$(usex test)
|
||||
)
|
||||
|
||||
ecm_src_configure
|
||||
}
|
||||
|
||||
src_test() {
|
||||
local mycmakeargs=(
|
||||
-DSKG_BUILD_TEST=ON
|
||||
)
|
||||
ecm_src_test
|
||||
}
|
Binary file not shown.
@ -1,6 +1,6 @@
|
||||
DIST scdoc-1.11.0.tar.gz 12616 BLAKE2B 3aec60e51b949dc94e8339e400c366428a217c1bd44f79716cbd6993a7f8051a0796dc96163e071db4808c0edde071408e3eb1ee0ae3bb8ccd718479960ab8f3 SHA512 4c8248a12e69e53cc2182af5375912f7af64f3807163dbe3c52e85d817b1bfa7e461d02a627c73d93bdaa96e49668ff894d37817ceb70ee3186da9e3f8372d49
|
||||
DIST scdoc-1.11.1.tar.gz 12482 BLAKE2B 2632da654730a373f03955f0b3bb190c8d6beb2fd4e4b05c88a4c86d384b26c51a8f032e6b2ef8d4d795638c1981a4d5500384f3103411869c7097a2ba1466ff SHA512 28b676a2ba69a101034c47378c4b66c94bfb9903d680a1871020fd8772d0990a4c91678738f71d37bfca06e27991ef782047c6503d375ce69df744caf6b459de
|
||||
EBUILD scdoc-1.11.0.ebuild 1182 BLAKE2B b52c95f0dbabac5b4eb7487cd48e59bd1b361a3a944d53c7b007bb52c7b3f0c68c6d80cd22be964b97d95f82474722a005745cf34c9d0ed0d36dac0887183e86 SHA512 a810dfca019775b6aa54e76dd8f2d411550360e86ac883498ba9e769224de6067c225eec31e93735a4f5fc6585507e780fd94c4ecf19b77677188d7118537a2a
|
||||
EBUILD scdoc-1.11.1.ebuild 1185 BLAKE2B 461515e1fe30b3c6213e9d58c9d005ba3a8866c493a90785b6907a30d3ba2dc819122ed44a79c38d11141ec4df14edb56e998a469776e0cb619db26ba838c37b SHA512 f740888fa375d7ee55730b3ed099ff3f233e88f0d8f80deb8ce063f717ab1dc9eb7df945aef834b026aa2fa9243b9a2658b6015683213ec08b914ed20f9ed7ab
|
||||
EBUILD scdoc-1.11.1.ebuild 1190 BLAKE2B ad23f7d61db3cc4a223e9dd192dbf90c77a55dde5a61b172e89582b939df6a4051c7ca616e9a72a4ae4a8bbf28c83099ab4c8d4b612f4894b01c8ac95fcd9350 SHA512 7346bdd524f6a04bc39d554a4b73aa6138489302e4fc31aa8a463008c1ec3274527fd432e6fe01ed8d8a17074d575b60c01860c27522112bd7d37a44a43a1e38
|
||||
EBUILD scdoc-9999.ebuild 1168 BLAKE2B ebe65c78c3eefe79dc5efa4a5a76abe1480ce975ca0dec3de56e74e37f8af799cf1f878e0019b4d69231470aaa507287dcae8c3005bbda2c48007784a2f2b0d1 SHA512 bcfd36c54713470010a6ccb3d3066a83d9e4090fb1ec9c365ab0e9aebac743275dfb79a0ddb9e0392122711dd7e55d2a2e83911c5f7bc9471cffaadf58b9d591
|
||||
MISC metadata.xml 422 BLAKE2B ec662d4bd34390be05318e8816524f206decf6e3cf97ee6e132405a7a2bdd33839b5b82e8083bd3fedc8d390871275ecc9490252cdeb883994e35d511cb8b7d4 SHA512 09dc27076a9ffd2c3f94b40b9df84cbb02317dee7235cb0ce358890c93667dacfc3a7adfe09cf949b8f63970983a7ed7ff654a9ec290b58c6f4ac6b05f9579e1
|
||||
|
Binary file not shown.
@ -1,34 +0,0 @@
|
||||
--- a/utilities/CMakeLists.txt
|
||||
+++ b/utilities/CMakeLists.txt
|
||||
@@ -110,21 +110,16 @@ MYSQL_ADD_EXECUTABLE(perror
|
||||
DEPENDENCIES GenError
|
||||
LINK_LIBRARIES mysys
|
||||
)
|
||||
-IF(BUILD_BUNDLED_LZ4)
|
||||
- MYSQL_ADD_EXECUTABLE(lz4_decompress
|
||||
- lz4_decompress.cc
|
||||
- COMPONENT Server
|
||||
- LINK_LIBRARIES ${LZ4_LIBRARY} mysys
|
||||
- )
|
||||
-ENDIF()
|
||||
-
|
||||
-IF(BUILD_BUNDLED_ZLIB OR NOT OPENSSL_EXECUTABLE_HAS_ZLIB)
|
||||
- MYSQL_ADD_EXECUTABLE(zlib_decompress
|
||||
- zlib_decompress.cc
|
||||
- COMPONENT Server
|
||||
- LINK_LIBRARIES ${ZLIB_LIBRARY} mysys
|
||||
- )
|
||||
-ENDIF()
|
||||
+MYSQL_ADD_EXECUTABLE(lz4_decompress
|
||||
+ lz4_decompress.cc
|
||||
+ COMPONENT Server
|
||||
+ LINK_LIBRARIES ${LZ4_LIBRARY} mysys
|
||||
+ )
|
||||
+MYSQL_ADD_EXECUTABLE(zlib_decompress
|
||||
+ zlib_decompress.cc
|
||||
+ COMPONENT Server
|
||||
+ LINK_LIBRARIES ${ZLIB_LIBRARY} mysys
|
||||
+ )
|
||||
|
||||
# All targets below belong to COMPONENT Server and depend on InnoDB.
|
||||
IF(WITHOUT_SERVER)
|
@ -1,18 +0,0 @@
|
||||
Description: don't crash on malformed charset files
|
||||
Origin: https://bugs.launchpad.net/ubuntu/+source/mysql-8.0/+bug/1877504/comments/19
|
||||
Bug: https://bugs.launchpad.net/ubuntu/+source/mysql-8.0/+bug/1884809
|
||||
Bug: https://bugs.gentoo.org/737002
|
||||
Forwarded: workaround, not needed
|
||||
|
||||
--- a/mysys/charset.cc
|
||||
+++ b/mysys/charset.cc
|
||||
@@ -922,7 +922,7 @@ size_t escape_quotes_for_mysql(CHARSET_I
|
||||
|
||||
void charset_uninit() {
|
||||
for (CHARSET_INFO *cs : all_charsets) {
|
||||
- if (cs && cs->coll->uninit) {
|
||||
+ if (cs && cs->coll && cs->coll->uninit) {
|
||||
cs->coll->uninit(cs);
|
||||
}
|
||||
}
|
||||
|
@ -1,14 +0,0 @@
|
||||
Getopt-Long-2.38 is stricter about what it allows.
|
||||
|
||||
diff -Nuar mytop-1.6.orig/mytop mytop-1.6/mytop
|
||||
--- mytop-1.6.orig/mytop 2009-04-10 00:47:31.007111359 -0700
|
||||
+++ mytop-1.6/mytop 2009-04-10 00:50:39.875391905 -0700
|
||||
@@ -153,7 +153,7 @@
|
||||
"idle|i" => \$config{idle},
|
||||
"resolve|r" => \$config{resolve},
|
||||
"prompt!" => \$config{prompt},
|
||||
- "long|!" => \$config{long_nums},
|
||||
+ "long!" => \$config{long_nums},
|
||||
"mode|m=s" => \$config{mode},
|
||||
"sort=s" => \$config{sort},
|
||||
);
|
@ -1,103 +0,0 @@
|
||||
Use GLOBAL STATUS instead of implicit session status.
|
||||
|
||||
As of MySQL-5.0.72, many of the status variables split for session and global
|
||||
variants. Importantly, the Com_* and Questions ones did, and this broke the
|
||||
statistics at the top of mytop.
|
||||
|
||||
Signed-off-by: Robin H. Johnson <robbat2@gentoo.org>
|
||||
MySQL-Bug: 41131
|
||||
MySQL-Bug-URL: http://bugs.mysql.com/bug.php?id=41131
|
||||
|
||||
diff -Nuar --exclude '*~' mytop-1.6.orig/mytop mytop-1.6/mytop
|
||||
--- mytop-1.6.orig/mytop 2007-02-16 20:57:46.000000000 -0800
|
||||
+++ mytop-1.6/mytop 2008-11-30 15:18:05.818845253 -0800
|
||||
@@ -98,7 +98,7 @@
|
||||
my %qcache = (); ## The query cache--used for full query info support.
|
||||
my %ucache = (); ## The user cache--used for full killing by user
|
||||
my %dbcache = (); ## The db cache. This should be merged at some point.
|
||||
-my %statcache = (); ## The show status cache for GetShowStatus()
|
||||
+my %statcache = (); ## The show global status cache for GetShowStatus()
|
||||
|
||||
my (%STATUS, %OLD_STATUS); # header stuff.
|
||||
|
||||
@@ -710,7 +710,7 @@
|
||||
##
|
||||
if ($config{header})
|
||||
{
|
||||
- my @recs = Hashes("show status");
|
||||
+ my @recs = Hashes("show global status");
|
||||
|
||||
## if the server died or we lost connectivity
|
||||
if (not @recs)
|
||||
@@ -755,7 +755,7 @@
|
||||
|
||||
## Query Cache info
|
||||
##
|
||||
- ## mysql> show status like 'qcache%';
|
||||
+ ## mysql> show global status like 'qcache%';
|
||||
## +-------------------------+----------+
|
||||
## | Variable_name | Value |
|
||||
## +-------------------------+----------+
|
||||
@@ -1064,7 +1064,7 @@
|
||||
|
||||
sub GetQPS()
|
||||
{
|
||||
- my($data) = Hashes('SHOW STATUS LIKE "Questions"');
|
||||
+ my($data) = Hashes('SHOW GLOBAL STATUS LIKE "Questions"');
|
||||
my $num = $data->{Value};
|
||||
|
||||
if (not defined $questions) ## first time?
|
||||
@@ -1126,7 +1126,7 @@
|
||||
}
|
||||
|
||||
# Variable_name and Value pairs come back...
|
||||
- my @data = Hashes("SHOW STATUS LIKE 'Com_%'");
|
||||
+ my @data = Hashes("SHOW GLOBAL STATUS LIKE 'Com_%'");
|
||||
my %cmd_data;
|
||||
my %cmd_delta;
|
||||
my %cmd_pct;
|
||||
@@ -1216,7 +1216,7 @@
|
||||
sub GetShowStatus()
|
||||
{
|
||||
Clear() unless $config{batchmode};
|
||||
- my @rows = Hashes("SHOW STATUS");
|
||||
+ my @rows = Hashes("SHOW GLOBAL STATUS");
|
||||
|
||||
printf "%32s %10s %10s\n", 'Counter', 'Total', 'Change';
|
||||
printf "%32s %10s %10s\n", '-------', '-----', '------';
|
||||
@@ -1543,7 +1543,7 @@
|
||||
|
||||
And you obviously need access to a MySQL server (version 3.22.x or
|
||||
3.23.x) with the necessary security to run the I<SHOW PROCESSLIST> and
|
||||
-I<SHOW STATUS> commands.
|
||||
+I<SHOW GLOBAL STATUS> commands.
|
||||
|
||||
If you are a Windows user, using ActiveState's Perl, you can use PPM
|
||||
(the Perl Package Manager) to install the MySQL and Term::ReadKey
|
||||
@@ -1599,7 +1599,7 @@
|
||||
notice features from each of them here.
|
||||
|
||||
B<mytop> will connect to a MySQL server and periodically run the
|
||||
-I<SHOW PROCESSLIST> and I<SHOW STATUS> commands and attempt to
|
||||
+I<SHOW PROCESSLIST> and I<SHOW GLOBAL STATUS> commands and attempt to
|
||||
summarize the information from them in a useful format.
|
||||
|
||||
=head2 The Display
|
||||
@@ -1817,7 +1817,7 @@
|
||||
|
||||
=item B<c>
|
||||
|
||||
-Show "command counters" based on the Com_* values in SHOW STATUS.
|
||||
+Show "command counters" based on the Com_* values in SHOW GLOBAL STATUS.
|
||||
This is a new feature. Feedback welcome.
|
||||
|
||||
=item B<d>
|
||||
@@ -1904,7 +1904,7 @@
|
||||
|
||||
Some performance information is not available when talking to a
|
||||
version 3.22.x MySQL server. Additional information (about threads
|
||||
-mostly) was added to the output of I<SHOW STATUS> in MySQL 3.23.x and
|
||||
+mostly) was added to the output of I<SHOW GLOBAL STATUS> in MySQL 3.23.x and
|
||||
B<mytop> makes use of it. If the information is not available, you
|
||||
will simply see zeros where the real numbers should be.
|
||||
|
@ -1,72 +0,0 @@
|
||||
In MySQL 5.0.72 the Questions variable was changed to only contain the number
|
||||
of client-initiated queries, NOT the number of overall queries. This caused
|
||||
problems with the select/insert/update/delete percentages because Com_* was
|
||||
still based on the overall queries.
|
||||
|
||||
MySQL 5.0.76 introduced a new variable 'Queries' with the behavior of the old
|
||||
Questions variable.
|
||||
|
||||
Signed-off-by: Robin H. Johnson <robbat2@gentoo.org>
|
||||
MySQL-Bug: 41131
|
||||
MySQL-Bug-URL: http://bugs.mysql.com/?id=41131
|
||||
|
||||
====
|
||||
Revision 2:
|
||||
The first revision missed changing the instances of $OLD_STATUS{Questions}.
|
||||
|
||||
diff -Nuar mytop-1.6.orig/mytop mytop-1.6/mytop
|
||||
--- mytop-1.6.orig/mytop 2009-02-14 17:28:38.696187159 -0800
|
||||
+++ mytop-1.6/mytop 2009-02-14 17:36:31.192890507 -0800
|
||||
@@ -800,8 +800,15 @@
|
||||
|
||||
## Queries per second...
|
||||
|
||||
- my $avg_queries_per_sec = sprintf("%.2f", $STATUS{Questions} / $STATUS{Uptime});
|
||||
- my $num_queries = $STATUS{Questions};
|
||||
+ my ($num_queries, $old_num_queries);
|
||||
+ if(defined($STATUS{Queries})) {
|
||||
+ $num_queries = $STATUS{Queries};
|
||||
+ $old_num_queries = $OLD_STATUS{Queries};
|
||||
+ } else {
|
||||
+ $num_queries = $STATUS{Questions};
|
||||
+ $old_num_queries = $OLD_STATUS{Questions};
|
||||
+ }
|
||||
+ my $avg_queries_per_sec = sprintf("%.2f", $num_queries / $STATUS{Uptime});
|
||||
|
||||
my @t = localtime(time);
|
||||
|
||||
@@ -820,25 +827,25 @@
|
||||
|
||||
|
||||
printf " Queries: %-5s qps: %4.0f Slow: %7s Se/In/Up/De(%%): %02.0f/%02.0f/%02.0f/%02.0f \n",
|
||||
- make_short( $STATUS{Questions} ), # q total
|
||||
- $STATUS{Questions} / $STATUS{Uptime}, # qps, average
|
||||
+ make_short( $num_queries ), # q total
|
||||
+ $num_queries / $STATUS{Uptime}, # qps, average
|
||||
make_short( $STATUS{Slow_queries} ), # slow
|
||||
|
||||
# hmm. a Qcache hit is really a select and should be counted.
|
||||
- 100 * ($STATUS{Com_select} + ($STATUS{Qcache_hits}||0) ) / $STATUS{Questions},
|
||||
- 100 * ($STATUS{Com_insert} + $STATUS{Com_replace} ) / $STATUS{Questions},
|
||||
- 100 * ($STATUS{Com_update} ) / $STATUS{Questions},
|
||||
- 100 * $STATUS{Com_delete} / $STATUS{Questions};
|
||||
+ 100 * ($STATUS{Com_select} + ($STATUS{Qcache_hits}||0) ) / $num_queries,
|
||||
+ 100 * ($STATUS{Com_insert} + $STATUS{Com_replace} ) / $num_queries,
|
||||
+ 100 * ($STATUS{Com_update} ) / $num_queries,
|
||||
+ 100 * $STATUS{Com_delete} / $num_queries;
|
||||
|
||||
$lines_left--;
|
||||
|
||||
if ($t_delta)
|
||||
{
|
||||
- my $q_diff = ( $STATUS{Questions} - $OLD_STATUS{Questions} );
|
||||
-# print("q_diff: $STATUS{Questions} - $OLD_STATUS{Questions} / $t_delta = $q_diff\n");
|
||||
+ my $q_diff = ( $num_queries - $old_num_queries );
|
||||
+# print("q_diff: $num_queries - $old_num_queries / $t_delta = $q_diff\n");
|
||||
|
||||
printf(" qps now: %4.0f Slow qps: %3.1f Threads: %4.0f (%4.0f/%4.0f) %02.0f/%02.0f/%02.0f/%02.0f \n",
|
||||
- ( $STATUS{Questions} - $OLD_STATUS{Questions} ) / $t_delta,
|
||||
+ ( $num_queries - $old_num_queries ) / $t_delta,
|
||||
( # slow now (qps)
|
||||
($STATUS{Slow_queries} ) ?
|
||||
( $STATUS{Slow_queries} - $OLD_STATUS{Slow_queries} ) / $t_delta :
|
@ -1,21 +0,0 @@
|
||||
# @GENTOO_PORTAGE_EPREFIX@/etc/mysql/50-distro-client.cnf: The global mysql configuration file.
|
||||
|
||||
# The following options will be passed to all MySQL clients
|
||||
[client]
|
||||
socket = @GENTOO_PORTAGE_EPREFIX@/var/run/mysqld/mysqld.sock
|
||||
character-sets-dir = @GENTOO_PORTAGE_EPREFIX@/usr/share/mysql/charsets
|
||||
loose-default-character-set=utf8
|
||||
|
||||
[mysql]
|
||||
# uncomment the next directive if you are not familiar with SQL
|
||||
#safe-updates
|
||||
|
||||
[mysqldump]
|
||||
quick
|
||||
max_allowed_packet = 16M
|
||||
|
||||
[myisamchk]
|
||||
character-sets-dir=@GENTOO_PORTAGE_EPREFIX@/usr/share/mysql/charsets
|
||||
|
||||
[myisampack]
|
||||
character-sets-dir=@GENTOO_PORTAGE_EPREFIX@/usr/share/mysql/charsets
|
@ -1,28 +0,0 @@
|
||||
# @GENTOO_PORTAGE_EPREFIX@/etc/mysql/50-distro-server.cnf: The global mysql configuration file.
|
||||
|
||||
# add a section [mysqld-4.1] or [mysqld-5.0] for specific configurations
|
||||
[mysqld]
|
||||
character-set-server = utf8
|
||||
user = mysql
|
||||
port = 3306
|
||||
socket = @GENTOO_PORTAGE_EPREFIX@/var/run/mysqld/mysqld.sock
|
||||
pid-file = @GENTOO_PORTAGE_EPREFIX@/var/run/mysqld/mysql.pid
|
||||
log-error = @GENTOO_PORTAGE_EPREFIX@/var/log/mysql/mysqld.err
|
||||
basedir = @GENTOO_PORTAGE_EPREFIX@/usr
|
||||
datadir = @DATADIR@
|
||||
skip-external-locking
|
||||
lc_messages_dir = @GENTOO_PORTAGE_EPREFIX@/usr/share/mysql
|
||||
#Set this to your desired error message language
|
||||
lc_messages = en_US
|
||||
|
||||
# security:
|
||||
# using "localhost" in connects uses sockets by default
|
||||
# skip-networking
|
||||
bind-address = 127.0.0.1
|
||||
|
||||
log-bin
|
||||
server-id = 1
|
||||
|
||||
# point the following paths to different dedicated disks
|
||||
tmpdir = @GENTOO_PORTAGE_EPREFIX@/tmp/
|
||||
#log-update = @GENTOO_PORTAGE_EPREFIX@/path-to-dedicated-directory/hostname
|
Binary file not shown.
Binary file not shown.
@ -1,7 +1,6 @@
|
||||
AUX simgear-2019.1.1-gdal3.patch 388 BLAKE2B 364d5f6692809c67d73a3191f387cbd9735e7183a25696e612827c1a796c872ee5d4a09085fa8a24a0fd524725fdeca9303c5c5ee71981de054ab5a8833d5285 SHA512 44d59cf379c8c7d82b87a31a4d29dd02aaa865c37f12c7e565c641bf3fb14497f4d63b69bbc973551b53d74919ddce5495e3f29b598ed87a6a4565e22ec81667
|
||||
AUX simgear-2020.1.2-boost.patch 299 BLAKE2B e62fa6dd8cd88306e5cc1b043f5bc174fd64b228517d7dc48c32f5174de807af073ef0b41aa00aa3567d91dd0a2571bfbc036dda4da2135e208b076185d42448 SHA512 bdbf7e15927d62a1e78486ca6ecdd7a9f7306f5d4e0fe2fad7de18556758b3c92d8cf794c309e4a66f8b3b96941de5b0ff1a3266e136518c2da6f1198c2eada8
|
||||
AUX simgear-2020.1.2-do-not-assume-libc++-clang.patch 629 BLAKE2B 1ce89c84f6ac94d7f29a3d9fc8b66cd972dcca809188ac487f7b1d961b9bad6ecdaf31882e5a0beb239cf2fb0d946bff7c5838dca7ac7872cbab22480a7b7aed SHA512 a294c55b84331bdabdea5d950b5a9a53c17eb4b949a863cb0b77c9dd585cb6a43b74f86323e1cc4de48564e064927cd49d7dec032361e50f75bfc82351319a26
|
||||
DIST simgear-2020.1.2.tar.bz2 1393059 BLAKE2B 62fa15d88368177e23cf52edf51e8c56252399d8f2661e518911c1093a0d7f9f11069da8d65b479f2d4b45792dcd011194e57fa99ac3991f749e8196aaff9552 SHA512 c2e835de471f374a6c33cfd1769b7079d178ee66075bfe87cc9eb1f06dc2648db93c31f62f0ac7a664703406817cb1e909a531812cb76c99cd8751eb7e6782e7
|
||||
EBUILD simgear-2020.1.2.ebuild 1634 BLAKE2B 0bc81b0d4a0b2bdcdc87d0291774943827804be5e6519303e7c356a936abad003bdf097bd2a627475a22a8a01da2151c808716a1d11bb87e558082ca355aceaa SHA512 f150a4b40b863afd0e1ca46bda8bf594f52a03d0ca90d878c33849a452008a5e757a5d0709d5fe179ff0c52e315c0309cb1097973b9ade1b6c0773cc8574c3f4
|
||||
EBUILD simgear-9999.ebuild 1601 BLAKE2B 2abe5a461a36bc073eb134133a2b648fd1b699441e99730bad0f01497c4005d492f7363dcb1e59f4325e6b2a709f53f6365a9b227b9bd9f5b2dce916d4c608bd SHA512 37a6cc57913c1a5d4d313748bafe6f93eb55c1c35c6c5389f2f65dba67d13504cebcac050e5d867e0021689f8d77c30b4986a8e3f1525c6becd32cd823119c44
|
||||
DIST simgear-2020.3.6.tar.bz2 1408963 BLAKE2B 55583e9a7463bb16bfa2ff6bbcd60b8160adf57246b3820371cd262a7376425fbed75ecc18396782eb9e62ddf540c352ad3417d38cf62c42e2a24b9439da958a SHA512 eaa8e3663c5fb486ea0fdad26c490fa49472596157d8d19e60426d5a1d340dfda4e5e3d82f68542bb6d9689abb8e867dc33761ea578b9c8f6c07aeb4b942880e
|
||||
EBUILD simgear-2020.3.6.ebuild 1487 BLAKE2B 3c5cefe732a744b7b85c76d4e1d84e10266cf3d174ba258f9b63151612422317db2645d052de823a7b08512e90875248635a7594013b3b6a5a3e4a844f82aed4 SHA512 75240ff70ec955fa3326f9a80ba154a83735b19937c943c5134a0db2bb08cddd57e1c33985b982c93c86833c0a898b3b0670d538d2497bf0c471f13bd493888e
|
||||
EBUILD simgear-9999.ebuild 1549 BLAKE2B 510266f574a163238cef82216bf0600344af02759be07f22e4373fc69ecb5af53cd4e9ec2d352316531f149abc710f3e87bbbe5d234e3511ca8991509ce3071d SHA512 0a27cbc7492698c49bea76703bcc74f6f3733945177bd2c5822f606206cd5ddeb768ed4797bc2005c795111e24e48df7a4fb0918571eadbcca990e51daa1c192
|
||||
MISC metadata.xml 911 BLAKE2B 978dd6e83dce780a6b6250e86def3f5f3052d7c09cda9d4974ec9f63d151cb0040c9434cde00007a8821b28854d2c49c5a040e29f176d1ebb91600e97ba09f17 SHA512 59839dd8b60cbf26b548157edf6f30255c2ca81545df77d39d47cebbf2eec561014c698ac15028765921fb9a7a570f5032f699f71fc135c5bbad211ce6b0a5a8
|
||||
|
@ -1,11 +0,0 @@
|
||||
--- a/CMakeLists.txt
|
||||
+++ b/CMakeLists.txt
|
||||
@@ -227,7 +227,7 @@
|
||||
endif()
|
||||
|
||||
find_package(Boost REQUIRED)
|
||||
-set (BOOST_CXX_FLAGS "-DBOOST_BIMAP_DISABLE_SERIALIZATION")
|
||||
+set (BOOST_CXX_FLAGS "-DBOOST_BIMAP_DISABLE_SERIALIZATION -DBOOST_NO_STDLIB_CONFIG")
|
||||
include(BoostTestTargets)
|
||||
|
||||
if(SIMGEAR_HEADLESS)
|
Binary file not shown.
@ -1,4 +1,3 @@
|
||||
AUX eclipsito-0_pre20130713-build.xml 1101 BLAKE2B 32c21296648965d9c3abbf47d66ef5d8d70597016b7ba1aab806c548a5d66c12de519cc2f6e48b4401eb177593a9f12c2a424a66a62e85a6434d783ca07cd896 SHA512 015ec8415927e31d672a0daf8ca89ceb0c8202f2ac8556583fef44586eedf6de8abafd3e96b85ece41fd7de7b712c9a18c53fd6184c8cf753a63e9d1c02ad7cd
|
||||
DIST eclipsito-20180510.tar.gz 66661 BLAKE2B 0cd1879314eaf4acfcb26cd37f27c50208263cc584d15cb19cfee4d75b29e925d7840be6f39fdf2b6aa05d26f1497284d2d772f9a42ea81398aeec9b1ebad029 SHA512 420cc4ed44fc80065452b39350625f5621175e0bd2aae1ba38a409134bd92af23b492c01f826234431fec68e09eecdf47d61a06f02338e5998c2c5cad44fd142
|
||||
EBUILD eclipsito-20180510.ebuild 681 BLAKE2B 404b3a40ef34e50257862b090fcfc2e0594973a281093e5c8490d3863ef37d903c90a6173cfe8ff658c498e6584b7f25d0d958d541ac33e0a0e2efac3b039588 SHA512 31e5c2b5aa681cec97f58b15712af417b133897eb583580e751b802acb9f4c7b8f7b4abb11885ea267bc62401aa18cc98335b51e066ae3d2887f37a684dbe427
|
||||
MISC metadata.xml 232 BLAKE2B 513679b02247d8e4cb4c874abd785119d9ca62ad24c44969d52a42c3765d0ebf689024512a2c4c48e69688a4ce02a74ae05708b050a720bc73d8d2bf2ceff58d SHA512 00beaf2c81112ff757c4395f4ea47e85f2d48e369e241f10ddf200090dd6513d52ae2b1aef6d28b7417f1cf34608a7258a167eb307d5670323a2190f3710f893
|
||||
|
@ -1,36 +0,0 @@
|
||||
diff --git a/build.xml b/build.xml
|
||||
index d89485a..7be5431 100644
|
||||
--- a/build.xml
|
||||
+++ b/build.xml
|
||||
@@ -17,4 +17,31 @@
|
||||
<target depends="build" name="jar">
|
||||
<jar destfile="eclipsito.jar" basedir="bin" compress="yes"/>
|
||||
</target>
|
||||
+
|
||||
+ <target name="javadoc" description="Generates the Javadoc of the application">
|
||||
+ <javadoc sourcepath="src"
|
||||
+ packagenames="*"
|
||||
+ destdir="apidocs"
|
||||
+ access="protected"
|
||||
+ old="false"
|
||||
+ verbose="false"
|
||||
+ encoding="UTF-8"
|
||||
+ version="true"
|
||||
+ use="true"
|
||||
+ author="true"
|
||||
+ splitindex="false"
|
||||
+ nodeprecated="false"
|
||||
+ nodeprecatedlist="false"
|
||||
+ notree="false"
|
||||
+ noindex="false"
|
||||
+ nohelp="false"
|
||||
+ nonavbar="false"
|
||||
+ serialwarn="false"
|
||||
+ charset="ISO-8859-1"
|
||||
+ docencoding="UTF-8"
|
||||
+ source="1.5"
|
||||
+ linksource="true"
|
||||
+ breakiterator="false">
|
||||
+ </javadoc>
|
||||
+ </target>
|
||||
</project>
|
Binary file not shown.
@ -0,0 +1,821 @@
|
||||
# Copyright 1999-2021 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
inherit alternatives flag-o-matic toolchain-funcs multilib multiprocessing
|
||||
|
||||
PATCH_VER=1
|
||||
CROSS_VER=1.3.4
|
||||
PATCH_BASE="perl-5.32.0-patches-${PATCH_VER}"
|
||||
PATCH_DEV=kentnl
|
||||
|
||||
DIST_AUTHOR=XSAWYERX
|
||||
|
||||
# Greatest first, don't include yourself
|
||||
# Devel point-releases are not ABI-intercompatible, but stable point releases are
|
||||
# BIN_OLDVERSEN is contains only C-ABI-intercompatible versions
|
||||
PERL_BIN_OLDVERSEN=""
|
||||
|
||||
# Yes we can.
|
||||
PERL_SINGLE_SLOT=y
|
||||
|
||||
if [[ "${PV##*.}" == "9999" ]]; then
|
||||
DIST_VERSION=5.30.0
|
||||
else
|
||||
DIST_VERSION="${PV/_rc/-RC}"
|
||||
fi
|
||||
SHORT_PV="${DIST_VERSION%.*}"
|
||||
# Even numbered major versions are ABI intercompatible
|
||||
# Odd numbered major versions are not
|
||||
if [[ $(( ${SHORT_PV#*.} % 2 )) == 1 ]]; then
|
||||
SUBSLOT="${DIST_VERSION%-RC*}"
|
||||
else
|
||||
SUBSLOT="${DIST_VERSION%.*}"
|
||||
fi
|
||||
# Used only in tar paths
|
||||
MY_P="perl-${DIST_VERSION}"
|
||||
# Used in library paths
|
||||
MY_PV="${DIST_VERSION%-RC*}"
|
||||
|
||||
DESCRIPTION="Larry Wall's Practical Extraction and Report Language"
|
||||
|
||||
SRC_URI="
|
||||
mirror://cpan/src/5.0/${MY_P}.tar.xz
|
||||
mirror://cpan/authors/id/${DIST_AUTHOR:0:1}/${DIST_AUTHOR:0:2}/${DIST_AUTHOR}/${MY_P}.tar.xz
|
||||
https://github.com/gentoo-perl/perl-patchset/releases/download/${PATCH_BASE}/${PATCH_BASE}.tar.xz
|
||||
https://dev.gentoo.org/~${PATCH_DEV}/distfiles/${PATCH_BASE}.tar.xz
|
||||
https://github.com/arsv/perl-cross/releases/download/${CROSS_VER}/perl-cross-${CROSS_VER}.tar.gz
|
||||
"
|
||||
HOMEPAGE="https://www.perl.org/"
|
||||
|
||||
LICENSE="|| ( Artistic GPL-1+ )"
|
||||
SLOT="0/${SUBSLOT}"
|
||||
|
||||
if [[ "${PV##*.}" != "9999" ]] && [[ "${PV/rc//}" == "${PV}" ]] ; then
|
||||
# SOMEWHAT EXPERIMENTAL CODE, DO NOT USE WITHOUT AN ADULT PRESENT, CHECK CHANGELOG
|
||||
# FOR DETAILS
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~x64-cygwin ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
|
||||
fi
|
||||
|
||||
IUSE="berkdb debug doc gdbm ithreads minimal"
|
||||
|
||||
RDEPEND="
|
||||
berkdb? ( sys-libs/db:= )
|
||||
gdbm? ( >=sys-libs/gdbm-1.8.3:= )
|
||||
app-arch/bzip2
|
||||
sys-libs/zlib
|
||||
virtual/libcrypt:=
|
||||
"
|
||||
DEPEND="${RDEPEND}"
|
||||
BDEPEND="${RDEPEND}"
|
||||
|
||||
PDEPEND="
|
||||
!minimal? (
|
||||
>=app-admin/perl-cleaner-2.5
|
||||
>=virtual/perl-File-Temp-0.230.400-r2
|
||||
>=virtual/perl-Data-Dumper-2.154.0
|
||||
virtual/perl-Test-Harness
|
||||
)
|
||||
"
|
||||
# bug 390719, bug 523624
|
||||
# virtual/perl-Test-Harness is here for the bundled ExtUtils::MakeMaker
|
||||
|
||||
S="${WORKDIR}/${MY_P}"
|
||||
|
||||
dual_scripts() {
|
||||
src_remove_dual perl-core/Archive-Tar 2.360.0 ptar ptardiff ptargrep
|
||||
src_remove_dual perl-core/CPAN 2.270.0 cpan
|
||||
src_remove_dual perl-core/Digest-SHA 6.20.0 shasum
|
||||
src_remove_dual perl-core/Encode 3.60.0 enc2xs piconv
|
||||
src_remove_dual perl-core/ExtUtils-MakeMaker 7.440.0 instmodsh
|
||||
src_remove_dual perl-core/ExtUtils-ParseXS 3.400.0 xsubpp
|
||||
src_remove_dual perl-core/IO-Compress 2.93.0 zipdetails
|
||||
src_remove_dual perl-core/JSON-PP 4.40.0 json_pp
|
||||
src_remove_dual perl-core/Module-CoreList 5.202.101.23 corelist
|
||||
src_remove_dual perl-core/Pod-Checker 1.730.0 podchecker
|
||||
src_remove_dual perl-core/Pod-Perldoc 3.280.100 perldoc
|
||||
src_remove_dual perl-core/Pod-Usage 1.690.0 pod2usage
|
||||
src_remove_dual perl-core/Test-Harness 3.420.0 prove
|
||||
src_remove_dual perl-core/podlators 4.140.0 pod2man pod2text
|
||||
src_remove_dual_man perl-core/podlators 4.140.0 /usr/share/man/man1/perlpodstyle.1
|
||||
}
|
||||
|
||||
check_rebuild() {
|
||||
# Fresh install
|
||||
if [[ -z "${REPLACING_VERSIONS}" ]]; then
|
||||
return 0;
|
||||
# Major Upgrade
|
||||
# doesn't matter if there's multiple copies, it still needs a rebuild
|
||||
# if the string is anything other than "5.CURRENTMAJOR"
|
||||
elif [[ "${REPLACING_VERSIONS%.*}" != "${PV%.*}" ]]; then
|
||||
echo ""
|
||||
ewarn "UPDATE THE PERL MODULES:"
|
||||
ewarn "After updating dev-lang/perl the installed Perl modules"
|
||||
ewarn "have to be re-installed. In most cases, this is done automatically"
|
||||
ewarn "by the package manager, but subsequent steps are still recommended"
|
||||
ewarn "to ensure system consistency."
|
||||
ewarn
|
||||
ewarn "You should start with a depclean to remove any unused perl dependencies"
|
||||
ewarn "that may confuse portage in future. Regular depcleans are also encouraged"
|
||||
ewarn "as part of your regular update cycle, as that will keep perl upgrades working."
|
||||
ewarn "Recommended: emerge --depclean -va"
|
||||
ewarn
|
||||
ewarn "You should then call perl-cleaner to clean up any old files and trigger any"
|
||||
ewarn "remaining rebuilds portage may have missed."
|
||||
ewarn "Use: perl-cleaner --all"
|
||||
return 0;
|
||||
|
||||
# Reinstall w/ USE Change
|
||||
elif ( use ithreads && ! has_version dev-lang/perl[ithreads] ) || \
|
||||
( ! use ithreads && has_version dev-lang/perl[ithreads] ) || \
|
||||
( use debug && ! has_version dev-lang/perl[debug] ) || \
|
||||
( ! use debug && has_version dev-lang/perl[debug] ) ; then
|
||||
echo ""
|
||||
ewarn "TOGGLED USE-FLAGS WARNING:"
|
||||
ewarn "You changed one of the use-flags ithreads or debug."
|
||||
ewarn "You must rebuild all perl-modules installed."
|
||||
ewarn "Use: perl-cleaner --modules ; perl-cleaner --force --libperl"
|
||||
fi
|
||||
}
|
||||
|
||||
pkg_setup() {
|
||||
case ${CHOST} in
|
||||
*-freebsd*) osname="freebsd" ;;
|
||||
*-dragonfly*) osname="dragonfly" ;;
|
||||
*-netbsd*) osname="netbsd" ;;
|
||||
*-openbsd*) osname="openbsd" ;;
|
||||
*-darwin*) osname="darwin" ;;
|
||||
*-solaris*) osname="solaris" ;;
|
||||
*-cygwin*) osname="cygwin" ;;
|
||||
*) osname="linux" ;;
|
||||
esac
|
||||
|
||||
myarch="${CHOST%%-*}-${osname}"
|
||||
if use debug ; then
|
||||
myarch+="-debug"
|
||||
fi
|
||||
if use ithreads ; then
|
||||
mythreading="-multi"
|
||||
myarch+="-thread"
|
||||
fi
|
||||
|
||||
PRIV_BASE="/usr/$(get_libdir)/perl5"
|
||||
SITE_BASE="/usr/local/$(get_libdir)/perl5"
|
||||
VENDOR_BASE="/usr/$(get_libdir)/perl5/vendor_perl"
|
||||
|
||||
LIBPERL="libperl$(get_libname ${MY_PV} )"
|
||||
|
||||
# This ENV var tells perl to build with a directory like "5.30"
|
||||
# regardless of its patch version. This is for experts only
|
||||
# at this point.
|
||||
if [[ -z "${PERL_SINGLE_SLOT}" ]]; then
|
||||
PRIV_LIB="${PRIV_BASE}/${MY_PV}"
|
||||
ARCH_LIB="${PRIV_BASE}/${MY_PV}/${myarch}${mythreading}"
|
||||
SITE_LIB="${SITE_BASE}/${MY_PV}"
|
||||
SITE_ARCH="${SITE_BASE}/${MY_PV}/${myarch}${mythreading}"
|
||||
VENDOR_LIB="${VENDOR_BASE}/${MY_PV}"
|
||||
VENDOR_ARCH="${VENDOR_BASE}/${MY_PV}/${myarch}${mythreading}"
|
||||
else
|
||||
PRIV_LIB="${PRIV_BASE}/${SUBSLOT}"
|
||||
ARCH_LIB="${PRIV_BASE}/${SUBSLOT}/${myarch}${mythreading}"
|
||||
SITE_LIB="${SITE_BASE}/${SUBSLOT}"
|
||||
SITE_ARCH="${SITE_BASE}/${SUBSLOT}/${myarch}${mythreading}"
|
||||
VENDOR_LIB="${VENDOR_BASE}/${SUBSLOT}"
|
||||
VENDOR_ARCH="${VENDOR_BASE}/${SUBSLOT}/${myarch}${mythreading}"
|
||||
fi
|
||||
|
||||
dual_scripts
|
||||
}
|
||||
|
||||
src_remove_dual_file() {
|
||||
local i pkg ver
|
||||
pkg="$1"
|
||||
ver="$2"
|
||||
shift 2
|
||||
case "${EBUILD_PHASE:-none}" in
|
||||
postinst|postrm)
|
||||
for i in "$@" ; do
|
||||
alternatives_auto_makesym "${i}" "${i}-[0-9]*"
|
||||
done
|
||||
;;
|
||||
setup)
|
||||
for i in "$@" ; do
|
||||
if [[ -f ${EROOT}${i} && ! -h ${EROOT}${i} ]] ; then
|
||||
has_version ${pkg} && ewarn "You must reinstall ${pkg} !"
|
||||
break
|
||||
fi
|
||||
done
|
||||
;;
|
||||
install)
|
||||
for i in "$@" ; do
|
||||
if ! [[ -f "${ED}"${i} ]] ; then
|
||||
ewarn "${i} does not exist!"
|
||||
continue
|
||||
fi
|
||||
mv "${ED}"${i}{,-${ver}-${P}} || die
|
||||
done
|
||||
;;
|
||||
esac
|
||||
}
|
||||
|
||||
src_remove_dual_man() {
|
||||
local i pkg ver ff
|
||||
pkg="$1"
|
||||
ver="$2"
|
||||
shift 2
|
||||
case "${EBUILD_PHASE:-none}" in
|
||||
postinst|postrm)
|
||||
for i in "$@" ; do
|
||||
ff=`echo "${EROOT}${i%.[0-9]}-${ver}-${P}${i#${i%.[0-9]}}"*`
|
||||
ff=${ff##*${i#${i%.[0-9]}}}
|
||||
alternatives_auto_makesym "${i}${ff}" "${i%.[0-9]}-[0-9]*"
|
||||
done
|
||||
;;
|
||||
install)
|
||||
for i in "$@" ; do
|
||||
if ! [[ -f "${ED}"${i} ]] ; then
|
||||
ewarn "${i} does not exist!"
|
||||
continue
|
||||
fi
|
||||
mv "${ED}"${i} "${ED}"${i%.[0-9]}-${ver}-${P}${i#${i%.[0-9]}} || die
|
||||
done
|
||||
;;
|
||||
esac
|
||||
}
|
||||
|
||||
src_remove_dual() {
|
||||
local i pkg ver
|
||||
pkg="$1"
|
||||
ver="$2"
|
||||
shift 2
|
||||
for i in "$@" ; do
|
||||
src_remove_dual_file "${pkg}" "${ver}" "/usr/bin/${i}"
|
||||
src_remove_dual_man "${pkg}" "${ver}" "/usr/share/man/man1/${i}.1"
|
||||
done
|
||||
}
|
||||
|
||||
src_prepare_perlcross() {
|
||||
cp -a ../perl-cross-${CROSS_VER}/* . || die
|
||||
|
||||
# bug 604072
|
||||
MAKEOPTS+=" -j1"
|
||||
export MAKEOPTS
|
||||
}
|
||||
src_prepare_dynamic() {
|
||||
ln -s ${LIBPERL} libperl$(get_libname ${SHORT_PV}) || die
|
||||
ln -s ${LIBPERL} libperl$(get_libname ) || die
|
||||
}
|
||||
|
||||
# Copy a patch into the patch series
|
||||
# add_patch SRC_PATH DEST_NAME ['description'] ['bug'] ['bug']
|
||||
# - description is optional, but recommended
|
||||
# - all arguments after descriptions are bug URLs
|
||||
add_patch() {
|
||||
local patchdir="${WORKDIR}/patches"
|
||||
local infodir="${WORKDIR}/patch-info"
|
||||
local src_name dest_name desc
|
||||
src_name="$1"
|
||||
dest_name="$2"
|
||||
desc="$3"
|
||||
shift; shift; shift;
|
||||
einfo "Adding ${dest_name} to patch bundle"
|
||||
cp "${src_name}" "${patchdir}/${dest_name}" || die "Couldn't copy ${src_name} to ${dest_name}"
|
||||
if [[ -n "${desc}" ]]; then
|
||||
printf "%s" "${desc}" > "${infodir}/${dest_name}.desc" || die "Couldn't write ${dest_name}.desc"
|
||||
fi
|
||||
if [[ $# -gt 0 ]]; then
|
||||
# Note: when $@ is more than one element, this emits a
|
||||
# line for each element
|
||||
printf "%s\n" "$@" > "${infodir}/${dest_name}.bugs" || die "Couldn't write ${dest_name}.bugs"
|
||||
fi
|
||||
}
|
||||
# Remove a patch using a glob expr
|
||||
# eg:
|
||||
# rm_patch *-darin-Use-CC*
|
||||
#
|
||||
rm_patch() {
|
||||
local patchdir="${WORKDIR}/patches"
|
||||
local expr="$1"
|
||||
local patch="$( cd "${patchdir}"; echo $expr )"
|
||||
einfo "Removing $patch ($expr) from patch bundle"
|
||||
if [[ -e "${patchdir}/${patch}" ]]; then
|
||||
rm -f "${patchdir}/${patch}" || die "Can't remove ${patch} ( $expr )"
|
||||
else
|
||||
ewarn "No ${expr} found in ${patchdir} to remove"
|
||||
fi
|
||||
}
|
||||
# Yes, this is a reasonable amount of code for something seemingly simple
|
||||
# but this is far easier to debug when things go wrong, and things went wrong
|
||||
# multiple times while I was getting the exact number of slashes right, which
|
||||
# requires circumnavigating both bash and sed escape mechanisms.
|
||||
c_escape_string() {
|
||||
local slash dquote
|
||||
slash='\'
|
||||
dquote='"'
|
||||
re_slash="${slash}${slash}"
|
||||
re_dquote="${slash}${dquote}"
|
||||
|
||||
# Convert \ to \\,
|
||||
# " to \"
|
||||
echo "$1" |\
|
||||
sed "s|${re_slash}|${re_slash}${re_slash}|g" |\
|
||||
sed "s|${re_dquote}|${re_slash}${re_dquote}|g"
|
||||
}
|
||||
c_escape_file() {
|
||||
c_escape_string "$(cat "$1")"
|
||||
}
|
||||
|
||||
apply_patchdir() {
|
||||
local patchdir="${WORKDIR}/patches"
|
||||
local infodir="${WORKDIR}/patch-info"
|
||||
local patchoutput="patchlevel-gentoo.h"
|
||||
|
||||
# Inject Patch-Level info into description for patchlevel.h patch
|
||||
# to show in -V
|
||||
local patch_expr="*List-packaged-patches*"
|
||||
local patch="$( cd "${patchdir}"; echo $patch_expr )";
|
||||
einfo "Injecting patch-level info into ${patch}.desc ( $patch_expr )"
|
||||
|
||||
if [[ -e "${patchdir}/${patch}" ]]; then
|
||||
printf "List packaged patches for %s(%s) in patchlevel.h" "${PF}" "${PATCH_BASE}"\
|
||||
>"${infodir}/${patch}.desc" || die "Can't rewrite ${patch}.desc"
|
||||
else
|
||||
eerror "No $patch_expr found in ${patchdir}"
|
||||
fi
|
||||
|
||||
# Compute patch list to apply
|
||||
# different name other than PATCHES to stop default
|
||||
# reapplying it
|
||||
# Single depth is currently only supported, as artifacts can reside
|
||||
# from the old layout being multiple-directories, as well as it grossly
|
||||
# simplifying the patchlevel_gentoo.h generation.
|
||||
local PERL_PATCHES=($(
|
||||
find "${patchdir}" -maxdepth 1 -mindepth 1 -type f -printf "%f\n" |\
|
||||
grep -E '[.](diff|patch)$' |\
|
||||
sort -n
|
||||
))
|
||||
|
||||
for patch in "${PERL_PATCHES[@]}"; do
|
||||
eapply "${WORKDIR}"/patches/${patch}
|
||||
done
|
||||
|
||||
einfo "Generating $patchoutput"
|
||||
|
||||
# This code creates a header file, each iteration
|
||||
# creates one-or-more-lines for each entry found in PERL_PATCHES
|
||||
# and STDOUT is redirected to the .h file
|
||||
for patch in "${PERL_PATCHES[@]}"; do
|
||||
local desc_f="${infodir}/${patch}.desc"
|
||||
local bugs_f="${infodir}/${patch}.bugs"
|
||||
|
||||
printf ',"%s"\n' "${patch}"
|
||||
if [[ ! -e "${desc_f}" ]]; then
|
||||
ewarn "No description provided for ${patch} (expected: ${desc_f} )"
|
||||
else
|
||||
local desc="$(c_escape_file "${desc_f}")"
|
||||
printf ',"- %s"\n' "${desc}"
|
||||
fi
|
||||
if [[ -e "${bugs_f}" ]]; then
|
||||
while read -d $'\n' -r line; do
|
||||
local esc_line="$(c_escape_string "${line}")"
|
||||
printf ',"- Bug: %s"\n' "${esc_line}"
|
||||
done <"${bugs_f}"
|
||||
fi
|
||||
done > "${S}/${patchoutput}"
|
||||
printf "%s\n" "${patchoutput}" >> "${S}/MANIFEST"
|
||||
|
||||
}
|
||||
src_prepare() {
|
||||
local patchdir="${WORKDIR}/patches"
|
||||
|
||||
# Prepare Patch dir with additional patches / remove unwanted patches
|
||||
# Inject bug/desc entries for perl -V
|
||||
if use hppa ; then
|
||||
# bug 634162
|
||||
add_patch "${FILESDIR}/${PN}-5.26.2-hppa.patch" "100-5.26.2-hppa.patch"\
|
||||
"Fix broken miniperl on hppa"\
|
||||
"https://bugs.debian.org/869122" "https://bugs.gentoo.org/634162"
|
||||
fi
|
||||
if [[ ${CHOST} == *-solaris* ]] ; then
|
||||
# do NOT mess with nsl, on Solaris this is always necessary,
|
||||
# when -lsocket is used e.g. to get h_errno
|
||||
rm_patch "*-nsl-and-cl*"
|
||||
fi
|
||||
|
||||
apply_patchdir
|
||||
|
||||
tc-is-cross-compiler && src_prepare_perlcross
|
||||
|
||||
tc-is-static-only || src_prepare_dynamic
|
||||
|
||||
if use gdbm; then
|
||||
sed -i "s:INC => .*:INC => \"-I${EROOT}/usr/include/gdbm\":g" \
|
||||
ext/NDBM_File/Makefile.PL || die
|
||||
fi
|
||||
|
||||
# Use errno.h from prefix rather than from host system, bug #645804
|
||||
if use prefix && [[ -e "${EPREFIX}"/usr/include/errno.h ]] ; then
|
||||
sed -i "/my..sysroot/s:'':'${EPREFIX}':" ext/Errno/Errno_pm.PL || die
|
||||
fi
|
||||
|
||||
if [[ ${CHOST} == *-solaris* ]] ; then
|
||||
# set a soname, fix linking against just built libperl
|
||||
sed -i -e 's/netbsd\*/netbsd*|solaris*/' Makefile.SH || die
|
||||
fi
|
||||
|
||||
if [[ ${CHOST} == *-darwin* ]] ; then
|
||||
# fix install_name (soname) not to reference $D
|
||||
sed -i -e '/install_name `pwd/s/`pwd`/\\$(shrpdir)/' Makefile.SH || die
|
||||
|
||||
# Upstreamed, but not in this version.
|
||||
# Need to recognise macOS 11 / 10.16. #757249
|
||||
eapply "${FILESDIR}/${PN}-5.30.3-darwin-macos11.patch"
|
||||
fi
|
||||
|
||||
default
|
||||
}
|
||||
|
||||
myconf() {
|
||||
# the myconf array is declared in src_configure
|
||||
myconf=( "${myconf[@]}" "$@" )
|
||||
}
|
||||
|
||||
# Outputs a list of versions which have been seen in any of the
|
||||
# primary perl @INC prefix paths, such as:
|
||||
# /usr/lib64/perl5/<NUMBER>
|
||||
# /usr/local/lib64/perl5/<NUMBER>
|
||||
# /usr/lib64/perl5/vendor_perl/<NUMBER>
|
||||
#
|
||||
# All values of NUMBER must be like "5.x.y", unless PERL_SUPPORT_SINGLE_SLOT
|
||||
# is enabled, where it will also allow numbers like "5.x"
|
||||
#
|
||||
# PERL_SUPPORT_SINGLE_SLOT should only be used to transition *away* from PERL_SINGLE_SLOT
|
||||
# if you used that.
|
||||
find_candidate_inc_versions() {
|
||||
local regex='.*/5[.][0-9]+[.][0-9]+$';
|
||||
if [[ ! -z "${PERL_SUPPORT_SINGLE_SLOT}" || ! -z "${PERL_SINGLE_SLOT}" ]]; then
|
||||
regex='.*/5[.][0-9]+\([.][0-9]+\|\)$'
|
||||
fi
|
||||
local dirs=(
|
||||
"${EROOT}${PRIV_BASE}"
|
||||
"${EROOT}${SITE_BASE}"
|
||||
"${EROOT}${VENDOR_BASE}"
|
||||
)
|
||||
for dir in "${dirs[@]}"; do
|
||||
if [[ ! -e "${dir}" ]]; then
|
||||
continue
|
||||
fi
|
||||
# Without access to readdir() on these dirs, find will not be able
|
||||
# to reveal any @INC directories inside them, and will subsequently prune
|
||||
# them from the built perl's @INC support, breaking our compatiblity options
|
||||
# entirely.
|
||||
if [[ ! -r "${dir}" || ! -x "${dir}" ]]; then
|
||||
eerror "Bad permissions on ${dir}, this will probably break things"
|
||||
eerror "Ensure ${dir} is +rx for at least uid=$EUID"
|
||||
eerror "Recommended permission is +rx for all"
|
||||
eerror "> chmod o+rx ${dir}"
|
||||
fi
|
||||
done
|
||||
einfo "Scanning for old @INC dirs matching '$regex' in: ${dirs[*]}"
|
||||
find "${dirs[@]}" -maxdepth 1 -mindepth 1 -type d -regex "${regex}" -printf "%f " 2>/dev/null
|
||||
}
|
||||
# Sort versions passed versiony-ly, remove self-version if present
|
||||
# dedup. Takes each version as an argument
|
||||
sanitize_inc_versions() {
|
||||
local vexclude="${DIST_VERSION%-RC}"
|
||||
if [[ ! -z "${PERL_SINGLE_SLOT}" ]]; then
|
||||
vexclude="${SUBSLOT}"
|
||||
fi
|
||||
einfo "Normalizing/Sorting candidate list: $*"
|
||||
einfo " to remove '${vexclude}'"
|
||||
# Note, general numeric sort has to be used
|
||||
# for the last component, or unique will convert
|
||||
# 5.30.0 + 5.30 into just 5.30
|
||||
printf "%s\n" "$@" |\
|
||||
grep -vxF "${vexclude}" |\
|
||||
sort -u -nr -t'.' -k1,1rn -k2,2rn -k3,3rg
|
||||
}
|
||||
|
||||
versions_to_inclist() {
|
||||
local oldv="${PERL_BIN_OLDVERSEN}"
|
||||
if [[ ! -z "${PERL_SINGLE_SLOT}" ]]; then
|
||||
oldv="${DIST_VERSION%-RC} ${PERL_BIN_OLDVERSEN}"
|
||||
fi
|
||||
for v; do
|
||||
has "${v}" ${oldv} && echo -n "${v}/${myarch}${mythreading}/ ";
|
||||
echo -n "${v}/ ";
|
||||
done
|
||||
}
|
||||
versions_to_gentoolibdirs() {
|
||||
local oldv="${PERL_BIN_OLDVERSEN}"
|
||||
local root
|
||||
local v
|
||||
if [[ ! -z "${PERL_SINGLE_SLOT}" ]]; then
|
||||
oldv="${DIST_VERSION%-RC} ${PERL_BIN_OLDVERSEN}"
|
||||
fi
|
||||
for v; do
|
||||
for root in "${PRIV_BASE}" "${VENDOR_BASE}" "${SITE_BASE}"; do
|
||||
local fullpath="${EROOT}${root}/${v}"
|
||||
if [[ -e "${fullpath}" ]]; then
|
||||
has "${v}" ${oldv} && printf "%s:" "${fullpath}/${myarch}${mythreading}";
|
||||
printf "%s:" "${fullpath}"
|
||||
fi
|
||||
done
|
||||
done
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
declare -a myconf
|
||||
|
||||
export LC_ALL="C"
|
||||
[[ ${COLUMNS:-1} -ge 1 ]] || unset COLUMNS # bug #394091
|
||||
|
||||
# Perl has problems compiling with -Os in your flags with glibc
|
||||
use elibc_uclibc || replace-flags "-Os" "-O2"
|
||||
|
||||
# xlocale.h is going away in glibc-2.26, so it's counterproductive
|
||||
# if we use it and include it in CORE/perl.h ... Perl builds just
|
||||
# fine with glibc and locale.h only.
|
||||
# However, the darwin prefix people have no locale.h ...
|
||||
use elibc_glibc && myconf -Ui_xlocale
|
||||
|
||||
# This flag makes compiling crash in interesting ways
|
||||
filter-flags "-malign-double"
|
||||
|
||||
# Generic LTO broken since 5.28, triggers EUMM failures
|
||||
filter-flags "-flto"
|
||||
|
||||
use sparc && myconf -Ud_longdbl
|
||||
|
||||
export BUILD_BZIP2=0
|
||||
export BZIP2_INCLUDE=${EROOT}/usr/include
|
||||
export BZIP2_LIB=${EROOT}/usr/$(get_libdir)
|
||||
|
||||
export BUILD_ZLIB=False
|
||||
export ZLIB_INCLUDE=${EROOT}/usr/include
|
||||
export ZLIB_LIB=${EROOT}/usr/$(get_libdir)
|
||||
|
||||
# allow either gdbm to provide ndbm (in <gdbm/ndbm.h>) or db1
|
||||
myndbm='U'
|
||||
mygdbm='U'
|
||||
mydb='U'
|
||||
if use gdbm ; then
|
||||
mygdbm='D'
|
||||
if use berkdb ; then
|
||||
myndbm='D'
|
||||
fi
|
||||
fi
|
||||
if use berkdb ; then
|
||||
mydb='D'
|
||||
has_version '=sys-libs/db-1*' && myndbm='D'
|
||||
fi
|
||||
|
||||
myconf "-${myndbm}i_ndbm" "-${mygdbm}i_gdbm" "-${mydb}i_db"
|
||||
|
||||
if use alpha && [[ "$(tc-getCC)" = "ccc" ]] ; then
|
||||
ewarn "Perl will not be built with berkdb support, use gcc if you needed it..."
|
||||
myconf -Ui_db -Ui_ndbm
|
||||
fi
|
||||
|
||||
use ithreads && myconf -Dusethreads
|
||||
|
||||
if use debug ; then
|
||||
append-cflags "-g"
|
||||
myconf -DDEBUGGING
|
||||
elif [[ ${CFLAGS} == *-g* ]] ; then
|
||||
myconf -DDEBUGGING=-g
|
||||
else
|
||||
myconf -DDEBUGGING=none
|
||||
fi
|
||||
|
||||
# Autodiscover all old version directories, some of them will even be newer
|
||||
# if you downgrade
|
||||
if [[ -z ${PERL_OLDVERSEN} ]]; then
|
||||
PERL_OLDVERSEN="$( find_candidate_inc_versions )"
|
||||
fi
|
||||
|
||||
# Fixup versions, removing self match, fixing order and dupes
|
||||
PERL_OLDVERSEN="$( sanitize_inc_versions ${PERL_OLDVERSEN} )"
|
||||
|
||||
# Experts who want a "Pure" install can set PERL_OLDVERSEN to an empty string
|
||||
if [[ -n "${PERL_OLDVERSEN// }" ]]; then
|
||||
local inclist="$( versions_to_inclist ${PERL_OLDVERSEN} )"
|
||||
einfo "This version of perl may partially support modules previously"
|
||||
einfo "installed in any of the following paths:"
|
||||
for incpath in ${inclist}; do
|
||||
[[ -e "${EROOT}${VENDOR_BASE}/${incpath}" ]] && einfo " ${EROOT}${VENDOR_BASE}/${incpath}"
|
||||
[[ -e "${EROOT}${PRIV_BASE}/${incpath}" ]] && einfo " ${EROOT}${PRIV_BASE}/${incpath}"
|
||||
[[ -e "${EROOT}${SITE_BASE}/${incpath}" ]] && einfo " ${EROOT}${SITE_BASE}/${incpath}"
|
||||
done
|
||||
einfo "This is a temporary measure and you should aim to cleanup these paths"
|
||||
einfo "via world updates and perl-cleaner"
|
||||
# myconf -Dinc_version_list="${inclist}"
|
||||
myconf -Dgentoolibdirs="$( versions_to_gentoolibdirs ${PERL_OLDVERSEN} )"
|
||||
fi
|
||||
|
||||
[[ ${ELIBC} == "FreeBSD" ]] && myconf "-Dlibc=/usr/$(get_libdir)/libc.a"
|
||||
|
||||
# Make sure we can do the final link #523730, need to set deployment
|
||||
# target to override hardcoded 10.3 which breaks on modern OSX
|
||||
[[ ${CHOST} == *-darwin* ]] && \
|
||||
myconf "-Dld=env MACOSX_DEPLOYMENT_TARGET=${MACOSX_DEPLOYMENT_TARGET} $(tc-getCC)"
|
||||
|
||||
# Older macOS with non-Apple GCC chokes on inline in system headers
|
||||
# using c89 mode as injected by cflags.SH
|
||||
[[ ${CHOST} == *-darwin* && ${CHOST##*darwin} -le 9 ]] && tc-is-gcc && \
|
||||
append-cflags -Dinline=__inline__
|
||||
|
||||
# flock on 32-bit sparc Solaris is broken, fall back to fcntl
|
||||
[[ ${CHOST} == sparc-*-solaris* ]] && \
|
||||
myconf -Ud_flock
|
||||
|
||||
# Prefix: the host system needs not to follow Gentoo multilib stuff, and in
|
||||
# Prefix itself we don't do multilib either, so make sure perl can find
|
||||
# something compatible.
|
||||
if use prefix ; then
|
||||
# Set a hook to check for each detected library whether it actually works.
|
||||
export libscheck="
|
||||
( echo 'main(){}' > '${T}'/conftest.c &&
|
||||
$(tc-getCC) -o '${T}'/conftest '${T}'/conftest.c -l\$thislib >/dev/null 2>/dev/null
|
||||
) || xxx=/dev/null"
|
||||
|
||||
# Use all host paths that might contain useful stuff, the hook above will filter out bad choices.
|
||||
local paths="/lib/*-linux-gnu /usr/lib/*-linux-gnu /lib64 /lib/64 /usr/lib64 /usr/lib/64 /lib32 /usr/lib32 /lib /usr/lib"
|
||||
myconf "-Dlibpth=${EPREFIX}/$(get_libdir) ${EPREFIX}/usr/$(get_libdir) ${paths}"
|
||||
elif [[ $(get_libdir) != "lib" ]] ; then
|
||||
# We need to use " and not ', as the written config.sh use ' ...
|
||||
myconf "-Dlibpth=/usr/local/$(get_libdir) /$(get_libdir) /usr/$(get_libdir)"
|
||||
fi
|
||||
|
||||
# don't try building ODBM, bug #354453
|
||||
disabled_extensions="ODBM_File"
|
||||
|
||||
if ! use gdbm ; then
|
||||
# workaround for bug #157774: don't try building GDBM related stuff with USE="-gdbm"
|
||||
disabled_extensions="${disabled_extensions} GDBM_File NDBM_File"
|
||||
fi
|
||||
|
||||
myconf -Dnoextensions="${disabled_extensions}"
|
||||
|
||||
[[ "${PV##*.}" == "9999" ]] && myconf -Dusedevel -Uversiononly
|
||||
|
||||
[[ -n "${EXTRA_ECONF}" ]] && ewarn During Perl build, EXTRA_ECONF=${EXTRA_ECONF}
|
||||
# allow fiddling via EXTRA_ECONF, bug 558070
|
||||
eval "local -a EXTRA_ECONF=(${EXTRA_ECONF})"
|
||||
|
||||
# setting -Dld= to tc-getLD breaks perl and all perl things
|
||||
# https://github.com/Perl/perl5/issues/17791#issuecomment-630145202
|
||||
myconf \
|
||||
-Duseshrplib \
|
||||
-Darchname="${myarch}" \
|
||||
-Dcc="$(tc-getCC)" \
|
||||
-Dar="$(tc-getAR)" \
|
||||
-Dnm="$(tc-getNM)" \
|
||||
-Dcpp="$(tc-getCPP)" \
|
||||
-Dranlib="$(tc-getRANLIB)" \
|
||||
-Doptimize="${CFLAGS}" \
|
||||
-Dldflags="${LDFLAGS}" \
|
||||
-Dprefix="${EPREFIX}"'/usr' \
|
||||
-Dsiteprefix="${EPREFIX}"'/usr/local' \
|
||||
-Dvendorprefix="${EPREFIX}"'/usr' \
|
||||
-Dscriptdir="${EPREFIX}"'/usr/bin' \
|
||||
-Dprivlib="${EPREFIX}${PRIV_LIB}" \
|
||||
-Darchlib="${EPREFIX}${ARCH_LIB}" \
|
||||
-Dsitelib="${EPREFIX}${SITE_LIB}" \
|
||||
-Dsitearch="${EPREFIX}${SITE_ARCH}" \
|
||||
-Dvendorlib="${EPREFIX}${VENDOR_LIB}" \
|
||||
-Dvendorarch="${EPREFIX}${VENDOR_ARCH}" \
|
||||
-Dman1dir="${EPREFIX}"/usr/share/man/man1 \
|
||||
-Dman3dir="${EPREFIX}"/usr/share/man/man3 \
|
||||
-Dsiteman1dir="${EPREFIX}"/usr/local/man/man1 \
|
||||
-Dsiteman3dir="${EPREFIX}"/usr/local/man/man3 \
|
||||
-Dvendorman1dir="${EPREFIX}"/usr/share/man/man1 \
|
||||
-Dvendorman3dir="${EPREFIX}"/usr/share/man/man3 \
|
||||
-Dman1ext='1' \
|
||||
-Dman3ext='3pm' \
|
||||
-Dlibperl="${LIBPERL}" \
|
||||
-Dlocincpth="${EPREFIX}"'/usr/include ' \
|
||||
-Dglibpth="${EPREFIX}/$(get_libdir) ${EPREFIX}/usr/$(get_libdir)"' ' \
|
||||
-Duselargefiles \
|
||||
-Dd_semctl_semun \
|
||||
-Dcf_by='Gentoo' \
|
||||
-Dmyhostname='localhost' \
|
||||
-Dperladmin='root@localhost' \
|
||||
-Ud_csh \
|
||||
-Dsh="${EPREFIX}"/bin/sh \
|
||||
-Dtargetsh="${EPREFIX}"/bin/sh \
|
||||
-Uusenm \
|
||||
"${myconf[@]}" \
|
||||
"${EXTRA_ECONF[@]}"
|
||||
|
||||
if tc-is-cross-compiler; then
|
||||
./configure \
|
||||
--target="${CHOST}" \
|
||||
--build="${CBUILD}" \
|
||||
-Dinstallprefix='' \
|
||||
-Dinstallusrbinperl='undef' \
|
||||
-Dusevendorprefix='define' \
|
||||
"${myconf[@]}" \
|
||||
|| die "Unable to configure"
|
||||
else
|
||||
sh Configure \
|
||||
-des \
|
||||
-Dinstallprefix="${EPREFIX}"'/usr' \
|
||||
-Dinstallusrbinperl='n' \
|
||||
"${myconf[@]}" \
|
||||
|| die "Unable to configure"
|
||||
fi
|
||||
}
|
||||
|
||||
src_test() {
|
||||
export NO_GENTOO_NETWORK_TESTS=1;
|
||||
export GENTOO_ASSUME_SANDBOXED="${GENTOO_ASSUME_SANDBOXED:-1}"
|
||||
export GENTOO_NO_PORTING_TESTS="${GENTOO_NO_PORTING_TESTS:-1}"
|
||||
if [[ ${EUID} == 0 ]] ; then
|
||||
ewarn "Test fails with a sandbox error (#328793) if run as root. Skipping tests..."
|
||||
return 0
|
||||
fi
|
||||
use elibc_uclibc && export MAKEOPTS+=" -j1"
|
||||
TEST_JOBS="$(makeopts_jobs)" make test_harness || die "test failed"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
local i
|
||||
local coredir="${ARCH_LIB}/CORE"
|
||||
|
||||
emake DESTDIR="${D}" install
|
||||
|
||||
rm -f "${ED}/usr/bin/perl${MY_PV}"
|
||||
ln -s perl "${ED}"/usr/bin/perl${MY_PV} || die
|
||||
|
||||
if ! tc-is-static-only ; then
|
||||
dolib.so "${ED}"${coredir}/${LIBPERL}
|
||||
rm -f "${ED}"${coredir}/${LIBPERL}
|
||||
ln -sf ${LIBPERL} "${ED}"/usr/$(get_libdir)/libperl$(get_libname ${SHORT_PV}) || die
|
||||
ln -sf ${LIBPERL} "${ED}"/usr/$(get_libdir)/libperl$(get_libname) || die
|
||||
|
||||
ln -sf ../../../../${LIBPERL} "${ED}"${coredir}/${LIBPERL} || die
|
||||
ln -sf ../../../../${LIBPERL} "${ED}"${coredir}/libperl$(get_libname ${SHORT_PV}) || die
|
||||
ln -sf ../../../../${LIBPERL} "${ED}"${coredir}/libperl$(get_libname) || die
|
||||
fi
|
||||
|
||||
rm -rf "${ED}"/usr/share/man/man3 || die "Unable to remove module man pages"
|
||||
|
||||
# This removes ${D} from Config.pm
|
||||
for i in $(find "${D}" -iname "Config.pm" ) ; do
|
||||
einfo "Removing ${D} from ${i}..."
|
||||
sed -i -e "s:${D}::" "${i}" || die "Sed failed"
|
||||
done
|
||||
|
||||
dodoc Changes* README AUTHORS
|
||||
|
||||
if use doc ; then
|
||||
# HTML Documentation
|
||||
# We expect errors, warnings, and such with the following.
|
||||
|
||||
dodir /usr/share/doc/${PF}/html
|
||||
LD_LIBRARY_PATH=. ./perl installhtml \
|
||||
--podroot='.' \
|
||||
--podpath='lib:ext:pod:vms' \
|
||||
--recurse \
|
||||
--htmldir="${ED}/usr/share/doc/${PF}/html"
|
||||
fi
|
||||
|
||||
[[ -d ${ED}/usr/local ]] && rm -r "${ED}"/usr/local
|
||||
|
||||
dual_scripts
|
||||
}
|
||||
|
||||
pkg_preinst() {
|
||||
check_rebuild
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
dual_scripts
|
||||
|
||||
if [[ "${ROOT}" = "/" ]] ; then
|
||||
local INC DIR file
|
||||
INC=$(perl -e 'for $line (@INC) { next if $line eq "."; next if $line =~ m/'${SHORT_PV}'|etc|local|perl$/; print "$line\n" }')
|
||||
einfo "Removing old .ph files"
|
||||
for DIR in ${INC} ; do
|
||||
if [[ -d "${DIR}" ]] ; then
|
||||
for file in $(find "${DIR}" -name "*.ph" -type f ) ; do
|
||||
rm -f "${file}"
|
||||
einfo "<< ${file}"
|
||||
done
|
||||
fi
|
||||
done
|
||||
# Silently remove the now empty dirs
|
||||
for DIR in ${INC} ; do
|
||||
if [[ -d "${DIR}" ]] ; then
|
||||
find "${DIR}" -depth -type d -print0 | xargs -0 -r rmdir &> /dev/null
|
||||
fi
|
||||
done
|
||||
|
||||
fi
|
||||
}
|
||||
|
||||
pkg_postrm() {
|
||||
dual_scripts
|
||||
}
|
@ -0,0 +1,436 @@
|
||||
# Copyright 1999-2021 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI="7"
|
||||
|
||||
# Patch version
|
||||
FIREFOX_PATCHSET="firefox-78esr-patches-07.tar.xz"
|
||||
SPIDERMONKEY_PATCHSET="spidermonkey-78-patches-03.tar.xz"
|
||||
|
||||
LLVM_MAX_SLOT=11
|
||||
|
||||
PYTHON_COMPAT=( python3_{6..9} )
|
||||
|
||||
WANT_AUTOCONF="2.1"
|
||||
|
||||
inherit autotools check-reqs flag-o-matic llvm multiprocessing python-any-r1 toolchain-funcs
|
||||
|
||||
MY_PN="mozjs"
|
||||
MY_PV="${PV/_pre*}" # Handle Gentoo pre-releases
|
||||
|
||||
MY_MAJOR=$(ver_cut 1)
|
||||
|
||||
MOZ_ESR=yes
|
||||
|
||||
MOZ_PV=${PV}
|
||||
MOZ_PV_SUFFIX=
|
||||
if [[ ${PV} =~ (_(alpha|beta|rc).*)$ ]] ; then
|
||||
MOZ_PV_SUFFIX=${BASH_REMATCH[1]}
|
||||
|
||||
# Convert the ebuild version to the upstream Mozilla version
|
||||
MOZ_PV="${MOZ_PV/_alpha/a}" # Handle alpha for SRC_URI
|
||||
MOZ_PV="${MOZ_PV/_beta/b}" # Handle beta for SRC_URI
|
||||
MOZ_PV="${MOZ_PV%%_rc*}" # Handle rc for SRC_URI
|
||||
fi
|
||||
|
||||
if [[ -n ${MOZ_ESR} ]] ; then
|
||||
# ESR releases have slightly different version numbers
|
||||
MOZ_PV="${MOZ_PV}esr"
|
||||
fi
|
||||
|
||||
MOZ_PN="firefox"
|
||||
MOZ_P="${MOZ_PN}-${MOZ_PV}"
|
||||
MOZ_PV_DISTFILES="${MOZ_PV}${MOZ_PV_SUFFIX}"
|
||||
MOZ_P_DISTFILES="${MOZ_PN}-${MOZ_PV_DISTFILES}"
|
||||
|
||||
MOZ_SRC_BASE_URI="https://archive.mozilla.org/pub/${MOZ_PN}/releases/${MOZ_PV}"
|
||||
|
||||
if [[ ${PV} == *_rc* ]] ; then
|
||||
MOZ_SRC_BASE_URI="https://archive.mozilla.org/pub/${MOZ_PN}/candidates/${MOZ_PV}-candidates/build${PV##*_rc}"
|
||||
fi
|
||||
|
||||
PATCH_URIS=(
|
||||
https://dev.gentoo.org/~{whissi,polynomial-c,axs}/mozilla/patchsets/${FIREFOX_PATCHSET}
|
||||
https://dev.gentoo.org/~{whissi,polynomial-c,axs}/mozilla/patchsets/${SPIDERMONKEY_PATCHSET}
|
||||
)
|
||||
|
||||
SRC_URI="${MOZ_SRC_BASE_URI}/source/${MOZ_P}.source.tar.xz -> ${MOZ_P_DISTFILES}.source.tar.xz
|
||||
${PATCH_URIS[@]}"
|
||||
|
||||
DESCRIPTION="SpiderMonkey is Mozilla's JavaScript engine written in C and C++"
|
||||
HOMEPAGE="https://developer.mozilla.org/en-US/docs/Mozilla/Projects/SpiderMonkey"
|
||||
|
||||
KEYWORDS="~amd64 ~arm ~arm64 ~mips ~ppc64 ~s390 ~x86"
|
||||
|
||||
SLOT="78"
|
||||
LICENSE="MPL-2.0"
|
||||
IUSE="clang cpu_flags_arm_neon debug +jit lto test"
|
||||
|
||||
RESTRICT="!test? ( test )"
|
||||
|
||||
BDEPEND="${PYTHON_DEPS}
|
||||
>=virtual/rust-1.41.0
|
||||
virtual/pkgconfig
|
||||
|| (
|
||||
(
|
||||
sys-devel/llvm:11
|
||||
clang? (
|
||||
sys-devel/clang:11
|
||||
lto? ( =sys-devel/lld-11* )
|
||||
)
|
||||
)
|
||||
(
|
||||
sys-devel/llvm:10
|
||||
clang? (
|
||||
sys-devel/clang:10
|
||||
lto? ( =sys-devel/lld-10* )
|
||||
)
|
||||
)
|
||||
(
|
||||
sys-devel/llvm:9
|
||||
clang? (
|
||||
sys-devel/clang:9
|
||||
lto? ( =sys-devel/lld-9* )
|
||||
)
|
||||
)
|
||||
)
|
||||
lto? (
|
||||
!clang? ( sys-devel/binutils[gold] )
|
||||
)"
|
||||
|
||||
CDEPEND=">=dev-libs/icu-67.1:=
|
||||
>=dev-libs/nspr-4.25
|
||||
sys-libs/readline:0=
|
||||
>=sys-libs/zlib-1.2.3"
|
||||
|
||||
DEPEND="${CDEPEND}
|
||||
test? (
|
||||
$(python_gen_any_dep 'dev-python/six[${PYTHON_USEDEP}]')
|
||||
)"
|
||||
|
||||
RDEPEND="${CDEPEND}"
|
||||
|
||||
S="${WORKDIR}/firefox-${MY_PV}/js/src"
|
||||
|
||||
llvm_check_deps() {
|
||||
if use clang ; then
|
||||
if ! has_version -b "sys-devel/clang:${LLVM_SLOT}" ; then
|
||||
ewarn "sys-devel/clang:${LLVM_SLOT} is missing! Cannot use LLVM slot ${LLVM_SLOT} ..." >&2
|
||||
return 1
|
||||
fi
|
||||
|
||||
if use lto ; then
|
||||
if ! has_version -b "=sys-devel/lld-${LLVM_SLOT}*" ; then
|
||||
ewarn "=sys-devel/lld-${LLVM_SLOT}* is missing! Cannot use LLVM slot ${LLVM_SLOT} ..." >&2
|
||||
return 1
|
||||
fi
|
||||
fi
|
||||
fi
|
||||
|
||||
einfo "Using LLVM slot ${LLVM_SLOT} to build" >&2
|
||||
}
|
||||
|
||||
python_check_deps() {
|
||||
if use test ; then
|
||||
has_version "dev-python/six[${PYTHON_USEDEP}]"
|
||||
fi
|
||||
}
|
||||
|
||||
pkg_pretend() {
|
||||
if use test ; then
|
||||
CHECKREQS_DISK_BUILD="7600M"
|
||||
else
|
||||
CHECKREQS_DISK_BUILD="6400M"
|
||||
fi
|
||||
|
||||
check-reqs_pkg_pretend
|
||||
}
|
||||
|
||||
pkg_setup() {
|
||||
if [[ ${MERGE_TYPE} != binary ]] ; then
|
||||
if use test ; then
|
||||
CHECKREQS_DISK_BUILD="7600M"
|
||||
else
|
||||
CHECKREQS_DISK_BUILD="6400M"
|
||||
fi
|
||||
|
||||
check-reqs_pkg_setup
|
||||
|
||||
llvm_pkg_setup
|
||||
|
||||
if use clang && use lto ; then
|
||||
local version_lld=$(ld.lld --version 2>/dev/null | awk '{ print $2 }')
|
||||
[[ -n ${version_lld} ]] && version_lld=$(ver_cut 1 "${version_lld}")
|
||||
[[ -z ${version_lld} ]] && die "Failed to read ld.lld version!"
|
||||
|
||||
local version_llvm_rust=$(rustc -Vv 2>/dev/null | grep -F -- 'LLVM version:' | awk '{ print $3 }')
|
||||
[[ -n ${version_llvm_rust} ]] && version_llvm_rust=$(ver_cut 1 "${version_llvm_rust}")
|
||||
[[ -z ${version_llvm_rust} ]] && die "Failed to read used LLVM version from rustc!"
|
||||
|
||||
if ver_test "${version_lld}" -ne "${version_llvm_rust}" ; then
|
||||
eerror "Rust is using LLVM version ${version_llvm_rust} but ld.lld version belongs to LLVM version ${version_lld}."
|
||||
eerror "You will be unable to link ${CATEGORY}/${PN}. To proceed you have the following options:"
|
||||
eerror " - Manually switch rust version using 'eselect rust' to match used LLVM version"
|
||||
eerror " - Switch to dev-lang/rust[system-llvm] which will guarantee matching version"
|
||||
eerror " - Build ${CATEGORY}/${PN} without USE=lto"
|
||||
die "LLVM version used by Rust (${version_llvm_rust}) does not match with ld.lld version (${version_lld})!"
|
||||
fi
|
||||
fi
|
||||
|
||||
python-any-r1_pkg_setup
|
||||
|
||||
# Build system is using /proc/self/oom_score_adj, bug #604394
|
||||
addpredict /proc/self/oom_score_adj
|
||||
|
||||
if ! mountpoint -q /dev/shm ; then
|
||||
# If /dev/shm is not available, configure is known to fail with
|
||||
# a traceback report referencing /usr/lib/pythonN.N/multiprocessing/synchronize.py
|
||||
ewarn "/dev/shm is not mounted -- expect build failures!"
|
||||
fi
|
||||
|
||||
# Ensure we use C locale when building, bug #746215
|
||||
export LC_ALL=C
|
||||
fi
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
pushd ../.. &>/dev/null || die
|
||||
|
||||
use lto && rm -v "${WORKDIR}"/firefox-patches/*-LTO-Only-enable-LTO-*.patch
|
||||
|
||||
eapply "${WORKDIR}"/firefox-patches
|
||||
eapply "${WORKDIR}"/spidermonkey-patches
|
||||
|
||||
default
|
||||
|
||||
# Make LTO respect MAKEOPTS
|
||||
sed -i \
|
||||
-e "s/multiprocessing.cpu_count()/$(makeopts_jobs)/" \
|
||||
build/moz.configure/lto-pgo.configure \
|
||||
|| die "sed failed to set num_cores"
|
||||
|
||||
# sed-in toolchain prefix
|
||||
sed -i \
|
||||
-e "s/objdump/${CHOST}-objdump/" \
|
||||
python/mozbuild/mozbuild/configure/check_debug_ranges.py \
|
||||
|| die "sed failed to set toolchain prefix"
|
||||
|
||||
einfo "Removing pre-built binaries ..."
|
||||
find third_party -type f \( -name '*.so' -o -name '*.o' \) -print -delete || die
|
||||
|
||||
MOZJS_BUILDDIR="${WORKDIR}/build"
|
||||
mkdir "${MOZJS_BUILDDIR}" || die
|
||||
|
||||
popd &>/dev/null || die
|
||||
eautoconf
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
# Show flags set at the beginning
|
||||
einfo "Current CFLAGS: ${CFLAGS}"
|
||||
einfo "Current CXXFLAGS: ${CXXFLAGS}"
|
||||
einfo "Current LDFLAGS: ${LDFLAGS}"
|
||||
einfo "Current RUSTFLAGS: ${RUSTFLAGS}"
|
||||
|
||||
local have_switched_compiler=
|
||||
if use clang && ! tc-is-clang ; then
|
||||
# Force clang
|
||||
einfo "Enforcing the use of clang due to USE=clang ..."
|
||||
have_switched_compiler=yes
|
||||
AR=llvm-ar
|
||||
CC=${CHOST}-clang
|
||||
CXX=${CHOST}-clang++
|
||||
NM=llvm-nm
|
||||
RANLIB=llvm-ranlib
|
||||
elif ! use clang && ! tc-is-gcc ; then
|
||||
# Force gcc
|
||||
have_switched_compiler=yes
|
||||
einfo "Enforcing the use of gcc due to USE=-clang ..."
|
||||
AR=gcc-ar
|
||||
CC=${CHOST}-gcc
|
||||
CXX=${CHOST}-g++
|
||||
NM=gcc-nm
|
||||
RANLIB=gcc-ranlib
|
||||
fi
|
||||
|
||||
if [[ -n "${have_switched_compiler}" ]] ; then
|
||||
# Because we switched active compiler we have to ensure
|
||||
# that no unsupported flags are set
|
||||
strip-unsupported-flags
|
||||
fi
|
||||
|
||||
# Ensure we use correct toolchain
|
||||
export HOST_CC="$(tc-getBUILD_CC)"
|
||||
export HOST_CXX="$(tc-getBUILD_CXX)"
|
||||
tc-export CC CXX LD AR NM OBJDUMP RANLIB PKG_CONFIG
|
||||
|
||||
cd "${MOZJS_BUILDDIR}" || die
|
||||
|
||||
# ../python/mach/mach/mixin/process.py fails to detect SHELL
|
||||
export SHELL="${EPREFIX}/bin/bash"
|
||||
|
||||
local -a myeconfargs=(
|
||||
--host="${CBUILD:-${CHOST}}"
|
||||
--target="${CHOST}"
|
||||
--disable-jemalloc
|
||||
--disable-optimize
|
||||
--disable-strip
|
||||
--enable-readline
|
||||
--enable-shared-js
|
||||
--with-intl-api
|
||||
--with-system-icu
|
||||
--with-system-nspr
|
||||
--with-system-zlib
|
||||
--with-toolchain-prefix="${CHOST}-"
|
||||
$(use_enable debug)
|
||||
$(use_enable jit)
|
||||
$(use_enable test tests)
|
||||
)
|
||||
|
||||
if ! use x86 && [[ ${CHOST} != armv*h* ]] ; then
|
||||
myeconfargs+=( --enable-rust-simd )
|
||||
fi
|
||||
|
||||
# Modifications to better support ARM, bug 717344
|
||||
if use cpu_flags_arm_neon ; then
|
||||
myeconfargs+=( --with-fpu=neon )
|
||||
|
||||
if ! tc-is-clang ; then
|
||||
# thumb options aren't supported when using clang, bug 666966
|
||||
myeconfargs+=( --with-thumb=yes )
|
||||
myeconfargs+=( --with-thumb-interwork=no )
|
||||
fi
|
||||
fi
|
||||
|
||||
# Tell build system that we want to use LTO
|
||||
if use lto ; then
|
||||
myeconfargs+=( --enable-lto )
|
||||
|
||||
if use clang ; then
|
||||
myeconfargs+=( --enable-linker=lld )
|
||||
else
|
||||
myeconfargs+=( --enable-linker=gold )
|
||||
fi
|
||||
fi
|
||||
|
||||
# LTO flag was handled via configure
|
||||
filter-flags '-flto*'
|
||||
|
||||
if tc-is-gcc ; then
|
||||
if ver_test $(gcc-fullversion) -ge 10 ; then
|
||||
einfo "Forcing -fno-tree-loop-vectorize to workaround GCC bug, see bug 758446 ..."
|
||||
append-cxxflags -fno-tree-loop-vectorize
|
||||
fi
|
||||
fi
|
||||
|
||||
# Show flags we will use
|
||||
einfo "Build CFLAGS: ${CFLAGS}"
|
||||
einfo "Build CXXFLAGS: ${CXXFLAGS}"
|
||||
einfo "Build LDFLAGS: ${LDFLAGS}"
|
||||
einfo "Build RUSTFLAGS: ${RUSTFLAGS}"
|
||||
|
||||
# Forcing system-icu allows us to skip patching bundled ICU for PPC
|
||||
# and other minor arches
|
||||
ECONF_SOURCE="${S}" \
|
||||
econf \
|
||||
${myeconfargs[@]} \
|
||||
XARGS="${EPREFIX}/usr/bin/xargs"
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
cd "${MOZJS_BUILDDIR}" || die
|
||||
default
|
||||
}
|
||||
|
||||
src_test() {
|
||||
if "${MOZJS_BUILDDIR}/js/src/js" -e 'print("Hello world!")'; then
|
||||
einfo "Smoke-test successful, continuing with full test suite"
|
||||
else
|
||||
die "Smoke-test failed: did interpreter initialization fail?"
|
||||
fi
|
||||
|
||||
local -a KNOWN_TESTFAILURES
|
||||
KNOWN_TESTFAILURES+=( non262/Date/reset-time-zone-cache-same-offset.js )
|
||||
KNOWN_TESTFAILURES+=( non262/Date/time-zone-path.js )
|
||||
KNOWN_TESTFAILURES+=( non262/Date/time-zones-historic.js )
|
||||
KNOWN_TESTFAILURES+=( non262/Date/time-zones-imported.js )
|
||||
KNOWN_TESTFAILURES+=( non262/Date/toString-localized.js )
|
||||
KNOWN_TESTFAILURES+=( non262/Date/toString-localized-posix.js )
|
||||
KNOWN_TESTFAILURES+=( non262/Intl/Date/toLocaleString_timeZone.js )
|
||||
KNOWN_TESTFAILURES+=( non262/Intl/Date/toLocaleDateString_timeZone.js )
|
||||
KNOWN_TESTFAILURES+=( non262/Intl/DateTimeFormat/format.js )
|
||||
KNOWN_TESTFAILURES+=( non262/Intl/DateTimeFormat/format_timeZone.js )
|
||||
KNOWN_TESTFAILURES+=( non262/Intl/DateTimeFormat/timeZone_backward_links.js )
|
||||
KNOWN_TESTFAILURES+=( non262/Intl/DateTimeFormat/tz-environment-variable.js )
|
||||
KNOWN_TESTFAILURES+=( non262/Intl/DisplayNames/language.js )
|
||||
KNOWN_TESTFAILURES+=( non262/Intl/DisplayNames/region.js )
|
||||
KNOWN_TESTFAILURES+=( non262/Intl/Locale/likely-subtags.js )
|
||||
KNOWN_TESTFAILURES+=( non262/Intl/Locale/likely-subtags-generated.js )
|
||||
KNOWN_TESTFAILURES+=( test262/intl402/Locale/prototype/minimize/removing-likely-subtags-first-adds-likely-subtags.js )
|
||||
|
||||
if use x86 ; then
|
||||
KNOWN_TESTFAILURES+=( non262/Date/timeclip.js )
|
||||
KNOWN_TESTFAILURES+=( test262/built-ins/Number/prototype/toPrecision/return-values.js )
|
||||
KNOWN_TESTFAILURES+=( test262/language/types/number/S8.5_A2.1.js )
|
||||
KNOWN_TESTFAILURES+=( test262/language/types/number/S8.5_A2.2.js )
|
||||
fi
|
||||
|
||||
if [[ $(tc-endian) == "big" ]] ; then
|
||||
KNOWN_TESTFAILURES+=( test262/built-ins/TypedArray/prototype/set/typedarray-arg-set-values-same-buffer-other-type.js )
|
||||
fi
|
||||
|
||||
echo "" > "${T}"/known_failures.list || die
|
||||
|
||||
local KNOWN_TESTFAILURE
|
||||
for KNOWN_TESTFAILURE in ${KNOWN_TESTFAILURES[@]} ; do
|
||||
echo "${KNOWN_TESTFAILURE}" >> "${T}"/known_failures.list
|
||||
done
|
||||
|
||||
PYTHONPATH="${S}/tests/lib" \
|
||||
${PYTHON} \
|
||||
"${S}"/tests/jstests.py -d -s -t 1800 --wpt=disabled --no-progress \
|
||||
--exclude-file="${T}"/known_failures.list \
|
||||
"${MOZJS_BUILDDIR}"/js/src/js \
|
||||
|| die
|
||||
|
||||
if use jit ; then
|
||||
KNOWN_TESTFAILURES=()
|
||||
|
||||
echo "" > "${T}"/known_failures.list || die
|
||||
|
||||
for KNOWN_TESTFAILURE in ${KNOWN_TESTFAILURES[@]} ; do
|
||||
echo "${KNOWN_TESTFAILURE}" >> "${T}"/known_failures.list
|
||||
done
|
||||
|
||||
PYTHONPATH="${S}/tests/lib" \
|
||||
${PYTHON} \
|
||||
"${S}"/tests/jstests.py -d -s -t 1800 --wpt=disabled --no-progress \
|
||||
--exclude-file="${T}"/known_failures.list \
|
||||
"${MOZJS_BUILDDIR}"/js/src/js basic \
|
||||
|| die
|
||||
fi
|
||||
}
|
||||
|
||||
src_install() {
|
||||
cd "${MOZJS_BUILDDIR}" || die
|
||||
default
|
||||
|
||||
# fix soname links
|
||||
pushd "${ED}"/usr/$(get_libdir) &>/dev/null || die
|
||||
mv lib${MY_PN}-${MY_MAJOR}.so lib${MY_PN}-${MY_MAJOR}.so.0.0.0 || die
|
||||
ln -s lib${MY_PN}-${MY_MAJOR}.so.0.0.0 lib${MY_PN}-${MY_MAJOR}.so.0 || die
|
||||
ln -s lib${MY_PN}-${MY_MAJOR}.so.0 lib${MY_PN}-${MY_MAJOR}.so || die
|
||||
popd &>/dev/null || die
|
||||
|
||||
# remove unneeded files
|
||||
rm \
|
||||
"${ED}"/usr/bin/js${MY_MAJOR}-config \
|
||||
"${ED}"/usr/$(get_libdir)/libjs_static.ajs \
|
||||
|| die
|
||||
|
||||
# fix permissions
|
||||
chmod -x \
|
||||
"${ED}"/usr/$(get_libdir)/pkgconfig/*.pc \
|
||||
"${ED}"/usr/include/mozjs-${MY_MAJOR}/js-config.h \
|
||||
|| die
|
||||
}
|
Binary file not shown.
@ -0,0 +1,4 @@
|
||||
DIST aml-0.2.0.tar.gz 20358 BLAKE2B 4be63726ea9069cbfe36fbf04e3a0b2229066d7df039aea1a41fdca27700d012fda9eda348115f8c0ef9d3f201640123722d0b96bc7b171841d920357a292152 SHA512 196cd891fdbaad47340d8b4ca9eb62a7f9e6b0969ae9ad744a3c9ea110a532691d53a1e39fde583bad0f8fdae4b51c3a4243bbdab65e952e5fc79ceb6efc3262
|
||||
EBUILD aml-0.2.0.ebuild 535 BLAKE2B 3ab2c148d97b733405e6ae622681e48834944564f0fcb7306337938440205765c1c45d16e9dfbddcd9f9dc85d99a0c093090fd4d45e3647e6b3f869a673774be SHA512 ee09a25d9331fe35d9f867780b05aadc03f18fa53ebb70fd69f6782e187dc7829f1112366b198fdbfb810147de3498ca3c4a3570caab942551f506a0925b018e
|
||||
EBUILD aml-9999.ebuild 535 BLAKE2B 3ab2c148d97b733405e6ae622681e48834944564f0fcb7306337938440205765c1c45d16e9dfbddcd9f9dc85d99a0c093090fd4d45e3647e6b3f869a673774be SHA512 ee09a25d9331fe35d9f867780b05aadc03f18fa53ebb70fd69f6782e187dc7829f1112366b198fdbfb810147de3498ca3c4a3570caab942551f506a0925b018e
|
||||
MISC metadata.xml 432 BLAKE2B 5b98c6e8af0056d63f5ff10ebb335363aa9b6da251232aadc738cf7156ddb15727893eedb55b590caa9f1f019fe28f1651708bc1b6c43ae2cead800047c3949e SHA512 81e7bc6d24d13b710c844244b70d139128ffa73661856882a5493e26e12bad78e87f494ef9ba838635087b3f5fffebb375df2468af4a9985fd9ebff876178392
|
@ -0,0 +1,28 @@
|
||||
# Copyright 2020 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
inherit meson
|
||||
|
||||
DESCRIPTION="event timer executor loop"
|
||||
HOMEPAGE="https://github.com/any1/aml/"
|
||||
|
||||
if [[ ${PV} == 9999 ]]; then
|
||||
inherit git-r3
|
||||
EGIT_REPO_URI="https://github.com/any1/aml.git"
|
||||
else
|
||||
SRC_URI="https://github.com/any1/aml/archive/v${PV}.tar.gz -> ${P}.tar.gz"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
fi
|
||||
|
||||
LICENSE="ISC"
|
||||
SLOT="0"
|
||||
IUSE="examples"
|
||||
|
||||
src_configure() {
|
||||
local emesonargs=(
|
||||
$(meson_use examples)
|
||||
)
|
||||
meson_src_configure
|
||||
}
|
@ -0,0 +1,28 @@
|
||||
# Copyright 2020 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
inherit meson
|
||||
|
||||
DESCRIPTION="event timer executor loop"
|
||||
HOMEPAGE="https://github.com/any1/aml/"
|
||||
|
||||
if [[ ${PV} == 9999 ]]; then
|
||||
inherit git-r3
|
||||
EGIT_REPO_URI="https://github.com/any1/aml.git"
|
||||
else
|
||||
SRC_URI="https://github.com/any1/aml/archive/v${PV}.tar.gz -> ${P}.tar.gz"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
fi
|
||||
|
||||
LICENSE="ISC"
|
||||
SLOT="0"
|
||||
IUSE="examples"
|
||||
|
||||
src_configure() {
|
||||
local emesonargs=(
|
||||
$(meson_use examples)
|
||||
)
|
||||
meson_src_configure
|
||||
}
|
@ -0,0 +1,15 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<maintainer type="person">
|
||||
<email>gentoo@aisha.cc</email>
|
||||
<name>Aisha Tammy</name>
|
||||
</maintainer>
|
||||
<maintainer type="project">
|
||||
<email>proxy-maint@gentoo.org</email>
|
||||
<name>Proxy Maintainers</name>
|
||||
</maintainer>
|
||||
<use>
|
||||
<flag name="examples">Build and install examples</flag>
|
||||
</use>
|
||||
</pkgmetadata>
|
@ -1,6 +1,8 @@
|
||||
AUX libofx-0.9.15-docdir-nothanks.patch 539 BLAKE2B 816194bff853bfec0cee811a2906a3c09143e79f3935e66f3ea7693bb7a8befc8a3e23bfa82cf612a928a4417554ccb42bfefa6885230fe33f27177d85d364c0 SHA512 819941c94e9c6ed393f3224d70a0905bd58d6d30d7b9f5fff68554f0d22030be9b170b44542fd70c7d6bbe3b3e2ee011cbe286e72d6b4bab2f05a3d1610cf0c1
|
||||
DIST libofx-0.10.0.tar.gz 225574 BLAKE2B 29ce24ce8f0a333e2d35371cba217223e59e72e1f41051279c15033fecd5f33d7381e9be8403f2e639c007ca6aca1d53cf651e057c9842350772c2296b92c436 SHA512 b7767088701e22a2eba072c365d379987c6e9b2403888550068d6f62f48eaee7935e5355fa6ec97ac7a79bb847c833552250c0bd3065f9274b209585a7884f1d
|
||||
DIST libofx-0.10.1.tar.gz 226512 BLAKE2B bc0fa1ea0d5c7968730b50b9163a045304dd82f7e312e407ce9393a56ea6b1f9d47382b1299ee990640b98d5f047656aa38a9a8da4d8f19d3bea0236e0487cf1 SHA512 4575424abb56b93021ef223f90460979b544c32b4624936bbad16d0b5711afb6b5fa31b7c2cb835ff7a26be8c7ac51951198e5565a098713b8d33f0e17be774a
|
||||
DIST libofx-0.9.15.tar.gz 207361 BLAKE2B c84fd4593a9888268c691653dc1b5fff5c38013f12ccc4a8454f9a5026ba190388e5747074aa800266efcfd49a0fdb391a605d5837f664bdcb8fe1dc5c064839 SHA512 6014bf9c457adbe9053a47718064e6246c911c3bf081c690bf761650220208aabe94824aaa38794c1834462894b7948a06b3ff6b517a9a84b9f881ba51aee3a1
|
||||
EBUILD libofx-0.10.0.ebuild 1140 BLAKE2B 9afd641e07b3f052c83296611ecdebcb335c20e1fa7b0dcccbb6d9129bb154caeacdbc3858b6224a454c668d4034a431ddadc2d28076bd7e50536731262a9904 SHA512 dccb49c1e6b018c086cee1bf22f1b6a791bb6208fc65987eb141e9c9e563f6a24db3c7b915c760f924ecbc2f1c56c23f10fd827f210e7d25c95cf0b411adca5d
|
||||
EBUILD libofx-0.10.1.ebuild 1139 BLAKE2B ce0b6add11e48fb4edc08adc1d56b6974a59db3a7014dcb67948c61fb82de3d28505bbc07d8ed9bd5e0b0d3d92cea9b8c5523497c7519bf621da340ab74e692c SHA512 371bd2461f295ce466aa47c1e8a7349b26366751949de08f0db045915e7d6a582542fafd6c4770d7d5e3a4c3b8a5645a1740305fc54ae45be4609361fcd8f49d
|
||||
EBUILD libofx-0.9.15.ebuild 1037 BLAKE2B e8dfb36676b66ea17433f2a5320c74946f42def29eb972668dc388b58f4b25bcd410e57efcbf61b7a860a35d652ece28f955ec41a38f5dc41538b1623f03189f SHA512 9c18d1650b0c2ff2cc822dae6de12d64d2315cf489669df5c8cce8547eacc61ab700a1d530fa81dc3e900dcef90fb3277deba661873b7e4170d2c8fa082870e9
|
||||
MISC metadata.xml 243 BLAKE2B 1611cb7b6df68e87374031fa563dcb5388243c0df9537b81e1c53f05cc297789e1f4d178edbbc8906af7a6b0ec549aae225662f87df1d48dc4a6fa2cc2c703c0 SHA512 fc5071bd581b91f72ea6f021641f47d46d1e6038cac7bd34bc13d94e6229441e3b2f7cdd981490a169d7e645339fe4137496a0eb0956014027ffd42a5b9814a8
|
||||
|
@ -0,0 +1,57 @@
|
||||
# Copyright 1999-2021 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
inherit autotools flag-o-matic
|
||||
|
||||
DESCRIPTION="Library to support the Open Financial eXchange XML format"
|
||||
HOMEPAGE="https://github.com/libofx/libofx"
|
||||
SRC_URI="https://github.com/${PN}/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0/10"
|
||||
KEYWORDS="~amd64 ~arm64 ~ppc ~ppc64 ~x86"
|
||||
IUSE="test"
|
||||
RESTRICT="!test? ( test )"
|
||||
|
||||
BDEPEND="
|
||||
dev-util/gengetopt
|
||||
sys-apps/help2man
|
||||
virtual/pkgconfig
|
||||
test? ( app-crypt/gnupg )
|
||||
"
|
||||
RDEPEND="
|
||||
>app-text/opensp-1.5
|
||||
>=dev-cpp/libxmlpp-2.40.1:2.6
|
||||
>=net-misc/curl-7.9.7
|
||||
virtual/libiconv
|
||||
"
|
||||
DEPEND="${RDEPEND}"
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
|
||||
# Not included in the tarball
|
||||
sed -i -e '/INSTALL/d' Makefile.am || die
|
||||
# Use correct location for docs
|
||||
sed -i -e 's:doc/libofx:doc/${PF}:' Makefile.am doc/Makefile.am || die
|
||||
|
||||
eautoreconf
|
||||
append-cxxflags -std=c++14 # bug #566456
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
econf --disable-static
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
emake -j1
|
||||
}
|
||||
|
||||
src_install() {
|
||||
default
|
||||
|
||||
find "${ED}" -name '*.la' -type f -delete || die
|
||||
find "${ED}" -name '*.a' -type f -delete || die
|
||||
}
|
@ -1,3 +1,3 @@
|
||||
DIST libtomcrypt-1.18.2.tar.xz 2638064 BLAKE2B fad67e9e2a2002425488db9987a853bda631d6638c2cb1052a1d0d1f393945e38037cc75c54cd3a4bf87bb2e13b1e868e81da054a84bbdb393519ddef5e27300 SHA512 f6117a12a42b07f8de4a8aedbccf6ff4ee94b4b81cb7263af99627c32eae646ca8ead7d3063737918db4aa118673001fcf2cfa8e4ca8b528fb00045fda7cc893
|
||||
EBUILD libtomcrypt-1.18.2-r2.ebuild 2783 BLAKE2B c44830f763bf001206da8a8931b6a94b3cb1a3b644c13457787f08fd856e9f9d1663e26ca879533463b25684321595d1963dbb65e6f481b8b6e18dfb48b0a712 SHA512 4ef91f6d20961466f84f2b42d932b139ec16719a3e6d4cab53e9f5d080bc9af48501ea2902a642194f2666a0608bbf1d189ce8b91e92a9a88be99a8b67643379
|
||||
EBUILD libtomcrypt-1.18.2-r2.ebuild 2778 BLAKE2B ed69c9b1e917c2daefa0bb1b285be53eca86c36366c4d4c29c306088791769d5cf18dff81316561da243f794e42fa705f07d621e096fd5b4e529e5f46dd2f561 SHA512 1fae4b635128142e399e4a14b95b0ca5eaf582503e17ca2edc85e4c6c1f8cadecb57df9c1334c3611a0c9a1665fbe9ed7e6545949166fdbc274f3a8141bdfba6
|
||||
MISC metadata.xml 643 BLAKE2B e66df23ddfeb04650dfa8c4cbd7d6e6a1816164fd0cac86dba9990610b672957c5ff7b6e83a17f8b6c19f75d1f50a1b448b8b618058510b8d6f54259ad451822 SHA512 7517fc02844cd6b9a9801b371c2c8faf9626dded317ad610af234cd89078221be021acb9da66f9078bb4b754a5e2f1b5efcbca2ccb1ef5c58afd8cf925e7a44e
|
||||
|
@ -1,4 +1,4 @@
|
||||
AUX log4cplus-1.2.0-fix-c++14.patch 897 BLAKE2B c4067272e84b2e442ef61c5468734ee985a9931171e7651242e79029dd6c5c6a9aae03fb9aa9a3ec9c1d391763c7acc7d57c794904636a261b2ebefda4986fe4 SHA512 9771a43add0af52417d67f54c991d637928d5f8340e90a786f2e9714cbc206e4ce6e7cc55face0f2ed0ed2c34e0a52bd922fa11978b85ffa48f02235df7c2de9
|
||||
DIST log4cplus-1.2.0.tar.bz2 629119 BLAKE2B f1b4629f7b6184b3f34f9d702c17487e113548cba46f5a25bb0f4972d7f3ce207310b25c94abea8cc1360591f7d0ac3d466075e584f25ce1968fee9d5b5c543a SHA512 2c3f16645051a230f9ec9a6ac689421efc4b51d5f40cb772e552bd199d2ad13c39d7e577cc63d51617555941412da166a6cda8861ee219154a953d9926aae626
|
||||
EBUILD log4cplus-1.2.0.ebuild 1694 BLAKE2B 340c3692251fa5c3f6bc599d9ad09499ad3f1cd3b386250b9ec1e0654601cb06a821d7b9a8d3d5c82203cec311ed96de369a1d8dc86df868e57c0cb2837f0d6f SHA512 53e26bee2d74886fc176c7b793ae8ffc672f435bd856a62a4a1915ddf576c0c5924a05834c15e5dc66d111a4c9a877f6619f5411adc5147d133a3575d95a63d3
|
||||
EBUILD log4cplus-1.2.0.ebuild 1699 BLAKE2B e6028b3be7ce72af358501e817d9dd658435feebd2782f07dd3251beea841be737086d23bdb6bee2910f73db964f49ab457190da4af851d2878c2712ae141261 SHA512 39147130c61edf442f7645880ce9aded1389a192711b5a740ae31a30bafb4b6b7b457bda87d5d884f29952ae64daf217a11ba87bf9665501064374ffea346baf
|
||||
MISC metadata.xml 749 BLAKE2B 896a9b8fb91d74d3ddcad1b2d775ad65cb0de33a16961fd96096ba7ab59cf624a83a01c13f1263f17eaeb8ee578474fe067ac1e13d2a0f991b1988081c325ce5 SHA512 9fd7d13a36875f50fa784dd61b775cda0834d8e76302b9e6a6fec6e843131b869831ce4d9eb5c93c6b3eb1c58bf3514b4d5b6c3ac9bf70c95cd877d28b29fa96
|
||||
|
@ -1,5 +1,7 @@
|
||||
DIST serd-0.30.10.tar.bz2 586386 BLAKE2B 7f84b425a9eed36c5b59b22b8fd2cb9139a3de2bd1a47f92fd9888c433d931dcf83f13c2460d821c04f4244a79aa4330ba973017508ecb5f4564e78ae45b9b9a SHA512 ed7b49abfd3dc3a724b047f5f0cd07b811596330c96d91c0ce90540440f03260e05daee76c3ccccc3d4ca39afbbd4f3d07decbb601730e90c133a09c640c0006
|
||||
DIST serd-0.30.6.tar.bz2 609365 BLAKE2B 35a86847642ffe806797ae8dbcd292ce26f08135edfa3b1fd39652f8964c35d73dba8f8627f32dcff399e9cddc332e5484f14a80580a32d52d93977cd9b42912 SHA512 db08d6c67d8627728679d0ed3770b8219a58f3eef82194ef8ba5682d3ff1f1033e2bbc8d6a1115a3fe0e32990f635c707a81ad8b4f457153fa78ff5991c9c30f
|
||||
DIST serd-0.30.8.tar.bz2 590817 BLAKE2B 31a485fccfb13e54e124cde0626ad16f3cc7f9c1f8d8c051ace7a98bd2bd5d6a2d159943f15f5734e028a31ce5eeea9d602f55bf6cf1277d532ae799e0c1895f SHA512 d12c4dea1a15b2aed9fb9d640affae23a4fbfb53b7f873af30b462ce96f3c22ee464f5b111f87a221e6ac51f4885c23bba023892331ab10d0a8aa0e27fcbd0fa
|
||||
EBUILD serd-0.30.10.ebuild 1169 BLAKE2B 43226b49e439c519f54ea05740f26f2abceed36b54fd7528214f6ab03e7e6c0fb896a21b3eeb524ea65ae022896053ad001eaabfd5b594fb73940d032a0c1655 SHA512 f691d8cd6334d49f1f99b8c443b11e649701c5a735875484a756508a714868ed44949af11856bb301a30dd8943a821bb7247f6b4407d0d5a6d6a9a93f4e5b61b
|
||||
EBUILD serd-0.30.6.ebuild 1150 BLAKE2B 6b9b3acdc7f5a7526372c734ea4c387bc0d6dc3ceb96d640195d92e327c5063d70ac0836dc642a4a7837f2e366aa63d976d879f3466ef295cffd00eab37e677a SHA512 d0e51f23f55c53a3259476a8e6fcab1e253f358b209303cf62670eeabca7b69139921cc6437c91dbdd3f0f0aaec87b0a8500fae6cd1aa7d8bc73d305f334885e
|
||||
EBUILD serd-0.30.8.ebuild 1169 BLAKE2B 43226b49e439c519f54ea05740f26f2abceed36b54fd7528214f6ab03e7e6c0fb896a21b3eeb524ea65ae022896053ad001eaabfd5b594fb73940d032a0c1655 SHA512 f691d8cd6334d49f1f99b8c443b11e649701c5a735875484a756508a714868ed44949af11856bb301a30dd8943a821bb7247f6b4407d0d5a6d6a9a93f4e5b61b
|
||||
MISC metadata.xml 658 BLAKE2B 5495f0e6022b9cb312b6079c970bbfe0caa8cd865c5109a8dfba32b6937a1e19c928a3c424fd257140e38d19717e686b59d649f07354b7d8e88d3d431472803c SHA512 e0718eccdfc18ca985b902aa0592c733205a74f5c0c0d8d295a12343d0ef61b96cda9955b2a45832273becae62d74b251ce59b8123aa95f6196b1e75897395c1
|
||||
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in new issue