Re: [PATCH] Add /dev/fido unveil to enable FIDO support in firefox

2020-03-16 Thread Landry Breuil
On Mon, Mar 16, 2020 at 07:50:14AM +0100, Theo Buehler wrote:
> On Sat, Mar 14, 2020 at 11:04:21AM -0700, Greg Steuck wrote:
> > All reyk@'s changes are now merged upstream so this is the only patch
> > that remains.
> 
> Appears to work flawlessly for me.
> 
> ok tb

if it works for you i've fine with it, i have no way to test it.



Re: [PATCH] Add /dev/fido unveil to enable FIDO support in firefox

2020-03-15 Thread Theo Buehler
On Sat, Mar 14, 2020 at 11:04:21AM -0700, Greg Steuck wrote:
> All reyk@'s changes are now merged upstream so this is the only patch
> that remains.

Appears to work flawlessly for me.

ok tb

> 
> Tested post-install by adding the same line to
> /usr/local/lib/firefox/browser/defaults/preferences/unveil.main
> ---
>  www/mozilla-firefox/Makefile  | 1 +
>  www/mozilla-firefox/files/unveil.main | 1 +
>  2 files changed, 2 insertions(+)
> 
> diff --git www/mozilla-firefox/Makefile www/mozilla-firefox/Makefile
> index 7dd69366e81..a1ed2693209 100644
> --- www/mozilla-firefox/Makefile
> +++ www/mozilla-firefox/Makefile
> @@ -9,6 +9,7 @@ MOZILLA_VERSION = 74.0
>  MOZILLA_BRANCH = release
>  MOZILLA_PROJECT = firefox
>  MOZILLA_CODENAME = browser
> +REVISION = 0
> 
>  WRKDIST = ${WRKDIR}/${MOZILLA_DIST}-${MOZILLA_DIST_VERSION:C/b[0-9]*//}
>  HOMEPAGE = https://www.mozilla.org/firefox/
> diff --git www/mozilla-firefox/files/unveil.main
> www/mozilla-firefox/files/unveil.main
> index 00e78a6d2ea..30dacd79996 100644
> --- www/mozilla-firefox/files/unveil.main
> +++ www/mozilla-firefox/files/unveil.main
> @@ -2,6 +2,7 @@
>  /dev/urandom r
>  /dev/video rw
>  /dev/video0 rw
> +/dev/fido rw
> 
>  /etc/fonts r
>  /etc/machine-id r
> -- 
> 2.25.1



[PATCH] Add /dev/fido unveil to enable FIDO support in firefox

2020-03-14 Thread Greg Steuck
All reyk@'s changes are now merged upstream so this is the only patch
that remains.

Tested post-install by adding the same line to
/usr/local/lib/firefox/browser/defaults/preferences/unveil.main
---
 www/mozilla-firefox/Makefile  | 1 +
 www/mozilla-firefox/files/unveil.main | 1 +
 2 files changed, 2 insertions(+)

diff --git www/mozilla-firefox/Makefile www/mozilla-firefox/Makefile
index 7dd69366e81..a1ed2693209 100644
--- www/mozilla-firefox/Makefile
+++ www/mozilla-firefox/Makefile
@@ -9,6 +9,7 @@ MOZILLA_VERSION = 74.0
 MOZILLA_BRANCH = release
 MOZILLA_PROJECT = firefox
 MOZILLA_CODENAME = browser
+REVISION = 0

 WRKDIST = ${WRKDIR}/${MOZILLA_DIST}-${MOZILLA_DIST_VERSION:C/b[0-9]*//}
 HOMEPAGE = https://www.mozilla.org/firefox/
diff --git www/mozilla-firefox/files/unveil.main
www/mozilla-firefox/files/unveil.main
index 00e78a6d2ea..30dacd79996 100644
--- www/mozilla-firefox/files/unveil.main
+++ www/mozilla-firefox/files/unveil.main
@@ -2,6 +2,7 @@
 /dev/urandom r
 /dev/video rw
 /dev/video0 rw
+/dev/fido rw

 /etc/fonts r
 /etc/machine-id r
-- 
2.25.1