596 Commits

Author SHA1 Message Date
robert
e32e92695d add support for fido(4) devices; work done by Greg Steuck 2020-01-06 16:05:06 +00:00
robert
aaf84d49b7 unbreak chrome://system by not trying to get the amount of used file
descriptors through the metrics code so that a pledge violation is
avoided if the sandbox is enabled (which is the default)
2020-01-04 14:49:15 +00:00
robert
ba3a5b9cf8 update to 79.0.3945.88 2019-12-18 09:01:35 +00:00
ajacoutot
469fd83bb6 Missed bump on electron.
WANTLIB += iconv lzma
2019-12-16 08:03:02 +00:00
robert
f15879b8c4 merge upstream commit d3a31888bd978cb1f6da614fa25f668d2cc360b8 which
allows us to disable MIT-SHM extension for certain environments and
because pledge(2) does not allow shmget(2) for now we completely
disable this by default
2019-12-15 13:55:34 +00:00
robert
c416b99ec2 use KERN_SHMINFO_SHMMAX to get the value of shmmax because IPC_INFO cmd for
shmctl(2) is not available on OpenBSD
2019-12-15 13:36:30 +00:00
robert
ddc1f82af7 update to 79.0.3945.79 2019-12-15 12:03:46 +00:00
robert
eb1b8d5e75 update to 78.0.3904.106 2019-11-20 18:26:30 +00:00
robert
3e562e7c73 update to 78.0.3904.97 2019-11-07 10:47:40 +00:00
robert
a92ade3b7a merge upstream commit to silence missing font warnings:
commit 2b580e805103141bb1d9da1e120db17911a14c49
Author: Dominik R_ttsches <drott@chromium.org>
Date:   Mon Sep 30 19:42:18 2019 +0000

    Remove noisy error log for failing to find font fallback
