Commit Graph

186 Commits (dad7bc71ce84201f6d5819eefc1e66ac9acdaee7)

Author SHA1 Message Date
Alexander Larsson dad7bc71ce configure: Call LIBGLNX_CONFIGURE
This includes the libglnx configure checks

This fixes detection of e.g. copy_file_range
2018-02-14 18:46:23 +01:00
Alexander Larsson 0632b550f9 Update version to 0.10.7 2018-02-14 11:56:49 +01:00
Alexander Larsson 48c504af8f Bump version to 0.10.6 2017-12-15 14:26:36 +01:00
Alexander Larsson 471adbaf21 Update requirements to flatpak 0.10.2 and ostree 2017.14 2017-12-15 14:25:02 +01:00
Alexander Larsson 0254b5174e Update NEWS and version to 0.10.5 2017-11-24 14:58:15 +01:00
Alexander Larsson d385187a49 Update flatpak req to 0.10.1
We need this for flatpak build --readonly
2017-11-24 14:52:14 +01:00
Philip Withnall 6607fd1971 build: Add --enable-p2p configure argument
This mirrors the one for flatpak.git. There are bits of the
flatpak-builder code which are P2P-specific and which couldn’t be
enabled before.

Signed-off-by: Philip Withnall <withnall@endlessm.com>

Closes: #68
Approved by: alexlarsson
2017-11-24 12:39:51 +00:00
Alexander Larsson ad2ae90d12 Bump version to 0.10.4 2017-11-06 15:16:40 +01:00
Alexander Larsson 202dcf7e9d Release 0.10.3 2017-10-31 13:45:42 +01:00
Alexander Larsson 0a03de929d Release 0.10.2 2017-10-30 15:12:36 +01:00
Alexander Larsson fb2612ea02 Release 0.10.1 2017-10-27 12:43:46 +02:00
Alexander Larsson 188b835627 Update version to 0.10.0 2017-10-26 11:46:47 +02:00
Alexander Larsson f222a18dec Require flatpak 0.10.0 and corresponding ostree version 2017-10-26 11:46:32 +02:00
Alexander Larsson a912f119d6 Bump version to 0.9.99 2017-10-09 13:51:02 +02:00
Alexander Larsson 9f3e786c29 Add appdata-license field
This lets you modify the project_license field in the appdata file.
This is useful because appdata files from upstream generally only
contain license information for the app itself, whereas the
bundled app may contain other code with additional licenses.

Closes: #41
Approved by: alexlarsson
2017-09-29 07:01:40 +00:00
Alexander Larsson ef07c3f2fd Update version to 0.9.98 2017-09-25 17:44:24 +02:00
handsome-feng bede3d19b0 add the missing '[]' around AC_MSG_ERROR 2017-09-25 16:54:52 +02:00
Alexander Larsson 9e5a4b1103 Pass --with-appdir when doing flatpak-builder --run 2017-09-19 11:53:53 +02:00
Alexander Larsson e8adec425c Update version to 0.9.11 2017-09-13 16:05:16 +02:00
Simon McVittie 7874e87c47 Direct bug reports to flatpak-builder, not flatpak
Signed-off-by: Simon McVittie <smcv@collabora.com>
2017-09-12 16:16:53 +02:00
Simon McVittie c011526e87 Disable unused support for gobject-introspection
Signed-off-by: Simon McVittie <smcv@collabora.com>
2017-09-12 16:16:38 +02:00
Alexander Larsson bf876b2e47 Bump version to 0.9.9 2017-09-01 16:46:13 +02:00
Alexander Larsson 012f1558e8 require flatpak 0.9.9 2017-09-01 16:44:36 +02:00
Alexander Larsson 4ff21f43ad Remove old doc/reference/Makefile references 2017-08-29 16:48:30 +02:00
Alexander Larsson d2b238dc36 Clean up configuration 2017-08-25 10:06:18 +02:00
Alexander Larsson a5a12d14ee The module is flatpak-builder, not flatpak 2017-08-25 09:40:42 +02:00
Alexander Larsson faba587a72 Move common/flatpak-utils.* to src/builder-flatpak-utils.* 2017-08-25 09:36:49 +02:00
Alexander Larsson 9d1f1ed59c Delete non-builder files 2017-08-25 09:27:42 +02:00
Alexander Larsson 3ac5747e39 Bump version to 0.9.8 2017-08-21 18:15:26 +02:00
Philip Withnall 655e7ce5c3 build: Add an --enable-p2p configure option for the peer to peer feature
A series of following commits will introduce a peer to peer feature for
pulling apps and runtimes from LAN peers and USB sticks without needing
an internet connection. This requires experimental API in libostree
(which needs to have been configured with --enable-experimental-api), so
needs to be hidden behind a configure option in flatpak too. It’s called
--enable-p2p, and bumps our libostree dependency to 2017.8 with
experimental API required too.

Signed-off-by: Philip Withnall <withnall@endlessm.com>
2017-08-18 14:23:03 +02:00
Alexander Larsson 85ba1f75eb Require ostree 2017.10
This includes a change in how ostree reports missing gpg signatures
which makes the test-suite pass. Additionally that change requires
us to change how we detect such missing gpg signatures in one place.

