parent
1cb7590e07
commit
bcd2a92da3
@ -1,23 +1,23 @@
|
||||
-----BEGIN PGP SIGNED MESSAGE-----
|
||||
Hash: SHA512
|
||||
|
||||
MANIFEST Manifest.files.gz 29598 BLAKE2B 917d6b22262434287a189859a2b6bc1449ddc44bb6cf5392213af04486bc8da35a1bab751eadc3fb270fd01447e98179f7c4fec964d4c4bdc189534d4373a91c SHA512 a4d7650deac9ff48b1f708fed0eb94b9699fbbc39d1d306e78d556578a2674d874d56e4314e2956bc5dfb34523ac00670a0ef1a666bc54a885ec6a52fa982ad3
|
||||
TIMESTAMP 2022-09-06T19:09:58Z
|
||||
MANIFEST Manifest.files.gz 29589 BLAKE2B 3af7d4b46effe128189169e782c34dce7cdb53a77c0f833a0c8c86faa8fb34e068c2b74bb4346800037eac626dcef219adfe7c415d3c43a7f3a3ee7a765ca913 SHA512 5996b37388afcf90cc887d7ba77df1564e07b20dc5d745d0c4ab6c325a9c0d65d0cf80dbdf94b2d1ae1057cf9cf7ed77d09f8dc4d8cc123660888cf76727924f
|
||||
TIMESTAMP 2022-09-09T15:10:04Z
|
||||
-----BEGIN PGP SIGNATURE-----
|
||||
|
||||
iQKTBAEBCgB9FiEE4dartjv8+0ugL98c7FkO6skYklAFAmMXmwZfFIAAAAAALgAo
|
||||
iQKTBAEBCgB9FiEE4dartjv8+0ugL98c7FkO6skYklAFAmMbV0xfFIAAAAAALgAo
|
||||
aXNzdWVyLWZwckBub3RhdGlvbnMub3BlbnBncC5maWZ0aGhvcnNlbWFuLm5ldEUx
|
||||
RDZBQkI2M0JGQ0ZCNEJBMDJGREYxQ0VDNTkwRUVBQzkxODkyNTAACgkQ7FkO6skY
|
||||
klDmQg//ZpDahiz9lY0HmfAG21GmJ8ySGw66bZ6BurMM8/S3sQCxDeWHMyxPhQKg
|
||||
XRaw+EsS0jNOoZRe8NCNs5yJRwXltd0j6jNLh4DfdC5Kz8EIIcqt0SIkmnmC8GBI
|
||||
5KKtK3jTwAKFcABcM8tlfMjPw6g3i9/GlE5+w12W48tulkqpwgSCngLkw2wpMyZ0
|
||||
9xcSqv/iTEws7H4YTaBSZ5lI9p6J5Y1PMSUNRVT3/lRGgZFflhBkKcm2yxcJlUGW
|
||||
VjFVPpXDNQ0Alov8Nieo5YjOu5PTMFUTvBL6G8hKKwmDHrpB2GhPMhU8okyzlCXh
|
||||
GMAYRxFzQXp18C5m+o38aoTJ4R296NB1wVNcK+g0hfBsKdyztcNgFCnrfHU9qUHR
|
||||
4+vGdkL019tY/YBAcMxB0fXJalxiGpjPMOZibNFsgn8mc3eAW9x8AKw9tlXuzea9
|
||||
YcdkGrCszJUuX+4yzkbNUU5XRBExGKwg8YE99rdXuoK8xe7VPwNtPnKuJdcvK8aT
|
||||
AY1fuH6uOTLsOx7hHG8i2m+vKw8zgk9LFpw+3kE+ivAduztawoMVe5qHaSiB5/lL
|
||||
kzZd0qSid3WrQP8HCML0fbnWiZkfzis5Pg5EHUB0KwSSlrr9suYPjEAkzwGmUIJ7
|
||||
RTgh/IDYSy36rr4dPED2wFYCpg8Q8VsLJJ1X6kqTvAag7yuHpZM=
|
||||
=DoY7
|
||||
klA3cw//WPn+M7iVYBr+eN5thSc58D7gj4PKoSgBAMpGtmO7ezEBeqphxxLIgvzY
|
||||
UP9BkHIzD1QkXO3yvZMGWtfSrxx+LgQK/vjZYyjytJ/eAvDsh1LC4HknYTYUnxhe
|
||||
MlFeH1h9xOo5RbQ+jpv50JvNIK8nhO5DHOsiXHeBxKsf0LJ614SxOEmqaU1CKk5m
|
||||
bKKDG75E2Du8w0Vco+pEqd2HL0Tw9njinhQosxu+56VqvxaP1xfSpDInVgpNzQrL
|
||||
Gbripv9hcAoW3NIsWIcd7iBC5g+mS5owOxVOE0XC3ohCiqbT0wvGtJvhqCOYY+JN
|
||||
tGzx2eH3Fl7mHfEa/CTIgyOHeyIHp9kMYp5DINdAokGPwNb4/vYR2rE6MnLRO8OJ
|
||||
6PIgkhyGIrJxuuhufShDLUUtcjQr5Tz+2AB7amLwxk3lYS85cOgNntqqweejAOHn
|
||||
cHHyhdFAdUkrLpQNVOGN3NuvGAZKRPLBbgWNXM03DtOubK9KsaPZgO33q//PWOH3
|
||||
msG02y0CQXu2Dsde/MNsoWtIc+MOJmG5iQ/xPamHuwncQCsLCxHDsDVP9jz2GfQ4
|
||||
g3bX9CbfUVLdL5QOS4MspzsvHzkv7x5HU3oazHEBpsAEPfKPDANGw9t4EcIuGukp
|
||||
9pBfXLiG3f9kUoSoVXy/WO21rCRmE4LhMj2mFIYr70YgGSePg6M=
|
||||
=Ywbz
|
||||
-----END PGP SIGNATURE-----
|
||||
|
Binary file not shown.
Binary file not shown.
@ -1,5 +1,5 @@
|
||||
DIST accerciser-3.38.0.tar.xz 2006380 BLAKE2B 8a073e3a933386c9ae46d71535a3a49930bf8100d1458ac1875e1bcb69acc13e2331ac568c566ec6b8fe8ff9836155cc2ff20558de0e21942a29a568ff916fa5 SHA512 5740e4acfb00f5842dac8045ca9f10c85cf2ae164f3e0caf63ec303ff104002ace6de591a9b6516c4052ec0da8e48b394647f018b6c8b68a6c5ff77c4fff2904
|
||||
DIST accerciser-3.40.0.tar.xz 1991256 BLAKE2B adcaa37b64d91cf4348fdd1b15d22aa977585c2c9d3ad81b41c7711f82ce010c7b75a44de6ec780fbbdadacad856a1f15b4f492971f5a7acfcea0568f0edc2df SHA512 78a7ce4a69de9a237c75b8df25665c8e9e8173969fb146cb608f4b51ff042c3abdcd49225f8f420c1c1bfab3736a8607eb6b555106c8a1e6e3399c83bad8f198
|
||||
EBUILD accerciser-3.38.0.ebuild 1158 BLAKE2B cb28c08e7fe5bf3c0e4ac4581213b514b95b94a84afa009f1d90f2f6e292b90e2957d5c39a9a067482b61f6ca35097ced5aec955a89b50d944e6b5bcbe4d1313 SHA512 401f708586e5c577dc88feb483df3ae32dd082dda794707ca7f97ca8b9b42688b29d2cf5711323424a1f1c60aa330b565abd6edbdd5bdfcf399730250e420259
|
||||
EBUILD accerciser-3.38.0.ebuild 1161 BLAKE2B 7ea8c57078d7a1e05600670bb95ba181485febdb84afceeba4299c6f516b77747435affded29de66b7bbf5addaec8ae0fc5eb0acf2e05ae01c88f23f2b58d699 SHA512 c7b3019c609be607b854a84bc9c4a5d9e03f9439d1054a3c58598cff7cface6332178d2105a45ecdc32d586ce2b37f8be11720e446aee71f9793a5c612d7678b
|
||||
EBUILD accerciser-3.40.0.ebuild 1197 BLAKE2B 3ae387b47d295830765c641f057c2405fad81b0d66019697559706f67d407eff8c39751ebc03f00b55e427b7007f63770ad3eaabce912a328994b6ba1e45c695 SHA512 6f2c083de65696ec1311e1546ea1383699865338f2dfc6126788b1be70dab714ef04dadec7346ba2490276b7cdc70bbf9c9032ef999fb66897b2c04155133979
|
||||
MISC metadata.xml 739 BLAKE2B 53c924112bba4cb103ab71fe76132876ae0da30ec1fca8606f065166f7cd4d12b3f752bdaad19414d5dd8ba9896ca2e82d5103b0708fb3a825286eb8c97632aa SHA512 b9d7907c03c3688cdf61f6ddbe887a2507bfc0eb19dfd47a8d07130c77d76d694122bb3ad84e24894fab2b3412c80320d8ffad86be830bda0021f0a3440b906c
|
||||
|
@ -1,5 +1,5 @@
|
||||
DIST kontrast-22.04.3.tar.xz 125860 BLAKE2B 78b87ebfb0958ce7bf2abf7a70ada000f959aa2cd648ebaf70ffef5500458bf1f9c42433176caa1ac29ab5b0ed51452092c796f679d7c56e4188e2a746169a05 SHA512 e77b2b129f115d2cf319a2a5f6b56bc576c00c506b542cc6239098245da17b966a71caf05f0868af7d5f3807be033bfc552b9fd1856046889363d1012bf13efe
|
||||
DIST kontrast-22.08.0.tar.xz 127248 BLAKE2B c052c8b011eca195af78b9d58ee654a5655e85b7b3e79c36b53d2065ee318724b1cc4d3cca20a8f39f2fa0c08025e9421f480f79d1e010452c858943aa32fe12 SHA512 d433f1ad0c8fad901352cdf5552304106f8dab033c012bbed95e7f9badda7deb3772fc941d771097508a090af8224a2521a81b3fb9b8e20e348c748de4a45802
|
||||
DIST kontrast-22.08.1.tar.xz 127276 BLAKE2B 6b9ebc2fe44a6ff3b67afe34b195565f2ab8ec61b503fb9109789f152569a640d7fbd52c767251d02583c03cdd485f18308cbfff475ccadd3da28a5e9a000e63 SHA512 06f55d42a15ae632770f483486cb2848e91db1b5fbb89f5670e9413c39c9361019dac7bd5847fea43b48aa3b9e45d4a6d0943fc76d78722616bc94c881ad5776
|
||||
EBUILD kontrast-22.04.3.ebuild 759 BLAKE2B 5e70eafefd14497c535c3849785872c5c1ee073f7b61cdcae91f6b193ea5fff68b2c45521f66dfe5def1eaa00e7c28d39f9c48b3ee19c4868903c396f275ee86 SHA512 7a87d833edc3df966fd44552ab5c25f5589ffd27e11180af8f4750bac84658c69fa906d5699c3f0b2c9bd9e46738a6744c41e3a10800b89f0387167dbead6928
|
||||
EBUILD kontrast-22.08.0.ebuild 762 BLAKE2B 376cfb5e4bf71527539072b10e92e6d3f85bca4e54a69fa786c1abe561218d7896f1a837244d3560c0bae3b7843aba05eeb7fcaf7e2a7c8914dd63db4e3e2aa0 SHA512 df1a4a83b58625e7714d59be1b22818568f842f6e3ea94d503de5be47e09a3a74bcac55313434c6ec3700c97f5281f7163f06dee10e14082e9897420374296e3
|
||||
EBUILD kontrast-22.08.1.ebuild 762 BLAKE2B 376cfb5e4bf71527539072b10e92e6d3f85bca4e54a69fa786c1abe561218d7896f1a837244d3560c0bae3b7843aba05eeb7fcaf7e2a7c8914dd63db4e3e2aa0 SHA512 df1a4a83b58625e7714d59be1b22818568f842f6e3ea94d503de5be47e09a3a74bcac55313434c6ec3700c97f5281f7163f06dee10e14082e9897420374296e3
|
||||
MISC metadata.xml 318 BLAKE2B 922a5e32e706b2976c5f359a14194d268d3f499398576c80ce5fad8c0fcea0fbf048de4480a80a6a1889c88b8b6c14147654a3ab4d5ffbcc258c2290da63f6d1 SHA512 614cb8dda7ad2088e5d6ef39b449bb4be0ac72cd0231c320188d76d1816dce6490c5114bb4798112c4b11d99d30a9e82ff8fcf08ffa8c049589682a5e38208f6
|
||||
|
Binary file not shown.
@ -0,0 +1,72 @@
|
||||
# Copyright 1999-2022 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
DISTUTILS_USE_PEP517=setuptools
|
||||
PYTHON_COMPAT=( python3_{8..10} )
|
||||
|
||||
inherit bash-completion-r1 distutils-r1 multiprocessing
|
||||
|
||||
MY_P=aws-cli-${PV}
|
||||
DESCRIPTION="Universal Command Line Environment for AWS"
|
||||
HOMEPAGE="
|
||||
https://github.com/aws/aws-cli/
|
||||
https://pypi.org/project/awscli/
|
||||
"
|
||||
SRC_URI="
|
||||
https://github.com/aws/aws-cli/archive/${PV}.tar.gz
|
||||
-> ${MY_P}.gh.tar.gz
|
||||
"
|
||||
S=${WORKDIR}/${MY_P}
|
||||
|
||||
LICENSE="Apache-2.0"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~arm64 ~riscv ~x86"
|
||||
|
||||
# botocore is x.(y+2).(z-1)
|
||||
BOTOCORE_PV="$(ver_cut 1).$(( $(ver_cut 2) + 2)).$(( $(ver_cut 3-) - 1 ))"
|
||||
RDEPEND="
|
||||
>=dev-python/botocore-${BOTOCORE_PV}[${PYTHON_USEDEP}]
|
||||
dev-python/colorama[${PYTHON_USEDEP}]
|
||||
dev-python/docutils[${PYTHON_USEDEP}]
|
||||
dev-python/rsa[${PYTHON_USEDEP}]
|
||||
>=dev-python/s3transfer-0.6.0[${PYTHON_USEDEP}]
|
||||
dev-python/pyyaml[${PYTHON_USEDEP}]
|
||||
!app-admin/awscli-bin
|
||||
"
|
||||
BDEPEND="
|
||||
test? (
|
||||
dev-python/pytest-forked[${PYTHON_USEDEP}]
|
||||
dev-python/pytest-xdist[${PYTHON_USEDEP}]
|
||||
)
|
||||
"
|
||||
|
||||
distutils_enable_tests pytest
|
||||
|
||||
src_prepare() {
|
||||
# do not rely on bundled deps in botocore (sic!)
|
||||
find -name '*.py' -exec sed -i \
|
||||
-e 's:from botocore[.]vendored import:import:' \
|
||||
-e 's:from botocore[.]vendored[.]:from :' \
|
||||
{} + || die
|
||||
# strip overzealous upper bounds on requirements
|
||||
sed -i -e 's:,<[0-9.]*::' -e 's:==:>=:' setup.py || die
|
||||
distutils-r1_src_prepare
|
||||
}
|
||||
|
||||
python_test() {
|
||||
# integration tests require AWS credentials and Internet access
|
||||
epytest tests/{functional,unit} -n "$(makeopts_jobs)" --forked
|
||||
}
|
||||
|
||||
python_install_all() {
|
||||
newbashcomp bin/aws_bash_completer aws
|
||||
|
||||
insinto /usr/share/zsh/site-functions
|
||||
newins bin/aws_zsh_completer.sh _aws
|
||||
|
||||
distutils-r1_python_install_all
|
||||
|
||||
rm "${ED}"/usr/bin/{aws.cmd,aws_bash_completer,aws_zsh_completer.sh} || die
|
||||
}
|
@ -1,3 +1,3 @@
|
||||
DIST clustershell-1.8.3.tar.gz 363975 BLAKE2B 3a7bb9103398e96f57f53d0d5d5edc6895ce02b6983e8fed34d65cad83a6d4e86f40b9576f41631e499a99adc8be5f4f422005b8ddc7ac8325fe11abd2c99477 SHA512 5108773e2958d1dae0aa6966d764e9af9d41024f65271005b202468f2bd1a3b63acc977729324fe1305d400dc8b06b0c4672e8d8ded207fa77cef69fb0005108
|
||||
EBUILD clustershell-1.8.3-r1.ebuild 892 BLAKE2B beba8d7859c197e694505e41f6fc5d728dbe7911227b6406c9258044e6eb7b64364d85f5a3998b83e60abb2f7871dac9ed9ee6ead098d28cb0a685b75ee4d696 SHA512 fa02312f537c7f30036f644e41b034dd09777f641ccad6d80d520857aa62b24892dfabb3afe748ec0d26e3ec87b9643bb45dac2c2fbe1a0405232d5e167c7337
|
||||
EBUILD clustershell-1.8.3-r1.ebuild 895 BLAKE2B ae1f20439662cfdeaad2e8ab78c062b564e8451f71b7894aaa4e0bea34b95831aaeac0d66486e74ec14fe81ed62b5c2d18fd53f899c0e9f951490dab75a0bf39 SHA512 a068b7bb9af0c78bc46a67956aded72096c90945cc756e445ecdc3fcd2577377738717a5508fec81bfb971747dba16caa5a7adc8c72b17d301fd8ca747ac022a
|
||||
MISC metadata.xml 347 BLAKE2B 259f356be3bd36db0e537e9295748b546fb38fdafc00f314ba16695eee00e2d8530901ba5192bb70d094346f80d6fbd50f52101edc29edd3d1f1dbaab41cab4f SHA512 1824f7ffd8d00a87ca1af3d10f9536d878392e3b058da128e8df884bf4ffeceee4927fc5e87cb9bc58802507268eeec1651cf50a70a549b2a1b386e5f7066031
|
||||
|
@ -1,18 +1,9 @@
|
||||
AUX lnav-0.10.0-disable-remote-tests.patch 3986 BLAKE2B 62dcbb23d92a86caefdbd718d76a9c624d5d71249c60bb104dc0ce9db00c521fd99868e0ad7924d18a7895f437455a8af2ae36316d7d3271c08419b3b89012d3 SHA512 b956427959500ea80ca647c85530cd7a5c2db8368d5ed387e4c7153ba536d5840db0e627c17c911d51ce511f7db07377f51b868ae011cce2db55b0e1a4c99b98
|
||||
AUX lnav-0.10.0-disable-tests.patch 915 BLAKE2B 5a96465a1870d670af76c28b46c31ce725e82d98da89ed3912d08c3051161dbd2d384234b3567fd605959d9a3fbd6960275b17474a1db5dfa0de1673dc53a273 SHA512 30d0a832ebe38db0c904d2032523ea904f4ea4636dace68c2a1e5d33029c14b97fe54cf3278d6db88fb89c61a49e3606eef96966b846c1a118e482495e8a5970
|
||||
AUX lnav-0.10.0-use-system-doctest.patch 2167 BLAKE2B 6f573b41e49f2408bc2f63e998fca555145a5444af297e01540488943c761d1ab9fe025d0c2877b6f8f73ffe64ad37719670e3825f774df26b50a7bb5adac573 SHA512 70b9a139bb60d57ac5341c5d015072efab203f45c3ca9d81ea68fa413ba56bbed381c92c1bbd042591e825aefabc95eb5698b8fb5fbd74ea0bf564bd02cae64c
|
||||
AUX lnav-0.10.1-gcc12.patch 1943 BLAKE2B f9cbee821b2f7b0ce6cf52353cc897fbe2a1aa4597ab9363b2030fca1f4b47f6115b117cbe6660df0bcec089f6d8f1eabe66e92ff218716822d44f076a012462 SHA512 cd7fd3f8df81a3e9fbf48bf9450c52980111bf0de35f701076661c1f3983b89c1145d47b2d17fea78ce4dd43e3fb0def411ab3dcac5a37865d4a9ebfff9b7e8a
|
||||
AUX lnav-0.8.4-disable-tests.patch 385 BLAKE2B b00a7e4af717a567bf9a7bbecc77500afc22ccab48caaa3781a3d786f4487bcedc59db06b01bfbdcf7871b08cc3b8841582341bec1d707ccf3c94e180a3e59f6 SHA512 f199ec2e9b9a87b8665705051c2a833b8643b18f4793f00587b27eebf0fd455e3d09cbe40613c4e87db58fb91d1f491893d6d9eae38d81de4bb96452e1fb8489
|
||||
AUX lnav-0.9.0-bug639332-tinfow.patch 579 BLAKE2B 17707472f4fa764e27d98a1ae426f65a1ad45dacdc34e4c19b608298b7bbc094ddf3c49ded6987ac2c2f145dc58ff9f520a49c44551b277182b76ef13b2fc2fb SHA512 b69da2eac944affd7c70bdf9bcc2be333d5d67d1415e05ebbfd87bff85369ffbe61399b05440637941bdfa4d220ae1ba100342a9e028ee789f3c9f0f1e2dec2c
|
||||
AUX lnav-0.9.0-bug713600_0.patch 896 BLAKE2B 2fbd1d499a615051438bbeaf1a57ee6120f42bc8b99d4fe368f929a19bfcb6e745fe2a6942fe28d4085a9c939110865ec71dd62d52be50b9e1be5105d1f38b95 SHA512 433b60e379c582b25db5a321b91cbf332deb84430149b0a3d31e0cb8ce2c5cce0c6b01b35660e82550259768dcd42eb4758d21d5064739b8f4831029c77692b4
|
||||
AUX lnav-0.9.0-bug713600_1.patch 914 BLAKE2B 407c737471d4cda95c12aff862dbd3a1709c103c9c3c764aa26f7622f61590331e98ca72a29b18c92a72d6ff07c4e2292aa25f817575c6f3a41508beab10e927 SHA512 eb5fa19c29e496a2e3cedca5f7df9e8f5bd306959116257fa029f32d26a9316cd1879be22c071ace082d34ef9228fc685f0a8c1d5aaa541a45788eb79e870d5e
|
||||
AUX lnav-0.9.0-bug786456.patch 12017 BLAKE2B 0200e3b741e9b5d62cdeabf83c96d94be091f4895db492990404dfc0f41d8017aafe1afb8492688061c497e98bb0ea62bd96ed8c36f365782868ffed04904281 SHA512 94ae1e0590dab749923ca51bb407efc37db555c891df402f07143901077e8907b6bf90c1a6a7ec2d8365555d22e38d772ad39d7d4db86f0e76fbf98f5c10cffc
|
||||
AUX lnav-0.9.0-bug792582.patch 3148 BLAKE2B 8392a375e0d47996a9e2afd6d34a5c0b38efd5ad187e83ecfad9d4badec3565cff549dbe5ad64ae7417e1c2bedeb4f5461dcf96f54e6301b3ac0496a1ae7326e SHA512 4bf60c52f8678189f6e61415d5ca1859122f67603ccbfddd991ad4f825fcda4c01ae4992f2696e93c726f19d83488231da83b02c8d20bf6ee3f7def022e73547
|
||||
DIST lnav-0.10.0.tar.gz 5678120 BLAKE2B d64957e94cc5415e663db8ab5722e6424381aa83a2c9430397baed782b47064ed8f460f27bec6256206cabb43f20eba9318aec1991115b577fcc9c37585dd932 SHA512 d07f4e594b9b905453f4c0ac54db2612e3bed533b47f4fd5b6b0da4e27a2d3bb611cbdf9801c12b6edae045c58881ff1f458f144981fe3d8a41f8d113e847efd
|
||||
AUX lnav-0.11.0-conditional-ssh-keygen.patch 1109 BLAKE2B 9abe69b110a0119f9900cb6776baada9f1c708589372437e3f3d2a0f298a91f502a152b2754c06a3b7c7c8fe0e3dbdaa1272cf08992bc53547f892112ceeb3f8 SHA512 f702dc9f1ac1c650dc1bd562e48df9d43dedf30e962cc77032ecbab4d1ccd76d651eb58a3c09feba43ad99d7fce75359c260eb002cc3ec080d8a3b1ad774d5f8
|
||||
AUX lnav-0.11.0-disable-tests.patch 1784 BLAKE2B e4c0184793b19eff53dea12a81f0e8c7fab6fee44a77304f268365cdec0fa13fb916b35e25fb032a992147338a8028ffb799d9cd14db147f2396f5d54c74173c SHA512 e4c3ddee7c0747196a4ec5cdd409f1c088e06938762677d05757113ff8c8a1834a8ee2d132befef4fa84f4e34633d1d9a64d39f06e423f2a262e79ac121ea202
|
||||
DIST lnav-0.10.1.tar.gz 5707151 BLAKE2B ae82b705830c6ea38e2fa4f3832a2fd1d8ce8b5ef00d6a3fe750e4f5e7080ae29fde845f2c5055e2684aad1959368ff90abdc130130f8d6f0152426487e7396c SHA512 fff9632c1acbef80ba9d4214fd3ef485727792353fe493cfa4f2e9412bb371f50f2e1a735ded3d7bd8b16df5e93e03b0f3def296770e7dd0ad2206fd9f94690d
|
||||
DIST lnav-0.9.0.tar.gz 1094734 BLAKE2B 79d6b035d9fc1efba618dbbd0924dbac2c8a2b3316849164c8c1a3782c7e8b85f12ade02a973d0c4fabff64b38e26fd579f1931aeafb05396ece7e75608cfc5d SHA512 4f03c83003b262c6aa1d1e87d61b4a3ae8f1ccd33a2df1b451f263d3925791d3b46285bbe276d89733a2bd464be9029e7100ce12fdfe3e009a089f250e601151
|
||||
EBUILD lnav-0.10.0-r1.ebuild 868 BLAKE2B 21f7e1abdb467c1dcbeae316d3d8f96fe844ad9ff9dd13ae2208ef4e81688664e71918217ca0010c88082a536807dfe7dfa540ada306cb46f6a6e9c134ea49bf SHA512 b01777e82754e0300582edd9037ccd1c478b97ccf51f1fa51756bb305d0cad62a0b29fc0a3df5d001eb13c6a86738413677a6ef23df794997be6ec0aaedbb29d
|
||||
EBUILD lnav-0.10.0-r2.ebuild 1869 BLAKE2B 258ea8166f16e92c9f5673b25beaa9d10d61a0e8189e8cacace55995879f7895162c8696d60ac50d241ebcde70955b883e9ee7bc7b62fa44efdd664e9f8b1037 SHA512 b3f853d1b5e9636760a9c754c88d0c50c722c41d4e4b043f45e0b14b2372c161a40397354cb845296d8591adb6a76d21b0801528e33b7ef9b3e000b58d2948d8
|
||||
DIST lnav-0.11.0.tar.gz 9586979 BLAKE2B fa333d2dbc3c2a5cb8b96ea4cbf84412be117b9d9ec999bab784e7aefab25cd01edcb65617468b8a1fbc46d554cf20a02bc901c9d75f2c5831359da37a19fd22 SHA512 f10938aacb1e170a6912090c5de8e85e9aae5bc456e57b49192a21020e7dfa20414d1f5b66fd25b3c1ea5a3d1fd3bd92af6fe7e0c6b73953688c3d861266fd97
|
||||
EBUILD lnav-0.10.1.ebuild 1080 BLAKE2B 6bdac79cae613881d152a8a09431592006ba51e198e9c08f30eb7c8459c1c7977732efc51578d56db21f0defd29fb048d0283643ece4872f85597e47d69bbc97 SHA512 98c47a516f2b2ae42ded735b6294ad5eff3467f723fee36b907930846fe503680bfd6fbde8a5cb3e37b5626b2e4f3b4e04c57b8b775e4ba03fc5d99fb6e3c836
|
||||
EBUILD lnav-0.9.0-r3.ebuild 1129 BLAKE2B 28295e39ddfdb4fb151132c61e0928dd9ab53853206d6f1cd4bd378d45ca07826eb8fa7c64efeb44d6cd1c8af252d050e36eabffff3bd9232b6825ba977b627c SHA512 2801635eebd830873063750792af5b4d441166432bb064cecb562f9f5cd27ef2249574dade33e53c066e3b044f0cf00831d9246e2dab350ed9c0a57d8e298e6b
|
||||
MISC metadata.xml 781 BLAKE2B 6c7ff3da9a9dc1a5369ca51771ac4f11185426296f806e674a67a95a341ee5b466261387913ccc96e1d9c1b10c3719ae52f529f24004f5a464cb3f6d884e9fdd SHA512 b928e1a51306e3e48dfb27a50b240f2d855380988b6bbd4650cc04583b73385cf052f947cbd7ed089efa4e1131d23503f4c3fe539c20c724dd29c6e43195a48f
|
||||
EBUILD lnav-0.11.0.ebuild 1157 BLAKE2B 753dc4d1466a7de8c99a0957b5e4b89bfeb67abb51c19d07b65b3ecae1362b4aaeee574cc347596939f42998678a808c428d7b281289bafe760cab116e21ec71 SHA512 1c89382ad32db2f31d0ae592d2690a76d0e5f8981bdcc6ad2330ab672baa5eca9a9976e659b154726fd72cb84161d4214b36a08752e9c2ce8d4aadd0e21542c4
|
||||
MISC metadata.xml 858 BLAKE2B 6596baed4200d06faeacd61693e5d2e257587a30555469e0b6661755ab563cfc6693dd7e0970856a78c132544cde04655ca7febac482c9406c26a3b7cbdfc201 SHA512 1787552bd321e245a49a1b5b95d6e6f58362422153b6ee0b51ce644bf67ab098dd3c5ea11cb144dc5dae089208360fcf2a732845c24bb1e4c5dd5c67987e88bf
|
||||
|
@ -1,75 +0,0 @@
|
||||
--- a/test/test_remote.sh
|
||||
+++ b/test/test_remote.sh
|
||||
@@ -76,38 +76,38 @@
|
||||
error: unable to open file: nonexistent-host: -- failed to ssh to host: ...
|
||||
EOF
|
||||
|
||||
-run_test ${lnav_test} -d /tmp/lnav.err -n \
|
||||
- localhost:nonexistent-file
|
||||
+# run_test ${lnav_test} -d /tmp/lnav.err -n \
|
||||
+# localhost:nonexistent-file
|
||||
|
||||
-check_error_output "no error for nonexistent-file?" <<EOF
|
||||
-error: unable to open file: localhost:nonexistent-file -- unable to lstat -- ENOENT[2]
|
||||
-EOF
|
||||
-
|
||||
-run_test ${lnav_test} -d /tmp/lnav.err -n \
|
||||
- localhost:${test_dir}/logfile_access_log.0
|
||||
-
|
||||
-check_output "could not download remote file?" <<EOF
|
||||
-192.168.202.254 - - [20/Jul/2009:22:59:26 +0000] "GET /vmw/cgi/tramp HTTP/1.0" 200 134 "-" "gPXE/0.9.7"
|
||||
-192.168.202.254 - - [20/Jul/2009:22:59:29 +0000] "GET /vmw/vSphere/default/vmkboot.gz HTTP/1.0" 404 46210 "-" "gPXE/0.9.7"
|
||||
-192.168.202.254 - - [20/Jul/2009:22:59:29 +0000] "GET /vmw/vSphere/default/vmkernel.gz HTTP/1.0" 200 78929 "-" "gPXE/0.9.7"
|
||||
-EOF
|
||||
-
|
||||
-run_test ${lnav_test} -d /tmp/lnav.err -n \
|
||||
- "localhost:${test_dir}/logfile_access_log.*"
|
||||
-
|
||||
-check_output "could not download remote file?" <<EOF
|
||||
-192.168.202.254 - - [20/Jul/2009:22:59:26 +0000] "GET /vmw/cgi/tramp HTTP/1.0" 200 134 "-" "gPXE/0.9.7"
|
||||
-192.168.202.254 - - [20/Jul/2009:22:59:29 +0000] "GET /vmw/vSphere/default/vmkboot.gz HTTP/1.0" 404 46210 "-" "gPXE/0.9.7"
|
||||
-192.168.202.254 - - [20/Jul/2009:22:59:29 +0000] "GET /vmw/vSphere/default/vmkernel.gz HTTP/1.0" 200 78929 "-" "gPXE/0.9.7"
|
||||
-10.112.81.15 - - [15/Feb/2013:06:00:31 +0000] "-" 400 0 "-" "-"
|
||||
-EOF
|
||||
-
|
||||
-run_test ${lnav_test} -d /tmp/lnav.err -n \
|
||||
- "localhost:${test_dir}/remote-log-dir"
|
||||
-
|
||||
-check_output "could not download remote file?" <<EOF
|
||||
-192.168.202.254 - - [20/Jul/2009:22:59:26 +0000] "GET /vmw/cgi/tramp HTTP/1.0" 200 134 "-" "gPXE/0.9.7"
|
||||
-192.168.202.254 - - [20/Jul/2009:22:59:29 +0000] "GET /vmw/vSphere/default/vmkboot.gz HTTP/1.0" 404 46210 "-" "gPXE/0.9.7"
|
||||
-192.168.202.254 - - [20/Jul/2009:22:59:29 +0000] "GET /vmw/vSphere/default/vmkernel.gz HTTP/1.0" 200 78929 "-" "gPXE/0.9.7"
|
||||
-10.112.81.15 - - [15/Feb/2013:06:00:31 +0000] "-" 400 0 "-" "-"
|
||||
-EOF
|
||||
+# check_error_output "no error for nonexistent-file?" <<EOF
|
||||
+# error: unable to open file: localhost:nonexistent-file -- unable to lstat -- ENOENT[2]
|
||||
+# EOF
|
||||
+
|
||||
+# run_test ${lnav_test} -d /tmp/lnav.err -n \
|
||||
+# localhost:${test_dir}/logfile_access_log.0
|
||||
+
|
||||
+# check_output "could not download remote file?" <<EOF
|
||||
+# 192.168.202.254 - - [20/Jul/2009:22:59:26 +0000] "GET /vmw/cgi/tramp HTTP/1.0" 200 134 "-" "gPXE/0.9.7"
|
||||
+# 192.168.202.254 - - [20/Jul/2009:22:59:29 +0000] "GET /vmw/vSphere/default/vmkboot.gz HTTP/1.0" 404 46210 "-" "gPXE/0.9.7"
|
||||
+# 192.168.202.254 - - [20/Jul/2009:22:59:29 +0000] "GET /vmw/vSphere/default/vmkernel.gz HTTP/1.0" 200 78929 "-" "gPXE/0.9.7"
|
||||
+# EOF
|
||||
+
|
||||
+# run_test ${lnav_test} -d /tmp/lnav.err -n \
|
||||
+# "localhost:${test_dir}/logfile_access_log.*"
|
||||
+
|
||||
+# check_output "could not download remote file?" <<EOF
|
||||
+# 192.168.202.254 - - [20/Jul/2009:22:59:26 +0000] "GET /vmw/cgi/tramp HTTP/1.0" 200 134 "-" "gPXE/0.9.7"
|
||||
+# 192.168.202.254 - - [20/Jul/2009:22:59:29 +0000] "GET /vmw/vSphere/default/vmkboot.gz HTTP/1.0" 404 46210 "-" "gPXE/0.9.7"
|
||||
+# 192.168.202.254 - - [20/Jul/2009:22:59:29 +0000] "GET /vmw/vSphere/default/vmkernel.gz HTTP/1.0" 200 78929 "-" "gPXE/0.9.7"
|
||||
+# 10.112.81.15 - - [15/Feb/2013:06:00:31 +0000] "-" 400 0 "-" "-"
|
||||
+# EOF
|
||||
+
|
||||
+# run_test ${lnav_test} -d /tmp/lnav.err -n \
|
||||
+# "localhost:${test_dir}/remote-log-dir"
|
||||
+
|
||||
+# check_output "could not download remote file?" <<EOF
|
||||
+# 192.168.202.254 - - [20/Jul/2009:22:59:26 +0000] "GET /vmw/cgi/tramp HTTP/1.0" 200 134 "-" "gPXE/0.9.7"
|
||||
+# 192.168.202.254 - - [20/Jul/2009:22:59:29 +0000] "GET /vmw/vSphere/default/vmkboot.gz HTTP/1.0" 404 46210 "-" "gPXE/0.9.7"
|
||||
+# 192.168.202.254 - - [20/Jul/2009:22:59:29 +0000] "GET /vmw/vSphere/default/vmkernel.gz HTTP/1.0" 200 78929 "-" "gPXE/0.9.7"
|
||||
+# 10.112.81.15 - - [15/Feb/2013:06:00:31 +0000] "-" 400 0 "-" "-"
|
||||
+# EOF
|
@ -1,73 +0,0 @@
|
||||
From 85515b2c196f2e361e93c158201f74177dc4ae37 Mon Sep 17 00:00:00 2001
|
||||
From: Randy Barlow <randy@electronsweatshop.com>
|
||||
Date: Sat, 18 Sep 2021 21:56:19 -0400
|
||||
Subject: [PATCH] Provide a configure flag to use the system doctest
|
||||
|
||||
This will allow distributions to more easily maintain
|
||||
incompatibilies between doctest and the rest of their software.
|
||||
|
||||
Fixes #912
|
||||
|
||||
Signed-off-by: Randy Barlow <randy@electronsweatshop.com>
|
||||
---
|
||||
configure.ac | 21 +
|
||||
src/Makefile.am | 4 +
|
||||
src/doctest.hh | 5502 +--------------------------------------
|
||||
src/doctest_vendored.hh | 5464 ++++++++++++++++++++++++++++++++++++++
|
||||
4 files changed, 5527 insertions(+), 5464 deletions(-)
|
||||
create mode 100644 src/doctest_vendored.hh
|
||||
|
||||
diff --git a/configure.ac b/configure.ac
|
||||
index f2127def..33746d1e 100644
|
||||
--- a/configure.ac
|
||||
+++ b/configure.ac
|
||||
@@ -153,6 +153,27 @@ AS_IF([test "x$enable_simd" = "xyes"], [
|
||||
])
|
||||
|
||||
|
||||
+AC_ARG_WITH([system_doctest],
|
||||
+ AS_HELP_STRING(
|
||||
+ [--with-system-doctest],
|
||||
+ [Use the system provided doctest library rather than the bundled one]
|
||||
+ ),
|
||||
+ [], []
|
||||
+)
|
||||
+
|
||||
+AS_IF([test "x$with_system_doctest" = "xyes"], [
|
||||
+ AC_CHECK_HEADERS(doctest/doctest.h)
|
||||
+ AS_IF([test "x$ac_cv_header_doctest_doctest_h" != "xyes"], [
|
||||
+ AC_MSG_ERROR([system doctest not found])dnl
|
||||
+ ])
|
||||
+ AC_DEFINE([DOCTEST_HEADER], ["doctest/doctest.h"], [doctest include path])
|
||||
+])
|
||||
+AS_IF([test "x$with_system_doctest" != "xyes"], [
|
||||
+ AC_DEFINE([DOCTEST_HEADER], ["doctest_vendored.hh"], [doctest include path])
|
||||
+ AS_VAR_SET(doctest_vendored_h, "doctest_vendored.hh")
|
||||
+ AC_SUBST(doctest_vendored_h)
|
||||
+])
|
||||
+
|
||||
|
||||
LNAV_WITH_JEMALLOC
|
||||
|
||||
diff --git a/src/Makefile.am b/src/Makefile.am
|
||||
index 9be9168e..8dc0cd94 100644
|
||||
--- a/src/Makefile.am
|
||||
+++ b/src/Makefile.am
|
||||
@@ -151,6 +151,9 @@ dist_noinst_DATA = \
|
||||
$(FORMAT_FILES) \
|
||||
xterm-palette.json
|
||||
|
||||
+EXTRA_HEADERS = \
|
||||
+ doctest_vendored.hh
|
||||
+
|
||||
noinst_HEADERS = \
|
||||
all_logs_vtab.hh \
|
||||
ansi_scrubber.hh \
|
||||
@@ -174,6 +177,7 @@ noinst_HEADERS = \
|
||||
db_sub_source.hh \
|
||||
doc_status_source.hh \
|
||||
doctest.hh \
|
||||
+ $(doctest_vendored_h) \
|
||||
elem_to_json.hh \
|
||||
environ_vtab.hh \
|
||||
field_overlay_source.hh \
|
@ -0,0 +1,34 @@
|
||||
From b16833392b74826f8cd437675fc29e4a0b88efcd Mon Sep 17 00:00:00 2001
|
||||
From: Randy Barlow <randy@electronsweatshop.com>
|
||||
Date: Sun, 4 Sep 2022 00:03:33 -0400
|
||||
Subject: [PATCH] Only build ssh keys when needed
|
||||
|
||||
I believe the test/remote folder only needs to be setup for
|
||||
test/test_remote.sh. Prior to this commit, it was being built during
|
||||
make, rather than just during make check. This commit adjusts things so
|
||||
that the test/remote folder is only generated during make check, and
|
||||
only when test/test_remote.sh is being executed.
|
||||
|
||||
Fixes #1040
|
||||
|
||||
Signed-off-by: Randy Barlow <randy@electronsweatshop.com>
|
||||
---
|
||||
test/Makefile.am | 2 +-
|
||||
1 file changed, 1 insertion(+), 1 deletion(-)
|
||||
|
||||
diff --git a/test/Makefile.am b/test/Makefile.am
|
||||
index fd09a656..457f3cb0 100644
|
||||
--- a/test/Makefile.am
|
||||
+++ b/test/Makefile.am
|
||||
@@ -478,7 +478,7 @@ DISTCLEANFILES = \
|
||||
empty \
|
||||
scripts-empty
|
||||
|
||||
-all-local: remote/ssh_host_dsa_key remote/ssh_host_rsa_key remote/id_rsa
|
||||
+test_remote.sh.log: remote/ssh_host_dsa_key remote/ssh_host_rsa_key remote/id_rsa
|
||||
|
||||
distclean-local:
|
||||
$(RM_V)rm -rf remote remote-tmp not:a:remote:dir
|
||||
--
|
||||
2.37.2
|
||||
|
@ -0,0 +1,67 @@
|
||||
From 70231dce88cf47f2f3e2b396fe0623ea74eeadfc Mon Sep 17 00:00:00 2001
|
||||
From: Randy Barlow <randy@electronsweatshop.com>
|
||||
Date: Sat, 3 Sep 2022 18:13:08 -0400
|
||||
Subject: [PATCH] Disable some flaky tests
|
||||
|
||||
Certain tests commented out for stability reasons:
|
||||
* listview: Fails when building inside sandbox
|
||||
https://github.com/tstack/lnav/issues/1039
|
||||
* mvattrline: Fails on some testers boxes. Documented here:
|
||||
https://github.com/tstack/lnav/issues/911
|
||||
* logfile: Flaky. Fails some times and not others. i.e. Race condition
|
||||
* tui: Can hang the build
|
||||
|
||||
Signed-off-by: Randy Barlow <randy@electronsweatshop.com>
|
||||
---
|
||||
test/Makefile.am | 8 --------
|
||||
1 file changed, 8 deletions(-)
|
||||
|
||||
diff --git a/test/Makefile.am b/test/Makefile.am
|
||||
index fd09a656..07d6758e 100644
|
||||
--- a/test/Makefile.am
|
||||
+++ b/test/Makefile.am
|
||||
@@ -188,10 +188,7 @@ dist_noinst_SCRIPTS = \
|
||||
test_grep_proc.sh \
|
||||
test_json_format.sh \
|
||||
test_line_buffer.sh \
|
||||
- test_listview.sh \
|
||||
- test_logfile.sh \
|
||||
test_meta.sh \
|
||||
- test_mvwattrline.sh \
|
||||
test_regex101.sh \
|
||||
test_remote.sh \
|
||||
test_scripts.sh \
|
||||
@@ -211,7 +208,6 @@ dist_noinst_SCRIPTS = \
|
||||
test_sql_xml_func.sh \
|
||||
test_sql_yaml_func.sh \
|
||||
test_text_file.sh \
|
||||
- test_tui.sh \
|
||||
test_view_colors.sh \
|
||||
test_vt52_curses.sh \
|
||||
test_pretty_print.sh
|
||||
@@ -391,14 +387,11 @@ TESTS = \
|
||||
test_cmds.sh \
|
||||
test_config.sh \
|
||||
test_events.sh \
|
||||
- test_listview.sh \
|
||||
test_meta.sh \
|
||||
- test_mvwattrline.sh \
|
||||
test_grep_proc.sh \
|
||||
test_grep_proc2 \
|
||||
test_json_format.sh \
|
||||
test_log_accel \
|
||||
- test_logfile.sh \
|
||||
test_reltime \
|
||||
test_scripts.sh \
|
||||
test_sessions.sh \
|
||||
@@ -417,7 +410,6 @@ TESTS = \
|
||||
test_sql_xml_func.sh \
|
||||
test_sql_yaml_func.sh \
|
||||
test_text_file.sh \
|
||||
- test_tui.sh \
|
||||
test_data_parser.sh \
|
||||
test_pretty_print.sh \
|
||||
test_view_colors.sh \
|
||||
--
|
||||
2.37.2
|
||||
|
@ -1,18 +0,0 @@
|
||||
--- lnav-0.8.4/test/Makefile.am
|
||||
+++ lnav-0.8.4/test/Makefile.am
|
||||
@@ -373,7 +373,6 @@
|
||||
test_concise \
|
||||
test_line_buffer2 \
|
||||
test_line_buffer.sh \
|
||||
- test_listview.sh \
|
||||
test_meta.sh \
|
||||
test_grep_proc.sh \
|
||||
test_grep_proc2 \
|
||||
@@ -381,7 +380,6 @@
|
||||
test_json_op.sh \
|
||||
test_json_ptr_walk.sh \
|
||||
test_log_accel \
|
||||
- test_logfile.sh \
|
||||
test_pcrepp \
|
||||
test_reltime \
|
||||
test_scripts.sh \
|
@ -1,10 +0,0 @@
|
||||
--- a/m4/ax_with_curses.m4 2019-07-28 08:49:13.670014444 -0500
|
||||
+++ b/m4/ax_with_curses.m4 2019-07-28 08:46:32.280013473 -0500
|
||||
@@ -216,6 +216,8 @@
|
||||
ax_cv_curses=yes
|
||||
ax_cv_curses_which=ncursesw
|
||||
CURSES_LIB="-lncursesw"
|
||||
+ temp_lib=`echo $ax_saved_LIBS|sed 's/tinfo/tinfow/'`
|
||||
+ ax_saved_LIBS=$temp_lib
|
||||
AC_DEFINE([HAVE_NCURSESW], [1], [Define to 1 if the NcursesW library is present])
|
||||
AC_DEFINE([HAVE_CURSES], [1], [Define to 1 if a SysV or X/Open compatible Curses library is present])
|
@ -1,27 +0,0 @@
|
||||
From 60dde499ac87c2399ac24ae85c98ed8cce564858 Mon Sep 17 00:00:00 2001
|
||||
From: Timothy Stack <timothyshanestack@gmail.com>
|
||||
Date: Thu, 31 Dec 2020 23:23:56 -0800
|
||||
Subject: [PATCH] [tests] fix test to make it insensitive to the current date
|
||||
|
||||
Signed-off-by: Randy Barlow <randy@electronsweatshop.com>
|
||||
--- a/test/test_sql.sh
|
||||
+++ b/test/test_sql.sh
|
||||
@@ -1012,13 +1012,13 @@ EOF
|
||||
|
||||
|
||||
cat ${test_dir}/logfile_syslog.0 | run_test ${lnav_test} -n \
|
||||
- -c ";select log_time from syslog_log where log_procname = 'automount'"
|
||||
+ -c ";select log_body from syslog_log where log_procname = 'automount'"
|
||||
|
||||
check_output "querying against stdin is not working?" <<EOF
|
||||
- log_time
|
||||
-2020-11-03 09:23:38.000
|
||||
-2020-11-03 09:23:38.000
|
||||
-2020-11-03 09:23:38.000
|
||||
+ log_body
|
||||
+ lookup(file): lookup for foobar failed
|
||||
+ attempting to mount entry /auto/opt
|
||||
+ lookup(file): lookup for opt failed
|
||||
EOF
|
||||
|
||||
|
@ -1,23 +0,0 @@
|
||||
From cc072d29ead6f1df896bc61b83d7d41dab0b7132 Mon Sep 17 00:00:00 2001
|
||||
From: Timothy Stack <timothyshanestack@gmail.com>
|
||||
Date: Thu, 31 Dec 2020 23:26:57 -0800
|
||||
Subject: [PATCH] [tests] update another date-sensitive test
|
||||
|
||||
Signed-off-by: Randy Barlow <randy@electronsweatshop.com>
|
||||
--- a/test/test_sql.sh
|
||||
+++ b/test/test_sql.sh
|
||||
@@ -1023,11 +1023,11 @@ EOF
|
||||
|
||||
|
||||
cat ${test_dir}/logfile_syslog.0 | run_test ${lnav_test} -n \
|
||||
- -c ";select log_time from syslog_log where log_procname = 'sudo'"
|
||||
+ -c ";select log_body from syslog_log where log_procname = 'sudo'"
|
||||
|
||||
check_output "single result is not working?" <<EOF
|
||||
- log_time
|
||||
-2020-11-03 09:47:02.000
|
||||
+ log_body
|
||||
+ timstack : TTY=pts/6 ; PWD=/auto/wstimstack/rpms/lbuild/test ; USER=root ; COMMAND=/usr/bin/tail /var/log/messages
|
||||
EOF
|
||||
|
||||
# Create a dummy database for the next couple of tests to consume.
|
@ -1,551 +0,0 @@
|
||||
From e6d2e2d2b95c27cc85397d4af9528111c5304d02 Mon Sep 17 00:00:00 2001
|
||||
From: Timothy Stack <timothyshanestack@gmail.com>
|
||||
Date: Sun, 30 May 2021 13:33:05 -0700
|
||||
Subject: [PATCH] [logfile] add notes for automatic decisions and fix compile
|
||||
errors
|
||||
|
||||
Fixes #864
|
||||
|
||||
Signed-off-by: Randy Barlow <randy@electronsweatshop.com>
|
||||
--- a/m4/ax_cxx_compile_stdcxx.m4
|
||||
+++ b/m4/ax_cxx_compile_stdcxx.m4
|
||||
@@ -1,5 +1,5 @@
|
||||
# ===========================================================================
|
||||
-# http://www.gnu.org/software/autoconf-archive/ax_cxx_compile_stdcxx.html
|
||||
+# https://www.gnu.org/software/autoconf-archive/ax_cxx_compile_stdcxx.html
|
||||
# ===========================================================================
|
||||
#
|
||||
# SYNOPSIS
|
||||
@@ -16,7 +16,7 @@
|
||||
# The second argument, if specified, indicates whether you insist on an
|
||||
# extended mode (e.g. -std=gnu++11) or a strict conformance mode (e.g.
|
||||
# -std=c++11). If neither is specified, you get whatever works, with
|
||||
-# preference for an extended mode.
|
||||
+# preference for no added switch, and then for an extended mode.
|
||||
#
|
||||
# The third argument, if specified 'mandatory' or if left unspecified,
|
||||
# indicates that baseline support for the specified C++ standard is
|
||||
@@ -33,21 +33,24 @@
|
||||
# Copyright (c) 2014, 2015 Google Inc.; contributed by Alexey Sokolov <sokolov@google.com>
|
||||
# Copyright (c) 2015 Paul Norman <penorman@mac.com>
|
||||
# Copyright (c) 2015 Moritz Klammler <moritz@klammler.eu>
|
||||
+# Copyright (c) 2016, 2018 Krzesimir Nowak <qdlacz@gmail.com>
|
||||
+# Copyright (c) 2019 Enji Cooper <yaneurabeya@gmail.com>
|
||||
+# Copyright (c) 2020 Jason Merrill <jason@redhat.com>
|
||||
#
|
||||
# Copying and distribution of this file, with or without modification, are
|
||||
# permitted in any medium without royalty provided the copyright notice
|
||||
# and this notice are preserved. This file is offered as-is, without any
|
||||
# warranty.
|
||||
|
||||
-#serial 4
|
||||
+#serial 12
|
||||
|
||||
dnl This macro is based on the code from the AX_CXX_COMPILE_STDCXX_11 macro
|
||||
dnl (serial version number 13).
|
||||
|
||||
AC_DEFUN([AX_CXX_COMPILE_STDCXX], [dnl
|
||||
- m4_if([$1], [11], [],
|
||||
- [$1], [14], [],
|
||||
- [$1], [17], [m4_fatal([support for C++17 not yet implemented in AX_CXX_COMPILE_STDCXX])],
|
||||
+ m4_if([$1], [11], [ax_cxx_compile_alternatives="11 0x"],
|
||||
+ [$1], [14], [ax_cxx_compile_alternatives="14 1y"],
|
||||
+ [$1], [17], [ax_cxx_compile_alternatives="17 1z"],
|
||||
[m4_fatal([invalid first argument `$1' to AX_CXX_COMPILE_STDCXX])])dnl
|
||||
m4_if([$2], [], [],
|
||||
[$2], [ext], [],
|
||||
@@ -59,18 +62,21 @@ AC_DEFUN([AX_CXX_COMPILE_STDCXX], [dnl
|
||||
[m4_fatal([invalid third argument `$3' to AX_CXX_COMPILE_STDCXX])])
|
||||
AC_LANG_PUSH([C++])dnl
|
||||
ac_success=no
|
||||
- AC_CACHE_CHECK(whether $CXX supports C++$1 features by default,
|
||||
- ax_cv_cxx_compile_cxx$1,
|
||||
- [AC_COMPILE_IFELSE([AC_LANG_SOURCE([_AX_CXX_COMPILE_STDCXX_testbody_$1])],
|
||||
- [ax_cv_cxx_compile_cxx$1=yes],
|
||||
- [ax_cv_cxx_compile_cxx$1=no])])
|
||||
- if test x$ax_cv_cxx_compile_cxx$1 = xyes; then
|
||||
- ac_success=yes
|
||||
- fi
|
||||
+
|
||||
+ m4_if([$2], [], [dnl
|
||||
+ AC_CACHE_CHECK(whether $CXX supports C++$1 features by default,
|
||||
+ ax_cv_cxx_compile_cxx$1,
|
||||
+ [AC_COMPILE_IFELSE([AC_LANG_SOURCE([_AX_CXX_COMPILE_STDCXX_testbody_$1])],
|
||||
+ [ax_cv_cxx_compile_cxx$1=yes],
|
||||
+ [ax_cv_cxx_compile_cxx$1=no])])
|
||||
+ if test x$ax_cv_cxx_compile_cxx$1 = xyes; then
|
||||
+ ac_success=yes
|
||||
+ fi])
|
||||
|
||||
m4_if([$2], [noext], [], [dnl
|
||||
if test x$ac_success = xno; then
|
||||
- for switch in -std=gnu++$1 -std=gnu++0x; do
|
||||
+ for alternative in ${ax_cxx_compile_alternatives}; do
|
||||
+ switch="-std=gnu++${alternative}"
|
||||
cachevar=AS_TR_SH([ax_cv_cxx_compile_cxx$1_$switch])
|
||||
AC_CACHE_CHECK(whether $CXX supports C++$1 features with $switch,
|
||||
$cachevar,
|
||||
@@ -96,22 +102,27 @@ AC_DEFUN([AX_CXX_COMPILE_STDCXX], [dnl
|
||||
dnl HP's aCC needs +std=c++11 according to:
|
||||
dnl http://h21007.www2.hp.com/portal/download/files/unprot/aCxx/PDF_Release_Notes/769149-001.pdf
|
||||
dnl Cray's crayCC needs "-h std=c++11"
|
||||
- for switch in -std=c++$1 -std=c++0x +std=c++$1 "-h std=c++$1"; do
|
||||
- cachevar=AS_TR_SH([ax_cv_cxx_compile_cxx$1_$switch])
|
||||
- AC_CACHE_CHECK(whether $CXX supports C++$1 features with $switch,
|
||||
- $cachevar,
|
||||
- [ac_save_CXX="$CXX"
|
||||
- CXX="$CXX $switch"
|
||||
- AC_COMPILE_IFELSE([AC_LANG_SOURCE([_AX_CXX_COMPILE_STDCXX_testbody_$1])],
|
||||
- [eval $cachevar=yes],
|
||||
- [eval $cachevar=no])
|
||||
- CXX="$ac_save_CXX"])
|
||||
- if eval test x\$$cachevar = xyes; then
|
||||
- CXX="$CXX $switch"
|
||||
- if test -n "$CXXCPP" ; then
|
||||
- CXXCPP="$CXXCPP $switch"
|
||||
+ for alternative in ${ax_cxx_compile_alternatives}; do
|
||||
+ for switch in -std=c++${alternative} +std=c++${alternative} "-h std=c++${alternative}"; do
|
||||
+ cachevar=AS_TR_SH([ax_cv_cxx_compile_cxx$1_$switch])
|
||||
+ AC_CACHE_CHECK(whether $CXX supports C++$1 features with $switch,
|
||||
+ $cachevar,
|
||||
+ [ac_save_CXX="$CXX"
|
||||
+ CXX="$CXX $switch"
|
||||
+ AC_COMPILE_IFELSE([AC_LANG_SOURCE([_AX_CXX_COMPILE_STDCXX_testbody_$1])],
|
||||
+ [eval $cachevar=yes],
|
||||
+ [eval $cachevar=no])
|
||||
+ CXX="$ac_save_CXX"])
|
||||
+ if eval test x\$$cachevar = xyes; then
|
||||
+ CXX="$CXX $switch"
|
||||
+ if test -n "$CXXCPP" ; then
|
||||
+ CXXCPP="$CXXCPP $switch"
|
||||
+ fi
|
||||
+ ac_success=yes
|
||||
+ break
|
||||
fi
|
||||
- ac_success=yes
|
||||
+ done
|
||||
+ if test x$ac_success = xyes; then
|
||||
break
|
||||
fi
|
||||
done
|
||||
@@ -148,6 +159,11 @@ m4_define([_AX_CXX_COMPILE_STDCXX_testbody_14],
|
||||
_AX_CXX_COMPILE_STDCXX_testbody_new_in_14
|
||||
)
|
||||
|
||||
+m4_define([_AX_CXX_COMPILE_STDCXX_testbody_17],
|
||||
+ _AX_CXX_COMPILE_STDCXX_testbody_new_in_11
|
||||
+ _AX_CXX_COMPILE_STDCXX_testbody_new_in_14
|
||||
+ _AX_CXX_COMPILE_STDCXX_testbody_new_in_17
|
||||
+)
|
||||
|
||||
dnl Tests for new features in C++11
|
||||
|
||||
@@ -185,11 +201,13 @@ namespace cxx11
|
||||
|
||||
struct Base
|
||||
{
|
||||
+ virtual ~Base() {}
|
||||
virtual void f() {}
|
||||
};
|
||||
|
||||
struct Derived : public Base
|
||||
{
|
||||
+ virtual ~Derived() override {}
|
||||
virtual void f() override {}
|
||||
};
|
||||
|
||||
@@ -518,7 +536,7 @@ namespace cxx14
|
||||
|
||||
}
|
||||
|
||||
- namespace test_digit_seperators
|
||||
+ namespace test_digit_separators
|
||||
{
|
||||
|
||||
constexpr auto ten_million = 100'000'000;
|
||||
@@ -560,3 +578,385 @@ namespace cxx14
|
||||
#endif // __cplusplus >= 201402L
|
||||
|
||||
]])
|
||||
+
|
||||
+
|
||||
+dnl Tests for new features in C++17
|
||||
+
|
||||
+m4_define([_AX_CXX_COMPILE_STDCXX_testbody_new_in_17], [[
|
||||
+
|
||||
+// If the compiler admits that it is not ready for C++17, why torture it?
|
||||
+// Hopefully, this will speed up the test.
|
||||
+
|
||||
+#ifndef __cplusplus
|
||||
+
|
||||
+#error "This is not a C++ compiler"
|
||||
+
|
||||
+#elif __cplusplus < 201703L
|
||||
+
|
||||
+#error "This is not a C++17 compiler"
|
||||
+
|
||||
+#else
|
||||
+
|
||||
+#include <initializer_list>
|
||||
+#include <utility>
|
||||
+#include <type_traits>
|
||||
+
|
||||
+namespace cxx17
|
||||
+{
|
||||
+
|
||||
+ namespace test_constexpr_lambdas
|
||||
+ {
|
||||
+
|
||||
+ constexpr int foo = [](){return 42;}();
|
||||
+
|
||||
+ }
|
||||
+
|
||||
+ namespace test::nested_namespace::definitions
|
||||
+ {
|
||||
+
|
||||
+ }
|
||||
+
|
||||
+ namespace test_fold_expression
|
||||
+ {
|
||||
+
|
||||
+ template<typename... Args>
|
||||
+ int multiply(Args... args)
|
||||
+ {
|
||||
+ return (args * ... * 1);
|
||||
+ }
|
||||
+
|
||||
+ template<typename... Args>
|
||||
+ bool all(Args... args)
|
||||
+ {
|
||||
+ return (args && ...);
|
||||
+ }
|
||||
+
|
||||
+ }
|
||||
+
|
||||
+ namespace test_extended_static_assert
|
||||
+ {
|
||||
+
|
||||
+ static_assert (true);
|
||||
+
|
||||
+ }
|
||||
+
|
||||
+ namespace test_auto_brace_init_list
|
||||
+ {
|
||||
+
|
||||
+ auto foo = {5};
|
||||
+ auto bar {5};
|
||||
+
|
||||
+ static_assert(std::is_same<std::initializer_list<int>, decltype(foo)>::value);
|
||||
+ static_assert(std::is_same<int, decltype(bar)>::value);
|
||||
+ }
|
||||
+
|
||||
+ namespace test_typename_in_template_template_parameter
|
||||
+ {
|
||||
+
|
||||
+ template<template<typename> typename X> struct D;
|
||||
+
|
||||
+ }
|
||||
+
|
||||
+ namespace test_fallthrough_nodiscard_maybe_unused_attributes
|
||||
+ {
|
||||
+
|
||||
+ int f1()
|
||||
+ {
|
||||
+ return 42;
|
||||
+ }
|
||||
+
|
||||
+ [[nodiscard]] int f2()
|
||||
+ {
|
||||
+ [[maybe_unused]] auto unused = f1();
|
||||
+
|
||||
+ switch (f1())
|
||||
+ {
|
||||
+ case 17:
|
||||
+ f1();
|
||||
+ [[fallthrough]];
|
||||
+ case 42:
|
||||
+ f1();
|
||||
+ }
|
||||
+ return f1();
|
||||
+ }
|
||||
+
|
||||
+ }
|
||||
+
|
||||
+ namespace test_extended_aggregate_initialization
|
||||
+ {
|
||||
+
|
||||
+ struct base1
|
||||
+ {
|
||||
+ int b1, b2 = 42;
|
||||
+ };
|
||||
+
|
||||
+ struct base2
|
||||
+ {
|
||||
+ base2() {
|
||||
+ b3 = 42;
|
||||
+ }
|
||||
+ int b3;
|
||||
+ };
|
||||
+
|
||||
+ struct derived : base1, base2
|
||||
+ {
|
||||
+ int d;
|
||||
+ };
|
||||
+
|
||||
+ derived d1 {{1, 2}, {}, 4}; // full initialization
|
||||
+ derived d2 {{}, {}, 4}; // value-initialized bases
|
||||
+
|
||||
+ }
|
||||
+
|
||||
+ namespace test_general_range_based_for_loop
|
||||
+ {
|
||||
+
|
||||
+ struct iter
|
||||
+ {
|
||||
+ int i;
|
||||
+
|
||||
+ int& operator* ()
|
||||
+ {
|
||||
+ return i;
|
||||
+ }
|
||||
+
|
||||
+ const int& operator* () const
|
||||
+ {
|
||||
+ return i;
|
||||
+ }
|
||||
+
|
||||
+ iter& operator++()
|
||||
+ {
|
||||
+ ++i;
|
||||
+ return *this;
|
||||
+ }
|
||||
+ };
|
||||
+
|
||||
+ struct sentinel
|
||||
+ {
|
||||
+ int i;
|
||||
+ };
|
||||
+
|
||||
+ bool operator== (const iter& i, const sentinel& s)
|
||||
+ {
|
||||
+ return i.i == s.i;
|
||||
+ }
|
||||
+
|
||||
+ bool operator!= (const iter& i, const sentinel& s)
|
||||
+ {
|
||||
+ return !(i == s);
|
||||
+ }
|
||||
+
|
||||
+ struct range
|
||||
+ {
|
||||
+ iter begin() const
|
||||
+ {
|
||||
+ return {0};
|
||||
+ }
|
||||
+
|
||||
+ sentinel end() const
|
||||
+ {
|
||||
+ return {5};
|
||||
+ }
|
||||
+ };
|
||||
+
|
||||
+ void f()
|
||||
+ {
|
||||
+ range r {};
|
||||
+
|
||||
+ for (auto i : r)
|
||||
+ {
|
||||
+ [[maybe_unused]] auto v = i;
|
||||
+ }
|
||||
+ }
|
||||
+
|
||||
+ }
|
||||
+
|
||||
+ namespace test_lambda_capture_asterisk_this_by_value
|
||||
+ {
|
||||
+
|
||||
+ struct t
|
||||
+ {
|
||||
+ int i;
|
||||
+ int foo()
|
||||
+ {
|
||||
+ return [*this]()
|
||||
+ {
|
||||
+ return i;
|
||||
+ }();
|
||||
+ }
|
||||
+ };
|
||||
+
|
||||
+ }
|
||||
+
|
||||
+ namespace test_enum_class_construction
|
||||
+ {
|
||||
+
|
||||
+ enum class byte : unsigned char
|
||||
+ {};
|
||||
+
|
||||
+ byte foo {42};
|
||||
+
|
||||
+ }
|
||||
+
|
||||
+ namespace test_constexpr_if
|
||||
+ {
|
||||
+
|
||||
+ template <bool cond>
|
||||
+ int f ()
|
||||
+ {
|
||||
+ if constexpr(cond)
|
||||
+ {
|
||||
+ return 13;
|
||||
+ }
|
||||
+ else
|
||||
+ {
|
||||
+ return 42;
|
||||
+ }
|
||||
+ }
|
||||
+
|
||||
+ }
|
||||
+
|
||||
+ namespace test_selection_statement_with_initializer
|
||||
+ {
|
||||
+
|
||||
+ int f()
|
||||
+ {
|
||||
+ return 13;
|
||||
+ }
|
||||
+
|
||||
+ int f2()
|
||||
+ {
|
||||
+ if (auto i = f(); i > 0)
|
||||
+ {
|
||||
+ return 3;
|
||||
+ }
|
||||
+
|
||||
+ switch (auto i = f(); i + 4)
|
||||
+ {
|
||||
+ case 17:
|
||||
+ return 2;
|
||||
+
|
||||
+ default:
|
||||
+ return 1;
|
||||
+ }
|
||||
+ }
|
||||
+
|
||||
+ }
|
||||
+
|
||||
+ namespace test_template_argument_deduction_for_class_templates
|
||||
+ {
|
||||
+
|
||||
+ template <typename T1, typename T2>
|
||||
+ struct pair
|
||||
+ {
|
||||
+ pair (T1 p1, T2 p2)
|
||||
+ : m1 {p1},
|
||||
+ m2 {p2}
|
||||
+ {}
|
||||
+
|
||||
+ T1 m1;
|
||||
+ T2 m2;
|
||||
+ };
|
||||
+
|
||||
+ void f()
|
||||
+ {
|
||||
+ [[maybe_unused]] auto p = pair{13, 42u};
|
||||
+ }
|
||||
+
|
||||
+ }
|
||||
+
|
||||
+ namespace test_non_type_auto_template_parameters
|
||||
+ {
|
||||
+
|
||||
+ template <auto n>
|
||||
+ struct B
|
||||
+ {};
|
||||
+
|
||||
+ B<5> b1;
|
||||
+ B<'a'> b2;
|
||||
+
|
||||
+ }
|
||||
+
|
||||
+ namespace test_structured_bindings
|
||||
+ {
|
||||
+
|
||||
+ int arr[2] = { 1, 2 };
|
||||
+ std::pair<int, int> pr = { 1, 2 };
|
||||
+
|
||||
+ auto f1() -> int(&)[2]
|
||||
+ {
|
||||
+ return arr;
|
||||
+ }
|
||||
+
|
||||
+ auto f2() -> std::pair<int, int>&
|
||||
+ {
|
||||
+ return pr;
|
||||
+ }
|
||||
+
|
||||
+ struct S
|
||||
+ {
|
||||
+ int x1 : 2;
|
||||
+ volatile double y1;
|
||||
+ };
|
||||
+
|
||||
+ S f3()
|
||||
+ {
|
||||
+ return {};
|
||||
+ }
|
||||
+
|
||||
+ auto [ x1, y1 ] = f1();
|
||||
+ auto& [ xr1, yr1 ] = f1();
|
||||
+ auto [ x2, y2 ] = f2();
|
||||
+ auto& [ xr2, yr2 ] = f2();
|
||||
+ const auto [ x3, y3 ] = f3();
|
||||
+
|
||||
+ }
|
||||
+
|
||||
+ namespace test_exception_spec_type_system
|
||||
+ {
|
||||
+
|
||||
+ struct Good {};
|
||||
+ struct Bad {};
|
||||
+
|
||||
+ void g1() noexcept;
|
||||
+ void g2();
|
||||
+
|
||||
+ template<typename T>
|
||||
+ Bad
|
||||
+ f(T*, T*);
|
||||
+
|
||||
+ template<typename T1, typename T2>
|
||||
+ Good
|
||||
+ f(T1*, T2*);
|
||||
+
|
||||
+ static_assert (std::is_same_v<Good, decltype(f(g1, g2))>);
|
||||
+
|
||||
+ }
|
||||
+
|
||||
+ namespace test_inline_variables
|
||||
+ {
|
||||
+
|
||||
+ template<class T> void f(T)
|
||||
+ {}
|
||||
+
|
||||
+ template<class T> inline T g(T)
|
||||
+ {
|
||||
+ return T{};
|
||||
+ }
|
||||
+
|
||||
+ template<> inline void f<>(int)
|
||||
+ {}
|
||||
+
|
||||
+ template<> int g<>(int)
|
||||
+ {
|
||||
+ return 5;
|
||||
+ }
|
||||
+
|
||||
+ }
|
||||
+
|
||||
+} // namespace cxx17
|
||||
+
|
||||
+#endif // __cplusplus < 201703L
|
||||
+
|
||||
+]])
|
@ -1,82 +0,0 @@
|
||||
From 141436933a8d30edfd33aa5fcfb0c93cfa3ae9d5 Mon Sep 17 00:00:00 2001
|
||||
From: Timothy Stack <timothyshanestack@gmail.com>
|
||||
Date: Wed, 9 Dec 2020 15:35:06 -0800
|
||||
Subject: [PATCH] [view_curses] use VC_ROLE instead of VC_STYLE where possible
|
||||
and fix segv in mvwattrline
|
||||
|
||||
Fixes #806
|
||||
|
||||
Signed-off-by: Randy Barlow <randy@electronsweatshop.com>
|
||||
--- a/src/highlighter.cc
|
||||
+++ b/src/highlighter.cc
|
||||
@@ -115,7 +115,9 @@ void highlighter::annotate(attr_line_t &al, int start) const
|
||||
vc.match_color(this->h_bg));
|
||||
}
|
||||
if (this->h_role != view_colors::VCR_NONE) {
|
||||
- attrs |= vc.attrs_for_role(this->h_role);
|
||||
+ sa.emplace_back(lr,
|
||||
+ &view_curses::VC_ROLE,
|
||||
+ this->h_role);
|
||||
}
|
||||
sa.emplace_back(lr, &view_curses::VC_STYLE, attrs);
|
||||
|
||||
--- a/src/logfile_sub_source.cc
|
||||
+++ b/src/logfile_sub_source.cc
|
||||
@@ -468,25 +468,28 @@ void logfile_sub_source::text_attrs_for_line(textview_curses &lv,
|
||||
|
||||
shift_string_attrs(value_out, 0, time_offset_end);
|
||||
|
||||
- attrs = vc.attrs_for_role(view_colors::VCR_OFFSET_TIME);
|
||||
- value_out.emplace_back(lr, &view_curses::VC_STYLE, attrs);
|
||||
+ value_out.emplace_back(lr,
|
||||
+ &view_curses::VC_ROLE,
|
||||
+ view_colors::VCR_OFFSET_TIME);
|
||||
value_out.emplace_back(line_range(12, 13),
|
||||
&view_curses::VC_GRAPHIC, ACS_VLINE);
|
||||
|
||||
- int bar_attrs = 0;
|
||||
+ view_colors::role_t bar_role = view_colors::VCR_NONE;
|
||||
|
||||
switch (this->get_line_accel_direction(vis_line_t(row))) {
|
||||
case log_accel::A_STEADY:
|
||||
break;
|
||||
case log_accel::A_DECEL:
|
||||
- bar_attrs = vc.attrs_for_role(view_colors::VCR_DIFF_DELETE);
|
||||
+ bar_role = view_colors::VCR_DIFF_DELETE;
|
||||
break;
|
||||
case log_accel::A_ACCEL:
|
||||
- bar_attrs = vc.attrs_for_role(view_colors::VCR_DIFF_ADD);
|
||||
+ bar_role = view_colors::VCR_DIFF_ADD;
|
||||
break;
|
||||
}
|
||||
- value_out.push_back(
|
||||
- string_attr(line_range(12, 13), &view_curses::VC_STYLE, bar_attrs));
|
||||
+ if (bar_role != view_colors::VCR_NONE) {
|
||||
+ value_out.emplace_back(
|
||||
+ line_range(12, 13), &view_curses::VC_ROLE, bar_role);
|
||||
+ }
|
||||
}
|
||||
|
||||
lr.lr_start = 0;
|
||||
--- a/src/view_curses.cc
|
||||
+++ b/src/view_curses.cc
|
||||
@@ -402,13 +402,16 @@ void view_curses::mvwattrline(WINDOW *window,
|
||||
}
|
||||
}
|
||||
|
||||
+ if (attr_range.lr_end == -1) {
|
||||
+ attr_range.lr_end = line_width_chars;
|
||||
+ }
|
||||
+ if (attr_range.lr_end < lr_chars.lr_start) {
|
||||
+ continue;
|
||||
+ }
|
||||
attr_range.lr_start = max(0, attr_range.lr_start - lr_chars.lr_start);
|
||||
if (attr_range.lr_start > line_width_chars) {
|
||||
continue;
|
||||
}
|
||||
- if (attr_range.lr_end == -1) {
|
||||
- attr_range.lr_end = lr_chars.lr_start + line_width_chars;
|
||||
- }
|
||||
|
||||
attr_range.lr_end = min(line_width_chars, attr_range.lr_end - lr_chars.lr_start);
|
||||
|
@ -1,43 +0,0 @@
|
||||
# Copyright 1999-2021 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
inherit autotools
|
||||
|
||||
DESCRIPTION="A curses-based tool for viewing and analyzing log files"
|
||||
HOMEPAGE="https://lnav.org"
|
||||
SRC_URI="https://github.com/tstack/${PN}/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz"
|
||||
|
||||
LICENSE="BSD-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="unicode"
|
||||
|
||||
RDEPEND="
|
||||
app-arch/bzip2:0=
|
||||
app-arch/libarchive:=
|
||||
>=dev-db/sqlite-3.9.0
|
||||
dev-libs/libpcre[cxx]
|
||||
>=net-misc/curl-7.23.0
|
||||
sys-libs/ncurses:=[unicode(+)?]
|
||||
sys-libs/readline:0=
|
||||
sys-libs/zlib:0="
|
||||
DEPEND="${RDEPEND}"
|
||||
|
||||
DOCS=( AUTHORS NEWS README )
|
||||
PATCHES=(
|
||||
"${FILESDIR}"/${PN}-0.10.0-disable-tests.patch
|
||||
"${FILESDIR}"/${PN}-0.10.0-disable-remote-tests.patch
|
||||
)
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
eautoreconf
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
econf \
|
||||
--disable-static \
|
||||
$(use_with unicode ncursesw)
|
||||
}
|
@ -1,62 +0,0 @@
|
||||
# Copyright 1999-2021 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
inherit autotools
|
||||
|
||||
DESCRIPTION="A curses-based tool for viewing and analyzing log files"
|
||||
HOMEPAGE="https://lnav.org"
|
||||
SRC_URI="https://github.com/tstack/${PN}/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz"
|
||||
|
||||
LICENSE="BSD-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="unicode test"
|
||||
RESTRICT="!test? ( test )"
|
||||
|
||||
RDEPEND="
|
||||
app-arch/bzip2:0=
|
||||
app-arch/libarchive:=
|
||||
test? ( dev-cpp/doctest )
|
||||
>=dev-db/sqlite-3.9.0
|
||||
dev-libs/libpcre[cxx]
|
||||
>=net-misc/curl-7.23.0
|
||||
sys-libs/ncurses:=[unicode(+)?]
|
||||
sys-libs/readline:0=
|
||||
sys-libs/zlib:0="
|
||||
DEPEND="${RDEPEND}"
|
||||
|
||||
DOCS=( AUTHORS NEWS README )
|
||||
PATCHES=(
|
||||
"${FILESDIR}"/${PN}-0.10.0-disable-tests.patch
|
||||
"${FILESDIR}"/${PN}-0.10.0-disable-remote-tests.patch
|
||||
# This allows us to use the --with-system-doctest configure flag, and should not be needed in
|
||||
# the next release of lnav. See https://github.com/tstack/lnav/pull/915
|
||||
# This patch isn't completely identical to the one in PR #915 because that patch was too large
|
||||
# for repoman's tastes. See the comment in src_prepare() for how I applied the rest of this
|
||||
# patch with rm and a heredoc.
|
||||
# https://bugs.gentoo.org/812353
|
||||
"${FILESDIR}"/${PN}-0.10.0-use-system-doctest.patch
|
||||
)
|
||||
|
||||
src_prepare() {
|
||||
# repoman didn't like having a ~500 kiB patch file, so I'm just manually removing the doctest we
|
||||
# don't want (the bundled one) and putting the one we do want here.
|
||||
# We won't need this once we get rid of lnav-0.10.0-use-system-doctest.patch
|
||||
cat <<EOF > src/doctest.hh
|
||||
#include "config.h"
|
||||
#include DOCTEST_HEADER
|
||||
EOF
|
||||
# We won't need this once we get rid of lnav-0.10.0-use-system-doctest.patch
|
||||
touch src/doctest_vendored.hh
|
||||
default
|
||||
eautoreconf
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
econf \
|
||||
--disable-static \
|
||||
$(use_with test system-doctest) \
|
||||
$(use_with unicode ncursesw)
|
||||
}
|
@ -0,0 +1,56 @@
|
||||
# Copyright 1999-2022 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
inherit autotools flag-o-matic
|
||||
|
||||
DESCRIPTION="A curses-based tool for viewing and analyzing log files"
|
||||
HOMEPAGE="https://lnav.org"
|
||||
SRC_URI="https://github.com/tstack/${PN}/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz"
|
||||
|
||||
LICENSE="BSD-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="pcap test"
|
||||
RESTRICT="!test? ( test )"
|
||||
|
||||
RDEPEND="
|
||||
app-arch/bzip2:0=
|
||||
app-arch/libarchive:=
|
||||
>=dev-db/sqlite-3.9.0
|
||||
dev-libs/libpcre[cxx]
|
||||
>=net-misc/curl-7.23.0
|
||||
sys-libs/ncurses:=
|
||||
sys-libs/readline:=
|
||||
sys-libs/zlib:=
|
||||
pcap? ( net-analyzer/wireshark[tshark] )"
|
||||
# The tests use ssh-keygen and use dsa and rsa keys (which is why ssl is required)
|
||||
DEPEND="${RDEPEND}
|
||||
test? (
|
||||
net-misc/openssh[ssl]
|
||||
dev-cpp/doctest
|
||||
)"
|
||||
|
||||
DOCS=( AUTHORS NEWS README )
|
||||
|
||||
PATCHES=(
|
||||
"${FILESDIR}"/${PN}-0.11.0-disable-tests.patch
|
||||
# https://github.com/tstack/lnav/pull/1041
|
||||
"${FILESDIR}"/${PN}-0.11.0-conditional-ssh-keygen.patch
|
||||
)
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
|
||||
eautoreconf
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
filter-lto
|
||||
|
||||
econf \
|
||||
--disable-static \
|
||||
--with-ncurses \
|
||||
$(use_with test system-doctest)
|
||||
}
|
@ -1,52 +0,0 @@
|
||||
# Copyright 1999-2021 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
inherit autotools
|
||||
|
||||
DESCRIPTION="A curses-based tool for viewing and analyzing log files"
|
||||
HOMEPAGE="https://lnav.org"
|
||||
SRC_URI="https://github.com/tstack/lnav/releases/download/v${PV}/${P}.tar.gz"
|
||||
|
||||
LICENSE="BSD-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64 x86"
|
||||
IUSE="unicode"
|
||||
|
||||
RDEPEND="
|
||||
app-arch/bzip2:0=
|
||||
>=dev-db/sqlite-3.9.0
|
||||
dev-libs/libpcre[cxx]
|
||||
>=net-misc/curl-7.23.0
|
||||
sys-libs/ncurses:=[unicode(+)?]
|
||||
sys-libs/readline:0=
|
||||
sys-libs/zlib:0="
|
||||
DEPEND="${RDEPEND}"
|
||||
|
||||
DOCS=( AUTHORS NEWS README )
|
||||
PATCHES=(
|
||||
"${FILESDIR}"/${PN}-0.8.4-disable-tests.patch
|
||||
# bug 723242
|
||||
"${FILESDIR}"/${PN}-0.9.0-bug639332-tinfow.patch
|
||||
# bug 713600
|
||||
"${FILESDIR}"/${PN}-0.9.0-bug713600_0.patch
|
||||
"${FILESDIR}"/${PN}-0.9.0-bug713600_1.patch
|
||||
# Fix a segfault when using right arrow
|
||||
# bug 792582
|
||||
"${FILESDIR}"/${PN}-0.9.0-bug792582.patch
|
||||
# Fix a build failure on gcc
|
||||
# bug 786456
|
||||
"${FILESDIR}"/${PN}-0.9.0-bug786456.patch
|
||||
)
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
eautoreconf
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
econf \
|
||||
--disable-static \
|
||||
$(use_with unicode ncursesw)
|
||||
}
|
@ -1,7 +1,7 @@
|
||||
DIST system-config-printer-1.5.16.tar.xz 1382124 BLAKE2B 37548bd470f8e80026e014d4077a79a38ad54258d620654536890b67b688fc790c9a9a269b321f2e12d63ec21f24858866e39b41089195c528ddbdf1351bba5f SHA512 ed20a409def66bdea7de4cd5b397891eca220c841e1b5c8cab98e45f87389ae8ba881d9e24072dd07203141fc34c49c4b67cf099791857c007971e3b7d2e2fc2
|
||||
DIST system-config-printer-1.5.17.tar.xz 1385792 BLAKE2B c17dce0ef2988028a95e4ad7b9ead18aa13ab07452f5df9a6fb07f4728ce2ed7aa51e8997e7086d517f6965ec1f306fbd6e7f68683e6da66d18bc75408af9220 SHA512 e56fb45e76a93de122bef99774574f77168014b855cd75e1939fb2d6e56ddb27496679a7932cd6255b950599541c3fb3b82386735bfb6dc13eed59f9a259668e
|
||||
DIST system-config-printer-1.5.18.tar.xz 1396808 BLAKE2B 910e853829ee876edc597a3103b5ab857b3b8c1cb87096f25213b1088e35d9f4d320dad61f55b530283a7650b07abe028a53b4e144b33b1b66c733cb2caa8011 SHA512 33dc9c52d92f4234e055fb10a99cadd58424dcdb62554797b44bdd5319f1c3662bd2fa33417ac3a3f5ec51216d64e81e1897f3e671eb49f6be34057d7c38f3f4
|
||||
EBUILD system-config-printer-1.5.16-r1.ebuild 2071 BLAKE2B c42ef6b6e64d7454a059333b5210c243ca949925af5df32c4394d9411c6bf32d36422e9f39ee4dcc78aad32d7e98076fa592b55c9d69dc55e6acbf54ecb4efeb SHA512 4cb21dc868a872b429ed5e096a9e0e8d9163286c8b91376152d3770c6305b53b661d171f4178a2bd6c391a197f30e94c9e4dd9e545e7e70e329fa2d95b3cca21
|
||||
EBUILD system-config-printer-1.5.17.ebuild 2076 BLAKE2B 9de2baba49780f8acb14375a8fc3b9e8dd8fbbb7ca7e7768e049e5271f1c56e0a5eb2012d2ecd38b7a8c40e88eec68349b06efdeb9f0dc65ff057e3de100830b SHA512 0d726e5190183e82d73a97894c9b286af2754a9696a38d726d969034f383afab4e893e5d7bc1ac8df5f067058782610787d15246f27b453903779387941ca667
|
||||
EBUILD system-config-printer-1.5.18.ebuild 2076 BLAKE2B 9de2baba49780f8acb14375a8fc3b9e8dd8fbbb7ca7e7768e049e5271f1c56e0a5eb2012d2ecd38b7a8c40e88eec68349b06efdeb9f0dc65ff057e3de100830b SHA512 0d726e5190183e82d73a97894c9b286af2754a9696a38d726d969034f383afab4e893e5d7bc1ac8df5f067058782610787d15246f27b453903779387941ca667
|
||||
EBUILD system-config-printer-1.5.16-r1.ebuild 2074 BLAKE2B 6064a0cccc81f78fab6769164ddc870adbf2e2472421f162c0d6aa7bec9a67a8ed1cb19e7327bf8835b051a710fe5aeaca49b04722db40950631c23368728990 SHA512 0d077bc93964462ff9a79ebfcce6c5bef72e15bea4790549c9318bed814a7bf6b2702a7acd57c680010c1e76abb316099e54e53fd427985c6359c80a9ff1a3e6
|
||||
EBUILD system-config-printer-1.5.17.ebuild 2079 BLAKE2B 587811edfdaae6a4b77e93d13434f9bbed0038145176160ef3d19a459e33f679e22276306f67ae220d5fbf47672ce3f2bce01a4acbfb022e9f9d068a4abbd7bb SHA512 f51053a075e44d8b8739c0266b2880b788d64147fe380001ce40f6cee825abcdaf49984b00d68d998b8513613bcecb97a4c58a42e33c1d375b0798e4b86106ca
|
||||
EBUILD system-config-printer-1.5.18.ebuild 2079 BLAKE2B 587811edfdaae6a4b77e93d13434f9bbed0038145176160ef3d19a459e33f679e22276306f67ae220d5fbf47672ce3f2bce01a4acbfb022e9f9d068a4abbd7bb SHA512 f51053a075e44d8b8739c0266b2880b788d64147fe380001ce40f6cee825abcdaf49984b00d68d998b8513613bcecb97a4c58a42e33c1d375b0798e4b86106ca
|
||||
MISC metadata.xml 464 BLAKE2B 6b9e1c83ddd541fa865336261d248c43e24354dbe1fdb585436bdaacd6cbbca9949b54961c0ad32220326b168650c377862640c50c2f40ad61106fbbb59fa3c4 SHA512 20f80adda8d894d92410585732a88565196b6cd10177bf5ed93966cf450d6dced89f46a840fd5c5ce26a9d7ac2fc42e59fbb8f789eb1f7f594e95da7a0cf60b8
|
||||
|
Binary file not shown.
@ -1,215 +0,0 @@
|
||||
# Copyright 1999-2022 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
PYTHON_COMPAT=( python3_{8..10} )
|
||||
inherit cmake flag-o-matic python-any-r1 systemd tmpfiles
|
||||
|
||||
DESCRIPTION="Clam Anti-Virus Scanner"
|
||||
HOMEPAGE="https://www.clamav.net/"
|
||||
SRC_URI="https://www.clamav.net/downloads/production/${P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~riscv ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~sparc-solaris ~x86-solaris"
|
||||
IUSE="doc clamonacc +clamapp libclamav-only milter rar selinux systemd test"
|
||||
|
||||
REQUIRED_USE="libclamav-only? ( !clamonacc !clamapp !milter )
|
||||
clamonacc? ( clamapp )
|
||||
milter? ( clamapp )
|
||||
test? ( !libclamav-only )"
|
||||
|
||||
RESTRICT="!test? ( test )"
|
||||
|
||||
# Require acct-{user,group}/clamav at build time so that we can set
|
||||
# the permissions on /var/lib/clamav in src_install rather than in
|
||||
# pkg_postinst; calling "chown" on the live filesystem scares me.
|
||||
CDEPEND="acct-group/clamav
|
||||
acct-user/clamav
|
||||
dev-libs/libltdl
|
||||
dev-libs/libmspack
|
||||
dev-libs/json-c:=
|
||||
dev-libs/libpcre2
|
||||
>=sys-libs/zlib-1.2.2:=
|
||||
app-arch/bzip2
|
||||
clamapp? ( sys-libs/ncurses:= net-misc/curl )
|
||||
elibc_musl? ( sys-libs/fts-standalone )
|
||||
virtual/libiconv
|
||||
!libclamav-only? ( net-misc/curl )
|
||||
dev-libs/openssl:=
|
||||
milter? ( || ( mail-filter/libmilter mail-mta/sendmail ) )
|
||||
dev-libs/libxml2
|
||||
rar? ( app-arch/unrar )
|
||||
test? ( dev-python/pytest )"
|
||||
# TODO: there is no way to use this with the new build system instead of the bundled one
|
||||
# dev-libs/tomsfastmath
|
||||
BDEPEND="virtual/pkgconfig
|
||||
doc? ( app-doc/doxygen )
|
||||
test? (
|
||||
${PYTHON_DEPS}
|
||||
$(python_gen_any_dep 'dev-python/pytest[${PYTHON_USEDEP}]')
|
||||
)"
|
||||
DEPEND="${CDEPEND}
|
||||
test? ( dev-libs/check )"
|
||||
RDEPEND="${CDEPEND}
|
||||
selinux? ( sec-policy/selinux-clamav )"
|
||||
|
||||
python_check_deps() {
|
||||
has_version -b "dev-python/pytest[${PYTHON_USEDEP}]"
|
||||
}
|
||||
|
||||
pkg_setup() {
|
||||
use test && python-any-r1_pkg_setup
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
use elibc_musl && append-ldflags -lfts
|
||||
use ppc64 && append-flags -mminimal-toc
|
||||
|
||||
local mycmakeargs=(
|
||||
-DDATABASE_DIRECTORY="${EPREFIX}"/var/lib/clamav
|
||||
-DAPP_CONFIG_DIRECTORY="${EPREFIX}"/etc/clamav
|
||||
-DENABLE_EXPERIMENTAL=OFF
|
||||
-DENABLE_JSON_SHARED=ON
|
||||
-DENABLE_APP=$(usex clamapp ON OFF)
|
||||
-DENABLE_MILTER=$(usex milter ON OFF)
|
||||
-DENABLE_CLAMONACC=$(usex clamonacc ON OFF)
|
||||
-DCLAMAV_USER="clamav"
|
||||
-DCLAMAV_GROUP="clamav"
|
||||
-DBYTECODE_RUNTIME=interpreter
|
||||
-DOPTIMIZE=ON
|
||||
-DENABLE_EXTERNAL_MSPACK=ON
|
||||
-DENABLE_MAN_PAGES=ON
|
||||
-DENABLE_DOXYGEN=$(usex doc)
|
||||
-DENABLE_UNRAR=$(usex rar ON OFF)
|
||||
-DENABLE_TESTS=$(usex test ON OFF)
|
||||
# Used to enable some more tests but doesn't behave well in
|
||||
# sandbox necessarily(?) + needs certain debug symbols present
|
||||
# in e.g. glibc.
|
||||
-DCMAKE_DISABLE_FIND_PACKAGE_Valgrind=ON
|
||||
-DENABLE_STATIC_LIB=OFF
|
||||
-DENABLE_SHARED_LIB=ON
|
||||
-DENABLE_SYSTEMD=$(usex systemd ON OFF)
|
||||
)
|
||||
cmake_src_configure
|
||||
}
|
||||
|
||||
src_install() {
|
||||
cmake_src_install
|
||||
|
||||
# init scripts
|
||||
newinitd "${FILESDIR}/clamd.initd" clamd
|
||||
newinitd "${FILESDIR}/freshclam.initd" freshclam
|
||||
use clamonacc && \
|
||||
newinitd "${FILESDIR}/clamonacc.initd" clamonacc
|
||||
use milter && \
|
||||
newinitd "${FILESDIR}/clamav-milter.initd" clamav-milter
|
||||
|
||||
rm -rf "${ED}"/var/lib/clamav || die
|
||||
|
||||
if ! use libclamav-only ; then
|
||||
if use systemd ; then
|
||||
# The tmpfiles entry is behind USE=systemd because the
|
||||
# upstream OpenRC service files should (and do) ensure that
|
||||
# the directories they need exist and have the correct
|
||||
# permissions without the help of opentmpfiles. There are
|
||||
# years-old root exploits in opentmpfiles, the design is
|
||||
# fundamentally flawed, and the maintainer is not up to
|
||||
# the task of fixing it.
|
||||
dotmpfiles "${FILESDIR}/tmpfiles.d/clamav.conf"
|
||||
systemd_newunit "${FILESDIR}/clamd_at.service-0.104.0" "clamd@.service"
|
||||
systemd_dounit "${FILESDIR}/clamd.service"
|
||||
systemd_newunit "${FILESDIR}/freshclamd.service-r1" \
|
||||
"freshclamd.service"
|
||||
fi
|
||||
|
||||
if use clamapp ; then
|
||||
# Modify /etc/{clamd,freshclam}.conf to be usable out of the box
|
||||
sed -e "s:^\(Example\):\# \1:" \
|
||||
-e "s/^#\(PidFile .*\)/\1/" \
|
||||
-e "s/^#\(LocalSocket .*\)/\1/" \
|
||||
-e "s/^#\(User .*\)/\1/" \
|
||||
-e "s:^\#\(LogFile\) .*:\1 ${EPREFIX}/var/log/clamav/clamd.log:" \
|
||||
-e "s:^\#\(LogTime\).*:\1 yes:" \
|
||||
-e "s/^#\(DatabaseDirectory .*\)/\1/" \
|
||||
"${ED}"/etc/clamav/clamd.conf.sample > \
|
||||
"${ED}"/etc/clamav/clamd.conf || die
|
||||
|
||||
sed -e "s:^\(Example\):\# \1:" \
|
||||
-e "s/^#\(PidFile .*\)/\1/" \
|
||||
-e "s/^#\(DatabaseOwner .*\)/\1/" \
|
||||
-e "s:^\#\(UpdateLogFile\) .*:\1 ${EPREFIX}/var/log/clamav/freshclam.log:" \
|
||||
-e "s:^\#\(NotifyClamd\).*:\1 ${EPREFIX}/etc/clamav/clamd.conf:" \
|
||||
-e "s:^\#\(ScriptedUpdates\).*:\1 yes:" \
|
||||
-e "s/^#\(DatabaseDirectory .*\)/\1/" \
|
||||
"${ED}"/etc/clamav/freshclam.conf.sample > \
|
||||
"${ED}"/etc/clamav/freshclam.conf || die
|
||||
|
||||
if use milter ; then
|
||||
# Note: only keep the "unix" ClamdSocket and MilterSocket!
|
||||
sed -e "s:^\(Example\):\# \1:" \
|
||||
-e "s/^#\(PidFile .*\)/\1/" \
|
||||
-e "s/^#\(ClamdSocket unix:.*\)/\1/" \
|
||||
-e "s/^#\(User .*\)/\1/" \
|
||||
-e "s/^#\(MilterSocket unix:.*\)/\1/" \
|
||||
-e "s:^\#\(LogFile\) .*:\1 ${EPREFIX}/var/log/clamav/clamav-milter.log:" \
|
||||
"${ED}"/etc/clamav/clamav-milter.conf.sample > \
|
||||
"${ED}"/etc/clamav/clamav-milter.conf || die
|
||||
|
||||
systemd_newunit "${FILESDIR}/clamav-milter.service-0.104.0" clamav-milter.service
|
||||
fi
|
||||
|
||||
local i
|
||||
for i in clamd freshclam clamav-milter
|
||||
do
|
||||
if [[ -f "${ED}"/etc/"${i}".conf.sample ]] ; then
|
||||
mv "${ED}"/etc/"${i}".conf{.sample,} || die
|
||||
fi
|
||||
done
|
||||
|
||||
# These both need to be writable by the clamav user.
|
||||
# TODO: use syslog by default; that's what it's for.
|
||||
diropts -o clamav -g clamav
|
||||
keepdir /var/lib/clamav
|
||||
keepdir /var/log/clamav
|
||||
fi
|
||||
fi
|
||||
|
||||
if use doc ; then
|
||||
local HTML_DOCS=( docs/html/. )
|
||||
einstalldocs
|
||||
fi
|
||||
|
||||
# Don't install man pages for utilities we didn't install
|
||||
if use libclamav-only ; then
|
||||
rm -r "${ED}"/usr/share/man || die
|
||||
fi
|
||||
|
||||
find "${ED}" -name '*.la' -delete || die
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
if ! use libclamav-only ; then
|
||||
if use systemd ; then
|
||||
tmpfiles_process clamav.conf
|
||||
fi
|
||||
fi
|
||||
|
||||
if use milter ; then
|
||||
elog "For simple instructions how to setup the clamav-milter read the"
|
||||
elog "clamav-milter.README.gentoo in /usr/share/doc/${PF}"
|
||||
fi
|
||||
|
||||
local databases=( "${EROOT}"/var/lib/clamav/main.c[lv]d )
|
||||
if [[ ! -f "${databases}" ]] ; then
|
||||
ewarn "You must run freshclam manually to populate the virus database"
|
||||
ewarn "before starting clamav for the first time."
|
||||
fi
|
||||
|
||||
ewarn "This version of ClamAV provides separate OpenRC services"
|
||||
ewarn "for clamd, freshclam, clamav-milter, and clamonacc. The"
|
||||
ewarn "clamd service now starts only the clamd daemon itself. You"
|
||||
ewarn "should add freshclam (and perhaps clamav-milter) to any"
|
||||
ewarn "runlevels that previously contained clamd."
|
||||
}
|
@ -1,215 +0,0 @@
|
||||
# Copyright 1999-2022 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
PYTHON_COMPAT=( python3_{8..10} )
|
||||
inherit cmake flag-o-matic python-any-r1 systemd tmpfiles
|
||||
|
||||
DESCRIPTION="Clam Anti-Virus Scanner"
|
||||
HOMEPAGE="https://www.clamav.net/"
|
||||
SRC_URI="https://www.clamav.net/downloads/production/${P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~riscv ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~sparc-solaris ~x86-solaris"
|
||||
IUSE="doc clamonacc +clamapp libclamav-only milter rar selinux systemd test"
|
||||
|
||||
REQUIRED_USE="libclamav-only? ( !clamonacc !clamapp !milter )
|
||||
clamonacc? ( clamapp )
|
||||
milter? ( clamapp )
|
||||
test? ( !libclamav-only )"
|
||||
|
||||
RESTRICT="!test? ( test )"
|
||||
|
||||
# Require acct-{user,group}/clamav at build time so that we can set
|
||||
# the permissions on /var/lib/clamav in src_install rather than in
|
||||
# pkg_postinst; calling "chown" on the live filesystem scares me.
|
||||
CDEPEND="acct-group/clamav
|
||||
acct-user/clamav
|
||||
dev-libs/libltdl
|
||||
dev-libs/libmspack
|
||||
dev-libs/json-c:=
|
||||
dev-libs/libpcre2
|
||||
>=sys-libs/zlib-1.2.2:=
|
||||
app-arch/bzip2
|
||||
clamapp? ( sys-libs/ncurses:= net-misc/curl )
|
||||
elibc_musl? ( sys-libs/fts-standalone )
|
||||
virtual/libiconv
|
||||
!libclamav-only? ( net-misc/curl )
|
||||
dev-libs/openssl:=
|
||||
milter? ( || ( mail-filter/libmilter mail-mta/sendmail ) )
|
||||
dev-libs/libxml2
|
||||
rar? ( app-arch/unrar )
|
||||
test? ( dev-python/pytest )"
|
||||
# TODO: there is no way to use this with the new build system instead of the bundled one
|
||||
# dev-libs/tomsfastmath
|
||||
BDEPEND="virtual/pkgconfig
|
||||
doc? ( app-doc/doxygen )
|
||||
test? (
|
||||
${PYTHON_DEPS}
|
||||
$(python_gen_any_dep 'dev-python/pytest[${PYTHON_USEDEP}]')
|
||||
)"
|
||||
DEPEND="${CDEPEND}
|
||||
test? ( dev-libs/check )"
|
||||
RDEPEND="${CDEPEND}
|
||||
selinux? ( sec-policy/selinux-clamav )"
|
||||
|
||||
python_check_deps() {
|
||||
has_version -b "dev-python/pytest[${PYTHON_USEDEP}]"
|
||||
}
|
||||
|
||||
pkg_setup() {
|
||||
use test && python-any-r1_pkg_setup
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
use elibc_musl && append-ldflags -lfts
|
||||
use ppc64 && append-flags -mminimal-toc
|
||||
|
||||
local mycmakeargs=(
|
||||
-DDATABASE_DIRECTORY="${EPREFIX}"/var/lib/clamav
|
||||
-DAPP_CONFIG_DIRECTORY="${EPREFIX}"/etc/clamav
|
||||
-DENABLE_EXPERIMENTAL=OFF
|
||||
-DENABLE_JSON_SHARED=ON
|
||||
-DENABLE_APP=$(usex clamapp ON OFF)
|
||||
-DENABLE_MILTER=$(usex milter ON OFF)
|
||||
-DENABLE_CLAMONACC=$(usex clamonacc ON OFF)
|
||||
-DCLAMAV_USER="clamav"
|
||||
-DCLAMAV_GROUP="clamav"
|
||||
-DBYTECODE_RUNTIME=interpreter
|
||||
-DOPTIMIZE=ON
|
||||
-DENABLE_EXTERNAL_MSPACK=ON
|
||||
-DENABLE_MAN_PAGES=ON
|
||||
-DENABLE_DOXYGEN=$(usex doc)
|
||||
-DENABLE_UNRAR=$(usex rar ON OFF)
|
||||
-DENABLE_TESTS=$(usex test ON OFF)
|
||||
# Used to enable some more tests but doesn't behave well in
|
||||
# sandbox necessarily(?) + needs certain debug symbols present
|
||||
# in e.g. glibc.
|
||||
-DCMAKE_DISABLE_FIND_PACKAGE_Valgrind=ON
|
||||
-DENABLE_STATIC_LIB=OFF
|
||||
-DENABLE_SHARED_LIB=ON
|
||||
-DENABLE_SYSTEMD=$(usex systemd ON OFF)
|
||||
)
|
||||
cmake_src_configure
|
||||
}
|
||||
|
||||
src_install() {
|
||||
cmake_src_install
|
||||
|
||||
# init scripts
|
||||
newinitd "${FILESDIR}/clamd.initd" clamd
|
||||
newinitd "${FILESDIR}/freshclam.initd" freshclam
|
||||
use clamonacc && \
|
||||
newinitd "${FILESDIR}/clamonacc.initd" clamonacc
|
||||
use milter && \
|
||||
newinitd "${FILESDIR}/clamav-milter.initd" clamav-milter
|
||||
|
||||
rm -rf "${ED}"/var/lib/clamav || die
|
||||
|
||||
if ! use libclamav-only ; then
|
||||
if use systemd ; then
|
||||
# The tmpfiles entry is behind USE=systemd because the
|
||||
# upstream OpenRC service files should (and do) ensure that
|
||||
# the directories they need exist and have the correct
|
||||
# permissions without the help of opentmpfiles. There are
|
||||
# years-old root exploits in opentmpfiles, the design is
|
||||
# fundamentally flawed, and the maintainer is not up to
|
||||
# the task of fixing it.
|
||||
dotmpfiles "${FILESDIR}/tmpfiles.d/clamav.conf"
|
||||
systemd_newunit "${FILESDIR}/clamd_at.service-0.104.0" "clamd@.service"
|
||||
systemd_dounit "${FILESDIR}/clamd.service"
|
||||
systemd_newunit "${FILESDIR}/freshclamd.service-r1" \
|
||||
"freshclamd.service"
|
||||
fi
|
||||
|
||||
if use clamapp ; then
|
||||
# Modify /etc/{clamd,freshclam}.conf to be usable out of the box
|
||||
sed -e "s:^\(Example\):\# \1:" \
|
||||
-e "s/^#\(PidFile .*\)/\1/" \
|
||||
-e "s/^#\(LocalSocket .*\)/\1/" \
|
||||
-e "s/^#\(User .*\)/\1/" \
|
||||
-e "s:^\#\(LogFile\) .*:\1 ${EPREFIX}/var/log/clamav/clamd.log:" \
|
||||
-e "s:^\#\(LogTime\).*:\1 yes:" \
|
||||
-e "s/^#\(DatabaseDirectory .*\)/\1/" \
|
||||
"${ED}"/etc/clamav/clamd.conf.sample > \
|
||||
"${ED}"/etc/clamav/clamd.conf || die
|
||||
|
||||
sed -e "s:^\(Example\):\# \1:" \
|
||||
-e "s/^#\(PidFile .*\)/\1/" \
|
||||
-e "s/^#\(DatabaseOwner .*\)/\1/" \
|
||||
-e "s:^\#\(UpdateLogFile\) .*:\1 ${EPREFIX}/var/log/clamav/freshclam.log:" \
|
||||
-e "s:^\#\(NotifyClamd\).*:\1 ${EPREFIX}/etc/clamav/clamd.conf:" \
|
||||
-e "s:^\#\(ScriptedUpdates\).*:\1 yes:" \
|
||||
-e "s/^#\(DatabaseDirectory .*\)/\1/" \
|
||||
"${ED}"/etc/clamav/freshclam.conf.sample > \
|
||||
"${ED}"/etc/clamav/freshclam.conf || die
|
||||
|
||||
if use milter ; then
|
||||
# Note: only keep the "unix" ClamdSocket and MilterSocket!
|
||||
sed -e "s:^\(Example\):\# \1:" \
|
||||
-e "s/^#\(PidFile .*\)/\1/" \
|
||||
-e "s/^#\(ClamdSocket unix:.*\)/\1/" \
|
||||
-e "s/^#\(User .*\)/\1/" \
|
||||
-e "s/^#\(MilterSocket unix:.*\)/\1/" \
|
||||
-e "s:^\#\(LogFile\) .*:\1 ${EPREFIX}/var/log/clamav/clamav-milter.log:" \
|
||||
"${ED}"/etc/clamav/clamav-milter.conf.sample > \
|
||||
"${ED}"/etc/clamav/clamav-milter.conf || die
|
||||
|
||||
systemd_newunit "${FILESDIR}/clamav-milter.service-0.104.0" clamav-milter.service
|
||||
fi
|
||||
|
||||
local i
|
||||
for i in clamd freshclam clamav-milter
|
||||
do
|
||||
if [[ -f "${ED}"/etc/"${i}".conf.sample ]] ; then
|
||||
mv "${ED}"/etc/"${i}".conf{.sample,} || die
|
||||
fi
|
||||
done
|
||||
|
||||
# These both need to be writable by the clamav user.
|
||||
# TODO: use syslog by default; that's what it's for.
|
||||
diropts -o clamav -g clamav
|
||||
keepdir /var/lib/clamav
|
||||
keepdir /var/log/clamav
|
||||
fi
|
||||
fi
|
||||
|
||||
if use doc ; then
|
||||
local HTML_DOCS=( docs/html/. )
|
||||
einstalldocs
|
||||
fi
|
||||
|
||||
# Don't install man pages for utilities we didn't install
|
||||
if use libclamav-only ; then
|
||||
rm -r "${ED}"/usr/share/man || die
|
||||
fi
|
||||
|
||||
find "${ED}" -name '*.la' -delete || die
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
if ! use libclamav-only ; then
|
||||
if use systemd ; then
|
||||
tmpfiles_process clamav.conf
|
||||
fi
|
||||
fi
|
||||
|
||||
if use milter ; then
|
||||
elog "For simple instructions how to setup the clamav-milter read the"
|
||||
elog "clamav-milter.README.gentoo in /usr/share/doc/${PF}"
|
||||
fi
|
||||
|
||||
local databases=( "${EROOT}"/var/lib/clamav/main.c[lv]d )
|
||||
if [[ ! -f "${databases}" ]] ; then
|
||||
ewarn "You must run freshclam manually to populate the virus database"
|
||||
ewarn "before starting clamav for the first time."
|
||||
fi
|
||||
|
||||
ewarn "This version of ClamAV provides separate OpenRC services"
|
||||
ewarn "for clamd, freshclam, clamav-milter, and clamonacc. The"
|
||||
ewarn "clamd service now starts only the clamd daemon itself. You"
|
||||
ewarn "should add freshclam (and perhaps clamav-milter) to any"
|
||||
ewarn "runlevels that previously contained clamd."
|
||||
}
|
@ -1,215 +0,0 @@
|
||||
# Copyright 1999-2022 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
PYTHON_COMPAT=( python3_{8..10} )
|
||||
inherit cmake flag-o-matic python-any-r1 systemd tmpfiles
|
||||
|
||||
DESCRIPTION="Clam Anti-Virus Scanner"
|
||||
HOMEPAGE="https://www.clamav.net/"
|
||||
SRC_URI="https://www.clamav.net/downloads/production/${P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~riscv ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~sparc-solaris ~x86-solaris"
|
||||
IUSE="doc clamonacc +clamapp libclamav-only milter rar selinux systemd test"
|
||||
|
||||
REQUIRED_USE="libclamav-only? ( !clamonacc !clamapp !milter )
|
||||
clamonacc? ( clamapp )
|
||||
milter? ( clamapp )
|
||||
test? ( !libclamav-only )"
|
||||
|
||||
RESTRICT="!test? ( test )"
|
||||
|
||||
# Require acct-{user,group}/clamav at build time so that we can set
|
||||
# the permissions on /var/lib/clamav in src_install rather than in
|
||||
# pkg_postinst; calling "chown" on the live filesystem scares me.
|
||||
CDEPEND="acct-group/clamav
|
||||
acct-user/clamav
|
||||
dev-libs/libltdl
|
||||
dev-libs/libmspack
|
||||
dev-libs/json-c:=
|
||||
dev-libs/libpcre2
|
||||
>=sys-libs/zlib-1.2.2:=
|
||||
app-arch/bzip2
|
||||
clamapp? ( sys-libs/ncurses:= net-misc/curl )
|
||||
elibc_musl? ( sys-libs/fts-standalone )
|
||||
virtual/libiconv
|
||||
!libclamav-only? ( net-misc/curl )
|
||||
dev-libs/openssl:=
|
||||
milter? ( || ( mail-filter/libmilter mail-mta/sendmail ) )
|
||||
dev-libs/libxml2
|
||||
rar? ( app-arch/unrar )
|
||||
test? ( dev-python/pytest )"
|
||||
# TODO: there is no way to use this with the new build system instead of the bundled one
|
||||
# dev-libs/tomsfastmath
|
||||
BDEPEND="virtual/pkgconfig
|
||||
doc? ( app-doc/doxygen )
|
||||
test? (
|
||||
${PYTHON_DEPS}
|
||||
$(python_gen_any_dep 'dev-python/pytest[${PYTHON_USEDEP}]')
|
||||
)"
|
||||
DEPEND="${CDEPEND}
|
||||
test? ( dev-libs/check )"
|
||||
RDEPEND="${CDEPEND}
|
||||
selinux? ( sec-policy/selinux-clamav )"
|
||||
|
||||
python_check_deps() {
|
||||
has_version -b "dev-python/pytest[${PYTHON_USEDEP}]"
|
||||
}
|
||||
|
||||
pkg_setup() {
|
||||
use test && python-any-r1_pkg_setup
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
use elibc_musl && append-ldflags -lfts
|
||||
use ppc64 && append-flags -mminimal-toc
|
||||
|
||||
local mycmakeargs=(
|
||||
-DDATABASE_DIRECTORY="${EPREFIX}"/var/lib/clamav
|
||||
-DAPP_CONFIG_DIRECTORY="${EPREFIX}"/etc/clamav
|
||||
-DENABLE_EXPERIMENTAL=OFF
|
||||
-DENABLE_JSON_SHARED=ON
|
||||
-DENABLE_APP=$(usex clamapp ON OFF)
|
||||
-DENABLE_MILTER=$(usex milter ON OFF)
|
||||
-DENABLE_CLAMONACC=$(usex clamonacc ON OFF)
|
||||
-DCLAMAV_USER="clamav"
|
||||
-DCLAMAV_GROUP="clamav"
|
||||
-DBYTECODE_RUNTIME=interpreter
|
||||
-DOPTIMIZE=ON
|
||||
-DENABLE_EXTERNAL_MSPACK=ON
|
||||
-DENABLE_MAN_PAGES=ON
|
||||
-DENABLE_DOXYGEN=$(usex doc)
|
||||
-DENABLE_UNRAR=$(usex rar ON OFF)
|
||||
-DENABLE_TESTS=$(usex test ON OFF)
|
||||
# Used to enable some more tests but doesn't behave well in
|
||||
# sandbox necessarily(?) + needs certain debug symbols present
|
||||
# in e.g. glibc.
|
||||
-DCMAKE_DISABLE_FIND_PACKAGE_Valgrind=ON
|
||||
-DENABLE_STATIC_LIB=OFF
|
||||
-DENABLE_SHARED_LIB=ON
|
||||
-DENABLE_SYSTEMD=$(usex systemd ON OFF)
|
||||
)
|
||||
cmake_src_configure
|
||||
}
|
||||
|
||||
src_install() {
|
||||
cmake_src_install
|
||||
|
||||
# init scripts
|
||||
newinitd "${FILESDIR}/clamd.initd" clamd
|
||||
newinitd "${FILESDIR}/freshclam.initd" freshclam
|
||||
use clamonacc && \
|
||||
newinitd "${FILESDIR}/clamonacc.initd" clamonacc
|
||||
use milter && \
|
||||
newinitd "${FILESDIR}/clamav-milter.initd" clamav-milter
|
||||
|
||||
rm -rf "${ED}"/var/lib/clamav || die
|
||||
|
||||
if ! use libclamav-only ; then
|
||||
if use systemd ; then
|
||||
# The tmpfiles entry is behind USE=systemd because the
|
||||
# upstream OpenRC service files should (and do) ensure that
|
||||
# the directories they need exist and have the correct
|
||||
# permissions without the help of opentmpfiles. There are
|
||||
# years-old root exploits in opentmpfiles, the design is
|
||||
# fundamentally flawed, and the maintainer is not up to
|
||||
# the task of fixing it.
|
||||
dotmpfiles "${FILESDIR}/tmpfiles.d/clamav.conf"
|
||||
systemd_newunit "${FILESDIR}/clamd_at.service-0.104.0" "clamd@.service"
|
||||
systemd_dounit "${FILESDIR}/clamd.service"
|
||||
systemd_newunit "${FILESDIR}/freshclamd.service-r1" \
|
||||
"freshclamd.service"
|
||||
fi
|
||||
|
||||
if use clamapp ; then
|
||||
# Modify /etc/{clamd,freshclam}.conf to be usable out of the box
|
||||
sed -e "s:^\(Example\):\# \1:" \
|
||||
-e "s/^#\(PidFile .*\)/\1/" \
|
||||
-e "s/^#\(LocalSocket .*\)/\1/" \
|
||||
-e "s/^#\(User .*\)/\1/" \
|
||||
-e "s:^\#\(LogFile\) .*:\1 ${EPREFIX}/var/log/clamav/clamd.log:" \
|
||||
-e "s:^\#\(LogTime\).*:\1 yes:" \
|
||||
-e "s/^#\(DatabaseDirectory .*\)/\1/" \
|
||||
"${ED}"/etc/clamav/clamd.conf.sample > \
|
||||
"${ED}"/etc/clamav/clamd.conf || die
|
||||
|
||||
sed -e "s:^\(Example\):\# \1:" \
|
||||
-e "s/^#\(PidFile .*\)/\1/" \
|
||||
-e "s/^#\(DatabaseOwner .*\)/\1/" \
|
||||
-e "s:^\#\(UpdateLogFile\) .*:\1 ${EPREFIX}/var/log/clamav/freshclam.log:" \
|
||||
-e "s:^\#\(NotifyClamd\).*:\1 ${EPREFIX}/etc/clamav/clamd.conf:" \
|
||||
-e "s:^\#\(ScriptedUpdates\).*:\1 yes:" \
|
||||
-e "s/^#\(DatabaseDirectory .*\)/\1/" \
|
||||
"${ED}"/etc/clamav/freshclam.conf.sample > \
|
||||
"${ED}"/etc/clamav/freshclam.conf || die
|
||||
|
||||
if use milter ; then
|
||||
# Note: only keep the "unix" ClamdSocket and MilterSocket!
|
||||
sed -e "s:^\(Example\):\# \1:" \
|
||||
-e "s/^#\(PidFile .*\)/\1/" \
|
||||
-e "s/^#\(ClamdSocket unix:.*\)/\1/" \
|
||||
-e "s/^#\(User .*\)/\1/" \
|
||||
-e "s/^#\(MilterSocket unix:.*\)/\1/" \
|
||||
-e "s:^\#\(LogFile\) .*:\1 ${EPREFIX}/var/log/clamav/clamav-milter.log:" \
|
||||
"${ED}"/etc/clamav/clamav-milter.conf.sample > \
|
||||
"${ED}"/etc/clamav/clamav-milter.conf || die
|
||||
|
||||
systemd_newunit "${FILESDIR}/clamav-milter.service-0.104.0" clamav-milter.service
|
||||
fi
|
||||
|
||||
local i
|
||||
for i in clamd freshclam clamav-milter
|
||||
do
|
||||
if [[ -f "${ED}"/etc/"${i}".conf.sample ]] ; then
|
||||
mv "${ED}"/etc/"${i}".conf{.sample,} || die
|
||||
fi
|
||||
done
|
||||
|
||||
# These both need to be writable by the clamav user.
|
||||
# TODO: use syslog by default; that's what it's for.
|
||||
diropts -o clamav -g clamav
|
||||
keepdir /var/lib/clamav
|
||||
keepdir /var/log/clamav
|
||||
fi
|
||||
fi
|
||||
|
||||
if use doc ; then
|
||||
local HTML_DOCS=( docs/html/. )
|
||||
einstalldocs
|
||||
fi
|
||||
|
||||
# Don't install man pages for utilities we didn't install
|
||||
if use libclamav-only ; then
|
||||
rm -r "${ED}"/usr/share/man || die
|
||||
fi
|
||||
|
||||
find "${ED}" -name '*.la' -delete || die
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
if ! use libclamav-only ; then
|
||||
if use systemd ; then
|
||||
tmpfiles_process clamav.conf
|
||||
fi
|
||||
fi
|
||||
|
||||
if use milter ; then
|
||||
elog "For simple instructions how to setup the clamav-milter read the"
|
||||
elog "clamav-milter.README.gentoo in /usr/share/doc/${PF}"
|
||||
fi
|
||||
|
||||
local databases=( "${EROOT}"/var/lib/clamav/main.c[lv]d )
|
||||
if [[ ! -f "${databases}" ]] ; then
|
||||
ewarn "You must run freshclam manually to populate the virus database"
|
||||
ewarn "before starting clamav for the first time."
|
||||
fi
|
||||
|
||||
ewarn "This version of ClamAV provides separate OpenRC services"
|
||||
ewarn "for clamd, freshclam, clamav-milter, and clamonacc. The"
|
||||
ewarn "clamd service now starts only the clamd daemon itself. You"
|
||||
ewarn "should add freshclam (and perhaps clamav-milter) to any"
|
||||
ewarn "runlevels that previously contained clamd."
|
||||
}
|
Binary file not shown.
@ -1,4 +1,4 @@
|
||||
DIST cabextract-1.9.1.tar.gz 469369 BLAKE2B 5bfc697b40cbf47b42ab7857804b703c9622d8dae1648aae1bb5c0ec7c7978bff01b7ca2526f1b6090f193d88c00e3f49ae111f348d03fec9f575bddbb4b4096 SHA512 c354a4b20a222b40813f01baf8311c9a76611da427f9f44e977a3fd09508e24a18b486e3eef889a9debdca459f1b0c28d5d25429ccd555d3a2e4ff92d91cec14
|
||||
EBUILD cabextract-1.9.1.ebuild 1561 BLAKE2B 876a0ff86a4b9c3acde92aee219dfbdea9c4b839022f4078b87d3fd0e20722db5618a53721bfbb41cc48fa3a9f1417bb8c70733af3c1b30d20f3181b8d9dc262 SHA512 7859df366f5784b02d62f90fc3d7bf875ac6d0adaf9757c6a071a22d3f768ebf27baa2480a177be407af82e0d73ba80cb4868c3a13f69a30f28298cd8ddf2f81
|
||||
EBUILD cabextract-9999.ebuild 1542 BLAKE2B d90ce5df206272e2b8529409d494f606e70106e90de56ef3ec72e64cbad7f0b26a1b16c7b5195d3d146de41c5748b24c02ddb94d5734b9a8ed59a8d27914c450 SHA512 db05f7fbce13f706b5f24462e563d0d790f57d3f92e570705721b06df703ca62e1163078c3b5e5bd184c207a2e23fb45d37d1fc48eedb02ed43de406f2944cc7
|
||||
EBUILD cabextract-1.9.1.ebuild 1589 BLAKE2B ebf5886a021aee647c2cc2e0ab7df67cbd2dea6f670718e9b06e710e7a4b2bd56cb10632d38672de81923e529332edfc258c54609bb19d00c9c73de5c81f513f SHA512 e03ac17a291e90873db34ff2ad289979734941e29281a8e00fb5749bcc73338898c52d5ff199c59a0a5144ae77d4eb9e5fd789e5965d7259151ce32c51ab0661
|
||||
EBUILD cabextract-9999.ebuild 1570 BLAKE2B 3834e948a9ac30dcae4bb1261c4f09955d12f3e4bf01592915cd68e235dbc45b19f479793ddb929625fd3cf074c2b12504dbf04f8dabdae60de5872f4977f35b SHA512 3204337a930259ea04e683484033373865c6a096e2839ee826e2fc52b31a8d44df84f3fc3df8a55505a81e550689914d990e8839824c4dac68b8bcf3b5555297
|
||||
MISC metadata.xml 556 BLAKE2B 56968f48613cd1c331acb6a8013e998d96e9da101dd4bc15bf98381501923087ba5bb49ff6e0b52d6e5fb01121bc543f05c90ce7f2657c871ce0ef07eab16212 SHA512 21a53a5f845a8cebecec884cef051b6f073a9e9009c44d033b90ba5b06d8d2dcfabd0ee3082926e60faebbb6ef297d624313cea1a22308ee1c5de88b834dd71d
|
||||
|
@ -1,6 +1,6 @@
|
||||
DIST zstd-1.4.9.tar.gz 1834843 BLAKE2B 907f492bd023db9459bdc292a0bc4d1b6336d92dd7041eb2b36668589c20fcb98c411b85d78f92cd16d9b4a000d9c4125b5f966a5ca777034ae78210e639315b SHA512 f529db9c094f9ae26428bf1fdfcc91c6d783d400980e0f0d802d2cf13c2be2931465ef568907e03841ff76a369a1447e7371f8799d8526edb9a513ba5c6db133
|
||||
DIST zstd-1.5.2.tar.gz 1950967 BLAKE2B 9d474e9fdcf7e5eb09d1f606712b05ca3001e8f6f7451254d8dba3f429101048532fd9c84a5b9083ae90d0457e9e1b1d48256581a1697e7db19b09d73595f070 SHA512 e107508a41fca50845cc2494e64adaba93efb95a2fa486fc962510a8ba4b2180d93067cae9870f119e88e5e8b28a046bc2240b0b23cdd8933d1fb1a6a9668c1e
|
||||
EBUILD zstd-1.4.9.ebuild 1676 BLAKE2B 31a1c1f3b06f03aee1f79be98fd352ebc850cf763a5fca287810fae13042587d434e28f1826e0e86194bffeadb60704d9b36f0b0036aa72a51fa7be11257e814 SHA512 b878ad96130da9450c92597354335b294b24341c6ac0b8f236f9bcd55efda8c46f700f0571ac80822da34a5b854d463d02cf8707ea1e7b3b2b713a6f6924025c
|
||||
EBUILD zstd-1.5.2-r1.ebuild 1504 BLAKE2B 51451abbae042647f5cb659aa268c6e893269e5518b17b8bbf746219f2e5bf8e30466b57c41b1a9050439a02c0d3acc0ec7e833a6b7b0d6f320958bb79eff090 SHA512 4779c04ea3147a895a8e30df7c70741bc133f628b113037aeb4b2572b45211fe93f638ddaee74c976766ca99a1f3be0c68b3dce430ccda27f6e67ba6a7f875ba
|
||||
EBUILD zstd-1.5.2-r1.ebuild 1499 BLAKE2B e6661c675a32a1ce05576256839c7f1a838139606f0c83cc35c8c76a4334219e63134f5ed4a2f6343dfc70451f0d86289b16493fa87d5b851fda07cf49d8f86e SHA512 53d96ffe637a981c45811beaaa8a2d88fb334c74cdf7f7e142ebe4697903c0f0f5aba8ecc5f4ac048019778d2cc8f6cf9ff8cf695acfc7db51af4b41572f28c7
|
||||
EBUILD zstd-1.5.2.ebuild 1456 BLAKE2B b1f0a313494d5025c9568bc09a4cc5c4caefc8aad0009ff272745541a97977fc812a69cd0ac05c8caf3a487d9cb51578e46e9446f9e9402448fd9227db6145d5 SHA512 445ca54ab352ff64fd6acbbc7e0a2e76ace9e4f55719efe80b304efb4e3da0e369e743f7516c22fd1e4d1611bcd38ea97624f7a874156e595f231b4e958147fb
|
||||
MISC metadata.xml 302 BLAKE2B 66692581b8918a23bab99bb3b0909702327c1acf2b7f8ec2fbfdf74ff75a8f178ce1140e0a9d46b64983dfe9529134db842a5a60a86b7fcbbd5db88e844d136d SHA512 097c09d06824c85919b21bc841c791851b1a7d1a6c6d16a26bbe9bed9dfb1522cacdd2b430b8ff51762fb73b388d88ec679d46570b2e56b36352ea2cf20e46f6
|
||||
|
Binary file not shown.
@ -1,7 +1,7 @@
|
||||
AUX borgmatic-1.5.1-no_test_coverage.patch 284 BLAKE2B 91e041cb2d3d15b65c47075b0524e6e2a60631702eb10243da79b8051504e33476e6f8d61a3d9a172302b9859a01afb0d640a502cc95f69e45024a8fdb5ebc53 SHA512 1604d425f4c3267a41449f5d05675634f365d0be0630b49812e87d13ebc4ee78e01259f2371afbf2150b5b1203676e20c50c1613be24e0fa39df635d229f80bc
|
||||
AUX borgmatic-1.5.16-systemd_service_bin_path.patch 556 BLAKE2B f90b66d3d46ea972ed67bff74365b72e5e7df16199b439e5ad785b731eaa9a3eff5cfa6c9084c1b212b2359e9b8a14b1d0952ec6a560746acfbe594a2267e0ac SHA512 b23d899754762e29221b537c303e65a3b84e4a580d502f96870e8927ab2ef79b557f2c5638cfc4557ea5dfb6bea82b9776c6a67e65fda8a02138d3c57dfc00e6
|
||||
DIST borgmatic-1.6.6.tar.gz 323601 BLAKE2B b40d8f00e3b7bbd343336cf4c6992e34d8289de451c184717827e8e43519b84d4bb9b8cff6a835a7cc502d2e93045f0196d744e4b6ad800de1276e11c3189cec SHA512 f1a6dfa344ebee89e88f1aa6b43d8493c80815c637d8e0f7f6314462fd511b576e62246d957023ab2f9a68875d2818e2b8ef00cbf3339dc35a93d6ebad0bed19
|
||||
DIST borgmatic-1.7.1.tar.gz 333344 BLAKE2B 0076fac9a01715d24dd8dfa9ca93099c94cfe33f65850c089a337b3f95b6c52706d0e6b15200532c0fcca9401f97c02d6ebabd700e42f5d9bb3516e04e7fa0a4 SHA512 6cf0c71a88f0f893f63bb2de7c466af87cad3eff57a6105a6bece2c1acddb962fa14c4d63944c37a3465dc3c09151003daa28e5045a897875552ff7de227d5fc
|
||||
DIST borgmatic-1.7.2.tar.gz 333772 BLAKE2B fd628e9c77547686d4edf5d1066d3c171575f4d923ebc5205c5eb64f3a960e94c121282e9f4fb02b1291a81011a18dc393c6d13a07f215585459e7a5b55f8107 SHA512 6ec12ec25ae4d0210bb9114795c1ea292d8236f9e68c9425e24ee7b580796504e4c317a3fcf778806a33bbd3db68669beb4ef7a88ec538c1bd432db9a2845b3e
|
||||
EBUILD borgmatic-1.6.6.ebuild 1904 BLAKE2B b03ba369e333dc898f8b7901ee651470ccd83d05c37becedbc2f6ddea0b5d29515eb5331015645b1b5f17b921dc180907d1a02edf96a6a1546db4d444f01b415 SHA512 dc5208c3fbed40f6617effc59539e1fcf1cc166ce4083f8a0475b22b0f1a8e70e4f0dcaf35c3acecd6ee6c08b1dd32961d59284b2baba565ea4c558f0bfcebab
|
||||
EBUILD borgmatic-1.7.1.ebuild 2133 BLAKE2B 6f2dfcb4e7822ee1de43a961888ed326b52fa2ed10b291b3aa04a0a510f28598e86d08694274275f52743aec9ff368efbe7c9db11feff7692534aa87b5963805 SHA512 461dde9ae021a879a997cab17caba0303011804fb656f5e884cb271e3d7913759166261f43d2684da80355a3bf9be6aaf89f0be9b1243bbe43a916397f95325b
|
||||
EBUILD borgmatic-1.7.2.ebuild 2133 BLAKE2B 6f2dfcb4e7822ee1de43a961888ed326b52fa2ed10b291b3aa04a0a510f28598e86d08694274275f52743aec9ff368efbe7c9db11feff7692534aa87b5963805 SHA512 461dde9ae021a879a997cab17caba0303011804fb656f5e884cb271e3d7913759166261f43d2684da80355a3bf9be6aaf89f0be9b1243bbe43a916397f95325b
|
||||
MISC metadata.xml 380 BLAKE2B bd4f6eb451caa6b36d51dff099c7885ad2c30f2f9f5397e12049a28214601d67853f0dc604e6e42a566b8bf57acf0d9e39c685af8743cce72ec3b5b07adea72e SHA512 1d2c0a22d3b844b58ed35f3fae261a1d6906e5e1b0e69bbe364e0409f335b44f04089ea1d0e6144e2ddfcf066cc8ad85d14c0b22a28ddd22d235c48e1401569f
|
||||
|
Binary file not shown.
@ -1,5 +1,5 @@
|
||||
DIST dolphin-plugins-22.04.3.tar.xz 257356 BLAKE2B e3d084e628920a08c9e1173c754002f6b0ecfad07bd4d89a64f5b29a7e93362a814ead6aeff80412b01e7198adce78c36f36428560a1ea9e555027113f7d8e6f SHA512 1b96511fbf8ec93b03a5f204c2e4cff232ca0d09e4d1599c89d4d514deb3fb889dfd3050a5cabe4e35b6e65a5283ad09635a13931c8484eebc98a22ba9057b42
|
||||
DIST dolphin-plugins-22.08.0.tar.xz 257872 BLAKE2B 9108b5ac5051b822d8fedac83dab967bd2a344f7d8d3ca8da9a544e40a186ae65a2f6470efce1fe091111392b7a998a8912842c0c31caf64a3e23b7e629ba184 SHA512 047997fa948d4a335495723946855964f6a652f9acf3ffd6f08f78dbfcb8c96a127861164f04f15de963e00295af226041ced7cdb25bd982a6a9f87c7c600855
|
||||
DIST dolphin-plugins-22.08.1.tar.xz 257836 BLAKE2B 3ad0ebe22478b5540dbe4128df718cb428259e2c28d5586a2625c15f63fa9a1e8ca35d45397a9446e8a7bed66ecbc65f13137174a565792ba217158a2c71cd0f SHA512 9eee9e33640dfba94530bd538a0915cdf49257dd68934835056f2e9b0906e7e5884a83bb5095fd6b66e7fb86d5ae5cc77d319439a491cd424fc4fd01fb9097c5
|
||||
EBUILD dolphin-plugins-mountiso-22.04.3.ebuild 1501 BLAKE2B feb1c5d9b6fef64ce4823b82e4737116415df23190a74479ddb02892a32bcaf57801aaf3da1535f97845b7254c38e5719320024ecb514abed30cfe24e3651a40 SHA512 6b533059b383784ea61f667d90fe78b0491a504a77c945aaba3a096fd6f459d617530a51ccdadce44d637c9dcbca818abbf0d10831f7c7accdb0599e92c4cd9f
|
||||
EBUILD dolphin-plugins-mountiso-22.08.0.ebuild 1504 BLAKE2B 09e38970395842613544c0ff6bbf04993094e4f7f0d0e0643380c92774368ec32cc2edd56801240f62debdfea2948bb3d8263ad6178afc939a37a9148571dcf1 SHA512 9f624d5be0e0596d68d9b75d513af498d70826a3f6823df1df96805fc9a384d6f1ae6d8ebf700f2ce91e0658bda27e3637d929442170c396461475fecf4c2b84
|
||||
EBUILD dolphin-plugins-mountiso-22.08.1.ebuild 1504 BLAKE2B 09e38970395842613544c0ff6bbf04993094e4f7f0d0e0643380c92774368ec32cc2edd56801240f62debdfea2948bb3d8263ad6178afc939a37a9148571dcf1 SHA512 9f624d5be0e0596d68d9b75d513af498d70826a3f6823df1df96805fc9a384d6f1ae6d8ebf700f2ce91e0658bda27e3637d929442170c396461475fecf4c2b84
|
||||
MISC metadata.xml 318 BLAKE2B 922a5e32e706b2976c5f359a14194d268d3f499398576c80ce5fad8c0fcea0fbf048de4480a80a6a1889c88b8b6c14147654a3ab4d5ffbcc258c2290da63f6d1 SHA512 614cb8dda7ad2088e5d6ef39b449bb4be0ac72cd0231c320188d76d1816dce6490c5114bb4798112c4b11d99d30a9e82ff8fcf08ffa8c049589682a5e38208f6
|
||||
|
Binary file not shown.
@ -1,4 +1,5 @@
|
||||
AUX chntpw-140201-missing-stdint.patch 596 BLAKE2B 093eb3d96bd34d6d436e69dcdbee64433af52e9f5db3fb92bbe110864040694db3b41ce53e29a4671649a870150bb90fee8c7e1211023cc8d153b76f456df8de SHA512 ab88107c1df99e7fd544a5779f1a9526a3e6d9c93b121f9076dc668e3823e63056df284bed60dd48f60ab2eccb198beee3a26292820805f1be1451776cc46531
|
||||
DIST chntpw-source-140201.zip 1404098 BLAKE2B 86c93861983613496fcd82879a5b000537d4a7ee2add466aa26c67feabefdb5363f610234f99615139997a04aedb448468ef8b29cc6c4bf49b2e295f41308644 SHA512 a26d747f6e077d1bb3e9b8077781f8c37dd978e07b7426495862f15c9004572b706c34736fc4d1ed8856b1a43335d726b4d87c688f7f9a11fd6cc3a74d71a7fa
|
||||
EBUILD chntpw-140201-r1.ebuild 1079 BLAKE2B c6445f23bc6690ff94d9782bf747781040c8ce9b8557a10dae9c2606f3925d9d747329cae09cc865df3ff1eb58b5aac12b68350127593e381f8ec7bb23c1a88c SHA512 3862f8808dd28a6e53aef1c8030f23fb40497ac1f6b22bb2f87c78bca689aba26a686fe8f640cb883a8fc568f6b48192e036e0662b5a81d16b7c514050310797
|
||||
EBUILD chntpw-140201.ebuild 1036 BLAKE2B 806bedd22b457eb6d7d1c442b6e08088c1790919229f722238f74376de452ff7691e8a6beafe468c2e2367b916fc184b03489b6206ccf446f8078e5b3f5f78bd SHA512 6905f1d416eb5466cb7fb1b7c5d3151fbbaea17433445b7ffbab48120dd00798389d4574e357a86ec6ae96adfdeef07c1ebef8dac772a399c2159f5b8f4e64af
|
||||
MISC metadata.xml 246 BLAKE2B f808bbbcb9c53d005d1a1667cd6217a601a3bd3bd2267121c0043a870ae44bb91bb27bc9825d5d6eafe01b73fe58a553655aa252737c0b066f2286ff9415d65e SHA512 b620abb7732628010a8a3792d40bde878492be97ce14c99c4d2466240df2f25edf7734ad4d210bc954f27323f0e26698e660766c65be5868646a3866020373fd
|
||||
|
@ -0,0 +1,58 @@
|
||||
# Copyright 1999-2022 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
inherit toolchain-funcs
|
||||
|
||||
DESCRIPTION="Offline Windows NT Password & Registry Editor"
|
||||
HOMEPAGE="https://pogostick.net/~pnh/ntpasswd/"
|
||||
SRC_URI="https://pogostick.net/~pnh/ntpasswd/${PN}-source-${PV}.zip"
|
||||
|
||||
LICENSE="GPL-2 LGPL-2.1"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~ppc ~x86"
|
||||
IUSE="static"
|
||||
|
||||
RDEPEND="dev-libs/openssl:0="
|
||||
DEPEND="${RDEPEND}
|
||||
app-arch/unzip
|
||||
static? ( dev-libs/openssl:0[static-libs] )"
|
||||
|
||||
DOCS=(
|
||||
HISTORY.txt
|
||||
README.txt
|
||||
WinReg.txt
|
||||
regedit.txt
|
||||
)
|
||||
|
||||
PATCHES=(
|
||||
"${FILESDIR}"/${P}-missing-stdint.patch
|
||||
)
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
sed -i -e '/-o/s:$(CC):$(CC) $(LDFLAGS):' Makefile || die
|
||||
|
||||
if ! use static ; then
|
||||
sed -i -e "/^all:/s/ \(chntpw\|reged\).static//g" Makefile || die
|
||||
fi
|
||||
|
||||
emake clean
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
emake \
|
||||
CC="$(tc-getCC)" \
|
||||
CFLAGS="${CFLAGS} -DUSEOPENSSL -Wall" \
|
||||
LIBS="-lcrypto"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
einstalldocs
|
||||
dobin chntpw cpnt reged sampasswd samusrgrp
|
||||
|
||||
if use static; then
|
||||
dobin {chntpw,reged,sampasswd,samusrgrp}.static
|
||||
fi
|
||||
}
|
@ -1,5 +1,3 @@
|
||||
DIST mkp224o-1.5.0-src.tar.gz 1378324 BLAKE2B 19d38fbf23328607fa428ec9329cdc909b210b4235d85e14ff372347c9b408ecf22d41dac7122bdae06725d7bca0c3d53c81cc27272c47517e714e9b8e0625dd SHA512 aa5adc91e695dbfd8ece5fdfe3ca370056d4390a5186326b35ee37402040fa24675ede5389c48b79a1e57b624b86024ff72957741fef175602f7721f20c5cc14
|
||||
DIST mkp224o-1.6.1-src.tar.gz 1387615 BLAKE2B 271424dcee44b5b1e1a35346a0cc1c37ee5d430231fe93e0b936ac994c892f0406ea361be763732db8a8397684ecad70e26c34f5553a415e7ed0592417672310 SHA512 d0c21ee5fb5f7b2950e1c39af5dc62b1e26aef0917b53169e9c3f9a99a7febe70bb2f96ada612c71bdbdbf8cad9c1f407d175af49fca40eedd68bbe8112970a5
|
||||
EBUILD mkp224o-1.5.0.ebuild 766 BLAKE2B 8138ab3b1467e1f2164b5ffac561a7d62bdebb99c53624e5a9c9b936fb839f18615ab7165f35a0bc38c6986af1cfbc8b01dc635426db2a5d05db077f752ef232 SHA512 b678d1d3167979e9f7507b6a4359356cf859160026892fc7e3489355b9201557139223e912ccf6f09aa3e770a2577c24ad071b82bbab476e72540ff0217ddacd
|
||||
EBUILD mkp224o-1.6.1.ebuild 765 BLAKE2B 2d16049b3c2908ec65619bf440fc3954cfe3f17609c923610f1b615e4e0b15c329f2bea8e4ded94f15823ad9becc38510e826e5a8ad082af0f7db2c637d3537e SHA512 cce2783db03fabe87cc751aebeedbbce9151d64d7bb8ebe8b7edb230e4990f2267f8bcbce2340e409fe9d0343c9d51ff74573d678003795ebd7346ad26c0d125
|
||||
MISC metadata.xml 441 BLAKE2B 2d6b436d30726fdaca9272dba7629a64a36a64d84516be74d87d66d93d87c0dbbdf356254c372e2e090d0ed97a64a60483c3b91aa6a9a3944099337b1b699bda SHA512 36de72bdf964af4056ed9bf21bacfccbc56b3f4a668a4ccd307f74c8aefdb5d66c03504b86762f6d686ecf44a27b77b0119dfaf3d198a8c60d408055e52aee80
|
||||
|
@ -1,36 +0,0 @@
|
||||
# Copyright 1999-2022 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
DESCRIPTION="Vanity address generator for v3 Tor hidden service addresses"
|
||||
HOMEPAGE="https://github.com/cathugger/mkp224o"
|
||||
SRC_URI="https://github.com/cathugger/${PN}/releases/download/v${PV}/${PN}-${PV}-src.tar.gz"
|
||||
|
||||
LICENSE="CC0-1.0"
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64"
|
||||
IUSE="cpu_flags_x86_sse2 pcre2"
|
||||
|
||||
DEPEND="
|
||||
dev-libs/libsodium:=
|
||||
pcre2? ( dev-libs/libpcre2:= )
|
||||
"
|
||||
RDEPEND="${DEPEND}"
|
||||
|
||||
DOCS=( OPTIMISATION.txt README.txt )
|
||||
|
||||
src_configure() {
|
||||
local myeconfargs=(
|
||||
--enable-regex=$(usex pcre2)
|
||||
--enable-statistics
|
||||
)
|
||||
use cpu_flags_x86_sse2 && myeconfargs+=( --enable-donna-sse2 )
|
||||
|
||||
econf "${myeconfargs[@]}"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
einstalldocs
|
||||
dobin ${PN}
|
||||
}
|
@ -1,4 +1,4 @@
|
||||
AUX ssdeep-2.10-shared.patch 174 BLAKE2B fff5447389ca80a63bf8ac422ca8c06aa1d17715bde05e00e9922b57004f807a435cef58d2d32af269eb39c764ba53b81daae4b745f69f74754f83f13923ee21 SHA512 9429c38e22cf100809062818c286419d141089e0dd081c11034d7f62143ef9fe2d2bac0ad67104d448c387b7bd4b84ff364933f363faae3dda527e5e8390ad1f
|
||||
DIST ssdeep-2.14.1.tar.gz 408831 BLAKE2B 7e0709a18876a192568e37d1deb63df11f2feadaff7b53c3bcb3a9f2566b18897e50b7543a29ec5cd3132981bcaf4609615793f31fa9cf654334e8fc5a90afac SHA512 a8f87e21f654d482a67709da273cf58808af377cfcb20f189986bad58530e382f8f1d3a5eaf33aa02284015a6fa7ccfc7fc383e487de6e0e4f57405a16537217
|
||||
EBUILD ssdeep-2.14.1.ebuild 805 BLAKE2B 6c4e1c97cee8cec9f60770fe91000edeedaaeafd9211f5fab9384b1d9bd1d3a9b64aec74da955e18536517d7a88d68eee33a562d491670f6f76e7e32452309e5 SHA512 ea6cf0241effa2f1456a385e2861940bd32347dc350435f857adbe7243ad6287e5fa413130d3da33d8f15dbdf3cf2ff2eedb9e4aafd0c3aa45bb630c057315a8
|
||||
EBUILD ssdeep-2.14.1-r1.ebuild 607 BLAKE2B 0ae8ddd53b4316a17cde76daa92378a64465e2d83b16b01c9326e4c4a39741bb0100fb2e3b9b8183408d204986cb7efaf8ccec48cb2fe3f7d196ae6f4e9a4e9b SHA512 306b2c2a9dd86418944a2e3192cb896ae21860f887ed85dd92552e291dc9f742264e9c7715e8cffdb56efea39c4b63478185fc4c98e8f081a53b87752f11032f
|
||||
MISC metadata.xml 269 BLAKE2B 588a18bbc6084da44922eccd34c39ce3a978762a26161f30a309a5a79caf127845b2b6683d8dab2f98024a4d7f1ac8d26515ee39a5bd5db1591605dd0076e7cd SHA512 cc7057e78be341e501b6b12774d1e07017f3abe9186a5dc2a8cc95ade2ca6043dedfb442713e782df06e18ed50e65729180d2cf3b5f91d65122cee0920b46cee
|
||||
|
Binary file not shown.
@ -1,3 +1,5 @@
|
||||
DIST sjp-aspell6-pl-6.0_20220601-0.tar.bz2 650672 BLAKE2B cf8212d0ecfa482fd60c4a1b39c3a45c9d47c522899bf243bbe5f0d2dbfe51b8e444950c59b25a210fa8c210a03db03374b24e64350dcf10ce63ab8354b8c026 SHA512 9d3eda4ede1f1ab24b4fc3c9be049fd74711e1a6cd8632d8c8d5248d96b63264cf67f7ed783595142cb632904c15f7f13b887f5ae6656744ae9cc97adfc1ac9e
|
||||
DIST sjp-aspell6-pl-6.0_20220801-0.tar.bz2 651138 BLAKE2B 9ecb170beb64d63a45093415bd2dbe824629616878829d5450fc7dfd5b4ae79eb4d807673e025055c29877ca8054c9ad22185ae16574c8a938dd01372c55eeb6 SHA512 77fbd7a6c87f5a05d994b2c1aa3a808d0af37243906d1ce92f5bd735f4cf793769bb25a770e36c61a380c11f83f904aa598fab20dd0d031d172a6e7c1d440d2a
|
||||
EBUILD aspell-pl-6.0.20220601.0.ebuild 501 BLAKE2B ec6a7f1513b54ee5a80dd20641ee1f75a82e6fc20fee312ff2d13555a4b83f934a90667c13330f21edaff35fdcba27c700c0d7cea826c53ad0db4f90875342c3 SHA512 6025003626a72d7fe6d1c8e4d3676b2d8a0d1a845da13b5dfe4c9d9fb71b4c725c24a1a5c891235afc8d4d5dbd33b1b4dbcf2d0b99f0c3f944c8107521f2fd75
|
||||
EBUILD aspell-pl-6.0.20220801.0.ebuild 507 BLAKE2B f5a375ed1dddb97530e86dfeba674b8b8be02be2b5f6d32887d12af19d3dbf46db650496eb28709b6d70276adb08017207ccf2529eb15ab5967e95e2119b483b SHA512 ddb683aae7a078f58d2cecfec75adc883d2980a2b29e63e535f70bad773180f33424425a12b6aecdf20ca40e879530e7296d090a46473f8c6c002f1eb951a76a
|
||||
MISC metadata.xml 275 BLAKE2B 5ea4d40b14cc5ef65beaed8b1e6fba240963d79a9295621e0ec49d8e2a5577dc44770ebdea263723703611df01545780051e8cba4f2c4b6394c44db2abce3cde SHA512 c3dba23dbeb92f784a10f132881fd91e83a7bdc6a313ad5dff7da6e91ad72975a1b6fb5a85f3adef4abb746dd7f0fe7af81b8176ebf9ca495259ec04a29cbd8a
|
||||
|
@ -0,0 +1,18 @@
|
||||
# Copyright 1999-2022 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
ASPELL_LANG="Polish"
|
||||
ASPELL_VERSION=6
|
||||
|
||||
inherit aspell-dict-r1
|
||||
|
||||
HOMEPAGE="https://sjp.pl/slownik/en/"
|
||||
|
||||
MY_P="sjp-${PN/aspell/aspell6}-$(ver_rs 2 _ 3 -)"
|
||||
SRC_URI="https://sjp.pl/slownik/ort/${MY_P}.tar.bz2"
|
||||
S="${WORKDIR}/${MY_P/sjp-/}"
|
||||
|
||||
LICENSE="Apache-2.0 CC-BY-4.0 GPL-2 LGPL-2.1 MPL-1.1 "
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc x86"
|
Binary file not shown.
@ -1,7 +1,7 @@
|
||||
AUX devmanual-eclasses.patch 486 BLAKE2B 7e772ed7386c199c697808137ecf6f999e60ff32f05a89eb0ceeb41b34576d667996fe9b7f7279b87a40bd8c1efbef5415d69be1b0b9f9f0954e813ab890ffa5 SHA512 1f34bf4e0ed105122eb45ad498ddc737774103720cef9a3a30346a16e85173bc8fb38dc9cc1e9bb2d9b902feb167e5df0ff4cb39f62640f4314fe750533f7cf3
|
||||
DIST devmanual-0_pre20220326.tar.xz 183228 BLAKE2B 67ab1a24e8f1043f2d7938a76f4d819ecfaffaf3516cf5ce9eff20ac0e481c60be06c83c4adc3835e6ee66c44def290aa682567662dbf7a7a7057b0d168e1677 SHA512 364fe3504ba424201b450e08fe2043e55d1067c3603c4d3248112117461a4ab667d50f82deac9daaf50e28ea5d996c1ae08668d55b7379915cc175f66edddf9b
|
||||
DIST devmanual-0_pre20220625.tar.xz 185236 BLAKE2B 3fb6bc0ec184c611fb10aa3062ffc7cd12e1d77a5a093fd13f7958fbf3494c42dc9674e10164c67080d1b5af1dcdc2fa09c017aeaec77e09fdd87cf63556b4c8 SHA512 46f44a9d77b0f433b9f8bbe48f1a2c9871c00a78f9726b7bed8aebb1e389898e0ddcbcee313ff277fc3946b3b2d46b5a23227c4f6d41cee467605086c182ba56
|
||||
EBUILD devmanual-0_pre20220326.ebuild 1574 BLAKE2B 88d68d7a69ba3a2642878bea07929524dce6acedd908401934cfb92b1dbf2735e2ef5215cc781f936ef790568e58f60e175dce78b0744ae69fc0780e12fee60d SHA512 28388b729d59a8efb1c59a90194d546d59f7ede8f22c98b2ef1e4d6263781af0e9d79501c6b92f00e8975f43fb1255aeb081afdbbcf17e70f0edacd729dd888b
|
||||
EBUILD devmanual-0_pre20220625.ebuild 1580 BLAKE2B 117a0b67beadac8420b1377d94279d631f6a7c3b449a508dd04c1525921fccb5771922ffc4fe618c9954d979a338aaf193e0d1b4514e40cc50b134ab4351f9a3 SHA512 29c24dfd6ac2fd97efcd5600c2e1e93ef73dd35048ecef65679a9f0dc94488b7f37fecf59c30a48420c5199671b618e0c03619dabcd8db777abae09ab50aa847
|
||||
EBUILD devmanual-9999.ebuild 1580 BLAKE2B 117a0b67beadac8420b1377d94279d631f6a7c3b449a508dd04c1525921fccb5771922ffc4fe618c9954d979a338aaf193e0d1b4514e40cc50b134ab4351f9a3 SHA512 29c24dfd6ac2fd97efcd5600c2e1e93ef73dd35048ecef65679a9f0dc94488b7f37fecf59c30a48420c5199671b618e0c03619dabcd8db777abae09ab50aa847
|
||||
EBUILD devmanual-0_pre20220326.ebuild 1577 BLAKE2B 4715b154bdc7053996720223b00ffe2fae0dda3a1d44e41cedec814e48b3572ef292dfb48cb544824deabf1369c9eb0ccc4d1f5bf4a01a85e567d190d211b70f SHA512 1074c43e0acc3eb0fa1607e2ea6ec6d57b16762ae122236fd31aef7f2f59f8ad04b4d841471b36d70215e852a6de577dbac7c87807ada06ef873717a29542f1b
|
||||
EBUILD devmanual-0_pre20220625.ebuild 1583 BLAKE2B 8f0619342579dd40bc9aaa7e43d8f8d2ac39a861a130328976f5ac995753801a5d0b7f43fd722ce185f270bbc6d43bae4de6de486a639f81a230f63b42b41242 SHA512 2b98f9ef9b354a231cbd40550c0516ae510b9683755f52ee4c5e1d7ec664d8d513e3ef3ae50d19f6d5dceca11b17d5c8b104b297d754be51a8e82a219f854906
|
||||
EBUILD devmanual-9999.ebuild 1583 BLAKE2B 8f0619342579dd40bc9aaa7e43d8f8d2ac39a861a130328976f5ac995753801a5d0b7f43fd722ce185f270bbc6d43bae4de6de486a639f81a230f63b42b41242 SHA512 2b98f9ef9b354a231cbd40550c0516ae510b9683755f52ee4c5e1d7ec664d8d513e3ef3ae50d19f6d5dceca11b17d5c8b104b297d754be51a8e82a219f854906
|
||||
MISC metadata.xml 582 BLAKE2B 7ee3c594233daee0e5d20e04dbbece002c3eae1928e3176d58d40d484a77b1ca521bb0ad5722d2fd858606774e5e916d667e8ffd55e2a0c29d37687230911a8c SHA512 0b8e55afbea4312c671f33dcee0b0e61e1bd22dc2b771776e209da5e1ce4d739755f9fbaa8c2128769a3021dea83faa5b3eccb8e1946f0957c7e059c4dbfe8a2
|
||||
|
Binary file not shown.
@ -1,3 +1,3 @@
|
||||
DIST gedit-plugins-42.1.tar.xz 946368 BLAKE2B 6ee8c42d5d5214cdb9095bce71623f9486c973ade69aad91eed4ae13a1ad5ab59bcc43d30078bdb9db46527160f8bc6b183a56c255d10f8027c4ff2e603fffa6 SHA512 2e36919f7b7232e4471e2c1277c33e2f79ff513b76574cf765e451064979587c170ae003c9517d33f3b9cfce916cb7f25f9e3d0a4f6a6b203086fcfff9f265aa
|
||||
EBUILD gedit-plugins-42.1.ebuild 2729 BLAKE2B 0c78a2720f64215aee779ffce2b87ec5f9fdc27ad376d729556c8520d1f2ef9f8ddb40b0253e2b1eb36ad86cdc5bff57be6f2c51ac5d38f4cd1f258c16c0bc27 SHA512 26ee76a158f1d42341d402c1bc77a147e6ad54a480f909af16fc3fcad900773405d12fe38be180e1869fad5f99c8e0b19ecf3d42d72eb1099c3969a0a82b663d
|
||||
EBUILD gedit-plugins-42.1.ebuild 2732 BLAKE2B 18574c00784c8bf1457bb57ab8d639e1038f4d1f2cca2c141392e2c91049334f0fa341d0fc004e25db2ae4e2441fd2b2897e2e0ba3dc174926f9712ca95f42ed SHA512 068a0070323daa44d4faf44b98ad15cccf5ab846868a1cb0040cfec68946a6cabccd79c8638368c69b8168d27db3673daf250189999c79b65e3a877529be61d1
|
||||
MISC metadata.xml 481 BLAKE2B 5fbf2df78aa40fce971741bb7d04de00cdc7a6371c2652ae0ae4bf253ee469c4bbb5e5a7c2b88226f95bb8865930dd19e9adedb191fd5a173ce915890ce40b32 SHA512 3b4b858659d1597e6c1ee574143de4864be8b75d4a6399d47bff85c4b18ec35472523bfeaa0815189a9008764405ee3b2fa53e73fcdc3edc8eda00a5f943f762
|
||||
|
@ -1,5 +1,6 @@
|
||||
DIST vis-0.7.tar.gz 403918 BLAKE2B 5e4930fdb14ed42a2daf6682a99107ee6eb59e99e348abab5262bdbc53956dd9ccd094695d7f53c6770d10e46b2812b0e07ff90184ff920790f5b95f4091a610 SHA512 ccc6a054fea6917e7751882468a74c30c712f7ec400a913c95c0084691f706e2bee54efb86b75be8b121c9a209c7e587e72e5474c55271d9943e91fc8aaf9bac
|
||||
DIST vis-test-0.5.tar.gz 99314 BLAKE2B 988d7e93d0f3c58d2fc8fbe9293049c6a3cc44dfcbfbd4f42f7992815cf33a604340b59171dcd880f7180ae56e3f73f46684b7aacd96438480db6c4592851f2c SHA512 c41b40f23a45a7ebd9c16aa853d9c3b517767cb88ff8dc268da44276a02aa8c77de0fc6aa243a1e4cdfbc27182870b82d0b9bc892bb87ea74d5275d76c554ed1
|
||||
EBUILD vis-0.7.ebuild 2089 BLAKE2B 6f162ce08ee3df3ccc361c72e95dfd0736629a8970cccef34f389896cd40cf3a34c13f05704603609f53d062c9ec26a25323fa467dce631cdee4475a8bcee76c SHA512 4b7810d5ec4780f639fc52372a2d031ab791abcc06f88887fd69eb883f0a5d82b394501625f0393b06a5235ebeca4346b4795798ea2d733a15426f7506ec8a83
|
||||
EBUILD vis-9999.ebuild 1510 BLAKE2B 261b5b6a5f68755c365c6d5ba76950069d7d7cd86f0cf459e2a08d5351195bd62fee18a8808d6834709b6753055581f0e2af8bc92b3bf3880ce324d9a2eeec3b SHA512 248809889b2e225a29e5511f5f337e9b002a32230859526bd90e026127f59970a4368c7afce0fda76359960ccb9bc1189709a3278d225f2717b454840e54552f
|
||||
EBUILD vis-0.7-r1.ebuild 2439 BLAKE2B 967fb45aabc2be3ccf54e4fe9e7425f2708a8d0426b9dc8941d66700aa3d75d2dee3433576b4090b4e9979d9cc62e1151486876f47a8d83b8301df48bd6fc6c0 SHA512 e64da5441a4cf5f1543f37b7af010cd5d585a13aa0c9b8bea4bb9feaa8df90788f937906a49fb68b8ebf168fc4a6078a9a0a3c3c566656de1b8bc10f80fdbb38
|
||||
EBUILD vis-0.7.ebuild 2093 BLAKE2B 0cf24049368f6498137e1783f33befa5c93f30fd4a03a1d8a3d7d9d28d35ff77e3bc883775e20774b261b6d05c1b38c5c60a65ac68ab0e387c8a241e74e7b61e SHA512 c57dd8e95d573f1f62f81ad3f6b0283e0104504bc85ce5437158a2f5399e5216f5a7c4eec5d7907d1f8c90bb613904d6f2ab0ad78fe9caa1b33f5ce1fe6f44bb
|
||||
EBUILD vis-9999.ebuild 2439 BLAKE2B 967fb45aabc2be3ccf54e4fe9e7425f2708a8d0426b9dc8941d66700aa3d75d2dee3433576b4090b4e9979d9cc62e1151486876f47a8d83b8301df48bd6fc6c0 SHA512 e64da5441a4cf5f1543f37b7af010cd5d585a13aa0c9b8bea4bb9feaa8df90788f937906a49fb68b8ebf168fc4a6078a9a0a3c3c566656de1b8bc10f80fdbb38
|
||||
MISC metadata.xml 624 BLAKE2B 5a95ae9ee2534eaccfccfc71f92ba0b978fe6794a42eeb6015812443c0b9ad30bfc604e183c8707e0b6594ef14df6ab499553e0495503768c5807327aa1f09ea SHA512 e052254e86f089107f9bc0b0cc6fa326aa10209d02a7ac1eeeeab040a0d197da3429a6a289ec8c92de64fdd4452f3752d73905c409b1970767ec4ca00c132a69
|
||||
|
@ -0,0 +1,92 @@
|
||||
# Copyright 1999-2022 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
MY_PTV=0.5
|
||||
LUA_COMPAT=( lua5-2 lua5-3 lua5-4 )
|
||||
|
||||
inherit lua-single optfeature
|
||||
|
||||
if [ "${PV}" == "9999" ]; then
|
||||
inherit git-r3
|
||||
EGIT_REPO_URI="https://github.com/martanne/vis.git"
|
||||
else
|
||||
SRC_URI="https://github.com/martanne/vis/releases/download/v${PV}/${P}.tar.gz
|
||||
test? ( https://github.com/martanne/vis-test/releases/download/v${MY_PTV}/vis-test-${MY_PTV}.tar.gz )"
|
||||
KEYWORDS="~amd64 ~arm ~riscv ~x86"
|
||||
fi
|
||||
|
||||
DESCRIPTION="modern, legacy free, simple yet efficient vim-like editor"
|
||||
HOMEPAGE="https://github.com/martanne/vis"
|
||||
LICENSE="ISC MIT"
|
||||
SLOT="0"
|
||||
IUSE="+ncurses +lua selinux test tre"
|
||||
REQUIRED_USE="lua? ( ${LUA_REQUIRED_USE} )"
|
||||
RESTRICT="!test? ( test )"
|
||||
|
||||
# - Known to also work with NetBSD curses
|
||||
DEPEND="dev-libs/libtermkey
|
||||
sys-apps/acl
|
||||
ncurses? ( sys-libs/ncurses:0= )
|
||||
lua? ( ${LUA_DEPS} )
|
||||
tre? ( dev-libs/tre )"
|
||||
RDEPEND="${DEPEND}
|
||||
app-eselect/eselect-vi"
|
||||
# lpeg: https://github.com/martanne/vis-test/issues/28
|
||||
BDEPEND="test? (
|
||||
$(lua_gen_cond_dep 'dev-lua/lpeg[${LUA_USEDEP}]')
|
||||
$(lua_gen_cond_dep 'dev-lua/busted[${LUA_USEDEP}]')
|
||||
)"
|
||||
|
||||
pkg_setup() {
|
||||
use lua && lua-single_pkg_setup
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
if use test; then
|
||||
if [ ! "${PV}" == "9999" ]; then
|
||||
rm -r test || die
|
||||
mv "${WORKDIR}/vis-test-${MY_PTV}" test || die
|
||||
fi
|
||||
|
||||
# https://bugs.gentoo.org/722014 https://github.com/martanne/vis-test/pull/22
|
||||
sed -i 's;./ccan-config > config.h;./ccan-config "${CC}" ${CFLAGS} > config.h;' test/core/Makefile || die
|
||||
|
||||
# https://github.com/martanne/vis-test/pull/29
|
||||
sed -i 's;cpp -P;${CPP:-cpp} -P;' test/vim/test.sh || die
|
||||
|
||||
# https://github.com/martanne/vis-test/issues/27 a Werror clone
|
||||
sed -i 's;|| strstr(output, "warning");;' test/core/ccan-config.c || die
|
||||
fi
|
||||
|
||||
sed -i 's|STRIP?=.*|STRIP=true|' Makefile || die
|
||||
sed -i 's|${DOCPREFIX}/vis|${DOCPREFIX}|' Makefile || die
|
||||
sed -i 's|DOCUMENTATION = LICENSE|DOCUMENTATION =|' Makefile || die
|
||||
|
||||
default
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
./configure \
|
||||
--prefix="${EPREFIX}"/usr \
|
||||
--docdir="${EPREFIX}"/usr/share/doc/${PF} \
|
||||
$(use_enable lua) \
|
||||
$(use_enable ncurses curses) \
|
||||
$(use_enable selinux) \
|
||||
$(use_enable tre) || die
|
||||
}
|
||||
|
||||
update_symlinks() {
|
||||
einfo "Calling eselect vi update --if-unset"
|
||||
eselect vi update --if-unset
|
||||
}
|
||||
|
||||
pkg_postrm() {
|
||||
update_symlinks
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
update_symlinks
|
||||
optfeature "syntax highlighting support" dev-lua/lpeg
|
||||
}
|
Binary file not shown.
@ -1,5 +1,7 @@
|
||||
AUX 50geiser-guile-gentoo.el 312 BLAKE2B d7fd0743d54c187697b0b09df60899a9919a49455028acd409f0eed8150a2def13c874da76745986b84e3c252a49e9bd452d09e7f9fed6a75e57477ab19d8132 SHA512 056c4a75d9ed893d03de8ccd4835b3870d8f09305367543a845c870917ba96dc48879be7c96965603665baeb9719bb6e4eaa99d41567f4d4f3e534ca47aba5ad
|
||||
AUX geiser-guile-guile-scheme-src-dir.patch 434 BLAKE2B 4d7681379cefcc0b5297ad0d37e5b79a4d30494dae362d834b7d3e25d0b102bddfd34ef18599fd024e9dda57203e58d154dbebec4e32ffe4af60e4a2e7f22004 SHA512 5d7002b86cbb6e566079182bebbaf84a584eeab10edc63269bfa7a0484602bbc1492e5f9edfc3fd37dc8909f5ebb5922ab2b26e288762204b82247a474be8c18
|
||||
DIST geiser-guile-0.23.2.tar.gz 15615 BLAKE2B e30f5eef1496f8016be35fa3eda2bf02fc651e5bdb9ac8cf8c90a130bd72dd13b67140f172aab24ed38858294ff83c366eaa4b3e354b0a1107c28a0258b2f787 SHA512 c696bc0e406869d9c68f3cda9bbc2f5f0690148264e221c6fc3217f867a5cae3fd6df59851fdbec8a6c9eb6aab7f9482c3231fe75a509d58d2d9d16c008774b8
|
||||
DIST geiser-guile-0.26.1.tar.gz 15629 BLAKE2B b8daa40e2e713fcf43a02cc3797fa118c52b796921a0976bed8031b46c1c55da3c3d476cae24551f6a45f1f12f70c4fb99c59eb1ea900aa67ff6d557fd35c08b SHA512 2543773362872d82ca8c70ba278471be8e333e0919b42969b4634c1f14e1bb1b5416c530b1db346ac7897a4861624c4e69788c8d44beca39757c3bdf1d6d03b5
|
||||
EBUILD geiser-guile-0.23.2.ebuild 821 BLAKE2B 5850687cb12419dc41f22534a40cded96fc0fb749d02b2bc295836c370eb3f558e5487de206ed4482dce71ba18321ccf254543aea82e177b3f401b6e41ea6cea SHA512 3e07169f42f9a2bf3a5ecca1fcba3457d5f2ffd8d284d9c2768e4a935dbddca7a291f2de41460fcef3ed3157072f7edecca08932e476b452c6456fa9db846a7f
|
||||
EBUILD geiser-guile-0.26.1.ebuild 821 BLAKE2B 5850687cb12419dc41f22534a40cded96fc0fb749d02b2bc295836c370eb3f558e5487de206ed4482dce71ba18321ccf254543aea82e177b3f401b6e41ea6cea SHA512 3e07169f42f9a2bf3a5ecca1fcba3457d5f2ffd8d284d9c2768e4a935dbddca7a291f2de41460fcef3ed3157072f7edecca08932e476b452c6456fa9db846a7f
|
||||
MISC metadata.xml 549 BLAKE2B 24ae701ff497b7fc2d335b939d79697bd2a33c0a3e198156a745528eeac3635d036689f60c5fbc10c46dd9219c58ca6a4bcb484a104fbb82fce5d02480002157 SHA512 20c1411f9d96be4c8e4acc324e5cb74ebc90976c497c30136056cfb829db4fd974269af00da44a6bd8c77a24aec25f747449b45e0e0fb8f03d358880b0295f0b
|
||||
|
@ -0,0 +1,42 @@
|
||||
# Copyright 1999-2022 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
NEED_EMACS=25.1
|
||||
|
||||
inherit elisp
|
||||
|
||||
DESCRIPTION="Guile's implementation of the Geiser protocols"
|
||||
HOMEPAGE="https://gitlab.com/emacs-geiser/guile/"
|
||||
SRC_URI="https://gitlab.com/emacs-geiser/guile/-/archive/${PV}/guile-${PV}.tar.gz
|
||||
-> ${P}.tar.gz"
|
||||
S="${WORKDIR}"/guile-${PV}
|
||||
|
||||
LICENSE="BSD"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
|
||||
BDEPEND="app-emacs/geiser"
|
||||
RDEPEND="
|
||||
${BDEPEND}
|
||||
dev-scheme/guile
|
||||
"
|
||||
|
||||
DOCS=( readme.org )
|
||||
PATCHES=( "${FILESDIR}"/${PN}-guile-scheme-src-dir.patch )
|
||||
ELISP_TEXINFO="${PN}.texi"
|
||||
SITEFILE="50${PN}-gentoo.el"
|
||||
|
||||
src_prepare() {
|
||||
elisp_src_prepare
|
||||
|
||||
sed "s|@SITEETC@|${EPREFIX}${SITEETC}/${PN}|" -i ${PN}.el || die
|
||||
}
|
||||
|
||||
src_install() {
|
||||
elisp_src_install
|
||||
|
||||
insinto ${SITEETC}/${PN}
|
||||
doins -r src
|
||||
}
|
@ -1,8 +1,10 @@
|
||||
AUX 50geiser-gentoo.el 295 BLAKE2B 5dfbb043d11f242fae453719c85c7b5dd6abfa16e390de35c390d4dec9f80e512039e5d7dd6d79986df9e8d0822c12562d32001ad6bc6a33ab8c168299548044 SHA512 1a7ebc8f2b2e95ee5b1e7c81d498d6239fa88110165f54e6926bedcee4d1ba64c11e6946d8129d0a6958b0ecb280011af3c64c283279d183dc843b0328aa178c
|
||||
DIST geiser-0.23.2.tar.gz 653228 BLAKE2B ef0ce0a925a9d5df32a2b67b216dc46da535d68d70b706ffc9dd4d3bb01af879c9533337b2e8293c7bed8d3cdebeecd3f4443b3071f865cf1b7280347b202298 SHA512 dd6852d95296aaef44ad0e9a6723986372d58f9beab20bd45330aeffae590fbd5ea45822032fb9cc2712756e3b13ba5c829fbefeead4e5f41c94400bf059110e
|
||||
DIST geiser-0.25.1.tar.gz 652262 BLAKE2B 8c5a323bedd869c98bf500c861c7731a0b1dd9833f78bf348a2e29d26039c674a00b51529d77b56b213ccc1351b73388010847551b3cd829fb265cffb733864a SHA512 93a8d7e096a24759f5e8c9dbdd2d4ad31caf185c6a970ff1b4364c4492e5f2e0925cc59e97546f9c40dd5913fb2b38e7ade7599ef791c6e198ad0af966030f16
|
||||
DIST geiser-0.26.1.tar.gz 652903 BLAKE2B f2b0121b390b33ee8d93136af9addd92dff7f683820bb32f76f36090b5028e9693f629949dd239a27597fc4e290c21100e1cdc143f5db3fb275bb5bd826d5862 SHA512 dfec087e94e73c4b3a12db56ea3192614c536aaeb3acdb20e1afe0512e69f09388576e19acc6e55a39f8f5b6397bcef40ad7f1cce0504ffe742d1f9478eed44f
|
||||
DIST geiser-0.26.tar.gz 652756 BLAKE2B ac32db838473b8a07394146d5f7dc88ba2bfb36f4d169af14029e202a6d87950a69f0b920ed6a627bda90843cc77c1c7e57f49fee53af87ed9526642bdb65c27 SHA512 df6d7ec500e8e0546c56630f7f2f0901df8fa373924ac812b25ab0cfbeea2a5d0b9f1719850a7454eb7e7d0dda95209c201de85ff3937b717f2bec6ed2513e6b
|
||||
EBUILD geiser-0.23.2.ebuild 834 BLAKE2B b90c8a5c14b9f2dd9f8f69e1c5a93fd7b365c526df5c092b8a3569495326bb93fd4021520626a55b8b84d56f790c80287609f4a6c3ef17253e61dffc86b75095 SHA512 9e9d190d12434c0a657261b3de77d74796d183002243762c1b4ab98a94374bce1abaa12ea4c89f508041c49afbf89f090d53766edd4fbc7200c33d5e349f88dc
|
||||
EBUILD geiser-0.25.1.ebuild 804 BLAKE2B 4a20fad9c4b842d3e314738bd8a2e8ed83881f8ad9bc9a41f65392af7aeee25598634dec6e03ea948f36de139777df25e30281837b42be40288979ee92006b10 SHA512 6f8db059104559efcc4e82a2785ea2922da8bcb9ced667d7d1dd7477d11db9974c12e9d562899d49afa3a41c590751c981989b2bd272476016e4d78f469ef905
|
||||
EBUILD geiser-0.26.1.ebuild 804 BLAKE2B 4a20fad9c4b842d3e314738bd8a2e8ed83881f8ad9bc9a41f65392af7aeee25598634dec6e03ea948f36de139777df25e30281837b42be40288979ee92006b10 SHA512 6f8db059104559efcc4e82a2785ea2922da8bcb9ced667d7d1dd7477d11db9974c12e9d562899d49afa3a41c590751c981989b2bd272476016e4d78f469ef905
|
||||
EBUILD geiser-0.26.ebuild 804 BLAKE2B 4a20fad9c4b842d3e314738bd8a2e8ed83881f8ad9bc9a41f65392af7aeee25598634dec6e03ea948f36de139777df25e30281837b42be40288979ee92006b10 SHA512 6f8db059104559efcc4e82a2785ea2922da8bcb9ced667d7d1dd7477d11db9974c12e9d562899d49afa3a41c590751c981989b2bd272476016e4d78f469ef905
|
||||
MISC metadata.xml 551 BLAKE2B 2aedbc78837b20f258a94790c4a84f8bfab77f4d71e65354ea6439122c4d84378776c7f9c9a7649c0aadc68df9f33eeca482712961eb8b3af0dffde4d1769ded SHA512 aa663549e7f0710b8629889dd57bb99cc2ec2f2ea93c86d6b75dd85fe4a8467abb4688b38a38b8051655fc0705b8f1e0a7c71c6159abc7170e0bb1b9a0c7c112
|
||||
|
@ -0,0 +1,40 @@
|
||||
# Copyright 1999-2022 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
NEED_EMACS=25.1
|
||||
|
||||
inherit elisp
|
||||
|
||||
DESCRIPTION="Generic interaction mode between Emacs and different Scheme implementations"
|
||||
HOMEPAGE="https://gitlab.com/emacs-geiser/geiser/"
|
||||
SRC_URI="https://gitlab.com/emacs-geiser/${PN}/-/archive/${PV}/${P}.tar.gz"
|
||||
|
||||
LICENSE="BSD"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
|
||||
RDEPEND="app-emacs/transient"
|
||||
BDEPEND="
|
||||
${RDEPEND}
|
||||
app-text/texi2html
|
||||
sys-apps/texinfo
|
||||
"
|
||||
|
||||
DOCS=( readme.org news.org doc/html )
|
||||
SITEFILE="50${PN}-gentoo.el"
|
||||
|
||||
src_compile() {
|
||||
BYTECOMPFLAGS="-L elisp" elisp-compile elisp/*.el
|
||||
|
||||
emake -C doc info web
|
||||
}
|
||||
|
||||
src_install() {
|
||||
elisp-install ${PN} elisp/*.el{,c}
|
||||
elisp-site-file-install "${FILESDIR}/${SITEFILE}"
|
||||
|
||||
doinfo doc/*.info
|
||||
einstalldocs
|
||||
}
|
@ -1,6 +1,6 @@
|
||||
AUX 50transient-gentoo.el 38 BLAKE2B e96c6cf48d1522d89450e11d339c76210c672377208b56951791b83c6ef22b2c872d313084e199dd5d7b533a99106a87dbc7f15b5ee6126f71bf5f2e84165ffa SHA512 5c00bcabe2d7cc03013dc7a54b2c653940c08098ca5646d7c73624cb1ca04376ae9dcf88a7166b1925c69f0c5d192d90f6bd790fdef8ed8c3b0f9d163c987da5
|
||||
DIST transient-0.3.6.tar.gz 100905 BLAKE2B cc7a78104b77a7ff49d2ee686a780db7509744b1f737e4f995d5e5f8ada18828ccf1b6ae5d995fb8aa09e9fc16895226e5e8cf3cf50a79c246c5d07d5f467ce0 SHA512 c1b43046f07f9efce1720f6e151d8223922574262d4e5436b0c81453b0a21a404f1c555a5bc92a201c71beb1b2f95aafb38b88203cd08c1d3a9d80f45ed0d0c9
|
||||
DIST transient-0.3.7.tar.gz 103105 BLAKE2B 3253529af82116881b6fdbb5465d3e0ffa8246e017a266fe0868d31e9c576a3927ed7b8d968d95f7e84e31859705f08582260d074f7f55cf10e535177df761f4 SHA512 93d1e00db3f483d830c9e636de1ae752c43bada580209c4839e89941507be5fd7ebbd31cf597436f13448b29085453742a0623dad9dcc1d343e29a5d47d76987
|
||||
EBUILD transient-0.3.6.ebuild 642 BLAKE2B 9010b0818ee4b86e9091508a4c9760dcfe8ef638898bd8445a4970eda8bbdf540486518c45f15be459d12c195a1d7673ff0aeb9fbb5b111995dbc3f9a1ac6823 SHA512 6d410b422c2874190adf38b7a244806a926a18bcd37dfb80fffb1f1f51918d753d12f9203b7b9016f9fe2fccff80e7fb2b71ed7cb57c299668137bc3da9c9d91
|
||||
EBUILD transient-0.3.7.ebuild 642 BLAKE2B 054f44ee0d9b501f41fa44bd55ea14df232d497c5ebf2096e7c2f46c4be8b517b4268b4a7b20adbf81a6ad68df8a0063fbfef834260d40f6476dd9bb63063580 SHA512 8810988990c1e3fae8814bb8add2b86f32835ca74f7b1bc72aff0cb1362efc485199c5ca08da5754d08e4e9c8e7eb40a780aa8b0d5f0995421e21b030fe1b56c
|
||||
EBUILD transient-0.3.6.ebuild 632 BLAKE2B f90048b6da631dd63750ab4d8ec5ca04bdde382b42d32b88dda9b2636f1fb7bc2e7169e448b74b0a51e2c98934a47a766caf1a65427a24ead8843c2755253360 SHA512 9d2eb466481bb27193e735acd5530bfd6c2d9e8357061783fc53aef0dde5e981392db318bcf18388d86d0229082d4b68b283d542a09fb9c04437551ea282b2d3
|
||||
EBUILD transient-0.3.7.ebuild 632 BLAKE2B 1ac33d5f4c2d989e7f863df815ab30bd3d7513ce30b65c4405cdf77e75d5c3821307e88bb035b78980fb1903708169e7e2b512bd03cb846bd3fe6e2c82e3b6c1 SHA512 4747e729b7f9d01042f43b073933954f65ddfc428dc3e8b1c526765cea198378ebad8d8f43574160487c6ea55d9a1d0dff1e9bc514b0e275d6da0f06e29282b3
|
||||
MISC metadata.xml 1434 BLAKE2B 6f7f91e2cd8c87559f15552d6fbe920e5262a50f21919a096af55df037726eb380a774cfba8be73b588ba9aa2c39da5caf6ad64a31106b843c6bd308fe7aa40e SHA512 3316d9ac21d2a2aa0a5824f2c8ded736ad1bfcd7319a9c4cb8b02f0ffec5f440820bfe48e4f4d4264fbc3864bd7959875f1396285b6a7eb2ad3333a6a062a14f
|
||||
|
Binary file not shown.
@ -1,4 +1,4 @@
|
||||
AUX remove-local-prefix.patch 851 BLAKE2B 1e1b787c10499bfbeafca43b08f4cbd8c7525841c641a3fa1211822a7ec3e98b11c9925b1bd9cc8ac3b14e5d0625c34727a330e00f0e3aaf5aba1871a8810647 SHA512 bae42eec33ff2ae00547d8c649b8164fd5665b70e95b07f95cdcce41e342702de559c4b63d6ce95a97407d2e8012c7fe0142b923603c1c1d25b8978f29aaf7a3
|
||||
DIST libspectrum-1.5.0.tar.gz 602354 BLAKE2B fc62437ececfe2c86b475efa512bf7aa7c5af182e16a00f75f77f78656fca01d46a71ac90b38008ff46e5fd0710b1c671b283d65544b5556d98e8c5b66525c35 SHA512 55f4cf623bc6c469a0fd80751ada694259d834c19d98400ba244aabf2ac21fed7cdd6de069d9ed7326e099bd3bd62c42cfb8a669b64ae002f90a52563fa2dcd1
|
||||
EBUILD libspectrum-1.5.0.ebuild 1049 BLAKE2B 4cfc6b4d94b6bc7a403a95c4be47b5f6980f9b1f87721492f7af2a1378f90655559c2ca49fdbc6a4e6282e51c5c04655ad1578fac5ad712329e00fe13fbef837 SHA512 27e3724b0301efb057ea9ac166d873c78e2c739d590aca5d58c11ff9dcbc5935629d319ab3c1c1ccd34ff26b5d1eed318080c24004905acbbaa2f979d93dfcc0
|
||||
EBUILD libspectrum-1.5.0.ebuild 1099 BLAKE2B 8d455c1f0ca7fdfb52ef9c48437c5244e8a2078b5620a1c787adcf64041592ee8a8bf01198e7a517713dfe9b94d3c381518a2d07047b695a851ca00864a5d888 SHA512 d5a190128fedd03569cef37f7438145af71317de14a974527c92c487b2d32682ee5e150d5ef724255141973f09bb9bf9f8d04774fe399af6e0172fb01aec946e
|
||||
MISC metadata.xml 808 BLAKE2B be1967fba1878ec6f45643d7853f16d5a41c237c1d9f96fed4804f14ed71ceab65d3d3ad17b76547d7cd272100668f60240a07f7b22cd5ac4017dd244b442b14 SHA512 3b1e988900b3a8f84ac7c181caab964acc52356773dccbdc9744b9f5c11d8a0b63a4fa914bcc6178b124a52e5db1f3df897e20c9e028fda061e82cb6c3405f4f
|
||||
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in new issue