2019-11-06 10:24:55 +00:00
robert
8a23431bd4 update to 78.0.3904.87 2019-11-05 22:30:26 +00:00
sthen
0d17ce787e oops, unbreak - I put the FLAVOR:Melectron REVISION block too high 2019-10-24 12:51:41 +00:00
sthen
1c2e47fa80 bump REVISION for electron, WANTLIB was changed (lost uuid). 2019-10-24 10:12:26 +00:00
robert
534c234048 update to 77.0.3865.120 and make sure to use HW_NCPUONLINE instead of HW_NCPU 2019-10-22 18:35:43 +00:00
kurt
2234651edd swiftshader is x86 only. Add PFRAG for electron too.
okay naddy@ robert@
2019-10-08 18:41:26 +00:00
robert
cb14d32e52 the network process needs a unix pledge for inter process communication
as well
2019-10-06 14:06:10 +00:00
robert
8757fef61e make sure that we support the /etc/chromium/policies directory by actually
enabling the code and disable the usage of the internal fontconfig which
was periodically reloaded causing fontconfig related pledge violations
2019-10-06 11:03:15 +00:00
robert
a3ca5544b5 fixup component flavor's plist 2019-10-05 18:55:13 +00:00
robert
a3d2be3bb8 allow the audio process to create the sndio cookie 2019-10-02 13:41:06 +00:00
robert
3bce765509 remove the id pledge from the renderer process and disable the code in
chromium that changes the process priority on the fly because as per POSIX,
lowering the priorities can only be done by the superuser anyway
2019-09-28 16:29:39 +00:00
robert
3730c1a1eb for now add a missing id pledge for the renderer process to be able to call
getpriority() and setpriority()
2019-09-27 14:06:26 +00:00
sthen
0c5cfb2cdb add .zip to the ELECTRON_ARCH string which is only used to substitute in
PLISTs (electron/releases/electron-v6.0.3-openbsd-${ELECTRON_ARCH} etc),
this will prevent share/icons/hicolor/64x64 from being accidentally written
as share/icons/hicolor/64${ELECTRON_ARCH}. looks ok to robert@
2019-09-26 11:59:20 +00:00
sthen
2dd5632202 fix bad subst; share/icons/hicolor/64${ELECTRON_ARCH}/apps/chrome.png 2019-09-25 20:22:23 +00:00
robert
9a86aa1165 fixup patches where WRKSRC was substituted 2019-09-24 14:11:07 +00:00
robert
6b66115307 update to 77.0.3865.90;
This update enables two new process types, the network and audio processes
which are also pledge'd and unveil'd.
These processes come with their own pledge and unveil config files for
the time being so that we can shrink or extend their rights as needed.
2019-09-23 07:18:03 +00:00
robert
c4355ac29b rename the electorn distfile to include the chromium version as well 2019-08-28 18:34:56 +00:00
robert
4d5f3e47a8 update to 76.0.3809.132 and regen electron tarball to reflect the change 2019-08-27 19:59:38 +00:00
robert
134d765dd8 fix packaging by not hardcoding the architecture of the machine in the plist 2019-08-27 15:30:09 +00:00
robert
d97f3d049b add build dependency on libnotify 2019-08-24 15:39:26 +00:00
robert
9b6a71ca96 unbreak build by not searching for libcares with pkg-config 2019-08-24 11:36:32 +00:00
robert
19472e2779 unbreak by not calling kvm becuase pledge does not allow it 2019-08-24 11:22:17 +00:00
espie
9106a5a36d fix sqlports 2019-08-24 07:56:34 +00:00
robert
125fa6a740 add an electronjs (https://electronjs.org/) port;
the electronjs port is going to live inside the chromium port,
as a separate flavor, which is called electron (obviously)
because it requires all of our chromium patches as well and
this way we can avoid having to maintain another subdirectory
with hundreds of patches; this is mostly unconventional but
for me this is the best solution (maintainence-wise)

a couple of patches for the actual electron source are shamelessly
stolen from freebsd

this commit also adds a --no-sandbox flag because electron
cannot use unveil and pledge just yet, i will work on that
in the future

basic stuff works, but don't expect anything fancy yet

--

initial versoin of electron-6.0.3:
Build cross platform desktop apps with JavaScript, HTML, and CSS.

It's easier than you think.

If you can build a website, you can build a desktop app. Electron is a
framework for creating native applications with web technologies like
JavaScript, HTML, and CSS. It takes care of the hard parts so you can
focus on the core of your application.
2019-08-22 19:20:03 +00:00
robert
dd666787ee update to 76.0.3809.100 2019-08-10 16:34:22 +00:00
sthen
7fb36c0ebb get rid of "parallel" in DPB_PROPERTIES on i386, just keep the "lonesome" 2019-08-05 10:09:50 +00:00
robert
cca38e7d78 update to 76.0.3809.87 2019-08-01 08:31:59 +00:00
ratchov
e348b4a4d1 Fix confusion in time units breaking audio/video synchronization.
ok robert
2019-07-28 08:45:00 +00:00
ratchov
fb394ba1d1 Fix audio-video synchronisation bug revealed by last commit.
A/V synchronization was caused by confusion between bytes and samples
in the hardware delay calculation. Bug reported and fix tested by
Tobias Kortkamp and robert@, thanks.

ok robert@
2019-07-27 23:59:51 +00:00
robert
e68ac3a485 remove whitespace after revision number 2019-07-26 07:53:20 +00:00
robert
4a42641e81 disable the network change notifier because it seems to be broken,
so this way the browser will report an online status all the time
and web applications checking the status will work again until the
actual issue with the notifier is fixed
2019-07-25 12:07:26 +00:00
robert
888d0f1b0e update to 75.0.3770.142 2019-07-16 16:59:25 +00:00
robert
ccbbe9b462 install vulkan libraries as well 2019-07-14 08:08:46 +00:00
naddy
7ab397505a Switch to PERMIT_PACKAGE. CDROM restrictions are no longer applicable. 2019-07-14 00:39:34 +00:00
robert
06b66a2707 unbreak on arm64 2019-06-30 18:46:23 +00:00
robert
502cdd1ebd unbreak video(4) support by using the proper type for ioctl(2)'s request
argument and add the necessary pledge to the main process and unveil /dev/video
2019-06-26 17:22:41 +00:00
ratchov
a82a036f93 Add support for audio recording using sndio.
ok and (a lot) of help from robert.
2019-06-26 14:14:26 +00:00
sthen
6ff3e55398 bump REVISION in a bunch of ports known or likely to use struct kinfo_proc,
there may be some missing as my unpacked ports source is a little out of date
but this should catch the main things people might run into

the struct was reordered a second time in sysctl.h r1.192 to improve
compatibility but amd64 snapshot packages made it out before that happened
so the bumps are still needed
2019-06-25 20:25:20 +00:00
robert
43a920ffbe update to 75.0.3770.100 2019-06-19 17:24:20 +00:00
robert
e61bc3706e update to 75.0.3770.90 2019-06-14 10:08:28 +00:00
sthen
a2416401e5 sync WANTLIB 2019-06-13 17:07:04 +00:00