398 Commits

Author SHA1 Message Date
ajacoutot
c15a1f56d2 Update to glib2-2.62.6. 2020-03-18 22:18:53 +00:00
ajacoutot
966a3c36ba Update to glib2-2.62.5. 2020-02-18 12:24:00 +00:00
ajacoutot
44cb2a0a6f SECURITY fix for CVE-2020-6750.
It was discovered that GLib's GSocketClient, since GLib 2.60, will
sporadically ignore its configured proxy settings and improperly
connect directly to the target server, bypassing the configured proxy
server: https://gitlab.gnome.org/GNOME/glib/issues/1989
2020-02-08 11:45:03 +00:00
ajacoutot
66569263ed Update to glib2-2.62.4. 2019-12-19 17:42:13 +00:00
ajacoutot
ae0ccdd86d Update to glib2-2.62.3. 2019-11-19 21:06:48 +00:00
ajacoutot
4f53553716 Add NOTE_REVOKE to the list of the monitoring events (from upstream). 2019-11-11 19:01:06 +00:00
ajacoutot
2194e025ef Set DEBUG_PACKAGES to BUILD_PACKAGES instead of the ugly dash. 2019-11-10 21:44:06 +00:00
ajacoutot
baf2cdfbef Merge the "gspawn: Optimize fd closing on AIX and BSDs" commit from
upstream so that we have time to test during the release cycle.
2019-11-10 19:01:49 +00:00
ajacoutot
55aa67ae00 Automatish all ze things!
/!\ requires latest ports/infrastructure/ and pkg_add code
2019-11-10 17:26:22 +00:00
ajacoutot
19b3d7a861 espie@ said it's not needed to list the .debug/ directories. 2019-11-10 13:33:28 +00:00
ajacoutot
ce3b694cec Don't hardcode LIBfoo_VERSION in the -debug pkg. 2019-11-10 13:07:16 +00:00
ajacoutot
0f3eaa274e Add debug-glib2. 2019-11-10 11:43:59 +00:00
ajacoutot
503e103de2 Don't ship with debug symbols anymore; there's a new opt-in facility to do
this now.
2019-11-09 17:27:39 +00:00
landry
07d25883c0 prevent 'vfprintf %s NULL in "%s: Resetting desktop app info dirs from %s
to %s"' msgs in syslog seen when starting some gtk apps.

extracted from bffe058550

ok ajacoutot@
2019-11-07 14:26:21 +00:00
ajacoutot
9e861df546 Merged upstream. 2019-11-05 18:21:59 +00:00
ajacoutot
35d9fdc772 Merge size_t check from upstream; no functional change intended. 2019-11-03 11:39:59 +00:00
ajacoutot
e717da9796 gtimezone: Cache UTC and local TZ indefinitely (from upstream). 2019-11-02 11:07:42 +00:00
ajacoutot
fc780a97ee Update to glib2-2.62.2. 2019-11-01 19:33:14 +00:00
ajacoutot
cd6f04e6b7 Update to glib2-2.60.7. 2019-09-03 07:32:34 +00:00
ajacoutot
531de12f8d Update to glib2-2.60.6. 2019-07-27 09:46:23 +00:00
ajacoutot
6a479e33b2 Merged upstream. 2019-07-19 10:08:12 +00:00
ajacoutot
15b005053f Add link to PR. 2019-07-14 17:26:48 +00:00
ajacoutot
e49cfb7988 Tweak comment a bit. 2019-07-14 16:58:25 +00:00
sthen
9fe1e38b23 replace simple PERMIT_PACKAGE_CDROM=Yes with PERMIT_PACKAGE=Yes 2019-07-12 20:43:27 +00:00
ajacoutot
765f6ede90 Update to glib2-2.60.5. 2019-07-09 13:26:51 +00:00
ajacoutot
4fd7158573 SECURITY update to glib2-2.60.4.
CVE-2019-12450: file_copy_fallback in gio/gfile.c does not properly restrict
file permissions while a copy operation is in progress. Instead, default
permissions are used.
2019-06-15 08:52:08 +00:00
ajacoutot
da18143f1a Update to glib2-2.60.3. 2019-05-22 21:01:18 +00:00
naddy
ebf751b927 Update gettext to 0.20.1.
Follow the upstream recommendations for packagers and switch to
multi-packages:
devel/gettext       -> devel/gettext,-runtime
devel/gettext-tools -> devel/gettext,-tools
(new)                  devel/gettext,-textstyle
2019-05-20 22:15:00 +00:00
robert
dfe82af9db remove the check for non-existent XDG directories as
they are going to be moved to gtk+3

