summaryrefslogtreecommitdiff
path: root/app-shells
diff options
context:
space:
mode:
authorLiguros - Gitlab CI/CD [develop] <gitlab@liguros.net>2026-05-09 09:38:04 +0000
committerLiguros - Gitlab CI/CD [develop] <gitlab@liguros.net>2026-05-09 09:38:04 +0000
commit11c57b2987e06bf35a84672a4e560212fc363804 (patch)
treee1860cb34d71b1ed7fedeb81e996044324acf10c /app-shells
parent49d6eff372ef65c2d900b06355a7169f8c771c6a (diff)
downloadbaldeagleos-repo-11c57b2987e06bf35a84672a4e560212fc363804.tar.gz
baldeagleos-repo-11c57b2987e06bf35a84672a4e560212fc363804.tar.xz
baldeagleos-repo-11c57b2987e06bf35a84672a4e560212fc363804.zip
Adding metadata
Diffstat (limited to 'app-shells')
-rw-r--r--app-shells/atuin/Manifest2
-rw-r--r--app-shells/atuin/atuin-18.16.0.ebuild153
-rw-r--r--app-shells/fish/fish-4.6.0.ebuild2
-rw-r--r--app-shells/posh/Manifest1
-rw-r--r--app-shells/posh/posh-0.14.5.ebuild29
5 files changed, 186 insertions, 1 deletions
diff --git a/app-shells/atuin/Manifest b/app-shells/atuin/Manifest
index bd583408b1f0..152f6ff5bfe4 100644
--- a/app-shells/atuin/Manifest
+++ b/app-shells/atuin/Manifest
@@ -6,3 +6,5 @@ DIST atuin-18.13.5-crates.tar.xz 47813988 BLAKE2B f80959d5af525db42bb3e0ab232ba7
DIST atuin-18.13.5.tar.gz 1022421 BLAKE2B eed3f05f3485ba5bd9405a79b64ec4d294f63bffdb5afcb542c9bab83b91c20d28f285c8107f6318b22857014b2697f1b7ce6f020867ed99f8824470c90400c8 SHA512 7993d39f248bf72bfb4420cdc062bd57b0068507f3920575d81996cf83f2a2f6c51b9b100754ea91f4e09adb50260673ea9bd18b492ea7c10d927761a5f8e606
DIST atuin-18.14.1-crates.tar.xz 47072888 BLAKE2B a1904e9474a9daf8c355f9b5eb1b56385683fb40fff06d262afb4d42b4dbcf7f469d432bce9014e373138425f3e5e1559527c362fcbb8848368252f5d6b84fe5 SHA512 6ccab330c6211cc77c1f31da7b6c423a38422c0db480a86c7cb6253007f6438bcbe2ab28265001c961ed10a14c68cbfbe4c6823e795c98e265b8d19dc6252a28
DIST atuin-18.14.1.tar.gz 2778055 BLAKE2B e2a0b40566db8757cc1e3f679ca644f6846a4134a62f8b29763435cdce79f94747f5d7a4fe40262167b9f95c77d0a6a6453f9b7ca443de6f285761923beabb8b SHA512 01d0f4c8293dcdf95a19879453464bbdc35b72bfcdddd02ca8452821ceccd9e98bc0206d9ad0da5a7f9ccfa6b885cd3f2033a18b94a45d10e410dd842aa6ec51
+DIST atuin-18.16.0-crates.tar.xz 47668520 BLAKE2B 2bf6b34de97739bcd9b4ca73094c49a8973954e7e80f4a7e95a964350b1720fbc127a1db31f02145ab5f76497b83e4e2ed07c0d08117a4f713e32c2d348ad03c SHA512 92b5493021bda6313b8f0501d5b1820d7e4f4665907f6403dd5c12c1b3ea271759c81273d3acc4b7eb17ed924b3c0d3b2695b7d361b5175be97737bc3749dd1e
+DIST atuin-18.16.0.tar.gz 2983921 BLAKE2B 8055e006a87552a3de4fb0839c6ffcac2bd79f9cc0bd06589158e6590ccd9d71452262ccb6c4c853dc18681b3380780cc0f4def17825e321c2f97d57aae333b7 SHA512 452674761028f66dc4e3208bb0ab53d20611383445aa40a70635f335ffd1bde03b925d0b6b0cf760e209054ce77df97f75ce720380a86263d7627723e80d3f09
diff --git a/app-shells/atuin/atuin-18.16.0.ebuild b/app-shells/atuin/atuin-18.16.0.ebuild
new file mode 100644
index 000000000000..ec1a757c441d
--- /dev/null
+++ b/app-shells/atuin/atuin-18.16.0.ebuild
@@ -0,0 +1,153 @@
+# Copyright 2023-2026 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+RUST_MIN_VER="1.95.0"
+
+inherit cargo greadme shell-completion systemd
+
+DESCRIPTION="Shell history manager supporting encrypted synchronisation"
+HOMEPAGE="https://atuin.sh https://github.com/atuinsh/atuin"
+SRC_URI="https://github.com/atuinsh/${PN}/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz"
+SRC_URI+=" https://github.com/gentoo-crate-dist/atuin/releases/download/v${PV}/${P}-crates.tar.xz"
+SRC_URI+=" ${CARGO_CRATE_URIS}"
+
+LICENSE="MIT"
+# Dependent crate licenses
+# - openssl for ring crate
+LICENSE+="
+ Apache-2.0 BSD Boost-1.0 CC0-1.0 CDLA-Permissive-2.0 ISC MIT MPL-2.0 openssl
+ Unicode-3.0 WTFPL-2 ZLIB
+"
+SLOT="0"
+KEYWORDS="~amd64 ~arm64 ~riscv"
+IUSE="+client +daemon server system-sqlite test +sync"
+RESTRICT="!test? ( test )"
+REQUIRED_USE="
+ || ( client server )
+ sync? ( client )
+ test? ( client server sync )
+"
+DEPEND="system-sqlite? ( dev-db/sqlite:3 )"
+RDEPEND="${DEPEND}
+ server? ( acct-user/atuin )
+"
+BDEPEND="test? ( dev-db/postgresql )"
+
+QA_FLAGS_IGNORED="usr/bin/${PN}"
+
+GREADME_DISABLE_AUTOFORMAT=1
+
+DOCS=( CONTRIBUTING.md CONTRIBUTORS README.md )
+
+src_configure() {
+ # Using system-sqlite has a negative performance impact
+ # see https://bugs.gentoo.org/959120
+ use system-sqlite && export LIBSQLITE3_SYS_USE_PKG_CONFIG=1
+ local myfeatures=(
+ $(usev client)
+ $(usev daemon)
+ $(usev sync)
+ )
+ cargo_src_configure --no-default-features
+}
+
+src_compile() {
+ cargo_src_compile --bin ${PN}
+
+ if use server; then
+ cargo_src_compile --bin atuin-server
+ fi
+
+ ATUIN_BIN="$(cargo_target_dir)/${PN}"
+
+ # Prepare shell completion generation
+ mkdir completions || die
+ local shell
+ for shell in bash fish zsh; do
+ "${ATUIN_BIN}" gen-completions \
+ -s ${shell} \
+ -o completions \
+ || die
+ done
+
+ if ! use client; then
+ return 0
+ fi
+
+ mkdir shell-init || die
+ for shell in bash fish zsh; do
+ "${ATUIN_BIN}" init ${shell} > shell-init/${shell} || die
+ done
+}
+
+src_test() {
+ local postgres_dir="${T}"/postgres
+ initdb "${postgres_dir}" || die
+
+ local port=11123
+ # -h '' --> only socket connections allowed.
+ postgres -D "${postgres_dir}" \
+ -k "${postgres_dir}" \
+ -p "${port}" &
+ local postgres_pid=${!}
+
+ local timeout_secs=30
+ timeout "${timeout_secs}" bash -c \
+ 'until printf "" >/dev/tcp/${0}/${1} 2>> "${T}/portlog"; do sleep 1; done' \
+ localhost "${port}" || die "Timeout waiting for postgres port ${port} to become available"
+
+ psql -h localhost -p "${port}" -d postgres <<-EOF || die "Failed to configure postgres"
+ create database atuin;
+ create user atuin with encrypted password 'pass';
+ grant all privileges on database atuin to atuin;
+ \connect atuin
+ grant all on schema public to atuin;
+ EOF
+
+ # Subshell so that postgres_pid is in scope when the trap is executed.
+ (
+ cleanup() {
+ kill "${postgres_pid}" || die "failed to send SIGTERM to postgres"
+ }
+ trap cleanup EXIT
+
+ ATUIN_DB_URI="postgres://atuin:pass@localhost:${port}/atuin" cargo_src_test
+ )
+}
+
+src_install() {
+ dobin "${ATUIN_BIN}"
+
+ if use server; then
+ dobin "${ATUIN_BIN}-server"
+ systemd_dounit "${FILESDIR}/atuin.service"
+ fi
+
+ dodoc -r "${DOCS[@]}"
+
+ newbashcomp "completions/${PN}.bash" "${PN}"
+ dozshcomp "completions/_${PN}"
+ dofishcomp "completions/${PN}.fish"
+
+ if use daemon; then
+ systemd_douserunit "${FILESDIR}"/atuin-daemon.{service,socket}
+ fi
+
+ if ! use client; then
+ return 0
+ fi
+
+ insinto "/usr/share/${PN}"
+ doins -r shell-init
+
+ # The following readme text is only relevant if USE=client.
+ greadme_stdin <<-EOF
+ Gentoo installs atuin's shell-init code under
+ /usr/share/atuin/shell-init/
+ Therefore, instead of using, e.g., 'eval \"\$(atuin init zsh)\"' in
+ your .zshrc you can simply put \"source /usr/share/atuin/shell-init/zsh\"
+ there, which avoids the cost of forking a process.
+ EOF
+}
diff --git a/app-shells/fish/fish-4.6.0.ebuild b/app-shells/fish/fish-4.6.0.ebuild
index bf7470378a5b..d6229601dc99 100644
--- a/app-shells/fish/fish-4.6.0.ebuild
+++ b/app-shells/fish/fish-4.6.0.ebuild
@@ -33,7 +33,7 @@ else
https://github.com/gentoo-crate-dist/fish-shell/releases/download/${MY_PV}/fish-shell-${MY_PV}-crates.tar.xz
${CARGO_CRATE_URIS}
"
- KEYWORDS="~amd64 ~arm64 ~loong ~ppc64 ~riscv ~x64-macos"
+ KEYWORDS="~amd64 ~arm64 ~loong ppc64 ~riscv ~x64-macos"
fi
S="${WORKDIR}/${MY_P}"
diff --git a/app-shells/posh/Manifest b/app-shells/posh/Manifest
index 2fddd9b730d8..1ffe53879a1e 100644
--- a/app-shells/posh/Manifest
+++ b/app-shells/posh/Manifest
@@ -1 +1,2 @@
DIST posh-debian-0.14.3.tar.bz2 213735 BLAKE2B 70bbf21d80d9074ee48841d18d15f30d30c5cc7169c862eac873602f967cea1b43af61005c410b0269b1e8368203bd2afbe2a36e2435733e83f0445edd4be07c SHA512 0746463210c6b0c4ccd78285e05183551f08d9572725ce82bab9e2553c4b221c27635cc369d1bbfd3ff8bf4da04f571f76bee61eeca4250c32391f96fbe3967e
+DIST posh-debian-0.14.5.tar.bz2 214083 BLAKE2B 94e2efc4d972784662d36aef4aff824af5fc0631510f8869cf1b94d998faddc483837480e9583c053002e3f38db102b22939b692fb7deb147c8e2f5ba15a1e56 SHA512 b9a6b3d990dba07580e7a766d9b2e7dc9555a1b86bd9a29640afac32ec08f82adff7073d758721f2394f372f4ed800cb64ccf37ce4c6b87af11bf0b929238a59
diff --git a/app-shells/posh/posh-0.14.5.ebuild b/app-shells/posh/posh-0.14.5.ebuild
new file mode 100644
index 000000000000..513c1e7fb0e8
--- /dev/null
+++ b/app-shells/posh/posh-0.14.5.ebuild
@@ -0,0 +1,29 @@
+# Copyright 1999-2026 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit autotools
+
+MY_P=posh-debian-${PV}
+DESCRIPTION="Reimplementation of Bourne shell based on pdksh"
+HOMEPAGE="https://salsa.debian.org/clint/posh"
+SRC_URI="
+ https://salsa.debian.org/clint/posh/-/archive/debian/${PV}/${MY_P}.tar.bz2"
+S=${WORKDIR}/${MY_P}
+
+LICENSE="GPL-2+ BSD public-domain"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~x86"
+
+src_prepare() {
+ default
+ eautoreconf
+}
+
+src_configure() {
+ local myconf=(
+ --exec-prefix="${EPREFIX:-/}"
+ )
+ econf "${myconf[@]}"
+}