From: Simon McVittie Date: Mon, 19 Feb 2018 09:01:47 +0000 (+0000) Subject: Import ostree_2018.2-1.debian.tar.xz X-Git-Tag: archive/raspbian/2018.2-1+rpi1^2~6^2 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=8bd893b523a88bd6b5ef77ad24867d2b78d81dbe;p=ostree.git Import ostree_2018.2-1.debian.tar.xz [dgit import tarball ostree 2018.2-1 ostree_2018.2-1.debian.tar.xz] --- 8bd893b523a88bd6b5ef77ad24867d2b78d81dbe diff --git a/.gitignore b/.gitignore new file mode 100644 index 00000000..910c5bde --- /dev/null +++ b/.gitignore @@ -0,0 +1,8 @@ +/*.debhelper +/*.substvars +/gir1.2-ostree-1.0/ +/libostree-1-1/ +/libostree-dev/ +/libostree-doc/ +/ostree-grub2/ +/ostree/ diff --git a/changelog b/changelog new file mode 100644 index 00000000..9dd08405 --- /dev/null +++ b/changelog @@ -0,0 +1,636 @@ +ostree (2018.2-1) unstable; urgency=medium + + * New upstream release + - d/copyright: Update + - d/libostree-1-1.symbols: Update + * Mark patches as forwarded + * Add gnupg to build-time test dependencies (and ostree-tests + dependencies) as it is no longer transitively build-essential + + -- Simon McVittie Mon, 19 Feb 2018 09:01:47 +0000 + +ostree (2018.1-1) unstable; urgency=medium + + * New upstream release + - d/copyright: Update + - d/patches: Remove, applied upstream + - d/libostree-1-1.symbols: Update + * Move Vcs-* to salsa.debian.org + d/p/test-concurrency-Explicitly-use-floor-division.patch, + d/p/tests-bootloader-entries-crosscheck-Use-Python-3-friendly.patch: + Make tests compatible with Python 3 + * d/control, d/p/debian/Use-Python-3-for-tests.patch: + Switch build-time tests and autopkgtests to Python 3 + + -- Simon McVittie Wed, 17 Jan 2018 15:34:46 +0000 + +ostree (2017.15-2) unstable; urgency=medium + + * d/p/2018.1/tests-Don-t-assume-uid-primary-gid.patch: Mark as applied + upstream in 2018.1 + * d/p/2018.1/tests-Assert-that-byte-order-[etc.].patch: + Add patch to fix test failures on big-endian machines + (Closes: #886218) + * Temporarily disable gjs tests. gjs is not currently installable on + buildds due to the glibc transition and a long dependency chain + involving systemd-shim being preferred over systemd-sysv, which + ends with libnih1 Depends: libc6 (<< 2.26). + + -- Simon McVittie Thu, 04 Jan 2018 19:26:16 +0000 + +ostree (2017.15-1) unstable; urgency=medium + + * New upstream release + - d/libostree-1-1.symbols: Update + * d/rules: Stop forcing C.UTF-8 locale: the tests now do this internally + * Standards-Version: 4.1.3 (no changes required) + * d/p/tests-Don-t-assume-uid-primary-gid.patch: Mark as forwarded + + -- Simon McVittie Tue, 02 Jan 2018 14:13:08 +0000 + +ostree (2017.14-1) unstable; urgency=medium + + * New upstream release + - d/libostree-1-1.symbols: Update + * Standards-Version: 4.1.2 (no changes required) + * d/p/tests-Don-t-assume-uid-primary-gid.patch: + Add patch to fix automated test failure when uid != primary gid + + -- Simon McVittie Sun, 10 Dec 2017 19:42:36 +0000 + +ostree (2017.13-1) unstable; urgency=medium + + * New upstream release + - d/patches: Drop all patches + - d/copyright: Update + - Update symbols file + * d/control: Require dh-exec 0.23~, for build-profile support. + Strictly speaking we might only need 0.15, but I'm not going to + test versions older than the jessie backport. + * Set Rules-Requires-Root to no + * Standards-Version: 4.1.1 (no changes required) + + -- Simon McVittie Sat, 04 Nov 2017 14:05:06 +0000 + +ostree (2017.12-2) unstable; urgency=medium + + * Disable gtk-doc if we are not going to build libostree-doc, + in particular for architecture-specific builds. Note that it remains + in Build-Depends (not Build-Depends-Indep) because it is also needed + for gtkdocize during dh_autoreconf. + - In particular this might fix FTBFS on sparc64, where highlight(1) + fails. + * d/p/2017.13/lib-core-Init-struct-stat-buffer.patch, + d/p/2017.13/lib-sysroot-Fix-pointer-going-out-of-scope-in-unlock-code.patch, + d/p/2017.13/lib-deploy-Ignore-FIFREEZE-FITHAW-errors-when-already-in-.patch, + d/p/2017.13/lib-deploy-Use-_exit-for-FIFREEZE-watchdog.patch, + d/p/2017.13/lib-deltas-Check-cancellable-during-processing.patch, + d/p/2017.13/lib-utils-Check-for-invalid-UTF-8-in-filenames.patch, + d/p/2017.13/Cope-with-xattr-syscalls-raising-EOPNOTSUPP.patch, + d/p/2017.13/lib-sysroot-Fix-error-handling-when-mounting-overlayfs-fa.patch, + d/p/2017.13/lib-repo-Properly-handle-NULL-homedir-when-signing-commit.patch, + d/p/2017.13/fdio-allow-NULL-for-fstatat_allow_noent-stbuf.patch, + d/p/2017.13/lib-repo-Fix-loading-commitstate-with-parent-repos.patch: + Add various bugfix patches from upstream + - In particular, dealing with the possibility that EOPNOTSUPP != ENOTSUP + should fix test failures on hppa. + * d/p/2017.13/tests-Add-test-pull-bareuseronly.patch: + Add more test coverage from upstream + - d/rules: Make the new test executable + * d/test.sh: Clean up ostree-trivial-httpd processes + * d/test.sh: Don't repeat build-time tests if they fail once. They seem + to be somewhat reliable now. + + -- Simon McVittie Fri, 27 Oct 2017 00:19:45 +0100 + +ostree (2017.12-1) unstable; urgency=medium + + * New upstream release + - Drop all current patches, applied upstream + - Update symbols file + * Add some post-release bug fix patches + * Simplify autopkgtest now that test-local-pull seems to be stable + * Unexport HTTP proxy variables in autopkgtest to work around lack of + support for no_proxy, which breaks the tests on Ubuntu autopkgtest. + We don't actually need Internet access, so this is OK. + * debian/test.sh: Unexport HTTP proxy variables for build-time tests + too + * Make build-time test failures fatal if they fail at least twice + out of 5 tries (previously they had to fail at least 3 times) + * Add patch to reinstate test-libglnx-shutil.c, which was missed out + of the upstream tarball + + -- Simon McVittie Tue, 03 Oct 2017 22:47:48 +0100 + +ostree (2017.11-2) unstable; urgency=medium + + * Replace patch with the version applied upstream in 2017.12 + * Standards-Version: 4.1.0 (no changes) + * Add a patch to fix FTBFS in non-English locales + * Add a patch to fix FTBFS if building as root with umask != 022, + which for some reason debomatic does (Closes: #876138) + * Add a patch from upstream to fix undefined behaviour with + O_RDONLY|O_CREAT in rofiles-fuse + + -- Simon McVittie Fri, 22 Sep 2017 15:48:24 +0100 + +ostree (2017.11-1) unstable; urgency=medium + + * New upstream release + - Drop all current patches, applied upstream + - Update symbols file + * Adjust Description and Upstream-Name to emphasize libostree + * Classify new ostree-tmpfiles.conf as part of ostree-boot, and so + don't install it yet + * Stop copying an old ostree-trivial-httpd.xml from debian/dist/ + into source tree. Upstream distributes it again, and has since + 2017.8. + * Add a patch to fix JavaScript tests with gjs 1.50.0, which is + more strict about 'let' + * Stop providing "ostree trivial-httpd" CLI, following upstream + default behaviour. flatpak used to use it in its tests, but + the version in stable no longer does. + + -- Simon McVittie Fri, 15 Sep 2017 16:58:15 +0100 + +ostree (2017.10-1) unstable; urgency=medium + + * New upstream release + - Update symbols file + - Install new bash completions + * Use dh_missing --fail-missing instead of dh_install --fail-missing + * Only run tests when building architecture-dependent packages. + The tests aren't so interesting that we want to run them again + when splitting -arch/-indep builds. + * Add patches to make the tests pass again when /var/tmp is on tmpfs, + which does not support user xattrs + * Add patch to remove useless #! from bash completions + * Make build-time test failures fatal again, but only if they are + reproducible (at least 3 times out of 5) for now + + -- Simon McVittie Tue, 29 Aug 2017 18:18:49 +0100 + +ostree (2017.9-1) unstable; urgency=medium + + * New upstream release + - Drop backported patch + - Update symbols file + * debian/rules: Adjust a comment to avoid Lintian thinking this is a + dh_make template + + -- Simon McVittie Fri, 28 Jul 2017 14:43:30 +0100 + +ostree (2017.8-1) unstable; urgency=medium + + * New upstream release + - Update symbols file + - Remove patches that are no longer needed + - Add patch from upstream PR #1016 to fix a regression + * Add a Breaks on flatpak (<< 0.8.7-2~), which rely on libostree to + download the summary and its signature when mirroring. + libostree >= 2017.7 no longer does this. On affected flatpak versions, + this breaks installation of new apps and runtimes system-wide. + * Add Build-Depends-Indep: libglib2.0-doc so gtk-doc can set up + cross-references + + -- Simon McVittie Wed, 19 Jul 2017 22:18:20 +0100 + +ostree (2017.7-1) unstable; urgency=medium + + * New upstream release + - Update symbols file + - Add post-release patches so test-symbols.sh passes again + - debian/dist/: Add ostree-trivial-httpd.xml, which was incorrectly + excluded from the upstream release + * Standards-Version: 4.0.0 + - Use https URL for copyright-format + * Implement build profile + * Upload to unstable + + -- Simon McVittie Wed, 21 Jun 2017 13:06:54 +0100 + +ostree (2017.6-1) experimental; urgency=medium + + * New upstream release + - Update debian/copyright + - Update disabled ostree-boot packaging for new systemd generator + - Add new ABI to symbols file + * Skip build-time tests when nocheck is in DEB_BUILD_OPTIONS + (Closes: #862803). Thanks to Krzesimir Nowak + + -- Simon McVittie Thu, 25 May 2017 10:01:12 +0100 + +ostree (2017.5-1) experimental; urgency=high + + * New upstream release + - This release fixes a regression in 2017.4 that caused symlinks + in Flatpak apps and runtimes to be checked out as regular files. + Any apps or runtimes that were installed or updated with 2017.4 + will need to be removed and reinstalled. + + -- Simon McVittie Wed, 19 Apr 2017 14:18:16 +0100 + +ostree (2017.4-1) experimental; urgency=medium + + * New upstream release + - d/rules: Explicitly enable trivial-httpd: the tests still need it + - Update symbols file for new ABI + + -- Simon McVittie Mon, 17 Apr 2017 17:19:58 +0100 + +ostree (2017.3-2) experimental; urgency=medium + + * d/ostree.maintscript: Clean up obsolete conffiles from before we + started removing what will eventually become ostree-boot + (see #824650) + * libostree-dev: Add missing dependency on libostree-1-1 + (Closes: #860047) + + -- Simon McVittie Mon, 10 Apr 2017 18:52:26 +0100 + +ostree (2017.3-1) experimental; urgency=medium + + * d/watch, d/copyright: upstream project is now named libostree + * New upstream release + - d/copyright: update + - symbols file: update + - tests, ostree-tests.install: update for new location of tests + - d/control: ostree-tests now needs python-yaml + - build-depend on python, python-yaml for tests + + -- Simon McVittie Thu, 16 Mar 2017 06:58:46 +0000 + +ostree (2017.1-1) experimental; urgency=medium + + * Branch to experimental to avoid interfering with the Debian 9 freeze + * Remove an unintended line in the previous changelog + * New upstream release + - trivial-httpd is now a separate binary. Move it to ostree-tests, + so that it doesn't continue to pull in libsoup if the ostree + downloader is ported to libcurl. + - d/copyright: update + - d/patches: drop all patches, applied upstream + * Explicitly depend on autoconf, automake, libtool. This avoids + builds for experimental non-deterministically pulling in an older + version of automake, in my case automake1.11 which is far too old. + + -- Simon McVittie Fri, 27 Jan 2017 10:23:47 +0000 + +ostree (2016.15-3) unstable; urgency=medium + + * debian/control: Don't run gjs tests on sparc64. gjs doesn't seem + to work there at all (#827815) + - d/ostree-tests.lintian-overrides: silence + missing-dep-for-interpreter error on sparc64, where we install + the script but do not attempt to run it + * debian/tests/gnome-desktop-testing: Skip test-local-pull.sh.test + which suffers from a known bug (#842606) + - debian/tests/test-local-pull: Run the unreliable test separately, + repeated 3 times to assess how often it fails + * d/p/Sourced-test-snippets-remove-shebang-and-make-non-executa.patch, + d/p/Make-corrupt-repo-ref.js-executable.patch: + Fix permissions and #! lines for some tests in the upstream build + system + * d/rules: remove workarounds for script permissions. + The upstream build system now uses the intended permissions throughout. + - Retain explicit chmod for *.js, which dh_fixperms assumes should + not be executable. + * d/p/Fix-TAP-syntax-in-test-basic-user.sh-and-run-it.patch: + Run an additional test, which was previously installed but not run + + -- Simon McVittie Thu, 19 Jan 2017 13:23:32 +0000 + +ostree (2016.15-2) unstable; urgency=medium + + * Make all test failures non-fatal at build time, so that intermittent + test failures do not interfere with possible security updates during + Debian stretch-as-stable. + + -- Simon McVittie Tue, 20 Dec 2016 11:28:41 +0000 + +ostree (2016.15-1) unstable; urgency=medium + + * New upstream release + - d/patches: drop all patches, applied upstream + + -- Simon McVittie Tue, 13 Dec 2016 13:13:44 +0000 + +ostree (2016.14-2) unstable; urgency=medium + + * Make build-time test failures non-fatal, as long as at least + 3 out of 5 attempts succeed. + + There are several upstream bugs that cause intermittent test + failures, and can intermittently be reproduced in real use. + However, these are not regressions, so we should not FTBFS just + because we happen to have been unlucky during build. + + * d/p/Terminate-individual-tests-after-10-minutes.patch: + replace d/p/debian/Terminate-individual-tests-after-half-an-hour.patch + with the version that I sent upstream, which uses SIGABRT and + terminates the tests sooner + * d/p/*.patch: import more memory leak fixes from upstream + + -- Simon McVittie Thu, 01 Dec 2016 12:38:54 +0000 + +ostree (2016.14-1) unstable; urgency=medium + + * Switch the build-dependency on libgpgme11-dev (which no longer exists + as a real package) to libgpgme-dev + * Drop the version from versioned build-dependencies where the required + version was already present in oldstable + * New upstream release + - update symbols file for new ABI + * Import various post-release fixes from upstream + + -- Simon McVittie Tue, 29 Nov 2016 11:05:44 +0000 + +ostree (2016.13-1) unstable; urgency=medium + + * New upstream release + - d/p/dist/Retrieve-some-missing-test-files-from-upstream-git.patch: + remove, 2016.13 was released with a fixed "make dist" + - d/p/Filter-bootloader-supplied-kernel-cmdline-options.patch: + remove, merged upstream + * d/copyright: drop copyright and license stanzas for files that are + in upstream git but not in tarballs + + -- Simon McVittie Sun, 20 Nov 2016 21:58:11 +0000 + +ostree (2016.12-2) unstable; urgency=medium + + * d/p/Filter-bootloader-supplied-kernel-cmdline-options.patch: + - Filter out kernel command line parameters set by the bootloading when + deriving the configuration from /proc/cmdline. + * Add myself to uploaders + + -- Sjoerd Simons Thu, 03 Nov 2016 15:48:01 -0600 + +ostree (2016.12-1) unstable; urgency=medium + + * Force LC_ALL=C.UTF-8 during build, so that builds in non-English + locales can pass their build-time tests + * New upstream release + * Build-depend on ca-certificates. glib-networking now generates + warnings if those are missing, causing the build-time tests to fail. + + -- Simon McVittie Wed, 26 Oct 2016 19:11:14 +0100 + +ostree (2016.11-1) unstable; urgency=medium + + * New upstream release + * Relicense debian/ from GPL-2+ to LGPL-2+, with permission from + David King + * Install GObject-Introspection typelibs to multiarch path, + and mark gir1.2-ostree-1.0 as Multi-Arch: same + * libostree-dev: stop depending on ostree. It isn't necessary to + use the library, and would break multiarch installability + * Move to debhelper compat level 10 + - stop using dh --parallel, it's the default now + - don't use autoreconf and systemd addons explicitly, they are + the default now + * d/p/dist/Retrieve-some-missing-test-files-from-upstream-git.patch: + fetch missing test files from upstream git + - debian/rules: make the missing scripts executable + + -- Simon McVittie Fri, 07 Oct 2016 23:39:06 +0100 + +ostree (2016.10-1) unstable; urgency=medium + + * New upstream release + * Make libostree-dev Multi-Arch: same + * Make libostree-doc Multi-Arch: foreign + + -- Simon McVittie Thu, 15 Sep 2016 08:26:51 +0100 + +ostree (2016.9-2) unstable; urgency=medium + + * debian/patches/Terminate-individual-tests-after-half-an-hour.patch: + terminate individual tests after 30 minutes, in an attempt to debug + what happened on the ppc64el buildd + + -- Simon McVittie Fri, 09 Sep 2016 08:23:44 +0100 + +ostree (2016.9-1) unstable; urgency=medium + + * New upstream version + - update symbols file for new ABI + - update copyright file + - update ostree-boot packaging: the utilities in /usr/sbin moved to + /usr/lib/ostree + - drop libgsystem build-dependency + - d/p/Makefile-tests.am-make-check-uses-the-built-binaries.patch: + drop, applied upstream + * Explicitly build-depend on xsltproc, which is directly used + + -- Simon McVittie Tue, 06 Sep 2016 09:59:00 +0100 + +ostree (2016.7-1) unstable; urgency=medium + + * New upstream version + - drop all patches, applied upstream + - build-depend on libsystemd (unconditionally, because this package is + Linux-specific already) + - update symbols file for new ABI + * d/p/Makefile-tests.am-make-check-uses-the-built-binaries.patch: + add patch from upstream to make sure we use the built binaries for + build-time testing + * d/control: mention Flatpak, not its former name xdg-app + + -- Simon McVittie Thu, 28 Jul 2016 07:40:27 +0100 + +ostree (2016.6-4) unstable; urgency=medium + + * Switch sense of check in debian/test.sh so we really ignore test + failures on mipsel, and not on !mipsel. + + -- Simon McVittie Wed, 06 Jul 2016 15:23:31 +0100 + +ostree (2016.6-3) unstable; urgency=medium + + * Ignore build-time test failures on mipsel. "ostree pull" + intermittently fails with a bus error on at least some mipsel CPUs, + and applying gdb to the resulting core dump does not produce any + useful information. Debugging help would be appreciated. + (Mitigates: #827473) + + -- Simon McVittie Wed, 06 Jul 2016 10:17:43 +0100 + +ostree (2016.6-2) unstable; urgency=medium + + * d/p/tests-Improve-check-for-proc-cmdline-kargs.patch: add patch from + upstream fixing FTBFS on host machines without root= in /proc/cmdline, + such as the reproducible builds armhf workers + * d/control, d/copyright: use the GitHub repository as the Homepage + and Source: the GNOME wiki page is less frequently updated + + -- Simon McVittie Tue, 28 Jun 2016 09:29:53 +0100 + +ostree (2016.6-1) unstable; urgency=medium + + [ Jeremy Bicha ] + * Fix debian/watch (Closes: #827440) + + [ Simon McVittie ] + * New upstream release + - drop all patches, included upstream + - update symbols file + - this version is more careful about thread-safety, which appears + to fix the test failures that caused FTBFS on mipsel + (Closes: #827473) + * d/watch: fetch releases from GitHub instead of GNOME + * d/gbp.conf: configure to use upstream/latest for upstream imports + * d/gbp.conf: configure to merge upstream tags into upstream/latest + (add https://github.com/ostreedev/ostree as a remote) + * d/p/libostree.sym-Fix-test-symbols.patch: apply patch from upstream + to fix a build-time test + * d/p/pull-Correctly-handle-repo-parent_repo-when-applying-stat.patch: + apply patch from upstream to fix a bug that flatpak currently works + around + * d/p/tests-fail-the-build-if-symlinking-tests-ostree-fails.patch, + d/p/tests-use-our-own-generated-libtool-not-the-one-in-PATH.patch: + add patches to ensure that the build-time tests act on the copy + of ostree that we just built + * d/p/entry_pathname_test_helper-these-tests-need-extended-attr.patch: + skip more tests if /var/tmp doesn't support extended attributes + * d/control: ostree no longer needs its Suggests on dracut. A stronger + dependency on dracut will be needed in the ostree-boot package when + the boot integration is reinstated (see #824650). + + -- Simon McVittie Sun, 26 Jun 2016 19:51:31 +0100 + +ostree (2016.5-4) unstable; urgency=medium + + * d/p/test-sysroot.js-set-strict-mode-when-sourcing-libtest.sh.patch, + d/p/tests-Use-strict-mode-by-default-for-C-tests.patch: add patches + to make sure the tests fail as soon as something goes wrong + * Build-depend on procps, used to check for leaked processes + * debian/test.sh: factor out our dh_auto_test wrapper, and clean + up any stray processes even if the test fails + * If build-time tests fail, try 4 more times to get an idea of + whether the failure is reproducible (hoping to diagnose #826858) + * Add a patch to link libreaddir-rand to libdl, which should fix + test failures on Ubuntu (Closes: #826857) + + -- Simon McVittie Tue, 14 Jun 2016 15:35:18 -0400 + +ostree (2016.5-3) unstable; urgency=medium + + * Remove ostree-grub2 and the boot-related parts of ostree, leaving + the library and the command-line tool, which are also used by + Flatpak. + When we have documentation for how to use and test OSTree + deployments with a Debian derivative (see #824649), they should be + reinstated in an ostree-boot package (see #824650). + * Upload to unstable. + + -- Simon McVittie Wed, 08 Jun 2016 11:58:01 +0100 + +ostree (2016.5-2) experimental; urgency=medium + + * Add a patch to skip the test-parent test if /var/tmp doesn't support + user xattrs, hopefully fixing FTBFS on x86-csail-02 buildd + + -- Simon McVittie Mon, 25 Apr 2016 12:51:33 +0100 + +ostree (2016.5-1) experimental; urgency=medium + + * New upstream release + - Remove all patches, applied upstream + - debian/libostree-1-1.symbols: update for new versioned symbols + - Build-depend on libmount-dev + - debian/copyright: update + - debian/rules, debian/ostree-tests.install: adjust for new installation + directory for installed-tests + - debian/rules: use Debian's grub2-mkconfig path + * debian/gbp.conf: use DEP-14 branch names; disable numbered patches + * Fix ITP bug number in changelog (was #813308, should have been #697477) + * debian/control: build-depend on attr, for the tests (only required if + /var/tmp supports extended attributes) + * debian/rules: clean up stale gpg-agent processes after testing + * debian/rules: warn if there are leftover daemon processes after testing + * debian/ostree-tests.lintian-overrides: override a couple of false + positives + * Run dh_auto_test with VERBOSE=1, to get logs with older debhelper + * Build-depend on elfutils, for test-abi.sh + * Work around #821235 to avoid undefined macro 'AQ' in some man pages + * Add a patch to put more information in the log if tests fail, + in an attempt to debug a failure in test/pull-resume.sh which + I can no longer reproduce + * Standards-version: 3.9.8 (no changes needed) + + -- Simon McVittie Mon, 25 Apr 2016 07:46:16 +0100 + +ostree (2016.3-1) experimental; urgency=medium + + * Prepare package for Debian (Closes: #697477) + * New upstream release + * Remove -dbg package, rely on automatic dbgsym packages instead + * Extend package descriptions a bit + * debian/.gitignore: add + * debian/copyright: fill in all copyright holders and licenses + * debian/control: set Maintainer to the pkg-utopia team, with packaging + in collab-maint git, and myself and Matthias Klumpp as uploaders + * Normalize packaging via `wrap-and-sort -abst` + * debian/control: move shared library to Section: libs + * debian/control: remove redundant Section + * debian/control: change Section to admin + * Remove unnecessary uses of dh-exec + * debian/patches: remove all patches, no longer needed or applied + * Use dh_install --fail-missing to catch mistakes + * Add a symbols file + * Add missing dependency on libglib2.0-dev + * Add an ostree-tests package, and use it for autopkgtest + * Enable systemd helpers, but do not start the early-boot systemd services + on installation + * Don't override dh_auto_clean to nothing + * ostree-grub2: recommend concrete GRUB packages instead of hard-depending + on a transitional package. This is only a Recommends because you + could be using some other architecture's grub packages. + * Redirect libexecdir to /usr/lib (not /usr/lib/${multiarch}) since we don't + need multiarch for anything that's installed there, fixing a broken + symlink in ostree-grub2 + * Document the limited situations in which ostree-grub2 will work in + practice + * Only build on Linux architectures; this package is specifically + not portable + * Add patch to fix underlinking of test-archive + * Add patch to skip one build-time test if /var/tmp cannot support xattrs, + for example if it is on tmpfs + * Stop dh_makeshlibs thinking that the LD_PRELOAD module libreaddir-rand.so + (part of the tests) is meant to be a shared library + * Add a missing #!/bin/sh to one test + + -- Simon McVittie Sat, 19 Mar 2016 17:56:21 +0000 + +ostree (2016.1-alexlarsson1~wily1) wily; urgency=medium + + * New upstream release + + -- Alexander Larsson Thu, 01 Oct 2015 11:28:39 +0200 + +ostree (2015.11-alexlarsson1~vivid1) vivid; urgency=medium + + * New upstream release + + -- Alexander Larsson Thu, 01 Oct 2015 11:28:39 +0200 + +ostree (2015.9-alexlarsson1) vivid; urgency=medium + + * New upstream release + + -- Alexander Larsson Thu, 01 Oct 2015 11:28:39 +0200 + +ostree (2015.4-0amigadave2) trusty; urgency=low + + [ David King ] + * Add build dependency on libattr1-dev. + + -- David King Wed, 08 Apr 2015 13:10:39 +0100 + +ostree (2015.4-0amigadave1) trusty; urgency=low + + [ David King ] + * Initial packaging. + + -- David King Thu, 02 Apr 2015 15:40:52 +0000 diff --git a/compat b/compat new file mode 100644 index 00000000..f599e28b --- /dev/null +++ b/compat @@ -0,0 +1 @@ +10 diff --git a/control b/control new file mode 100644 index 00000000..dd35fbf1 --- /dev/null +++ b/control @@ -0,0 +1,169 @@ +Source: ostree +Section: admin +Priority: optional +Maintainer: Utopia Maintenance Team +Uploaders: + Matthias Klumpp , + Simon McVittie , + Sjoerd Simons +Build-Depends: + attr, + autoconf, + automake, + bison, + ca-certificates, + cpio, + debhelper (>= 10~), + dh-exec (>= 0.23~), + docbook-xml , + docbook-xsl , + e2fslibs-dev, + elfutils, + fuse, + gnupg , + gobject-introspection, + gtk-doc-tools , + libarchive-dev, + libattr1-dev, + libcap-dev, + libfuse-dev, + libgirepository1.0-dev, + libglib2.0-dev (>= 2.40.0), + libgpgme-dev, + liblzma-dev, + libmount-dev (>= 2.23), + libselinux1-dev, + libsoup2.4-dev (>= 2.39.1), + libsystemd-dev, + libtool, + procps, + python3 , + python3-yaml , + xsltproc , + zlib1g-dev, +Build-Depends-Indep: + libglib2.0-doc, +Rules-Requires-Root: no +Standards-Version: 4.1.3 +Homepage: https://github.com/ostreedev/ostree/ +Vcs-Git: https://salsa.debian.org/debian/ostree.git +Vcs-Browser: https://salsa.debian.org/debian/ostree + +Package: gir1.2-ostree-1.0 +Architecture: linux-any +Multi-Arch: same +Section: introspection +Depends: + ${gir:Depends}, + ${misc:Depends}, +Description: content-addressed filesystem for operating system binaries (introspection) + libostree provides a library and tools for managing bootable, immutable, + versioned filesystem trees. See the ostree package's description for + more details. + . + This package contains GObject-Introspection metadata, which can be used + to generate dynamic bindings into languages such as Python and JavaScript. + +Package: libostree-1-1 +Architecture: linux-any +Section: libs +Depends: + ${misc:Depends}, + ${shlibs:Depends}, +Pre-Depends: + ${misc:Pre-Depends}, +Breaks: + flatpak (<< 0.8.7-2~), +Multi-arch: same +Description: content-addressed filesystem for operating system binaries (library) + libostree is a library for managing bootable, immutable, versioned + filesystem trees. It is like git in that it checksums individual files + and has a content-addressed object store; unlike git, it "checks out" + the files using hardlinks into an immutable directory tree. This + can be used to provide atomic upgrades with rollback, history and + parallel-installation, particularly useful on "fixed purpose" systems + such as embedded devices. It is also used by the Flatpak application + runtime system. + . + This package contains the shared library. + +Package: libostree-dev +Architecture: linux-any +Multi-Arch: same +Section: libdevel +Depends: + gir1.2-ostree-1.0 (= ${binary:Version}), + libglib2.0-dev, + libostree-1-1 (= ${binary:Version}), + pkg-config, + ${misc:Depends}, +Suggests: + libostree-doc, +Description: Development files for the libostree library + libostree is a library for managing bootable, immutable, versioned + filesystem trees. It is like git in that it checksums individual files + and has a content-addressed object store; unlike git, it "checks out" + the files using hardlinks into an immutable directory tree. This + can be used to provide atomic upgrades with rollback, history and + parallel-installation, particularly useful on "fixed purpose" systems + such as embedded devices. It is also used by the Flatpak application + runtime system. + . + This package contains development headers and the pkg-config file for + libostree. + +Package: libostree-doc +Build-Profiles: +Architecture: all +Multi-Arch: foreign +Section: doc +Depends: + ${misc:Depends}, +Suggests: + devhelp, +Description: Development documentation for the libostree library + libostree provides a library and tools for managing bootable, immutable, + versioned filesystem trees. See the ostree package's description for + more details. + . + This package contains development documentation for libostree. + +Package: ostree +Architecture: linux-any +Depends: + ${misc:Depends}, + ${shlibs:Depends}, +Description: content-addressed filesystem for operating system binaries + libostree provides a library and tools for managing bootable, immutable, + versioned filesystem trees. It is like git in that it checksums + individual files and has a content-addressed object store; unlike git, + it "checks out" the files using hardlinks into an immutable directory + tree. This can be used to provide atomic upgrades with rollback, history + and parallel-installation, particularly useful on "fixed purpose" + systems such as embedded devices. + . + This package contains the executables used to manage and create + filesystem trees. It does not affect the boot process for the system + on which it is installed. + +Package: ostree-tests +Architecture: linux-any +Depends: + attr, + ca-certificates, + cpio, + fuse, + gir1.2-ostree-1.0, + gjs [!sparc64], + gnupg, + ostree, + python3, + python3-yaml, + ${misc:Depends}, + ${shlibs:Depends}, +Description: content-addressed filesystem for operating system binaries - tests + libostree provides a library and tools for managing bootable, immutable, + versioned filesystem trees. See the ostree package's description for + more details. + . + This package contains automated tests. diff --git a/copyright b/copyright new file mode 100644 index 00000000..56f3f06a --- /dev/null +++ b/copyright @@ -0,0 +1,578 @@ +Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ +Upstream-Name: libostree +Source: https://github.com/ostreedev/ostree/ + +Files: + * +Copyright: + © 1995-1997 Peter Mattis, Spencer Kimball and Josh MacDonald + © 1999-2000, 2002-2005 Free Software Foundation, Inc. + © 1999-2003 Ximian, Inc. + © 2008-2018 Red Hat, Inc + © 2011-2017 Colin Walters + © 2017 Georges Basile Stavracas Neto + © 2011 Avery Pennarun + © 2013 Collabora Ltd. + © 2013 Stef Walter + © 2013 Javier Martinez + © 2013 Jeremy Whiting + © 2013-2016 Sjoerd Simons + © 2014-2017 Alexander Larsson + © 2014 Owen Taylor + © 2015 Dan Nicholson + © 2015 Canonical Ltd. + © 2017 Endless Mobile, Inc. + © 2018 Matthew Leeds +License: LGPL-2+ + +Files: + README.md +Copyright: + unknown, assumed to be: + © 2008-2018 Red Hat, Inc. + © 2011-2017 Colin Walters +License: CC-BY-SA-3.0 or GFDL-1.3+ +Comment: + License grant: "The license for the *documentation* of libostree is: + SPDX-License-Identifier: (CC-BY-SA-3.0 OR GFDL-1.3-or-later)" (but note + that man pages and API documentation are built from source code that is + explicitly LGPL-2+) + . + This licensing applies to docs/* but that directory is not currently + present in tarball releases. + +Files: + libglnx/glnx-lockfile.* + libglnx/glnx-fdio.* + libglnx/glnx-missing-syscall.h + libglnx/glnx-missing.h + src/libotutil/ot-variant-builder.c +Copyright: + © 2007-2008 Ryan Lortie + © 2010-2011 Lennart Poettering + © 2010 Codethink Ltd. + © 2014-2015 Colin Walters + © 2016 Zbigniew Jędrzejewski-Szmek + © 2017 Alexander Larsson +License: LGPL-2.1+ + +Files: + src/libostree/ostree-varint.c +Copyright: + © 2008 Google Inc. + © 2013 Colin Walters +License: LGPL-2+ and BSD-3-clause + +Files: + buildutil/attributes.m4 +Copyright: + 2006-2008 Diego Pettenò + 2006-2008 xine project + 2012 Lucas De Marchi +License: GPL-2+ with Autoconf exception + +Files: + gtk-doc.make +Copyright: + 2003 James Henstridge + 2004-2007 Damon Chaplin + 2007-2017 Stefan Sauer +License: GPL-3+ + +Files: + buildutil/gtk-doc.m4 +Copyright: + 2003 James Henstridge + 2007-2017 Stefan Sauer +License: GPL-3+ with Autoconf exception + +Files: + bsdiff/* +Copyright: + © 2003-2005 Colin Percival + © 2012 Matthew Endsley +License: BSD-2-clause + +Files: debian/* +Copyright: + © 2015 David King + © 2016 Collabora Ltd. + © 2017 Simon McVittie +License: LGPL-2+ + +License: GFDL-1.3+ + On Debian systems, a copy of the GNU Free Documentation License, + version 1.3 can be found in /usr/share/common-licenses/GFDL-1.3. + +License: GPL-2+ with Autoconf exception + This program is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 2, or (at your option) + any later version. + . + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + . + You should have received a copy of the GNU General Public License + along with this program; if not, write to the Free Software + Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA + 02110-1301, USA. + . + As a special exception, the copyright owners of the + macro gives unlimited permission to copy, distribute and modify the + configure scripts that are the output of Autoconf when processing the + Macro. You need not follow the terms of the GNU General Public + License when using or distributing such scripts, even though portions + of the text of the Macro appear in them. The GNU General Public + License (GPL) does govern all other use of the material that + constitutes the Autoconf Macro. + . + This special exception to the GPL applies to versions of the + Autoconf Macro released by this project. When you make and + distribute a modified version of the Autoconf Macro, you may extend + this special exception to the GPL to apply to your modified version as + well. +Comment: + On Debian systems, the full text of the GNU General Public + License version 2 can be found in the file + '/usr/share/common-licenses/GPL-2'. + +License: GPL-3+ + This program is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 3 of the License, or + (at your option) any later version. + . + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + . + You should have received a copy of the GNU General Public License + along with this program. If not, see . +Comment: + On Debian systems, the full text of the GNU General Public + License version 3 can be found in the file + '/usr/share/common-licenses/GPL-3'. + +License: GPL-3+ with Autoconf exception + This program is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 3 of the License, or + (at your option) any later version. + . + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + . + You should have received a copy of the GNU General Public License + along with this program. If not, see . + . + As a special exception, the above copyright owner gives unlimited + permission to copy, distribute and modify the configure scripts that + are the output of Autoconf when processing the Macro. You need not + follow the terms of the GNU General Public License when using or + distributing such scripts, even though portions of the text of the + Macro appear in them. The GNU General Public License (GPL) does govern + all other use of the material that constitutes the Autoconf Macro. +Comment: + On Debian systems, the full text of the GNU General Public + License version 3 can be found in the file + '/usr/share/common-licenses/GPL-3'. + +License: LGPL-2+ + This program is free software: you can redistribute it and/or modify + it under the terms of the GNU Library General Public License as published by + the Free Software Foundation, either version 2 of the License, or + (at your option) any later version. + . + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU Library General Public License for more details. + . + You should have received a copy of the GNU Library General Public License + along with this program. If not, see . +Comment: + On Debian systems, the full text of the GNU Library General Public + License version 2 can be found in the file + '/usr/share/common-licenses/LGPL-2'. + +License: LGPL-2.1+ + This program is free software: you can redistribute it and/or modify + it under the terms of the GNU Lesser General Public License as published by + the Free Software Foundation, either version 2 of the License, or + (at your option) any later version. + . + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU Lesser General Public License for more details. + . + You should have received a copy of the GNU Lesser General Public License + along with this program. If not, see . +Comment: + On Debian systems, the full text of the GNU Lesser General Public + License version 2.1 can be found in the file + '/usr/share/common-licenses/LGPL-2.1'. + +License: BSD-2-clause + Redistribution and use in source and binary forms, with or without + modification, are permitted providing that the following conditions + are met: + 1. Redistributions of source code must retain the above copyright + notice, this list of conditions and the following disclaimer. + 2. Redistributions in binary form must reproduce the above copyright + notice, this list of conditions and the following disclaimer in the + documentation and/or other materials provided with the distribution. + . + THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR + IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED + WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE + ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY + DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL + DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS + OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) + HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, + STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING + IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE + POSSIBILITY OF SUCH DAMAGE. + +License: BSD-3-clause + Redistribution and use in source and binary forms, with or without + modification, are permitted provided that the following conditions are + met: + . + * Redistributions of source code must retain the above copyright + notice, this list of conditions and the following disclaimer. + * Redistributions in binary form must reproduce the above + copyright notice, this list of conditions and the following disclaimer + in the documentation and/or other materials provided with the + distribution. + * Neither the name of Google Inc. nor the names of its + contributors may be used to endorse or promote products derived from + this software without specific prior written permission. + . + THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS + "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT + LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR + A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT + OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, + SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT + LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, + DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY + THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT + (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE + OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + +License: CC-BY-SA-3.0 + Creative Commons Legal Code + =========================== + . + Attribution 3.0 Unported + ------------------------ + . + CREATIVE COMMONS CORPORATION IS NOT A LAW FIRM AND DOES NOT PROVIDE + LEGAL SERVICES. DISTRIBUTION OF THIS LICENSE DOES NOT CREATE AN + ATTORNEY-CLIENT RELATIONSHIP. CREATIVE COMMONS PROVIDES THIS + INFORMATION ON AN "AS-IS" BASIS. CREATIVE COMMONS MAKES NO WARRANTIES + REGARDING THE INFORMATION PROVIDED, AND DISCLAIMS LIABILITY FOR + DAMAGES RESULTING FROM ITS USE. + . + License + . + THE WORK (AS DEFINED BELOW) IS PROVIDED UNDER THE TERMS OF THIS CREATIVE + COMMONS PUBLIC LICENSE ("CCPL" OR "LICENSE"). THE WORK IS PROTECTED BY + COPYRIGHT AND/OR OTHER APPLICABLE LAW. ANY USE OF THE WORK OTHER THAN + AS AUTHORIZED UNDER THIS LICENSE OR COPYRIGHT LAW IS PROHIBITED. + . + BY EXERCISING ANY RIGHTS TO THE WORK PROVIDED HERE, YOU ACCEPT AND AGREE + TO BE BOUND BY THE TERMS OF THIS LICENSE. TO THE EXTENT THIS LICENSE + MAY BE CONSIDERED TO BE A CONTRACT, THE LICENSOR GRANTS YOU THE RIGHTS + CONTAINED HERE IN CONSIDERATION OF YOUR ACCEPTANCE OF SUCH TERMS AND + CONDITIONS. + . + 1. Definitions + . + a. "Adaptation" means a work based upon the Work, or upon the Work and + other pre-existing works, such as a translation, adaptation, derivative + work, arrangement of music or other alterations of a literary or artistic + work, or phonogram or performance and includes cinematographic adaptations + or any other form in which the Work may be recast, transformed, or adapted + including in any form recognizably derived from the original, except that + a work that constitutes a Collection will not be considered an Adaptation + for the purpose of this License. For the avoidance of doubt, where the + Work is a musical work, performance or phonogram, the synchronization + of the Work in timed-relation with a moving image ("synching") will be + considered an Adaptation for the purpose of this License. + b. "Collection" means a collection of literary or artistic works, + such as encyclopedias and anthologies, or performances, phonograms or + broadcasts, or other works or subject matter other than works listed in + Section 1(f) below, which, by reason of the selection and arrangement + of their contents, constitute intellectual creations, in which the Work + is included in its entirety in unmodified form along with one or more + other contributions, each constituting separate and independent works + in themselves, which together are assembled into a collective whole. A + work that constitutes a Collection will not be considered an Adaptation + (as defined above) for the purposes of this License. + c. "Distribute" means to make available to the public the original and + copies of the Work or Adaptation, as appropriate, through sale or other + transfer of ownership. + d. "Licensor" means the individual, individuals, entity or entities + that offer(s) the Work under the terms of this License. + e. "Original Author" means, in the case of a literary or artistic work, + the individual, individuals, entity or entities who created the Work or if + no individual or entity can be identified, the publisher; and in addition + (i) in the case of a performance the actors, singers, musicians, dancers, + and other persons who act, sing, deliver, declaim, play in, interpret or + otherwise perform literary or artistic works or expressions of folklore; + (ii) in the case of a phonogram the producer being the person or legal + entity who first fixes the sounds of a performance or other sounds; + and, (iii) in the case of broadcasts, the organization that transmits + the broadcast. + f. "Work" means the literary and/or artistic work offered under the + terms of this License including without limitation any production + in the literary, scientific and artistic domain, whatever may be the + mode or form of its expression including digital form, such as a book, + pamphlet and other writing; a lecture, address, sermon or other work of + the same nature; a dramatic or dramatico-musical work; a choreographic + work or entertainment in dumb show; a musical composition with or without + words; a cinematographic work to which are assimilated works expressed + by a process analogous to cinematography; a work of drawing, painting, + architecture, sculpture, engraving or lithography; a photographic + work to which are assimilated works expressed by a process analogous + to photography; a work of applied art; an illustration, map, plan, + sketch or three-dimensional work relative to geography, topography, + architecture or science; a performance; a broadcast; a phonogram; + a compilation of data to the extent it is protected as a copyrightable + work; or a work performed by a variety or circus performer to the extent + it is not otherwise considered a literary or artistic work. + g. "You" means an individual or entity exercising rights under this + License who has not previously violated the terms of this License + with respect to the Work, or who has received express permission from + the Licensor to exercise rights under this License despite a previous + violation. + h. "Publicly Perform" means to perform public recitations of the + Work and to communicate to the public those public recitations, by any + means or process, including by wire or wireless means or public digital + performances; to make available to the public Works in such a way that + members of the public may access these Works from a place and at a place + individually chosen by them; to perform the Work to the public by any + means or process and the communication to the public of the performances + of the Work, including by public digital performance; to broadcast and + rebroadcast the Work by any means including signs, sounds or images. + i. "Reproduce" means to make copies of the Work by any means including + without limitation by sound or visual recordings and the right of fixation + and reproducing fixations of the Work, including storage of a protected + performance or phonogram in digital form or other electronic medium. + . + 2. Fair Dealing Rights. Nothing in this License is intended to reduce, + limit, or restrict any uses free from copyright or rights arising from + limitations or exceptions that are provided for in connection with the + copyright protection under copyright law or other applicable laws. + . + 3. License Grant. Subject to the terms and conditions of this License, + Licensor hereby grants You a worldwide, royalty-free, non-exclusive, + perpetual (for the duration of the applicable copyright) license to + exercise the rights in the Work as stated below: + . + a. to Reproduce the Work, to incorporate the Work into one or more + Collections, and to Reproduce the Work as incorporated in the Collections; + b. to create and Reproduce Adaptations provided that any such Adaptation, + including any translation in any medium, takes reasonable steps to + clearly label, demarcate or otherwise identify that changes were made + to the original Work. For example, a translation could be marked "The + original work was translated from English to Spanish," or a modification + could indicate "The original work has been modified."; + c. to Distribute and Publicly Perform the Work including as incorporated + in Collections; and, + d. to Distribute and Publicly Perform Adaptations. + . + e. For the avoidance of doubt: + i. Non-waivable Compulsory License Schemes. In those jurisdictions + in which the right to collect royalties through any statutory or + compulsory licensing scheme cannot be waived, the Licensor reserves + the exclusive right to collect such royalties for any exercise by + You of the rights granted under this License; + ii. Waivable Compulsory License Schemes. In those jurisdictions + in which the right to collect royalties through any statutory or + compulsory licensing scheme can be waived, the Licensor waives the + exclusive right to collect such royalties for any exercise by You of + the rights granted under this License; and, + iii. Voluntary License Schemes. The Licensor waives the right to + collect royalties, whether individually or, in the event that the + Licensor is a member of a collecting society that administers voluntary + licensing schemes, via that society, from any exercise by You of the + rights granted under this License. + . + The above rights may be exercised in all media and formats whether now + known or hereafter devised. The above rights include the right to make + such modifications as are technically necessary to exercise the rights + in other media and formats. Subject to Section 8(f), all rights not + expressly granted by Licensor are hereby reserved. + . + 4. Restrictions. The license granted in Section 3 above is expressly + made subject to and limited by the following restrictions: + . + a. You may Distribute or Publicly Perform the Work only under the + terms of this License. You must include a copy of, or the Uniform + Resource Identifier (URI) for, this License with every copy of the + Work You Distribute or Publicly Perform. You may not offer or impose + any terms on the Work that restrict the terms of this License or the + ability of the recipient of the Work to exercise the rights granted to + that recipient under the terms of the License. You may not sublicense the + Work. You must keep intact all notices that refer to this License and to + the disclaimer of warranties with every copy of the Work You Distribute + or Publicly Perform. When You Distribute or Publicly Perform the Work, + You may not impose any effective technological measures on the Work that + restrict the ability of a recipient of the Work from You to exercise the + rights granted to that recipient under the terms of the License. This + Section 4(a) applies to the Work as incorporated in a Collection, but + this does not require the Collection apart from the Work itself to be + made subject to the terms of this License. If You create a Collection, + upon notice from any Licensor You must, to the extent practicable, + remove from the Collection any credit as required by Section 4(b), as + requested. If You create an Adaptation, upon notice from any Licensor + You must, to the extent practicable, remove from the Adaptation any + credit as required by Section 4(b), as requested. + b. If You Distribute, or Publicly Perform the Work or any Adaptations + or Collections, You must, unless a request has been made pursuant + to Section 4(a), keep intact all copyright notices for the Work and + provide, reasonable to the medium or means You are utilizing: (i) the + name of the Original Author (or pseudonym, if applicable) if supplied, + and/or if the Original Author and/or Licensor designate another party + or parties (e.g., a sponsor institute, publishing entity, journal) + for attribution ("Attribution Parties") in Licensor's copyright notice, + terms of service or by other reasonable means, the name of such party + or parties; (ii) the title of the Work if supplied; (iii) to the extent + reasonably practicable, the URI, if any, that Licensor specifies to be + associated with the Work, unless such URI does not refer to the copyright + notice or licensing information for the Work; and (iv) , consistent with + Section 3(b), in the case of an Adaptation, a credit identifying the + use of the Work in the Adaptation (e.g., "French translation of the Work + by Original Author," or "Screenplay based on original Work by Original + Author"). The credit required by this Section 4 (b) may be implemented in + any reasonable manner; provided, however, that in the case of a Adaptation + or Collection, at a minimum such credit will appear, if a credit for + all contributing authors of the Adaptation or Collection appears, then + as part of these credits and in a manner at least as prominent as the + credits for the other contributing authors. For the avoidance of doubt, + You may only use the credit required by this Section for the purpose of + attribution in the manner set out above and, by exercising Your rights + under this License, You may not implicitly or explicitly assert or imply + any connection with, sponsorship or endorsement by the Original Author, + Licensor and/or Attribution Parties, as appropriate, of You or Your use + of the Work, without the separate, express prior written permission of + the Original Author, Licensor and/or Attribution Parties. + c. Except as otherwise agreed in writing by the Licensor or as may be + otherwise permitted by applicable law, if You Reproduce, Distribute or + Publicly Perform the Work either by itself or as part of any Adaptations + or Collections, You must not distort, mutilate, modify or take other + derogatory action in relation to the Work which would be prejudicial to + the Original Author's honor or reputation. Licensor agrees that in those + jurisdictions (e.g. Japan), in which any exercise of the right granted + in Section 3(b) of this License (the right to make Adaptations) would be + deemed to be a distortion, mutilation, modification or other derogatory + action prejudicial to the Original Author's honor and reputation, the + Licensor will waive or not assert, as appropriate, this Section, to the + fullest extent permitted by the applicable national law, to enable You + to reasonably exercise Your right under Section 3(b) of this License + (right to make Adaptations) but not otherwise. + . + 5. Representations, Warranties and Disclaimer + . + UNLESS OTHERWISE MUTUALLY AGREED TO BY THE PARTIES IN WRITING, LICENSOR + OFFERS THE WORK AS-IS AND MAKES NO REPRESENTATIONS OR WARRANTIES OF ANY + KIND CONCERNING THE WORK, EXPRESS, IMPLIED, STATUTORY OR OTHERWISE, + INCLUDING, WITHOUT LIMITATION, WARRANTIES OF TITLE, MERCHANTIBILITY, + FITNESS FOR A PARTICULAR PURPOSE, NONINFRINGEMENT, OR THE ABSENCE OF + LATENT OR OTHER DEFECTS, ACCURACY, OR THE PRESENCE OF ABSENCE OF ERRORS, + WHETHER OR NOT DISCOVERABLE. SOME JURISDICTIONS DO NOT ALLOW THE EXCLUSION + OF IMPLIED WARRANTIES, SO SUCH EXCLUSION MAY NOT APPLY TO YOU. + . + 6. Limitation on Liability. EXCEPT TO THE EXTENT REQUIRED BY APPLICABLE + LAW, IN NO EVENT WILL LICENSOR BE LIABLE TO YOU ON ANY LEGAL THEORY FOR + ANY SPECIAL, INCIDENTAL, CONSEQUENTIAL, PUNITIVE OR EXEMPLARY DAMAGES + ARISING OUT OF THIS LICENSE OR THE USE OF THE WORK, EVEN IF LICENSOR + HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. + . + 7. Termination + . + a. This License and the rights granted hereunder will terminate + automatically upon any breach by You of the terms of this + License. Individuals or entities who have received Adaptations or + Collections from You under this License, however, will not have their + licenses terminated provided such individuals or entities remain in + full compliance with those licenses. Sections 1, 2, 5, 6, 7, and 8 will + survive any termination of this License. + b. Subject to the above terms and conditions, the license granted + here is perpetual (for the duration of the applicable copyright in the + Work). Notwithstanding the above, Licensor reserves the right to release + the Work under different license terms or to stop distributing the Work + at any time; provided, however that any such election will not serve to + withdraw this License (or any other license that has been, or is required + to be, granted under the terms of this License), and this License will + continue in full force and effect unless terminated as stated above. + . + 8. Miscellaneous + . + a. Each time You Distribute or Publicly Perform the Work or a Collection, + the Licensor offers to the recipient a license to the Work on the same + terms and conditions as the license granted to You under this License. + b. Each time You Distribute or Publicly Perform an Adaptation, Licensor + offers to the recipient a license to the original Work on the same terms + and conditions as the license granted to You under this License. + c. If any provision of this License is invalid or unenforceable under + applicable law, it shall not affect the validity or enforceability of + the remainder of the terms of this License, and without further action + by the parties to this agreement, such provision shall be reformed to + the minimum extent necessary to make such provision valid and enforceable. + d. No term or provision of this License shall be deemed waived and no + breach consented to unless such waiver or consent shall be in writing + and signed by the party to be charged with such waiver or consent. + e. This License constitutes the entire agreement between the parties + with respect to the Work licensed here. There are no understandings, + agreements or representations with respect to the Work not specified + here. Licensor shall not be bound by any additional provisions that may + appear in any communication from You. This License may not be modified + without the mutual written agreement of the Licensor and You. + f. The rights granted under, and the subject matter referenced, in this + License were drafted utilizing the terminology of the Berne Convention for + the Protection of Literary and Artistic Works (as amended on September 28, + 1979), the Rome Convention of 1961, the WIPO Copyright Treaty of 1996, + the WIPO Performances and Phonograms Treaty of 1996 and the Universal + Copyright Convention (as revised on July 24, 1971). These rights and + subject matter take effect in the relevant jurisdiction in which the + License terms are sought to be enforced according to the corresponding + provisions of the implementation of those treaty provisions in the + applicable national law. If the standard suite of rights granted under + applicable copyright law includes additional rights not granted under + this License, such additional rights are deemed to be included in the + License; this License is not intended to restrict the license of any + rights under applicable law. + . + Creative Commons Notice + . + Creative Commons is not a party to this License, and makes no + warranty whatsoever in connection with the Work. Creative Commons + will not be liable to You or any party on any legal theory for + any damages whatsoever, including without limitation any general, + special, incidental or consequential damages arising in connection + to this license. Notwithstanding the foregoing two (2) sentences, + if Creative Commons has expressly identified itself as the Licensor + hereunder, it shall have all rights and obligations of Licensor. + . + Except for the limited purpose of indicating to the public that the + Work is licensed under the CCPL, Creative Commons does not authorize + the use by either party of the trademark "Creative Commons" or any + related trademark or logo of Creative Commons without the prior + written consent of Creative Commons. Any permitted use will be + in compliance with Creative Commons' then-current trademark usage + guidelines, as may be published on its website or otherwise made + available upon request from time to time. For the avoidance of doubt, + this trademark restriction does not form part of this License. + . + Creative Commons may be contacted at https://creativecommons.org/. diff --git a/docs b/docs new file mode 100644 index 00000000..b43bf86b --- /dev/null +++ b/docs @@ -0,0 +1 @@ +README.md diff --git a/gbp.conf b/gbp.conf new file mode 100644 index 00000000..2bda9c8b --- /dev/null +++ b/gbp.conf @@ -0,0 +1,7 @@ +[DEFAULT] +pristine-tar = True +compression = xz +debian-branch = debian/master +upstream-branch = upstream/latest +patch-numbers = False +upstream-vcs-tag = v%(version)s diff --git a/gir1.2-ostree-1.0.install b/gir1.2-ostree-1.0.install new file mode 100644 index 00000000..49d71c96 --- /dev/null +++ b/gir1.2-ostree-1.0.install @@ -0,0 +1 @@ +usr/lib/*/girepository-1.0 diff --git a/libostree-1-1.install b/libostree-1-1.install new file mode 100644 index 00000000..989a3850 --- /dev/null +++ b/libostree-1-1.install @@ -0,0 +1 @@ +usr/lib/*/libostree-1.so.* diff --git a/libostree-1-1.symbols b/libostree-1-1.symbols new file mode 100644 index 00000000..0e02f5ee --- /dev/null +++ b/libostree-1-1.symbols @@ -0,0 +1,356 @@ +libostree-1.so.1 libostree-1-1 #MINVER# +* Build-Depends-Package: libostree-dev + LIBOSTREE_2016.3@LIBOSTREE_2016.3 2016.4 + LIBOSTREE_2016.4@LIBOSTREE_2016.4 2016.4 + LIBOSTREE_2016.5@LIBOSTREE_2016.5 2016.5 + LIBOSTREE_2016.6@LIBOSTREE_2016.6 2016.6 + LIBOSTREE_2016.7@LIBOSTREE_2016.7 2016.7 + LIBOSTREE_2016.8@LIBOSTREE_2016.8 2016.8 + LIBOSTREE_2016.14@LIBOSTREE_2016.14 2016.14 + LIBOSTREE_2017.1@LIBOSTREE_2017.1 2017.1 + LIBOSTREE_2017.2@LIBOSTREE_2017.2 2017.2 + LIBOSTREE_2017.3@LIBOSTREE_2017.3 2017.3 + LIBOSTREE_2017.4@LIBOSTREE_2017.4 2017.4 + LIBOSTREE_2017.6@LIBOSTREE_2017.6 2017.6 + LIBOSTREE_2017.7@LIBOSTREE_2017.7 2017.7 + LIBOSTREE_2017.8@LIBOSTREE_2017.8 2017.8 + LIBOSTREE_2017.9@LIBOSTREE_2017.9 2017.9 + LIBOSTREE_2017.10@LIBOSTREE_2017.10 2017.10 + LIBOSTREE_2017.11@LIBOSTREE_2017.11 2017.11 + LIBOSTREE_2017.12@LIBOSTREE_2017.12 2017.12 + LIBOSTREE_2017.13@LIBOSTREE_2017.13 2017.13 + LIBOSTREE_2017.14@LIBOSTREE_2017.14 2017.14 + LIBOSTREE_2017.15@LIBOSTREE_2017.15 2017.15 + LIBOSTREE_2018.1@LIBOSTREE_2018.1 2018.1 + LIBOSTREE_2018.2@LIBOSTREE_2018.2 2018.2 + ostree_async_progress_finish@LIBOSTREE_2016.3 2016.4 + ostree_async_progress_get@LIBOSTREE_2017.6 2017.6 + ostree_async_progress_get_status@LIBOSTREE_2016.3 2016.4 + ostree_async_progress_get_type@LIBOSTREE_2016.3 2016.4 + ostree_async_progress_get_uint64@LIBOSTREE_2016.3 2016.4 + ostree_async_progress_get_uint@LIBOSTREE_2016.3 2016.4 + ostree_async_progress_get_variant@LIBOSTREE_2017.6 2017.6 + ostree_async_progress_new@LIBOSTREE_2016.3 2016.4 + ostree_async_progress_new_and_connect@LIBOSTREE_2016.3 2016.4 + ostree_async_progress_set@LIBOSTREE_2017.6 2017.6 + ostree_async_progress_set_status@LIBOSTREE_2016.3 2016.4 + ostree_async_progress_set_uint64@LIBOSTREE_2016.3 2016.4 + ostree_async_progress_set_uint@LIBOSTREE_2016.3 2016.4 + ostree_async_progress_set_variant@LIBOSTREE_2017.6 2017.6 + ostree_bootconfig_parser_clone@LIBOSTREE_2016.3 2016.4 + ostree_bootconfig_parser_get@LIBOSTREE_2016.3 2016.4 + ostree_bootconfig_parser_get_type@LIBOSTREE_2016.3 2016.4 + ostree_bootconfig_parser_new@LIBOSTREE_2016.3 2016.4 + ostree_bootconfig_parser_parse@LIBOSTREE_2016.3 2016.4 + ostree_bootconfig_parser_parse_at@LIBOSTREE_2016.3 2016.4 + ostree_bootconfig_parser_set@LIBOSTREE_2016.3 2016.4 + ostree_bootconfig_parser_write@LIBOSTREE_2016.3 2016.4 + ostree_bootconfig_parser_write_at@LIBOSTREE_2016.3 2016.4 + ostree_break_hardlink@LIBOSTREE_2017.15 2017.15 + ostree_chain_input_stream_get_type@LIBOSTREE_2016.3 2016.4 + ostree_chain_input_stream_new@LIBOSTREE_2016.3 2016.4 + ostree_check_version@LIBOSTREE_2017.4 2017.4 + ostree_checksum_b64_from_bytes@LIBOSTREE_2016.8 2016.8 + ostree_checksum_b64_inplace_from_bytes@LIBOSTREE_2016.3 2016.4 + ostree_checksum_b64_inplace_to_bytes@LIBOSTREE_2016.3 2016.4 + ostree_checksum_b64_to_bytes@LIBOSTREE_2016.8 2016.8 + ostree_checksum_bytes_peek@LIBOSTREE_2016.3 2016.4 + ostree_checksum_bytes_peek_validate@LIBOSTREE_2016.3 2016.4 + ostree_checksum_file@LIBOSTREE_2016.3 2016.4 + ostree_checksum_file_async@LIBOSTREE_2016.3 2016.4 + ostree_checksum_file_at@LIBOSTREE_2017.13 2017.13 + ostree_checksum_file_async_finish@LIBOSTREE_2016.3 2016.4 + ostree_checksum_file_from_input@LIBOSTREE_2016.3 2016.4 + ostree_checksum_from_bytes@LIBOSTREE_2016.3 2016.4 + ostree_checksum_from_bytes_v@LIBOSTREE_2016.3 2016.4 + ostree_checksum_inplace_from_bytes@LIBOSTREE_2016.3 2016.4 + ostree_checksum_inplace_to_bytes@LIBOSTREE_2016.3 2016.4 + ostree_checksum_input_stream_get_type@LIBOSTREE_2016.3 2016.4 + ostree_checksum_input_stream_new@LIBOSTREE_2016.3 2016.4 + ostree_checksum_to_bytes@LIBOSTREE_2016.3 2016.4 + ostree_checksum_to_bytes_v@LIBOSTREE_2016.3 2016.4 + ostree_cmd__private__@LIBOSTREE_2016.3 2016.4 + ostree_cmp_checksum_bytes@LIBOSTREE_2016.3 2016.4 + ostree_commit_get_content_checksum@LIBOSTREE_2018.2 2018.2 + ostree_commit_get_parent@LIBOSTREE_2016.3 2016.4 + ostree_commit_get_timestamp@LIBOSTREE_2016.3 2016.4 + ostree_content_file_parse@LIBOSTREE_2016.3 2016.4 + ostree_content_file_parse_at@LIBOSTREE_2016.3 2016.4 + ostree_content_stream_parse@LIBOSTREE_2016.3 2016.4 + ostree_create_directory_metadata@LIBOSTREE_2016.3 2016.4 + ostree_deployment_clone@LIBOSTREE_2016.3 2016.4 + ostree_deployment_equal@LIBOSTREE_2016.3 2016.4 + ostree_deployment_get_bootconfig@LIBOSTREE_2016.3 2016.4 + ostree_deployment_get_bootcsum@LIBOSTREE_2016.3 2016.4 + ostree_deployment_get_bootserial@LIBOSTREE_2016.3 2016.4 + ostree_deployment_get_csum@LIBOSTREE_2016.3 2016.4 + ostree_deployment_get_deployserial@LIBOSTREE_2016.3 2016.4 + ostree_deployment_get_index@LIBOSTREE_2016.3 2016.4 + ostree_deployment_get_origin@LIBOSTREE_2016.3 2016.4 + ostree_deployment_get_origin_relpath@LIBOSTREE_2016.3 2016.4 + ostree_deployment_get_osname@LIBOSTREE_2016.3 2016.4 + ostree_deployment_get_type@LIBOSTREE_2016.3 2016.4 + ostree_deployment_get_unlocked@LIBOSTREE_2016.4 2016.4 + ostree_deployment_hash@LIBOSTREE_2016.3 2016.4 + ostree_deployment_new@LIBOSTREE_2016.3 2016.4 + ostree_deployment_set_bootconfig@LIBOSTREE_2016.3 2016.4 + ostree_deployment_set_bootserial@LIBOSTREE_2016.3 2016.4 + ostree_deployment_set_index@LIBOSTREE_2016.3 2016.4 + ostree_deployment_set_origin@LIBOSTREE_2016.3 2016.4 + ostree_deployment_unlocked_state_to_string@LIBOSTREE_2016.4 2016.4 + ostree_diff_dirs@LIBOSTREE_2016.3 2016.4 + ostree_diff_dirs_with_options@LIBOSTREE_2017.4 2017.4 + ostree_diff_item_get_type@LIBOSTREE_2016.3 2016.4 + ostree_diff_item_ref@LIBOSTREE_2016.3 2016.4 + ostree_diff_item_unref@LIBOSTREE_2016.3 2016.4 + ostree_diff_print@LIBOSTREE_2016.3 2016.4 + ostree_fetcher_config_flags_get_type@LIBOSTREE_2016.3 2016.4 + ostree_gpg_error_quark@LIBOSTREE_2017.10 2017.10 + ostree_gpg_verify_result_count_all@LIBOSTREE_2016.3 2016.4 + ostree_gpg_verify_result_count_valid@LIBOSTREE_2016.3 2016.4 + ostree_gpg_verify_result_describe@LIBOSTREE_2016.3 2016.4 + ostree_gpg_verify_result_describe_variant@LIBOSTREE_2016.3 2016.4 + ostree_gpg_verify_result_get@LIBOSTREE_2016.3 2016.4 + ostree_gpg_verify_result_get_all@LIBOSTREE_2016.3 2016.4 + ostree_gpg_verify_result_get_type@LIBOSTREE_2016.3 2016.4 + ostree_gpg_verify_result_lookup@LIBOSTREE_2016.3 2016.4 + ostree_gpg_verify_result_require_valid_signature@LIBOSTREE_2016.6 2016.6 + ostree_hash_object_name@LIBOSTREE_2016.3 2016.4 + ostree_metadata_variant_type@LIBOSTREE_2016.3 2016.4 + ostree_mutable_tree_ensure_dir@LIBOSTREE_2016.3 2016.4 + ostree_mutable_tree_ensure_parent_dirs@LIBOSTREE_2016.3 2016.4 + ostree_mutable_tree_get_contents_checksum@LIBOSTREE_2016.3 2016.4 + ostree_mutable_tree_get_files@LIBOSTREE_2016.3 2016.4 + ostree_mutable_tree_get_metadata_checksum@LIBOSTREE_2016.3 2016.4 + ostree_mutable_tree_get_subdirs@LIBOSTREE_2016.3 2016.4 + ostree_mutable_tree_get_type@LIBOSTREE_2016.3 2016.4 + ostree_mutable_tree_lookup@LIBOSTREE_2016.3 2016.4 + ostree_mutable_tree_new@LIBOSTREE_2016.3 2016.4 + ostree_mutable_tree_replace_file@LIBOSTREE_2016.3 2016.4 + ostree_mutable_tree_set_contents_checksum@LIBOSTREE_2016.3 2016.4 + ostree_mutable_tree_set_metadata_checksum@LIBOSTREE_2016.3 2016.4 + ostree_mutable_tree_walk@LIBOSTREE_2016.3 2016.4 + ostree_object_from_string@LIBOSTREE_2016.3 2016.4 + ostree_object_name_deserialize@LIBOSTREE_2016.3 2016.4 + ostree_object_name_serialize@LIBOSTREE_2016.3 2016.4 + ostree_object_to_string@LIBOSTREE_2016.3 2016.4 + ostree_object_type_from_string@LIBOSTREE_2016.3 2016.4 + ostree_object_type_to_string@LIBOSTREE_2016.3 2016.4 + ostree_parse_refspec@LIBOSTREE_2016.3 2016.4 + ostree_raw_file_to_archive_z2_stream@LIBOSTREE_2016.6 2016.6 + ostree_raw_file_to_archive_z2_stream_with_options@LIBOSTREE_2017.3 2017.3 + ostree_raw_file_to_content_stream@LIBOSTREE_2016.3 2016.4 + ostree_repo_abort_transaction@LIBOSTREE_2016.3 2016.4 + ostree_repo_add_gpg_signature_summary@LIBOSTREE_2016.3 2016.4 + ostree_repo_append_gpg_signature@LIBOSTREE_2016.3 2016.4 + ostree_repo_checkout_at@LIBOSTREE_2016.8 2016.8 + ostree_repo_checkout_at_options_set_devino@LIBOSTREE_2017.13 2017.13 + ostree_repo_checkout_gc@LIBOSTREE_2016.3 2016.4 + ostree_repo_checkout_tree@LIBOSTREE_2016.3 2016.4 + ostree_repo_checkout_tree_at@LIBOSTREE_2016.3 2016.4 + ostree_repo_commit_modifier_get_type@LIBOSTREE_2016.3 2016.4 + ostree_repo_commit_modifier_new@LIBOSTREE_2016.3 2016.4 + ostree_repo_commit_modifier_ref@LIBOSTREE_2016.3 2016.4 + ostree_repo_commit_modifier_set_devino_cache@LIBOSTREE_2016.3 2016.4 + ostree_repo_commit_modifier_set_sepolicy@LIBOSTREE_2016.3 2016.4 + ostree_repo_commit_modifier_set_xattr_callback@LIBOSTREE_2016.3 2016.4 + ostree_repo_commit_modifier_unref@LIBOSTREE_2016.3 2016.4 + ostree_repo_commit_transaction@LIBOSTREE_2016.3 2016.4 + ostree_repo_commit_traverse_iter_cleanup@LIBOSTREE_2016.3 2016.4 + ostree_repo_commit_traverse_iter_clear@LIBOSTREE_2016.3 2016.4 + ostree_repo_commit_traverse_iter_get_dir@LIBOSTREE_2016.3 2016.4 + ostree_repo_commit_traverse_iter_get_file@LIBOSTREE_2016.3 2016.4 + ostree_repo_commit_traverse_iter_init_commit@LIBOSTREE_2016.3 2016.4 + ostree_repo_commit_traverse_iter_init_dirtree@LIBOSTREE_2016.3 2016.4 + ostree_repo_commit_traverse_iter_next@LIBOSTREE_2016.3 2016.4 + ostree_repo_copy_config@LIBOSTREE_2016.3 2016.4 + ostree_repo_create@LIBOSTREE_2016.3 2016.4 + ostree_repo_create_at@LIBOSTREE_2017.10 2017.10 + ostree_repo_delete_object@LIBOSTREE_2016.3 2016.4 + ostree_repo_devino_cache_get_type@LIBOSTREE_2016.3 2016.4 + ostree_repo_devino_cache_new@LIBOSTREE_2016.3 2016.4 + ostree_repo_devino_cache_ref@LIBOSTREE_2016.3 2016.4 + ostree_repo_devino_cache_unref@LIBOSTREE_2016.3 2016.4 + ostree_repo_equal@LIBOSTREE_2017.12 2017.12 + ostree_repo_export_tree_to_archive@LIBOSTREE_2016.3 2016.3 + ostree_repo_file_ensure_resolved@LIBOSTREE_2016.3 2016.4 + ostree_repo_file_get_checksum@LIBOSTREE_2016.3 2016.4 + ostree_repo_file_get_repo@LIBOSTREE_2016.3 2016.4 + ostree_repo_file_get_root@LIBOSTREE_2016.3 2016.4 + ostree_repo_file_get_type@LIBOSTREE_2016.3 2016.4 + ostree_repo_file_get_xattrs@LIBOSTREE_2016.3 2016.4 + ostree_repo_file_tree_find_child@LIBOSTREE_2016.3 2016.4 + ostree_repo_file_tree_get_contents@LIBOSTREE_2016.3 2016.4 + ostree_repo_file_tree_get_contents_checksum@LIBOSTREE_2016.3 2016.4 + ostree_repo_file_tree_get_metadata@LIBOSTREE_2016.3 2016.4 + ostree_repo_file_tree_get_metadata_checksum@LIBOSTREE_2016.3 2016.4 + ostree_repo_file_tree_query_child@LIBOSTREE_2016.3 2016.4 + ostree_repo_file_tree_set_metadata@LIBOSTREE_2016.3 2016.4 + ostree_repo_fsck_object@LIBOSTREE_2017.15 2017.15 + ostree_repo_get_config@LIBOSTREE_2016.3 2016.4 + ostree_repo_get_dfd@LIBOSTREE_2016.4 2016.4 + ostree_repo_get_disable_fsync@LIBOSTREE_2016.3 2016.3 + ostree_repo_get_mode@LIBOSTREE_2016.3 2016.4 + ostree_repo_get_parent@LIBOSTREE_2016.3 2016.4 + ostree_repo_get_path@LIBOSTREE_2016.3 2016.4 + ostree_repo_get_remote_boolean_option@LIBOSTREE_2016.5 2016.5 + ostree_repo_get_remote_list_option@LIBOSTREE_2016.5 2016.5 + ostree_repo_get_remote_option@LIBOSTREE_2016.5 2016.5 + ostree_repo_get_type@LIBOSTREE_2016.3 2016.4 + ostree_repo_gpg_verify_data@LIBOSTREE_2016.6 2016.6 + ostree_repo_has_object@LIBOSTREE_2016.3 2016.4 + ostree_repo_hash@LIBOSTREE_2017.12 2017.12 + ostree_repo_import_archive_to_mtree@LIBOSTREE_2016.3 2016.3 + ostree_repo_import_object_from@LIBOSTREE_2016.3 2016.4 + ostree_repo_import_object_from_with_trust@LIBOSTREE_2016.5 2016.5 + ostree_repo_is_system@LIBOSTREE_2016.3 2016.4 + ostree_repo_is_writable@LIBOSTREE_2016.3 2016.4 + ostree_repo_list_commit_objects_starting_with@LIBOSTREE_2016.3 2016.4 + ostree_repo_list_objects@LIBOSTREE_2016.3 2016.4 + ostree_repo_list_refs@LIBOSTREE_2016.3 2016.4 + ostree_repo_list_refs_ext@LIBOSTREE_2016.4 2016.4 + ostree_repo_list_static_delta_names@LIBOSTREE_2016.3 2016.4 + ostree_repo_load_commit@LIBOSTREE_2016.3 2016.4 + ostree_repo_load_file@LIBOSTREE_2016.3 2016.4 + ostree_repo_load_object_stream@LIBOSTREE_2016.3 2016.4 + ostree_repo_load_variant@LIBOSTREE_2016.3 2016.4 + ostree_repo_load_variant_if_exists@LIBOSTREE_2016.3 2016.4 + ostree_repo_mark_commit_partial@LIBOSTREE_2017.15 2017.15 + ostree_repo_mode_from_string@LIBOSTREE_2016.3 2016.4 + ostree_repo_new@LIBOSTREE_2016.3 2016.4 + ostree_repo_new_default@LIBOSTREE_2016.3 2016.4 + ostree_repo_new_for_sysroot_path@LIBOSTREE_2016.3 2016.4 + ostree_repo_open@LIBOSTREE_2016.3 2016.4 + ostree_repo_open_at@LIBOSTREE_2017.10 2017.10 + ostree_repo_prepare_transaction@LIBOSTREE_2016.3 2016.4 + ostree_repo_prune@LIBOSTREE_2016.3 2016.4 + ostree_repo_prune_from_reachable@LIBOSTREE_2017.1 2017.1 + ostree_repo_prune_static_deltas@LIBOSTREE_2016.3 2016.4 + ostree_repo_pull@LIBOSTREE_2016.3 2016.4 + ostree_repo_pull_default_console_progress_changed@LIBOSTREE_2016.3 2016.4 + ostree_repo_pull_one_dir@LIBOSTREE_2016.3 2016.4 + ostree_repo_pull_with_options@LIBOSTREE_2016.3 2016.4 + ostree_repo_query_object_storage_size@LIBOSTREE_2016.3 2016.4 + ostree_repo_read_commit@LIBOSTREE_2016.3 2016.4 + ostree_repo_read_commit_detached_metadata@LIBOSTREE_2016.3 2016.4 + ostree_repo_regenerate_summary@LIBOSTREE_2016.3 2016.4 + ostree_repo_reload_config@LIBOSTREE_2017.2 2017.2 + ostree_repo_remote_add@LIBOSTREE_2016.3 2016.4 + ostree_repo_remote_change@LIBOSTREE_2016.3 2016.4 + ostree_repo_remote_delete@LIBOSTREE_2016.3 2016.4 + ostree_repo_remote_fetch_summary@LIBOSTREE_2016.3 2016.4 + ostree_repo_remote_fetch_summary_with_options@LIBOSTREE_2016.6 2016.6 + ostree_repo_remote_get_gpg_verify@LIBOSTREE_2016.3 2016.4 + ostree_repo_remote_get_gpg_verify_summary@LIBOSTREE_2016.3 2016.4 + ostree_repo_remote_get_url@LIBOSTREE_2016.3 2016.4 + ostree_repo_remote_gpg_import@LIBOSTREE_2016.3 2016.4 + ostree_repo_remote_list@LIBOSTREE_2016.3 2016.4 + ostree_repo_remote_list_refs@LIBOSTREE_2016.3 2016.4 + ostree_repo_resolve_rev@LIBOSTREE_2016.3 2016.4 + ostree_repo_resolve_rev_ext@LIBOSTREE_2016.7 2016.7 + ostree_repo_scan_hardlinks@LIBOSTREE_2016.3 2016.4 + ostree_repo_set_alias_ref_immediate@LIBOSTREE_2017.10 2017.10 + ostree_repo_set_cache_dir@LIBOSTREE_2016.5 2016.5 + ostree_repo_set_disable_fsync@LIBOSTREE_2016.3 2016.4 + ostree_repo_set_ref_immediate@LIBOSTREE_2016.3 2016.4 + ostree_repo_sign_commit@LIBOSTREE_2016.3 2016.4 + ostree_repo_sign_delta@LIBOSTREE_2016.3 2016.4 + ostree_repo_static_delta_execute_offline@LIBOSTREE_2016.3 2016.4 + ostree_repo_static_delta_generate@LIBOSTREE_2016.3 2016.4 + ostree_repo_transaction_set_ref@LIBOSTREE_2016.3 2016.4 + ostree_repo_transaction_set_refspec@LIBOSTREE_2016.3 2016.4 + ostree_repo_transaction_stats_get_type@LIBOSTREE_2016.3 2016.4 + ostree_repo_traverse_commit@LIBOSTREE_2016.3 2016.4 + ostree_repo_traverse_commit_union@LIBOSTREE_2016.3 2016.4 + ostree_repo_traverse_new_reachable@LIBOSTREE_2016.3 2016.4 + ostree_repo_verify_commit@LIBOSTREE_2016.3 2016.4 + ostree_repo_verify_commit_ext@LIBOSTREE_2016.3 2016.4 + ostree_repo_verify_commit_for_remote@LIBOSTREE_2016.14 2016.14 + ostree_repo_verify_summary@LIBOSTREE_2016.3 2016.4 + ostree_repo_write_archive_to_mtree@LIBOSTREE_2016.3 2016.4 + ostree_repo_write_commit@LIBOSTREE_2016.3 2016.4 + ostree_repo_write_commit_detached_metadata@LIBOSTREE_2016.3 2016.4 + ostree_repo_write_commit_with_time@LIBOSTREE_2016.3 2016.4 + ostree_repo_write_config@LIBOSTREE_2016.3 2016.4 + ostree_repo_write_content@LIBOSTREE_2016.3 2016.4 + ostree_repo_write_content_async@LIBOSTREE_2016.3 2016.4 + ostree_repo_write_content_finish@LIBOSTREE_2016.3 2016.4 + ostree_repo_write_content_trusted@LIBOSTREE_2016.3 2016.4 + ostree_repo_write_dfd_to_mtree@LIBOSTREE_2016.3 2016.4 + ostree_repo_write_directory_to_mtree@LIBOSTREE_2016.3 2016.4 + ostree_repo_write_metadata@LIBOSTREE_2016.3 2016.4 + ostree_repo_write_metadata_async@LIBOSTREE_2016.3 2016.4 + ostree_repo_write_metadata_finish@LIBOSTREE_2016.3 2016.4 + ostree_repo_write_metadata_stream_trusted@LIBOSTREE_2016.3 2016.4 + ostree_repo_write_metadata_trusted@LIBOSTREE_2016.3 2016.4 + ostree_repo_write_mtree@LIBOSTREE_2016.3 2016.4 + ostree_sepolicy_fscreatecon_cleanup@LIBOSTREE_2016.3 2016.4 + ostree_sepolicy_get_csum@LIBOSTREE_2016.5 2016.5 + ostree_sepolicy_get_label@LIBOSTREE_2016.3 2016.4 + ostree_sepolicy_get_name@LIBOSTREE_2016.3 2016.4 + ostree_sepolicy_get_path@LIBOSTREE_2016.3 2016.4 + ostree_sepolicy_get_type@LIBOSTREE_2016.3 2016.4 + ostree_sepolicy_new@LIBOSTREE_2016.3 2016.4 + ostree_sepolicy_new_at@LIBOSTREE_2017.4 2017.4 + ostree_sepolicy_restorecon@LIBOSTREE_2016.3 2016.4 + ostree_sepolicy_setfscreatecon@LIBOSTREE_2016.3 2016.4 + ostree_sysroot_cleanup@LIBOSTREE_2016.3 2016.4 + ostree_sysroot_deploy_tree@LIBOSTREE_2016.3 2016.4 + ostree_sysroot_deployment_set_kargs@LIBOSTREE_2016.3 2016.4 + ostree_sysroot_deployment_set_mutable@LIBOSTREE_2016.3 2016.4 + ostree_sysroot_deployment_unlock@LIBOSTREE_2016.4 2016.4 + ostree_sysroot_ensure_initialized@LIBOSTREE_2016.3 2016.4 + ostree_sysroot_get_booted_deployment@LIBOSTREE_2016.3 2016.4 + ostree_sysroot_get_bootversion@LIBOSTREE_2016.3 2016.4 + ostree_sysroot_get_deployment_directory@LIBOSTREE_2016.3 2016.4 + ostree_sysroot_get_deployment_dirpath@LIBOSTREE_2016.3 2016.4 + ostree_sysroot_get_deployment_origin_path@LIBOSTREE_2016.3 2016.4 + ostree_sysroot_get_deployments@LIBOSTREE_2016.3 2016.4 + ostree_sysroot_get_fd@LIBOSTREE_2016.3 2016.4 + ostree_sysroot_get_merge_deployment@LIBOSTREE_2016.3 2016.4 + ostree_sysroot_get_path@LIBOSTREE_2016.3 2016.4 + ostree_sysroot_get_repo@LIBOSTREE_2016.3 2016.4 + ostree_sysroot_get_subbootversion@LIBOSTREE_2016.3 2016.4 + ostree_sysroot_get_type@LIBOSTREE_2016.3 2016.4 + ostree_sysroot_init_osname@LIBOSTREE_2016.4 2016.4 + ostree_sysroot_load@LIBOSTREE_2016.3 2016.4 + ostree_sysroot_load_if_changed@LIBOSTREE_2016.4 2016.4 + ostree_sysroot_lock@LIBOSTREE_2016.3 2016.4 + ostree_sysroot_lock_async@LIBOSTREE_2016.3 2016.4 + ostree_sysroot_lock_finish@LIBOSTREE_2016.3 2016.4 + ostree_sysroot_new@LIBOSTREE_2016.3 2016.4 + ostree_sysroot_new_default@LIBOSTREE_2016.3 2016.4 + ostree_sysroot_origin_new_from_refspec@LIBOSTREE_2016.3 2016.4 + ostree_sysroot_prepare_cleanup@LIBOSTREE_2016.3 2016.4 + ostree_sysroot_query_deployments_for@LIBOSTREE_2017.7 2017.7 + ostree_sysroot_repo@LIBOSTREE_2017.7 2017.7 + ostree_sysroot_simple_write_deployment@LIBOSTREE_2016.3 2016.4 + ostree_sysroot_try_lock@LIBOSTREE_2016.3 2016.4 + ostree_sysroot_unload@LIBOSTREE_2016.3 2016.4 + ostree_sysroot_unlock@LIBOSTREE_2016.3 2016.4 + ostree_sysroot_upgrader_check_timestamps@LIBOSTREE_2016.3 2016.4 + ostree_sysroot_upgrader_deploy@LIBOSTREE_2016.3 2016.4 + ostree_sysroot_upgrader_dup_origin@LIBOSTREE_2016.3 2016.4 + ostree_sysroot_upgrader_flags_get_type@LIBOSTREE_2016.3 2016.4 + ostree_sysroot_upgrader_get_origin@LIBOSTREE_2016.3 2016.4 + ostree_sysroot_upgrader_get_origin_description@LIBOSTREE_2016.3 2016.4 + ostree_sysroot_upgrader_get_type@LIBOSTREE_2016.3 2016.4 + ostree_sysroot_upgrader_new@LIBOSTREE_2016.3 2016.4 + ostree_sysroot_upgrader_new_for_os@LIBOSTREE_2016.3 2016.4 + ostree_sysroot_upgrader_new_for_os_with_flags@LIBOSTREE_2016.3 2016.4 + ostree_sysroot_upgrader_pull@LIBOSTREE_2016.3 2016.4 + ostree_sysroot_upgrader_pull_one_dir@LIBOSTREE_2016.3 2016.4 + ostree_sysroot_upgrader_set_origin@LIBOSTREE_2016.3 2016.4 + ostree_sysroot_write_deployments@LIBOSTREE_2016.3 2016.4 + ostree_sysroot_write_deployments_with_options@LIBOSTREE_2017.4 2017.4 + ostree_sysroot_write_origin_file@LIBOSTREE_2016.3 2016.4 + ostree_validate_checksum_string@LIBOSTREE_2016.3 2016.4 + ostree_validate_remote_name@LIBOSTREE_2017.8 2017.8 + ostree_validate_rev@LIBOSTREE_2016.3 2016.4 + ostree_validate_structureof_checksum_string@LIBOSTREE_2016.3 2016.4 + ostree_validate_structureof_commit@LIBOSTREE_2016.3 2016.4 + ostree_validate_structureof_csum_v@LIBOSTREE_2016.3 2016.4 + ostree_validate_structureof_dirmeta@LIBOSTREE_2016.3 2016.4 + ostree_validate_structureof_dirtree@LIBOSTREE_2016.3 2016.4 + ostree_validate_structureof_file_mode@LIBOSTREE_2016.3 2016.4 + ostree_validate_structureof_objtype@LIBOSTREE_2016.3 2016.4 diff --git a/libostree-dev.install b/libostree-dev.install new file mode 100644 index 00000000..3700ef29 --- /dev/null +++ b/libostree-dev.install @@ -0,0 +1,4 @@ +usr/include/* +usr/lib/*/libostree-1.so +usr/lib/*/pkgconfig +usr/share/gir-1.0/OSTree-1.0.gir diff --git a/libostree-doc.install b/libostree-doc.install new file mode 100644 index 00000000..95af827a --- /dev/null +++ b/libostree-doc.install @@ -0,0 +1 @@ +usr/share/gtk-doc diff --git a/ostree-boot.README.Debian b/ostree-boot.README.Debian new file mode 100644 index 00000000..f156b6a7 --- /dev/null +++ b/ostree-boot.README.Debian @@ -0,0 +1,10 @@ +This package contains configuration snippets for using ostree with GRUB 2. +This integration currently has some limitations: + + - the initramfs must have been made using dracut + - the root filesystem must be one that dracut can mount without a root= + command-line argument (an EFI partition with the GUID defined in + the Discoverable Partitions specification[1]) + - /boot must be a separate partition + +[1] https://www.freedesktop.org/wiki/Specifications/DiscoverablePartitionsSpec/ diff --git a/ostree-boot.control b/ostree-boot.control new file mode 100644 index 00000000..8d51a694 --- /dev/null +++ b/ostree-boot.control @@ -0,0 +1,33 @@ +Package: ostree-boot +Architecture: linux-any +Depends: + dracut, + ostree (= ${binary:Version}), + ${misc:Depends}, + ${shlibs:Depends}, +Recommends: + grub-efi-amd64 | grub-pc | extlinux | syslinux | u-boot, +Breaks: + ostree (<< ${binary:Version}), + ostree-grub2 (<< ${binary:Version}), +Replaces: + ostree (<< ${binary:Version}), + ostree-grub2 (<< ${binary:Version}), +Provides: + ostree-grub2 (= ${binary:Version}), +Description: libostree boot loader and initramfs integration + libostree provides a library and tools for managing bootable, immutable, + versioned filesystem trees. See the ostree package's description for + more details. + . + This package contains configuration snippets and executables needed to + boot a Debian derivative from a libostree filesystem deployment. This + integration currently has some limitations: + . + - the initramfs must have been made using dracut + - the root filesystem must be one that dracut can mount without a root= + command-line argument (an EFI partition with the GUID defined in + the Discoverable Partitions specification) + - /boot must be a separate partition + - the boot loader must be one that is supported by libostree, currently + GNU GRUB 2, syslinux/extlinux or Das U-Boot diff --git a/ostree-boot.install b/ostree-boot.install new file mode 100644 index 00000000..097a2627 --- /dev/null +++ b/ostree-boot.install @@ -0,0 +1,10 @@ +etc/dracut.conf.d/ostree.conf +etc/grub.d/15_ostree +lib/systemd/system-generators/ostree-system-generator +lib/systemd/system/ostree-prepare-root.service +lib/systemd/system/ostree-remount.service +usr/lib/dracut/modules.d/98ostree +usr/lib/libostree/grub2-15_ostree +usr/lib/ostree/ostree-prepare-root +usr/lib/ostree/ostree-remount +usr/lib/tmpfiles.d/ostree-tmpfiles.conf diff --git a/ostree-tests.install b/ostree-tests.install new file mode 100644 index 00000000..47ef1484 --- /dev/null +++ b/ostree-tests.install @@ -0,0 +1,3 @@ +usr/lib/installed-tests/libostree +usr/lib/libostree/ostree-trivial-httpd +usr/share/installed-tests/libostree diff --git a/ostree-tests.lintian-overrides b/ostree-tests.lintian-overrides new file mode 100644 index 00000000..2766ed7b --- /dev/null +++ b/ostree-tests.lintian-overrides @@ -0,0 +1,10 @@ +# This is deliberate: it's just some random signed file to be verified, and +# upstream happens to have used the text of the LGPL as the signed file +ostree-tests: extra-license-file usr/lib/installed-tests/libostree/gpg-verify-data/lgpl2 +ostree-tests: extra-license-file usr/lib/installed-tests/libostree/gpg-verify-data/lgpl2.sig + +# This is deliberate, working around the assumption of recursive make +ostree-tests: symlink-is-self-recursive usr/lib/installed-tests/libostree/tests . + +# We won't run this on sparc64 currently +[sparc64]: missing-dep-for-interpreter gjs => gjs (usr/lib/installed-tests/libostree/corrupt-repo-ref.js) diff --git a/ostree.install b/ostree.install new file mode 100755 index 00000000..c686947f --- /dev/null +++ b/ostree.install @@ -0,0 +1,8 @@ +#!/usr/bin/dh-exec + +etc/ostree +usr/bin/ostree +usr/bin/rofiles-fuse +usr/share/bash-completion/completions/ostree +usr/share/man +usr/share/ostree/trusted.gpg.d diff --git a/ostree.maintscript b/ostree.maintscript new file mode 100644 index 00000000..5b1850ba --- /dev/null +++ b/ostree.maintscript @@ -0,0 +1,2 @@ +rm_conffile /etc/dracut.conf.d/ostree.conf 2017.3-2~ ostree +rm_conffile /etc/grub.d/15_ostree 2017.3-2~ ostree diff --git a/patches/debian/Use-Python-3-for-tests.patch b/patches/debian/Use-Python-3-for-tests.patch new file mode 100644 index 00000000..46486795 --- /dev/null +++ b/patches/debian/Use-Python-3-for-tests.patch @@ -0,0 +1,44 @@ +From: Simon McVittie +Date: Wed, 17 Jan 2018 14:07:32 +0000 +Subject: Use Python 3 for tests + +Signed-off-by: Simon McVittie +--- + tests/bootloader-entries-crosscheck.py | 2 +- + tests/test-basic-user-only.sh | 2 +- + tests/test-concurrency.py | 2 +- + 3 files changed, 3 insertions(+), 3 deletions(-) + +diff --git a/tests/bootloader-entries-crosscheck.py b/tests/bootloader-entries-crosscheck.py +index 5faa548..41f6956 100755 +--- a/tests/bootloader-entries-crosscheck.py ++++ b/tests/bootloader-entries-crosscheck.py +@@ -1,4 +1,4 @@ +-#!/usr/bin/python ++#!/usr/bin/python3 + # + # Copyright (C) 2015 Red Hat + # +diff --git a/tests/test-basic-user-only.sh b/tests/test-basic-user-only.sh +index bea7b77..5f27014 100755 +--- a/tests/test-basic-user-only.sh ++++ b/tests/test-basic-user-only.sh +@@ -28,7 +28,7 @@ extra_basic_tests=5 + . $(dirname $0)/basic-test.sh + + $CMD_PREFIX ostree --version > version.yaml +-python -c 'import yaml; yaml.safe_load(open("version.yaml"))' ++python3 -c 'import yaml; yaml.safe_load(open("version.yaml"))' + echo "ok yaml version" + + # Reset things so we don't inherit a lot of state from earlier tests +diff --git a/tests/test-concurrency.py b/tests/test-concurrency.py +index 3a0ce10..3ec3681 100755 +--- a/tests/test-concurrency.py ++++ b/tests/test-concurrency.py +@@ -1,4 +1,4 @@ +-#!/usr/bin/env python ++#!/usr/bin/env python3 + # + # Copyright (C) 2017 Colin Walters + # diff --git a/patches/series b/patches/series new file mode 100644 index 00000000..066a53d7 --- /dev/null +++ b/patches/series @@ -0,0 +1,5 @@ +test-concurrency-Use-Python-3-syntax-for-octal.patch +test-concurrency-Replace-range-with-xrange.patch +test-concurrency-Explicitly-use-floor-division.patch +tests-bootloader-entries-crosscheck-Use-Python-3-friendly.patch +debian/Use-Python-3-for-tests.patch diff --git a/patches/test-concurrency-Explicitly-use-floor-division.patch b/patches/test-concurrency-Explicitly-use-floor-division.patch new file mode 100644 index 00000000..439ffe9e --- /dev/null +++ b/patches/test-concurrency-Explicitly-use-floor-division.patch @@ -0,0 +1,52 @@ +From: Simon McVittie +Date: Wed, 17 Jan 2018 15:03:59 +0000 +Subject: test-concurrency: Explicitly use floor division + +Python 3 is pickier about this. Python 2.7 has Python 3-compatible +semantics for division when the division feature is imported from the +future. + +Signed-off-by: Simon McVittie +Forwarded: https://github.com/ostreedev/ostree/pull/1457 +--- + tests/test-concurrency.py | 9 +++++---- + 1 file changed, 5 insertions(+), 4 deletions(-) + +diff --git a/tests/test-concurrency.py b/tests/test-concurrency.py +index f16f696..3a0ce10 100755 +--- a/tests/test-concurrency.py ++++ b/tests/test-concurrency.py +@@ -17,6 +17,7 @@ + # Free Software Foundation, Inc., 59 Temple Place - Suite 330, + # Boston, MA 02111-1307, USA. + ++from __future__ import division + from __future__ import print_function + import os + import sys +@@ -78,12 +79,12 @@ def run(n_committers, n_pruners): + pruners = set() + + print('n_committers', n_committers, 'n_pruners', n_pruners, file=sys.stderr) +- n_trees = n_committers / 2 ++ n_trees = n_committers // 2 + for v in range(n_trees): + mktree('tree{}'.format(v)) + + for v in range(n_committers): +- committers.add(commit(v / 2)) ++ committers.add(commit(v // 2)) + for v in range(n_pruners): + pruners.add(prune()) + +@@ -101,8 +102,8 @@ def run(n_committers, n_pruners): + shutil.rmtree('tree{}'.format(v)) + + # No concurrent pruning +-run(cpu_count()/2 + 2, 0) ++run(cpu_count() // 2 + 2, 0) + print("ok no concurrent prunes") + +-run(cpu_count()/2 + 4, 3) ++run(cpu_count() // 2 + 4, 3) + print("ok concurrent prunes") diff --git a/patches/test-concurrency-Replace-range-with-xrange.patch b/patches/test-concurrency-Replace-range-with-xrange.patch new file mode 100644 index 00000000..98b7e00c --- /dev/null +++ b/patches/test-concurrency-Replace-range-with-xrange.patch @@ -0,0 +1,51 @@ +From: Simon McVittie +Date: Wed, 17 Jan 2018 14:42:20 +0000 +Subject: test-concurrency: Replace range with xrange + +range in Python 3 does what xrange did in Python 2. This still works in +Python 2, it just uses a bit more memory. + +Signed-off-by: Simon McVittie +Forwarded: https://github.com/ostreedev/ostree/pull/1457 +--- + tests/test-concurrency.py | 10 +++++----- + 1 file changed, 5 insertions(+), 5 deletions(-) + +diff --git a/tests/test-concurrency.py b/tests/test-concurrency.py +index 6fade24..f16f696 100755 +--- a/tests/test-concurrency.py ++++ b/tests/test-concurrency.py +@@ -34,7 +34,7 @@ def fatal(msg): + def mktree(dname, serial=0): + print('Creating tree', dname, file=sys.stderr) + os.mkdir(dname, 0o755) +- for v in xrange(20): ++ for v in range(20): + with open('{}/{}'.format(dname, v), 'w') as f: + f.write('{} {} {}\n'.format(dname, serial, v)) + +@@ -79,12 +79,12 @@ def run(n_committers, n_pruners): + + print('n_committers', n_committers, 'n_pruners', n_pruners, file=sys.stderr) + n_trees = n_committers / 2 +- for v in xrange(n_trees): ++ for v in range(n_trees): + mktree('tree{}'.format(v)) + +- for v in xrange(n_committers): ++ for v in range(n_committers): + committers.add(commit(v / 2)) +- for v in xrange(n_pruners): ++ for v in range(n_pruners): + pruners.add(prune()) + + failed = False +@@ -97,7 +97,7 @@ def run(n_committers, n_pruners): + if failed: + fatal('A child process exited abnormally') + +- for v in xrange(n_trees): ++ for v in range(n_trees): + shutil.rmtree('tree{}'.format(v)) + + # No concurrent pruning diff --git a/patches/test-concurrency-Use-Python-3-syntax-for-octal.patch b/patches/test-concurrency-Use-Python-3-syntax-for-octal.patch new file mode 100644 index 00000000..41f173c1 --- /dev/null +++ b/patches/test-concurrency-Use-Python-3-syntax-for-octal.patch @@ -0,0 +1,25 @@ +From: Simon McVittie +Date: Wed, 17 Jan 2018 14:25:26 +0000 +Subject: test-concurrency: Use Python 3 syntax for octal + +This also works in Python 2.7, and is a little clearer. + +Signed-off-by: Simon McVittie +Forwarded: https://github.com/ostreedev/ostree/pull/1457 +--- + tests/test-concurrency.py | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/tests/test-concurrency.py b/tests/test-concurrency.py +index bdcc1d9..6fade24 100755 +--- a/tests/test-concurrency.py ++++ b/tests/test-concurrency.py +@@ -33,7 +33,7 @@ def fatal(msg): + # different files with different checksums. + def mktree(dname, serial=0): + print('Creating tree', dname, file=sys.stderr) +- os.mkdir(dname, 0755) ++ os.mkdir(dname, 0o755) + for v in xrange(20): + with open('{}/{}'.format(dname, v), 'w') as f: + f.write('{} {} {}\n'.format(dname, serial, v)) diff --git a/patches/tests-bootloader-entries-crosscheck-Use-Python-3-friendly.patch b/patches/tests-bootloader-entries-crosscheck-Use-Python-3-friendly.patch new file mode 100644 index 00000000..00a25f29 --- /dev/null +++ b/patches/tests-bootloader-entries-crosscheck-Use-Python-3-friendly.patch @@ -0,0 +1,37 @@ +From: Simon McVittie +Date: Wed, 17 Jan 2018 15:19:12 +0000 +Subject: tests/bootloader-entries-crosscheck: Use Python 3-friendly sorting + +This is a little clearer than a strcmp()-style negative/zero/positive +return, and also works in Python 2. + +Signed-off-by: Simon McVittie +Forwarded: https://github.com/ostreedev/ostree/pull/1457 +--- + tests/bootloader-entries-crosscheck.py | 6 +++--- + 1 file changed, 3 insertions(+), 3 deletions(-) + +diff --git a/tests/bootloader-entries-crosscheck.py b/tests/bootloader-entries-crosscheck.py +index 38e8e45..5faa548 100755 +--- a/tests/bootloader-entries-crosscheck.py ++++ b/tests/bootloader-entries-crosscheck.py +@@ -38,8 +38,8 @@ def fatal(msg): + sys.stderr.write('\n') + sys.exit(1) + +-def compare_entries_descending(a, b): +- return int(b['version']) - int(a['version']) ++def entry_get_version(entry): ++ return int(entry['version']) + + def get_ostree_option(optionstring): + for o in optionstring.split(): +@@ -65,7 +65,7 @@ for fname in os.listdir(loaderpath): + v = line[s+1:] + entry[k] = v + entries.append(entry) +- entries.sort(compare_entries_descending) ++ entries.sort(key=entry_get_version, reverse=True) + + # Parse SYSLINUX config + with open(syslinuxpath) as f: diff --git a/rules b/rules new file mode 100755 index 00000000..20965e12 --- /dev/null +++ b/rules @@ -0,0 +1,94 @@ +#!/usr/bin/make -f + +export DEB_BUILD_MAINT_OPTIONS = hardening=+all +export DEB_LDFLAGS_MAINT_APPEND = -Wl,--as-needed + +binaries := $(shell dh_listpackages) + +%: + dh $@ --with=gir + +override_dh_autoreconf: + env NOCONFIGURE=1 dh_autoreconf ./autogen.sh + +configure_options = \ + GJS=some-nonexistent-gjs-binary \ + --enable-installed-tests \ + --libexecdir='$${prefix}/lib' \ + --with-dracut \ + --with-grub2 \ + --with-grub2-mkconfig-path=/usr/sbin/grub-mkconfig \ + --with-systemdsystemgeneratordir=/lib/systemd/system-generators \ + --with-systemdsystemunitdir=/lib/systemd/system \ + $(NULL) + +ifneq ($(filter libostree-doc,$(binaries)),) +configure_options += --enable-gtk-doc +else +configure_options += --disable-gtk-doc +endif + +ifeq (,$(filter nodoc,$(DEB_BUILD_PROFILES))) +configure_options += --enable-man +else +configure_options += --disable-man +endif + +override_dh_auto_configure: + dh_auto_configure -- $(configure_options) + +override_dh_auto_test-arch: +ifeq (,$(filter nocheck,$(DEB_BUILD_OPTIONS))) + chmod +x tests/test-pull-bareuseronly.sh + debian/test.sh +endif + +override_dh_auto_test-indep: + : + +override_dh_auto_install: + dh_auto_install +ifeq (,$(filter nodoc,$(DEB_BUILD_PROFILES))) + # docbook-xsl capitalizes the whole heading, including the macro + # used to represent a single quote... https://bugs.debian.org/821235 + sed -i -e 's,\*(AQ,*(Aq,g' \ + debian/tmp/usr/share/man/man1/ostree-remote.1 \ + debian/tmp/usr/share/man/man1/ostree-static-delta.1 \ + $(NULL) +endif + +override_dh_install: + rm -f debian/tmp/usr/lib/*/*.la + rm -f debian/tmp/usr/lib/installed-tests/libostree/*.la + : + # TODO: when someone documents how to test these (#824649) they + # should be installed in a new ostree-boot package: see + # debian/ostree-boot.* and https://bugs.debian.org/824650 + rm -f debian/tmp/etc/dracut.conf.d/ostree.conf + rm -f debian/tmp/etc/grub.d/15_ostree + rm -f debian/tmp/lib/systemd/system-generators/ostree-system-generator + rm -f debian/tmp/lib/systemd/system/ostree-prepare-root.service + rm -f debian/tmp/lib/systemd/system/ostree-remount.service + rm -fr debian/tmp/usr/lib/dracut/modules.d/98ostree/ + rm -f debian/tmp/usr/lib/libostree/grub2-15_ostree + rm -f debian/tmp/usr/lib/ostree/ostree-prepare-root + rm -f debian/tmp/usr/lib/ostree/ostree-remount + rm -f debian/tmp/usr/lib/tmpfiles.d/ostree-tmpfiles.conf + : + dh_install + +override_dh_missing: + dh_missing --fail-missing + +override_dh_makeshlibs: + # this is an LD_PRELOAD, not a real shared library + dh_makeshlibs -Xinstalled-tests/ostree/libreaddir-rand.so + +override_dh_fixperms-arch: + # dh_fixperms assumes *.js are for browsers and makes them 0644. + dh_fixperms -X'*.js' + find debian/tmp -type f -name '*.js' -print0 | \ + xargs -0r chmod -v go=rX,u+rw,a-s + +override_dh_systemd_start: + dh_systemd_start --no-start diff --git a/source/format b/source/format new file mode 100644 index 00000000..163aaf8d --- /dev/null +++ b/source/format @@ -0,0 +1 @@ +3.0 (quilt) diff --git a/test.sh b/test.sh new file mode 100755 index 00000000..d0dba67d --- /dev/null +++ b/test.sh @@ -0,0 +1,31 @@ +#!/bin/sh + +set -e + +export VERBOSE=1 + +# Ubuntu autopkgtest infra provides internet access via a proxy, and +# buildds could conceivably do the same, but libostree doesn't need +# that. However, libostree also doesn't support no_proxy, so it will try +# to use Ubuntu's proxy for localhost, and fail to reach itself. +unset ftp_proxy +unset http_proxy +unset https_proxy +unset no_proxy + +failed=0 +make check || failed=1 + +pkill --full "gpg-agent --homedir /var/tmp/tap-test\\.[^/]+/.*" || : +pkill --full '\.libs/ostree-trivial-httpd' || : + +if pgrep lt-ostree || pgrep --full '\.libs/ostree-trivial-httpd' || pgrep --full "gpg-agent --homedir /var/tmp/tap-test."; then \ + echo "WARNING: daemon processes were leaked" + pgrep gpg-agent | xargs --no-run-if-empty ps ww + pgrep --full '\.libs/ostree-trivial-httpd' | xargs --no-run-if-empty ps ww + pgrep lt-ostree | xargs --no-run-if-empty ps ww +fi + +exit $failed + +# vim:set et sw=4 sts=4: diff --git a/tests/build b/tests/build new file mode 100755 index 00000000..594e4f77 --- /dev/null +++ b/tests/build @@ -0,0 +1,22 @@ +#!/bin/sh + +set -e +exec 2>&1 +set -x + +cd "$ADTTMP" + +cat > trivial.c < + +int main (void) +{ + g_object_unref (ostree_repo_new_default ()); + return 0; +} +EOF + +gcc -o trivial trivial.c $(pkg-config --cflags --libs ostree-1 gobject-2.0) +test -x trivial +./trivial +echo "ok 3 run it" diff --git a/tests/control b/tests/control new file mode 100644 index 00000000..88ffde7f --- /dev/null +++ b/tests/control @@ -0,0 +1,5 @@ +Tests: gnome-desktop-testing +Depends: gnome-desktop-testing, ostree-tests + +Tests: build +Depends: build-essential, libostree-dev, pkg-config diff --git a/tests/gnome-desktop-testing b/tests/gnome-desktop-testing new file mode 100755 index 00000000..c85f13cf --- /dev/null +++ b/tests/gnome-desktop-testing @@ -0,0 +1,14 @@ +#!/bin/sh + +set -e +exec 2>&1 + +# Ubuntu provides internet access via a proxy, but libostree doesn't need +# that. However, libostree also doesn't support no_proxy, so it will try +# to use Ubuntu's proxy for localhost, and fail to reach itself. +unset ftp_proxy +unset http_proxy +unset https_proxy +unset no_proxy + +exec gnome-desktop-testing-runner libostree diff --git a/watch b/watch new file mode 100644 index 00000000..048ca2ae --- /dev/null +++ b/watch @@ -0,0 +1,2 @@ +version=4 +https://github.com/ostreedev/ostree/releases .*/libostree-(\d\S*)\.tar\.xz