ok ajacoutot@
2019-05-13 20:24:14 +00:00
jca
48f5813cb8 Tweak types detection, make gint64 and int64_t match on 64 bits base-gcc archs.
Fixes www/webkitgtk4 on sparc64.  Help and ok ajacoutot@
2019-05-12 22:03:53 +00:00
ajacoutot
e0ec8c8ffb Add link to merge requests. 2019-05-12 16:24:04 +00:00
ajacoutot
fc37276c79 Link to issue URL. 2019-05-12 04:04:12 +00:00
ajacoutot
284f938797 Update to glib2-2.60.2. 2019-05-03 16:31:36 +00:00
robert
a1bd036cbd re-introduce the patch which was removed by the previous update so that
XDG directories are actually checked if they exist before adding them to
the list which is important for programs using unveil(2).

ok ajacoutot@
2019-05-01 12:09:11 +00:00
ajacoutot
42b40502de Merged upstream. 2019-04-30 07:15:06 +00:00
sthen
d7f0752227 bump all the py3 things, _SYSTEM_VERSION didn't quite work out how
we expected and it's easier|safer to do it this way than fiddle with
pkg_add now. thanks aja for update tests with a quick bulk.
2019-04-28 20:51:26 +00:00
ajacoutot
0a4d1614cc Update to glib2-2.60.1.
First step in updating GNOME to version 3.32 (which should happen during
g2k19).
2019-04-28 06:28:17 +00:00
ajacoutot
12a4aa33ad Merged upstream. 2019-04-04 09:28:30 +00:00
ajacoutot
176e1366b3 Remove g_get_system_data_dirs patch chunk. update-desktop-database is now
properly pledged and unveiled.
2019-03-27 12:54:47 +00:00
stsp
35b0796e29 Update my glib2 use-after-free patch to a version which passes
upstream's regression tests.
ok ajacoutot@
2019-03-25 09:18:54 +00:00
stsp
5665f58009 Fix a use-after-free in glib2 which got triggered by gnome-session-binary.
ok ajacoutot@
2019-03-23 08:51:15 +00:00
ajacoutot
7dc78ba2f9 Tweak comment. 2019-03-10 09:00:29 +00:00
robert
ecae7c4df4 Help programs using unveil(2) by fixing and modyfing the code of
glib by doing the following:

- Modify the g_mkdir_with_parents() function so that it will try to
  create the specified path directly and if g_mkdir() fails, it will
  fall back to walking the path one by one.

- In case of walking the path one by one, ignore ENOENT for all path
  elements except for the last one, because g_mkdir_with_parents()
  will fail with programs using unveil(2) (with statlie removed).
  Ignoring ENOENT is completely fine because we really only care about
  the last element of the path and this modification will also have the
  benefit of avoiding useless stat calls

- My initial tests show that by just firing up a simple file dialog
  this modification saves an average of 110 system calls, now imagine
  running GNOME or Chrome with that. Each and every program using glib's
  g_mkdir_with_parents() before opening the needed files (most do this)
  will benefit from this.

- Check if the XDG directories actually exist before adding them to the
  list used by file dialogs.
  This is also useful if you are not running a complete desktop environment
  and you simply do not have these directories.

ok ajacoutot@
2019-02-19 14:53:17 +00:00
ajacoutot
85a2ea0f9e NULLify callback in the call to g_unix_mount_unmount when ejecting to
prevent a bus error.
2019-02-10 14:42:38 +00:00
ajacoutot
4d14f23aa6 Fix eject(1) support. 2019-02-10 13:02:46 +00:00
jca
15f9099d0a Move to libelf from base
Initial diff from jsg@, ok jasper@ (maintainer of
libdwarf/ctftools/libelf).
2019-02-04 23:34:10 +00:00
ajacoutot
f75f8368d7 Rework the gunixmount.c patch and add more checks. 2019-01-23 10:06:21 +00:00
ajacoutot
a88625b0b2 sysutils/toad is coming back, teach glib to use pkexec(1). 2019-01-23 03:37:09 +00:00
ajacoutot
54401f636c Update to glib2-2.58.3. 2019-01-21 21:52:58 +00:00
jca
b445abf2ab Unbreak on gcc archs after the update to 2.58.2
glib2 checks for __sync_bool_compare_and_swap, and requires
__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4 to be defined if the function is
available... except with special cases like Linux armv5.  base gcc
implements __sync_bool_compare_and_swap on many of our archs but doesn't
provide __GCC_HAVE_* macros, so glib2 is confused.  Extend the
existing workaround to unbreak.

ok ajacoutot@ (maintainer)
2019-01-10 13:36:26 +00:00