We could try to support both versions, but the easiest fix is to just
require the latest ostree.
2017-08-15 18:41:44 +02:00
Alexander Larsson 67a568d513 Bump version to 0.9.7 2017-06-30 22:56:59 +02:00
Simon McVittie 8776d3c1f8 build: Check for system extensions before any other C compiling
AC_USE_SYSTEM_EXTENSIONS issues warnings unless it is the first
attempt to compile C code.

Signed-off-by: Simon McVittie <smcv@collabora.com>
2017-06-30 21:18:22 +02:00
Alexander Larsson 5e893f7e4a Update version to 0.9.6 2017-06-20 14:45:27 +02:00
Colin Walters 1e07f79b57 Use new libostree APIs to reject world-writable/suid content
This uses the new libostree APIs that landed recently to ensure
that we reject any files with mode outside of `0775` for system
helper pulls, and we also mask directory modes during checkout.

However, this does *not* fix up any already downloaded content.
For that, one could uninstall/reinstall; or a future patch could
do a one-time fixup pass.

Note that I am not aware of a way for flatpak applications to escalate their
privileges directly with this flaw; the bubblewrap `PR_SET_NO_NEW_PRIVS` turns
of setuid. However, in combination with code execution on the host via another
mechanism (e.g. unsandboxed app), a setuid app injected could be used to gain
full host privileges.

At this time we're not aware of any flatpak content exploiting this issue.

Closes: https://github.com/flatpak/flatpak/issues/845
2017-06-15 16:40:17 +02:00
Alexander Larsson ce2b51e729 Bump version to 0.9.5 2017-06-05 13:36:16 +02:00
Alexander Larsson dbf52de6fd Bump version to 0.9.4
This is in preparation for a release to come, but also
to let you check for new features in configure.
2017-05-22 14:37:41 +02:00
Alexander Larsson fcb59afe7a Require ostree 2017.6 for the new progress APIs 2017-05-18 11:30:18 +02:00
Alexander Larsson e3db39ea8f Require latest flatpak (2017.5)
This allows us to rely on the new BARE_USER_ONLY mode, as
well as the fixes to progress reporting. Also, it has a lot
of bugfixes that are nice. If you need an old ostree you can
run the old flatpak series.
2017-05-12 16:30:14 +02:00
Alexander Larsson 3e9bc8ba7a Rewrite exported mimetype files
We only allow globs, not magic matches, and we drop the glob
priority to a very low level (weight=5) which means that its
hard for app-installed mimetypes to override the system installed
ones. That should make exporting mimetypes pretty safe.
2017-05-11 18:16:13 +02:00
Alexander Larsson 24cdbf51b9 Update to bubblewrap 0.1.8 for die-with-parent
This requires 0.1.8 if you use the system build and
updates the submodule to 0.1.8.
2017-05-04 10:40:29 +02:00
Alexander Larsson 00a75c48b6 Bump version to 0.9.3 2017-04-24 22:14:05 +02:00
Alexander Larsson 6c5a662da7 Bump version to 0.9.2 2017-04-05 09:52:30 +02:00
Simon McVittie af3e9ecffd Build with large file support
gpgme is built with large file support by default, and checks that
its ABI (size of off_t) matches the ABI expected by library users
like flatpak. This caused build failures on Debian i386 and powerpc.

Signed-off-by: Simon McVittie <smcv@debian.org>
2017-04-04 12:17:28 +02:00
Alexander Larsson ea803f1f80 OCI: Add flatpak_oci_sign_data 2017-03-29 17:14:36 +02:00
Alexander Larsson 7b906ce8ea Drop -Werror for aggregate-returns
gvdb is using this, so the CI was failing
2017-03-27 12:44:54 +02:00
Alexander Larsson 7d5767333a Fix build if libdwarf dir missing
I was getting errors from -Werror=missing-include-dirs due to
$includedir/libdwarf not existing when builing in a different
prefix than /usr.
2017-03-27 10:55:40 +02:00
Colin Walters 2618a19716 Import ostree's compiler warnings, fix up callers
In ostree I maintain what I consider a "baseline" set of compiler
warnings that should *always* be fatal for a modern C project.

I noticed while working on a previous patch that a `-Werror=format`
warning wasn't fatal.

There are a few that are really, really important like
`-Werror=missing-prototypes`. I also take some like `-Werror=misleading-indentation`
which already caught some bugs.  See also https://lwn.net/Articles/678019/
2017-03-27 10:42:36 +02:00
Alexander Larsson afc2dd3d75 Update minimal automake to 1.13.4
It doesn't build on the current minimum of 1.11.
Fixes https://github.com/flatpak/flatpak/issues/621
2017-03-15 09:54:37 +01:00
Alexander Larsson dcccb3c807 Bump glib dependency to 2.44
This is required for e.g. G_DECLARE_FINAL_TYPE, and most current
distros have this now.

This fixes https://github.com/flatpak/flatpak/issues/622

For distributions that want to build against older glib, see
the issue above, it has patches to make that work.
2017-03-15 09:44:28 +01:00