From a784aa3ed36a7ceae23360184d583c2422f31076 Mon Sep 17 00:00:00 2001
From: TimB87 <tbier@posteo.de>
Date: Tue, 11 Jun 2019 23:45:48 +0200
Subject: [PATCH] ostree: initial commit

---
 ostree/.footprint | 100 ++++++++++++++++++++++++++++++++++++++++++++++
 ostree/.signature |   5 +++
 ostree/Pkgfile    |  22 ++++++++++
 3 files changed, 127 insertions(+)
 create mode 100644 ostree/.footprint
 create mode 100644 ostree/.signature
 create mode 100644 ostree/Pkgfile

diff --git a/ostree/.footprint b/ostree/.footprint
new file mode 100644
index 000000000..e956feb57
--- /dev/null
+++ b/ostree/.footprint
@@ -0,0 +1,100 @@
+drwxr-xr-x	root/root	usr/
+drwxr-xr-x	root/root	usr/bin/
+-rwxr-xr-x	root/root	usr/bin/ostree
+-rwxr-xr-x	root/root	usr/bin/rofiles-fuse
+drwxr-xr-x	root/root	usr/etc/
+drwxr-xr-x	root/root	usr/etc/ostree/
+drwxr-xr-x	root/root	usr/etc/ostree/remotes.d/
+drwxr-xr-x	root/root	usr/include/
+drwxr-xr-x	root/root	usr/include/ostree-1/
+-rw-r--r--	root/root	usr/include/ostree-1/ostree-async-progress.h
+-rw-r--r--	root/root	usr/include/ostree-1/ostree-autocleanups.h
+-rw-r--r--	root/root	usr/include/ostree-1/ostree-bootconfig-parser.h
+-rw-r--r--	root/root	usr/include/ostree-1/ostree-core.h
+-rw-r--r--	root/root	usr/include/ostree-1/ostree-deployment.h
+-rw-r--r--	root/root	usr/include/ostree-1/ostree-diff.h
+-rw-r--r--	root/root	usr/include/ostree-1/ostree-dummy-enumtypes.h
+-rw-r--r--	root/root	usr/include/ostree-1/ostree-gpg-verify-result.h
+-rw-r--r--	root/root	usr/include/ostree-1/ostree-mutable-tree.h
+-rw-r--r--	root/root	usr/include/ostree-1/ostree-ref.h
+-rw-r--r--	root/root	usr/include/ostree-1/ostree-remote.h
+-rw-r--r--	root/root	usr/include/ostree-1/ostree-repo-deprecated.h
+-rw-r--r--	root/root	usr/include/ostree-1/ostree-repo-file.h
+-rw-r--r--	root/root	usr/include/ostree-1/ostree-repo-finder-avahi.h
+-rw-r--r--	root/root	usr/include/ostree-1/ostree-repo-finder-config.h
+-rw-r--r--	root/root	usr/include/ostree-1/ostree-repo-finder-mount.h
+-rw-r--r--	root/root	usr/include/ostree-1/ostree-repo-finder-override.h
+-rw-r--r--	root/root	usr/include/ostree-1/ostree-repo-finder.h
+-rw-r--r--	root/root	usr/include/ostree-1/ostree-repo.h
+-rw-r--r--	root/root	usr/include/ostree-1/ostree-sepolicy.h
+-rw-r--r--	root/root	usr/include/ostree-1/ostree-sysroot-upgrader.h
+-rw-r--r--	root/root	usr/include/ostree-1/ostree-sysroot.h
+-rw-r--r--	root/root	usr/include/ostree-1/ostree-types.h
+-rw-r--r--	root/root	usr/include/ostree-1/ostree-version.h
+-rw-r--r--	root/root	usr/include/ostree-1/ostree.h
+drwxr-xr-x	root/root	usr/lib/
+drwxr-xr-x	root/root	usr/lib/girepository-1.0/
+-rw-r--r--	root/root	usr/lib/girepository-1.0/OSTree-1.0.typelib
+-rwxr-xr-x	root/root	usr/lib/libostree-1.la
+lrwxrwxrwx	root/root	usr/lib/libostree-1.so -> libostree-1.so.1.0.0
+lrwxrwxrwx	root/root	usr/lib/libostree-1.so.1 -> libostree-1.so.1.0.0
+-rwxr-xr-x	root/root	usr/lib/libostree-1.so.1.0.0
+drwxr-xr-x	root/root	usr/lib/ostree/
+drwxr-xr-x	root/root	usr/lib/ostree/libostree/
+-rwxr-xr-x	root/root	usr/lib/ostree/libostree/ostree-trivial-httpd
+-rwxr-xr-x	root/root	usr/lib/ostree/ostree-grub-generator
+-rwxr-xr-x	root/root	usr/lib/ostree/ostree-prepare-root
+drwxr-xr-x	root/root	usr/lib/pkgconfig/
+-rw-r--r--	root/root	usr/lib/pkgconfig/ostree-1.pc
+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/ostree
+drwxr-xr-x	root/root	usr/share/gir-1.0/
+-rw-r--r--	root/root	usr/share/gir-1.0/OSTree-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/ostree-admin-cleanup.1.gz
+-rw-r--r--	root/root	usr/share/man/man1/ostree-admin-config-diff.1.gz
+-rw-r--r--	root/root	usr/share/man/man1/ostree-admin-deploy.1.gz
+-rw-r--r--	root/root	usr/share/man/man1/ostree-admin-init-fs.1.gz
+-rw-r--r--	root/root	usr/share/man/man1/ostree-admin-instutil.1.gz
+-rw-r--r--	root/root	usr/share/man/man1/ostree-admin-os-init.1.gz
+-rw-r--r--	root/root	usr/share/man/man1/ostree-admin-pin.1.gz
+-rw-r--r--	root/root	usr/share/man/man1/ostree-admin-set-origin.1.gz
+-rw-r--r--	root/root	usr/share/man/man1/ostree-admin-status.1.gz
+-rw-r--r--	root/root	usr/share/man/man1/ostree-admin-switch.1.gz
+-rw-r--r--	root/root	usr/share/man/man1/ostree-admin-undeploy.1.gz
+-rw-r--r--	root/root	usr/share/man/man1/ostree-admin-unlock.1.gz
+-rw-r--r--	root/root	usr/share/man/man1/ostree-admin-upgrade.1.gz
+-rw-r--r--	root/root	usr/share/man/man1/ostree-admin.1.gz
+-rw-r--r--	root/root	usr/share/man/man1/ostree-cat.1.gz
+-rw-r--r--	root/root	usr/share/man/man1/ostree-checkout.1.gz
+-rw-r--r--	root/root	usr/share/man/man1/ostree-checksum.1.gz
+-rw-r--r--	root/root	usr/share/man/man1/ostree-commit.1.gz
+-rw-r--r--	root/root	usr/share/man/man1/ostree-config.1.gz
+-rw-r--r--	root/root	usr/share/man/man1/ostree-create-usb.1.gz
+-rw-r--r--	root/root	usr/share/man/man1/ostree-diff.1.gz
+-rw-r--r--	root/root	usr/share/man/man1/ostree-export.1.gz
+-rw-r--r--	root/root	usr/share/man/man1/ostree-find-remotes.1.gz
+-rw-r--r--	root/root	usr/share/man/man1/ostree-fsck.1.gz
+-rw-r--r--	root/root	usr/share/man/man1/ostree-gpg-sign.1.gz
+-rw-r--r--	root/root	usr/share/man/man1/ostree-init.1.gz
+-rw-r--r--	root/root	usr/share/man/man1/ostree-log.1.gz
+-rw-r--r--	root/root	usr/share/man/man1/ostree-ls.1.gz
+-rw-r--r--	root/root	usr/share/man/man1/ostree-prune.1.gz
+-rw-r--r--	root/root	usr/share/man/man1/ostree-pull-local.1.gz
+-rw-r--r--	root/root	usr/share/man/man1/ostree-pull.1.gz
+-rw-r--r--	root/root	usr/share/man/man1/ostree-refs.1.gz
+-rw-r--r--	root/root	usr/share/man/man1/ostree-remote.1.gz
+-rw-r--r--	root/root	usr/share/man/man1/ostree-reset.1.gz
+-rw-r--r--	root/root	usr/share/man/man1/ostree-rev-parse.1.gz
+-rw-r--r--	root/root	usr/share/man/man1/ostree-show.1.gz
+-rw-r--r--	root/root	usr/share/man/man1/ostree-static-delta.1.gz
+-rw-r--r--	root/root	usr/share/man/man1/ostree-summary.1.gz
+-rw-r--r--	root/root	usr/share/man/man1/ostree.1.gz
+-rw-r--r--	root/root	usr/share/man/man1/rofiles-fuse.1.gz
+drwxr-xr-x	root/root	usr/share/man/man5/
+-rw-r--r--	root/root	usr/share/man/man5/ostree.repo-config.5.gz
+-rw-r--r--	root/root	usr/share/man/man5/ostree.repo.5.gz
+drwxr-xr-x	root/root	usr/share/ostree/
diff --git a/ostree/.signature b/ostree/.signature
new file mode 100644
index 000000000..9a56c2dbf
--- /dev/null
+++ b/ostree/.signature
@@ -0,0 +1,5 @@
+untrusted comment: verify with /etc/ports/contrib.pub
+RWSagIOpLGJF3xq0a+NmxAe+2Q6iNEtTjrxofdDtn3NQk7VNacp9tNXogzfCpVFDZ6htFFOD7koq8tzRDGUQ8aLtLliJnaY0RA4=
+SHA256 (Pkgfile) = c2ab9c3093062f81ba8ea18d7422d83e57732b987c4233781c74f5f9a0585573
+SHA256 (.footprint) = e10f2790dcd72d37d226e8757798c993bf1ec959e584919da2e96e56d1a66652
+SHA256 (libostree-2019.2.tar.xz) = 9e0051be1ec0f5642cc3ce56a404f7f9c78d6b74068b23e8dd465772c7cf6b59
diff --git a/ostree/Pkgfile b/ostree/Pkgfile
new file mode 100644
index 000000000..01b6fdb1b
--- /dev/null
+++ b/ostree/Pkgfile
@@ -0,0 +1,22 @@
+# Description: Operating system and container binary deployment and upgrades
+# URL: https://ostree.readthedocs.org/en/latest/
+# Maintainer: Tim Biermann, tbier at posteo dot de
+# Depends on: avahi fuse gpgme keyutils libsoup
+
+name=ostree
+version=2019.2
+release=1
+source=(https://github.com/ostreedev/ostree/releases/download/v$version/libostree-$version.tar.xz)
+
+build() {
+  cd lib$name-$version
+  ./configure --prefix=/usr \
+    --libexecdir=/usr/lib/$name \
+    --with-openssl \
+    --with-builtin-grub2-mkconfig \
+    --enable-experimental-api \
+    --disable-static
+  make
+  make DESTDIR=$PKG install
+  rm -fr $PKG/usr/share/ostree/trusted.gpg.d/
+}