diff options
author | Cullum Smith <cullum@sacredheartsc.com> | 2024-11-08 19:09:57 -0500 |
---|---|---|
committer | Cullum Smith <cullum@sacredheartsc.com> | 2024-11-08 19:09:57 -0500 |
commit | 8aea85b97b044bf4f1d9c77f8cee74dee9e66eee (patch) | |
tree | 22d19db21ba10a0a603129d5ea85e1a64f41eeae /scripts | |
parent | 326caed19786670770e856fb48939069ea671050 (diff) | |
download | infrastructure-8aea85b97b044bf4f1d9c77f8cee74dee9e66eee.tar.gz |
thunderbird, dino
Diffstat (limited to 'scripts')
-rw-r--r-- | scripts/hostclass/desktop | 9 | ||||
-rw-r--r-- | scripts/hostclass/pkg_repository | 10 |
2 files changed, 14 insertions, 5 deletions
diff --git a/scripts/hostclass/desktop b/scripts/hostclass/desktop index 4f6e31f..79b40f2 100644 --- a/scripts/hostclass/desktop +++ b/scripts/hostclass/desktop @@ -101,6 +101,11 @@ case $desktop_type in /usr/local/etc/xdg/plasma-workspace/shutdown install_file -m 0555 /usr/local/etc/xdg/plasma-workspace/shutdown/cleanup.sh + # Disable baloo file search. + # Don't know anyone that uses it, and litters $HOME with .nfs files whenever + # any file is deleted. + install_file -m 0644 /usr/local/etc/xdg/baloofilerc + # Disable user switching # Broken with consolekit: https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=221452 # VT switch causes loss of graphics acceleration: https://github.com/freebsd/drm-kmod/issues/175 @@ -128,6 +133,10 @@ set_loader_conf \ install_directory -m 0755 /usr/local/lib/firefox/distribution install_template -m 0644 /usr/local/lib/firefox/distribution/policies.json +# Create policy file for thunderbird. +install_directory -m 0755 /usr/local/lib/thunderbird/distribution +install_template -m 0644 /usr/local/lib/thunderbird/distribution/policies.json + # Create policy file for chromium. install_directory -m 0755 \ /usr/local/etc/chromium/policies \ diff --git a/scripts/hostclass/pkg_repository b/scripts/hostclass/pkg_repository index 86e6b2c..800faae 100644 --- a/scripts/hostclass/pkg_repository +++ b/scripts/hostclass/pkg_repository @@ -5,7 +5,7 @@ : ${poudriere_dataset:="${state_dataset:-zroot}"} : ${poudriere_make_jobs_number:='8'} : ${poudriere_priority_boost:='gcc* llvm* rust'} -: ${poudriere_allow_make_jobs_packages:='ImageMagick* bitwarden-cli cargo-c *chromium* cmake cmake-core eclipse electron* ffmpeg firefox gcc* gnutls gtk3* icu libreoffice* llvm* mongodb* mysql*-client mysql*-server node* openjdk* openssl pkg qt*-webengine rust webkit* vaultwarden'} +: ${poudriere_allow_make_jobs_packages:='ImageMagick* bitwarden-cli cargo-c *chromium* cmake cmake-core eclipse electron* ffmpeg firefox thunderbird gcc* gnutls gtk3* icu libreoffice* llvm* mongodb* mysql*-client mysql*-server node* openjdk* openssl pkg qt*-webengine rust webkit* vaultwarden'} : ${poudriere_ccache_size:='50.0G'} : ${poudriere_default_versions:='imagemagick=7-nox11'} @@ -63,14 +63,14 @@ service nginx restart [ -d "${poudriere_data_dir}/ports/latest" ] || poudriere ports -c -v -p latest git -C "${poudriere_data_dir}/ports/latest" restore :/ git -C "${poudriere_data_dir}/ports/latest" clean -f -poudriere ports -v -u -p latest +[ "${poudriere_update:-}" = true ] && poudriere ports -v -u -p latest # Apply custom patches. install_directory -m 0755 "$poudriere_patch_dir" rm -f "${poudriere_patch_dir}/"*.patch -install_file -m 0644 \ - "${poudriere_patch_dir}/postgresql16-gssapi.patch" \ - "${poudriere_patch_dir}/chromium-gssapi.patch" +for patch in $poudriere_patches; do + install_file -m 0644 "${poudriere_patch_dir}/${patch}.patch" +done for patch in "${poudriere_patch_dir}/"*.patch; do [ -f "$patch" ] || continue |