mirror of
https://github.com/gentoo-mirror/guru.git
synced 2026-07-10 07:33:19 -04:00
www-client/zen-bin: security bump, drop vulnerable
release notes: https://github.com/zen-browser/desktop/releases/tag/1.12.6b firefox advisory: https://www.mozilla.org/en-US/security/advisories/mfsa2025-36/ Signed-off-by: Joe Kappus <joe@wt.gd>
This commit is contained in:
@@ -1,2 +1 @@
|
||||
DIST zen-bin-1.12.1b.tar.xz 78223572 BLAKE2B d54e5093847f087804bd614ace121b7b2735310e5c65f249f4c093c88c984cf57558b9b314a4eaf2ad97f4b25bdd21f77829dd90f44ae67999a2c16f61d2cceb SHA512 98f9f942d4ceb7cfdf0a196f78da31cf615b448b3e284fef04f3ba7c7bb25692daa0a5c4072dad736e75bb683a03e849a28334728b7fc2fe73eaa8524b599f93
|
||||
DIST zen-bin-1.12.5b.tar.xz 78253364 BLAKE2B a9403c39068128d8bb069b1f6d2bd273956fa37e7d8b58081a45ba32f5cfa24e50ac13e7f9f46a832b4295bbfc075adcae2f7686c11e60e41ebfdbc212058375 SHA512 6557e81455689578f7501c32c7ff31e81fcb9a5355ab5b4fd71021dc6496a077bf9a0745efddb7c4cf7b50d078d7408b8acca161c11b97c4392d1c46db0c9ed2
|
||||
DIST zen-bin-1.12.6b.tar.xz 78237316 BLAKE2B 3715a3cee78885ac9f32518dcf66f3e4daea3bce11bf62a9c0a62cd5653b350abbcc5acafd1a775392b646ff4ee663527c7cc124dfd9b67ce90cea4802619f88 SHA512 28bff03727521232f7dc6a80d5f185fbc5fad49d91bf7b8dd1f1ead24c8f038d053660b7bc1bae7a77c41e248753cbbdcae4077564b51ad15068d72d622d07c1
|
||||
|
||||
@@ -1,89 +0,0 @@
|
||||
# Copyright 1999-2025 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
inherit xdg-utils desktop
|
||||
|
||||
MY_P="zen"
|
||||
|
||||
DESCRIPTION="Zen Browser - A Firefox-based browser focused on privacy"
|
||||
HOMEPAGE="https://github.com/zen-browser/desktop"
|
||||
SRC_URI="https://github.com/zen-browser/desktop/releases/download/${PV}/${MY_P}.linux-x86_64.tar.xz -> ${P}.tar.xz"
|
||||
|
||||
S="${WORKDIR}"
|
||||
LICENSE="MPL-2.0"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64"
|
||||
|
||||
RDEPEND="
|
||||
app-accessibility/at-spi2-core:2
|
||||
dev-libs/expat
|
||||
dev-libs/glib:2
|
||||
dev-libs/nspr
|
||||
dev-libs/nss
|
||||
media-libs/alsa-lib
|
||||
media-libs/fontconfig
|
||||
media-libs/freetype
|
||||
media-libs/mesa
|
||||
net-print/cups
|
||||
sys-apps/dbus
|
||||
sys-libs/glibc
|
||||
x11-libs/cairo
|
||||
x11-libs/gdk-pixbuf:2
|
||||
x11-libs/gtk+:3
|
||||
x11-libs/libX11
|
||||
x11-libs/libxcb
|
||||
x11-libs/libXcomposite
|
||||
x11-libs/libXcursor
|
||||
x11-libs/libXdamage
|
||||
x11-libs/libXext
|
||||
x11-libs/libXfixes
|
||||
x11-libs/libXi
|
||||
x11-libs/libXrandr
|
||||
x11-libs/libXrender
|
||||
x11-libs/libXtst
|
||||
x11-libs/pango
|
||||
"
|
||||
|
||||
DEPEND="${RDEPEND}"
|
||||
|
||||
QA_PREBUILT="opt/zen/*"
|
||||
|
||||
src_install() {
|
||||
#create dest dir
|
||||
local destdir="/opt/zen"
|
||||
dodir "${destdir}"
|
||||
#copy files into dest dir
|
||||
cp -a "${S}/zen"/* "${ED}${destdir}" || die
|
||||
#create a symlink to the binary
|
||||
dosym "${destdir}/zen-bin" "/usr/bin/zen-bin" || die
|
||||
#add icons
|
||||
local icon_dir="${ED}${destdir}/browser/chrome/icons/default"
|
||||
if [[ -d "${icon_dir}" ]]; then
|
||||
for size in 16 32 48 64 128; do
|
||||
if [[ -f "${icon_dir}/default${size}.png" ]]; then
|
||||
newicon -s ${size} "${icon_dir}/default${size}.png" zen.png
|
||||
fi
|
||||
done
|
||||
else
|
||||
ewarn "Icon directory not found, skipping icon installation"
|
||||
fi
|
||||
#create desktop file
|
||||
make_desktop_entry zen-bin "Zen" zen "Network;WebBrowser"
|
||||
#handle permissions of destdir files
|
||||
fperms 0755 "${destdir}"/{zen-bin,updater,glxtest,vaapitest}
|
||||
fperms 0750 "${destdir}"/pingsender
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
xdg_icon_cache_update
|
||||
xdg_desktop_database_update
|
||||
elog "For optimal performance and compatibility, please ensure"
|
||||
elog "that you have the latest graphics drivers installed."
|
||||
}
|
||||
|
||||
pkg_postrm() {
|
||||
xdg_icon_cache_update
|
||||
xdg_desktop_database_update
|
||||
}
|
||||
Reference in New Issue
Block a user