parent
f1c9b8c0d0
commit
be74666492
@ -1,23 +1,23 @@
|
|||||||
-----BEGIN PGP SIGNED MESSAGE-----
|
-----BEGIN PGP SIGNED MESSAGE-----
|
||||||
Hash: SHA512
|
Hash: SHA512
|
||||||
|
|
||||||
MANIFEST Manifest.files.gz 29318 BLAKE2B 62ab73c76a1d2a75e80c45bc1d979cdde89d4f01c2ff61bb1950d67e538e8c062da298bdef3517eb878bdf9447da539795f95b02fbcac060beab08c00d4abae2 SHA512 0b361caf40a87fe965545bc99555baee366cf3ee8871bcda02fd4180661dc5309115ce9df155cd5364b81d1a22bb41fe09911fcf636840553ee5b01da1a40b25
|
MANIFEST Manifest.files.gz 29311 BLAKE2B 2f508ea9d9c0c741a1ffe79a11ca0a26e252cb534d710d1a0a592624c0a3c90a4a5edf9b921be62afd0c93bde39209fb8271d9291d932209c4956a71fa50d79d SHA512 a261a2a85b3722bd9ac528169f8a0e5532b0b5b1e2ee28fe499ac082fa1d6bfcf669bfe420388e7fa15da9023b9fdd23f7c29ea31c6da1f9388f8d26328f3ed2
|
||||||
TIMESTAMP 2021-03-26T08:08:34Z
|
TIMESTAMP 2021-03-27T17:38:33Z
|
||||||
-----BEGIN PGP SIGNATURE-----
|
-----BEGIN PGP SIGNATURE-----
|
||||||
|
|
||||||
iQKTBAEBCgB9FiEE4dartjv8+0ugL98c7FkO6skYklAFAmBdloJfFIAAAAAALgAo
|
iQKTBAEBCgB9FiEE4dartjv8+0ugL98c7FkO6skYklAFAmBfbZlfFIAAAAAALgAo
|
||||||
aXNzdWVyLWZwckBub3RhdGlvbnMub3BlbnBncC5maWZ0aGhvcnNlbWFuLm5ldEUx
|
aXNzdWVyLWZwckBub3RhdGlvbnMub3BlbnBncC5maWZ0aGhvcnNlbWFuLm5ldEUx
|
||||||
RDZBQkI2M0JGQ0ZCNEJBMDJGREYxQ0VDNTkwRUVBQzkxODkyNTAACgkQ7FkO6skY
|
RDZBQkI2M0JGQ0ZCNEJBMDJGREYxQ0VDNTkwRUVBQzkxODkyNTAACgkQ7FkO6skY
|
||||||
klCHPg//dW0CR40QJKgOx6AbityRTtZzapACS4l8LIrWcGmzq2yDbHfYQ2zSYs8M
|
klDBSw//bNLu54/tDm/PnYZcfuIjTjiMREXf+vNZBshOEU4r1E6NoOTvAceHtD3L
|
||||||
ZBPv6ks/mC6nAFg8GxAaW17Szfktb5ux3dIiObZGToTnRovWmjococ0RF4GEQdse
|
QbWmDVz+pGW/IasgvSJwFlifvwwQ2zScBAamAoyM5nFhqhjmgsMzBEOKDxi/kN6e
|
||||||
QzVBXwok7CbzJL+5ketEj/TPZsuLqMtJuTmN5BQAkZ7s62GmoZEppi2BvWdHz2Er
|
HStrP6pht09QTC597pJV8MHobTJzFkp8RSbcrgW4zNg9z7dl2gEryP3IsNE2qXET
|
||||||
8l8bkH2sDUGp2eRg1DTDrQxJyDJctusEJz/KqMA38HBRmvNPIkEFojZHD7omyvit
|
BvrQWW1++qA9XrrtjY5B3HyCyYQ4HkRFrdg26YUJMmajmoB2moPgZuCYp0JSK5J5
|
||||||
ilpXwTr0bXwGpPu39gZ5Dd3exWiVx8HoQN7KSd3VNm3+S34RJvM2UrxOKEHhi0i/
|
LHOCggpP5oPx+k9J5WULQ57tOiQilb4qIRxFH9KGdtLc3qP5VU5L6NGafcIIyIsz
|
||||||
5zBO7mphR+SnqBLN/I98/7541u7x4Re+e723C0zT+MyX7iYRVuWVocyNyBzOOgdD
|
QSgvCbhtiKqztl+RSR0i8ZDjA+gTGDL+AV82cW6kxbfeLPdrP32wYJcqPEUYw/vR
|
||||||
z39QAy3f9MBfqMX4NXQepOgopCo/FS8l3IkiMd0xW318E9fQ9yLEP/VPw+a0sEOM
|
zop4FLl1vphyJgQPvmdjs0ynpXGQFwO5llxlmmA731kASMzPUpeDNtGVgKO802Ee
|
||||||
V9D5wwm7SJmaj2RAxT2FXEzDbmPHwhMIxGadh8BtKGWPul4UYjdOWyxXU0CP18WI
|
MN1v/b6PGMr/8GV2zDCXh86UuKqnFyuvRxHdaix6B/peIL85uaHk2/HW30XhCmBm
|
||||||
L08UeqPec/aaTtMTvshtwhwWKeHUsWTBAzjEctOfeWeKO95JodeU7hYi++uiC0bt
|
46AT5ihP87ZhgyUOst9Wt4+Tq3UuZkZfk7pqls1ZEhICslVx6e8E/rI7phpuDdxh
|
||||||
Vg4WhD9Ka3oyrQ5jMbEC7VFWUW4biV1olc9nRREZS7Sc2pc77izQsn5+2Eg2Yklg
|
Z8c0HDt8Shw7CWJTHVJJfDoiM1ZY2CfLKl7R7GU3TimOpa/+dqAxzLP077VY65PG
|
||||||
PuSKgPCWT0Qp6/pPQzsnN782aflO8yrWPkepk/jLERlz/5Tp1Ug=
|
AdQchBR8s57DXFzq9r4BLolCbwzyLdChrQYcv0H237qlUZwkYIs=
|
||||||
=YkUK
|
=Fe5j
|
||||||
-----END PGP SIGNATURE-----
|
-----END PGP SIGNATURE-----
|
||||||
|
Binary file not shown.
Binary file not shown.
@ -0,0 +1,2 @@
|
|||||||
|
EBUILD ulogd-0.ebuild 181 BLAKE2B 97910a15b3d03ca8ac63d251489474e9c4f832f79f628d9235788b3a21e738162f36edb81132637fccd5ab12fc3710f275e1384e835d50b91c5c98d42c9c40c8 SHA512 a0c71601200d074d93be7622c12134d293bb876f2fb351b54d44d7a44549d296b1610918f07f114a473241846bfcbd55c83d1f7f22beb7bc361c671e12ea2522
|
||||||
|
MISC metadata.xml 395 BLAKE2B 3ad137c6a9e304d422d2ba144d103bf38282f59e11e062069853c18bdf69a92eb3d797c6983281765ccdb62a99e803ca2af4b761d14dd5bec18b313cae83be2a SHA512 68f8cec25688948425b31a72a62d870626e4a427e9fb6df5f55c83cdd1b6f3dbdddb0a4ff37a2a3a51ba2d1e55ecba0e5697cf67e15641f444b5d1fe69c11a2b
|
@ -0,0 +1,12 @@
|
|||||||
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||||
|
<pkgmetadata>
|
||||||
|
<maintainer type="person" proxied="yes">
|
||||||
|
<email>marco@scardovi.com</email>
|
||||||
|
<name>Marco Scardovi</name>
|
||||||
|
</maintainer>
|
||||||
|
<maintainer type="project" proxied="proxy">
|
||||||
|
<email>proxy-maint@gentoo.org</email>
|
||||||
|
<name>Proxy Maintainers</name>
|
||||||
|
</maintainer>
|
||||||
|
</pkgmetadata>
|
@ -0,0 +1,9 @@
|
|||||||
|
# Copyright 1999-2021 Gentoo Authors
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
|
||||||
|
EAPI=7
|
||||||
|
|
||||||
|
inherit acct-group
|
||||||
|
|
||||||
|
DESCRIPTION="Group for ulogd"
|
||||||
|
ACCT_GROUP_ID=311
|
Binary file not shown.
@ -0,0 +1,2 @@
|
|||||||
|
EBUILD ulogd-0.ebuild 225 BLAKE2B c0b96b744ca1d4a23f702aa29ce86406674f5557fbc924998902c21bffc7f848b15787b1ffa5ce7feecf31e680789b9e05200ec552b4d49ae67985fbfe39807c SHA512 4c92cf2a31900ba4ed4d1841dc3a5a965e83411cbef582becb1ee8f94e9ba415ec24c38860a2da958406a7bfd6bd0cd3c58615198b255cf582446b9c5052700e
|
||||||
|
MISC metadata.xml 395 BLAKE2B 3ad137c6a9e304d422d2ba144d103bf38282f59e11e062069853c18bdf69a92eb3d797c6983281765ccdb62a99e803ca2af4b761d14dd5bec18b313cae83be2a SHA512 68f8cec25688948425b31a72a62d870626e4a427e9fb6df5f55c83cdd1b6f3dbdddb0a4ff37a2a3a51ba2d1e55ecba0e5697cf67e15641f444b5d1fe69c11a2b
|
@ -0,0 +1,12 @@
|
|||||||
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||||
|
<pkgmetadata>
|
||||||
|
<maintainer type="person" proxied="yes">
|
||||||
|
<email>marco@scardovi.com</email>
|
||||||
|
<name>Marco Scardovi</name>
|
||||||
|
</maintainer>
|
||||||
|
<maintainer type="project" proxied="proxy">
|
||||||
|
<email>proxy-maint@gentoo.org</email>
|
||||||
|
<name>Proxy Maintainers</name>
|
||||||
|
</maintainer>
|
||||||
|
</pkgmetadata>
|
@ -0,0 +1,12 @@
|
|||||||
|
# Copyright 1999-2021 Gentoo Authors
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
|
||||||
|
EAPI=7
|
||||||
|
|
||||||
|
inherit acct-user
|
||||||
|
|
||||||
|
DESCRIPTION="User for ulogd"
|
||||||
|
ACCT_USER_ID=311
|
||||||
|
ACCT_USER_GROUPS=( ulogd )
|
||||||
|
|
||||||
|
acct-user_add_deps
|
Binary file not shown.
@ -1,6 +1,7 @@
|
|||||||
AUX authbind-2.1.1-respect-flags.patch 745 BLAKE2B 03180e906a086ef2befc01399a845719d8fe8458122cf40817cc0c05cea77582c3fda273a7a31a4d57dd0acbcda3f845107fd1f57da44f1213c5d9fa6bd15c36 SHA512 e83c91a30c5a73650c7e92528b1b21d51d2f5a6b6b23784dc5773b818b057a9fdee8920ae80b50a093bc89ee60c540b0d8e0a2f7e1746e01ff1146124acdc6bf
|
AUX authbind-2.1.1-respect-flags.patch 745 BLAKE2B 03180e906a086ef2befc01399a845719d8fe8458122cf40817cc0c05cea77582c3fda273a7a31a4d57dd0acbcda3f845107fd1f57da44f1213c5d9fa6bd15c36 SHA512 e83c91a30c5a73650c7e92528b1b21d51d2f5a6b6b23784dc5773b818b057a9fdee8920ae80b50a093bc89ee60c540b0d8e0a2f7e1746e01ff1146124acdc6bf
|
||||||
|
AUX authbind-2.1.2-respect-flags.patch 812 BLAKE2B 44a82a62bee8bbc8d3ebb67cf7d618850690293c76ff9a0c0f70f0067fe646673adfc6932dd8972c41d81f51bfe7833593348971fb069652d920ec92f1039dfd SHA512 ec6fa58a06180f70d30abed32f0cfe94ec582dc9b286580ece222db99b1c7f936665567b918648efdc79e3e0c8b69a60043ed72c5f77479a2be2c5dd55c7b8e1
|
||||||
DIST authbind_2.1.1.tar.gz 14407 BLAKE2B 624cb647b138006324611d00943ad78f9166e4c47821ef5b395c58eb75c1034591cb4a0549f6870fa4294f4f4ca628f03390b4539a4543a64111d33ac9cb3261 SHA512 f3a45fcf1d8d6e6762bc1cef7a1b89f211e4af56c68b4c6c5e508a2f7ee039499b8b2f11ce8aeb94822d20377d309035760fa7b58aabaa4e87417ca25811c812
|
DIST authbind_2.1.1.tar.gz 14407 BLAKE2B 624cb647b138006324611d00943ad78f9166e4c47821ef5b395c58eb75c1034591cb4a0549f6870fa4294f4f4ca628f03390b4539a4543a64111d33ac9cb3261 SHA512 f3a45fcf1d8d6e6762bc1cef7a1b89f211e4af56c68b4c6c5e508a2f7ee039499b8b2f11ce8aeb94822d20377d309035760fa7b58aabaa4e87417ca25811c812
|
||||||
DIST authbind_2.1.2.tar.gz 15279 BLAKE2B 5f9a31c9f51c307e9ad85bf14b436e1780d0c7dc5655ad3882e9596927862be0684d0a4a43c7d2e98a0d6a0d4c2552aaaf954ce32d3e9202bf5593ce501b5962 SHA512 85020af9703f8f39194a7719c50a51d75344db9ea99ecbc83c3c6bff0852ab1ea1cbd0b9bff6a2345e08a7bef9732e36890f33af08929e36dae8215dd070cc4d
|
DIST authbind_2.1.2.tar.gz 15279 BLAKE2B 5f9a31c9f51c307e9ad85bf14b436e1780d0c7dc5655ad3882e9596927862be0684d0a4a43c7d2e98a0d6a0d4c2552aaaf954ce32d3e9202bf5593ce501b5962 SHA512 85020af9703f8f39194a7719c50a51d75344db9ea99ecbc83c3c6bff0852ab1ea1cbd0b9bff6a2345e08a7bef9732e36890f33af08929e36dae8215dd070cc4d
|
||||||
EBUILD authbind-2.1.1.ebuild 1209 BLAKE2B 306305ac2ae962abcec45dd010804e64597dbab1c614b32850a268979ae983562022576ae064c18a6084057c21fb51a37a69c8e89d0d7dc6146ee5bd690b4d8f SHA512 d1a54e078ae8205f46b4cd444dc7a2413c6fb7c50855c6e07292a78133fdab9eb4c9ca94d3dd2df66ae29d4f8e14e856398bc2d7df6d3fda85aed9e52d13c2a5
|
EBUILD authbind-2.1.1.ebuild 1209 BLAKE2B 306305ac2ae962abcec45dd010804e64597dbab1c614b32850a268979ae983562022576ae064c18a6084057c21fb51a37a69c8e89d0d7dc6146ee5bd690b4d8f SHA512 d1a54e078ae8205f46b4cd444dc7a2413c6fb7c50855c6e07292a78133fdab9eb4c9ca94d3dd2df66ae29d4f8e14e856398bc2d7df6d3fda85aed9e52d13c2a5
|
||||||
EBUILD authbind-2.1.2.ebuild 1216 BLAKE2B 409787a60655a40077b8481016764058e0f1f937396409aabeb2de0e9c5a0318e5be0fd132d32824e4a31de799069713a96dcb2cb1b883f0782ad6d03026106e SHA512 fa3fe849bdf0558e31f283fa704f9ea23317e6c1ea5d195465a895cc101e560b35ebe389112dd13a4012d1ff003752e86d98d370301e02f43c2927a109e7f5bb
|
EBUILD authbind-2.1.2.ebuild 1237 BLAKE2B 9bd6ef57eb70c2fde8de896efbffb31f275f442e5fd68643484b1db5a6d8c96098c40c95238cb9b8b8799e955191e45da12205c26a7aac8c8b4ec42c8ebf99dd SHA512 8b11853f0eca7d1e7ef6fd6bde5b19f12205dc274fc44ada20b105edc93a6a2cfc598ed249f5880e0c3f0c994b0f0eb7549fa9c64b913c7e8c902202a1318829
|
||||||
MISC metadata.xml 167 BLAKE2B e4dadf27fd344484f2bccb5b904909c89aac568c32e5b3c44bdf139eacefd4b4fae74419f503d2b7da0dccc1b68ba05d777d11292c0f89270d1ac5c9c703e8ca SHA512 7c8decb24ee3a850e38186cf3c7f8933a28017426806870ad6ef9ceb2533be147a2681fc789b535a81cb528af8c29d90d3006e4f250aee23bd7dea4561294e33
|
MISC metadata.xml 167 BLAKE2B e4dadf27fd344484f2bccb5b904909c89aac568c32e5b3c44bdf139eacefd4b4fae74419f503d2b7da0dccc1b68ba05d777d11292c0f89270d1ac5c9c703e8ca SHA512 7c8decb24ee3a850e38186cf3c7f8933a28017426806870ad6ef9ceb2533be147a2681fc789b535a81cb528af8c29d90d3006e4f250aee23bd7dea4561294e33
|
||||||
|
@ -0,0 +1,26 @@
|
|||||||
|
diff --git a/Makefile b/Makefile
|
||||||
|
index 37a8673..89f83f4 100644
|
||||||
|
--- a/Makefile
|
||||||
|
+++ b/Makefile
|
||||||
|
@@ -34,10 +34,9 @@ INSTALL_PROGRAM ?= install -o root -g root -m 755 -s
|
||||||
|
INSTALL_DIR ?= install -o root -g root -m 755 -d
|
||||||
|
STRIP ?= strip
|
||||||
|
|
||||||
|
-OPTIMISE= -O2
|
||||||
|
-LDFLAGS= -g
|
||||||
|
LIBS= -ldl -lc
|
||||||
|
-CFLAGS= -g $(OPTIMISE) \
|
||||||
|
+SHARED_LDFLAGS=
|
||||||
|
+CFLAGSS+= \
|
||||||
|
-Wall -Wwrite-strings -Wpointer-arith -Wimplicit \
|
||||||
|
-Wnested-externs -Wmissing-prototypes -Wstrict-prototypes
|
||||||
|
CPPFLAGS= -DMAJOR_VER='"$(MAJOR)"' -DMINOR_VER='"$(MINOR)"' \
|
||||||
|
@@ -82,7 +81,7 @@ helper: helper.o
|
||||||
|
helper.o authbind.o: authbind.h
|
||||||
|
|
||||||
|
$(LIBTARGET): libauthbind.o
|
||||||
|
- $(LD) -shared -soname $(LIBCANON) -o $@ $< $(LIBS)
|
||||||
|
+ $(LD) $(SHARED_LDFLAGS) -shared -soname $(LIBCANON) -o $@ $< $(LIBS)
|
||||||
|
|
||||||
|
clean distclean:
|
||||||
|
rm -f $(TARGETS) *.o *~ ./#*# *.bak *.new core
|
@ -0,0 +1,87 @@
|
|||||||
|
# Copyright 1999-2021 Gentoo Authors
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
|
||||||
|
EAPI=7
|
||||||
|
inherit eutils flag-o-matic systemd toolchain-funcs
|
||||||
|
|
||||||
|
DESCRIPTION="System performance tools for Linux"
|
||||||
|
HOMEPAGE="http://pagesperso-orange.fr/sebastien.godard/"
|
||||||
|
SRC_URI="https://github.com/${PN}/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
|
||||||
|
|
||||||
|
LICENSE="GPL-2"
|
||||||
|
SLOT="0"
|
||||||
|
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86"
|
||||||
|
IUSE="dcron debug nls lm-sensors selinux static systemd"
|
||||||
|
|
||||||
|
CDEPEND="
|
||||||
|
nls? ( virtual/libintl )
|
||||||
|
lm-sensors? ( sys-apps/lm-sensors:= )
|
||||||
|
"
|
||||||
|
DEPEND="
|
||||||
|
${CDEPEND}
|
||||||
|
nls? ( sys-devel/gettext )
|
||||||
|
"
|
||||||
|
RDEPEND="
|
||||||
|
${CDEPEND}
|
||||||
|
!dcron? ( !sys-process/dcron )
|
||||||
|
selinux? ( sec-policy/selinux-sysstat )
|
||||||
|
"
|
||||||
|
|
||||||
|
REQUIRED_USE="dcron? ( !systemd )"
|
||||||
|
|
||||||
|
src_prepare() {
|
||||||
|
if use nls; then
|
||||||
|
strip-linguas -i nls/
|
||||||
|
local lingua pofile
|
||||||
|
for pofile in nls/*.po; do
|
||||||
|
lingua=${pofile/nls\/}
|
||||||
|
lingua=${lingua/.po}
|
||||||
|
if ! has ${lingua} ${LINGUAS}; then
|
||||||
|
rm "nls/${lingua}.po" || die
|
||||||
|
fi
|
||||||
|
done
|
||||||
|
fi
|
||||||
|
|
||||||
|
use dcron && { sed -i 's/@CRON_OWNER@ //g' cron/sysstat.crond.in || die ; }
|
||||||
|
default
|
||||||
|
}
|
||||||
|
|
||||||
|
src_configure() {
|
||||||
|
tc-export AR
|
||||||
|
use static && append-ldflags -static
|
||||||
|
|
||||||
|
sa_lib_dir=/usr/lib/sa \
|
||||||
|
conf_dir=/etc \
|
||||||
|
econf \
|
||||||
|
$(use_enable !systemd use-crond) \
|
||||||
|
$(use_enable lm-sensors sensors) \
|
||||||
|
$(use_enable nls) \
|
||||||
|
$(usex debug --enable-debuginfo '') \
|
||||||
|
--disable-compress-manpg \
|
||||||
|
--enable-copy-only \
|
||||||
|
--enable-documentation \
|
||||||
|
--enable-install-cron \
|
||||||
|
--with-systemdsystemunitdir=$(systemd_get_systemunitdir)
|
||||||
|
}
|
||||||
|
|
||||||
|
src_compile() {
|
||||||
|
LFLAGS="${LDFLAGS}" default
|
||||||
|
}
|
||||||
|
|
||||||
|
src_install() {
|
||||||
|
keepdir /var/log/sa
|
||||||
|
|
||||||
|
emake \
|
||||||
|
CHOWN=true \
|
||||||
|
DESTDIR="${D}" \
|
||||||
|
DOC_DIR=/usr/share/doc/${PF} \
|
||||||
|
MANGRPARG='' \
|
||||||
|
install
|
||||||
|
|
||||||
|
dodoc -r contrib/
|
||||||
|
|
||||||
|
newinitd "${FILESDIR}"/${PN}.init.d ${PN}
|
||||||
|
systemd_dounit ${PN}.service
|
||||||
|
|
||||||
|
rm "${D}"/usr/share/doc/${PF}/COPYING || die
|
||||||
|
}
|
@ -0,0 +1,961 @@
|
|||||||
|
# Copyright 1999-2021 Gentoo Authors
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
|
||||||
|
EAPI=7
|
||||||
|
|
||||||
|
inherit go-module
|
||||||
|
|
||||||
|
EGO_SUM=(
|
||||||
|
"cloud.google.com/go v0.26.0/go.mod"
|
||||||
|
"cloud.google.com/go v0.34.0/go.mod"
|
||||||
|
"cloud.google.com/go v0.38.0/go.mod"
|
||||||
|
"cloud.google.com/go v0.44.1/go.mod"
|
||||||
|
"cloud.google.com/go v0.44.2/go.mod"
|
||||||
|
"cloud.google.com/go v0.45.1/go.mod"
|
||||||
|
"cloud.google.com/go v0.46.3/go.mod"
|
||||||
|
"cloud.google.com/go v0.50.0/go.mod"
|
||||||
|
"cloud.google.com/go v0.52.0/go.mod"
|
||||||
|
"cloud.google.com/go v0.53.0/go.mod"
|
||||||
|
"cloud.google.com/go v0.54.0/go.mod"
|
||||||
|
"cloud.google.com/go v0.56.0/go.mod"
|
||||||
|
"cloud.google.com/go v0.57.0/go.mod"
|
||||||
|
"cloud.google.com/go v0.62.0/go.mod"
|
||||||
|
"cloud.google.com/go v0.65.0"
|
||||||
|
"cloud.google.com/go v0.65.0/go.mod"
|
||||||
|
"cloud.google.com/go/bigquery v1.0.1/go.mod"
|
||||||
|
"cloud.google.com/go/bigquery v1.3.0/go.mod"
|
||||||
|
"cloud.google.com/go/bigquery v1.4.0/go.mod"
|
||||||
|
"cloud.google.com/go/bigquery v1.5.0/go.mod"
|
||||||
|
"cloud.google.com/go/bigquery v1.7.0/go.mod"
|
||||||
|
"cloud.google.com/go/bigquery v1.8.0/go.mod"
|
||||||
|
"cloud.google.com/go/datastore v1.0.0/go.mod"
|
||||||
|
"cloud.google.com/go/datastore v1.1.0/go.mod"
|
||||||
|
"cloud.google.com/go/pubsub v1.0.1/go.mod"
|
||||||
|
"cloud.google.com/go/pubsub v1.1.0/go.mod"
|
||||||
|
"cloud.google.com/go/pubsub v1.2.0/go.mod"
|
||||||
|
"cloud.google.com/go/pubsub v1.3.1/go.mod"
|
||||||
|
"cloud.google.com/go/storage v1.0.0/go.mod"
|
||||||
|
"cloud.google.com/go/storage v1.5.0/go.mod"
|
||||||
|
"cloud.google.com/go/storage v1.6.0/go.mod"
|
||||||
|
"cloud.google.com/go/storage v1.8.0/go.mod"
|
||||||
|
"cloud.google.com/go/storage v1.10.0"
|
||||||
|
"cloud.google.com/go/storage v1.10.0/go.mod"
|
||||||
|
"dmitri.shuralyov.com/gpu/mtl v0.0.0-20190408044501-666a987793e9/go.mod"
|
||||||
|
"github.com/Azure/azure-sdk-for-go v45.0.0+incompatible"
|
||||||
|
"github.com/Azure/azure-sdk-for-go v45.0.0+incompatible/go.mod"
|
||||||
|
"github.com/Azure/go-autorest v11.1.2+incompatible/go.mod"
|
||||||
|
"github.com/Azure/go-autorest v14.2.0+incompatible"
|
||||||
|
"github.com/Azure/go-autorest v14.2.0+incompatible/go.mod"
|
||||||
|
"github.com/Azure/go-autorest/autorest v0.11.3"
|
||||||
|
"github.com/Azure/go-autorest/autorest v0.11.3/go.mod"
|
||||||
|
"github.com/Azure/go-autorest/autorest/adal v0.9.0"
|
||||||
|
"github.com/Azure/go-autorest/autorest/adal v0.9.0/go.mod"
|
||||||
|
"github.com/Azure/go-autorest/autorest/azure/cli v0.4.0"
|
||||||
|
"github.com/Azure/go-autorest/autorest/azure/cli v0.4.0/go.mod"
|
||||||
|
"github.com/Azure/go-autorest/autorest/date v0.3.0"
|
||||||
|
"github.com/Azure/go-autorest/autorest/date v0.3.0/go.mod"
|
||||||
|
"github.com/Azure/go-autorest/autorest/mocks v0.4.0"
|
||||||
|
"github.com/Azure/go-autorest/autorest/mocks v0.4.0/go.mod"
|
||||||
|
"github.com/Azure/go-autorest/autorest/to v0.4.0"
|
||||||
|
"github.com/Azure/go-autorest/autorest/to v0.4.0/go.mod"
|
||||||
|
"github.com/Azure/go-autorest/autorest/validation v0.3.0"
|
||||||
|
"github.com/Azure/go-autorest/autorest/validation v0.3.0/go.mod"
|
||||||
|
"github.com/Azure/go-autorest/logger v0.2.0"
|
||||||
|
"github.com/Azure/go-autorest/logger v0.2.0/go.mod"
|
||||||
|
"github.com/Azure/go-autorest/tracing v0.6.0"
|
||||||
|
"github.com/Azure/go-autorest/tracing v0.6.0/go.mod"
|
||||||
|
"github.com/Azure/go-ntlmssp v0.0.0-20180810175552-4a21cbd618b4/go.mod"
|
||||||
|
"github.com/Azure/go-ntlmssp v0.0.0-20200615164410-66371956d46c"
|
||||||
|
"github.com/Azure/go-ntlmssp v0.0.0-20200615164410-66371956d46c/go.mod"
|
||||||
|
"github.com/BurntSushi/toml v0.3.1/go.mod"
|
||||||
|
"github.com/BurntSushi/xgb v0.0.0-20160522181843-27f122750802/go.mod"
|
||||||
|
"github.com/ChrisTrenkamp/goxpath v0.0.0-20170922090931-c385f95c6022/go.mod"
|
||||||
|
"github.com/ChrisTrenkamp/goxpath v0.0.0-20190607011252-c5096ec8773d"
|
||||||
|
"github.com/ChrisTrenkamp/goxpath v0.0.0-20190607011252-c5096ec8773d/go.mod"
|
||||||
|
"github.com/NYTimes/gziphandler v0.0.0-20170623195520-56545f4a5d46/go.mod"
|
||||||
|
"github.com/PuerkitoBio/purell v1.0.0/go.mod"
|
||||||
|
"github.com/PuerkitoBio/urlesc v0.0.0-20160726150825-5bd2802263f2/go.mod"
|
||||||
|
"github.com/QcloudApi/qcloud_sign_golang v0.0.0-20141224014652-e4130a326409/go.mod"
|
||||||
|
"github.com/abdullin/seq v0.0.0-20160510034733-d5467c17e7af"
|
||||||
|
"github.com/abdullin/seq v0.0.0-20160510034733-d5467c17e7af/go.mod"
|
||||||
|
"github.com/agext/levenshtein v1.2.1/go.mod"
|
||||||
|
"github.com/agext/levenshtein v1.2.2"
|
||||||
|
"github.com/agext/levenshtein v1.2.2/go.mod"
|
||||||
|
"github.com/alecthomas/template v0.0.0-20160405071501-a0175ee3bccc/go.mod"
|
||||||
|
"github.com/alecthomas/units v0.0.0-20151022065526-2efee857e7cf/go.mod"
|
||||||
|
"github.com/aliyun/alibaba-cloud-sdk-go v0.0.0-20190329064014-6e358769c32a"
|
||||||
|
"github.com/aliyun/alibaba-cloud-sdk-go v0.0.0-20190329064014-6e358769c32a/go.mod"
|
||||||
|
"github.com/aliyun/aliyun-oss-go-sdk v0.0.0-20190103054945-8205d1f41e70"
|
||||||
|
"github.com/aliyun/aliyun-oss-go-sdk v0.0.0-20190103054945-8205d1f41e70/go.mod"
|
||||||
|
"github.com/aliyun/aliyun-tablestore-go-sdk v4.1.2+incompatible"
|
||||||
|
"github.com/aliyun/aliyun-tablestore-go-sdk v4.1.2+incompatible/go.mod"
|
||||||
|
"github.com/antchfx/xpath v0.0.0-20190129040759-c8489ed3251e"
|
||||||
|
"github.com/antchfx/xpath v0.0.0-20190129040759-c8489ed3251e/go.mod"
|
||||||
|
"github.com/antchfx/xquery v0.0.0-20180515051857-ad5b8c7a47b0"
|
||||||
|
"github.com/antchfx/xquery v0.0.0-20180515051857-ad5b8c7a47b0/go.mod"
|
||||||
|
"github.com/apparentlymart/go-cidr v1.1.0"
|
||||||
|
"github.com/apparentlymart/go-cidr v1.1.0/go.mod"
|
||||||
|
"github.com/apparentlymart/go-dump v0.0.0-20180507223929-23540a00eaa3/go.mod"
|
||||||
|
"github.com/apparentlymart/go-dump v0.0.0-20190214190832-042adf3cf4a0"
|
||||||
|
"github.com/apparentlymart/go-dump v0.0.0-20190214190832-042adf3cf4a0/go.mod"
|
||||||
|
"github.com/apparentlymart/go-textseg v1.0.0"
|
||||||
|
"github.com/apparentlymart/go-textseg v1.0.0/go.mod"
|
||||||
|
"github.com/apparentlymart/go-textseg/v13 v13.0.0"
|
||||||
|
"github.com/apparentlymart/go-textseg/v13 v13.0.0/go.mod"
|
||||||
|
"github.com/apparentlymart/go-userdirs v0.0.0-20200915174352-b0c018a67c13"
|
||||||
|
"github.com/apparentlymart/go-userdirs v0.0.0-20200915174352-b0c018a67c13/go.mod"
|
||||||
|
"github.com/apparentlymart/go-versions v1.0.1"
|
||||||
|
"github.com/apparentlymart/go-versions v1.0.1/go.mod"
|
||||||
|
"github.com/armon/circbuf v0.0.0-20190214190532-5111143e8da2"
|
||||||
|
"github.com/armon/circbuf v0.0.0-20190214190532-5111143e8da2/go.mod"
|
||||||
|
"github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da"
|
||||||
|
"github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da/go.mod"
|
||||||
|
"github.com/armon/go-radix v0.0.0-20180808171621-7fddfc383310/go.mod"
|
||||||
|
"github.com/armon/go-radix v1.0.0"
|
||||||
|
"github.com/armon/go-radix v1.0.0/go.mod"
|
||||||
|
"github.com/aws/aws-sdk-go v1.15.78/go.mod"
|
||||||
|
"github.com/aws/aws-sdk-go v1.31.9/go.mod"
|
||||||
|
"github.com/aws/aws-sdk-go v1.37.0"
|
||||||
|
"github.com/aws/aws-sdk-go v1.37.0/go.mod"
|
||||||
|
"github.com/baiyubin/aliyun-sts-go-sdk v0.0.0-20180326062324-cfa1a18b161f"
|
||||||
|
"github.com/baiyubin/aliyun-sts-go-sdk v0.0.0-20180326062324-cfa1a18b161f/go.mod"
|
||||||
|
"github.com/beorn7/perks v0.0.0-20180321164747-3a771d992973"
|
||||||
|
"github.com/beorn7/perks v0.0.0-20180321164747-3a771d992973/go.mod"
|
||||||
|
"github.com/bgentry/go-netrc v0.0.0-20140422174119-9fd32a8b3d3d"
|
||||||
|
"github.com/bgentry/go-netrc v0.0.0-20140422174119-9fd32a8b3d3d/go.mod"
|
||||||
|
"github.com/bgentry/speakeasy v0.1.0"
|
||||||
|
"github.com/bgentry/speakeasy v0.1.0/go.mod"
|
||||||
|
"github.com/bmatcuk/doublestar v1.1.5"
|
||||||
|
"github.com/bmatcuk/doublestar v1.1.5/go.mod"
|
||||||
|
"github.com/boltdb/bolt v1.3.1"
|
||||||
|
"github.com/boltdb/bolt v1.3.1/go.mod"
|
||||||
|
"github.com/census-instrumentation/opencensus-proto v0.2.1/go.mod"
|
||||||
|
"github.com/cheggaaa/pb v1.0.27/go.mod"
|
||||||
|
"github.com/chzyer/logex v1.1.10"
|
||||||
|
"github.com/chzyer/logex v1.1.10/go.mod"
|
||||||
|
"github.com/chzyer/readline v0.0.0-20180603132655-2972be24d48e"
|
||||||
|
"github.com/chzyer/readline v0.0.0-20180603132655-2972be24d48e/go.mod"
|
||||||
|
"github.com/chzyer/test v0.0.0-20180213035817-a1ea475d72b1"
|
||||||
|
"github.com/chzyer/test v0.0.0-20180213035817-a1ea475d72b1/go.mod"
|
||||||
|
"github.com/client9/misspell v0.3.4/go.mod"
|
||||||
|
"github.com/cncf/udpa/go v0.0.0-20191209042840-269d4d468f6f/go.mod"
|
||||||
|
"github.com/coreos/bbolt v1.3.0"
|
||||||
|
"github.com/coreos/bbolt v1.3.0/go.mod"
|
||||||
|
"github.com/coreos/etcd v3.3.10+incompatible"
|
||||||
|
"github.com/coreos/etcd v3.3.10+incompatible/go.mod"
|
||||||
|
"github.com/coreos/go-semver v0.2.0"
|
||||||
|
"github.com/coreos/go-semver v0.2.0/go.mod"
|
||||||
|
"github.com/coreos/go-systemd v0.0.0-20181012123002-c6f51f82210d"
|
||||||
|
"github.com/coreos/go-systemd v0.0.0-20181012123002-c6f51f82210d/go.mod"
|
||||||
|
"github.com/coreos/pkg v0.0.0-20180928190104-399ea9e2e55f"
|
||||||
|
"github.com/coreos/pkg v0.0.0-20180928190104-399ea9e2e55f/go.mod"
|
||||||
|
"github.com/davecgh/go-spew v0.0.0-20151105211317-5215b55f46b2/go.mod"
|
||||||
|
"github.com/davecgh/go-spew v1.1.0/go.mod"
|
||||||
|
"github.com/davecgh/go-spew v1.1.1"
|
||||||
|
"github.com/davecgh/go-spew v1.1.1/go.mod"
|
||||||
|
"github.com/dgrijalva/jwt-go v0.0.0-20160705203006-01aeca54ebda/go.mod"
|
||||||
|
"github.com/dgrijalva/jwt-go v3.2.0+incompatible"
|
||||||
|
"github.com/dgrijalva/jwt-go v3.2.0+incompatible/go.mod"
|
||||||
|
"github.com/dimchansky/utfbom v1.1.0"
|
||||||
|
"github.com/dimchansky/utfbom v1.1.0/go.mod"
|
||||||
|
"github.com/docker/spdystream v0.0.0-20160310174837-449fdfce4d96/go.mod"
|
||||||
|
"github.com/dylanmei/iso8601 v0.1.0"
|
||||||
|
"github.com/dylanmei/iso8601 v0.1.0/go.mod"
|
||||||
|
"github.com/dylanmei/winrmtest v0.0.0-20190225150635-99b7fe2fddf1"
|
||||||
|
"github.com/dylanmei/winrmtest v0.0.0-20190225150635-99b7fe2fddf1/go.mod"
|
||||||
|
"github.com/elazarl/goproxy v0.0.0-20170405201442-c4fc26588b6e/go.mod"
|
||||||
|
"github.com/emicklei/go-restful v0.0.0-20170410110728-ff4f55a20633/go.mod"
|
||||||
|
"github.com/envoyproxy/go-control-plane v0.9.0/go.mod"
|
||||||
|
"github.com/envoyproxy/go-control-plane v0.9.1-0.20191026205805-5f8ba28d4473/go.mod"
|
||||||
|
"github.com/envoyproxy/go-control-plane v0.9.4/go.mod"
|
||||||
|
"github.com/envoyproxy/protoc-gen-validate v0.1.0/go.mod"
|
||||||
|
"github.com/evanphx/json-patch v0.0.0-20190203023257-5858425f7550/go.mod"
|
||||||
|
"github.com/evanphx/json-patch v4.2.0+incompatible/go.mod"
|
||||||
|
"github.com/fatih/color v1.7.0"
|
||||||
|
"github.com/fatih/color v1.7.0/go.mod"
|
||||||
|
"github.com/fsnotify/fsnotify v1.4.7/go.mod"
|
||||||
|
"github.com/ghodss/yaml v0.0.0-20150909031657-73d445a93680/go.mod"
|
||||||
|
"github.com/ghodss/yaml v1.0.0"
|
||||||
|
"github.com/ghodss/yaml v1.0.0/go.mod"
|
||||||
|
"github.com/go-gl/glfw v0.0.0-20190409004039-e6da0acd62b1/go.mod"
|
||||||
|
"github.com/go-gl/glfw/v3.3/glfw v0.0.0-20191125211704-12ad95a8df72/go.mod"
|
||||||
|
"github.com/go-gl/glfw/v3.3/glfw v0.0.0-20200222043503-6f7a984d4dc4/go.mod"
|
||||||
|
"github.com/go-kit/kit v0.8.0/go.mod"
|
||||||
|
"github.com/go-logfmt/logfmt v0.3.0/go.mod"
|
||||||
|
"github.com/go-logr/logr v0.1.0/go.mod"
|
||||||
|
"github.com/go-openapi/jsonpointer v0.0.0-20160704185906-46af16f9f7b1/go.mod"
|
||||||
|
"github.com/go-openapi/jsonreference v0.0.0-20160704190145-13c6e3589ad9/go.mod"
|
||||||
|
"github.com/go-openapi/spec v0.0.0-20160808142527-6aced65f8501/go.mod"
|
||||||
|
"github.com/go-openapi/swag v0.0.0-20160704191624-1d0bd113de87/go.mod"
|
||||||
|
"github.com/go-sql-driver/mysql v1.5.0/go.mod"
|
||||||
|
"github.com/go-stack/stack v1.8.0/go.mod"
|
||||||
|
"github.com/go-test/deep v1.0.1/go.mod"
|
||||||
|
"github.com/go-test/deep v1.0.3"
|
||||||
|
"github.com/go-test/deep v1.0.3/go.mod"
|
||||||
|
"github.com/gofrs/uuid v3.2.0+incompatible/go.mod"
|
||||||
|
"github.com/gofrs/uuid v3.3.0+incompatible"
|
||||||
|
"github.com/gofrs/uuid v3.3.0+incompatible/go.mod"
|
||||||
|
"github.com/gogo/protobuf v0.0.0-20171007142547-342cbe0a0415/go.mod"
|
||||||
|
"github.com/gogo/protobuf v1.1.1/go.mod"
|
||||||
|
"github.com/gogo/protobuf v1.2.2-0.20190723190241-65acae22fc9d"
|
||||||
|
"github.com/gogo/protobuf v1.2.2-0.20190723190241-65acae22fc9d/go.mod"
|
||||||
|
"github.com/golang/glog v0.0.0-20160126235308-23def4e6c14b"
|
||||||
|
"github.com/golang/glog v0.0.0-20160126235308-23def4e6c14b/go.mod"
|
||||||
|
"github.com/golang/groupcache v0.0.0-20160516000752-02826c3e7903/go.mod"
|
||||||
|
"github.com/golang/groupcache v0.0.0-20190702054246-869f871628b6/go.mod"
|
||||||
|
"github.com/golang/groupcache v0.0.0-20191227052852-215e87163ea7/go.mod"
|
||||||
|
"github.com/golang/groupcache v0.0.0-20200121045136-8c9f03a8e57e"
|
||||||
|
"github.com/golang/groupcache v0.0.0-20200121045136-8c9f03a8e57e/go.mod"
|
||||||
|
"github.com/golang/mock v1.1.1/go.mod"
|
||||||
|
"github.com/golang/mock v1.2.0/go.mod"
|
||||||
|
"github.com/golang/mock v1.3.1/go.mod"
|
||||||
|
"github.com/golang/mock v1.4.0/go.mod"
|
||||||
|
"github.com/golang/mock v1.4.1/go.mod"
|
||||||
|
"github.com/golang/mock v1.4.3/go.mod"
|
||||||
|
"github.com/golang/mock v1.4.4"
|
||||||
|
"github.com/golang/mock v1.4.4/go.mod"
|
||||||
|
"github.com/golang/protobuf v0.0.0-20161109072736-4bd1920723d7/go.mod"
|
||||||
|
"github.com/golang/protobuf v1.1.0/go.mod"
|
||||||
|
"github.com/golang/protobuf v1.2.0/go.mod"
|
||||||
|
"github.com/golang/protobuf v1.3.1/go.mod"
|
||||||
|
"github.com/golang/protobuf v1.3.2/go.mod"
|
||||||
|
"github.com/golang/protobuf v1.3.3/go.mod"
|
||||||
|
"github.com/golang/protobuf v1.3.4/go.mod"
|
||||||
|
"github.com/golang/protobuf v1.3.5/go.mod"
|
||||||
|
"github.com/golang/protobuf v1.4.0-rc.1/go.mod"
|
||||||
|
"github.com/golang/protobuf v1.4.0-rc.1.0.20200221234624-67d41d38c208/go.mod"
|
||||||
|
"github.com/golang/protobuf v1.4.0-rc.2/go.mod"
|
||||||
|
"github.com/golang/protobuf v1.4.0-rc.4.0.20200313231945-b860323f09d0/go.mod"
|
||||||
|
"github.com/golang/protobuf v1.4.0/go.mod"
|
||||||
|
"github.com/golang/protobuf v1.4.1/go.mod"
|
||||||
|
"github.com/golang/protobuf v1.4.2"
|
||||||
|
"github.com/golang/protobuf v1.4.2/go.mod"
|
||||||
|
"github.com/google/btree v0.0.0-20160524151835-7d79101e329e/go.mod"
|
||||||
|
"github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c/go.mod"
|
||||||
|
"github.com/google/btree v1.0.0"
|
||||||
|
"github.com/google/btree v1.0.0/go.mod"
|
||||||
|
"github.com/google/go-cmp v0.2.0/go.mod"
|
||||||
|
"github.com/google/go-cmp v0.3.0/go.mod"
|
||||||
|
"github.com/google/go-cmp v0.3.1/go.mod"
|
||||||
|
"github.com/google/go-cmp v0.4.0/go.mod"
|
||||||
|
"github.com/google/go-cmp v0.4.1/go.mod"
|
||||||
|
"github.com/google/go-cmp v0.5.0/go.mod"
|
||||||
|
"github.com/google/go-cmp v0.5.1/go.mod"
|
||||||
|
"github.com/google/go-cmp v0.5.2"
|
||||||
|
"github.com/google/go-cmp v0.5.2/go.mod"
|
||||||
|
"github.com/google/go-querystring v1.0.0"
|
||||||
|
"github.com/google/go-querystring v1.0.0/go.mod"
|
||||||
|
"github.com/google/gofuzz v0.0.0-20161122191042-44d81051d367/go.mod"
|
||||||
|
"github.com/google/gofuzz v0.0.0-20170612174753-24818f796faf/go.mod"
|
||||||
|
"github.com/google/gofuzz v1.0.0"
|
||||||
|
"github.com/google/gofuzz v1.0.0/go.mod"
|
||||||
|
"github.com/google/martian v2.1.0+incompatible"
|
||||||
|
"github.com/google/martian v2.1.0+incompatible/go.mod"
|
||||||
|
"github.com/google/martian/v3 v3.0.0"
|
||||||
|
"github.com/google/martian/v3 v3.0.0/go.mod"
|
||||||
|
"github.com/google/pprof v0.0.0-20181206194817-3ea8567a2e57/go.mod"
|
||||||
|
"github.com/google/pprof v0.0.0-20190515194954-54271f7e092f/go.mod"
|
||||||
|
"github.com/google/pprof v0.0.0-20191218002539-d4f498aebedc/go.mod"
|
||||||
|
"github.com/google/pprof v0.0.0-20200212024743-f11f1df84d12/go.mod"
|
||||||
|
"github.com/google/pprof v0.0.0-20200229191704-1ebb73c60ed3/go.mod"
|
||||||
|
"github.com/google/pprof v0.0.0-20200430221834-fc25d7d30c6d/go.mod"
|
||||||
|
"github.com/google/pprof v0.0.0-20200708004538-1a94d8640e99/go.mod"
|
||||||
|
"github.com/google/renameio v0.1.0/go.mod"
|
||||||
|
"github.com/google/uuid v1.0.0/go.mod"
|
||||||
|
"github.com/google/uuid v1.1.1"
|
||||||
|
"github.com/google/uuid v1.1.1/go.mod"
|
||||||
|
"github.com/googleapis/gax-go/v2 v2.0.4/go.mod"
|
||||||
|
"github.com/googleapis/gax-go/v2 v2.0.5"
|
||||||
|
"github.com/googleapis/gax-go/v2 v2.0.5/go.mod"
|
||||||
|
"github.com/googleapis/gnostic v0.0.0-20170729233727-0c5108395e2d"
|
||||||
|
"github.com/googleapis/gnostic v0.0.0-20170729233727-0c5108395e2d/go.mod"
|
||||||
|
"github.com/gophercloud/gophercloud v0.0.0-20190126172459-c818fa66e4c8/go.mod"
|
||||||
|
"github.com/gophercloud/gophercloud v0.6.1-0.20191122030953-d8ac278c1c9d/go.mod"
|
||||||
|
"github.com/gophercloud/gophercloud v0.10.1-0.20200424014253-c3bfe50899e5"
|
||||||
|
"github.com/gophercloud/gophercloud v0.10.1-0.20200424014253-c3bfe50899e5/go.mod"
|
||||||
|
"github.com/gophercloud/utils v0.0.0-20200423144003-7c72efc7435d"
|
||||||
|
"github.com/gophercloud/utils v0.0.0-20200423144003-7c72efc7435d/go.mod"
|
||||||
|
"github.com/gopherjs/gopherjs v0.0.0-20181017120253-0766667cb4d1"
|
||||||
|
"github.com/gopherjs/gopherjs v0.0.0-20181017120253-0766667cb4d1/go.mod"
|
||||||
|
"github.com/gorilla/websocket v1.4.0"
|
||||||
|
"github.com/gorilla/websocket v1.4.0/go.mod"
|
||||||
|
"github.com/gregjones/httpcache v0.0.0-20170728041850-787624de3eb7/go.mod"
|
||||||
|
"github.com/grpc-ecosystem/go-grpc-middleware v1.0.0"
|
||||||
|
"github.com/grpc-ecosystem/go-grpc-middleware v1.0.0/go.mod"
|
||||||
|
"github.com/grpc-ecosystem/go-grpc-prometheus v1.2.0"
|
||||||
|
"github.com/grpc-ecosystem/go-grpc-prometheus v1.2.0/go.mod"
|
||||||
|
"github.com/grpc-ecosystem/grpc-gateway v1.8.5"
|
||||||
|
"github.com/grpc-ecosystem/grpc-gateway v1.8.5/go.mod"
|
||||||
|
"github.com/hashicorp/aws-sdk-go-base v0.6.0"
|
||||||
|
"github.com/hashicorp/aws-sdk-go-base v0.6.0/go.mod"
|
||||||
|
"github.com/hashicorp/consul v0.0.0-20171026175957-610f3c86a089"
|
||||||
|
"github.com/hashicorp/consul v0.0.0-20171026175957-610f3c86a089/go.mod"
|
||||||
|
"github.com/hashicorp/errwrap v1.0.0"
|
||||||
|
"github.com/hashicorp/errwrap v1.0.0/go.mod"
|
||||||
|
"github.com/hashicorp/go-azure-helpers v0.12.0"
|
||||||
|
"github.com/hashicorp/go-azure-helpers v0.12.0/go.mod"
|
||||||
|
"github.com/hashicorp/go-checkpoint v0.5.0"
|
||||||
|
"github.com/hashicorp/go-checkpoint v0.5.0/go.mod"
|
||||||
|
"github.com/hashicorp/go-cleanhttp v0.5.0/go.mod"
|
||||||
|
"github.com/hashicorp/go-cleanhttp v0.5.1"
|
||||||
|
"github.com/hashicorp/go-cleanhttp v0.5.1/go.mod"
|
||||||
|
"github.com/hashicorp/go-getter v1.5.1"
|
||||||
|
"github.com/hashicorp/go-getter v1.5.1/go.mod"
|
||||||
|
"github.com/hashicorp/go-hclog v0.0.0-20180709165350-ff2cf002a8dd/go.mod"
|
||||||
|
"github.com/hashicorp/go-hclog v0.9.2"
|
||||||
|
"github.com/hashicorp/go-hclog v0.9.2/go.mod"
|
||||||
|
"github.com/hashicorp/go-immutable-radix v0.0.0-20180129170900-7f3cd4390caa"
|
||||||
|
"github.com/hashicorp/go-immutable-radix v0.0.0-20180129170900-7f3cd4390caa/go.mod"
|
||||||
|
"github.com/hashicorp/go-msgpack v0.5.4"
|
||||||
|
"github.com/hashicorp/go-msgpack v0.5.4/go.mod"
|
||||||
|
"github.com/hashicorp/go-multierror v1.0.0"
|
||||||
|
"github.com/hashicorp/go-multierror v1.0.0/go.mod"
|
||||||
|
"github.com/hashicorp/go-plugin v1.3.0"
|
||||||
|
"github.com/hashicorp/go-plugin v1.3.0/go.mod"
|
||||||
|
"github.com/hashicorp/go-retryablehttp v0.5.2"
|
||||||
|
"github.com/hashicorp/go-retryablehttp v0.5.2/go.mod"
|
||||||
|
"github.com/hashicorp/go-rootcerts v1.0.0"
|
||||||
|
"github.com/hashicorp/go-rootcerts v1.0.0/go.mod"
|
||||||
|
"github.com/hashicorp/go-safetemp v1.0.0"
|
||||||
|
"github.com/hashicorp/go-safetemp v1.0.0/go.mod"
|
||||||
|
"github.com/hashicorp/go-slug v0.4.1"
|
||||||
|
"github.com/hashicorp/go-slug v0.4.1/go.mod"
|
||||||
|
"github.com/hashicorp/go-sockaddr v0.0.0-20180320115054-6d291a969b86"
|
||||||
|
"github.com/hashicorp/go-sockaddr v0.0.0-20180320115054-6d291a969b86/go.mod"
|
||||||
|
"github.com/hashicorp/go-tfe v0.8.1"
|
||||||
|
"github.com/hashicorp/go-tfe v0.8.1/go.mod"
|
||||||
|
"github.com/hashicorp/go-uuid v1.0.0/go.mod"
|
||||||
|
"github.com/hashicorp/go-uuid v1.0.1"
|
||||||
|
"github.com/hashicorp/go-uuid v1.0.1/go.mod"
|
||||||
|
"github.com/hashicorp/go-version v1.0.0/go.mod"
|
||||||
|
"github.com/hashicorp/go-version v1.1.0/go.mod"
|
||||||
|
"github.com/hashicorp/go-version v1.2.0"
|
||||||
|
"github.com/hashicorp/go-version v1.2.0/go.mod"
|
||||||
|
"github.com/hashicorp/golang-lru v0.5.0/go.mod"
|
||||||
|
"github.com/hashicorp/golang-lru v0.5.1"
|
||||||
|
"github.com/hashicorp/golang-lru v0.5.1/go.mod"
|
||||||
|
"github.com/hashicorp/hcl v0.0.0-20170504190234-a4b07c25de5f"
|
||||||
|
"github.com/hashicorp/hcl v0.0.0-20170504190234-a4b07c25de5f/go.mod"
|
||||||
|
"github.com/hashicorp/hcl/v2 v2.0.0/go.mod"
|
||||||
|
"github.com/hashicorp/hcl/v2 v2.9.1"
|
||||||
|
"github.com/hashicorp/hcl/v2 v2.9.1/go.mod"
|
||||||
|
"github.com/hashicorp/memberlist v0.1.0"
|
||||||
|
"github.com/hashicorp/memberlist v0.1.0/go.mod"
|
||||||
|
"github.com/hashicorp/serf v0.0.0-20160124182025-e4ec8cc423bb"
|
||||||
|
"github.com/hashicorp/serf v0.0.0-20160124182025-e4ec8cc423bb/go.mod"
|
||||||
|
"github.com/hashicorp/terraform-config-inspect v0.0.0-20191212124732-c6ae6269b9d7"
|
||||||
|
"github.com/hashicorp/terraform-config-inspect v0.0.0-20191212124732-c6ae6269b9d7/go.mod"
|
||||||
|
"github.com/hashicorp/terraform-svchost v0.0.0-20200729002733-f050f53b9734"
|
||||||
|
"github.com/hashicorp/terraform-svchost v0.0.0-20200729002733-f050f53b9734/go.mod"
|
||||||
|
"github.com/hashicorp/yamux v0.0.0-20180604194846-3520598351bb/go.mod"
|
||||||
|
"github.com/hashicorp/yamux v0.0.0-20181012175058-2f1d1f20f75d"
|
||||||
|
"github.com/hashicorp/yamux v0.0.0-20181012175058-2f1d1f20f75d/go.mod"
|
||||||
|
"github.com/hpcloud/tail v1.0.0/go.mod"
|
||||||
|
"github.com/ianlancetaylor/demangle v0.0.0-20181102032728-5e5cf60278f6/go.mod"
|
||||||
|
"github.com/imdario/mergo v0.3.5/go.mod"
|
||||||
|
"github.com/imdario/mergo v0.3.9"
|
||||||
|
"github.com/imdario/mergo v0.3.9/go.mod"
|
||||||
|
"github.com/jhump/protoreflect v1.6.0"
|
||||||
|
"github.com/jhump/protoreflect v1.6.0/go.mod"
|
||||||
|
"github.com/jmespath/go-jmespath v0.0.0-20160202185014-0b12d6b521d8/go.mod"
|
||||||
|
"github.com/jmespath/go-jmespath v0.3.0/go.mod"
|
||||||
|
"github.com/jmespath/go-jmespath v0.4.0"
|
||||||
|
"github.com/jmespath/go-jmespath v0.4.0/go.mod"
|
||||||
|
"github.com/jmespath/go-jmespath/internal/testify v1.5.1"
|
||||||
|
"github.com/jmespath/go-jmespath/internal/testify v1.5.1/go.mod"
|
||||||
|
"github.com/jonboulle/clockwork v0.1.0"
|
||||||
|
"github.com/jonboulle/clockwork v0.1.0/go.mod"
|
||||||
|
"github.com/joyent/triton-go v0.0.0-20180313100802-d8f9c0314926"
|
||||||
|
"github.com/joyent/triton-go v0.0.0-20180313100802-d8f9c0314926/go.mod"
|
||||||
|
"github.com/json-iterator/go v0.0.0-20180612202835-f2b4162afba3/go.mod"
|
||||||
|
"github.com/json-iterator/go v0.0.0-20180701071628-ab8a2e0c74be/go.mod"
|
||||||
|
"github.com/json-iterator/go v1.1.7"
|
||||||
|
"github.com/json-iterator/go v1.1.7/go.mod"
|
||||||
|
"github.com/jstemmer/go-junit-report v0.0.0-20190106144839-af01ea7f8024/go.mod"
|
||||||
|
"github.com/jstemmer/go-junit-report v0.9.1"
|
||||||
|
"github.com/jstemmer/go-junit-report v0.9.1/go.mod"
|
||||||
|
"github.com/jtolds/gls v4.2.1+incompatible"
|
||||||
|
"github.com/jtolds/gls v4.2.1+incompatible/go.mod"
|
||||||
|
"github.com/julienschmidt/httprouter v1.2.0/go.mod"
|
||||||
|
"github.com/kardianos/osext v0.0.0-20190222173326-2bc1f35cddc0"
|
||||||
|
"github.com/kardianos/osext v0.0.0-20190222173326-2bc1f35cddc0/go.mod"
|
||||||
|
"github.com/kisielk/errcheck v1.2.0/go.mod"
|
||||||
|
"github.com/kisielk/gotool v1.0.0/go.mod"
|
||||||
|
"github.com/konsorten/go-windows-terminal-sequences v1.0.1"
|
||||||
|
"github.com/konsorten/go-windows-terminal-sequences v1.0.1/go.mod"
|
||||||
|
"github.com/kr/logfmt v0.0.0-20140226030751-b84e30acd515/go.mod"
|
||||||
|
"github.com/kr/pretty v0.1.0"
|
||||||
|
"github.com/kr/pretty v0.1.0/go.mod"
|
||||||
|
"github.com/kr/pty v1.1.1/go.mod"
|
||||||
|
"github.com/kr/text v0.1.0"
|
||||||
|
"github.com/kr/text v0.1.0/go.mod"
|
||||||
|
"github.com/kylelemons/godebug v0.0.0-20170820004349-d65d576e9348/go.mod"
|
||||||
|
"github.com/kylelemons/godebug v1.1.0"
|
||||||
|
"github.com/kylelemons/godebug v1.1.0/go.mod"
|
||||||
|
"github.com/lib/pq v1.8.0"
|
||||||
|
"github.com/lib/pq v1.8.0/go.mod"
|
||||||
|
"github.com/likexian/gokit v0.0.0-20190309162924-0a377eecf7aa/go.mod"
|
||||||
|
"github.com/likexian/gokit v0.0.0-20190418170008-ace88ad0983b/go.mod"
|
||||||
|
"github.com/likexian/gokit v0.0.0-20190501133040-e77ea8b19cdc/go.mod"
|
||||||
|
"github.com/likexian/gokit v0.20.15"
|
||||||
|
"github.com/likexian/gokit v0.20.15/go.mod"
|
||||||
|
"github.com/likexian/simplejson-go v0.0.0-20190409170913-40473a74d76d/go.mod"
|
||||||
|
"github.com/likexian/simplejson-go v0.0.0-20190419151922-c1f9f0b4f084/go.mod"
|
||||||
|
"github.com/likexian/simplejson-go v0.0.0-20190502021454-d8787b4bfa0b/go.mod"
|
||||||
|
"github.com/lusis/go-artifactory v0.0.0-20160115162124-7e4ce345df82"
|
||||||
|
"github.com/lusis/go-artifactory v0.0.0-20160115162124-7e4ce345df82/go.mod"
|
||||||
|
"github.com/mailru/easyjson v0.0.0-20160728113105-d5b7844b561a/go.mod"
|
||||||
|
"github.com/masterzen/simplexml v0.0.0-20160608183007-4572e39b1ab9/go.mod"
|
||||||
|
"github.com/masterzen/simplexml v0.0.0-20190410153822-31eea3082786"
|
||||||
|
"github.com/masterzen/simplexml v0.0.0-20190410153822-31eea3082786/go.mod"
|
||||||
|
"github.com/masterzen/winrm v0.0.0-20200615185753-c42b5136ff88"
|
||||||
|
"github.com/masterzen/winrm v0.0.0-20200615185753-c42b5136ff88/go.mod"
|
||||||
|
"github.com/mattn/go-colorable v0.0.9/go.mod"
|
||||||
|
"github.com/mattn/go-colorable v0.1.1"
|
||||||
|
"github.com/mattn/go-colorable v0.1.1/go.mod"
|
||||||
|
"github.com/mattn/go-isatty v0.0.3/go.mod"
|
||||||
|
"github.com/mattn/go-isatty v0.0.4/go.mod"
|
||||||
|
"github.com/mattn/go-isatty v0.0.5"
|
||||||
|
"github.com/mattn/go-isatty v0.0.5/go.mod"
|
||||||
|
"github.com/mattn/go-runewidth v0.0.4/go.mod"
|
||||||
|
"github.com/mattn/go-shellwords v1.0.4"
|
||||||
|
"github.com/mattn/go-shellwords v1.0.4/go.mod"
|
||||||
|
"github.com/matttproud/golang_protobuf_extensions v1.0.1"
|
||||||
|
"github.com/matttproud/golang_protobuf_extensions v1.0.1/go.mod"
|
||||||
|
"github.com/miekg/dns v1.0.8"
|
||||||
|
"github.com/miekg/dns v1.0.8/go.mod"
|
||||||
|
"github.com/mitchellh/cli v1.1.0"
|
||||||
|
"github.com/mitchellh/cli v1.1.0/go.mod"
|
||||||
|
"github.com/mitchellh/colorstring v0.0.0-20190213212951-d06e56a500db"
|
||||||
|
"github.com/mitchellh/colorstring v0.0.0-20190213212951-d06e56a500db/go.mod"
|
||||||
|
"github.com/mitchellh/copystructure v1.0.0"
|
||||||
|
"github.com/mitchellh/copystructure v1.0.0/go.mod"
|
||||||
|
"github.com/mitchellh/go-homedir v1.0.0/go.mod"
|
||||||
|
"github.com/mitchellh/go-homedir v1.1.0"
|
||||||
|
"github.com/mitchellh/go-homedir v1.1.0/go.mod"
|
||||||
|
"github.com/mitchellh/go-linereader v0.0.0-20190213213312-1b945b3263eb"
|
||||||
|
"github.com/mitchellh/go-linereader v0.0.0-20190213213312-1b945b3263eb/go.mod"
|
||||||
|
"github.com/mitchellh/go-testing-interface v0.0.0-20171004221916-a61a99592b77/go.mod"
|
||||||
|
"github.com/mitchellh/go-testing-interface v1.0.0"
|
||||||
|
"github.com/mitchellh/go-testing-interface v1.0.0/go.mod"
|
||||||
|
"github.com/mitchellh/go-wordwrap v0.0.0-20150314170334-ad45545899c7/go.mod"
|
||||||
|
"github.com/mitchellh/go-wordwrap v1.0.0"
|
||||||
|
"github.com/mitchellh/go-wordwrap v1.0.0/go.mod"
|
||||||
|
"github.com/mitchellh/gox v1.0.1"
|
||||||
|
"github.com/mitchellh/gox v1.0.1/go.mod"
|
||||||
|
"github.com/mitchellh/iochan v1.0.0"
|
||||||
|
"github.com/mitchellh/iochan v1.0.0/go.mod"
|
||||||
|
"github.com/mitchellh/mapstructure v1.1.2"
|
||||||
|
"github.com/mitchellh/mapstructure v1.1.2/go.mod"
|
||||||
|
"github.com/mitchellh/panicwrap v1.0.0"
|
||||||
|
"github.com/mitchellh/panicwrap v1.0.0/go.mod"
|
||||||
|
"github.com/mitchellh/prefixedio v0.0.0-20190213213902-5733675afd51"
|
||||||
|
"github.com/mitchellh/prefixedio v0.0.0-20190213213902-5733675afd51/go.mod"
|
||||||
|
"github.com/mitchellh/reflectwalk v1.0.0/go.mod"
|
||||||
|
"github.com/mitchellh/reflectwalk v1.0.1"
|
||||||
|
"github.com/mitchellh/reflectwalk v1.0.1/go.mod"
|
||||||
|
"github.com/modern-go/concurrent v0.0.0-20180228061459-e0a39a4cb421/go.mod"
|
||||||
|
"github.com/modern-go/concurrent v0.0.0-20180306012644-bacd9c7ef1dd"
|
||||||
|
"github.com/modern-go/concurrent v0.0.0-20180306012644-bacd9c7ef1dd/go.mod"
|
||||||
|
"github.com/modern-go/reflect2 v0.0.0-20180320133207-05fbef0ca5da/go.mod"
|
||||||
|
"github.com/modern-go/reflect2 v0.0.0-20180701023420-4b7aa43c6742/go.mod"
|
||||||
|
"github.com/modern-go/reflect2 v1.0.1"
|
||||||
|
"github.com/modern-go/reflect2 v1.0.1/go.mod"
|
||||||
|
"github.com/mozillazg/go-httpheader v0.2.1"
|
||||||
|
"github.com/mozillazg/go-httpheader v0.2.1/go.mod"
|
||||||
|
"github.com/munnerz/goautoneg v0.0.0-20120707110453-a547fc61f48d/go.mod"
|
||||||
|
"github.com/mwitkow/go-conntrack v0.0.0-20161129095857-cc309e4a2223/go.mod"
|
||||||
|
"github.com/mxk/go-flowrate v0.0.0-20140419014527-cca7078d478f/go.mod"
|
||||||
|
"github.com/nu7hatch/gouuid v0.0.0-20131221200532-179d4d0c4d8d"
|
||||||
|
"github.com/nu7hatch/gouuid v0.0.0-20131221200532-179d4d0c4d8d/go.mod"
|
||||||
|
"github.com/oklog/run v1.0.0"
|
||||||
|
"github.com/oklog/run v1.0.0/go.mod"
|
||||||
|
"github.com/onsi/ginkgo v0.0.0-20170829012221-11459a886d9c/go.mod"
|
||||||
|
"github.com/onsi/ginkgo v1.6.0/go.mod"
|
||||||
|
"github.com/onsi/ginkgo v1.8.0/go.mod"
|
||||||
|
"github.com/onsi/gomega v0.0.0-20170829124025-dcabb60a477c/go.mod"
|
||||||
|
"github.com/onsi/gomega v0.0.0-20190113212917-5533ce8a0da3/go.mod"
|
||||||
|
"github.com/onsi/gomega v1.5.0/go.mod"
|
||||||
|
"github.com/packer-community/winrmcp v0.0.0-20180921211025-c76d91c1e7db"
|
||||||
|
"github.com/packer-community/winrmcp v0.0.0-20180921211025-c76d91c1e7db/go.mod"
|
||||||
|
"github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c"
|
||||||
|
"github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c/go.mod"
|
||||||
|
"github.com/peterbourgon/diskv v2.0.1+incompatible/go.mod"
|
||||||
|
"github.com/pkg/browser v0.0.0-20180916011732-0a3d74bf9ce4"
|
||||||
|
"github.com/pkg/browser v0.0.0-20180916011732-0a3d74bf9ce4/go.mod"
|
||||||
|
"github.com/pkg/errors v0.8.0/go.mod"
|
||||||
|
"github.com/pkg/errors v0.9.1"
|
||||||
|
"github.com/pkg/errors v0.9.1/go.mod"
|
||||||
|
"github.com/pmezard/go-difflib v0.0.0-20151028094244-d8ed2627bdf0/go.mod"
|
||||||
|
"github.com/pmezard/go-difflib v1.0.0"
|
||||||
|
"github.com/pmezard/go-difflib v1.0.0/go.mod"
|
||||||
|
"github.com/posener/complete v1.1.1/go.mod"
|
||||||
|
"github.com/posener/complete v1.2.1"
|
||||||
|
"github.com/posener/complete v1.2.1/go.mod"
|
||||||
|
"github.com/prometheus/client_golang v0.9.1/go.mod"
|
||||||
|
"github.com/prometheus/client_golang v0.9.3-0.20190127221311-3c4408c8b829"
|
||||||
|
"github.com/prometheus/client_golang v0.9.3-0.20190127221311-3c4408c8b829/go.mod"
|
||||||
|
"github.com/prometheus/client_model v0.0.0-20180712105110-5c3871d89910/go.mod"
|
||||||
|
"github.com/prometheus/client_model v0.0.0-20190115171406-56726106282f/go.mod"
|
||||||
|
"github.com/prometheus/client_model v0.0.0-20190812154241-14fe0d1b01d4"
|
||||||
|
"github.com/prometheus/client_model v0.0.0-20190812154241-14fe0d1b01d4/go.mod"
|
||||||
|
"github.com/prometheus/common v0.2.0"
|
||||||
|
"github.com/prometheus/common v0.2.0/go.mod"
|
||||||
|
"github.com/prometheus/procfs v0.0.0-20181005140218-185b4288413d/go.mod"
|
||||||
|
"github.com/prometheus/procfs v0.0.0-20190117184657-bf6a532e95b1"
|
||||||
|
"github.com/prometheus/procfs v0.0.0-20190117184657-bf6a532e95b1/go.mod"
|
||||||
|
"github.com/rogpeppe/fastuuid v0.0.0-20150106093220-6724a57986af/go.mod"
|
||||||
|
"github.com/rogpeppe/go-internal v1.3.0/go.mod"
|
||||||
|
"github.com/satori/go.uuid v1.2.0"
|
||||||
|
"github.com/satori/go.uuid v1.2.0/go.mod"
|
||||||
|
"github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529"
|
||||||
|
"github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529/go.mod"
|
||||||
|
"github.com/sergi/go-diff v1.0.0"
|
||||||
|
"github.com/sergi/go-diff v1.0.0/go.mod"
|
||||||
|
"github.com/sirupsen/logrus v1.2.0"
|
||||||
|
"github.com/sirupsen/logrus v1.2.0/go.mod"
|
||||||
|
"github.com/smartystreets/assertions v0.0.0-20180927180507-b2de0cb4f26d"
|
||||||
|
"github.com/smartystreets/assertions v0.0.0-20180927180507-b2de0cb4f26d/go.mod"
|
||||||
|
"github.com/smartystreets/goconvey v0.0.0-20180222194500-ef6db91d284a"
|
||||||
|
"github.com/smartystreets/goconvey v0.0.0-20180222194500-ef6db91d284a/go.mod"
|
||||||
|
"github.com/soheilhy/cmux v0.1.4"
|
||||||
|
"github.com/soheilhy/cmux v0.1.4/go.mod"
|
||||||
|
"github.com/spf13/afero v1.2.2"
|
||||||
|
"github.com/spf13/afero v1.2.2/go.mod"
|
||||||
|
"github.com/spf13/pflag v0.0.0-20170130214245-9ff6c6923cff/go.mod"
|
||||||
|
"github.com/spf13/pflag v1.0.1/go.mod"
|
||||||
|
"github.com/spf13/pflag v1.0.2/go.mod"
|
||||||
|
"github.com/spf13/pflag v1.0.3"
|
||||||
|
"github.com/spf13/pflag v1.0.3/go.mod"
|
||||||
|
"github.com/stretchr/objx v0.1.0/go.mod"
|
||||||
|
"github.com/stretchr/objx v0.1.1/go.mod"
|
||||||
|
"github.com/stretchr/testify v0.0.0-20151208002404-e3a8ff8ce365/go.mod"
|
||||||
|
"github.com/stretchr/testify v1.2.2/go.mod"
|
||||||
|
"github.com/stretchr/testify v1.3.0/go.mod"
|
||||||
|
"github.com/stretchr/testify v1.4.0/go.mod"
|
||||||
|
"github.com/stretchr/testify v1.5.1"
|
||||||
|
"github.com/stretchr/testify v1.5.1/go.mod"
|
||||||
|
"github.com/svanharmelen/jsonapi v0.0.0-20180618144545-0c0828c3f16d"
|
||||||
|
"github.com/svanharmelen/jsonapi v0.0.0-20180618144545-0c0828c3f16d/go.mod"
|
||||||
|
"github.com/tencentcloud/tencentcloud-sdk-go v3.0.82+incompatible"
|
||||||
|
"github.com/tencentcloud/tencentcloud-sdk-go v3.0.82+incompatible/go.mod"
|
||||||
|
"github.com/tencentyun/cos-go-sdk-v5 v0.0.0-20190808065407-f07404cefc8c"
|
||||||
|
"github.com/tencentyun/cos-go-sdk-v5 v0.0.0-20190808065407-f07404cefc8c/go.mod"
|
||||||
|
"github.com/tmc/grpc-websocket-proxy v0.0.0-20171017195756-830351dc03c6"
|
||||||
|
"github.com/tmc/grpc-websocket-proxy v0.0.0-20171017195756-830351dc03c6/go.mod"
|
||||||
|
"github.com/tombuildsstuff/giovanni v0.12.0"
|
||||||
|
"github.com/tombuildsstuff/giovanni v0.12.0/go.mod"
|
||||||
|
"github.com/ugorji/go v0.0.0-20180813092308-00b869d2f4a5"
|
||||||
|
"github.com/ugorji/go v0.0.0-20180813092308-00b869d2f4a5/go.mod"
|
||||||
|
"github.com/ulikunitz/xz v0.5.8"
|
||||||
|
"github.com/ulikunitz/xz v0.5.8/go.mod"
|
||||||
|
"github.com/vmihailenco/msgpack v3.3.3+incompatible"
|
||||||
|
"github.com/vmihailenco/msgpack v3.3.3+incompatible/go.mod"
|
||||||
|
"github.com/vmihailenco/msgpack/v4 v4.3.12"
|
||||||
|
"github.com/vmihailenco/msgpack/v4 v4.3.12/go.mod"
|
||||||
|
"github.com/vmihailenco/tagparser v0.1.1"
|
||||||
|
"github.com/vmihailenco/tagparser v0.1.1/go.mod"
|
||||||
|
"github.com/xanzy/ssh-agent v0.2.1"
|
||||||
|
"github.com/xanzy/ssh-agent v0.2.1/go.mod"
|
||||||
|
"github.com/xiang90/probing v0.0.0-20160813154853-07dd2e8dfe18"
|
||||||
|
"github.com/xiang90/probing v0.0.0-20160813154853-07dd2e8dfe18/go.mod"
|
||||||
|
"github.com/xlab/treeprint v0.0.0-20161029104018-1d6e34225557"
|
||||||
|
"github.com/xlab/treeprint v0.0.0-20161029104018-1d6e34225557/go.mod"
|
||||||
|
"github.com/yuin/goldmark v1.1.25/go.mod"
|
||||||
|
"github.com/yuin/goldmark v1.1.27/go.mod"
|
||||||
|
"github.com/yuin/goldmark v1.1.32/go.mod"
|
||||||
|
"github.com/yuin/goldmark v1.2.1/go.mod"
|
||||||
|
"github.com/zclconf/go-cty v1.0.0/go.mod"
|
||||||
|
"github.com/zclconf/go-cty v1.1.0/go.mod"
|
||||||
|
"github.com/zclconf/go-cty v1.2.0/go.mod"
|
||||||
|
"github.com/zclconf/go-cty v1.8.0"
|
||||||
|
"github.com/zclconf/go-cty v1.8.0/go.mod"
|
||||||
|
"github.com/zclconf/go-cty-debug v0.0.0-20191215020915-b22d67c1ba0b/go.mod"
|
||||||
|
"github.com/zclconf/go-cty-yaml v1.0.2"
|
||||||
|
"github.com/zclconf/go-cty-yaml v1.0.2/go.mod"
|
||||||
|
"go.opencensus.io v0.21.0/go.mod"
|
||||||
|
"go.opencensus.io v0.22.0/go.mod"
|
||||||
|
"go.opencensus.io v0.22.2/go.mod"
|
||||||
|
"go.opencensus.io v0.22.3/go.mod"
|
||||||
|
"go.opencensus.io v0.22.4"
|
||||||
|
"go.opencensus.io v0.22.4/go.mod"
|
||||||
|
"go.uber.org/atomic v1.3.2"
|
||||||
|
"go.uber.org/atomic v1.3.2/go.mod"
|
||||||
|
"go.uber.org/multierr v1.1.0"
|
||||||
|
"go.uber.org/multierr v1.1.0/go.mod"
|
||||||
|
"go.uber.org/zap v1.9.1"
|
||||||
|
"go.uber.org/zap v1.9.1/go.mod"
|
||||||
|
"golang.org/x/crypto v0.0.0-20180904163835-0709b304e793/go.mod"
|
||||||
|
"golang.org/x/crypto v0.0.0-20181025213731-e84da0312774/go.mod"
|
||||||
|
"golang.org/x/crypto v0.0.0-20190219172222-a4c6cb3142f2/go.mod"
|
||||||
|
"golang.org/x/crypto v0.0.0-20190222235706-ffb98f73852f/go.mod"
|
||||||
|
"golang.org/x/crypto v0.0.0-20190308221718-c2843e01d9a2/go.mod"
|
||||||
|
"golang.org/x/crypto v0.0.0-20190426145343-a29dc8fdc734/go.mod"
|
||||||
|
"golang.org/x/crypto v0.0.0-20190510104115-cbcb75029529/go.mod"
|
||||||
|
"golang.org/x/crypto v0.0.0-20190605123033-f99c8df09eb5/go.mod"
|
||||||
|
"golang.org/x/crypto v0.0.0-20191011191535-87dc89f01550/go.mod"
|
||||||
|
"golang.org/x/crypto v0.0.0-20191202143827-86a70503ff7e/go.mod"
|
||||||
|
"golang.org/x/crypto v0.0.0-20200622213623-75b288015ac9"
|
||||||
|
"golang.org/x/crypto v0.0.0-20200622213623-75b288015ac9/go.mod"
|
||||||
|
"golang.org/x/exp v0.0.0-20190121172915-509febef88a4/go.mod"
|
||||||
|
"golang.org/x/exp v0.0.0-20190306152737-a1d7652674e8/go.mod"
|
||||||
|
"golang.org/x/exp v0.0.0-20190510132918-efd6b22b2522/go.mod"
|
||||||
|
"golang.org/x/exp v0.0.0-20190829153037-c13cbed26979/go.mod"
|
||||||
|
"golang.org/x/exp v0.0.0-20191030013958-a1ab85dbe136/go.mod"
|
||||||
|
"golang.org/x/exp v0.0.0-20191129062945-2f5052295587/go.mod"
|
||||||
|
"golang.org/x/exp v0.0.0-20191227195350-da58074b4299/go.mod"
|
||||||
|
"golang.org/x/exp v0.0.0-20200119233911-0405dc783f0a/go.mod"
|
||||||
|
"golang.org/x/exp v0.0.0-20200207192155-f17229e696bd/go.mod"
|
||||||
|
"golang.org/x/exp v0.0.0-20200224162631-6cc2880d07d6/go.mod"
|
||||||
|
"golang.org/x/image v0.0.0-20190227222117-0694c2d4d067/go.mod"
|
||||||
|
"golang.org/x/image v0.0.0-20190802002840-cff245a6509b/go.mod"
|
||||||
|
"golang.org/x/lint v0.0.0-20181026193005-c67002cb31c3/go.mod"
|
||||||
|
"golang.org/x/lint v0.0.0-20190227174305-5b3e6a55c961/go.mod"
|
||||||
|
"golang.org/x/lint v0.0.0-20190301231843-5614ed5bae6f/go.mod"
|
||||||
|
"golang.org/x/lint v0.0.0-20190313153728-d0100b6bd8b3/go.mod"
|
||||||
|
"golang.org/x/lint v0.0.0-20190409202823-959b441ac422/go.mod"
|
||||||
|
"golang.org/x/lint v0.0.0-20190909230951-414d861bb4ac/go.mod"
|
||||||
|
"golang.org/x/lint v0.0.0-20190930215403-16217165b5de/go.mod"
|
||||||
|
"golang.org/x/lint v0.0.0-20191125180803-fdd1cda4f05f/go.mod"
|
||||||
|
"golang.org/x/lint v0.0.0-20200130185559-910be7a94367/go.mod"
|
||||||
|
"golang.org/x/lint v0.0.0-20200302205851-738671d3881b"
|
||||||
|
"golang.org/x/lint v0.0.0-20200302205851-738671d3881b/go.mod"
|
||||||
|
"golang.org/x/mobile v0.0.0-20190312151609-d3739f865fa6/go.mod"
|
||||||
|
"golang.org/x/mobile v0.0.0-20190719004257-d2bd2a29d028/go.mod"
|
||||||
|
"golang.org/x/mod v0.0.0-20190513183733-4bf6d317e70e/go.mod"
|
||||||
|
"golang.org/x/mod v0.1.0/go.mod"
|
||||||
|
"golang.org/x/mod v0.1.1-0.20191105210325-c90efee705ee/go.mod"
|
||||||
|
"golang.org/x/mod v0.1.1-0.20191107180719-034126e5016b/go.mod"
|
||||||
|
"golang.org/x/mod v0.2.0/go.mod"
|
||||||
|
"golang.org/x/mod v0.3.0"
|
||||||
|
"golang.org/x/mod v0.3.0/go.mod"
|
||||||
|
"golang.org/x/net v0.0.0-20170114055629-f2499483f923/go.mod"
|
||||||
|
"golang.org/x/net v0.0.0-20180530234432-1e491301e022/go.mod"
|
||||||
|
"golang.org/x/net v0.0.0-20180724234803-3673e40ba225/go.mod"
|
||||||
|
"golang.org/x/net v0.0.0-20180811021610-c39426892332/go.mod"
|
||||||
|
"golang.org/x/net v0.0.0-20180826012351-8a410e7b638d/go.mod"
|
||||||
|
"golang.org/x/net v0.0.0-20180906233101-161cd47e91fd/go.mod"
|
||||||
|
"golang.org/x/net v0.0.0-20181114220301-adae6a3d119a/go.mod"
|
||||||
|
"golang.org/x/net v0.0.0-20181220203305-927f97764cc3/go.mod"
|
||||||
|
"golang.org/x/net v0.0.0-20190108225652-1e06a53dbb7e/go.mod"
|
||||||
|
"golang.org/x/net v0.0.0-20190125091013-d26f9f9a57f3/go.mod"
|
||||||
|
"golang.org/x/net v0.0.0-20190206173232-65e2d4e15006/go.mod"
|
||||||
|
"golang.org/x/net v0.0.0-20190213061140-3a22650c66bd/go.mod"
|
||||||
|
"golang.org/x/net v0.0.0-20190311183353-d8887717615a/go.mod"
|
||||||
|
"golang.org/x/net v0.0.0-20190404232315-eb5bcb51f2a3/go.mod"
|
||||||
|
"golang.org/x/net v0.0.0-20190501004415-9ce7a6920f09/go.mod"
|
||||||
|
"golang.org/x/net v0.0.0-20190503192946-f4e77d36d62c/go.mod"
|
||||||
|
"golang.org/x/net v0.0.0-20190603091049-60506f45cf65/go.mod"
|
||||||
|
"golang.org/x/net v0.0.0-20190620200207-3b0461eec859/go.mod"
|
||||||
|
"golang.org/x/net v0.0.0-20190628185345-da137c7871d7/go.mod"
|
||||||
|
"golang.org/x/net v0.0.0-20190724013045-ca1201d0de80/go.mod"
|
||||||
|
"golang.org/x/net v0.0.0-20190812203447-cdfb69ac37fc/go.mod"
|
||||||
|
"golang.org/x/net v0.0.0-20191009170851-d66e71096ffb/go.mod"
|
||||||
|
"golang.org/x/net v0.0.0-20191126235420-ef20fe5d7933/go.mod"
|
||||||
|
"golang.org/x/net v0.0.0-20191209160850-c0dbc17a3553/go.mod"
|
||||||
|
"golang.org/x/net v0.0.0-20200114155413-6afb5195e5aa/go.mod"
|
||||||
|
"golang.org/x/net v0.0.0-20200202094626-16171245cfb2/go.mod"
|
||||||
|
"golang.org/x/net v0.0.0-20200222125558-5a598a2470a0/go.mod"
|
||||||
|
"golang.org/x/net v0.0.0-20200226121028-0de0cce0169b/go.mod"
|
||||||
|
"golang.org/x/net v0.0.0-20200301022130-244492dfa37a/go.mod"
|
||||||
|
"golang.org/x/net v0.0.0-20200324143707-d3edc9973b7e/go.mod"
|
||||||
|
"golang.org/x/net v0.0.0-20200501053045-e0ff5e5a1de5/go.mod"
|
||||||
|
"golang.org/x/net v0.0.0-20200506145744-7e3656a0809f/go.mod"
|
||||||
|
"golang.org/x/net v0.0.0-20200513185701-a91f0712d120/go.mod"
|
||||||
|
"golang.org/x/net v0.0.0-20200520182314-0ba52f642ac2/go.mod"
|
||||||
|
"golang.org/x/net v0.0.0-20200625001655-4c5254603344/go.mod"
|
||||||
|
"golang.org/x/net v0.0.0-20200707034311-ab3426394381/go.mod"
|
||||||
|
"golang.org/x/net v0.0.0-20200822124328-c89045814202/go.mod"
|
||||||
|
"golang.org/x/net v0.0.0-20201021035429-f5854403a974/go.mod"
|
||||||
|
"golang.org/x/net v0.0.0-20201110031124-69a78807bb2b"
|
||||||
|
"golang.org/x/net v0.0.0-20201110031124-69a78807bb2b/go.mod"
|
||||||
|
"golang.org/x/oauth2 v0.0.0-20180821212333-d2e6202438be/go.mod"
|
||||||
|
"golang.org/x/oauth2 v0.0.0-20190226205417-e64efc72b421/go.mod"
|
||||||
|
"golang.org/x/oauth2 v0.0.0-20190402181905-9f3314589c9a/go.mod"
|
||||||
|
"golang.org/x/oauth2 v0.0.0-20190604053449-0f29369cfe45/go.mod"
|
||||||
|
"golang.org/x/oauth2 v0.0.0-20191202225959-858c2ad4c8b6/go.mod"
|
||||||
|
"golang.org/x/oauth2 v0.0.0-20200107190931-bf48bf16ab8d/go.mod"
|
||||||
|
"golang.org/x/oauth2 v0.0.0-20200902213428-5d25da1a8d43"
|
||||||
|
"golang.org/x/oauth2 v0.0.0-20200902213428-5d25da1a8d43/go.mod"
|
||||||
|
"golang.org/x/sync v0.0.0-20180314180146-1d60e4601c6f/go.mod"
|
||||||
|
"golang.org/x/sync v0.0.0-20181108010431-42b317875d0f/go.mod"
|
||||||
|
"golang.org/x/sync v0.0.0-20181221193216-37e7f081c4d4/go.mod"
|
||||||
|
"golang.org/x/sync v0.0.0-20190227155943-e225da77a7e6/go.mod"
|
||||||
|
"golang.org/x/sync v0.0.0-20190423024810-112230192c58/go.mod"
|
||||||
|
"golang.org/x/sync v0.0.0-20190911185100-cd5d95a43a6e/go.mod"
|
||||||
|
"golang.org/x/sync v0.0.0-20200317015054-43a5402ce75a/go.mod"
|
||||||
|
"golang.org/x/sync v0.0.0-20200625203802-6e8e738ad208/go.mod"
|
||||||
|
"golang.org/x/sync v0.0.0-20201020160332-67f06af15bc9/go.mod"
|
||||||
|
"golang.org/x/sys v0.0.0-20170830134202-bb24a47a89ea/go.mod"
|
||||||
|
"golang.org/x/sys v0.0.0-20180823144017-11551d06cbcc/go.mod"
|
||||||
|
"golang.org/x/sys v0.0.0-20180830151530-49385e6e1522/go.mod"
|
||||||
|
"golang.org/x/sys v0.0.0-20180905080454-ebe1bf3edb33/go.mod"
|
||||||
|
"golang.org/x/sys v0.0.0-20180909124046-d0be0721c37e/go.mod"
|
||||||
|
"golang.org/x/sys v0.0.0-20181107165924-66b7b1311ac8/go.mod"
|
||||||
|
"golang.org/x/sys v0.0.0-20181116152217-5ac8a444bdc5/go.mod"
|
||||||
|
"golang.org/x/sys v0.0.0-20190215142949-d0b11bdaac8a/go.mod"
|
||||||
|
"golang.org/x/sys v0.0.0-20190221075227-b4e8571b14e0/go.mod"
|
||||||
|
"golang.org/x/sys v0.0.0-20190222072716-a9d3bda3a223/go.mod"
|
||||||
|
"golang.org/x/sys v0.0.0-20190312061237-fead79001313/go.mod"
|
||||||
|
"golang.org/x/sys v0.0.0-20190412213103-97732733099d/go.mod"
|
||||||
|
"golang.org/x/sys v0.0.0-20190502145724-3ef323f4f1fd/go.mod"
|
||||||
|
"golang.org/x/sys v0.0.0-20190502175342-a43fa875dd82/go.mod"
|
||||||
|
"golang.org/x/sys v0.0.0-20190507160741-ecd444e8653b/go.mod"
|
||||||
|
"golang.org/x/sys v0.0.0-20190509141414-a5b02f93d862/go.mod"
|
||||||
|
"golang.org/x/sys v0.0.0-20190606165138-5da285871e9c/go.mod"
|
||||||
|
"golang.org/x/sys v0.0.0-20190616124812-15dcb6c0061f/go.mod"
|
||||||
|
"golang.org/x/sys v0.0.0-20190624142023-c5567b49c5d0/go.mod"
|
||||||
|
"golang.org/x/sys v0.0.0-20190726091711-fc99dfbffb4e/go.mod"
|
||||||
|
"golang.org/x/sys v0.0.0-20191001151750-bb3f8db39f24/go.mod"
|
||||||
|
"golang.org/x/sys v0.0.0-20191128015809-6d18c012aee9/go.mod"
|
||||||
|
"golang.org/x/sys v0.0.0-20191204072324-ce4227a45e2e/go.mod"
|
||||||
|
"golang.org/x/sys v0.0.0-20191228213918-04cbcbbfeed8/go.mod"
|
||||||
|
"golang.org/x/sys v0.0.0-20200113162924-86b910548bc1/go.mod"
|
||||||
|
"golang.org/x/sys v0.0.0-20200122134326-e047566fdf82/go.mod"
|
||||||
|
"golang.org/x/sys v0.0.0-20200202164722-d101bd2416d5/go.mod"
|
||||||
|
"golang.org/x/sys v0.0.0-20200212091648-12a6c2dcc1e4/go.mod"
|
||||||
|
"golang.org/x/sys v0.0.0-20200223170610-d5e6a3e2c0ae/go.mod"
|
||||||
|
"golang.org/x/sys v0.0.0-20200302150141-5c8b2ff67527/go.mod"
|
||||||
|
"golang.org/x/sys v0.0.0-20200323222414-85ca7c5b95cd/go.mod"
|
||||||
|
"golang.org/x/sys v0.0.0-20200331124033-c3d80250170d/go.mod"
|
||||||
|
"golang.org/x/sys v0.0.0-20200501052902-10377860bb8e/go.mod"
|
||||||
|
"golang.org/x/sys v0.0.0-20200511232937-7e40ca221e25/go.mod"
|
||||||
|
"golang.org/x/sys v0.0.0-20200515095857-1151b9dac4a9/go.mod"
|
||||||
|
"golang.org/x/sys v0.0.0-20200523222454-059865788121/go.mod"
|
||||||
|
"golang.org/x/sys v0.0.0-20200803210538-64077c9b5642/go.mod"
|
||||||
|
"golang.org/x/sys v0.0.0-20200905004654-be1d3432aa8f/go.mod"
|
||||||
|
"golang.org/x/sys v0.0.0-20200930185726-fdedc70b468f"
|
||||||
|
"golang.org/x/sys v0.0.0-20200930185726-fdedc70b468f/go.mod"
|
||||||
|
"golang.org/x/text v0.0.0-20160726164857-2910a502d2bf/go.mod"
|
||||||
|
"golang.org/x/text v0.0.0-20170915032832-14c0d48ead0c/go.mod"
|
||||||
|
"golang.org/x/text v0.3.0/go.mod"
|
||||||
|
"golang.org/x/text v0.3.1-0.20180807135948-17ff2d5776d2/go.mod"
|
||||||
|
"golang.org/x/text v0.3.1-0.20181227161524-e6919f6577db/go.mod"
|
||||||
|
"golang.org/x/text v0.3.2/go.mod"
|
||||||
|
"golang.org/x/text v0.3.3/go.mod"
|
||||||
|
"golang.org/x/text v0.3.5"
|
||||||
|
"golang.org/x/text v0.3.5/go.mod"
|
||||||
|
"golang.org/x/time v0.0.0-20161028155119-f51c12702a4d/go.mod"
|
||||||
|
"golang.org/x/time v0.0.0-20181108054448-85acf8d2951c/go.mod"
|
||||||
|
"golang.org/x/time v0.0.0-20190308202827-9d24e82272b4/go.mod"
|
||||||
|
"golang.org/x/time v0.0.0-20191024005414-555d28b269f0"
|
||||||
|
"golang.org/x/time v0.0.0-20191024005414-555d28b269f0/go.mod"
|
||||||
|
"golang.org/x/tools v0.0.0-20180917221912-90fa682c2a6e/go.mod"
|
||||||
|
"golang.org/x/tools v0.0.0-20181011042414-1f849cf54d09/go.mod"
|
||||||
|
"golang.org/x/tools v0.0.0-20181030221726-6c7e314b6563/go.mod"
|
||||||
|
"golang.org/x/tools v0.0.0-20190114222345-bf090417da8b/go.mod"
|
||||||
|
"golang.org/x/tools v0.0.0-20190226205152-f727befe758c/go.mod"
|
||||||
|
"golang.org/x/tools v0.0.0-20190311212946-11955173bddd/go.mod"
|
||||||
|
"golang.org/x/tools v0.0.0-20190312151545-0bb0c0a6e846/go.mod"
|
||||||
|
"golang.org/x/tools v0.0.0-20190312170243-e65039ee4138/go.mod"
|
||||||
|
"golang.org/x/tools v0.0.0-20190425150028-36563e24a262/go.mod"
|
||||||
|
"golang.org/x/tools v0.0.0-20190506145303-2d16b83fe98c/go.mod"
|
||||||
|
"golang.org/x/tools v0.0.0-20190524140312-2c0ae7006135/go.mod"
|
||||||
|
"golang.org/x/tools v0.0.0-20190606124116-d0a3d012864b/go.mod"
|
||||||
|
"golang.org/x/tools v0.0.0-20190621195816-6e04913cbbac/go.mod"
|
||||||
|
"golang.org/x/tools v0.0.0-20190628153133-6cdbf07be9d0/go.mod"
|
||||||
|
"golang.org/x/tools v0.0.0-20190816200558-6889da9d5479/go.mod"
|
||||||
|
"golang.org/x/tools v0.0.0-20190911174233-4f2ddba30aff/go.mod"
|
||||||
|
"golang.org/x/tools v0.0.0-20191012152004-8de300cfc20a/go.mod"
|
||||||
|
"golang.org/x/tools v0.0.0-20191113191852-77e3bb0ad9e7/go.mod"
|
||||||
|
"golang.org/x/tools v0.0.0-20191115202509-3a792d9c32b2/go.mod"
|
||||||
|
"golang.org/x/tools v0.0.0-20191119224855-298f0cb1881e/go.mod"
|
||||||
|
"golang.org/x/tools v0.0.0-20191125144606-a911d9008d1f/go.mod"
|
||||||
|
"golang.org/x/tools v0.0.0-20191130070609-6e064ea0cf2d/go.mod"
|
||||||
|
"golang.org/x/tools v0.0.0-20191203134012-c197fd4bf371/go.mod"
|
||||||
|
"golang.org/x/tools v0.0.0-20191216173652-a0e659d51361/go.mod"
|
||||||
|
"golang.org/x/tools v0.0.0-20191227053925-7b8e75db28f4/go.mod"
|
||||||
|
"golang.org/x/tools v0.0.0-20200117161641-43d50277825c/go.mod"
|
||||||
|
"golang.org/x/tools v0.0.0-20200122220014-bf1340f18c4a/go.mod"
|
||||||
|
"golang.org/x/tools v0.0.0-20200130002326-2f3ba24bd6e7/go.mod"
|
||||||
|
"golang.org/x/tools v0.0.0-20200204074204-1cc6d1ef6c74/go.mod"
|
||||||
|
"golang.org/x/tools v0.0.0-20200207183749-b753a1ba74fa/go.mod"
|
||||||
|
"golang.org/x/tools v0.0.0-20200212150539-ea181f53ac56/go.mod"
|
||||||
|
"golang.org/x/tools v0.0.0-20200224181240-023911ca70b2/go.mod"
|
||||||
|
"golang.org/x/tools v0.0.0-20200227222343-706bc42d1f0d/go.mod"
|
||||||
|
"golang.org/x/tools v0.0.0-20200304193943-95d2e580d8eb/go.mod"
|
||||||
|
"golang.org/x/tools v0.0.0-20200312045724-11d5b4c81c7d/go.mod"
|
||||||
|
"golang.org/x/tools v0.0.0-20200331025713-a30bf2db82d4/go.mod"
|
||||||
|
"golang.org/x/tools v0.0.0-20200501065659-ab2804fb9c9d/go.mod"
|
||||||
|
"golang.org/x/tools v0.0.0-20200512131952-2bc93b1c0c88/go.mod"
|
||||||
|
"golang.org/x/tools v0.0.0-20200515010526-7d3b6ebf133d/go.mod"
|
||||||
|
"golang.org/x/tools v0.0.0-20200618134242-20370b0cb4b2/go.mod"
|
||||||
|
"golang.org/x/tools v0.0.0-20200729194436-6467de6f59a7/go.mod"
|
||||||
|
"golang.org/x/tools v0.0.0-20200804011535-6c149bb5ef0d/go.mod"
|
||||||
|
"golang.org/x/tools v0.0.0-20200825202427-b303f430e36d/go.mod"
|
||||||
|
"golang.org/x/tools v0.0.0-20200904185747-39188db58858/go.mod"
|
||||||
|
"golang.org/x/tools v0.0.0-20201028111035-eafbe7b904eb"
|
||||||
|
"golang.org/x/tools v0.0.0-20201028111035-eafbe7b904eb/go.mod"
|
||||||
|
"golang.org/x/xerrors v0.0.0-20190717185122-a985d3407aa7/go.mod"
|
||||||
|
"golang.org/x/xerrors v0.0.0-20191011141410-1b5146add898/go.mod"
|
||||||
|
"golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543/go.mod"
|
||||||
|
"golang.org/x/xerrors v0.0.0-20200804184101-5ec99f83aff1"
|
||||||
|
"golang.org/x/xerrors v0.0.0-20200804184101-5ec99f83aff1/go.mod"
|
||||||
|
"google.golang.org/api v0.4.0/go.mod"
|
||||||
|
"google.golang.org/api v0.7.0/go.mod"
|
||||||
|
"google.golang.org/api v0.8.0/go.mod"
|
||||||
|
"google.golang.org/api v0.9.0/go.mod"
|
||||||
|
"google.golang.org/api v0.13.0/go.mod"
|
||||||
|
"google.golang.org/api v0.14.0/go.mod"
|
||||||
|
"google.golang.org/api v0.15.0/go.mod"
|
||||||
|
"google.golang.org/api v0.17.0/go.mod"
|
||||||
|
"google.golang.org/api v0.18.0/go.mod"
|
||||||
|
"google.golang.org/api v0.19.0/go.mod"
|
||||||
|
"google.golang.org/api v0.20.0/go.mod"
|
||||||
|
"google.golang.org/api v0.22.0/go.mod"
|
||||||
|
"google.golang.org/api v0.24.0/go.mod"
|
||||||
|
"google.golang.org/api v0.28.0/go.mod"
|
||||||
|
"google.golang.org/api v0.29.0/go.mod"
|
||||||
|
"google.golang.org/api v0.30.0/go.mod"
|
||||||
|
"google.golang.org/api v0.34.0"
|
||||||
|
"google.golang.org/api v0.34.0/go.mod"
|
||||||
|
"google.golang.org/appengine v1.1.0/go.mod"
|
||||||
|
"google.golang.org/appengine v1.4.0/go.mod"
|
||||||
|
"google.golang.org/appengine v1.5.0/go.mod"
|
||||||
|
"google.golang.org/appengine v1.6.1/go.mod"
|
||||||
|
"google.golang.org/appengine v1.6.5/go.mod"
|
||||||
|
"google.golang.org/appengine v1.6.6"
|
||||||
|
"google.golang.org/appengine v1.6.6/go.mod"
|
||||||
|
"google.golang.org/genproto v0.0.0-20170818010345-ee236bd376b0/go.mod"
|
||||||
|
"google.golang.org/genproto v0.0.0-20180817151627-c66870c02cf8/go.mod"
|
||||||
|
"google.golang.org/genproto v0.0.0-20190307195333-5fe7a883aa19/go.mod"
|
||||||
|
"google.golang.org/genproto v0.0.0-20190418145605-e7d98fc518a7/go.mod"
|
||||||
|
"google.golang.org/genproto v0.0.0-20190425155659-357c62f0e4bb/go.mod"
|
||||||
|
"google.golang.org/genproto v0.0.0-20190502173448-54afdca5d873/go.mod"
|
||||||
|
"google.golang.org/genproto v0.0.0-20190801165951-fa694d86fc64/go.mod"
|
||||||
|
"google.golang.org/genproto v0.0.0-20190819201941-24fa4b261c55/go.mod"
|
||||||
|
"google.golang.org/genproto v0.0.0-20190911173649-1774047e7e51/go.mod"
|
||||||
|
"google.golang.org/genproto v0.0.0-20191108220845-16a3f7862a1a/go.mod"
|
||||||
|
"google.golang.org/genproto v0.0.0-20191115194625-c23dd37a84c9/go.mod"
|
||||||
|
"google.golang.org/genproto v0.0.0-20191216164720-4f79533eabd1/go.mod"
|
||||||
|
"google.golang.org/genproto v0.0.0-20191230161307-f3c370f40bfb/go.mod"
|
||||||
|
"google.golang.org/genproto v0.0.0-20200115191322-ca5a22157cba/go.mod"
|
||||||
|
"google.golang.org/genproto v0.0.0-20200122232147-0452cf42e150/go.mod"
|
||||||
|
"google.golang.org/genproto v0.0.0-20200204135345-fa8e72b47b90/go.mod"
|
||||||
|
"google.golang.org/genproto v0.0.0-20200212174721-66ed5ce911ce/go.mod"
|
||||||
|
"google.golang.org/genproto v0.0.0-20200224152610-e50cd9704f63/go.mod"
|
||||||
|
"google.golang.org/genproto v0.0.0-20200228133532-8c2c7df3a383/go.mod"
|
||||||
|
"google.golang.org/genproto v0.0.0-20200305110556-506484158171/go.mod"
|
||||||
|
"google.golang.org/genproto v0.0.0-20200312145019-da6875a35672/go.mod"
|
||||||
|
"google.golang.org/genproto v0.0.0-20200331122359-1ee6d9798940/go.mod"
|
||||||
|
"google.golang.org/genproto v0.0.0-20200430143042-b979b6f78d84/go.mod"
|
||||||
|
"google.golang.org/genproto v0.0.0-20200511104702-f5ebc3bea380/go.mod"
|
||||||
|
"google.golang.org/genproto v0.0.0-20200515170657-fc4c6c6a6587/go.mod"
|
||||||
|
"google.golang.org/genproto v0.0.0-20200526211855-cb27e3aa2013/go.mod"
|
||||||
|
"google.golang.org/genproto v0.0.0-20200618031413-b414f8b61790/go.mod"
|
||||||
|
"google.golang.org/genproto v0.0.0-20200729003335-053ba62fc06f/go.mod"
|
||||||
|
"google.golang.org/genproto v0.0.0-20200804131852-c06518451d9c/go.mod"
|
||||||
|
"google.golang.org/genproto v0.0.0-20200825200019-8632dd797987/go.mod"
|
||||||
|
"google.golang.org/genproto v0.0.0-20200904004341-0bd0a958aa1d"
|
||||||
|
"google.golang.org/genproto v0.0.0-20200904004341-0bd0a958aa1d/go.mod"
|
||||||
|
"google.golang.org/grpc v1.8.0/go.mod"
|
||||||
|
"google.golang.org/grpc v1.19.0/go.mod"
|
||||||
|
"google.golang.org/grpc v1.20.1/go.mod"
|
||||||
|
"google.golang.org/grpc v1.21.1/go.mod"
|
||||||
|
"google.golang.org/grpc v1.23.0/go.mod"
|
||||||
|
"google.golang.org/grpc v1.25.1/go.mod"
|
||||||
|
"google.golang.org/grpc v1.26.0/go.mod"
|
||||||
|
"google.golang.org/grpc v1.27.0/go.mod"
|
||||||
|
"google.golang.org/grpc v1.27.1"
|
||||||
|
"google.golang.org/grpc v1.27.1/go.mod"
|
||||||
|
"google.golang.org/grpc v1.28.0/go.mod"
|
||||||
|
"google.golang.org/grpc v1.29.1/go.mod"
|
||||||
|
"google.golang.org/grpc v1.30.0/go.mod"
|
||||||
|
"google.golang.org/grpc v1.31.0/go.mod"
|
||||||
|
"google.golang.org/protobuf v0.0.0-20200109180630-ec00e32a8dfd/go.mod"
|
||||||
|
"google.golang.org/protobuf v0.0.0-20200221191635-4d8936d0db64/go.mod"
|
||||||
|
"google.golang.org/protobuf v0.0.0-20200228230310-ab0ca4ff8a60/go.mod"
|
||||||
|
"google.golang.org/protobuf v1.20.1-0.20200309200217-e05f789c0967/go.mod"
|
||||||
|
"google.golang.org/protobuf v1.21.0/go.mod"
|
||||||
|
"google.golang.org/protobuf v1.22.0/go.mod"
|
||||||
|
"google.golang.org/protobuf v1.23.0/go.mod"
|
||||||
|
"google.golang.org/protobuf v1.23.1-0.20200526195155-81db48ad09cc/go.mod"
|
||||||
|
"google.golang.org/protobuf v1.24.0/go.mod"
|
||||||
|
"google.golang.org/protobuf v1.25.0"
|
||||||
|
"google.golang.org/protobuf v1.25.0/go.mod"
|
||||||
|
"gopkg.in/alecthomas/kingpin.v2 v2.2.6/go.mod"
|
||||||
|
"gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod"
|
||||||
|
"gopkg.in/check.v1 v1.0.0-20180628173108-788fd7840127/go.mod"
|
||||||
|
"gopkg.in/check.v1 v1.0.0-20190902080502-41f04d3bba15"
|
||||||
|
"gopkg.in/check.v1 v1.0.0-20190902080502-41f04d3bba15/go.mod"
|
||||||
|
"gopkg.in/cheggaaa/pb.v1 v1.0.27/go.mod"
|
||||||
|
"gopkg.in/errgo.v2 v2.1.0/go.mod"
|
||||||
|
"gopkg.in/fsnotify.v1 v1.4.7/go.mod"
|
||||||
|
"gopkg.in/inf.v0 v0.9.0"
|
||||||
|
"gopkg.in/inf.v0 v0.9.0/go.mod"
|
||||||
|
"gopkg.in/ini.v1 v1.42.0"
|
||||||
|
"gopkg.in/ini.v1 v1.42.0/go.mod"
|
||||||
|
"gopkg.in/resty.v1 v1.12.0/go.mod"
|
||||||
|
"gopkg.in/tomb.v1 v1.0.0-20141024135613-dd632973f1e7/go.mod"
|
||||||
|
"gopkg.in/yaml.v2 v2.0.0-20170812160011-eb3733d160e7/go.mod"
|
||||||
|
"gopkg.in/yaml.v2 v2.2.1/go.mod"
|
||||||
|
"gopkg.in/yaml.v2 v2.2.2/go.mod"
|
||||||
|
"gopkg.in/yaml.v2 v2.2.4/go.mod"
|
||||||
|
"gopkg.in/yaml.v2 v2.2.7/go.mod"
|
||||||
|
"gopkg.in/yaml.v2 v2.2.8"
|
||||||
|
"gopkg.in/yaml.v2 v2.2.8/go.mod"
|
||||||
|
"honnef.co/go/tools v0.0.0-20190102054323-c2f93a96b099/go.mod"
|
||||||
|
"honnef.co/go/tools v0.0.0-20190106161140-3f1c8253044a/go.mod"
|
||||||
|
"honnef.co/go/tools v0.0.0-20190418001031-e561f6794a2a/go.mod"
|
||||||
|
"honnef.co/go/tools v0.0.0-20190523083050-ea95bdfd59fc/go.mod"
|
||||||
|
"honnef.co/go/tools v0.0.1-2019.2.3/go.mod"
|
||||||
|
"honnef.co/go/tools v0.0.1-2020.1.3/go.mod"
|
||||||
|
"honnef.co/go/tools v0.0.1-2020.1.4/go.mod"
|
||||||
|
"k8s.io/api v0.0.0-20190620084959-7cf5895f2711"
|
||||||
|
"k8s.io/api v0.0.0-20190620084959-7cf5895f2711/go.mod"
|
||||||
|
"k8s.io/apimachinery v0.0.0-20190612205821-1799e75a0719/go.mod"
|
||||||
|
"k8s.io/apimachinery v0.0.0-20190913080033-27d36303b655"
|
||||||
|
"k8s.io/apimachinery v0.0.0-20190913080033-27d36303b655/go.mod"
|
||||||
|
"k8s.io/client-go v0.0.0-20190620085101-78d2af792bab"
|
||||||
|
"k8s.io/client-go v0.0.0-20190620085101-78d2af792bab/go.mod"
|
||||||
|
"k8s.io/gengo v0.0.0-20190128074634-0689ccc1d7d6/go.mod"
|
||||||
|
"k8s.io/klog v0.0.0-20181102134211-b9b56d5dfc92/go.mod"
|
||||||
|
"k8s.io/klog v0.3.1/go.mod"
|
||||||
|
"k8s.io/klog v0.4.0"
|
||||||
|
"k8s.io/klog v0.4.0/go.mod"
|
||||||
|
"k8s.io/klog/v2 v2.0.0/go.mod"
|
||||||
|
"k8s.io/kube-openapi v0.0.0-20190228160746-b3a7cee44a30/go.mod"
|
||||||
|
"k8s.io/kube-openapi v0.0.0-20190816220812-743ec37842bf/go.mod"
|
||||||
|
"k8s.io/utils v0.0.0-20190221042446-c2654d5206da/go.mod"
|
||||||
|
"k8s.io/utils v0.0.0-20200411171748-3d5a2fe318e4"
|
||||||
|
"k8s.io/utils v0.0.0-20200411171748-3d5a2fe318e4/go.mod"
|
||||||
|
"rsc.io/binaryregexp v0.2.0/go.mod"
|
||||||
|
"rsc.io/quote/v3 v3.1.0/go.mod"
|
||||||
|
"rsc.io/sampler v1.3.0/go.mod"
|
||||||
|
"sigs.k8s.io/structured-merge-diff v0.0.0-20190525122527-15d366b2352e/go.mod"
|
||||||
|
"sigs.k8s.io/yaml v1.1.0"
|
||||||
|
"sigs.k8s.io/yaml v1.1.0/go.mod"
|
||||||
|
)
|
||||||
|
|
||||||
|
go-module_set_globals
|
||||||
|
|
||||||
|
DESCRIPTION="A tool for building, changing, and combining infrastructure safely"
|
||||||
|
HOMEPAGE="https://www.terraform.io/"
|
||||||
|
|
||||||
|
EGO_PN="github.com/hashicorp/${PN}"
|
||||||
|
SRC_URI="https://github.com/hashicorp/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
|
||||||
|
SRC_URI+="${EGO_SUM_SRC_URI}"
|
||||||
|
|
||||||
|
LICENSE="Apache-2.0 BSD-2 BSD-4 ECL-2.0 imagemagick ISC JSON MIT MIT-with-advertising MPL-2.0 unicode"
|
||||||
|
SLOT="0"
|
||||||
|
KEYWORDS="~amd64"
|
||||||
|
|
||||||
|
RESTRICT="test"
|
||||||
|
|
||||||
|
DOCS=( {README,CHANGELOG}.md )
|
||||||
|
|
||||||
|
src_compile() {
|
||||||
|
GOCACHE="${T}/go-cache" go build -mod=readonly \
|
||||||
|
-work -o "bin/${PN}" ./ || die
|
||||||
|
}
|
||||||
|
|
||||||
|
src_install() {
|
||||||
|
dobin bin/terraform
|
||||||
|
|
||||||
|
einstalldocs
|
||||||
|
}
|
||||||
|
|
||||||
|
pkg_postinst() {
|
||||||
|
elog "If you would like to install shell completions please run:"
|
||||||
|
elog " terraform -install-autocomplete"
|
||||||
|
}
|
@ -1,6 +1,8 @@
|
|||||||
|
AUX patches/ulogd.patch 210 BLAKE2B 0a0822badb915fa6f2ed95e16c19c4a5d06322fd973e42391dc7ceff874ec9d138d33dac2e134d41e8ae669564f978c715b24188d6ac5f6b51fb9651a4e8599c SHA512 91183e53bfd00ed391a086705411771e275b2c9df7edce34829703f46152b7f4c194eafc53428a0d780c5798052356442b751546e3f96ed474cc0a3778e7f428
|
||||||
AUX ulogd.init 949 BLAKE2B bebbf58aab0957017980d46762743f366d9f2daeca35bbed53c1ae7ab2645a6de84eddf25e82a48c4185a6a9a991b4e3562e7d06579ba8a9b2fb36a9f5b0b7de SHA512 87331bc32592fc9153274a8716a5206392af99087f89d8ba51539c477805a1932706ad2fbb8f71947ef3534a368cb2559fd2f54ae0038ab49eccda85763e7a99
|
AUX ulogd.init 949 BLAKE2B bebbf58aab0957017980d46762743f366d9f2daeca35bbed53c1ae7ab2645a6de84eddf25e82a48c4185a6a9a991b4e3562e7d06579ba8a9b2fb36a9f5b0b7de SHA512 87331bc32592fc9153274a8716a5206392af99087f89d8ba51539c477805a1932706ad2fbb8f71947ef3534a368cb2559fd2f54ae0038ab49eccda85763e7a99
|
||||||
AUX ulogd.logrotate 193 BLAKE2B 65e6d518260ad322539f05ea5a3177092db8cfa67bd8cd035cd714f8c3e6f90860ce47e27dccdf66feed68258f9bbbe2ef16fa103000f0166927a8cf9fc6969c SHA512 be62a8c63d567d90ab07d9a9e86fb85d868683c385de598b81fa369fd13581a144a0be1aedd2b899d653d94475679eee1fd4939ae72a35777d75208584b2f17a
|
AUX ulogd.logrotate 193 BLAKE2B 65e6d518260ad322539f05ea5a3177092db8cfa67bd8cd035cd714f8c3e6f90860ce47e27dccdf66feed68258f9bbbe2ef16fa103000f0166927a8cf9fc6969c SHA512 be62a8c63d567d90ab07d9a9e86fb85d868683c385de598b81fa369fd13581a144a0be1aedd2b899d653d94475679eee1fd4939ae72a35777d75208584b2f17a
|
||||||
AUX ulogd.service 390 BLAKE2B e1395888ffe09cafd98a4384ab7b06e18c0e1b92fa80fb07a05415a3927bcd68a5d3d900ada141c684359bd37910801d40e069cba8cefc8a7c323584b9d8b993 SHA512 73923e6a851bf4f34f532c8b3fa17eb227f2fb2b4c485b89a488789f2d4af3605bd09538095a6acbee6d74300e98755bb03bacabe450104319938cfff62e4c89
|
AUX ulogd.service 390 BLAKE2B e1395888ffe09cafd98a4384ab7b06e18c0e1b92fa80fb07a05415a3927bcd68a5d3d900ada141c684359bd37910801d40e069cba8cefc8a7c323584b9d8b993 SHA512 73923e6a851bf4f34f532c8b3fa17eb227f2fb2b4c485b89a488789f2d4af3605bd09538095a6acbee6d74300e98755bb03bacabe450104319938cfff62e4c89
|
||||||
DIST ulogd-2.0.7.tar.bz2 394573 BLAKE2B bec028a3b35038a8cc0f3f8b81b3e19addb66fce09e4ea0f3b2cd29b20cdb28025a576badd0765d9bb15f9d097799b6f55ff45058f8a838daa836c3fe878eef0 SHA512 1ad12bcf91bebe8bf8580de38693318cdabd17146f1f65acf714334885cf13adf5f783abdf2dd67474ef12f82d2cfb84dd4859439bc7af10a0df58e4c7e48b09
|
DIST ulogd-2.0.7.tar.bz2 394573 BLAKE2B bec028a3b35038a8cc0f3f8b81b3e19addb66fce09e4ea0f3b2cd29b20cdb28025a576badd0765d9bb15f9d097799b6f55ff45058f8a838daa836c3fe878eef0 SHA512 1ad12bcf91bebe8bf8580de38693318cdabd17146f1f65acf714334885cf13adf5f783abdf2dd67474ef12f82d2cfb84dd4859439bc7af10a0df58e4c7e48b09
|
||||||
EBUILD ulogd-2.0.7-r1.ebuild 3198 BLAKE2B 8c6bafa8d1d514ef8fa8b73d456c2e254a32a138172fa43471083544234c55cbb0167be9cd74604cf49f3bb27f325589e727d83be92a84c4f35ecb4fa3fc356b SHA512 0510dbd4d7c53368d2c95d5d7270cdf87ad698fdfc9263a842041d1a13b9ec91a1b1d81716a203aac6ea394a87fe9f6d542da06a183e6592821e16cbca50a58e
|
EBUILD ulogd-2.0.7-r1.ebuild 3198 BLAKE2B 8c6bafa8d1d514ef8fa8b73d456c2e254a32a138172fa43471083544234c55cbb0167be9cd74604cf49f3bb27f325589e727d83be92a84c4f35ecb4fa3fc356b SHA512 0510dbd4d7c53368d2c95d5d7270cdf87ad698fdfc9263a842041d1a13b9ec91a1b1d81716a203aac6ea394a87fe9f6d542da06a183e6592821e16cbca50a58e
|
||||||
MISC metadata.xml 907 BLAKE2B db3e8f8baa571251c26d3b7c860b5fcd5019d5987f8932e4a65197811f5ca36dc4220e5c9deb3b42ded8b0c26f5cfeac76f85d4bb1ff35d0818021127f699ccb SHA512 0dcb4e1c7261bf298e0c0a89fffbfff2e497f66f9215d2cb0b488e460a224f8128648d907cc1ad09c2a2209a917e1f7ac4b97efce62b53cfc6e71068400aa56e
|
EBUILD ulogd-2.0.7-r2.ebuild 3181 BLAKE2B 92605f139cd43318239a41fb2cc8e37f5634b4f58065048d1f1e2306619ca309bfb317794467b898b3973a610bf46b2c527205fda711412d8a8db2d0c024cace SHA512 d84ce9d2c03f270f3b1f18ed60928cb3b34b1e1ba07d3b33cda69fffe8bc1f6e962dd83ea106c0cb9fd373dd419e98bf87d6f98438ab07112e92692bbe2faf44
|
||||||
|
MISC metadata.xml 1135 BLAKE2B 55b1207d68b757368a794f88678a36cac409b00c71e441db520f57435663dd41e75b381310350ed7023d50413a504ebdf81f8af157fbfa318003023f32be4d4e SHA512 00172540261e4f7e06b8afe70a5a4b21bc0833f12a83ecff675fae82f35dcc36f86d84fc744e3ec5d7055a4e97c512ef5fd6a39ca97ab5450c768612df0dee81
|
||||||
|
@ -0,0 +1,10 @@
|
|||||||
|
--- a/src/ulogd.c
|
||||||
|
+++ b/src/ulogd.c
|
||||||
|
@@ -65,6 +65,7 @@
|
||||||
|
#include <sys/time.h>
|
||||||
|
#include <sys/stat.h>
|
||||||
|
#include <sched.h>
|
||||||
|
+#include <limits.h>
|
||||||
|
#include <ulogd/conffile.h>
|
||||||
|
#include <ulogd/ulogd.h>
|
||||||
|
#ifdef DEBUG
|
@ -0,0 +1,139 @@
|
|||||||
|
# Copyright 1999-2021 Gentoo Authors
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
|
||||||
|
EAPI=7
|
||||||
|
|
||||||
|
inherit flag-o-matic linux-info readme.gentoo-r1 systemd
|
||||||
|
|
||||||
|
DESCRIPTION="A userspace logging daemon for netfilter/iptables related logging"
|
||||||
|
HOMEPAGE="https://netfilter.org/projects/ulogd/index.html"
|
||||||
|
SRC_URI="https://www.netfilter.org/projects/ulogd/files/${P}.tar.bz2"
|
||||||
|
|
||||||
|
LICENSE="GPL-2"
|
||||||
|
SLOT="0"
|
||||||
|
KEYWORDS="~amd64 ~ia64 ~ppc ~x86"
|
||||||
|
IUSE="dbi doc json mysql nfacct +nfct +nflog pcap postgres selinux sqlite ulog"
|
||||||
|
|
||||||
|
DEPEND="
|
||||||
|
|| ( net-firewall/iptables net-firewall/nftables )
|
||||||
|
>=net-libs/libnfnetlink-1.0.1
|
||||||
|
dbi? ( dev-db/libdbi )
|
||||||
|
json? ( dev-libs/jansson )
|
||||||
|
nfacct? (
|
||||||
|
>=net-libs/libmnl-1.0.4
|
||||||
|
>=net-libs/libnetfilter_acct-1.0.3
|
||||||
|
)
|
||||||
|
nfct? ( >=net-libs/libnetfilter_conntrack-1.0.6 )
|
||||||
|
nflog? ( >=net-libs/libnetfilter_log-1.0.1 )
|
||||||
|
mysql? ( dev-db/mysql-connector-c:= )
|
||||||
|
pcap? ( net-libs/libpcap )
|
||||||
|
postgres? ( dev-db/postgresql:= )
|
||||||
|
sqlite? ( dev-db/sqlite:3 )
|
||||||
|
"
|
||||||
|
RDEPEND="
|
||||||
|
${DEPEND}
|
||||||
|
acct-user/ulogd
|
||||||
|
acct-group/ulogd
|
||||||
|
selinux? ( sec-policy/selinux-ulogd )
|
||||||
|
"
|
||||||
|
BDEPEND="
|
||||||
|
doc? (
|
||||||
|
app-text/linuxdoc-tools
|
||||||
|
app-text/texlive-core
|
||||||
|
dev-texlive/texlive-fontsrecommended
|
||||||
|
virtual/latex-base
|
||||||
|
)
|
||||||
|
"
|
||||||
|
|
||||||
|
DISABLE_AUTOFORMATTING=1
|
||||||
|
DOC_CONTENTS="
|
||||||
|
You must have at least one logging stack enabled to make ulogd work.
|
||||||
|
Please edit the example configuration located at '${EPREFIX}/etc/ulogd.conf'.
|
||||||
|
"
|
||||||
|
|
||||||
|
PATCHES=( "${FILESDIR}"/patches/ulogd.patch )
|
||||||
|
|
||||||
|
pkg_setup() {
|
||||||
|
linux-info_pkg_setup
|
||||||
|
|
||||||
|
if use nfacct && kernel_is lt 3 3 0; then
|
||||||
|
ewarn "NFACCT input plugin requires a kernel >= 3.3."
|
||||||
|
fi
|
||||||
|
|
||||||
|
if use ulog && kernel_is ge 3 17 0; then
|
||||||
|
ewarn "ULOG target has been removed in the 3.17 kernel release."
|
||||||
|
ewarn "Consider enabling NFACCT, NFCT, or NFLOG support instead."
|
||||||
|
fi
|
||||||
|
}
|
||||||
|
|
||||||
|
src_prepare() {
|
||||||
|
default
|
||||||
|
|
||||||
|
# Change default settings to:
|
||||||
|
# - keep log files in /var/log/ulogd instead of /var/log;
|
||||||
|
# - create sockets in /run instead of /tmp.
|
||||||
|
sed -i \
|
||||||
|
-e "s|var/log|var/log/${PN}|g" \
|
||||||
|
-e 's|tmp|run|g' \
|
||||||
|
ulogd.conf.in || die
|
||||||
|
}
|
||||||
|
|
||||||
|
src_configure() {
|
||||||
|
append-lfs-flags
|
||||||
|
local myeconfargs=(
|
||||||
|
$(use_with dbi)
|
||||||
|
$(use_with json jansson)
|
||||||
|
$(use_enable nfacct)
|
||||||
|
$(use_enable nfct)
|
||||||
|
$(use_enable nflog)
|
||||||
|
$(use_with mysql)
|
||||||
|
$(use_with pcap)
|
||||||
|
$(use_with postgres pgsql)
|
||||||
|
$(use_with sqlite)
|
||||||
|
$(use_enable ulog)
|
||||||
|
)
|
||||||
|
econf "${myeconfargs[@]}"
|
||||||
|
}
|
||||||
|
|
||||||
|
src_compile() {
|
||||||
|
default_src_compile
|
||||||
|
|
||||||
|
if use doc; then
|
||||||
|
# Prevent access violations from bitmap font files generation.
|
||||||
|
export VARTEXFONTS="${T}/fonts"
|
||||||
|
emake -C doc
|
||||||
|
fi
|
||||||
|
}
|
||||||
|
|
||||||
|
src_install() {
|
||||||
|
use doc && HTML_DOCS=( doc/${PN}.html )
|
||||||
|
|
||||||
|
default_src_install
|
||||||
|
find "${ED}" -name '*.la' -delete || die
|
||||||
|
|
||||||
|
readme.gentoo_create_doc
|
||||||
|
doman ${PN}.8
|
||||||
|
|
||||||
|
use doc && dodoc doc/${PN}.{dvi,ps,txt}
|
||||||
|
use mysql && dodoc doc/mysql-*.sql
|
||||||
|
use postgres && dodoc doc/pgsql-*.sql
|
||||||
|
use sqlite && dodoc doc/sqlite3.table
|
||||||
|
|
||||||
|
insinto /etc
|
||||||
|
doins ${PN}.conf
|
||||||
|
fowners root:ulogd /etc/${PN}.conf
|
||||||
|
fperms 640 /etc/${PN}.conf
|
||||||
|
|
||||||
|
newinitd "${FILESDIR}/${PN}.init" ${PN}
|
||||||
|
systemd_dounit "${FILESDIR}/${PN}.service"
|
||||||
|
|
||||||
|
insinto /etc/logrotate.d
|
||||||
|
newins "${FILESDIR}/${PN}.logrotate" ${PN}
|
||||||
|
|
||||||
|
diropts -o ulogd -g ulogd
|
||||||
|
keepdir /var/log/ulogd
|
||||||
|
}
|
||||||
|
|
||||||
|
pkg_postinst() {
|
||||||
|
readme.gentoo_print_elog
|
||||||
|
}
|
Binary file not shown.
@ -0,0 +1,96 @@
|
|||||||
|
# Copyright 1999-2021 Gentoo Authors
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
|
||||||
|
EAPI=7
|
||||||
|
inherit multilib autotools toolchain-funcs
|
||||||
|
|
||||||
|
DESCRIPTION="Package maintenance system for Debian"
|
||||||
|
HOMEPAGE="https://packages.qa.debian.org/dpkg"
|
||||||
|
SRC_URI="mirror://debian/pool/main/d/${PN}/${P/-/_}.tar.xz"
|
||||||
|
|
||||||
|
LICENSE="GPL-2+"
|
||||||
|
SLOT="0"
|
||||||
|
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux"
|
||||||
|
IUSE="+bzip2 libmd +lzma nls selinux static-libs test unicode +update-alternatives +zlib"
|
||||||
|
RESTRICT="!test? ( test )"
|
||||||
|
|
||||||
|
RDEPEND="
|
||||||
|
>=dev-lang/perl-5.14.2:=
|
||||||
|
bzip2? ( app-arch/bzip2 )
|
||||||
|
libmd? ( app-crypt/libmd )
|
||||||
|
lzma? ( app-arch/xz-utils )
|
||||||
|
nls? ( virtual/libintl )
|
||||||
|
selinux? ( sys-libs/libselinux )
|
||||||
|
zlib? ( >=sys-libs/zlib-1.1.4 )
|
||||||
|
"
|
||||||
|
DEPEND="
|
||||||
|
${RDEPEND}
|
||||||
|
app-arch/xz-utils
|
||||||
|
virtual/pkgconfig
|
||||||
|
test? (
|
||||||
|
dev-perl/IO-String
|
||||||
|
dev-perl/Test-Pod
|
||||||
|
virtual/perl-Test-Harness
|
||||||
|
)
|
||||||
|
"
|
||||||
|
BDEPEND="
|
||||||
|
sys-devel/flex
|
||||||
|
nls? (
|
||||||
|
app-text/po4a
|
||||||
|
>=sys-devel/gettext-0.18.2
|
||||||
|
)
|
||||||
|
"
|
||||||
|
DOCS=(
|
||||||
|
ChangeLog
|
||||||
|
THANKS
|
||||||
|
TODO
|
||||||
|
)
|
||||||
|
PATCHES=(
|
||||||
|
"${FILESDIR}"/${PN}-1.18.12-flags.patch
|
||||||
|
"${FILESDIR}"/${PN}-1.18.12-rsyncable.patch
|
||||||
|
"${FILESDIR}"/${PN}-1.20.5-dpkg_buildpackage-test.patch
|
||||||
|
)
|
||||||
|
|
||||||
|
src_prepare() {
|
||||||
|
default
|
||||||
|
|
||||||
|
sed -i -e 's|\<ar\>|${AR}|g' t-func/deb-format.at t-func/testsuite || die
|
||||||
|
|
||||||
|
eautoreconf
|
||||||
|
}
|
||||||
|
|
||||||
|
src_configure() {
|
||||||
|
tc-export AR CC
|
||||||
|
|
||||||
|
econf \
|
||||||
|
$(use_enable nls) \
|
||||||
|
$(use_enable unicode) \
|
||||||
|
$(use_enable update-alternatives) \
|
||||||
|
$(use_with bzip2 libbz2) \
|
||||||
|
$(use_with libmd) \
|
||||||
|
$(use_with lzma liblzma) \
|
||||||
|
$(use_with selinux libselinux) \
|
||||||
|
$(use_with zlib libz) \
|
||||||
|
--disable-compiler-warnings \
|
||||||
|
--disable-dselect \
|
||||||
|
--disable-start-stop-daemon \
|
||||||
|
--localstatedir="${EPREFIX}"/var
|
||||||
|
}
|
||||||
|
|
||||||
|
src_compile() {
|
||||||
|
emake AR=$(tc-getAR)
|
||||||
|
}
|
||||||
|
|
||||||
|
src_install() {
|
||||||
|
default
|
||||||
|
|
||||||
|
keepdir \
|
||||||
|
/usr/$(get_libdir)/db/methods/{mnt,floppy,disk} \
|
||||||
|
/var/lib/dpkg/{alternatives,info,parts,updates}
|
||||||
|
|
||||||
|
find "${ED}" -name '*.la' -delete || die
|
||||||
|
|
||||||
|
if ! use static-libs; then
|
||||||
|
find "${ED}" -name '*.a' -delete || die
|
||||||
|
fi
|
||||||
|
}
|
@ -1,5 +1,3 @@
|
|||||||
DIST lxqt-archiver-0.2.0.tar.xz 155912 BLAKE2B e5c92d5939d3e6d42a79804596e9acc67b007126b630cd9317df7d0d07bb8f3e27cf9ecf6e16eef3289d31ef3627b4fa870cdb5eb52a36489df1080b03509acd SHA512 478a04d0e6e4601dc342ae260c5db4178b01191cae263154dbe400b394e5cd4cb9cd8a6bab7e7c59af57d6bf20c47a5ad2663a85d0eab5f71fbaf584f7588fd7
|
|
||||||
DIST lxqt-archiver-0.3.0.tar.xz 157492 BLAKE2B 05d9862c75cacf3b73670333a5b2dafb6abfcfd7433a1ebc3d27948122db875f892eb58a05221c880d1ac23530362ae4d9e7c6ebe0f06552b10bb903d51a6868 SHA512 840fae890611b081a1355ceb58ca65276784e6825822859ff2d6506190212268f1c67733dc94c65c9c5758f8d6a25c286c2b339356a50f29474b0c7ce2569d2c
|
DIST lxqt-archiver-0.3.0.tar.xz 157492 BLAKE2B 05d9862c75cacf3b73670333a5b2dafb6abfcfd7433a1ebc3d27948122db875f892eb58a05221c880d1ac23530362ae4d9e7c6ebe0f06552b10bb903d51a6868 SHA512 840fae890611b081a1355ceb58ca65276784e6825822859ff2d6506190212268f1c67733dc94c65c9c5758f8d6a25c286c2b339356a50f29474b0c7ce2569d2c
|
||||||
EBUILD lxqt-archiver-0.2.0.ebuild 1173 BLAKE2B 6bdf4813f23abb209d0f53b4c612444827c55853e806072d0621b52d50cc073ceaa86dd93ad48b36bd45b877bc73f35805f5cffceb101492e2795642512c3b6e SHA512 74e054b528428fac654be8a64410fa16edc559d0da9f79ef0e029c7273eb2f296ca060032a68d4f89ba08d394c2ba53946ff52ea8cada203e547a2a60d21886f
|
|
||||||
EBUILD lxqt-archiver-0.3.0.ebuild 1173 BLAKE2B ed90bcdc16bfe9a9401ef0ee07cbba79cf7c1bba6dd4f87be0a535442f96f63c69b534bb62d0a6767dd974d6ea92c7ad3f05ca8710b66e1f117ac477dbee1f28 SHA512 7396a031b3c47f978d67a01f2cef96cfd7bfd3375b8c409bf6af5dd22f438eb922379d4c70c000f8ac0f56bb7f2652c76598bd962a42911b7e3bdcea5a117385
|
EBUILD lxqt-archiver-0.3.0.ebuild 1173 BLAKE2B ed90bcdc16bfe9a9401ef0ee07cbba79cf7c1bba6dd4f87be0a535442f96f63c69b534bb62d0a6767dd974d6ea92c7ad3f05ca8710b66e1f117ac477dbee1f28 SHA512 7396a031b3c47f978d67a01f2cef96cfd7bfd3375b8c409bf6af5dd22f438eb922379d4c70c000f8ac0f56bb7f2652c76598bd962a42911b7e3bdcea5a117385
|
||||||
MISC metadata.xml 329 BLAKE2B a6082a9d0185aaa5f233d41d9de505901392c80159cbf4cf769e1a38008aaa06793e2283c974df743f2141488bdb2cc087e7990953b16b752092f31de7840c83 SHA512 42d4c3e67fbc3a84a79ed73710e8322f4a30ae6565e1aa2cbf122661e6864a8e102e67ab973942953fb2358754303b3f2d2963f3ebf15188bc23fd8ca31f5e60
|
MISC metadata.xml 329 BLAKE2B a6082a9d0185aaa5f233d41d9de505901392c80159cbf4cf769e1a38008aaa06793e2283c974df743f2141488bdb2cc087e7990953b16b752092f31de7840c83 SHA512 42d4c3e67fbc3a84a79ed73710e8322f4a30ae6565e1aa2cbf122661e6864a8e102e67ab973942953fb2358754303b3f2d2963f3ebf15188bc23fd8ca31f5e60
|
||||||
|
@ -1,49 +0,0 @@
|
|||||||
# Copyright 1999-2020 Gentoo Authors
|
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
|
||||||
|
|
||||||
EAPI=7
|
|
||||||
|
|
||||||
inherit cmake xdg-utils
|
|
||||||
|
|
||||||
DESCRIPTION="Qt GUI File Archiver"
|
|
||||||
HOMEPAGE="https://lxqt.github.io/"
|
|
||||||
|
|
||||||
if [[ ${PV} == *9999* ]]; then
|
|
||||||
inherit git-r3
|
|
||||||
EGIT_REPO_URI="https://github.com/lxqt/${PN}.git"
|
|
||||||
else
|
|
||||||
SRC_URI="https://github.com/lxqt/${PN}/releases/download/${PV}/${P}.tar.xz"
|
|
||||||
KEYWORDS="amd64 x86"
|
|
||||||
fi
|
|
||||||
|
|
||||||
LICENSE="GPL-2 GPL-2+"
|
|
||||||
SLOT="0"
|
|
||||||
|
|
||||||
BDEPEND="
|
|
||||||
dev-qt/linguist-tools:5
|
|
||||||
>=dev-util/lxqt-build-tools-0.7.0
|
|
||||||
"
|
|
||||||
DEPEND="
|
|
||||||
dev-libs/json-glib
|
|
||||||
dev-qt/qtcore:5
|
|
||||||
dev-qt/qtgui:5
|
|
||||||
dev-qt/qtwidgets:5
|
|
||||||
dev-qt/qtx11extras:5
|
|
||||||
>=x11-libs/libfm-qt-0.15.0
|
|
||||||
"
|
|
||||||
RDEPEND="${DEPEND}"
|
|
||||||
|
|
||||||
pkg_postinst() {
|
|
||||||
xdg_desktop_database_update
|
|
||||||
|
|
||||||
elog "Please note that this is only a graphical front-end, and additional"
|
|
||||||
elog "packages are needed to have support for specific file formats."
|
|
||||||
elog "For example, to be able to work with the 7-Zip format, the"
|
|
||||||
elog "'app-arch/p7zip' package may be used."
|
|
||||||
elog "For the full list of supported formats, see the 'README.md' file:"
|
|
||||||
elog "https://github.com/lxqt/lxqt-archiver/blob/master/README.md"
|
|
||||||
}
|
|
||||||
|
|
||||||
pkg_postrm() {
|
|
||||||
xdg_desktop_database_update
|
|
||||||
}
|
|
@ -1,5 +1,5 @@
|
|||||||
DIST lzma-19.00.7z 1082692 BLAKE2B 88aca3f3225d589c9b1b0fbf4c196db8e6e8df362f926736a45e1f80d302c132b25537203b0a903da9de5f3b0398b10901f126cf6905fcbdf0a57ee894e74b6d SHA512 60532483249d86960d5c481dc88ebeafabb7e435afb6188bc26f38177b8534ef3da83317d6920d99103d4f10a8dcdb624489ea5ddad8e0c8732bab1bb4ebd7eb
|
DIST lzma-19.00.7z 1082692 BLAKE2B 88aca3f3225d589c9b1b0fbf4c196db8e6e8df362f926736a45e1f80d302c132b25537203b0a903da9de5f3b0398b10901f126cf6905fcbdf0a57ee894e74b6d SHA512 60532483249d86960d5c481dc88ebeafabb7e435afb6188bc26f38177b8534ef3da83317d6920d99103d4f10a8dcdb624489ea5ddad8e0c8732bab1bb4ebd7eb
|
||||||
DIST lzma-9.20.tar.bz2 534077 BLAKE2B c1be526d6fb9f68da10b654940a92420b6c708c7aefe213394cf1c7650b3d65c4f54d3ca0663e52be13aa9f996ff9cc87262fac8b76dd0654e839cefc073c374 SHA512 1c495530834107430a675fb48c006093edc301ec7a2c2f273efd62ff260f3056503bb2c3ddef63e82f5ff04b1347381055cf6cacd59eee9d451c4d841c13cd35
|
DIST lzma-9.20.tar.bz2 534077 BLAKE2B c1be526d6fb9f68da10b654940a92420b6c708c7aefe213394cf1c7650b3d65c4f54d3ca0663e52be13aa9f996ff9cc87262fac8b76dd0654e839cefc073c374 SHA512 1c495530834107430a675fb48c006093edc301ec7a2c2f273efd62ff260f3056503bb2c3ddef63e82f5ff04b1347381055cf6cacd59eee9d451c4d841c13cd35
|
||||||
EBUILD lzma-19.00.ebuild 1012 BLAKE2B f365b49cf0347b05182ae84fcd349b769b31774bee8353d5db348dffcfc622e41fc8a39f253ba86811537c7a3aa45401119615c7515f5e0800b07a4cebe2e5be SHA512 a0c37b280e59a1f55d881ceadb2fc59c26e0e47d19b0f245bf7c18042f0e45dc86a8d87f484990bc10fdec7d30efe93276b5a04992b220e1ae2b19a8fefea7a9
|
EBUILD lzma-19.00.ebuild 1011 BLAKE2B 5010610a9f2fdbef324426b97e25881cab9f4b3e281ef89a04a0cb633af8826d8644a7804231a1543bf8672e66c8f25ea04be6589b3bba59721011640313efe5 SHA512 32a1be293e4b438e73ec9faf5a33d04c7da25c82f9784839ce12adfe7b4d9206da7bbef277a44e420d8aedf1de559ffac14e02d22d3468fb3701894478a41b81
|
||||||
EBUILD lzma-9.20-r1.ebuild 902 BLAKE2B 768a2f1db8ffa970a91e108e9666a1ce3fb2d7061bd8f79c678333ee2c7f864391e0d605d4255bf73934288f3b2afbd84bb0ae4385a49b3cb763851602a6fb08 SHA512 c472806e0b31156679c40ef8ae60e6a6b4b079e49c721a8879683b5991dfae9630550663c983289bf3533dc5eda47eb6eae92c0b5830dd84c545ba0d073afdac
|
EBUILD lzma-9.20-r1.ebuild 902 BLAKE2B 768a2f1db8ffa970a91e108e9666a1ce3fb2d7061bd8f79c678333ee2c7f864391e0d605d4255bf73934288f3b2afbd84bb0ae4385a49b3cb763851602a6fb08 SHA512 c472806e0b31156679c40ef8ae60e6a6b4b079e49c721a8879683b5991dfae9630550663c983289bf3533dc5eda47eb6eae92c0b5830dd84c545ba0d073afdac
|
||||||
MISC metadata.xml 474 BLAKE2B f4cbef9ec8a896782590f1e51783f9054b2a2e7f0731bd8798df222cdcb41f9ea9343642e0ca0e1e9ca2d277e35d397fd4d27c17d3415a9078e0326ef8f1dfa1 SHA512 76975957bec1e489dc20569d89a198b4dc70307032b11e716822ce9b3d11a0688fef94270ec1d23995b81b01fee8a4262d9d22764096b207096d887c0494c9f6
|
MISC metadata.xml 474 BLAKE2B f4cbef9ec8a896782590f1e51783f9054b2a2e7f0731bd8798df222cdcb41f9ea9343642e0ca0e1e9ca2d277e35d397fd4d27c17d3415a9078e0326ef8f1dfa1 SHA512 76975957bec1e489dc20569d89a198b4dc70307032b11e716822ce9b3d11a0688fef94270ec1d23995b81b01fee8a4262d9d22764096b207096d887c0494c9f6
|
||||||
|
@ -0,0 +1,88 @@
|
|||||||
|
# Copyright 1999-2021 Gentoo Authors
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
|
||||||
|
EAPI=7
|
||||||
|
|
||||||
|
inherit toolchain-funcs flag-o-matic
|
||||||
|
|
||||||
|
MY_PV="${PV//.}"
|
||||||
|
MY_PV="${MY_PV%_p*}"
|
||||||
|
MY_P="${PN}${MY_PV}"
|
||||||
|
|
||||||
|
DESCRIPTION="unzipper for pkzip-compressed files"
|
||||||
|
HOMEPAGE="http://www.info-zip.org/"
|
||||||
|
SRC_URI="mirror://sourceforge/infozip/${MY_P}.tar.gz
|
||||||
|
mirror://debian/pool/main/u/${PN}/${PN}_${PV/_p/-}.debian.tar.xz"
|
||||||
|
|
||||||
|
LICENSE="Info-ZIP"
|
||||||
|
SLOT="0"
|
||||||
|
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~x64-cygwin ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
|
||||||
|
IUSE="bzip2 natspec unicode"
|
||||||
|
|
||||||
|
DEPEND="bzip2? ( app-arch/bzip2 )
|
||||||
|
natspec? ( dev-libs/libnatspec )"
|
||||||
|
RDEPEND="${DEPEND}"
|
||||||
|
|
||||||
|
S="${WORKDIR}/${MY_P}"
|
||||||
|
|
||||||
|
src_prepare() {
|
||||||
|
local deb="${WORKDIR}"/debian/patches
|
||||||
|
rm "${deb}"/02-this-is-debian-unzip.patch || die
|
||||||
|
eapply "${deb}"/*.patch
|
||||||
|
|
||||||
|
eapply "${FILESDIR}"/${PN}-6.0-no-exec-stack.patch
|
||||||
|
eapply "${FILESDIR}"/${PN}-6.0-format-security.patch
|
||||||
|
eapply "${FILESDIR}"/${PN}-6.0-fix-false-overlap-detection-on-32bit-systems.patch
|
||||||
|
use natspec && eapply "${FILESDIR}/${PN}-6.0-natspec.patch" #275244
|
||||||
|
sed -i -r \
|
||||||
|
-e '/^CFLAGS/d' \
|
||||||
|
-e '/CFLAGS/s:-O[0-9]?:$(CFLAGS) $(CPPFLAGS):' \
|
||||||
|
-e '/^STRIP/s:=.*:=true:' \
|
||||||
|
-e "s:\<CC *= *\"?g?cc2?\"?\>:CC=\"$(tc-getCC)\":" \
|
||||||
|
-e "s:\<LD *= *\"?(g?cc2?|ld)\"?\>:LD=\"$(tc-getCC)\":" \
|
||||||
|
-e "s:\<AS *= *\"?(g?cc2?|as)\"?\>:AS=\"$(tc-getCC)\":" \
|
||||||
|
-e 's:LF2 = -s:LF2 = :' \
|
||||||
|
-e 's:LF = :LF = $(LDFLAGS) :' \
|
||||||
|
-e 's:SL = :SL = $(LDFLAGS) :' \
|
||||||
|
-e 's:FL = :FL = $(LDFLAGS) :' \
|
||||||
|
-e "/^#L_BZ2/s:^$(use bzip2 && echo .)::" \
|
||||||
|
-e 's:$(AS) :$(AS) $(ASFLAGS) :g' \
|
||||||
|
unix/Makefile \
|
||||||
|
|| die "sed unix/Makefile failed"
|
||||||
|
|
||||||
|
# Delete bundled code to make sure we don't use it.
|
||||||
|
rm -r bzip2 || die
|
||||||
|
|
||||||
|
eapply_user
|
||||||
|
}
|
||||||
|
|
||||||
|
src_configure() {
|
||||||
|
case ${CHOST} in
|
||||||
|
i?86*-*linux*) TARGET="linux_asm" ;;
|
||||||
|
*linux*) TARGET="linux_noasm" ;;
|
||||||
|
i?86*-*bsd* | \
|
||||||
|
i?86*-dragonfly*) TARGET="freebsd" ;; # mislabelled bsd with x86 asm
|
||||||
|
*bsd* | *dragonfly*) TARGET="bsd" ;;
|
||||||
|
*-darwin*) TARGET="macosx" ;;
|
||||||
|
*-solaris*) TARGET="generic" ;;
|
||||||
|
*-cygwin*) TARGET="generic" ;;
|
||||||
|
*) die "Unknown target; please update the ebuild to handle ${CHOST} " ;;
|
||||||
|
esac
|
||||||
|
|
||||||
|
[[ ${CHOST} == *linux* ]] && append-cppflags -DNO_LCHMOD
|
||||||
|
use bzip2 && append-cppflags -DUSE_BZIP2
|
||||||
|
use unicode && append-cppflags -DUNICODE_SUPPORT -DUNICODE_WCHAR -DUTF8_MAYBE_NATIVE -DUSE_ICONV_MAPPING
|
||||||
|
append-cppflags -DLARGE_FILE_SUPPORT #281473
|
||||||
|
}
|
||||||
|
|
||||||
|
src_compile() {
|
||||||
|
ASFLAGS="${ASFLAGS} $(get_abi_var CFLAGS)" \
|
||||||
|
emake -f unix/Makefile ${TARGET}
|
||||||
|
}
|
||||||
|
|
||||||
|
src_install() {
|
||||||
|
dobin unzip funzip unzipsfx unix/zipgrep
|
||||||
|
dosym unzip /usr/bin/zipinfo
|
||||||
|
doman man/*.1
|
||||||
|
dodoc BUGS History* README ToDo WHERE
|
||||||
|
}
|
@ -1,3 +1,4 @@
|
|||||||
|
AUX upx-3.96_CVE-2021-20285.patch 4481 BLAKE2B 345bce505a045c53b48dad3102f52588ceb7f2736cdbeab31ed5f65a5cf5a5344cb9ca700cfc3d7fac2569a91f454a652a676c83aafb1be884b0fae229d3afae SHA512 f596f13634eb2173f4c549d41387bdb6785501afb7d3a68d70f90dcdbadc615e95de024e1810af2b3663137692a7322d32a290357e0f7a96ca2acf51228b0abc
|
||||||
DIST upx-3.96-src.tar.xz 792524 BLAKE2B 21af85dbcfdd1bf0151a653c865db13c9f30b9de0b9b4b94557ddd55736c7053dd829c5d72b9a7e5aa94a71ecc0151145dd66d7d98ded178c50ff7357d0ba442 SHA512 2d4d1be21d274d9bfdee9b9815396f5e5ff0bcdfb781b7be5fafa4d1e224028e412ec5f5ba607c482671aae27ccf9069abb2db0fb58f78f3a102a51897df2b11
|
DIST upx-3.96-src.tar.xz 792524 BLAKE2B 21af85dbcfdd1bf0151a653c865db13c9f30b9de0b9b4b94557ddd55736c7053dd829c5d72b9a7e5aa94a71ecc0151145dd66d7d98ded178c50ff7357d0ba442 SHA512 2d4d1be21d274d9bfdee9b9815396f5e5ff0bcdfb781b7be5fafa4d1e224028e412ec5f5ba607c482671aae27ccf9069abb2db0fb58f78f3a102a51897df2b11
|
||||||
EBUILD upx-3.96.ebuild 810 BLAKE2B a7c7fabd58c3b527f48b7a6905032150aed66eea7efbfd5e07938367d0bd61dadf2f55924252bfbb2bcc1867af40ef7a55e46113ee2651695343dc6ffea8fb1a SHA512 221f0fc937505130b3c1d0014fd0236e2fbff597a0e2a1d19bb8b4a0dc5141800d50013f352f49b64599b106b6b0825b214854cbaaf181c4943364f79aaa66b1
|
EBUILD upx-3.96-r1.ebuild 864 BLAKE2B 227dd8b0cc3d09522229cfeecf0f1c4a864d66aa558b0d7ac5589bef470cad6e0dd3db0e53006ce870bc127704f10a823af4c284943516e76173081f40ce36da SHA512 b83bba2a294a4f79d412e18319d5b3985ae1107cecf7b742a3e0a9672a8df38a53c51266c22327b01c2b205253775eab538c333b5ac057ca2c18b03e41eb02e4
|
||||||
MISC metadata.xml 478 BLAKE2B c0d96932b628c0448fbdc1756445798bb382ea120b499a2bc2c9320b392730835e5bad5785ef719f5a95d381f3768e7bf2d7f4dbce76d8993052ac9a761f422d SHA512 5bd0548fcf13bbd34c5fc97bd139a6b1398bbc99db984cd730188280fc490864cf704858c132e0154b0681eca5a26a93fa0eeb029d5760fcf17d83be2d83d51d
|
MISC metadata.xml 478 BLAKE2B c0d96932b628c0448fbdc1756445798bb382ea120b499a2bc2c9320b392730835e5bad5785ef719f5a95d381f3768e7bf2d7f4dbce76d8993052ac9a761f422d SHA512 5bd0548fcf13bbd34c5fc97bd139a6b1398bbc99db984cd730188280fc490864cf704858c132e0154b0681eca5a26a93fa0eeb029d5760fcf17d83be2d83d51d
|
||||||
|
@ -0,0 +1,76 @@
|
|||||||
|
From 3781df9da23840e596d5e9e8493f22666802fe6c Mon Sep 17 00:00:00 2001
|
||||||
|
From: John Reiser <jreiser@BitWagon.com>
|
||||||
|
Date: Fri, 11 Dec 2020 13:38:18 -0800
|
||||||
|
Subject: [PATCH] Check DT_REL/DT_RELA, DT_RELSZ/DT_RELASZ
|
||||||
|
|
||||||
|
https://github.com/upx/upx/issues/421
|
||||||
|
modified: p_lx_elf.cpp
|
||||||
|
---
|
||||||
|
src/p_lx_elf.cpp | 34 +++++++++++++++++++++++++++++-----
|
||||||
|
1 file changed, 29 insertions(+), 5 deletions(-)
|
||||||
|
|
||||||
|
diff --git a/src/p_lx_elf.cpp b/src/p_lx_elf.cpp
|
||||||
|
index 182db192..3a4101cf 100644
|
||||||
|
--- a/src/p_lx_elf.cpp
|
||||||
|
+++ b/src/p_lx_elf.cpp
|
||||||
|
@@ -2222,8 +2222,20 @@ bool PackLinuxElf32::canPack()
|
||||||
|
int z_rsz = dt_table[Elf32_Dyn::DT_RELSZ];
|
||||||
|
if (z_rel && z_rsz) {
|
||||||
|
unsigned rel_off = get_te32(&dynseg[-1+ z_rel].d_val);
|
||||||
|
+ if ((unsigned)file_size <= rel_off) {
|
||||||
|
+ char msg[70]; snprintf(msg, sizeof(msg),
|
||||||
|
+ "bad Elf32_Dynamic[DT_REL] %#x\n",
|
||||||
|
+ rel_off);
|
||||||
|
+ throwCantPack(msg);
|
||||||
|
+ }
|
||||||
|
Elf32_Rel *rp = (Elf32_Rel *)&file_image[rel_off];
|
||||||
|
unsigned relsz = get_te32(&dynseg[-1+ z_rsz].d_val);
|
||||||
|
+ if ((unsigned)file_size <= relsz) {
|
||||||
|
+ char msg[70]; snprintf(msg, sizeof(msg),
|
||||||
|
+ "bad Elf32_Dynamic[DT_RELSZ] %#x\n",
|
||||||
|
+ relsz);
|
||||||
|
+ throwCantPack(msg);
|
||||||
|
+ }
|
||||||
|
Elf32_Rel *last = (Elf32_Rel *)(relsz + (char *)rp);
|
||||||
|
for (; rp < last; ++rp) {
|
||||||
|
unsigned r_va = get_te32(&rp->r_offset);
|
||||||
|
@@ -2562,14 +2574,26 @@ PackLinuxElf64::canPack()
|
||||||
|
int z_rel = dt_table[Elf64_Dyn::DT_RELA];
|
||||||
|
int z_rsz = dt_table[Elf64_Dyn::DT_RELASZ];
|
||||||
|
if (z_rel && z_rsz) {
|
||||||
|
- unsigned rel_off = get_te64(&dynseg[-1+ z_rel].d_val);
|
||||||
|
+ upx_uint64_t rel_off = get_te64(&dynseg[-1+ z_rel].d_val);
|
||||||
|
+ if ((u64_t)file_size <= rel_off) {
|
||||||
|
+ char msg[70]; snprintf(msg, sizeof(msg),
|
||||||
|
+ "bad Elf64_Dynamic[DT_RELA] %#llx\n",
|
||||||
|
+ rel_off);
|
||||||
|
+ throwCantPack(msg);
|
||||||
|
+ }
|
||||||
|
Elf64_Rela *rp = (Elf64_Rela *)&file_image[rel_off];
|
||||||
|
- unsigned relsz = get_te64(&dynseg[-1+ z_rsz].d_val);
|
||||||
|
+ upx_uint64_t relsz = get_te64(&dynseg[-1+ z_rsz].d_val);
|
||||||
|
+ if ((u64_t)file_size <= relsz) {
|
||||||
|
+ char msg[70]; snprintf(msg, sizeof(msg),
|
||||||
|
+ "bad Elf64_Dynamic[DT_RELASZ] %#llx\n",
|
||||||
|
+ relsz);
|
||||||
|
+ throwCantPack(msg);
|
||||||
|
+ }
|
||||||
|
Elf64_Rela *last = (Elf64_Rela *)(relsz + (char *)rp);
|
||||||
|
for (; rp < last; ++rp) {
|
||||||
|
- unsigned r_va = get_te64(&rp->r_offset);
|
||||||
|
+ upx_uint64_t r_va = get_te64(&rp->r_offset);
|
||||||
|
if (r_va == user_init_ava) { // found the Elf64_Rela
|
||||||
|
- unsigned r_info = get_te64(&rp->r_info);
|
||||||
|
+ upx_uint64_t r_info = get_te64(&rp->r_info);
|
||||||
|
unsigned r_type = ELF64_R_TYPE(r_info);
|
||||||
|
if (Elf64_Ehdr::EM_AARCH64 == e_machine
|
||||||
|
&& R_AARCH64_RELATIVE == r_type) {
|
||||||
|
@@ -2581,7 +2605,7 @@ PackLinuxElf64::canPack()
|
||||||
|
}
|
||||||
|
else {
|
||||||
|
char msg[50]; snprintf(msg, sizeof(msg),
|
||||||
|
- "bad relocation %#x DT_INIT_ARRAY[0]",
|
||||||
|
+ "bad relocation %#llx DT_INIT_ARRAY[0]",
|
||||||
|
r_info);
|
||||||
|
throwCantPack(msg);
|
||||||
|
}
|
Binary file not shown.
Binary file not shown.
Binary file not shown.
@ -1,446 +0,0 @@
|
|||||||
# Copyright 1999-2021 Gentoo Authors
|
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
|
||||||
|
|
||||||
EAPI=7
|
|
||||||
|
|
||||||
inherit autotools elisp-common flag-o-matic readme.gentoo-r1 toolchain-funcs
|
|
||||||
|
|
||||||
if [[ ${PV##*.} = 9999 ]]; then
|
|
||||||
inherit git-r3
|
|
||||||
EGIT_REPO_URI="https://git.savannah.gnu.org/git/emacs.git"
|
|
||||||
EGIT_BRANCH="emacs-27"
|
|
||||||
EGIT_CHECKOUT_DIR="${WORKDIR}/emacs"
|
|
||||||
S="${EGIT_CHECKOUT_DIR}"
|
|
||||||
SLOT="${PV%%.*}-vcs"
|
|
||||||
else
|
|
||||||
# FULL_VERSION keeps the full version number, which is needed in
|
|
||||||
# order to determine some path information correctly for copy/move
|
|
||||||
# operations later on
|
|
||||||
FULL_VERSION="${PV%%_*}"
|
|
||||||
SRC_URI="mirror://gnu/emacs/${P}.tar.xz"
|
|
||||||
S="${WORKDIR}/emacs-${FULL_VERSION}"
|
|
||||||
# PV can be in any of the following formats:
|
|
||||||
# 27.1 released version (slot 27)
|
|
||||||
# 27.1_rc1 upstream release candidate (27)
|
|
||||||
# 27.0.9999 live ebuild (slot 27-vcs)
|
|
||||||
# 27.0.90 upstream prerelease snapshot (27-vcs)
|
|
||||||
# 27.0.50_pre20191223 snapshot by Gentoo developer (27-vcs)
|
|
||||||
if [[ ${PV} == *_pre* ]]; then
|
|
||||||
SRC_URI="https://dev.gentoo.org/~ulm/distfiles/${P}.tar.xz"
|
|
||||||
S="${WORKDIR}/emacs"
|
|
||||||
elif [[ ${PV//[0-9]} != "." ]]; then
|
|
||||||
SRC_URI="https://alpha.gnu.org/gnu/emacs/pretest/${PN}-${PV/_/-}.tar.xz"
|
|
||||||
fi
|
|
||||||
SLOT="${PV%%.*}"
|
|
||||||
[[ ${PV} == *.*.* ]] && SLOT+="-vcs"
|
|
||||||
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~riscv ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos"
|
|
||||||
fi
|
|
||||||
|
|
||||||
DESCRIPTION="The extensible, customizable, self-documenting real-time display editor"
|
|
||||||
HOMEPAGE="https://www.gnu.org/software/emacs/"
|
|
||||||
|
|
||||||
LICENSE="GPL-3+ FDL-1.3+ BSD HPND MIT W3C unicode PSF-2"
|
|
||||||
IUSE="acl alsa aqua athena cairo dbus dynamic-loading games gconf gfile gif +gmp gpm gsettings gtk gui gzip-el harfbuzz imagemagick +inotify jpeg json kerberos lcms libxml2 livecd m17n-lib mailutils motif png selinux sound source ssl svg systemd +threads tiff toolkit-scroll-bars wide-int Xaw3d xft +xpm xwidgets zlib"
|
|
||||||
RESTRICT="test"
|
|
||||||
|
|
||||||
RDEPEND="app-emacs/emacs-common[games?,gui(-)?]
|
|
||||||
sys-libs/ncurses:0=
|
|
||||||
acl? ( virtual/acl )
|
|
||||||
alsa? ( media-libs/alsa-lib )
|
|
||||||
dbus? ( sys-apps/dbus )
|
|
||||||
games? ( acct-group/gamestat )
|
|
||||||
gmp? ( dev-libs/gmp:0= )
|
|
||||||
gpm? ( sys-libs/gpm )
|
|
||||||
!inotify? ( gfile? ( >=dev-libs/glib-2.28.6 ) )
|
|
||||||
json? ( dev-libs/jansson )
|
|
||||||
kerberos? ( virtual/krb5 )
|
|
||||||
lcms? ( media-libs/lcms:2 )
|
|
||||||
libxml2? ( >=dev-libs/libxml2-2.2.0 )
|
|
||||||
mailutils? ( net-mail/mailutils[clients] )
|
|
||||||
!mailutils? ( acct-group/mail net-libs/liblockfile )
|
|
||||||
selinux? ( sys-libs/libselinux )
|
|
||||||
ssl? ( net-libs/gnutls:0= )
|
|
||||||
systemd? ( sys-apps/systemd )
|
|
||||||
zlib? ( sys-libs/zlib )
|
|
||||||
gui? ( !aqua? (
|
|
||||||
x11-libs/libICE
|
|
||||||
x11-libs/libSM
|
|
||||||
x11-libs/libX11
|
|
||||||
x11-libs/libXext
|
|
||||||
x11-libs/libXfixes
|
|
||||||
x11-libs/libXinerama
|
|
||||||
x11-libs/libXrandr
|
|
||||||
x11-libs/libxcb
|
|
||||||
x11-misc/xbitmaps
|
|
||||||
gconf? ( >=gnome-base/gconf-2.26.2 )
|
|
||||||
gsettings? ( >=dev-libs/glib-2.28.6 )
|
|
||||||
gif? ( media-libs/giflib:0= )
|
|
||||||
jpeg? ( virtual/jpeg:0= )
|
|
||||||
png? ( >=media-libs/libpng-1.4:0= )
|
|
||||||
svg? ( >=gnome-base/librsvg-2.0 )
|
|
||||||
tiff? ( media-libs/tiff:0 )
|
|
||||||
xpm? ( x11-libs/libXpm )
|
|
||||||
imagemagick? ( >=media-gfx/imagemagick-6.6.2:0= )
|
|
||||||
xft? (
|
|
||||||
media-libs/fontconfig
|
|
||||||
media-libs/freetype
|
|
||||||
x11-libs/libXft
|
|
||||||
x11-libs/libXrender
|
|
||||||
cairo? ( >=x11-libs/cairo-1.12.18 )
|
|
||||||
harfbuzz? ( media-libs/harfbuzz:0= )
|
|
||||||
m17n-lib? (
|
|
||||||
>=dev-libs/libotf-0.9.4
|
|
||||||
>=dev-libs/m17n-lib-1.5.1
|
|
||||||
)
|
|
||||||
)
|
|
||||||
gtk? (
|
|
||||||
x11-libs/gtk+:3
|
|
||||||
xwidgets? (
|
|
||||||
net-libs/webkit-gtk:4=
|
|
||||||
x11-libs/libXcomposite
|
|
||||||
)
|
|
||||||
)
|
|
||||||
!gtk? (
|
|
||||||
motif? (
|
|
||||||
>=x11-libs/motif-2.3:0
|
|
||||||
x11-libs/libXpm
|
|
||||||
x11-libs/libXmu
|
|
||||||
x11-libs/libXt
|
|
||||||
)
|
|
||||||
!motif? (
|
|
||||||
Xaw3d? (
|
|
||||||
x11-libs/libXaw3d
|
|
||||||
x11-libs/libXmu
|
|
||||||
x11-libs/libXt
|
|
||||||
)
|
|
||||||
!Xaw3d? ( athena? (
|
|
||||||
x11-libs/libXaw
|
|
||||||
x11-libs/libXmu
|
|
||||||
x11-libs/libXt
|
|
||||||
) )
|
|
||||||
)
|
|
||||||
)
|
|
||||||
) )"
|
|
||||||
|
|
||||||
DEPEND="${RDEPEND}
|
|
||||||
gui? ( !aqua? ( x11-base/xorg-proto ) )"
|
|
||||||
|
|
||||||
BDEPEND="app-eselect/eselect-emacs
|
|
||||||
sys-apps/texinfo
|
|
||||||
virtual/pkgconfig
|
|
||||||
gzip-el? ( app-arch/gzip )"
|
|
||||||
|
|
||||||
RDEPEND="${RDEPEND}
|
|
||||||
!app-editors/emacs-vcs:27
|
|
||||||
app-eselect/eselect-emacs"
|
|
||||||
|
|
||||||
EMACS_SUFFIX="emacs-${SLOT}"
|
|
||||||
SITEFILE="20${EMACS_SUFFIX}-gentoo.el"
|
|
||||||
|
|
||||||
src_prepare() {
|
|
||||||
if [[ ${PV##*.} = 9999 ]]; then
|
|
||||||
FULL_VERSION=$(sed -n 's/^AC_INIT([^,]*,[ \t]*\([^ \t,)]*\).*/\1/p' \
|
|
||||||
configure.ac)
|
|
||||||
[[ ${FULL_VERSION} ]] || die "Cannot determine current Emacs version"
|
|
||||||
einfo "Emacs branch: ${EGIT_BRANCH}"
|
|
||||||
einfo "Commit: ${EGIT_VERSION}"
|
|
||||||
einfo "Emacs version number: ${FULL_VERSION}"
|
|
||||||
[[ ${FULL_VERSION} =~ ^${PV%.*}(\..*)?$ ]] \
|
|
||||||
|| die "Upstream version number changed to ${FULL_VERSION}"
|
|
||||||
fi
|
|
||||||
|
|
||||||
eapply_user
|
|
||||||
|
|
||||||
# Fix filename reference in redirected man page
|
|
||||||
sed -i -e "/^\\.so/s/etags/&-${EMACS_SUFFIX}/" doc/man/ctags.1 || die
|
|
||||||
|
|
||||||
#AT_M4DIR=m4 eautoreconf
|
|
||||||
}
|
|
||||||
|
|
||||||
src_configure() {
|
|
||||||
strip-flags
|
|
||||||
filter-flags -pie #526948
|
|
||||||
|
|
||||||
if use ia64; then
|
|
||||||
replace-flags "-O[2-9]" -O1 #325373
|
|
||||||
else
|
|
||||||
replace-flags "-O[3-9]" -O2
|
|
||||||
fi
|
|
||||||
|
|
||||||
local myconf
|
|
||||||
|
|
||||||
if use alsa; then
|
|
||||||
use sound || ewarn \
|
|
||||||
"USE flag \"alsa\" overrides \"-sound\"; enabling sound support."
|
|
||||||
myconf+=" --with-sound=alsa"
|
|
||||||
else
|
|
||||||
myconf+=" --with-sound=$(usex sound oss)"
|
|
||||||
fi
|
|
||||||
|
|
||||||
if ! use gui; then
|
|
||||||
einfo "Configuring to build without window system support"
|
|
||||||
myconf+=" --without-x --without-ns"
|
|
||||||
elif use aqua; then
|
|
||||||
einfo "Configuring to build with Nextstep (Macintosh Cocoa) support"
|
|
||||||
myconf+=" --with-ns --disable-ns-self-contained"
|
|
||||||
myconf+=" --without-x"
|
|
||||||
else
|
|
||||||
myconf+=" --with-x --without-ns"
|
|
||||||
myconf+=" $(use_with gconf)"
|
|
||||||
myconf+=" $(use_with gsettings)"
|
|
||||||
myconf+=" $(use_with toolkit-scroll-bars)"
|
|
||||||
myconf+=" $(use_with gif)"
|
|
||||||
myconf+=" $(use_with jpeg)"
|
|
||||||
myconf+=" $(use_with png)"
|
|
||||||
myconf+=" $(use_with svg rsvg)"
|
|
||||||
myconf+=" $(use_with tiff)"
|
|
||||||
myconf+=" $(use_with xpm)"
|
|
||||||
myconf+=" $(use_with imagemagick)"
|
|
||||||
|
|
||||||
if use xft; then
|
|
||||||
myconf+=" --with-xft"
|
|
||||||
myconf+=" $(use_with cairo)"
|
|
||||||
myconf+=" $(use_with harfbuzz)"
|
|
||||||
myconf+=" $(use_with m17n-lib libotf)"
|
|
||||||
myconf+=" $(use_with m17n-lib m17n-flt)"
|
|
||||||
else
|
|
||||||
myconf+=" --without-xft"
|
|
||||||
myconf+=" --without-cairo"
|
|
||||||
myconf+=" --without-libotf --without-m17n-flt"
|
|
||||||
use cairo && ewarn \
|
|
||||||
"USE flag \"cairo\" has no effect if \"xft\" is not set."
|
|
||||||
use m17n-lib && ewarn \
|
|
||||||
"USE flag \"m17n-lib\" has no effect if \"xft\" is not set."
|
|
||||||
fi
|
|
||||||
|
|
||||||
local f line
|
|
||||||
if use gtk; then
|
|
||||||
einfo "Configuring to build with GIMP Toolkit (GTK+)"
|
|
||||||
while read line; do ewarn "${line}"; done <<-EOF
|
|
||||||
Your version of GTK+ will have problems with closing open
|
|
||||||
displays. This is no problem if you just use one display, but
|
|
||||||
if you use more than one and close one of them Emacs may crash.
|
|
||||||
See <https://gitlab.gnome.org/GNOME/gtk/-/issues/221> and
|
|
||||||
<https://gitlab.gnome.org/GNOME/gtk/-/issues/2315>.
|
|
||||||
If you intend to use more than one display, then it is strongly
|
|
||||||
recommended that you compile Emacs with the Athena/Lucid or the
|
|
||||||
Motif toolkit instead.
|
|
||||||
EOF
|
|
||||||
myconf+=" --with-x-toolkit=gtk3 $(use_with xwidgets)"
|
|
||||||
for f in motif Xaw3d athena; do
|
|
||||||
use ${f} && ewarn \
|
|
||||||
"USE flag \"${f}\" has no effect if \"gtk\" is set."
|
|
||||||
done
|
|
||||||
elif use motif; then
|
|
||||||
einfo "Configuring to build with Motif toolkit"
|
|
||||||
myconf+=" --with-x-toolkit=motif"
|
|
||||||
for f in Xaw3d athena; do
|
|
||||||
use ${f} && ewarn \
|
|
||||||
"USE flag \"${f}\" has no effect if \"motif\" is set."
|
|
||||||
done
|
|
||||||
elif use athena || use Xaw3d; then
|
|
||||||
einfo "Configuring to build with Athena/Lucid toolkit"
|
|
||||||
myconf+=" --with-x-toolkit=lucid $(use_with Xaw3d xaw3d)"
|
|
||||||
else
|
|
||||||
einfo "Configuring to build with no toolkit"
|
|
||||||
myconf+=" --with-x-toolkit=no"
|
|
||||||
fi
|
|
||||||
! use gtk && use xwidgets && ewarn \
|
|
||||||
"USE flag \"xwidgets\" has no effect if \"gtk\" is not set."
|
|
||||||
fi
|
|
||||||
|
|
||||||
if tc-is-cross-compiler; then
|
|
||||||
# Configure a CBUILD directory when cross-compiling to make tools
|
|
||||||
mkdir "${S}-build" && pushd "${S}-build" >/dev/null || die
|
|
||||||
ECONF_SOURCE="${S}" econf_build --without-all --without-x-toolkit
|
|
||||||
popd >/dev/null || die
|
|
||||||
# Don't try to execute the binary for dumping during the build
|
|
||||||
myconf+=" --with-dumping=none"
|
|
||||||
else
|
|
||||||
myconf+=" --with-dumping=pdumper"
|
|
||||||
fi
|
|
||||||
|
|
||||||
econf \
|
|
||||||
--program-suffix="-${EMACS_SUFFIX}" \
|
|
||||||
--includedir="${EPREFIX}"/usr/include/${EMACS_SUFFIX} \
|
|
||||||
--infodir="${EPREFIX}"/usr/share/info/${EMACS_SUFFIX} \
|
|
||||||
--localstatedir="${EPREFIX}"/var \
|
|
||||||
--enable-locallisppath="${EPREFIX}/etc/emacs:${EPREFIX}${SITELISP}" \
|
|
||||||
--without-compress-install \
|
|
||||||
--without-hesiod \
|
|
||||||
--without-pop \
|
|
||||||
--with-file-notification=$(usev inotify || usev gfile || echo no) \
|
|
||||||
--with-pdumper \
|
|
||||||
$(use_enable acl) \
|
|
||||||
$(use_with dbus) \
|
|
||||||
$(use_with dynamic-loading modules) \
|
|
||||||
$(use_with games gameuser ":gamestat") \
|
|
||||||
$(use_with gmp libgmp) \
|
|
||||||
$(use_with gpm) \
|
|
||||||
$(use_with json) \
|
|
||||||
$(use_with kerberos) $(use_with kerberos kerberos5) \
|
|
||||||
$(use_with lcms lcms2) \
|
|
||||||
$(use_with libxml2 xml2) \
|
|
||||||
$(use_with mailutils) \
|
|
||||||
$(use_with selinux) \
|
|
||||||
$(use_with ssl gnutls) \
|
|
||||||
$(use_with systemd libsystemd) \
|
|
||||||
$(use_with threads) \
|
|
||||||
$(use_with wide-int) \
|
|
||||||
$(use_with zlib) \
|
|
||||||
${myconf}
|
|
||||||
}
|
|
||||||
|
|
||||||
src_compile() {
|
|
||||||
if tc-is-cross-compiler; then
|
|
||||||
# Build native tools for compiling lisp etc.
|
|
||||||
emake -C "${S}-build" src
|
|
||||||
emake lib # Cross-compile dependencies first for timestamps
|
|
||||||
# Save native build tools in the cross-directory
|
|
||||||
cp "${S}-build"/lib-src/make-{docfile,fingerprint} lib-src || die
|
|
||||||
# Specify the native Emacs to compile lisp
|
|
||||||
emake -C lisp all EMACS="${S}-build/src/emacs"
|
|
||||||
fi
|
|
||||||
|
|
||||||
emake
|
|
||||||
}
|
|
||||||
|
|
||||||
src_install() {
|
|
||||||
emake DESTDIR="${D}" NO_BIN_LINK=t BLESSMAIL_TARGET= install
|
|
||||||
|
|
||||||
mv "${ED}"/usr/bin/{emacs-${FULL_VERSION}-,}${EMACS_SUFFIX} || die
|
|
||||||
mv "${ED}"/usr/share/man/man1/{emacs-,}${EMACS_SUFFIX}.1 || die
|
|
||||||
mv "${ED}"/usr/share/metainfo/{emacs-,}${EMACS_SUFFIX}.appdata.xml || die
|
|
||||||
|
|
||||||
# move info dir to avoid collisions with the dir file generated by portage
|
|
||||||
mv "${ED}"/usr/share/info/${EMACS_SUFFIX}/dir{,.orig} || die
|
|
||||||
touch "${ED}"/usr/share/info/${EMACS_SUFFIX}/.keepinfodir
|
|
||||||
docompress -x /usr/share/info/${EMACS_SUFFIX}/dir.orig
|
|
||||||
|
|
||||||
# movemail must be setgid mail
|
|
||||||
if ! use mailutils; then
|
|
||||||
fowners root:mail /usr/libexec/emacs/${FULL_VERSION}/${CHOST}/movemail
|
|
||||||
fperms 2751 /usr/libexec/emacs/${FULL_VERSION}/${CHOST}/movemail
|
|
||||||
fi
|
|
||||||
|
|
||||||
# avoid collision between slots, see bug #169033 e.g.
|
|
||||||
rm "${ED}"/usr/share/emacs/site-lisp/subdirs.el
|
|
||||||
rm -rf "${ED}"/usr/share/{appdata,applications,icons}
|
|
||||||
rm -rf "${ED}/usr/$(get_libdir)"
|
|
||||||
rm -rf "${ED}"/var
|
|
||||||
|
|
||||||
# remove unused <version>/site-lisp dir
|
|
||||||
rm -rf "${ED}"/usr/share/emacs/${FULL_VERSION}/site-lisp
|
|
||||||
|
|
||||||
# remove COPYING file (except for etc/COPYING used by describe-copying)
|
|
||||||
rm "${ED}"/usr/share/emacs/${FULL_VERSION}/lisp/COPYING
|
|
||||||
|
|
||||||
if use systemd; then
|
|
||||||
insinto /usr/lib/systemd/user
|
|
||||||
sed -e "/^##/d" \
|
|
||||||
-e "/^ExecStart/s,emacs,${EPREFIX}/usr/bin/${EMACS_SUFFIX}," \
|
|
||||||
-e "/^ExecStop/s,emacsclient,${EPREFIX}/usr/bin/&-${EMACS_SUFFIX}," \
|
|
||||||
etc/emacs.service | newins - ${EMACS_SUFFIX}.service
|
|
||||||
assert
|
|
||||||
fi
|
|
||||||
|
|
||||||
if use gzip-el; then
|
|
||||||
# compress .el files when a corresponding .elc exists
|
|
||||||
find "${ED}"/usr/share/emacs/${FULL_VERSION}/lisp -type f \
|
|
||||||
-name "*.elc" -print | sed 's/\.elc$/.el/' | xargs gzip -9n
|
|
||||||
assert "gzip .el failed"
|
|
||||||
fi
|
|
||||||
|
|
||||||
local cdir
|
|
||||||
if use source; then
|
|
||||||
cdir="/usr/share/emacs/${FULL_VERSION}/src"
|
|
||||||
insinto "${cdir}"
|
|
||||||
# This is not meant to install all the source -- just the
|
|
||||||
# C source you might find via find-function
|
|
||||||
doins src/*.{c,h,m}
|
|
||||||
elif has installsources ${FEATURES}; then
|
|
||||||
cdir="/usr/src/debug/${CATEGORY}/${PF}/${S#"${WORKDIR}/"}/src"
|
|
||||||
fi
|
|
||||||
|
|
||||||
sed -e "${cdir:+#}/^Y/d" -e "s/^[XY]//" >"${T}/${SITEFILE}" <<-EOF || die
|
|
||||||
X
|
|
||||||
;;; ${EMACS_SUFFIX} site-lisp configuration
|
|
||||||
X
|
|
||||||
(when (string-match "\\\\\`${FULL_VERSION//./\\\\.}\\\\>" emacs-version)
|
|
||||||
Y (setq find-function-C-source-directory
|
|
||||||
Y "${EPREFIX}${cdir}")
|
|
||||||
X (let ((path (getenv "INFOPATH"))
|
|
||||||
X (dir "${EPREFIX}/usr/share/info/${EMACS_SUFFIX}")
|
|
||||||
X (re "\\\\\`${EPREFIX}/usr/share\\\\>"))
|
|
||||||
X (and path
|
|
||||||
X ;; move Emacs Info dir before anything else in /usr/share
|
|
||||||
X (let* ((p (cons nil (split-string path ":" t))) (q p))
|
|
||||||
X (while (and (cdr q) (not (string-match re (cadr q))))
|
|
||||||
X (setq q (cdr q)))
|
|
||||||
X (setcdr q (cons dir (delete dir (cdr q))))
|
|
||||||
X (setq Info-directory-list (prune-directory-list (cdr p)))))))
|
|
||||||
EOF
|
|
||||||
elisp-site-file-install "${T}/${SITEFILE}" || die
|
|
||||||
|
|
||||||
dodoc README BUGS CONTRIBUTE
|
|
||||||
|
|
||||||
if use gui && use aqua; then
|
|
||||||
dodir /Applications/Gentoo
|
|
||||||
rm -rf "${ED}"/Applications/Gentoo/${EMACS_SUFFIX^}.app
|
|
||||||
mv nextstep/Emacs.app \
|
|
||||||
"${ED}"/Applications/Gentoo/${EMACS_SUFFIX^}.app || die
|
|
||||||
fi
|
|
||||||
|
|
||||||
local DOC_CONTENTS="You can set the version to be started by
|
|
||||||
/usr/bin/emacs through the Emacs eselect module, which also
|
|
||||||
redirects man and info pages. Therefore, several Emacs versions can
|
|
||||||
be installed at the same time. \"man emacs.eselect\" for details.
|
|
||||||
\\n\\nIf you upgrade from a previous major version of Emacs, then
|
|
||||||
it is strongly recommended that you use app-admin/emacs-updater
|
|
||||||
to rebuild all byte-compiled elisp files of the installed Emacs
|
|
||||||
packages."
|
|
||||||
if use gui; then
|
|
||||||
DOC_CONTENTS+="\\n\\nYou need to install some fonts for Emacs.
|
|
||||||
Installing media-fonts/font-adobe-{75,100}dpi on the X server's
|
|
||||||
machine would satisfy basic Emacs requirements under X11.
|
|
||||||
See also https://wiki.gentoo.org/wiki/Xft_support_for_GNU_Emacs
|
|
||||||
for how to enable anti-aliased fonts."
|
|
||||||
use aqua && DOC_CONTENTS+="\\n\\n${EMACS_SUFFIX^}.app is in
|
|
||||||
\"${EPREFIX}/Applications/Gentoo\". You may want to copy or
|
|
||||||
symlink it into /Applications by yourself."
|
|
||||||
fi
|
|
||||||
tc-is-cross-compiler && DOC_CONTENTS+="\\n\\nEmacs did not write
|
|
||||||
a portable dump file due to being cross-compiled.
|
|
||||||
To create this file at run time, execute the following command:
|
|
||||||
\\n${EMACS_SUFFIX} --batch -Q --eval='(dump-emacs-portable
|
|
||||||
\"/usr/libexec/emacs/${FULL_VERSION}/${CHOST}/emacs.pdmp\")'"
|
|
||||||
readme.gentoo_create_doc
|
|
||||||
}
|
|
||||||
|
|
||||||
pkg_preinst() {
|
|
||||||
# move Info dir file to correct name
|
|
||||||
if [[ -d ${ED}/usr/share/info ]]; then
|
|
||||||
mv "${ED}"/usr/share/info/${EMACS_SUFFIX}/dir{.orig,} || die
|
|
||||||
fi
|
|
||||||
}
|
|
||||||
|
|
||||||
pkg_postinst() {
|
|
||||||
elisp-site-regen
|
|
||||||
readme.gentoo_print_elog
|
|
||||||
|
|
||||||
if use livecd; then
|
|
||||||
# force an update of the emacs symlink for the livecd/dvd,
|
|
||||||
# because some microemacs packages set it with USE=livecd
|
|
||||||
eselect emacs update
|
|
||||||
elif [[ $(readlink "${EROOT}"/usr/bin/emacs) = ${EMACS_SUFFIX} ]]; then
|
|
||||||
# refresh symlinks in case any installed files have changed
|
|
||||||
eselect emacs set ${EMACS_SUFFIX}
|
|
||||||
else
|
|
||||||
eselect emacs update ifunset
|
|
||||||
fi
|
|
||||||
}
|
|
||||||
|
|
||||||
pkg_postrm() {
|
|
||||||
elisp-site-regen
|
|
||||||
eselect emacs update ifunset
|
|
||||||
}
|
|
@ -1,15 +1,7 @@
|
|||||||
AUX gvim-completion 1219 BLAKE2B 8a8d8ac5b42be0103da00ecda3445f24993df0b2762310dcc1a9e1cf892048b57c02b7da2ea19d900c40b782cabeda4c6f7b79b9b7b44b6fb7ad7ae723b46f88 SHA512 08bb32a3c9fcbdd00977b7343dda9cda44b389a13b1717ebddb462e22b6cf9d4db37d5b49ff752b931e305bf57e8f9f4a7d6e32ea25f8acd1b00e5f8320ac132
|
AUX gvim-completion 1219 BLAKE2B 8a8d8ac5b42be0103da00ecda3445f24993df0b2762310dcc1a9e1cf892048b57c02b7da2ea19d900c40b782cabeda4c6f7b79b9b7b44b6fb7ad7ae723b46f88 SHA512 08bb32a3c9fcbdd00977b7343dda9cda44b389a13b1717ebddb462e22b6cf9d4db37d5b49ff752b931e305bf57e8f9f4a7d6e32ea25f8acd1b00e5f8320ac132
|
||||||
AUX gvimrc-r1 990 BLAKE2B 5fc0b805458aff22485e3e180ca8c32a62f2cfe49572edffa5725d2cfc4ed9a7bded20c1a5cd1f19f41e0849e3ca08be4798ff23edd66a92bcbb31aee16c433a SHA512 f6538550f1ecadcccf74a6bbd5a6a0b71d18a234a854d1a0179144125555c42280000df9523e7c3d5a8b449f421af7bafcca1034951f085279cee0dd1160808a
|
AUX gvimrc-r1 990 BLAKE2B 5fc0b805458aff22485e3e180ca8c32a62f2cfe49572edffa5725d2cfc4ed9a7bded20c1a5cd1f19f41e0849e3ca08be4798ff23edd66a92bcbb31aee16c433a SHA512 f6538550f1ecadcccf74a6bbd5a6a0b71d18a234a854d1a0179144125555c42280000df9523e7c3d5a8b449f421af7bafcca1034951f085279cee0dd1160808a
|
||||||
DIST vim-8.2.0210-gentoo-patches.tar.bz2 2755 BLAKE2B 21f1fb97c95d4f2eb45968783add80e11011be12fd2d701c267644a44da9782214828e022667c1a0a2ed08aedb7c12b6756a8b8adea4db5c7a3cb7dc94b75fd8 SHA512 c942c33dc033d63569e07523fa7652d1c53685aa64f9e7a4bf4e6126012790ec0ec820a7a9209cfe64096679ba8a9f9394ed92696a933e3c8be10658d16b8a7b
|
|
||||||
DIST vim-8.2.0360-gentoo-patches.tar.xz 2612 BLAKE2B a9273a686b31dd873b25bfc07f7bc254f11038bde275ae4e6f56513a14e0268fdc1032ae847d1d7f8539f8a657217011770ccb4685998f34722383ec7bfb1a15 SHA512 00bc8eb8b20a4a6f3bbd179bb90d42fa6727c8eaae5b625e95e52c33638d456ef36d06b51c542ecaffb237c0b4f7aa72dc3bae7fe00144d55ab0d2fa51950f3b
|
DIST vim-8.2.0360-gentoo-patches.tar.xz 2612 BLAKE2B a9273a686b31dd873b25bfc07f7bc254f11038bde275ae4e6f56513a14e0268fdc1032ae847d1d7f8539f8a657217011770ccb4685998f34722383ec7bfb1a15 SHA512 00bc8eb8b20a4a6f3bbd179bb90d42fa6727c8eaae5b625e95e52c33638d456ef36d06b51c542ecaffb237c0b4f7aa72dc3bae7fe00144d55ab0d2fa51950f3b
|
||||||
DIST vim-8.2.0360.tar.gz 14842830 BLAKE2B fe3a13cb4bef4ada1bd13cdc80aa9a4ab275d1ff16a7f5308109adc7c5a3459393e1c8153fa32a972141b27cce3aaff50c59416d1ba32e4dca03074be49705a9 SHA512 183bcb5cc73290193de99beb69b56b64efa37db9d905c6e76a51ac727f4447f76346dde632e2dfae9d289abb4b9ca11a14f7e350eaa699fc2c3c7c2e35fc20b2
|
|
||||||
DIST vim-8.2.0508.tar.gz 14885937 BLAKE2B 70d9cbaa69fac168e6719ef6ee0fadef21bc0b4c17e3c01d983cfe7d75ec831089845aae2f4ca2b5eba02ea24664dc968b0d472254db45e13a5a1f9cdc62253a SHA512 0cbe7cb8d16ac9ed2e6b2f7031bf3b962bcfa199ef7421dfa549fd53f42eb00fc20a14d0df13fcdb4b5f06c88e659086f8d277797824e628133ebd66c72232b6
|
|
||||||
DIST vim-8.2.0638.tar.gz 14922315 BLAKE2B 12a8a272e1167ec845d2a5ab3b884f8d327e7b73a49fad2c7cafcd0bd5690c8c21d6b9e1b6211fd6ef8908ea93019c483ec5de74b50cf1fea8fbfc6f63b751df SHA512 4fc3aca0f3337b35d98281d1c7d5cd733bf14fbd1c3e382208ff950199125b6e4606bb7487310caf793eb6b2d1c6e719bce19b53d4d55a26354649c13b727a92
|
|
||||||
DIST vim-8.2.0814.tar.gz 14953478 BLAKE2B fd4155ec749bd9a705e8114ff7f8cc321182c9286733ff2f665e265ec0af830f9e70c730b8d0215f6db1f73a8e2f878d22932a72c8dbfe921591be7adcdaab00 SHA512 4ddd9e2d30719f931cadd1a4de5700736f641f4b074378d9ea1462a90b81975ce8e8c3ca2e3a1e15ac0288824eef5b0f0a3e31482f7637c450c6d7e52c8f40d2
|
DIST vim-8.2.0814.tar.gz 14953478 BLAKE2B fd4155ec749bd9a705e8114ff7f8cc321182c9286733ff2f665e265ec0af830f9e70c730b8d0215f6db1f73a8e2f878d22932a72c8dbfe921591be7adcdaab00 SHA512 4ddd9e2d30719f931cadd1a4de5700736f641f4b074378d9ea1462a90b81975ce8e8c3ca2e3a1e15ac0288824eef5b0f0a3e31482f7637c450c6d7e52c8f40d2
|
||||||
EBUILD gvim-8.2.0360.ebuild 10313 BLAKE2B ea2e2ce7b5e450fb3d289ac9faaa18b6a933f766d4ca7644109ec70146499038dc04fddf0f09fecd7498182e8c740fe34393ac6e1f90026f82db1c1a1d19fa42 SHA512 85347144ebd2272dab28fbe70f74004a9afc35f613c672a82c3c2ea83b61a73cad0c64c20d2a998487d71a5cc9d19a5be42d13bfc481a9783d5f9d244e0b4599
|
|
||||||
EBUILD gvim-8.2.0508.ebuild 10339 BLAKE2B 1e0ffce1971142f6ef078e80af5385e860c1a137cc11823febc97075f0ec738cb29fc3d67f041b72bfb1579acd14789c5a0454a0630b2991a55cda14034211d6 SHA512 611b49d03b4c76ca349b2cf43bf87b1d4cca1d9e12fe2060bc92032a879c8bb65da9c98b1a3717f9d9329eef3d27f0718c233f36f8846e2c367cd720a5ce5f40
|
|
||||||
EBUILD gvim-8.2.0638.ebuild 10345 BLAKE2B aafc43bf70436dd470f4c60021570bbf74c93a4b86f89c8ccddd202180f656a86eb720bcd068ba3e099bac032559ba19003a7aa5df535e02be0471536261feaf SHA512 c30e68ea4bb40077f4c84f388cb725bef5e673512746b75e9462dd4be7b9354b53110152243359bc2300f1d9366bd251d1c82142dbfb9924ec025c170ebd1926
|
|
||||||
EBUILD gvim-8.2.0814-r100.ebuild 10546 BLAKE2B 841485b310036388cb0cb7ab307d38c52ab198864b8c3cc87961383c9db4255c84b9dd114a5646f17c53549bf6e8e982d1b730168b53d308477cd59afa70c111 SHA512 15a4fdd6a2323e36b282cb5015af08d9db10ece57748d4c80384c029b3c88b601a7886ef2bbedc838dcac5c7adcfdc77db7628506ac09cde973430f209de2fd0
|
EBUILD gvim-8.2.0814-r100.ebuild 10546 BLAKE2B 841485b310036388cb0cb7ab307d38c52ab198864b8c3cc87961383c9db4255c84b9dd114a5646f17c53549bf6e8e982d1b730168b53d308477cd59afa70c111 SHA512 15a4fdd6a2323e36b282cb5015af08d9db10ece57748d4c80384c029b3c88b601a7886ef2bbedc838dcac5c7adcfdc77db7628506ac09cde973430f209de2fd0
|
||||||
EBUILD gvim-8.2.0814.ebuild 10307 BLAKE2B 9af152197af41c638a9a9f105de8efff0985b00304f989da8adf5461cb95bf196ee78a78d14f2d582bbac995b69521024e1c44250ebe63225cf1e1199b168549 SHA512 7d459841bac0e06f2009c325e17c45c58f3b7afe13a1e1603460511e603d95bda63faa306667d23f18702c41486f749cf7e14cd371349d01e99a0201c4d582ba
|
|
||||||
EBUILD gvim-9999.ebuild 10547 BLAKE2B 6abec7c8cccb5fd62fe8db99ed9b2e14faeaf51c568fc44d2bf8bc1e8d6500419f2941d8f10a37bb5b687c44072bcc1a779315dcd4b97230b498d15927942057 SHA512 ced89d9e42b23607c01ee2e27a87ced1398b7431d6bcb05c743b1c0b6a780239083b94b898fb57053a1adfa84d6962c248c5abd7668f7eb02888be0aa2fda277
|
EBUILD gvim-9999.ebuild 10547 BLAKE2B 6abec7c8cccb5fd62fe8db99ed9b2e14faeaf51c568fc44d2bf8bc1e8d6500419f2941d8f10a37bb5b687c44072bcc1a779315dcd4b97230b498d15927942057 SHA512 ced89d9e42b23607c01ee2e27a87ced1398b7431d6bcb05c743b1c0b6a780239083b94b898fb57053a1adfa84d6962c248c5abd7668f7eb02888be0aa2fda277
|
||||||
MISC metadata.xml 633 BLAKE2B 5ecbefdb3a4a116a9e56113621970dd581f27dd42f8b6ed4fd445cb675bec4729bbce076a0d20de3dd329e00723f51d64df9a7b62658fa8f1348982aa8b8628d SHA512 bca6784d9746a7d98aaec2e3469b8bb3057802b869181c79622d16cfd31b06ca8c9dd89cb147f11c1f709fda2312973e7e115efea257a781905fb3a789b0cfce
|
MISC metadata.xml 633 BLAKE2B 5ecbefdb3a4a116a9e56113621970dd581f27dd42f8b6ed4fd445cb675bec4729bbce076a0d20de3dd329e00723f51d64df9a7b62658fa8f1348982aa8b8628d SHA512 bca6784d9746a7d98aaec2e3469b8bb3057802b869181c79622d16cfd31b06ca8c9dd89cb147f11c1f709fda2312973e7e115efea257a781905fb3a789b0cfce
|
||||||
|
@ -1,367 +0,0 @@
|
|||||||
# Copyright 1999-2021 Gentoo Authors
|
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
|
||||||
|
|
||||||
EAPI=7
|
|
||||||
VIM_VERSION="8.2"
|
|
||||||
PYTHON_COMPAT=( python3_{7,8} )
|
|
||||||
PYTHON_REQ_USE="threads(+)"
|
|
||||||
USE_RUBY="ruby24 ruby25 ruby26 ruby27"
|
|
||||||
|
|
||||||
inherit vim-doc flag-o-matic xdg-utils bash-completion-r1 prefix python-single-r1 ruby-single
|
|
||||||
|
|
||||||
if [[ ${PV} == 9999* ]]; then
|
|
||||||
inherit git-r3
|
|
||||||
EGIT_REPO_URI="https://github.com/vim/vim.git"
|
|
||||||
EGIT_CHECKOUT_DIR=${WORKDIR}/vim-${PV}
|
|
||||||
else
|
|
||||||
SRC_URI="https://github.com/vim/vim/archive/v${PV}.tar.gz -> vim-${PV}.tar.gz
|
|
||||||
https://dev.gentoo.org/~radhermit/vim/vim-8.2.0210-gentoo-patches.tar.bz2"
|
|
||||||
KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ppc ppc64 sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x86-solaris"
|
|
||||||
fi
|
|
||||||
|
|
||||||
DESCRIPTION="GUI version of the Vim text editor"
|
|
||||||
HOMEPAGE="https://vim.sourceforge.io/ https://github.com/vim/vim"
|
|
||||||
|
|
||||||
SLOT="0"
|
|
||||||
LICENSE="vim"
|
|
||||||
IUSE="acl aqua cscope debug gtk gtk2 lua luajit motif neXt netbeans nls perl python racket ruby selinux session sound tcl"
|
|
||||||
REQUIRED_USE="
|
|
||||||
python? ( ${PYTHON_REQUIRED_USE} )
|
|
||||||
"
|
|
||||||
|
|
||||||
RDEPEND="
|
|
||||||
~app-editors/vim-core-${PV}
|
|
||||||
>=app-eselect/eselect-vi-1.1
|
|
||||||
>=sys-libs/ncurses-5.2-r2:0=
|
|
||||||
x11-libs/libICE
|
|
||||||
x11-libs/libSM
|
|
||||||
x11-libs/libXext
|
|
||||||
x11-libs/libXt
|
|
||||||
acl? ( kernel_linux? ( sys-apps/acl ) )
|
|
||||||
!aqua? (
|
|
||||||
gtk? (
|
|
||||||
x11-libs/gtk+:3
|
|
||||||
x11-libs/libXft
|
|
||||||
)
|
|
||||||
!gtk? (
|
|
||||||
gtk2? (
|
|
||||||
>=x11-libs/gtk+-2.6:2
|
|
||||||
x11-libs/libXft
|
|
||||||
)
|
|
||||||
!gtk2? (
|
|
||||||
motif? ( >=x11-libs/motif-2.3:0 )
|
|
||||||
!motif? (
|
|
||||||
neXt? ( x11-libs/neXtaw )
|
|
||||||
!neXt? ( x11-libs/libXaw )
|
|
||||||
)
|
|
||||||
)
|
|
||||||
)
|
|
||||||
)
|
|
||||||
cscope? ( dev-util/cscope )
|
|
||||||
lua? (
|
|
||||||
luajit? ( dev-lang/luajit:2= )
|
|
||||||
!luajit? ( dev-lang/lua:0[deprecated] )
|
|
||||||
)
|
|
||||||
nls? ( virtual/libintl )
|
|
||||||
perl? ( dev-lang/perl:= )
|
|
||||||
python? ( ${PYTHON_DEPS} )
|
|
||||||
racket? ( dev-scheme/racket )
|
|
||||||
ruby? ( ${RUBY_DEPS} )
|
|
||||||
selinux? ( sys-libs/libselinux )
|
|
||||||
session? ( x11-libs/libSM )
|
|
||||||
sound? ( media-libs/libcanberra )
|
|
||||||
tcl? ( dev-lang/tcl:0= )
|
|
||||||
"
|
|
||||||
DEPEND="${RDEPEND}
|
|
||||||
sys-devel/autoconf
|
|
||||||
virtual/pkgconfig
|
|
||||||
nls? ( sys-devel/gettext )
|
|
||||||
"
|
|
||||||
|
|
||||||
# various failures (bugs #630042 and #682320)
|
|
||||||
RESTRICT="test"
|
|
||||||
|
|
||||||
S=${WORKDIR}/vim-${PV}
|
|
||||||
|
|
||||||
pkg_setup() {
|
|
||||||
# people with broken alphabets run into trouble. bug 82186.
|
|
||||||
unset LANG LC_ALL
|
|
||||||
export LC_COLLATE="C"
|
|
||||||
|
|
||||||
# Gnome sandbox silliness. bug #114475.
|
|
||||||
mkdir -p "${T}"/home || die
|
|
||||||
export HOME="${T}"/home
|
|
||||||
|
|
||||||
use python && python-single-r1_pkg_setup
|
|
||||||
}
|
|
||||||
|
|
||||||
src_prepare() {
|
|
||||||
if [[ ${PV} != 9999* ]]; then
|
|
||||||
# Gentoo patches to fix runtime issues, cross-compile errors, etc
|
|
||||||
eapply "${WORKDIR}"/patches/
|
|
||||||
fi
|
|
||||||
|
|
||||||
# Fixup a script to use awk instead of nawk
|
|
||||||
sed -i -e \
|
|
||||||
'1s|.*|#!'"${EPREFIX}"'/usr/bin/awk -f|' \
|
|
||||||
"${S}"/runtime/tools/mve.awk || die "mve.awk sed failed"
|
|
||||||
|
|
||||||
# Read vimrc and gvimrc from /etc/vim
|
|
||||||
echo '#define SYS_VIMRC_FILE "'${EPREFIX}'/etc/vim/vimrc"' \
|
|
||||||
>> "${S}"/src/feature.h || die "echo failed"
|
|
||||||
echo '#define SYS_GVIMRC_FILE "'${EPREFIX}'/etc/vim/gvimrc"' \
|
|
||||||
>> "${S}"/src/feature.h || die "echo failed"
|
|
||||||
|
|
||||||
# Use exuberant ctags which installs as /usr/bin/exuberant-ctags.
|
|
||||||
# Hopefully this pattern won't break for a while at least.
|
|
||||||
# This fixes bug 29398 (27 Sep 2003 agriffis)
|
|
||||||
sed -i -e \
|
|
||||||
's/\<ctags\("\| [-*.]\)/exuberant-&/g' \
|
|
||||||
"${S}"/runtime/doc/syntax.txt \
|
|
||||||
"${S}"/runtime/doc/tagsrch.txt \
|
|
||||||
"${S}"/runtime/doc/usr_29.txt \
|
|
||||||
"${S}"/runtime/menu.vim \
|
|
||||||
"${S}"/src/configure.ac || die 'sed failed'
|
|
||||||
|
|
||||||
# Don't be fooled by /usr/include/libc.h. When found, vim thinks
|
|
||||||
# this is NeXT, but it's actually just a file in dev-libs/9libs
|
|
||||||
# This fixes bug 43885 (20 Mar 2004 agriffis)
|
|
||||||
sed -i -e \
|
|
||||||
's/ libc\.h / /' "${S}"/src/configure.ac || die 'sed failed'
|
|
||||||
|
|
||||||
# gcc on sparc32 has this, uhm, interesting problem with detecting EOF
|
|
||||||
# correctly. To avoid some really entertaining error messages about stuff
|
|
||||||
# which isn't even in the source file being invalid, we'll do some trickery
|
|
||||||
# to make the error never occur. bug 66162 (02 October 2004 ciaranm)
|
|
||||||
find "${S}" -name '*.c' | while read c; do
|
|
||||||
echo >> "$c" || die "echo failed"
|
|
||||||
done
|
|
||||||
|
|
||||||
# Try to avoid sandbox problems. Bug #114475.
|
|
||||||
if [[ -d "${S}"/src/po ]]; then
|
|
||||||
sed -i -e \
|
|
||||||
'/-S check.vim/s,..VIM.,ln -s $(VIM) testvim \; ./testvim -X,' \
|
|
||||||
"${S}"/src/po/Makefile || die
|
|
||||||
fi
|
|
||||||
|
|
||||||
cp -v "${S}"/src/config.mk.dist "${S}"/src/auto/config.mk || die "cp failed"
|
|
||||||
|
|
||||||
# Bug #378107 - Build properly with >=perl-core/ExtUtils-ParseXS-3.20.0
|
|
||||||
sed -i -e \
|
|
||||||
"s:\\\$(PERLLIB)/ExtUtils/xsubpp:${EPREFIX}/usr/bin/xsubpp:" \
|
|
||||||
"${S}"/src/Makefile || die 'sed for ExtUtils-ParseXS failed'
|
|
||||||
|
|
||||||
eapply_user
|
|
||||||
}
|
|
||||||
|
|
||||||
src_configure() {
|
|
||||||
local myconf=()
|
|
||||||
|
|
||||||
# Fix bug 37354: Disallow -funroll-all-loops on amd64
|
|
||||||
# Bug 57859 suggests that we want to do this for all archs
|
|
||||||
filter-flags -funroll-all-loops
|
|
||||||
|
|
||||||
# Fix bug 76331: -O3 causes problems, use -O2 instead. We'll do this for
|
|
||||||
# everyone since previous flag filtering bugs have turned out to affect
|
|
||||||
# multiple archs...
|
|
||||||
replace-flags -O3 -O2
|
|
||||||
|
|
||||||
# Fix bug 18245: Prevent "make" from the following chain:
|
|
||||||
# (1) Notice configure.ac is newer than auto/configure
|
|
||||||
# (2) Rebuild auto/configure
|
|
||||||
# (3) Notice auto/configure is newer than auto/config.mk
|
|
||||||
# (4) Run ./configure (with wrong args) to remake auto/config.mk
|
|
||||||
sed -i -e \
|
|
||||||
's# auto/config\.mk:#:#' src/Makefile || die "Makefile sed failed"
|
|
||||||
rm -v src/auto/configure || die "rm failed"
|
|
||||||
emake -j1 -C src autoconf
|
|
||||||
|
|
||||||
# This should fix a sandbox violation (see bug 24447). The hvc
|
|
||||||
# things are for ppc64, see bug 86433.
|
|
||||||
local file
|
|
||||||
for file in /dev/pty/s* /dev/console /dev/hvc/* /dev/hvc*; do
|
|
||||||
if [[ -e ${file} ]]; then
|
|
||||||
addwrite $file
|
|
||||||
fi
|
|
||||||
done
|
|
||||||
|
|
||||||
use debug && append-flags "-DDEBUG"
|
|
||||||
|
|
||||||
myconf=(
|
|
||||||
--with-features=huge
|
|
||||||
--disable-gpm
|
|
||||||
--with-gnome=no
|
|
||||||
$(use_enable sound canberra)
|
|
||||||
$(use_enable acl)
|
|
||||||
$(use_enable cscope)
|
|
||||||
$(use_enable lua luainterp)
|
|
||||||
$(use_with luajit)
|
|
||||||
$(use_enable netbeans)
|
|
||||||
$(use_enable nls)
|
|
||||||
$(use_enable perl perlinterp)
|
|
||||||
$(use_enable python python3interp)
|
|
||||||
$(use_with python python3-command $(type -P $(eselect python show --python3)))
|
|
||||||
$(use_enable racket mzschemeinterp)
|
|
||||||
$(use_enable ruby rubyinterp)
|
|
||||||
$(use_enable selinux)
|
|
||||||
$(use_enable session xsmp)
|
|
||||||
$(use_enable tcl tclinterp)
|
|
||||||
)
|
|
||||||
|
|
||||||
# --with-features=huge forces on cscope even if we --disable it. We need
|
|
||||||
# to sed this out to avoid screwiness. (1 Sep 2004 ciaranm)
|
|
||||||
if ! use cscope; then
|
|
||||||
sed -i -e \
|
|
||||||
'/# define FEAT_CSCOPE/d' src/feature.h || die "couldn't disable cscope"
|
|
||||||
fi
|
|
||||||
|
|
||||||
# gvim's GUI preference order is as follows:
|
|
||||||
# aqua CARBON (not tested)
|
|
||||||
# -aqua gtk GTK3
|
|
||||||
# -aqua -gtk gtk2 GTK2
|
|
||||||
# -aqua -gtk -gtk motif MOTIF
|
|
||||||
# -aqua -gtk -gtk -motif neXt NEXTAW
|
|
||||||
# -aqua -gtk -gtk -motif -neXt ATHENA
|
|
||||||
echo ; echo
|
|
||||||
if use aqua; then
|
|
||||||
einfo "Building gvim with the Carbon GUI"
|
|
||||||
myconf+=(
|
|
||||||
--enable-darwin
|
|
||||||
--enable-gui=carbon
|
|
||||||
)
|
|
||||||
elif use gtk; then
|
|
||||||
myconf+=( --enable-gtk3-check )
|
|
||||||
einfo "Building gvim with the gtk+-3 GUI"
|
|
||||||
myconf+=( --enable-gui=gtk3 )
|
|
||||||
elif use gtk2; then
|
|
||||||
myconf+=( --enable-gtk2-check )
|
|
||||||
einfo "Building gvim with the gtk+-2 GUI"
|
|
||||||
myconf+=( --enable-gui=gtk2 )
|
|
||||||
elif use motif; then
|
|
||||||
einfo "Building gvim with the MOTIF GUI"
|
|
||||||
myconf+=( --enable-gui=motif )
|
|
||||||
elif use neXt; then
|
|
||||||
einfo "Building gvim with the neXtaw GUI"
|
|
||||||
myconf+=( --enable-gui=nextaw )
|
|
||||||
else
|
|
||||||
einfo "Building gvim with the Athena GUI"
|
|
||||||
myconf+=( --enable-gui=athena )
|
|
||||||
fi
|
|
||||||
echo ; echo
|
|
||||||
|
|
||||||
# let package manager strip binaries
|
|
||||||
export ac_cv_prog_STRIP="$(type -P true ) faking strip"
|
|
||||||
|
|
||||||
# keep prefix env contained within the EPREFIX
|
|
||||||
use prefix && myconf+=( --without-local-dir )
|
|
||||||
|
|
||||||
if [[ ${CHOST} == *-interix* ]]; then
|
|
||||||
# avoid finding of this function, to avoid having to patch either
|
|
||||||
# configure or the source, which would be much more hackish.
|
|
||||||
# after all vim does it right, only interix is badly broken (again)
|
|
||||||
export ac_cv_func_sigaction=no
|
|
||||||
fi
|
|
||||||
|
|
||||||
econf \
|
|
||||||
--with-modified-by=Gentoo-${PVR} \
|
|
||||||
--with-vim-name=gvim \
|
|
||||||
--with-x \
|
|
||||||
"${myconf[@]}"
|
|
||||||
}
|
|
||||||
|
|
||||||
src_compile() {
|
|
||||||
# The following allows emake to be used
|
|
||||||
emake -j1 -C src auto/osdef.h objects
|
|
||||||
|
|
||||||
emake
|
|
||||||
}
|
|
||||||
|
|
||||||
src_test() {
|
|
||||||
einfo
|
|
||||||
einfo "Starting vim tests. Several error messages will be shown"
|
|
||||||
einfo "while the tests run. This is normal behaviour and does not"
|
|
||||||
einfo "indicate a fault."
|
|
||||||
einfo
|
|
||||||
ewarn "If the tests fail, your terminal may be left in a strange"
|
|
||||||
ewarn "state. Usually, running 'reset' will fix this."
|
|
||||||
einfo
|
|
||||||
|
|
||||||
# Don't let vim talk to X
|
|
||||||
unset DISPLAY
|
|
||||||
|
|
||||||
# Make gvim not try to connect to X. See :help gui-x11-start in vim for how
|
|
||||||
# this evil trickery works.
|
|
||||||
ln -s "${S}"/src/gvim "${S}"/src/testvim || die
|
|
||||||
|
|
||||||
# Make sure our VIMPROG is used.
|
|
||||||
sed -i -e 's:\.\./vim:../testvim:' src/testdir/test49.vim || die
|
|
||||||
|
|
||||||
# Don't do additional GUI tests.
|
|
||||||
emake -j1 VIMPROG=../testvim -C src/testdir nongui
|
|
||||||
}
|
|
||||||
|
|
||||||
# Call eselect vi update with --if-unset
|
|
||||||
# to respect user's choice (bug 187449)
|
|
||||||
eselect_vi_update() {
|
|
||||||
einfo "Calling eselect vi update..."
|
|
||||||
eselect vi update --if-unset
|
|
||||||
eend $?
|
|
||||||
}
|
|
||||||
|
|
||||||
src_install() {
|
|
||||||
local vimfiles=/usr/share/vim/vim${VIM_VERSION/.}
|
|
||||||
|
|
||||||
dobin src/gvim
|
|
||||||
dosym gvim /usr/bin/gvimdiff
|
|
||||||
dosym gvim /usr/bin/evim
|
|
||||||
dosym gvim /usr/bin/eview
|
|
||||||
dosym gvim /usr/bin/gview
|
|
||||||
dosym gvim /usr/bin/rgvim
|
|
||||||
dosym gvim /usr/bin/rgview
|
|
||||||
|
|
||||||
emake -C src DESTDIR="${D}" DATADIR="${EPREFIX}"/usr/share install-icons
|
|
||||||
|
|
||||||
dodir /usr/share/man/man1
|
|
||||||
echo ".so vim.1" > "${ED}"/usr/share/man/man1/gvim.1 || die "echo failed"
|
|
||||||
echo ".so vim.1" > "${ED}"/usr/share/man/man1/gview.1 || die "echo failed"
|
|
||||||
echo ".so vimdiff.1" > "${ED}"/usr/share/man/man1/gvimdiff.1 || \
|
|
||||||
die "echo failed"
|
|
||||||
|
|
||||||
insinto /etc/vim
|
|
||||||
newins "${FILESDIR}"/gvimrc-r1 gvimrc
|
|
||||||
eprefixify "${ED}"/etc/vim/gvimrc
|
|
||||||
|
|
||||||
# bash completion script, bug #79018.
|
|
||||||
newbashcomp "${FILESDIR}"/${PN}-completion ${PN}
|
|
||||||
|
|
||||||
# don't install vim desktop file
|
|
||||||
rm -v "${ED}"/usr/share/applications/vim.desktop || die "failed to remove vim.desktop"
|
|
||||||
}
|
|
||||||
|
|
||||||
pkg_postinst() {
|
|
||||||
# update documentation tags (from vim-doc.eclass)
|
|
||||||
update_vim_helptags
|
|
||||||
|
|
||||||
# update fdo mime stuff, bug #78394
|
|
||||||
xdg_desktop_database_update
|
|
||||||
|
|
||||||
# update icon cache
|
|
||||||
xdg_icon_cache_update
|
|
||||||
|
|
||||||
# call eselect vi update
|
|
||||||
eselect_vi_update
|
|
||||||
}
|
|
||||||
|
|
||||||
pkg_postrm() {
|
|
||||||
# update documentation tags (from vim-doc.eclass)
|
|
||||||
update_vim_helptags
|
|
||||||
|
|
||||||
# update fdo mime stuff, bug #78394
|
|
||||||
xdg_desktop_database_update
|
|
||||||
|
|
||||||
# update icon cache
|
|
||||||
xdg_icon_cache_update
|
|
||||||
|
|
||||||
# call eselect vi update
|
|
||||||
eselect_vi_update
|
|
||||||
}
|
|
@ -1,367 +0,0 @@
|
|||||||
# Copyright 1999-2021 Gentoo Authors
|
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
|
||||||
|
|
||||||
EAPI=7
|
|
||||||
VIM_VERSION="8.2"
|
|
||||||
PYTHON_COMPAT=( python3_{7,8} )
|
|
||||||
PYTHON_REQ_USE="threads(+)"
|
|
||||||
USE_RUBY="ruby24 ruby25 ruby26 ruby27"
|
|
||||||
|
|
||||||
inherit vim-doc flag-o-matic xdg-utils bash-completion-r1 prefix python-single-r1 ruby-single
|
|
||||||
|
|
||||||
if [[ ${PV} == 9999* ]]; then
|
|
||||||
inherit git-r3
|
|
||||||
EGIT_REPO_URI="https://github.com/vim/vim.git"
|
|
||||||
EGIT_CHECKOUT_DIR=${WORKDIR}/vim-${PV}
|
|
||||||
else
|
|
||||||
SRC_URI="https://github.com/vim/vim/archive/v${PV}.tar.gz -> vim-${PV}.tar.gz
|
|
||||||
https://dev.gentoo.org/~zlogene/distfiles/app-editors/vim/vim-8.2.0360-gentoo-patches.tar.xz"
|
|
||||||
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x86-solaris"
|
|
||||||
fi
|
|
||||||
|
|
||||||
DESCRIPTION="GUI version of the Vim text editor"
|
|
||||||
HOMEPAGE="https://vim.sourceforge.io/ https://github.com/vim/vim"
|
|
||||||
|
|
||||||
SLOT="0"
|
|
||||||
LICENSE="vim"
|
|
||||||
IUSE="acl aqua cscope debug gtk gtk2 lua luajit motif neXt netbeans nls perl python racket ruby selinux session sound tcl"
|
|
||||||
REQUIRED_USE="
|
|
||||||
python? ( ${PYTHON_REQUIRED_USE} )
|
|
||||||
"
|
|
||||||
|
|
||||||
RDEPEND="
|
|
||||||
~app-editors/vim-core-${PV}
|
|
||||||
>=app-eselect/eselect-vi-1.1
|
|
||||||
>=sys-libs/ncurses-5.2-r2:0=
|
|
||||||
x11-libs/libICE
|
|
||||||
x11-libs/libSM
|
|
||||||
x11-libs/libXext
|
|
||||||
x11-libs/libXt
|
|
||||||
acl? ( kernel_linux? ( sys-apps/acl ) )
|
|
||||||
!aqua? (
|
|
||||||
gtk? (
|
|
||||||
x11-libs/gtk+:3
|
|
||||||
x11-libs/libXft
|
|
||||||
)
|
|
||||||
!gtk? (
|
|
||||||
gtk2? (
|
|
||||||
>=x11-libs/gtk+-2.6:2
|
|
||||||
x11-libs/libXft
|
|
||||||
)
|
|
||||||
!gtk2? (
|
|
||||||
motif? ( >=x11-libs/motif-2.3:0 )
|
|
||||||
!motif? (
|
|
||||||
neXt? ( x11-libs/neXtaw )
|
|
||||||
!neXt? ( x11-libs/libXaw )
|
|
||||||
)
|
|
||||||
)
|
|
||||||
)
|
|
||||||
)
|
|
||||||
cscope? ( dev-util/cscope )
|
|
||||||
lua? (
|
|
||||||
luajit? ( dev-lang/luajit:2= )
|
|
||||||
!luajit? ( dev-lang/lua:0[deprecated] )
|
|
||||||
)
|
|
||||||
nls? ( virtual/libintl )
|
|
||||||
perl? ( dev-lang/perl:= )
|
|
||||||
python? ( ${PYTHON_DEPS} )
|
|
||||||
racket? ( dev-scheme/racket )
|
|
||||||
ruby? ( ${RUBY_DEPS} )
|
|
||||||
selinux? ( sys-libs/libselinux )
|
|
||||||
session? ( x11-libs/libSM )
|
|
||||||
sound? ( media-libs/libcanberra )
|
|
||||||
tcl? ( dev-lang/tcl:0= )
|
|
||||||
"
|
|
||||||
DEPEND="${RDEPEND}
|
|
||||||
sys-devel/autoconf
|
|
||||||
virtual/pkgconfig
|
|
||||||
nls? ( sys-devel/gettext )
|
|
||||||
"
|
|
||||||
|
|
||||||
# various failures (bugs #630042 and #682320)
|
|
||||||
RESTRICT="test"
|
|
||||||
|
|
||||||
S=${WORKDIR}/vim-${PV}
|
|
||||||
|
|
||||||
pkg_setup() {
|
|
||||||
# people with broken alphabets run into trouble. bug 82186.
|
|
||||||
unset LANG LC_ALL
|
|
||||||
export LC_COLLATE="C"
|
|
||||||
|
|
||||||
# Gnome sandbox silliness. bug #114475.
|
|
||||||
mkdir -p "${T}"/home || die
|
|
||||||
export HOME="${T}"/home
|
|
||||||
|
|
||||||
use python && python-single-r1_pkg_setup
|
|
||||||
}
|
|
||||||
|
|
||||||
src_prepare() {
|
|
||||||
if [[ ${PV} != 9999* ]]; then
|
|
||||||
# Gentoo patches to fix runtime issues, cross-compile errors, etc
|
|
||||||
eapply "${WORKDIR}"/patches/
|
|
||||||
fi
|
|
||||||
|
|
||||||
# Fixup a script to use awk instead of nawk
|
|
||||||
sed -i -e \
|
|
||||||
'1s|.*|#!'"${EPREFIX}"'/usr/bin/awk -f|' \
|
|
||||||
"${S}"/runtime/tools/mve.awk || die "mve.awk sed failed"
|
|
||||||
|
|
||||||
# Read vimrc and gvimrc from /etc/vim
|
|
||||||
echo '#define SYS_VIMRC_FILE "'${EPREFIX}'/etc/vim/vimrc"' \
|
|
||||||
>> "${S}"/src/feature.h || die "echo failed"
|
|
||||||
echo '#define SYS_GVIMRC_FILE "'${EPREFIX}'/etc/vim/gvimrc"' \
|
|
||||||
>> "${S}"/src/feature.h || die "echo failed"
|
|
||||||
|
|
||||||
# Use exuberant ctags which installs as /usr/bin/exuberant-ctags.
|
|
||||||
# Hopefully this pattern won't break for a while at least.
|
|
||||||
# This fixes bug 29398 (27 Sep 2003 agriffis)
|
|
||||||
sed -i -e \
|
|
||||||
's/\<ctags\("\| [-*.]\)/exuberant-&/g' \
|
|
||||||
"${S}"/runtime/doc/syntax.txt \
|
|
||||||
"${S}"/runtime/doc/tagsrch.txt \
|
|
||||||
"${S}"/runtime/doc/usr_29.txt \
|
|
||||||
"${S}"/runtime/menu.vim \
|
|
||||||
"${S}"/src/configure.ac || die 'sed failed'
|
|
||||||
|
|
||||||
# Don't be fooled by /usr/include/libc.h. When found, vim thinks
|
|
||||||
# this is NeXT, but it's actually just a file in dev-libs/9libs
|
|
||||||
# This fixes bug 43885 (20 Mar 2004 agriffis)
|
|
||||||
sed -i -e \
|
|
||||||
's/ libc\.h / /' "${S}"/src/configure.ac || die 'sed failed'
|
|
||||||
|
|
||||||
# gcc on sparc32 has this, uhm, interesting problem with detecting EOF
|
|
||||||
# correctly. To avoid some really entertaining error messages about stuff
|
|
||||||
# which isn't even in the source file being invalid, we'll do some trickery
|
|
||||||
# to make the error never occur. bug 66162 (02 October 2004 ciaranm)
|
|
||||||
find "${S}" -name '*.c' | while read c; do
|
|
||||||
echo >> "$c" || die "echo failed"
|
|
||||||
done
|
|
||||||
|
|
||||||
# Try to avoid sandbox problems. Bug #114475.
|
|
||||||
if [[ -d "${S}"/src/po ]]; then
|
|
||||||
sed -i -e \
|
|
||||||
'/-S check.vim/s,..VIM.,ln -s $(VIM) testvim \; ./testvim -X,' \
|
|
||||||
"${S}"/src/po/Makefile || die
|
|
||||||
fi
|
|
||||||
|
|
||||||
cp -v "${S}"/src/config.mk.dist "${S}"/src/auto/config.mk || die "cp failed"
|
|
||||||
|
|
||||||
# Bug #378107 - Build properly with >=perl-core/ExtUtils-ParseXS-3.20.0
|
|
||||||
sed -i -e \
|
|
||||||
"s:\\\$(PERLLIB)/ExtUtils/xsubpp:${EPREFIX}/usr/bin/xsubpp:" \
|
|
||||||
"${S}"/src/Makefile || die 'sed for ExtUtils-ParseXS failed'
|
|
||||||
|
|
||||||
eapply_user
|
|
||||||
}
|
|
||||||
|
|
||||||
src_configure() {
|
|
||||||
local myconf=()
|
|
||||||
|
|
||||||
# Fix bug 37354: Disallow -funroll-all-loops on amd64
|
|
||||||
# Bug 57859 suggests that we want to do this for all archs
|
|
||||||
filter-flags -funroll-all-loops
|
|
||||||
|
|
||||||
# Fix bug 76331: -O3 causes problems, use -O2 instead. We'll do this for
|
|
||||||
# everyone since previous flag filtering bugs have turned out to affect
|
|
||||||
# multiple archs...
|
|
||||||
replace-flags -O3 -O2
|
|
||||||
|
|
||||||
# Fix bug 18245: Prevent "make" from the following chain:
|
|
||||||
# (1) Notice configure.ac is newer than auto/configure
|
|
||||||
# (2) Rebuild auto/configure
|
|
||||||
# (3) Notice auto/configure is newer than auto/config.mk
|
|
||||||
# (4) Run ./configure (with wrong args) to remake auto/config.mk
|
|
||||||
sed -i -e \
|
|
||||||
's# auto/config\.mk:#:#' src/Makefile || die "Makefile sed failed"
|
|
||||||
rm -v src/auto/configure || die "rm failed"
|
|
||||||
emake -j1 -C src autoconf
|
|
||||||
|
|
||||||
# This should fix a sandbox violation (see bug 24447). The hvc
|
|
||||||
# things are for ppc64, see bug 86433.
|
|
||||||
local file
|
|
||||||
for file in /dev/pty/s* /dev/console /dev/hvc/* /dev/hvc*; do
|
|
||||||
if [[ -e ${file} ]]; then
|
|
||||||
addwrite $file
|
|
||||||
fi
|
|
||||||
done
|
|
||||||
|
|
||||||
use debug && append-flags "-DDEBUG"
|
|
||||||
|
|
||||||
myconf=(
|
|
||||||
--with-features=huge
|
|
||||||
--disable-gpm
|
|
||||||
--with-gnome=no
|
|
||||||
$(use_enable sound canberra)
|
|
||||||
$(use_enable acl)
|
|
||||||
$(use_enable cscope)
|
|
||||||
$(use_enable lua luainterp)
|
|
||||||
$(use_with luajit)
|
|
||||||
$(use_enable netbeans)
|
|
||||||
$(use_enable nls)
|
|
||||||
$(use_enable perl perlinterp)
|
|
||||||
$(use_enable python python3interp)
|
|
||||||
$(use_with python python3-command $(type -P $(eselect python show --python3)))
|
|
||||||
$(use_enable racket mzschemeinterp)
|
|
||||||
$(use_enable ruby rubyinterp)
|
|
||||||
$(use_enable selinux)
|
|
||||||
$(use_enable session xsmp)
|
|
||||||
$(use_enable tcl tclinterp)
|
|
||||||
)
|
|
||||||
|
|
||||||
# --with-features=huge forces on cscope even if we --disable it. We need
|
|
||||||
# to sed this out to avoid screwiness. (1 Sep 2004 ciaranm)
|
|
||||||
if ! use cscope; then
|
|
||||||
sed -i -e \
|
|
||||||
'/# define FEAT_CSCOPE/d' src/feature.h || die "couldn't disable cscope"
|
|
||||||
fi
|
|
||||||
|
|
||||||
# gvim's GUI preference order is as follows:
|
|
||||||
# aqua CARBON (not tested)
|
|
||||||
# -aqua gtk GTK3
|
|
||||||
# -aqua -gtk gtk2 GTK2
|
|
||||||
# -aqua -gtk -gtk motif MOTIF
|
|
||||||
# -aqua -gtk -gtk -motif neXt NEXTAW
|
|
||||||
# -aqua -gtk -gtk -motif -neXt ATHENA
|
|
||||||
echo ; echo
|
|
||||||
if use aqua; then
|
|
||||||
einfo "Building gvim with the Carbon GUI"
|
|
||||||
myconf+=(
|
|
||||||
--enable-darwin
|
|
||||||
--enable-gui=carbon
|
|
||||||
)
|
|
||||||
elif use gtk; then
|
|
||||||
myconf+=( --enable-gtk3-check )
|
|
||||||
einfo "Building gvim with the gtk+-3 GUI"
|
|
||||||
myconf+=( --enable-gui=gtk3 )
|
|
||||||
elif use gtk2; then
|
|
||||||
myconf+=( --enable-gtk2-check )
|
|
||||||
einfo "Building gvim with the gtk+-2 GUI"
|
|
||||||
myconf+=( --enable-gui=gtk2 )
|
|
||||||
elif use motif; then
|
|
||||||
einfo "Building gvim with the MOTIF GUI"
|
|
||||||
myconf+=( --enable-gui=motif )
|
|
||||||
elif use neXt; then
|
|
||||||
einfo "Building gvim with the neXtaw GUI"
|
|
||||||
myconf+=( --enable-gui=nextaw )
|
|
||||||
else
|
|
||||||
einfo "Building gvim with the Athena GUI"
|
|
||||||
myconf+=( --enable-gui=athena )
|
|
||||||
fi
|
|
||||||
echo ; echo
|
|
||||||
|
|
||||||
# let package manager strip binaries
|
|
||||||
export ac_cv_prog_STRIP="$(type -P true ) faking strip"
|
|
||||||
|
|
||||||
# keep prefix env contained within the EPREFIX
|
|
||||||
use prefix && myconf+=( --without-local-dir )
|
|
||||||
|
|
||||||
if [[ ${CHOST} == *-interix* ]]; then
|
|
||||||
# avoid finding of this function, to avoid having to patch either
|
|
||||||
# configure or the source, which would be much more hackish.
|
|
||||||
# after all vim does it right, only interix is badly broken (again)
|
|
||||||
export ac_cv_func_sigaction=no
|
|
||||||
fi
|
|
||||||
|
|
||||||
econf \
|
|
||||||
--with-modified-by=Gentoo-${PVR} \
|
|
||||||
--with-vim-name=gvim \
|
|
||||||
--with-x \
|
|
||||||
"${myconf[@]}"
|
|
||||||
}
|
|
||||||
|
|
||||||
src_compile() {
|
|
||||||
# The following allows emake to be used
|
|
||||||
emake -j1 -C src auto/osdef.h objects
|
|
||||||
|
|
||||||
emake
|
|
||||||
}
|
|
||||||
|
|
||||||
src_test() {
|
|
||||||
einfo
|
|
||||||
einfo "Starting vim tests. Several error messages will be shown"
|
|
||||||
einfo "while the tests run. This is normal behaviour and does not"
|
|
||||||
einfo "indicate a fault."
|
|
||||||
einfo
|
|
||||||
ewarn "If the tests fail, your terminal may be left in a strange"
|
|
||||||
ewarn "state. Usually, running 'reset' will fix this."
|
|
||||||
einfo
|
|
||||||
|
|
||||||
# Don't let vim talk to X
|
|
||||||
unset DISPLAY
|
|
||||||
|
|
||||||
# Make gvim not try to connect to X. See :help gui-x11-start in vim for how
|
|
||||||
# this evil trickery works.
|
|
||||||
ln -s "${S}"/src/gvim "${S}"/src/testvim || die
|
|
||||||
|
|
||||||
# Make sure our VIMPROG is used.
|
|
||||||
sed -i -e 's:\.\./vim:../testvim:' src/testdir/test49.vim || die
|
|
||||||
|
|
||||||
# Don't do additional GUI tests.
|
|
||||||
emake -j1 VIMPROG=../testvim -C src/testdir nongui
|
|
||||||
}
|
|
||||||
|
|
||||||
# Call eselect vi update with --if-unset
|
|
||||||
# to respect user's choice (bug 187449)
|
|
||||||
eselect_vi_update() {
|
|
||||||
einfo "Calling eselect vi update..."
|
|
||||||
eselect vi update --if-unset
|
|
||||||
eend $?
|
|
||||||
}
|
|
||||||
|
|
||||||
src_install() {
|
|
||||||
local vimfiles=/usr/share/vim/vim${VIM_VERSION/.}
|
|
||||||
|
|
||||||
dobin src/gvim
|
|
||||||
dosym gvim /usr/bin/gvimdiff
|
|
||||||
dosym gvim /usr/bin/evim
|
|
||||||
dosym gvim /usr/bin/eview
|
|
||||||
dosym gvim /usr/bin/gview
|
|
||||||
dosym gvim /usr/bin/rgvim
|
|
||||||
dosym gvim /usr/bin/rgview
|
|
||||||
|
|
||||||
emake -C src DESTDIR="${D}" DATADIR="${EPREFIX}"/usr/share install-icons
|
|
||||||
|
|
||||||
dodir /usr/share/man/man1
|
|
||||||
echo ".so vim.1" > "${ED}"/usr/share/man/man1/gvim.1 || die "echo failed"
|
|
||||||
echo ".so vim.1" > "${ED}"/usr/share/man/man1/gview.1 || die "echo failed"
|
|
||||||
echo ".so vimdiff.1" > "${ED}"/usr/share/man/man1/gvimdiff.1 || \
|
|
||||||
die "echo failed"
|
|
||||||
|
|
||||||
insinto /etc/vim
|
|
||||||
newins "${FILESDIR}"/gvimrc-r1 gvimrc
|
|
||||||
eprefixify "${ED}"/etc/vim/gvimrc
|
|
||||||
|
|
||||||
# bash completion script, bug #79018.
|
|
||||||
newbashcomp "${FILESDIR}"/${PN}-completion ${PN}
|
|
||||||
|
|
||||||
# don't install vim desktop file
|
|
||||||
rm -v "${ED}"/usr/share/applications/vim.desktop || die "failed to remove vim.desktop"
|
|
||||||
}
|
|
||||||
|
|
||||||
pkg_postinst() {
|
|
||||||
# update documentation tags (from vim-doc.eclass)
|
|
||||||
update_vim_helptags
|
|
||||||
|
|
||||||
# update fdo mime stuff, bug #78394
|
|
||||||
xdg_desktop_database_update
|
|
||||||
|
|
||||||
# update icon cache
|
|
||||||
xdg_icon_cache_update
|
|
||||||
|
|
||||||
# call eselect vi update
|
|
||||||
eselect_vi_update
|
|
||||||
}
|
|
||||||
|
|
||||||
pkg_postrm() {
|
|
||||||
# update documentation tags (from vim-doc.eclass)
|
|
||||||
update_vim_helptags
|
|
||||||
|
|
||||||
# update fdo mime stuff, bug #78394
|
|
||||||
xdg_desktop_database_update
|
|
||||||
|
|
||||||
# update icon cache
|
|
||||||
xdg_icon_cache_update
|
|
||||||
|
|
||||||
# call eselect vi update
|
|
||||||
eselect_vi_update
|
|
||||||
}
|
|
@ -1,367 +0,0 @@
|
|||||||
# Copyright 1999-2021 Gentoo Authors
|
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
|
||||||
|
|
||||||
EAPI=7
|
|
||||||
VIM_VERSION="8.2"
|
|
||||||
PYTHON_COMPAT=( python3_{7,8} )
|
|
||||||
PYTHON_REQ_USE="threads(+)"
|
|
||||||
USE_RUBY="ruby24 ruby25 ruby26 ruby27"
|
|
||||||
|
|
||||||
inherit vim-doc flag-o-matic xdg-utils bash-completion-r1 prefix python-single-r1 ruby-single
|
|
||||||
|
|
||||||
if [[ ${PV} == 9999* ]]; then
|
|
||||||
inherit git-r3
|
|
||||||
EGIT_REPO_URI="https://github.com/vim/vim.git"
|
|
||||||
EGIT_CHECKOUT_DIR=${WORKDIR}/vim-${PV}
|
|
||||||
else
|
|
||||||
SRC_URI="https://github.com/vim/vim/archive/v${PV}.tar.gz -> vim-${PV}.tar.gz
|
|
||||||
https://dev.gentoo.org/~zlogene/distfiles/app-editors/vim/vim-8.2.0360-gentoo-patches.tar.xz"
|
|
||||||
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x86-solaris"
|
|
||||||
fi
|
|
||||||
|
|
||||||
DESCRIPTION="GUI version of the Vim text editor"
|
|
||||||
HOMEPAGE="https://vim.sourceforge.io/ https://github.com/vim/vim"
|
|
||||||
|
|
||||||
SLOT="0"
|
|
||||||
LICENSE="vim"
|
|
||||||
IUSE="acl aqua cscope debug gtk gtk2 lua luajit motif neXt netbeans nls perl python racket ruby selinux session sound tcl"
|
|
||||||
REQUIRED_USE="
|
|
||||||
python? ( ${PYTHON_REQUIRED_USE} )
|
|
||||||
"
|
|
||||||
|
|
||||||
RDEPEND="
|
|
||||||
~app-editors/vim-core-${PV}
|
|
||||||
>=app-eselect/eselect-vi-1.1
|
|
||||||
>=sys-libs/ncurses-5.2-r2:0=
|
|
||||||
x11-libs/libICE
|
|
||||||
x11-libs/libSM
|
|
||||||
x11-libs/libXext
|
|
||||||
x11-libs/libXt
|
|
||||||
acl? ( kernel_linux? ( sys-apps/acl ) )
|
|
||||||
!aqua? (
|
|
||||||
gtk? (
|
|
||||||
x11-libs/gtk+:3
|
|
||||||
x11-libs/libXft
|
|
||||||
)
|
|
||||||
!gtk? (
|
|
||||||
gtk2? (
|
|
||||||
>=x11-libs/gtk+-2.6:2
|
|
||||||
x11-libs/libXft
|
|
||||||
)
|
|
||||||
!gtk2? (
|
|
||||||
motif? ( >=x11-libs/motif-2.3:0 )
|
|
||||||
!motif? (
|
|
||||||
neXt? ( x11-libs/neXtaw )
|
|
||||||
!neXt? ( x11-libs/libXaw )
|
|
||||||
)
|
|
||||||
)
|
|
||||||
)
|
|
||||||
)
|
|
||||||
cscope? ( dev-util/cscope )
|
|
||||||
lua? (
|
|
||||||
luajit? ( dev-lang/luajit:2= )
|
|
||||||
!luajit? ( dev-lang/lua:0[deprecated] )
|
|
||||||
)
|
|
||||||
nls? ( virtual/libintl )
|
|
||||||
perl? ( dev-lang/perl:= )
|
|
||||||
python? ( ${PYTHON_DEPS} )
|
|
||||||
racket? ( dev-scheme/racket )
|
|
||||||
ruby? ( ${RUBY_DEPS} )
|
|
||||||
selinux? ( sys-libs/libselinux )
|
|
||||||
session? ( x11-libs/libSM )
|
|
||||||
sound? ( media-libs/libcanberra )
|
|
||||||
tcl? ( dev-lang/tcl:0= )
|
|
||||||
"
|
|
||||||
DEPEND="${RDEPEND}
|
|
||||||
sys-devel/autoconf
|
|
||||||
virtual/pkgconfig
|
|
||||||
nls? ( sys-devel/gettext )
|
|
||||||
"
|
|
||||||
|
|
||||||
# various failures (bugs #630042 and #682320)
|
|
||||||
RESTRICT="test"
|
|
||||||
|
|
||||||
S=${WORKDIR}/vim-${PV}
|
|
||||||
|
|
||||||
pkg_setup() {
|
|
||||||
# people with broken alphabets run into trouble. bug 82186.
|
|
||||||
unset LANG LC_ALL
|
|
||||||
export LC_COLLATE="C"
|
|
||||||
|
|
||||||
# Gnome sandbox silliness. bug #114475.
|
|
||||||
mkdir -p "${T}"/home || die
|
|
||||||
export HOME="${T}"/home
|
|
||||||
|
|
||||||
use python && python-single-r1_pkg_setup
|
|
||||||
}
|
|
||||||
|
|
||||||
src_prepare() {
|
|
||||||
if [[ ${PV} != 9999* ]]; then
|
|
||||||
# Gentoo patches to fix runtime issues, cross-compile errors, etc
|
|
||||||
eapply "${WORKDIR}"/patches/
|
|
||||||
fi
|
|
||||||
|
|
||||||
# Fixup a script to use awk instead of nawk
|
|
||||||
sed -i -e \
|
|
||||||
'1s|.*|#!'"${EPREFIX}"'/usr/bin/awk -f|' \
|
|
||||||
"${S}"/runtime/tools/mve.awk || die "mve.awk sed failed"
|
|
||||||
|
|
||||||
# Read vimrc and gvimrc from /etc/vim
|
|
||||||
echo '#define SYS_VIMRC_FILE "'${EPREFIX}'/etc/vim/vimrc"' \
|
|
||||||
>> "${S}"/src/feature.h || die "echo failed"
|
|
||||||
echo '#define SYS_GVIMRC_FILE "'${EPREFIX}'/etc/vim/gvimrc"' \
|
|
||||||
>> "${S}"/src/feature.h || die "echo failed"
|
|
||||||
|
|
||||||
# Use exuberant ctags which installs as /usr/bin/exuberant-ctags.
|
|
||||||
# Hopefully this pattern won't break for a while at least.
|
|
||||||
# This fixes bug 29398 (27 Sep 2003 agriffis)
|
|
||||||
sed -i -e \
|
|
||||||
's/\<ctags\("\| [-*.]\)/exuberant-&/g' \
|
|
||||||
"${S}"/runtime/doc/syntax.txt \
|
|
||||||
"${S}"/runtime/doc/tagsrch.txt \
|
|
||||||
"${S}"/runtime/doc/usr_29.txt \
|
|
||||||
"${S}"/runtime/menu.vim \
|
|
||||||
"${S}"/src/configure.ac || die 'sed failed'
|
|
||||||
|
|
||||||
# Don't be fooled by /usr/include/libc.h. When found, vim thinks
|
|
||||||
# this is NeXT, but it's actually just a file in dev-libs/9libs
|
|
||||||
# This fixes bug 43885 (20 Mar 2004 agriffis)
|
|
||||||
sed -i -e \
|
|
||||||
's/ libc\.h / /' "${S}"/src/configure.ac || die 'sed failed'
|
|
||||||
|
|
||||||
# gcc on sparc32 has this, uhm, interesting problem with detecting EOF
|
|
||||||
# correctly. To avoid some really entertaining error messages about stuff
|
|
||||||
# which isn't even in the source file being invalid, we'll do some trickery
|
|
||||||
# to make the error never occur. bug 66162 (02 October 2004 ciaranm)
|
|
||||||
find "${S}" -name '*.c' | while read c; do
|
|
||||||
echo >> "$c" || die "echo failed"
|
|
||||||
done
|
|
||||||
|
|
||||||
# Try to avoid sandbox problems. Bug #114475.
|
|
||||||
if [[ -d "${S}"/src/po ]]; then
|
|
||||||
sed -i -e \
|
|
||||||
'/-S check.vim/s,..VIM.,ln -s $(VIM) testvim \; ./testvim -X,' \
|
|
||||||
"${S}"/src/po/Makefile || die
|
|
||||||
fi
|
|
||||||
|
|
||||||
cp -v "${S}"/src/config.mk.dist "${S}"/src/auto/config.mk || die "cp failed"
|
|
||||||
|
|
||||||
# Bug #378107 - Build properly with >=perl-core/ExtUtils-ParseXS-3.20.0
|
|
||||||
sed -i -e \
|
|
||||||
"s:\\\$(PERLLIB)/ExtUtils/xsubpp:${EPREFIX}/usr/bin/xsubpp:" \
|
|
||||||
"${S}"/src/Makefile || die 'sed for ExtUtils-ParseXS failed'
|
|
||||||
|
|
||||||
eapply_user
|
|
||||||
}
|
|
||||||
|
|
||||||
src_configure() {
|
|
||||||
local myconf=()
|
|
||||||
|
|
||||||
# Fix bug 37354: Disallow -funroll-all-loops on amd64
|
|
||||||
# Bug 57859 suggests that we want to do this for all archs
|
|
||||||
filter-flags -funroll-all-loops
|
|
||||||
|
|
||||||
# Fix bug 76331: -O3 causes problems, use -O2 instead. We'll do this for
|
|
||||||
# everyone since previous flag filtering bugs have turned out to affect
|
|
||||||
# multiple archs...
|
|
||||||
replace-flags -O3 -O2
|
|
||||||
|
|
||||||
# Fix bug 18245: Prevent "make" from the following chain:
|
|
||||||
# (1) Notice configure.ac is newer than auto/configure
|
|
||||||
# (2) Rebuild auto/configure
|
|
||||||
# (3) Notice auto/configure is newer than auto/config.mk
|
|
||||||
# (4) Run ./configure (with wrong args) to remake auto/config.mk
|
|
||||||
sed -i -e \
|
|
||||||
's# auto/config\.mk:#:#' src/Makefile || die "Makefile sed failed"
|
|
||||||
rm -v src/auto/configure || die "rm failed"
|
|
||||||
emake -j1 -C src autoconf
|
|
||||||
|
|
||||||
# This should fix a sandbox violation (see bug 24447). The hvc
|
|
||||||
# things are for ppc64, see bug 86433.
|
|
||||||
local file
|
|
||||||
for file in /dev/pty/s* /dev/console /dev/hvc/* /dev/hvc*; do
|
|
||||||
if [[ -e ${file} ]]; then
|
|
||||||
addwrite $file
|
|
||||||
fi
|
|
||||||
done
|
|
||||||
|
|
||||||
use debug && append-flags "-DDEBUG"
|
|
||||||
|
|
||||||
myconf=(
|
|
||||||
--with-features=huge
|
|
||||||
--disable-gpm
|
|
||||||
--with-gnome=no
|
|
||||||
$(use_enable sound canberra)
|
|
||||||
$(use_enable acl)
|
|
||||||
$(use_enable cscope)
|
|
||||||
$(use_enable lua luainterp)
|
|
||||||
$(use_with luajit)
|
|
||||||
$(use_enable netbeans)
|
|
||||||
$(use_enable nls)
|
|
||||||
$(use_enable perl perlinterp)
|
|
||||||
$(use_enable python python3interp)
|
|
||||||
$(use_with python python3-command $(type -P $(eselect python show --python3)))
|
|
||||||
$(use_enable racket mzschemeinterp)
|
|
||||||
$(use_enable ruby rubyinterp)
|
|
||||||
$(use_enable selinux)
|
|
||||||
$(use_enable session xsmp)
|
|
||||||
$(use_enable tcl tclinterp)
|
|
||||||
)
|
|
||||||
|
|
||||||
# --with-features=huge forces on cscope even if we --disable it. We need
|
|
||||||
# to sed this out to avoid screwiness. (1 Sep 2004 ciaranm)
|
|
||||||
if ! use cscope; then
|
|
||||||
sed -i -e \
|
|
||||||
'/# define FEAT_CSCOPE/d' src/feature.h || die "couldn't disable cscope"
|
|
||||||
fi
|
|
||||||
|
|
||||||
# gvim's GUI preference order is as follows:
|
|
||||||
# aqua CARBON (not tested)
|
|
||||||
# -aqua gtk GTK3
|
|
||||||
# -aqua -gtk gtk2 GTK2
|
|
||||||
# -aqua -gtk -gtk motif MOTIF
|
|
||||||
# -aqua -gtk -gtk -motif neXt NEXTAW
|
|
||||||
# -aqua -gtk -gtk -motif -neXt ATHENA
|
|
||||||
echo ; echo
|
|
||||||
if use aqua; then
|
|
||||||
einfo "Building gvim with the Carbon GUI"
|
|
||||||
myconf+=(
|
|
||||||
--enable-darwin
|
|
||||||
--enable-gui=carbon
|
|
||||||
)
|
|
||||||
elif use gtk; then
|
|
||||||
myconf+=( --enable-gtk3-check )
|
|
||||||
einfo "Building gvim with the gtk+-3 GUI"
|
|
||||||
myconf+=( --enable-gui=gtk3 )
|
|
||||||
elif use gtk2; then
|
|
||||||
myconf+=( --enable-gtk2-check )
|
|
||||||
einfo "Building gvim with the gtk+-2 GUI"
|
|
||||||
myconf+=( --enable-gui=gtk2 )
|
|
||||||
elif use motif; then
|
|
||||||
einfo "Building gvim with the MOTIF GUI"
|
|
||||||
myconf+=( --enable-gui=motif )
|
|
||||||
elif use neXt; then
|
|
||||||
einfo "Building gvim with the neXtaw GUI"
|
|
||||||
myconf+=( --enable-gui=nextaw )
|
|
||||||
else
|
|
||||||
einfo "Building gvim with the Athena GUI"
|
|
||||||
myconf+=( --enable-gui=athena )
|
|
||||||
fi
|
|
||||||
echo ; echo
|
|
||||||
|
|
||||||
# let package manager strip binaries
|
|
||||||
export ac_cv_prog_STRIP="$(type -P true ) faking strip"
|
|
||||||
|
|
||||||
# keep prefix env contained within the EPREFIX
|
|
||||||
use prefix && myconf+=( --without-local-dir )
|
|
||||||
|
|
||||||
if [[ ${CHOST} == *-interix* ]]; then
|
|
||||||
# avoid finding of this function, to avoid having to patch either
|
|
||||||
# configure or the source, which would be much more hackish.
|
|
||||||
# after all vim does it right, only interix is badly broken (again)
|
|
||||||
export ac_cv_func_sigaction=no
|
|
||||||
fi
|
|
||||||
|
|
||||||
econf \
|
|
||||||
--with-modified-by=Gentoo-${PVR} \
|
|
||||||
--with-vim-name=gvim \
|
|
||||||
--with-x \
|
|
||||||
"${myconf[@]}"
|
|
||||||
}
|
|
||||||
|
|
||||||
src_compile() {
|
|
||||||
# The following allows emake to be used
|
|
||||||
emake -j1 -C src auto/osdef.h objects
|
|
||||||
|
|
||||||
emake
|
|
||||||
}
|
|
||||||
|
|
||||||
src_test() {
|
|
||||||
einfo
|
|
||||||
einfo "Starting vim tests. Several error messages will be shown"
|
|
||||||
einfo "while the tests run. This is normal behaviour and does not"
|
|
||||||
einfo "indicate a fault."
|
|
||||||
einfo
|
|
||||||
ewarn "If the tests fail, your terminal may be left in a strange"
|
|
||||||
ewarn "state. Usually, running 'reset' will fix this."
|
|
||||||
einfo
|
|
||||||
|
|
||||||
# Don't let vim talk to X
|
|
||||||
unset DISPLAY
|
|
||||||
|
|
||||||
# Make gvim not try to connect to X. See :help gui-x11-start in vim for how
|
|
||||||
# this evil trickery works.
|
|
||||||
ln -s "${S}"/src/gvim "${S}"/src/testvim || die
|
|
||||||
|
|
||||||
# Make sure our VIMPROG is used.
|
|
||||||
sed -i -e 's:\.\./vim:../testvim:' src/testdir/test49.vim || die
|
|
||||||
|
|
||||||
# Don't do additional GUI tests.
|
|
||||||
emake -j1 VIMPROG=../testvim -C src/testdir nongui
|
|
||||||
}
|
|
||||||
|
|
||||||
# Call eselect vi update with --if-unset
|
|
||||||
# to respect user's choice (bug 187449)
|
|
||||||
eselect_vi_update() {
|
|
||||||
einfo "Calling eselect vi update..."
|
|
||||||
eselect vi update --if-unset
|
|
||||||
eend $?
|
|
||||||
}
|
|
||||||
|
|
||||||
src_install() {
|
|
||||||
local vimfiles=/usr/share/vim/vim${VIM_VERSION/.}
|
|
||||||
|
|
||||||
dobin src/gvim
|
|
||||||
dosym gvim /usr/bin/gvimdiff
|
|
||||||
dosym gvim /usr/bin/evim
|
|
||||||
dosym gvim /usr/bin/eview
|
|
||||||
dosym gvim /usr/bin/gview
|
|
||||||
dosym gvim /usr/bin/rgvim
|
|
||||||
dosym gvim /usr/bin/rgview
|
|
||||||
|
|
||||||
emake -C src DESTDIR="${D}" DATADIR="${EPREFIX}"/usr/share install-icons
|
|
||||||
|
|
||||||
dodir /usr/share/man/man1
|
|
||||||
echo ".so vim.1" > "${ED}"/usr/share/man/man1/gvim.1 || die "echo failed"
|
|
||||||
echo ".so vim.1" > "${ED}"/usr/share/man/man1/gview.1 || die "echo failed"
|
|
||||||
echo ".so vimdiff.1" > "${ED}"/usr/share/man/man1/gvimdiff.1 || \
|
|
||||||
die "echo failed"
|
|
||||||
|
|
||||||
insinto /etc/vim
|
|
||||||
newins "${FILESDIR}"/gvimrc-r1 gvimrc
|
|
||||||
eprefixify "${ED}"/etc/vim/gvimrc
|
|
||||||
|
|
||||||
# bash completion script, bug #79018.
|
|
||||||
newbashcomp "${FILESDIR}"/${PN}-completion ${PN}
|
|
||||||
|
|
||||||
# don't install vim desktop file
|
|
||||||
rm -v "${ED}"/usr/share/applications/vim.desktop || die "failed to remove vim.desktop"
|
|
||||||
}
|
|
||||||
|
|
||||||
pkg_postinst() {
|
|
||||||
# update documentation tags (from vim-doc.eclass)
|
|
||||||
update_vim_helptags
|
|
||||||
|
|
||||||
# update fdo mime stuff, bug #78394
|
|
||||||
xdg_desktop_database_update
|
|
||||||
|
|
||||||
# update icon cache
|
|
||||||
xdg_icon_cache_update
|
|
||||||
|
|
||||||
# call eselect vi update
|
|
||||||
eselect_vi_update
|
|
||||||
}
|
|
||||||
|
|
||||||
pkg_postrm() {
|
|
||||||
# update documentation tags (from vim-doc.eclass)
|
|
||||||
update_vim_helptags
|
|
||||||
|
|
||||||
# update fdo mime stuff, bug #78394
|
|
||||||
xdg_desktop_database_update
|
|
||||||
|
|
||||||
# update icon cache
|
|
||||||
xdg_icon_cache_update
|
|
||||||
|
|
||||||
# call eselect vi update
|
|
||||||
eselect_vi_update
|
|
||||||
}
|
|
@ -1,367 +0,0 @@
|
|||||||
# Copyright 1999-2021 Gentoo Authors
|
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
|
||||||
|
|
||||||
EAPI=7
|
|
||||||
VIM_VERSION="8.2"
|
|
||||||
PYTHON_COMPAT=( python3_{7,8} )
|
|
||||||
PYTHON_REQ_USE="threads(+)"
|
|
||||||
USE_RUBY="ruby24 ruby25 ruby26 ruby27"
|
|
||||||
|
|
||||||
inherit vim-doc flag-o-matic xdg-utils bash-completion-r1 prefix python-single-r1 ruby-single
|
|
||||||
|
|
||||||
if [[ ${PV} == 9999* ]]; then
|
|
||||||
inherit git-r3
|
|
||||||
EGIT_REPO_URI="https://github.com/vim/vim.git"
|
|
||||||
EGIT_CHECKOUT_DIR=${WORKDIR}/vim-${PV}
|
|
||||||
else
|
|
||||||
SRC_URI="https://github.com/vim/vim/archive/v${PV}.tar.gz -> vim-${PV}.tar.gz
|
|
||||||
https://dev.gentoo.org/~zlogene/distfiles/app-editors/vim/vim-8.2.0360-gentoo-patches.tar.xz"
|
|
||||||
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x86-solaris"
|
|
||||||
fi
|
|
||||||
|
|
||||||
DESCRIPTION="GUI version of the Vim text editor"
|
|
||||||
HOMEPAGE="https://vim.sourceforge.io/ https://github.com/vim/vim"
|
|
||||||
|
|
||||||
SLOT="0"
|
|
||||||
LICENSE="vim"
|
|
||||||
IUSE="acl aqua cscope debug gtk gtk2 lua luajit motif neXt netbeans nls perl python racket ruby selinux session sound tcl"
|
|
||||||
REQUIRED_USE="
|
|
||||||
python? ( ${PYTHON_REQUIRED_USE} )
|
|
||||||
"
|
|
||||||
|
|
||||||
RDEPEND="
|
|
||||||
~app-editors/vim-core-${PV}
|
|
||||||
>=app-eselect/eselect-vi-1.1
|
|
||||||
>=sys-libs/ncurses-5.2-r2:0=
|
|
||||||
x11-libs/libICE
|
|
||||||
x11-libs/libSM
|
|
||||||
x11-libs/libXext
|
|
||||||
x11-libs/libXt
|
|
||||||
acl? ( kernel_linux? ( sys-apps/acl ) )
|
|
||||||
!aqua? (
|
|
||||||
gtk? (
|
|
||||||
x11-libs/gtk+:3
|
|
||||||
x11-libs/libXft
|
|
||||||
)
|
|
||||||
!gtk? (
|
|
||||||
gtk2? (
|
|
||||||
>=x11-libs/gtk+-2.6:2
|
|
||||||
x11-libs/libXft
|
|
||||||
)
|
|
||||||
!gtk2? (
|
|
||||||
motif? ( >=x11-libs/motif-2.3:0 )
|
|
||||||
!motif? (
|
|
||||||
neXt? ( x11-libs/neXtaw )
|
|
||||||
!neXt? ( x11-libs/libXaw )
|
|
||||||
)
|
|
||||||
)
|
|
||||||
)
|
|
||||||
)
|
|
||||||
cscope? ( dev-util/cscope )
|
|
||||||
lua? (
|
|
||||||
luajit? ( dev-lang/luajit:2= )
|
|
||||||
!luajit? ( dev-lang/lua:0[deprecated] )
|
|
||||||
)
|
|
||||||
nls? ( virtual/libintl )
|
|
||||||
perl? ( dev-lang/perl:= )
|
|
||||||
python? ( ${PYTHON_DEPS} )
|
|
||||||
racket? ( dev-scheme/racket )
|
|
||||||
ruby? ( ${RUBY_DEPS} )
|
|
||||||
selinux? ( sys-libs/libselinux )
|
|
||||||
session? ( x11-libs/libSM )
|
|
||||||
sound? ( media-libs/libcanberra )
|
|
||||||
tcl? ( dev-lang/tcl:0= )
|
|
||||||
"
|
|
||||||
DEPEND="${RDEPEND}
|
|
||||||
sys-devel/autoconf
|
|
||||||
virtual/pkgconfig
|
|
||||||
nls? ( sys-devel/gettext )
|
|
||||||
"
|
|
||||||
|
|
||||||
# various failures (bugs #630042 and #682320)
|
|
||||||
RESTRICT="test"
|
|
||||||
|
|
||||||
S=${WORKDIR}/vim-${PV}
|
|
||||||
|
|
||||||
pkg_setup() {
|
|
||||||
# people with broken alphabets run into trouble. bug 82186.
|
|
||||||
unset LANG LC_ALL
|
|
||||||
export LC_COLLATE="C"
|
|
||||||
|
|
||||||
# Gnome sandbox silliness. bug #114475.
|
|
||||||
mkdir -p "${T}"/home || die
|
|
||||||
export HOME="${T}"/home
|
|
||||||
|
|
||||||
use python && python-single-r1_pkg_setup
|
|
||||||
}
|
|
||||||
|
|
||||||
src_prepare() {
|
|
||||||
if [[ ${PV} != 9999* ]]; then
|
|
||||||
# Gentoo patches to fix runtime issues, cross-compile errors, etc
|
|
||||||
eapply "${WORKDIR}"/patches/
|
|
||||||
fi
|
|
||||||
|
|
||||||
# Fixup a script to use awk instead of nawk
|
|
||||||
sed -i -e \
|
|
||||||
'1s|.*|#!'"${EPREFIX}"'/usr/bin/awk -f|' \
|
|
||||||
"${S}"/runtime/tools/mve.awk || die "mve.awk sed failed"
|
|
||||||
|
|
||||||
# Read vimrc and gvimrc from /etc/vim
|
|
||||||
echo '#define SYS_VIMRC_FILE "'${EPREFIX}'/etc/vim/vimrc"' \
|
|
||||||
>> "${S}"/src/feature.h || die "echo failed"
|
|
||||||
echo '#define SYS_GVIMRC_FILE "'${EPREFIX}'/etc/vim/gvimrc"' \
|
|
||||||
>> "${S}"/src/feature.h || die "echo failed"
|
|
||||||
|
|
||||||
# Use exuberant ctags which installs as /usr/bin/exuberant-ctags.
|
|
||||||
# Hopefully this pattern won't break for a while at least.
|
|
||||||
# This fixes bug 29398 (27 Sep 2003 agriffis)
|
|
||||||
sed -i -e \
|
|
||||||
's/\<ctags\("\| [-*.]\)/exuberant-&/g' \
|
|
||||||
"${S}"/runtime/doc/syntax.txt \
|
|
||||||
"${S}"/runtime/doc/tagsrch.txt \
|
|
||||||
"${S}"/runtime/doc/usr_29.txt \
|
|
||||||
"${S}"/runtime/menu.vim \
|
|
||||||
"${S}"/src/configure.ac || die 'sed failed'
|
|
||||||
|
|
||||||
# Don't be fooled by /usr/include/libc.h. When found, vim thinks
|
|
||||||
# this is NeXT, but it's actually just a file in dev-libs/9libs
|
|
||||||
# This fixes bug 43885 (20 Mar 2004 agriffis)
|
|
||||||
sed -i -e \
|
|
||||||
's/ libc\.h / /' "${S}"/src/configure.ac || die 'sed failed'
|
|
||||||
|
|
||||||
# gcc on sparc32 has this, uhm, interesting problem with detecting EOF
|
|
||||||
# correctly. To avoid some really entertaining error messages about stuff
|
|
||||||
# which isn't even in the source file being invalid, we'll do some trickery
|
|
||||||
# to make the error never occur. bug 66162 (02 October 2004 ciaranm)
|
|
||||||
find "${S}" -name '*.c' | while read c; do
|
|
||||||
echo >> "$c" || die "echo failed"
|
|
||||||
done
|
|
||||||
|
|
||||||
# Try to avoid sandbox problems. Bug #114475.
|
|
||||||
if [[ -d "${S}"/src/po ]]; then
|
|
||||||
sed -i -e \
|
|
||||||
'/-S check.vim/s,..VIM.,ln -s $(VIM) testvim \; ./testvim -X,' \
|
|
||||||
"${S}"/src/po/Makefile || die
|
|
||||||
fi
|
|
||||||
|
|
||||||
cp -v "${S}"/src/config.mk.dist "${S}"/src/auto/config.mk || die "cp failed"
|
|
||||||
|
|
||||||
# Bug #378107 - Build properly with >=perl-core/ExtUtils-ParseXS-3.20.0
|
|
||||||
sed -i -e \
|
|
||||||
"s:\\\$(PERLLIB)/ExtUtils/xsubpp:${EPREFIX}/usr/bin/xsubpp:" \
|
|
||||||
"${S}"/src/Makefile || die 'sed for ExtUtils-ParseXS failed'
|
|
||||||
|
|
||||||
eapply_user
|
|
||||||
}
|
|
||||||
|
|
||||||
src_configure() {
|
|
||||||
local myconf=()
|
|
||||||
|
|
||||||
# Fix bug 37354: Disallow -funroll-all-loops on amd64
|
|
||||||
# Bug 57859 suggests that we want to do this for all archs
|
|
||||||
filter-flags -funroll-all-loops
|
|
||||||
|
|
||||||
# Fix bug 76331: -O3 causes problems, use -O2 instead. We'll do this for
|
|
||||||
# everyone since previous flag filtering bugs have turned out to affect
|
|
||||||
# multiple archs...
|
|
||||||
replace-flags -O3 -O2
|
|
||||||
|
|
||||||
# Fix bug 18245: Prevent "make" from the following chain:
|
|
||||||
# (1) Notice configure.ac is newer than auto/configure
|
|
||||||
# (2) Rebuild auto/configure
|
|
||||||
# (3) Notice auto/configure is newer than auto/config.mk
|
|
||||||
# (4) Run ./configure (with wrong args) to remake auto/config.mk
|
|
||||||
sed -i -e \
|
|
||||||
's# auto/config\.mk:#:#' src/Makefile || die "Makefile sed failed"
|
|
||||||
rm -v src/auto/configure || die "rm failed"
|
|
||||||
emake -j1 -C src autoconf
|
|
||||||
|
|
||||||
# This should fix a sandbox violation (see bug 24447). The hvc
|
|
||||||
# things are for ppc64, see bug 86433.
|
|
||||||
local file
|
|
||||||
for file in /dev/pty/s* /dev/console /dev/hvc/* /dev/hvc*; do
|
|
||||||
if [[ -e ${file} ]]; then
|
|
||||||
addwrite $file
|
|
||||||
fi
|
|
||||||
done
|
|
||||||
|
|
||||||
use debug && append-flags "-DDEBUG"
|
|
||||||
|
|
||||||
myconf=(
|
|
||||||
--with-features=huge
|
|
||||||
--disable-gpm
|
|
||||||
--with-gnome=no
|
|
||||||
$(use_enable sound canberra)
|
|
||||||
$(use_enable acl)
|
|
||||||
$(use_enable cscope)
|
|
||||||
$(use_enable lua luainterp)
|
|
||||||
$(use_with luajit)
|
|
||||||
$(use_enable netbeans)
|
|
||||||
$(use_enable nls)
|
|
||||||
$(use_enable perl perlinterp)
|
|
||||||
$(use_enable python python3interp)
|
|
||||||
$(use_with python python3-command "${PYTHON}")
|
|
||||||
$(use_enable racket mzschemeinterp)
|
|
||||||
$(use_enable ruby rubyinterp)
|
|
||||||
$(use_enable selinux)
|
|
||||||
$(use_enable session xsmp)
|
|
||||||
$(use_enable tcl tclinterp)
|
|
||||||
)
|
|
||||||
|
|
||||||
# --with-features=huge forces on cscope even if we --disable it. We need
|
|
||||||
# to sed this out to avoid screwiness. (1 Sep 2004 ciaranm)
|
|
||||||
if ! use cscope; then
|
|
||||||
sed -i -e \
|
|
||||||
'/# define FEAT_CSCOPE/d' src/feature.h || die "couldn't disable cscope"
|
|
||||||
fi
|
|
||||||
|
|
||||||
# gvim's GUI preference order is as follows:
|
|
||||||
# aqua CARBON (not tested)
|
|
||||||
# -aqua gtk GTK3
|
|
||||||
# -aqua -gtk gtk2 GTK2
|
|
||||||
# -aqua -gtk -gtk motif MOTIF
|
|
||||||
# -aqua -gtk -gtk -motif neXt NEXTAW
|
|
||||||
# -aqua -gtk -gtk -motif -neXt ATHENA
|
|
||||||
echo ; echo
|
|
||||||
if use aqua; then
|
|
||||||
einfo "Building gvim with the Carbon GUI"
|
|
||||||
myconf+=(
|
|
||||||
--enable-darwin
|
|
||||||
--enable-gui=carbon
|
|
||||||
)
|
|
||||||
elif use gtk; then
|
|
||||||
myconf+=( --enable-gtk3-check )
|
|
||||||
einfo "Building gvim with the gtk+-3 GUI"
|
|
||||||
myconf+=( --enable-gui=gtk3 )
|
|
||||||
elif use gtk2; then
|
|
||||||
myconf+=( --enable-gtk2-check )
|
|
||||||
einfo "Building gvim with the gtk+-2 GUI"
|
|
||||||
myconf+=( --enable-gui=gtk2 )
|
|
||||||
elif use motif; then
|
|
||||||
einfo "Building gvim with the MOTIF GUI"
|
|
||||||
myconf+=( --enable-gui=motif )
|
|
||||||
elif use neXt; then
|
|
||||||
einfo "Building gvim with the neXtaw GUI"
|
|
||||||
myconf+=( --enable-gui=nextaw )
|
|
||||||
else
|
|
||||||
einfo "Building gvim with the Athena GUI"
|
|
||||||
myconf+=( --enable-gui=athena )
|
|
||||||
fi
|
|
||||||
echo ; echo
|
|
||||||
|
|
||||||
# let package manager strip binaries
|
|
||||||
export ac_cv_prog_STRIP="$(type -P true ) faking strip"
|
|
||||||
|
|
||||||
# keep prefix env contained within the EPREFIX
|
|
||||||
use prefix && myconf+=( --without-local-dir )
|
|
||||||
|
|
||||||
if [[ ${CHOST} == *-interix* ]]; then
|
|
||||||
# avoid finding of this function, to avoid having to patch either
|
|
||||||
# configure or the source, which would be much more hackish.
|
|
||||||
# after all vim does it right, only interix is badly broken (again)
|
|
||||||
export ac_cv_func_sigaction=no
|
|
||||||
fi
|
|
||||||
|
|
||||||
econf \
|
|
||||||
--with-modified-by=Gentoo-${PVR} \
|
|
||||||
--with-vim-name=gvim \
|
|
||||||
--with-x \
|
|
||||||
"${myconf[@]}"
|
|
||||||
}
|
|
||||||
|
|
||||||
src_compile() {
|
|
||||||
# The following allows emake to be used
|
|
||||||
emake -j1 -C src auto/osdef.h objects
|
|
||||||
|
|
||||||
emake
|
|
||||||
}
|
|
||||||
|
|
||||||
src_test() {
|
|
||||||
einfo
|
|
||||||
einfo "Starting vim tests. Several error messages will be shown"
|
|
||||||
einfo "while the tests run. This is normal behaviour and does not"
|
|
||||||
einfo "indicate a fault."
|
|
||||||
einfo
|
|
||||||
ewarn "If the tests fail, your terminal may be left in a strange"
|
|
||||||
ewarn "state. Usually, running 'reset' will fix this."
|
|
||||||
einfo
|
|
||||||
|
|
||||||
# Don't let vim talk to X
|
|
||||||
unset DISPLAY
|
|
||||||
|
|
||||||
# Make gvim not try to connect to X. See :help gui-x11-start in vim for how
|
|
||||||
# this evil trickery works.
|
|
||||||
ln -s "${S}"/src/gvim "${S}"/src/testvim || die
|
|
||||||
|
|
||||||
# Make sure our VIMPROG is used.
|
|
||||||
sed -i -e 's:\.\./vim:../testvim:' src/testdir/test49.vim || die
|
|
||||||
|
|
||||||
# Don't do additional GUI tests.
|
|
||||||
emake -j1 VIMPROG=../testvim -C src/testdir nongui
|
|
||||||
}
|
|
||||||
|
|
||||||
# Call eselect vi update with --if-unset
|
|
||||||
# to respect user's choice (bug 187449)
|
|
||||||
eselect_vi_update() {
|
|
||||||
einfo "Calling eselect vi update..."
|
|
||||||
eselect vi update --if-unset
|
|
||||||
eend $?
|
|
||||||
}
|
|
||||||
|
|
||||||
src_install() {
|
|
||||||
local vimfiles=/usr/share/vim/vim${VIM_VERSION/.}
|
|
||||||
|
|
||||||
dobin src/gvim
|
|
||||||
dosym gvim /usr/bin/gvimdiff
|
|
||||||
dosym gvim /usr/bin/evim
|
|
||||||
dosym gvim /usr/bin/eview
|
|
||||||
dosym gvim /usr/bin/gview
|
|
||||||
dosym gvim /usr/bin/rgvim
|
|
||||||
dosym gvim /usr/bin/rgview
|
|
||||||
|
|
||||||
emake -C src DESTDIR="${D}" DATADIR="${EPREFIX}"/usr/share install-icons
|
|
||||||
|
|
||||||
dodir /usr/share/man/man1
|
|
||||||
echo ".so vim.1" > "${ED}"/usr/share/man/man1/gvim.1 || die "echo failed"
|
|
||||||
echo ".so vim.1" > "${ED}"/usr/share/man/man1/gview.1 || die "echo failed"
|
|
||||||
echo ".so vimdiff.1" > "${ED}"/usr/share/man/man1/gvimdiff.1 || \
|
|
||||||
die "echo failed"
|
|
||||||
|
|
||||||
insinto /etc/vim
|
|
||||||
newins "${FILESDIR}"/gvimrc-r1 gvimrc
|
|
||||||
eprefixify "${ED}"/etc/vim/gvimrc
|
|
||||||
|
|
||||||
# bash completion script, bug #79018.
|
|
||||||
newbashcomp "${FILESDIR}"/${PN}-completion ${PN}
|
|
||||||
|
|
||||||
# don't install vim desktop file
|
|
||||||
rm -v "${ED}"/usr/share/applications/vim.desktop || die "failed to remove vim.desktop"
|
|
||||||
}
|
|
||||||
|
|
||||||
pkg_postinst() {
|
|
||||||
# update documentation tags (from vim-doc.eclass)
|
|
||||||
update_vim_helptags
|
|
||||||
|
|
||||||
# update fdo mime stuff, bug #78394
|
|
||||||
xdg_desktop_database_update
|
|
||||||
|
|
||||||
# update icon cache
|
|
||||||
xdg_icon_cache_update
|
|
||||||
|
|
||||||
# call eselect vi update
|
|
||||||
eselect_vi_update
|
|
||||||
}
|
|
||||||
|
|
||||||
pkg_postrm() {
|
|
||||||
# update documentation tags (from vim-doc.eclass)
|
|
||||||
update_vim_helptags
|
|
||||||
|
|
||||||
# update fdo mime stuff, bug #78394
|
|
||||||
xdg_desktop_database_update
|
|
||||||
|
|
||||||
# update icon cache
|
|
||||||
xdg_icon_cache_update
|
|
||||||
|
|
||||||
# call eselect vi update
|
|
||||||
eselect_vi_update
|
|
||||||
}
|
|
@ -1,15 +1,8 @@
|
|||||||
AUX gvim.svg 4584 BLAKE2B 53d896f90404df6b185d1f4404c22e6bd6035722beb61d2223a6003e7c274cdfd4d97d7274346427d873a8e98a4ad32321c0a3ceab2b436124f90c707045b233 SHA512 78f5fb460281ab5d8b0ff6e28bf24231c1ade5ae46caab2e2d345d82b983ada7d945dd7d603b3e470c77dbd1eb329027852b6ba22afc441d64a1b66a1ee3867a
|
AUX gvim.svg 4584 BLAKE2B 53d896f90404df6b185d1f4404c22e6bd6035722beb61d2223a6003e7c274cdfd4d97d7274346427d873a8e98a4ad32321c0a3ceab2b436124f90c707045b233 SHA512 78f5fb460281ab5d8b0ff6e28bf24231c1ade5ae46caab2e2d345d82b983ada7d945dd7d603b3e470c77dbd1eb329027852b6ba22afc441d64a1b66a1ee3867a
|
||||||
AUX vimrc-r5 7337 BLAKE2B 3f28db016b3956b4c5e2833ff4440417d3ccdc446618a776119513549c0b9831d0eb4bfb9abf992e436508b95f0586f2b4fc30ddba7f2b595574a5c2ccc257c8 SHA512 b9cc07386b97e6042166b11cd6270d4c3134eb816ff396ad544cfb14b349d79b32b5a07b5995580aea607b7936eef0dfd5ab1dc7e158dea26afc0c944fae8e3c
|
AUX vimrc-r5 7337 BLAKE2B 3f28db016b3956b4c5e2833ff4440417d3ccdc446618a776119513549c0b9831d0eb4bfb9abf992e436508b95f0586f2b4fc30ddba7f2b595574a5c2ccc257c8 SHA512 b9cc07386b97e6042166b11cd6270d4c3134eb816ff396ad544cfb14b349d79b32b5a07b5995580aea607b7936eef0dfd5ab1dc7e158dea26afc0c944fae8e3c
|
||||||
AUX xxd-completion 461 BLAKE2B 1f36c4877fffd68e951d80c1a64cd2d458d92555a99fd06e29513da8caa6c28c27e44131b2873258e3ff5a0ab232d66f75a8f051ccf7a4d940b3b0102e6967dd SHA512 fc92426ea657e86ff765aa5a60736cdc70db938156dd8946db0a30c54d3f557bd8af421f1713bd750e779ccacd73f8f290a12a5e71ed48259fe1e6dece2de19c
|
AUX xxd-completion 461 BLAKE2B 1f36c4877fffd68e951d80c1a64cd2d458d92555a99fd06e29513da8caa6c28c27e44131b2873258e3ff5a0ab232d66f75a8f051ccf7a4d940b3b0102e6967dd SHA512 fc92426ea657e86ff765aa5a60736cdc70db938156dd8946db0a30c54d3f557bd8af421f1713bd750e779ccacd73f8f290a12a5e71ed48259fe1e6dece2de19c
|
||||||
DIST vim-8.2.0210-gentoo-patches.tar.bz2 2755 BLAKE2B 21f1fb97c95d4f2eb45968783add80e11011be12fd2d701c267644a44da9782214828e022667c1a0a2ed08aedb7c12b6756a8b8adea4db5c7a3cb7dc94b75fd8 SHA512 c942c33dc033d63569e07523fa7652d1c53685aa64f9e7a4bf4e6126012790ec0ec820a7a9209cfe64096679ba8a9f9394ed92696a933e3c8be10658d16b8a7b
|
|
||||||
DIST vim-8.2.0360-gentoo-patches.tar.xz 2612 BLAKE2B a9273a686b31dd873b25bfc07f7bc254f11038bde275ae4e6f56513a14e0268fdc1032ae847d1d7f8539f8a657217011770ccb4685998f34722383ec7bfb1a15 SHA512 00bc8eb8b20a4a6f3bbd179bb90d42fa6727c8eaae5b625e95e52c33638d456ef36d06b51c542ecaffb237c0b4f7aa72dc3bae7fe00144d55ab0d2fa51950f3b
|
DIST vim-8.2.0360-gentoo-patches.tar.xz 2612 BLAKE2B a9273a686b31dd873b25bfc07f7bc254f11038bde275ae4e6f56513a14e0268fdc1032ae847d1d7f8539f8a657217011770ccb4685998f34722383ec7bfb1a15 SHA512 00bc8eb8b20a4a6f3bbd179bb90d42fa6727c8eaae5b625e95e52c33638d456ef36d06b51c542ecaffb237c0b4f7aa72dc3bae7fe00144d55ab0d2fa51950f3b
|
||||||
DIST vim-8.2.0360.tar.gz 14842830 BLAKE2B fe3a13cb4bef4ada1bd13cdc80aa9a4ab275d1ff16a7f5308109adc7c5a3459393e1c8153fa32a972141b27cce3aaff50c59416d1ba32e4dca03074be49705a9 SHA512 183bcb5cc73290193de99beb69b56b64efa37db9d905c6e76a51ac727f4447f76346dde632e2dfae9d289abb4b9ca11a14f7e350eaa699fc2c3c7c2e35fc20b2
|
|
||||||
DIST vim-8.2.0508.tar.gz 14885937 BLAKE2B 70d9cbaa69fac168e6719ef6ee0fadef21bc0b4c17e3c01d983cfe7d75ec831089845aae2f4ca2b5eba02ea24664dc968b0d472254db45e13a5a1f9cdc62253a SHA512 0cbe7cb8d16ac9ed2e6b2f7031bf3b962bcfa199ef7421dfa549fd53f42eb00fc20a14d0df13fcdb4b5f06c88e659086f8d277797824e628133ebd66c72232b6
|
|
||||||
DIST vim-8.2.0638.tar.gz 14922315 BLAKE2B 12a8a272e1167ec845d2a5ab3b884f8d327e7b73a49fad2c7cafcd0bd5690c8c21d6b9e1b6211fd6ef8908ea93019c483ec5de74b50cf1fea8fbfc6f63b751df SHA512 4fc3aca0f3337b35d98281d1c7d5cd733bf14fbd1c3e382208ff950199125b6e4606bb7487310caf793eb6b2d1c6e719bce19b53d4d55a26354649c13b727a92
|
|
||||||
DIST vim-8.2.0814.tar.gz 14953478 BLAKE2B fd4155ec749bd9a705e8114ff7f8cc321182c9286733ff2f665e265ec0af830f9e70c730b8d0215f6db1f73a8e2f878d22932a72c8dbfe921591be7adcdaab00 SHA512 4ddd9e2d30719f931cadd1a4de5700736f641f4b074378d9ea1462a90b81975ce8e8c3ca2e3a1e15ac0288824eef5b0f0a3e31482f7637c450c6d7e52c8f40d2
|
DIST vim-8.2.0814.tar.gz 14953478 BLAKE2B fd4155ec749bd9a705e8114ff7f8cc321182c9286733ff2f665e265ec0af830f9e70c730b8d0215f6db1f73a8e2f878d22932a72c8dbfe921591be7adcdaab00 SHA512 4ddd9e2d30719f931cadd1a4de5700736f641f4b074378d9ea1462a90b81975ce8e8c3ca2e3a1e15ac0288824eef5b0f0a3e31482f7637c450c6d7e52c8f40d2
|
||||||
EBUILD vim-core-8.2.0360.ebuild 6875 BLAKE2B 6881ab9720a664ec105daa3159f359ef4daf63e6c687d235b0c3eecce4a9629be5f06a887cc4fce0e621a39a5eda3f34bd7355d2084f8b7719bf97a2caf820d4 SHA512 3502ea1efcbd9be140367dbaa8bbd22fd069e2a72fa82be10ab6953019d7840912db332b74adc09934c5e3e4a4d460214b939b3c8ecd4a4b4ca464e7db39480b
|
|
||||||
EBUILD vim-core-8.2.0508.ebuild 6901 BLAKE2B 967b665e303eb59ea0bff03db8c38b5b6c9828c0c019303422191837ccff5bc1f8ec4ae737e2e8312169266f1bd70b8852c78e5e8ac79cca3e996bcc85f6701b SHA512 dffbb03dd8d94454a718bf280859100b87199fc3fa6b9d8d6758219e573bc8abefc8ad75897b78687dc1c4053d162de56c63da04d1c7cb7cd73b54fe9d60c51b
|
|
||||||
EBUILD vim-core-8.2.0638.ebuild 6901 BLAKE2B 967b665e303eb59ea0bff03db8c38b5b6c9828c0c019303422191837ccff5bc1f8ec4ae737e2e8312169266f1bd70b8852c78e5e8ac79cca3e996bcc85f6701b SHA512 dffbb03dd8d94454a718bf280859100b87199fc3fa6b9d8d6758219e573bc8abefc8ad75897b78687dc1c4053d162de56c63da04d1c7cb7cd73b54fe9d60c51b
|
|
||||||
EBUILD vim-core-8.2.0814.ebuild 6894 BLAKE2B c207d2a9d26a1642f581010111502c6f391d1626fa89ea1aae4e45b7bcc628094d930763bac5409f70aa74efc9247a4c329ea0e27cb7701d2ca34f7e7d5a2146 SHA512 cb6324e25e7fc0713500ad39750a0af3bf4dfea4e0b396cc08193189d89df726305455348a9a1b980e3abcae355cc272d186118d55588cf27166d94cc07cbcc9
|
EBUILD vim-core-8.2.0814.ebuild 6894 BLAKE2B c207d2a9d26a1642f581010111502c6f391d1626fa89ea1aae4e45b7bcc628094d930763bac5409f70aa74efc9247a4c329ea0e27cb7701d2ca34f7e7d5a2146 SHA512 cb6324e25e7fc0713500ad39750a0af3bf4dfea4e0b396cc08193189d89df726305455348a9a1b980e3abcae355cc272d186118d55588cf27166d94cc07cbcc9
|
||||||
EBUILD vim-core-9999.ebuild 6882 BLAKE2B 3ef7200aecfa15b15e5ed1871606b6474aa2e06d7ce4292312c90fbab0792752ee0839014c82bba841deb7d0b1702cc38c6001945e5cc1beb8bac45f02912939 SHA512 4b4b4d6d2c3cd1ce9f5e44c63dd7939c9f75685dd2101709d396a779ee45c90881191bd99cd07fd711c0c7234bcc99aca80b808955f8e30b7b08d16839af1aaf
|
EBUILD vim-core-9999.ebuild 6882 BLAKE2B 3ef7200aecfa15b15e5ed1871606b6474aa2e06d7ce4292312c90fbab0792752ee0839014c82bba841deb7d0b1702cc38c6001945e5cc1beb8bac45f02912939 SHA512 4b4b4d6d2c3cd1ce9f5e44c63dd7939c9f75685dd2101709d396a779ee45c90881191bd99cd07fd711c0c7234bcc99aca80b808955f8e30b7b08d16839af1aaf
|
||||||
MISC metadata.xml 372 BLAKE2B 6a58d097c342a656a226d27d236fb952b31fb4c71a29333a60ec42db7b8bb1ae601e3c717d9c0fda939ff17eab70be2150a0dfeb26ca5b3d786c9b6050efde86 SHA512 63bca13db3d5830cb58e6a848eb444e72ceaf442bf41be1858d80805dc36cc9b9cd363f480feb8dfe1c7bf09cf4685a665657353867742d13f10fd133eba66f2
|
MISC metadata.xml 372 BLAKE2B 6a58d097c342a656a226d27d236fb952b31fb4c71a29333a60ec42db7b8bb1ae601e3c717d9c0fda939ff17eab70be2150a0dfeb26ca5b3d786c9b6050efde86 SHA512 63bca13db3d5830cb58e6a848eb444e72ceaf442bf41be1858d80805dc36cc9b9cd363f480feb8dfe1c7bf09cf4685a665657353867742d13f10fd133eba66f2
|
||||||
|
@ -1,225 +0,0 @@
|
|||||||
# Copyright 1999-2021 Gentoo Authors
|
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
|
||||||
|
|
||||||
EAPI=7
|
|
||||||
VIM_VERSION="8.2"
|
|
||||||
inherit estack vim-doc flag-o-matic bash-completion-r1 prefix desktop xdg-utils
|
|
||||||
|
|
||||||
if [[ ${PV} == 9999* ]] ; then
|
|
||||||
inherit git-r3
|
|
||||||
EGIT_REPO_URI="https://github.com/vim/vim.git"
|
|
||||||
EGIT_CHECKOUT_DIR=${WORKDIR}/vim-${PV}
|
|
||||||
else
|
|
||||||
SRC_URI="https://github.com/vim/vim/archive/v${PV}.tar.gz -> vim-${PV}.tar.gz
|
|
||||||
https://dev.gentoo.org/~radhermit/vim/vim-8.2.0210-gentoo-patches.tar.bz2"
|
|
||||||
KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~x64-cygwin ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
|
|
||||||
fi
|
|
||||||
|
|
||||||
DESCRIPTION="vim and gvim shared files"
|
|
||||||
HOMEPAGE="https://vim.sourceforge.io/ https://github.com/vim/vim"
|
|
||||||
|
|
||||||
SLOT="0"
|
|
||||||
LICENSE="vim"
|
|
||||||
IUSE="nls acl minimal"
|
|
||||||
|
|
||||||
DEPEND="sys-devel/autoconf"
|
|
||||||
# avoid icon file collision bug #673880
|
|
||||||
RDEPEND="!!<app-editors/gvim-8.1.0648"
|
|
||||||
PDEPEND="!minimal? ( app-vim/gentoo-syntax )"
|
|
||||||
|
|
||||||
S=${WORKDIR}/vim-${PV}
|
|
||||||
|
|
||||||
pkg_setup() {
|
|
||||||
# people with broken alphabets run into trouble. bug 82186.
|
|
||||||
unset LANG LC_ALL
|
|
||||||
export LC_COLLATE="C"
|
|
||||||
|
|
||||||
# Gnome sandbox silliness. bug #114475.
|
|
||||||
mkdir -p "${T}"/home || die "mkdir -p failed"
|
|
||||||
export HOME="${T}"/home
|
|
||||||
}
|
|
||||||
|
|
||||||
src_prepare() {
|
|
||||||
if [[ ${PV} != 9999* ]] ; then
|
|
||||||
# Gentoo patches to fix runtime issues, cross-compile errors, etc
|
|
||||||
eapply "${WORKDIR}"/patches
|
|
||||||
fi
|
|
||||||
|
|
||||||
# Fixup a script to use awk instead of nawk
|
|
||||||
sed -i \
|
|
||||||
-e '1s|.*|#!'"${EPREFIX}"'/usr/bin/awk -f|' \
|
|
||||||
"${S}"/runtime/tools/mve.awk || die "sed failed"
|
|
||||||
|
|
||||||
# See #77841. We remove this file after the tarball extraction.
|
|
||||||
rm -v "${S}"/runtime/tools/vimspell.sh || die "rm failed"
|
|
||||||
|
|
||||||
# Read vimrc and gvimrc from /etc/vim
|
|
||||||
echo '#define SYS_VIMRC_FILE "'${EPREFIX}'/etc/vim/vimrc"' >> "${S}"/src/feature.h
|
|
||||||
echo '#define SYS_GVIMRC_FILE "'${EPREFIX}'/etc/vim/gvimrc"' >> "${S}"/src/feature.h
|
|
||||||
|
|
||||||
# Use exuberant ctags which installs as /usr/bin/exuberant-ctags.
|
|
||||||
# Hopefully this pattern won't break for a while at least.
|
|
||||||
# This fixes bug 29398 (27 Sep 2003 agriffis)
|
|
||||||
sed -i 's/\<ctags\("\| [-*.]\)/exuberant-&/g' \
|
|
||||||
"${S}"/runtime/doc/syntax.txt \
|
|
||||||
"${S}"/runtime/doc/tagsrch.txt \
|
|
||||||
"${S}"/runtime/doc/usr_29.txt \
|
|
||||||
"${S}"/runtime/menu.vim \
|
|
||||||
"${S}"/src/configure.ac || die 'sed failed'
|
|
||||||
|
|
||||||
# Don't be fooled by /usr/include/libc.h. When found, vim thinks
|
|
||||||
# this is NeXT, but it's actually just a file in dev-libs/9libs
|
|
||||||
# This fixes bug 43885 (20 Mar 2004 agriffis)
|
|
||||||
sed -i 's/ libc\.h / /' "${S}"/src/configure.ac || die 'sed failed'
|
|
||||||
|
|
||||||
# gcc on sparc32 has this, uhm, interesting problem with detecting EOF
|
|
||||||
# correctly. To avoid some really entertaining error messages about stuff
|
|
||||||
# which isn't even in the source file being invalid, we'll do some trickery
|
|
||||||
# to make the error never occur. bug 66162 (02 October 2004 ciaranm)
|
|
||||||
find "${S}" -name '*.c' | while read c; do
|
|
||||||
echo >> "$c" || die "echo failed"
|
|
||||||
done
|
|
||||||
|
|
||||||
# Try to avoid sandbox problems. Bug #114475.
|
|
||||||
if [[ -d "${S}"/src/po ]]; then
|
|
||||||
sed -i -e \
|
|
||||||
'/-S check.vim/s,..VIM.,ln -s $(VIM) testvim \; ./testvim -X,' \
|
|
||||||
"${S}"/src/po/Makefile || die "sed failed"
|
|
||||||
fi
|
|
||||||
|
|
||||||
cp -v "${S}"/src/config.mk.dist "${S}"/src/auto/config.mk || die "cp failed"
|
|
||||||
|
|
||||||
# Bug #378107 - Build properly with >=perl-core/ExtUtils-ParseXS-3.20.0
|
|
||||||
sed -i -e \
|
|
||||||
"s:\\\$(PERLLIB)/ExtUtils/xsubpp:${EPREFIX}/usr/bin/xsubpp:" \
|
|
||||||
"${S}"/src/Makefile || die 'sed for ExtUtils-ParseXS failed'
|
|
||||||
|
|
||||||
eapply_user
|
|
||||||
}
|
|
||||||
|
|
||||||
src_configure() {
|
|
||||||
local myconf
|
|
||||||
|
|
||||||
# Fix bug 37354: Disallow -funroll-all-loops on amd64
|
|
||||||
# Bug 57859 suggests that we want to do this for all archs
|
|
||||||
filter-flags -funroll-all-loops
|
|
||||||
|
|
||||||
# Fix bug 76331: -O3 causes problems, use -O2 instead. We'll do this for
|
|
||||||
# everyone since previous flag filtering bugs have turned out to affect
|
|
||||||
# multiple archs...
|
|
||||||
replace-flags -O3 -O2
|
|
||||||
|
|
||||||
# Fix bug 18245: Prevent "make" from the following chain:
|
|
||||||
# (1) Notice configure.ac is newer than auto/configure
|
|
||||||
# (2) Rebuild auto/configure
|
|
||||||
# (3) Notice auto/configure is newer than auto/config.mk
|
|
||||||
# (4) Run ./configure (with wrong args) to remake auto/config.mk
|
|
||||||
sed -i 's# auto/config\.mk:#:#' src/Makefile || die "Makefile sed failed"
|
|
||||||
|
|
||||||
# Remove src/auto/configure file.
|
|
||||||
rm -v src/auto/configure || die "rm configure failed"
|
|
||||||
|
|
||||||
emake -j1 -C src autoconf
|
|
||||||
|
|
||||||
# This should fix a sandbox violation (see bug 24447). The hvc
|
|
||||||
# things are for ppc64, see bug 86433.
|
|
||||||
for file in /dev/pty/s* /dev/console /dev/hvc/* /dev/hvc*; do
|
|
||||||
if [[ -e "${file}" ]]; then
|
|
||||||
addwrite $file
|
|
||||||
fi
|
|
||||||
done
|
|
||||||
|
|
||||||
# Let Portage do the stripping. Some people like that.
|
|
||||||
export ac_cv_prog_STRIP="$(type -P true ) faking strip"
|
|
||||||
|
|
||||||
# Keep Gentoo Prefix env contained within the EPREFIX
|
|
||||||
use prefix && myconf+=" --without-local-dir"
|
|
||||||
|
|
||||||
econf \
|
|
||||||
--with-modified-by=Gentoo-${PVR} \
|
|
||||||
--enable-gui=no \
|
|
||||||
--without-x \
|
|
||||||
--disable-darwin \
|
|
||||||
--disable-perlinterp \
|
|
||||||
--disable-pythoninterp \
|
|
||||||
--disable-rubyinterp \
|
|
||||||
--disable-gpm \
|
|
||||||
--disable-selinux \
|
|
||||||
$(use_enable nls) \
|
|
||||||
$(use_enable acl) \
|
|
||||||
${myconf}
|
|
||||||
}
|
|
||||||
|
|
||||||
src_compile() {
|
|
||||||
emake -j1 -C src auto/osdef.h objects
|
|
||||||
emake tools
|
|
||||||
}
|
|
||||||
|
|
||||||
src_test() { :; }
|
|
||||||
|
|
||||||
src_install() {
|
|
||||||
local vimfiles=/usr/share/vim/vim${VIM_VERSION/.}
|
|
||||||
|
|
||||||
dodir /usr/{bin,share/{man/man1,vim}}
|
|
||||||
emake -C src \
|
|
||||||
installruntime \
|
|
||||||
installmanlinks \
|
|
||||||
installmacros \
|
|
||||||
installtutor \
|
|
||||||
installtutorbin \
|
|
||||||
installtools \
|
|
||||||
install-languages \
|
|
||||||
DESTDIR="${D}" \
|
|
||||||
BINDIR="${EPREFIX}"/usr/bin \
|
|
||||||
MANDIR="${EPREFIX}"/usr/share/man \
|
|
||||||
DATADIR="${EPREFIX}"/usr/share
|
|
||||||
|
|
||||||
keepdir ${vimfiles}/keymap
|
|
||||||
|
|
||||||
# default vimrc is installed by vim-core since it applies to
|
|
||||||
# both vim and gvim
|
|
||||||
insinto /etc/vim/
|
|
||||||
newins "${FILESDIR}"/vimrc-r5 vimrc
|
|
||||||
eprefixify "${ED}"/etc/vim/vimrc
|
|
||||||
|
|
||||||
if use minimal; then
|
|
||||||
# To save space, install only a subset of the files.
|
|
||||||
# Helps minimalize the livecd, bug 65144.
|
|
||||||
eshopts_push -s extglob
|
|
||||||
|
|
||||||
rm -rv "${ED}${vimfiles}"/{compiler,doc,ftplugin,indent} || die "rm failed"
|
|
||||||
rm -rv "${ED}${vimfiles}"/{macros,print,tools,tutor} || die "rm failed"
|
|
||||||
rm -v "${ED}"/usr/bin/vimtutor || die "rm failed"
|
|
||||||
|
|
||||||
local keep_colors="default"
|
|
||||||
ignore=$(rm -fr "${ED}${vimfiles}"/colors/!(${keep_colors}).vim )
|
|
||||||
|
|
||||||
local keep_syntax="conf|crontab|fstab|inittab|resolv|sshdconfig"
|
|
||||||
# tinkering with the next line might make bad things happen ...
|
|
||||||
keep_syntax="${keep_syntax}|syntax|nosyntax|synload"
|
|
||||||
ignore=$(rm -fr "${ED}${vimfiles}"/syntax/!(${keep_syntax}).vim )
|
|
||||||
|
|
||||||
eshopts_pop
|
|
||||||
fi
|
|
||||||
|
|
||||||
newbashcomp "${FILESDIR}"/xxd-completion xxd
|
|
||||||
|
|
||||||
# install gvim icon since both vim/gvim desktop files reference it
|
|
||||||
doicon -s scalable "${FILESDIR}"/gvim.svg
|
|
||||||
}
|
|
||||||
|
|
||||||
pkg_postinst() {
|
|
||||||
# update documentation tags (from vim-doc.eclass)
|
|
||||||
update_vim_helptags
|
|
||||||
|
|
||||||
# update icon cache
|
|
||||||
xdg_icon_cache_update
|
|
||||||
}
|
|
||||||
|
|
||||||
pkg_postrm() {
|
|
||||||
# Update documentation tags (from vim-doc.eclass)
|
|
||||||
update_vim_helptags
|
|
||||||
|
|
||||||
# update icon cache
|
|
||||||
xdg_icon_cache_update
|
|
||||||
}
|
|
@ -1,225 +0,0 @@
|
|||||||
# Copyright 1999-2021 Gentoo Authors
|
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
|
||||||
|
|
||||||
EAPI=7
|
|
||||||
VIM_VERSION="8.2"
|
|
||||||
inherit estack vim-doc flag-o-matic bash-completion-r1 prefix desktop xdg-utils
|
|
||||||
|
|
||||||
if [[ ${PV} == 9999* ]] ; then
|
|
||||||
inherit git-r3
|
|
||||||
EGIT_REPO_URI="https://github.com/vim/vim.git"
|
|
||||||
EGIT_CHECKOUT_DIR=${WORKDIR}/vim-${PV}
|
|
||||||
else
|
|
||||||
SRC_URI="https://github.com/vim/vim/archive/v${PV}.tar.gz -> vim-${PV}.tar.gz
|
|
||||||
https://dev.gentoo.org/~zlogene/distfiles/app-editors/vim/vim-8.2.0360-gentoo-patches.tar.xz"
|
|
||||||
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~x64-cygwin ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
|
|
||||||
fi
|
|
||||||
|
|
||||||
DESCRIPTION="vim and gvim shared files"
|
|
||||||
HOMEPAGE="https://vim.sourceforge.io/ https://github.com/vim/vim"
|
|
||||||
|
|
||||||
SLOT="0"
|
|
||||||
LICENSE="vim"
|
|
||||||
IUSE="nls acl minimal"
|
|
||||||
|
|
||||||
DEPEND="sys-devel/autoconf"
|
|
||||||
# avoid icon file collision bug #673880
|
|
||||||
RDEPEND="!!<app-editors/gvim-8.1.0648"
|
|
||||||
PDEPEND="!minimal? ( app-vim/gentoo-syntax )"
|
|
||||||
|
|
||||||
S=${WORKDIR}/vim-${PV}
|
|
||||||
|
|
||||||
pkg_setup() {
|
|
||||||
# people with broken alphabets run into trouble. bug 82186.
|
|
||||||
unset LANG LC_ALL
|
|
||||||
export LC_COLLATE="C"
|
|
||||||
|
|
||||||
# Gnome sandbox silliness. bug #114475.
|
|
||||||
mkdir -p "${T}"/home || die "mkdir -p failed"
|
|
||||||
export HOME="${T}"/home
|
|
||||||
}
|
|
||||||
|
|
||||||
src_prepare() {
|
|
||||||
if [[ ${PV} != 9999* ]] ; then
|
|
||||||
# Gentoo patches to fix runtime issues, cross-compile errors, etc
|
|
||||||
eapply "${WORKDIR}"/patches
|
|
||||||
fi
|
|
||||||
|
|
||||||
# Fixup a script to use awk instead of nawk
|
|
||||||
sed -i \
|
|
||||||
-e '1s|.*|#!'"${EPREFIX}"'/usr/bin/awk -f|' \
|
|
||||||
"${S}"/runtime/tools/mve.awk || die "sed failed"
|
|
||||||
|
|
||||||
# See #77841. We remove this file after the tarball extraction.
|
|
||||||
rm -v "${S}"/runtime/tools/vimspell.sh || die "rm failed"
|
|
||||||
|
|
||||||
# Read vimrc and gvimrc from /etc/vim
|
|
||||||
echo '#define SYS_VIMRC_FILE "'${EPREFIX}'/etc/vim/vimrc"' >> "${S}"/src/feature.h
|
|
||||||
echo '#define SYS_GVIMRC_FILE "'${EPREFIX}'/etc/vim/gvimrc"' >> "${S}"/src/feature.h
|
|
||||||
|
|
||||||
# Use exuberant ctags which installs as /usr/bin/exuberant-ctags.
|
|
||||||
# Hopefully this pattern won't break for a while at least.
|
|
||||||
# This fixes bug 29398 (27 Sep 2003 agriffis)
|
|
||||||
sed -i 's/\<ctags\("\| [-*.]\)/exuberant-&/g' \
|
|
||||||
"${S}"/runtime/doc/syntax.txt \
|
|
||||||
"${S}"/runtime/doc/tagsrch.txt \
|
|
||||||
"${S}"/runtime/doc/usr_29.txt \
|
|
||||||
"${S}"/runtime/menu.vim \
|
|
||||||
"${S}"/src/configure.ac || die 'sed failed'
|
|
||||||
|
|
||||||
# Don't be fooled by /usr/include/libc.h. When found, vim thinks
|
|
||||||
# this is NeXT, but it's actually just a file in dev-libs/9libs
|
|
||||||
# This fixes bug 43885 (20 Mar 2004 agriffis)
|
|
||||||
sed -i 's/ libc\.h / /' "${S}"/src/configure.ac || die 'sed failed'
|
|
||||||
|
|
||||||
# gcc on sparc32 has this, uhm, interesting problem with detecting EOF
|
|
||||||
# correctly. To avoid some really entertaining error messages about stuff
|
|
||||||
# which isn't even in the source file being invalid, we'll do some trickery
|
|
||||||
# to make the error never occur. bug 66162 (02 October 2004 ciaranm)
|
|
||||||
find "${S}" -name '*.c' | while read c; do
|
|
||||||
echo >> "$c" || die "echo failed"
|
|
||||||
done
|
|
||||||
|
|
||||||
# Try to avoid sandbox problems. Bug #114475.
|
|
||||||
if [[ -d "${S}"/src/po ]]; then
|
|
||||||
sed -i -e \
|
|
||||||
'/-S check.vim/s,..VIM.,ln -s $(VIM) testvim \; ./testvim -X,' \
|
|
||||||
"${S}"/src/po/Makefile || die "sed failed"
|
|
||||||
fi
|
|
||||||
|
|
||||||
cp -v "${S}"/src/config.mk.dist "${S}"/src/auto/config.mk || die "cp failed"
|
|
||||||
|
|
||||||
# Bug #378107 - Build properly with >=perl-core/ExtUtils-ParseXS-3.20.0
|
|
||||||
sed -i -e \
|
|
||||||
"s:\\\$(PERLLIB)/ExtUtils/xsubpp:${EPREFIX}/usr/bin/xsubpp:" \
|
|
||||||
"${S}"/src/Makefile || die 'sed for ExtUtils-ParseXS failed'
|
|
||||||
|
|
||||||
eapply_user
|
|
||||||
}
|
|
||||||
|
|
||||||
src_configure() {
|
|
||||||
local myconf
|
|
||||||
|
|
||||||
# Fix bug 37354: Disallow -funroll-all-loops on amd64
|
|
||||||
# Bug 57859 suggests that we want to do this for all archs
|
|
||||||
filter-flags -funroll-all-loops
|
|
||||||
|
|
||||||
# Fix bug 76331: -O3 causes problems, use -O2 instead. We'll do this for
|
|
||||||
# everyone since previous flag filtering bugs have turned out to affect
|
|
||||||
# multiple archs...
|
|
||||||
replace-flags -O3 -O2
|
|
||||||
|
|
||||||
# Fix bug 18245: Prevent "make" from the following chain:
|
|
||||||
# (1) Notice configure.ac is newer than auto/configure
|
|
||||||
# (2) Rebuild auto/configure
|
|
||||||
# (3) Notice auto/configure is newer than auto/config.mk
|
|
||||||
# (4) Run ./configure (with wrong args) to remake auto/config.mk
|
|
||||||
sed -i 's# auto/config\.mk:#:#' src/Makefile || die "Makefile sed failed"
|
|
||||||
|
|
||||||
# Remove src/auto/configure file.
|
|
||||||
rm -v src/auto/configure || die "rm configure failed"
|
|
||||||
|
|
||||||
emake -j1 -C src autoconf
|
|
||||||
|
|
||||||
# This should fix a sandbox violation (see bug 24447). The hvc
|
|
||||||
# things are for ppc64, see bug 86433.
|
|
||||||
for file in /dev/pty/s* /dev/console /dev/hvc/* /dev/hvc*; do
|
|
||||||
if [[ -e "${file}" ]]; then
|
|
||||||
addwrite $file
|
|
||||||
fi
|
|
||||||
done
|
|
||||||
|
|
||||||
# Let Portage do the stripping. Some people like that.
|
|
||||||
export ac_cv_prog_STRIP="$(type -P true ) faking strip"
|
|
||||||
|
|
||||||
# Keep Gentoo Prefix env contained within the EPREFIX
|
|
||||||
use prefix && myconf+=" --without-local-dir"
|
|
||||||
|
|
||||||
econf \
|
|
||||||
--with-modified-by=Gentoo-${PVR} \
|
|
||||||
--enable-gui=no \
|
|
||||||
--without-x \
|
|
||||||
--disable-darwin \
|
|
||||||
--disable-perlinterp \
|
|
||||||
--disable-pythoninterp \
|
|
||||||
--disable-rubyinterp \
|
|
||||||
--disable-gpm \
|
|
||||||
--disable-selinux \
|
|
||||||
$(use_enable nls) \
|
|
||||||
$(use_enable acl) \
|
|
||||||
${myconf}
|
|
||||||
}
|
|
||||||
|
|
||||||
src_compile() {
|
|
||||||
emake -j1 -C src auto/osdef.h objects
|
|
||||||
emake tools
|
|
||||||
}
|
|
||||||
|
|
||||||
src_test() { :; }
|
|
||||||
|
|
||||||
src_install() {
|
|
||||||
local vimfiles=/usr/share/vim/vim${VIM_VERSION/.}
|
|
||||||
|
|
||||||
dodir /usr/{bin,share/{man/man1,vim}}
|
|
||||||
emake -C src \
|
|
||||||
installruntime \
|
|
||||||
installmanlinks \
|
|
||||||
installmacros \
|
|
||||||
installtutor \
|
|
||||||
installtutorbin \
|
|
||||||
installtools \
|
|
||||||
install-languages \
|
|
||||||
DESTDIR="${D}" \
|
|
||||||
BINDIR="${EPREFIX}"/usr/bin \
|
|
||||||
MANDIR="${EPREFIX}"/usr/share/man \
|
|
||||||
DATADIR="${EPREFIX}"/usr/share
|
|
||||||
|
|
||||||
keepdir ${vimfiles}/keymap
|
|
||||||
|
|
||||||
# default vimrc is installed by vim-core since it applies to
|
|
||||||
# both vim and gvim
|
|
||||||
insinto /etc/vim/
|
|
||||||
newins "${FILESDIR}"/vimrc-r5 vimrc
|
|
||||||
eprefixify "${ED}"/etc/vim/vimrc
|
|
||||||
|
|
||||||
if use minimal; then
|
|
||||||
# To save space, install only a subset of the files.
|
|
||||||
# Helps minimalize the livecd, bug 65144.
|
|
||||||
eshopts_push -s extglob
|
|
||||||
|
|
||||||
rm -rv "${ED}${vimfiles}"/{compiler,doc,ftplugin,indent} || die "rm failed"
|
|
||||||
rm -rv "${ED}${vimfiles}"/{macros,print,tools,tutor} || die "rm failed"
|
|
||||||
rm -v "${ED}"/usr/bin/vimtutor || die "rm failed"
|
|
||||||
|
|
||||||
local keep_colors="default"
|
|
||||||
ignore=$(rm -fr "${ED}${vimfiles}"/colors/!(${keep_colors}).vim )
|
|
||||||
|
|
||||||
local keep_syntax="conf|crontab|fstab|inittab|resolv|sshdconfig"
|
|
||||||
# tinkering with the next line might make bad things happen ...
|
|
||||||
keep_syntax="${keep_syntax}|syntax|nosyntax|synload"
|
|
||||||
ignore=$(rm -fr "${ED}${vimfiles}"/syntax/!(${keep_syntax}).vim )
|
|
||||||
|
|
||||||
eshopts_pop
|
|
||||||
fi
|
|
||||||
|
|
||||||
newbashcomp "${FILESDIR}"/xxd-completion xxd
|
|
||||||
|
|
||||||
# install gvim icon since both vim/gvim desktop files reference it
|
|
||||||
doicon -s scalable "${FILESDIR}"/gvim.svg
|
|
||||||
}
|
|
||||||
|
|
||||||
pkg_postinst() {
|
|
||||||
# update documentation tags (from vim-doc.eclass)
|
|
||||||
update_vim_helptags
|
|
||||||
|
|
||||||
# update icon cache
|
|
||||||
xdg_icon_cache_update
|
|
||||||
}
|
|
||||||
|
|
||||||
pkg_postrm() {
|
|
||||||
# Update documentation tags (from vim-doc.eclass)
|
|
||||||
update_vim_helptags
|
|
||||||
|
|
||||||
# update icon cache
|
|
||||||
xdg_icon_cache_update
|
|
||||||
}
|
|
@ -1,225 +0,0 @@
|
|||||||
# Copyright 1999-2021 Gentoo Authors
|
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
|
||||||
|
|
||||||
EAPI=7
|
|
||||||
VIM_VERSION="8.2"
|
|
||||||
inherit estack vim-doc flag-o-matic bash-completion-r1 prefix desktop xdg-utils
|
|
||||||
|
|
||||||
if [[ ${PV} == 9999* ]] ; then
|
|
||||||
inherit git-r3
|
|
||||||
EGIT_REPO_URI="https://github.com/vim/vim.git"
|
|
||||||
EGIT_CHECKOUT_DIR=${WORKDIR}/vim-${PV}
|
|
||||||
else
|
|
||||||
SRC_URI="https://github.com/vim/vim/archive/v${PV}.tar.gz -> vim-${PV}.tar.gz
|
|
||||||
https://dev.gentoo.org/~zlogene/distfiles/app-editors/vim/vim-8.2.0360-gentoo-patches.tar.xz"
|
|
||||||
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~x64-cygwin ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
|
|
||||||
fi
|
|
||||||
|
|
||||||
DESCRIPTION="vim and gvim shared files"
|
|
||||||
HOMEPAGE="https://vim.sourceforge.io/ https://github.com/vim/vim"
|
|
||||||
|
|
||||||
SLOT="0"
|
|
||||||
LICENSE="vim"
|
|
||||||
IUSE="nls acl minimal"
|
|
||||||
|
|
||||||
DEPEND="sys-devel/autoconf"
|
|
||||||
# avoid icon file collision bug #673880
|
|
||||||
RDEPEND="!!<app-editors/gvim-8.1.0648"
|
|
||||||
PDEPEND="!minimal? ( app-vim/gentoo-syntax )"
|
|
||||||
|
|
||||||
S=${WORKDIR}/vim-${PV}
|
|
||||||
|
|
||||||
pkg_setup() {
|
|
||||||
# people with broken alphabets run into trouble. bug 82186.
|
|
||||||
unset LANG LC_ALL
|
|
||||||
export LC_COLLATE="C"
|
|
||||||
|
|
||||||
# Gnome sandbox silliness. bug #114475.
|
|
||||||
mkdir -p "${T}"/home || die "mkdir -p failed"
|
|
||||||
export HOME="${T}"/home
|
|
||||||
}
|
|
||||||
|
|
||||||
src_prepare() {
|
|
||||||
if [[ ${PV} != 9999* ]] ; then
|
|
||||||
# Gentoo patches to fix runtime issues, cross-compile errors, etc
|
|
||||||
eapply "${WORKDIR}"/patches
|
|
||||||
fi
|
|
||||||
|
|
||||||
# Fixup a script to use awk instead of nawk
|
|
||||||
sed -i \
|
|
||||||
-e '1s|.*|#!'"${EPREFIX}"'/usr/bin/awk -f|' \
|
|
||||||
"${S}"/runtime/tools/mve.awk || die "sed failed"
|
|
||||||
|
|
||||||
# See #77841. We remove this file after the tarball extraction.
|
|
||||||
rm -v "${S}"/runtime/tools/vimspell.sh || die "rm failed"
|
|
||||||
|
|
||||||
# Read vimrc and gvimrc from /etc/vim
|
|
||||||
echo '#define SYS_VIMRC_FILE "'${EPREFIX}'/etc/vim/vimrc"' >> "${S}"/src/feature.h
|
|
||||||
echo '#define SYS_GVIMRC_FILE "'${EPREFIX}'/etc/vim/gvimrc"' >> "${S}"/src/feature.h
|
|
||||||
|
|
||||||
# Use exuberant ctags which installs as /usr/bin/exuberant-ctags.
|
|
||||||
# Hopefully this pattern won't break for a while at least.
|
|
||||||
# This fixes bug 29398 (27 Sep 2003 agriffis)
|
|
||||||
sed -i 's/\<ctags\("\| [-*.]\)/exuberant-&/g' \
|
|
||||||
"${S}"/runtime/doc/syntax.txt \
|
|
||||||
"${S}"/runtime/doc/tagsrch.txt \
|
|
||||||
"${S}"/runtime/doc/usr_29.txt \
|
|
||||||
"${S}"/runtime/menu.vim \
|
|
||||||
"${S}"/src/configure.ac || die 'sed failed'
|
|
||||||
|
|
||||||
# Don't be fooled by /usr/include/libc.h. When found, vim thinks
|
|
||||||
# this is NeXT, but it's actually just a file in dev-libs/9libs
|
|
||||||
# This fixes bug 43885 (20 Mar 2004 agriffis)
|
|
||||||
sed -i 's/ libc\.h / /' "${S}"/src/configure.ac || die 'sed failed'
|
|
||||||
|
|
||||||
# gcc on sparc32 has this, uhm, interesting problem with detecting EOF
|
|
||||||
# correctly. To avoid some really entertaining error messages about stuff
|
|
||||||
# which isn't even in the source file being invalid, we'll do some trickery
|
|
||||||
# to make the error never occur. bug 66162 (02 October 2004 ciaranm)
|
|
||||||
find "${S}" -name '*.c' | while read c; do
|
|
||||||
echo >> "$c" || die "echo failed"
|
|
||||||
done
|
|
||||||
|
|
||||||
# Try to avoid sandbox problems. Bug #114475.
|
|
||||||
if [[ -d "${S}"/src/po ]]; then
|
|
||||||
sed -i -e \
|
|
||||||
'/-S check.vim/s,..VIM.,ln -s $(VIM) testvim \; ./testvim -X,' \
|
|
||||||
"${S}"/src/po/Makefile || die "sed failed"
|
|
||||||
fi
|
|
||||||
|
|
||||||
cp -v "${S}"/src/config.mk.dist "${S}"/src/auto/config.mk || die "cp failed"
|
|
||||||
|
|
||||||
# Bug #378107 - Build properly with >=perl-core/ExtUtils-ParseXS-3.20.0
|
|
||||||
sed -i -e \
|
|
||||||
"s:\\\$(PERLLIB)/ExtUtils/xsubpp:${EPREFIX}/usr/bin/xsubpp:" \
|
|
||||||
"${S}"/src/Makefile || die 'sed for ExtUtils-ParseXS failed'
|
|
||||||
|
|
||||||
eapply_user
|
|
||||||
}
|
|
||||||
|
|
||||||
src_configure() {
|
|
||||||
local myconf
|
|
||||||
|
|
||||||
# Fix bug 37354: Disallow -funroll-all-loops on amd64
|
|
||||||
# Bug 57859 suggests that we want to do this for all archs
|
|
||||||
filter-flags -funroll-all-loops
|
|
||||||
|
|
||||||
# Fix bug 76331: -O3 causes problems, use -O2 instead. We'll do this for
|
|
||||||
# everyone since previous flag filtering bugs have turned out to affect
|
|
||||||
# multiple archs...
|
|
||||||
replace-flags -O3 -O2
|
|
||||||
|
|
||||||
# Fix bug 18245: Prevent "make" from the following chain:
|
|
||||||
# (1) Notice configure.ac is newer than auto/configure
|
|
||||||
# (2) Rebuild auto/configure
|
|
||||||
# (3) Notice auto/configure is newer than auto/config.mk
|
|
||||||
# (4) Run ./configure (with wrong args) to remake auto/config.mk
|
|
||||||
sed -i 's# auto/config\.mk:#:#' src/Makefile || die "Makefile sed failed"
|
|
||||||
|
|
||||||
# Remove src/auto/configure file.
|
|
||||||
rm -v src/auto/configure || die "rm configure failed"
|
|
||||||
|
|
||||||
emake -j1 -C src autoconf
|
|
||||||
|
|
||||||
# This should fix a sandbox violation (see bug 24447). The hvc
|
|
||||||
# things are for ppc64, see bug 86433.
|
|
||||||
for file in /dev/pty/s* /dev/console /dev/hvc/* /dev/hvc*; do
|
|
||||||
if [[ -e "${file}" ]]; then
|
|
||||||
addwrite $file
|
|
||||||
fi
|
|
||||||
done
|
|
||||||
|
|
||||||
# Let Portage do the stripping. Some people like that.
|
|
||||||
export ac_cv_prog_STRIP="$(type -P true ) faking strip"
|
|
||||||
|
|
||||||
# Keep Gentoo Prefix env contained within the EPREFIX
|
|
||||||
use prefix && myconf+=" --without-local-dir"
|
|
||||||
|
|
||||||
econf \
|
|
||||||
--with-modified-by=Gentoo-${PVR} \
|
|
||||||
--enable-gui=no \
|
|
||||||
--without-x \
|
|
||||||
--disable-darwin \
|
|
||||||
--disable-perlinterp \
|
|
||||||
--disable-pythoninterp \
|
|
||||||
--disable-rubyinterp \
|
|
||||||
--disable-gpm \
|
|
||||||
--disable-selinux \
|
|
||||||
$(use_enable nls) \
|
|
||||||
$(use_enable acl) \
|
|
||||||
${myconf}
|
|
||||||
}
|
|
||||||
|
|
||||||
src_compile() {
|
|
||||||
emake -j1 -C src auto/osdef.h objects
|
|
||||||
emake tools
|
|
||||||
}
|
|
||||||
|
|
||||||
src_test() { :; }
|
|
||||||
|
|
||||||
src_install() {
|
|
||||||
local vimfiles=/usr/share/vim/vim${VIM_VERSION/.}
|
|
||||||
|
|
||||||
dodir /usr/{bin,share/{man/man1,vim}}
|
|
||||||
emake -C src \
|
|
||||||
installruntime \
|
|
||||||
installmanlinks \
|
|
||||||
installmacros \
|
|
||||||
installtutor \
|
|
||||||
installtutorbin \
|
|
||||||
installtools \
|
|
||||||
install-languages \
|
|
||||||
DESTDIR="${D}" \
|
|
||||||
BINDIR="${EPREFIX}"/usr/bin \
|
|
||||||
MANDIR="${EPREFIX}"/usr/share/man \
|
|
||||||
DATADIR="${EPREFIX}"/usr/share
|
|
||||||
|
|
||||||
keepdir ${vimfiles}/keymap
|
|
||||||
|
|
||||||
# default vimrc is installed by vim-core since it applies to
|
|
||||||
# both vim and gvim
|
|
||||||
insinto /etc/vim/
|
|
||||||
newins "${FILESDIR}"/vimrc-r5 vimrc
|
|
||||||
eprefixify "${ED}"/etc/vim/vimrc
|
|
||||||
|
|
||||||
if use minimal; then
|
|
||||||
# To save space, install only a subset of the files.
|
|
||||||
# Helps minimalize the livecd, bug 65144.
|
|
||||||
eshopts_push -s extglob
|
|
||||||
|
|
||||||
rm -rv "${ED}${vimfiles}"/{compiler,doc,ftplugin,indent} || die "rm failed"
|
|
||||||
rm -rv "${ED}${vimfiles}"/{macros,print,tools,tutor} || die "rm failed"
|
|
||||||
rm -v "${ED}"/usr/bin/vimtutor || die "rm failed"
|
|
||||||
|
|
||||||
local keep_colors="default"
|
|
||||||
ignore=$(rm -fr "${ED}${vimfiles}"/colors/!(${keep_colors}).vim )
|
|
||||||
|
|
||||||
local keep_syntax="conf|crontab|fstab|inittab|resolv|sshdconfig"
|
|
||||||
# tinkering with the next line might make bad things happen ...
|
|
||||||
keep_syntax="${keep_syntax}|syntax|nosyntax|synload"
|
|
||||||
ignore=$(rm -fr "${ED}${vimfiles}"/syntax/!(${keep_syntax}).vim )
|
|
||||||
|
|
||||||
eshopts_pop
|
|
||||||
fi
|
|
||||||
|
|
||||||
newbashcomp "${FILESDIR}"/xxd-completion xxd
|
|
||||||
|
|
||||||
# install gvim icon since both vim/gvim desktop files reference it
|
|
||||||
doicon -s scalable "${FILESDIR}"/gvim.svg
|
|
||||||
}
|
|
||||||
|
|
||||||
pkg_postinst() {
|
|
||||||
# update documentation tags (from vim-doc.eclass)
|
|
||||||
update_vim_helptags
|
|
||||||
|
|
||||||
# update icon cache
|
|
||||||
xdg_icon_cache_update
|
|
||||||
}
|
|
||||||
|
|
||||||
pkg_postrm() {
|
|
||||||
# Update documentation tags (from vim-doc.eclass)
|
|
||||||
update_vim_helptags
|
|
||||||
|
|
||||||
# update icon cache
|
|
||||||
xdg_icon_cache_update
|
|
||||||
}
|
|
@ -1,14 +1,6 @@
|
|||||||
AUX vim-completion 1004 BLAKE2B dea4230a8d2a57fd1af18df4037504a44382a97ff672410e987cb287d802c964baa502da4d08f09cb8684307481fec503c1d8cae7f4f6e61500f1cb06033a2c4 SHA512 dccf663a93efdf2ec3be69f49e418a0ef66277e2fae6c12287adde772592e19f5130388a04242121846f1dae39f78b30780c99dc6fe1b847f4f08354bda3cc41
|
AUX vim-completion 1004 BLAKE2B dea4230a8d2a57fd1af18df4037504a44382a97ff672410e987cb287d802c964baa502da4d08f09cb8684307481fec503c1d8cae7f4f6e61500f1cb06033a2c4 SHA512 dccf663a93efdf2ec3be69f49e418a0ef66277e2fae6c12287adde772592e19f5130388a04242121846f1dae39f78b30780c99dc6fe1b847f4f08354bda3cc41
|
||||||
DIST vim-8.2.0210-gentoo-patches.tar.bz2 2755 BLAKE2B 21f1fb97c95d4f2eb45968783add80e11011be12fd2d701c267644a44da9782214828e022667c1a0a2ed08aedb7c12b6756a8b8adea4db5c7a3cb7dc94b75fd8 SHA512 c942c33dc033d63569e07523fa7652d1c53685aa64f9e7a4bf4e6126012790ec0ec820a7a9209cfe64096679ba8a9f9394ed92696a933e3c8be10658d16b8a7b
|
|
||||||
DIST vim-8.2.0360-gentoo-patches.tar.xz 2612 BLAKE2B a9273a686b31dd873b25bfc07f7bc254f11038bde275ae4e6f56513a14e0268fdc1032ae847d1d7f8539f8a657217011770ccb4685998f34722383ec7bfb1a15 SHA512 00bc8eb8b20a4a6f3bbd179bb90d42fa6727c8eaae5b625e95e52c33638d456ef36d06b51c542ecaffb237c0b4f7aa72dc3bae7fe00144d55ab0d2fa51950f3b
|
DIST vim-8.2.0360-gentoo-patches.tar.xz 2612 BLAKE2B a9273a686b31dd873b25bfc07f7bc254f11038bde275ae4e6f56513a14e0268fdc1032ae847d1d7f8539f8a657217011770ccb4685998f34722383ec7bfb1a15 SHA512 00bc8eb8b20a4a6f3bbd179bb90d42fa6727c8eaae5b625e95e52c33638d456ef36d06b51c542ecaffb237c0b4f7aa72dc3bae7fe00144d55ab0d2fa51950f3b
|
||||||
DIST vim-8.2.0360.tar.gz 14842830 BLAKE2B fe3a13cb4bef4ada1bd13cdc80aa9a4ab275d1ff16a7f5308109adc7c5a3459393e1c8153fa32a972141b27cce3aaff50c59416d1ba32e4dca03074be49705a9 SHA512 183bcb5cc73290193de99beb69b56b64efa37db9d905c6e76a51ac727f4447f76346dde632e2dfae9d289abb4b9ca11a14f7e350eaa699fc2c3c7c2e35fc20b2
|
|
||||||
DIST vim-8.2.0508.tar.gz 14885937 BLAKE2B 70d9cbaa69fac168e6719ef6ee0fadef21bc0b4c17e3c01d983cfe7d75ec831089845aae2f4ca2b5eba02ea24664dc968b0d472254db45e13a5a1f9cdc62253a SHA512 0cbe7cb8d16ac9ed2e6b2f7031bf3b962bcfa199ef7421dfa549fd53f42eb00fc20a14d0df13fcdb4b5f06c88e659086f8d277797824e628133ebd66c72232b6
|
|
||||||
DIST vim-8.2.0638.tar.gz 14922315 BLAKE2B 12a8a272e1167ec845d2a5ab3b884f8d327e7b73a49fad2c7cafcd0bd5690c8c21d6b9e1b6211fd6ef8908ea93019c483ec5de74b50cf1fea8fbfc6f63b751df SHA512 4fc3aca0f3337b35d98281d1c7d5cd733bf14fbd1c3e382208ff950199125b6e4606bb7487310caf793eb6b2d1c6e719bce19b53d4d55a26354649c13b727a92
|
|
||||||
DIST vim-8.2.0814.tar.gz 14953478 BLAKE2B fd4155ec749bd9a705e8114ff7f8cc321182c9286733ff2f665e265ec0af830f9e70c730b8d0215f6db1f73a8e2f878d22932a72c8dbfe921591be7adcdaab00 SHA512 4ddd9e2d30719f931cadd1a4de5700736f641f4b074378d9ea1462a90b81975ce8e8c3ca2e3a1e15ac0288824eef5b0f0a3e31482f7637c450c6d7e52c8f40d2
|
DIST vim-8.2.0814.tar.gz 14953478 BLAKE2B fd4155ec749bd9a705e8114ff7f8cc321182c9286733ff2f665e265ec0af830f9e70c730b8d0215f6db1f73a8e2f878d22932a72c8dbfe921591be7adcdaab00 SHA512 4ddd9e2d30719f931cadd1a4de5700736f641f4b074378d9ea1462a90b81975ce8e8c3ca2e3a1e15ac0288824eef5b0f0a3e31482f7637c450c6d7e52c8f40d2
|
||||||
EBUILD vim-8.2.0360.ebuild 9044 BLAKE2B 731515d1a33eddbce543950d94704a54c3b57e72d6987f4633339ef743785a02a007391e8b42e60ccc004c77a794384023e04edc1293655a3cfb46d8d16579ec SHA512 614241fafcc08d35182cb2b716f5b8ac45e6a20b9f435f8d1cff7b0802130c4cdad15be70a372cb362d99624c4d7db5d1e52dc294b34a3efe7a0289fab84c8a3
|
|
||||||
EBUILD vim-8.2.0508.ebuild 9070 BLAKE2B 863f706c35dec92ba36ccfadf40c76814cc4b12fe756e44b87d219f282d2293910ca53ff3e21ca4269d4fe11fd51152b7672e93c45acc5b4c647cef21ecf6452 SHA512 158450959bc93f9dbcb04622de659cd5e4012ed6e4a603a4ded1e14487218de413218d39bd7b5daadcd7ad22f6478c2fc35a771fb3a0498f2c336926cffc5570
|
|
||||||
EBUILD vim-8.2.0638.ebuild 9070 BLAKE2B 863f706c35dec92ba36ccfadf40c76814cc4b12fe756e44b87d219f282d2293910ca53ff3e21ca4269d4fe11fd51152b7672e93c45acc5b4c647cef21ecf6452 SHA512 158450959bc93f9dbcb04622de659cd5e4012ed6e4a603a4ded1e14487218de413218d39bd7b5daadcd7ad22f6478c2fc35a771fb3a0498f2c336926cffc5570
|
|
||||||
EBUILD vim-8.2.0814-r100.ebuild 9221 BLAKE2B a1ff8254ce568c786e980f9f00bd5dedf6db950324d7eb43ef787283036384fcc388c6a9deb2c1df12ae94d67da3e2d932c9fe6bfd2e778728850e3346a5b495 SHA512 02d7152e3e8cc0c9a5f623d1389a918a083becca3a29e32612fbb3e326dc02f5ce4fbd27b5209a77da2d36773e00b264485e141e189e5c94a70dff5b987b9213
|
EBUILD vim-8.2.0814-r100.ebuild 9221 BLAKE2B a1ff8254ce568c786e980f9f00bd5dedf6db950324d7eb43ef787283036384fcc388c6a9deb2c1df12ae94d67da3e2d932c9fe6bfd2e778728850e3346a5b495 SHA512 02d7152e3e8cc0c9a5f623d1389a918a083becca3a29e32612fbb3e326dc02f5ce4fbd27b5209a77da2d36773e00b264485e141e189e5c94a70dff5b987b9213
|
||||||
EBUILD vim-8.2.0814.ebuild 9035 BLAKE2B 812a53f1d045e5131d8c1ea4a0936b6346e952b18ced04d8d6e6adebe87d6eab08b6220f57dd0e459eeff27c415ec1a09aa5957097a529b0972e164560a450fd SHA512 c9bf51bf3100649a85106fc394c969b01d3e530e5dff447a238567c9d3bc75a717c4946360e9367d64e42c6800555f3e8d24b65609e127e97509cea46115b2aa
|
|
||||||
EBUILD vim-9999.ebuild 9228 BLAKE2B afa174e2cee7d52928194fa3a3a8a493f83fb263cb7cea136a28af843f226156c8192380dd8062b8cbc0063fd256ef48510af1d0d04db1660ddeb336962e6f00 SHA512 49800e42f4e2997cd9f615f9342ff43611d38a232422e09f0e32c1e85664183cb601cd8a30741328e972c888f4d71fc73348f84e766d09aba843b80b745fb1b3
|
EBUILD vim-9999.ebuild 9228 BLAKE2B afa174e2cee7d52928194fa3a3a8a493f83fb263cb7cea136a28af843f226156c8192380dd8062b8cbc0063fd256ef48510af1d0d04db1660ddeb336962e6f00 SHA512 49800e42f4e2997cd9f615f9342ff43611d38a232422e09f0e32c1e85664183cb601cd8a30741328e972c888f4d71fc73348f84e766d09aba843b80b745fb1b3
|
||||||
MISC metadata.xml 807 BLAKE2B e876f33c06a0bb165a43a7c50ff9bbfa0513e43287f54dbcee396af736034e4cefba8831226b47cc8a334599632a94344623ae2343f0162dbbcd511f749d524a SHA512 a7801a4483b08944c01848593354322c406a929296075617736755c0b62852b76c30467cee2c360ea211521274f2019b495309bffb5a3285d73940aac45e4a53
|
MISC metadata.xml 807 BLAKE2B e876f33c06a0bb165a43a7c50ff9bbfa0513e43287f54dbcee396af736034e4cefba8831226b47cc8a334599632a94344623ae2343f0162dbbcd511f749d524a SHA512 a7801a4483b08944c01848593354322c406a929296075617736755c0b62852b76c30467cee2c360ea211521274f2019b495309bffb5a3285d73940aac45e4a53
|
||||||
|
@ -1,320 +0,0 @@
|
|||||||
# Copyright 1999-2021 Gentoo Authors
|
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
|
||||||
|
|
||||||
EAPI=7
|
|
||||||
VIM_VERSION="8.2"
|
|
||||||
PYTHON_COMPAT=( python3_{7,8} )
|
|
||||||
PYTHON_REQ_USE="threads(+)"
|
|
||||||
USE_RUBY="ruby24 ruby25 ruby26 ruby27"
|
|
||||||
|
|
||||||
inherit vim-doc flag-o-matic bash-completion-r1 python-single-r1 ruby-single desktop xdg-utils
|
|
||||||
|
|
||||||
if [[ ${PV} == 9999* ]] ; then
|
|
||||||
inherit git-r3
|
|
||||||
EGIT_REPO_URI="https://github.com/vim/vim.git"
|
|
||||||
else
|
|
||||||
SRC_URI="https://github.com/vim/vim/archive/v${PV}.tar.gz -> ${P}.tar.gz
|
|
||||||
https://dev.gentoo.org/~radhermit/vim/vim-8.2.0210-gentoo-patches.tar.bz2"
|
|
||||||
KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~x64-cygwin ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
|
|
||||||
fi
|
|
||||||
|
|
||||||
DESCRIPTION="Vim, an improved vi-style text editor"
|
|
||||||
HOMEPAGE="https://vim.sourceforge.io/ https://github.com/vim/vim"
|
|
||||||
|
|
||||||
SLOT="0"
|
|
||||||
LICENSE="vim"
|
|
||||||
IUSE="X acl cscope debug gpm lua luajit minimal nls perl python racket ruby selinux sound tcl terminal vim-pager"
|
|
||||||
REQUIRED_USE="
|
|
||||||
python? ( ${PYTHON_REQUIRED_USE} )
|
|
||||||
vim-pager? ( !minimal )
|
|
||||||
"
|
|
||||||
|
|
||||||
RDEPEND="
|
|
||||||
>=app-eselect/eselect-vi-1.1
|
|
||||||
>=sys-libs/ncurses-5.2-r2:0=
|
|
||||||
nls? ( virtual/libintl )
|
|
||||||
acl? ( kernel_linux? ( sys-apps/acl ) )
|
|
||||||
cscope? ( dev-util/cscope )
|
|
||||||
gpm? ( >=sys-libs/gpm-1.19.3 )
|
|
||||||
lua? (
|
|
||||||
luajit? ( dev-lang/luajit:2= )
|
|
||||||
!luajit? ( dev-lang/lua:0[deprecated] )
|
|
||||||
)
|
|
||||||
!minimal? ( ~app-editors/vim-core-${PV} )
|
|
||||||
vim-pager? ( app-editors/vim-core[-minimal] )
|
|
||||||
perl? ( dev-lang/perl:= )
|
|
||||||
python? ( ${PYTHON_DEPS} )
|
|
||||||
racket? ( dev-scheme/racket )
|
|
||||||
ruby? ( ${RUBY_DEPS} )
|
|
||||||
selinux? ( sys-libs/libselinux )
|
|
||||||
sound? ( media-libs/libcanberra )
|
|
||||||
tcl? ( dev-lang/tcl:0= )
|
|
||||||
X? ( x11-libs/libXt )
|
|
||||||
"
|
|
||||||
|
|
||||||
DEPEND="
|
|
||||||
${RDEPEND}
|
|
||||||
sys-devel/autoconf
|
|
||||||
nls? ( sys-devel/gettext )
|
|
||||||
"
|
|
||||||
|
|
||||||
pkg_setup() {
|
|
||||||
# people with broken alphabets run into trouble. bug 82186.
|
|
||||||
unset LANG LC_ALL
|
|
||||||
export LC_COLLATE="C"
|
|
||||||
|
|
||||||
# Gnome sandbox silliness. bug #114475.
|
|
||||||
mkdir -p "${T}"/home || die "mkdir failed"
|
|
||||||
export HOME="${T}"/home
|
|
||||||
|
|
||||||
use python && python-single-r1_pkg_setup
|
|
||||||
}
|
|
||||||
|
|
||||||
src_prepare() {
|
|
||||||
if [[ ${PV} != 9999* ]] ; then
|
|
||||||
# Gentoo patches to fix runtime issues, cross-compile errors, etc
|
|
||||||
eapply "${WORKDIR}"/patches/
|
|
||||||
fi
|
|
||||||
|
|
||||||
# Fixup a script to use awk instead of nawk
|
|
||||||
sed -i -e \
|
|
||||||
'1s|.*|#!'"${EPREFIX}"'/usr/bin/awk -f|' \
|
|
||||||
"${S}"/runtime/tools/mve.awk || die "mve.awk sed failed"
|
|
||||||
|
|
||||||
# Read vimrc and gvimrc from /etc/vim
|
|
||||||
echo '#define SYS_VIMRC_FILE "'${EPREFIX}'/etc/vim/vimrc"' \
|
|
||||||
>> "${S}"/src/feature.h || die "echo failed"
|
|
||||||
echo '#define SYS_GVIMRC_FILE "'${EPREFIX}'/etc/vim/gvimrc"' \
|
|
||||||
>> "${S}"/src/feature.h || die "echo failed"
|
|
||||||
|
|
||||||
# Use exuberant ctags which installs as /usr/bin/exuberant-ctags.
|
|
||||||
# Hopefully this pattern won't break for a while at least.
|
|
||||||
# This fixes bug 29398 (27 Sep 2003 agriffis)
|
|
||||||
sed -i -e \
|
|
||||||
's/\<ctags\("\| [-*.]\)/exuberant-&/g' \
|
|
||||||
"${S}"/runtime/doc/syntax.txt \
|
|
||||||
"${S}"/runtime/doc/tagsrch.txt \
|
|
||||||
"${S}"/runtime/doc/usr_29.txt \
|
|
||||||
"${S}"/runtime/menu.vim \
|
|
||||||
"${S}"/src/configure.ac || die 'sed failed'
|
|
||||||
|
|
||||||
# Don't be fooled by /usr/include/libc.h. When found, vim thinks
|
|
||||||
# this is NeXT, but it's actually just a file in dev-libs/9libs
|
|
||||||
# This fixes bug 43885 (20 Mar 2004 agriffis)
|
|
||||||
sed -i -e \
|
|
||||||
's/ libc\.h / /' \
|
|
||||||
"${S}"/src/configure.ac || die 'sed failed'
|
|
||||||
|
|
||||||
# gcc on sparc32 has this, uhm, interesting problem with detecting EOF
|
|
||||||
# correctly. To avoid some really entertaining error messages about stuff
|
|
||||||
# which isn't even in the source file being invalid, we'll do some trickery
|
|
||||||
# to make the error never occur. bug 66162 (02 October 2004 ciaranm)
|
|
||||||
find "${S}" -name '*.c' | while read c; do
|
|
||||||
echo >> "$c" || die "echo failed"
|
|
||||||
done
|
|
||||||
|
|
||||||
# conditionally make the manpager.sh script
|
|
||||||
if use vim-pager; then
|
|
||||||
cat > "${S}"/runtime/macros/manpager.sh <<-_EOF_ || die "cat EOF failed"
|
|
||||||
#!/bin/sh
|
|
||||||
sed -e 's/\x1B\[[[:digit:]]\+m//g' | col -b | \\
|
|
||||||
vim \\
|
|
||||||
-c 'let no_plugin_maps = 1' \\
|
|
||||||
-c 'set nolist nomod ft=man ts=8' \\
|
|
||||||
-c 'let g:showmarks_enable=0' \\
|
|
||||||
-c 'runtime! macros/less.vim' -
|
|
||||||
_EOF_
|
|
||||||
fi
|
|
||||||
|
|
||||||
# Try to avoid sandbox problems. Bug #114475.
|
|
||||||
if [[ -d "${S}"/src/po ]]; then
|
|
||||||
sed -i -e \
|
|
||||||
'/-S check.vim/s,..VIM.,ln -s $(VIM) testvim \; ./testvim -X,' \
|
|
||||||
"${S}"/src/po/Makefile || die "sed failed"
|
|
||||||
fi
|
|
||||||
|
|
||||||
cp -v "${S}"/src/config.mk.dist "${S}"/src/auto/config.mk || die "cp failed"
|
|
||||||
|
|
||||||
sed -i -e \
|
|
||||||
"s:\\\$(PERLLIB)/ExtUtils/xsubpp:${EPREFIX}/usr/bin/xsubpp:" \
|
|
||||||
"${S}"/src/Makefile || die 'sed for ExtUtils-ParseXS failed'
|
|
||||||
|
|
||||||
eapply_user
|
|
||||||
}
|
|
||||||
|
|
||||||
src_configure() {
|
|
||||||
local myconf=()
|
|
||||||
|
|
||||||
# Fix bug 37354: Disallow -funroll-all-loops on amd64
|
|
||||||
# Bug 57859 suggests that we want to do this for all archs
|
|
||||||
filter-flags -funroll-all-loops
|
|
||||||
|
|
||||||
# Fix bug 76331: -O3 causes problems, use -O2 instead. We'll do this for
|
|
||||||
# everyone since previous flag filtering bugs have turned out to affect
|
|
||||||
# multiple archs...
|
|
||||||
replace-flags -O3 -O2
|
|
||||||
|
|
||||||
# Fix bug 18245: Prevent "make" from the following chain:
|
|
||||||
# (1) Notice configure.ac is newer than auto/configure
|
|
||||||
# (2) Rebuild auto/configure
|
|
||||||
# (3) Notice auto/configure is newer than auto/config.mk
|
|
||||||
# (4) Run ./configure (with wrong args) to remake auto/config.mk
|
|
||||||
sed -i 's# auto/config\.mk:#:#' src/Makefile || die "Makefile sed failed"
|
|
||||||
rm src/auto/configure || die "rm failed"
|
|
||||||
emake -j1 -C src autoconf
|
|
||||||
|
|
||||||
# This should fix a sandbox violation (see bug 24447). The hvc
|
|
||||||
# things are for ppc64, see bug 86433.
|
|
||||||
for file in /dev/pty/s* /dev/console /dev/hvc/* /dev/hvc*; do
|
|
||||||
if [[ -e "${file}" ]]; then
|
|
||||||
addwrite $file
|
|
||||||
fi
|
|
||||||
done
|
|
||||||
|
|
||||||
if use minimal; then
|
|
||||||
myconf=(
|
|
||||||
--with-features=tiny
|
|
||||||
--disable-nls
|
|
||||||
--disable-canberra
|
|
||||||
--disable-acl
|
|
||||||
--enable-gui=no
|
|
||||||
--without-x
|
|
||||||
--disable-darwin
|
|
||||||
--disable-luainterp
|
|
||||||
--disable-perlinterp
|
|
||||||
--disable-pythoninterp
|
|
||||||
--disable-mzschemeinterp
|
|
||||||
--disable-rubyinterp
|
|
||||||
--disable-selinux
|
|
||||||
--disable-tclinterp
|
|
||||||
--disable-gpm
|
|
||||||
)
|
|
||||||
else
|
|
||||||
use debug && append-flags "-DDEBUG"
|
|
||||||
|
|
||||||
myconf=(
|
|
||||||
--with-features=huge
|
|
||||||
$(use_enable sound canberra)
|
|
||||||
$(use_enable acl)
|
|
||||||
$(use_enable cscope)
|
|
||||||
$(use_enable gpm)
|
|
||||||
$(use_enable lua luainterp)
|
|
||||||
$(usex lua "--with-lua-prefix=${EPREFIX}/usr" "")
|
|
||||||
$(use_with luajit)
|
|
||||||
$(use_enable nls)
|
|
||||||
$(use_enable perl perlinterp)
|
|
||||||
$(use_enable python python3interp)
|
|
||||||
$(use_with python python3-command $(type -P $(eselect python show --python3)))
|
|
||||||
$(use_enable racket mzschemeinterp)
|
|
||||||
$(use_enable ruby rubyinterp)
|
|
||||||
$(use_enable selinux)
|
|
||||||
$(use_enable tcl tclinterp)
|
|
||||||
$(use_enable terminal)
|
|
||||||
)
|
|
||||||
|
|
||||||
# --with-features=huge forces on cscope even if we --disable it. We need
|
|
||||||
# to sed this out to avoid screwiness. (1 Sep 2004 ciaranm)
|
|
||||||
if ! use cscope; then
|
|
||||||
sed -i -e \
|
|
||||||
'/# define FEAT_CSCOPE/d' src/feature.h || die "sed failed"
|
|
||||||
fi
|
|
||||||
|
|
||||||
# don't test USE=X here ... see bug #19115
|
|
||||||
# but need to provide a way to link against X ... see bug #20093
|
|
||||||
myconf+=(
|
|
||||||
--enable-gui=no
|
|
||||||
--disable-darwin
|
|
||||||
$(use_with X x)
|
|
||||||
)
|
|
||||||
fi
|
|
||||||
|
|
||||||
# let package manager strip binaries
|
|
||||||
export ac_cv_prog_STRIP="$(type -P true ) faking strip"
|
|
||||||
|
|
||||||
# keep prefix env contained within the EPREFIX
|
|
||||||
use prefix && myconf+=( --without-local-dir )
|
|
||||||
|
|
||||||
econf \
|
|
||||||
--with-modified-by=Gentoo-${PVR} \
|
|
||||||
"${myconf[@]}"
|
|
||||||
}
|
|
||||||
|
|
||||||
src_compile() {
|
|
||||||
# The following allows emake to be used
|
|
||||||
emake -j1 -C src auto/osdef.h objects
|
|
||||||
|
|
||||||
emake
|
|
||||||
}
|
|
||||||
|
|
||||||
src_test() {
|
|
||||||
einfo
|
|
||||||
einfo "Starting vim tests. Several error messages will be shown"
|
|
||||||
einfo "while the tests run. This is normal behaviour and does not"
|
|
||||||
einfo "indicate a fault."
|
|
||||||
einfo
|
|
||||||
ewarn "If the tests fail, your terminal may be left in a strange"
|
|
||||||
ewarn "state. Usually, running 'reset' will fix this."
|
|
||||||
einfo
|
|
||||||
|
|
||||||
# Don't let vim talk to X
|
|
||||||
unset DISPLAY
|
|
||||||
|
|
||||||
emake -j1 -C src/testdir nongui
|
|
||||||
}
|
|
||||||
|
|
||||||
# Call eselect vi update with --if-unset
|
|
||||||
# to respect user's choice (bug 187449)
|
|
||||||
eselect_vi_update() {
|
|
||||||
einfo "Calling eselect vi update..."
|
|
||||||
eselect vi update --if-unset
|
|
||||||
eend $?
|
|
||||||
}
|
|
||||||
|
|
||||||
src_install() {
|
|
||||||
local vimfiles=/usr/share/vim/vim${VIM_VERSION/.}
|
|
||||||
|
|
||||||
# Note: Do not install symlinks for 'vi', 'ex', or 'view', as these are
|
|
||||||
# managed by eselect-vi
|
|
||||||
dobin src/vim
|
|
||||||
if ! use minimal ; then
|
|
||||||
dosym vim /usr/bin/vimdiff
|
|
||||||
fi
|
|
||||||
dosym vim /usr/bin/rvim
|
|
||||||
dosym vim /usr/bin/rview
|
|
||||||
if use vim-pager ; then
|
|
||||||
dosym ${vimfiles}/macros/less.sh /usr/bin/vimpager
|
|
||||||
dosym ${vimfiles}/macros/manpager.sh /usr/bin/vimmanpager
|
|
||||||
insinto ${vimfiles}/macros
|
|
||||||
doins runtime/macros/manpager.sh
|
|
||||||
fperms a+x ${vimfiles}/macros/manpager.sh
|
|
||||||
fi
|
|
||||||
|
|
||||||
domenu runtime/vim.desktop
|
|
||||||
|
|
||||||
newbashcomp "${FILESDIR}"/${PN}-completion ${PN}
|
|
||||||
|
|
||||||
# keep in sync with 'complete ... -F' list
|
|
||||||
bashcomp_alias vim ex vi view rvim rview vimdiff
|
|
||||||
}
|
|
||||||
|
|
||||||
pkg_postinst() {
|
|
||||||
# Update documentation tags (from vim-doc.eclass)
|
|
||||||
update_vim_helptags
|
|
||||||
|
|
||||||
# Call eselect vi update
|
|
||||||
eselect_vi_update
|
|
||||||
|
|
||||||
# update desktop file mime cache
|
|
||||||
xdg_desktop_database_update
|
|
||||||
}
|
|
||||||
|
|
||||||
pkg_postrm() {
|
|
||||||
# Update documentation tags (from vim-doc.eclass)
|
|
||||||
update_vim_helptags
|
|
||||||
|
|
||||||
# Call eselect vi update
|
|
||||||
eselect_vi_update
|
|
||||||
|
|
||||||
# update desktop file mime cache
|
|
||||||
xdg_desktop_database_update
|
|
||||||
}
|
|
@ -1,320 +0,0 @@
|
|||||||
# Copyright 1999-2021 Gentoo Authors
|
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
|
||||||
|
|
||||||
EAPI=7
|
|
||||||
VIM_VERSION="8.2"
|
|
||||||
PYTHON_COMPAT=( python3_{7,8} )
|
|
||||||
PYTHON_REQ_USE="threads(+)"
|
|
||||||
USE_RUBY="ruby24 ruby25 ruby26 ruby27"
|
|
||||||
|
|
||||||
inherit vim-doc flag-o-matic bash-completion-r1 python-single-r1 ruby-single desktop xdg-utils
|
|
||||||
|
|
||||||
if [[ ${PV} == 9999* ]] ; then
|
|
||||||
inherit git-r3
|
|
||||||
EGIT_REPO_URI="https://github.com/vim/vim.git"
|
|
||||||
else
|
|
||||||
SRC_URI="https://github.com/vim/vim/archive/v${PV}.tar.gz -> ${P}.tar.gz
|
|
||||||
https://dev.gentoo.org/~zlogene/distfiles/app-editors/vim/vim-8.2.0360-gentoo-patches.tar.xz"
|
|
||||||
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~x64-cygwin ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
|
|
||||||
fi
|
|
||||||
|
|
||||||
DESCRIPTION="Vim, an improved vi-style text editor"
|
|
||||||
HOMEPAGE="https://vim.sourceforge.io/ https://github.com/vim/vim"
|
|
||||||
|
|
||||||
SLOT="0"
|
|
||||||
LICENSE="vim"
|
|
||||||
IUSE="X acl cscope debug gpm lua luajit minimal nls perl python racket ruby selinux sound tcl terminal vim-pager"
|
|
||||||
REQUIRED_USE="
|
|
||||||
python? ( ${PYTHON_REQUIRED_USE} )
|
|
||||||
vim-pager? ( !minimal )
|
|
||||||
"
|
|
||||||
|
|
||||||
RDEPEND="
|
|
||||||
>=app-eselect/eselect-vi-1.1
|
|
||||||
>=sys-libs/ncurses-5.2-r2:0=
|
|
||||||
nls? ( virtual/libintl )
|
|
||||||
acl? ( kernel_linux? ( sys-apps/acl ) )
|
|
||||||
cscope? ( dev-util/cscope )
|
|
||||||
gpm? ( >=sys-libs/gpm-1.19.3 )
|
|
||||||
lua? (
|
|
||||||
luajit? ( dev-lang/luajit:2= )
|
|
||||||
!luajit? ( dev-lang/lua:0[deprecated] )
|
|
||||||
)
|
|
||||||
!minimal? ( ~app-editors/vim-core-${PV} )
|
|
||||||
vim-pager? ( app-editors/vim-core[-minimal] )
|
|
||||||
perl? ( dev-lang/perl:= )
|
|
||||||
python? ( ${PYTHON_DEPS} )
|
|
||||||
racket? ( dev-scheme/racket )
|
|
||||||
ruby? ( ${RUBY_DEPS} )
|
|
||||||
selinux? ( sys-libs/libselinux )
|
|
||||||
sound? ( media-libs/libcanberra )
|
|
||||||
tcl? ( dev-lang/tcl:0= )
|
|
||||||
X? ( x11-libs/libXt )
|
|
||||||
"
|
|
||||||
|
|
||||||
DEPEND="
|
|
||||||
${RDEPEND}
|
|
||||||
sys-devel/autoconf
|
|
||||||
nls? ( sys-devel/gettext )
|
|
||||||
"
|
|
||||||
|
|
||||||
pkg_setup() {
|
|
||||||
# people with broken alphabets run into trouble. bug 82186.
|
|
||||||
unset LANG LC_ALL
|
|
||||||
export LC_COLLATE="C"
|
|
||||||
|
|
||||||
# Gnome sandbox silliness. bug #114475.
|
|
||||||
mkdir -p "${T}"/home || die "mkdir failed"
|
|
||||||
export HOME="${T}"/home
|
|
||||||
|
|
||||||
use python && python-single-r1_pkg_setup
|
|
||||||
}
|
|
||||||
|
|
||||||
src_prepare() {
|
|
||||||
if [[ ${PV} != 9999* ]] ; then
|
|
||||||
# Gentoo patches to fix runtime issues, cross-compile errors, etc
|
|
||||||
eapply "${WORKDIR}"/patches/
|
|
||||||
fi
|
|
||||||
|
|
||||||
# Fixup a script to use awk instead of nawk
|
|
||||||
sed -i -e \
|
|
||||||
'1s|.*|#!'"${EPREFIX}"'/usr/bin/awk -f|' \
|
|
||||||
"${S}"/runtime/tools/mve.awk || die "mve.awk sed failed"
|
|
||||||
|
|
||||||
# Read vimrc and gvimrc from /etc/vim
|
|
||||||
echo '#define SYS_VIMRC_FILE "'${EPREFIX}'/etc/vim/vimrc"' \
|
|
||||||
>> "${S}"/src/feature.h || die "echo failed"
|
|
||||||
echo '#define SYS_GVIMRC_FILE "'${EPREFIX}'/etc/vim/gvimrc"' \
|
|
||||||
>> "${S}"/src/feature.h || die "echo failed"
|
|
||||||
|
|
||||||
# Use exuberant ctags which installs as /usr/bin/exuberant-ctags.
|
|
||||||
# Hopefully this pattern won't break for a while at least.
|
|
||||||
# This fixes bug 29398 (27 Sep 2003 agriffis)
|
|
||||||
sed -i -e \
|
|
||||||
's/\<ctags\("\| [-*.]\)/exuberant-&/g' \
|
|
||||||
"${S}"/runtime/doc/syntax.txt \
|
|
||||||
"${S}"/runtime/doc/tagsrch.txt \
|
|
||||||
"${S}"/runtime/doc/usr_29.txt \
|
|
||||||
"${S}"/runtime/menu.vim \
|
|
||||||
"${S}"/src/configure.ac || die 'sed failed'
|
|
||||||
|
|
||||||
# Don't be fooled by /usr/include/libc.h. When found, vim thinks
|
|
||||||
# this is NeXT, but it's actually just a file in dev-libs/9libs
|
|
||||||
# This fixes bug 43885 (20 Mar 2004 agriffis)
|
|
||||||
sed -i -e \
|
|
||||||
's/ libc\.h / /' \
|
|
||||||
"${S}"/src/configure.ac || die 'sed failed'
|
|
||||||
|
|
||||||
# gcc on sparc32 has this, uhm, interesting problem with detecting EOF
|
|
||||||
# correctly. To avoid some really entertaining error messages about stuff
|
|
||||||
# which isn't even in the source file being invalid, we'll do some trickery
|
|
||||||
# to make the error never occur. bug 66162 (02 October 2004 ciaranm)
|
|
||||||
find "${S}" -name '*.c' | while read c; do
|
|
||||||
echo >> "$c" || die "echo failed"
|
|
||||||
done
|
|
||||||
|
|
||||||
# conditionally make the manpager.sh script
|
|
||||||
if use vim-pager; then
|
|
||||||
cat > "${S}"/runtime/macros/manpager.sh <<-_EOF_ || die "cat EOF failed"
|
|
||||||
#!/bin/sh
|
|
||||||
sed -e 's/\x1B\[[[:digit:]]\+m//g' | col -b | \\
|
|
||||||
vim \\
|
|
||||||
-c 'let no_plugin_maps = 1' \\
|
|
||||||
-c 'set nolist nomod ft=man ts=8' \\
|
|
||||||
-c 'let g:showmarks_enable=0' \\
|
|
||||||
-c 'runtime! macros/less.vim' -
|
|
||||||
_EOF_
|
|
||||||
fi
|
|
||||||
|
|
||||||
# Try to avoid sandbox problems. Bug #114475.
|
|
||||||
if [[ -d "${S}"/src/po ]]; then
|
|
||||||
sed -i -e \
|
|
||||||
'/-S check.vim/s,..VIM.,ln -s $(VIM) testvim \; ./testvim -X,' \
|
|
||||||
"${S}"/src/po/Makefile || die "sed failed"
|
|
||||||
fi
|
|
||||||
|
|
||||||
cp -v "${S}"/src/config.mk.dist "${S}"/src/auto/config.mk || die "cp failed"
|
|
||||||
|
|
||||||
sed -i -e \
|
|
||||||
"s:\\\$(PERLLIB)/ExtUtils/xsubpp:${EPREFIX}/usr/bin/xsubpp:" \
|
|
||||||
"${S}"/src/Makefile || die 'sed for ExtUtils-ParseXS failed'
|
|
||||||
|
|
||||||
eapply_user
|
|
||||||
}
|
|
||||||
|
|
||||||
src_configure() {
|
|
||||||
local myconf=()
|
|
||||||
|
|
||||||
# Fix bug 37354: Disallow -funroll-all-loops on amd64
|
|
||||||
# Bug 57859 suggests that we want to do this for all archs
|
|
||||||
filter-flags -funroll-all-loops
|
|
||||||
|
|
||||||
# Fix bug 76331: -O3 causes problems, use -O2 instead. We'll do this for
|
|
||||||
# everyone since previous flag filtering bugs have turned out to affect
|
|
||||||
# multiple archs...
|
|
||||||
replace-flags -O3 -O2
|
|
||||||
|
|
||||||
# Fix bug 18245: Prevent "make" from the following chain:
|
|
||||||
# (1) Notice configure.ac is newer than auto/configure
|
|
||||||
# (2) Rebuild auto/configure
|
|
||||||
# (3) Notice auto/configure is newer than auto/config.mk
|
|
||||||
# (4) Run ./configure (with wrong args) to remake auto/config.mk
|
|
||||||
sed -i 's# auto/config\.mk:#:#' src/Makefile || die "Makefile sed failed"
|
|
||||||
rm src/auto/configure || die "rm failed"
|
|
||||||
emake -j1 -C src autoconf
|
|
||||||
|
|
||||||
# This should fix a sandbox violation (see bug 24447). The hvc
|
|
||||||
# things are for ppc64, see bug 86433.
|
|
||||||
for file in /dev/pty/s* /dev/console /dev/hvc/* /dev/hvc*; do
|
|
||||||
if [[ -e "${file}" ]]; then
|
|
||||||
addwrite $file
|
|
||||||
fi
|
|
||||||
done
|
|
||||||
|
|
||||||
if use minimal; then
|
|
||||||
myconf=(
|
|
||||||
--with-features=tiny
|
|
||||||
--disable-nls
|
|
||||||
--disable-canberra
|
|
||||||
--disable-acl
|
|
||||||
--enable-gui=no
|
|
||||||
--without-x
|
|
||||||
--disable-darwin
|
|
||||||
--disable-luainterp
|
|
||||||
--disable-perlinterp
|
|
||||||
--disable-pythoninterp
|
|
||||||
--disable-mzschemeinterp
|
|
||||||
--disable-rubyinterp
|
|
||||||
--disable-selinux
|
|
||||||
--disable-tclinterp
|
|
||||||
--disable-gpm
|
|
||||||
)
|
|
||||||
else
|
|
||||||
use debug && append-flags "-DDEBUG"
|
|
||||||
|
|
||||||
myconf=(
|
|
||||||
--with-features=huge
|
|
||||||
$(use_enable sound canberra)
|
|
||||||
$(use_enable acl)
|
|
||||||
$(use_enable cscope)
|
|
||||||
$(use_enable gpm)
|
|
||||||
$(use_enable lua luainterp)
|
|
||||||
$(usex lua "--with-lua-prefix=${EPREFIX}/usr" "")
|
|
||||||
$(use_with luajit)
|
|
||||||
$(use_enable nls)
|
|
||||||
$(use_enable perl perlinterp)
|
|
||||||
$(use_enable python python3interp)
|
|
||||||
$(use_with python python3-command $(type -P $(eselect python show --python3)))
|
|
||||||
$(use_enable racket mzschemeinterp)
|
|
||||||
$(use_enable ruby rubyinterp)
|
|
||||||
$(use_enable selinux)
|
|
||||||
$(use_enable tcl tclinterp)
|
|
||||||
$(use_enable terminal)
|
|
||||||
)
|
|
||||||
|
|
||||||
# --with-features=huge forces on cscope even if we --disable it. We need
|
|
||||||
# to sed this out to avoid screwiness. (1 Sep 2004 ciaranm)
|
|
||||||
if ! use cscope; then
|
|
||||||
sed -i -e \
|
|
||||||
'/# define FEAT_CSCOPE/d' src/feature.h || die "sed failed"
|
|
||||||
fi
|
|
||||||
|
|
||||||
# don't test USE=X here ... see bug #19115
|
|
||||||
# but need to provide a way to link against X ... see bug #20093
|
|
||||||
myconf+=(
|
|
||||||
--enable-gui=no
|
|
||||||
--disable-darwin
|
|
||||||
$(use_with X x)
|
|
||||||
)
|
|
||||||
fi
|
|
||||||
|
|
||||||
# let package manager strip binaries
|
|
||||||
export ac_cv_prog_STRIP="$(type -P true ) faking strip"
|
|
||||||
|
|
||||||
# keep prefix env contained within the EPREFIX
|
|
||||||
use prefix && myconf+=( --without-local-dir )
|
|
||||||
|
|
||||||
econf \
|
|
||||||
--with-modified-by=Gentoo-${PVR} \
|
|
||||||
"${myconf[@]}"
|
|
||||||
}
|
|
||||||
|
|
||||||
src_compile() {
|
|
||||||
# The following allows emake to be used
|
|
||||||
emake -j1 -C src auto/osdef.h objects
|
|
||||||
|
|
||||||
emake
|
|
||||||
}
|
|
||||||
|
|
||||||
src_test() {
|
|
||||||
einfo
|
|
||||||
einfo "Starting vim tests. Several error messages will be shown"
|
|
||||||
einfo "while the tests run. This is normal behaviour and does not"
|
|
||||||
einfo "indicate a fault."
|
|
||||||
einfo
|
|
||||||
ewarn "If the tests fail, your terminal may be left in a strange"
|
|
||||||
ewarn "state. Usually, running 'reset' will fix this."
|
|
||||||
einfo
|
|
||||||
|
|
||||||
# Don't let vim talk to X
|
|
||||||
unset DISPLAY
|
|
||||||
|
|
||||||
emake -j1 -C src/testdir nongui
|
|
||||||
}
|
|
||||||
|
|
||||||
# Call eselect vi update with --if-unset
|
|
||||||
# to respect user's choice (bug 187449)
|
|
||||||
eselect_vi_update() {
|
|
||||||
einfo "Calling eselect vi update..."
|
|
||||||
eselect vi update --if-unset
|
|
||||||
eend $?
|
|
||||||
}
|
|
||||||
|
|
||||||
src_install() {
|
|
||||||
local vimfiles=/usr/share/vim/vim${VIM_VERSION/.}
|
|
||||||
|
|
||||||
# Note: Do not install symlinks for 'vi', 'ex', or 'view', as these are
|
|
||||||
# managed by eselect-vi
|
|
||||||
dobin src/vim
|
|
||||||
if ! use minimal ; then
|
|
||||||
dosym vim /usr/bin/vimdiff
|
|
||||||
fi
|
|
||||||
dosym vim /usr/bin/rvim
|
|
||||||
dosym vim /usr/bin/rview
|
|
||||||
if use vim-pager ; then
|
|
||||||
dosym ${vimfiles}/macros/less.sh /usr/bin/vimpager
|
|
||||||
dosym ${vimfiles}/macros/manpager.sh /usr/bin/vimmanpager
|
|
||||||
insinto ${vimfiles}/macros
|
|
||||||
doins runtime/macros/manpager.sh
|
|
||||||
fperms a+x ${vimfiles}/macros/manpager.sh
|
|
||||||
fi
|
|
||||||
|
|
||||||
domenu runtime/vim.desktop
|
|
||||||
|
|
||||||
newbashcomp "${FILESDIR}"/${PN}-completion ${PN}
|
|
||||||
|
|
||||||
# keep in sync with 'complete ... -F' list
|
|
||||||
bashcomp_alias vim ex vi view rvim rview vimdiff
|
|
||||||
}
|
|
||||||
|
|
||||||
pkg_postinst() {
|
|
||||||
# Update documentation tags (from vim-doc.eclass)
|
|
||||||
update_vim_helptags
|
|
||||||
|
|
||||||
# Call eselect vi update
|
|
||||||
eselect_vi_update
|
|
||||||
|
|
||||||
# update desktop file mime cache
|
|
||||||
xdg_desktop_database_update
|
|
||||||
}
|
|
||||||
|
|
||||||
pkg_postrm() {
|
|
||||||
# Update documentation tags (from vim-doc.eclass)
|
|
||||||
update_vim_helptags
|
|
||||||
|
|
||||||
# Call eselect vi update
|
|
||||||
eselect_vi_update
|
|
||||||
|
|
||||||
# update desktop file mime cache
|
|
||||||
xdg_desktop_database_update
|
|
||||||
}
|
|
@ -1,320 +0,0 @@
|
|||||||
# Copyright 1999-2021 Gentoo Authors
|
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
|
||||||
|
|
||||||
EAPI=7
|
|
||||||
VIM_VERSION="8.2"
|
|
||||||
PYTHON_COMPAT=( python3_{7,8} )
|
|
||||||
PYTHON_REQ_USE="threads(+)"
|
|
||||||
USE_RUBY="ruby24 ruby25 ruby26 ruby27"
|
|
||||||
|
|
||||||
inherit vim-doc flag-o-matic bash-completion-r1 python-single-r1 ruby-single desktop xdg-utils
|
|
||||||
|
|
||||||
if [[ ${PV} == 9999* ]] ; then
|
|
||||||
inherit git-r3
|
|
||||||
EGIT_REPO_URI="https://github.com/vim/vim.git"
|
|
||||||
else
|
|
||||||
SRC_URI="https://github.com/vim/vim/archive/v${PV}.tar.gz -> ${P}.tar.gz
|
|
||||||
https://dev.gentoo.org/~zlogene/distfiles/app-editors/vim/vim-8.2.0360-gentoo-patches.tar.xz"
|
|
||||||
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~x64-cygwin ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
|
|
||||||
fi
|
|
||||||
|
|
||||||
DESCRIPTION="Vim, an improved vi-style text editor"
|
|
||||||
HOMEPAGE="https://vim.sourceforge.io/ https://github.com/vim/vim"
|
|
||||||
|
|
||||||
SLOT="0"
|
|
||||||
LICENSE="vim"
|
|
||||||
IUSE="X acl cscope debug gpm lua luajit minimal nls perl python racket ruby selinux sound tcl terminal vim-pager"
|
|
||||||
REQUIRED_USE="
|
|
||||||
python? ( ${PYTHON_REQUIRED_USE} )
|
|
||||||
vim-pager? ( !minimal )
|
|
||||||
"
|
|
||||||
|
|
||||||
RDEPEND="
|
|
||||||
>=app-eselect/eselect-vi-1.1
|
|
||||||
>=sys-libs/ncurses-5.2-r2:0=
|
|
||||||
nls? ( virtual/libintl )
|
|
||||||
acl? ( kernel_linux? ( sys-apps/acl ) )
|
|
||||||
cscope? ( dev-util/cscope )
|
|
||||||
gpm? ( >=sys-libs/gpm-1.19.3 )
|
|
||||||
lua? (
|
|
||||||
luajit? ( dev-lang/luajit:2= )
|
|
||||||
!luajit? ( dev-lang/lua:0[deprecated] )
|
|
||||||
)
|
|
||||||
!minimal? ( ~app-editors/vim-core-${PV} )
|
|
||||||
vim-pager? ( app-editors/vim-core[-minimal] )
|
|
||||||
perl? ( dev-lang/perl:= )
|
|
||||||
python? ( ${PYTHON_DEPS} )
|
|
||||||
racket? ( dev-scheme/racket )
|
|
||||||
ruby? ( ${RUBY_DEPS} )
|
|
||||||
selinux? ( sys-libs/libselinux )
|
|
||||||
sound? ( media-libs/libcanberra )
|
|
||||||
tcl? ( dev-lang/tcl:0= )
|
|
||||||
X? ( x11-libs/libXt )
|
|
||||||
"
|
|
||||||
|
|
||||||
DEPEND="
|
|
||||||
${RDEPEND}
|
|
||||||
sys-devel/autoconf
|
|
||||||
nls? ( sys-devel/gettext )
|
|
||||||
"
|
|
||||||
|
|
||||||
pkg_setup() {
|
|
||||||
# people with broken alphabets run into trouble. bug 82186.
|
|
||||||
unset LANG LC_ALL
|
|
||||||
export LC_COLLATE="C"
|
|
||||||
|
|
||||||
# Gnome sandbox silliness. bug #114475.
|
|
||||||
mkdir -p "${T}"/home || die "mkdir failed"
|
|
||||||
export HOME="${T}"/home
|
|
||||||
|
|
||||||
use python && python-single-r1_pkg_setup
|
|
||||||
}
|
|
||||||
|
|
||||||
src_prepare() {
|
|
||||||
if [[ ${PV} != 9999* ]] ; then
|
|
||||||
# Gentoo patches to fix runtime issues, cross-compile errors, etc
|
|
||||||
eapply "${WORKDIR}"/patches/
|
|
||||||
fi
|
|
||||||
|
|
||||||
# Fixup a script to use awk instead of nawk
|
|
||||||
sed -i -e \
|
|
||||||
'1s|.*|#!'"${EPREFIX}"'/usr/bin/awk -f|' \
|
|
||||||
"${S}"/runtime/tools/mve.awk || die "mve.awk sed failed"
|
|
||||||
|
|
||||||
# Read vimrc and gvimrc from /etc/vim
|
|
||||||
echo '#define SYS_VIMRC_FILE "'${EPREFIX}'/etc/vim/vimrc"' \
|
|
||||||
>> "${S}"/src/feature.h || die "echo failed"
|
|
||||||
echo '#define SYS_GVIMRC_FILE "'${EPREFIX}'/etc/vim/gvimrc"' \
|
|
||||||
>> "${S}"/src/feature.h || die "echo failed"
|
|
||||||
|
|
||||||
# Use exuberant ctags which installs as /usr/bin/exuberant-ctags.
|
|
||||||
# Hopefully this pattern won't break for a while at least.
|
|
||||||
# This fixes bug 29398 (27 Sep 2003 agriffis)
|
|
||||||
sed -i -e \
|
|
||||||
's/\<ctags\("\| [-*.]\)/exuberant-&/g' \
|
|
||||||
"${S}"/runtime/doc/syntax.txt \
|
|
||||||
"${S}"/runtime/doc/tagsrch.txt \
|
|
||||||
"${S}"/runtime/doc/usr_29.txt \
|
|
||||||
"${S}"/runtime/menu.vim \
|
|
||||||
"${S}"/src/configure.ac || die 'sed failed'
|
|
||||||
|
|
||||||
# Don't be fooled by /usr/include/libc.h. When found, vim thinks
|
|
||||||
# this is NeXT, but it's actually just a file in dev-libs/9libs
|
|
||||||
# This fixes bug 43885 (20 Mar 2004 agriffis)
|
|
||||||
sed -i -e \
|
|
||||||
's/ libc\.h / /' \
|
|
||||||
"${S}"/src/configure.ac || die 'sed failed'
|
|
||||||
|
|
||||||
# gcc on sparc32 has this, uhm, interesting problem with detecting EOF
|
|
||||||
# correctly. To avoid some really entertaining error messages about stuff
|
|
||||||
# which isn't even in the source file being invalid, we'll do some trickery
|
|
||||||
# to make the error never occur. bug 66162 (02 October 2004 ciaranm)
|
|
||||||
find "${S}" -name '*.c' | while read c; do
|
|
||||||
echo >> "$c" || die "echo failed"
|
|
||||||
done
|
|
||||||
|
|
||||||
# conditionally make the manpager.sh script
|
|
||||||
if use vim-pager; then
|
|
||||||
cat > "${S}"/runtime/macros/manpager.sh <<-_EOF_ || die "cat EOF failed"
|
|
||||||
#!/bin/sh
|
|
||||||
sed -e 's/\x1B\[[[:digit:]]\+m//g' | col -b | \\
|
|
||||||
vim \\
|
|
||||||
-c 'let no_plugin_maps = 1' \\
|
|
||||||
-c 'set nolist nomod ft=man ts=8' \\
|
|
||||||
-c 'let g:showmarks_enable=0' \\
|
|
||||||
-c 'runtime! macros/less.vim' -
|
|
||||||
_EOF_
|
|
||||||
fi
|
|
||||||
|
|
||||||
# Try to avoid sandbox problems. Bug #114475.
|
|
||||||
if [[ -d "${S}"/src/po ]]; then
|
|
||||||
sed -i -e \
|
|
||||||
'/-S check.vim/s,..VIM.,ln -s $(VIM) testvim \; ./testvim -X,' \
|
|
||||||
"${S}"/src/po/Makefile || die "sed failed"
|
|
||||||
fi
|
|
||||||
|
|
||||||
cp -v "${S}"/src/config.mk.dist "${S}"/src/auto/config.mk || die "cp failed"
|
|
||||||
|
|
||||||
sed -i -e \
|
|
||||||
"s:\\\$(PERLLIB)/ExtUtils/xsubpp:${EPREFIX}/usr/bin/xsubpp:" \
|
|
||||||
"${S}"/src/Makefile || die 'sed for ExtUtils-ParseXS failed'
|
|
||||||
|
|
||||||
eapply_user
|
|
||||||
}
|
|
||||||
|
|
||||||
src_configure() {
|
|
||||||
local myconf=()
|
|
||||||
|
|
||||||
# Fix bug 37354: Disallow -funroll-all-loops on amd64
|
|
||||||
# Bug 57859 suggests that we want to do this for all archs
|
|
||||||
filter-flags -funroll-all-loops
|
|
||||||
|
|
||||||
# Fix bug 76331: -O3 causes problems, use -O2 instead. We'll do this for
|
|
||||||
# everyone since previous flag filtering bugs have turned out to affect
|
|
||||||
# multiple archs...
|
|
||||||
replace-flags -O3 -O2
|
|
||||||
|
|
||||||
# Fix bug 18245: Prevent "make" from the following chain:
|
|
||||||
# (1) Notice configure.ac is newer than auto/configure
|
|
||||||
# (2) Rebuild auto/configure
|
|
||||||
# (3) Notice auto/configure is newer than auto/config.mk
|
|
||||||
# (4) Run ./configure (with wrong args) to remake auto/config.mk
|
|
||||||
sed -i 's# auto/config\.mk:#:#' src/Makefile || die "Makefile sed failed"
|
|
||||||
rm src/auto/configure || die "rm failed"
|
|
||||||
emake -j1 -C src autoconf
|
|
||||||
|
|
||||||
# This should fix a sandbox violation (see bug 24447). The hvc
|
|
||||||
# things are for ppc64, see bug 86433.
|
|
||||||
for file in /dev/pty/s* /dev/console /dev/hvc/* /dev/hvc*; do
|
|
||||||
if [[ -e "${file}" ]]; then
|
|
||||||
addwrite $file
|
|
||||||
fi
|
|
||||||
done
|
|
||||||
|
|
||||||
if use minimal; then
|
|
||||||
myconf=(
|
|
||||||
--with-features=tiny
|
|
||||||
--disable-nls
|
|
||||||
--disable-canberra
|
|
||||||
--disable-acl
|
|
||||||
--enable-gui=no
|
|
||||||
--without-x
|
|
||||||
--disable-darwin
|
|
||||||
--disable-luainterp
|
|
||||||
--disable-perlinterp
|
|
||||||
--disable-pythoninterp
|
|
||||||
--disable-mzschemeinterp
|
|
||||||
--disable-rubyinterp
|
|
||||||
--disable-selinux
|
|
||||||
--disable-tclinterp
|
|
||||||
--disable-gpm
|
|
||||||
)
|
|
||||||
else
|
|
||||||
use debug && append-flags "-DDEBUG"
|
|
||||||
|
|
||||||
myconf=(
|
|
||||||
--with-features=huge
|
|
||||||
$(use_enable sound canberra)
|
|
||||||
$(use_enable acl)
|
|
||||||
$(use_enable cscope)
|
|
||||||
$(use_enable gpm)
|
|
||||||
$(use_enable lua luainterp)
|
|
||||||
$(usex lua "--with-lua-prefix=${EPREFIX}/usr" "")
|
|
||||||
$(use_with luajit)
|
|
||||||
$(use_enable nls)
|
|
||||||
$(use_enable perl perlinterp)
|
|
||||||
$(use_enable python python3interp)
|
|
||||||
$(use_with python python3-command $(type -P $(eselect python show --python3)))
|
|
||||||
$(use_enable racket mzschemeinterp)
|
|
||||||
$(use_enable ruby rubyinterp)
|
|
||||||
$(use_enable selinux)
|
|
||||||
$(use_enable tcl tclinterp)
|
|
||||||
$(use_enable terminal)
|
|
||||||
)
|
|
||||||
|
|
||||||
# --with-features=huge forces on cscope even if we --disable it. We need
|
|
||||||
# to sed this out to avoid screwiness. (1 Sep 2004 ciaranm)
|
|
||||||
if ! use cscope; then
|
|
||||||
sed -i -e \
|
|
||||||
'/# define FEAT_CSCOPE/d' src/feature.h || die "sed failed"
|
|
||||||
fi
|
|
||||||
|
|
||||||
# don't test USE=X here ... see bug #19115
|
|
||||||
# but need to provide a way to link against X ... see bug #20093
|
|
||||||
myconf+=(
|
|
||||||
--enable-gui=no
|
|
||||||
--disable-darwin
|
|
||||||
$(use_with X x)
|
|
||||||
)
|
|
||||||
fi
|
|
||||||
|
|
||||||
# let package manager strip binaries
|
|
||||||
export ac_cv_prog_STRIP="$(type -P true ) faking strip"
|
|
||||||
|
|
||||||
# keep prefix env contained within the EPREFIX
|
|
||||||
use prefix && myconf+=( --without-local-dir )
|
|
||||||
|
|
||||||
econf \
|
|
||||||
--with-modified-by=Gentoo-${PVR} \
|
|
||||||
"${myconf[@]}"
|
|
||||||
}
|
|
||||||
|
|
||||||
src_compile() {
|
|
||||||
# The following allows emake to be used
|
|
||||||
emake -j1 -C src auto/osdef.h objects
|
|
||||||
|
|
||||||
emake
|
|
||||||
}
|
|
||||||
|
|
||||||
src_test() {
|
|
||||||
einfo
|
|
||||||
einfo "Starting vim tests. Several error messages will be shown"
|
|
||||||
einfo "while the tests run. This is normal behaviour and does not"
|
|
||||||
einfo "indicate a fault."
|
|
||||||
einfo
|
|
||||||
ewarn "If the tests fail, your terminal may be left in a strange"
|
|
||||||
ewarn "state. Usually, running 'reset' will fix this."
|
|
||||||
einfo
|
|
||||||
|
|
||||||
# Don't let vim talk to X
|
|
||||||
unset DISPLAY
|
|
||||||
|
|
||||||
emake -j1 -C src/testdir nongui
|
|
||||||
}
|
|
||||||
|
|
||||||
# Call eselect vi update with --if-unset
|
|
||||||
# to respect user's choice (bug 187449)
|
|
||||||
eselect_vi_update() {
|
|
||||||
einfo "Calling eselect vi update..."
|
|
||||||
eselect vi update --if-unset
|
|
||||||
eend $?
|
|
||||||
}
|
|
||||||
|
|
||||||
src_install() {
|
|
||||||
local vimfiles=/usr/share/vim/vim${VIM_VERSION/.}
|
|
||||||
|
|
||||||
# Note: Do not install symlinks for 'vi', 'ex', or 'view', as these are
|
|
||||||
# managed by eselect-vi
|
|
||||||
dobin src/vim
|
|
||||||
if ! use minimal ; then
|
|
||||||
dosym vim /usr/bin/vimdiff
|
|
||||||
fi
|
|
||||||
dosym vim /usr/bin/rvim
|
|
||||||
dosym vim /usr/bin/rview
|
|
||||||
if use vim-pager ; then
|
|
||||||
dosym ${vimfiles}/macros/less.sh /usr/bin/vimpager
|
|
||||||
dosym ${vimfiles}/macros/manpager.sh /usr/bin/vimmanpager
|
|
||||||
insinto ${vimfiles}/macros
|
|
||||||
doins runtime/macros/manpager.sh
|
|
||||||
fperms a+x ${vimfiles}/macros/manpager.sh
|
|
||||||
fi
|
|
||||||
|
|
||||||
domenu runtime/vim.desktop
|
|
||||||
|
|
||||||
newbashcomp "${FILESDIR}"/${PN}-completion ${PN}
|
|
||||||
|
|
||||||
# keep in sync with 'complete ... -F' list
|
|
||||||
bashcomp_alias vim ex vi view rvim rview vimdiff
|
|
||||||
}
|
|
||||||
|
|
||||||
pkg_postinst() {
|
|
||||||
# Update documentation tags (from vim-doc.eclass)
|
|
||||||
update_vim_helptags
|
|
||||||
|
|
||||||
# Call eselect vi update
|
|
||||||
eselect_vi_update
|
|
||||||
|
|
||||||
# update desktop file mime cache
|
|
||||||
xdg_desktop_database_update
|
|
||||||
}
|
|
||||||
|
|
||||||
pkg_postrm() {
|
|
||||||
# Update documentation tags (from vim-doc.eclass)
|
|
||||||
update_vim_helptags
|
|
||||||
|
|
||||||
# Call eselect vi update
|
|
||||||
eselect_vi_update
|
|
||||||
|
|
||||||
# update desktop file mime cache
|
|
||||||
xdg_desktop_database_update
|
|
||||||
}
|
|
@ -1,320 +0,0 @@
|
|||||||
# Copyright 1999-2021 Gentoo Authors
|
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
|
||||||
|
|
||||||
EAPI=7
|
|
||||||
VIM_VERSION="8.2"
|
|
||||||
PYTHON_COMPAT=( python3_{7,8} )
|
|
||||||
PYTHON_REQ_USE="threads(+)"
|
|
||||||
USE_RUBY="ruby24 ruby25 ruby26 ruby27"
|
|
||||||
|
|
||||||
inherit vim-doc flag-o-matic bash-completion-r1 python-single-r1 ruby-single desktop xdg-utils
|
|
||||||
|
|
||||||
if [[ ${PV} == 9999* ]] ; then
|
|
||||||
inherit git-r3
|
|
||||||
EGIT_REPO_URI="https://github.com/vim/vim.git"
|
|
||||||
else
|
|
||||||
SRC_URI="https://github.com/vim/vim/archive/v${PV}.tar.gz -> ${P}.tar.gz
|
|
||||||
https://dev.gentoo.org/~zlogene/distfiles/app-editors/vim/vim-8.2.0360-gentoo-patches.tar.xz"
|
|
||||||
KEYWORDS="~alpha ~amd64 arm arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 sparc ~x86 ~x64-cygwin ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
|
|
||||||
fi
|
|
||||||
|
|
||||||
DESCRIPTION="Vim, an improved vi-style text editor"
|
|
||||||
HOMEPAGE="https://vim.sourceforge.io/ https://github.com/vim/vim"
|
|
||||||
|
|
||||||
SLOT="0"
|
|
||||||
LICENSE="vim"
|
|
||||||
IUSE="X acl cscope debug gpm lua luajit minimal nls perl python racket ruby selinux sound tcl terminal vim-pager"
|
|
||||||
REQUIRED_USE="
|
|
||||||
python? ( ${PYTHON_REQUIRED_USE} )
|
|
||||||
vim-pager? ( !minimal )
|
|
||||||
"
|
|
||||||
|
|
||||||
RDEPEND="
|
|
||||||
>=app-eselect/eselect-vi-1.1
|
|
||||||
>=sys-libs/ncurses-5.2-r2:0=
|
|
||||||
nls? ( virtual/libintl )
|
|
||||||
acl? ( kernel_linux? ( sys-apps/acl ) )
|
|
||||||
cscope? ( dev-util/cscope )
|
|
||||||
gpm? ( >=sys-libs/gpm-1.19.3 )
|
|
||||||
lua? (
|
|
||||||
luajit? ( dev-lang/luajit:2= )
|
|
||||||
!luajit? ( dev-lang/lua:0[deprecated] )
|
|
||||||
)
|
|
||||||
!minimal? ( ~app-editors/vim-core-${PV} )
|
|
||||||
vim-pager? ( app-editors/vim-core[-minimal] )
|
|
||||||
perl? ( dev-lang/perl:= )
|
|
||||||
python? ( ${PYTHON_DEPS} )
|
|
||||||
racket? ( dev-scheme/racket )
|
|
||||||
ruby? ( ${RUBY_DEPS} )
|
|
||||||
selinux? ( sys-libs/libselinux )
|
|
||||||
sound? ( media-libs/libcanberra )
|
|
||||||
tcl? ( dev-lang/tcl:0= )
|
|
||||||
X? ( x11-libs/libXt )
|
|
||||||
"
|
|
||||||
|
|
||||||
DEPEND="
|
|
||||||
${RDEPEND}
|
|
||||||
sys-devel/autoconf
|
|
||||||
nls? ( sys-devel/gettext )
|
|
||||||
"
|
|
||||||
|
|
||||||
pkg_setup() {
|
|
||||||
# people with broken alphabets run into trouble. bug 82186.
|
|
||||||
unset LANG LC_ALL
|
|
||||||
export LC_COLLATE="C"
|
|
||||||
|
|
||||||
# Gnome sandbox silliness. bug #114475.
|
|
||||||
mkdir -p "${T}"/home || die "mkdir failed"
|
|
||||||
export HOME="${T}"/home
|
|
||||||
|
|
||||||
use python && python-single-r1_pkg_setup
|
|
||||||
}
|
|
||||||
|
|
||||||
src_prepare() {
|
|
||||||
if [[ ${PV} != 9999* ]] ; then
|
|
||||||
# Gentoo patches to fix runtime issues, cross-compile errors, etc
|
|
||||||
eapply "${WORKDIR}"/patches/
|
|
||||||
fi
|
|
||||||
|
|
||||||
# Fixup a script to use awk instead of nawk
|
|
||||||
sed -i -e \
|
|
||||||
'1s|.*|#!'"${EPREFIX}"'/usr/bin/awk -f|' \
|
|
||||||
"${S}"/runtime/tools/mve.awk || die "mve.awk sed failed"
|
|
||||||
|
|
||||||
# Read vimrc and gvimrc from /etc/vim
|
|
||||||
echo '#define SYS_VIMRC_FILE "'${EPREFIX}'/etc/vim/vimrc"' \
|
|
||||||
>> "${S}"/src/feature.h || die "echo failed"
|
|
||||||
echo '#define SYS_GVIMRC_FILE "'${EPREFIX}'/etc/vim/gvimrc"' \
|
|
||||||
>> "${S}"/src/feature.h || die "echo failed"
|
|
||||||
|
|
||||||
# Use exuberant ctags which installs as /usr/bin/exuberant-ctags.
|
|
||||||
# Hopefully this pattern won't break for a while at least.
|
|
||||||
# This fixes bug 29398 (27 Sep 2003 agriffis)
|
|
||||||
sed -i -e \
|
|
||||||
's/\<ctags\("\| [-*.]\)/exuberant-&/g' \
|
|
||||||
"${S}"/runtime/doc/syntax.txt \
|
|
||||||
"${S}"/runtime/doc/tagsrch.txt \
|
|
||||||
"${S}"/runtime/doc/usr_29.txt \
|
|
||||||
"${S}"/runtime/menu.vim \
|
|
||||||
"${S}"/src/configure.ac || die 'sed failed'
|
|
||||||
|
|
||||||
# Don't be fooled by /usr/include/libc.h. When found, vim thinks
|
|
||||||
# this is NeXT, but it's actually just a file in dev-libs/9libs
|
|
||||||
# This fixes bug 43885 (20 Mar 2004 agriffis)
|
|
||||||
sed -i -e \
|
|
||||||
's/ libc\.h / /' \
|
|
||||||
"${S}"/src/configure.ac || die 'sed failed'
|
|
||||||
|
|
||||||
# gcc on sparc32 has this, uhm, interesting problem with detecting EOF
|
|
||||||
# correctly. To avoid some really entertaining error messages about stuff
|
|
||||||
# which isn't even in the source file being invalid, we'll do some trickery
|
|
||||||
# to make the error never occur. bug 66162 (02 October 2004 ciaranm)
|
|
||||||
find "${S}" -name '*.c' | while read c; do
|
|
||||||
echo >> "$c" || die "echo failed"
|
|
||||||
done
|
|
||||||
|
|
||||||
# conditionally make the manpager.sh script
|
|
||||||
if use vim-pager; then
|
|
||||||
cat > "${S}"/runtime/macros/manpager.sh <<-_EOF_ || die "cat EOF failed"
|
|
||||||
#!/bin/sh
|
|
||||||
sed -e 's/\x1B\[[[:digit:]]\+m//g' | col -b | \\
|
|
||||||
vim \\
|
|
||||||
-c 'let no_plugin_maps = 1' \\
|
|
||||||
-c 'set nolist nomod ft=man ts=8' \\
|
|
||||||
-c 'let g:showmarks_enable=0' \\
|
|
||||||
-c 'runtime! macros/less.vim' -
|
|
||||||
_EOF_
|
|
||||||
fi
|
|
||||||
|
|
||||||
# Try to avoid sandbox problems. Bug #114475.
|
|
||||||
if [[ -d "${S}"/src/po ]]; then
|
|
||||||
sed -i -e \
|
|
||||||
'/-S check.vim/s,..VIM.,ln -s $(VIM) testvim \; ./testvim -X,' \
|
|
||||||
"${S}"/src/po/Makefile || die "sed failed"
|
|
||||||
fi
|
|
||||||
|
|
||||||
cp -v "${S}"/src/config.mk.dist "${S}"/src/auto/config.mk || die "cp failed"
|
|
||||||
|
|
||||||
sed -i -e \
|
|
||||||
"s:\\\$(PERLLIB)/ExtUtils/xsubpp:${EPREFIX}/usr/bin/xsubpp:" \
|
|
||||||
"${S}"/src/Makefile || die 'sed for ExtUtils-ParseXS failed'
|
|
||||||
|
|
||||||
eapply_user
|
|
||||||
}
|
|
||||||
|
|
||||||
src_configure() {
|
|
||||||
local myconf=()
|
|
||||||
|
|
||||||
# Fix bug 37354: Disallow -funroll-all-loops on amd64
|
|
||||||
# Bug 57859 suggests that we want to do this for all archs
|
|
||||||
filter-flags -funroll-all-loops
|
|
||||||
|
|
||||||
# Fix bug 76331: -O3 causes problems, use -O2 instead. We'll do this for
|
|
||||||
# everyone since previous flag filtering bugs have turned out to affect
|
|
||||||
# multiple archs...
|
|
||||||
replace-flags -O3 -O2
|
|
||||||
|
|
||||||
# Fix bug 18245: Prevent "make" from the following chain:
|
|
||||||
# (1) Notice configure.ac is newer than auto/configure
|
|
||||||
# (2) Rebuild auto/configure
|
|
||||||
# (3) Notice auto/configure is newer than auto/config.mk
|
|
||||||
# (4) Run ./configure (with wrong args) to remake auto/config.mk
|
|
||||||
sed -i 's# auto/config\.mk:#:#' src/Makefile || die "Makefile sed failed"
|
|
||||||
rm src/auto/configure || die "rm failed"
|
|
||||||
emake -j1 -C src autoconf
|
|
||||||
|
|
||||||
# This should fix a sandbox violation (see bug 24447). The hvc
|
|
||||||
# things are for ppc64, see bug 86433.
|
|
||||||
for file in /dev/pty/s* /dev/console /dev/hvc/* /dev/hvc*; do
|
|
||||||
if [[ -e "${file}" ]]; then
|
|
||||||
addwrite $file
|
|
||||||
fi
|
|
||||||
done
|
|
||||||
|
|
||||||
if use minimal; then
|
|
||||||
myconf=(
|
|
||||||
--with-features=tiny
|
|
||||||
--disable-nls
|
|
||||||
--disable-canberra
|
|
||||||
--disable-acl
|
|
||||||
--enable-gui=no
|
|
||||||
--without-x
|
|
||||||
--disable-darwin
|
|
||||||
--disable-luainterp
|
|
||||||
--disable-perlinterp
|
|
||||||
--disable-pythoninterp
|
|
||||||
--disable-mzschemeinterp
|
|
||||||
--disable-rubyinterp
|
|
||||||
--disable-selinux
|
|
||||||
--disable-tclinterp
|
|
||||||
--disable-gpm
|
|
||||||
)
|
|
||||||
else
|
|
||||||
use debug && append-flags "-DDEBUG"
|
|
||||||
|
|
||||||
myconf=(
|
|
||||||
--with-features=huge
|
|
||||||
$(use_enable sound canberra)
|
|
||||||
$(use_enable acl)
|
|
||||||
$(use_enable cscope)
|
|
||||||
$(use_enable gpm)
|
|
||||||
$(use_enable lua luainterp)
|
|
||||||
$(usex lua "--with-lua-prefix=${EPREFIX}/usr" "")
|
|
||||||
$(use_with luajit)
|
|
||||||
$(use_enable nls)
|
|
||||||
$(use_enable perl perlinterp)
|
|
||||||
$(use_enable python python3interp)
|
|
||||||
$(use_with python python3-command "${PYTHON}")
|
|
||||||
$(use_enable racket mzschemeinterp)
|
|
||||||
$(use_enable ruby rubyinterp)
|
|
||||||
$(use_enable selinux)
|
|
||||||
$(use_enable tcl tclinterp)
|
|
||||||
$(use_enable terminal)
|
|
||||||
)
|
|
||||||
|
|
||||||
# --with-features=huge forces on cscope even if we --disable it. We need
|
|
||||||
# to sed this out to avoid screwiness. (1 Sep 2004 ciaranm)
|
|
||||||
if ! use cscope; then
|
|
||||||
sed -i -e \
|
|
||||||
'/# define FEAT_CSCOPE/d' src/feature.h || die "sed failed"
|
|
||||||
fi
|
|
||||||
|
|
||||||
# don't test USE=X here ... see bug #19115
|
|
||||||
# but need to provide a way to link against X ... see bug #20093
|
|
||||||
myconf+=(
|
|
||||||
--enable-gui=no
|
|
||||||
--disable-darwin
|
|
||||||
$(use_with X x)
|
|
||||||
)
|
|
||||||
fi
|
|
||||||
|
|
||||||
# let package manager strip binaries
|
|
||||||
export ac_cv_prog_STRIP="$(type -P true ) faking strip"
|
|
||||||
|
|
||||||
# keep prefix env contained within the EPREFIX
|
|
||||||
use prefix && myconf+=( --without-local-dir )
|
|
||||||
|
|
||||||
econf \
|
|
||||||
--with-modified-by=Gentoo-${PVR} \
|
|
||||||
"${myconf[@]}"
|
|
||||||
}
|
|
||||||
|
|
||||||
src_compile() {
|
|
||||||
# The following allows emake to be used
|
|
||||||
emake -j1 -C src auto/osdef.h objects
|
|
||||||
|
|
||||||
emake
|
|
||||||
}
|
|
||||||
|
|
||||||
src_test() {
|
|
||||||
einfo
|
|
||||||
einfo "Starting vim tests. Several error messages will be shown"
|
|
||||||
einfo "while the tests run. This is normal behaviour and does not"
|
|
||||||
einfo "indicate a fault."
|
|
||||||
einfo
|
|
||||||
ewarn "If the tests fail, your terminal may be left in a strange"
|
|
||||||
ewarn "state. Usually, running 'reset' will fix this."
|
|
||||||
einfo
|
|
||||||
|
|
||||||
# Don't let vim talk to X
|
|
||||||
unset DISPLAY
|
|
||||||
|
|
||||||
emake -j1 -C src/testdir nongui
|
|
||||||
}
|
|
||||||
|
|
||||||
# Call eselect vi update with --if-unset
|
|
||||||
# to respect user's choice (bug 187449)
|
|
||||||
eselect_vi_update() {
|
|
||||||
einfo "Calling eselect vi update..."
|
|
||||||
eselect vi update --if-unset
|
|
||||||
eend $?
|
|
||||||
}
|
|
||||||
|
|
||||||
src_install() {
|
|
||||||
local vimfiles=/usr/share/vim/vim${VIM_VERSION/.}
|
|
||||||
|
|
||||||
# Note: Do not install symlinks for 'vi', 'ex', or 'view', as these are
|
|
||||||
# managed by eselect-vi
|
|
||||||
dobin src/vim
|
|
||||||
if ! use minimal ; then
|
|
||||||
dosym vim /usr/bin/vimdiff
|
|
||||||
fi
|
|
||||||
dosym vim /usr/bin/rvim
|
|
||||||
dosym vim /usr/bin/rview
|
|
||||||
if use vim-pager ; then
|
|
||||||
dosym ${vimfiles}/macros/less.sh /usr/bin/vimpager
|
|
||||||
dosym ${vimfiles}/macros/manpager.sh /usr/bin/vimmanpager
|
|
||||||
insinto ${vimfiles}/macros
|
|
||||||
doins runtime/macros/manpager.sh
|
|
||||||
fperms a+x ${vimfiles}/macros/manpager.sh
|
|
||||||
fi
|
|
||||||
|
|
||||||
domenu runtime/vim.desktop
|
|
||||||
|
|
||||||
newbashcomp "${FILESDIR}"/${PN}-completion ${PN}
|
|
||||||
|
|
||||||
# keep in sync with 'complete ... -F' list
|
|
||||||
bashcomp_alias vim ex vi view rvim rview vimdiff
|
|
||||||
}
|
|
||||||
|
|
||||||
pkg_postinst() {
|
|
||||||
# Update documentation tags (from vim-doc.eclass)
|
|
||||||
update_vim_helptags
|
|
||||||
|
|
||||||
# Call eselect vi update
|
|
||||||
eselect_vi_update
|
|
||||||
|
|
||||||
# update desktop file mime cache
|
|
||||||
xdg_desktop_database_update
|
|
||||||
}
|
|
||||||
|
|
||||||
pkg_postrm() {
|
|
||||||
# Update documentation tags (from vim-doc.eclass)
|
|
||||||
update_vim_helptags
|
|
||||||
|
|
||||||
# Call eselect vi update
|
|
||||||
eselect_vi_update
|
|
||||||
|
|
||||||
# update desktop file mime cache
|
|
||||||
xdg_desktop_database_update
|
|
||||||
}
|
|
Binary file not shown.
@ -1,6 +1,4 @@
|
|||||||
DIST bochs-2.6.10.tar.gz 5282176 BLAKE2B 9f75d5afd6bad9f91eb18dc0bd5c9ed998bf12077d3e8d944769055f0def1eed019756346071d3809d492c54177ec798e739259ee13f67ff4760744377dc877c SHA512 eff422cadc3e0db7a47c4015a59ca0fa8caf88ed3026706c1f766e802449ec8e4798e5f147a583e1cfbbc578f71da8800542c0e1f4d04bc2dea77955855e8689
|
DIST bochs-2.6.10.tar.gz 5282176 BLAKE2B 9f75d5afd6bad9f91eb18dc0bd5c9ed998bf12077d3e8d944769055f0def1eed019756346071d3809d492c54177ec798e739259ee13f67ff4760744377dc877c SHA512 eff422cadc3e0db7a47c4015a59ca0fa8caf88ed3026706c1f766e802449ec8e4798e5f147a583e1cfbbc578f71da8800542c0e1f4d04bc2dea77955855e8689
|
||||||
DIST bochs-2.6.9.tar.gz 5169187 BLAKE2B 49824a96a48294d8d507bc15128103e9c2839515554657d282c7c9533aa299cb6289581e760ea40a6c659adfb7ebdac0d273d2a9e7b598c95b145d65e8cdc977 SHA512 dfecf3a1bad07f06c2f7bb989d146e4a8eaeca493b598d415f5a4aec2a85eb5524ba417422157608c8b0828832611df487c6923c8f4ad98a147ac089fc514c46
|
|
||||||
EBUILD bochs-2.6.10.ebuild 1785 BLAKE2B a19e6aa898f4aaea6ed3f4874a31e28f1e01c513409de2fe6d1fd00a2badb64dbb5d980d7127841c93789af72a28a18a011481afc34232d6cd166e5f162e207e SHA512 e6c2fddefdba565ec2686ad6503be3304463007a918f9693b30ed4883932b4662e951a3f11a5d2438abc0b862fea02126eaac1bb314f63f1ebf428ff41d33750
|
EBUILD bochs-2.6.10.ebuild 1785 BLAKE2B a19e6aa898f4aaea6ed3f4874a31e28f1e01c513409de2fe6d1fd00a2badb64dbb5d980d7127841c93789af72a28a18a011481afc34232d6cd166e5f162e207e SHA512 e6c2fddefdba565ec2686ad6503be3304463007a918f9693b30ed4883932b4662e951a3f11a5d2438abc0b862fea02126eaac1bb314f63f1ebf428ff41d33750
|
||||||
EBUILD bochs-2.6.9.ebuild 1776 BLAKE2B ed0856066057c1e31272b17bb2133864cac4c6bccf954b471219764a535cb5bde293fa8970e7ed494d0022e153c6755f5453d3441de8d3ff9d10d87945bfb22b SHA512 0a68372737dad8f465996caf4308b200efbb3be5854fc018b269f38d7017ffa40715be83eea143abd902e46f13f07445585db3dafccc904f9878d14b6214fe06
|
|
||||||
EBUILD bochs-9999.ebuild 1839 BLAKE2B ef1221afa5924d0acbc0473d3d7cb41c8574f8c22783efffad4525da3bf516c537e1142cfad4cc6f01704430dc35fd3bf6916693a02ea588dd808b1da5550db3 SHA512 e2d8d015b657a336b6a77b6b37609ff7d99c119f9c6f3831b366b17e5356cceb7f3af30c5104f0ddc5b0b40ec980023ac1d2e1862ac77ef582b60f119257aaae
|
EBUILD bochs-9999.ebuild 1839 BLAKE2B ef1221afa5924d0acbc0473d3d7cb41c8574f8c22783efffad4525da3bf516c537e1142cfad4cc6f01704430dc35fd3bf6916693a02ea588dd808b1da5550db3 SHA512 e2d8d015b657a336b6a77b6b37609ff7d99c119f9c6f3831b366b17e5356cceb7f3af30c5104f0ddc5b0b40ec980023ac1d2e1862ac77ef582b60f119257aaae
|
||||||
MISC metadata.xml 694 BLAKE2B 5800f617f2bbcceb04ec0398182dd7dd025fc98991e25009fa0fab64ee7e4ce516cc4dc69ef84e8bf3804f52732ce35463295ff2621edbe8848620739cdbef5e SHA512 f485e816ba644c74965808ba68a2a4077ee7d8b6dc12777f7018fa27de0a8219d71ef513686fadd927dce8f1e9b0e011106b24b00b1cb88b2cdccef2f525ec19
|
MISC metadata.xml 694 BLAKE2B 5800f617f2bbcceb04ec0398182dd7dd025fc98991e25009fa0fab64ee7e4ce516cc4dc69ef84e8bf3804f52732ce35463295ff2621edbe8848620739cdbef5e SHA512 f485e816ba644c74965808ba68a2a4077ee7d8b6dc12777f7018fa27de0a8219d71ef513686fadd927dce8f1e9b0e011106b24b00b1cb88b2cdccef2f525ec19
|
||||||
|
@ -1,83 +0,0 @@
|
|||||||
# Copyright 1999-2018 Gentoo Foundation
|
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
|
||||||
|
|
||||||
EAPI=6
|
|
||||||
|
|
||||||
DESCRIPTION="LGPL-ed pc emulator"
|
|
||||||
HOMEPAGE="http://bochs.sourceforge.net/"
|
|
||||||
SRC_URI="mirror://sourceforge/bochs/${P}.tar.gz"
|
|
||||||
|
|
||||||
LICENSE="LGPL-2.1"
|
|
||||||
SLOT="0"
|
|
||||||
KEYWORDS="~alpha ~amd64 ~ppc ~sparc ~x86"
|
|
||||||
|
|
||||||
IUSE="3dnow avx debugger doc gdb ncurses readline svga sdl +smp vnc X +x86-64"
|
|
||||||
REQUIRED_USE="
|
|
||||||
avx? ( x86-64 )
|
|
||||||
gdb? ( !debugger !smp )
|
|
||||||
debugger? ( !gdb )
|
|
||||||
"
|
|
||||||
|
|
||||||
RDEPEND="
|
|
||||||
X? ( x11-libs/libICE
|
|
||||||
x11-libs/libSM
|
|
||||||
x11-libs/libX11
|
|
||||||
x11-libs/libXpm )
|
|
||||||
sdl? ( media-libs/libsdl )
|
|
||||||
svga? ( media-libs/svgalib )
|
|
||||||
readline? ( sys-libs/readline:= )
|
|
||||||
ncurses? ( sys-libs/ncurses:= )
|
|
||||||
"
|
|
||||||
DEPEND="${RDEPEND}
|
|
||||||
doc? ( app-text/docbook-sgml-utils )
|
|
||||||
X? ( x11-base/xorg-proto )
|
|
||||||
sys-apps/sed
|
|
||||||
>=app-text/opensp-1.5
|
|
||||||
"
|
|
||||||
|
|
||||||
src_prepare() {
|
|
||||||
default
|
|
||||||
sed -i "s:^docdir.*:docdir = ${EPREFIX}/usr/share/doc/${PF}:" \
|
|
||||||
Makefile.in || die
|
|
||||||
}
|
|
||||||
|
|
||||||
src_configure() {
|
|
||||||
econf \
|
|
||||||
--enable-all-optimizations \
|
|
||||||
--enable-idle-hack \
|
|
||||||
--enable-cdrom \
|
|
||||||
--enable-clgd54xx \
|
|
||||||
--enable-cpu-level=6 \
|
|
||||||
--enable-disasm \
|
|
||||||
--enable-e1000 \
|
|
||||||
--enable-gameport \
|
|
||||||
--enable-iodebug \
|
|
||||||
--enable-monitor-mwait \
|
|
||||||
--enable-ne2000 \
|
|
||||||
--enable-plugins \
|
|
||||||
--enable-pci \
|
|
||||||
--enable-pnic \
|
|
||||||
--enable-raw-serial \
|
|
||||||
--enable-sb16=linux \
|
|
||||||
--enable-usb \
|
|
||||||
--enable-usb-ohci \
|
|
||||||
--enable-usb-xhci \
|
|
||||||
--prefix=/usr \
|
|
||||||
--with-nogui \
|
|
||||||
--without-wx \
|
|
||||||
$(use_enable 3dnow) \
|
|
||||||
$(use_enable avx) \
|
|
||||||
$(use_enable debugger) \
|
|
||||||
$(use_enable doc docbook) \
|
|
||||||
$(use_enable gdb gdb-stub) \
|
|
||||||
$(use_enable readline) \
|
|
||||||
$(use_enable smp) \
|
|
||||||
$(use_enable x86-64) \
|
|
||||||
$(use_with ncurses term) \
|
|
||||||
$(use_with sdl) \
|
|
||||||
$(use_with svga) \
|
|
||||||
$(use_with vnc rfb) \
|
|
||||||
$(use_with X x) \
|
|
||||||
$(use_with X x11) \
|
|
||||||
${myconf}
|
|
||||||
}
|
|
@ -0,0 +1,50 @@
|
|||||||
|
# Copyright 1999-2021 Gentoo Authors
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
|
||||||
|
EAPI=7
|
||||||
|
|
||||||
|
inherit toolchain-funcs
|
||||||
|
|
||||||
|
MY_PV="${PN}-nologo-${PV}"
|
||||||
|
|
||||||
|
DESCRIPTION="An HP-42S Calculator Simulator"
|
||||||
|
HOMEPAGE="https://thomasokken.com/free42/"
|
||||||
|
SRC_URI="https://thomasokken.com/free42/upstream/${MY_PV}.tgz"
|
||||||
|
|
||||||
|
LICENSE="GPL-2"
|
||||||
|
SLOT="0"
|
||||||
|
KEYWORDS="~amd64 ~x86"
|
||||||
|
IUSE="+alsa"
|
||||||
|
|
||||||
|
DEPEND="dev-libs/atk
|
||||||
|
x11-libs/cairo
|
||||||
|
x11-libs/gdk-pixbuf
|
||||||
|
x11-libs/gtk+:3
|
||||||
|
alsa? ( media-libs/alsa-lib )"
|
||||||
|
|
||||||
|
RDEPEND="${DEPEND}"
|
||||||
|
|
||||||
|
DOCS=( CREDITS HISTORY README )
|
||||||
|
S="${WORKDIR}/${MY_PV}"
|
||||||
|
|
||||||
|
PATCHES=(
|
||||||
|
"${FILESDIR}/${PN}-2.5.16-fix-makefile.patch"
|
||||||
|
"${FILESDIR}/${PN}-2.5.3-fix-build-intel-lib.patch"
|
||||||
|
)
|
||||||
|
|
||||||
|
src_prepare() {
|
||||||
|
default
|
||||||
|
}
|
||||||
|
|
||||||
|
src_compile() {
|
||||||
|
local myconf
|
||||||
|
use alsa && myconf="AUDIO_ALSA=yes"
|
||||||
|
emake CC="$(tc-getCC)" CXX="$(tc-getCXX)" ${myconf} -C gtk
|
||||||
|
emake -C gtk clean
|
||||||
|
emake CC="$(tc-getCC)" CXX="$(tc-getCXX)" BCD_MATH=1 ${myconf} -C gtk
|
||||||
|
}
|
||||||
|
|
||||||
|
src_install() {
|
||||||
|
default
|
||||||
|
dobin gtk/free42bin gtk/free42dec
|
||||||
|
}
|
Binary file not shown.
@ -1,6 +1,6 @@
|
|||||||
DIST kcm-fcitx-0.5.5.tar.xz 63364 BLAKE2B e3b185468a4587c510e47bee4d7260d5d9ed27032174e3928ed3f008a68e8a4b9d124bda14a75348d65c41ddff2e39bb91d8a4f3663a81788850e5fb33740c8a SHA512 e6a7bcad10003a956389ee266cf6d2f3730dafafcdd0bb43de328397749775e5cd305f16fdca2365e246c903677dba042da81a6dfd873aa1be74174e2b0b372e
|
DIST kcm-fcitx-0.5.5.tar.xz 63364 BLAKE2B e3b185468a4587c510e47bee4d7260d5d9ed27032174e3928ed3f008a68e8a4b9d124bda14a75348d65c41ddff2e39bb91d8a4f3663a81788850e5fb33740c8a SHA512 e6a7bcad10003a956389ee266cf6d2f3730dafafcdd0bb43de328397749775e5cd305f16fdca2365e246c903677dba042da81a6dfd873aa1be74174e2b0b372e
|
||||||
DIST kcm-fcitx-0.5.6.tar.xz 63556 BLAKE2B 8518c454f15e5faeaab136c08eef9a7474537414485815e67ee26fcff815f6506769ec047158450a7a0f1843ac31616d34317e9de7bec8ee62fc81541134625a SHA512 a3d378ecd9ea9fa5bcc42c75e5b0b0ac2ba6c94fda93b7213d821546bb83b5904c75c2fc9482cd7b47fbf5ad81a0641b7ec345aa2e630c8795bf8d5b89f9cd3b
|
DIST kcm-fcitx-0.5.6.tar.xz 63556 BLAKE2B 8518c454f15e5faeaab136c08eef9a7474537414485815e67ee26fcff815f6506769ec047158450a7a0f1843ac31616d34317e9de7bec8ee62fc81541134625a SHA512 a3d378ecd9ea9fa5bcc42c75e5b0b0ac2ba6c94fda93b7213d821546bb83b5904c75c2fc9482cd7b47fbf5ad81a0641b7ec345aa2e630c8795bf8d5b89f9cd3b
|
||||||
EBUILD kcm-fcitx-0.5.5.ebuild 1263 BLAKE2B 06af9dd1cf4147e0eaefd80a71dde34f8099f62c4eb627bc8a40f665ecf98e422a6e75506ec5bc05366f2383cf8e2a1693b65cee64b6632a7c773358e9f22992 SHA512 dc5d5055d11dd5c3a2df6efc6790d274c3d9368fc96cc5b772f6cdffc224d3fe7c639c990aed551d7b9f5a8b0a03cd0a7a739791b9aa87249e4e497c41bbb7b9
|
EBUILD kcm-fcitx-0.5.5.ebuild 1263 BLAKE2B 06af9dd1cf4147e0eaefd80a71dde34f8099f62c4eb627bc8a40f665ecf98e422a6e75506ec5bc05366f2383cf8e2a1693b65cee64b6632a7c773358e9f22992 SHA512 dc5d5055d11dd5c3a2df6efc6790d274c3d9368fc96cc5b772f6cdffc224d3fe7c639c990aed551d7b9f5a8b0a03cd0a7a739791b9aa87249e4e497c41bbb7b9
|
||||||
EBUILD kcm-fcitx-0.5.6.ebuild 1237 BLAKE2B a8185c2b4eb7034c7a290ccfcbfa22a6b55611467ce67bf0af672a9814603266de0050069faa1df8959c990c15c2d7712b17bd842881ef73f13548390dba8d4c SHA512 97e922d96ae36ff6796cefc7f0dd3fe0b7db4bea78e7c3124b182639edcea8ce6b37313a5d8fb3eb65661516f3afb656738799c25be6e3d1b52d3ec945d8f474
|
EBUILD kcm-fcitx-0.5.6.ebuild 1235 BLAKE2B 8539d5eea13ff564d0da5d4a44674d7410e23729cc210603dab55c5b0ddd966b2ba4d0def3f457a867fc190a51d9a9976eb98c7bc1f00b90bf74c65bcd727220 SHA512 c9e829291a8d2ada7458d3b1fbb82df2a2970519fa68f028c129c4012a068581e099d8581aeabf698cee78604dd3243b01405bce5f299ebaf9cd2c00c956a72b
|
||||||
EBUILD kcm-fcitx-4.5.9999.ebuild 1226 BLAKE2B d15fe4ee56ecc6ffec98601e0af3d1d122c32bc3e7b2257fba3727cd665282725ccb02d806e645579b6504bd560a132a96e20d4707866d126e31f0c2093ef666 SHA512 89b8471c0b1871088e4ac8e1d8cb773f2d05f6cfa3b51e5f87334a855c94c9ec1b084cad530abf3d7c820e358bf3eb24eaa4e91a4e3569bdf614add1729527a5
|
EBUILD kcm-fcitx-4.5.9999.ebuild 1226 BLAKE2B d15fe4ee56ecc6ffec98601e0af3d1d122c32bc3e7b2257fba3727cd665282725ccb02d806e645579b6504bd560a132a96e20d4707866d126e31f0c2093ef666 SHA512 89b8471c0b1871088e4ac8e1d8cb773f2d05f6cfa3b51e5f87334a855c94c9ec1b084cad530abf3d7c820e358bf3eb24eaa4e91a4e3569bdf614add1729527a5
|
||||||
MISC metadata.xml 462 BLAKE2B f57392fc4b8b85f1c5f17b4a3b030886e27ef9d9467c96c4a2b693133f6020737a61202553584efe42e0ebbb37944feb894d73ea62a37261e2a314e559785b88 SHA512 ec57180d4ab6589080d2e892a6f874fc239f6fbe67333be4e6c1ac5bd23a1fe8e9af56e9ae69c1cba190cd294afb5beb193d15392c4d0f6ca540e80249989eb8
|
MISC metadata.xml 462 BLAKE2B f57392fc4b8b85f1c5f17b4a3b030886e27ef9d9467c96c4a2b693133f6020737a61202553584efe42e0ebbb37944feb894d73ea62a37261e2a314e559785b88 SHA512 ec57180d4ab6589080d2e892a6f874fc239f6fbe67333be4e6c1ac5bd23a1fe8e9af56e9ae69c1cba190cd294afb5beb193d15392c4d0f6ca540e80249989eb8
|
||||||
|
@ -1,15 +1,16 @@
|
|||||||
AUX opencc-1.1.0-parallel_build.patch 986 BLAKE2B 86cd6372ef0239986a4ab3c52d1b407b76341e9e556d9c847e43d7a2fa8123376640eac26d9830a2ef5b04c82815a01cb9097fca7f9f4ebcca9a337c33f1c9ad SHA512 0183ccb3aa4d71b6fb8cdac0e1f62aedd69781fcd1c1ae33fffe4d9d6537059f23c2088ee39f5c1ef75e3d5778e3025abe8cf711e14c4fdefa4038097e96dac4
|
AUX opencc-1.1.0-parallel_build.patch 986 BLAKE2B 86cd6372ef0239986a4ab3c52d1b407b76341e9e556d9c847e43d7a2fa8123376640eac26d9830a2ef5b04c82815a01cb9097fca7f9f4ebcca9a337c33f1c9ad SHA512 0183ccb3aa4d71b6fb8cdac0e1f62aedd69781fcd1c1ae33fffe4d9d6537059f23c2088ee39f5c1ef75e3d5778e3025abe8cf711e14c4fdefa4038097e96dac4
|
||||||
AUX opencc-1.1.1-system_libraries.patch 2542 BLAKE2B 6fe941c585f8b621bfd4f79fcc097dc55c912c89d153fe5c62ae710516b7704d2c5c401890eb381b4a26631819ddef7808fd274e3b2b1fd0d37e731861fb4421 SHA512 0b6afd427a55ce72ab9ceeea5d52bd6ccb40be77cba6a6e285cf83d180ff8ded7415a82be1ce444f908c1b163a70bd58a22443cb228d230038fc615f11ba48f8
|
AUX opencc-1.1.1-system_libraries.patch 2542 BLAKE2B 6fe941c585f8b621bfd4f79fcc097dc55c912c89d153fe5c62ae710516b7704d2c5c401890eb381b4a26631819ddef7808fd274e3b2b1fd0d37e731861fb4421 SHA512 0b6afd427a55ce72ab9ceeea5d52bd6ccb40be77cba6a6e285cf83d180ff8ded7415a82be1ce444f908c1b163a70bd58a22443cb228d230038fc615f11ba48f8
|
||||||
AUX opencc-1.1.2-system_libraries.patch 3034 BLAKE2B eaba6418757a4ce4fa71ae4f13fdaf7e0980da4af3e74c666d6b907646a5ffd2cb22f9cc5223486c13878cdb913d75af85b491b922579b456d036f4e39801e8c SHA512 305ad0a65bd43f092fd4d8bdbc4250667a7d2cafe0589e927ee92efe6898711a4a3a923149cfc3191e51f131fcccf25483af94678449bff5d8edf64098946d53
|
|
||||||
AUX opencc-stop-copy.patch 625 BLAKE2B ab2f98a03bb079ad116994c4d05e59e3638f648b3e03ea4e6a357a8658612a1425f2578989c0086e31d749e3533ffb814457071582f9fbf3fbcdf0d184892940 SHA512 e34388bc5d1841e3655c6209e31cf18957a9a02f23d49d9b1f184e48005cf5d5c108656439900f0d79fc1801700872a433ab761154abc424b717e12a616487ca
|
AUX opencc-stop-copy.patch 625 BLAKE2B ab2f98a03bb079ad116994c4d05e59e3638f648b3e03ea4e6a357a8658612a1425f2578989c0086e31d749e3533ffb814457071582f9fbf3fbcdf0d184892940 SHA512 e34388bc5d1841e3655c6209e31cf18957a9a02f23d49d9b1f184e48005cf5d5c108656439900f0d79fc1801700872a433ab761154abc424b717e12a616487ca
|
||||||
AUX opencc-test.patch 202 BLAKE2B 1dd3bc35c1f8644cd4f27ce8a5b5dea3b0ef2750612f112d7dc6de658634ad5151972b80c7b2ede9f41ea98ac7a2d29eaeb961132c862f66dd160dc2dd522a6d SHA512 5318058587b41fb7021ffce64d4b999b1beed294ce4c00137fb4b0396dd2cb471af789bceb8a8076b1d4ec2226d3c3fdf8b3d3d6a1f5d80936cf2407b8bdd3ec
|
AUX opencc-test.patch 202 BLAKE2B 1dd3bc35c1f8644cd4f27ce8a5b5dea3b0ef2750612f112d7dc6de658634ad5151972b80c7b2ede9f41ea98ac7a2d29eaeb961132c862f66dd160dc2dd522a6d SHA512 5318058587b41fb7021ffce64d4b999b1beed294ce4c00137fb4b0396dd2cb471af789bceb8a8076b1d4ec2226d3c3fdf8b3d3d6a1f5d80936cf2407b8bdd3ec
|
||||||
DIST opencc-1.0.5.tar.gz 1598354 BLAKE2B a66b32b96dab543d8401960ff0548a4e3f9414606513941426eacf105bca0755a7b364c68b7eb996ef82444e52f849d2f8151353a14fb97a358ad1463fbea2d3 SHA512 3fbefbafe5c3c2491032158577ab97b5a3edf6ea98a03a7250deba082b72c3112ad4a3396d1a469936ec32e1d141f0a2236001c2891ac9c793add2b082596cc1
|
DIST opencc-1.0.5.tar.gz 1598354 BLAKE2B a66b32b96dab543d8401960ff0548a4e3f9414606513941426eacf105bca0755a7b364c68b7eb996ef82444e52f849d2f8151353a14fb97a358ad1463fbea2d3 SHA512 3fbefbafe5c3c2491032158577ab97b5a3edf6ea98a03a7250deba082b72c3112ad4a3396d1a469936ec32e1d141f0a2236001c2891ac9c793add2b082596cc1
|
||||||
DIST opencc-1.0.6.tar.gz 1621561 BLAKE2B d58ee0e04e133fbf6a7632788bcaf0f7891bb74051a970075f6d94b048adfec7bbe4438913933d7dfdd4d58ec2c1a5ec47685415c26532ddd8c13e8abd52cab6 SHA512 67c7bb7432483c1781701dc64ff28e4d5750898ed3d2d41f97d3782918b5f9aa1a49baa1e3a58e4b24cfbd2adcf9ea166a05ad934221fb1cb7afb35e909749e7
|
DIST opencc-1.0.6.tar.gz 1621561 BLAKE2B d58ee0e04e133fbf6a7632788bcaf0f7891bb74051a970075f6d94b048adfec7bbe4438913933d7dfdd4d58ec2c1a5ec47685415c26532ddd8c13e8abd52cab6 SHA512 67c7bb7432483c1781701dc64ff28e4d5750898ed3d2d41f97d3782918b5f9aa1a49baa1e3a58e4b24cfbd2adcf9ea166a05ad934221fb1cb7afb35e909749e7
|
||||||
DIST opencc-1.1.0.tar.gz 2209140 BLAKE2B 71cc659976cf30ac0d7dd52cdfa644a85e4e38fed081176bb2f2da2702203c0faeddf76818c8cc89a5fe2a2cfe3eee85fcb27010766db461817b204403cc9b46 SHA512 c5d95e84e0c8edf600f441b79431f721e721b1028619170e27fbc762da32c9ef99c9d28c2c5eaf34226d23a24e2fe5e494cedb28f1182acb06f94b72d7cbb52c
|
DIST opencc-1.1.0.tar.gz 2209140 BLAKE2B 71cc659976cf30ac0d7dd52cdfa644a85e4e38fed081176bb2f2da2702203c0faeddf76818c8cc89a5fe2a2cfe3eee85fcb27010766db461817b204403cc9b46 SHA512 c5d95e84e0c8edf600f441b79431f721e721b1028619170e27fbc762da32c9ef99c9d28c2c5eaf34226d23a24e2fe5e494cedb28f1182acb06f94b72d7cbb52c
|
||||||
DIST opencc-1.1.1.tar.gz 2212256 BLAKE2B 0299023f4c950ebedc0a7bc4ca142fbf737c612aca5c8cba8787bebcf2ac8afcacb056b015fbc151136166f679a4551fc5d6bbc0481b930331228ea7484fbe68 SHA512 48ccf61f63cf0a1c0fc484a52ae1d406a28949a52be7d7d1595e6aaf87f40ac47ea4697308441a9381f0cd6f404ee5a28b85a2fa2f288c4b3933be36f4a41363
|
DIST opencc-1.1.1.tar.gz 2212256 BLAKE2B 0299023f4c950ebedc0a7bc4ca142fbf737c612aca5c8cba8787bebcf2ac8afcacb056b015fbc151136166f679a4551fc5d6bbc0481b930331228ea7484fbe68 SHA512 48ccf61f63cf0a1c0fc484a52ae1d406a28949a52be7d7d1595e6aaf87f40ac47ea4697308441a9381f0cd6f404ee5a28b85a2fa2f288c4b3933be36f4a41363
|
||||||
|
DIST opencc-1.1.2.tar.gz 2804665 BLAKE2B 9b8be92cfdc2f565c9dc27745724c739e674239f2e3925a1ccdfcbf83e0d1857430d72e91a064c09456e69c00d79e47179801b21a4c7c6fd5dc6d0d16f1bcb98 SHA512 56c84bc472b39eb0b23bac6df5aada2c2ed5fd2fbe653c1ae89d392ec0b74741a15de93c748883ec3c0779396e790a1197f6e3b267b524f111459d45daeb5d4b
|
||||||
EBUILD opencc-1.0.5.ebuild 1380 BLAKE2B 8ab9c830656672341c4c8752a5785585719794e8a0413c9f0cccdbc43331a3358f769427d70daa7bde7551abed293fd42eff12a5cf47c08b5bd98e34df3af938 SHA512 6eae458b2987825cf6a38b69a8aad9a062f89358c47a297a29327f6f96ded31d22c0ba45d8e20ebdcea9ec0f185b381d764a0730dbd52350f1c7d7da4b88086a
|
EBUILD opencc-1.0.5.ebuild 1380 BLAKE2B 8ab9c830656672341c4c8752a5785585719794e8a0413c9f0cccdbc43331a3358f769427d70daa7bde7551abed293fd42eff12a5cf47c08b5bd98e34df3af938 SHA512 6eae458b2987825cf6a38b69a8aad9a062f89358c47a297a29327f6f96ded31d22c0ba45d8e20ebdcea9ec0f185b381d764a0730dbd52350f1c7d7da4b88086a
|
||||||
EBUILD opencc-1.0.6.ebuild 1354 BLAKE2B 948b8d384e4f9af810005a1e44209def5977ebcee6b0ebaeb208b39790f91aa821f63a79c725999a785fdd197fceabf6372bce1f05de4512fb74719aa4fbed88 SHA512 e2537586767a47fbbb22101e9ba22ef45742381fd9f6845b09804bb723407a5578cec62601fae79c4a463bcab339e9adce99179507290c6d67546fa999e873e6
|
EBUILD opencc-1.0.6.ebuild 1354 BLAKE2B 948b8d384e4f9af810005a1e44209def5977ebcee6b0ebaeb208b39790f91aa821f63a79c725999a785fdd197fceabf6372bce1f05de4512fb74719aa4fbed88 SHA512 e2537586767a47fbbb22101e9ba22ef45742381fd9f6845b09804bb723407a5578cec62601fae79c4a463bcab339e9adce99179507290c6d67546fa999e873e6
|
||||||
EBUILD opencc-1.1.0.ebuild 1402 BLAKE2B 56e77f6bb4902bcc6cd6bf1659edcd6f18fdc85566bc22518989670d8f2b2463111cbcce240822bdf2482b413943e67482b7c9d5e11daf5fa6e64deb1f82ea33 SHA512 d83319b58fcf9d05c91c45765afe8856c58784d3bb981dd4ea9cf7b7068dec40d6ddff3bc5619b542ae37d91980f1c2f8a4a23d8fd326558c20718e76fd1f22e
|
EBUILD opencc-1.1.0.ebuild 1402 BLAKE2B 56e77f6bb4902bcc6cd6bf1659edcd6f18fdc85566bc22518989670d8f2b2463111cbcce240822bdf2482b413943e67482b7c9d5e11daf5fa6e64deb1f82ea33 SHA512 d83319b58fcf9d05c91c45765afe8856c58784d3bb981dd4ea9cf7b7068dec40d6ddff3bc5619b542ae37d91980f1c2f8a4a23d8fd326558c20718e76fd1f22e
|
||||||
EBUILD opencc-1.1.1.ebuild 1647 BLAKE2B ddc71cae9fe727e7a466d008dd6e7d4174e9f8a7c213baf0902cf202312e9c14b35106375e08a9d8a9793cb6fe2cc51f3a862eb51819e9bade08c0c1fea867c8 SHA512 d26bce27b3bc48343622a1b91eab6ffd4aaa8a164a03d56312cbf191773b182bb8e76cf677c881f7581e37505db12f830e7d0fc7044b05ff2ade851b905dbb0b
|
EBUILD opencc-1.1.1.ebuild 1734 BLAKE2B 922fad745e8ae2e058745d015691af86a756ad2d8dbdce509d6f6e8a227acc15cf499066b72b644c36836e9afd219af0972e6d3699003dac04b554b209b3a44c SHA512 a5e721743864204fb4c6f3c866333f44869e527251e8083fee5c04d32330a9dafc567a6db37fd04b8911fb4a5680c0b534dff74a627aacb630ede1c8c500a79a
|
||||||
EBUILD opencc-9999.ebuild 1629 BLAKE2B 8fcc56601dc78f7205b0e05634922293ff480607c74a64cd7199a374f20ffa67b9bfd6af3491145cbe18463132a9b82b5503c7acf40fb644a64d4b3eef87ce33 SHA512 cfc6b67c69038b368354904e4e91ca6ceaf2bd4daf62470ec10a4ad3256a67df7945366a1ad80cfb4b7e639318e3614fd754a0f1b9702144bc8bd3ffbfdfe5a6
|
EBUILD opencc-1.1.2.ebuild 1749 BLAKE2B 388b4c3191fe20b421f9ee2a1f2623afbd3bf89fb324c97c412652948295ac9268fb227be4213a04a2ea145abc76121e2de25f470ce29bda6e94196047b48c7b SHA512 05de975345746ca9441cf3af1c2d0ac62c377c70b0f687be39a0ad2168edbd8fd14c4d76bafef161414fe9be9b27e6ca7f9556bf85cfdb5df9166a179bc6a626
|
||||||
|
EBUILD opencc-9999.ebuild 1535 BLAKE2B c28ffe1567ffeacfca976ba75b2b908cf262f7596df453427b3e1ca9e8662cf22b3842bad2a7a8799244ecedbfd9e3d809f5add4ee720993cec6961aa890a4cd SHA512 31270fd23ea40983a4559bca08e7179064a958f7e6115be1daf20e715189245d95934c7d11dc4ea63e046f20a9985ffde1258d8ad88b7afd234bbea117c1bae0
|
||||||
MISC metadata.xml 623 BLAKE2B 5b03b8cb9509583d2d39733f07ae50953f022842dd8b109ee8470ffb869e1130efa76b0687529b9b05153bfa1ad9a806776703b246ff9b2f9108f86db0833797 SHA512 794b61c79fc56923c97a4909ec3ba51f2087322bc50879904295be41d9c3e8dc2048fd77f4519c7781ba9c9ac1fdcb1f7423ab5be1bba38968f8092c8f7431ac
|
MISC metadata.xml 623 BLAKE2B 5b03b8cb9509583d2d39733f07ae50953f022842dd8b109ee8470ffb869e1130efa76b0687529b9b05153bfa1ad9a806776703b246ff9b2f9108f86db0833797 SHA512 794b61c79fc56923c97a4909ec3ba51f2087322bc50879904295be41d9c3e8dc2048fd77f4519c7781ba9c9ac1fdcb1f7423ab5be1bba38968f8092c8f7431ac
|
||||||
|
@ -1,111 +0,0 @@
|
|||||||
https://github.com/BYVoid/OpenCC/issues/547
|
|
||||||
|
|
||||||
--- /CMakeLists.txt
|
|
||||||
+++ /CMakeLists.txt
|
|
||||||
@@ -28,8 +28,14 @@
|
|
||||||
option(ENABLE_GTEST "Build all tests." OFF)
|
|
||||||
option(ENABLE_BENCHMARK "Build benchmark tests." OFF)
|
|
||||||
option(ENABLE_DARTS "Build DartsDict (ocd format)." ON)
|
|
||||||
-option(BUILD_BUNDLED_LIBMARISA "" ON)
|
|
||||||
option(BUILD_PYTHON "Build python library" OFF)
|
|
||||||
+option(USE_SYSTEM_DARTS "Use system version of Darts" OFF)
|
|
||||||
+option(USE_SYSTEM_GOOGLE_BENCHMARK "Use system version of Google Benchmark" OFF)
|
|
||||||
+option(USE_SYSTEM_GTEST "Use system version of GoogleTest" OFF)
|
|
||||||
+option(USE_SYSTEM_MARISA "Use system version of Marisa" OFF)
|
|
||||||
+option(USE_SYSTEM_PYBIND11 "Use system version of pybind11" OFF)
|
|
||||||
+option(USE_SYSTEM_RAPIDJSON "Use system version of RapidJSON" OFF)
|
|
||||||
+option(USE_SYSTEM_TCLAP "Use system version of TCLAP" OFF)
|
|
||||||
|
|
||||||
######## Package information
|
|
||||||
set (PACKAGE_URL https://github.com/BYVoid/Opencc)
|
|
||||||
@@ -173,7 +179,7 @@
|
|
||||||
|
|
||||||
######## Dependencies
|
|
||||||
|
|
||||||
-if(BUILD_BUNDLED_LIBMARISA)
|
|
||||||
+if(NOT USE_SYSTEM_MARISA)
|
|
||||||
message(STATUS "Use bundled marisa library.")
|
|
||||||
add_subdirectory(deps/marisa-0.2.5)
|
|
||||||
else()
|
|
||||||
@@ -195,20 +201,30 @@
|
|
||||||
######## Testing
|
|
||||||
|
|
||||||
if (ENABLE_GTEST)
|
|
||||||
- add_subdirectory(deps/gtest-1.11.0)
|
|
||||||
+ if(NOT USE_SYSTEM_GTEST)
|
|
||||||
+ add_subdirectory(deps/gtest-1.11.0)
|
|
||||||
+ endif()
|
|
||||||
enable_testing()
|
|
||||||
endif()
|
|
||||||
|
|
||||||
if (ENABLE_BENCHMARK)
|
|
||||||
set(BENCHMARK_ENABLE_TESTING OFF)
|
|
||||||
- add_subdirectory(deps/google-benchmark)
|
|
||||||
+ if(NOT USE_SYSTEM_GOOGLE_BENCHMARK)
|
|
||||||
+ add_subdirectory(deps/google-benchmark)
|
|
||||||
+ endif()
|
|
||||||
enable_testing()
|
|
||||||
endif()
|
|
||||||
|
|
||||||
######## Python
|
|
||||||
|
|
||||||
if (BUILD_PYTHON)
|
|
||||||
- add_subdirectory(deps/pybind11-2.5.0)
|
|
||||||
+ if(USE_SYSTEM_PYBIND11)
|
|
||||||
+ include(pybind11Config)
|
|
||||||
+ include(pybind11Common)
|
|
||||||
+ include(pybind11Tools)
|
|
||||||
+ else()
|
|
||||||
+ add_subdirectory(deps/pybind11-2.5.0)
|
|
||||||
+ endif()
|
|
||||||
pybind11_add_module(opencc_clib src/py_opencc.cpp)
|
|
||||||
target_link_libraries(opencc_clib PRIVATE libopencc)
|
|
||||||
endif()
|
|
||||||
--- /src/CMakeLists.txt
|
|
||||||
+++ /src/CMakeLists.txt
|
|
||||||
@@ -1,7 +1,13 @@
|
|
||||||
include (GenerateExportHeader)
|
|
||||||
-include_directories(../deps/marisa-0.2.5/include)
|
|
||||||
-include_directories(../deps/rapidjson-1.1.0)
|
|
||||||
-include_directories(../deps/tclap-1.2.2)
|
|
||||||
+if(NOT USE_SYSTEM_MARISA)
|
|
||||||
+ include_directories(../deps/marisa-0.2.5/include)
|
|
||||||
+endif()
|
|
||||||
+if(NOT USE_SYSTEM_RAPIDJSON)
|
|
||||||
+ include_directories(../deps/rapidjson-1.1.0)
|
|
||||||
+endif()
|
|
||||||
+if(NOT USE_SYSTEM_TCLAP)
|
|
||||||
+ include_directories(../deps/tclap-1.2.2)
|
|
||||||
+endif()
|
|
||||||
|
|
||||||
# Library
|
|
||||||
|
|
||||||
@@ -72,7 +78,9 @@
|
|
||||||
)
|
|
||||||
|
|
||||||
if (ENABLE_DARTS)
|
|
||||||
- include_directories(../deps/darts-clone)
|
|
||||||
+ if(NOT USE_SYSTEM_DARTS)
|
|
||||||
+ include_directories(../deps/darts-clone)
|
|
||||||
+ endif()
|
|
||||||
set(
|
|
||||||
LIBOPENCC_HEADERS
|
|
||||||
${LIBOPENCC_HEADERS}
|
|
||||||
--- /test/CMakeLists.txt
|
|
||||||
+++ /test/CMakeLists.txt
|
|
||||||
@@ -1,4 +1,3 @@
|
|
||||||
-include_directories(../deps/libdarts/src)
|
|
||||||
include_directories(../src)
|
|
||||||
|
|
||||||
set(CONFIG_TEST
|
|
||||||
@@ -27,7 +26,9 @@
|
|
||||||
)
|
|
||||||
endif()
|
|
||||||
|
|
||||||
- include_directories(../deps/gtest-1.7.0/include)
|
|
||||||
+ if(NOT USE_SYSTEM_GTEST)
|
|
||||||
+ include_directories(../deps/gtest-1.7.0/include)
|
|
||||||
+ endif()
|
|
||||||
set(UNITTESTS
|
|
||||||
CommandLineConvertTest
|
|
||||||
)
|
|
@ -0,0 +1,73 @@
|
|||||||
|
# Copyright 2010-2021 Gentoo Authors
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
|
||||||
|
EAPI="7"
|
||||||
|
PYTHON_COMPAT=(python{3_7,3_8,3_9})
|
||||||
|
|
||||||
|
inherit cmake python-any-r1
|
||||||
|
|
||||||
|
if [[ "${PV}" == "9999" ]]; then
|
||||||
|
inherit git-r3
|
||||||
|
|
||||||
|
EGIT_REPO_URI="https://github.com/BYVoid/OpenCC"
|
||||||
|
fi
|
||||||
|
|
||||||
|
DESCRIPTION="Library for conversion between Traditional and Simplified Chinese characters"
|
||||||
|
HOMEPAGE="https://github.com/BYVoid/OpenCC"
|
||||||
|
if [[ "${PV}" == "9999" ]]; then
|
||||||
|
SRC_URI=""
|
||||||
|
else
|
||||||
|
SRC_URI="https://github.com/BYVoid/OpenCC/archive/ver.${PV}.tar.gz -> ${P}.tar.gz"
|
||||||
|
fi
|
||||||
|
|
||||||
|
LICENSE="Apache-2.0"
|
||||||
|
SLOT="0/1.1"
|
||||||
|
KEYWORDS="~amd64 ~arm64 ~x86"
|
||||||
|
IUSE="doc test"
|
||||||
|
RESTRICT="!test? ( test )"
|
||||||
|
|
||||||
|
BDEPEND="${PYTHON_DEPS}
|
||||||
|
doc? ( app-doc/doxygen )"
|
||||||
|
DEPEND="dev-cpp/tclap
|
||||||
|
dev-libs/darts
|
||||||
|
dev-libs/marisa:0=
|
||||||
|
dev-libs/rapidjson
|
||||||
|
test? (
|
||||||
|
dev-cpp/gtest
|
||||||
|
!hppa? ( !sparc? ( dev-cpp/benchmark ) )
|
||||||
|
)"
|
||||||
|
RDEPEND="dev-libs/marisa:0="
|
||||||
|
|
||||||
|
if [[ "${PV}" != "9999" ]]; then
|
||||||
|
S="${WORKDIR}/OpenCC-ver.${PV}"
|
||||||
|
fi
|
||||||
|
|
||||||
|
DOCS=(AUTHORS NEWS.md README.md)
|
||||||
|
|
||||||
|
src_prepare() {
|
||||||
|
rm -r deps || die
|
||||||
|
|
||||||
|
cmake_src_prepare
|
||||||
|
|
||||||
|
sed -e "s:\${DIR_SHARE_OPENCC}/doc:share/doc/${PF}:" -i doc/CMakeLists.txt || die
|
||||||
|
|
||||||
|
# https://github.com/BYVoid/OpenCC/issues/550
|
||||||
|
# https://github.com/BYVoid/OpenCC/commit/736b93d3d16fdf0548bdaae2922569199615e919
|
||||||
|
sed -e "s:#ifdef ENABLE_DARTS:#if 1:" -i src/Common.hpp || die
|
||||||
|
}
|
||||||
|
|
||||||
|
src_configure() {
|
||||||
|
local mycmakeargs=(
|
||||||
|
-DBUILD_DOCUMENTATION=$(usex doc ON OFF)
|
||||||
|
-DENABLE_BENCHMARK=$(if use test && has_version -d dev-cpp/benchmark; then echo ON; else echo OFF; fi)
|
||||||
|
-DENABLE_GTEST=$(usex test ON OFF)
|
||||||
|
-DUSE_SYSTEM_DARTS=ON
|
||||||
|
-DUSE_SYSTEM_GOOGLE_BENCHMARK=ON
|
||||||
|
-DUSE_SYSTEM_GTEST=ON
|
||||||
|
-DUSE_SYSTEM_MARISA=ON
|
||||||
|
-DUSE_SYSTEM_RAPIDJSON=ON
|
||||||
|
-DUSE_SYSTEM_TCLAP=ON
|
||||||
|
)
|
||||||
|
|
||||||
|
cmake_src_configure
|
||||||
|
}
|
Binary file not shown.
@ -1,5 +1,7 @@
|
|||||||
AUX 0001-Fix-case-sensitive-name-for-lmt.py.patch 1515 BLAKE2B b4a3007cc81d31c03100c636bb65de19677cc8fc76f754c738205a6040b6452fdd2f396f9f7291aa392a4b8bc9da019520c69de6aecea15a3e3a05dcf2d49d4f SHA512 fda611cf01de59ae55ff651706e919148cac5ec45c5af39cc9e288ba6f2a66b953fd9beda37ded1ca5f80fed9844d4d77cb8360a99dccd25a945eae641bf5429
|
AUX 0001-Fix-case-sensitive-name-for-lmt.py.patch 1515 BLAKE2B b4a3007cc81d31c03100c636bb65de19677cc8fc76f754c738205a6040b6452fdd2f396f9f7291aa392a4b8bc9da019520c69de6aecea15a3e3a05dcf2d49d4f SHA512 fda611cf01de59ae55ff651706e919148cac5ec45c5af39cc9e288ba6f2a66b953fd9beda37ded1ca5f80fed9844d4d77cb8360a99dccd25a945eae641bf5429
|
||||||
AUX laptop_mode.init-1.4 1059 BLAKE2B 24dcf91d75df6cffe13cda1c8b9c85c016dae393f79f14ac0bc37c293e0d40e7e7cb34bc31b1c387c10ee74978d1c030fafad60f4e2428a8fcadf03163d5e48a SHA512 4242cda1df6b55cd0bee66dfb9137b6f63118bc31c5f703ed44c42738f47dc794d7f1ed6dd9ba5696b606c4bf624428e8f21e1683cb698d8dda249833a4c5f68
|
AUX laptop_mode.init-1.4 1059 BLAKE2B 24dcf91d75df6cffe13cda1c8b9c85c016dae393f79f14ac0bc37c293e0d40e7e7cb34bc31b1c387c10ee74978d1c030fafad60f4e2428a8fcadf03163d5e48a SHA512 4242cda1df6b55cd0bee66dfb9137b6f63118bc31c5f703ed44c42738f47dc794d7f1ed6dd9ba5696b606c4bf624428e8f21e1683cb698d8dda249833a4c5f68
|
||||||
DIST laptop-mode-tools_1.72.2.tar.gz 121437 BLAKE2B 1fdcdb88183156e4983b4561218164df5dde9fc91e85ab0ec1e6a401d3e5c5e70597a97e16c476949e80a674c34683eac6429e64e76c7921bd28f560e4ffe3cb SHA512 9a3960bad518aa73350b72ce30aeb80f3cbb1bf0fd6a11d5afe396b25c2b73f3b3d2fe7de0741eb94c9e3467c85a99741dc7acfd85339b9eb1daca09d3f8c56a
|
DIST laptop-mode-tools_1.72.2.tar.gz 121437 BLAKE2B 1fdcdb88183156e4983b4561218164df5dde9fc91e85ab0ec1e6a401d3e5c5e70597a97e16c476949e80a674c34683eac6429e64e76c7921bd28f560e4ffe3cb SHA512 9a3960bad518aa73350b72ce30aeb80f3cbb1bf0fd6a11d5afe396b25c2b73f3b3d2fe7de0741eb94c9e3467c85a99741dc7acfd85339b9eb1daca09d3f8c56a
|
||||||
|
DIST laptop-mode-tools_1.74.tar.gz 124163 BLAKE2B 5080a646b7e0ddd53709aa445abfdde2ea4a7643bf97f86c6d7ca612b6e46210c825df1c01389125ff2dd79e37d2421b76db28f7415454c77a776c3526a08d12 SHA512 70154c5833c02e2adf50bf03b3d05b98946cb7fc5acb73c05f105e3bc34d62e54e57db98be6877b8ebf2d1b951de73ad5afee9a5f7c85a76055ddc0868d5397d
|
||||||
EBUILD laptop-mode-tools-1.72.2-r1.ebuild 2651 BLAKE2B 6029a915aa0984c9c7646291c8d733e1d7bffc46ed20690624eb386d2f4f75c95f2c65be8f0b1821c9d2b0bfec3f347bfbeac57024c04d3464be4f020bbcfe32 SHA512 2a5f2059ff323c87851600d2c8d14565cbb3e5abf3b767a471b4e74c1b024b4c0ce874cd52e90ac4812ac276f66b0717e324b377e057cb1e353992eece6f1e12
|
EBUILD laptop-mode-tools-1.72.2-r1.ebuild 2651 BLAKE2B 6029a915aa0984c9c7646291c8d733e1d7bffc46ed20690624eb386d2f4f75c95f2c65be8f0b1821c9d2b0bfec3f347bfbeac57024c04d3464be4f020bbcfe32 SHA512 2a5f2059ff323c87851600d2c8d14565cbb3e5abf3b767a471b4e74c1b024b4c0ce874cd52e90ac4812ac276f66b0717e324b377e057cb1e353992eece6f1e12
|
||||||
|
EBUILD laptop-mode-tools-1.74.ebuild 2197 BLAKE2B 4579a866601898ee3e63ccddf38b7ecfe0734f26b649bee6824cdbc810fe53facd07ba4e6c16a898fac69c21cca67c45ef6b83fb054db785c24efb760df1e305 SHA512 7177970cf9577837b587d535b412fe69f831ea05f6033b1d7bc4cafc23bf2ae7eebb8cbc59bf892f4a3fc4a2e20d6f13b10e91146d74eeddd782209d0d78bcc2
|
||||||
MISC metadata.xml 471 BLAKE2B e78c61ebdef3dba3257d29e1d8c05cc392ec9fdf0abda9ff606ce9b76e2b41fd82723f26d5c22bafdbcfb58233e051e9e14c9438299671a57ef63a93aafa9bb3 SHA512 a205fcdb7c635d58b94b1dec541b117534420c38135eaa5567814529c8effb00cbd3c17aa022b69d57adf48b3ab4115d4bc0ef3bdc1a26916ce9fcd05a6f8241
|
MISC metadata.xml 471 BLAKE2B e78c61ebdef3dba3257d29e1d8c05cc392ec9fdf0abda9ff606ce9b76e2b41fd82723f26d5c22bafdbcfb58233e051e9e14c9438299671a57ef63a93aafa9bb3 SHA512 a205fcdb7c635d58b94b1dec541b117534420c38135eaa5567814529c8effb00cbd3c17aa022b69d57adf48b3ab4115d4bc0ef3bdc1a26916ce9fcd05a6f8241
|
||||||
|
@ -0,0 +1,85 @@
|
|||||||
|
# Copyright 1999-2021 Gentoo Authors
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
|
||||||
|
EAPI=7
|
||||||
|
|
||||||
|
inherit optfeature systemd tmpfiles udev
|
||||||
|
|
||||||
|
MY_P="${PN}_${PV}"
|
||||||
|
|
||||||
|
DESCRIPTION="Linux kernel laptop_mode user-space utilities"
|
||||||
|
HOMEPAGE="https://github.com/rickysarraf/laptop-mode-tools/wiki"
|
||||||
|
SRC_URI="https://github.com/rickysarraf/${PN}/releases/download/${PV}/${MY_P}.tar.gz"
|
||||||
|
S="${WORKDIR}/${MY_P}"
|
||||||
|
|
||||||
|
LICENSE="GPL-2"
|
||||||
|
SLOT="0"
|
||||||
|
KEYWORDS="~amd64 ~ppc ~x86"
|
||||||
|
IUSE="+acpi apm"
|
||||||
|
|
||||||
|
RDEPEND="
|
||||||
|
sys-apps/ethtool
|
||||||
|
sys-apps/iproute2
|
||||||
|
sys-apps/which
|
||||||
|
|| (
|
||||||
|
sys-apps/sdparm
|
||||||
|
sys-apps/hdparm
|
||||||
|
)
|
||||||
|
acpi? ( sys-power/acpid )
|
||||||
|
apm? ( sys-apps/apmd )
|
||||||
|
"
|
||||||
|
|
||||||
|
src_compile() { :; }
|
||||||
|
|
||||||
|
src_install() {
|
||||||
|
DESTDIR="${D}" \
|
||||||
|
INIT_D="none" \
|
||||||
|
MAN_D="/usr/share/man" \
|
||||||
|
LIB_D="/usr/$(get_libdir)" \
|
||||||
|
UDEV_D="$(get_udevdir)" \
|
||||||
|
SYSTEMD_UNIT_D="$(systemd_get_systemunitdir)" \
|
||||||
|
TMPFILES_D="/usr/lib/tmpfiles.d" \
|
||||||
|
ACPI="$(usex acpi force disabled)" \
|
||||||
|
PMU="disabled" \
|
||||||
|
APM="$(usex apm)" \
|
||||||
|
SYSTEMD=yes \
|
||||||
|
sh ./install.sh || die
|
||||||
|
|
||||||
|
dodoc Documentation/*.txt README.md
|
||||||
|
newinitd "${FILESDIR}"/laptop_mode.init-1.4 laptop_mode
|
||||||
|
|
||||||
|
newtmpfiles "${S}"/etc/systemd/laptop-mode.conf.tmpfiles laptop-mode.conf
|
||||||
|
|
||||||
|
rm "${ED}/usr/lib/pm-utils/sleep.d/01laptop-mode" || die "could not remove PM utils config."
|
||||||
|
}
|
||||||
|
|
||||||
|
pkg_postinst() {
|
||||||
|
local daemon_name
|
||||||
|
optfeature "bluetooth support" net-wireless/bluez
|
||||||
|
|
||||||
|
tmpfiles_process laptop-mode.conf
|
||||||
|
|
||||||
|
if [[ -z "${REPLACING_VERSIONS}" ]] ; then
|
||||||
|
if use acpi || use apm; then
|
||||||
|
if use acpi; then
|
||||||
|
daemon_name="acpid"
|
||||||
|
elif use apm; then
|
||||||
|
deamon_name="apmd"
|
||||||
|
fi
|
||||||
|
ewarn "To enable automatic power state event handling,"
|
||||||
|
ewarn "e.g. enabling laptop_mode after unplugging the battery,"
|
||||||
|
ewarn "both laptop_mode and the ${daemon_name} daemon must be"
|
||||||
|
ewarn "added to default runlevel."
|
||||||
|
else
|
||||||
|
ewarn "Without USE=\"acpi\" or USE=\"apm\" ${PN} can not"
|
||||||
|
ewarn "automatically disable laptop_mode on low battery."
|
||||||
|
ewarn
|
||||||
|
ewarn "This means you can lose up to 10 minutes of work if running"
|
||||||
|
ewarn "out of battery while laptop_mode is enabled."
|
||||||
|
ewarn
|
||||||
|
ewarn "Please see laptop-mode.txt in /usr/share/doc/${PF} for further"
|
||||||
|
ewarn "information."
|
||||||
|
ewarn
|
||||||
|
fi
|
||||||
|
fi
|
||||||
|
}
|
Binary file not shown.
@ -1,4 +1,3 @@
|
|||||||
DIST nginx-lua-prometheus-0.1_pre20170610.tar.gz 10307 BLAKE2B b08fcb126a6d7034c143c7e96709f3f2751d90f60f6b9225f55ed46f7f211ebcf5f1688bd8b2c82286e329dd23e09a5163ad316ba6568755936253e8e55590f1 SHA512 df1022a88e82e388e68146f81e51a53f9b0c1a14a43d58e468d258ac0ca9875c1c88af44c46c91d89dc7fc1fef0ffebdb9163f886d85fde995e61e2cac3b5c81
|
DIST nginx-lua-prometheus-0.1_pre20170610.tar.gz 10307 BLAKE2B b08fcb126a6d7034c143c7e96709f3f2751d90f60f6b9225f55ed46f7f211ebcf5f1688bd8b2c82286e329dd23e09a5163ad316ba6568755936253e8e55590f1 SHA512 df1022a88e82e388e68146f81e51a53f9b0c1a14a43d58e468d258ac0ca9875c1c88af44c46c91d89dc7fc1fef0ffebdb9163f886d85fde995e61e2cac3b5c81
|
||||||
EBUILD nginx-lua-prometheus-0.1_pre20170610-r100.ebuild 951 BLAKE2B 180cf0823943d7ea3e09bdf63eb6c3f69ebf180b8596e62d3828716b980e2ec5d1d518cd99b53c24da6605571c5574be665af7e721314641983e2b6b0fb8adec SHA512 6629fa183078273acc278fb55f3682273eca1be4e29b5e867913de6063174cc650834b1234a3706599e29f37d8713a0a91640060c6a09e41760f2d88a18bae5f
|
EBUILD nginx-lua-prometheus-0.1_pre20170610-r100.ebuild 951 BLAKE2B 180cf0823943d7ea3e09bdf63eb6c3f69ebf180b8596e62d3828716b980e2ec5d1d518cd99b53c24da6605571c5574be665af7e721314641983e2b6b0fb8adec SHA512 6629fa183078273acc278fb55f3682273eca1be4e29b5e867913de6063174cc650834b1234a3706599e29f37d8713a0a91640060c6a09e41760f2d88a18bae5f
|
||||||
EBUILD nginx-lua-prometheus-0.1_pre20170610.ebuild 834 BLAKE2B 91067c5d303221ff5b032799d8a3214c7524050f5ccab781bc0307bee8f74a701050d2084e1c6a305d4b04f8f176b93a5c5647f284333901a3e3b9669a216606 SHA512 fb24df966359d0912cf3b725c07cae02b06abd06c92e2c1a60b7e613e0bc72c9141532df89d982fc985a25b26e2c3e2c6c7cea136e512cfdeb9ba8821122c6f0
|
|
||||||
MISC metadata.xml 248 BLAKE2B 5d9c3678c604aac0f24c5d5015e28f02b9ce83bb6a179755a44adeb3d69e4dd50be4acc30a6317649f5be23bcf13ac210bbe4712aa403e9c4cf2de351b39c941 SHA512 dc5b06a888be6367909895d5891a08189f4657bcee602e5ff0021be2ad3677e58ec7387ff244625be66a142138666e7eac790d2a7b1e298f0ad644725b5e57e0
|
MISC metadata.xml 248 BLAKE2B 5d9c3678c604aac0f24c5d5015e28f02b9ce83bb6a179755a44adeb3d69e4dd50be4acc30a6317649f5be23bcf13ac210bbe4712aa403e9c4cf2de351b39c941 SHA512 dc5b06a888be6367909895d5891a08189f4657bcee602e5ff0021be2ad3677e58ec7387ff244625be66a142138666e7eac790d2a7b1e298f0ad644725b5e57e0
|
||||||
|
@ -1,33 +0,0 @@
|
|||||||
# Copyright 2019-2020 Gentoo Authors
|
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
|
||||||
|
|
||||||
EAPI=7
|
|
||||||
|
|
||||||
# This is the upstream tag which corresponds to this release.
|
|
||||||
# It needs to be updated with every bump.
|
|
||||||
TAG="0.1-20170610"
|
|
||||||
|
|
||||||
inherit toolchain-funcs
|
|
||||||
|
|
||||||
DESCRIPTION="Library that exports Nginx metrics to Prometheus"
|
|
||||||
HOMEPAGE="https://github.com/knyar/nginx-lua-prometheus"
|
|
||||||
SRC_URI="https://github.com/knyar/${PN}/archive/${TAG}.tar.gz -> ${P}.tar.gz"
|
|
||||||
|
|
||||||
LICENSE="MIT"
|
|
||||||
SLOT="0"
|
|
||||||
KEYWORDS="~amd64"
|
|
||||||
|
|
||||||
COMMON_DEPEND=">=dev-lang/lua-5.1:0="
|
|
||||||
DEPEND="${COMMON_DEPEND}"
|
|
||||||
RDEPEND="${COMMON_DEPEND}
|
|
||||||
www-servers/nginx[nginx_modules_http_lua]"
|
|
||||||
BDEPEND="${COMMON_DEPEND}
|
|
||||||
virtual/pkgconfig"
|
|
||||||
|
|
||||||
S="${WORKDIR}/${PN}-${TAG}"
|
|
||||||
|
|
||||||
src_install() {
|
|
||||||
insinto "$($(tc-getPKG_CONFIG) --variable INSTALL_LMOD lua)"/${PN}
|
|
||||||
doins prometheus.lua
|
|
||||||
dodoc *.md
|
|
||||||
}
|
|
Binary file not shown.
@ -1,3 +1,3 @@
|
|||||||
DIST openssl-c_rehash.sh.1.7 4167 BLAKE2B fc501a74aec82f37c4c967434df208ac38fc9f7385db6e0bc90fa8d8aef2e5f71b40f0a40d59e2f8e57e9e8883251e4f977759fb484f4b4b6def14967789b55e SHA512 55e8c2e827750a4f375cb83c86bfe2d166c01ffa5d7e9b16657b72b38b747c8985dd2c98f854c911dfbbee2ff3e92aff39fdf089d979b2e3534b7685ee8b80da
|
DIST openssl-c_rehash.sh.1.7 4167 BLAKE2B fc501a74aec82f37c4c967434df208ac38fc9f7385db6e0bc90fa8d8aef2e5f71b40f0a40d59e2f8e57e9e8883251e4f977759fb484f4b4b6def14967789b55e SHA512 55e8c2e827750a4f375cb83c86bfe2d166c01ffa5d7e9b16657b72b38b747c8985dd2c98f854c911dfbbee2ff3e92aff39fdf089d979b2e3534b7685ee8b80da
|
||||||
EBUILD c_rehash-1.7-r1.ebuild 968 BLAKE2B 0795785a2b8749202ce9cebaf97db07310c048ec7e5067deaba88399a80f2640f6cc8bcdbd022ae80ef67d665bd3e2346984449cafdcfe655839b9effbe27411 SHA512 a4a2ca37b81cb08f6ac28531efeba6141cf3d33c177f48acd4c09f776b52c34258d1d6af1dea12606e2f2980a434625409a7fb9234df468aa42a1cb1bbf27690
|
EBUILD c_rehash-1.7-r1.ebuild 920 BLAKE2B 8d368dbd32d0c910b4a3ec3d103374e0aab051d7005d84c5fd44ec695dde01ee02c3fb5d48b13d8b243a6adfce9bfb9d4c3b71cae4c431af520cf4d5507083d4 SHA512 61bfd4d0c49c047e5dd93b37e52ec509c8c2701c421297e7c9412facdaef7e779a8232ae506ef793f88782e0dbe98c9934e7bfa5023d034d8a718d1c6352bc08
|
||||||
MISC metadata.xml 339 BLAKE2B b8e32c0f0f6147fc8e3ef5842ee8d375648506528f60de787d132be280d480d2c4e6680df6f4e78d8ba8a906ea3e768bbf124d84a23800b0476db37d6c4d0730 SHA512 c66dbcf2f2ef7d99dc059e69c162237e9f3a233058ed05702d1a6b4e17d97e91fcffeca021f22558905669f65a3224f8a38a8dd0fa4107f74c53d5ca5bdd38c0
|
MISC metadata.xml 339 BLAKE2B b8e32c0f0f6147fc8e3ef5842ee8d375648506528f60de787d132be280d480d2c4e6680df6f4e78d8ba8a906ea3e768bbf124d84a23800b0476db37d6c4d0730 SHA512 c66dbcf2f2ef7d99dc059e69c162237e9f3a233058ed05702d1a6b4e17d97e91fcffeca021f22558905669f65a3224f8a38a8dd0fa4107f74c53d5ca5bdd38c0
|
||||||
|
@ -1,31 +1,28 @@
|
|||||||
# Copyright 1999-2021 Gentoo Authors
|
# Copyright 1999-2021 Gentoo Authors
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
|
||||||
EAPI=5
|
EAPI=7
|
||||||
|
|
||||||
DESCRIPTION="c_rehash script from OpenSSL"
|
DESCRIPTION="c_rehash script from OpenSSL"
|
||||||
HOMEPAGE="https://www.openssl.org/ https://github.com/pld-linux/openssl/"
|
HOMEPAGE="https://www.openssl.org/ https://github.com/pld-linux/openssl/"
|
||||||
SRC_URI="https://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/openssl/openssl-c_rehash.sh?rev=${PV} -> openssl-c_rehash.sh.${PV}"
|
SRC_URI="https://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/openssl/openssl-c_rehash.sh?rev=${PV} -> openssl-c_rehash.sh.${PV}"
|
||||||
|
S="${WORKDIR}"
|
||||||
|
|
||||||
LICENSE="openssl"
|
LICENSE="openssl"
|
||||||
SLOT="0"
|
SLOT="0"
|
||||||
KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~m68k ~mips ppc ppc64 ~riscv s390 sparc x86 ~x64-cygwin ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris ~x86-winnt"
|
KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~m68k ~mips ppc ppc64 ~riscv s390 sparc x86 ~x64-cygwin ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris ~x86-winnt"
|
||||||
IUSE=""
|
|
||||||
|
|
||||||
RDEPEND="!<dev-libs/openssl-1.0.2d-r1:0"
|
RDEPEND="!<dev-libs/openssl-1.0.2d-r1:0"
|
||||||
DEPEND="${RDEPEND}"
|
DEPEND="${RDEPEND}"
|
||||||
|
|
||||||
S=${WORKDIR}
|
src_configure() {
|
||||||
|
|
||||||
src_prepare() {
|
|
||||||
SSL_CNF_DIR="/etc/ssl"
|
|
||||||
sed \
|
sed \
|
||||||
-e "/^DIR=/s:=.*:=${EPREFIX}${SSL_CNF_DIR}:" \
|
-e "/^DIR=/s:=.*:=${EPREFIX}/etc/ssl:" \
|
||||||
-e "s:SSL_CMD=/usr:SSL_CMD=${EPREFIX}/usr:" \
|
-e "s:SSL_CMD=/usr:SSL_CMD=${EPREFIX}/usr:" \
|
||||||
"${DISTDIR}"/openssl-c_rehash.sh.${PV} \
|
"${DISTDIR}"/openssl-c_rehash.sh.${PV} \
|
||||||
> "${WORKDIR}"/c_rehash || die #416717
|
> "${WORKDIR}"/c_rehash || die #416717
|
||||||
}
|
}
|
||||||
|
|
||||||
src_install() {
|
src_install() {
|
||||||
dobin "${WORKDIR}"/c_rehash
|
dobin c_rehash
|
||||||
}
|
}
|
||||||
|
@ -1,9 +1,3 @@
|
|||||||
AUX cmatrix-1.2a-fontdir.patch 1794 BLAKE2B 2355315f4d119ba4df43b99b6aa7485eb9334ab88a0e271ae0890b1fd3637400ab4e9bcf63e09741072a1bf81b34ce8b62392a166596f2ad08a1bddd916415df SHA512 fe3ffc7919576c2f1fe16240ed6915431fcbe569c16b629cfbb78d082c47c44b95808c89bec7b09201902a19f780577f0dc382d4da7275f2f096c034efeeb14a
|
|
||||||
AUX cmatrix-1.2a-gentoo.patch 3034 BLAKE2B f882f43ffe02f966bad26f560bd9eefc726f8b5974657b267699cb111e9dc02dd1106d4effdbc2b13cc34273f591e2eb1d4d33ff508907f98d65f687b3046a9e SHA512 a72651c778fae74d0b05f59a7a94bf7a9807be0367dbceef9086d9a94da0062ab9f727c6708f5a573450c8e28fcbf729828ff4c8813b68a0fbfbf9106f451c92
|
|
||||||
AUX cmatrix-1.2a-tinfo.patch 827 BLAKE2B acc326c3c70d3844ab9bd87751b590d357e8b29e5dd3f19381e8af69c78588b383982cdca292854f0bb95ce6fd829f34dabe22c61338ff35a187c3910e2f0df3 SHA512 cadf16edbdb2c43716de77b00bca725faa8802ab9cb6a4d5665bd20f3e1b0bf5aa5ac4b6d36c57573aa24985fe2abce4cef40b31ee288c1f13f87e31bab1922b
|
|
||||||
DIST cmatrix-1.2a.tar.gz 74376 BLAKE2B 03319cecc8b15c441f36aa6c3267c4c0793855835c374e6fc45be731fd5907333ecf1f179b6761da8499a40bd199afc0c3c018949a325f5ca139c8a09662917f SHA512 a653a840378da87877bda1b48fc4087e7789b548e0f943ae15b81b5dc7a847aed28c69d2ad955bd467f38d6a08b0960349490b61c30260767e7d1560bb542d82
|
|
||||||
DIST cmatrix-2.0.tar.gz 205640 BLAKE2B 3d38903b93853afc077c00308b84106664ec2ea3a31601ba7ab858f6571158182858de87392b5940725456bdd8c82232228451a4d30813e2c0a8bec99f285814 SHA512 1aeecd8e8abb6f87fc54f88a8c25478f69d42d450af782e73c0fca7f051669a415c0505ca61c904f960b46bbddf98cfb3dd1f9b18917b0b39e95d8c899889530
|
DIST cmatrix-2.0.tar.gz 205640 BLAKE2B 3d38903b93853afc077c00308b84106664ec2ea3a31601ba7ab858f6571158182858de87392b5940725456bdd8c82232228451a4d30813e2c0a8bec99f285814 SHA512 1aeecd8e8abb6f87fc54f88a8c25478f69d42d450af782e73c0fca7f051669a415c0505ca61c904f960b46bbddf98cfb3dd1f9b18917b0b39e95d8c899889530
|
||||||
EBUILD cmatrix-1.2a-r3.ebuild 991 BLAKE2B 0af3a62dd77252d92cd992d0388ea3db2fcc7a6ba937dd41bb9e436f15d9cea813118c28a26772c2c49d6e913d19c9ff6dd9de401ad6b44cc42ca2a3f8c684d9 SHA512 bc2b9d9a3f3f48e9e33a3cf69d8074330d8799afabdd2fff792f198be1fcde5bdd62eb1163b2db9b8398fa672da5ef72a34468a45d1b38ad02cc68e93c152b72
|
EBUILD cmatrix-2.0-r2.ebuild 1029 BLAKE2B b647b4f710a437fdb6905875e3a3d8df95dbf8a762f54a5706740a82cc449bd79f38917835a3823ad24f8d6cf071e57c3eb34ed50b5fd149246ef63b92c47a60 SHA512 4cb93f824a360b6231dae0262f882ba6bf9aae161e3e17391e830370d2ab21e50b5bfc21d357b7cb3bf74925f8d04538fae53543f2a6cf35b8e1c854e254cbae
|
||||||
EBUILD cmatrix-1.2a-r4.ebuild 1065 BLAKE2B 4d5958b295a53f1d17a32338245d079298932262dde0ee4e0948bec0dd4e74f45532e7aa1cdb696811b93777248ce5cbad0a497d16d0544ba745b4571790617b SHA512 8c3228954bfa3c3a950c3da31695678712320d78eae77ffa55cda3609086e0a782b5016c1be64478343ff7657eb9ad9e48ebf695cdc82321a566c84c4e0a9b73
|
|
||||||
EBUILD cmatrix-2.0-r2.ebuild 1030 BLAKE2B 0b63ec2efb9c0429c3fffaa2924df61d074d1d97a795c6a44053cefdb8087dbafbd2bcbe4a58739401c589bf80f8982e043d963ea9e86c31db37e7cf97c158db SHA512 a4d2a92cc0aaef32f9f94c9d0cbea29eab1cc3622d6ea500400bbed218179ce00bec556ef0995d177827b6a41d6f78632df871eeae62974fab7940aeec176226
|
|
||||||
MISC metadata.xml 251 BLAKE2B e9e9d48943645d8b737bc1f7ab0efb05db0f8eddad759c9bb40d07dc008fbfb8f5cca2020de71a9ff6945f5d66292ac02355773545010cd49c77fe6dd5ab7b40 SHA512 1b6a6955118c1a74cc89a77d6de9be8f4ff9c7137c186753462670a5b93457dfd034ad5d1f4d2507ac95cc149c2a042fa5324220b58702a56b09d91de40151c9
|
MISC metadata.xml 251 BLAKE2B e9e9d48943645d8b737bc1f7ab0efb05db0f8eddad759c9bb40d07dc008fbfb8f5cca2020de71a9ff6945f5d66292ac02355773545010cd49c77fe6dd5ab7b40 SHA512 1b6a6955118c1a74cc89a77d6de9be8f4ff9c7137c186753462670a5b93457dfd034ad5d1f4d2507ac95cc149c2a042fa5324220b58702a56b09d91de40151c9
|
||||||
|
@ -1,50 +0,0 @@
|
|||||||
# Copyright 1999-2020 Gentoo Authors
|
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
|
||||||
|
|
||||||
EAPI=6
|
|
||||||
inherit autotools
|
|
||||||
|
|
||||||
DESCRIPTION="An ncurses based app to show a scrolling screen from the Matrix"
|
|
||||||
HOMEPAGE="https://sourceforge.net/projects/cmatrix/"
|
|
||||||
SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
|
|
||||||
|
|
||||||
LICENSE="GPL-2"
|
|
||||||
SLOT="0"
|
|
||||||
KEYWORDS="~alpha amd64 ~hppa ppc ppc64 sparc x86"
|
|
||||||
IUSE="X"
|
|
||||||
|
|
||||||
DEPEND="
|
|
||||||
X? ( >=x11-apps/mkfontscale-1.2.0 )
|
|
||||||
sys-libs/ncurses:0="
|
|
||||||
|
|
||||||
RDEPEND="${DEPEND}"
|
|
||||||
|
|
||||||
PATCHES=(
|
|
||||||
"${FILESDIR}"/${P}-gentoo.patch
|
|
||||||
"${FILESDIR}"/${P}-tinfo.patch
|
|
||||||
)
|
|
||||||
|
|
||||||
src_prepare() {
|
|
||||||
default
|
|
||||||
|
|
||||||
use X && eapply "${FILESDIR}"/${P}-fontdir.patch
|
|
||||||
|
|
||||||
eautoreconf
|
|
||||||
}
|
|
||||||
|
|
||||||
src_install() {
|
|
||||||
dodir /usr/share/consolefonts
|
|
||||||
dodir /usr/lib/kbd/consolefonts
|
|
||||||
use X && dodir /usr/share/fonts/misc
|
|
||||||
|
|
||||||
default
|
|
||||||
}
|
|
||||||
|
|
||||||
pkg_postinst() {
|
|
||||||
if use X; then
|
|
||||||
if [[ -d "${ROOT}"usr/share/fonts/misc ]] ; then
|
|
||||||
einfo ">>> Running mkfontdir on ${ROOT}usr/share/fonts/misc"
|
|
||||||
mkfontdir "${ROOT}"usr/share/fonts/misc
|
|
||||||
fi
|
|
||||||
fi
|
|
||||||
}
|
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in new issue