From 8aea85b97b044bf4f1d9c77f8cee74dee9e66eee Mon Sep 17 00:00:00 2001 From: Cullum Smith Date: Fri, 8 Nov 2024 19:09:57 -0500 Subject: thunderbird, dino --- files/usr/local/etc/nginx/vhosts.conf.dav_server | 9 +++ .../local/etc/poudriere.d/make.conf.pkg_repository | 2 +- ...lugins-good-fix-v4l-einval.patch.pkg_repository | 20 ++++++ .../local/etc/poudriere.d/pkglist.pkg_repository | 4 ++ files/usr/local/etc/xdg/baloofilerc.desktop | 2 + files/usr/local/etc/xdg/baloofilerc.laptop | 1 + .../local/etc/xdg/baloofilerc.roadwarrior_laptop | 1 + .../thunderbird/distribution/policies.json.desktop | 77 ++++++++++++++++++++++ 8 files changed, 115 insertions(+), 1 deletion(-) create mode 100644 files/usr/local/etc/poudriere.d/patches/gstreamer1-plugins-good-fix-v4l-einval.patch.pkg_repository create mode 100644 files/usr/local/etc/xdg/baloofilerc.desktop create mode 120000 files/usr/local/etc/xdg/baloofilerc.laptop create mode 120000 files/usr/local/etc/xdg/baloofilerc.roadwarrior_laptop create mode 100644 files/usr/local/lib/thunderbird/distribution/policies.json.desktop (limited to 'files/usr/local') diff --git a/files/usr/local/etc/nginx/vhosts.conf.dav_server b/files/usr/local/etc/nginx/vhosts.conf.dav_server index 71bbc71..0c6e817 100644 --- a/files/usr/local/etc/nginx/vhosts.conf.dav_server +++ b/files/usr/local/etc/nginx/vhosts.conf.dav_server @@ -17,6 +17,7 @@ server { location / { auth_gss on; satisfy any; + auth_request /authenticate; $(printf ' deny %s;\n' $kerberized_cidrs) allow all; try_files \$uri \$uri/ /caldav.php\$uri?\$query_string; @@ -26,6 +27,13 @@ $(printf ' deny %s;\n' $kerberized_cidrs) try_files \$uri \$uri/ /caldav.php\$uri?\$query_string; } + location /authenticate { + if (\$http_user_agent ~ 'Thunderbird') { + return 200; + } + return 403; + } + location ~ ^/caldav\.php/\.well-known/ { fastcgi_split_path_info ^(.+?\.php)(/.*)$; if (!-f \$document_root\$fastcgi_script_name) { @@ -40,6 +48,7 @@ $(printf ' deny %s;\n' $kerberized_cidrs) location ~ [^/]\.php(/|$) { auth_gss on; satisfy any; + auth_request /authenticate; $(printf ' deny %s;\n' $kerberized_cidrs) allow all; diff --git a/files/usr/local/etc/poudriere.d/make.conf.pkg_repository b/files/usr/local/etc/poudriere.d/make.conf.pkg_repository index a4677f4..a5ff5ef 100644 --- a/files/usr/local/etc/poudriere.d/make.conf.pkg_repository +++ b/files/usr/local/etc/poudriere.d/make.conf.pkg_repository @@ -43,6 +43,7 @@ mail_mutt_UNSET=HTML mail_postfix_SET=LDAP SASL SASLKRB5 mail_rspamd_SET=HYPERSCAN misc_kdeutils_UNSET=KFLOPPY KTEATIME +mail_thunderbird_UNSET=PROFILE multimedia_audacious-plugins_SET=LAME SNDIO multimedia_audacious-plugins_UNSET=OSS multimedia_ffmpeg_SET=OPENSSL @@ -53,7 +54,6 @@ multimedia_qt5-multimedia_SET=PULSEAUDIO ALSA multimedia_qt6-multimedia_SET=PULSEAUDIO ALSA multimedia_vlc_SET=FLAC MPEG2 X264 X265 VPX DCA FAAD AOM multimedia_webcamd_UNSET=DVB INPUT RADIO -net-im_dino_UNSET=RTP net-im_py-matrix-synapse_SET=PGSQL URLPREVIEW LDAP net-mgmt_monitoring-plugins_SET=LDAP SSH_PORTABLE PGSQL RADIUS DNS_BINDTOOLS net-mgmt_monitoring-plugins_UNSET=DNS_BASE diff --git a/files/usr/local/etc/poudriere.d/patches/gstreamer1-plugins-good-fix-v4l-einval.patch.pkg_repository b/files/usr/local/etc/poudriere.d/patches/gstreamer1-plugins-good-fix-v4l-einval.patch.pkg_repository new file mode 100644 index 0000000..503a95d --- /dev/null +++ b/files/usr/local/etc/poudriere.d/patches/gstreamer1-plugins-good-fix-v4l-einval.patch.pkg_repository @@ -0,0 +1,20 @@ +--- multimedia/gstreamer1-plugins-good/files/patch-sys_v4l2_gstv4l2object.c 2024-11-08 16:46:07.003565000 -0500 ++++ multimedia/gstreamer1-plugins-good/files/patch-sys_v4l2_gstv4l2object.c 2024-11-08 16:46:11.030787000 -0500 +@@ -1,6 +1,15 @@ +---- sys/v4l2/gstv4l2object.c.orig 2024-09-19 10:01:21 UTC ++--- sys/v4l2/gstv4l2object.c.orig 2024-11-08 18:59:59 UTC + +++ sys/v4l2/gstv4l2object.c +-@@ -5078,7 +5078,9 @@ gst_v4l2_object_probe_caps (GstV4l2Object * v4l2object ++@@ -3159,7 +3159,7 @@ gst_v4l2_object_is_dmabuf_supported (GstV4l2Object * v ++ ++ /* Expected to fail, but ENOTTY tells us that it is not implemented. */ ++ v4l2object->ioctl (v4l2object->video_fd, VIDIOC_EXPBUF, &expbuf); ++- if (errno == ENOTTY) +++ if (errno == ENOTTY || errno == EINVAL) ++ ret = FALSE; ++ ++ return ret; ++@@ -4886,7 +4886,9 @@ gst_v4l2_object_probe_caps (GstV4l2Object * v4l2object + if (v4l2object->ioctl (v4l2object->video_fd, VIDIOC_CROPCAP, &cropcap) < 0) { + + switch (errno) { diff --git a/files/usr/local/etc/poudriere.d/pkglist.pkg_repository b/files/usr/local/etc/poudriere.d/pkglist.pkg_repository index 248de82..ff700f3 100644 --- a/files/usr/local/etc/poudriere.d/pkglist.pkg_repository +++ b/files/usr/local/etc/poudriere.d/pkglist.pkg_repository @@ -4,6 +4,7 @@ archivers/php${php_version}-zip archivers/unzip archivers/zip audio/elisa +audio/freedesktop-sound-theme audio/gsound audio/kid3@kf5 audio/kmix @@ -18,6 +19,7 @@ databases/php${php_version}-pgsql databases/postgresql${postgresql_version}-client databases/postgresql${postgresql_version}-server databases/redis +deskutils/merkuro deskutils/py-vdirsyncer devel/android-tools devel/ccache @@ -62,6 +64,7 @@ mail/mutt mail/postfix mail/rspamd mail/sieve-connect +mail/thunderbird misc/php${php_version}-calendar multimedia/audacious-plugins@qt5 multimedia/audacious@qt5 @@ -73,6 +76,7 @@ multimedia/v4l-utils multimedia/v4l_compat multimedia/vdpauinfo multimedia/webcamd +net-im/dino net-im/farstream net-im/gajim net-im/prosody diff --git a/files/usr/local/etc/xdg/baloofilerc.desktop b/files/usr/local/etc/xdg/baloofilerc.desktop new file mode 100644 index 0000000..1735f7a --- /dev/null +++ b/files/usr/local/etc/xdg/baloofilerc.desktop @@ -0,0 +1,2 @@ +[Basic Settings] +Indexing-Enabled=false diff --git a/files/usr/local/etc/xdg/baloofilerc.laptop b/files/usr/local/etc/xdg/baloofilerc.laptop new file mode 120000 index 0000000..25d132b --- /dev/null +++ b/files/usr/local/etc/xdg/baloofilerc.laptop @@ -0,0 +1 @@ +baloofilerc.desktop \ No newline at end of file diff --git a/files/usr/local/etc/xdg/baloofilerc.roadwarrior_laptop b/files/usr/local/etc/xdg/baloofilerc.roadwarrior_laptop new file mode 120000 index 0000000..25d132b --- /dev/null +++ b/files/usr/local/etc/xdg/baloofilerc.roadwarrior_laptop @@ -0,0 +1 @@ +baloofilerc.desktop \ No newline at end of file diff --git a/files/usr/local/lib/thunderbird/distribution/policies.json.desktop b/files/usr/local/lib/thunderbird/distribution/policies.json.desktop new file mode 100644 index 0000000..517f04d --- /dev/null +++ b/files/usr/local/lib/thunderbird/distribution/policies.json.desktop @@ -0,0 +1,77 @@ +{ + "policies": { + "Cookies": { + "AcceptThirdParty": "never", + "RejectTracker": true + }, + "Authentication": { + "SPNEGO": ["${domain}"], + "AllowNonFQDN": { + "SPNEGO": true + }, + "AllowProxies": { + "SPNEGO": true + } + }, + "AppAutoUpdate": false, + "DisableAppUpdate": true, + "CaptivePortal": false, + "Certificates": { + "Install": [ + "${site_cacert_path}" + ] + }, + "DisableTelemetry": true, + "DNSOverHTTPS": { + "Enabled": false + }, + "ExtensionUpdate": true, + "Preferences": { + "dom.security.https_only_mode": { + "Value": true, + "Status": "locked" + }, + "dom.push.connection.enabled": { + "Value": false, + "Status": "default" + }, + "privacy.trackingprotection.socialtracking.enabled": { + "Value": false, + "Status": "locked" + }, + "browser.safebrowsing.malware.enabled": { + "Value": false, + "Status": "locked" + }, + "browser.safebrowsing.phishing.enabled": { + "Value": false, + "Status": "locked" + }, + "browser.safebrowsing.downloads.enabled": { + "Value": false, + "Status": "locked" + }, + "mail.shell.checkDefaultClient": { + "Value": false, + "Status": "locked" + }, + "mail.phishing.detection.enabled": { + "Value": false, + "Status": "locked" + }, + "font.size.variable.x-unicode": { + "Value": 13, + "Status": "default" + }, + "font.size.variable.x-western": { + "Value": 13, + "Status": "default" + }, + "mail.uifontsize": { + "Value": 13, + "Status": "default" + } + } + } +} + -- cgit v1.2.3