diff options
-rw-r--r-- | flatpak/.footprint | 122 | ||||
-rw-r--r-- | flatpak/.signature | 5 | ||||
-rw-r--r-- | flatpak/Pkgfile | 28 | ||||
-rw-r--r-- | flatpak/pre-install | 7 |
4 files changed, 162 insertions, 0 deletions
diff --git a/flatpak/.footprint b/flatpak/.footprint new file mode 100644 index 000000000..8f6ea51e3 --- /dev/null +++ b/flatpak/.footprint @@ -0,0 +1,122 @@ +drwxr-xr-x root/root etc/ +drwxr-xr-x root/root etc/profile.d/ +-rw-r--r-- root/root etc/profile.d/flatpak.sh +drwxr-xr-x root/root usr/ +drwxr-xr-x root/root usr/bin/ +-rwxr-xr-x root/root usr/bin/flatpak +-rwxr-xr-x root/root usr/bin/flatpak-bisect +-rwxr-xr-x root/root usr/bin/flatpak-coredumpctl +drwxr-xr-x root/root usr/include/ +drwxr-xr-x root/root usr/include/flatpak/ +-rw-r--r-- root/root usr/include/flatpak/flatpak-bundle-ref.h +-rw-r--r-- root/root usr/include/flatpak/flatpak-enum-types.h +-rw-r--r-- root/root usr/include/flatpak/flatpak-error.h +-rw-r--r-- root/root usr/include/flatpak/flatpak-installation.h +-rw-r--r-- root/root usr/include/flatpak/flatpak-installed-ref.h +-rw-r--r-- root/root usr/include/flatpak/flatpak-instance.h +-rw-r--r-- root/root usr/include/flatpak/flatpak-portal-error.h +-rw-r--r-- root/root usr/include/flatpak/flatpak-ref.h +-rw-r--r-- root/root usr/include/flatpak/flatpak-related-ref.h +-rw-r--r-- root/root usr/include/flatpak/flatpak-remote-ref.h +-rw-r--r-- root/root usr/include/flatpak/flatpak-remote.h +-rw-r--r-- root/root usr/include/flatpak/flatpak-transaction.h +-rw-r--r-- root/root usr/include/flatpak/flatpak-version-macros.h +-rw-r--r-- root/root usr/include/flatpak/flatpak.h +drwxr-xr-x root/root usr/lib/ +-rwxr-xr-x root/root usr/lib/flatpak-dbus-proxy +-rwxr-xr-x root/root usr/lib/flatpak-portal +-rwxr-xr-x root/root usr/lib/flatpak-session-helper +-rwxr-xr-x root/root usr/lib/flatpak-system-helper +-rwxr-xr-x root/root usr/lib/flatpak-validate-icon +drwxr-xr-x root/root usr/lib/girepository-1.0/ +-rw-r--r-- root/root usr/lib/girepository-1.0/Flatpak-1.0.typelib +-rwxr-xr-x root/root usr/lib/libflatpak.la +lrwxrwxrwx root/root usr/lib/libflatpak.so -> libflatpak.so.0.10400.0 +lrwxrwxrwx root/root usr/lib/libflatpak.so.0 -> libflatpak.so.0.10400.0 +-rwxr-xr-x root/root usr/lib/libflatpak.so.0.10400.0 +drwxr-xr-x root/root usr/lib/pkgconfig/ +-rw-r--r-- root/root usr/lib/pkgconfig/flatpak.pc +-rwxr-xr-x root/root usr/lib/revokefs-fuse +drwxr-xr-x root/root usr/share/ +drwxr-xr-x root/root usr/share/bash-completion/ +drwxr-xr-x root/root usr/share/bash-completion/completions/ +-rw-r--r-- root/root usr/share/bash-completion/completions/flatpak +drwxr-xr-x root/root usr/share/dbus-1/ +drwxr-xr-x root/root usr/share/dbus-1/interfaces/ +-rw-r--r-- root/root usr/share/dbus-1/interfaces/org.freedesktop.Flatpak.xml +-rw-r--r-- root/root usr/share/dbus-1/interfaces/org.freedesktop.portal.Flatpak.xml +drwxr-xr-x root/root usr/share/dbus-1/services/ +-rw-r--r-- root/root usr/share/dbus-1/services/org.freedesktop.Flatpak.service +-rw-r--r-- root/root usr/share/dbus-1/services/org.freedesktop.portal.Flatpak.service +drwxr-xr-x root/root usr/share/dbus-1/system-services/ +-rw-r--r-- root/root usr/share/dbus-1/system-services/org.freedesktop.Flatpak.SystemHelper.service +drwxr-xr-x root/root usr/share/dbus-1/system.d/ +-rw-r--r-- root/root usr/share/dbus-1/system.d/org.freedesktop.Flatpak.SystemHelper.conf +drwxr-xr-x root/root usr/share/flatpak/ +drwxr-xr-x root/root usr/share/flatpak/triggers/ +-rwxr-xr-x root/root usr/share/flatpak/triggers/desktop-database.trigger +-rwxr-xr-x root/root usr/share/flatpak/triggers/gtk-icon-cache.trigger +-rwxr-xr-x root/root usr/share/flatpak/triggers/mime-database.trigger +drwxr-xr-x root/root usr/share/gdm/ +drwxr-xr-x root/root usr/share/gdm/env.d/ +-rw-r--r-- root/root usr/share/gdm/env.d/flatpak.env +drwxr-xr-x root/root usr/share/gir-1.0/ +-rw-r--r-- root/root usr/share/gir-1.0/Flatpak-1.0.gir +drwxr-xr-x root/root usr/share/man/ +drwxr-xr-x root/root usr/share/man/man1/ +-rw-r--r-- root/root usr/share/man/man1/flatpak-build-bundle.1.gz +-rw-r--r-- root/root usr/share/man/man1/flatpak-build-commit-from.1.gz +-rw-r--r-- root/root usr/share/man/man1/flatpak-build-export.1.gz +-rw-r--r-- root/root usr/share/man/man1/flatpak-build-finish.1.gz +-rw-r--r-- root/root usr/share/man/man1/flatpak-build-import-bundle.1.gz +-rw-r--r-- root/root usr/share/man/man1/flatpak-build-init.1.gz +-rw-r--r-- root/root usr/share/man/man1/flatpak-build-sign.1.gz +-rw-r--r-- root/root usr/share/man/man1/flatpak-build-update-repo.1.gz +-rw-r--r-- root/root usr/share/man/man1/flatpak-build.1.gz +-rw-r--r-- root/root usr/share/man/man1/flatpak-config.1.gz +-rw-r--r-- root/root usr/share/man/man1/flatpak-create-usb.1.gz +-rw-r--r-- root/root usr/share/man/man1/flatpak-document-export.1.gz +-rw-r--r-- root/root usr/share/man/man1/flatpak-document-info.1.gz +-rw-r--r-- root/root usr/share/man/man1/flatpak-document-unexport.1.gz +-rw-r--r-- root/root usr/share/man/man1/flatpak-documents.1.gz +-rw-r--r-- root/root usr/share/man/man1/flatpak-enter.1.gz +-rw-r--r-- root/root usr/share/man/man1/flatpak-history.1.gz +-rw-r--r-- root/root usr/share/man/man1/flatpak-info.1.gz +-rw-r--r-- root/root usr/share/man/man1/flatpak-install.1.gz +-rw-r--r-- root/root usr/share/man/man1/flatpak-kill.1.gz +-rw-r--r-- root/root usr/share/man/man1/flatpak-list.1.gz +-rw-r--r-- root/root usr/share/man/man1/flatpak-make-current.1.gz +-rw-r--r-- root/root usr/share/man/man1/flatpak-override.1.gz +-rw-r--r-- root/root usr/share/man/man1/flatpak-permission-remove.1.gz +-rw-r--r-- root/root usr/share/man/man1/flatpak-permission-reset.1.gz +-rw-r--r-- root/root usr/share/man/man1/flatpak-permission-show.1.gz +-rw-r--r-- root/root usr/share/man/man1/flatpak-permissions.1.gz +-rw-r--r-- root/root usr/share/man/man1/flatpak-ps.1.gz +-rw-r--r-- root/root usr/share/man/man1/flatpak-remote-add.1.gz +-rw-r--r-- root/root usr/share/man/man1/flatpak-remote-delete.1.gz +-rw-r--r-- root/root usr/share/man/man1/flatpak-remote-info.1.gz +-rw-r--r-- root/root usr/share/man/man1/flatpak-remote-ls.1.gz +-rw-r--r-- root/root usr/share/man/man1/flatpak-remote-modify.1.gz +-rw-r--r-- root/root usr/share/man/man1/flatpak-remotes.1.gz +-rw-r--r-- root/root usr/share/man/man1/flatpak-repair.1.gz +-rw-r--r-- root/root usr/share/man/man1/flatpak-repo.1.gz +-rw-r--r-- root/root usr/share/man/man1/flatpak-run.1.gz +-rw-r--r-- root/root usr/share/man/man1/flatpak-search.1.gz +-rw-r--r-- root/root usr/share/man/man1/flatpak-spawn.1.gz +-rw-r--r-- root/root usr/share/man/man1/flatpak-uninstall.1.gz +-rw-r--r-- root/root usr/share/man/man1/flatpak-update.1.gz +-rw-r--r-- root/root usr/share/man/man1/flatpak.1.gz +drwxr-xr-x root/root usr/share/man/man5/ +-rw-r--r-- root/root usr/share/man/man5/flatpak-flatpakref.5.gz +-rw-r--r-- root/root usr/share/man/man5/flatpak-flatpakrepo.5.gz +-rw-r--r-- root/root usr/share/man/man5/flatpak-installation.5.gz +-rw-r--r-- root/root usr/share/man/man5/flatpak-metadata.5.gz +-rw-r--r-- root/root usr/share/man/man5/flatpak-remote.5.gz +drwxr-xr-x root/root usr/share/polkit-1/ +drwxr-xr-x root/root usr/share/polkit-1/actions/ +-rw-r--r-- root/root usr/share/polkit-1/actions/org.freedesktop.Flatpak.policy +drwxr-xr-x root/root usr/share/polkit-1/rules.d/ +-rw-r--r-- root/root usr/share/polkit-1/rules.d/org.freedesktop.Flatpak.rules +drwxr-xr-x root/root usr/share/zsh/ +drwxr-xr-x root/root usr/share/zsh/site-functions/ +-rw-r--r-- root/root usr/share/zsh/site-functions/_flatpak diff --git a/flatpak/.signature b/flatpak/.signature new file mode 100644 index 000000000..effced87b --- /dev/null +++ b/flatpak/.signature @@ -0,0 +1,5 @@ +untrusted comment: verify with /etc/ports/contrib.pub +RWSagIOpLGJF38RfHHgdWQDd+04kKEJbOnEtxRj/cNHy5s6K67A2KMjqZdI8DLH+Wc6QeneDzJBKmlGkMQAiV30HkmwSY9YzOQ4= +SHA256 (Pkgfile) = 61743892b2eedb0be5f43eb87f4ec2d12c92043bc1ce2aec815f8b67e05a13b6 +SHA256 (.footprint) = 7c8d7cea3c1b875b119d04d261855d65e190484fda09f8d21b006f11c7df7b17 +SHA256 (flatpak-1.4.0.tar.xz) = 82cff04f2e74e3216ce6b7b0ab78fa8d6ca37d81c0dc31156223c83a2d7568ff diff --git a/flatpak/Pkgfile b/flatpak/Pkgfile new file mode 100644 index 000000000..34013a06a --- /dev/null +++ b/flatpak/Pkgfile @@ -0,0 +1,28 @@ +# Description: Linux application sandboxing and distribution framework (formerly xdg-app) +# URL: http://flatpak.org +# Maintainer: Tim Biermann, tbier at posteo dot de +# Depends on: appstream-glib json-glib libseccomp ostree bubblewrap polkit + +name=flatpak +version=1.4.0 +release=1 +source=(https://github.com/flatpak/flatpak/releases/download/$version/$name-$version.tar.xz) + +build() { + cd $name-$version + ./configure \ + --prefix=/usr \ + --libexecdir=/usr/lib \ + --disable-static \ + --with-system-bubblewrap \ + --with-priv-mode=setuid \ + --with-profile-dir=/etc/profile.d \ + --with-dbus-config-dir=/usr/share/dbus-1/system.d \ + --with-system-helper-user=flatpak \ + --disable-nls + sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool + make + make DESTDIR=$PKG install + rm -fr $PKG/usr/lib/systemd + rm -fr $PKG/usr/share/{gtk-doc,doc,selinux} +} diff --git a/flatpak/pre-install b/flatpak/pre-install new file mode 100644 index 000000000..88fb31282 --- /dev/null +++ b/flatpak/pre-install @@ -0,0 +1,7 @@ +#!/bin/sh + +getent group flatpak || /usr/sbin/groupadd -g 93 flatpak + +getent passwd flatpak || /usr/sbin/useradd -g flatpak -u 93 -d /var/empty -s /bin/false -c "flatpak User" flatpak + +/usr/bin/passwd -l flatpak |