gentoo-color-bash
MEDIUM
maintainer ivanmara
1 votes
scanned 2026-10-19 17:26:05.698413
Why flagged
One or more source=() URLs point to a host outside the trusted allowlist (github.com, gitlab.com, codeberg.org, pypi.org, …).
Triggered rules
Medium
source=() URL on a non-standard host
source_untrusted_domain
One or more source=() URLs point to a host outside the trusted allowlist (github.com, gitlab.com, codeberg.org, pypi.org, …).
-
PKGBUILD:15
source=("gentoo-color-bash-${pkgver}::https://gitweb.gentoo.org/repo/gentoo.git/plain/app-shells/bash/files/bashrc.d/10-gentoo-color-r2.bash")
PKGBUILD
1 offending line(s) highlighted
1
# Maintainer: ivanmara
2
# Contributor: ivanmara
3
pkgname=gentoo-color-bash
4
pkgver=2026.10.19 # 2025-05-04 size: 2190
5
#_id=b39e66dce51adbe2ccef98dbd7e321c6c2e6b835
6
pkgrel=1
7
8
pkgdesc='Gentoo color terminal and bash command prompt. Looks very nice.'
9
arch=('any')
10
url='https://www.gentoo.org'
11
license=('GPL')
12
optdepends=('bash: Shell needed to make use of this package')
13
options=('!debug')
14
#source=("gentoo-color-bash-${pkgver}::https://gitweb.gentoo.org/repo/gentoo.git/plain/app-shells/bash/files/bashrc.d/10-gentoo-color-r2.bash?id=${_id}")
15
source=("gentoo-color-bash-${pkgver}::https://gitweb.gentoo.org/repo/gentoo.git/plain/app-shells/bash/files/bashrc.d/10-gentoo-color-r2.bash")
16
sha256sums=('189766ac49f48880ce2507971fc3d8e15449976042d938bf6c6ad77e73793958')
17
install=${pkgname}.install.sh
18
19
IFS= read -r -d '' _usage << 'EOF'
20
21
# USAGE:
22
# after install package, you can enable it in two steps
23
24
# step 1. system integration (run once, copy/paste block)
25
sudo cp -n /etc/skel/.bashrc{,.default.bak}
26
sudo cp -n /etc/bash.bashrc{,.default.bak}
27
sudo sed -i '/PS1.*/s/^#*/#/' /etc/skel/.bashrc /root/.bashrc > /dev/null 2>&1
28
echo '# --- my addons----------------------------' | sudo tee -a /etc/bash.bashrc
29
echo 'source /usr/share/gentoo-color-bash/10-gentoo-color.bash' | sudo tee -a /etc/bash.bashrc
30
31
# step 2. for every exist user after login run once (copy/paste block)
32
cp -n ~/.bashrc{,.default.bak}
33
sed -i '/PS1.*/s/^#*/#/' ~/.bashrc
34
35
# Now you can add (if needed) you own ~/.dir_colors or /etc/DIR_COLORS for perfect ls.
36
# See arch wiki or github for examples.
37
EOF
38
39
package() {
40
41
install -D -m=644 ${pkgname}-${pkgver} "${pkgdir}/usr/share/${pkgname}/10-gentoo-color.bash"
42
43
}
44
45
46
Changes since previous scan
--- PKGBUILD @ 2026-06-20 00:18+++ PKGBUILD @ 2026-10-19 17:26@@ -1,7 +1,7 @@ # Maintainer: ivanmara # Contributor: ivanmara pkgname=gentoo-color-bash-pkgver=2025.08.18 # 2025-05-04 size: 2190+pkgver=2026.10.19 # 2025-05-04 size: 2190 #_id=b39e66dce51adbe2ccef98dbd7e321c6c2e6b835 pkgrel=1 @@ -16,23 +16,25 @@ sha256sums=('189766ac49f48880ce2507971fc3d8e15449976042d938bf6c6ad77e73793958') install=${pkgname}.install.sh -_usage='- USAGE:- after install, you can enable it:- A. for local users:- add line:- source /usr/share/gentoo-color-bash/10-gentoo-color.bash- to users: ~/.bashrc and /etc/skel/.bashrc- B. for system globaly:- 1. in users: ~/.bashrc and /etc/skel/.bashrc remove\comment var PS1 or empty this files- 2. add line:- source /usr/share/gentoo-color-bash/10-gentoo-color.bash- to global: /etc/bash.bashrc- 3. relogin+IFS= read -r -d '' _usage << 'EOF' - Now you can add (if needed) you own ~/.dir_colors or /etc/DIR_COLORS for perfect ls.- See arch wiki or github for examples.-'+ # USAGE:+ # after install package, you can enable it in two steps++ # step 1. system integration (run once, copy/paste block)+ sudo cp -n /etc/skel/.bashrc{,.default.bak}+ sudo cp -n /etc/bash.bashrc{,.default.bak}+ sudo sed -i '/PS1.*/s/^#*/#/' /etc/skel/.bashrc /root/.bashrc > /dev/null 2>&1+ echo '# --- my addons----------------------------' | sudo tee -a /etc/bash.bashrc+ echo 'source /usr/share/gentoo-color-bash/10-gentoo-color.bash' | sudo tee -a /etc/bash.bashrc++ # step 2. for every exist user after login run once (copy/paste block)+ cp -n ~/.bashrc{,.default.bak}+ sed -i '/PS1.*/s/^#*/#/' ~/.bashrc++ # Now you can add (if needed) you own ~/.dir_colors or /etc/DIR_COLORS for perfect ls.+ # See arch wiki or github for examples.+EOF package() { Scan history
| Scanned at (UTC) | Severity | Rules |
|---|---|---|
| 2026-10-19 17:26:05 | Medium | 1 |
| 2026-06-20 00:18:46 | Medium | 1 |
| 2026-06-19 23:51:18 | Clean | 2 |
| 2026-06-19 19:07:35 | Low | 2 |
| 2026-06-18 16:11:54 | Medium | 1 |