parent
22849bf113
commit
e8bc874c35
@ -1,11 +0,0 @@
|
||||
# https://editorconfig.org/
|
||||
root = true
|
||||
|
||||
[*.{ebuild,eclass}]
|
||||
charset = utf-8
|
||||
end_of_line = lf
|
||||
insert_final_newline = true
|
||||
indent_style = tab
|
||||
indent_size = 4
|
||||
trim_trailing_whitespace = true
|
||||
#max_line_length = 80
|
@ -1,30 +0,0 @@
|
||||
# Old/new developers can be added here to map their contributions accurately
|
||||
# before joining and after retiring, as well as the usual uses of .mailmap.
|
||||
# See gitmailmap(5) for format details.
|
||||
# Please keep this list sorted.
|
||||
# Use "grep -v '^#' .mailmap | LC_ALL=en_US.utf-8 sort".
|
||||
Alexey Shvetsov <alexxy@gentoo.org> <alexxy@omrb.pnpi.spb.ru>
|
||||
Alexey Sokolov <alexey+gentoo@asokolov.org> <sokolov@google.com>
|
||||
Andrew Ammerlaan <andrewammerlaan@gentoo.org> <aammerlaan@science.ru.nl>
|
||||
Andrew Ammerlaan <andrewammerlaan@gentoo.org> <andrewammerlaan@gentoo.org>
|
||||
Andrew Ammerlaan <andrewammerlaan@gentoo.org> <andrewammerlaan@riseup.net>
|
||||
Andrew Ammerlaan <andrewammerlaan@gentoo.org> <andrew.ammerlaan@ru.nl>
|
||||
Andrew Ammerlaan <andrewammerlaan@gentoo.org> <nowa-ammerlaan@riseup.net>
|
||||
Arsen Arsenović <arsen@gentoo.org> <arsen@aarsen.me>
|
||||
Florian Schmaus <flow@gentoo.org> <flo@geekplace.eu>
|
||||
Ionen Wolkens <ionen@gentoo.org> <sudinave@gmail.com>
|
||||
Joonas Niilola <juippis@gentoo.org> <juippis@gmail.com>
|
||||
Maciej Barć <xgqt@gentoo.org> <xgqt@protonmail.com>
|
||||
Maciej Barć <xgqt@gentoo.org> <xgqt@riseup.net>
|
||||
Marek Szuba <marecki@gentoo.org> <Marek.Szuba@cern.ch>
|
||||
Martin Dummer <martin.dummer@gmx.net> <martin.dummer@ts.fujitsu.com>
|
||||
Michal Privoznik <michal.privoznik@gmail.com> <miso.privoznik@gmail.com>
|
||||
Michal Privoznik <michal.privoznik@gmail.com> <mprivozn@redhat.com>
|
||||
Michal Privoznik <michal.privoznik@gmail.com> Michal Prívozník <michal.privoznik@gmail.com>
|
||||
Petr Vaněk <arkamar@gentoo.org> <arkamar () atlas ! cz>
|
||||
Petr Vaněk <arkamar@gentoo.org> <arkamar@atlas.cz>
|
||||
Petr Vaněk <arkamar@gentoo.org> <pv@excello.cz>
|
||||
Sam James <sam@gentoo.org> Sam James (sam_c) <sam@cmpct.info>
|
||||
Sam James <sam@gentoo.org> Sam James (sam_c) <sam@gentoo.org>
|
||||
Ulrich Müller <ulm@gentoo.org> <ulm@kph.uni-mainz.de>
|
||||
Viorel Munteanu <ceamac@gentoo.org> <ceamac.paragon@gmail.com>
|
@ -1,23 +1,23 @@
|
||||
-----BEGIN PGP SIGNED MESSAGE-----
|
||||
Hash: SHA512
|
||||
|
||||
MANIFEST Manifest.files.gz 29753 BLAKE2B 488c40659c5a8752428ae50d185e45e59f3eaa4e0a5061ef30a147e5fe6cfe4482952557d3366bff51e7b0bf8209c211aa55a95d066a7255aea9a67e294f6afc SHA512 d5a0d5e208390a00b890d7e85f41105aca1874b70ce495f63c4b9287065792fe3c66f70c072ed946641cc6288b44d4c04af507951c98b8907f9552a774fec9a9
|
||||
TIMESTAMP 2024-05-05T17:40:35Z
|
||||
MANIFEST Manifest.files.gz 29812 BLAKE2B d4685137b8ddd7cd88f421278d49872eac5672b90f61d47430a584eb17c75e669fe7622ca00c30e8eb898dab116074474e6d3c3ceea84ddda3e1888af7c3d4e2 SHA512 bb4627e3f826226310bef8141d763ccc6255412cd9723f23d74a15b8a7a0d6842326c610e597db7f10b3d1094226e6d7363c76a98d7bf2b545a0087aad52862f
|
||||
TIMESTAMP 2024-05-08T18:10:15Z
|
||||
-----BEGIN PGP SIGNATURE-----
|
||||
|
||||
iQKTBAEBCgB9FiEE4dartjv8+0ugL98c7FkO6skYklAFAmY3xJNfFIAAAAAALgAo
|
||||
iQKTBAEBCgB9FiEE4dartjv8+0ugL98c7FkO6skYklAFAmY7wAdfFIAAAAAALgAo
|
||||
aXNzdWVyLWZwckBub3RhdGlvbnMub3BlbnBncC5maWZ0aGhvcnNlbWFuLm5ldEUx
|
||||
RDZBQkI2M0JGQ0ZCNEJBMDJGREYxQ0VDNTkwRUVBQzkxODkyNTAACgkQ7FkO6skY
|
||||
klDg3Q/9GbTJyx6eJWTHW72CwkYA5p88bcli13K16BAbmhXDL9ACJSlI/9eQn7Wt
|
||||
2LQYBo/ay7ADaFbF2VwmZK9X1yB4Qi3rFd9y8lU9equ6mrjWC8MKSMflPJO8MSyM
|
||||
3rKauTiU/nmi3YEu9jrvcZGwh3WtGPR/wKyowRU/aB2DxvTX0k4IMVZJLU69M5R5
|
||||
H3+xkISP34GSPvrUPTeBJ4WbqfA+zQC3K9vWPU3BkLw0tqVg7hjVhAWqDymbNxBp
|
||||
r1zjcyu8a5/fe489qweUgO8CWsVcwUb9KK5fKwy+qVSFzrBOgOc0xhRneCAF09pw
|
||||
mCOAh7JFBvp9gEdmMIxTKL5R+HBQkyXNoRtSI4wIKVwW87TJbtuwnqzsZsWXvVER
|
||||
rfXpUyzPekbd93VdJ0ygNyutlMOEdlrCrXAdqowU48S8wpNzbtkkKVCbSkbOQbsN
|
||||
D/J1PnWr6zAZoDt8a83QSegsVFfmkWluN/Kk00wu+EnE0m1Fh3TWquG7GQ8V1b2v
|
||||
hy/tLmy+zDUZlvtkZyt3tYZ1ZyJ7Wx99O4l79ruq1zmyt0J69rdLWGmNHxKnPv1Q
|
||||
+tnQiO/UCrj0svuuAVU4ydq7XRn8mf3PLez72yW47a7WTUoOCNRwppN1Rc6se+ha
|
||||
hF3TrFCPZcBBFyZGY4WZkplm1J6gH5GSOeh8JUmDlL3M0ik+Yqk=
|
||||
=PoCN
|
||||
klCwUw/9Fu0gNwDVhY7nWPqA5VcCoEk4SwYtu3H9ZC+PW16TMDWTdzWH/SUNZrTl
|
||||
NzKJ3MwWc8Yy28GnQ6cR0SnI7aBhaPAdz36291tf+TGAgEl6ZB5kjDW82w1T55qb
|
||||
40g/Tr0DftTFjLItxyDzaTaZJb/khm5OzbwnlaJbu/7on3VliZXbcHscWvMcGdlE
|
||||
08ZD6Lh88oYUEQYtFfGiwtsuR67PgQSU/7Ue3AgVuDt69fW7IssOM+WZluqCqY2U
|
||||
UBou3s8lJoaCCMLA4St+xuQZ3ljzvL1X1sPWZFhrE3ZZ3o4M6zCtoI3+8mFFKEsa
|
||||
VbWZsrnSQlFqzC8c0AvwM76ojIHSsb456vl1S6Vcz90mfZyvlVAQXBEETyJ04MIq
|
||||
3/pFaM5E7XgY1jT2PB5fxd2qbIKL6pOoE5QrHKr13CuPtY7hywK0E34zwE2f74mu
|
||||
o5JunvwPe9jtqlHmN37xPNzxLBzHBTnApdI/gfJcJ+lREG9gPvlyyhfySTi2LgFJ
|
||||
ph5TRKT3eJACrY6Etk/E6Gom7uyLd0RiDWZYCITLdtSeRa2pIS6Ym3T6Hcp+ZnGE
|
||||
1sSO8gg8YuiH6e7GrEu9simV93hwfAYrHp8lwWq/BOP+VEtYQaHTs4lZQzSWC+sE
|
||||
QelR+nGy53x/tqC+3OIh/l21Z5sR65kWqUAAyxYv737cKL5oUIo=
|
||||
=RsGO
|
||||
-----END PGP SIGNATURE-----
|
||||
|
Binary file not shown.
Binary file not shown.
@ -1,2 +0,0 @@
|
||||
EBUILD unifi-video-0-r2.ebuild 187 BLAKE2B 9a4e56f33e1a2567c6fc6ade1d653085463a5cad44601d6f6efc36c1f1f826c87e9b3f9c0a060bad1cbde073c05e76feb3697c64dfe76b17e689ad8771c1ae65 SHA512 a96ad7371b0226638eb1fdb0262106c6e1567fd2cc0f1c38757ebe053303abf04655910234bdc7a36e67d959437b8803f35626691c196e88b59ebe90796e3357
|
||||
MISC metadata.xml 245 BLAKE2B 4988fa1366a9b8a3769e503545339cdd493a0bdc362ca9237b158b94549de1f061477546b00fd3b21dc9325812423f7207071e22e3234d5c0b88c755197557d2 SHA512 e00be68ab9ad3acfce3d2d48721c47cf50e2c6358c9ceb45a2a23fc5303826ea26b9205ce4f230121c2e40c9c467367f2dc57863680899b21e8005034aa9118c
|
@ -1,8 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<maintainer type="person">
|
||||
<email>bkohler@gentoo.org</email>
|
||||
<name>Ben Kohler</name>
|
||||
</maintainer>
|
||||
</pkgmetadata>
|
@ -1,9 +0,0 @@
|
||||
# Copyright 2020-2024 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
inherit acct-group
|
||||
|
||||
DESCRIPTION="Group for Unifi Video"
|
||||
ACCT_GROUP_ID=348
|
Binary file not shown.
@ -1,2 +0,0 @@
|
||||
EBUILD unifi-video-0-r2.ebuild 237 BLAKE2B 35cf44702118bb4cdf77604cd1b825fa42f649b5ec2317c93602672621685764f18daa6648616931c6ecd131e786f9fc0ceec97b9b06b1199672bc23ea7cc0bd SHA512 634c267b0ba1f27e7f1be22d7dcc99561e0ca21485b1bda009d5056293bb2e23ee5c56b25558f2a99fd2c2179b102ec1c94c497159342831e317ba02fb20f8e5
|
||||
MISC metadata.xml 245 BLAKE2B 4988fa1366a9b8a3769e503545339cdd493a0bdc362ca9237b158b94549de1f061477546b00fd3b21dc9325812423f7207071e22e3234d5c0b88c755197557d2 SHA512 e00be68ab9ad3acfce3d2d48721c47cf50e2c6358c9ceb45a2a23fc5303826ea26b9205ce4f230121c2e40c9c467367f2dc57863680899b21e8005034aa9118c
|
@ -1,12 +0,0 @@
|
||||
# Copyright 2020-2024 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
inherit acct-user
|
||||
|
||||
DESCRIPTION="User for Unifi Video"
|
||||
ACCT_USER_ID=348
|
||||
ACCT_USER_GROUPS=( unifi-video )
|
||||
|
||||
acct-user_add_deps
|
Binary file not shown.
@ -1,5 +1,3 @@
|
||||
DIST orca-45.1.tar.xz 3966196 BLAKE2B 5d78e228c480e880ca62f5e6b35d5394cbe41b67dc14f7158ca3dcadcd9721bb6e37f2054c1fa3375019351fc609d1ab4268becede10b60fbc67051c5e67539f SHA512 581126ced85943c916d9b2c0a55c12fe16344c9d6501be0290698c0668909faab4c1f539ffd856c82d0b386cfa8ca00ba5176ff5b9c5c1176cc30faededb411a
|
||||
DIST orca-45.2.tar.xz 3997024 BLAKE2B dfdf113694127323a92450b04b20fcc5655be0236c0173167d5d15478703b676c3fd8c1de0e75783875c5d2d40541c764fb002314d66c7570475cd63f6bfa473 SHA512 57eee451cf0da52e1297beae6c6d527886721b23c3415a5e046f3431876fdf1603dbd81ca763ed614ace68e7db96d90b413c663f113d0033ec1f2797df7bf589
|
||||
EBUILD orca-45.1.ebuild 1452 BLAKE2B 5e5bf09c4c9359275b54bcd99a09256b27d1a5722f918b793838db21e0f3db22391fcfdfca92eb6bed014f3172ec369f312cd93744e4404e10be2a8b3e347d48 SHA512 0b0ca1102818797b143dde89cb5479378f7f6d0b723a8196e9e687d6568f6b3ae8de4d7ea5d851ff30e00aca8088d1340a5f3349699b1e4a791f2111f35d0c3f
|
||||
EBUILD orca-45.2.ebuild 1452 BLAKE2B 5e5bf09c4c9359275b54bcd99a09256b27d1a5722f918b793838db21e0f3db22391fcfdfca92eb6bed014f3172ec369f312cd93744e4404e10be2a8b3e347d48 SHA512 0b0ca1102818797b143dde89cb5479378f7f6d0b723a8196e9e687d6568f6b3ae8de4d7ea5d851ff30e00aca8088d1340a5f3349699b1e4a791f2111f35d0c3f
|
||||
MISC metadata.xml 762 BLAKE2B fca9ee6ac93d2e860f6791af78380e9d8d29ac10b254299946911a29b5893028e561a18320bc026dd7e9421f3c572e1c3ac63264276a1b292996db93e1cba4a3 SHA512 6bbe0cff5af52cb48adccbb61620fd75a0811cad313867b63cb09b5a7c259230019a54ad607ee46c986188ff11ac2f6878ef20381ef34965dfe918c88ec945d0
|
||||
|
@ -1,59 +0,0 @@
|
||||
# Copyright 1999-2024 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
PYTHON_COMPAT=( python3_{10..11} )
|
||||
|
||||
inherit gnome2 python-single-r1
|
||||
|
||||
DESCRIPTION="Extensible screen reader that provides access to the desktop"
|
||||
HOMEPAGE="https://wiki.gnome.org/Projects/Orca"
|
||||
|
||||
LICENSE="LGPL-2.1+ CC-BY-SA-3.0"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha amd64 ~arm arm64 ~ia64 ~loong ~ppc ~ppc64 ~riscv ~sparc x86"
|
||||
|
||||
IUSE="+braille"
|
||||
REQUIRED_USE="${PYTHON_REQUIRED_USE}"
|
||||
|
||||
DEPEND="${PYTHON_DEPS}
|
||||
>=app-accessibility/at-spi2-core-2.48:2[introspection]
|
||||
>=dev-libs/glib-2.28:2
|
||||
media-libs/gstreamer:1.0[introspection]
|
||||
>=x11-libs/gtk+-3.6.2:3[introspection]
|
||||
$(python_gen_cond_dep '
|
||||
dev-python/gst-python:1.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/pygobject-3.18:3[${PYTHON_USEDEP}]
|
||||
')
|
||||
braille? (
|
||||
$(python_gen_cond_dep '
|
||||
>=app-accessibility/brltty-5.0-r3[python,${PYTHON_USEDEP}]
|
||||
dev-libs/liblouis[python,${PYTHON_USEDEP}]
|
||||
')
|
||||
)
|
||||
"
|
||||
RDEPEND="${DEPEND}
|
||||
$(python_gen_cond_dep '
|
||||
>=app-accessibility/speech-dispatcher-0.8[python,${PYTHON_USEDEP}]
|
||||
>=dev-python/pyatspi-2.46[${PYTHON_USEDEP}]
|
||||
dev-python/setproctitle[${PYTHON_USEDEP}]
|
||||
')
|
||||
x11-libs/libwnck:3[introspection]
|
||||
x11-libs/pango[introspection]
|
||||
"
|
||||
BDEPEND="
|
||||
dev-util/itstool
|
||||
>=sys-devel/gettext-0.19.8
|
||||
virtual/pkgconfig
|
||||
"
|
||||
# app-text/yelp-tools
|
||||
|
||||
src_configure() {
|
||||
gnome2_src_configure \
|
||||
$(use_with braille liblouis)
|
||||
}
|
||||
|
||||
src_install() {
|
||||
gnome2_src_install
|
||||
python_optimize
|
||||
}
|
Binary file not shown.
@ -1,7 +1,11 @@
|
||||
DIST aws-cli-1.32.100.gh.tar.gz 2724286 BLAKE2B b0b20460f4c29a757237b27c24c305594854f7833c37eb1a62ae2a47708c22c87ef6eaf6f7b3574003458c344fb26ae5a97d3a9dc4c0e3e921ccc3a7eb192636 SHA512 1abf2fd5ffe1928b44eba7fe743ed67c78c3be9ee728abe99011e01b5797e03adae8c2b161b41d91fbe7a610b7e8adc527c52fefc3381a3e9cb671e2ececd43c
|
||||
DIST aws-cli-1.32.88.gh.tar.gz 2693435 BLAKE2B 043f4eb08711760b7f8e15a5eba879524788cb65823215ed9d1c8ee5337a085ab6975dfc1c90aea29b7137f050a6d4f201eba57e8c8c83c09625401d8075eb6c SHA512 cb0ed179b9549d988e19963607fe28ca6fb02c92280c451c8651a8149d60a929158f9ae04a1c764540648b8b42417e908cb956fe71ce787c4b788f83cc2ef488
|
||||
DIST aws-cli-1.32.93.gh.tar.gz 2695489 BLAKE2B d2f81786d4db158a13ec50ed833668db26bde00cc1e4f5254aa127aba82113074abafa996f525b5f7cd215fd51639481a01a49c425bb4c01e990261529f06082 SHA512 e03892ef522fa43442d1b053d0bf8dbd6c892d94398934c4af58e81153c2759f7e55a289457bb3e5b46f2f01697642498fdd6d51cdc18ad8b6c0f6a31d7c606a
|
||||
DIST aws-cli-1.32.98.gh.tar.gz 2723261 BLAKE2B f854a78226a9480d2966e0dcc817e372de96f32723c28bd7189ed484ab24e8fa9f33a018b1b3193d1a5be82e1ad2b69b2d0d6642f004aa6fd601a68862cbbbdc SHA512 989ad96da152423001832a502935ed64a92ef61ba63f9f413fa07e84910d2aa905056bbfcf49202508d6d0a910b4a2969da27e736857e918077693909e4ca0ea
|
||||
DIST aws-cli-1.32.99.gh.tar.gz 2723590 BLAKE2B 608cf942f6be189decfeed4c5169da738f1baad55522090e3f5c9c01de9f7b973e8b574506d51dd320042e6edb49b89c88853119c005798f0f72faf81fc68682 SHA512 41bc06980fe7f8cd56ee9330cab15f0c73589d85269d67824b2f48a71928cb20e3c3a7a863ebdc79c14a88b2dcf15960b5c7af3c47f424a332e85ad3c33b3647
|
||||
EBUILD awscli-1.32.100.ebuild 3029 BLAKE2B 580c774489759d94cbe5c77316c3afbb84d597198c391cd0ed89722c239fb23a87fc34378bd669e9104fbfaaa75a924c3d73e8df2c52693ba6fc135da827643d SHA512 4a31562305f7156e91d78023ed1f56e74de8fb1555323a5cd63611254daeb7491b8e323d00e38351d9bbc2a751f257290a6bb4bd91638e28f9c45acb8742c809
|
||||
EBUILD awscli-1.32.88.ebuild 3022 BLAKE2B eca1e9b920babafc0c226e1d3c0b23baa63965cffceacc71118d2e4a1302945d10294223300a94f9dec4b39e52c7bd8f44e35cbf7cf30c117f9d86fe93450326 SHA512 11de7ee4880fe2bd192c6c15081b598d4c9d2f18b28064908a855cb01283408542c8981841c531d546b6de9e2b932d2a23e2fe1a9e90030566af6b966c30fd97
|
||||
EBUILD awscli-1.32.93.ebuild 3029 BLAKE2B 580c774489759d94cbe5c77316c3afbb84d597198c391cd0ed89722c239fb23a87fc34378bd669e9104fbfaaa75a924c3d73e8df2c52693ba6fc135da827643d SHA512 4a31562305f7156e91d78023ed1f56e74de8fb1555323a5cd63611254daeb7491b8e323d00e38351d9bbc2a751f257290a6bb4bd91638e28f9c45acb8742c809
|
||||
EBUILD awscli-1.32.98.ebuild 3029 BLAKE2B 580c774489759d94cbe5c77316c3afbb84d597198c391cd0ed89722c239fb23a87fc34378bd669e9104fbfaaa75a924c3d73e8df2c52693ba6fc135da827643d SHA512 4a31562305f7156e91d78023ed1f56e74de8fb1555323a5cd63611254daeb7491b8e323d00e38351d9bbc2a751f257290a6bb4bd91638e28f9c45acb8742c809
|
||||
EBUILD awscli-1.32.99.ebuild 3029 BLAKE2B 580c774489759d94cbe5c77316c3afbb84d597198c391cd0ed89722c239fb23a87fc34378bd669e9104fbfaaa75a924c3d73e8df2c52693ba6fc135da827643d SHA512 4a31562305f7156e91d78023ed1f56e74de8fb1555323a5cd63611254daeb7491b8e323d00e38351d9bbc2a751f257290a6bb4bd91638e28f9c45acb8742c809
|
||||
MISC metadata.xml 385 BLAKE2B 5accfb180a91179cc6df539d42d1de06be3ebfec73f3edb719f5d59576103b9a8cb0c7c524c1042630e0cf99f068939a19f04c7b1b4a2acf9e072369df80d913 SHA512 ccb3d516326c5dbdf53068372ce25baecc137d21a04516374362212b969cc928dacbf743b4953da33f28482905798f069d09d19c88d9913f2b32648db25115ab
|
||||
|
@ -0,0 +1,90 @@
|
||||
# Copyright 1999-2024 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
DISTUTILS_USE_PEP517=setuptools
|
||||
PYTHON_COMPAT=( python3_{10..12} )
|
||||
|
||||
inherit bash-completion-r1 distutils-r1
|
||||
|
||||
MY_P=aws-cli-${PV}
|
||||
DESCRIPTION="Universal Command Line Environment for AWS"
|
||||
HOMEPAGE="
|
||||
https://github.com/aws/aws-cli/
|
||||
https://pypi.org/project/awscli/
|
||||
"
|
||||
SRC_URI="
|
||||
https://github.com/aws/aws-cli/archive/${PV}.tar.gz
|
||||
-> ${MY_P}.gh.tar.gz
|
||||
"
|
||||
S=${WORKDIR}/${MY_P}
|
||||
|
||||
LICENSE="Apache-2.0"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~riscv ~sparc ~x86"
|
||||
|
||||
# botocore is x.(y+2).z
|
||||
BOTOCORE_PV="$(ver_cut 1).$(( $(ver_cut 2) + 2)).$(ver_cut 3-)"
|
||||
RDEPEND="
|
||||
>=dev-python/botocore-${BOTOCORE_PV}[${PYTHON_USEDEP}]
|
||||
dev-python/colorama[${PYTHON_USEDEP}]
|
||||
dev-python/docutils[${PYTHON_USEDEP}]
|
||||
dev-python/rsa[${PYTHON_USEDEP}]
|
||||
>=dev-python/s3transfer-0.10.0[${PYTHON_USEDEP}]
|
||||
dev-python/pyyaml[${PYTHON_USEDEP}]
|
||||
!app-admin/awscli-bin
|
||||
"
|
||||
BDEPEND="
|
||||
test? (
|
||||
dev-python/packaging[${PYTHON_USEDEP}]
|
||||
dev-python/pytest-forked[${PYTHON_USEDEP}]
|
||||
)
|
||||
"
|
||||
|
||||
EPYTEST_XDIST=1
|
||||
distutils_enable_tests pytest
|
||||
|
||||
src_prepare() {
|
||||
# do not rely on bundled deps in botocore (sic!)
|
||||
find -name '*.py' -exec sed -i \
|
||||
-e 's:from botocore[.]vendored import:import:' \
|
||||
-e 's:from botocore[.]vendored[.]:from :' \
|
||||
{} + || die
|
||||
# strip overzealous upper bounds on requirements
|
||||
sed -i -e 's:,<[0-9.]*::' -e 's:==:>=:' setup.py || die
|
||||
distutils-r1_src_prepare
|
||||
}
|
||||
|
||||
python_test() {
|
||||
local serial_tests=(
|
||||
tests/functional/ecs/test_execute_command.py::TestExecuteCommand::test_execute_command_success
|
||||
tests/functional/ssm/test_start_session.py::TestSessionManager::test_start_session_{fails,success}
|
||||
tests/functional/ssm/test_start_session.py::TestSessionManager::test_start_session_with_new_version_plugin_success
|
||||
tests/unit/customizations/codeartifact/test_adapter_login.py::TestDotNetLogin::test_login_dotnet_sources_listed_with_backtracking
|
||||
tests/unit/customizations/codeartifact/test_adapter_login.py::TestDotNetLogin::test_login_dotnet_sources_listed_with_backtracking_windows
|
||||
tests/unit/customizations/codeartifact/test_adapter_login.py::TestNuGetLogin::test_login_nuget_sources_listed_with_backtracking
|
||||
tests/unit/customizations/ecs/test_executecommand_startsession.py::TestExecuteCommand::test_execute_command_success
|
||||
tests/unit/customizations/test_sessionmanager.py
|
||||
tests/unit/test_compat.py::TestIgnoreUserSignals
|
||||
tests/unit/test_help.py
|
||||
tests/unit/test_utils.py::TestIgnoreCtrlC::test_ctrl_c_is_ignored
|
||||
)
|
||||
local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1
|
||||
EPYTEST_XDIST= epytest "${serial_tests[@]}"
|
||||
|
||||
local EPYTEST_DESELECT=( "${serial_tests[@]}" )
|
||||
# integration tests require AWS credentials and Internet access
|
||||
epytest tests/{functional,unit}
|
||||
}
|
||||
|
||||
python_install_all() {
|
||||
newbashcomp bin/aws_bash_completer aws
|
||||
|
||||
insinto /usr/share/zsh/site-functions
|
||||
newins bin/aws_zsh_completer.sh _aws
|
||||
|
||||
distutils-r1_python_install_all
|
||||
|
||||
rm "${ED}"/usr/bin/{aws.cmd,aws_bash_completer,aws_zsh_completer.sh} || die
|
||||
}
|
@ -0,0 +1,90 @@
|
||||
# Copyright 1999-2024 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
DISTUTILS_USE_PEP517=setuptools
|
||||
PYTHON_COMPAT=( python3_{10..12} )
|
||||
|
||||
inherit bash-completion-r1 distutils-r1
|
||||
|
||||
MY_P=aws-cli-${PV}
|
||||
DESCRIPTION="Universal Command Line Environment for AWS"
|
||||
HOMEPAGE="
|
||||
https://github.com/aws/aws-cli/
|
||||
https://pypi.org/project/awscli/
|
||||
"
|
||||
SRC_URI="
|
||||
https://github.com/aws/aws-cli/archive/${PV}.tar.gz
|
||||
-> ${MY_P}.gh.tar.gz
|
||||
"
|
||||
S=${WORKDIR}/${MY_P}
|
||||
|
||||
LICENSE="Apache-2.0"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~riscv ~sparc ~x86"
|
||||
|
||||
# botocore is x.(y+2).z
|
||||
BOTOCORE_PV="$(ver_cut 1).$(( $(ver_cut 2) + 2)).$(ver_cut 3-)"
|
||||
RDEPEND="
|
||||
>=dev-python/botocore-${BOTOCORE_PV}[${PYTHON_USEDEP}]
|
||||
dev-python/colorama[${PYTHON_USEDEP}]
|
||||
dev-python/docutils[${PYTHON_USEDEP}]
|
||||
dev-python/rsa[${PYTHON_USEDEP}]
|
||||
>=dev-python/s3transfer-0.10.0[${PYTHON_USEDEP}]
|
||||
dev-python/pyyaml[${PYTHON_USEDEP}]
|
||||
!app-admin/awscli-bin
|
||||
"
|
||||
BDEPEND="
|
||||
test? (
|
||||
dev-python/packaging[${PYTHON_USEDEP}]
|
||||
dev-python/pytest-forked[${PYTHON_USEDEP}]
|
||||
)
|
||||
"
|
||||
|
||||
EPYTEST_XDIST=1
|
||||
distutils_enable_tests pytest
|
||||
|
||||
src_prepare() {
|
||||
# do not rely on bundled deps in botocore (sic!)
|
||||
find -name '*.py' -exec sed -i \
|
||||
-e 's:from botocore[.]vendored import:import:' \
|
||||
-e 's:from botocore[.]vendored[.]:from :' \
|
||||
{} + || die
|
||||
# strip overzealous upper bounds on requirements
|
||||
sed -i -e 's:,<[0-9.]*::' -e 's:==:>=:' setup.py || die
|
||||
distutils-r1_src_prepare
|
||||
}
|
||||
|
||||
python_test() {
|
||||
local serial_tests=(
|
||||
tests/functional/ecs/test_execute_command.py::TestExecuteCommand::test_execute_command_success
|
||||
tests/functional/ssm/test_start_session.py::TestSessionManager::test_start_session_{fails,success}
|
||||
tests/functional/ssm/test_start_session.py::TestSessionManager::test_start_session_with_new_version_plugin_success
|
||||
tests/unit/customizations/codeartifact/test_adapter_login.py::TestDotNetLogin::test_login_dotnet_sources_listed_with_backtracking
|
||||
tests/unit/customizations/codeartifact/test_adapter_login.py::TestDotNetLogin::test_login_dotnet_sources_listed_with_backtracking_windows
|
||||
tests/unit/customizations/codeartifact/test_adapter_login.py::TestNuGetLogin::test_login_nuget_sources_listed_with_backtracking
|
||||
tests/unit/customizations/ecs/test_executecommand_startsession.py::TestExecuteCommand::test_execute_command_success
|
||||
tests/unit/customizations/test_sessionmanager.py
|
||||
tests/unit/test_compat.py::TestIgnoreUserSignals
|
||||
tests/unit/test_help.py
|
||||
tests/unit/test_utils.py::TestIgnoreCtrlC::test_ctrl_c_is_ignored
|
||||
)
|
||||
local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1
|
||||
EPYTEST_XDIST= epytest "${serial_tests[@]}"
|
||||
|
||||
local EPYTEST_DESELECT=( "${serial_tests[@]}" )
|
||||
# integration tests require AWS credentials and Internet access
|
||||
epytest tests/{functional,unit}
|
||||
}
|
||||
|
||||
python_install_all() {
|
||||
newbashcomp bin/aws_bash_completer aws
|
||||
|
||||
insinto /usr/share/zsh/site-functions
|
||||
newins bin/aws_zsh_completer.sh _aws
|
||||
|
||||
distutils-r1_python_install_all
|
||||
|
||||
rm "${ED}"/usr/bin/{aws.cmd,aws_bash_completer,aws_zsh_completer.sh} || die
|
||||
}
|
@ -1,4 +1,6 @@
|
||||
DIST eclean_kernel-2.99.7.tar.gz 25393 BLAKE2B 74f803f1007a1c54d87f087287a34a8380b21b9c66ad75a0ae64463815d5df39de0387f5d0cfd366e33efdaf039fce5dad923f1e55f93a2836830e303c3ca2df SHA512 dd43f65c1beebef59ee7a2e41375797fa5ea77171d8e4cf465b2b6a46e8e4500fb1723f664f2ce59e5b6e79d2dedd4abbaaa303a77e8349b9ee90c56e00e799e
|
||||
DIST eclean_kernel-2.99.8.tar.gz 25134 BLAKE2B efd29370f0204c8df7a8e955a50ef8ad819fd29f8cbf1d179e61588130ac6d589366f1f76d499cae42c6e99c553d1b0cd68c4f0728315940b5997196bda6b57c SHA512 57956e1f93327db86942c5be815d3df61934f93a65349faca4d2605e7667b9dfe8e42bc6d4f5c5c27fbbdd536a25371b4c4b0b88dca92ba0f5f98058f1c1b679
|
||||
EBUILD eclean-kernel-2.99.7.ebuild 680 BLAKE2B fe2f07c50e4d0240d3b9269a0b3b73de9493f6bbb3d69a95caad28ee1d4dee4e849b82aca39a4b140095759463f7b32782fc14d3f618ec4763f6c6ec6c922ec0 SHA512 246033f645f600304914ff981ed5fa22f963cbd3e08684d7579d585bf8c7e98f3593ee6b382444fde74f99aff50d1d0cc381be8f741dc9d125de5b8482a67d54
|
||||
EBUILD eclean-kernel-9999.ebuild 663 BLAKE2B c4bfcf96ebc76a3faccd91899e34d27c9c23aaba636a6364642e44d8d83fa9e85a16989033e03b34f2f53db5efac6b22f2cc383b1230433540047668434e3ba1 SHA512 e119b4cad61db0a05b73d6f460566d896874f0cde341d2aa25f4790c5a6a691268b5e11c17de5077a273244a3f0e820cd96b2042998de95883067f5c16c903b1
|
||||
EBUILD eclean-kernel-2.99.8.ebuild 722 BLAKE2B d9b28b19c573c7153c5d92196516c4e058cc2d06c608737e773cd05d502ef830bfd125668e6dbad2323b62742861c88aa9a8939ba093396a659197c8e0b2982c SHA512 3e349c51b3c0752374116ec8e06d7bbe6f7928826f425f5f824008e2c983800e1a2628bb978aa21d0a6be5d5adb1812097b84d2f01188a48f6dd73ecea4c5558
|
||||
EBUILD eclean-kernel-9999.ebuild 735 BLAKE2B afa45010d60b2f8206f06832b0db264efc8774e4b129d24a65f4d260d94dd90a4c3399cfd53b1203eaeb4d09f64d964306d360e2e8b3ce5f96b9e635bceb4b86 SHA512 2f2d1f0d0f00b5df4e8f7286ee8b35408fa92a8129be07e786afc3517dd098ac82374ca5c3eb889f2a6fb573233db591d60ccad14abdcfd55ffd9e000086d099
|
||||
MISC metadata.xml 671 BLAKE2B 326b6aed5217dab530d48eb8fd9fd9891ebdcc7dc523c44832c6319a54817f5c4ede703a648b3bef5643500b89d32fbafea2cd051aa6677ec824e287f76d1eb3 SHA512 6d60c4c9943a7545630577a1d48193024265d4117c89687d952aed5d4391558cc8d1c73183da9cf12963f051b9e0342e5a5710a9e947737f08c14a991efd0851
|
||||
|
@ -0,0 +1,30 @@
|
||||
# Copyright 1999-2024 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
DISTUTILS_USE_PEP517=flit
|
||||
PYTHON_COMPAT=( python3_{10..12} )
|
||||
|
||||
inherit distutils-r1 pypi
|
||||
|
||||
DESCRIPTION="Remove outdated built kernels"
|
||||
HOMEPAGE="
|
||||
https://github.com/projg2/eclean-kernel/
|
||||
https://pypi.org/project/eclean-kernel/
|
||||
"
|
||||
|
||||
LICENSE="GPL-2+"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~riscv ~x86"
|
||||
IUSE="lz4 lzo zstd"
|
||||
|
||||
RDEPEND="
|
||||
dev-python/distro[${PYTHON_USEDEP}]
|
||||
kernel_linux? ( dev-python/pymountboot[${PYTHON_USEDEP}] )
|
||||
lz4? ( dev-python/lz4[${PYTHON_USEDEP}] )
|
||||
lzo? ( dev-python/python-lzo[${PYTHON_USEDEP}] )
|
||||
zstd? ( dev-python/zstandard[${PYTHON_USEDEP}] )
|
||||
"
|
||||
|
||||
distutils_enable_tests pytest
|
@ -1,7 +1,7 @@
|
||||
AUX keepassxc-2.7.4-tests.patch 402 BLAKE2B d1d88059d70e8c43f51bdd94ba17222a919059efadc68712e4f6b8e72885f3088ed96793c8ad26f53000e76414b13b9ebcd52ea447b17e7822ce7d3245f30414 SHA512 e401e341c34a117395cb5852f561770a1f65904e6f649cdd2904a89f7b068c53f46e8509d2e4cafc3c213e2326a01838f719d360fde21d63f29962969f3d16ef
|
||||
DIST keepassxc-2.7.6-src.tar.xz 8474624 BLAKE2B 2ecdd387a7bc70aeeaef6eeabdfeed6aaf1d779056580375c011aa71d62459d38258617a4cb46fc3b215a2b6e1e3326cc8c62b228bee0be674923399421b0cbe SHA512 58bdf731e1ce15e4a9db5aae27b7740372c4b28e2998b9acf2d1be6ee5b4eead37149ddd3de039d1cb70d34f11b09f43969d36ce4241b3fe3af4adf53d8ba812
|
||||
DIST keepassxc-2.7.7-src.tar.xz 9734460 BLAKE2B d94c42334bbfde46f14f4b14612f4297c500da76ba8a82de26c4a450ee1cacb9a15517a84ef445441651dc33a71f9ca7bca63bb04d0a4e8eeb0380eded6e5477 SHA512 fd82e377bf6e57623c65f2bdd463ea59c6465fbe009552e1030ce0fe9d9177fc448b7b36a90a0da9ed2a2ed161c017d13cef618ae785f89110c038e1d9396926
|
||||
EBUILD keepassxc-2.7.6.ebuild 2445 BLAKE2B f9c77b86135647269ba4e811fb9c1bc8099c569bd7aa4fcef000646844bc8e16e07849448d1a7b40b2e1210018c6aac10ebca862eca8607cea290e7dfb69938d SHA512 d463f50715d1c40b3422ca15e3ec7a5b6865caf332a6c4b5f28af3f6e96625cd32d35c7055e275a5b7a8c14cfc8d77dffda75e2f738368a9525e9b461487a896
|
||||
DIST keepassxc-2.7.8-src.tar.xz 9764860 BLAKE2B edc5af2b7bd6173f8df4fa20fca54e78c40610d29b02ac9f9920382b8ead3ea293e22e578c353ffc1a374a23f1117a2595570d1de7053a1d36bcb40ed8eceb04 SHA512 c4767ced36d45855b83569d0fcbcfd384ef51d204dd703b006508d55cd7ac94ac36b5476f122fbe1dc6ec301a785e026722e8f0f961d5e339e10997a3871741a
|
||||
EBUILD keepassxc-2.7.7-r2.ebuild 2475 BLAKE2B 16d23dc524610072a785e868b4c732b81d106eebbe72731f3ecaec8aafe2858e2d36e2fec4c86dc62c3b8abf6ce2e1ad1ea5ba392d6335150968b6989f6b9768 SHA512 c72d9249a3a33e45f97600185e90d3bf95a46e5472bf441c4ce5a7e4bff21210bd2a6e1942ae8d89367b39f5d44d95dde984077f1d671f076bfb1d8cde236e4f
|
||||
EBUILD keepassxc-9999.ebuild 2378 BLAKE2B e55dea5e89824e32b3413a17e10db58f1efc5ad98069f0843f32223f1d8201f5f597f02b2b9fa0f60d23daed0bb32ef48b3782ce1f313d212548927ec325fe09 SHA512 0f697b681b485b4db0f12ccf304c63fef3eaf97abab1ae64d7a8404c717b60f367587e0325de316560d38b2c8832847a7569d0aee265c88d76dfccafe556fd19
|
||||
EBUILD keepassxc-2.7.8.ebuild 2460 BLAKE2B be9ae94e8b24fb5a174760ddb98a9183f20a9239f8ce003016093b7734c7e98573c66a080c4fd250211af67d42e99faeb87619716255c5944a00b8b8718dbd52 SHA512 6afe18fe78f6e8fdc1b994a27fa16422624b2a2547e723ccd5dc542813aad253fd4fc9bb073bc5a47ac5c2bbc70d270e77ebc9f3e6354cb4d45497b09ca4039a
|
||||
EBUILD keepassxc-9999.ebuild 2460 BLAKE2B be9ae94e8b24fb5a174760ddb98a9183f20a9239f8ce003016093b7734c7e98573c66a080c4fd250211af67d42e99faeb87619716255c5944a00b8b8718dbd52 SHA512 6afe18fe78f6e8fdc1b994a27fa16422624b2a2547e723ccd5dc542813aad253fd4fc9bb073bc5a47ac5c2bbc70d270e77ebc9f3e6354cb4d45497b09ca4039a
|
||||
MISC metadata.xml 1077 BLAKE2B 410793b2f278ccbddceb10a72e4a010f4b2d6fc81bd8a472b867e1230d43a0e6f461ff6459095d334536d462e2297c4978dbb247e3a5ccb82c36fd70c6f44b51 SHA512 d338787a7ea319d752c19314ee53ee1306293ae2dddeedd22bd010e990a1680fdd1b96c5173c653b4dbbe336d713a07f9fc1a771951fca8636b3973361787f20
|
||||
|
@ -1,5 +1,3 @@
|
||||
DIST qtpass-1.3.2.tar.gz 310316 BLAKE2B ac0f562fd263e9d46980a69183cfd556596750e1050dbc50748cd9be45bc4bf39e4de14cb59f778cfc54f5c32050d567d88d65ec039cba1e9c2e8ef24d7ae99a SHA512 9026f74f6ff75fcef2f6a0862484a2a1eaed1370edd0659e8b4d20039affe846e0da3a0a26a804563813bc678638ab67fa516441208e70c7e9de9b2eda876a10
|
||||
DIST qtpass-1.4.0.tar.gz 581368 BLAKE2B 12bf414ea781bad34d97fe28ae39f44e17812039f0d798162b6d875918f20a1583f7a53a1e98ed917edf41c15709c7693c7651205c5e4ec85860ee773350f075 SHA512 47c1284c10e0d8a3bf63c049fc29d785d1a53bef6f183bbe22efebf466371dd454a6e43c944739f487d609f3cde188701ba538e9cb8e2c7e5530f8fa6f992625
|
||||
EBUILD qtpass-1.3.2-r2.ebuild 1293 BLAKE2B cd74118869e7459731bb89900b6174fbbb7ae51b873c2b0fd42502b2db6ececd80d773fe1c88be9ad39d524ce38b383134f45f9d2a50ea690874b6d9adf16d8c SHA512 8d5338b8df5495c42b67ecc98076fe68395e5d00048fd444ca9e6a300b7ffe3c221be5c0bae968f156ee4c29c2e9c8af230fca076f2e5c51a35491e4ffc6ec1a
|
||||
EBUILD qtpass-1.4.0.ebuild 1286 BLAKE2B 09bb22e6563011d514c6714c567c2480e5c5e4ab797c449ea3931e614a498c206f5263804a7f926d49d672fcda5ef255c90ef7f379273d9e1902b1d7384fa5b5 SHA512 3dda3b75abc10177855ba6a80da3a8557e95bdd20398ad2b7caf696ab5f7a271a781e47944ff9f1db9e3ff22db7ad122fba8f8d2d7659896ba103a14bfcabcad
|
||||
MISC metadata.xml 485 BLAKE2B 526a8203c5a8601f6bdae7fcc71fb26a6def402406493ebf95869624f8cea44a09fe2c23a041adebcd1bc5bc4ac9c64b2c33725b7d6d24bbf4f415926468a0ce SHA512 bc1c8273227625672ebfce619956a342dc3c74d412a16383c035e88b289a8dad9383ab00c9c5bd4f368dd8fefdad025b0d4f7c209b84251b0e26e16ef4149eef
|
||||
|
@ -1,63 +0,0 @@
|
||||
# Copyright 1999-2021 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
inherit desktop qmake-utils virtualx
|
||||
|
||||
DESCRIPTION="Multi-platform GUI for pass, the standard unix password manager"
|
||||
HOMEPAGE="https://qtpass.org https://github.com/IJHack/qtpass"
|
||||
SRC_URI="https://github.com/IJHack/qtpass/archive/v${PV}.tar.gz -> ${P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-3"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~ppc64 ~x86"
|
||||
IUSE="test"
|
||||
|
||||
RDEPEND="|| ( app-admin/pass app-admin/gopass )
|
||||
dev-qt/qtcore:5
|
||||
dev-qt/qtgui:5
|
||||
dev-qt/qtnetwork:5
|
||||
dev-qt/qtwidgets:5
|
||||
net-misc/x11-ssh-askpass"
|
||||
DEPEND="${RDEPEND}
|
||||
dev-qt/qtsvg:5
|
||||
test? ( dev-qt/qttest:5 )"
|
||||
BDEPEND="dev-qt/linguist-tools:5"
|
||||
|
||||
RESTRICT="!test? ( test )"
|
||||
|
||||
S="${WORKDIR}/QtPass-${PV}"
|
||||
|
||||
DOCS=( {CHANGELOG,CONTRIBUTING,FAQ,README}.md )
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
|
||||
if ! use test ; then
|
||||
sed -i '/SUBDIRS += src /s/tests //' \
|
||||
qtpass.pro || die "sed for qtpass.pro failed"
|
||||
fi
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
eqmake5 PREFIX="${EPREFIX}"/usr
|
||||
}
|
||||
|
||||
src_test() {
|
||||
virtx default
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake INSTALL_ROOT="${D}" install
|
||||
einstalldocs
|
||||
|
||||
insinto /usr/share/qtpass/translations
|
||||
doins localization/*.qm
|
||||
|
||||
doman qtpass.1
|
||||
domenu qtpass.desktop
|
||||
newicon artwork/icon.png qtpass-icon.png
|
||||
insinto /usr/share/metainfo
|
||||
doins qtpass.appdata.xml
|
||||
}
|
@ -1,8 +1,7 @@
|
||||
AUX setools-4.4.1-cython3.patch 1853 BLAKE2B 7a7d5ae303d135cf69be3dfac99cace7afdb345835338f47570629c0cb31be8878abe042e010a18d73313b71035b7b2c77a9b57921a4a5600f1fd1c41a141ad1 SHA512 4892b69a14e0f45c89c397f1840af88b79903ccf50aa7e51c4d6dda9be0a2572e21de40f5f44071ab2a61cf0bba9bc8f5a0a8fba9e84c013db4812bab5257df3
|
||||
AUX setools-4.4.2-remove-gui.patch 1131 BLAKE2B 54f1258b4b8318f02fd8ef14c4377eacb42254a406b4b9f339b94b0958da352bda028b4b49871ebcdaf1dfc4e37e51f5a0dd346c288270c149d828981c2b5413 SHA512 a827c435072f4a35c165a2492f18c4689144f352ff8fa84ca840dd4b31c59dbd4d4e7c249ad54fb60616e00daad5bc245604041c710141650f80cba01c9cecb0
|
||||
DIST setools-4.4.2.tar.bz2 261962 BLAKE2B 7c8e47d8c15f1eb72d93da5d3ae1a64e857ed0a75e1a47bbad9e4b0d11180581d9e4705ebe942e460acbc4d68261f06f9b03a8c4af1516cc388c201e30dca75e SHA512 4e8cba61ca28459387d862136a2d8ee0914c4bcd254a6d39792cbfcbbf7e58cb82223c05d66c114b08aebbd75c11cef11517c51f674ddb3c1913dc85414546c1
|
||||
DIST setools-4.4.4.tar.bz2 262867 BLAKE2B d64605ef050a2d51531e2a180bff086da536aa8d5e5c8cb96a81e137f575d089f9e9ec117cf0de9864f07174d92258b27ebf8fbc462714ef50bbd6d9f80d0a60 SHA512 ef72a7244ba0c724c4aea3afc40d71427e9c0592715f81cccaa8917e96836a88807ea78039c11c261dd3b4d72294accd76ab4bd37447cd500772030245db3c6e
|
||||
EBUILD setools-4.4.2.ebuild 1408 BLAKE2B 14733f327fc1e9c6d7b9c351b4575b7965a8d4d64d3852ba013b6c3b78a62f017bb90c3153c6d3460961f6ba93444f323bf78d5ef70d3adcea78ec648683d22d SHA512 8820db660d9ebda0aaa7290c4ce65768c9635237433e9a2741a0f21e0f5598960903442b39fb064d3e13783c840601973df33f86e95591228d8f32591e75cb17
|
||||
DIST setools-4.5.1.tar.bz2 264998 BLAKE2B 479cec6f541c1e7125d641928ba49aee949e538612a478840cec2d70106dcf9f7fa5b8049c9d18c560587670ee624a3a744714667d52b99cff24c51e72026db7 SHA512 1045c223423fcb056ffbc2f93c4dc0ccc6ae078ce7d2acbe3a3c65de19440fe801b5b9f71038cde62bf9851f52d868c845aafbe33691ee531cf9854217e061d8
|
||||
EBUILD setools-4.4.4.ebuild 1353 BLAKE2B f6ab12efe9ed72b253047de2a38e795322b72bc0160782f04ffe3328e88c165dbc7f9872bbf14d66d99e0f049753574121bc0e3b958d6dc25bb2bf8d62a507cc SHA512 cc36f9315669717377a726e5316dc6634c96a14171ae0d11490584dff21909ff1623ef2c40b20c501e80d83dd86976438b559be4f73649cf8f2b410530a56777
|
||||
EBUILD setools-9999.ebuild 1357 BLAKE2B be1932f3ab1dd22f2d3c975dea89ff9c9c0fa1911a5feda38f11572856330c8524aaa61af6d62629e09ad75862c3160e38185bb8c18cfbe04c6854efa5c81029 SHA512 eef76a7acb9aa83341eb06e79e1193488482e7bd8ba443e784f989742e1ef57331f0a7c1f9e79342129371ca1c48972167f3ea7ebdb7a37c1e9fb399ffb8530e
|
||||
EBUILD setools-4.5.1.ebuild 1392 BLAKE2B 88e56eb9a937c589d1d9c06ec5f247e0f1faee8745e4558f1baed9e0545cbe45313aa32bfdeeb42d3854b3bbaa3d1dbd0931f4e055bfc1cf013007260074501d SHA512 ccc35d94e7fbf9fd3e41670a50f61d121d6962053259065a998bdceb59b31b7d70b245eef02e55585960d74dd353b77b40e083e9da24cedc5f120dc371a758b5
|
||||
EBUILD setools-9999.ebuild 1402 BLAKE2B 8d4236b8b740bd557d520a49c6768e33b3704eb5fe5a6f09daed7dc06754a3bd5eb1d1062310961cc32c75188d791abef235a5e1791c066de8ce6295e30243be SHA512 e6fcc753f7a1005727c82c256afaf543203040f5ef1e77d6a2bf1ffa9da5e0560801e85b86f24f4cd7b48ca57a394cb28687546ff06556c9a7d282b569022852
|
||||
MISC metadata.xml 335 BLAKE2B 81a7604472415bdf249d90f69e80a7a7c66f23597cba3005fc1fc825012ffdeb29bcb3f8f8b028ee35e0a076fe4863c25d79077718b28d5f658e68df2a703c5b SHA512 9115e12f13e78b8f63ec90a2ed71c5c731781415a77c2fd06bba358240261bf83183f14f2d38e5e9ffcafaee56de4df224b517afceb536d8e1e6af6f1eaa0938
|
||||
|
@ -1,43 +0,0 @@
|
||||
https://bugs.gentoo.org/898664
|
||||
https://github.com/SELinuxProject/setools/pull/105/commits/fc443b5a0379f3644e071a458e996ea6115ccba3
|
||||
(cherry-picked from https://github.com/SELinuxProject/setools/commit/31e104c3a9ca97038e09d3a4549fe2b8c8df36e8)
|
||||
|
||||
From fc443b5a0379f3644e071a458e996ea6115ccba3 Mon Sep 17 00:00:00 2001
|
||||
From: Chris PeBenito <chpebeni@linux.microsoft.com>
|
||||
Date: Mon, 17 Jul 2023 16:08:21 -0400
|
||||
Subject: [PATCH] SELinuxPolicy: Add explicit cast for libspol message
|
||||
callback.
|
||||
|
||||
Cython 3.0 is more strict. The change fixes this issue:
|
||||
|
||||
setools/policyrep/selinuxpolicy.pxi:685:46: Cannot assign type 'void (void *, sepol_handle_t *, const char *, ...) except *' to 'msg_callback'
|
||||
|
||||
Additionally, the msg_callback is not typedef-ed in sepol/debug.h, so it must
|
||||
be explicitly defined in sepol.pxd for the casting to work.
|
||||
|
||||
Signed-off-by: Chris PeBenito <chpebeni@linux.microsoft.com>
|
||||
--- a/setools/policyrep/selinuxpolicy.pxi
|
||||
+++ b/setools/policyrep/selinuxpolicy.pxi
|
||||
@@ -668,7 +668,7 @@ cdef class SELinuxPolicy:
|
||||
if self.sh == NULL:
|
||||
raise MemoryError
|
||||
|
||||
- sepol.sepol_msg_set_callback(self.sh, sepol_logging_callback, self.handle)
|
||||
+ sepol.sepol_msg_set_callback(self.sh, <sepol.msg_callback>sepol_logging_callback, self.handle)
|
||||
|
||||
if sepol.sepol_policydb_create(&self.handle) < 0:
|
||||
raise MemoryError
|
||||
--- a/setools/policyrep/sepol.pxd
|
||||
+++ b/setools/policyrep/sepol.pxd
|
||||
@@ -16,8 +16,10 @@ cdef extern from "<sepol/handle.h>":
|
||||
void sepol_handle_destroy(sepol_handle_t *sh)
|
||||
|
||||
|
||||
+ctypedef void (*msg_callback)(void *varg, sepol_handle_t *handle, const char *fmt, ...)
|
||||
+
|
||||
+
|
||||
cdef extern from "<sepol/debug.h>":
|
||||
- ctypedef void (*msg_callback)(void *varg, sepol_handle_t *handle, const char *fmt, ...)
|
||||
void sepol_msg_set_callback(sepol_handle * handle, msg_callback cb, void *cb_arg)
|
||||
|
||||
|
Binary file not shown.
@ -0,0 +1,449 @@
|
||||
# Copyright 1999-2024 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
inherit desktop libtool qmake-utils systemd
|
||||
|
||||
MY_PV=${PV/_beta/-b}
|
||||
MY_P=${PN}-${MY_PV}
|
||||
|
||||
DESCRIPTION="Featureful client/server network backup suite"
|
||||
HOMEPAGE="https://www.bacula.org/"
|
||||
SRC_URI="https://downloads.sourceforge.net/bacula/${MY_P}.tar.gz"
|
||||
|
||||
S=${WORKDIR}/${MY_P}
|
||||
|
||||
LICENSE="AGPL-3"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~ppc ~sparc ~x86"
|
||||
IUSE="acl bacula-clientonly bacula-nodir bacula-nosd +batch-insert examples ipv6 logwatch mysql postgres qt5 readline selinux +sqlite ssl static tcpd vim-syntax X"
|
||||
|
||||
DEPEND="
|
||||
!bacula-clientonly? (
|
||||
!bacula-nodir? ( virtual/mta )
|
||||
postgres? ( dev-db/postgresql:=[threads(+)] )
|
||||
mysql? ( || ( dev-db/mysql-connector-c dev-db/mariadb-connector-c ) )
|
||||
sqlite? ( dev-db/sqlite:3 )
|
||||
)
|
||||
dev-libs/gmp:0
|
||||
qt5? (
|
||||
dev-qt/qtcore:5
|
||||
dev-qt/qtgui:5
|
||||
dev-qt/qtwidgets:5
|
||||
dev-qt/qtsvg:5
|
||||
x11-libs/qwt:6
|
||||
)
|
||||
logwatch? ( sys-apps/logwatch )
|
||||
readline? ( sys-libs/readline:0 )
|
||||
static? (
|
||||
dev-libs/lzo[static-libs]
|
||||
sys-libs/ncurses:=[static-libs]
|
||||
sys-libs/zlib[static-libs]
|
||||
acl? ( virtual/acl[static-libs(+)] )
|
||||
ssl? (
|
||||
dev-libs/openssl:0=[static-libs]
|
||||
)
|
||||
)
|
||||
!static? (
|
||||
dev-libs/lzo
|
||||
sys-libs/ncurses:=
|
||||
sys-libs/zlib
|
||||
acl? ( virtual/acl )
|
||||
ssl? (
|
||||
dev-libs/openssl:0=
|
||||
)
|
||||
)
|
||||
tcpd? ( >=sys-apps/tcp-wrappers-7.6 )
|
||||
dev-util/patchelf
|
||||
"
|
||||
RDEPEND="${DEPEND}
|
||||
acct-user/bacula
|
||||
acct-group/bacula
|
||||
!bacula-clientonly? (
|
||||
!bacula-nosd? (
|
||||
app-arch/mt-st
|
||||
sys-block/mtx
|
||||
)
|
||||
)
|
||||
selinux? ( sec-policy/selinux-bacula )
|
||||
vim-syntax? ( || ( app-editors/vim app-editors/gvim ) )
|
||||
"
|
||||
|
||||
REQUIRED_USE="
|
||||
!bacula-clientonly? ( ^^ ( mysql postgres sqlite ) )
|
||||
static? ( bacula-clientonly )
|
||||
"
|
||||
|
||||
# suppress warning wrt 'implicit function declaration' in config logs
|
||||
# bug 900663
|
||||
QA_CONFIG_IMPL_DECL_SKIP=(
|
||||
makedev # designed to check availability in
|
||||
# used header file
|
||||
)
|
||||
|
||||
pkg_setup() {
|
||||
#XOR and !bacula-clientonly controlled by REQUIRED_USE
|
||||
use mysql && export mydbtype="mysql"
|
||||
use postgres && export mydbtype="postgresql"
|
||||
use sqlite && export mydbtype="sqlite3"
|
||||
|
||||
if use bacula-clientonly && use static && use qt5; then
|
||||
ewarn
|
||||
ewarn "Building statically linked 'bat' is not supported. Ignorig 'qt5' useflag."
|
||||
ewarn
|
||||
fi
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
# adjusts default configuration files for several binaries
|
||||
# to /etc/bacula/<config> instead of ./<config>
|
||||
pushd src >&/dev/null || die
|
||||
for f in console/console.c dird/dird.c filed/filed.c \
|
||||
stored/bcopy.c stored/bextract.c stored/bls.c \
|
||||
stored/bscan.c stored/btape.c stored/stored.c \
|
||||
qt-console/main.cpp; do
|
||||
sed -i -e 's|^\(#define CONFIG_FILE "\)|\1/etc/bacula/|g' "${f}" \
|
||||
|| die "sed on ${f} failed"
|
||||
done
|
||||
popd >&/dev/null || die
|
||||
|
||||
# bug 466688 drop deprecated categories from Desktop file
|
||||
sed -i -e 's/Application;//' scripts/bat.desktop.in || die
|
||||
|
||||
# bug 466690 Use CXXFLAGS instead of CFLAGS
|
||||
sed -i -e 's/@CFLAGS@/@CXXFLAGS@/' autoconf/Make.common.in || die
|
||||
|
||||
# drop automatic install of unneeded documentation (for bug 356499)
|
||||
eapply -p0 "${FILESDIR}"/7.2.0/${PN}-7.2.0-doc.patch
|
||||
|
||||
# bug #310087
|
||||
eapply "${FILESDIR}"/5.2.3/${PN}-5.2.3-as-needed.patch
|
||||
|
||||
# bug #311161
|
||||
eapply -p0 "${FILESDIR}"/9.0.2/${PN}-9.0.2-lib-search-path.patch
|
||||
|
||||
# bat needs to respect LDFLAGS and CFLAGS
|
||||
eapply -p0 "${FILESDIR}"/9.0.6/${PN}-9.0.6-bat-pro.patch
|
||||
|
||||
# tray-monitor needs to respect LDFLAGS and CFLAGS
|
||||
eapply -p0 "${FILESDIR}"/tray-monitor-pro.patch
|
||||
|
||||
# bug #328701
|
||||
eapply -p0 "${FILESDIR}"/5.2.3/${PN}-5.2.3-openssl-1.patch
|
||||
|
||||
eapply -p0 "${FILESDIR}"/${PN}-15.0.2-fix-static.patch
|
||||
|
||||
# fix soname in libbaccat.so, see bugs #602952, #790140 and #845126
|
||||
eapply "${FILESDIR}/bacula-fix-sonames-new.patch"
|
||||
|
||||
# correct library search path for slibtool usage (bug #914389)
|
||||
eapply -p0 "${FILESDIR}/${PN}-15.0.2-fix_slibtool.patch"
|
||||
|
||||
# do not strip binaries
|
||||
sed -i -e "s/strip /# strip /" src/filed/Makefile.in || die
|
||||
sed -i -e "s/strip /# strip /" src/console/Makefile.in || die
|
||||
sed -i -e "s/+= qt$/+= qt nostrip/" \
|
||||
src/qt-console/tray-monitor/tray-monitor.pro.in || die
|
||||
|
||||
eapply_user
|
||||
|
||||
# Fix systemd unit files:
|
||||
# bug 497748
|
||||
sed -i -e '/Requires/d' platforms/systemd/*.service.in || die
|
||||
sed -i -e '/StandardOutput/d' platforms/systemd/*.service.in || die
|
||||
# bug 504370
|
||||
sed -i -e '/Alias=bacula-dir/d' platforms/systemd/bacula-dir.service.in || die
|
||||
# bug 584442 and 504368
|
||||
sed -i -e 's/@dir_user@/root/g' platforms/systemd/bacula-dir.service.in || die
|
||||
|
||||
# build 'bat' for Qt5
|
||||
export QMAKE="$(qt5_get_bindir)"/qmake
|
||||
|
||||
# adapt to >=Qt-5.9 (see bug #644566)
|
||||
# qmake needs an existing target file to generate install instructions
|
||||
sed -i -e 's#bins.files = bat#bins.files = .libs/bat#g' \
|
||||
src/qt-console/bat.pro.in || die
|
||||
mkdir src/qt-console/.libs || die
|
||||
touch src/qt-console/.libs/bat || die
|
||||
chmod 755 src/qt-console/.libs/bat || die
|
||||
|
||||
# same for tray-monitor (bug #915605)
|
||||
sed -i -e 's#bins.files = bac#bins.files = .libs/bac#g' \
|
||||
src/qt-console/tray-monitor/tray-monitor.pro.in || die
|
||||
mkdir src/qt-console/tray-monitor/.libs || die
|
||||
touch src/qt-console/tray-monitor/.libs/bacula-tray-monitor || die
|
||||
chmod 755 src/qt-console/tray-monitor/.libs/bacula-tray-monitor || die
|
||||
|
||||
eapply -p0 "${FILESDIR}/fix_tray_monitor.patch" || die
|
||||
|
||||
# Don't let program install man pages directly
|
||||
sed -i -e 's/ manpages//' Makefile.in || die
|
||||
|
||||
# correct installation for plugins to mode 0755 (bug #725946)
|
||||
sed -i -e "s/(INSTALL_PROGRAM) /(INSTALL_LIB) /" src/plugins/fd/Makefile ||die
|
||||
sed -i -e "s/(INSTALL_PROGRAM) /(INSTALL_LIB) /" src/plugins/fd/docker/Makefile ||die
|
||||
|
||||
# fix bundled libtool (bug 466696)
|
||||
# But first move directory with M4 macros out of the way.
|
||||
# It is only needed by autoconf and gives errors during elibtoolize.
|
||||
mv autoconf/libtool autoconf/libtool1 || die
|
||||
elibtoolize
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
local myconf=''
|
||||
|
||||
if use bacula-clientonly; then
|
||||
myconf="${myconf} \
|
||||
$(use_enable bacula-clientonly client-only) \
|
||||
$(use_enable !static libtool) \
|
||||
$(use_enable static static-cons) \
|
||||
$(use_enable static static-fd)"
|
||||
else
|
||||
myconf="${myconf} \
|
||||
$(use_enable !bacula-nodir build-dird) \
|
||||
$(use_enable !bacula-nosd build-stored)"
|
||||
# bug #311099
|
||||
# database support needed by dir-only *and* sd-only
|
||||
# build as well (for building bscan, btape, etc.)
|
||||
myconf="${myconf}
|
||||
--with-${mydbtype}"
|
||||
fi
|
||||
|
||||
# do not build bat if 'static' clientonly
|
||||
if ! use bacula-clientonly || ! use static; then
|
||||
myconf="${myconf} \
|
||||
$(use_enable qt5 bat)"
|
||||
fi
|
||||
|
||||
myconf="${myconf} \
|
||||
$(use_with X x) \
|
||||
$(use_enable batch-insert) \
|
||||
$(use_enable !readline conio) \
|
||||
$(use_enable readline) \
|
||||
$(use_with ssl openssl) \
|
||||
$(use_enable ipv6) \
|
||||
$(use_enable acl) \
|
||||
$(use_with tcpd tcp-wrappers)"
|
||||
|
||||
econf \
|
||||
--with-pid-dir=/var/run \
|
||||
--sysconfdir=/etc/bacula \
|
||||
--with-archivedir=/var/lib/bacula/tmp \
|
||||
--with-subsys-dir=/var/lock/subsys \
|
||||
--with-working-dir=/var/lib/bacula \
|
||||
--with-logdir=/var/lib/bacula \
|
||||
--with-scriptdir=/usr/libexec/bacula \
|
||||
--with-systemd=$(systemd_get_systemunitdir) \
|
||||
--with-dir-user=bacula \
|
||||
--with-dir-group=bacula \
|
||||
--with-sd-user=root \
|
||||
--with-sd-group=bacula \
|
||||
--with-fd-user=root \
|
||||
--with-fd-group=bacula \
|
||||
--enable-smartalloc \
|
||||
--disable-afs \
|
||||
--without-s3 \
|
||||
--host=${CHOST} \
|
||||
${myconf}
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
# Make build log verbose (bug #447806)
|
||||
emake NO_ECHO=""
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake DESTDIR="${D}" install
|
||||
doicon scripts/bacula.png
|
||||
keepdir /var/lib/bacula/tmp
|
||||
|
||||
# remove not needed .la files #840957
|
||||
find "${ED}" -name '*.la' -delete || die
|
||||
|
||||
# install bat icon and desktop file when enabled
|
||||
# (for some reason ./configure doesn't pick this up)
|
||||
if use qt5 && ! use static ; then
|
||||
doicon src/qt-console/images/bat_icon.png
|
||||
domenu scripts/bat.desktop
|
||||
fi
|
||||
|
||||
# remove some scripts we don't need at all
|
||||
rm -f "${D}"/usr/libexec/bacula/{bacula,bacula-ctl-dir,bacula-ctl-fd,bacula-ctl-sd,startmysql,stopmysql}
|
||||
|
||||
# rename statically linked apps
|
||||
if use bacula-clientonly && use static ; then
|
||||
pushd "${D}"/usr/sbin || die
|
||||
mv static-bacula-fd bacula-fd || die
|
||||
mv static-bconsole bconsole || die
|
||||
popd || die
|
||||
fi
|
||||
|
||||
# extra files which 'make install' doesn't cover
|
||||
if ! use bacula-clientonly; then
|
||||
# the database update scripts
|
||||
diropts -m0750
|
||||
insinto /usr/libexec/bacula/updatedb
|
||||
insopts -m0754
|
||||
doins "${S}"/updatedb/*
|
||||
fperms 0640 /usr/libexec/bacula/updatedb/README
|
||||
|
||||
# the logrotate configuration
|
||||
# (now unconditional wrt bug #258187)
|
||||
diropts -m0755
|
||||
insinto /etc/logrotate.d
|
||||
insopts -m0644
|
||||
newins "${S}"/scripts/logrotate bacula
|
||||
|
||||
# the logwatch scripts
|
||||
if use logwatch; then
|
||||
diropts -m0750
|
||||
dodir /usr/share/logwatch/scripts/services
|
||||
dodir /usr/share/logwatch/scripts/shared
|
||||
dodir /etc/logwatch/conf/logfiles
|
||||
dodir /etc/logwatch/conf/services
|
||||
pushd "${S}"/scripts/logwatch >&/dev/null || die
|
||||
emake DESTDIR="${D}" install
|
||||
popd >&/dev/null || die
|
||||
fi
|
||||
fi
|
||||
|
||||
# Install all man pages
|
||||
doman "${S}"/manpages/*.[18]
|
||||
|
||||
if ! use qt5; then
|
||||
rm -vf "${D}"/usr/share/man/man1/bat.1*
|
||||
rm -vf "${D}"/usr/share/man/man1/bacula-tray-monitor.1*
|
||||
fi
|
||||
|
||||
if use bacula-clientonly || use bacula-nodir ; then
|
||||
rm -vf "${D}"/usr/libexec/bacula/create_*_database
|
||||
rm -vf "${D}"/usr/libexec/bacula/drop_*_database
|
||||
rm -vf "${D}"/usr/libexec/bacula/make_*_tables
|
||||
rm -vf "${D}"/usr/libexec/bacula/update_*_tables
|
||||
rm -vf "${D}"/usr/libexec/bacula/drop_*_tables
|
||||
rm -vf "${D}"/usr/libexec/bacula/grant_*_privileges
|
||||
rm -vf "${D}"/usr/libexec/bacula/*_catalog_backup
|
||||
fi
|
||||
if use bacula-clientonly || use bacula-nosd; then
|
||||
rm -vf "${D}"/usr/libexec/bacula/disk-changer
|
||||
rm -vf "${D}"/usr/libexec/bacula/mtx-changer
|
||||
rm -vf "${D}"/usr/libexec/bacula/dvd-handler
|
||||
fi
|
||||
|
||||
# documentation
|
||||
dodoc ChangeLog ReleaseNotes SUPPORT
|
||||
|
||||
# install examples (bug #457504)
|
||||
if use examples; then
|
||||
docinto examples/
|
||||
dodoc -r examples/*
|
||||
fi
|
||||
|
||||
# vim-files
|
||||
if use vim-syntax; then
|
||||
insinto /usr/share/vim/vimfiles/syntax
|
||||
doins scripts/bacula.vim
|
||||
insinto /usr/share/vim/vimfiles/ftdetect
|
||||
newins scripts/filetype.vim bacula_ft.vim
|
||||
fi
|
||||
|
||||
# setup init scripts
|
||||
myscripts="bacula-fd"
|
||||
if ! use bacula-clientonly; then
|
||||
if ! use bacula-nodir; then
|
||||
myscripts="${myscripts} bacula-dir"
|
||||
fi
|
||||
if ! use bacula-nosd; then
|
||||
myscripts="${myscripts} bacula-sd"
|
||||
fi
|
||||
fi
|
||||
for script in ${myscripts}; do
|
||||
# copy over init script and config to a temporary location
|
||||
# so we can modify them as needed
|
||||
cp "${FILESDIR}/${script}".confd "${T}/${script}".confd || die "failed to copy ${script}.confd"
|
||||
cp "${FILESDIR}/newscripts/${script}".initd "${T}/${script}".initd || die "failed to copy ${script}.initd"
|
||||
|
||||
# now set the database dependency for the director init script
|
||||
case "${script}" in
|
||||
bacula-dir)
|
||||
case "${mydbtype}" in
|
||||
sqlite3)
|
||||
# sqlite databases don't have a daemon
|
||||
sed -i -e 's/need "%database%"/:/g' "${T}/${script}".initd || die
|
||||
;;
|
||||
*)
|
||||
# all other databases have daemons
|
||||
sed -i -e "s:%database%:${mydbtype}:" "${T}/${script}".initd || die
|
||||
;;
|
||||
esac
|
||||
;;
|
||||
*)
|
||||
;;
|
||||
esac
|
||||
|
||||
# install init script and config
|
||||
newinitd "${T}/${script}".initd "${script}"
|
||||
newconfd "${T}/${script}".confd "${script}"
|
||||
done
|
||||
|
||||
systemd_dounit "${S}"/platforms/systemd/bacula-{dir,fd,sd}.service
|
||||
|
||||
# make sure the working directory exists
|
||||
diropts -m0750
|
||||
keepdir /var/lib/bacula
|
||||
|
||||
# make sure bacula group can execute bacula libexec scripts
|
||||
fowners -R root:bacula /usr/libexec/bacula
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
if use bacula-clientonly; then
|
||||
fowners root:bacula /var/lib/bacula
|
||||
else
|
||||
fowners bacula:bacula /var/lib/bacula
|
||||
fi
|
||||
|
||||
einfo
|
||||
einfo "A group 'bacula' has been created. Any users you add to this"
|
||||
einfo "group have access to files created by the daemons."
|
||||
einfo
|
||||
einfo "A user 'bacula' has been created. Please see the bacula manual"
|
||||
einfo "for information about running bacula as a non-root user."
|
||||
einfo
|
||||
|
||||
if ! use bacula-clientonly && ! use bacula-nodir; then
|
||||
einfo
|
||||
einfo "If this is a new install, you must create the ${mydbtype} databases with:"
|
||||
einfo " /usr/libexec/bacula/create_${mydbtype}_database"
|
||||
einfo " /usr/libexec/bacula/make_${mydbtype}_tables"
|
||||
einfo " /usr/libexec/bacula/grant_${mydbtype}_privileges"
|
||||
einfo
|
||||
|
||||
ewarn "ATTENTION!"
|
||||
ewarn "The format of the database may have changed."
|
||||
ewarn "If you just upgraded from a version below 9.0.0 you must run"
|
||||
ewarn "'update_bacula_tables' now."
|
||||
ewarn "Make sure to have a backup of your catalog before."
|
||||
ewarn
|
||||
fi
|
||||
|
||||
if use sqlite; then
|
||||
einfo
|
||||
einfo "Be aware that Bacula does not officially support SQLite database anymore."
|
||||
einfo "Best use it only for a client-only installation. See Bug #445540."
|
||||
einfo
|
||||
fi
|
||||
|
||||
einfo "Please note that 'bconsole' will always be installed. To compile 'bat'"
|
||||
einfo "you have to enable 'USE=qt5'."
|
||||
einfo
|
||||
einfo "/var/lib/bacula/tmp was configured for archivedir. This dir will be used during"
|
||||
einfo "restores, so be sure to set it to an appropriate in dir in the bacula config."
|
||||
|
||||
einfo
|
||||
einfo "If you adapt the port numbers for baculas components in the config files"
|
||||
einfo "make sure to adapt the file names for the pidfile accordingly"
|
||||
einfo "(see init.d scripts)."
|
||||
}
|
@ -0,0 +1,63 @@
|
||||
--- src/console/Makefile.in.orig 2017-07-25 19:03:05.664760298 +0200
|
||||
+++ src/console/Makefile.in 2017-07-25 19:05:43.576706091 +0200
|
||||
@@ -24,6 +24,7 @@
|
||||
CONSSRCS = console.c console_conf.c authenticate.c @CONS_SRC@
|
||||
CONSOBJS = console.o console_conf.o authenticate.o @CONS_OBJ@
|
||||
JSONOBJS = bbconsjson.o console_conf.o
|
||||
+ZLIBS=@ZLIBS@
|
||||
|
||||
# these are the objects that are changed by the .configure process
|
||||
EXTRAOBJS = @OBJLIST@
|
||||
@@ -50,18 +51,18 @@
|
||||
|
||||
bconsole: Makefile $(CONSOBJS) ../lib/libbac$(DEFAULT_ARCHIVE_TYPE) ../lib/libbaccfg$(DEFAULT_ARCHIVE_TYPE)
|
||||
$(LIBTOOL_LINK) $(CXX) -L../lib -L../cats $(LDFLAGS) $(CONS_LDFLAGS) -o $@ $(CONSOBJS) \
|
||||
- $(DLIB) $(CONS_LIBS) -lbaccfg -lbac -lm $(LIBS) $(GETTEXT_LIBS) \
|
||||
- $(OPENSSL_LIBS)
|
||||
+ $(DLIB) $(CONS_LIBS) -lbaccfg -lbac -lm $(ZLIBS) $(GETTEXT_LIBS) \
|
||||
+ $(OPENSSL_LIBS) $(LIBS)
|
||||
|
||||
bbconsjson: Makefile $(JSONOBJS) ../lib/libbac$(DEFAULT_ARCHIVE_TYPE) ../lib/libbaccfg$(DEFAULT_ARCHIVE_TYPE)
|
||||
$(LIBTOOL_LINK) $(CXX) -L../lib -L../cats $(LDFLAGS) $(CONS_LDFLAGS) -o $@ $(JSONOBJS) \
|
||||
- $(DLIB) $(CONS_LIBS) -lbaccfg -lbac -lm $(LIBS) $(GETTEXT_LIBS) \
|
||||
- $(OPENSSL_LIBS)
|
||||
+ $(DLIB) $(CONS_LIBS) -lbaccfg -lbac -lm $(ZLIBS) $(GETTEXT_LIBS) \
|
||||
+ $(OPENSSL_LIBS) $(LIBS)
|
||||
|
||||
static-bconsole: Makefile $(CONSOBJS) ../lib/libbac.a ../lib/libbaccfg$(DEFAULT_ARCHIVE_TYPE)
|
||||
$(LIBTOOL_LINK) $(CXX) -static -L../lib -L../cats $(LDFLAGS) $(CONS_LDFLAGS) -o $@ $(CONSOBJS) \
|
||||
- $(DLIB) $(CONS_LIBS) -lbaccfg -lbac -lm $(LIBS) $(GETTEXT_LIBS) \
|
||||
- $(OPENSSL_LIBS)
|
||||
+ $(DLIB) $(CONS_LIBS) -lbaccfg -lbac -lm $(ZLIBS) $(GETTEXT_LIBS) \
|
||||
+ $(OPENSSL_LIBS) $(LIBS)
|
||||
strip $@
|
||||
|
||||
|
||||
--- src/filed/Makefile.in.orig 2017-07-25 19:09:19.655852979 +0200
|
||||
+++ src/filed/Makefile.in 2017-07-25 19:11:39.519558592 +0200
|
||||
@@ -69,19 +69,19 @@
|
||||
bacula-fd: Makefile $(SVROBJS) ../findlib/libbacfind$(DEFAULT_ARCHIVE_TYPE) ../lib/libbaccfg$(DEFAULT_ARCHIVE_TYPE) ../lib/libbac$(DEFAULT_ARCHIVE_TYPE) @WIN32@
|
||||
@echo "Linking $@ ..."
|
||||
$(LIBTOOL_LINK) $(CXX) $(WLDFLAGS) $(LDFLAGS) -L../lib -L../findlib -o $@ $(SVROBJS) \
|
||||
- $(WIN32LIBS) $(FDLIBS) $(ZLIBS) -lbacfind -lbaccfg -lbac -lm $(LIBS) \
|
||||
- $(DLIB) $(WRAPLIBS) $(GETTEXT_LIBS) $(OPENSSL_LIBS) $(CAP_LIBS) $(AFS_LIBS) $(LZO_LIBS) $(ZSTD_LIBS) $(IOKITLIBS)
|
||||
+ $(WIN32LIBS) $(FDLIBS) $(ZLIBS) -lbacfind -lbaccfg -lbac -lm \
|
||||
+ $(DLIB) $(WRAPLIBS) $(GETTEXT_LIBS) $(OPENSSL_LIBS) $(LIBS) $(CAP_LIBS) $(AFS_LIBS) $(LZO_LIBS) $(ZSTD_LIBS) $(IOKITLIBS)
|
||||
|
||||
bfdjson: Makefile $(JSONOBJS) ../findlib/libbacfind$(DEFAULT_ARCHIVE_TYPE) ../lib/libbaccfg$(DEFAULT_ARCHIVE_TYPE) ../lib/libbac$(DEFAULT_ARCHIVE_TYPE) @WIN32@
|
||||
@echo "Linking $@ ..."
|
||||
$(LIBTOOL_LINK) $(CXX) $(WLDFLAGS) $(LDFLAGS) -L../lib -L../findlib -o $@ $(JSONOBJS) \
|
||||
- $(WIN32LIBS) $(FDLIBS) $(ZLIBS) -lbacfind -lbaccfg -lbac -lm $(LIBS) \
|
||||
- $(DLIB) $(WRAPLIBS) $(GETTEXT_LIBS) $(OPENSSL_LIBS) $(CAP_LIBS) $(AFS_LIBS) $(LZO_LIBS) $(ZSTD_LIBS)
|
||||
+ $(WIN32LIBS) $(FDLIBS) $(ZLIBS) -lbacfind -lbaccfg -lbac -lm \
|
||||
+ $(DLIB) $(WRAPLIBS) $(GETTEXT_LIBS) $(OPENSSL_LIBS) $(LIBS) $(CAP_LIBS) $(AFS_LIBS) $(LZO_LIBS) $(ZSTD_LIBS)
|
||||
|
||||
static-bacula-fd: Makefile $(SVROBJS) ../findlib/libbacfind$(DEFAULT_ARCHIVE_TYPE) ../lib/libbaccfg$(DEFAULT_ARCHIVE_TYPE) ../lib/libbac$(DEFAULT_ARCHIVE_TYPE) @WIN32@
|
||||
$(LIBTOOL_LINK) $(CXX) $(WLDFLAGS) $(LDFLAGS) -static -L../lib -L../findlib -o $@ $(SVROBJS) \
|
||||
- $(WIN32LIBS) $(FDLIBS) $(ZLIBS) -lbacfind -lbaccfg -lbac -lm $(LIBS) \
|
||||
- $(DLIB) $(WRAPLIBS) $(GETTEXT_LIBS) $(OPENSSL_LIBS) $(CAP_LIBS) $(AFS_LIBS) $(LZO_LIBS) $(ZSTD_LIBS)
|
||||
+ $(WIN32LIBS) $(FDLIBS) $(ZLIBS) -lbacfind -lbaccfg -lbac -lm \
|
||||
+ $(DLIB) $(WRAPLIBS) $(GETTEXT_LIBS) $(OPENSSL_LIBS) $(LIBS) $(CAP_LIBS) $(AFS_LIBS) $(LZO_LIBS) $(ZSTD_LIBS)
|
||||
strip $@
|
||||
|
||||
Makefile: $(srcdir)/Makefile.in $(topdir)/config.status
|
@ -0,0 +1,67 @@
|
||||
# slibtool creates library in .libs directory but need -L. to find them
|
||||
# Bug #914389
|
||||
--- src/stored/Makefile.in.orig 2023-11-15 14:20:23.135630968 +0100
|
||||
+++ src/stored/Makefile.in 2023-11-15 14:22:35.771246680 +0100
|
||||
@@ -267,7 +267,7 @@
|
||||
-I$(basedir) $(DINCLUDE) $(CFLAGS) $<
|
||||
|
||||
btape: Makefile $(TAPEOBJS) libbacsd.la drivers ../lib/libbac$(DEFAULT_ARCHIVE_TYPE) ../lib/libbaccfg$(DEFAULT_ARCHIVE_TYPE)
|
||||
- $(LIBTOOL_LINK) $(CXX) $(TTOOL_LDFLAGS) $(LDFLAGS) -L../lib -L../findlib -o $@ $(TAPEOBJS) \
|
||||
+ $(LIBTOOL_LINK) $(CXX) $(TTOOL_LDFLAGS) $(LDFLAGS) -L. -L../lib -L../findlib -o $@ $(TAPEOBJS) \
|
||||
$(SD_LIBS) $(DLIB) -lm $(LIBS) $(GETTEXT_LIBS) $(OPENSSL_LIBS)
|
||||
|
||||
|
||||
@@ -277,7 +277,7 @@
|
||||
-I$(basedir) $(DINCLUDE) $(CFLAGS) $<
|
||||
|
||||
cloud_test: Makefile cloud_test.o ../lib/libbac$(DEFAULT_ARCHIVE_TYPE) $(BLSOBJS) libbacsd.la drivers
|
||||
- $(LIBTOOL_LINK) $(CXX) $(TTOOL_LDFLAGS) $(LDFLAGS) -L../lib -L../findlib -o $@ $(CLOUDTESTOBJS) $(DLIB) \
|
||||
+ $(LIBTOOL_LINK) $(CXX) $(TTOOL_LDFLAGS) $(LDFLAGS) -L. -L../lib -L../findlib -o $@ $(CLOUDTESTOBJS) $(DLIB) \
|
||||
$(SD_LIBS) -lm $(LIBS) $(GETTEXT_LIBS) $(OPENSSL_LIBS)
|
||||
|
||||
bcloud.o: bcloud.c
|
||||
@@ -286,7 +286,7 @@
|
||||
-I$(basedir) $(DINCLUDE) $(S3_INC) $(CFLAGS) $<
|
||||
|
||||
bcloud: Makefile bcloud.o ../lib/libbac$(DEFAULT_ARCHIVE_TYPE) $(BLSOBJS) libbacsd.la drivers
|
||||
- $(LIBTOOL_LINK) $(CXX) $(TTOOL_LDFLAGS) $(LDFLAGS) -L../lib -L../findlib -o $@ $(CLOUDCLIOBJS) $(DLIB) \
|
||||
+ $(LIBTOOL_LINK) $(CXX) $(TTOOL_LDFLAGS) $(LDFLAGS) -L. -L../lib -L../findlib -o $@ $(CLOUDCLIOBJS) $(DLIB) \
|
||||
$(SD_LIBS) -lm $(LIBS) $(GETTEXT_LIBS) $(OPENSSL_LIBS) $(S3_LIBS)
|
||||
|
||||
bls.o: bls.c
|
||||
@@ -296,7 +296,7 @@
|
||||
|
||||
bls: Makefile $(BLSOBJS) libbacsd.la drivers ../findlib/libbacfind$(DEFAULT_ARCHIVE_TYPE) ../lib/libbaccfg$(DEFAULT_ARCHIVE_TYPE) ../lib/libbac$(DEFAULT_ARCHIVE_TYPE)
|
||||
@echo "Compiling $<"
|
||||
- $(LIBTOOL_LINK) $(CXX) $(TTOOL_LDFLAGS) $(LDFLAGS) -L../lib -L../findlib -o $@ $(BLSOBJS) $(DLIB) \
|
||||
+ $(LIBTOOL_LINK) $(CXX) $(TTOOL_LDFLAGS) $(LDFLAGS) -L. -L../lib -L../findlib -o $@ $(BLSOBJS) $(DLIB) \
|
||||
$(SD_LIBS) -lm $(LIBS) $(GETTEXT_LIBS) $(OPENSSL_LIBS)
|
||||
|
||||
bextract.o: bextract.c
|
||||
@@ -306,7 +306,7 @@
|
||||
|
||||
bextract: Makefile $(BEXTOBJS) libbacsd.la drivers ../findlib/libbacfind$(DEFAULT_ARCHIVE_TYPE) ../lib/libbaccfg$(DEFAULT_ARCHIVE_TYPE) ../lib/libbac$(DEFAULT_ARCHIVE_TYPE)
|
||||
@echo "Compiling $<"
|
||||
- $(LIBTOOL_LINK) $(CXX) $(TTOOL_LDFLAGS) $(LDFLAGS) -L../lib -L../findlib -o $@ $(BEXTOBJS) $(DLIB) $(ZLIBS) $(LZO_LIBS) $(ZSTD_LIBS) \
|
||||
+ $(LIBTOOL_LINK) $(CXX) $(TTOOL_LDFLAGS) $(LDFLAGS) -L. -L../lib -L../findlib -o $@ $(BEXTOBJS) $(DLIB) $(ZLIBS) $(LZO_LIBS) $(ZSTD_LIBS) \
|
||||
$(SD_LIBS) -lm $(LIBS) $(GETTEXT_LIBS) $(OPENSSL_LIBS)
|
||||
|
||||
bscan.o: bscan.c
|
||||
@@ -316,7 +316,7 @@
|
||||
|
||||
bscan: Makefile $(SCNOBJS) libbacsd.la drivers ../findlib/libbacfind$(DEFAULT_ARCHIVE_TYPE) ../lib/libbaccfg$(DEFAULT_ARCHIVE_TYPE) \
|
||||
../cats/libbacsql$(DEFAULT_ARCHIVE_TYPE) ../cats/libbaccats$(DEFAULT_ARCHIVE_TYPE)
|
||||
- $(LIBTOOL_LINK) $(CXX) $(TTOOL_LDFLAGS) $(LDFLAGS) -L../lib -L../cats -L../findlib -o $@ $(SCNOBJS) \
|
||||
+ $(LIBTOOL_LINK) $(CXX) $(TTOOL_LDFLAGS) $(LDFLAGS) -L. -L../lib -L../cats -L../findlib -o $@ $(SCNOBJS) \
|
||||
$(SD_LIBS) -lbacsql -lbaccats $(DB_LIBS) $(ZLIBS) -lbacfind -lbaccfg -lbac -lm $(LIBS) $(GETTEXT_LIBS) $(OPENSSL_LIBS)
|
||||
|
||||
bcopy.o: bcopy.c
|
||||
@@ -325,7 +325,7 @@
|
||||
-I$(basedir) $(DINCLUDE) $(CFLAGS) $<
|
||||
|
||||
bcopy: Makefile $(COPYOBJS) libbacsd.la drivers ../findlib/libbacfind$(DEFAULT_ARCHIVE_TYPE) ../lib/libbaccfg$(DEFAULT_ARCHIVE_TYPE) ../lib/libbac$(DEFAULT_ARCHIVE_TYPE)
|
||||
- $(LIBTOOL_LINK) $(CXX) $(TTOOL_LDFLAGS) $(LDFLAGS) -L../lib -L../findlib -o $@ $(COPYOBJS) \
|
||||
+ $(LIBTOOL_LINK) $(CXX) $(TTOOL_LDFLAGS) $(LDFLAGS) -L. -L../lib -L../findlib -o $@ $(COPYOBJS) \
|
||||
$(SD_LIBS) -lm $(LIBS) $(GETTEXT_LIBS) $(OPENSSL_LIBS)
|
||||
|
||||
cloud_parts_test: Makefile cloud_parts.c
|
Binary file not shown.
@ -1,3 +1,3 @@
|
||||
DIST stress-ng-0.17.07.tar.gz 6260811 BLAKE2B f56dc22ca55a3b4e9c22f179653b4f832d164fd61968af146bedd3a9242509f7ede070d5cf9392ba494025682f6dfed33bd6034244c0731716977e2179514929 SHA512 5bd6dc8175d2d410447559c489e7bb1187fdce7657018ac48a2744be6e8998bc21e84b7bc536477b5db170ca9bd2aba0992127af90e3ff2312bd6130061dce6c
|
||||
EBUILD stress-ng-0.17.07.ebuild 1283 BLAKE2B 2de2672d0293a2269359f0294a2c785fb887b6489ebdc720bf70e7ed0574759d02153dc81a269e3ff4dd1aa963862086b5bae3dbf95b94b99dcc4eba60b8f1f2 SHA512 a9d68decc14943cbc57f285f1674764fdd8e876fe0d68bc908bba2f980175dd8281596449665ce210340b14ff2553e70079f329de5c9a18af0ab136c3dc44c6a
|
||||
DIST stress-ng-0.17.08.tar.gz 6274899 BLAKE2B ca5c00eebbefeb5be90756faa41f8130b577ca71b78253dc4ae431df1044366e79882e0e1c0850c0102e83356203400295fad977d141dddaf234423617cec965 SHA512 3df9bb507687839ad9978099bea33bc6923d324c6e6f66d441911670fcd8080e093fd02741ea8516626ae1ba357f42d2c50b6553cb75f48fd5f008e59d469777
|
||||
EBUILD stress-ng-0.17.08.ebuild 1283 BLAKE2B 2de2672d0293a2269359f0294a2c785fb887b6489ebdc720bf70e7ed0574759d02153dc81a269e3ff4dd1aa963862086b5bae3dbf95b94b99dcc4eba60b8f1f2 SHA512 a9d68decc14943cbc57f285f1674764fdd8e876fe0d68bc908bba2f980175dd8281596449665ce210340b14ff2553e70079f329de5c9a18af0ab136c3dc44c6a
|
||||
MISC metadata.xml 965 BLAKE2B bc3ca07d204693d8e4efa2bd547af2e57e672c312cf2e8feafecc9fbaad8d7119b61483684c16ce89ffd0224bb42a4ca1a7df277909364f77439091e02b0d153 SHA512 963755da68b098fc10b296a15b866fafc0ec6ea0d232a2d2eae9aa478801b282818b3b124303f92ad77b7bbd258acfb54e56317012cd2bd7a1274a1f81c419d5
|
||||
|
Binary file not shown.
@ -1,7 +1,7 @@
|
||||
DIST devcontainer-0.57.0.tgz 617323 BLAKE2B 74dd49c0e741715e34dce79cdc73617f4bed68b87f11fafa403a9548b334ecff1af8e2e3705c57c31ca057e12b19094a75a3a3e339cac3b6d005e00e7e08b433 SHA512 7b5680d003630af459d5bf12f6873ea990a67b5f16888317a27d7197799d9ff1cd802834e669c4e1c601780fa8a07c38ec4dab77e7bf64de08406403e163e954
|
||||
DIST devcontainer-0.58.0.tgz 618922 BLAKE2B e0962e273f6a28d4c6897523b565634d7849a37ed5866e47430080ac8e42026e888ba2a13cbcbb62dd6974f753383882b66b0129d1e7aad8321c938c58ffec58 SHA512 57beb86d4fcefddbaa4f13612cca0538b2449932164c062082a8ef62f3a7bd57ed6f7bb09e5954fe479c6da9caebc0b3075783fb3ba3391381ab7ce9027e5f08
|
||||
DIST devcontainer-0.59.1.tgz 619278 BLAKE2B 793ac8856814cb35ad668b496b12c8bf6e92277014ca2efd245cdebd5b032cbd574017bf758fcb92a675d7bbd07c966bb7c4344b8cb774ad11c02a4daac91eca SHA512 27bfd94b2a34815f90579ed136b6c032dc5f3b5172dfa5c124c151ef5b156038afdbc7b2bf189314c6f910bc7182117977b42712a172ca44af20c8ba481762cf
|
||||
EBUILD devcontainer-0.57.0.ebuild 871 BLAKE2B 1233ec4b1f837432ba4260d0dcf5153a551fe088b6dd2367fc8223819dfe5682a0314d6db0ec590188fa26fe0e6ed3749f54cf9aff6366b39a81e9dc1b35ede9 SHA512 7dc3111668960995c21f17ebfc583035e23b58560a26289390a8da2050270b2d66e6d7e4e8bdf465b2aa712ace6c9fd57943aecaacd27f90a485b2fb45cd5d5e
|
||||
DIST devcontainer-0.60.0.tgz 619324 BLAKE2B 8ef60c2a195b24e850ce923b79983a2514645587a2ef9739a05ce4440140595dad3d87896e6997455daf2afd3d09b8da77d9c304a3ce305b4ab6edb2ea41ab9a SHA512 f1edba9bbb8d635db492daa52d6b38063d426b7860bd9d56327ecf1b66a3777374ee1cc96cff080fe6af7e384e64e608516412c71eb1437c82938868f6389439
|
||||
EBUILD devcontainer-0.58.0.ebuild 871 BLAKE2B 1233ec4b1f837432ba4260d0dcf5153a551fe088b6dd2367fc8223819dfe5682a0314d6db0ec590188fa26fe0e6ed3749f54cf9aff6366b39a81e9dc1b35ede9 SHA512 7dc3111668960995c21f17ebfc583035e23b58560a26289390a8da2050270b2d66e6d7e4e8bdf465b2aa712ace6c9fd57943aecaacd27f90a485b2fb45cd5d5e
|
||||
EBUILD devcontainer-0.59.1.ebuild 872 BLAKE2B a49d606609bab843fc1f6f8edecdaa2b837a385f6583d99e97c07168795f8b41057d912fc0b82c5afbb2861efeef9e7fb0fa5b3752fd66f7211f51c31aa10519 SHA512 1d2925d3544b438ef352bf3b386ba65686c888c9cdc5841e4ba280b457ead591c1f91d9ad06e6e4db41d5d9fe0094c1b8b7ab2112730eab88ff7921fefed937b
|
||||
EBUILD devcontainer-0.60.0.ebuild 872 BLAKE2B a49d606609bab843fc1f6f8edecdaa2b837a385f6583d99e97c07168795f8b41057d912fc0b82c5afbb2861efeef9e7fb0fa5b3752fd66f7211f51c31aa10519 SHA512 1d2925d3544b438ef352bf3b386ba65686c888c9cdc5841e4ba280b457ead591c1f91d9ad06e6e4db41d5d9fe0094c1b8b7ab2112730eab88ff7921fefed937b
|
||||
MISC metadata.xml 886 BLAKE2B 6255ba2337a21bd814e0472648cf4eb78b7c3e6ca6ead9f154cc70b662b7721ddc62137f1ebf542123c7d716e0ff94527f7a1aa99786446c7ffd36bbbf9c9efe SHA512 6dd2c48ee1dc5b722768780f20c32dd424af327fe7a580eb4f8ce31712dff211ecc9ebe1eae4ca22ec3a90ef5b3a6690407b24fc11c45000a7d986871956d407
|
||||
|
@ -1,6 +1,8 @@
|
||||
DIST distrobox-1.7.1.tar.gz 6885484 BLAKE2B c4b2710d7f1cff7baee2e340a79345359e9906e508e8b1bc351a7b8ee2d8d2e1cb13c381e40231f8c962542e37e32988d04a687810bdfd7ec917868944c51cf3 SHA512 a86a49b9f6158af3172369a201ce3852a349258c46ebb8dfb269f7b96dfbe2bf2fe9f80a5cf9b9236432d99f4f67fb3d95ab4663964fcdb0f888d48cbdd82c39
|
||||
DIST distrobox-1.7.2.0.tar.gz 6888905 BLAKE2B f74301464f3b590f246871be1a381771e0fccbd42a933b9d2a58874eb97e49ae73676f7267b56dc7facefdba6cac1fc3df52d55ef826c0d79c90bbe9e0955af7 SHA512 ae5c9ef7ee63beec6b99488091cdb5bc73dfb219988a71c624af2278ea2efc775895ae2106c6bc35783a317b5b3e92fceed2fdba5be05f94028d28a7a2fb8ce1
|
||||
DIST distrobox-1.7.2.1.tar.gz 6888919 BLAKE2B 1fd4e49585f686cf9f434c3285935bdda1131684b74dfcc20b018ab9853fb13516f3dbaf7c16b9ea55a0d038e3d9eb297bcea74c95755fbe60ef6512a9ce0df8 SHA512 aaf4324a9a31844dc08a6cc4e06d3b725675c92df01b558e733c96701d7e9700baabc1afad97ce5e2a8e2345defcea71c85f0ea6667249316f850aeca5aea149
|
||||
EBUILD distrobox-1.7.1.ebuild 746 BLAKE2B acf4ad5520af4d0d96b7af6160b4f274caedb7b0b23c1a37c8bdfd3fb43b1c4b695f72062d4bba3e79993a081c0ccf6d33678aec43b52f2714f4b9723782f080 SHA512 dc48796ccb252eb1dc422567af37c3aec58831dd6450476af2efe1a04d7aff41333c1ac6d4762bc914ad6ba5c7f1a91be7a513b78a4fdbf13ed9c1cf3a49e8d5
|
||||
EBUILD distrobox-1.7.2.0.ebuild 735 BLAKE2B d890d017d6ca94fe6969486b6c32a89554e7b15d3650633604f4014d3befe4abe2289e786ac1b106ce20b821617c89c1ab9a6ceb45b31f856e3f6bdfaa876222 SHA512 b46ba4f4e35f13721750a8db9fb255e776c2f08ba64b939d6b9c9faef13e5bfda72b9a970d5f0e486f2ea1ebe63adba125fe3e0505a77a6c346ecd03025f4cfd
|
||||
EBUILD distrobox-1.7.2.1.ebuild 735 BLAKE2B d890d017d6ca94fe6969486b6c32a89554e7b15d3650633604f4014d3befe4abe2289e786ac1b106ce20b821617c89c1ab9a6ceb45b31f856e3f6bdfaa876222 SHA512 b46ba4f4e35f13721750a8db9fb255e776c2f08ba64b939d6b9c9faef13e5bfda72b9a970d5f0e486f2ea1ebe63adba125fe3e0505a77a6c346ecd03025f4cfd
|
||||
EBUILD distrobox-9999.ebuild 747 BLAKE2B c0e47c0cd8b825792647ae6bc12f9771eb2527d62b1e779e652b0580103e5668f191ffa2fd9db3ccabdb078c48d68ce3054390ced200112202f9ee9c2c3c6bcd SHA512 8e7673d428025cf9515f8f93169464afeaec9d2cd9050774dcd8d09f47e933e69a6b0787b7ac9b56842a9e1490149a6ac51f5ffe6915aa345407c8ef5a948b2a
|
||||
MISC metadata.xml 957 BLAKE2B a02f57f2c65a9241edbc6a1e99170712ceca000977c2271ba51c5311e7718471585ea791ed8c978a86a961d02450623c05b5f9006d4386be2130df08341b0e49 SHA512 65f455bcfd246a8de0084e1534dc85f09435f1fad2590ba87dda0bed90d8fa976d3fad2142b2006a596e713d3d91f0d3d3156017cebacf9dc7883596edb0740f
|
||||
|
@ -0,0 +1,35 @@
|
||||
# Copyright 1999-2024 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
DESCRIPTION="Use any Linux distribution inside your terminal (powered by docker/podman)"
|
||||
HOMEPAGE="https://distrobox.it/
|
||||
https://github.com/89luca89/distrobox/"
|
||||
|
||||
if [[ "${PV}" == *9999* ]] ; then
|
||||
inherit git-r3
|
||||
|
||||
EGIT_REPO_URI="https://github.com/89luca89/${PN}.git"
|
||||
else
|
||||
SRC_URI="https://github.com/89luca89/${PN}/archive/${PV}.tar.gz
|
||||
-> ${P}.tar.gz"
|
||||
|
||||
KEYWORDS="~amd64 ~arm ~arm64 ~riscv ~x86"
|
||||
fi
|
||||
|
||||
LICENSE="GPL-3" # GPL-3.0-only !
|
||||
SLOT="0"
|
||||
|
||||
RDEPEND="
|
||||
|| (
|
||||
app-containers/docker
|
||||
app-containers/podman
|
||||
)
|
||||
"
|
||||
|
||||
src_install() {
|
||||
sh ./install --prefix "${ED}/usr" || die "${PN} install script failed"
|
||||
|
||||
dodoc *.md
|
||||
}
|
@ -0,0 +1,219 @@
|
||||
# Copyright 1999-2024 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
inherit go-module linux-info optfeature systemd toolchain-funcs verify-sig
|
||||
|
||||
DESCRIPTION="Modern, secure and powerful system container and virtual machine manager"
|
||||
HOMEPAGE="https://linuxcontainers.org/incus/introduction/ https://github.com/lxc/incus"
|
||||
SRC_URI="https://linuxcontainers.org/downloads/incus/${P}.tar.xz
|
||||
verify-sig? ( https://linuxcontainers.org/downloads/incus/${P}.tar.xz.asc )"
|
||||
|
||||
LICENSE="Apache-2.0 BSD LGPL-3 MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~arm64"
|
||||
IUSE="apparmor fuidshift nls"
|
||||
|
||||
DEPEND="acct-group/incus
|
||||
acct-group/incus-admin
|
||||
app-arch/xz-utils
|
||||
>=app-containers/lxc-5.0.0:=[apparmor?,seccomp(+)]
|
||||
dev-db/sqlite:3
|
||||
>=dev-libs/cowsql-1.15.6
|
||||
dev-libs/lzo
|
||||
>=dev-libs/raft-0.22.1:=[lz4]
|
||||
>=dev-util/xdelta-3.0[lzma(+)]
|
||||
net-dns/dnsmasq[dhcp]
|
||||
sys-libs/libcap
|
||||
virtual/udev"
|
||||
RDEPEND="${DEPEND}
|
||||
fuidshift? ( !app-containers/lxd )
|
||||
net-firewall/ebtables
|
||||
net-firewall/iptables
|
||||
sys-apps/iproute2
|
||||
sys-fs/fuse:*
|
||||
>=sys-fs/lxcfs-5.0.0
|
||||
sys-fs/squashfs-tools[lzma]
|
||||
virtual/acl"
|
||||
BDEPEND=">=dev-lang/go-1.21
|
||||
nls? ( sys-devel/gettext )
|
||||
verify-sig? ( sec-keys/openpgp-keys-linuxcontainers )"
|
||||
|
||||
CONFIG_CHECK="
|
||||
~CGROUPS
|
||||
~IPC_NS
|
||||
~NET_NS
|
||||
~PID_NS
|
||||
|
||||
~SECCOMP
|
||||
~USER_NS
|
||||
~UTS_NS
|
||||
|
||||
~KVM
|
||||
~MACVTAP
|
||||
~VHOST_VSOCK
|
||||
"
|
||||
|
||||
ERROR_IPC_NS="CONFIG_IPC_NS is required."
|
||||
ERROR_NET_NS="CONFIG_NET_NS is required."
|
||||
ERROR_PID_NS="CONFIG_PID_NS is required."
|
||||
ERROR_SECCOMP="CONFIG_SECCOMP is required."
|
||||
ERROR_UTS_NS="CONFIG_UTS_NS is required."
|
||||
|
||||
WARNING_KVM="CONFIG_KVM and CONFIG_KVM_AMD/-INTEL is required for virtual machines."
|
||||
WARNING_MACVTAP="CONFIG_MACVTAP is required for virtual machines."
|
||||
WARNING_VHOST_VSOCK="CONFIG_VHOST_VSOCK is required for virtual machines."
|
||||
|
||||
# Go magic.
|
||||
QA_PREBUILT="/usr/bin/incus
|
||||
/usr/bin/lxc-to-incus
|
||||
/usr/bin/incus-agent
|
||||
/usr/bin/incus-benchmark
|
||||
/usr/bin/incus-migrate
|
||||
/usr/sbin/fuidshift
|
||||
/usr/sbin/lxd-to-incus
|
||||
/usr/sbin/incusd"
|
||||
|
||||
VERIFY_SIG_OPENPGP_KEY_PATH=/usr/share/openpgp-keys/linuxcontainers.asc
|
||||
|
||||
# The testsuite must be run as root.
|
||||
# make: *** [Makefile:156: check] Error 1
|
||||
RESTRICT="test"
|
||||
|
||||
GOPATH="${S}/_dist"
|
||||
|
||||
src_unpack() {
|
||||
verify-sig_src_unpack
|
||||
go-module_src_unpack
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
export GOPATH="${S}/_dist"
|
||||
|
||||
default
|
||||
|
||||
sed -i \
|
||||
-e "s:\./configure:./configure --prefix=/usr --libdir=${EPREFIX}/usr/lib/incus:g" \
|
||||
-e "s:make:make ${MAKEOPTS}:g" \
|
||||
Makefile || die
|
||||
|
||||
# Fix hardcoded ovmf file path, see bug 763180
|
||||
sed -i \
|
||||
-e "s:/usr/share/OVMF:/usr/share/edk2-ovmf:g" \
|
||||
-e "s:OVMF_VARS.ms.fd:OVMF_VARS.fd:g" \
|
||||
doc/environment.md \
|
||||
internal/server/apparmor/instance.go \
|
||||
internal/server/apparmor/instance_qemu.go \
|
||||
internal/server/instance/drivers/driver_qemu.go || die "Failed to fix hardcoded ovmf paths."
|
||||
|
||||
# Fix hardcoded virtfs-proxy-helper file path, see bug 798924
|
||||
sed -i \
|
||||
-e "s:/usr/lib/qemu/virtfs-proxy-helper:/usr/libexec/virtfs-proxy-helper:g" \
|
||||
internal/server/device/device_utils_disk.go || die "Failed to fix virtfs-proxy-helper path."
|
||||
|
||||
cp "${FILESDIR}"/incus-0.4.service "${T}"/incus.service || die
|
||||
if use apparmor; then
|
||||
sed -i \
|
||||
'/^EnvironmentFile=.*/a ExecStartPre=\/usr\/libexec\/lxc\/lxc-apparmor-load' \
|
||||
"${T}"/incus.service || die
|
||||
fi
|
||||
|
||||
# Disable -Werror's from go modules.
|
||||
find "${S}" -name "cgo.go" -exec sed -i "s/ -Werror / /g" {} + || die
|
||||
}
|
||||
|
||||
src_configure() { :; }
|
||||
|
||||
src_compile() {
|
||||
export GOPATH="${S}/_dist"
|
||||
export CGO_LDFLAGS_ALLOW="-Wl,-z,now"
|
||||
|
||||
for k in incus-benchmark incus-simplestreams incus-user incus lxc-to-incus lxd-to-incus ; do
|
||||
ego install -v -x "${S}/cmd/${k}"
|
||||
done
|
||||
|
||||
if use fuidshift ; then
|
||||
ego install -v -x "${S}/cmd/fuidshift"
|
||||
fi
|
||||
|
||||
ego install -v -x -tags libsqlite3 "${S}"/cmd/incusd
|
||||
|
||||
# Needs to be built statically
|
||||
CGO_ENABLED=0 go install -v -tags netgo "${S}"/cmd/incus-migrate
|
||||
CGO_ENABLED=0 go install -v -tags agent,netgo "${S}"/cmd/incus-agent
|
||||
|
||||
use nls && emake build-mo
|
||||
}
|
||||
|
||||
src_test() {
|
||||
emake check
|
||||
}
|
||||
|
||||
src_install() {
|
||||
export GOPATH="${S}/_dist"
|
||||
|
||||
if tc-is-cross-compiler ; then
|
||||
local bindir="_dist/bin/linux_${GOARCH}"
|
||||
else
|
||||
local bindir="_dist/bin"
|
||||
fi
|
||||
|
||||
newsbin "${FILESDIR}"/incus-startup-0.4.sh incus-startup
|
||||
|
||||
# Admin tools
|
||||
for l in incusd incus-user lxd-to-incus ; do
|
||||
dosbin ${bindir}/${l}
|
||||
done
|
||||
|
||||
# User tools
|
||||
for m in incus-agent incus-benchmark incus-migrate incus-simplestreams incus lxc-to-incus ; do
|
||||
dobin ${bindir}/${m}
|
||||
done
|
||||
|
||||
# fuidshift, should be moved under admin tools at some point
|
||||
if use fuidshift ; then
|
||||
dosbin ${bindir}/fuidshift
|
||||
fi
|
||||
|
||||
newconfd "${FILESDIR}"/incus-0.4.confd incus
|
||||
newinitd "${FILESDIR}"/incus-0.4.initd incus
|
||||
newinitd "${FILESDIR}"/incus-user-0.4.initd incus-user
|
||||
|
||||
systemd_dounit "${T}"/incus.service
|
||||
systemd_newunit "${FILESDIR}"/incus-0.4.socket incus.socket
|
||||
systemd_newunit "${FILESDIR}"/incus-startup-0.4.service incus-startup.service
|
||||
systemd_newunit "${FILESDIR}"/incus-user-0.4.service incus-user.service
|
||||
systemd_newunit "${FILESDIR}"/incus-user-0.4.socket incus-user.socket
|
||||
|
||||
if ! tc-is-cross-compiler; then
|
||||
# Generate and install shell completion files.
|
||||
mkdir -p "${D}"/usr/share/{bash-completion/completions/,fish/vendor_completions.d/,zsh/site-functions/} || die
|
||||
"${bindir}"/incus completion bash > "${D}"/usr/share/bash-completion/completions/incus || die
|
||||
"${bindir}"/incus completion fish > "${D}"/usr/share/fish/vendor_completions.d/incus.fish || die
|
||||
"${bindir}"/incus completion zsh > "${D}"/usr/share/zsh/site-functions/_incus || die
|
||||
else
|
||||
ewarn "Shell completion files not installed! Install them manually with incus completion --help"
|
||||
fi
|
||||
|
||||
dodoc AUTHORS
|
||||
dodoc -r doc/*
|
||||
use nls && domo po/*.mo
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
elog
|
||||
elog "Please see"
|
||||
elog " https://wiki.gentoo.org/wiki/Incus"
|
||||
elog " https://wiki.gentoo.org/wiki/Incus#Migrating_from_LXD"
|
||||
elog
|
||||
optfeature "virtual machine support" app-cdr/cdrtools app-emulation/qemu[spice,usbredir,virtfs]
|
||||
optfeature "btrfs storage backend" sys-fs/btrfs-progs
|
||||
optfeature "ipv6 support" net-dns/dnsmasq[ipv6]
|
||||
optfeature "full incus-migrate support" net-misc/rsync
|
||||
optfeature "lvm2 storage backend" sys-fs/lvm2
|
||||
optfeature "zfs storage backend" sys-fs/zfs
|
||||
elog
|
||||
elog "Be sure to add your local user to the incus group."
|
||||
elog
|
||||
}
|
@ -0,0 +1,172 @@
|
||||
# Copyright 2022-2024 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
inherit bash-completion-r1 linux-info meson optfeature systemd toolchain-funcs verify-sig
|
||||
|
||||
DESCRIPTION="A userspace interface for the Linux kernel containment features"
|
||||
HOMEPAGE="https://linuxcontainers.org/ https://github.com/lxc/lxc"
|
||||
SRC_URI="https://linuxcontainers.org/downloads/lxc/${P}.tar.gz
|
||||
verify-sig? ( https://linuxcontainers.org/downloads/lxc/${P}.tar.gz.asc )"
|
||||
|
||||
LICENSE="GPL-2 LGPL-2.1 LGPL-3"
|
||||
SLOT="0/1.8" # SONAME liblxc.so.1 + ${PV//./} _if_ breaking ABI change while bumping.
|
||||
KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~riscv ~x86"
|
||||
IUSE="apparmor +caps examples io-uring lto man pam seccomp selinux ssl systemd test +tools"
|
||||
|
||||
RDEPEND="acct-group/lxc
|
||||
acct-user/lxc
|
||||
apparmor? ( sys-libs/libapparmor )
|
||||
caps? ( sys-libs/libcap[static-libs] )
|
||||
io-uring? ( >=sys-libs/liburing-2:= )
|
||||
pam? ( sys-libs/pam )
|
||||
seccomp? ( sys-libs/libseccomp )
|
||||
selinux? ( sys-libs/libselinux )
|
||||
ssl? ( dev-libs/openssl:0= )
|
||||
systemd? (
|
||||
sys-apps/dbus
|
||||
sys-apps/systemd:=
|
||||
)
|
||||
tools? ( sys-libs/libcap[static-libs] )"
|
||||
DEPEND="${RDEPEND}
|
||||
sys-kernel/linux-headers"
|
||||
BDEPEND="virtual/pkgconfig
|
||||
man? ( app-text/docbook2X )
|
||||
verify-sig? ( sec-keys/openpgp-keys-linuxcontainers )"
|
||||
|
||||
RESTRICT="!test? ( test )"
|
||||
|
||||
CONFIG_CHECK="~!NETPRIO_CGROUP
|
||||
~CGROUPS
|
||||
~CGROUP_CPUACCT
|
||||
~CGROUP_DEVICE
|
||||
~CGROUP_FREEZER
|
||||
|
||||
~CGROUP_SCHED
|
||||
~CPUSETS
|
||||
~IPC_NS
|
||||
~MACVLAN
|
||||
|
||||
~MEMCG
|
||||
~NAMESPACES
|
||||
~NET_NS
|
||||
~PID_NS
|
||||
|
||||
~POSIX_MQUEUE
|
||||
~USER_NS
|
||||
~UTS_NS
|
||||
~VETH"
|
||||
|
||||
ERROR_CGROUP_FREEZER="CONFIG_CGROUP_FREEZER: needed to freeze containers"
|
||||
ERROR_MACVLAN="CONFIG_MACVLAN: needed for internal (inter-container) networking"
|
||||
ERROR_MEMCG="CONFIG_MEMCG: needed for memory resource control in containers"
|
||||
ERROR_NET_NS="CONFIG_NET_NS: needed for unshared network"
|
||||
ERROR_POSIX_MQUEUE="CONFIG_POSIX_MQUEUE: needed for lxc-execute command"
|
||||
ERROR_UTS_NS="CONFIG_UTS_NS: needed to unshare hostnames and uname info"
|
||||
ERROR_VETH="CONFIG_VETH: needed for internal (host-to-container) networking"
|
||||
|
||||
VERIFY_SIG_OPENPGP_KEY_PATH=/usr/share/openpgp-keys/linuxcontainers.asc
|
||||
|
||||
DOCS=( AUTHORS CONTRIBUTING MAINTAINERS README.md doc/FAQ.txt )
|
||||
|
||||
pkg_setup() {
|
||||
linux-info_pkg_setup
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
|
||||
# -Dtools-multicall=false: will create a single binary called 'lxc' that conflicts with LXD.
|
||||
local emesonargs=(
|
||||
--localstatedir "${EPREFIX}/var"
|
||||
|
||||
-Dcoverity-build=false
|
||||
-Dinstall-state-dirs=false
|
||||
-Doss-fuzz=false
|
||||
-Dspecfile=false
|
||||
-Dtools-multicall=false
|
||||
|
||||
-Dcommands=true
|
||||
-Dinstall-init-files=true
|
||||
-Dmemfd-rexec=true
|
||||
-Dthread-safety=true
|
||||
|
||||
$(meson_use apparmor)
|
||||
$(meson_use caps capabilities)
|
||||
$(meson_use examples)
|
||||
$(meson_use io-uring io-uring-event-loop)
|
||||
$(meson_use lto b_lto)
|
||||
$(meson_use man)
|
||||
$(meson_use pam pam-cgroup)
|
||||
$(meson_use seccomp)
|
||||
$(meson_use selinux)
|
||||
$(meson_use ssl openssl)
|
||||
$(meson_use test tests)
|
||||
$(meson_use tools)
|
||||
|
||||
$(usex systemd -Ddbus=true -Ddbus=false)
|
||||
$(usex systemd -Dinit-script="systemd" -Dinit-script="sysvinit")
|
||||
|
||||
-Ddata-path=/var/lib/lxc
|
||||
-Ddoc-path=/usr/share/doc/${PF}
|
||||
-Dlog-path=/var/log/lxc
|
||||
-Drootfs-mount-path=/var/lib/lxc/rootfs
|
||||
-Druntime-path=/run
|
||||
)
|
||||
|
||||
use tools && local emesonargs+=( -Dcapabilities=true )
|
||||
|
||||
if $(tc-ld-is-gold) || $(tc-ld-is-lld); then
|
||||
local emesonargs+=( -Db_lto_mode=thin )
|
||||
else
|
||||
local emesonargs+=( -Db_lto_mode=default )
|
||||
fi
|
||||
|
||||
meson_src_configure
|
||||
}
|
||||
|
||||
src_install() {
|
||||
meson_src_install
|
||||
|
||||
# The main bash-completion file will collide with lxd, need to relocate and update symlinks.
|
||||
mkdir -p "${ED}"/$(get_bashcompdir) || die "Failed to create bashcompdir."
|
||||
|
||||
if use tools; then
|
||||
bashcomp_alias lxc-start lxc-{attach,autostart,cgroup,checkpoint,config,console,copy,create,destroy,device,execute,freeze,info,ls,monitor,snapshot,stop,top,unfreeze,unshare,usernsexec,wait}
|
||||
else
|
||||
bashcomp_alias lxc-start lxc-usernsexec
|
||||
fi
|
||||
|
||||
find "${ED}" -name '*.la' -delete -o -name '*.a' -delete || die
|
||||
|
||||
# Replace upstream sysvinit/systemd files.
|
||||
if use systemd; then
|
||||
rm -r "${D}$(systemd_get_systemunitdir)" || die "Failed to remove systemd lib dir"
|
||||
else
|
||||
rm "${ED}"/etc/init.d/lxc-{containers,net} || die "Failed to remove sysvinit scripts"
|
||||
fi
|
||||
|
||||
newinitd "${FILESDIR}/${PN}.initd.9" ${PN}
|
||||
systemd_newunit "${FILESDIR}"/lxc-monitord.service.5.0.0 lxc-monitord.service
|
||||
systemd_newunit "${FILESDIR}"/lxc-net.service.5.0.0 lxc-net.service
|
||||
systemd_newunit "${FILESDIR}"/lxc.service-5.0.0 lxc.service
|
||||
systemd_newunit "${FILESDIR}"/lxc_at.service.5.0.0 "lxc@.service"
|
||||
|
||||
if ! use apparmor; then
|
||||
sed -i '/lxc-apparmor-load/d' "${D}$(systemd_get_systemunitdir)/lxc.service" ||
|
||||
die "Failed to remove apparmor references from lxc.service systemd unit."
|
||||
fi
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
elog "Please refer to "
|
||||
elog "https://wiki.gentoo.org/wiki/LXC for introduction and usage guide."
|
||||
elog
|
||||
elog "Run 'lxc-checkconfig' to see optional kernel features."
|
||||
elog
|
||||
|
||||
optfeature "creating your own LXC containers" app-containers/distrobuilder
|
||||
optfeature "automatic template scripts" app-containers/lxc-templates
|
||||
optfeature "Debian-based distribution container image support" dev-util/debootstrap
|
||||
optfeature "snapshot & restore functionality" sys-process/criu
|
||||
}
|
Binary file not shown.
@ -1,9 +1,7 @@
|
||||
AUX 3.38.0-optional-vapi.patch 2278 BLAKE2B 7011aec6831b9488ba19efd41b6f3772af101dac4e2e9759f354a59a7243c45eae4a03583f7a717099fe5b08c813c898228ceeed8afac7b28d4bdb77fe9ac4e0 SHA512 95a9109217cf255e921bbf2504918345d1e32e454a8c44c726cb1df522cca73de785db31e9e71a88d3bfa802c49ae89caaa9c64edc3834c5b491ef15f853313e
|
||||
AUX 3.41.1-implicit-func-decl.patch 1132 BLAKE2B 90cd16d7821667d3f5790cce9503b9202f07499a5ebf65b3c4144d103602b2e163b6f1200276c54d13ed9dc14882cc0b695f119aba7eecba5792be17384c4ef5 SHA512 6bdde9de3816c8c182e47802f4ed13fcb21c50dc9b402cb969086285a6c33a0314e68197965eb49de27bc5fd877dc151d9d3132fddb1f970bbcc1990a7dc0b54
|
||||
DIST gcr-3.41.1.tar.xz 1030368 BLAKE2B 9d254b7f2ad864c45200e58b685db97c1ffbc83d29ba8cbda94d30ec565aa3dc5a2535305dc63b3264131b68ec9e48f37ac30d5ba08d0ce156f3b6091cd62dc1 SHA512 dd70d41636ede863d05824b26823a8f572902f7a9b6f09b0c70586ef0d4c046864e6956130b9231850a515a9fbfcd56faf20354c1cf8f697f005827c048a2325
|
||||
DIST gcr-4.1.0.tar.xz 722776 BLAKE2B 910cef50301a5988979f368501a8c62cf264b8af54c909309c335b06117e0504c39afd5f1c92613f13ce09db154ae5036af1ade50bd7f1482c48efd7abf02d22 SHA512 a91a5b0a7b62f7756dec2e7e19a59a4087a1423ccf24c5dd6d4a18de0a58fd91c5d5c131233360a3334c236b28ee94ec6889fcec1de85771a4b6a5daa5b9e203
|
||||
DIST gcr-4.2.1.tar.xz 719392 BLAKE2B a9134258f6daa59de4924f6bac01499d3bf87aae5e9d9ff5c69b2289ba0e82ef4c3f93a1ca7b1b007815e51e0c56f10a8abc616b31518dfa83581e8ffc5b3309 SHA512 fbb1664f6e276e35296aec46dab53ff308d031cae2f25b7d1ff5abdb56c5bd3764927d38b997d2ccbd260975f445d71619b2487327786c30b5f34d5e8865ff25
|
||||
EBUILD gcr-3.41.1-r2.ebuild 2357 BLAKE2B 1dae654092058420dc29d1e4315b7034f0ee13b0a2ff2237a0eeac4e568749b3196a850bdf6357bb0c230a8c2aa08a5bb814ef6998fc8c0faff61a1aa419c00b SHA512 87bb4d442c27d8d8b5ae7d93db68d4a15d998bd095d864cd230ace365fe7297300f7c61f00ee7174644e4eab1bb31e977597edf2645672d556471466083fb544
|
||||
EBUILD gcr-4.1.0.ebuild 2050 BLAKE2B 740388509fd40447d411f2cbfb47098588ce1830429fcde738168e0456759cf7f1611d6004c12bfe59ece3f740e11d566164c82e62ba8846896e220c799e3061 SHA512 11deacdbd32445e5e958b220f8387687079294ac159f8482b4647e534c2903fafa066e091eb8d685ad291ba6862ea0777f816d29118ca44cfe9dcb4a28fbe676
|
||||
EBUILD gcr-4.2.1.ebuild 2125 BLAKE2B 8f9051dd326e47620950043c09cb2d12a77cc97c3b223893fe2b40c667948764b26f019e9040b8aa430e002b1dc8530a40e6a13ef9970089cadf0537614efed6 SHA512 d913d1f2aad860cd45f536fbec3d5bb6d5a662d6490f852f9ca201ba56782c68b49f4979a86433e23f72dae3dd91ee5f01cd6a04d2ba7dc16c2c0ea1e08ae94f
|
||||
MISC metadata.xml 344 BLAKE2B a5b129a4c722cc7b8b0e40ba087dab0449ed91ffeaec73b433fc2fcaa1d1c67a1f1db3ab639676880f526bb9ea55d71c7e876a947116c279cbc186d14090b10c SHA512 502308ab38854c2b61212f4b049bd20534147b9a7c565f5a5246a129fbcd12dc4a7cf1d39b560dd991a3211628afaf964a6c8f020c4e446ef0b8cb8688df0028
|
||||
|
@ -1,93 +0,0 @@
|
||||
# Copyright 1999-2023 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
PYTHON_COMPAT=( python3_{9..11} )
|
||||
|
||||
inherit gnome.org gnome2-utils meson python-any-r1 vala xdg
|
||||
|
||||
DESCRIPTION="Libraries for cryptographic UIs and accessing PKCS#11 modules"
|
||||
HOMEPAGE="https://gitlab.gnome.org/GNOME/gcr"
|
||||
|
||||
LICENSE="GPL-2+ LGPL-2+"
|
||||
SLOT="4/gcr-4.4-gck-2.2" # subslot = soname and soversion of libgcr and libgck
|
||||
|
||||
IUSE="gtk gtk-doc +introspection systemd test +vala"
|
||||
REQUIRED_USE="
|
||||
gtk-doc? ( introspection )
|
||||
vala? ( introspection )
|
||||
"
|
||||
RESTRICT="!test? ( test )"
|
||||
|
||||
KEYWORDS="~alpha amd64 arm arm64 ~ia64 ~loong ~mips ppc ppc64 ~riscv sparc x86 ~amd64-linux ~x86-linux"
|
||||
|
||||
DEPEND="
|
||||
>=dev-libs/glib-2.68.0:2
|
||||
>=dev-libs/libgcrypt-1.2.2:0=
|
||||
>=app-crypt/p11-kit-0.19.0
|
||||
>=app-crypt/libsecret-0.20
|
||||
systemd? ( sys-apps/systemd:= )
|
||||
gtk? ( gui-libs/gtk:4[introspection?] )
|
||||
>=sys-apps/dbus-1
|
||||
introspection? ( >=dev-libs/gobject-introspection-1.58:= )
|
||||
!<app-crypt/gcr-3.41.1-r1
|
||||
"
|
||||
RDEPEND="${DEPEND}"
|
||||
PDEPEND="app-crypt/gnupg"
|
||||
BDEPEND="
|
||||
${PYTHON_DEPS}
|
||||
gtk? ( dev-libs/libxml2:2 )
|
||||
dev-util/gdbus-codegen
|
||||
dev-util/glib-utils
|
||||
gtk-doc? ( dev-util/gi-docgen )
|
||||
>=sys-devel/gettext-0.19.8
|
||||
test? ( app-crypt/gnupg )
|
||||
virtual/pkgconfig
|
||||
vala? ( $(vala_depend) )
|
||||
"
|
||||
|
||||
pkg_setup() {
|
||||
python-any-r1_pkg_setup
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
use vala && vala_setup
|
||||
xdg_environment_reset
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
local emesonargs=(
|
||||
$(meson_use introspection)
|
||||
$(meson_use gtk gtk4)
|
||||
$(meson_use gtk-doc gtk_doc)
|
||||
-Dgpg_path="${EPREFIX}"/usr/bin/gpg
|
||||
-Dssh_agent=true
|
||||
$(meson_feature systemd)
|
||||
$(meson_use vala vapi)
|
||||
)
|
||||
meson_src_configure
|
||||
}
|
||||
|
||||
src_test() {
|
||||
dbus-run-session meson test -C "${BUILD_DIR}" || die 'tests failed'
|
||||
}
|
||||
|
||||
src_install() {
|
||||
meson_src_install
|
||||
|
||||
if use gtk-doc; then
|
||||
mkdir -p "${ED}"/usr/share/gtk-doc/html/ || die
|
||||
mv "${ED}"/usr/share/doc/{gck-2,gcr-4} "${ED}"/usr/share/gtk-doc/html/ || die
|
||||
fi
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
xdg_pkg_postinst
|
||||
gnome2_schemas_update
|
||||
}
|
||||
|
||||
pkg_postrm() {
|
||||
xdg_pkg_postrm
|
||||
gnome2_schemas_update
|
||||
}
|
Binary file not shown.
@ -1,3 +1,5 @@
|
||||
DIST aspell-da-4.2.1.tar.gz 4244477 BLAKE2B 51c25e9dc3f033daf4884abb3db5681ba834835bd6ae417e9edf5200d4791fd911974dca4f3323b880efd7a2be1ee8259784e0a54d7e0bceb7249a6bb4a55736 SHA512 66a32be37615423cdd88c3ccbe81e26bc955068a5d74f1829f0d309ba93741d99f7ccbb335e0fe1a890aada984cc771eb25c00027554509c0f1fbf36fea5fb0b
|
||||
DIST aspell-da-4.3.tar.gz 4262160 BLAKE2B d7de57716c36b23e7de83152f46f3b13d9474007d05fb96171a9a2e70758afbe6ca96e0b2c6d2bacd5543e33698de5483f9dae3469017475a5e19a75975eaf86 SHA512 6cb391660f7c7dad85f0242feca284d07204dfbab348e4138e07932da8dd7446e8bccf8e3079bc40f69d73b3967da80ddd539e66eda037b8053056effd20b389
|
||||
EBUILD aspell-da-4.2.1.ebuild 448 BLAKE2B f22e63603f965a0c36615ed3026794e6681cde537899fab08b5eebc580c0bf605aa9e50188b04cfabbd48d4d1826814e99b49b6106d0b1fdfc60961e51ae2b34 SHA512 f6fd9008a9fe2f2f684b92a438378d9e61fd8f8bfd7b3f0908630626e05178e0a1aa0081ac832855fa996630ae10191437030d879d0e814a9916544d5249e96d
|
||||
EBUILD aspell-da-4.3.ebuild 455 BLAKE2B b45a8f7744ff87e3ce796385c7fb6e1c8595a297c43665f5ae35ecaf2301ef91d4bd95e1cb0bf68cc7c3b794ff4533b1ce753c73c6e57bc8f686a8b43c15f059 SHA512 f76573283bbdb82c03b8d40201156ac2b1bb5dd581895a8f346d2b3b12dec9c4697794937391c11d16cdeb44ddba5b8b3a6a1c6388defdb358b41521a6920731
|
||||
MISC metadata.xml 428 BLAKE2B 8043c3299f3caaf1f047c1a93e6f5bb3f6baf9226987f93b8b0ede2f9da4bef1be3a8bd8d29f92bb52b747926c6f9d1025eb35a6d12e38699aa7a02aed7c6870 SHA512 2257d6a87ee1222ef0f349dd2a7982678f7d878b485de0811c185003ceb948f98984735d47b86f1ac2908e924b3363a05bd040dc9fcfee2055b530d43f8508fe
|
||||
|
@ -0,0 +1,15 @@
|
||||
# Copyright 1999-2024 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
ASPELL_LANG="Danish"
|
||||
|
||||
inherit aspell-dict-r1
|
||||
|
||||
HOMEPAGE="https://github.com/mortenivar/aspell-da"
|
||||
SRC_URI="https://github.com/mortenivar/${PN}/archive/refs/tags/${PV}.tar.gz -> ${P}.tar.gz"
|
||||
S="${WORKDIR}/${P}"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~ppc-macos"
|
Binary file not shown.
@ -1,5 +1,5 @@
|
||||
AUX padre-1.0.0-DBD-Sqlite.patch 1139 BLAKE2B e46deb29f997585e78f2316796ce2aaeb6f04b0b984f76f502e140873cdf872a42e26548dc7a1c2cbdefecad1be705fcae04b9f697e541476088fb9140a94d95 SHA512 a23818ef3bedf24a11e8e1cdf5aca8b0a3eb67123e796c0014116c51c2b2c7c55bbe50f04bc200650e3e4b34c519929478d4ff4b38b120a360d8d23438c36a4d
|
||||
AUX padre-1.0.0-utf8.patch 737 BLAKE2B 7653613de2d2ce037c74b8fe82ac39c8ceae38ce3f25f5c530c0ad5d69bb74d88c43f222c6ed8cdda64e7c77562be6a228812d46ff45452e879d51d25bc2980c SHA512 68b9d1672cda447a4841d68c914b2b4cb382d9b274d4645684000b0909a0dcc5ac1914d15924ae338848bb7309a049a33bc1b0fb3c313e92425159855921ceb0
|
||||
DIST Padre-1.00.tar.gz 1969274 BLAKE2B 2c0a982b2addaaa8c2cf994c2aeed7985779b3c9663b3022c83a67ebc4a3d0c35fa7f5e6d0f7649cf9e47c51e1a01df42a977e03366f0f2b75c76964b4bf1dde SHA512 8a2630eb54944b85ec77eaf90595fe6bb482b88ae87622b9e54973fbc1cc5f7ccf83d7b2481a9a66886310db9678569d23b18de033f7759db71ac73fd3151856
|
||||
EBUILD padre-1.0.0-r2.ebuild 2978 BLAKE2B 4ef69371c0703c8867043c2d92c6fb9347c7e8e0f857be9ff78bae80984b11ab671ecd2ee00fa399b84ddf079a3469050f27d9cc65c9c8501007fce0ed7d452c SHA512 42f6e2431c2754594373844b9d4289741e95a5865b9ef1163c694323772e04e85f6e5e607b823bd44870d900453d2c4e61f8b01c11c34b08cb2cec1bde970e67
|
||||
EBUILD padre-1.0.0-r3.ebuild 3044 BLAKE2B 7edececeacb9596ca0355605d8ccb7e3dc6275d4d0b216112e79429ffdb2a296753ba4259465ed219b1564e8c01d36713f46a96115c2239663337af37c8b0b61 SHA512 033152f5863a1ce682c25813ba3803bdec63efbb216342d43982a26386e30b46c3bbda1475da00a5c52d90883f2462e529eb6e51e47cac73fadac1511e9dba27
|
||||
MISC metadata.xml 330 BLAKE2B 6ff025e4df1870d19283f8e2098da9ac06ad6ed76d39bed9b7844a1d4db4bb26751533f8b182e1c5ceb1e743bae54f371665e9ad7445031ad3592177b4481328 SHA512 bea09eef46c3ed1a37d249fcd87b35e4c3f8532772605093ab303c2fff8591bbc176ed2d0507a9a5cabd159ed7af6407a37b720b158112d2a4930168af8654f9
|
||||
|
@ -1,5 +1,5 @@
|
||||
AUX wxhexeditor-0.24-desktop.patch 613 BLAKE2B c923a7f2782f5f88321d1f86ab75c7a4b05d167d86ece484a01b4e26fa76ad8484d19e5dbe337766ff3de6f8537263d17d810b3a5d9d62b883d5eb07238d0155 SHA512 f542918c3f42546b21bce165853f54ca166d0d8335f948c5d442eb7710d4a1f403d5dc4260b238ce6cfd692d37bad101a4fc6bc83742712ed247bf5477662685
|
||||
AUX wxhexeditor-0.24-syslibs.patch 2458 BLAKE2B 65dc8a710fb33826b5ae9a9ae2b31cdf58e58252aa4be8df37a4e18495faaaee066c95f1b527d91c71b9b38d8123cc1cac91e9e0386a67ed77b0b8e24ad43016 SHA512 658526b38bb3e3313174ac464711ccceb3606e38e6826c62b4dcb5dca79c6ef32c6d7c84e883035572431eebaf0b7e2ace154df406f2338f39aace84d9fe9403
|
||||
DIST wxHexEditor-v0.24-src.tar.xz 900868 BLAKE2B 6748249d75e7570197a6c78378a8f3109bfa4c72bf32fe63e2abd31734d97fda3d56ecddb52ac5f9a18cc77b2c727f8277688f1bf75ef8f665a3a9cefd1cb8a6 SHA512 8589da169c90cca5abf6ba957d5c5e17e4211123dbdbaf0e04d31757113e7e302d40df58144ec25d431c7c4ce2fa2721b16621d03630ac8b90478c704a8c5b09
|
||||
EBUILD wxhexeditor-0.24-r1.ebuild 837 BLAKE2B 719bdacdfc2ab3c51d4d68dd7fd561096c5792fcdb665ef0a3dd8d4802fca526be22761d6beacd4ffbb030b2227a6b8b3c1f0d139f86b6b85e5cbf5e5a7553ed SHA512 1202c3afe09a60864d237b803fa038aad3ddbb87ab09f3bb365310fdedcb7d3ae9c9b145be1fc522b7dfc87623c23376d90f1b46ad1f5283b03b32cb34af5fa8
|
||||
MISC metadata.xml 353 BLAKE2B 040e64204cc4bf89890f4c62b68edeb61d2416e4fc6e5b3bfe42117593fbfec4cea562b4f1a957630a927d3b6af82e013fa33096f3c490492c3627fd41adad40 SHA512 8ad5b1b6b9de27379ed3cfbd6d23e18bc11ad58dea8f2cdd31303c5e8b455be96fce21b797ca4c23e103ffc7017663e306cb56e40cdd635ad1977bdddbaf84dd
|
||||
EBUILD wxhexeditor-0.24-r2.ebuild 980 BLAKE2B be4ab318b97c5aee2052a90f7ed8f0efe5e97e9e6128714975296069e4c0509a5571bc2cca9b5574d0ffec960dd5714a34b5e8f72d0bdc3658b3100221ec3ce4 SHA512 f0dd672b789e9369d20e56352e760f7731a33aa892e98d5892c817ef96eb11232baa0dd755f51376761e38886ce07f840bf919659c83549826dccb0c9099d9fd
|
||||
MISC metadata.xml 410 BLAKE2B ded331534020201d32a277f16c3bca28a711ec74bf09c17b7100ed6e9f92511f60d274b2e9c291209692aa8d083a437b8e6ffb21ed7f7e6a83a5589764b2683c SHA512 d6435dcce58dfea339bc441e05fd88f60dae20bbcc8410311e81b9fca37adc715150b092d660b61a769f746e4eca66d33c9254654526152b314a1a30843639ec
|
||||
|
Binary file not shown.
@ -1,7 +1,5 @@
|
||||
AUX 50auctex-gentoo.el 157 BLAKE2B c7d59a1ff3fc08b60332f5f578841c942d1a302f9a594409b3cd6509fd254c0d8d4273061d2ec4f444ad9288b073900e4c07e9307ffe0421182e7380c4c73543 SHA512 7cfc10c95da1d920b3861eaa9950d5ddd2388af5086cb81457f084f9c094b15dae9638a8c1e9b662dedba90c2d3c33a972011b99d9e2d71d85f99003de5ebef2
|
||||
AUX 60auctex-gentoo.el 97 BLAKE2B 18cad086f4211844f8a32d0f2499d2ecf29cd41f90c9dee6cf87184f81b0ac3836a5a58705677b55f926bdeb5854aa9acd6438f42e29856acf6c6c644592e347 SHA512 2cf945ac36ad5b25afd723d04223556522ac901a469bdd47d0c7562beb985401df957acc100222df6d97f4335b6d3e8d003f6b00b86780eec0a906ff0fc2ccb4
|
||||
DIST auctex-13.2.tar.gz 1667548 BLAKE2B 51daf18185a01c7349a49cfb3484d0271dc30271c69a028dc70ec9dae998b0664ffa574160dd384c35e66d38da95af5af0c4bf73e5ea969a6166685f8e3a0b80 SHA512 98d3d0061a807e62045b648a699e23819a0288ea17f2247b18c6725c503dfd6c791384c47504376de098b5a4e62bf350227497be6bf7a007fd94df232a069129
|
||||
DIST auctex-13.3.tar.gz 1695608 BLAKE2B 3a22273b72237e14a31a1fb9d81e2c4ee10290919bc3d6f8cb35ab877ef26083c7edb5bbb7c88a40f45848012cc2edd375a90d872f604029ba8f03278bd95f9a SHA512 32d6f3c968a27dd5e7862993419bfa0f5e5228abca7478341a06fce153f333410cd230f8266e6b0e4fb5e4247864710e3f572b6a837c99c2879d38899590f678
|
||||
EBUILD auctex-13.2.ebuild 1420 BLAKE2B dd97bb9b1945b317b7e693c6f54d47ebc2f01fe9c79dfb9bf623db7f634afcdbfbd6e7daec5444531b51eebd98b6a0c4ff700160492b8840e3a8206c15840681 SHA512 9a215e7a8e5ce7de1158a786b24d7fd20562f79d89cfb3e34abc12e99a6d9727497706e0105c53af81d5806f6cb220352ddd8e8d707290fcf384f71eceea05b7
|
||||
EBUILD auctex-13.3.ebuild 1445 BLAKE2B a433494c33c9df699d913f0767b7bd8fb5353ce463d5015b0da04dfb7bf3865cd9a9151cf095c7a6db67d8b557d9ee4d06e3b6b8bbbc9205c24750214fdbec09 SHA512 b94a93f7a3d8bbd837172d0ef86df0cc51efde0db43d12fd97d8e6f45a3b3a850d28b2e000a7f5db5606a8e99b6b3ef4411f5f4303e068d5df2b2e94e7cf37b1
|
||||
MISC metadata.xml 1053 BLAKE2B 742023752a74c004325f99bbea4c0ebc31511370c53751db157bdcd68283a023c3b13ff9e647c39193f6a83a35128c1f57c2c29c8594a4698b5190a56fe96025 SHA512 da75c9a79fba45a734300f728ebcdf638cbf73c3cef85e78d7fd33e315e8a1af183615a083b4d17c95b52382ebfe07bf60690483db6fb56c3803a1e741afceaa
|
||||
|
@ -1,60 +0,0 @@
|
||||
# Copyright 1999-2024 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
inherit elisp
|
||||
|
||||
DESCRIPTION="Extensible package for writing and formatting TeX files in Emacs"
|
||||
HOMEPAGE="https://www.gnu.org/software/auctex/"
|
||||
SRC_URI="mirror://gnu/${PN}/${P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-3+ FDL-1.3+"
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64 arm ~arm64 ppc ppc64 x86 ~amd64-linux ~x86-linux ~ppc-macos"
|
||||
IUSE="preview-latex"
|
||||
|
||||
RDEPEND="virtual/latex-base
|
||||
preview-latex? (
|
||||
app-text/dvipng
|
||||
app-text/ghostscript-gpl
|
||||
)"
|
||||
BDEPEND="${RDEPEND}"
|
||||
|
||||
TEXMF="/usr/share/texmf-site"
|
||||
|
||||
src_configure() {
|
||||
econf \
|
||||
--with-emacs \
|
||||
--with-auto-dir="${EPREFIX}/var/lib/auctex" \
|
||||
--with-lispdir="${EPREFIX}${SITELISP}/${PN}" \
|
||||
--with-packagelispdir="${EPREFIX}${SITELISP}/${PN}" \
|
||||
--with-packagedatadir="${EPREFIX}${SITEETC}/${PN}" \
|
||||
--with-texmf-dir="${EPREFIX}${TEXMF}" \
|
||||
--disable-build-dir-test \
|
||||
$(use_enable preview-latex preview)
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
export VARTEXFONTS="${T}"/fonts
|
||||
emake
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake -j1 DESTDIR="${D}" install
|
||||
elisp-site-file-install "${FILESDIR}/50${PN}-gentoo.el"
|
||||
if use preview-latex; then
|
||||
elisp-site-file-install "${FILESDIR}/60${PN}-gentoo.el"
|
||||
fi
|
||||
dodoc ChangeLog* CHANGES FAQ INSTALL PROBLEMS.preview README RELEASE TODO
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
use preview-latex && texmf-update
|
||||
elisp-site-regen
|
||||
}
|
||||
|
||||
pkg_postrm() {
|
||||
use preview-latex && texmf-update
|
||||
elisp-site-regen
|
||||
}
|
@ -1,4 +1,6 @@
|
||||
AUX 50bbdb-gentoo-3.2.el 149 BLAKE2B 7db122f83411995801b658f05dcda71d8eb5382ed1d5b2216f4a74a4c45328e54f25d393cf797ca335ed4129875b1c7ddf33e95e73479528720d116ace6a6e0c SHA512 650b802917866344dc6748ec213de79d8fe31a03654f1005994020173a143a51e295407350db1ebb0ef6f240047999cd9a1630a82af13997de57ead82cdb3b08
|
||||
DIST bbdb-3.2.2b.tar.gz 199518 BLAKE2B d6eef625636689d204ed9c6c7f299380924da5b021118e70930ab3b928d547b9cbb5a1cec8d111ce52678fc44b30ee34d164f46a9c6afa98c829ba871382acef SHA512 f730b911d16484c3723f6983b94784a828173797f4732c8d8eb47d50186415e0fdfde62f4f5f5b5b6ac66b78580fcfb2a398840935400fddd5f8143831e35fe2
|
||||
DIST bbdb-3.2.2d_p20231122.tar.gz 201355 BLAKE2B 6f1abd80d580fa2bc9f5ce2a26179d54358ab156991e138e8028bec4c7e891e884f3aa938e895b3e7a5cdb7dae1548e5161c212e5b6073d8bf2c38ba76bc8029 SHA512 3d5d6a8411c14e8c8f8b60872e954c0d26e25bebb9c9148c354ea078e12a30b500ee1de026414359efca3b9fd502a0bad00c9df0549cb7c83c726d878187373d
|
||||
EBUILD bbdb-3.2.2b.ebuild 1466 BLAKE2B afe77b2a895cb0a8ea4dbc889c222c8affa7b1ed85ff9fb02044a0e4786a33f2ccebc1924de0f4b4703b684ca5dbc83da0e31ed8bbe43b1538c3962c077d5433 SHA512 78c028111460e3f1615c0f3a9089e32cc874c78a3cca006c1d503b328d95298e9a7d37aa6c36a8ecb388341f1369f94357e9a837cc68842015f7f346d5ee3f1c
|
||||
EBUILD bbdb-3.2.2d_p20231122.ebuild 1805 BLAKE2B c1d4bcf685dcadb2f25b82c6476b324c5e89fc638423f0efdc57bd802775b7ceeb1ccbf37888b2fb7679ca6fc3e2112666ecaf367317ff809cb6ba75dfe44dfe SHA512 1970c47002f990dfe312e767fd83592acb1b5a6ef4a733707db7f5ae047c20b22f56aa1218bb07369ceb811edcbe3ebbfb8235245e0a44e8d850486ef5481169
|
||||
MISC metadata.xml 888 BLAKE2B 72afc8fbf4be6831c0d832612654ecd58fa3be9843f196a0b1ff1a036dc4840aa97d435cd70dfa649031b35b2350972698ce0268e089c38a8abe741b8019dc83 SHA512 cbb62c59a3fe33f1a8d568406a5a8ca99754de4dd7bb681bdb839f07250b70d6063d1ce596e61741a1e524a4728804ccfc5951a4f897568e45e863e3e7e21ceb
|
||||
|
@ -0,0 +1,85 @@
|
||||
# Copyright 1999-2024 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
inherit elisp autotools
|
||||
|
||||
DESCRIPTION="The Insidious Big Brother Database"
|
||||
HOMEPAGE="https://savannah.nongnu.org/projects/bbdb/"
|
||||
|
||||
if [[ "${PV}" == *9999* ]] ; then
|
||||
inherit git-r3
|
||||
|
||||
EGIT_REPO_URI="https://git.savannah.nongnu.org/cgit/${PN}.git"
|
||||
else
|
||||
COMMIT="53e8ba04c47b3542db75b68f9663941daf2e6ca4"
|
||||
SRC_URI="https://git.savannah.nongnu.org/cgit/bbdb.git/snapshot/${PN}-${COMMIT}.tar.gz
|
||||
-> ${P}.tar.gz"
|
||||
S="${WORKDIR}/${PN}-${COMMIT}"
|
||||
|
||||
KEYWORDS="~alpha ~amd64 ~ia64 ~ppc ~ppc64 ~x86 ~amd64-linux ~x86-linux ~ppc-macos"
|
||||
fi
|
||||
|
||||
LICENSE="GPL-3+ FDL-1.3"
|
||||
SLOT="0"
|
||||
IUSE="doc tex vm wanderlust"
|
||||
RESTRICT="test" # bug 631700
|
||||
|
||||
RDEPEND="
|
||||
vm? ( app-emacs/vm )
|
||||
wanderlust? ( app-emacs/wanderlust )
|
||||
"
|
||||
BDEPEND="
|
||||
${RDEPEND}
|
||||
sys-apps/texinfo
|
||||
doc? ( virtual/texi2dvi )
|
||||
"
|
||||
IDEPEND="
|
||||
tex? ( virtual/latex-base )
|
||||
"
|
||||
|
||||
SITEFILE="50${PN}-gentoo-3.2.el"
|
||||
TEXMF="/usr/share/texmf-site"
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
eautoreconf
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
local -a -r econfargs=(
|
||||
--with-lispdir="${EPREFIX}${SITELISP}/${PN}"
|
||||
"$(use_with vm vm-dir "${EPREFIX}${SITELISP}/vm")"
|
||||
"$(use_with wanderlust wl-dir "${EPREFIX}${SITELISP}/wl")"
|
||||
)
|
||||
econf "${econfargs[@]}"
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
emake -C lisp
|
||||
emake -C doc info $(usev doc pdf)
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake -C lisp DESTDIR="${D}" install
|
||||
emake -C doc DESTDIR="${D}" install-info $(usev doc install-pdf)
|
||||
elisp-site-file-install "${FILESDIR}/${SITEFILE}"
|
||||
|
||||
if use tex; then
|
||||
insinto "${TEXMF}/tex/latex/${PN}"
|
||||
doins tex/bbdb.sty
|
||||
fi
|
||||
|
||||
dodoc AUTHORS ChangeLog NEWS README TODO
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
elisp-site-regen
|
||||
use tex && texconfig rehash
|
||||
}
|
||||
|
||||
pkg_postrm() {
|
||||
elisp-site-regen
|
||||
use tex && texconfig rehash
|
||||
}
|
@ -1,8 +1,6 @@
|
||||
DIST eldev-1.8.2.tar.gz 298578 BLAKE2B 579c72d61e15863a81b8a060da0c78900785a2b58f6a4825d19eebb85467ff838f2777bab05dc4ff2b04367d3fe58e4e71cbce09c4bbcc1c0ad5700cc12edc6d SHA512 c5ae360311d4b23648ecfb86e40a23abd4575480b971d86579f61b2c5a2873a9db211fe044cc33a47cb31bc215890a1c0b73c54700a92fcd1eb299a22733f71a
|
||||
DIST eldev-1.10.tar.gz 306364 BLAKE2B 82d8ef2c8c4268aa77b81cdc4344c359a92f02657b2f9e02ff43b3d8e1ffb8ebee93a6cfb906b05473e9ba86b54eeb2e274e42113049220fc3f61c7e706492e5 SHA512 d46c2091c126251b381235df76f566f06034546302ee7425c5a28d55d7d4e212d326019983267f4474e6b3170547e24fb01c9a40425a2d35cf2615aa01ea9263
|
||||
DIST eldev-1.9.1.tar.gz 301188 BLAKE2B ce57bee48dda505113df269504fdcad1847e80b2df9e3f7916d7960ee7212a7cb44165b373f0e6c54c0d04f7990f46132afdf6d64ae1b93a9433353cf5058a81 SHA512 f059f49e920ea518b23cbd0a8d49d0e86c9fdb5d759bb42d44a620b95dd7eb007e1457de904c9a5149b9c76ef7737ba2942de4cf7a6be2becb2a6152e08bea26
|
||||
DIST eldev-1.9.tar.gz 300721 BLAKE2B dac07c0f7fba1a8637ca9c2e26ebef26fefa88bc6d709a313818233e8c00e2c53acdd2ba37baba2d8e07aa49634a590790faf58edcefafe910793125d7ab7aed SHA512 c3b64cf457ffc0aaa21c34c48379736c98a94773ffd830cd9d79e840638340201f08899f09363912985f54b248130946d4ce6175891fd298548e6538ca9ee142
|
||||
EBUILD eldev-1.8.2.ebuild 1344 BLAKE2B 175e22e3b62437d6ec5af0241f1545af201338980a4fff084c6ac6d292a70bb9f7a2c442a721fbb8d61f5f8503dca53d6fa541de24980b487f5b3b8685c80365 SHA512 94c06c8a8404f0990c28e6722a046a7633c73f91c26a43cd1d40b28ac4bf9664e41afadd2d3b3dec9189a1ddc68beb520c2f07c107ef36f13439ee0c6cd2893d
|
||||
EBUILD eldev-1.10.ebuild 1367 BLAKE2B 37cc3419305ccfe35ec0b849c3b40209df863b2e1b8013d09ee2864a4f172ced1fd00171a7b6a99ff5f23ff892b0949d5fb02079540f60c1aee8fa56f87cb470 SHA512 2ace4b2f987434eafc3901c3eb0227707e9c4369c5a08982849d5d03e2363fd81d2f3bde188d43ac085d42fc49834d09ba3a9dea7ebeafd18b4e9723dd4ca231
|
||||
EBUILD eldev-1.9.1.ebuild 1366 BLAKE2B 19e99d63e8aa7749c394106d19e4290618433af425de74afb00ae3c63f0f54d7e6070629faf87184c4892fead2201466ac6934ceb2de8ae95dd65fe01f8431b5 SHA512 0d541ea5355d0888b18def31486d8658d6e261a37708994b07e04ca14d890050d00b80738104da6d7ae6ad19842b66d697622dd0ecf28e188078ec37a2db7e2d
|
||||
EBUILD eldev-1.9.ebuild 1367 BLAKE2B 37cc3419305ccfe35ec0b849c3b40209df863b2e1b8013d09ee2864a4f172ced1fd00171a7b6a99ff5f23ff892b0949d5fb02079540f60c1aee8fa56f87cb470 SHA512 2ace4b2f987434eafc3901c3eb0227707e9c4369c5a08982849d5d03e2363fd81d2f3bde188d43ac085d42fc49834d09ba3a9dea7ebeafd18b4e9723dd4ca231
|
||||
EBUILD eldev-9999.ebuild 1266 BLAKE2B da46690b2345f74c543a5cd3fd94cfd2c072cdce13da71051c2f0ecfcd3a4fd82fa3b3976a08ff34b894b32104298964122a69ae94afe8741eae9dee2acbadc1 SHA512 01c6c2232244713f9533f4ef3e7b30df221c0fa42efb9fa15adeb68664ab20b823e296fbd24b2b5b1a6973969edc3e3d932366ce68dbe66ce34a405559f3a255
|
||||
MISC metadata.xml 982 BLAKE2B db2324ced8f4bc4ba579130677175a9de7a8dc7b8d937cd902edd69a20bc897bf4ee034acb6a9400b88de82c58c2b144e62ec4ac7b75d8dc63cdf56670cacc9e SHA512 3e4d2d7ea4fbada45b4d933d7711266bcd9ffd217ee3c3e3351e9f66145785dc11449b4f09f5ffa4853d2b475db45e501848d259f80fb5aa26429acadcb6da7d
|
||||
|
@ -1,55 +0,0 @@
|
||||
# Copyright 1999-2024 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
inherit elisp
|
||||
|
||||
DESCRIPTION="Emacs Lisp Development Tool"
|
||||
HOMEPAGE="https://emacs-eldev.github.io/eldev/
|
||||
https://github.com/doublep/eldev/"
|
||||
|
||||
if [[ "${PV}" == *9999* ]] ; then
|
||||
inherit git-r3
|
||||
|
||||
EGIT_REPO_URI="https://github.com/doublep/${PN}.git"
|
||||
else
|
||||
SRC_URI="https://github.com/doublep/${PN}/archive/${PV}.tar.gz
|
||||
-> ${P}.tar.gz"
|
||||
|
||||
KEYWORDS="amd64 ~arm ~ppc64 ~riscv ~x86"
|
||||
fi
|
||||
|
||||
LICENSE="GPL-3+"
|
||||
SLOT="0"
|
||||
|
||||
ELISP_REMOVE="test/doctor.el"
|
||||
|
||||
DOCS=( README.adoc )
|
||||
SITEFILE="50${PN}-gentoo.el"
|
||||
|
||||
src_test() {
|
||||
ELDEV_LOCAL="${S}" "./bin/${PN}" test
|
||||
}
|
||||
|
||||
src_install() {
|
||||
elisp_src_install
|
||||
dobin "./bin/${PN}"
|
||||
|
||||
# NOTICE: If ELDEV_LOCAL is defined Eldev will use it
|
||||
# to load up it's components,
|
||||
# if it is not it will bootstrap itself from network
|
||||
# always check if it uses installed Emacs Lisp files.
|
||||
# Also, do not forget to run `env-update` & reopen your shell.
|
||||
# https://github.com/doublep/eldev#influential-environment-variables
|
||||
echo "ELDEV_LOCAL=${SITELISP}/${PN}" >> "${T}/99${PN}" || die
|
||||
doenvd "${T}/99${PN}"
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
elisp_pkg_postinst
|
||||
|
||||
ewarn "Remember to run \`env-update && source /etc/profile\` if you plan"
|
||||
ewarn "to use Eldev in a shell before logging out (or restarting"
|
||||
ewarn "your login manager)."
|
||||
}
|
@ -1,5 +1,5 @@
|
||||
DIST emacs-common-1.10.tar.xz 61800 BLAKE2B 9dd25f45bf0db308417a6c35d87e3b8c6a7dd2f11de57ab2e6fcf81646aa5d5b54b76a78142de0e175df3ba4dce4f404f4774cb0a0d64c41e484de4ea4da6e6a SHA512 a9a9142394261b34ba625e48eaac489f713cef52df3ca801c2445759bf27d6335b4e7162305f314203d3efcd89f6e65a635595ffc0ad6e6082b735c5f8283b82
|
||||
DIST emacs-common-1.9.tar.xz 61812 BLAKE2B 6a87dae71120c2b41a4918dc788f7baa161eb0cc2b895a39e721330a6151a888cd9d930f93ac840557d3766847a7eb5ff8907d2fdde2c897a296887c0a5cf8c2 SHA512 b2e2df57a83548aeb7f7271a7d0b9ca27086d0c0ec80b6aa354016938ece70e8d9058214e7a813ec491bd67a61df8afbe4b55081b68a109ce527ba6cdba7e891
|
||||
EBUILD emacs-common-1.10.ebuild 3123 BLAKE2B 13779140038c40f67a9c8f63fdd9778f85b35584013523734f128fbdea472f9fd5d37e849a07d33be69832ce225ed1aa65bd516c5038e52cac6f2b788365d363 SHA512 eb8339948bc1e6f4f9f4ba4a2cc57cba5478c0507aebdf8cb292fb13d46bc494bc20d6299ffbfab4cd8cc88fbf5451b3ba6ac73d363d9ca74d487d233969127d
|
||||
EBUILD emacs-common-1.10.ebuild 3115 BLAKE2B 5ef77a0c683d20aa8d8d5560913a4e0ccbc1aeebf94ea33926d4fec1c7ac7478dd62afdde92c499ab315e6be30637a762ff64ac369cb279a6cdfb0aac5d147dc SHA512 4651a4c6ac692be0eb40936006b12cf6150f53c1e4df36c8ea38aadbea14887be98f0832fa04f239f2f2560b868f700be783ad877aa68ed1025a7cd161687973
|
||||
EBUILD emacs-common-1.9.ebuild 3125 BLAKE2B 19fdf646c90ca845e2d790d04daf7b8b150ec5cef533c50149a4600412cc56b48dbb0f067925dc4fd8758fe2d29ec7326d1c9ef71799c53eb732e5206daef0de SHA512 27d46b54f3c68d8e9be53f070225f55c6f7e28500e30792df8266d95c42c76668b0524e677650668467586f7ca0ecf2eb6fed4bbfc4590f5c3393ab1592d05bf
|
||||
MISC metadata.xml 535 BLAKE2B 6c6c5bb8ce0585a2bcd37f80f6426f1e4304715f142a36d186643f9f69054fc49f889847d1d76d34537152dc9d8310a066bce1ea40b2ff7c30ee4c2dcf3b185b SHA512 0a200530dc27ea2a6ca1860d70964027d9bc748b19459639f3a946ffc4f83c965d339683a1ceb1f9cb03212a1877dc1ca51a2a1dfd1c8c9fc814aff67ad177c1
|
||||
|
@ -0,0 +1,50 @@
|
||||
# Copyright 1999-2024 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
inherit elisp readme.gentoo-r1
|
||||
|
||||
DESCRIPTION="An Emacs mode for notes and project planning"
|
||||
HOMEPAGE="https://www.orgmode.org/"
|
||||
MY_P="${PN}-release_${PV}"
|
||||
SRC_URI="https://git.savannah.gnu.org/cgit/emacs/${PN}.git/snapshot/${MY_P}.tar.gz"
|
||||
S="${WORKDIR}"/${MY_P}
|
||||
|
||||
LICENSE="GPL-3+ FDL-1.3+ CC-BY-SA-3.0 odt-schema? ( OASIS-Open )"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~ppc ~x86"
|
||||
IUSE="doc odt-schema"
|
||||
RESTRICT="test"
|
||||
|
||||
BDEPEND="doc? ( virtual/texi2dvi )"
|
||||
|
||||
SITEFILE="50${PN}-gentoo.el"
|
||||
|
||||
src_compile() {
|
||||
emake -j1 \
|
||||
ORGVERSION=${PV} \
|
||||
datadir="${EPREFIX}${SITEETC}/${PN}"
|
||||
use doc && emake -j1 pdf card
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake \
|
||||
ORGVERSION=${PV} \
|
||||
DESTDIR="${D}" \
|
||||
ETCDIRS="styles csl $(use odt-schema && echo schema)" \
|
||||
lispdir="${EPREFIX}${SITELISP}/${PN}" \
|
||||
datadir="${EPREFIX}${SITEETC}/${PN}" \
|
||||
infodir="${EPREFIX}/usr/share/info" \
|
||||
install
|
||||
|
||||
elisp-site-file-install "${FILESDIR}/${SITEFILE}"
|
||||
dodoc README.org CONTRIBUTE.org etc/ORG-NEWS
|
||||
use doc && dodoc doc/org.pdf doc/orgcard.pdf doc/orgguide.pdf
|
||||
|
||||
local DOC_CONTENTS="Org mode has a large variety of run-time dependencies,
|
||||
so you may have to install one or more additional packages.
|
||||
A non-exhaustive list of these dependencies may be found at
|
||||
<http://orgmode.org/worg/org-dependencies.html>."
|
||||
readme.gentoo_create_doc
|
||||
}
|
@ -0,0 +1,61 @@
|
||||
# Copyright 1999-2024 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
inherit elisp
|
||||
|
||||
DESCRIPTION="Yet Another TeX mode for Emacs"
|
||||
HOMEPAGE="http://www.yatex.org/"
|
||||
SRC_URI="http://www.${PN}.org/${P/-}.tar.gz"
|
||||
S="${WORKDIR}/${P/-}"
|
||||
|
||||
LICENSE="BSD-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~ppc ~ppc64 ~x86"
|
||||
IUSE="l10n_ja"
|
||||
|
||||
BDEPEND="
|
||||
l10n_ja? ( virtual/libiconv )
|
||||
"
|
||||
|
||||
PATCHES=(
|
||||
"${FILESDIR}/${PN}-1.76-direntry.patch"
|
||||
"${FILESDIR}/${PN}-1.80-texinfo-5.patch"
|
||||
"${FILESDIR}/${PN}-1.82-texinfo.patch"
|
||||
)
|
||||
|
||||
SITEFILE="50${PN}-gentoo.el"
|
||||
|
||||
src_prepare() {
|
||||
sed -i "/(help-dir/,/)))/c\ (help-dir \"${SITEETC}/${PN}\"))" "${PN}hlp.el"
|
||||
|
||||
elisp_src_prepare
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
cd docs
|
||||
makeinfo {${PN},yahtml}e.tex || die
|
||||
|
||||
if use l10n_ja; then
|
||||
iconv -f WINDOWS-31J -t UTF-8 "${PN}j.tex" > "${PN}-ja.texi" || die
|
||||
iconv -f WINDOWS-31J -t UTF-8 yahtmlj.tex > yahtml-ja.texi || die
|
||||
makeinfo {${PN},yahtml}-ja.texi || die
|
||||
fi
|
||||
}
|
||||
|
||||
src_install() {
|
||||
elisp-install "${PN}" ./*.el
|
||||
elisp-site-file-install "${FILESDIR}/${SITEFILE}"
|
||||
|
||||
insinto "${SITEETC}/${PN}"
|
||||
doins help/YATEXHLP.eng
|
||||
doinfo docs/{${PN},yahtml}.info*
|
||||
dodoc install docs/*.eng
|
||||
|
||||
if use l10n_ja; then
|
||||
doins help/YATEXHLP.jp
|
||||
doinfo docs/{${PN},yahtml}-ja.info*
|
||||
dodoc 00readme "${PN}.new" docs/{htmlqa,qanda,*.doc}
|
||||
fi
|
||||
}
|
Binary file not shown.
@ -1,21 +1,13 @@
|
||||
AUX dxvk-1.10.3-gcc13.patch 398 BLAKE2B 48b1f18b8368a7dccdd479df8c37b6667fe918f4c47846e0c9e7bb5f04746fbb773decabd905a4877e1bea42ab9af88d042f667272969e0bda7d44f215d78938 SHA512 e3b84263641c3abb34c31721b29eaa314f02bbd15e1ee5b3e3cefd51f57f9123b2cbb32174ed1806dcb03994ee3db8df3282d5f4791d8f1188c09f7c55cbf113
|
||||
AUX dxvk-1.10.3-wow64-setup.patch 579 BLAKE2B bebc84f2cdcc32da5cd55db4041a26dd469175932536c02dc1049c95a259e6ab3a59dde507b04c8a29055ac0d8c2c96c2732efa81b5bf5b13c54300732e3d3a4 SHA512 1364feec383902e81a855929273126d519b0033064482a0662eda92569657b1a932bd8bd2584395a746bf14e443d9a9c2d75bf484bbb80654536a6c315ffa5dc
|
||||
AUX dxvk-2.3.1-gcc14.patch 167 BLAKE2B 3a52e5c02c145dd8732993f540db239ba8d9ef7b3d5546b90b1f64530700f7498e435a0acd0f9faee36138038f9aa374ec2fcf3e154be175892ce4d16b9ae2c5 SHA512 c3c2c16b0adcfbfff23a81c9bca02cc03954536366797688c5cce9e2a0b7dd14a904950e9b4e25a95e10da2a72044c1d6d214831fa639a4705cad46b9a282757
|
||||
DIST dxvk-1.10.3.tar.gz 1204407 BLAKE2B 3507ffe4abf9c45f2a138b05e7cf706322a6bf3d2e9ae86a9d6216b206c09f79eac696ee7dfe33d0bef55e727f51301c36eb89bfa3b3f429d7d5fafc1eebdcb4 SHA512 8995b231b3f3650beda04c01f30186d10a373075a4774b4ecbfb3bbeb4de99c57555f1db0611e5c61c6a411a7215e0faf228f9861f6b7adae6fc365e8056f7e3
|
||||
DIST dxvk-2.2.tar.gz 976671 BLAKE2B 537fb8d8adb69562f8e759c6f68e5ed38a62e6ebcf05d7ed1ea32fef518af30cd53d3ffec0e3dba175d449d80de980585f91bfcf8c3904a08385b17b55b9b63b SHA512 02d066093855c3ecae7123fcaeaa32212e03fcda9556c5b70ff23eadc07240199003b8e4673f5b492487fa6e240d70a36f5b4e60b0f389f422cf4474b7197e2f
|
||||
DIST dxvk-2.3.1.tar.gz 1005669 BLAKE2B d78448fcde9d600f7206dfa606fca4069e7563bb8b181fbc172691d6c45586904ae529550926a03612ed3cc1f2a2dff00990638125c1d7ce6179d3cd3ba8df04 SHA512 085567ac263872eb93d776ce7cf982690603e240a977dbb51ad69344af387fd745536ca62819afd4a809732a6f2d22b36c3df9538decf37dec527973d41e392f
|
||||
DIST dxvk-2.3.tar.gz 996736 BLAKE2B 55944472726e1d946b84cec386267bb65511c83a18647076b5d76c78d552ad2e4710a125c3e1a9f1c0c65b8de43a122c61aec5873ec0d566a20a1f4a9088f461 SHA512 d60421f6b93e09fb18d7f92f636bb228ec5d9ab6a90ca73e1e3c240c50ad35a90ac25fce1ac3f0a940c4da8e92e1c4267a2c602eaa78ff64db12507cc4d08173
|
||||
DIST dxvk-libdisplay-info-275e6459c7.tar.bz2 81172 BLAKE2B 7a1e9e2feeb95e06e9d3f49ad9d14a8a152cca525085e819cda0b69c238fb79dddd6d547cd0f0a4b51dfc1ec74ac4c006345b9fc48563807bc8ab3bab58ea5ff SHA512 794e94e8c16d65901a7b705d1ba3361817b4e9e19e520b1004bcab232d0347f5713594d67f3c2b79d4f86b3012e710c648975547d27a63de043fcbe9e6b7e66d
|
||||
DIST dxvk-libdisplay-info-d39344f466.tar.bz2 81232 BLAKE2B af76ccd3c40bc953008bc30d222c72f90bdc77f47f767b6e7423efaa0ec89d746396a755160b5470e219a15a0aa392be6066aab12921b45a1adb35d88132cd97 SHA512 79b4bf325cefc39bc587233bd82ff64c927ca5f829b8172d213c3d47af725c8dc7fe33576a8e96a869075ee2a8f00d165f3aa9e6c472e862a47e5c800b2b3315
|
||||
DIST dxvk-spirv-headers-0bcc624926.tar.gz 437771 BLAKE2B 08815e36ad99b84777e38ad0c5616b6608a552f993e7f67433f2b8e20de81e9bce41420ac5998f5b67bca70a92ce70aed91b238990bd431c7b97070dfb0c5a60 SHA512 5995cf75d5605d41e9643bca81c195ef5aaa17d596e0282807f6fa8f8c494f7b63a41d611c535ae43dc3d609436aabef1e0d89626f37e6f20bad17b5e122e32c
|
||||
DIST dxvk-vulkan-headers-85c2334e92.tar.gz 2046570 BLAKE2B 8e7f917d440793d85afae9227514fd97ae6cab6ece53abc54320808c10ddbc84a5421663f6b7549c98fbe8b8144a3c5b8bea73d39e6c99a289c5b0baadf3abd8 SHA512 eb7bcec11fb4e7302411c30501e72d567f481a14098ece9c54c023fe4644298f1c14268ef240cfe73ddb75f9817946513cc2218e34b706ea0be5e94ecbed0f91
|
||||
DIST dxvk-vulkan-headers-98f440ce68.tar.gz 1691979 BLAKE2B bf6fd288f16df7adcb5cebeb6e13713db1c26a0b833dead2fb522227861abc60b2d0cda8e3f46f8e89cccb629e01081ba27763989ad6fd336c60a475b198c1c8 SHA512 69238d37d0af0162e0fd68094cd2fa9baa320497d34a9de491dea086c23291d0815b51e89218b1f0ee2b3314cbc8ac1809d6edb15ca51fcb282fe1e2b39a1a77
|
||||
DIST libdisplay-info-275e6459c7ab1ddd4b125f28d0440716e4888078.tar.bz2 81172 BLAKE2B 7a1e9e2feeb95e06e9d3f49ad9d14a8a152cca525085e819cda0b69c238fb79dddd6d547cd0f0a4b51dfc1ec74ac4c006345b9fc48563807bc8ab3bab58ea5ff SHA512 794e94e8c16d65901a7b705d1ba3361817b4e9e19e520b1004bcab232d0347f5713594d67f3c2b79d4f86b3012e710c648975547d27a63de043fcbe9e6b7e66d
|
||||
DIST setup_dxvk.sh 4631 BLAKE2B 25270e1f6dfd446b1d124eac3bd19da8bc770527d02d987949fc3ae0bead07866dafa25f77a90b9a408413a724354a29a4a156ff5c9dc75e26b66e079824ec86 SHA512 257fd84e29a7037f04a1a2a506502c71d527af58f8c84d8c3dfb64597ebdc41c3dca362eaf20ab4bc1982b76428c1f843815d56a6e1369d072e0009e270cb121
|
||||
DIST spirv-headers-8b246ff75c6615ba4532fe4fde20f1be090c3764.tar.gz 472513 BLAKE2B f1ad7e11c306c62509655eb41d74efc5fb88688780d006c6944844e964b339baa000f70e115c4df2947e882c9ac33186e301b31138c38fe5f997f7af7260f521 SHA512 fe1d9d70b217b194c92dd397bca386ce8452bc5ec3967d64a257b3a531386fe6a6ecb5e9ed8ab5bc5a2707c5378f02f05809d6d197dcfb3f87cd33304c3b1959
|
||||
DIST vulkan-headers-46dc0f6e514f5730784bb2cac2a7c731636839e8.tar.gz 2255426 BLAKE2B efaf09df3274586c4df2bdd0b1dd9dd43b3b6125e0033ae87af999aea64709e9758bc7b675398b480ae063e28273732d768062d97f6cd61d63ccc798ca7410a5 SHA512 7ea993f7c8ff72dc6bedbfdaced29782ab372228e9111f747d931955e832a7920114f5d1953ecd34d220634a53449ca2ed4c0ed28d3165e258c4d9fafd0aa4be
|
||||
EBUILD dxvk-1.10.3-r1.ebuild 4988 BLAKE2B c1a07a25db7117285e6d0ba5bddcc5b9690b9171bf1c887547f6a9e9804bc3366b325859ac4f4d439b702ea38e96c51b5067cc21c354bd98a324430a2166b527 SHA512 8566dad60c3a8cc4e996bd8d1430ad7a62db5eae2860b635a998ea7c87c7f8a9fd2f268b1f736d27addbb3c408dac6ffb7f3993a02fb16d42b9c238f2692a945
|
||||
EBUILD dxvk-2.2-r1.ebuild 6586 BLAKE2B 7d4d75ad7d488a505a8d171df94e68442006a1f11070d3a3b932af1e639ec9d1694513f2c56a2084e1c5fdfce6ccecc09bb6f68a68efee4cdf4b015d43f5244e SHA512 3b1559fe19f983566203073d51d7c31cb821240f17f64f755c38b3bc7c97014c35b6b8574633f7096a35921234b14471928ee6fc4312094a88df2d50cc574188
|
||||
EBUILD dxvk-2.3.1-r1.ebuild 6628 BLAKE2B 6fcd0155b5a11000473d1405dc9ca0bffa074ab4b8dafd939c3699d8b5f39f531258a30778aa484e2feb65213278f37d03cb62347766ae200754db229932b87d SHA512 788ae1680e206ab956a09fc113095e19cef6ff2c441fc7631b7b1c214b2042edb592d3e7ffb63d174ca959ded7887a062de85e454e81008eba9db3bb420b40a8
|
||||
EBUILD dxvk-2.3.ebuild 6586 BLAKE2B 2d47d4e67b6077591f70998f08213cc58d9643f9b2b94eef6a3856fbbc38bbeafc9789bace6df1130ef91eb40e0e489a165ace1755f700644d5849515e034d90 SHA512 2147b8824e0a97ed7718769ed6a6fe0410a21ced0b02f368916dcb9c50d5a90972ab3a53ef56e6b892c244e900acaeb230ab331c0bfa8dc04df7b748f9aa4b5c
|
||||
EBUILD dxvk-9999.ebuild 6510 BLAKE2B b1a9aa080bc3d5248f79dada103bb2a95e2819dbe2cbd95f5d12491d5d042ad34199117181aee8f47fc50b1a24a217de6f5c09c78c4d76d29ddfdfe1a803067a SHA512 3896cfde2164f297a99cba69f7ea3bad3a068b53f88a944ad94421e571431ed900c85ec052a43b4ee912c7c7ba09157cab80cf92076a416f0c888076056e6232
|
||||
EBUILD dxvk-2.3.1-r1.ebuild 6667 BLAKE2B 95e1fae36421057feeaa3074dd7d366f27ba52dfd11ff418f26a162d6897abfed003a2da3c6babced0245af59935a96ff879b21dd5d31d629cc38514199e1a12 SHA512 2c2f5e4655b07abe4fa5d59aa52c7680eb45bbced21b5cc2e5e564690e20ddb2aec4081db12316594762b99a3df3cf861f7619b0679af7901ac856cd1933ac4b
|
||||
EBUILD dxvk-9999.ebuild 6549 BLAKE2B 74770ccd2d92d397c94ce43096a778b9703a40909175a56ee7257e0c124559692fde5405cc90466f0ebd31feae7daab8e2a30c177831796a0df31f21173ff315 SHA512 475805c56371a98c86b17e3403de24f67554d2360e9a9b9251c5a8371743406d4708e6d1647eaf78a764efa2eb6c0f38954cc2cee7da39205ebef3db00466170
|
||||
MISC metadata.xml 818 BLAKE2B 88081c074b99329c925174de4b7ff9b2c220ffc67eb64a5324f4eaf2a35f98f06c9978ddc0e929ba76b341a389a8eff025b7aa0a2414e3f7ae496c44a023c65c SHA512 90d76ac3df3abe003371cd25b9cf0e6570a53b371349fb2e048cae1818e51f0482e17b3d5490eb82c57d891bb43c4a7cd41530101b888591719c33c566788e3b
|
||||
|
@ -1,186 +0,0 @@
|
||||
# Copyright 2022-2024 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
PYTHON_COMPAT=( python3_{10..12} )
|
||||
MULTILIB_ABIS="amd64 x86" # allow usage on /no-multilib/
|
||||
MULTILIB_COMPAT=( abi_x86_{32,64} )
|
||||
inherit flag-o-matic meson-multilib python-any-r1
|
||||
|
||||
if [[ ${PV} == 9999 ]]; then
|
||||
inherit git-r3
|
||||
EGIT_REPO_URI="https://github.com/doitsujin/dxvk.git"
|
||||
EGIT_SUBMODULES=(
|
||||
# picky about headers and is cross-compiled making -I/usr/include troublesome
|
||||
include/{spirv,vulkan}
|
||||
subprojects/libdisplay-info
|
||||
)
|
||||
else
|
||||
HASH_SPIRV=0bcc624926a25a2a273d07877fd25a6ff5ba1cfb
|
||||
HASH_VULKAN=98f440ce6868c94f5ec6e198cc1adda4760e8849
|
||||
HASH_DISPLAYINFO=d39344f466caae0495ebac4d49b03a886d83ba3a
|
||||
SRC_URI="
|
||||
https://github.com/doitsujin/dxvk/archive/refs/tags/v${PV}.tar.gz
|
||||
-> ${P}.tar.gz
|
||||
https://github.com/KhronosGroup/SPIRV-Headers/archive/${HASH_SPIRV}.tar.gz
|
||||
-> ${PN}-spirv-headers-${HASH_SPIRV::10}.tar.gz
|
||||
https://github.com/KhronosGroup/Vulkan-Headers/archive/${HASH_VULKAN}.tar.gz
|
||||
-> ${PN}-vulkan-headers-${HASH_VULKAN::10}.tar.gz
|
||||
https://gitlab.freedesktop.org/JoshuaAshton/libdisplay-info/-/archive/${HASH_DISPLAYINFO}/${PN}-libdisplay-info-${HASH_DISPLAYINFO::10}.tar.bz2"
|
||||
KEYWORDS="-* amd64 x86"
|
||||
fi
|
||||
|
||||
DESCRIPTION="Vulkan-based implementation of D3D9, D3D10 and D3D11 for Linux / Wine"
|
||||
HOMEPAGE="https://github.com/doitsujin/dxvk/"
|
||||
|
||||
# setup_dxvk.sh is no longer provided, fetch old until a better solution
|
||||
SRC_URI+=" https://raw.githubusercontent.com/doitsujin/dxvk/cd21cd7fa3b0df3e0819e21ca700b7627a838d69/setup_dxvk.sh"
|
||||
|
||||
LICENSE="ZLIB Apache-2.0 MIT"
|
||||
SLOT="0"
|
||||
IUSE="+abi_x86_32 crossdev-mingw +d3d9 +d3d10 +d3d11 debug +dxgi"
|
||||
REQUIRED_USE="
|
||||
|| ( d3d9 d3d10 d3d11 dxgi )
|
||||
d3d10? ( d3d11 )
|
||||
d3d11? ( dxgi )"
|
||||
|
||||
BDEPEND="
|
||||
${PYTHON_DEPS}
|
||||
dev-util/glslang
|
||||
!crossdev-mingw? ( dev-util/mingw64-toolchain[${MULTILIB_USEDEP}] )"
|
||||
|
||||
PATCHES=(
|
||||
"${FILESDIR}"/${PN}-1.10.3-wow64-setup.patch
|
||||
)
|
||||
|
||||
pkg_pretend() {
|
||||
[[ ${MERGE_TYPE} == binary ]] && return
|
||||
|
||||
if use crossdev-mingw && [[ ! -v MINGW_BYPASS ]]; then
|
||||
local tool=-w64-mingw32-g++
|
||||
for tool in $(usev abi_x86_64 x86_64${tool}) $(usev abi_x86_32 i686${tool}); do
|
||||
if ! type -P ${tool} >/dev/null; then
|
||||
eerror "With USE=crossdev-mingw, it is necessary to setup the mingw toolchain."
|
||||
eerror "For instructions, please see: https://wiki.gentoo.org/wiki/Mingw"
|
||||
use abi_x86_32 && use abi_x86_64 &&
|
||||
eerror "Also, with USE=abi_x86_32, will need both i686 and x86_64 toolchains."
|
||||
die "USE=crossdev-mingw is set but ${tool} was not found"
|
||||
elif [[ ! $(LC_ALL=C ${tool} -v 2>&1) =~ "Thread model: posix" ]]; then
|
||||
eerror "${PN} requires GCC to be built with --enable-threads=posix"
|
||||
eerror "Please see: https://wiki.gentoo.org/wiki/Mingw#POSIX_threads_for_Windows"
|
||||
die "USE=crossdev-mingw is set but ${tool} does not use POSIX threads"
|
||||
fi
|
||||
done
|
||||
fi
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
if [[ ${PV} != 9999 ]]; then
|
||||
rmdir include/{spirv,vulkan} subprojects/libdisplay-info || die
|
||||
mv ../SPIRV-Headers-${HASH_SPIRV} include/spirv || die
|
||||
mv ../Vulkan-Headers-${HASH_VULKAN} include/vulkan || die
|
||||
mv ../libdisplay-info-${HASH_DISPLAYINFO} subprojects/libdisplay-info || die
|
||||
fi
|
||||
cp -- "${DISTDIR}"/setup_dxvk.sh . || die
|
||||
|
||||
default
|
||||
|
||||
sed -i "/^basedir=/s|=.*|=${EPREFIX}/usr/lib/${PN}|" setup_dxvk.sh || die
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
use crossdev-mingw || PATH=${BROOT}/usr/lib/mingw64-toolchain/bin:${PATH}
|
||||
|
||||
# random segfaults been reported with LTO in some games, filter as
|
||||
# a safety (note that optimizing this further won't really help
|
||||
# performance, GPU does the actual work)
|
||||
filter-lto
|
||||
|
||||
# -mavx with mingw-gcc has a history of obscure issues and
|
||||
# disabling is seen as safer, e.g. `WINEARCH=win32 winecfg`
|
||||
# crashes with -march=skylake >=wine-8.10, similar issues with
|
||||
# znver4: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110273
|
||||
append-flags -mno-avx
|
||||
|
||||
if [[ ${CHOST} != *-mingw* ]]; then
|
||||
if [[ ! -v MINGW_BYPASS ]]; then
|
||||
unset AR CC CXX RC STRIP
|
||||
filter-flags '-fuse-ld=*'
|
||||
filter-flags '-mfunction-return=thunk*' #878849
|
||||
|
||||
# some bashrc-mv users tend to do CFLAGS="${LDFLAGS}" and then
|
||||
# strip-unsupported-flags miss these during compile-only tests
|
||||
# (primarily done for 23.0 profiles' -z, not full coverage)
|
||||
filter-flags '-Wl,-z,*' #928038
|
||||
fi
|
||||
|
||||
CHOST_amd64=x86_64-w64-mingw32
|
||||
CHOST_x86=i686-w64-mingw32
|
||||
CHOST=$(usex x86 ${CHOST_x86} ${CHOST_amd64})
|
||||
|
||||
strip-unsupported-flags
|
||||
fi
|
||||
|
||||
multilib-minimal_src_configure
|
||||
}
|
||||
|
||||
multilib_src_configure() {
|
||||
# multilib's ${CHOST_amd64}-gcc -m32 is unusable with crossdev,
|
||||
# unset again so meson eclass will set ${CHOST}-gcc + others
|
||||
use crossdev-mingw && [[ ! -v MINGW_BYPASS ]] && unset AR CC CXX RC STRIP
|
||||
|
||||
local emesonargs=(
|
||||
--prefix="${EPREFIX}"/usr/lib/${PN}
|
||||
--{bin,lib}dir=x${MULTILIB_ABI_FLAG: -2}
|
||||
$(meson_use {,enable_}d3d9)
|
||||
$(meson_use {,enable_}d3d10)
|
||||
$(meson_use {,enable_}d3d11)
|
||||
$(meson_use {,enable_}dxgi)
|
||||
$(usev !debug --strip) # portage won't strip .dll, so allow it here
|
||||
)
|
||||
|
||||
meson_src_configure
|
||||
}
|
||||
|
||||
multilib_src_install_all() {
|
||||
dobin setup_dxvk.sh
|
||||
dodoc README.md dxvk.conf
|
||||
|
||||
find "${ED}" -type f -name '*.a' -delete || die
|
||||
}
|
||||
|
||||
pkg_preinst() {
|
||||
[[ -e ${EROOT}/usr/$(get_libdir)/dxvk/d3d11.dll ]] && DXVK_HAD_OVERLAY=
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
if [[ ! ${REPLACING_VERSIONS} ]]; then
|
||||
elog "To enable ${PN} on a wine prefix, you can run the following command:"
|
||||
elog
|
||||
elog " WINEPREFIX=/path/to/prefix setup_dxvk.sh install --symlink"
|
||||
elog
|
||||
elog "See ${EROOT}/usr/share/doc/${PF}/README.md* for details."
|
||||
elog "Note: setup_dxvk.sh is unofficially temporarily provided as it was"
|
||||
elog "removed upstream, handling may change in the future."
|
||||
elif [[ -v DXVK_HAD_OVERLAY ]]; then
|
||||
# temporary warning until this version is more widely used
|
||||
elog "Gentoo's main repo ebuild for ${PN} uses different paths than most overlays."
|
||||
elog "If you were using symbolic links in wine prefixes it may be necessary to"
|
||||
elog "refresh them by re-running the command:"
|
||||
elog
|
||||
elog " WINEPREFIX=/path/to/prefix setup_dxvk.sh install --symlink"
|
||||
elog
|
||||
elog "Also, if you were using /etc/${PN}.conf, ${PN} is no longer patched to load"
|
||||
elog "it. See ${EROOT}/usr/share/doc/${PF}/README.md* for handling configs."
|
||||
fi
|
||||
|
||||
if [[ ! ${REPLACING_VERSIONS##* } ]] ||
|
||||
ver_test ${REPLACING_VERSIONS##* } -lt 2.0
|
||||
then
|
||||
elog
|
||||
elog ">=${PN}-2.0 requires drivers and Wine to support vulkan-1.3, meaning:"
|
||||
elog ">=wine-*-7.1 (or >=wine-proton-7.0), and >=mesa-22.0 (or >=nvidia-drivers-510)"
|
||||
elog "For details, see: https://github.com/doitsujin/dxvk/wiki/Driver-support"
|
||||
fi
|
||||
}
|
@ -1,186 +0,0 @@
|
||||
# Copyright 2022-2024 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
PYTHON_COMPAT=( python3_{10..12} )
|
||||
MULTILIB_ABIS="amd64 x86" # allow usage on /no-multilib/
|
||||
MULTILIB_COMPAT=( abi_x86_{32,64} )
|
||||
inherit flag-o-matic meson-multilib python-any-r1
|
||||
|
||||
if [[ ${PV} == 9999 ]]; then
|
||||
inherit git-r3
|
||||
EGIT_REPO_URI="https://github.com/doitsujin/dxvk.git"
|
||||
EGIT_SUBMODULES=(
|
||||
# picky about headers and is cross-compiled making -I/usr/include troublesome
|
||||
include/{spirv,vulkan}
|
||||
subprojects/libdisplay-info
|
||||
)
|
||||
else
|
||||
HASH_SPIRV=0bcc624926a25a2a273d07877fd25a6ff5ba1cfb
|
||||
HASH_VULKAN=85c2334e92e215cce34e8e0ed8b2dce4700f4a50
|
||||
HASH_DISPLAYINFO=275e6459c7ab1ddd4b125f28d0440716e4888078
|
||||
SRC_URI="
|
||||
https://github.com/doitsujin/dxvk/archive/refs/tags/v${PV}.tar.gz
|
||||
-> ${P}.tar.gz
|
||||
https://github.com/KhronosGroup/SPIRV-Headers/archive/${HASH_SPIRV}.tar.gz
|
||||
-> ${PN}-spirv-headers-${HASH_SPIRV::10}.tar.gz
|
||||
https://github.com/KhronosGroup/Vulkan-Headers/archive/${HASH_VULKAN}.tar.gz
|
||||
-> ${PN}-vulkan-headers-${HASH_VULKAN::10}.tar.gz
|
||||
https://gitlab.freedesktop.org/JoshuaAshton/libdisplay-info/-/archive/${HASH_DISPLAYINFO}/${PN}-libdisplay-info-${HASH_DISPLAYINFO::10}.tar.bz2"
|
||||
KEYWORDS="-* amd64 x86"
|
||||
fi
|
||||
|
||||
DESCRIPTION="Vulkan-based implementation of D3D9, D3D10 and D3D11 for Linux / Wine"
|
||||
HOMEPAGE="https://github.com/doitsujin/dxvk/"
|
||||
|
||||
# setup_dxvk.sh is no longer provided, fetch old until a better solution
|
||||
SRC_URI+=" https://raw.githubusercontent.com/doitsujin/dxvk/cd21cd7fa3b0df3e0819e21ca700b7627a838d69/setup_dxvk.sh"
|
||||
|
||||
LICENSE="ZLIB Apache-2.0 MIT"
|
||||
SLOT="0"
|
||||
IUSE="+abi_x86_32 crossdev-mingw +d3d9 +d3d10 +d3d11 +dxgi +strip"
|
||||
REQUIRED_USE="
|
||||
|| ( d3d9 d3d10 d3d11 dxgi )
|
||||
d3d10? ( d3d11 )
|
||||
d3d11? ( dxgi )"
|
||||
|
||||
BDEPEND="
|
||||
${PYTHON_DEPS}
|
||||
dev-util/glslang
|
||||
!crossdev-mingw? ( dev-util/mingw64-toolchain[${MULTILIB_USEDEP}] )"
|
||||
|
||||
PATCHES=(
|
||||
"${FILESDIR}"/${PN}-1.10.3-wow64-setup.patch
|
||||
)
|
||||
|
||||
pkg_pretend() {
|
||||
[[ ${MERGE_TYPE} == binary ]] && return
|
||||
|
||||
if use crossdev-mingw && [[ ! -v MINGW_BYPASS ]]; then
|
||||
local tool=-w64-mingw32-g++
|
||||
for tool in $(usev abi_x86_64 x86_64${tool}) $(usev abi_x86_32 i686${tool}); do
|
||||
if ! type -P ${tool} >/dev/null; then
|
||||
eerror "With USE=crossdev-mingw, it is necessary to setup the mingw toolchain."
|
||||
eerror "For instructions, please see: https://wiki.gentoo.org/wiki/Mingw"
|
||||
use abi_x86_32 && use abi_x86_64 &&
|
||||
eerror "Also, with USE=abi_x86_32, will need both i686 and x86_64 toolchains."
|
||||
die "USE=crossdev-mingw is set but ${tool} was not found"
|
||||
elif [[ ! $(LC_ALL=C ${tool} -v 2>&1) =~ "Thread model: posix" ]]; then
|
||||
eerror "${PN} requires GCC to be built with --enable-threads=posix"
|
||||
eerror "Please see: https://wiki.gentoo.org/wiki/Mingw#POSIX_threads_for_Windows"
|
||||
die "USE=crossdev-mingw is set but ${tool} does not use POSIX threads"
|
||||
fi
|
||||
done
|
||||
fi
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
if [[ ${PV} != 9999 ]]; then
|
||||
rmdir include/{spirv,vulkan} subprojects/libdisplay-info || die
|
||||
mv ../SPIRV-Headers-${HASH_SPIRV} include/spirv || die
|
||||
mv ../Vulkan-Headers-${HASH_VULKAN} include/vulkan || die
|
||||
mv ../libdisplay-info-${HASH_DISPLAYINFO} subprojects/libdisplay-info || die
|
||||
fi
|
||||
cp -- "${DISTDIR}"/setup_dxvk.sh . || die
|
||||
|
||||
default
|
||||
|
||||
sed -i "/^basedir=/s|=.*|=${EPREFIX}/usr/lib/${PN}|" setup_dxvk.sh || die
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
use crossdev-mingw || PATH=${BROOT}/usr/lib/mingw64-toolchain/bin:${PATH}
|
||||
|
||||
# random segfaults been reported with LTO in some games, filter as
|
||||
# a safety (note that optimizing this further won't really help
|
||||
# performance, GPU does the actual work)
|
||||
filter-lto
|
||||
|
||||
# -mavx with mingw-gcc has a history of obscure issues and
|
||||
# disabling is seen as safer, e.g. `WINEARCH=win32 winecfg`
|
||||
# crashes with -march=skylake >=wine-8.10, similar issues with
|
||||
# znver4: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110273
|
||||
append-flags -mno-avx
|
||||
|
||||
if [[ ${CHOST} != *-mingw* ]]; then
|
||||
if [[ ! -v MINGW_BYPASS ]]; then
|
||||
unset AR CC CXX RC STRIP
|
||||
filter-flags '-fuse-ld=*'
|
||||
filter-flags '-mfunction-return=thunk*' #878849
|
||||
|
||||
# some bashrc-mv users tend to do CFLAGS="${LDFLAGS}" and then
|
||||
# strip-unsupported-flags miss these during compile-only tests
|
||||
# (primarily done for 23.0 profiles' -z, not full coverage)
|
||||
filter-flags '-Wl,-z,*' #928038
|
||||
fi
|
||||
|
||||
CHOST_amd64=x86_64-w64-mingw32
|
||||
CHOST_x86=i686-w64-mingw32
|
||||
CHOST=$(usex x86 ${CHOST_x86} ${CHOST_amd64})
|
||||
|
||||
strip-unsupported-flags
|
||||
fi
|
||||
|
||||
multilib-minimal_src_configure
|
||||
}
|
||||
|
||||
multilib_src_configure() {
|
||||
# multilib's ${CHOST_amd64}-gcc -m32 is unusable with crossdev,
|
||||
# unset again so meson eclass will set ${CHOST}-gcc + others
|
||||
use crossdev-mingw && [[ ! -v MINGW_BYPASS ]] && unset AR CC CXX RC STRIP
|
||||
|
||||
local emesonargs=(
|
||||
--prefix="${EPREFIX}"/usr/lib/${PN}
|
||||
--{bin,lib}dir=x${MULTILIB_ABI_FLAG: -2}
|
||||
$(meson_use {,enable_}d3d9)
|
||||
$(meson_use {,enable_}d3d10)
|
||||
$(meson_use {,enable_}d3d11)
|
||||
$(meson_use {,enable_}dxgi)
|
||||
$(usev strip --strip) # portage won't strip .dll, so allow it here
|
||||
)
|
||||
|
||||
meson_src_configure
|
||||
}
|
||||
|
||||
multilib_src_install_all() {
|
||||
dobin setup_dxvk.sh
|
||||
dodoc README.md dxvk.conf
|
||||
|
||||
find "${ED}" -type f -name '*.a' -delete || die
|
||||
}
|
||||
|
||||
pkg_preinst() {
|
||||
[[ -e ${EROOT}/usr/$(get_libdir)/dxvk/d3d11.dll ]] && DXVK_HAD_OVERLAY=
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
if [[ ! ${REPLACING_VERSIONS} ]]; then
|
||||
elog "To enable ${PN} on a wine prefix, you can run the following command:"
|
||||
elog
|
||||
elog " WINEPREFIX=/path/to/prefix setup_dxvk.sh install --symlink"
|
||||
elog
|
||||
elog "See ${EROOT}/usr/share/doc/${PF}/README.md* for details."
|
||||
elog "Note: setup_dxvk.sh is unofficially temporarily provided as it was"
|
||||
elog "removed upstream, handling may change in the future."
|
||||
elif [[ -v DXVK_HAD_OVERLAY ]]; then
|
||||
# temporary warning until this version is more widely used
|
||||
elog "Gentoo's main repo ebuild for ${PN} uses different paths than most overlays."
|
||||
elog "If you were using symbolic links in wine prefixes it may be necessary to"
|
||||
elog "refresh them by re-running the command:"
|
||||
elog
|
||||
elog " WINEPREFIX=/path/to/prefix setup_dxvk.sh install --symlink"
|
||||
elog
|
||||
elog "Also, if you were using /etc/${PN}.conf, ${PN} is no longer patched to load"
|
||||
elog "it. See ${EROOT}/usr/share/doc/${PF}/README.md* for handling configs."
|
||||
fi
|
||||
|
||||
if [[ ! ${REPLACING_VERSIONS##* } ]] ||
|
||||
ver_test ${REPLACING_VERSIONS##* } -lt 2.0
|
||||
then
|
||||
elog
|
||||
elog ">=${PN}-2.0 requires drivers and Wine to support vulkan-1.3, meaning:"
|
||||
elog ">=wine-*-7.1 (or >=wine-proton-7.0), and >=mesa-22.0 (or >=nvidia-drivers-510)"
|
||||
elog "For details, see: https://github.com/doitsujin/dxvk/wiki/Driver-support"
|
||||
fi
|
||||
}
|
@ -0,0 +1,7 @@
|
||||
for std::remove_if
|
||||
--- a/src/d3d9/d3d9_mem.cpp
|
||||
+++ b/src/d3d9/d3d9_mem.cpp
|
||||
@@ -5,2 +5,3 @@
|
||||
#include "../util/util_likely.h"
|
||||
+#include <algorithm>
|
||||
#include <utility>
|
@ -1,3 +1,3 @@
|
||||
DIST qtrvsim-0.9.7.tar.gz 1421805 BLAKE2B 9128dbe513860eafd01e0f37a99547797d385b57a404e06aea310404012e66e6be802920cdea62acb914d355fc842cd3759fc794d2cd417257b941f9ec62fbec SHA512 0d53e21681630cbf97db472472bd96dfe4914e0d275a1094cb18a7f0372cef23b0dea3c33092b6ab6d2403737070ef0b6f2b1f5d9d35eea8923b24a80ac6adfe
|
||||
EBUILD qtrvsim-0.9.7.ebuild 504 BLAKE2B 209df140832a50bf7c7850bd281919064b8fda8a0f68455801fd4bd8b4746c83fd451e372037874dcf34914187a7073a9bd6d6a5ecefed06d88dd7addcca455e SHA512 fcacb079387d05edd43edde6edb0ccde9c32e34e3bec22cc3b92cd5aa87c0ea558e27a385b18cc24ed258a8b481b8520b2c3f8c6b6d76910d3d74adb39eafa4e
|
||||
EBUILD qtrvsim-0.9.7.ebuild 503 BLAKE2B 6d410a39d6233669a391c14fa854c1ca0bc5c1ac9454600d7eb0380465bcfa3048c24d81294bfbc9a2b366a447ae71d45b5c4a7201cfd35c4ff4e3f2db40b812 SHA512 1622a493e4ba9c9ce0d0579c6b0672b3abb576519e154836514abec1a1c244f35c4535d129dbec968a367b649da89f50eb8ea4e102a927e8b71217f0ebd5e92e
|
||||
MISC metadata.xml 324 BLAKE2B 88e9410454f1433824206295d14983c6cd3121248db77d052d1aadce997e7fdcbfa982837bbe3ec01038af57e3d54ac0f025874c91f3e4b938a17d330b185e98 SHA512 be34381fedb16ca3f974824e0c7af4033cc1f3fd0089e93449fd04dc84624581a05ee9083dc23b12fa58f6a55994e77a0fe58b5a9263b55b36acdd52e071591f
|
||||
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in new issue