Sync with portage [Fri Oct 20 23:49:54 MSK 2023].
This commit is contained in:
parent
7f2fcc8bce
commit
66182e236f
2302 changed files with 28357 additions and 26343 deletions
Binary file not shown.
Binary file not shown.
0
acct-group/qbittorrent/Manifest
Normal file
0
acct-group/qbittorrent/Manifest
Normal file
12
acct-group/qbittorrent/metadata.xml
Normal file
12
acct-group/qbittorrent/metadata.xml
Normal file
|
@ -0,0 +1,12 @@
|
||||||
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
|
||||||
|
<pkgmetadata>
|
||||||
|
<maintainer type="person" proxied="yes">
|
||||||
|
<email>cheembox573@gmail.com</email>
|
||||||
|
<name>Alexey Lunev</name>
|
||||||
|
</maintainer>
|
||||||
|
<maintainer type="project" proxied="proxy">
|
||||||
|
<email>proxy-maint@gentoo.org</email>
|
||||||
|
<name>Proxy Maintainers</name>
|
||||||
|
</maintainer>
|
||||||
|
</pkgmetadata>
|
9
acct-group/qbittorrent/qbittorrent-0.ebuild
Normal file
9
acct-group/qbittorrent/qbittorrent-0.ebuild
Normal file
|
@ -0,0 +1,9 @@
|
||||||
|
# Copyright 2023 Gentoo Authors
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
|
||||||
|
EAPI=8
|
||||||
|
|
||||||
|
inherit acct-group
|
||||||
|
|
||||||
|
DESCRIPTION="Group for the system-wide net-p2p/qbittorrent server"
|
||||||
|
ACCT_GROUP_ID=534
|
Binary file not shown.
0
acct-user/qbittorrent/Manifest
Normal file
0
acct-user/qbittorrent/Manifest
Normal file
12
acct-user/qbittorrent/metadata.xml
Normal file
12
acct-user/qbittorrent/metadata.xml
Normal file
|
@ -0,0 +1,12 @@
|
||||||
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
|
||||||
|
<pkgmetadata>
|
||||||
|
<maintainer type="person" proxied="yes">
|
||||||
|
<email>cheembox573@gmail.com</email>
|
||||||
|
<name>Alexey Lunev</name>
|
||||||
|
</maintainer>
|
||||||
|
<maintainer type="project" proxied="proxy">
|
||||||
|
<email>proxy-maint@gentoo.org</email>
|
||||||
|
<name>Proxy Maintainers</name>
|
||||||
|
</maintainer>
|
||||||
|
</pkgmetadata>
|
14
acct-user/qbittorrent/qbittorrent-0.ebuild
Normal file
14
acct-user/qbittorrent/qbittorrent-0.ebuild
Normal file
|
@ -0,0 +1,14 @@
|
||||||
|
# Copyright 2023 Gentoo Authors
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
|
||||||
|
EAPI=8
|
||||||
|
|
||||||
|
inherit acct-user
|
||||||
|
|
||||||
|
DESCRIPTION="User for the system wide net-p2p/qbittorrent server"
|
||||||
|
ACCT_USER_ID=534
|
||||||
|
ACCT_USER_HOME=/var/lib/qbittorrent
|
||||||
|
ACCT_USER_HOME_PERMS=0750
|
||||||
|
ACCT_USER_GROUPS=( qbittorrent )
|
||||||
|
|
||||||
|
acct-user_add_deps
|
Binary file not shown.
|
@ -1 +1,2 @@
|
||||||
DIST accerciser-3.40.0.tar.xz 1991256 BLAKE2B adcaa37b64d91cf4348fdd1b15d22aa977585c2c9d3ad81b41c7711f82ce010c7b75a44de6ec780fbbdadacad856a1f15b4f492971f5a7acfcea0568f0edc2df SHA512 78a7ce4a69de9a237c75b8df25665c8e9e8173969fb146cb608f4b51ff042c3abdcd49225f8f420c1c1bfab3736a8607eb6b555106c8a1e6e3399c83bad8f198
|
DIST accerciser-3.40.0.tar.xz 1991256 BLAKE2B adcaa37b64d91cf4348fdd1b15d22aa977585c2c9d3ad81b41c7711f82ce010c7b75a44de6ec780fbbdadacad856a1f15b4f492971f5a7acfcea0568f0edc2df SHA512 78a7ce4a69de9a237c75b8df25665c8e9e8173969fb146cb608f4b51ff042c3abdcd49225f8f420c1c1bfab3736a8607eb6b555106c8a1e6e3399c83bad8f198
|
||||||
|
DIST accerciser-3.42.0.tar.xz 1999644 BLAKE2B 190f37ab94aba2dd1f16594242426a33bac366b89eb284c739c02a96cf0330ccb562237079d79ade5b729c5e38facbb542af2ace195a5d9b6d1c68a5005ba653 SHA512 65c3819c80c9ec3c8728963572a2c7bb4575782abde8ee34e3b7fa31217ef0e8106a7702c5b5a32b123ccb84b357984844a6d4aee75bf7e6157f3d63588224da
|
||||||
|
|
49
app-accessibility/accerciser/accerciser-3.42.0.ebuild
Normal file
49
app-accessibility/accerciser/accerciser-3.42.0.ebuild
Normal file
|
@ -0,0 +1,49 @@
|
||||||
|
# Copyright 1999-2023 Gentoo Authors
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
|
||||||
|
EAPI=8
|
||||||
|
|
||||||
|
PYTHON_COMPAT=( python3_{10..11} )
|
||||||
|
PYTHON_REQ_USE="xml(+)"
|
||||||
|
|
||||||
|
inherit gnome2 python-single-r1
|
||||||
|
|
||||||
|
DESCRIPTION="Interactive Python accessibility explorer"
|
||||||
|
HOMEPAGE="https://wiki.gnome.org/Apps/Accerciser https://gitlab.gnome.org/GNOME/accerciser"
|
||||||
|
|
||||||
|
LICENSE="BSD CC-BY-SA-3.0"
|
||||||
|
SLOT="0"
|
||||||
|
KEYWORDS="~amd64 ~x86"
|
||||||
|
REQUIRED_USE="${PYTHON_REQUIRED_USE}"
|
||||||
|
|
||||||
|
RDEPEND="
|
||||||
|
>=app-accessibility/at-spi2-core-2.5.2:2
|
||||||
|
>=x11-libs/gtk+-3.24.0:3[introspection]
|
||||||
|
$(python_gen_cond_dep '
|
||||||
|
>=dev-python/pygobject-2.90.3:3[${PYTHON_USEDEP}]
|
||||||
|
>=dev-python/ipython-0.11[${PYTHON_USEDEP}]
|
||||||
|
>=dev-python/pyatspi-2.1.5[${PYTHON_USEDEP}]
|
||||||
|
dev-python/pycairo[${PYTHON_USEDEP}]
|
||||||
|
dev-python/python-xlib[${PYTHON_USEDEP}]
|
||||||
|
')
|
||||||
|
|
||||||
|
dev-libs/atk[introspection]
|
||||||
|
>=dev-libs/glib-2.28:2
|
||||||
|
dev-libs/gobject-introspection:=
|
||||||
|
x11-libs/gdk-pixbuf[introspection]
|
||||||
|
x11-libs/libwnck:3[introspection]
|
||||||
|
x11-libs/pango[introspection]
|
||||||
|
gnome-base/librsvg[introspection]
|
||||||
|
${PYTHON_DEPS}
|
||||||
|
"
|
||||||
|
DEPEND="${RDEPEND}"
|
||||||
|
BDEPEND="
|
||||||
|
dev-util/itstool
|
||||||
|
>=sys-devel/gettext-0.19.8
|
||||||
|
virtual/pkgconfig
|
||||||
|
"
|
||||||
|
|
||||||
|
src_install() {
|
||||||
|
gnome2_src_install
|
||||||
|
python_optimize
|
||||||
|
}
|
Binary file not shown.
|
@ -1 +1,2 @@
|
||||||
DIST httpd-2.4.57.tar.bz2 7457022 BLAKE2B b33b51a741acd308ef4d4bdd2444d43eca9db68676fa67ec907eeea7384554f3f9a5608fc43dcf5819498264bbe36f176f30be9809474307642b70720036b88c SHA512 4d1e0a274ee90bdfb5f38d4a7d73a7367ed1c6388e26280e640014e49abc0df03683705b88dcfe2ec2da313dda4c7b4a3b86daffa1911f58e224eba89d82d155
|
DIST httpd-2.4.57.tar.bz2 7457022 BLAKE2B b33b51a741acd308ef4d4bdd2444d43eca9db68676fa67ec907eeea7384554f3f9a5608fc43dcf5819498264bbe36f176f30be9809474307642b70720036b88c SHA512 4d1e0a274ee90bdfb5f38d4a7d73a7367ed1c6388e26280e640014e49abc0df03683705b88dcfe2ec2da313dda4c7b4a3b86daffa1911f58e224eba89d82d155
|
||||||
|
DIST httpd-2.4.58.tar.bz2 7485817 BLAKE2B 2105b8fada99f1dda55201ed89ed5326f0edb078d352cbff44f02cde80d129b65b63e07366a9a744ba474be5687fa8d3d2d8ddc64ac914b47166607f3f4a9de2 SHA512 d6e73bf413a507ec16b621ff635e178206207a9e9810ce3944b3dc98d39cde8f225307110167fc9da5822175796c8cb66f98be5b9f0d8b76dcd83a401d39b2c1
|
||||||
|
|
113
app-admin/apache-tools/apache-tools-2.4.58.ebuild
Normal file
113
app-admin/apache-tools/apache-tools-2.4.58.ebuild
Normal file
|
@ -0,0 +1,113 @@
|
||||||
|
# Copyright 1999-2023 Gentoo Authors
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
|
||||||
|
EAPI=8
|
||||||
|
|
||||||
|
inherit autotools toolchain-funcs
|
||||||
|
|
||||||
|
DESCRIPTION="Useful Apache tools - htdigest, htpasswd, ab, htdbm"
|
||||||
|
HOMEPAGE="https://httpd.apache.org/"
|
||||||
|
SRC_URI="mirror://apache/httpd/httpd-${PV}.tar.bz2"
|
||||||
|
|
||||||
|
LICENSE="Apache-2.0"
|
||||||
|
SLOT="0"
|
||||||
|
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x64-solaris"
|
||||||
|
IUSE="ssl"
|
||||||
|
RESTRICT="test"
|
||||||
|
|
||||||
|
RDEPEND=">=dev-libs/apr-1.5.0:1=
|
||||||
|
dev-libs/apr-util:1=
|
||||||
|
dev-libs/expat
|
||||||
|
dev-libs/libpcre2
|
||||||
|
virtual/libcrypt:=
|
||||||
|
kernel_linux? ( sys-apps/util-linux )
|
||||||
|
ssl? ( dev-libs/openssl:0= )"
|
||||||
|
DEPEND="${RDEPEND}
|
||||||
|
sys-devel/libtool"
|
||||||
|
BDEPEND="
|
||||||
|
virtual/pkgconfig
|
||||||
|
"
|
||||||
|
|
||||||
|
S="${WORKDIR}/httpd-${PV}"
|
||||||
|
|
||||||
|
PATCHES=(
|
||||||
|
"${FILESDIR}/${PN}-2.4.54-Makefile.patch" #459446
|
||||||
|
"${FILESDIR}/${PN}-2.4.54-no-which.patch" #844868
|
||||||
|
"${FILESDIR}/${PN}-2.4.54-libtool.patch" #858833
|
||||||
|
)
|
||||||
|
|
||||||
|
src_prepare() {
|
||||||
|
default
|
||||||
|
|
||||||
|
# This package really should upgrade to using pcre's .pc file.
|
||||||
|
cat <<-\EOF > "${T}"/pcre2-config
|
||||||
|
#!/usr/bin/env bash
|
||||||
|
flags=()
|
||||||
|
for flag; do
|
||||||
|
if [[ ${flag} == "--version" ]]; then
|
||||||
|
flags+=( --modversion )
|
||||||
|
else
|
||||||
|
flags+=( "${flag}" )
|
||||||
|
fi
|
||||||
|
done
|
||||||
|
exec ${PKG_CONFIG} libpcre2-8 "${flags[@]}"
|
||||||
|
EOF
|
||||||
|
chmod a+x "${T}"/pcre2-config || die
|
||||||
|
|
||||||
|
# Only here for libtool and which patches
|
||||||
|
eautoreconf
|
||||||
|
}
|
||||||
|
|
||||||
|
src_configure() {
|
||||||
|
# Silly check.
|
||||||
|
tc-is-cross-compiler && export ap_cv_void_ptr_lt_long="no"
|
||||||
|
|
||||||
|
tc-export PKG_CONFIG
|
||||||
|
export ac_cv_path_PKGCONFIG="${PKG_CONFIG}"
|
||||||
|
export ac_cv_prog_ac_ct_PCRE_CONFIG="${T}"/pcre2-config
|
||||||
|
|
||||||
|
local myeconfargs=(
|
||||||
|
--libexecdir="${EPREFIX}"/usr/$(get_libdir)/apache2/modules
|
||||||
|
--sbindir="${EPREFIX}"/usr/sbin
|
||||||
|
--with-z="${EPREFIX}"/usr
|
||||||
|
--with-apr="${ESYSROOT}"/usr
|
||||||
|
--with-apr-util="${ESYSROOT}"/usr
|
||||||
|
--without-pcre
|
||||||
|
--with-pcre2="${T}"/pcre2-config
|
||||||
|
$(use_enable ssl)
|
||||||
|
$(usex ssl '--with-ssl="${EPREFIX}"/usr' '')
|
||||||
|
)
|
||||||
|
|
||||||
|
# econf overwrites the stuff from config.layout.
|
||||||
|
econf "${myeconfargs[@]}"
|
||||||
|
|
||||||
|
sed -i \
|
||||||
|
-e '/^LTFLAGS/s:--silent::' \
|
||||||
|
build/rules.mk build/config_vars.mk || die
|
||||||
|
}
|
||||||
|
|
||||||
|
src_compile() {
|
||||||
|
emake -C support
|
||||||
|
}
|
||||||
|
|
||||||
|
src_install() {
|
||||||
|
emake -C support DESTDIR="${D}" install
|
||||||
|
dodoc CHANGES
|
||||||
|
doman docs/man/{dbmmanage,htdigest,htpasswd,htdbm,ab,logresolve}.1 \
|
||||||
|
docs/man/{htcacheclean,rotatelogs}.8
|
||||||
|
|
||||||
|
# Providing compatiblity symlinks for #177697 (which we'll stop to install
|
||||||
|
# at some point).
|
||||||
|
pushd "${ED}"/usr/sbin >/dev/null || die
|
||||||
|
local i
|
||||||
|
for i in *; do
|
||||||
|
dosym ${i} /usr/sbin/${i}2
|
||||||
|
done
|
||||||
|
popd >/dev/null || die
|
||||||
|
|
||||||
|
# Provide a symlink for ab-ssl
|
||||||
|
if use ssl ; then
|
||||||
|
dosym ab /usr/bin/ab-ssl
|
||||||
|
dosym ab /usr/bin/ab2-ssl
|
||||||
|
fi
|
||||||
|
}
|
|
@ -5,3 +5,5 @@ DIST aws-cli-1.29.62.gh.tar.gz 2560151 BLAKE2B 0aa6dba4dcee72e0d3cbddb62ebcd9405
|
||||||
DIST aws-cli-1.29.63.gh.tar.gz 2561207 BLAKE2B 83d1bf59c565ae5035eea0bfff91b2ac41e09cd250916db3bdb52b3cd336c869ca023acddf31418ca4ae81162d6cafb1cb915372d17988a4e616c018fceeb47b SHA512 2f6a699a8e1b3526adc49e88079cf19c7ddb18c6a3653ddb622ef5bc2d00dcbd4b490324e3d30f0911a236d692970072f999216876108fa6967450bc42cb1072
|
DIST aws-cli-1.29.63.gh.tar.gz 2561207 BLAKE2B 83d1bf59c565ae5035eea0bfff91b2ac41e09cd250916db3bdb52b3cd336c869ca023acddf31418ca4ae81162d6cafb1cb915372d17988a4e616c018fceeb47b SHA512 2f6a699a8e1b3526adc49e88079cf19c7ddb18c6a3653ddb622ef5bc2d00dcbd4b490324e3d30f0911a236d692970072f999216876108fa6967450bc42cb1072
|
||||||
DIST aws-cli-1.29.64.gh.tar.gz 2561807 BLAKE2B a4423549d6bd5789ebbd027febc411a7ab5be46bbcf1b407dc40fa95005c00bf413205c47099bb17e1f26f9d693a1af34479cbf29881dfa1544c42cc5193c0d6 SHA512 1238881d78483f7e5bd06c4653471406f7c5da8904bf5ef1a9fa3c4f8b44138313289ea626e411b2827b89a779bd1990a99a43b909b59ba022f95e38b3a025ff
|
DIST aws-cli-1.29.64.gh.tar.gz 2561807 BLAKE2B a4423549d6bd5789ebbd027febc411a7ab5be46bbcf1b407dc40fa95005c00bf413205c47099bb17e1f26f9d693a1af34479cbf29881dfa1544c42cc5193c0d6 SHA512 1238881d78483f7e5bd06c4653471406f7c5da8904bf5ef1a9fa3c4f8b44138313289ea626e411b2827b89a779bd1990a99a43b909b59ba022f95e38b3a025ff
|
||||||
DIST aws-cli-1.29.65.gh.tar.gz 2562601 BLAKE2B 4c88ae2dcd37685f6908e027dc960d14e08f268f4f0784763b2e371f598d848c055847e27540c14d1ac745e4d87ce894e1e5a375c46ea522c384cb377146816a SHA512 b2bbcb989602be9b4f513cf8c0feddd2c680d005568d0f82a82206ebf13f2235fd0650d85502738bd0f2410e5a006d14fafa1873b7d9ba453843e8f055985a51
|
DIST aws-cli-1.29.65.gh.tar.gz 2562601 BLAKE2B 4c88ae2dcd37685f6908e027dc960d14e08f268f4f0784763b2e371f598d848c055847e27540c14d1ac745e4d87ce894e1e5a375c46ea522c384cb377146816a SHA512 b2bbcb989602be9b4f513cf8c0feddd2c680d005568d0f82a82206ebf13f2235fd0650d85502738bd0f2410e5a006d14fafa1873b7d9ba453843e8f055985a51
|
||||||
|
DIST aws-cli-1.29.66.gh.tar.gz 2563105 BLAKE2B 547b401269b8ea5431c3ff831c513306fa4d4c9fe21a15cba74528e460e626b900f0e29ddcb93c6735d1b85f8ad89528de576a87c0bcc2f31147f047add2449d SHA512 1114e1c2279d59ee1396716ccc619e8073ff425c1eaa88cf7ee5274ebfac0361646ad8d17a4a4bc565714e5dbd6537767d91ea039fa163761cb7f38c20760c24
|
||||||
|
DIST aws-cli-1.29.67.gh.tar.gz 2564759 BLAKE2B d73e71c37372a2bef0c2338b38d67f52e15619d3611cd664111d173e31e8ab9b3d87dbd0d1e94f7df3cbb0005410dadc748c95042143c7a0822705318e1ac25c SHA512 c9651ba2db96e4823aa7a3cdc9a3632f666dc3589e15f16c82fce7eb9b21a59468912f330255b379b47dec0c25c5c9d05536e61f4036a64259534860081e8e5b
|
||||||
|
|
|
@ -22,7 +22,7 @@ S=${WORKDIR}/${MY_P}
|
||||||
|
|
||||||
LICENSE="Apache-2.0"
|
LICENSE="Apache-2.0"
|
||||||
SLOT="0"
|
SLOT="0"
|
||||||
KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~riscv ~sparc ~x86"
|
KEYWORDS="amd64 arm arm64 ppc ppc64 ~riscv sparc x86"
|
||||||
|
|
||||||
# botocore is x.(y+2).z
|
# botocore is x.(y+2).z
|
||||||
BOTOCORE_PV="$(ver_cut 1).$(( $(ver_cut 2) + 2)).$(ver_cut 3-)"
|
BOTOCORE_PV="$(ver_cut 1).$(( $(ver_cut 2) + 2)).$(ver_cut 3-)"
|
||||||
|
|
85
app-admin/awscli/awscli-1.29.66.ebuild
Normal file
85
app-admin/awscli/awscli-1.29.66.ebuild
Normal file
|
@ -0,0 +1,85 @@
|
||||||
|
# Copyright 1999-2023 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 multiprocessing
|
||||||
|
|
||||||
|
MY_P=aws-cli-${PV}
|
||||||
|
DESCRIPTION="Universal Command Line Environment for AWS"
|
||||||
|
HOMEPAGE="
|
||||||
|
https://github.com/aws/aws-cli/
|
||||||
|
https://pypi.org/project/awscli/
|
||||||
|
"
|
||||||
|
SRC_URI="
|
||||||
|
https://github.com/aws/aws-cli/archive/${PV}.tar.gz
|
||||||
|
-> ${MY_P}.gh.tar.gz
|
||||||
|
"
|
||||||
|
S=${WORKDIR}/${MY_P}
|
||||||
|
|
||||||
|
LICENSE="Apache-2.0"
|
||||||
|
SLOT="0"
|
||||||
|
KEYWORDS="~amd64 ~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.7.0[${PYTHON_USEDEP}]
|
||||||
|
dev-python/pyyaml[${PYTHON_USEDEP}]
|
||||||
|
!app-admin/awscli-bin
|
||||||
|
"
|
||||||
|
BDEPEND="
|
||||||
|
test? (
|
||||||
|
dev-python/pytest-forked[${PYTHON_USEDEP}]
|
||||||
|
dev-python/pytest-xdist[${PYTHON_USEDEP}]
|
||||||
|
)
|
||||||
|
"
|
||||||
|
|
||||||
|
distutils_enable_tests pytest
|
||||||
|
|
||||||
|
src_prepare() {
|
||||||
|
# do not rely on bundled deps in botocore (sic!)
|
||||||
|
find -name '*.py' -exec sed -i \
|
||||||
|
-e 's:from botocore[.]vendored import:import:' \
|
||||||
|
-e 's:from botocore[.]vendored[.]:from :' \
|
||||||
|
{} + || die
|
||||||
|
# strip overzealous upper bounds on requirements
|
||||||
|
sed -i -e 's:,<[0-9.]*::' -e 's:==:>=:' setup.py || die
|
||||||
|
distutils-r1_src_prepare
|
||||||
|
}
|
||||||
|
|
||||||
|
python_test() {
|
||||||
|
local EPYTEST_DESELECT=(
|
||||||
|
# broken xdist (signal() works only in main thread)
|
||||||
|
tests/functional/ecs/test_execute_command.py::TestExecuteCommand::test_execute_command_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/test_compat.py::TestIgnoreUserSignals
|
||||||
|
tests/unit/test_help.py::TestHelpPager::test_can_handle_ctrl_c
|
||||||
|
tests/unit/test_help.py::TestHelpPager::test_can_render_contents
|
||||||
|
tests/unit/test_utils.py::TestIgnoreCtrlC::test_ctrl_c_is_ignore
|
||||||
|
)
|
||||||
|
local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1
|
||||||
|
# integration tests require AWS credentials and Internet access
|
||||||
|
epytest tests/{functional,unit} -p xdist -n "$(makeopts_jobs)"
|
||||||
|
}
|
||||||
|
|
||||||
|
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
|
||||||
|
}
|
85
app-admin/awscli/awscli-1.29.67.ebuild
Normal file
85
app-admin/awscli/awscli-1.29.67.ebuild
Normal file
|
@ -0,0 +1,85 @@
|
||||||
|
# Copyright 1999-2023 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 multiprocessing
|
||||||
|
|
||||||
|
MY_P=aws-cli-${PV}
|
||||||
|
DESCRIPTION="Universal Command Line Environment for AWS"
|
||||||
|
HOMEPAGE="
|
||||||
|
https://github.com/aws/aws-cli/
|
||||||
|
https://pypi.org/project/awscli/
|
||||||
|
"
|
||||||
|
SRC_URI="
|
||||||
|
https://github.com/aws/aws-cli/archive/${PV}.tar.gz
|
||||||
|
-> ${MY_P}.gh.tar.gz
|
||||||
|
"
|
||||||
|
S=${WORKDIR}/${MY_P}
|
||||||
|
|
||||||
|
LICENSE="Apache-2.0"
|
||||||
|
SLOT="0"
|
||||||
|
KEYWORDS="~amd64 ~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.7.0[${PYTHON_USEDEP}]
|
||||||
|
dev-python/pyyaml[${PYTHON_USEDEP}]
|
||||||
|
!app-admin/awscli-bin
|
||||||
|
"
|
||||||
|
BDEPEND="
|
||||||
|
test? (
|
||||||
|
dev-python/pytest-forked[${PYTHON_USEDEP}]
|
||||||
|
dev-python/pytest-xdist[${PYTHON_USEDEP}]
|
||||||
|
)
|
||||||
|
"
|
||||||
|
|
||||||
|
distutils_enable_tests pytest
|
||||||
|
|
||||||
|
src_prepare() {
|
||||||
|
# do not rely on bundled deps in botocore (sic!)
|
||||||
|
find -name '*.py' -exec sed -i \
|
||||||
|
-e 's:from botocore[.]vendored import:import:' \
|
||||||
|
-e 's:from botocore[.]vendored[.]:from :' \
|
||||||
|
{} + || die
|
||||||
|
# strip overzealous upper bounds on requirements
|
||||||
|
sed -i -e 's:,<[0-9.]*::' -e 's:==:>=:' setup.py || die
|
||||||
|
distutils-r1_src_prepare
|
||||||
|
}
|
||||||
|
|
||||||
|
python_test() {
|
||||||
|
local EPYTEST_DESELECT=(
|
||||||
|
# broken xdist (signal() works only in main thread)
|
||||||
|
tests/functional/ecs/test_execute_command.py::TestExecuteCommand::test_execute_command_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/test_compat.py::TestIgnoreUserSignals
|
||||||
|
tests/unit/test_help.py::TestHelpPager::test_can_handle_ctrl_c
|
||||||
|
tests/unit/test_help.py::TestHelpPager::test_can_render_contents
|
||||||
|
tests/unit/test_utils.py::TestIgnoreCtrlC::test_ctrl_c_is_ignore
|
||||||
|
)
|
||||||
|
local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1
|
||||||
|
# integration tests require AWS credentials and Internet access
|
||||||
|
epytest tests/{functional,unit} -p xdist -n "$(makeopts_jobs)"
|
||||||
|
}
|
||||||
|
|
||||||
|
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
|
||||||
|
}
|
|
@ -21,7 +21,7 @@ RESTRICT="!test? ( test )"
|
||||||
RDEPEND="
|
RDEPEND="
|
||||||
>=dev-libs/glib-2.10.1:2
|
>=dev-libs/glib-2.10.1:2
|
||||||
>=dev-libs/ivykis-0.42.4
|
>=dev-libs/ivykis-0.42.4
|
||||||
>=dev-libs/libpcre-6.1
|
>=dev-libs/libpcre2-10.0
|
||||||
dev-libs/openssl:0=
|
dev-libs/openssl:0=
|
||||||
!dev-libs/eventlog
|
!dev-libs/eventlog
|
||||||
amqp? ( >=net-libs/rabbitmq-c-0.8.0:=[ssl] )
|
amqp? ( >=net-libs/rabbitmq-c-0.8.0:=[ssl] )
|
|
@ -21,7 +21,7 @@ RESTRICT="!test? ( test )"
|
||||||
RDEPEND="
|
RDEPEND="
|
||||||
>=dev-libs/glib-2.10.1:2
|
>=dev-libs/glib-2.10.1:2
|
||||||
>=dev-libs/ivykis-0.42.4
|
>=dev-libs/ivykis-0.42.4
|
||||||
>=dev-libs/libpcre-6.1
|
>=dev-libs/libpcre2-10.0
|
||||||
dev-libs/openssl:0=
|
dev-libs/openssl:0=
|
||||||
!dev-libs/eventlog
|
!dev-libs/eventlog
|
||||||
amqp? ( >=net-libs/rabbitmq-c-0.8.0:=[ssl] )
|
amqp? ( >=net-libs/rabbitmq-c-0.8.0:=[ssl] )
|
Binary file not shown.
|
@ -1,2 +1 @@
|
||||||
DIST mylvmbackup-0.14.tar.gz 57338 BLAKE2B 2f3e85d73a08d8877f84c04e8a7368500fd10dd9ee5172110589175918c10d0e80dce17b842286aacb111d088c275138a87fcf46fb4b416d0697221735cc36b3 SHA512 e61f0c4e24b5482b2f7f4213e810a32776d1b39f589e27c309a4940943f3a9519041e53cf85a089a94100e2cc81715a033682bbe071220d755c14211b4177bfa
|
|
||||||
DIST mylvmbackup-0.16.tar.gz 58490 BLAKE2B 43f34e0e386c4cc4f8d30ce3fb3f9e93f4ce7c795d1b74a0e6c2bb74750c855b5eeb41a09d9c2f6e0532bb297d00519d99b356fa98dfb0fbc4fc8cfd25daa976 SHA512 c23dd47c7cb13883cddb161f12a1698a1108b65d01a0e6d6feafab2d92c98717e38d4bc4a23712cb2e23f624e8c4e6307a2b0f171024976b52a58a720fd01b8b
|
DIST mylvmbackup-0.16.tar.gz 58490 BLAKE2B 43f34e0e386c4cc4f8d30ce3fb3f9e93f4ce7c795d1b74a0e6c2bb74750c855b5eeb41a09d9c2f6e0532bb297d00519d99b356fa98dfb0fbc4fc8cfd25daa976 SHA512 c23dd47c7cb13883cddb161f12a1698a1108b65d01a0e6d6feafab2d92c98717e38d4bc4a23712cb2e23f624e8c4e6307a2b0f171024976b52a58a720fd01b8b
|
||||||
|
|
|
@ -1,17 +0,0 @@
|
||||||
--- a/Makefile
|
|
||||||
+++ b/Makefile
|
|
||||||
@@ -45,12 +45,12 @@
|
|
||||||
README \
|
|
||||||
TODO
|
|
||||||
CLEANFILES = $(NAME).spec $(NAME) $(MAN1) $(MAN1).html
|
|
||||||
-prefix = /usr/local
|
|
||||||
+prefix = /usr
|
|
||||||
sysconfdir = /etc
|
|
||||||
bindir = $(prefix)/bin
|
|
||||||
datadir = $(prefix)/share/mylvmbackup
|
|
||||||
distdir = $(NAME)-$(VERSION)
|
|
||||||
-mandir = $(prefix)/man
|
|
||||||
+mandir = $(prefix)/share/man
|
|
||||||
man1dir = $(mandir)/man1
|
|
||||||
|
|
||||||
all: $(DISTFILES) $(MAN1)
|
|
|
@ -1,33 +0,0 @@
|
||||||
# Copyright 1999-2017 Gentoo Foundation
|
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
|
||||||
|
|
||||||
EAPI=6
|
|
||||||
|
|
||||||
DESCRIPTION="Tool for creating backups of MySQL server's data files using LVM snapshots"
|
|
||||||
HOMEPAGE="http://lenzg.net/mylvmbackup/"
|
|
||||||
SRC_URI="http://lenzg.net/${PN}/${P}.tar.gz"
|
|
||||||
|
|
||||||
LICENSE="GPL-2"
|
|
||||||
SLOT="0"
|
|
||||||
KEYWORDS="~amd64 ~ppc ~x86"
|
|
||||||
IUSE=""
|
|
||||||
|
|
||||||
DEPEND=""
|
|
||||||
RDEPEND="
|
|
||||||
dev-perl/Config-IniFiles
|
|
||||||
dev-perl/DBD-mysql
|
|
||||||
dev-perl/TimeDate
|
|
||||||
>=sys-fs/lvm2-2.02.06
|
|
||||||
virtual/mysql"
|
|
||||||
|
|
||||||
PATCHES=(
|
|
||||||
"${FILESDIR}"/${PN}-0.14-fix-build-system.patch
|
|
||||||
"${FILESDIR}"/${PN}-0.14-fix-config.patch
|
|
||||||
)
|
|
||||||
|
|
||||||
src_install() {
|
|
||||||
default
|
|
||||||
|
|
||||||
keepdir /var/tmp/${PN}/{backup,mnt}
|
|
||||||
fperms 0700 /var/tmp/${PN}/
|
|
||||||
}
|
|
|
@ -16,6 +16,7 @@ KEYWORDS="~amd64 ~ppc ~x86"
|
||||||
RDEPEND="
|
RDEPEND="
|
||||||
dev-perl/Config-IniFiles
|
dev-perl/Config-IniFiles
|
||||||
dev-perl/DBD-mysql
|
dev-perl/DBD-mysql
|
||||||
|
dev-perl/File-Copy-Recursive
|
||||||
dev-perl/TimeDate
|
dev-perl/TimeDate
|
||||||
sys-fs/lvm2
|
sys-fs/lvm2
|
||||||
virtual/mysql
|
virtual/mysql
|
|
@ -1,32 +0,0 @@
|
||||||
# Copyright 1999-2023 Gentoo Authors
|
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
|
||||||
|
|
||||||
EAPI=8
|
|
||||||
|
|
||||||
DESCRIPTION="Tool for creating backups of MySQL server's data files using LVM snapshots"
|
|
||||||
HOMEPAGE="https://lenzg.net/mylvmbackup/"
|
|
||||||
SRC_URI="https://lenzg.net/${PN}/${P}.tar.gz"
|
|
||||||
|
|
||||||
LICENSE="GPL-2"
|
|
||||||
SLOT="0"
|
|
||||||
KEYWORDS="~amd64 ~ppc ~x86"
|
|
||||||
|
|
||||||
RDEPEND="
|
|
||||||
dev-perl/Config-IniFiles
|
|
||||||
dev-perl/DBD-mysql
|
|
||||||
dev-perl/TimeDate
|
|
||||||
sys-fs/lvm2
|
|
||||||
virtual/mysql
|
|
||||||
"
|
|
||||||
|
|
||||||
PATCHES=(
|
|
||||||
"${FILESDIR}"/${PN}-0.16-fix-build-system.patch
|
|
||||||
"${FILESDIR}"/${PN}-0.14-fix-config.patch
|
|
||||||
)
|
|
||||||
|
|
||||||
src_install() {
|
|
||||||
default
|
|
||||||
|
|
||||||
keepdir /var/tmp/${PN}/{backup,mnt}
|
|
||||||
fperms 0700 /var/tmp/${PN}/
|
|
||||||
}
|
|
Binary file not shown.
|
@ -0,0 +1,32 @@
|
||||||
|
Bug: https://bugs.gentoo.org/894338
|
||||||
|
--- a/src/cookies.c
|
||||||
|
+++ b/src/cookies.c
|
||||||
|
@@ -66,7 +66,7 @@ cookies_destroy(COOKIES this)
|
||||||
|
BOOLEAN
|
||||||
|
cookies_add(COOKIES this, char *str, char *host)
|
||||||
|
{
|
||||||
|
- size_t id = pthread_self();
|
||||||
|
+ size_t id = (size_t) pthread_self();
|
||||||
|
//int hlen = 0;
|
||||||
|
//int dlen = 0;
|
||||||
|
NODE *cur = NULL;
|
||||||
|
@@ -169,7 +169,7 @@ cookies_header(COOKIES this, char *host, char *newton)
|
||||||
|
time_t now;
|
||||||
|
struct tm tm;
|
||||||
|
char oreo[MAX_COOKIES_SIZE];
|
||||||
|
- size_t id = pthread_self();
|
||||||
|
+ size_t id = (size_t) pthread_self();
|
||||||
|
|
||||||
|
memset(oreo, '\0', sizeof oreo);
|
||||||
|
|
||||||
|
--- a/src/ftp.c
|
||||||
|
+++ b/src/ftp.c
|
||||||
|
@@ -151,7 +151,7 @@ ftp_stor(CONN *C, URL U)
|
||||||
|
{
|
||||||
|
size_t len;
|
||||||
|
char *file;
|
||||||
|
- size_t id = pthread_self();
|
||||||
|
+ size_t id = (size_t) pthread_self();
|
||||||
|
int num = 2;
|
||||||
|
char **parts;
|
||||||
|
|
55
app-benchmarks/siege/siege-4.1.6-r1.ebuild
Normal file
55
app-benchmarks/siege/siege-4.1.6-r1.ebuild
Normal file
|
@ -0,0 +1,55 @@
|
||||||
|
# Copyright 2022-2023 Gentoo Authors
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
|
||||||
|
EAPI=8
|
||||||
|
|
||||||
|
inherit autotools bash-completion-r1
|
||||||
|
|
||||||
|
DESCRIPTION="A HTTP regression testing and benchmarking utility"
|
||||||
|
HOMEPAGE="https://www.joedog.org/siege-home https://github.com/JoeDog/siege"
|
||||||
|
SRC_URI="http://download.joedog.org/${PN}/${P}.tar.gz"
|
||||||
|
|
||||||
|
LICENSE="GPL-3"
|
||||||
|
KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~mips ~ppc ~x86 ~x64-macos"
|
||||||
|
SLOT="0"
|
||||||
|
IUSE="ssl"
|
||||||
|
|
||||||
|
RDEPEND="
|
||||||
|
sys-libs/zlib
|
||||||
|
ssl? ( dev-libs/openssl:0= )
|
||||||
|
"
|
||||||
|
DEPEND="${RDEPEND}"
|
||||||
|
|
||||||
|
PATCHES=(
|
||||||
|
"${FILESDIR}"/${PN}-4.1.6-clang16-build-fix.patch
|
||||||
|
)
|
||||||
|
|
||||||
|
src_prepare() {
|
||||||
|
default
|
||||||
|
# bundled macros break recent libtool
|
||||||
|
# remove /usr/lib from LDFLAGS, bug #732886
|
||||||
|
sed -i \
|
||||||
|
-e '/AC_PROG_SHELL/d' \
|
||||||
|
-e 's/SSL_LDFLAGS="-L.*lib"/SSL_LDFLAGS=""/g' \
|
||||||
|
-e 's/Z_LDFLAGS="-L.*lib"/Z_LDFLAGS=""/g' \
|
||||||
|
configure.ac || die "Failed to sed configure.ac"
|
||||||
|
rm *.m4 || die "failed to remove bundled macros"
|
||||||
|
eautoreconf
|
||||||
|
}
|
||||||
|
|
||||||
|
src_configure() {
|
||||||
|
local myconf=( $(use_with ssl ssl "${EPREFIX}/usr") )
|
||||||
|
econf "${myconf[@]}"
|
||||||
|
}
|
||||||
|
|
||||||
|
src_install() {
|
||||||
|
emake DESTDIR="${ED}" install
|
||||||
|
dodoc AUTHORS ChangeLog INSTALL README* doc/siegerc doc/urls.txt
|
||||||
|
|
||||||
|
newbashcomp "${FILESDIR}/${PN}".bash-completion "${PN}"
|
||||||
|
}
|
||||||
|
|
||||||
|
pkg_postinst() {
|
||||||
|
elog "An example ~/.siegerc file has been installed in"
|
||||||
|
elog "${EPREFIX}/usr/share/doc/${PF}/"
|
||||||
|
}
|
Binary file not shown.
|
@ -174,6 +174,7 @@ pkg_postinst() {
|
||||||
optfeature "virtual machine support" app-emulation/qemu[spice,usbredir,virtfs]
|
optfeature "virtual machine support" app-emulation/qemu[spice,usbredir,virtfs]
|
||||||
optfeature "btrfs storage backend" sys-fs/btrfs-progs
|
optfeature "btrfs storage backend" sys-fs/btrfs-progs
|
||||||
optfeature "ipv6 support" net-dns/dnsmasq[ipv6]
|
optfeature "ipv6 support" net-dns/dnsmasq[ipv6]
|
||||||
|
optfeature "full incus-migrate support" net-misc/rsync
|
||||||
optfeature "lvm2 storage backend" sys-fs/lvm2
|
optfeature "lvm2 storage backend" sys-fs/lvm2
|
||||||
optfeature "zfs storage backend" sys-fs/zfs
|
optfeature "zfs storage backend" sys-fs/zfs
|
||||||
elog
|
elog
|
||||||
|
|
|
@ -2,7 +2,7 @@ DIST lxd-4.0.9.tar.gz 9117078 BLAKE2B aa6689c1e958258484fba5c060765dd71d5406cb43
|
||||||
DIST lxd-4.0.9.tar.gz.asc 833 BLAKE2B 7cd0d3ab518d947ca3ea6dc804c6a59b592e4e568152c078fdd3c102420bcd94d2f0b2c335b8b4ecdb19dc3c9a10f665a1510903f395247da956717beaa172a3 SHA512 79a4111571ab43e79cf669e416ed50f3ccae0fbceb86d73757d23c778035e827f47643bc87ff6a2fc64b095345a3d53cbd0c4eb245c75364e907d7449f3a0886
|
DIST lxd-4.0.9.tar.gz.asc 833 BLAKE2B 7cd0d3ab518d947ca3ea6dc804c6a59b592e4e568152c078fdd3c102420bcd94d2f0b2c335b8b4ecdb19dc3c9a10f665a1510903f395247da956717beaa172a3 SHA512 79a4111571ab43e79cf669e416ed50f3ccae0fbceb86d73757d23c778035e827f47643bc87ff6a2fc64b095345a3d53cbd0c4eb245c75364e907d7449f3a0886
|
||||||
DIST lxd-5.0.2.tar.gz 16258766 BLAKE2B a0d4e3108664724c064fb8c16031ff7dfa3f49735c81290c78fca1dd8c95774e8d8faf131a9de0961a51fb3f1fb1e3a1219d325e6c440dc42d077bfb6550df0b SHA512 e44b210828251ef2bbdcca332f605294a9258572a52a8e94f5c8dcf8d5c2b3d4cdaf46f85236d9c963de5654d3a0437b5f177ea908a6dac3b5b03fb721be6eaa
|
DIST lxd-5.0.2.tar.gz 16258766 BLAKE2B a0d4e3108664724c064fb8c16031ff7dfa3f49735c81290c78fca1dd8c95774e8d8faf131a9de0961a51fb3f1fb1e3a1219d325e6c440dc42d077bfb6550df0b SHA512 e44b210828251ef2bbdcca332f605294a9258572a52a8e94f5c8dcf8d5c2b3d4cdaf46f85236d9c963de5654d3a0437b5f177ea908a6dac3b5b03fb721be6eaa
|
||||||
DIST lxd-5.0.2.tar.gz.asc 833 BLAKE2B 606cae1439148060acd3fb04fdb108654a351ce2b7484081f7874ab2b0af8de2b5befc5a5409a94af0da25308622234db2e3b411edb20324df458fe85f46ac21 SHA512 884c921a263a8baf2d94958c72e232a0a47d0747f5a9d36ed8fc270edfa18dfc240d1e858e75dcc03eae921dae08d3ddfd34d9146d1510de6a09031da26aaccc
|
DIST lxd-5.0.2.tar.gz.asc 833 BLAKE2B 606cae1439148060acd3fb04fdb108654a351ce2b7484081f7874ab2b0af8de2b5befc5a5409a94af0da25308622234db2e3b411edb20324df458fe85f46ac21 SHA512 884c921a263a8baf2d94958c72e232a0a47d0747f5a9d36ed8fc270edfa18dfc240d1e858e75dcc03eae921dae08d3ddfd34d9146d1510de6a09031da26aaccc
|
||||||
DIST lxd-5.17.tar.gz 22319517 BLAKE2B b9dfd934fad6b21b6f2b1d25291b4201f647b2b09a1ae155577a88257c021cc36b43a08802411d0f3268b726da7fa38b8627302696f670a1747e3795db0b0efe SHA512 f5feca34fff0b01a9db8041dd18fde82ad089f36ab171cf338556ebec9b2accfa450b0734d72b25bbb7296aaaeafed247aac2117c32f3ebfce5ae716e4b196bf
|
|
||||||
DIST lxd-5.17.tar.gz.asc 833 BLAKE2B bc781d520b8314261b6681603f17fcb82d045bb969ebf8eec64c82ef73f493892d48d50c870f72e9f4f1f6c7dd4b63239a5039949e4f7bb49539c69538b4a2f2 SHA512 7e76a6cfcb1bf5b7b864125b412d5bd4766b4af6cdab40d70324c4103d1a716c39dfa5cf0eccf2cb7862f182c7c469f18ca46b981a1be3fc0fac8c47537d6c1c
|
|
||||||
DIST lxd-5.18.tar.gz 22536474 BLAKE2B 44dabd50c137adde794ed266484a071d1aecff9300f8710d748a550415bd5f21b5f4ab40602f7b648cc05f9acc403782209636bdb8fe9720ff2808e8816aa27b SHA512 a9bdc276fb040413bad47579fb420951a007d725319c89abfde14062933267c7e5c67c546f2222905232231997a8f47fa097ed603d93dde2b9990b3e7018103f
|
DIST lxd-5.18.tar.gz 22536474 BLAKE2B 44dabd50c137adde794ed266484a071d1aecff9300f8710d748a550415bd5f21b5f4ab40602f7b648cc05f9acc403782209636bdb8fe9720ff2808e8816aa27b SHA512 a9bdc276fb040413bad47579fb420951a007d725319c89abfde14062933267c7e5c67c546f2222905232231997a8f47fa097ed603d93dde2b9990b3e7018103f
|
||||||
DIST lxd-5.18.tar.gz.asc 833 BLAKE2B 2eee2786d2930bce45b5f23943d3e9b0dab61595608a38077429585c3191476915d0ba7ef5eb05633a014dd92542cc5a5bfa70c4c0a63b94733297d37d78717e SHA512 959911019bffeca1cddae6b44c65b2cdbd71658cf9f714e41dd3de755629aedc0e8de196dac6ba0de0f27247e859f7090dc23edf4896e7a6c028b87e3665a5e2
|
DIST lxd-5.18.tar.gz.asc 833 BLAKE2B 2eee2786d2930bce45b5f23943d3e9b0dab61595608a38077429585c3191476915d0ba7ef5eb05633a014dd92542cc5a5bfa70c4c0a63b94733297d37d78717e SHA512 959911019bffeca1cddae6b44c65b2cdbd71658cf9f714e41dd3de755629aedc0e8de196dac6ba0de0f27247e859f7090dc23edf4896e7a6c028b87e3665a5e2
|
||||||
|
DIST lxd-5.19.tar.gz 22506800 BLAKE2B 94940a9e886d005495f8888d4491e5a8f8beee60c44051c767d32fd3dead9a93c1e546c0117207aefb60280a289d464615fba7e80385df23f397388a88be1386 SHA512 11d712245fc9cb77e7eabc748cfac38c1936be1c49b8dc4a2a7ebc06d0797f4d0d728b275cee27f9c2c64bc13275fc29ac57fc8d0dce9c24d6636b51248e9b4f
|
||||||
|
DIST lxd-5.19.tar.gz.asc 833 BLAKE2B 591f12c8e93199061b588bdffded5d159f714d91c68a0d8003590bc672cec787418611f0597fe8e137b3c2b61e8171ca6393db912b8f55ded39db934d55d3df1 SHA512 2337d42f0a7dfdbb2870511442f05e1dd9c214e1b0d96b20ee677a3a345bf41c15c0b1cb0d42ddd15766813e4ae405577f8b49fa60fdc541fb3db35c0bc569ed
|
||||||
|
|
|
@ -1,31 +0,0 @@
|
||||||
--- a/Makefile
|
|
||||||
+++ b/Makefile
|
|
||||||
@@ -249,28 +249,6 @@ endif
|
|
||||||
.PHONY: build-mo
|
|
||||||
build-mo: $(MOFILES)
|
|
||||||
|
|
||||||
-.PHONY: static-analysis
|
|
||||||
-static-analysis:
|
|
||||||
-ifeq ($(shell command -v golangci-lint),)
|
|
||||||
- curl -sSfL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh | sh -s -- -b $$(go env GOPATH)/bin
|
|
||||||
-endif
|
|
||||||
-ifeq ($(shell command -v shellcheck),)
|
|
||||||
- echo "Please install shellcheck"
|
|
||||||
- exit 1
|
|
||||||
-endif
|
|
||||||
-ifneq "$(shell shellcheck --version | grep version: | cut -d ' ' -f2)" "0.8.0"
|
|
||||||
- @echo "WARN: shellcheck version is not 0.8.0"
|
|
||||||
-endif
|
|
||||||
-ifeq ($(shell command -v flake8),)
|
|
||||||
- echo "Please install flake8"
|
|
||||||
- exit 1
|
|
||||||
-endif
|
|
||||||
- golangci-lint run --timeout 5m
|
|
||||||
- flake8 test/deps/import-busybox
|
|
||||||
- shellcheck --shell sh test/*.sh test/includes/*.sh test/suites/*.sh test/backends/*.sh test/lint/*.sh
|
|
||||||
- shellcheck test/extras/*.sh
|
|
||||||
- run-parts --exit-on-error --regex '.sh' test/lint
|
|
||||||
-
|
|
||||||
.PHONY: tags
|
|
||||||
tags: *.go lxd/*.go shared/*.go lxc/*.go
|
|
||||||
find . -type f -name '*.go' | xargs gotags > tags
|
|
|
@ -182,7 +182,7 @@ pkg_postinst() {
|
||||||
optfeature "virtual machine support" app-emulation/qemu[spice,usbredir,virtfs]
|
optfeature "virtual machine support" app-emulation/qemu[spice,usbredir,virtfs]
|
||||||
optfeature "btrfs storage backend" sys-fs/btrfs-progs
|
optfeature "btrfs storage backend" sys-fs/btrfs-progs
|
||||||
optfeature "ipv6 support" net-dns/dnsmasq[ipv6]
|
optfeature "ipv6 support" net-dns/dnsmasq[ipv6]
|
||||||
optfeature "full lxd-migrate support"
|
optfeature "full lxd-migrate support" net-misc/rsync
|
||||||
optfeature "lvm2 storage backend" sys-fs/lvm2
|
optfeature "lvm2 storage backend" sys-fs/lvm2
|
||||||
optfeature "zfs storage backend" sys-fs/zfs
|
optfeature "zfs storage backend" sys-fs/zfs
|
||||||
elog
|
elog
|
||||||
|
|
|
@ -184,7 +184,7 @@ pkg_postinst() {
|
||||||
optfeature "virtual machine support" app-emulation/qemu[spice,usbredir,virtfs]
|
optfeature "virtual machine support" app-emulation/qemu[spice,usbredir,virtfs]
|
||||||
optfeature "btrfs storage backend" sys-fs/btrfs-progs
|
optfeature "btrfs storage backend" sys-fs/btrfs-progs
|
||||||
optfeature "ipv6 support" net-dns/dnsmasq[ipv6]
|
optfeature "ipv6 support" net-dns/dnsmasq[ipv6]
|
||||||
optfeature "full lxd-migrate support"
|
optfeature "full lxd-migrate support" net-misc/rsync
|
||||||
optfeature "lvm2 storage backend" sys-fs/lvm2
|
optfeature "lvm2 storage backend" sys-fs/lvm2
|
||||||
optfeature "zfs storage backend" sys-fs/zfs
|
optfeature "zfs storage backend" sys-fs/zfs
|
||||||
elog
|
elog
|
||||||
|
|
|
@ -86,10 +86,6 @@ RESTRICT="test"
|
||||||
|
|
||||||
GOPATH="${S}/_dist"
|
GOPATH="${S}/_dist"
|
||||||
|
|
||||||
PATCHES=(
|
|
||||||
"${FILESDIR}"/lxd-5.17-remove-shellcheck-buildsystem-checks.patch
|
|
||||||
)
|
|
||||||
|
|
||||||
src_prepare() {
|
src_prepare() {
|
||||||
export GOPATH="${S}/_dist"
|
export GOPATH="${S}/_dist"
|
||||||
|
|
||||||
|
@ -184,7 +180,7 @@ pkg_postinst() {
|
||||||
optfeature "virtual machine support" app-emulation/qemu[spice,usbredir,virtfs]
|
optfeature "virtual machine support" app-emulation/qemu[spice,usbredir,virtfs]
|
||||||
optfeature "btrfs storage backend" sys-fs/btrfs-progs
|
optfeature "btrfs storage backend" sys-fs/btrfs-progs
|
||||||
optfeature "ipv6 support" net-dns/dnsmasq[ipv6]
|
optfeature "ipv6 support" net-dns/dnsmasq[ipv6]
|
||||||
optfeature "full lxd-migrate support"
|
optfeature "full lxd-migrate support" net-misc/rsync
|
||||||
optfeature "lvm2 storage backend" sys-fs/lvm2
|
optfeature "lvm2 storage backend" sys-fs/lvm2
|
||||||
optfeature "zfs storage backend" sys-fs/zfs
|
optfeature "zfs storage backend" sys-fs/zfs
|
||||||
elog
|
elog
|
1
app-containers/podman-tui/Manifest
Normal file
1
app-containers/podman-tui/Manifest
Normal file
|
@ -0,0 +1 @@
|
||||||
|
DIST podman-tui-0.11.0.tar.gz 13317542 BLAKE2B 0492799b7e61eaa75344392d824be6f41bac0b61510587cca936ec2e5f516e2513e709d739e66cd86a658fa916f61a02dbf0802a3761bab2ccb11705c3d514f3 SHA512 1b5ce216829a0f2ef345920ea908a5f721ee704bf3c7efe121e42c413edb84fb247eb32964fcd7928c734df93efd85a3c1fb5a92b0e6f3c1de3b4906fbc77fe2
|
17
app-containers/podman-tui/metadata.xml
Normal file
17
app-containers/podman-tui/metadata.xml
Normal file
|
@ -0,0 +1,17 @@
|
||||||
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
|
||||||
|
<pkgmetadata>
|
||||||
|
<maintainer type="person" proxied="yes">
|
||||||
|
<email>rahil3108@gmail.com</email>
|
||||||
|
<name>Rahil Bhimjiani</name>
|
||||||
|
</maintainer>
|
||||||
|
<maintainer type="project" proxied="proxy">
|
||||||
|
<email>proxy-maint@gentoo.org</email>
|
||||||
|
<name>Proxy Maintainers</name>
|
||||||
|
</maintainer>
|
||||||
|
<upstream>
|
||||||
|
<remote-id type="github">containers/podman-tui</remote-id>
|
||||||
|
<bugs-to>https://github.com/containers/podman-tui/issues</bugs-to>
|
||||||
|
<doc>https://github.com/containers/podman-tui/blob/main/README.md</doc>
|
||||||
|
</upstream>
|
||||||
|
</pkgmetadata>
|
34
app-containers/podman-tui/podman-tui-0.11.0.ebuild
Normal file
34
app-containers/podman-tui/podman-tui-0.11.0.ebuild
Normal file
|
@ -0,0 +1,34 @@
|
||||||
|
# Copyright 1999-2023 Gentoo Authors
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
|
||||||
|
EAPI=8
|
||||||
|
|
||||||
|
inherit go-module
|
||||||
|
DESCRIPTION="Terminal UI frontend for Podman"
|
||||||
|
HOMEPAGE="https://github.com/containers/podman-tui"
|
||||||
|
|
||||||
|
if [[ ${PV} == *9999* ]]; then
|
||||||
|
inherit git-r3
|
||||||
|
EGIT_REPO_URI="https://github.com/containers/podman-tui.git"
|
||||||
|
else
|
||||||
|
SRC_URI="https://github.com/containers/podman-tui/archive/v${PV}.tar.gz -> ${P}.tar.gz"
|
||||||
|
KEYWORDS="~amd64"
|
||||||
|
fi
|
||||||
|
|
||||||
|
LICENSE="Apache-2.0 BSD-2 BSD MIT MPL-2.0"
|
||||||
|
SLOT="0"
|
||||||
|
RESTRICT="test"
|
||||||
|
RDEPEND="
|
||||||
|
>=app-containers/podman-4.0.2
|
||||||
|
"
|
||||||
|
|
||||||
|
src_compile() {
|
||||||
|
# parse tags from Makefile & make them comma-seperated as space-seperated list is deprecated
|
||||||
|
local BUILDTAGS=$(grep 'BUILDTAGS :=' Makefile | awk -F\" '{ print $2; }' | sed -e 's| |,|g;')
|
||||||
|
ego build -tags "${BUILDTAGS}"
|
||||||
|
}
|
||||||
|
|
||||||
|
src_install() {
|
||||||
|
dobin "${PN}"
|
||||||
|
einstalldocs
|
||||||
|
}
|
34
app-containers/podman-tui/podman-tui-9999.ebuild
Normal file
34
app-containers/podman-tui/podman-tui-9999.ebuild
Normal file
|
@ -0,0 +1,34 @@
|
||||||
|
# Copyright 1999-2023 Gentoo Authors
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
|
||||||
|
EAPI=8
|
||||||
|
|
||||||
|
inherit go-module
|
||||||
|
DESCRIPTION="Terminal UI frontend for Podman"
|
||||||
|
HOMEPAGE="https://github.com/containers/podman-tui"
|
||||||
|
|
||||||
|
if [[ ${PV} == *9999* ]]; then
|
||||||
|
inherit git-r3
|
||||||
|
EGIT_REPO_URI="https://github.com/containers/podman-tui.git"
|
||||||
|
else
|
||||||
|
SRC_URI="https://github.com/containers/podman-tui/archive/v${PV}.tar.gz -> ${P}.tar.gz"
|
||||||
|
KEYWORDS="~amd64"
|
||||||
|
fi
|
||||||
|
|
||||||
|
LICENSE="Apache-2.0 BSD-2 BSD MIT MPL-2.0"
|
||||||
|
SLOT="0"
|
||||||
|
RESTRICT="test"
|
||||||
|
RDEPEND="
|
||||||
|
>=app-containers/podman-4.0.2
|
||||||
|
"
|
||||||
|
|
||||||
|
src_compile() {
|
||||||
|
# parse tags from Makefile & make them comma-seperated as space-seperated list is deprecated
|
||||||
|
local BUILDTAGS=$(grep 'BUILDTAGS :=' Makefile | awk -F\" '{ print $2; }' | sed -e 's| |,|g;')
|
||||||
|
ego build -tags "${BUILDTAGS}"
|
||||||
|
}
|
||||||
|
|
||||||
|
src_install() {
|
||||||
|
dobin "${PN}"
|
||||||
|
einstalldocs
|
||||||
|
}
|
Binary file not shown.
|
@ -1,3 +1,4 @@
|
||||||
DIST certbot-2.6.0.gh.tar.gz 1336339 BLAKE2B 0c0575ad553ebe0f3ab56da750572bca46b30d034033e43c30c3793c114050ad824a277eab0be5a47326ea099e58e9a421448b53fc1b9173afae9a0ec308ac62 SHA512 d694156886484511f5a38fb5e40f98b2e2dbe4bc5110c95b2084ec03b39cb0eb9bbc623c7bca4a81054e980c8dbac752949042391813298a27be7e70410882e3
|
DIST certbot-2.6.0.gh.tar.gz 1336339 BLAKE2B 0c0575ad553ebe0f3ab56da750572bca46b30d034033e43c30c3793c114050ad824a277eab0be5a47326ea099e58e9a421448b53fc1b9173afae9a0ec308ac62 SHA512 d694156886484511f5a38fb5e40f98b2e2dbe4bc5110c95b2084ec03b39cb0eb9bbc623c7bca4a81054e980c8dbac752949042391813298a27be7e70410882e3
|
||||||
DIST certbot-2.7.0.gh.tar.gz 1336481 BLAKE2B 224f26819ee55b99a26540e7f56a8466c806d08149cce511d28d77ce9f5fb8073ec65e6cfa3e0c168ca84ddcbf85478ff335b84feaadee66db6c5a811be202be SHA512 1e1defcd143f804a36b50e3104d239bf20873545474ceb654269a5879e15cfbb76a18bd569f5e6e12de1036779e72c74d9896707daabc314fc5d67acc1c5180d
|
DIST certbot-2.7.0.gh.tar.gz 1336481 BLAKE2B 224f26819ee55b99a26540e7f56a8466c806d08149cce511d28d77ce9f5fb8073ec65e6cfa3e0c168ca84ddcbf85478ff335b84feaadee66db6c5a811be202be SHA512 1e1defcd143f804a36b50e3104d239bf20873545474ceb654269a5879e15cfbb76a18bd569f5e6e12de1036779e72c74d9896707daabc314fc5d67acc1c5180d
|
||||||
DIST certbot-2.7.1.gh.tar.gz 1336424 BLAKE2B 46351af6c6ec918cdfdcfd44009bc878ea4599f0bafc5c61b6385bdba8ba4f47bc7ef20d11bbfb1fc5fef435336e7c7a3de1c7f302047744fb283779d0366033 SHA512 01b4ca4455408bffddb6d8c49fc97a72692995a9c7e887ef3b4b259e1ebb11f5e3651ebb9a53b0a30c81457b3c49c28b5250493070c2c3cb3caa5ed4f707d149
|
DIST certbot-2.7.1.gh.tar.gz 1336424 BLAKE2B 46351af6c6ec918cdfdcfd44009bc878ea4599f0bafc5c61b6385bdba8ba4f47bc7ef20d11bbfb1fc5fef435336e7c7a3de1c7f302047744fb283779d0366033 SHA512 01b4ca4455408bffddb6d8c49fc97a72692995a9c7e887ef3b4b259e1ebb11f5e3651ebb9a53b0a30c81457b3c49c28b5250493070c2c3cb3caa5ed4f707d149
|
||||||
|
DIST certbot-2.7.2.gh.tar.gz 1343827 BLAKE2B 83fade55e9ea348b5a0fb10ab425f1d23ef6f4e8d43e7c762e363230548ede061ace66cbc49212cca1262809bcf046703859b80a93d698b7ffc545ff16f56bf5 SHA512 bb82a6f6f8d4042e598f9b4b583fd3ea3128026f41acbacb9ee932b195522e565eaddf7ae8d6a661cab5e2f15a436e234f36e0388c730844bff40a3f982a45ee
|
||||||
|
|
60
app-crypt/acme/acme-2.7.2.ebuild
Normal file
60
app-crypt/acme/acme-2.7.2.ebuild
Normal file
|
@ -0,0 +1,60 @@
|
||||||
|
# Copyright 1999-2023 Gentoo Authors
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
|
||||||
|
EAPI=8
|
||||||
|
|
||||||
|
PYTHON_COMPAT=( python3_{9..11} )
|
||||||
|
DISTUTILS_USE_PEP517=setuptools
|
||||||
|
|
||||||
|
inherit distutils-r1
|
||||||
|
|
||||||
|
PARENT_PN="certbot"
|
||||||
|
PARENT_P="${PARENT_PN}-${PV}"
|
||||||
|
|
||||||
|
if [[ "${PV}" == *9999 ]]; then
|
||||||
|
inherit git-r3
|
||||||
|
|
||||||
|
EGIT_REPO_URI="https://github.com/certbot/certbot.git"
|
||||||
|
EGIT_SUBMODULES=()
|
||||||
|
EGIT_CHECKOUT_DIR="${WORKDIR}/${PARENT_P}"
|
||||||
|
else
|
||||||
|
SRC_URI="
|
||||||
|
https://github.com/certbot/certbot/archive/v${PV}.tar.gz
|
||||||
|
-> ${PARENT_P}.gh.tar.gz
|
||||||
|
"
|
||||||
|
KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~riscv ~x86"
|
||||||
|
fi
|
||||||
|
|
||||||
|
DESCRIPTION="An implementation of the ACME protocol"
|
||||||
|
HOMEPAGE="
|
||||||
|
https://github.com/certbot/certbot
|
||||||
|
https://letsencrypt.org/
|
||||||
|
"
|
||||||
|
|
||||||
|
LICENSE="Apache-2.0"
|
||||||
|
SLOT="0"
|
||||||
|
|
||||||
|
S="${WORKDIR}/${PARENT_P}/${PN}"
|
||||||
|
|
||||||
|
BDEPEND="
|
||||||
|
test? (
|
||||||
|
dev-python/pytest[${PYTHON_USEDEP}]
|
||||||
|
dev-python/pytest-xdist[${PYTHON_USEDEP}]
|
||||||
|
dev-python/typing-extensions[${PYTHON_USEDEP}]
|
||||||
|
)
|
||||||
|
"
|
||||||
|
# The requirement is really 17.5.0 but easier to require latest stable >= 23.1.1
|
||||||
|
# to avoid broken 23.1.0.
|
||||||
|
RDEPEND="
|
||||||
|
dev-python/chardet[${PYTHON_USEDEP}]
|
||||||
|
>=dev-python/cryptography-3.2.1[${PYTHON_USEDEP}]
|
||||||
|
>=dev-python/josepy-1.13.0[${PYTHON_USEDEP}]
|
||||||
|
>=dev-python/pyopenssl-23.1.1[${PYTHON_USEDEP}]
|
||||||
|
dev-python/pyrfc3339[${PYTHON_USEDEP}]
|
||||||
|
>=dev-python/pytz-2019.3[${PYTHON_USEDEP}]
|
||||||
|
>=dev-python/requests-2.20.0[${PYTHON_USEDEP}]
|
||||||
|
>=dev-python/requests-toolbelt-0.3.0[${PYTHON_USEDEP}]
|
||||||
|
"
|
||||||
|
|
||||||
|
distutils_enable_sphinx docs dev-python/sphinx-rtd-theme
|
||||||
|
distutils_enable_tests pytest
|
|
@ -1,3 +1,4 @@
|
||||||
DIST certbot-2.6.0.gh.tar.gz 1336339 BLAKE2B 0c0575ad553ebe0f3ab56da750572bca46b30d034033e43c30c3793c114050ad824a277eab0be5a47326ea099e58e9a421448b53fc1b9173afae9a0ec308ac62 SHA512 d694156886484511f5a38fb5e40f98b2e2dbe4bc5110c95b2084ec03b39cb0eb9bbc623c7bca4a81054e980c8dbac752949042391813298a27be7e70410882e3
|
DIST certbot-2.6.0.gh.tar.gz 1336339 BLAKE2B 0c0575ad553ebe0f3ab56da750572bca46b30d034033e43c30c3793c114050ad824a277eab0be5a47326ea099e58e9a421448b53fc1b9173afae9a0ec308ac62 SHA512 d694156886484511f5a38fb5e40f98b2e2dbe4bc5110c95b2084ec03b39cb0eb9bbc623c7bca4a81054e980c8dbac752949042391813298a27be7e70410882e3
|
||||||
DIST certbot-2.7.0.gh.tar.gz 1336481 BLAKE2B 224f26819ee55b99a26540e7f56a8466c806d08149cce511d28d77ce9f5fb8073ec65e6cfa3e0c168ca84ddcbf85478ff335b84feaadee66db6c5a811be202be SHA512 1e1defcd143f804a36b50e3104d239bf20873545474ceb654269a5879e15cfbb76a18bd569f5e6e12de1036779e72c74d9896707daabc314fc5d67acc1c5180d
|
DIST certbot-2.7.0.gh.tar.gz 1336481 BLAKE2B 224f26819ee55b99a26540e7f56a8466c806d08149cce511d28d77ce9f5fb8073ec65e6cfa3e0c168ca84ddcbf85478ff335b84feaadee66db6c5a811be202be SHA512 1e1defcd143f804a36b50e3104d239bf20873545474ceb654269a5879e15cfbb76a18bd569f5e6e12de1036779e72c74d9896707daabc314fc5d67acc1c5180d
|
||||||
DIST certbot-2.7.1.gh.tar.gz 1336424 BLAKE2B 46351af6c6ec918cdfdcfd44009bc878ea4599f0bafc5c61b6385bdba8ba4f47bc7ef20d11bbfb1fc5fef435336e7c7a3de1c7f302047744fb283779d0366033 SHA512 01b4ca4455408bffddb6d8c49fc97a72692995a9c7e887ef3b4b259e1ebb11f5e3651ebb9a53b0a30c81457b3c49c28b5250493070c2c3cb3caa5ed4f707d149
|
DIST certbot-2.7.1.gh.tar.gz 1336424 BLAKE2B 46351af6c6ec918cdfdcfd44009bc878ea4599f0bafc5c61b6385bdba8ba4f47bc7ef20d11bbfb1fc5fef435336e7c7a3de1c7f302047744fb283779d0366033 SHA512 01b4ca4455408bffddb6d8c49fc97a72692995a9c7e887ef3b4b259e1ebb11f5e3651ebb9a53b0a30c81457b3c49c28b5250493070c2c3cb3caa5ed4f707d149
|
||||||
|
DIST certbot-2.7.2.gh.tar.gz 1343827 BLAKE2B 83fade55e9ea348b5a0fb10ab425f1d23ef6f4e8d43e7c762e363230548ede061ace66cbc49212cca1262809bcf046703859b80a93d698b7ffc545ff16f56bf5 SHA512 bb82a6f6f8d4042e598f9b4b583fd3ea3128026f41acbacb9ee932b195522e565eaddf7ae8d6a661cab5e2f15a436e234f36e0388c730844bff40a3f982a45ee
|
||||||
|
|
50
app-crypt/certbot-apache/certbot-apache-2.7.2.ebuild
Normal file
50
app-crypt/certbot-apache/certbot-apache-2.7.2.ebuild
Normal file
|
@ -0,0 +1,50 @@
|
||||||
|
# Copyright 1999-2023 Gentoo Authors
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
|
||||||
|
EAPI=8
|
||||||
|
|
||||||
|
PYTHON_COMPAT=( python3_{9..11} )
|
||||||
|
DISTUTILS_USE_PEP517=setuptools
|
||||||
|
|
||||||
|
inherit distutils-r1
|
||||||
|
|
||||||
|
PARENT_PN="${PN%-apache}"
|
||||||
|
PARENT_P="${PARENT_PN}-${PV}"
|
||||||
|
|
||||||
|
if [[ "${PV}" == *9999 ]]; then
|
||||||
|
inherit git-r3
|
||||||
|
|
||||||
|
EGIT_REPO_URI="https://github.com/certbot/certbot.git"
|
||||||
|
EGIT_SUBMODULES=()
|
||||||
|
EGIT_CHECKOUT_DIR="${WORKDIR}/${PARENT_P}"
|
||||||
|
else
|
||||||
|
SRC_URI="
|
||||||
|
https://github.com/certbot/certbot/archive/v${PV}.tar.gz
|
||||||
|
-> ${PARENT_P}.gh.tar.gz
|
||||||
|
"
|
||||||
|
# Only for amd64, arm64 and x86 because of dev-python/python-augeas
|
||||||
|
KEYWORDS="~amd64 ~arm64 ~x86"
|
||||||
|
fi
|
||||||
|
|
||||||
|
DESCRIPTION="Apache plugin for Certbot (Let’s Encrypt client)"
|
||||||
|
HOMEPAGE="
|
||||||
|
https://github.com/certbot/certbot
|
||||||
|
https://letsencrypt.org/
|
||||||
|
"
|
||||||
|
|
||||||
|
LICENSE="Apache-2.0"
|
||||||
|
SLOT="0"
|
||||||
|
|
||||||
|
S="${WORKDIR}/${PARENT_P}/${PN}"
|
||||||
|
|
||||||
|
BDEPEND="
|
||||||
|
test? ( dev-python/pytest[${PYTHON_USEDEP}] )
|
||||||
|
"
|
||||||
|
|
||||||
|
RDEPEND="
|
||||||
|
>=app-crypt/acme-${PV}[${PYTHON_USEDEP}]
|
||||||
|
>=app-crypt/certbot-${PV}[${PYTHON_USEDEP}]
|
||||||
|
dev-python/python-augeas[${PYTHON_USEDEP}]
|
||||||
|
"
|
||||||
|
|
||||||
|
distutils_enable_tests pytest
|
|
@ -1,3 +1,4 @@
|
||||||
DIST certbot-2.6.0.gh.tar.gz 1336339 BLAKE2B 0c0575ad553ebe0f3ab56da750572bca46b30d034033e43c30c3793c114050ad824a277eab0be5a47326ea099e58e9a421448b53fc1b9173afae9a0ec308ac62 SHA512 d694156886484511f5a38fb5e40f98b2e2dbe4bc5110c95b2084ec03b39cb0eb9bbc623c7bca4a81054e980c8dbac752949042391813298a27be7e70410882e3
|
DIST certbot-2.6.0.gh.tar.gz 1336339 BLAKE2B 0c0575ad553ebe0f3ab56da750572bca46b30d034033e43c30c3793c114050ad824a277eab0be5a47326ea099e58e9a421448b53fc1b9173afae9a0ec308ac62 SHA512 d694156886484511f5a38fb5e40f98b2e2dbe4bc5110c95b2084ec03b39cb0eb9bbc623c7bca4a81054e980c8dbac752949042391813298a27be7e70410882e3
|
||||||
DIST certbot-2.7.0.gh.tar.gz 1336481 BLAKE2B 224f26819ee55b99a26540e7f56a8466c806d08149cce511d28d77ce9f5fb8073ec65e6cfa3e0c168ca84ddcbf85478ff335b84feaadee66db6c5a811be202be SHA512 1e1defcd143f804a36b50e3104d239bf20873545474ceb654269a5879e15cfbb76a18bd569f5e6e12de1036779e72c74d9896707daabc314fc5d67acc1c5180d
|
DIST certbot-2.7.0.gh.tar.gz 1336481 BLAKE2B 224f26819ee55b99a26540e7f56a8466c806d08149cce511d28d77ce9f5fb8073ec65e6cfa3e0c168ca84ddcbf85478ff335b84feaadee66db6c5a811be202be SHA512 1e1defcd143f804a36b50e3104d239bf20873545474ceb654269a5879e15cfbb76a18bd569f5e6e12de1036779e72c74d9896707daabc314fc5d67acc1c5180d
|
||||||
DIST certbot-2.7.1.gh.tar.gz 1336424 BLAKE2B 46351af6c6ec918cdfdcfd44009bc878ea4599f0bafc5c61b6385bdba8ba4f47bc7ef20d11bbfb1fc5fef435336e7c7a3de1c7f302047744fb283779d0366033 SHA512 01b4ca4455408bffddb6d8c49fc97a72692995a9c7e887ef3b4b259e1ebb11f5e3651ebb9a53b0a30c81457b3c49c28b5250493070c2c3cb3caa5ed4f707d149
|
DIST certbot-2.7.1.gh.tar.gz 1336424 BLAKE2B 46351af6c6ec918cdfdcfd44009bc878ea4599f0bafc5c61b6385bdba8ba4f47bc7ef20d11bbfb1fc5fef435336e7c7a3de1c7f302047744fb283779d0366033 SHA512 01b4ca4455408bffddb6d8c49fc97a72692995a9c7e887ef3b4b259e1ebb11f5e3651ebb9a53b0a30c81457b3c49c28b5250493070c2c3cb3caa5ed4f707d149
|
||||||
|
DIST certbot-2.7.2.gh.tar.gz 1343827 BLAKE2B 83fade55e9ea348b5a0fb10ab425f1d23ef6f4e8d43e7c762e363230548ede061ace66cbc49212cca1262809bcf046703859b80a93d698b7ffc545ff16f56bf5 SHA512 bb82a6f6f8d4042e598f9b4b583fd3ea3128026f41acbacb9ee932b195522e565eaddf7ae8d6a661cab5e2f15a436e234f36e0388c730844bff40a3f982a45ee
|
||||||
|
|
52
app-crypt/certbot-nginx/certbot-nginx-2.7.2.ebuild
Normal file
52
app-crypt/certbot-nginx/certbot-nginx-2.7.2.ebuild
Normal file
|
@ -0,0 +1,52 @@
|
||||||
|
# Copyright 1999-2023 Gentoo Authors
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
|
||||||
|
EAPI=8
|
||||||
|
|
||||||
|
PYTHON_COMPAT=( python3_{9..11} )
|
||||||
|
DISTUTILS_USE_PEP517=setuptools
|
||||||
|
|
||||||
|
inherit distutils-r1
|
||||||
|
|
||||||
|
PARENT_PN="${PN%-nginx}"
|
||||||
|
PARENT_P="${PARENT_PN}-${PV}"
|
||||||
|
|
||||||
|
if [[ "${PV}" == *9999 ]]; then
|
||||||
|
inherit git-r3
|
||||||
|
|
||||||
|
EGIT_REPO_URI="https://github.com/certbot/certbot.git"
|
||||||
|
EGIT_SUBMODULES=()
|
||||||
|
EGIT_CHECKOUT_DIR="${WORKDIR}/${PARENT_P}"
|
||||||
|
else
|
||||||
|
SRC_URI="
|
||||||
|
https://github.com/certbot/certbot/archive/v${PV}.tar.gz
|
||||||
|
-> ${PARENT_P}.gh.tar.gz
|
||||||
|
"
|
||||||
|
KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~riscv ~x86"
|
||||||
|
fi
|
||||||
|
|
||||||
|
DESCRIPTION="Nginx plugin for Certbot (Let’s Encrypt client)"
|
||||||
|
HOMEPAGE="
|
||||||
|
https://github.com/certbot/certbot
|
||||||
|
https://letsencrypt.org/
|
||||||
|
"
|
||||||
|
|
||||||
|
LICENSE="Apache-2.0"
|
||||||
|
SLOT="0"
|
||||||
|
|
||||||
|
S="${WORKDIR}/${PARENT_P}/${PN}"
|
||||||
|
|
||||||
|
BDEPEND="
|
||||||
|
test? ( dev-python/pytest[${PYTHON_USEDEP}] )
|
||||||
|
"
|
||||||
|
|
||||||
|
# The requirement is really 17.5.0 but easier to require latest stable >= 23.1.1
|
||||||
|
# to avoid broken 23.1.0.
|
||||||
|
RDEPEND="
|
||||||
|
>=app-crypt/acme-${PV}[${PYTHON_USEDEP}]
|
||||||
|
>=app-crypt/certbot-${PV}[${PYTHON_USEDEP}]
|
||||||
|
>=dev-python/pyopenssl-23.1.1[${PYTHON_USEDEP}]
|
||||||
|
>=dev-python/pyparsing-2.2.1[${PYTHON_USEDEP}]
|
||||||
|
"
|
||||||
|
|
||||||
|
distutils_enable_tests pytest
|
|
@ -1,3 +1,4 @@
|
||||||
DIST certbot-2.6.0.gh.tar.gz 1336339 BLAKE2B 0c0575ad553ebe0f3ab56da750572bca46b30d034033e43c30c3793c114050ad824a277eab0be5a47326ea099e58e9a421448b53fc1b9173afae9a0ec308ac62 SHA512 d694156886484511f5a38fb5e40f98b2e2dbe4bc5110c95b2084ec03b39cb0eb9bbc623c7bca4a81054e980c8dbac752949042391813298a27be7e70410882e3
|
DIST certbot-2.6.0.gh.tar.gz 1336339 BLAKE2B 0c0575ad553ebe0f3ab56da750572bca46b30d034033e43c30c3793c114050ad824a277eab0be5a47326ea099e58e9a421448b53fc1b9173afae9a0ec308ac62 SHA512 d694156886484511f5a38fb5e40f98b2e2dbe4bc5110c95b2084ec03b39cb0eb9bbc623c7bca4a81054e980c8dbac752949042391813298a27be7e70410882e3
|
||||||
DIST certbot-2.7.0.gh.tar.gz 1336481 BLAKE2B 224f26819ee55b99a26540e7f56a8466c806d08149cce511d28d77ce9f5fb8073ec65e6cfa3e0c168ca84ddcbf85478ff335b84feaadee66db6c5a811be202be SHA512 1e1defcd143f804a36b50e3104d239bf20873545474ceb654269a5879e15cfbb76a18bd569f5e6e12de1036779e72c74d9896707daabc314fc5d67acc1c5180d
|
DIST certbot-2.7.0.gh.tar.gz 1336481 BLAKE2B 224f26819ee55b99a26540e7f56a8466c806d08149cce511d28d77ce9f5fb8073ec65e6cfa3e0c168ca84ddcbf85478ff335b84feaadee66db6c5a811be202be SHA512 1e1defcd143f804a36b50e3104d239bf20873545474ceb654269a5879e15cfbb76a18bd569f5e6e12de1036779e72c74d9896707daabc314fc5d67acc1c5180d
|
||||||
DIST certbot-2.7.1.gh.tar.gz 1336424 BLAKE2B 46351af6c6ec918cdfdcfd44009bc878ea4599f0bafc5c61b6385bdba8ba4f47bc7ef20d11bbfb1fc5fef435336e7c7a3de1c7f302047744fb283779d0366033 SHA512 01b4ca4455408bffddb6d8c49fc97a72692995a9c7e887ef3b4b259e1ebb11f5e3651ebb9a53b0a30c81457b3c49c28b5250493070c2c3cb3caa5ed4f707d149
|
DIST certbot-2.7.1.gh.tar.gz 1336424 BLAKE2B 46351af6c6ec918cdfdcfd44009bc878ea4599f0bafc5c61b6385bdba8ba4f47bc7ef20d11bbfb1fc5fef435336e7c7a3de1c7f302047744fb283779d0366033 SHA512 01b4ca4455408bffddb6d8c49fc97a72692995a9c7e887ef3b4b259e1ebb11f5e3651ebb9a53b0a30c81457b3c49c28b5250493070c2c3cb3caa5ed4f707d149
|
||||||
|
DIST certbot-2.7.2.gh.tar.gz 1343827 BLAKE2B 83fade55e9ea348b5a0fb10ab425f1d23ef6f4e8d43e7c762e363230548ede061ace66cbc49212cca1262809bcf046703859b80a93d698b7ffc545ff16f56bf5 SHA512 bb82a6f6f8d4042e598f9b4b583fd3ea3128026f41acbacb9ee932b195522e565eaddf7ae8d6a661cab5e2f15a436e234f36e0388c730844bff40a3f982a45ee
|
||||||
|
|
62
app-crypt/certbot/certbot-2.7.2.ebuild
Normal file
62
app-crypt/certbot/certbot-2.7.2.ebuild
Normal file
|
@ -0,0 +1,62 @@
|
||||||
|
# Copyright 1999-2023 Gentoo Authors
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
|
||||||
|
EAPI=8
|
||||||
|
|
||||||
|
PYTHON_COMPAT=( python3_{9..11} )
|
||||||
|
DISTUTILS_USE_PEP517=setuptools
|
||||||
|
|
||||||
|
inherit distutils-r1
|
||||||
|
|
||||||
|
if [[ "${PV}" == *9999 ]]; then
|
||||||
|
inherit git-r3
|
||||||
|
|
||||||
|
EGIT_REPO_URI="https://github.com/certbot/certbot.git"
|
||||||
|
EGIT_SUBMODULES=()
|
||||||
|
EGIT_CHECKOUT_DIR="${WORKDIR}/${P}"
|
||||||
|
else
|
||||||
|
SRC_URI="
|
||||||
|
https://github.com/certbot/certbot/archive/v${PV}.tar.gz
|
||||||
|
-> ${P}.gh.tar.gz
|
||||||
|
"
|
||||||
|
KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~riscv ~x86"
|
||||||
|
fi
|
||||||
|
|
||||||
|
DESCRIPTION="Let’s Encrypt client to automate deployment of X.509 certificates"
|
||||||
|
HOMEPAGE="
|
||||||
|
https://github.com/certbot/certbot
|
||||||
|
https://letsencrypt.org/
|
||||||
|
"
|
||||||
|
|
||||||
|
LICENSE="Apache-2.0"
|
||||||
|
SLOT="0"
|
||||||
|
|
||||||
|
IUSE="selinux"
|
||||||
|
|
||||||
|
S="${WORKDIR}/${P}/${PN}"
|
||||||
|
|
||||||
|
BDEPEND="
|
||||||
|
test? (
|
||||||
|
dev-python/pytest[${PYTHON_USEDEP}]
|
||||||
|
dev-python/pytest-cov[${PYTHON_USEDEP}]
|
||||||
|
dev-python/pytest-xdist[${PYTHON_USEDEP}]
|
||||||
|
dev-python/typing-extensions[${PYTHON_USEDEP}]
|
||||||
|
)
|
||||||
|
"
|
||||||
|
|
||||||
|
# See certbot/setup.py for acme >= dep
|
||||||
|
RDEPEND="
|
||||||
|
>=app-crypt/acme-${PV}[${PYTHON_USEDEP}]
|
||||||
|
>=dev-python/ConfigArgParse-1.5.3[${PYTHON_USEDEP}]
|
||||||
|
>=dev-python/configobj-5.0.6[${PYTHON_USEDEP}]
|
||||||
|
>=dev-python/cryptography-3.2.1[${PYTHON_USEDEP}]
|
||||||
|
>=dev-python/distro-1.0.1[${PYTHON_USEDEP}]
|
||||||
|
>=dev-python/josepy-1.13.0[${PYTHON_USEDEP}]
|
||||||
|
>=dev-python/parsedatetime-2.4[${PYTHON_USEDEP}]
|
||||||
|
dev-python/pyrfc3339[${PYTHON_USEDEP}]
|
||||||
|
>=dev-python/pytz-2019.3[${PYTHON_USEDEP}]
|
||||||
|
selinux? ( sec-policy/selinux-certbot )
|
||||||
|
"
|
||||||
|
|
||||||
|
distutils_enable_sphinx docs dev-python/sphinx-rtd-theme
|
||||||
|
distutils_enable_tests pytest
|
170
app-crypt/hashcat/files/hashcat-hip.patch
Normal file
170
app-crypt/hashcat/files/hashcat-hip.patch
Normal file
|
@ -0,0 +1,170 @@
|
||||||
|
commit eaf3de164bdc327c059d3ae1bd3d2a79f6cd47bd
|
||||||
|
Author: Jens Steube <jens.steube@gmail.com>
|
||||||
|
Date: Tue Nov 1 19:36:03 2022 +0100
|
||||||
|
|
||||||
|
Remove option "-flegacy-pass-manager" if HIP backend is used. Support was removed from LLVM 15. There's no alternative option available.
|
||||||
|
Fixes #3469
|
||||||
|
|
||||||
|
diff --git a/src/backend.c b/src/backend.c
|
||||||
|
index 46a0bcdf1..193bbb447 100644
|
||||||
|
--- a/src/backend.c
|
||||||
|
+++ b/src/backend.c
|
||||||
|
@@ -8396,7 +8389,7 @@ static bool load_kernel (hashcat_ctx_t *hashcat_ctx, hc_device_param_t *device_p
|
||||||
|
|
||||||
|
hiprtc_options[1] = "-nocudainc";
|
||||||
|
hiprtc_options[2] = "-nocudalib";
|
||||||
|
- hiprtc_options[3] = "-flegacy-pass-manager";
|
||||||
|
+ hiprtc_options[3] = "";
|
||||||
|
hiprtc_options[4] = "";
|
||||||
|
|
||||||
|
// untested but it should work
|
||||||
|
diff --git a/src/modules/module_00500.c b/src/modules/module_00500.c
|
||||||
|
index deb73024b..e86de7a19 100644
|
||||||
|
--- a/src/modules/module_00500.c
|
||||||
|
+++ b/src/modules/module_00500.c
|
||||||
|
@@ -57,19 +57,6 @@ u64 module_tmp_size (MAYBE_UNUSED const hashconfig_t *hashconfig, MAYBE_UNUSED c
|
||||||
|
return tmp_size;
|
||||||
|
}
|
||||||
|
|
||||||
|
-char *module_jit_build_options (MAYBE_UNUSED const hashconfig_t *hashconfig, MAYBE_UNUSED const user_options_t *user_options, MAYBE_UNUSED const user_options_extra_t *user_options_extra, MAYBE_UNUSED const hashes_t *hashes, MAYBE_UNUSED const hc_device_param_t *device_param)
|
||||||
|
-{
|
||||||
|
- char *jit_build_options = NULL;
|
||||||
|
-
|
||||||
|
- // AMD HIP
|
||||||
|
- if (device_param->opencl_device_vendor_id == VENDOR_ID_AMD_USE_HIP)
|
||||||
|
- {
|
||||||
|
- hc_asprintf (&jit_build_options, "-flegacy-pass-manager");
|
||||||
|
- }
|
||||||
|
-
|
||||||
|
- return jit_build_options;
|
||||||
|
-}
|
||||||
|
-
|
||||||
|
static void md5crypt_decode (u8 digest[16], const u8 buf[22])
|
||||||
|
{
|
||||||
|
int l;
|
||||||
|
@@ -304,7 +291,7 @@ void module_init (module_ctx_t *module_ctx)
|
||||||
|
module_ctx->module_hook23 = MODULE_DEFAULT;
|
||||||
|
module_ctx->module_hook_salt_size = MODULE_DEFAULT;
|
||||||
|
module_ctx->module_hook_size = MODULE_DEFAULT;
|
||||||
|
- module_ctx->module_jit_build_options = module_jit_build_options;
|
||||||
|
+ module_ctx->module_jit_build_options = MODULE_DEFAULT;
|
||||||
|
module_ctx->module_jit_cache_disable = MODULE_DEFAULT;
|
||||||
|
module_ctx->module_kernel_accel_max = MODULE_DEFAULT;
|
||||||
|
module_ctx->module_kernel_accel_min = MODULE_DEFAULT;
|
||||||
|
diff --git a/src/modules/module_00501.c b/src/modules/module_00501.c
|
||||||
|
index 22b28e385..b22c8f80d 100644
|
||||||
|
--- a/src/modules/module_00501.c
|
||||||
|
+++ b/src/modules/module_00501.c
|
||||||
|
@@ -59,19 +59,6 @@ u64 module_tmp_size (MAYBE_UNUSED const hashconfig_t *hashconfig, MAYBE_UNUSED c
|
||||||
|
return tmp_size;
|
||||||
|
}
|
||||||
|
|
||||||
|
-char *module_jit_build_options (MAYBE_UNUSED const hashconfig_t *hashconfig, MAYBE_UNUSED const user_options_t *user_options, MAYBE_UNUSED const user_options_extra_t *user_options_extra, MAYBE_UNUSED const hashes_t *hashes, MAYBE_UNUSED const hc_device_param_t *device_param)
|
||||||
|
-{
|
||||||
|
- char *jit_build_options = NULL;
|
||||||
|
-
|
||||||
|
- // AMD HIP
|
||||||
|
- if (device_param->opencl_device_vendor_id == VENDOR_ID_AMD_USE_HIP)
|
||||||
|
- {
|
||||||
|
- hc_asprintf (&jit_build_options, "-flegacy-pass-manager");
|
||||||
|
- }
|
||||||
|
-
|
||||||
|
- return jit_build_options;
|
||||||
|
-}
|
||||||
|
-
|
||||||
|
static void AES128_decrypt_cbc (const u32 key[4], const u32 iv[4], const u32 in[16], u32 out[16])
|
||||||
|
{
|
||||||
|
AES_KEY skey;
|
||||||
|
@@ -383,7 +370,7 @@ void module_init (module_ctx_t *module_ctx)
|
||||||
|
module_ctx->module_hook23 = MODULE_DEFAULT;
|
||||||
|
module_ctx->module_hook_salt_size = MODULE_DEFAULT;
|
||||||
|
module_ctx->module_hook_size = MODULE_DEFAULT;
|
||||||
|
- module_ctx->module_jit_build_options = module_jit_build_options;
|
||||||
|
+ module_ctx->module_jit_build_options = MODULE_DEFAULT;
|
||||||
|
module_ctx->module_jit_cache_disable = MODULE_DEFAULT;
|
||||||
|
module_ctx->module_kernel_accel_max = MODULE_DEFAULT;
|
||||||
|
module_ctx->module_kernel_accel_min = MODULE_DEFAULT;
|
||||||
|
diff --git a/src/modules/module_01500.c b/src/modules/module_01500.c
|
||||||
|
index fcd6e9f04..acc09c075 100644
|
||||||
|
--- a/src/modules/module_01500.c
|
||||||
|
+++ b/src/modules/module_01500.c
|
||||||
|
@@ -168,11 +168,11 @@ char *module_jit_build_options (MAYBE_UNUSED const hashconfig_t *hashconfig, MAY
|
||||||
|
{
|
||||||
|
if ((user_options->attack_mode == ATTACK_MODE_BF) && (hashes->salts_cnt == 1) && (user_options->slow_candidates == false))
|
||||||
|
{
|
||||||
|
- hc_asprintf (&jit_build_options, "-D DESCRYPT_SALT=%u -D _unroll -flegacy-pass-manager", hashes->salts_buf[0].salt_buf[0] & 0xfff);
|
||||||
|
+ hc_asprintf (&jit_build_options, "-D DESCRYPT_SALT=%u -D _unroll", hashes->salts_buf[0].salt_buf[0] & 0xfff);
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
- hc_asprintf (&jit_build_options, "-D _unroll -flegacy-pass-manager");
|
||||||
|
+ hc_asprintf (&jit_build_options, "-D _unroll");
|
||||||
|
}
|
||||||
|
}
|
||||||
|
else
|
||||||
|
diff --git a/src/modules/module_01600.c b/src/modules/module_01600.c
|
||||||
|
index 63f6038a6..5c62252b1 100644
|
||||||
|
--- a/src/modules/module_01600.c
|
||||||
|
+++ b/src/modules/module_01600.c
|
||||||
|
@@ -57,19 +57,6 @@ u64 module_tmp_size (MAYBE_UNUSED const hashconfig_t *hashconfig, MAYBE_UNUSED c
|
||||||
|
return tmp_size;
|
||||||
|
}
|
||||||
|
|
||||||
|
-char *module_jit_build_options (MAYBE_UNUSED const hashconfig_t *hashconfig, MAYBE_UNUSED const user_options_t *user_options, MAYBE_UNUSED const user_options_extra_t *user_options_extra, MAYBE_UNUSED const hashes_t *hashes, MAYBE_UNUSED const hc_device_param_t *device_param)
|
||||||
|
-{
|
||||||
|
- char *jit_build_options = NULL;
|
||||||
|
-
|
||||||
|
- // AMD HIP
|
||||||
|
- if (device_param->opencl_device_vendor_id == VENDOR_ID_AMD_USE_HIP)
|
||||||
|
- {
|
||||||
|
- hc_asprintf (&jit_build_options, "-flegacy-pass-manager");
|
||||||
|
- }
|
||||||
|
-
|
||||||
|
- return jit_build_options;
|
||||||
|
-}
|
||||||
|
-
|
||||||
|
static void md5crypt_decode (u8 digest[16], const u8 buf[22])
|
||||||
|
{
|
||||||
|
int l;
|
||||||
|
@@ -304,7 +291,7 @@ void module_init (module_ctx_t *module_ctx)
|
||||||
|
module_ctx->module_hook23 = MODULE_DEFAULT;
|
||||||
|
module_ctx->module_hook_salt_size = MODULE_DEFAULT;
|
||||||
|
module_ctx->module_hook_size = MODULE_DEFAULT;
|
||||||
|
- module_ctx->module_jit_build_options = module_jit_build_options;
|
||||||
|
+ module_ctx->module_jit_build_options = MODULE_DEFAULT;
|
||||||
|
module_ctx->module_jit_cache_disable = MODULE_DEFAULT;
|
||||||
|
module_ctx->module_kernel_accel_max = MODULE_DEFAULT;
|
||||||
|
module_ctx->module_kernel_accel_min = MODULE_DEFAULT;
|
||||||
|
diff --git a/src/modules/module_06300.c b/src/modules/module_06300.c
|
||||||
|
index 34dbb7a74..02fc4d051 100644
|
||||||
|
--- a/src/modules/module_06300.c
|
||||||
|
+++ b/src/modules/module_06300.c
|
||||||
|
@@ -57,19 +57,6 @@ u64 module_tmp_size (MAYBE_UNUSED const hashconfig_t *hashconfig, MAYBE_UNUSED c
|
||||||
|
return tmp_size;
|
||||||
|
}
|
||||||
|
|
||||||
|
-char *module_jit_build_options (MAYBE_UNUSED const hashconfig_t *hashconfig, MAYBE_UNUSED const user_options_t *user_options, MAYBE_UNUSED const user_options_extra_t *user_options_extra, MAYBE_UNUSED const hashes_t *hashes, MAYBE_UNUSED const hc_device_param_t *device_param)
|
||||||
|
-{
|
||||||
|
- char *jit_build_options = NULL;
|
||||||
|
-
|
||||||
|
- // AMD HIP
|
||||||
|
- if (device_param->opencl_device_vendor_id == VENDOR_ID_AMD_USE_HIP)
|
||||||
|
- {
|
||||||
|
- hc_asprintf (&jit_build_options, "-flegacy-pass-manager");
|
||||||
|
- }
|
||||||
|
-
|
||||||
|
- return jit_build_options;
|
||||||
|
-}
|
||||||
|
-
|
||||||
|
static void md5crypt_decode (u8 digest[16], const u8 buf[22])
|
||||||
|
{
|
||||||
|
int l;
|
||||||
|
@@ -295,7 +282,7 @@ void module_init (module_ctx_t *module_ctx)
|
||||||
|
module_ctx->module_hook23 = MODULE_DEFAULT;
|
||||||
|
module_ctx->module_hook_salt_size = MODULE_DEFAULT;
|
||||||
|
module_ctx->module_hook_size = MODULE_DEFAULT;
|
||||||
|
- module_ctx->module_jit_build_options = module_jit_build_options;
|
||||||
|
+ module_ctx->module_jit_build_options = MODULE_DEFAULT;
|
||||||
|
module_ctx->module_jit_cache_disable = MODULE_DEFAULT;
|
||||||
|
module_ctx->module_kernel_accel_max = MODULE_DEFAULT;
|
||||||
|
module_ctx->module_kernel_accel_min = MODULE_DEFAULT;
|
|
@ -31,9 +31,14 @@ DEPEND="app-arch/lzma
|
||||||
virtual/opencl
|
virtual/opencl
|
||||||
)
|
)
|
||||||
)
|
)
|
||||||
!video_cards_nvidia? ( virtual/opencl )"
|
!video_cards_nvidia? (
|
||||||
|
virtual/opencl
|
||||||
|
dev-util/opencl-headers
|
||||||
|
)"
|
||||||
RDEPEND="${DEPEND}"
|
RDEPEND="${DEPEND}"
|
||||||
|
|
||||||
|
PATCHES=( "${FILESDIR}/hashcat-hip.patch" )
|
||||||
|
|
||||||
src_prepare() {
|
src_prepare() {
|
||||||
# Remove bundled stuff
|
# Remove bundled stuff
|
||||||
rm -r deps/OpenCL-Headers || die "Failed to remove bundled OpenCL Headers"
|
rm -r deps/OpenCL-Headers || die "Failed to remove bundled OpenCL Headers"
|
Binary file not shown.
|
@ -10,7 +10,7 @@ S="${WORKDIR}/python-${PV}-docs-html"
|
||||||
|
|
||||||
LICENSE="PSF-2"
|
LICENSE="PSF-2"
|
||||||
SLOT="$(ver_cut 1-2)"
|
SLOT="$(ver_cut 1-2)"
|
||||||
KEYWORDS="~alpha ~amd64 ~arm arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sparc ~x86"
|
KEYWORDS="~alpha ~amd64 arm arm64 ~hppa ~ia64 ~m68k ~mips ppc ~ppc64 ~s390 ~sparc ~x86"
|
||||||
|
|
||||||
src_install() {
|
src_install() {
|
||||||
rm -r _sources || die
|
rm -r _sources || die
|
||||||
|
|
Binary file not shown.
|
@ -10,4 +10,5 @@ DIST emacs-28.2-patches-4.tar.xz 6168 BLAKE2B d2968c5f96dcf285f987d32aa8e2ad38c8
|
||||||
DIST emacs-28.2.tar.xz 47722600 BLAKE2B a7e4990658b5e7306510f8dded93aaf0b82cdd9306df8b786526d038c3249ef9579287075f2235eb01a71ae1699db555254f137b86ab2d2305b45895053df552 SHA512 a7cec7e3e82367815a1442f69af54102dbfc434069810a9dec5938a6660cb8b076e6f1fb0bfff9695b15603dbbe05eb9c7dfd92e90cf40fc4d1e5746bce83bd8
|
DIST emacs-28.2.tar.xz 47722600 BLAKE2B a7e4990658b5e7306510f8dded93aaf0b82cdd9306df8b786526d038c3249ef9579287075f2235eb01a71ae1699db555254f137b86ab2d2305b45895053df552 SHA512 a7cec7e3e82367815a1442f69af54102dbfc434069810a9dec5938a6660cb8b076e6f1fb0bfff9695b15603dbbe05eb9c7dfd92e90cf40fc4d1e5746bce83bd8
|
||||||
DIST emacs-29.1-patches-3.tar.xz 2264 BLAKE2B 7003dc29c991170f4bf893aac3d0d82362c625fc9e872f79339e20cea64a8a36145201c66c9a3a9004a638f2854fc9288a954858985f91b6ca204cb3e455bdb4 SHA512 e5ab678512c8d1cb15428e47c2cd7d97daa6140a71866eed35708fde123bcc31da437cd881d18d1535c744250f36989e46d11f6a749a26b3f8977f3aa55edc45
|
DIST emacs-29.1-patches-3.tar.xz 2264 BLAKE2B 7003dc29c991170f4bf893aac3d0d82362c625fc9e872f79339e20cea64a8a36145201c66c9a3a9004a638f2854fc9288a954858985f91b6ca204cb3e455bdb4 SHA512 e5ab678512c8d1cb15428e47c2cd7d97daa6140a71866eed35708fde123bcc31da437cd881d18d1535c744250f36989e46d11f6a749a26b3f8977f3aa55edc45
|
||||||
DIST emacs-29.1-patches-4.tar.xz 3436 BLAKE2B 4db49d6cf1a03c022deea5f17cf11c3020c09fa912fc7d88e38d4960b966d6d6d805e4d0ed8788d168de83b7acfe6a2537706dfab1b2c372285864f199fcfa15 SHA512 c52f8c587306b9f6c5f599b96177ffb527bfb9d8cfd8d2a14206bc9b718ca746ca4f482dedac0c48d8f053c7d3eaf7ebc0734c74fb507515380a4500d0a2bba2
|
DIST emacs-29.1-patches-4.tar.xz 3436 BLAKE2B 4db49d6cf1a03c022deea5f17cf11c3020c09fa912fc7d88e38d4960b966d6d6d805e4d0ed8788d168de83b7acfe6a2537706dfab1b2c372285864f199fcfa15 SHA512 c52f8c587306b9f6c5f599b96177ffb527bfb9d8cfd8d2a14206bc9b718ca746ca4f482dedac0c48d8f053c7d3eaf7ebc0734c74fb507515380a4500d0a2bba2
|
||||||
|
DIST emacs-29.1.90.tar.xz 52134992 BLAKE2B 01cf0b56fc9b4cf598b187271c0996f59316f874c5bd9d17f8551cb58e33d742ccb21dcddb061f88f0c6a3f670014a2d130d026ddc97c666958a64c0fbc709fe SHA512 f6120850328d3d7380b009061a64659804e2106eca6117c5430abce1890627c926b635b11f0a972ded6c59fdd13aec440860200fe44d18763ddc61fcdf72cbd8
|
||||||
DIST emacs-29.1.tar.xz 52081008 BLAKE2B 5bec8fd7c63c04b93b2ad87c12c48373930c1b3c6984d139938ad1eb692af76417dc5494057225a04f77ce4797958056aa3522f50e3b0565ef5f060bb15f5402 SHA512 de10f2af462682019af680e6a82fd33feb05ce6d995bedf5756264fa06e29d90cab02c5884b0aeade1c5ab39cf064e0fb6ff9f78d9eedbd162f0a985945b9ec2
|
DIST emacs-29.1.tar.xz 52081008 BLAKE2B 5bec8fd7c63c04b93b2ad87c12c48373930c1b3c6984d139938ad1eb692af76417dc5494057225a04f77ce4797958056aa3522f50e3b0565ef5f060bb15f5402 SHA512 de10f2af462682019af680e6a82fd33feb05ce6d995bedf5756264fa06e29d90cab02c5884b0aeade1c5ab39cf064e0fb6ff9f78d9eedbd162f0a985945b9ec2
|
||||||
|
|
574
app-editors/emacs/emacs-29.1.90.ebuild
Normal file
574
app-editors/emacs/emacs-29.1.90.ebuild
Normal file
|
@ -0,0 +1,574 @@
|
||||||
|
# Copyright 1999-2023 Gentoo Authors
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
|
||||||
|
EAPI=8
|
||||||
|
|
||||||
|
inherit autotools elisp-common flag-o-matic readme.gentoo-r1 toolchain-funcs
|
||||||
|
|
||||||
|
if [[ ${PV##*.} = 9999 ]]; then
|
||||||
|
inherit git-r3
|
||||||
|
EGIT_REPO_URI="https://git.savannah.gnu.org/git/emacs.git"
|
||||||
|
EGIT_BRANCH="emacs-29"
|
||||||
|
EGIT_CHECKOUT_DIR="${WORKDIR}/emacs"
|
||||||
|
S="${EGIT_CHECKOUT_DIR}"
|
||||||
|
SLOT="${PV%%.*}-vcs"
|
||||||
|
else
|
||||||
|
# FULL_VERSION keeps the full version number, which is needed in
|
||||||
|
# order to determine some path information correctly for copy/move
|
||||||
|
# operations later on
|
||||||
|
FULL_VERSION="${PV%%_*}"
|
||||||
|
SRC_URI="mirror://gnu/emacs/${P}.tar.xz"
|
||||||
|
S="${WORKDIR}/emacs-${FULL_VERSION}"
|
||||||
|
# PV can be in any of the following formats:
|
||||||
|
# 27.1 released version (slot 27)
|
||||||
|
# 27.1_rc1 upstream release candidate (27)
|
||||||
|
# 27.0.9999 live ebuild (slot 27-vcs)
|
||||||
|
# 27.0.90 upstream prerelease snapshot (27-vcs)
|
||||||
|
# 27.0.50_pre20191223 snapshot by Gentoo developer (27-vcs)
|
||||||
|
if [[ ${PV} == *_pre* ]]; then
|
||||||
|
SRC_URI="https://dev.gentoo.org/~ulm/distfiles/${P}.tar.xz"
|
||||||
|
S="${WORKDIR}/emacs"
|
||||||
|
elif [[ ${PV//[0-9]} != "." ]]; then
|
||||||
|
SRC_URI="https://alpha.gnu.org/gnu/emacs/pretest/${PN}-${PV/_/-}.tar.xz"
|
||||||
|
fi
|
||||||
|
SLOT="${PV%%.*}"
|
||||||
|
[[ ${PV} == *.*.* ]] && SLOT+="-vcs"
|
||||||
|
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~riscv ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos"
|
||||||
|
fi
|
||||||
|
|
||||||
|
DESCRIPTION="The extensible, customizable, self-documenting real-time display editor"
|
||||||
|
HOMEPAGE="https://www.gnu.org/software/emacs/"
|
||||||
|
|
||||||
|
LICENSE="GPL-3+ FDL-1.3+ BSD HPND MIT W3C unicode PSF-2"
|
||||||
|
IUSE="acl alsa aqua athena cairo dbus dynamic-loading games gfile gif +gmp gpm gsettings gtk gui gzip-el harfbuzz imagemagick +inotify jit jpeg json kerberos lcms libxml2 livecd m17n-lib mailutils motif png selinux small-ja-dic sound source sqlite ssl svg systemd +threads tiff toolkit-scroll-bars tree-sitter valgrind webp wide-int +X Xaw3d xft +xpm xwidgets zlib"
|
||||||
|
|
||||||
|
X_DEPEND="x11-libs/libICE
|
||||||
|
x11-libs/libSM
|
||||||
|
x11-libs/libX11
|
||||||
|
x11-libs/libXcomposite
|
||||||
|
x11-libs/libXext
|
||||||
|
x11-libs/libXfixes
|
||||||
|
x11-libs/libXi
|
||||||
|
x11-libs/libXinerama
|
||||||
|
x11-libs/libXrandr
|
||||||
|
x11-libs/libxcb
|
||||||
|
x11-libs/xcb-util
|
||||||
|
x11-misc/xbitmaps
|
||||||
|
xpm? ( x11-libs/libXpm )
|
||||||
|
xft? (
|
||||||
|
media-libs/fontconfig
|
||||||
|
media-libs/freetype
|
||||||
|
x11-libs/libXrender
|
||||||
|
cairo? ( >=x11-libs/cairo-1.12.18[X] )
|
||||||
|
!cairo? ( x11-libs/libXft )
|
||||||
|
harfbuzz? ( media-libs/harfbuzz:0= )
|
||||||
|
m17n-lib? (
|
||||||
|
>=dev-libs/libotf-0.9.4
|
||||||
|
>=dev-libs/m17n-lib-1.5.1
|
||||||
|
)
|
||||||
|
)
|
||||||
|
gtk? (
|
||||||
|
x11-libs/gtk+:3
|
||||||
|
xwidgets? (
|
||||||
|
net-libs/webkit-gtk:4.1=
|
||||||
|
x11-libs/libXcomposite
|
||||||
|
)
|
||||||
|
)
|
||||||
|
!gtk? (
|
||||||
|
motif? (
|
||||||
|
>=x11-libs/motif-2.3:0
|
||||||
|
x11-libs/libXpm
|
||||||
|
x11-libs/libXmu
|
||||||
|
x11-libs/libXt
|
||||||
|
)
|
||||||
|
!motif? (
|
||||||
|
Xaw3d? (
|
||||||
|
x11-libs/libXaw3d
|
||||||
|
x11-libs/libXmu
|
||||||
|
x11-libs/libXt
|
||||||
|
)
|
||||||
|
!Xaw3d? ( athena? (
|
||||||
|
x11-libs/libXaw
|
||||||
|
x11-libs/libXmu
|
||||||
|
x11-libs/libXt
|
||||||
|
) )
|
||||||
|
)
|
||||||
|
)"
|
||||||
|
|
||||||
|
RDEPEND="app-emacs/emacs-common[games?,gui(-)?]
|
||||||
|
sys-libs/ncurses:0=
|
||||||
|
acl? ( virtual/acl )
|
||||||
|
alsa? ( media-libs/alsa-lib )
|
||||||
|
dbus? ( sys-apps/dbus )
|
||||||
|
games? ( acct-group/gamestat )
|
||||||
|
gmp? ( dev-libs/gmp:0= )
|
||||||
|
gpm? ( sys-libs/gpm )
|
||||||
|
!inotify? ( gfile? ( >=dev-libs/glib-2.28.6 ) )
|
||||||
|
jit? (
|
||||||
|
sys-devel/gcc:=[jit(-)]
|
||||||
|
sys-libs/zlib
|
||||||
|
)
|
||||||
|
json? ( dev-libs/jansson:= )
|
||||||
|
kerberos? ( virtual/krb5 )
|
||||||
|
lcms? ( media-libs/lcms:2 )
|
||||||
|
libxml2? ( >=dev-libs/libxml2-2.2.0 )
|
||||||
|
mailutils? ( net-mail/mailutils[clients] )
|
||||||
|
!mailutils? ( acct-group/mail net-libs/liblockfile )
|
||||||
|
selinux? ( sys-libs/libselinux )
|
||||||
|
sqlite? ( dev-db/sqlite:3 )
|
||||||
|
ssl? ( net-libs/gnutls:0= )
|
||||||
|
systemd? ( sys-apps/systemd )
|
||||||
|
tree-sitter? ( dev-libs/tree-sitter )
|
||||||
|
valgrind? ( dev-util/valgrind )
|
||||||
|
zlib? ( sys-libs/zlib )
|
||||||
|
gui? (
|
||||||
|
gif? ( media-libs/giflib:0= )
|
||||||
|
jpeg? ( media-libs/libjpeg-turbo:0= )
|
||||||
|
png? ( >=media-libs/libpng-1.4:0= )
|
||||||
|
svg? ( >=gnome-base/librsvg-2.0 )
|
||||||
|
tiff? ( media-libs/tiff:= )
|
||||||
|
webp? ( media-libs/libwebp:0= )
|
||||||
|
imagemagick? ( >=media-gfx/imagemagick-6.6.2:0= )
|
||||||
|
!aqua? (
|
||||||
|
gsettings? (
|
||||||
|
app-emacs/emacs-common[gsettings(-)]
|
||||||
|
>=dev-libs/glib-2.28.6
|
||||||
|
)
|
||||||
|
gtk? ( !X? (
|
||||||
|
media-libs/fontconfig
|
||||||
|
media-libs/freetype
|
||||||
|
>=x11-libs/cairo-1.12.18
|
||||||
|
x11-libs/gtk+:3
|
||||||
|
harfbuzz? ( media-libs/harfbuzz:0= )
|
||||||
|
m17n-lib? (
|
||||||
|
>=dev-libs/libotf-0.9.4
|
||||||
|
>=dev-libs/m17n-lib-1.5.1
|
||||||
|
)
|
||||||
|
xwidgets? ( net-libs/webkit-gtk:4.1= )
|
||||||
|
) )
|
||||||
|
!gtk? ( ${X_DEPEND} )
|
||||||
|
X? ( ${X_DEPEND} )
|
||||||
|
)
|
||||||
|
)"
|
||||||
|
|
||||||
|
DEPEND="${RDEPEND}
|
||||||
|
gui? ( !aqua? (
|
||||||
|
!gtk? ( x11-base/xorg-proto )
|
||||||
|
X? ( x11-base/xorg-proto )
|
||||||
|
) )"
|
||||||
|
|
||||||
|
BDEPEND="sys-apps/texinfo
|
||||||
|
virtual/pkgconfig
|
||||||
|
gzip-el? ( app-arch/gzip )"
|
||||||
|
|
||||||
|
IDEPEND="app-eselect/eselect-emacs"
|
||||||
|
|
||||||
|
RDEPEND+=" ${IDEPEND}"
|
||||||
|
|
||||||
|
EMACS_SUFFIX="emacs-${SLOT}"
|
||||||
|
SITEFILE="20${EMACS_SUFFIX}-gentoo.el"
|
||||||
|
|
||||||
|
src_prepare() {
|
||||||
|
if [[ ${PV##*.} = 9999 ]]; then
|
||||||
|
FULL_VERSION=$(sed -n 's/^AC_INIT([^,]*,[^0-9.]*\([0-9.]*\).*/\1/p' \
|
||||||
|
configure.ac)
|
||||||
|
[[ ${FULL_VERSION} ]] || die "Cannot determine current Emacs version"
|
||||||
|
einfo "Emacs branch: ${EGIT_BRANCH}"
|
||||||
|
einfo "Commit: ${EGIT_VERSION}"
|
||||||
|
einfo "Emacs version number: ${FULL_VERSION}"
|
||||||
|
[[ ${FULL_VERSION} =~ ^${PV%.*}(\..*)?$ ]] \
|
||||||
|
|| die "Upstream version number changed to ${FULL_VERSION}"
|
||||||
|
fi
|
||||||
|
|
||||||
|
default
|
||||||
|
|
||||||
|
if use jit; then
|
||||||
|
find lisp -type f -name "*.elc" -delete || die
|
||||||
|
|
||||||
|
# These files ignore LDFLAGS. We assign the variable here, because
|
||||||
|
# for live ebuilds FULL_VERSION doesn't exist in global scope
|
||||||
|
QA_FLAGS_IGNORED="usr/$(get_libdir)/emacs/${FULL_VERSION}/native-lisp/.*"
|
||||||
|
|
||||||
|
# gccjit doesn't play well with ccache or distcc #801580
|
||||||
|
# For now, work around the problem with an explicit LIBRARY_PATH
|
||||||
|
has ccache ${FEATURES} || has distcc ${FEATURES} && tc-is-gcc \
|
||||||
|
&& export LIBRARY_PATH=$("$(tc-getCC)" -print-search-dirs \
|
||||||
|
| sed -n '/^libraries:/{s:^[^/]*::;p}')
|
||||||
|
fi
|
||||||
|
|
||||||
|
# Fix filename reference in redirected man page
|
||||||
|
sed -i -e "/^\\.so/s/etags/&-${EMACS_SUFFIX}/" doc/man/ctags.1 || die
|
||||||
|
|
||||||
|
# libseccomp is detected by configure but doesn't appear to have any
|
||||||
|
# effect on the installed image. Suppress it by supplying pkg-config
|
||||||
|
# with a wrong library name.
|
||||||
|
sed -i -e "/CHECK_MODULES/s/libseccomp/DiSaBlE&/" configure.ac || die
|
||||||
|
|
||||||
|
AT_M4DIR=m4 eautoreconf
|
||||||
|
}
|
||||||
|
|
||||||
|
src_configure() {
|
||||||
|
local myconf
|
||||||
|
|
||||||
|
# Prevents e.g. tests interfering with running Emacs.
|
||||||
|
unset EMACS_SOCKET_NAME
|
||||||
|
|
||||||
|
if use alsa; then
|
||||||
|
use sound || ewarn \
|
||||||
|
"USE flag \"alsa\" overrides \"-sound\"; enabling sound support."
|
||||||
|
myconf+=" --with-sound=alsa"
|
||||||
|
else
|
||||||
|
myconf+=" --with-sound=$(usex sound oss)"
|
||||||
|
fi
|
||||||
|
|
||||||
|
if use jit; then
|
||||||
|
use zlib || ewarn \
|
||||||
|
"USE flag \"jit\" overrides \"-zlib\"; enabling zlib support."
|
||||||
|
myconf+=" --with-zlib"
|
||||||
|
else
|
||||||
|
myconf+=" $(use_with zlib)"
|
||||||
|
fi
|
||||||
|
|
||||||
|
# Emacs supports these window systems:
|
||||||
|
# X11, pure GTK (without X11), or Nextstep (Aqua/Cocoa).
|
||||||
|
# General GUI support is enabled by the "gui" USE flag, then
|
||||||
|
# the window system is selected as follows:
|
||||||
|
# "aqua" -> Nextstep
|
||||||
|
# "gtk -X" -> pure GTK
|
||||||
|
# otherwise -> X11
|
||||||
|
# For X11 there is the further choice of toolkits GTK, Motif,
|
||||||
|
# Athena (Lucid), or no toolkit. They are enabled (in order of
|
||||||
|
# preference) with the "gtk", "motif", "Xaw3d", and "athena" flags.
|
||||||
|
|
||||||
|
if ! use gui; then
|
||||||
|
einfo "Configuring to build without window system support"
|
||||||
|
myconf+=" --without-x --without-pgtk --without-ns"
|
||||||
|
elif use aqua; then
|
||||||
|
einfo "Configuring to build with Nextstep (Macintosh Cocoa) support"
|
||||||
|
myconf+=" --with-ns --disable-ns-self-contained"
|
||||||
|
myconf+=" --without-x --without-pgtk"
|
||||||
|
elif use gtk && ! use X; then
|
||||||
|
einfo "Configuring to build with pure GTK (without X11) support"
|
||||||
|
myconf+=" --with-pgtk --without-x --without-ns"
|
||||||
|
myconf+=" --with-toolkit-scroll-bars" #836392
|
||||||
|
myconf+=" --without-gconf"
|
||||||
|
myconf+=" $(use_with gsettings)"
|
||||||
|
myconf+=" $(use_with harfbuzz)"
|
||||||
|
myconf+=" $(use_with m17n-lib libotf)"
|
||||||
|
myconf+=" $(use_with m17n-lib m17n-flt)"
|
||||||
|
myconf+=" $(use_with xwidgets)"
|
||||||
|
else
|
||||||
|
# X11
|
||||||
|
myconf+=" --with-x --without-pgtk --without-ns"
|
||||||
|
myconf+=" --without-gconf"
|
||||||
|
myconf+=" $(use_with gsettings)"
|
||||||
|
myconf+=" $(use_with toolkit-scroll-bars)"
|
||||||
|
myconf+=" $(use_with xpm)"
|
||||||
|
|
||||||
|
if use xft; then
|
||||||
|
myconf+=" --with-xft"
|
||||||
|
myconf+=" $(use_with cairo)"
|
||||||
|
myconf+=" $(use_with harfbuzz)"
|
||||||
|
myconf+=" $(use_with m17n-lib libotf)"
|
||||||
|
myconf+=" $(use_with m17n-lib m17n-flt)"
|
||||||
|
else
|
||||||
|
myconf+=" --without-xft"
|
||||||
|
myconf+=" --without-cairo"
|
||||||
|
myconf+=" --without-libotf --without-m17n-flt"
|
||||||
|
use cairo && ewarn \
|
||||||
|
"USE flag \"cairo\" has no effect if \"xft\" is not set."
|
||||||
|
use m17n-lib && ewarn \
|
||||||
|
"USE flag \"m17n-lib\" has no effect if \"xft\" is not set."
|
||||||
|
fi
|
||||||
|
|
||||||
|
local f line
|
||||||
|
if use gtk; then
|
||||||
|
einfo "Configuring to build with GIMP Toolkit (GTK+)"
|
||||||
|
while read line; do ewarn "${line}"; done <<-EOF
|
||||||
|
Your version of GTK+ will have problems with closing open
|
||||||
|
displays. This is no problem if you just use one display, but
|
||||||
|
if you use more than one and close one of them Emacs may crash.
|
||||||
|
See <https://gitlab.gnome.org/GNOME/gtk/-/issues/221> and
|
||||||
|
<https://gitlab.gnome.org/GNOME/gtk/-/issues/2315>.
|
||||||
|
If you intend to use more than one display, then it is strongly
|
||||||
|
recommended that you compile Emacs with the Athena/Lucid or the
|
||||||
|
Motif toolkit instead.
|
||||||
|
EOF
|
||||||
|
myconf+=" --with-x-toolkit=gtk3 $(use_with xwidgets)"
|
||||||
|
for f in motif Xaw3d athena; do
|
||||||
|
use ${f} && ewarn \
|
||||||
|
"USE flag \"${f}\" has no effect if \"gtk\" is set."
|
||||||
|
done
|
||||||
|
elif use motif; then
|
||||||
|
einfo "Configuring to build with Motif toolkit"
|
||||||
|
myconf+=" --with-x-toolkit=motif"
|
||||||
|
for f in Xaw3d athena; do
|
||||||
|
use ${f} && ewarn \
|
||||||
|
"USE flag \"${f}\" has no effect if \"motif\" is set."
|
||||||
|
done
|
||||||
|
elif use athena || use Xaw3d; then
|
||||||
|
einfo "Configuring to build with Athena/Lucid toolkit"
|
||||||
|
myconf+=" --with-x-toolkit=lucid $(use_with Xaw3d xaw3d)"
|
||||||
|
else
|
||||||
|
einfo "Configuring to build with no toolkit"
|
||||||
|
myconf+=" --with-x-toolkit=no"
|
||||||
|
fi
|
||||||
|
! use gtk && use xwidgets && ewarn \
|
||||||
|
"USE flag \"xwidgets\" has no effect if \"gtk\" is not set."
|
||||||
|
fi
|
||||||
|
|
||||||
|
if use gui; then
|
||||||
|
# Common flags recognised for all GUIs
|
||||||
|
myconf+=" $(use_with gif)"
|
||||||
|
myconf+=" $(use_with jpeg)"
|
||||||
|
myconf+=" $(use_with png)"
|
||||||
|
myconf+=" $(use_with svg rsvg)"
|
||||||
|
myconf+=" $(use_with tiff)"
|
||||||
|
myconf+=" $(use_with webp)"
|
||||||
|
myconf+=" $(use_with imagemagick)"
|
||||||
|
fi
|
||||||
|
|
||||||
|
if tc-is-cross-compiler; then
|
||||||
|
# Configure a CBUILD directory when cross-compiling to make tools
|
||||||
|
mkdir "${S}-build" && pushd "${S}-build" >/dev/null || die
|
||||||
|
ECONF_SOURCE="${S}" econf_build --without-all --without-x-toolkit
|
||||||
|
popd >/dev/null || die
|
||||||
|
# Don't try to execute the binary for dumping during the build
|
||||||
|
myconf+=" --with-dumping=none"
|
||||||
|
elif use m68k; then
|
||||||
|
# Workaround for https://debbugs.gnu.org/44531
|
||||||
|
myconf+=" --with-dumping=unexec"
|
||||||
|
else
|
||||||
|
myconf+=" --with-dumping=pdumper"
|
||||||
|
fi
|
||||||
|
|
||||||
|
econf \
|
||||||
|
--program-suffix="-${EMACS_SUFFIX}" \
|
||||||
|
--includedir="${EPREFIX}"/usr/include/${EMACS_SUFFIX} \
|
||||||
|
--infodir="${EPREFIX}"/usr/share/info/${EMACS_SUFFIX} \
|
||||||
|
--localstatedir="${EPREFIX}"/var \
|
||||||
|
--enable-locallisppath="${EPREFIX}/etc/emacs:${EPREFIX}${SITELISP}" \
|
||||||
|
--without-compress-install \
|
||||||
|
--without-hesiod \
|
||||||
|
--without-pop \
|
||||||
|
--with-file-notification=$(usev inotify || usev gfile || echo no) \
|
||||||
|
--with-pdumper \
|
||||||
|
$(use_enable acl) \
|
||||||
|
$(use_with dbus) \
|
||||||
|
$(use_with dynamic-loading modules) \
|
||||||
|
$(use_with games gameuser ":gamestat") \
|
||||||
|
$(use_with gmp libgmp) \
|
||||||
|
$(use_with gpm) \
|
||||||
|
$(use_with jit native-compilation aot) \
|
||||||
|
$(use_with json) \
|
||||||
|
$(use_with kerberos) $(use_with kerberos kerberos5) \
|
||||||
|
$(use_with lcms lcms2) \
|
||||||
|
$(use_with libxml2 xml2) \
|
||||||
|
$(use_with mailutils) \
|
||||||
|
$(use_with selinux) \
|
||||||
|
$(use_with small-ja-dic) \
|
||||||
|
$(use_with sqlite sqlite3) \
|
||||||
|
$(use_with ssl gnutls) \
|
||||||
|
$(use_with systemd libsystemd) \
|
||||||
|
$(use_with threads) \
|
||||||
|
$(use_with tree-sitter) \
|
||||||
|
$(use_with wide-int) \
|
||||||
|
${myconf}
|
||||||
|
}
|
||||||
|
|
||||||
|
src_compile() {
|
||||||
|
export ac_cv_header_valgrind_valgrind_h=$(usex valgrind)
|
||||||
|
append-cppflags -DUSE_VALGRIND=$(usex valgrind)
|
||||||
|
|
||||||
|
if tc-is-cross-compiler; then
|
||||||
|
# Build native tools for compiling lisp etc.
|
||||||
|
emake -C "${S}-build" src
|
||||||
|
emake lib # Cross-compile dependencies first for timestamps
|
||||||
|
# Save native build tools in the cross-directory
|
||||||
|
cp "${S}-build"/lib-src/make-{docfile,fingerprint} lib-src || die
|
||||||
|
# Specify the native Emacs to compile lisp
|
||||||
|
emake -C lisp all EMACS="${S}-build/src/emacs"
|
||||||
|
fi
|
||||||
|
|
||||||
|
emake
|
||||||
|
}
|
||||||
|
|
||||||
|
src_test() {
|
||||||
|
# List .el test files with a comment above listing the exact
|
||||||
|
# subtests which caused failure. Elements should begin with a %.
|
||||||
|
# e.g. %lisp/gnus/mml-sec-tests.el.
|
||||||
|
local exclude_tests=(
|
||||||
|
# Reason: not yet known
|
||||||
|
# mml-secure-en-decrypt-{1,2,3,4}
|
||||||
|
# mml-secure-find-usable-keys-{1,2}
|
||||||
|
# mml-secure-key-checks
|
||||||
|
# mml-secure-select-preferred-keys-4
|
||||||
|
# mml-secure-sign-verify-1
|
||||||
|
%lisp/gnus/mml-sec-tests.el
|
||||||
|
|
||||||
|
# Reason: permission denied on /nonexistent
|
||||||
|
# (vc-*-bzr only fails if breezy is installed, as they
|
||||||
|
# try to access cache dirs under /nonexistent)
|
||||||
|
#
|
||||||
|
# rmail-undigest-test-multipart-mixed-digest
|
||||||
|
# rmail-undigest-test-rfc1153-less-strict-digest
|
||||||
|
# rmail-undigest-test-rfc1153-sloppy-digest
|
||||||
|
# rmail-undigest-test-rfc934-digest
|
||||||
|
# vc-test-bzr02-state
|
||||||
|
# vc-test-bzr05-rename-file
|
||||||
|
# vc-test-bzr06-version-diff
|
||||||
|
# vc-bzr-test-bug9781
|
||||||
|
%lisp/mail/undigest-tests.el
|
||||||
|
%lisp/vc/vc-tests.el
|
||||||
|
%lisp/vc/vc-bzr-tests.el
|
||||||
|
|
||||||
|
# Reason: fails if bubblewrap (bwrap) is installed
|
||||||
|
# "bwrap: setting up uid map: Permission denied"
|
||||||
|
#
|
||||||
|
# bytecomp-tests--dest-mountpoint
|
||||||
|
%lisp/emacs-lisp/bytecomp-tests.el
|
||||||
|
)
|
||||||
|
|
||||||
|
# See test/README for possible options
|
||||||
|
emake \
|
||||||
|
EMACS_TEST_VERBOSE=1 \
|
||||||
|
EXCLUDE_TESTS="${exclude_tests[*]}" \
|
||||||
|
TEST_BACKTRACE_LINE_LENGTH=nil \
|
||||||
|
check
|
||||||
|
}
|
||||||
|
|
||||||
|
src_install() {
|
||||||
|
emake DESTDIR="${D}" NO_BIN_LINK=t BLESSMAIL_TARGET= install
|
||||||
|
|
||||||
|
mv "${ED}"/usr/bin/{emacs-${FULL_VERSION}-,}${EMACS_SUFFIX} || die
|
||||||
|
mv "${ED}"/usr/share/man/man1/{emacs-,}${EMACS_SUFFIX}.1 || die
|
||||||
|
mv "${ED}"/usr/share/metainfo/{emacs-,}${EMACS_SUFFIX}.metainfo.xml || die
|
||||||
|
|
||||||
|
# dissuade Portage from removing our dir file #257260
|
||||||
|
touch "${ED}"/usr/share/info/${EMACS_SUFFIX}/.keepinfodir
|
||||||
|
docompress -x /usr/share/info/${EMACS_SUFFIX}/dir
|
||||||
|
|
||||||
|
# movemail must be setgid mail
|
||||||
|
if ! use mailutils; then
|
||||||
|
fowners root:mail /usr/libexec/emacs/${FULL_VERSION}/${CHOST}/movemail
|
||||||
|
fperms 2751 /usr/libexec/emacs/${FULL_VERSION}/${CHOST}/movemail
|
||||||
|
fi
|
||||||
|
|
||||||
|
# avoid collision between slots, see bug #169033 e.g.
|
||||||
|
rm "${ED}"/usr/share/emacs/site-lisp/subdirs.el || die
|
||||||
|
rm -rf "${ED}"/usr/share/{applications,icons} || die
|
||||||
|
rm -rf "${ED}"/usr/share/glib-2.0 || die #911117
|
||||||
|
rm -rf "${ED}/usr/$(get_libdir)/systemd" || die
|
||||||
|
rm -rf "${ED}"/var || die
|
||||||
|
|
||||||
|
# remove unused <version>/site-lisp dir
|
||||||
|
rm -rf "${ED}"/usr/share/emacs/${FULL_VERSION}/site-lisp || die
|
||||||
|
|
||||||
|
# remove COPYING file (except for etc/COPYING used by describe-copying)
|
||||||
|
rm "${ED}"/usr/share/emacs/${FULL_VERSION}/lisp/COPYING || die
|
||||||
|
|
||||||
|
if use systemd; then
|
||||||
|
insinto /usr/lib/systemd/user
|
||||||
|
sed -e "/^##/d" \
|
||||||
|
-e "/^ExecStart/s,emacs,${EPREFIX}/usr/bin/${EMACS_SUFFIX}," \
|
||||||
|
-e "/^ExecStop/s,emacsclient,${EPREFIX}/usr/bin/&-${EMACS_SUFFIX}," \
|
||||||
|
etc/emacs.service | newins - ${EMACS_SUFFIX}.service
|
||||||
|
assert
|
||||||
|
fi
|
||||||
|
|
||||||
|
if use gzip-el; then
|
||||||
|
# compress .el files when a corresponding .elc exists
|
||||||
|
find "${ED}"/usr/share/emacs/${FULL_VERSION}/lisp -type f \
|
||||||
|
-name "*.elc" -print | sed 's/\.elc$/.el/' | xargs gzip -9n
|
||||||
|
assert "gzip .el failed"
|
||||||
|
fi
|
||||||
|
|
||||||
|
local cdir
|
||||||
|
if use source; then
|
||||||
|
cdir="/usr/share/emacs/${FULL_VERSION}/src"
|
||||||
|
insinto "${cdir}"
|
||||||
|
# This is not meant to install all the source -- just the
|
||||||
|
# C source you might find via find-function
|
||||||
|
doins src/*.{c,h,m}
|
||||||
|
elif has installsources ${FEATURES}; then
|
||||||
|
cdir="/usr/src/debug/${CATEGORY}/${PF}/${S#"${WORKDIR}/"}/src"
|
||||||
|
fi
|
||||||
|
|
||||||
|
sed -e "${cdir:+#}/^Y/d" -e "s/^[XY]//" >"${T}/${SITEFILE}" <<-EOF || die
|
||||||
|
X
|
||||||
|
;;; ${EMACS_SUFFIX} site-lisp configuration
|
||||||
|
X
|
||||||
|
(when (string-match "\\\\\`${FULL_VERSION//./\\\\.}\\\\>" emacs-version)
|
||||||
|
Y (setq find-function-C-source-directory
|
||||||
|
Y "${EPREFIX}${cdir}")
|
||||||
|
X (let ((path (getenv "INFOPATH"))
|
||||||
|
X (dir "${EPREFIX}/usr/share/info/${EMACS_SUFFIX}")
|
||||||
|
X (re "\\\\\`${EPREFIX}/usr/share\\\\>"))
|
||||||
|
X (and path
|
||||||
|
X ;; move Emacs Info dir before anything else in /usr/share
|
||||||
|
X (let* ((p (cons nil (split-string path ":" t))) (q p))
|
||||||
|
X (while (and (cdr q) (not (string-match re (cadr q))))
|
||||||
|
X (setq q (cdr q)))
|
||||||
|
X (setcdr q (cons dir (delete dir (cdr q))))
|
||||||
|
X (setenv "INFOPATH" (mapconcat 'identity (cdr p) ":"))))))
|
||||||
|
EOF
|
||||||
|
elisp-site-file-install "${T}/${SITEFILE}" || die
|
||||||
|
|
||||||
|
dodoc README BUGS CONTRIBUTE
|
||||||
|
|
||||||
|
if use gui && use aqua; then
|
||||||
|
dodir /Applications/Gentoo
|
||||||
|
rm -rf "${ED}"/Applications/Gentoo/${EMACS_SUFFIX^}.app || die
|
||||||
|
mv nextstep/Emacs.app \
|
||||||
|
"${ED}"/Applications/Gentoo/${EMACS_SUFFIX^}.app || die
|
||||||
|
fi
|
||||||
|
|
||||||
|
local DOC_CONTENTS="You can set the version to be started by
|
||||||
|
/usr/bin/emacs through the Emacs eselect module, which also
|
||||||
|
redirects man and info pages. Therefore, several Emacs versions can
|
||||||
|
be installed at the same time. \"man emacs.eselect\" for details.
|
||||||
|
\\n\\nIf you upgrade from a previous major version of Emacs, then
|
||||||
|
it is strongly recommended that you use app-admin/emacs-updater
|
||||||
|
to rebuild all byte-compiled elisp files of the installed Emacs
|
||||||
|
packages."
|
||||||
|
if use gui; then
|
||||||
|
DOC_CONTENTS+="\\n\\nYou need to install some fonts for Emacs.
|
||||||
|
Installing media-fonts/font-adobe-{75,100}dpi on the X server's
|
||||||
|
machine would satisfy basic Emacs requirements under X11.
|
||||||
|
See also https://wiki.gentoo.org/wiki/Xft_support_for_GNU_Emacs
|
||||||
|
for how to enable anti-aliased fonts."
|
||||||
|
use aqua && DOC_CONTENTS+="\\n\\n${EMACS_SUFFIX^}.app is in
|
||||||
|
\"${EPREFIX}/Applications/Gentoo\". You may want to copy or
|
||||||
|
symlink it into /Applications by yourself."
|
||||||
|
fi
|
||||||
|
tc-is-cross-compiler && DOC_CONTENTS+="\\n\\nEmacs did not write
|
||||||
|
a portable dump file due to being cross-compiled.
|
||||||
|
To create this file at run time, execute the following command:
|
||||||
|
\\n${EMACS_SUFFIX} --batch -Q --eval='(dump-emacs-portable
|
||||||
|
\"/usr/libexec/emacs/${FULL_VERSION}/${CHOST}/emacs.pdmp\")'"
|
||||||
|
readme.gentoo_create_doc
|
||||||
|
}
|
||||||
|
|
||||||
|
pkg_preinst() {
|
||||||
|
# verify that the PM hasn't removed our Info directory index #257260
|
||||||
|
local infodir="${ED}/usr/share/info/${EMACS_SUFFIX}"
|
||||||
|
[[ -f ${infodir}/dir || ! -d ${infodir} ]] || die
|
||||||
|
}
|
||||||
|
|
||||||
|
pkg_postinst() {
|
||||||
|
elisp-site-regen
|
||||||
|
readme.gentoo_print_elog
|
||||||
|
|
||||||
|
if use livecd; then
|
||||||
|
# force an update of the emacs symlink for the livecd/dvd,
|
||||||
|
# because some microemacs packages set it with USE=livecd
|
||||||
|
eselect emacs update
|
||||||
|
else
|
||||||
|
eselect emacs update ifunset
|
||||||
|
fi
|
||||||
|
}
|
||||||
|
|
||||||
|
pkg_postrm() {
|
||||||
|
elisp-site-regen
|
||||||
|
eselect emacs update ifunset
|
||||||
|
}
|
|
@ -1,2 +1,2 @@
|
||||||
DIST ghex-44.2.tar.xz 897944 BLAKE2B 0db001b90390f7747792ac89a5daaf9d38165b72dce77c3a2fd41914a4386001b9f15aaf4352a3b41a204a9104a5234a6ac50a3a7269e10a151c000d57228480 SHA512 a06876e06488bb25b17fbdf17ea73e57f563fe49a414c173d680a6bf4db9b66b40fce90ad67cfb73c62f25d88f436a58b7e0fd588c7a664faf78c5058524cabf
|
DIST ghex-44.2.tar.xz 897944 BLAKE2B 0db001b90390f7747792ac89a5daaf9d38165b72dce77c3a2fd41914a4386001b9f15aaf4352a3b41a204a9104a5234a6ac50a3a7269e10a151c000d57228480 SHA512 a06876e06488bb25b17fbdf17ea73e57f563fe49a414c173d680a6bf4db9b66b40fce90ad67cfb73c62f25d88f436a58b7e0fd588c7a664faf78c5058524cabf
|
||||||
DIST ghex-45.beta.tar.xz 899044 BLAKE2B 4b37a882a6626c16349ac0671e1b049d9fdb166262cce0605bf84ba5d099354647fa61f380a18f217bf20f80570de64d946dec97a05bc47441ed641c847cc6b8 SHA512 5a35fe4449ffda75e587fb55d8ef641e054cb079b880c7750c00ceb61c207fbfee649b16a53c639c7108ced35efa0cfc2e092da3197dd6b5af116ec737e4c773
|
DIST ghex-45.0.tar.xz 902480 BLAKE2B 9001be3c01a3f5974606180cede15e753ccda0ec6f4fa77cdaf3aea5030117d303b5cb4fb68dfb09de6aee87d76baf689ae250be457c41b8e4c9d3387b691e90 SHA512 1f6fa7da2e4cfcb89113780d2a0333ee322d608be3e7fccb958ea19a3c3fc368363597b99ff27bd54c929ab3e3afdb5d5f1dbe810d3ec04d9dd2c114bfc71c0f
|
||||||
|
|
25
app-editors/micro/files/micro-2.0.12-no-strip.patch
Normal file
25
app-editors/micro/files/micro-2.0.12-no-strip.patch
Normal file
|
@ -0,0 +1,25 @@
|
||||||
|
--- a/Makefile
|
||||||
|
+++ b/Makefile
|
||||||
|
@@ -16,18 +16,18 @@ VSCODE_TESTS_BASE_URL = 'https://raw.githubusercontent.com/microsoft/vscode/e6a4
|
||||||
|
build: generate build-quick
|
||||||
|
|
||||||
|
build-quick:
|
||||||
|
- go build -trimpath -ldflags "-s -w $(GOVARS) $(ADDITIONAL_GO_LINKER_FLAGS)" ./cmd/micro
|
||||||
|
+ go build -trimpath -ldflags "-w $(GOVARS) $(ADDITIONAL_GO_LINKER_FLAGS)" ./cmd/micro
|
||||||
|
|
||||||
|
build-dbg:
|
||||||
|
- go build -trimpath -ldflags "-s -w $(ADDITIONAL_GO_LINKER_FLAGS) $(DEBUGVAR)" ./cmd/micro
|
||||||
|
+ go build -trimpath -ldflags "-w $(ADDITIONAL_GO_LINKER_FLAGS) $(DEBUGVAR)" ./cmd/micro
|
||||||
|
|
||||||
|
build-tags: fetch-tags generate
|
||||||
|
- go build -trimpath -ldflags "-s -w $(GOVARS) $(ADDITIONAL_GO_LINKER_FLAGS)" ./cmd/micro
|
||||||
|
+ go build -trimpath -ldflags "-w $(GOVARS) $(ADDITIONAL_GO_LINKER_FLAGS)" ./cmd/micro
|
||||||
|
|
||||||
|
build-all: build
|
||||||
|
|
||||||
|
install: generate
|
||||||
|
- go install -ldflags "-s -w $(GOVARS) $(ADDITIONAL_GO_LINKER_FLAGS)" ./cmd/micro
|
||||||
|
+ go install -ldflags "-w $(GOVARS) $(ADDITIONAL_GO_LINKER_FLAGS)" ./cmd/micro
|
||||||
|
|
||||||
|
install-all: install
|
||||||
|
|
43
app-editors/micro/micro-2.0.12-r1.ebuild
Normal file
43
app-editors/micro/micro-2.0.12-r1.ebuild
Normal file
|
@ -0,0 +1,43 @@
|
||||||
|
# Copyright 1999-2023 Gentoo Authors
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
|
||||||
|
EAPI=8
|
||||||
|
|
||||||
|
inherit go-module optfeature desktop xdg
|
||||||
|
|
||||||
|
DESCRIPTION="Modern and intuitive terminal-based text editor"
|
||||||
|
HOMEPAGE="https://github.com/zyedidia/micro"
|
||||||
|
SRC_URI="https://github.com/zyedidia/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
|
||||||
|
SRC_URI+=" https://dev.gentoo.org/~sam/distfiles/${CATEGORY}/${PN}/${P}-deps.tar.xz"
|
||||||
|
|
||||||
|
LICENSE="MIT Apache-2.0 BSD MPL-2.0"
|
||||||
|
SLOT="0"
|
||||||
|
KEYWORDS="~amd64 ~arm64 ~riscv ~x86"
|
||||||
|
|
||||||
|
BDEPEND="dev-vcs/git"
|
||||||
|
|
||||||
|
PATCHES=(
|
||||||
|
"${FILESDIR}"/${PN}-2.0.12-no-strip.patch
|
||||||
|
)
|
||||||
|
|
||||||
|
src_compile() {
|
||||||
|
# We build/install this way for bug #915628 (highlighting)
|
||||||
|
emake VERSION=${PV} build
|
||||||
|
}
|
||||||
|
|
||||||
|
src_install() {
|
||||||
|
dodir /usr/bin
|
||||||
|
emake GOBIN="${ED}"/usr/bin install
|
||||||
|
doman ./assets/packaging/micro.1
|
||||||
|
domenu assets/packaging/micro.desktop
|
||||||
|
einstalldocs
|
||||||
|
}
|
||||||
|
|
||||||
|
pkg_postinst() {
|
||||||
|
# Update desktop file mime cache
|
||||||
|
xdg_pkg_postinst
|
||||||
|
|
||||||
|
optfeature_header "Clipboard support with display servers:"
|
||||||
|
optfeature "Xorg" x11-misc/xsel x11-misc/xclip
|
||||||
|
optfeature "Wayland" gui-apps/wl-clipboard
|
||||||
|
}
|
|
@ -16,7 +16,7 @@ if [[ ${PV} == 9999 ]]; then
|
||||||
EGIT_REPO_URI="https://github.com/neovim/neovim.git"
|
EGIT_REPO_URI="https://github.com/neovim/neovim.git"
|
||||||
else
|
else
|
||||||
SRC_URI="https://github.com/neovim/neovim/archive/v${PV}.tar.gz -> ${P}.tar.gz"
|
SRC_URI="https://github.com/neovim/neovim/archive/v${PV}.tar.gz -> ${P}.tar.gz"
|
||||||
KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~riscv ~x86 ~x64-macos"
|
KEYWORDS="amd64 ~arm arm64 ~ppc64 ~riscv x86 ~x64-macos"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
LICENSE="Apache-2.0 vim"
|
LICENSE="Apache-2.0 vim"
|
||||||
|
|
Binary file not shown.
|
@ -1,2 +1,2 @@
|
||||||
DIST cider-1.7.0.tar.gz 6731090 BLAKE2B f569491c3279f34f07abb84c76d81fe61917d0d438a94bd7e6a1d55a20194d38c85566a12d23d4255feef54c9df22fcd5a5946226f18051571354fae0ff9dd8a SHA512 f86cb5791c8949bf175dc27d59c324163d2d05c63d19b2e2a563b9a870bf78bf0832a895f28a30b6f76385e3d86142178820cde4b9dcd2c91c54e879b6b9cd19
|
DIST cider-1.7.0.tar.gz 6731090 BLAKE2B f569491c3279f34f07abb84c76d81fe61917d0d438a94bd7e6a1d55a20194d38c85566a12d23d4255feef54c9df22fcd5a5946226f18051571354fae0ff9dd8a SHA512 f86cb5791c8949bf175dc27d59c324163d2d05c63d19b2e2a563b9a870bf78bf0832a895f28a30b6f76385e3d86142178820cde4b9dcd2c91c54e879b6b9cd19
|
||||||
DIST cider-1.8.2.tar.gz 7279725 BLAKE2B ee2d94e780ae943d2f2fa8193a91a14650da6f405469ff1e2cdc59e601e599879b6f3ab3a0bffd9e2be15077af87f95742b582d9647067a599846472928ea6e4 SHA512 93436af2d90f5c976e48d00bd9ed4e5791a86e5d9609ffbda98df37227e349ec9e9872efec3646f785665fec4ae50a9eae54a8b844b1a0a234a9ec1794f671d5
|
DIST cider-1.8.3.tar.gz 7282998 BLAKE2B a0c596decbed17fd7056d371cf68de1939d29256fc4e0180fb8bd8ed41f37803b3aa4ad533aedd6321ebc1547ee645bb6e503e0dba939c1ec694137e87d1ba65 SHA512 b703c0a35e27f7de4d87b0e4a58d5a6b3fcdae41262ca47dab22ad74ecce73510d57f3ab135e83edd7df447a91fbaaa994c60f5dbcec611feb3c7b5e8141b42f
|
||||||
|
|
|
@ -1,3 +1,2 @@
|
||||||
DIST clojure-mode-5.16.2.tar.gz 23408915 BLAKE2B c19770487660050b7c560deecbafaf1a708cf54692ce48465890e27be60f68c43d55bd141a03d94ea1bd7e6385c9bcbc4aafa35d6ac2f893414ef1256a5c6808 SHA512 cfffe08293bb47d83f7152be8405bcab1281000f86c0a001ed807683ccec1750a0465c98f66fc75bffc64bfdde696f81308a4111ec946bb7e1ffc5eaf9b42853
|
|
||||||
DIST clojure-mode-5.17.0.tar.gz 23409187 BLAKE2B 58cf80924467dfa523bc1049463b1ab67199deb3da90476fb44e2e477b52470e0fb7607b2cb21457607b18a04f77b4a5a93c447bb5d511f81dc984a20df4f882 SHA512 33575215c1f1a8000bfb6741a8a27fadc092b53244dc743a44bfbcdd15cd12e9b8918ecb015e35a380539916cfa112cdbde593b266e3221869bf13f2b9cfda19
|
DIST clojure-mode-5.17.0.tar.gz 23409187 BLAKE2B 58cf80924467dfa523bc1049463b1ab67199deb3da90476fb44e2e477b52470e0fb7607b2cb21457607b18a04f77b4a5a93c447bb5d511f81dc984a20df4f882 SHA512 33575215c1f1a8000bfb6741a8a27fadc092b53244dc743a44bfbcdd15cd12e9b8918ecb015e35a380539916cfa112cdbde593b266e3221869bf13f2b9cfda19
|
||||||
DIST clojure-mode-5.17.1.tar.gz 23409210 BLAKE2B ab898b0a1b9f9c32071e1a90414175927dacb22d18cfbf3d67c6d923d1f10a1621c2dae899b7bc197e32c42a5f847133f34fdef5d2cb756364dc4dd90265206e SHA512 d218b0739f3482bef6eb39fa899636f29d34f938fcb6a49c2fc022bff6c567ba1035634dd4d4b721d10277356e5849ff9f0140281244fa2d814ab791b5930e19
|
DIST clojure-mode-5.18.0.tar.gz 23409229 BLAKE2B 03664c4693aaa45a846b4a2fadb18fe7351c8599a06690798c497aca3b9a044c030f4601ccd7de3bbe6ee3e1c45da3eb0e57b9daceaec88a74359733d59dfc76 SHA512 493f258d2a95c146da297949daeb0505467e18e111a312041ea3a121306e56b9265ed0ce44a7c30c97b0c369b96cc4584c8a1b0478f937e924ddfe06201c83e6
|
||||||
|
|
|
@ -1,32 +0,0 @@
|
||||||
# Copyright 1999-2023 Gentoo Authors
|
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
|
||||||
|
|
||||||
EAPI=8
|
|
||||||
|
|
||||||
inherit elisp
|
|
||||||
|
|
||||||
DESCRIPTION="Major mode for Clojure code"
|
|
||||||
HOMEPAGE="https://github.com/clojure-emacs/clojure-mode/"
|
|
||||||
SRC_URI="https://github.com/clojure-emacs/${PN}/archive/v${PV}.tar.gz
|
|
||||||
-> ${P}.tar.gz"
|
|
||||||
|
|
||||||
LICENSE="GPL-3+"
|
|
||||||
KEYWORDS="amd64 ~x86"
|
|
||||||
SLOT="0"
|
|
||||||
IUSE="test"
|
|
||||||
RESTRICT="!test? ( test )"
|
|
||||||
|
|
||||||
BDEPEND="
|
|
||||||
test? (
|
|
||||||
app-emacs/s
|
|
||||||
app-emacs/buttercup
|
|
||||||
app-emacs/paredit
|
|
||||||
)
|
|
||||||
"
|
|
||||||
|
|
||||||
DOCS=( README.md doc )
|
|
||||||
SITEFILE="50${PN}-gentoo.el"
|
|
||||||
|
|
||||||
src_test() {
|
|
||||||
buttercup -L . -L test --traceback full || die
|
|
||||||
}
|
|
|
@ -11,7 +11,7 @@ SRC_URI="https://github.com/clojure-emacs/${PN}/archive/v${PV}.tar.gz
|
||||||
-> ${P}.tar.gz"
|
-> ${P}.tar.gz"
|
||||||
|
|
||||||
LICENSE="GPL-3+"
|
LICENSE="GPL-3+"
|
||||||
KEYWORDS="~amd64 ~x86"
|
KEYWORDS="amd64 ~x86"
|
||||||
SLOT="0"
|
SLOT="0"
|
||||||
IUSE="test"
|
IUSE="test"
|
||||||
RESTRICT="!test? ( test )"
|
RESTRICT="!test? ( test )"
|
||||||
|
|
|
@ -1,2 +0,0 @@
|
||||||
DIST crypt++-2.94_pre20080430.el.bz2 28692 BLAKE2B 2b7f227b87b16fc6b3fdfdb62059a55c70ee95008a144bc7ec0e8c3f5699ec2ba14989b8ae2da3fa7c4bb56070eac7ea1755caddfd27e6c2a53e8a62068ca6cc SHA512 8e142840f8e2db4688e9ce4432ee14db4225899a88a35dea3e371f829ccfc24faa34c607517e344e7706bf75126d758b0490dd5324efa43d4649de127076a5ce
|
|
||||||
DIST crypt++el_2.92.orig.tar.gz 34251 BLAKE2B 579d44269ec84a9548e9e4cb845601027be3862f2f56a2ab99b3c46155f6839c7e5b9426c97ea12ac936df62fb533f5424de8afc7df6983f339eb166b6df6486 SHA512 d3abf169f60c3d1a270149b800d96f7132ebeb99b6952858b81cb2c05ffdce30f6c46f75723490731c47e7eb44515554e012da98351bbd9f9127dcba8453e389
|
|
|
@ -1,17 +0,0 @@
|
||||||
# Copyright 1999-2021 Gentoo Authors
|
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
|
||||||
|
|
||||||
EAPI=7
|
|
||||||
|
|
||||||
inherit elisp
|
|
||||||
|
|
||||||
DESCRIPTION="Handle all sorts of compressed and encrypted files"
|
|
||||||
HOMEPAGE="https://www.emacswiki.org/emacs/CryptPlusPlus"
|
|
||||||
SRC_URI="mirror://debian/pool/main/c/crypt++el/crypt++el_${PV}.orig.tar.gz"
|
|
||||||
|
|
||||||
LICENSE="GPL-2"
|
|
||||||
SLOT="0"
|
|
||||||
KEYWORDS="amd64 ~ppc ~sparc x86"
|
|
||||||
|
|
||||||
S="${WORKDIR}/${PN}el-${PV}"
|
|
||||||
SITEFILE="50${PN}-gentoo.el"
|
|
|
@ -1,17 +0,0 @@
|
||||||
# Copyright 1999-2023 Gentoo Authors
|
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
|
||||||
|
|
||||||
EAPI=7
|
|
||||||
|
|
||||||
inherit elisp
|
|
||||||
|
|
||||||
DESCRIPTION="Handle all sorts of compressed and encrypted files"
|
|
||||||
HOMEPAGE="https://www.emacswiki.org/emacs/CryptPlusPlus"
|
|
||||||
# snapshot from http://cvs.xemacs.org/viewcvs.cgi/XEmacs/packages/xemacs-packages/os-utils/crypt.el
|
|
||||||
SRC_URI="https://dev.gentoo.org/~ulm/distfiles/${P}.el.bz2"
|
|
||||||
|
|
||||||
LICENSE="GPL-2+"
|
|
||||||
SLOT="0"
|
|
||||||
KEYWORDS="amd64 ~ppc ~sparc x86"
|
|
||||||
|
|
||||||
SITEFILE="50${PN}-gentoo.el"
|
|
|
@ -1,2 +0,0 @@
|
||||||
(add-to-list 'load-path "@SITELISP@")
|
|
||||||
(require 'crypt++)
|
|
|
@ -1,17 +0,0 @@
|
||||||
<?xml version="1.0" encoding="UTF-8"?>
|
|
||||||
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
|
|
||||||
<pkgmetadata>
|
|
||||||
<maintainer type="project">
|
|
||||||
<email>gnu-emacs@gentoo.org</email>
|
|
||||||
<name>Gentoo GNU Emacs project</name>
|
|
||||||
</maintainer>
|
|
||||||
<longdescription>
|
|
||||||
crypt++.el is a package of Lisp functions that recognize automatically
|
|
||||||
encrypted and encoded (i.e., compressed) files when they are first visited
|
|
||||||
or written. The BUFFER corresponding to the file is decoded and/or decrypted
|
|
||||||
before it is presented to the user. The file itself is unchanged on the
|
|
||||||
disk. When the buffer is subsequently saved to disk, a hook function
|
|
||||||
re-encodes the buffer before the actual disk write takes place.
|
|
||||||
</longdescription>
|
|
||||||
<stabilize-allarches/>
|
|
||||||
</pkgmetadata>
|
|
1
app-emacs/emacsql/Manifest
Normal file
1
app-emacs/emacsql/Manifest
Normal file
|
@ -0,0 +1 @@
|
||||||
|
DIST emacsql-3.1.1.tar.gz 2392710 BLAKE2B 7281c9630c26363d9e88463a3ead8b241a3fc1a5e87cbf855eb233ef6b295ca6ba4ea4a79b5137b27f9eed33012dfaa183dab7be8e76b240305ee921edebe874 SHA512 0ec3890cfa014a0afef23e2e38bcd844527b0a497bbfe6f89cbbb090811d43996074e642f83f7f49b27659fc51a901645a54aac600e9988dcb40fffe86a06fbf
|
80
app-emacs/emacsql/emacsql-3.1.1.ebuild
Normal file
80
app-emacs/emacsql/emacsql-3.1.1.ebuild
Normal file
|
@ -0,0 +1,80 @@
|
||||||
|
# Copyright 2023 Gentoo Authors
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
|
||||||
|
EAPI=8
|
||||||
|
|
||||||
|
NEED_EMACS=25.1
|
||||||
|
inherit edo elisp toolchain-funcs
|
||||||
|
|
||||||
|
DESCRIPTION="A high-level Emacs Lisp RDBMS front-end"
|
||||||
|
HOMEPAGE="https://github.com/magit/emacsql"
|
||||||
|
|
||||||
|
if [[ ${PV} == *9999* ]]; then
|
||||||
|
inherit git-r3
|
||||||
|
|
||||||
|
EGIT_REPO_URI="https://github.com/magit/${PN}.git"
|
||||||
|
else
|
||||||
|
SRC_URI="
|
||||||
|
https://github.com/magit/${PN}/archive/refs/tags/${PV}.tar.gz -> ${P}.tar.gz
|
||||||
|
"
|
||||||
|
KEYWORDS="~amd64"
|
||||||
|
fi
|
||||||
|
|
||||||
|
LICENSE="Unlicense"
|
||||||
|
SLOT="0"
|
||||||
|
# TODO(arsen): postgres-pg using app-emacs/pg (unpackaged as of yet)
|
||||||
|
IUSE="+sqlite postgres mysql"
|
||||||
|
|
||||||
|
DEPEND="
|
||||||
|
sqlite? ( dev-db/sqlite:3 )
|
||||||
|
"
|
||||||
|
RDEPEND="
|
||||||
|
${DEPEND}
|
||||||
|
postgres? ( dev-db/postgresql )
|
||||||
|
mysql? ( virtual/mysql )
|
||||||
|
"
|
||||||
|
BDEPEND="virtual/pkgconfig"
|
||||||
|
|
||||||
|
PATCHES=(
|
||||||
|
"${FILESDIR}/${PN}-3.1.1-fix-utf8-bom-writing.patch"
|
||||||
|
)
|
||||||
|
|
||||||
|
SITEFILE="50${PN}-gentoo.el"
|
||||||
|
|
||||||
|
src_prepare() {
|
||||||
|
default
|
||||||
|
|
||||||
|
# Not packaged.
|
||||||
|
rm emacsql-pg.el || die
|
||||||
|
|
||||||
|
local -A backends=(
|
||||||
|
[sqlite]=sqlite
|
||||||
|
[postgres]=psql
|
||||||
|
[mysql]=mysql
|
||||||
|
)
|
||||||
|
|
||||||
|
for useflag in "${!backends[@]}"; do
|
||||||
|
if ! use "${useflag}"; then
|
||||||
|
rm emacsql-"${backends[${useflag}]}".el || die
|
||||||
|
fi
|
||||||
|
done
|
||||||
|
}
|
||||||
|
|
||||||
|
src_compile() {
|
||||||
|
if use sqlite; then
|
||||||
|
edo $(tc-getCC) -fPIC -Wall -Wextra \
|
||||||
|
$($(tc-getPKG_CONFIG) --cflags --libs sqlite3) \
|
||||||
|
${CPPFLAGS} ${CFLAGS} ${LDFLAGS} -o emacsql-sqlite \
|
||||||
|
sqlite/emacsql.c
|
||||||
|
fi
|
||||||
|
elisp_src_compile
|
||||||
|
}
|
||||||
|
|
||||||
|
src_install() {
|
||||||
|
elisp_src_install
|
||||||
|
|
||||||
|
if use sqlite; then
|
||||||
|
exeinto "${SITELISP}"/emacsql/sqlite
|
||||||
|
doexe emacsql-sqlite
|
||||||
|
fi
|
||||||
|
}
|
|
@ -0,0 +1,52 @@
|
||||||
|
From 3cec7dcb201568a09ee9cebf0ea1e43cba9d334a Mon Sep 17 00:00:00 2001
|
||||||
|
From: Jonas Bernoulli <jonas@bernoul.li>
|
||||||
|
Date: Tue, 17 Jan 2023 17:33:37 +0100
|
||||||
|
Subject: [PATCH] Use utf-8 coding-system instead of utf-8-auto
|
||||||
|
MIME-Version: 1.0
|
||||||
|
Content-Type: text/plain; charset=UTF-8
|
||||||
|
Content-Transfer-Encoding: 8bit
|
||||||
|
|
||||||
|
This fixes an issue that was merely triggered by a change in Emacs
|
||||||
|
[1]. [2: 127bb98] started binding `coding-system-for-write' and
|
||||||
|
`coding-system-for-read' to `utf-8-auto'. As Eli points out at [3]
|
||||||
|
`utf-8-auto' was probably a mistake and `utf-8' should have been
|
||||||
|
used instead.
|
||||||
|
|
||||||
|
1: https://github.com/emacsmirror/emacs/commit/cfd2b3504ab5de6eb5
|
||||||
|
|
||||||
|
2: 2014-02-02 127bb98df20d84117d34822f50ea584af81b19c3
|
||||||
|
Set coding system to utf-8-auto for sqlite.
|
||||||
|
|
||||||
|
3: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=60872#11.
|
||||||
|
|
||||||
|
> Setting coding-system-for-write to utf-8-auto makes no sense;
|
||||||
|
> that coding-system's _only_ raison d'être is for using in
|
||||||
|
> coding-system-for-read, i.e. when decoding stuff that may or
|
||||||
|
> may not start with a BOM.
|
||||||
|
|
||||||
|
Since EmacSQL is not a general-purpose database but instead stores
|
||||||
|
data encoded by Emacs for later retrieval by Emacs only, we do not
|
||||||
|
have to with the unlikely appearance of a BOM, so we can use `utf-8'
|
||||||
|
instead of `utf-8-auto' for writes *and* reads.
|
||||||
|
|
||||||
|
Re #104, #106, magit/forge#533, magit/forge#535, bug#60872.
|
||||||
|
---
|
||||||
|
emacsql-sqlite.el | 5 +++--
|
||||||
|
1 file changed, 3 insertions(+), 2 deletions(-)
|
||||||
|
|
||||||
|
diff --git a/emacsql-sqlite.el b/emacsql-sqlite.el
|
||||||
|
index 1193147..7b8876f 100644
|
||||||
|
--- a/emacsql-sqlite.el
|
||||||
|
+++ b/emacsql-sqlite.el
|
||||||
|
@@ -73,8 +73,9 @@ used.")
|
||||||
|
((connection emacsql-sqlite-connection) &rest _rest)
|
||||||
|
(emacsql-sqlite-ensure-binary)
|
||||||
|
(let* ((process-connection-type nil) ; use a pipe
|
||||||
|
- (coding-system-for-write 'utf-8-auto)
|
||||||
|
- (coding-system-for-read 'utf-8-auto)
|
||||||
|
+ ;; See https://debbugs.gnu.org/cgi/bugreport.cgi?bug=60872#11.
|
||||||
|
+ (coding-system-for-write 'utf-8)
|
||||||
|
+ (coding-system-for-read 'utf-8)
|
||||||
|
(file (slot-value connection 'file))
|
||||||
|
(buffer (generate-new-buffer " *emacsql-sqlite*"))
|
||||||
|
(fullfile (if file (expand-file-name file) ":memory:"))
|
15
app-emacs/emacsql/metadata.xml
Normal file
15
app-emacs/emacsql/metadata.xml
Normal file
|
@ -0,0 +1,15 @@
|
||||||
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
|
||||||
|
<pkgmetadata>
|
||||||
|
<maintainer type="person">
|
||||||
|
<email>arsen@gentoo.org</email>
|
||||||
|
<description>Arsen Arsenović</description>
|
||||||
|
</maintainer>
|
||||||
|
<maintainer type="project">
|
||||||
|
<email>gnu-emacs@gentoo.org</email>
|
||||||
|
<name>Gentoo GNU Emacs project</name>
|
||||||
|
</maintainer>
|
||||||
|
<upstream>
|
||||||
|
<remote-id type="github">magit/emacsql</remote-id>
|
||||||
|
</upstream>
|
||||||
|
</pkgmetadata>
|
|
@ -13,7 +13,7 @@ SRC_URI="https://github.com/emacs-helm/${PN}/archive/v${PV}.tar.gz
|
||||||
|
|
||||||
LICENSE="GPL-3+"
|
LICENSE="GPL-3+"
|
||||||
SLOT="0"
|
SLOT="0"
|
||||||
KEYWORDS="~amd64 ~x86"
|
KEYWORDS="amd64 x86"
|
||||||
|
|
||||||
RDEPEND="
|
RDEPEND="
|
||||||
app-emacs/async
|
app-emacs/async
|
||||||
|
|
1
app-emacs/indent-bars/Manifest
Normal file
1
app-emacs/indent-bars/Manifest
Normal file
|
@ -0,0 +1 @@
|
||||||
|
DIST indent-bars-0.2.tar.gz 33072 BLAKE2B b5f0b80f1b4291c19fec603a5610ae020ae1cd1531278c5eedf814c3aae4be76d5731b553220314ef67f785f1822c7861e088a5ec163505d9303e9ec2c5fda5c SHA512 e5eab37d5963855948efdd9739a44306c60fafef0cd589edcb6550ff52a4e6a0e403bde8124838d250c1bb78aff0bfbfa1e45275458af3e0ae00472628981b1b
|
3
app-emacs/indent-bars/files/50indent-bars-gentoo.el
Normal file
3
app-emacs/indent-bars/files/50indent-bars-gentoo.el
Normal file
|
@ -0,0 +1,3 @@
|
||||||
|
(add-to-list 'load-path "@SITELISP@")
|
||||||
|
|
||||||
|
(autoload 'indent-bars-mode "indent-bars" "" t)
|
21
app-emacs/indent-bars/indent-bars-0.2.ebuild
Normal file
21
app-emacs/indent-bars/indent-bars-0.2.ebuild
Normal file
|
@ -0,0 +1,21 @@
|
||||||
|
# Copyright 1999-2023 Gentoo Authors
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
|
||||||
|
EAPI=8
|
||||||
|
NEED_EMACS=27.1
|
||||||
|
|
||||||
|
inherit elisp
|
||||||
|
|
||||||
|
IUSE=""
|
||||||
|
|
||||||
|
DESCRIPTION="Fast, configurable indentation guide-bars for Emacs"
|
||||||
|
HOMEPAGE="https://github.com/jdtsmith/indent-bars"
|
||||||
|
SRC_URI="https://github.com/jdtsmith/indent-bars/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz"
|
||||||
|
|
||||||
|
LICENSE="GPL-3"
|
||||||
|
SLOT="0"
|
||||||
|
KEYWORDS="~amd64"
|
||||||
|
|
||||||
|
SITEFILE="50${PN}-gentoo.el"
|
||||||
|
|
||||||
|
DOCS="examples.md README.md"
|
11
app-emacs/indent-bars/metadata.xml
Normal file
11
app-emacs/indent-bars/metadata.xml
Normal file
|
@ -0,0 +1,11 @@
|
||||||
|
<?xml version = '1.0' encoding = 'UTF-8'?>
|
||||||
|
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||||
|
<pkgmetadata>
|
||||||
|
<maintainer type="project">
|
||||||
|
<email>gnu-emacs@gentoo.org</email>
|
||||||
|
<name>Gentoo GNU Emacs project</name>
|
||||||
|
</maintainer>
|
||||||
|
<upstream>
|
||||||
|
<remote-id type="github">jdtsmith/indent-bars</remote-id>
|
||||||
|
</upstream>
|
||||||
|
</pkgmetadata>
|
|
@ -1,2 +1 @@
|
||||||
DIST lsp-mode-8.0.0.tar.gz 14703640 BLAKE2B ab7993772cfc127ee94ba4a0af75e8d7f6789ac22c76acce8df250b5579c1dd2f41e353b26cbdcf6e1a2e6a8d1f8a179d4736b67914cdec31c23032f93dffd3c SHA512 2620288142cea7b06ad2725b63e5db945b1d62d0b4c215e8d35d79d6c3f05bcdf2736dab34bd10c2b9f8928caf36ef617182c41c309e62e2ce8ddf45df376cbc
|
|
||||||
DIST lsp-mode-8.0.0_p20220620.tar.gz 15464614 BLAKE2B 10e50a52e2a725b1a275b81514bb268619b128370f8989970c75c87bc37516588e798c5f2531b73689d9d102fbd6b965841c6d8a0c337cb8d9052b632a01e289 SHA512 d464418df6eb99d8a1f4cad8c9e31ca057286f846afbb0078fdff21cfc685ffc158b1b37d22224372bee67eb5298f20bb4db83ed466c09e4b4b3a83db865ef09
|
DIST lsp-mode-8.0.0_p20220620.tar.gz 15464614 BLAKE2B 10e50a52e2a725b1a275b81514bb268619b128370f8989970c75c87bc37516588e798c5f2531b73689d9d102fbd6b965841c6d8a0c337cb8d9052b632a01e289 SHA512 d464418df6eb99d8a1f4cad8c9e31ca057286f846afbb0078fdff21cfc685ffc158b1b37d22224372bee67eb5298f20bb4db83ed466c09e4b4b3a83db865ef09
|
||||||
|
|
|
@ -1,59 +0,0 @@
|
||||||
# Copyright 1999-2022 Gentoo Authors
|
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
|
||||||
|
|
||||||
EAPI=8
|
|
||||||
|
|
||||||
NEED_EMACS=26.1
|
|
||||||
|
|
||||||
inherit elisp
|
|
||||||
|
|
||||||
DESCRIPTION="Emacs client/library for the Language Server Protocol"
|
|
||||||
HOMEPAGE="https://emacs-lsp.github.io/lsp-mode/"
|
|
||||||
SRC_URI="https://github.com/emacs-lsp/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
|
|
||||||
|
|
||||||
LICENSE="GPL-3+"
|
|
||||||
KEYWORDS="~amd64"
|
|
||||||
SLOT="0"
|
|
||||||
IUSE="test"
|
|
||||||
RESTRICT="!test? ( test )"
|
|
||||||
|
|
||||||
RDEPEND="
|
|
||||||
>=app-emacs/dash-2.18.0
|
|
||||||
>=app-emacs/f-0.20.0
|
|
||||||
app-emacs/ht
|
|
||||||
app-emacs/lv
|
|
||||||
app-emacs/markdown-mode
|
|
||||||
app-emacs/spinner
|
|
||||||
"
|
|
||||||
BDEPEND="
|
|
||||||
${RDEPEND}
|
|
||||||
test? (
|
|
||||||
app-emacs/deferred
|
|
||||||
app-emacs/ecukes
|
|
||||||
app-emacs/el-mock
|
|
||||||
app-emacs/ert-runner
|
|
||||||
app-emacs/espuds
|
|
||||||
app-emacs/flycheck
|
|
||||||
app-emacs/undercover
|
|
||||||
)
|
|
||||||
"
|
|
||||||
|
|
||||||
DOCS=( AUTHORS CHANGELOG.org README.md refcard )
|
|
||||||
BYTECOMPFLAGS="-L . -L clients"
|
|
||||||
ELISP_REMOVE="test/lsp-clangd-test.el test/lsp-common-test.el
|
|
||||||
test/lsp-integration-test.el" # Remove failing tests
|
|
||||||
SITEFILE="50${PN}-gentoo.el"
|
|
||||||
|
|
||||||
src_compile() {
|
|
||||||
elisp_src_compile
|
|
||||||
elisp-compile clients/*.el
|
|
||||||
}
|
|
||||||
|
|
||||||
src_test() {
|
|
||||||
ert-runner -L clients --reporter ert+duration -t "!no-win" -t "!org" || die
|
|
||||||
}
|
|
||||||
|
|
||||||
src_install() {
|
|
||||||
elisp_src_install
|
|
||||||
elisp-install ${PN}/clients clients/*
|
|
||||||
}
|
|
|
@ -1,2 +1 @@
|
||||||
DIST lsp-ui-8.0.0.tar.gz 5609015 BLAKE2B 4260ab5cc44b25937d9d273f35a25bb2a2db2e458c20a6b99bb3c697729f31f92c2423512e5bd2caef21998aadf8d555f09eadc616158d3c835fc7a2cf7a5cd7 SHA512 5e64f1532a4ed3c8ff4ef1254812d13a8c8c9c37e26992adc868f66ddfdd8b73d31eb8ab92c2c1caf1fd6098e292e1ff9bb81689b24a209cfff88224aff7004d
|
|
||||||
DIST lsp-ui-8.0.1.tar.gz 5609941 BLAKE2B d62fd98d4c057cb6d994b94b4c488daef0fffe9d5a31627298f8e91f34a030e09574b960a078a6e6b596cbc4c52b682821b27bacb7957a0d3434dbad4c6ed47a SHA512 d0aa31ce2ae12d4d1b8979b2f3e7a08c3dcddb4c676d6fcca3e66005101eb59d0ea1f29ae07a2290f532cee1026be0a958263e4b64b89045c9164a669e208c61
|
DIST lsp-ui-8.0.1.tar.gz 5609941 BLAKE2B d62fd98d4c057cb6d994b94b4c488daef0fffe9d5a31627298f8e91f34a030e09574b960a078a6e6b596cbc4c52b682821b27bacb7957a0d3434dbad4c6ed47a SHA512 d0aa31ce2ae12d4d1b8979b2f3e7a08c3dcddb4c676d6fcca3e66005101eb59d0ea1f29ae07a2290f532cee1026be0a958263e4b64b89045c9164a669e208c61
|
||||||
|
|
|
@ -1,32 +0,0 @@
|
||||||
# Copyright 1999-2021 Gentoo Authors
|
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
|
||||||
|
|
||||||
EAPI=8
|
|
||||||
|
|
||||||
NEED_EMACS=26.1
|
|
||||||
|
|
||||||
inherit elisp
|
|
||||||
|
|
||||||
IUSE=""
|
|
||||||
|
|
||||||
DESCRIPTION="UI modules for lsp-mode"
|
|
||||||
HOMEPAGE="https://emacs-lsp.github.io/lsp-ui/"
|
|
||||||
SRC_URI="https://github.com/emacs-lsp/lsp-ui/archive/${PV}.tar.gz -> ${P}.tar.gz"
|
|
||||||
LICENSE="GPL-3"
|
|
||||||
SLOT="0"
|
|
||||||
KEYWORDS="~amd64"
|
|
||||||
|
|
||||||
SITEFILE="50${PN}-gentoo.el"
|
|
||||||
|
|
||||||
RDEPEND="
|
|
||||||
>=app-emacs/dash-2.18.0
|
|
||||||
app-emacs/flycheck
|
|
||||||
>=app-emacs/lsp-mode-6.0
|
|
||||||
>=app-emacs/markdown-mode-2.3
|
|
||||||
"
|
|
||||||
DEPEND=${RDEPEND}
|
|
||||||
|
|
||||||
# Requires unpackaged dependencies, e.g. Cask
|
|
||||||
RESTRICT="test"
|
|
||||||
|
|
||||||
DOCS="README.md"
|
|
|
@ -1,4 +1,4 @@
|
||||||
# Copyright 1999-2022 Gentoo Authors
|
# Copyright 1999-2023 Gentoo Authors
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
|
||||||
EAPI=8
|
EAPI=8
|
||||||
|
@ -7,8 +7,6 @@ NEED_EMACS=26.1
|
||||||
|
|
||||||
inherit elisp
|
inherit elisp
|
||||||
|
|
||||||
IUSE=""
|
|
||||||
|
|
||||||
DESCRIPTION="UI modules for lsp-mode"
|
DESCRIPTION="UI modules for lsp-mode"
|
||||||
HOMEPAGE="https://emacs-lsp.github.io/lsp-ui/"
|
HOMEPAGE="https://emacs-lsp.github.io/lsp-ui/"
|
||||||
SRC_URI="https://github.com/emacs-lsp/lsp-ui/archive/${PV}.tar.gz -> ${P}.tar.gz"
|
SRC_URI="https://github.com/emacs-lsp/lsp-ui/archive/${PV}.tar.gz -> ${P}.tar.gz"
|
||||||
|
|
|
@ -21,7 +21,7 @@ else
|
||||||
-> ${P}.tar.gz"
|
-> ${P}.tar.gz"
|
||||||
S="${WORKDIR}/${PN}-${COMMIT}/lisp"
|
S="${WORKDIR}/${PN}-${COMMIT}/lisp"
|
||||||
|
|
||||||
KEYWORDS="~amd64 ~arm ~ppc64 ~riscv ~x86 ~amd64-linux ~x86-linux"
|
KEYWORDS="amd64 ~arm ~ppc64 ~riscv x86 ~amd64-linux ~x86-linux"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
LICENSE="GPL-3+"
|
LICENSE="GPL-3+"
|
||||||
|
|
|
@ -17,7 +17,7 @@ else
|
||||||
SRC_URI="https://github.com/dgutov/${PN}/archive/${PV}.tar.gz
|
SRC_URI="https://github.com/dgutov/${PN}/archive/${PV}.tar.gz
|
||||||
-> ${P}.tar.gz"
|
-> ${P}.tar.gz"
|
||||||
|
|
||||||
KEYWORDS="~amd64 ~ppc ~x86 ~amd64-linux ~x86-linux ~ppc-macos"
|
KEYWORDS="amd64 ppc x86 ~amd64-linux ~x86-linux ~ppc-macos"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
LICENSE="GPL-2+ Texinfo-manual"
|
LICENSE="GPL-2+ Texinfo-manual"
|
||||||
|
|
1
app-emacs/org-roam/Manifest
Normal file
1
app-emacs/org-roam/Manifest
Normal file
|
@ -0,0 +1 @@
|
||||||
|
DIST org-roam-2.2.2.tar.gz 37466184 BLAKE2B f929d765493a640f5df0417dfd37618049d7af24ac78fd1dc00ef79bc7576ca856d6cc926a30bcd0f69c27595bf1ce517e49fe9e592dd208f08b83d03544d80a SHA512 737baff1b3ab7a3008ed3bf1816f8cf1ce461dccfe8e195e8ac11ba50c2c983573d62c364c75a119facf3131f90764842bfe121cdad0a4c2add606aa806aef10
|
3
app-emacs/org-roam/files/50org-roam-gentoo.el
Normal file
3
app-emacs/org-roam/files/50org-roam-gentoo.el
Normal file
|
@ -0,0 +1,3 @@
|
||||||
|
;;; app-emacs/org-roam site configuration -*- lexical-binding: t; -*-
|
||||||
|
(add-to-list 'load-path "@SITELISP@")
|
||||||
|
(load "@SITELISP@/org-roam-autoloads.el" nil t)
|
15
app-emacs/org-roam/metadata.xml
Normal file
15
app-emacs/org-roam/metadata.xml
Normal file
|
@ -0,0 +1,15 @@
|
||||||
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
|
||||||
|
<pkgmetadata>
|
||||||
|
<maintainer type="person">
|
||||||
|
<email>arsen@gentoo.org</email>
|
||||||
|
<description>Arsen Arsenović</description>
|
||||||
|
</maintainer>
|
||||||
|
<maintainer type="project">
|
||||||
|
<email>gnu-emacs@gentoo.org</email>
|
||||||
|
<name>Gentoo GNU Emacs project</name>
|
||||||
|
</maintainer>
|
||||||
|
<upstream>
|
||||||
|
<remote-id type="github">org-roam/org-roam</remote-id>
|
||||||
|
</upstream>
|
||||||
|
</pkgmetadata>
|
37
app-emacs/org-roam/org-roam-2.2.2.ebuild
Normal file
37
app-emacs/org-roam/org-roam-2.2.2.ebuild
Normal file
|
@ -0,0 +1,37 @@
|
||||||
|
# Copyright 2023 Gentoo Authors
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
|
||||||
|
EAPI=8
|
||||||
|
|
||||||
|
NEED_EMACS=26.1
|
||||||
|
inherit elisp
|
||||||
|
|
||||||
|
DESCRIPTION="Rudimentary Roam replica with Org-mode"
|
||||||
|
HOMEPAGE="https://github.com/org-roam/org-roam"
|
||||||
|
|
||||||
|
if [[ ${PV} == *9999* ]] ; then
|
||||||
|
inherit git-r3
|
||||||
|
|
||||||
|
EGIT_REPO_URI="https://github.com/${PN}/${PN}.git"
|
||||||
|
else
|
||||||
|
SRC_URI="
|
||||||
|
https://github.com/${PN}/${PN}/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz
|
||||||
|
"
|
||||||
|
|
||||||
|
KEYWORDS="~amd64"
|
||||||
|
fi
|
||||||
|
|
||||||
|
LICENSE="GPL-3+"
|
||||||
|
SLOT="0"
|
||||||
|
|
||||||
|
RDEPEND="
|
||||||
|
app-emacs/dash
|
||||||
|
app-emacs/magit
|
||||||
|
app-emacs/emacsql[sqlite]
|
||||||
|
"
|
||||||
|
BDEPEND="${RDEPEND}"
|
||||||
|
|
||||||
|
src_install() {
|
||||||
|
elisp-make-autoload-file
|
||||||
|
elisp_src_install
|
||||||
|
}
|
37
app-emacs/org-roam/org-roam-9999.ebuild
Normal file
37
app-emacs/org-roam/org-roam-9999.ebuild
Normal file
|
@ -0,0 +1,37 @@
|
||||||
|
# Copyright 2023 Gentoo Authors
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
|
||||||
|
EAPI=8
|
||||||
|
|
||||||
|
NEED_EMACS=26.1
|
||||||
|
inherit elisp
|
||||||
|
|
||||||
|
DESCRIPTION="Rudimentary Roam replica with Org-mode"
|
||||||
|
HOMEPAGE="https://github.com/org-roam/org-roam"
|
||||||
|
|
||||||
|
if [[ ${PV} == *9999* ]] ; then
|
||||||
|
inherit git-r3
|
||||||
|
|
||||||
|
EGIT_REPO_URI="https://github.com/${PN}/${PN}.git"
|
||||||
|
else
|
||||||
|
SRC_URI="
|
||||||
|
https://github.com/${PN}/${PN}/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz
|
||||||
|
"
|
||||||
|
|
||||||
|
KEYWORDS="~amd64"
|
||||||
|
fi
|
||||||
|
|
||||||
|
LICENSE="GPL-3+"
|
||||||
|
SLOT="0"
|
||||||
|
|
||||||
|
RDEPEND="
|
||||||
|
app-emacs/dash
|
||||||
|
app-emacs/magit
|
||||||
|
app-emacs/emacsql[sqlite]
|
||||||
|
"
|
||||||
|
BDEPEND="${RDEPEND}"
|
||||||
|
|
||||||
|
src_install() {
|
||||||
|
elisp-make-autoload-file
|
||||||
|
elisp_src_install
|
||||||
|
}
|
|
@ -1,3 +1 @@
|
||||||
DIST treemacs-2.10.tar.gz 4137468 BLAKE2B 0f832d02f8b0f96f7000c57b1842319155face5cb50c44ff4286f7f28dd74b38739079de9c387dbddbf93af37a5c750c45a598100ed5053674a565b4ec34f0c6 SHA512 9326a3f66c1b38eb7ef39e90900c2ef71d20c6c3478213f61c144ca4face562dccf00d6d400315c264627468a0c3319a24f0ec6cddb795b54e1b7f3c235d1c71
|
|
||||||
DIST treemacs-3.0.tar.gz 4552082 BLAKE2B d12dff7aa667916ba586dcf47d642b36987ec1612a5dd276a513eef551c7b81a463d55531dacc48eac49ffc7390b1dd48a7e07285d188d4d40e779b9bc0b09f5 SHA512 981eb40973c86aec683ad6f0436c853e9254bfa10e77a60d3c36ef8b18d76dce358d68dee06355e63b4040c816e4f0064a3e722a414db0f9d3d007e5d252d753
|
|
||||||
DIST treemacs-3.1.tar.gz 4562915 BLAKE2B b728c6ea795fe1159c2342b593cc4e6b3d06a1ba58dca876e5472e394b77a3a9930740aa9ecb65973f551322018920f08b0b49e897d5677b7a0f1da42cfad2d3 SHA512 e891cfa68916ecc250ab0446a4eb0149deea17a7f366870ce757e73f175bc823dae87080a584ea315d502c50559d030055f2f399cbd92d40af8c2dca5308604c
|
DIST treemacs-3.1.tar.gz 4562915 BLAKE2B b728c6ea795fe1159c2342b593cc4e6b3d06a1ba58dca876e5472e394b77a3a9930740aa9ecb65973f551322018920f08b0b49e897d5677b7a0f1da42cfad2d3 SHA512 e891cfa68916ecc250ab0446a4eb0149deea17a7f366870ce757e73f175bc823dae87080a584ea315d502c50559d030055f2f399cbd92d40af8c2dca5308604c
|
||||||
|
|
|
@ -1,76 +0,0 @@
|
||||||
# Copyright 1999-2023 Gentoo Authors
|
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
|
||||||
|
|
||||||
EAPI=8
|
|
||||||
|
|
||||||
NEED_EMACS=26.1
|
|
||||||
DISTUTILS_USE_PEP517=no
|
|
||||||
PYTHON_COMPAT=( python3_{9..11} )
|
|
||||||
|
|
||||||
inherit elisp distutils-r1
|
|
||||||
|
|
||||||
DESCRIPTION="Tree style project file explorer"
|
|
||||||
HOMEPAGE="https://github.com/Alexander-Miller/treemacs/"
|
|
||||||
SRC_URI="https://github.com/Alexander-Miller/${PN}/archive/${PV}.tar.gz
|
|
||||||
-> ${P}.tar.gz"
|
|
||||||
|
|
||||||
LICENSE="GPL-3+"
|
|
||||||
KEYWORDS="~amd64"
|
|
||||||
SLOT="0"
|
|
||||||
IUSE="test"
|
|
||||||
RESTRICT="!test? ( test )"
|
|
||||||
|
|
||||||
RDEPEND="
|
|
||||||
app-emacs/ace-window
|
|
||||||
app-emacs/cfrs
|
|
||||||
app-emacs/dash
|
|
||||||
app-emacs/ht
|
|
||||||
app-emacs/hydra
|
|
||||||
app-emacs/pfuture
|
|
||||||
app-emacs/s
|
|
||||||
"
|
|
||||||
BDEPEND="
|
|
||||||
${RDEPEND}
|
|
||||||
test? ( app-emacs/buttercup )
|
|
||||||
"
|
|
||||||
|
|
||||||
BYTECOMPFLAGS="-L . -L src/elisp"
|
|
||||||
PATCHES=(
|
|
||||||
"${FILESDIR}"/${PN}-2.9.5-tests.patch
|
|
||||||
"${FILESDIR}"/${PN}-async-scripts.patch
|
|
||||||
"${FILESDIR}"/${PN}-icons-icon-directory.patch
|
|
||||||
)
|
|
||||||
|
|
||||||
DOCS=( Changelog.org Extensions.org README.org screenshots )
|
|
||||||
SITEFILE="50${PN}-gentoo.el"
|
|
||||||
|
|
||||||
src_prepare() {
|
|
||||||
distutils-r1_src_prepare
|
|
||||||
|
|
||||||
sed "s|@SITEETC@|${SITEETC}/${PN}|g" \
|
|
||||||
-i src/elisp/${PN}-icons.el \
|
|
||||||
-i src/elisp/${PN}-async.el || die
|
|
||||||
}
|
|
||||||
|
|
||||||
python_compile() {
|
|
||||||
python_optimize "${S}"/src/scripts
|
|
||||||
}
|
|
||||||
|
|
||||||
src_compile() {
|
|
||||||
distutils-r1_src_compile
|
|
||||||
|
|
||||||
elisp-compile src/elisp/*.el
|
|
||||||
}
|
|
||||||
|
|
||||||
src_test() {
|
|
||||||
buttercup ${BYTECOMPFLAGS} -L test --traceback full || die "tests failed"
|
|
||||||
}
|
|
||||||
|
|
||||||
src_install() {
|
|
||||||
elisp-install ${PN} src/elisp/*.el{,c}
|
|
||||||
elisp-site-file-install "${FILESDIR}/${SITEFILE}"
|
|
||||||
|
|
||||||
insinto ${SITEETC}/${PN}
|
|
||||||
doins -r icons
|
|
||||||
doins -r src/scripts
|
|
||||||
}
|
|
|
@ -1,77 +0,0 @@
|
||||||
# Copyright 1999-2023 Gentoo Authors
|
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
|
||||||
|
|
||||||
EAPI=8
|
|
||||||
|
|
||||||
NEED_EMACS=26.1
|
|
||||||
DISTUTILS_USE_PEP517=no
|
|
||||||
PYTHON_COMPAT=( python3_{9..11} )
|
|
||||||
|
|
||||||
inherit elisp distutils-r1
|
|
||||||
|
|
||||||
DESCRIPTION="Tree style project file explorer"
|
|
||||||
HOMEPAGE="https://github.com/Alexander-Miller/treemacs/"
|
|
||||||
SRC_URI="https://github.com/Alexander-Miller/${PN}/archive/${PV}.tar.gz
|
|
||||||
-> ${P}.tar.gz"
|
|
||||||
|
|
||||||
LICENSE="GPL-3+"
|
|
||||||
KEYWORDS="~amd64"
|
|
||||||
SLOT="0"
|
|
||||||
IUSE="test"
|
|
||||||
RESTRICT="!test? ( test )"
|
|
||||||
|
|
||||||
RDEPEND="
|
|
||||||
app-emacs/ace-window
|
|
||||||
app-emacs/cfrs
|
|
||||||
app-emacs/dash
|
|
||||||
app-emacs/ht
|
|
||||||
app-emacs/hydra
|
|
||||||
app-emacs/pfuture
|
|
||||||
app-emacs/s
|
|
||||||
"
|
|
||||||
BDEPEND="
|
|
||||||
${RDEPEND}
|
|
||||||
test? ( app-emacs/buttercup )
|
|
||||||
"
|
|
||||||
|
|
||||||
BYTECOMPFLAGS="-L . -L src/elisp"
|
|
||||||
PATCHES=(
|
|
||||||
"${FILESDIR}"/${PN}-2.9.5-tests.patch
|
|
||||||
"${FILESDIR}"/${PN}-async-scripts.patch
|
|
||||||
"${FILESDIR}"/${PN}-icons-icon-directory.patch
|
|
||||||
"${FILESDIR}"/${P}-tests.patch
|
|
||||||
)
|
|
||||||
|
|
||||||
DOCS=( Changelog.org Extensions.org README.org screenshots )
|
|
||||||
SITEFILE="50${PN}-gentoo.el"
|
|
||||||
|
|
||||||
src_prepare() {
|
|
||||||
distutils-r1_src_prepare
|
|
||||||
|
|
||||||
sed "s|@SITEETC@|${SITEETC}/${PN}|g" \
|
|
||||||
-i src/elisp/${PN}-icons.el \
|
|
||||||
-i src/elisp/${PN}-async.el || die
|
|
||||||
}
|
|
||||||
|
|
||||||
python_compile() {
|
|
||||||
python_optimize "${S}"/src/scripts
|
|
||||||
}
|
|
||||||
|
|
||||||
src_compile() {
|
|
||||||
distutils-r1_src_compile
|
|
||||||
|
|
||||||
elisp-compile src/elisp/*.el
|
|
||||||
}
|
|
||||||
|
|
||||||
src_test() {
|
|
||||||
buttercup ${BYTECOMPFLAGS} -L test --traceback full || die "tests failed"
|
|
||||||
}
|
|
||||||
|
|
||||||
src_install() {
|
|
||||||
elisp-install ${PN} src/elisp/*.el{,c}
|
|
||||||
elisp-site-file-install "${FILESDIR}/${SITEFILE}"
|
|
||||||
|
|
||||||
insinto ${SITEETC}/${PN}
|
|
||||||
doins -r icons
|
|
||||||
doins -r src/scripts
|
|
||||||
}
|
|
|
@ -1,2 +1 @@
|
||||||
DIST web-mode-17.2.1.tar.gz 155440 BLAKE2B bae77ca300f77ad4dd520b048194eb66b592e57086e9720ec98c59c30e06a4f86e55f74f427b5ae1bf7e8a2c7f243168ad9c38c9911dc3ab4f98bad0ee8632a2 SHA512 bfd68cae6a79f9a77b512c94cdb1ce0ffedb763ee741c4c5b1e59caaedf46b40ee2920dce5d1023689b9382d4573975f5d397fc9fc96232deb558d0952d7beef
|
|
||||||
DIST web-mode-17.3.13.tar.gz 168143 BLAKE2B efa5b78e774ad023a3f2508e64317b76b15748369dc311ebcd65c98021b2fa75a9c85d54d897a2a4d2580d8c95a609df3bc8bb265afe89ea5219885d4e9c78d0 SHA512 c325b45ba88406e9dcfc19ddd8951bd7075a9c5157bf85e4c7a857d93b756c76a6e8e03524cbb8465c4109001397414db25178f0158556f2b872b5930e7014b9
|
DIST web-mode-17.3.13.tar.gz 168143 BLAKE2B efa5b78e774ad023a3f2508e64317b76b15748369dc311ebcd65c98021b2fa75a9c85d54d897a2a4d2580d8c95a609df3bc8bb265afe89ea5219885d4e9c78d0 SHA512 c325b45ba88406e9dcfc19ddd8951bd7075a9c5157bf85e4c7a857d93b756c76a6e8e03524cbb8465c4109001397414db25178f0158556f2b872b5930e7014b9
|
||||||
|
|
|
@ -1,17 +0,0 @@
|
||||||
# Copyright 1999-2023 Gentoo Authors
|
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
|
||||||
|
|
||||||
EAPI=8
|
|
||||||
|
|
||||||
inherit elisp
|
|
||||||
|
|
||||||
DESCRIPTION="Web template editing mode for Emacs"
|
|
||||||
HOMEPAGE="https://web-mode.org/ https://github.com/fxbois/web-mode/"
|
|
||||||
SRC_URI="https://github.com/fxbois/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
|
|
||||||
|
|
||||||
LICENSE="GPL-3+"
|
|
||||||
KEYWORDS="amd64 ~x86"
|
|
||||||
SLOT="0"
|
|
||||||
|
|
||||||
DOCS=( README.md )
|
|
||||||
SITEFILE="50${PN}-gentoo.el"
|
|
Some files were not shown because too many files have changed in this diff Show more
Loading…
Add table
Reference in a new issue