From b13332c991ce2695626eaca367dd8208b174c9ca Mon Sep 17 00:00:00 2001 From: Karen Arutyunov Date: Thu, 14 Apr 2016 17:59:24 +0300 Subject: Add support for repository authentication --- .../auth/create-expired/libfoo-1.0.0.tar.gz | 1 + .../1/build2.org/auth/create-expired/repositories | 33 +++++++++++++++++++ .../auth/create-noemail/libfoo-1.0.0.tar.gz | 1 + .../1/build2.org/auth/create-noemail/repositories | 33 +++++++++++++++++++ .../1/build2.org/auth/expired/libfoo-1.0.0.tar.gz | 1 + tests/pkg/1/build2.org/auth/expired/packages | 11 +++++++ tests/pkg/1/build2.org/auth/expired/repositories | 33 +++++++++++++++++++ tests/pkg/1/build2.org/auth/expired/signature | 13 ++++++++ tests/pkg/1/build2.org/auth/libfoo-1.0.0.tar.gz | Bin 0 -> 348 bytes .../auth/name-mismatch/libfoo-1.0.0.tar.gz | 1 + .../1/build2.org/auth/name-mismatch/repositories | 34 +++++++++++++++++++ .../auth/sha256sum-mismatch/libfoo-1.0.0.tar.gz | 1 + .../auth/sha256sum-mismatch/repositories | 33 +++++++++++++++++++ .../auth/signature-mismatch/libfoo-1.0.0.tar.gz | 1 + .../auth/signature-mismatch/repositories | 33 +++++++++++++++++++ .../1/build2.org/auth/signed/libfoo-1.0.0.tar.gz | 1 + tests/pkg/1/build2.org/auth/signed/repositories | 33 +++++++++++++++++++ .../build2.org/auth/unsigned1/libfoo-1.0.0.tar.gz | 1 + tests/pkg/1/build2.org/auth/unsigned1/repositories | 1 + .../build2.org/auth/unsigned2/libfoo-1.0.0.tar.gz | 1 + tests/pkg/1/build2.org/auth/unsigned2/repositories | 1 + .../common/bar/stable/libbar-1.0.0.tar.gz | Bin 0 -> 957 bytes .../1/build2.org/common/bar/stable/repositories | 6 ++++ .../common/bar/testing/libbar-1.1.0.tar.gz | Bin 0 -> 959 bytes .../1/build2.org/common/bar/testing/repositories | 8 +++++ .../common/bar/unstable/libbar-1.1.1.tar.gz | Bin 0 -> 1189 bytes .../1/build2.org/common/bar/unstable/repositories | 8 +++++ .../common/foo/stable/libfoo-1.0.0.tar.gz | Bin 0 -> 881 bytes .../1/build2.org/common/foo/stable/repositories | 3 ++ .../common/foo/testing/libfoo-1.1.0.tar.gz | Bin 0 -> 874 bytes .../1/build2.org/common/foo/testing/repositories | 6 ++++ .../common/hello/libhello-1.0.0+1.tar.gz | Bin 0 -> 1489 bytes tests/pkg/1/build2.org/common/hello/repositories | 36 +++++++++++++++++++++ .../common/libhello-1.0.0+1/build/bootstrap.build | 15 +++++++++ .../common/libhello-1.0.0+1/build/export.build | 6 ++++ .../common/libhello-1.0.0+1/build/root.build | 10 ++++++ .../1/build2.org/common/libhello-1.0.0+1/buildfile | 3 ++ .../common/libhello-1.0.0+1/hello/buildfile | 8 +++++ .../build2.org/common/libhello-1.0.0+1/hello/hello | 11 +++++++ .../common/libhello-1.0.0+1/hello/hello.cxx | 16 +++++++++ .../1/build2.org/common/libhello-1.0.0+1/manifest | 13 ++++++++ .../libhello-1.0.0+1/tests/build/bootstrap.build | 5 +++ .../common/libhello-1.0.0+1/tests/build/root.build | 10 ++++++ .../common/libhello-1.0.0+1/tests/buildfile | 3 ++ .../common/libhello-1.0.0+1/tests/test/buildfile | 4 +++ .../common/libhello-1.0.0+1/tests/test/driver.cxx | 11 +++++++ .../common/libhello-1.0.0+1/tests/test/test.out | 1 + .../1/build2.org/common/libhello-1.0.0+1/version | 1 + tests/pkg/1/build2.org/common/not-a-package.tar.gz | Bin 0 -> 259 bytes .../1/build2.org/depend/stable/libbar-1.0.0.tar.gz | Bin 0 -> 354 bytes .../1/build2.org/depend/stable/libbar-1.1.0.tar.gz | Bin 0 -> 359 bytes .../1/build2.org/depend/stable/libbar-1.2.0.tar.gz | Bin 0 -> 372 bytes .../1/build2.org/depend/stable/libbar-1.3.0.tar.gz | Bin 0 -> 378 bytes .../1/build2.org/depend/stable/libfoo-1.0.0.tar.gz | Bin 0 -> 348 bytes .../1/build2.org/depend/stable/libfoo-1.1.0.tar.gz | Bin 0 -> 349 bytes .../1/build2.org/depend/stable/libfoo-1.2.0.tar.gz | Bin 0 -> 348 bytes tests/pkg/1/build2.org/depend/stable/repositories | 1 + tests/pkg/1/build2.org/fetch/libfoo-1.0.0.tar.gz | Bin 0 -> 348 bytes tests/pkg/1/build2.org/fetch/libfoo-1.1.0.tar.gz | Bin 0 -> 349 bytes .../fetch/libfoo-1.1.0/build/bootstrap.build | 2 ++ .../pkg/1/build2.org/fetch/libfoo-1.1.0/buildfile | 1 + tests/pkg/1/build2.org/fetch/libfoo-1.1.0/manifest | 7 ++++ tests/pkg/1/build2.org/fetch/repositories | 1 + .../pkg/1/build2.org/fetch/t1/libfoo-1.0.0.tar.gz | 1 + .../pkg/1/build2.org/fetch/t1/libfoo-1.1.0.tar.gz | 1 + tests/pkg/1/build2.org/fetch/t1/repositories | 1 + tests/pkg/1/build2.org/satisfy/libbar-1.0.0.tar.gz | Bin 0 -> 356 bytes tests/pkg/1/build2.org/satisfy/libbar-1.1.0.tar.gz | Bin 0 -> 360 bytes tests/pkg/1/build2.org/satisfy/libbar-1.2.0.tar.gz | Bin 0 -> 348 bytes tests/pkg/1/build2.org/satisfy/libbaz-1.0.0.tar.gz | Bin 0 -> 359 bytes tests/pkg/1/build2.org/satisfy/libbaz-1.1.0.tar.gz | Bin 0 -> 363 bytes tests/pkg/1/build2.org/satisfy/libbiz-1.0.0.tar.gz | Bin 0 -> 366 bytes tests/pkg/1/build2.org/satisfy/libfoo-0.0.0.tar.gz | Bin 0 -> 348 bytes tests/pkg/1/build2.org/satisfy/libfoo-1.0.0.tar.gz | Bin 0 -> 348 bytes tests/pkg/1/build2.org/satisfy/libfoo-1.1.0.tar.gz | Bin 0 -> 349 bytes .../satisfy/libfoo-1.1.0/build/bootstrap.build | 2 ++ .../1/build2.org/satisfy/libfoo-1.1.0/buildfile | 1 + .../pkg/1/build2.org/satisfy/libfoo-1.1.0/manifest | 7 ++++ tests/pkg/1/build2.org/satisfy/libfoo-1.2.0.tar.gz | Bin 0 -> 350 bytes tests/pkg/1/build2.org/satisfy/libfox-1.0.0.tar.gz | Bin 0 -> 349 bytes tests/pkg/1/build2.org/satisfy/repositories | 1 + .../1/build2.org/satisfy/t1/libfoo-1.0.0.tar.gz | 1 + tests/pkg/1/build2.org/satisfy/t1/repositories | 1 + .../1/build2.org/satisfy/t2/libbar-1.0.0.tar.gz | 1 + .../1/build2.org/satisfy/t2/libfoo-1.0.0.tar.gz | 1 + tests/pkg/1/build2.org/satisfy/t2/repositories | 1 + .../1/build2.org/satisfy/t3/libbaz-1.0.0.tar.gz | 1 + .../1/build2.org/satisfy/t3/libfox-1.0.0.tar.gz | 1 + tests/pkg/1/build2.org/satisfy/t3/repositories | 4 +++ .../1/build2.org/satisfy/t4a/libfoo-1.1.0.tar.gz | 1 + tests/pkg/1/build2.org/satisfy/t4a/repositories | 1 + .../1/build2.org/satisfy/t4b/libbar-1.1.0.tar.gz | 1 + tests/pkg/1/build2.org/satisfy/t4b/repositories | 3 ++ .../1/build2.org/satisfy/t4c/libbaz-1.1.0.tar.gz | 1 + .../1/build2.org/satisfy/t4c/libfoo-1.0.0.tar.gz | 1 + tests/pkg/1/build2.org/satisfy/t4c/repositories | 3 ++ .../1/build2.org/satisfy/t4d/libbiz-1.0.0.tar.gz | 1 + .../1/build2.org/satisfy/t4d/libfox-1.0.0.tar.gz | 1 + tests/pkg/1/build2.org/satisfy/t4d/repositories | 3 ++ .../1/build2.org/satisfy/t5/libbar-1.2.0.tar.gz | 1 + tests/pkg/1/build2.org/satisfy/t5/repositories | 1 + .../build2.org/status/extra/libbar-1.1.0+1.tar.gz | Bin 0 -> 243 bytes tests/pkg/1/build2.org/status/extra/repositories | 3 ++ .../1/build2.org/status/stable/libbar-1.0.0.tar.gz | Bin 0 -> 241 bytes .../1/build2.org/status/stable/libfoo-1.0.0.tar.gz | Bin 0 -> 240 bytes tests/pkg/1/build2.org/status/stable/repositories | 1 + .../status/testing/libbar-1.0.0+1.tar.gz | Bin 0 -> 243 bytes .../build2.org/status/testing/libbar-1.1.0.tar.gz | Bin 0 -> 242 bytes tests/pkg/1/build2.org/status/testing/repositories | 6 ++++ .../build2.org/status/unstable/libbar-2.0.0.tar.gz | Bin 0 -> 245 bytes .../pkg/1/build2.org/status/unstable/repositories | 4 +++ 111 files changed, 520 insertions(+) create mode 120000 tests/pkg/1/build2.org/auth/create-expired/libfoo-1.0.0.tar.gz create mode 100644 tests/pkg/1/build2.org/auth/create-expired/repositories create mode 120000 tests/pkg/1/build2.org/auth/create-noemail/libfoo-1.0.0.tar.gz create mode 100644 tests/pkg/1/build2.org/auth/create-noemail/repositories create mode 120000 tests/pkg/1/build2.org/auth/expired/libfoo-1.0.0.tar.gz create mode 100644 tests/pkg/1/build2.org/auth/expired/packages create mode 100644 tests/pkg/1/build2.org/auth/expired/repositories create mode 100644 tests/pkg/1/build2.org/auth/expired/signature create mode 100644 tests/pkg/1/build2.org/auth/libfoo-1.0.0.tar.gz create mode 120000 tests/pkg/1/build2.org/auth/name-mismatch/libfoo-1.0.0.tar.gz create mode 100644 tests/pkg/1/build2.org/auth/name-mismatch/repositories create mode 120000 tests/pkg/1/build2.org/auth/sha256sum-mismatch/libfoo-1.0.0.tar.gz create mode 100644 tests/pkg/1/build2.org/auth/sha256sum-mismatch/repositories create mode 120000 tests/pkg/1/build2.org/auth/signature-mismatch/libfoo-1.0.0.tar.gz create mode 100644 tests/pkg/1/build2.org/auth/signature-mismatch/repositories create mode 120000 tests/pkg/1/build2.org/auth/signed/libfoo-1.0.0.tar.gz create mode 100644 tests/pkg/1/build2.org/auth/signed/repositories create mode 120000 tests/pkg/1/build2.org/auth/unsigned1/libfoo-1.0.0.tar.gz create mode 100644 tests/pkg/1/build2.org/auth/unsigned1/repositories create mode 120000 tests/pkg/1/build2.org/auth/unsigned2/libfoo-1.0.0.tar.gz create mode 100644 tests/pkg/1/build2.org/auth/unsigned2/repositories create mode 100644 tests/pkg/1/build2.org/common/bar/stable/libbar-1.0.0.tar.gz create mode 100644 tests/pkg/1/build2.org/common/bar/stable/repositories create mode 100644 tests/pkg/1/build2.org/common/bar/testing/libbar-1.1.0.tar.gz create mode 100644 tests/pkg/1/build2.org/common/bar/testing/repositories create mode 100644 tests/pkg/1/build2.org/common/bar/unstable/libbar-1.1.1.tar.gz create mode 100644 tests/pkg/1/build2.org/common/bar/unstable/repositories create mode 100644 tests/pkg/1/build2.org/common/foo/stable/libfoo-1.0.0.tar.gz create mode 100644 tests/pkg/1/build2.org/common/foo/stable/repositories create mode 100644 tests/pkg/1/build2.org/common/foo/testing/libfoo-1.1.0.tar.gz create mode 100644 tests/pkg/1/build2.org/common/foo/testing/repositories create mode 100644 tests/pkg/1/build2.org/common/hello/libhello-1.0.0+1.tar.gz create mode 100644 tests/pkg/1/build2.org/common/hello/repositories create mode 100644 tests/pkg/1/build2.org/common/libhello-1.0.0+1/build/bootstrap.build create mode 100644 tests/pkg/1/build2.org/common/libhello-1.0.0+1/build/export.build create mode 100644 tests/pkg/1/build2.org/common/libhello-1.0.0+1/build/root.build create mode 100644 tests/pkg/1/build2.org/common/libhello-1.0.0+1/buildfile create mode 100644 tests/pkg/1/build2.org/common/libhello-1.0.0+1/hello/buildfile create mode 100644 tests/pkg/1/build2.org/common/libhello-1.0.0+1/hello/hello create mode 100644 tests/pkg/1/build2.org/common/libhello-1.0.0+1/hello/hello.cxx create mode 100644 tests/pkg/1/build2.org/common/libhello-1.0.0+1/manifest create mode 100644 tests/pkg/1/build2.org/common/libhello-1.0.0+1/tests/build/bootstrap.build create mode 100644 tests/pkg/1/build2.org/common/libhello-1.0.0+1/tests/build/root.build create mode 100644 tests/pkg/1/build2.org/common/libhello-1.0.0+1/tests/buildfile create mode 100644 tests/pkg/1/build2.org/common/libhello-1.0.0+1/tests/test/buildfile create mode 100644 tests/pkg/1/build2.org/common/libhello-1.0.0+1/tests/test/driver.cxx create mode 100644 tests/pkg/1/build2.org/common/libhello-1.0.0+1/tests/test/test.out create mode 100644 tests/pkg/1/build2.org/common/libhello-1.0.0+1/version create mode 100644 tests/pkg/1/build2.org/common/not-a-package.tar.gz create mode 100644 tests/pkg/1/build2.org/depend/stable/libbar-1.0.0.tar.gz create mode 100644 tests/pkg/1/build2.org/depend/stable/libbar-1.1.0.tar.gz create mode 100644 tests/pkg/1/build2.org/depend/stable/libbar-1.2.0.tar.gz create mode 100644 tests/pkg/1/build2.org/depend/stable/libbar-1.3.0.tar.gz create mode 100644 tests/pkg/1/build2.org/depend/stable/libfoo-1.0.0.tar.gz create mode 100644 tests/pkg/1/build2.org/depend/stable/libfoo-1.1.0.tar.gz create mode 100644 tests/pkg/1/build2.org/depend/stable/libfoo-1.2.0.tar.gz create mode 100644 tests/pkg/1/build2.org/depend/stable/repositories create mode 100644 tests/pkg/1/build2.org/fetch/libfoo-1.0.0.tar.gz create mode 100644 tests/pkg/1/build2.org/fetch/libfoo-1.1.0.tar.gz create mode 100644 tests/pkg/1/build2.org/fetch/libfoo-1.1.0/build/bootstrap.build create mode 100644 tests/pkg/1/build2.org/fetch/libfoo-1.1.0/buildfile create mode 100644 tests/pkg/1/build2.org/fetch/libfoo-1.1.0/manifest create mode 100644 tests/pkg/1/build2.org/fetch/repositories create mode 120000 tests/pkg/1/build2.org/fetch/t1/libfoo-1.0.0.tar.gz create mode 120000 tests/pkg/1/build2.org/fetch/t1/libfoo-1.1.0.tar.gz create mode 120000 tests/pkg/1/build2.org/fetch/t1/repositories create mode 100644 tests/pkg/1/build2.org/satisfy/libbar-1.0.0.tar.gz create mode 100644 tests/pkg/1/build2.org/satisfy/libbar-1.1.0.tar.gz create mode 100644 tests/pkg/1/build2.org/satisfy/libbar-1.2.0.tar.gz create mode 100644 tests/pkg/1/build2.org/satisfy/libbaz-1.0.0.tar.gz create mode 100644 tests/pkg/1/build2.org/satisfy/libbaz-1.1.0.tar.gz create mode 100644 tests/pkg/1/build2.org/satisfy/libbiz-1.0.0.tar.gz create mode 100644 tests/pkg/1/build2.org/satisfy/libfoo-0.0.0.tar.gz create mode 100644 tests/pkg/1/build2.org/satisfy/libfoo-1.0.0.tar.gz create mode 100644 tests/pkg/1/build2.org/satisfy/libfoo-1.1.0.tar.gz create mode 100644 tests/pkg/1/build2.org/satisfy/libfoo-1.1.0/build/bootstrap.build create mode 100644 tests/pkg/1/build2.org/satisfy/libfoo-1.1.0/buildfile create mode 100644 tests/pkg/1/build2.org/satisfy/libfoo-1.1.0/manifest create mode 100644 tests/pkg/1/build2.org/satisfy/libfoo-1.2.0.tar.gz create mode 100644 tests/pkg/1/build2.org/satisfy/libfox-1.0.0.tar.gz create mode 100644 tests/pkg/1/build2.org/satisfy/repositories create mode 120000 tests/pkg/1/build2.org/satisfy/t1/libfoo-1.0.0.tar.gz create mode 120000 tests/pkg/1/build2.org/satisfy/t1/repositories create mode 120000 tests/pkg/1/build2.org/satisfy/t2/libbar-1.0.0.tar.gz create mode 120000 tests/pkg/1/build2.org/satisfy/t2/libfoo-1.0.0.tar.gz create mode 120000 tests/pkg/1/build2.org/satisfy/t2/repositories create mode 120000 tests/pkg/1/build2.org/satisfy/t3/libbaz-1.0.0.tar.gz create mode 120000 tests/pkg/1/build2.org/satisfy/t3/libfox-1.0.0.tar.gz create mode 100644 tests/pkg/1/build2.org/satisfy/t3/repositories create mode 120000 tests/pkg/1/build2.org/satisfy/t4a/libfoo-1.1.0.tar.gz create mode 120000 tests/pkg/1/build2.org/satisfy/t4a/repositories create mode 120000 tests/pkg/1/build2.org/satisfy/t4b/libbar-1.1.0.tar.gz create mode 100644 tests/pkg/1/build2.org/satisfy/t4b/repositories create mode 120000 tests/pkg/1/build2.org/satisfy/t4c/libbaz-1.1.0.tar.gz create mode 120000 tests/pkg/1/build2.org/satisfy/t4c/libfoo-1.0.0.tar.gz create mode 100644 tests/pkg/1/build2.org/satisfy/t4c/repositories create mode 120000 tests/pkg/1/build2.org/satisfy/t4d/libbiz-1.0.0.tar.gz create mode 120000 tests/pkg/1/build2.org/satisfy/t4d/libfox-1.0.0.tar.gz create mode 100644 tests/pkg/1/build2.org/satisfy/t4d/repositories create mode 120000 tests/pkg/1/build2.org/satisfy/t5/libbar-1.2.0.tar.gz create mode 120000 tests/pkg/1/build2.org/satisfy/t5/repositories create mode 100644 tests/pkg/1/build2.org/status/extra/libbar-1.1.0+1.tar.gz create mode 100644 tests/pkg/1/build2.org/status/extra/repositories create mode 100644 tests/pkg/1/build2.org/status/stable/libbar-1.0.0.tar.gz create mode 100644 tests/pkg/1/build2.org/status/stable/libfoo-1.0.0.tar.gz create mode 100644 tests/pkg/1/build2.org/status/stable/repositories create mode 100644 tests/pkg/1/build2.org/status/testing/libbar-1.0.0+1.tar.gz create mode 100644 tests/pkg/1/build2.org/status/testing/libbar-1.1.0.tar.gz create mode 100644 tests/pkg/1/build2.org/status/testing/repositories create mode 100644 tests/pkg/1/build2.org/status/unstable/libbar-2.0.0.tar.gz create mode 100644 tests/pkg/1/build2.org/status/unstable/repositories (limited to 'tests/pkg/1') diff --git a/tests/pkg/1/build2.org/auth/create-expired/libfoo-1.0.0.tar.gz b/tests/pkg/1/build2.org/auth/create-expired/libfoo-1.0.0.tar.gz new file mode 120000 index 0000000..32e5a3c --- /dev/null +++ b/tests/pkg/1/build2.org/auth/create-expired/libfoo-1.0.0.tar.gz @@ -0,0 +1 @@ +../libfoo-1.0.0.tar.gz \ No newline at end of file diff --git a/tests/pkg/1/build2.org/auth/create-expired/repositories b/tests/pkg/1/build2.org/auth/create-expired/repositories new file mode 100644 index 0000000..8370fa4 --- /dev/null +++ b/tests/pkg/1/build2.org/auth/create-expired/repositories @@ -0,0 +1,33 @@ +: 1 +certificate: \ +-----BEGIN CERTIFICATE----- +MIIFLzCCAxegAwIBAgIJAPIoh0763iYdMA0GCSqGSIb3DQEBCwUAMDMxFzAVBgNV +BAoMDkNvZGUgU3ludGhlc2lzMRgwFgYDVQQDDA9uYW1lOmJ1aWxkMi5vcmcwHhcN +MTYwNTAxMTA1MDMyWhcNMTYwNTAyMTA1MDMyWjAzMRcwFQYDVQQKDA5Db2RlIFN5 +bnRoZXN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PyxaZ2rEFv2TY0pg8/QRFRWGCFgdWJleX6VsqIXC +KDK6MyHfR1gsDnZZfgr7HJCq1SH3loqlchLBvAF6K/c1LdQyJFYoP4xAt6yaQWzv +wEqqhhZ7tLpjrjK0K2pqsPoupNcNhE31k+6ZdM5Z5oHT844qKIVNJIdlvFwnQ3ed +grP6gBCLVY7h7GJ0x2ZG/2hYt4My8RqLxFYHaHAzQsmXFATIzT1Yqz1nw+8V3l5P +m+rXQNVAw7rgpl3T7klbHVfkg5rPa0kF66PkKq5ax46NS6KVj9sNOqkcXL7huQSG +BnSLTkaLwwrSZWl+DPXeY8TgUGkkEMY6RvYdqoOGZiZSqtMfK9QKsFi79a4Munc8 +ypUPxE++jhtXcarDy0ta3BXrspIg63a2Ab6C5yv2fC31Ec5v75rUxt9BVxMMQdlX +h9eMe5FmkgkSBcklOShE2kZvTOPUCSq8DK7JuKsKEH3istPto+PpoyT8RxuZ9K2Q +rr78CskHtj+TVdFv7TAqn2YDx9ki4HJIxWKVanJ+zOBSrJw= +-----END CERTIFICATE----- +\ diff --git a/tests/pkg/1/build2.org/auth/create-noemail/libfoo-1.0.0.tar.gz b/tests/pkg/1/build2.org/auth/create-noemail/libfoo-1.0.0.tar.gz new file mode 120000 index 0000000..32e5a3c --- /dev/null +++ b/tests/pkg/1/build2.org/auth/create-noemail/libfoo-1.0.0.tar.gz @@ -0,0 +1 @@ +../libfoo-1.0.0.tar.gz \ No newline at end of file diff --git a/tests/pkg/1/build2.org/auth/create-noemail/repositories b/tests/pkg/1/build2.org/auth/create-noemail/repositories new file mode 100644 index 0000000..3645b23 --- /dev/null +++ b/tests/pkg/1/build2.org/auth/create-noemail/repositories @@ -0,0 +1,33 @@ +: 1 +certificate: \ +-----BEGIN CERTIFICATE----- +MIIFEzCCAvugAwIBAgIJANxwhIzYRCmBMA0GCSqGSIb3DQEBCwUAMDMxFzAVBgNV +BAoMDkNvZGUgU3ludGhlc2lzMRgwFgYDVQQDDA9uYW1lOmJ1aWxkMi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ACkrhEb1PYvZ8mbVJiXSfnwHSmbEeBbVlej9OqFga2+drv2cI1cqpPZJKhF +UiUstPYl6vFONE5hLGxKI+6Xg6HYkkc/qawCmY3fuNxC5Hv4n0dwQGdcUqMt5oMK +1NhfPnunBXY2d/N3SaeBh8PW9Wk5zDq/S2LcO6fgdSho3R3oGbkHj52wPLWK93Vr +IBU1NhswvR69IOT92UG5KAqHK3VFp8EatuvbODQpvd0uuwIf7BO4Cj7ZPy5R7u8c +6fwyP1C/jTwSER143NA0LlmjR+qowsicz7zhBI4Fv6dj4rO725lnZ0+Sqok/45SR +jYdSPZnyWhiWh2ImfMC5INIlWvTtpL6dbfbkR1ZVABVkn3j0Xe4kpsFrmhY693mJ +LY8PTKJpIZeoj/XrnTDm/NgwcDHpS8j3F++DwZ2UxzJSOgmL9NJlC1lf1ehhxQt8 +33+/zTw6VXwK0PUputdS7xf7z+10Yf4el1kEoAzWZwaz5bwVFOyCQHPCYxuSUKz+ +O0X8FWd2wgPCmU6CB518Cv9cOyUfoZZuV3Va/IyoOUvwNd5Lxen0mo2LPNlXRMVM +e44+PKmbFA== +-----END CERTIFICATE----- +\ diff --git a/tests/pkg/1/build2.org/auth/expired/libfoo-1.0.0.tar.gz b/tests/pkg/1/build2.org/auth/expired/libfoo-1.0.0.tar.gz new file mode 120000 index 0000000..32e5a3c --- /dev/null +++ b/tests/pkg/1/build2.org/auth/expired/libfoo-1.0.0.tar.gz @@ -0,0 +1 @@ +../libfoo-1.0.0.tar.gz \ No newline at end of file diff --git a/tests/pkg/1/build2.org/auth/expired/packages b/tests/pkg/1/build2.org/auth/expired/packages new file mode 100644 index 0000000..9aaf177 --- /dev/null +++ b/tests/pkg/1/build2.org/auth/expired/packages @@ -0,0 +1,11 @@ +: 1 +sha256sum: ba75221f5f610f5f9ebee19a7449dfcff5c9fb2c7d87d2482b8324c4ea419950 +: +name: libfoo +version: 1.0.0 +summary: libfoo +license: MIT +url: http://example.org +email: pkg@example.org +location: libfoo-1.0.0.tar.gz +sha256sum: 642aa60cda80f6579247dfc64192c67ec3f2ed932ae2f56e592000ad9fea435d diff --git a/tests/pkg/1/build2.org/auth/expired/repositories b/tests/pkg/1/build2.org/auth/expired/repositories new file mode 100644 index 0000000..8370fa4 --- /dev/null +++ b/tests/pkg/1/build2.org/auth/expired/repositories @@ -0,0 +1,33 @@ +: 1 +certificate: \ +-----BEGIN CERTIFICATE----- +MIIFLzCCAxegAwIBAgIJAPIoh0763iYdMA0GCSqGSIb3DQEBCwUAMDMxFzAVBgNV +BAoMDkNvZGUgU3ludGhlc2lzMRgwFgYDVQQDDA9uYW1lOmJ1aWxkMi5vcmcwHhcN +MTYwNTAxMTA1MDMyWhcNMTYwNTAyMTA1MDMyWjAzMRcwFQYDVQQKDA5Db2RlIFN5 +bnRoZXNpczEYMBYGA1UEAwwPbmFtZTpidWlsZDIub3JnMIICIjANBgkqhkiG9w0B +AQEFAAOCAg8AMIICCgKCAgEA2rvxJe7MXMIygVTVGfMR4B/MTRRRgbKdLcXaUbu+ +IfdyjGMu34GsUG51WzhcNOmNdLX2FHEiiESAPvVbWOEO+ZQL3IIxbXc8IgiNEpNP +PR58SFNwwd2E6C8pmyN7QhXuy+gpVdwbsN9RWXnXBY9A9JtSt+xBuxeDs/PkdoPH +4O3aL2HB0TUzTPhHZ23BCSzMXIIqJfxEX2g9eKtPPkRMsLd/X0lRqkutjmXlnKXN +CJ8uE8yUcuWtPSfsqSiEfvBpfcrJ4trQzYgiXfNp4Cy434SsVV5wB2Uki9fTRy2H +Y478bHLT2wgqVqCLartkOKTawy8bx0C/uA1mxen4U6P9dcKI4j1/oPmiykl0r0Hl +QIAGOYZzxbk52/pkt7LlSLvqW4jtyIhM4p8CgSRvIyI0eJHEt0ztoB6LN1zAdThu +bomWaImTxTLJXzl/fea8JJ+6jsP4NBiIrrnT/HBF1MUEiqLfwjAwTraBPtqH8A6a +I+yGPsWPAhTtlYeyTKv2qkTFA4QolegtkmjWt/oxFzwCwnLPrN19CFPUFPOGiA1+ +u7jGNUzp9KuNFQXfiay5ZzP8cqj1bfnQDDbLkXn2TOI/6bsbq4FiuqYSW//XdVqa +DZlnVvfwozPlKzdKR9wMSs7PP8P7SFGU5oIh5a2zUbbNZxC8Gef7MYD6xMi7TEAU +4JECAwEAAaNGMEQwDgYDVR0PAQH/BAQDAgeAMBYGA1UdJQEB/wQMMAoGCCsGAQUF +BwMDMBoGA1UdEQQTMBGBD2luZm9AYnVpbGQyLm9yZzANBgkqhkiG9w0BAQsFAAOC +AgEAAb+Yxvqi4sOZ+Ti8wcxkxqFrIs32M3XgJIeZYJn9JZbtjuBx0JFZWnL/tz4M +VTiM2nrUc4qIIpTqEt2If1NcdH0Cjvf6vysLvIOoB4q09B+aW4F+19moixYodoDp +qq1Ki1MZrBMx+KUICagqRSklPyxaZ2rEFv2TY0pg8/QRFRWGCFgdWJleX6VsqIXC +KDK6MyHfR1gsDnZZfgr7HJCq1SH3loqlchLBvAF6K/c1LdQyJFYoP4xAt6yaQWzv +wEqqhhZ7tLpjrjK0K2pqsPoupNcNhE31k+6ZdM5Z5oHT844qKIVNJIdlvFwnQ3ed +grP6gBCLVY7h7GJ0x2ZG/2hYt4My8RqLxFYHaHAzQsmXFATIzT1Yqz1nw+8V3l5P +m+rXQNVAw7rgpl3T7klbHVfkg5rPa0kF66PkKq5ax46NS6KVj9sNOqkcXL7huQSG +BnSLTkaLwwrSZWl+DPXeY8TgUGkkEMY6RvYdqoOGZiZSqtMfK9QKsFi79a4Munc8 +ypUPxE++jhtXcarDy0ta3BXrspIg63a2Ab6C5yv2fC31Ec5v75rUxt9BVxMMQdlX +h9eMe5FmkgkSBcklOShE2kZvTOPUCSq8DK7JuKsKEH3istPto+PpoyT8RxuZ9K2Q +rr78CskHtj+TVdFv7TAqn2YDx9ki4HJIxWKVanJ+zOBSrJw= +-----END CERTIFICATE----- +\ diff --git a/tests/pkg/1/build2.org/auth/expired/signature b/tests/pkg/1/build2.org/auth/expired/signature new file mode 100644 index 0000000..dc2aeee --- /dev/null +++ b/tests/pkg/1/build2.org/auth/expired/signature @@ -0,0 +1,13 @@ +: 1 +sha256sum: cd05e2ebe9dac484950a54e95a76efba0cac27ec5148dc34fa23a5cd7da72e3d +signature: \ +geWdw7Gm+Rt+CLDMBby5Y796E8rxwImb0bmcZwGWar9D3vkFm9Kjh00Buuo1PuU7tP1dV6yvRbH8 +NzC0IryEoUJHx9909AJ449ET9Zb+C3ykEeBlKH2wonj7cAVK9ZEDpPEGAtp56XWZQEawl50mwq6t +XkZAABxtOswXiicdh3HK7kaPHp38/9CBMc0rva6wDnkbTigUYA2ULqLtP5a5mLovVc48zI9A/hmb +Qx1/Nr7nzTZNDGK7CwTAb1fPam9rZklTfCTPSPUUjvWjM9XdY8cbRE1FrE14TXdyQPxCLzHO2dUO +YWH5/qMikEoCYhYXQ6KhekoT/MUiVC3PMcYQbYOrOtSxq6RcgnymexBe1XIyld5Rfo1eXu8TK11r +QPULIqAGy6RwEUhGznuEiGHQwb1UymNyJ/qgr4vBPjJtlvptqG5XNmtiJ22f07nmeVRi2Vg2UyOw +HoVpy5t/w0tEnUXPA39Vt0v1bUm7Knhc8qL4JFEqK/j/CzEHzEtAjn0aoGuKubCO0WUa+v6ZlkLU +YrNUIdgT1wgj4yEhLO3g+NsnxFH05D2sfR16rrkI2E6st5crAHR8FOl2FDsWxgKqNbzXZw7rl+Fa +TobGycX7MDf2mbBmR/KmEkMBJ4mziWLAycSAGyE5VRYDwHPJlQE0143wBzT8eNw4VLm/r+88VYw= +\ diff --git a/tests/pkg/1/build2.org/auth/libfoo-1.0.0.tar.gz b/tests/pkg/1/build2.org/auth/libfoo-1.0.0.tar.gz new file mode 100644 index 0000000..28a6a90 Binary files /dev/null and b/tests/pkg/1/build2.org/auth/libfoo-1.0.0.tar.gz differ diff --git a/tests/pkg/1/build2.org/auth/name-mismatch/libfoo-1.0.0.tar.gz b/tests/pkg/1/build2.org/auth/name-mismatch/libfoo-1.0.0.tar.gz new file mode 120000 index 0000000..32e5a3c --- /dev/null +++ b/tests/pkg/1/build2.org/auth/name-mismatch/libfoo-1.0.0.tar.gz @@ -0,0 +1 @@ +../libfoo-1.0.0.tar.gz \ No newline at end of file diff --git a/tests/pkg/1/build2.org/auth/name-mismatch/repositories b/tests/pkg/1/build2.org/auth/name-mismatch/repositories new file mode 100644 index 0000000..15fa092 --- /dev/null +++ b/tests/pkg/1/build2.org/auth/name-mismatch/repositories @@ -0,0 +1,34 @@ +: 1 +certificate: \ +-----BEGIN CERTIFICATE----- +MIIFXTCCA0WgAwIBAgIJANXKeBuJax30MA0GCSqGSIb3DQEBCwUAMEoxFzAVBgNV +BAoMDkNvZGUgU3ludGhlc2lzMS8wLQYDVQQDDCZuYW1lOmJ1aWxkMi5vcmcvYXV0 +aC9taXNtYXRjaGVkL25hbWUveDAeFw0xNjA1MDMyMzUyNDJaFw0xNzA1MDMyMzUy +NDJaMEoxFzAVBgNVBAoMDkNvZGUgU3ludGhlc2lzMS8wLQYDVQQDDCZuYW1lOmJ1 +aWxkMi5vcmcvYXV0aC9taXNtYXRjaGVkL25hbWUveDCCAiIwDQYJKoZIhvcNAQEB +BQADggIPADCCAgoCggIBANq78SXuzFzCMoFU1RnzEeAfzE0UUYGynS3F2lG7viH3 +coxjLt+BrFBudVs4XDTpjXS19hRxIohEgD71W1jhDvmUC9yCMW13PCIIjRKTTz0e +fEhTcMHdhOgvKZsje0IV7svoKVXcG7DfUVl51wWPQPSbUrfsQbsXg7Pz5HaDx+Dt +2i9hwdE1M0z4R2dtwQkszFyCKiX8RF9oPXirTz5ETLC3f19JUapLrY5l5ZylzQif +LhPMlHLlrT0n7KkohH7waX3KyeLa0M2IIl3zaeAsuN+ErFVecAdlJIvX00cth2OO +/Gxy09sIKlagi2q7ZDik2sMvG8dAv7gNZsXp+FOj/XXCiOI9f6D5ospJdK9B5UCA +BjmGc8W5Odv6ZLey5Ui76luI7ciITOKfAoEkbyMiNHiRxLdM7aAeizdcwHU4bm6J +lmiJk8UyyV85f33mvCSf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ERTIFICATE----- +\ diff --git a/tests/pkg/1/build2.org/auth/sha256sum-mismatch/libfoo-1.0.0.tar.gz b/tests/pkg/1/build2.org/auth/sha256sum-mismatch/libfoo-1.0.0.tar.gz new file mode 120000 index 0000000..32e5a3c --- /dev/null +++ b/tests/pkg/1/build2.org/auth/sha256sum-mismatch/libfoo-1.0.0.tar.gz @@ -0,0 +1 @@ +../libfoo-1.0.0.tar.gz \ No newline at end of file diff --git a/tests/pkg/1/build2.org/auth/sha256sum-mismatch/repositories b/tests/pkg/1/build2.org/auth/sha256sum-mismatch/repositories new file mode 100644 index 0000000..9bcb20a --- /dev/null +++ b/tests/pkg/1/build2.org/auth/sha256sum-mismatch/repositories @@ -0,0 +1,33 @@ +: 1 +certificate: \ +-----BEGIN CERTIFICATE----- +MIIFLzCCAxegAwIBAgIJAK41T2Si9cMEMA0GCSqGSIb3DQEBCwUAMDMxFzAVBgNV +BAoTDkNvZGUgU3ludGhlc2lzMRgwFgYDVQQDEw9uYW1lOmJ1aWxkMi5vcmcwHhcN +MTYwNDMwMTQyNDQ3WhcNMTcwNDMwMTQyNDQ3WjAzMRcwFQYDVQQKEw5Db2RlIFN5 +bnRoZXNpczEYMBYGA1UEAxMPbmFtZTpidWlsZDIub3JnMIICIjANBgkqhkiG9w0B +AQEFAAOCAg8AMIICCgKCAgEA2rvxJe7MXMIygVTVGfMR4B/MTRRRgbKdLcXaUbu+ +IfdyjGMu34GsUG51WzhcNOmNdLX2FHEiiESAPvVbWOEO+ZQL3IIxbXc8IgiNEpNP +PR58SFNwwd2E6C8pmyN7QhXuy+gpVdwbsN9RWXnXBY9A9JtSt+xBuxeDs/PkdoPH +4O3aL2HB0TUzTPhHZ23BCSzMXIIqJfxEX2g9eKtPPkRMsLd/X0lRqkutjmXlnKXN +CJ8uE8yUcuWtPSfsqSiEfvBpfcrJ4trQzYgiXfNp4Cy434SsVV5wB2Uki9fTRy2H +Y478bHLT2wgqVqCLartkOKTawy8bx0C/uA1mxen4U6P9dcKI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Ypr3bfU6EDx1cU5D6gNAxzZMkZhnEQ7u6kXDcLyWJhgXcZhGT0xv +D/x+fIGI1t2XkoOmvuno1MqoDQX3sCYd0bfB/9wwzcNexic= +-----END CERTIFICATE----- +\ diff --git a/tests/pkg/1/build2.org/auth/signature-mismatch/libfoo-1.0.0.tar.gz b/tests/pkg/1/build2.org/auth/signature-mismatch/libfoo-1.0.0.tar.gz new file mode 120000 index 0000000..32e5a3c --- /dev/null +++ b/tests/pkg/1/build2.org/auth/signature-mismatch/libfoo-1.0.0.tar.gz @@ -0,0 +1 @@ +../libfoo-1.0.0.tar.gz \ No newline at end of file diff --git a/tests/pkg/1/build2.org/auth/signature-mismatch/repositories b/tests/pkg/1/build2.org/auth/signature-mismatch/repositories new file mode 100644 index 0000000..9bcb20a --- /dev/null +++ b/tests/pkg/1/build2.org/auth/signature-mismatch/repositories @@ -0,0 +1,33 @@ +: 1 +certificate: \ +-----BEGIN CERTIFICATE----- +MIIFLzCCAxegAwIBAgIJAK41T2Si9cMEMA0GCSqGSIb3DQEBCwUAMDMxFzAVBgNV +BAoTDkNvZGUgU3ludGhlc2lzMRgwFgYDVQQDEw9uYW1lOmJ1aWxkMi5vcmcwHhcN +MTYwNDMwMTQyNDQ3WhcNMTcwNDMwMTQyNDQ3WjAzMRcwFQYDVQQKEw5Db2RlIFN5 +bnRoZXNpczEYMBYGA1UEAxMPbmFtZTpidWlsZDIub3JnMIICIjANBgkqhkiG9w0B +AQEFAAOCAg8AMIICCgKCAgEA2rvxJe7MXMIygVTVGfMR4B/MTRRRgbKdLcXaUbu+ +IfdyjGMu34GsUG51WzhcNOmNdLX2FHEiiESAPvVbWOEO+ZQL3IIxbXc8IgiNEpNP +PR58SFNwwd2E6C8pmyN7QhXuy+gpVdwbsN9RWXnXBY9A9JtSt+xBuxeDs/PkdoPH +4O3aL2HB0TUzTPhHZ23BCSzMXIIqJfxEX2g9eKtPPkRMsLd/X0lRqkutjmXlnKXN +CJ8uE8yUcuWtPSfsqSiEf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H67KqdXLDpvZqJ9qi +iaBCixRl2t3our5VSBWQQefGnH6DWn1JM34zyBbeZdgjyqebSN42p+hADYe2qzdf +AviHJsBwvt3HYpr3bfU6EDx1cU5D6gNAxzZMkZhnEQ7u6kXDcLyWJhgXcZhGT0xv +D/x+fIGI1t2XkoOmvuno1MqoDQX3sCYd0bfB/9wwzcNexic= +-----END CERTIFICATE----- +\ diff --git a/tests/pkg/1/build2.org/auth/signed/libfoo-1.0.0.tar.gz b/tests/pkg/1/build2.org/auth/signed/libfoo-1.0.0.tar.gz new file mode 120000 index 0000000..32e5a3c --- /dev/null +++ b/tests/pkg/1/build2.org/auth/signed/libfoo-1.0.0.tar.gz @@ -0,0 +1 @@ +../libfoo-1.0.0.tar.gz \ No newline at end of file diff --git a/tests/pkg/1/build2.org/auth/signed/repositories b/tests/pkg/1/build2.org/auth/signed/repositories new file mode 100644 index 0000000..9bcb20a --- /dev/null +++ b/tests/pkg/1/build2.org/auth/signed/repositories @@ -0,0 +1,33 @@ +: 1 +certificate: \ +-----BEGIN CERTIFICATE----- +MIIFLzCCAxegAwIBAgIJAK41T2Si9cMEMA0GCSqGSIb3DQEBCwUAMDMxFzAVBgNV +BAoTDkNvZGUgU3ludGhlc2lzMRgwFgYDVQQDEw9uYW1lOmJ1aWxkMi5vcmcwHhcN +MTYwNDMwMTQyNDQ3WhcNMTcwNDMwMTQyNDQ3WjAzMRcwFQYDVQQKEw5Db2RlIFN5 +bnRoZXNpczEYMBYGA1UEAxMPbmFtZTpidWlsZDIub3JnMIICIjANBgkqhkiG9w0B +AQEFAAOCAg8AMIICCgKCAgEA2rvxJe7MXMIygVTVGfMR4B/MTRRRgbKdLcXaUbu+ +IfdyjGMu34GsUG51WzhcNOmNdLX2FHEiiESAPvVbWOEO+ZQL3IIxbXc8IgiNEpNP +PR58SFNwwd2E6C8pmyN7QhXuy+gpVdwbsN9RWXnXBY9A9JtSt+xBuxeDs/PkdoPH +4O3aL2HB0TUzTPhHZ23BCSzMXIIqJf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dgJhcg9D4kX +2RwwjVpOPWUxevrPq32Lo3R8obfl2aCLzcuiuheb1EcJLlAH67KqdXLDpvZqJ9qi +iaBCixRl2t3our5VSBWQQefGnH6DWn1JM34zyBbeZdgjyqebSN42p+hADYe2qzdf +AviHJsBwvt3HYpr3bfU6EDx1cU5D6gNAxzZMkZhnEQ7u6kXDcLyWJhgXcZhGT0xv +D/x+fIGI1t2XkoOmvuno1MqoDQX3sCYd0bfB/9wwzcNexic= +-----END CERTIFICATE----- +\ diff --git a/tests/pkg/1/build2.org/auth/unsigned1/libfoo-1.0.0.tar.gz b/tests/pkg/1/build2.org/auth/unsigned1/libfoo-1.0.0.tar.gz new file mode 120000 index 0000000..32e5a3c --- /dev/null +++ b/tests/pkg/1/build2.org/auth/unsigned1/libfoo-1.0.0.tar.gz @@ -0,0 +1 @@ +../libfoo-1.0.0.tar.gz \ No newline at end of file diff --git a/tests/pkg/1/build2.org/auth/unsigned1/repositories b/tests/pkg/1/build2.org/auth/unsigned1/repositories new file mode 100644 index 0000000..5b70556 --- /dev/null +++ b/tests/pkg/1/build2.org/auth/unsigned1/repositories @@ -0,0 +1 @@ +: 1 diff --git a/tests/pkg/1/build2.org/auth/unsigned2/libfoo-1.0.0.tar.gz b/tests/pkg/1/build2.org/auth/unsigned2/libfoo-1.0.0.tar.gz new file mode 120000 index 0000000..32e5a3c --- /dev/null +++ b/tests/pkg/1/build2.org/auth/unsigned2/libfoo-1.0.0.tar.gz @@ -0,0 +1 @@ +../libfoo-1.0.0.tar.gz \ No newline at end of file diff --git a/tests/pkg/1/build2.org/auth/unsigned2/repositories b/tests/pkg/1/build2.org/auth/unsigned2/repositories new file mode 100644 index 0000000..5b70556 --- /dev/null +++ b/tests/pkg/1/build2.org/auth/unsigned2/repositories @@ -0,0 +1 @@ +: 1 diff --git a/tests/pkg/1/build2.org/common/bar/stable/libbar-1.0.0.tar.gz b/tests/pkg/1/build2.org/common/bar/stable/libbar-1.0.0.tar.gz new file mode 100644 index 0000000..d77c1ba Binary files /dev/null and b/tests/pkg/1/build2.org/common/bar/stable/libbar-1.0.0.tar.gz differ diff --git a/tests/pkg/1/build2.org/common/bar/stable/repositories b/tests/pkg/1/build2.org/common/bar/stable/repositories new file mode 100644 index 0000000..b8ecc1f --- /dev/null +++ b/tests/pkg/1/build2.org/common/bar/stable/repositories @@ -0,0 +1,6 @@ +# bar/stable +# +: 1 +location: ../../foo/stable +: + diff --git a/tests/pkg/1/build2.org/common/bar/testing/libbar-1.1.0.tar.gz b/tests/pkg/1/build2.org/common/bar/testing/libbar-1.1.0.tar.gz new file mode 100644 index 0000000..f081804 Binary files /dev/null and b/tests/pkg/1/build2.org/common/bar/testing/libbar-1.1.0.tar.gz differ diff --git a/tests/pkg/1/build2.org/common/bar/testing/repositories b/tests/pkg/1/build2.org/common/bar/testing/repositories new file mode 100644 index 0000000..5ab8cba --- /dev/null +++ b/tests/pkg/1/build2.org/common/bar/testing/repositories @@ -0,0 +1,8 @@ +# bar/testing +# +: 1 +location: ../../foo/testing +: +location: ../stable +role: complement +: diff --git a/tests/pkg/1/build2.org/common/bar/unstable/libbar-1.1.1.tar.gz b/tests/pkg/1/build2.org/common/bar/unstable/libbar-1.1.1.tar.gz new file mode 100644 index 0000000..a0fbdc3 Binary files /dev/null and b/tests/pkg/1/build2.org/common/bar/unstable/libbar-1.1.1.tar.gz differ diff --git a/tests/pkg/1/build2.org/common/bar/unstable/repositories b/tests/pkg/1/build2.org/common/bar/unstable/repositories new file mode 100644 index 0000000..d4ddcf5 --- /dev/null +++ b/tests/pkg/1/build2.org/common/bar/unstable/repositories @@ -0,0 +1,8 @@ +# bar/unstable +# +: 1 +location: ../../foo/testing +: +location: ../testing +role: complement +: diff --git a/tests/pkg/1/build2.org/common/foo/stable/libfoo-1.0.0.tar.gz b/tests/pkg/1/build2.org/common/foo/stable/libfoo-1.0.0.tar.gz new file mode 100644 index 0000000..c29dd9d Binary files /dev/null and b/tests/pkg/1/build2.org/common/foo/stable/libfoo-1.0.0.tar.gz differ diff --git a/tests/pkg/1/build2.org/common/foo/stable/repositories b/tests/pkg/1/build2.org/common/foo/stable/repositories new file mode 100644 index 0000000..13673fb --- /dev/null +++ b/tests/pkg/1/build2.org/common/foo/stable/repositories @@ -0,0 +1,3 @@ +# foo/stable +# +: 1 diff --git a/tests/pkg/1/build2.org/common/foo/testing/libfoo-1.1.0.tar.gz b/tests/pkg/1/build2.org/common/foo/testing/libfoo-1.1.0.tar.gz new file mode 100644 index 0000000..a6c0202 Binary files /dev/null and b/tests/pkg/1/build2.org/common/foo/testing/libfoo-1.1.0.tar.gz differ diff --git a/tests/pkg/1/build2.org/common/foo/testing/repositories b/tests/pkg/1/build2.org/common/foo/testing/repositories new file mode 100644 index 0000000..cd33f88 --- /dev/null +++ b/tests/pkg/1/build2.org/common/foo/testing/repositories @@ -0,0 +1,6 @@ +# foo/testing +# +: 1 +location: ../stable +role: complement +: diff --git a/tests/pkg/1/build2.org/common/hello/libhello-1.0.0+1.tar.gz b/tests/pkg/1/build2.org/common/hello/libhello-1.0.0+1.tar.gz new file mode 100644 index 0000000..eeff2a0 Binary files /dev/null and b/tests/pkg/1/build2.org/common/hello/libhello-1.0.0+1.tar.gz differ diff --git a/tests/pkg/1/build2.org/common/hello/repositories b/tests/pkg/1/build2.org/common/hello/repositories new file mode 100644 index 0000000..bbe8a66 --- /dev/null +++ b/tests/pkg/1/build2.org/common/hello/repositories @@ -0,0 +1,36 @@ +# Hello World repository. Currently does not have any prerequisite +# repositories. +# +: 1 +certificate: \ +-----BEGIN CERTIFICATE----- +MIIFLzCCAxegAwIBAgIJAK41T2Si9cMEMA0GCSqGSIb3DQEBCwUAMDMxFzAVBgNV +BAoTDkNvZGUgU3ludGhlc2lzMRgwFgYDVQQDEw9uYW1lOmJ1aWxkMi5vcmcwHhcN +MTYwNDMwMTQyNDQ3WhcNMTcwNDMwMTQyNDQ3WjAzMRcwFQYDVQQKEw5Db2RlIFN5 +bnRoZXNpczEYMBYGA1UEAxMPbmFtZTp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h2vGpgdhK5MWhd +rVGQm+TUVmXyQwNrYDjqhoGZF02UilIekedegWUEvkXnk5rzyzTaX+GwlnsplVY2 +Xijn8cWkO4cCDkthyjfNPgUm8ZgKuBgs+OYRbW4XtuXgeBucBVCryrM8+3OSmzbs +IBQWL0EDT7bnt2ukE+cUx8Foc/+180KZAdDbUY9MOsYCac3bXnIJd/q1pzkr+OvL +EXnuIGuzUqVkcD4+ABaWefNUm3KeZwBAupYc9eo2/YzpCUsgAe0PAdgJhcg9D4kX +2RwwjVpOPWUxevrPq32Lo3R8obfl2aCLzcuiuheb1EcJLlAH67KqdXLDpvZqJ9qi +iaBCixRl2t3our5VSBWQQefGnH6DWn1JM34zyBbeZdgjyqebSN42p+hADYe2qzdf +AviHJsBwvt3HYpr3bfU6EDx1cU5D6gNAxzZMkZhnEQ7u6kXDcLyWJhgXcZhGT0xv +D/x+fIGI1t2XkoOmvuno1MqoDQX3sCYd0bfB/9wwzcNexic= +-----END CERTIFICATE----- +\ diff --git a/tests/pkg/1/build2.org/common/libhello-1.0.0+1/build/bootstrap.build b/tests/pkg/1/build2.org/common/libhello-1.0.0+1/build/bootstrap.build new file mode 100644 index 0000000..c9bf24d --- /dev/null +++ b/tests/pkg/1/build2.org/common/libhello-1.0.0+1/build/bootstrap.build @@ -0,0 +1,15 @@ +project = libhello +version = 1.0.0 +revision = 1 + +using config +using dist +using test +using install + +dist.package = $project-$version + +if ($revision != 0) +{ + dist.package += +$revision +} diff --git a/tests/pkg/1/build2.org/common/libhello-1.0.0+1/build/export.build b/tests/pkg/1/build2.org/common/libhello-1.0.0+1/build/export.build new file mode 100644 index 0000000..1eb73b7 --- /dev/null +++ b/tests/pkg/1/build2.org/common/libhello-1.0.0+1/build/export.build @@ -0,0 +1,6 @@ +$out_root/: +{ + include hello/ +} + +export $out_root/hello/lib{hello} diff --git a/tests/pkg/1/build2.org/common/libhello-1.0.0+1/build/root.build b/tests/pkg/1/build2.org/common/libhello-1.0.0+1/build/root.build new file mode 100644 index 0000000..ebe16d5 --- /dev/null +++ b/tests/pkg/1/build2.org/common/libhello-1.0.0+1/build/root.build @@ -0,0 +1,10 @@ +using cxx + +hxx{*}: extension = +cxx{*}: extension = cxx + +cxx.std = 11 + +# Don't install tests. +# +tests/: install = false diff --git a/tests/pkg/1/build2.org/common/libhello-1.0.0+1/buildfile b/tests/pkg/1/build2.org/common/libhello-1.0.0+1/buildfile new file mode 100644 index 0000000..f846f89 --- /dev/null +++ b/tests/pkg/1/build2.org/common/libhello-1.0.0+1/buildfile @@ -0,0 +1,3 @@ +d = hello/ tests/ +./: $d doc{version} file{manifest} +include $d diff --git a/tests/pkg/1/build2.org/common/libhello-1.0.0+1/hello/buildfile b/tests/pkg/1/build2.org/common/libhello-1.0.0+1/hello/buildfile new file mode 100644 index 0000000..4903a33 --- /dev/null +++ b/tests/pkg/1/build2.org/common/libhello-1.0.0+1/hello/buildfile @@ -0,0 +1,8 @@ +lib{hello}: {hxx cxx}{hello} + +cxx.poptions += -I$src_root +lib{hello}: cxx.export.poptions = -I$src_root + +# Install into the hello/ subdirectory of, say, /usr/include/. +# +install.include = $install.include/hello diff --git a/tests/pkg/1/build2.org/common/libhello-1.0.0+1/hello/hello b/tests/pkg/1/build2.org/common/libhello-1.0.0+1/hello/hello new file mode 100644 index 0000000..4f85114 --- /dev/null +++ b/tests/pkg/1/build2.org/common/libhello-1.0.0+1/hello/hello @@ -0,0 +1,11 @@ +// file: hello/hello -*- C++ -*- + +#pragma once + +#include + +namespace hello +{ + void + say (const std::string& name); +} diff --git a/tests/pkg/1/build2.org/common/libhello-1.0.0+1/hello/hello.cxx b/tests/pkg/1/build2.org/common/libhello-1.0.0+1/hello/hello.cxx new file mode 100644 index 0000000..65d0aa7 --- /dev/null +++ b/tests/pkg/1/build2.org/common/libhello-1.0.0+1/hello/hello.cxx @@ -0,0 +1,16 @@ +// file: hello/hello.cxx -*- C++ -*- + +#include + +#include + +using namespace std; + +namespace hello +{ + void + say (const string& n) + { + cout << "Hello, " << n << '!' << endl; + } +} diff --git a/tests/pkg/1/build2.org/common/libhello-1.0.0+1/manifest b/tests/pkg/1/build2.org/common/libhello-1.0.0+1/manifest new file mode 100644 index 0000000..82d79c8 --- /dev/null +++ b/tests/pkg/1/build2.org/common/libhello-1.0.0+1/manifest @@ -0,0 +1,13 @@ +: 1 +name: libhello +version: 1.0.0+1 +summary: The "Hello World" example library +license: MIT +tags: c++, hello, world, example +description: \ +A simple library that implements the "Hello World" example in C++. Its primary +goal is to show a canonical build2/bpkg project/package. +\ +url: http://www.example.org/libhello +email: hello-users@example.org +requires: c++11 diff --git a/tests/pkg/1/build2.org/common/libhello-1.0.0+1/tests/build/bootstrap.build b/tests/pkg/1/build2.org/common/libhello-1.0.0+1/tests/build/bootstrap.build new file mode 100644 index 0000000..2c2de24 --- /dev/null +++ b/tests/pkg/1/build2.org/common/libhello-1.0.0+1/tests/build/bootstrap.build @@ -0,0 +1,5 @@ +project = # Unnamed subproject. + +using config +using dist +using test diff --git a/tests/pkg/1/build2.org/common/libhello-1.0.0+1/tests/build/root.build b/tests/pkg/1/build2.org/common/libhello-1.0.0+1/tests/build/root.build new file mode 100644 index 0000000..672eda8 --- /dev/null +++ b/tests/pkg/1/build2.org/common/libhello-1.0.0+1/tests/build/root.build @@ -0,0 +1,10 @@ +using cxx + +hxx{*}: extension = +cxx{*}: extension = cxx + +cxx.std = 11 + +# Every exe{} in this subproject is by default a test. +# +test.exe = true diff --git a/tests/pkg/1/build2.org/common/libhello-1.0.0+1/tests/buildfile b/tests/pkg/1/build2.org/common/libhello-1.0.0+1/tests/buildfile new file mode 100644 index 0000000..4dcbe2a --- /dev/null +++ b/tests/pkg/1/build2.org/common/libhello-1.0.0+1/tests/buildfile @@ -0,0 +1,3 @@ +d = test/ +./: $d +include $d diff --git a/tests/pkg/1/build2.org/common/libhello-1.0.0+1/tests/test/buildfile b/tests/pkg/1/build2.org/common/libhello-1.0.0+1/tests/test/buildfile new file mode 100644 index 0000000..a46969d --- /dev/null +++ b/tests/pkg/1/build2.org/common/libhello-1.0.0+1/tests/test/buildfile @@ -0,0 +1,4 @@ +import libs = libhello%lib{hello} + +exe{driver}: cxx{driver} $libs +exe{driver}: test.output = test.out diff --git a/tests/pkg/1/build2.org/common/libhello-1.0.0+1/tests/test/driver.cxx b/tests/pkg/1/build2.org/common/libhello-1.0.0+1/tests/test/driver.cxx new file mode 100644 index 0000000..59bfb2d --- /dev/null +++ b/tests/pkg/1/build2.org/common/libhello-1.0.0+1/tests/test/driver.cxx @@ -0,0 +1,11 @@ +// file: tests/test/driver.cxx -*- C++ -*- + +#include + +int +main () +{ + using hello::say; + + say ("World"); +} diff --git a/tests/pkg/1/build2.org/common/libhello-1.0.0+1/tests/test/test.out b/tests/pkg/1/build2.org/common/libhello-1.0.0+1/tests/test/test.out new file mode 100644 index 0000000..8ab686e --- /dev/null +++ b/tests/pkg/1/build2.org/common/libhello-1.0.0+1/tests/test/test.out @@ -0,0 +1 @@ +Hello, World! diff --git a/tests/pkg/1/build2.org/common/libhello-1.0.0+1/version b/tests/pkg/1/build2.org/common/libhello-1.0.0+1/version new file mode 100644 index 0000000..3eefcb9 --- /dev/null +++ b/tests/pkg/1/build2.org/common/libhello-1.0.0+1/version @@ -0,0 +1 @@ +1.0.0 diff --git a/tests/pkg/1/build2.org/common/not-a-package.tar.gz b/tests/pkg/1/build2.org/common/not-a-package.tar.gz new file mode 100644 index 0000000..aa10905 Binary files /dev/null and b/tests/pkg/1/build2.org/common/not-a-package.tar.gz differ diff --git a/tests/pkg/1/build2.org/depend/stable/libbar-1.0.0.tar.gz b/tests/pkg/1/build2.org/depend/stable/libbar-1.0.0.tar.gz new file mode 100644 index 0000000..0ae6e26 Binary files /dev/null and b/tests/pkg/1/build2.org/depend/stable/libbar-1.0.0.tar.gz differ diff --git a/tests/pkg/1/build2.org/depend/stable/libbar-1.1.0.tar.gz b/tests/pkg/1/build2.org/depend/stable/libbar-1.1.0.tar.gz new file mode 100644 index 0000000..39dbdf4 Binary files /dev/null and b/tests/pkg/1/build2.org/depend/stable/libbar-1.1.0.tar.gz differ diff --git a/tests/pkg/1/build2.org/depend/stable/libbar-1.2.0.tar.gz b/tests/pkg/1/build2.org/depend/stable/libbar-1.2.0.tar.gz new file mode 100644 index 0000000..3a034ff Binary files /dev/null and b/tests/pkg/1/build2.org/depend/stable/libbar-1.2.0.tar.gz differ diff --git a/tests/pkg/1/build2.org/depend/stable/libbar-1.3.0.tar.gz b/tests/pkg/1/build2.org/depend/stable/libbar-1.3.0.tar.gz new file mode 100644 index 0000000..19d5a6f Binary files /dev/null and b/tests/pkg/1/build2.org/depend/stable/libbar-1.3.0.tar.gz differ diff --git a/tests/pkg/1/build2.org/depend/stable/libfoo-1.0.0.tar.gz b/tests/pkg/1/build2.org/depend/stable/libfoo-1.0.0.tar.gz new file mode 100644 index 0000000..28a6a90 Binary files /dev/null and b/tests/pkg/1/build2.org/depend/stable/libfoo-1.0.0.tar.gz differ diff --git a/tests/pkg/1/build2.org/depend/stable/libfoo-1.1.0.tar.gz b/tests/pkg/1/build2.org/depend/stable/libfoo-1.1.0.tar.gz new file mode 100644 index 0000000..e03481f Binary files /dev/null and b/tests/pkg/1/build2.org/depend/stable/libfoo-1.1.0.tar.gz differ diff --git a/tests/pkg/1/build2.org/depend/stable/libfoo-1.2.0.tar.gz b/tests/pkg/1/build2.org/depend/stable/libfoo-1.2.0.tar.gz new file mode 100644 index 0000000..aad6906 Binary files /dev/null and b/tests/pkg/1/build2.org/depend/stable/libfoo-1.2.0.tar.gz differ diff --git a/tests/pkg/1/build2.org/depend/stable/repositories b/tests/pkg/1/build2.org/depend/stable/repositories new file mode 100644 index 0000000..5b70556 --- /dev/null +++ b/tests/pkg/1/build2.org/depend/stable/repositories @@ -0,0 +1 @@ +: 1 diff --git a/tests/pkg/1/build2.org/fetch/libfoo-1.0.0.tar.gz b/tests/pkg/1/build2.org/fetch/libfoo-1.0.0.tar.gz new file mode 100644 index 0000000..28a6a90 Binary files /dev/null and b/tests/pkg/1/build2.org/fetch/libfoo-1.0.0.tar.gz differ diff --git a/tests/pkg/1/build2.org/fetch/libfoo-1.1.0.tar.gz b/tests/pkg/1/build2.org/fetch/libfoo-1.1.0.tar.gz new file mode 100644 index 0000000..e03481f Binary files /dev/null and b/tests/pkg/1/build2.org/fetch/libfoo-1.1.0.tar.gz differ diff --git a/tests/pkg/1/build2.org/fetch/libfoo-1.1.0/build/bootstrap.build b/tests/pkg/1/build2.org/fetch/libfoo-1.1.0/build/bootstrap.build new file mode 100644 index 0000000..54f267e --- /dev/null +++ b/tests/pkg/1/build2.org/fetch/libfoo-1.1.0/build/bootstrap.build @@ -0,0 +1,2 @@ +project = fetch-libfoo +using config diff --git a/tests/pkg/1/build2.org/fetch/libfoo-1.1.0/buildfile b/tests/pkg/1/build2.org/fetch/libfoo-1.1.0/buildfile new file mode 100644 index 0000000..b3ec74f --- /dev/null +++ b/tests/pkg/1/build2.org/fetch/libfoo-1.1.0/buildfile @@ -0,0 +1 @@ +.: diff --git a/tests/pkg/1/build2.org/fetch/libfoo-1.1.0/manifest b/tests/pkg/1/build2.org/fetch/libfoo-1.1.0/manifest new file mode 100644 index 0000000..3453757 --- /dev/null +++ b/tests/pkg/1/build2.org/fetch/libfoo-1.1.0/manifest @@ -0,0 +1,7 @@ +: 1 +name: libfoo +version: 1.1.0 +summary: libfoo +license: MIT +url: http://example.org +email: pkg@example.org diff --git a/tests/pkg/1/build2.org/fetch/repositories b/tests/pkg/1/build2.org/fetch/repositories new file mode 100644 index 0000000..5b70556 --- /dev/null +++ b/tests/pkg/1/build2.org/fetch/repositories @@ -0,0 +1 @@ +: 1 diff --git a/tests/pkg/1/build2.org/fetch/t1/libfoo-1.0.0.tar.gz b/tests/pkg/1/build2.org/fetch/t1/libfoo-1.0.0.tar.gz new file mode 120000 index 0000000..32e5a3c --- /dev/null +++ b/tests/pkg/1/build2.org/fetch/t1/libfoo-1.0.0.tar.gz @@ -0,0 +1 @@ +../libfoo-1.0.0.tar.gz \ No newline at end of file diff --git a/tests/pkg/1/build2.org/fetch/t1/libfoo-1.1.0.tar.gz b/tests/pkg/1/build2.org/fetch/t1/libfoo-1.1.0.tar.gz new file mode 120000 index 0000000..c004b2a --- /dev/null +++ b/tests/pkg/1/build2.org/fetch/t1/libfoo-1.1.0.tar.gz @@ -0,0 +1 @@ +../libfoo-1.1.0.tar.gz \ No newline at end of file diff --git a/tests/pkg/1/build2.org/fetch/t1/repositories b/tests/pkg/1/build2.org/fetch/t1/repositories new file mode 120000 index 0000000..d965b15 --- /dev/null +++ b/tests/pkg/1/build2.org/fetch/t1/repositories @@ -0,0 +1 @@ +../repositories \ No newline at end of file diff --git a/tests/pkg/1/build2.org/satisfy/libbar-1.0.0.tar.gz b/tests/pkg/1/build2.org/satisfy/libbar-1.0.0.tar.gz new file mode 100644 index 0000000..5dc3a9b Binary files /dev/null and b/tests/pkg/1/build2.org/satisfy/libbar-1.0.0.tar.gz differ diff --git a/tests/pkg/1/build2.org/satisfy/libbar-1.1.0.tar.gz b/tests/pkg/1/build2.org/satisfy/libbar-1.1.0.tar.gz new file mode 100644 index 0000000..881292e Binary files /dev/null and b/tests/pkg/1/build2.org/satisfy/libbar-1.1.0.tar.gz differ diff --git a/tests/pkg/1/build2.org/satisfy/libbar-1.2.0.tar.gz b/tests/pkg/1/build2.org/satisfy/libbar-1.2.0.tar.gz new file mode 100644 index 0000000..4572395 Binary files /dev/null and b/tests/pkg/1/build2.org/satisfy/libbar-1.2.0.tar.gz differ diff --git a/tests/pkg/1/build2.org/satisfy/libbaz-1.0.0.tar.gz b/tests/pkg/1/build2.org/satisfy/libbaz-1.0.0.tar.gz new file mode 100644 index 0000000..1de32b2 Binary files /dev/null and b/tests/pkg/1/build2.org/satisfy/libbaz-1.0.0.tar.gz differ diff --git a/tests/pkg/1/build2.org/satisfy/libbaz-1.1.0.tar.gz b/tests/pkg/1/build2.org/satisfy/libbaz-1.1.0.tar.gz new file mode 100644 index 0000000..1aa72a8 Binary files /dev/null and b/tests/pkg/1/build2.org/satisfy/libbaz-1.1.0.tar.gz differ diff --git a/tests/pkg/1/build2.org/satisfy/libbiz-1.0.0.tar.gz b/tests/pkg/1/build2.org/satisfy/libbiz-1.0.0.tar.gz new file mode 100644 index 0000000..42e3db4 Binary files /dev/null and b/tests/pkg/1/build2.org/satisfy/libbiz-1.0.0.tar.gz differ diff --git a/tests/pkg/1/build2.org/satisfy/libfoo-0.0.0.tar.gz b/tests/pkg/1/build2.org/satisfy/libfoo-0.0.0.tar.gz new file mode 100644 index 0000000..befd2a4 Binary files /dev/null and b/tests/pkg/1/build2.org/satisfy/libfoo-0.0.0.tar.gz differ diff --git a/tests/pkg/1/build2.org/satisfy/libfoo-1.0.0.tar.gz b/tests/pkg/1/build2.org/satisfy/libfoo-1.0.0.tar.gz new file mode 100644 index 0000000..28a6a90 Binary files /dev/null and b/tests/pkg/1/build2.org/satisfy/libfoo-1.0.0.tar.gz differ diff --git a/tests/pkg/1/build2.org/satisfy/libfoo-1.1.0.tar.gz b/tests/pkg/1/build2.org/satisfy/libfoo-1.1.0.tar.gz new file mode 100644 index 0000000..e03481f Binary files /dev/null and b/tests/pkg/1/build2.org/satisfy/libfoo-1.1.0.tar.gz differ diff --git a/tests/pkg/1/build2.org/satisfy/libfoo-1.1.0/build/bootstrap.build b/tests/pkg/1/build2.org/satisfy/libfoo-1.1.0/build/bootstrap.build new file mode 100644 index 0000000..b24ee6a --- /dev/null +++ b/tests/pkg/1/build2.org/satisfy/libfoo-1.1.0/build/bootstrap.build @@ -0,0 +1,2 @@ +project = satisfy-libfoo +using config diff --git a/tests/pkg/1/build2.org/satisfy/libfoo-1.1.0/buildfile b/tests/pkg/1/build2.org/satisfy/libfoo-1.1.0/buildfile new file mode 100644 index 0000000..b3ec74f --- /dev/null +++ b/tests/pkg/1/build2.org/satisfy/libfoo-1.1.0/buildfile @@ -0,0 +1 @@ +.: diff --git a/tests/pkg/1/build2.org/satisfy/libfoo-1.1.0/manifest b/tests/pkg/1/build2.org/satisfy/libfoo-1.1.0/manifest new file mode 100644 index 0000000..3453757 --- /dev/null +++ b/tests/pkg/1/build2.org/satisfy/libfoo-1.1.0/manifest @@ -0,0 +1,7 @@ +: 1 +name: libfoo +version: 1.1.0 +summary: libfoo +license: MIT +url: http://example.org +email: pkg@example.org diff --git a/tests/pkg/1/build2.org/satisfy/libfoo-1.2.0.tar.gz b/tests/pkg/1/build2.org/satisfy/libfoo-1.2.0.tar.gz new file mode 100644 index 0000000..80ce03b Binary files /dev/null and b/tests/pkg/1/build2.org/satisfy/libfoo-1.2.0.tar.gz differ diff --git a/tests/pkg/1/build2.org/satisfy/libfox-1.0.0.tar.gz b/tests/pkg/1/build2.org/satisfy/libfox-1.0.0.tar.gz new file mode 100644 index 0000000..9ba7a31 Binary files /dev/null and b/tests/pkg/1/build2.org/satisfy/libfox-1.0.0.tar.gz differ diff --git a/tests/pkg/1/build2.org/satisfy/repositories b/tests/pkg/1/build2.org/satisfy/repositories new file mode 100644 index 0000000..5b70556 --- /dev/null +++ b/tests/pkg/1/build2.org/satisfy/repositories @@ -0,0 +1 @@ +: 1 diff --git a/tests/pkg/1/build2.org/satisfy/t1/libfoo-1.0.0.tar.gz b/tests/pkg/1/build2.org/satisfy/t1/libfoo-1.0.0.tar.gz new file mode 120000 index 0000000..32e5a3c --- /dev/null +++ b/tests/pkg/1/build2.org/satisfy/t1/libfoo-1.0.0.tar.gz @@ -0,0 +1 @@ +../libfoo-1.0.0.tar.gz \ No newline at end of file diff --git a/tests/pkg/1/build2.org/satisfy/t1/repositories b/tests/pkg/1/build2.org/satisfy/t1/repositories new file mode 120000 index 0000000..d965b15 --- /dev/null +++ b/tests/pkg/1/build2.org/satisfy/t1/repositories @@ -0,0 +1 @@ +../repositories \ No newline at end of file diff --git a/tests/pkg/1/build2.org/satisfy/t2/libbar-1.0.0.tar.gz b/tests/pkg/1/build2.org/satisfy/t2/libbar-1.0.0.tar.gz new file mode 120000 index 0000000..93e8c71 --- /dev/null +++ b/tests/pkg/1/build2.org/satisfy/t2/libbar-1.0.0.tar.gz @@ -0,0 +1 @@ +../libbar-1.0.0.tar.gz \ No newline at end of file diff --git a/tests/pkg/1/build2.org/satisfy/t2/libfoo-1.0.0.tar.gz b/tests/pkg/1/build2.org/satisfy/t2/libfoo-1.0.0.tar.gz new file mode 120000 index 0000000..32e5a3c --- /dev/null +++ b/tests/pkg/1/build2.org/satisfy/t2/libfoo-1.0.0.tar.gz @@ -0,0 +1 @@ +../libfoo-1.0.0.tar.gz \ No newline at end of file diff --git a/tests/pkg/1/build2.org/satisfy/t2/repositories b/tests/pkg/1/build2.org/satisfy/t2/repositories new file mode 120000 index 0000000..d965b15 --- /dev/null +++ b/tests/pkg/1/build2.org/satisfy/t2/repositories @@ -0,0 +1 @@ +../repositories \ No newline at end of file diff --git a/tests/pkg/1/build2.org/satisfy/t3/libbaz-1.0.0.tar.gz b/tests/pkg/1/build2.org/satisfy/t3/libbaz-1.0.0.tar.gz new file mode 120000 index 0000000..189242a --- /dev/null +++ b/tests/pkg/1/build2.org/satisfy/t3/libbaz-1.0.0.tar.gz @@ -0,0 +1 @@ +../libbaz-1.0.0.tar.gz \ No newline at end of file diff --git a/tests/pkg/1/build2.org/satisfy/t3/libfox-1.0.0.tar.gz b/tests/pkg/1/build2.org/satisfy/t3/libfox-1.0.0.tar.gz new file mode 120000 index 0000000..dcfd7aa --- /dev/null +++ b/tests/pkg/1/build2.org/satisfy/t3/libfox-1.0.0.tar.gz @@ -0,0 +1 @@ +../libfox-1.0.0.tar.gz \ No newline at end of file diff --git a/tests/pkg/1/build2.org/satisfy/t3/repositories b/tests/pkg/1/build2.org/satisfy/t3/repositories new file mode 100644 index 0000000..d65b272 --- /dev/null +++ b/tests/pkg/1/build2.org/satisfy/t3/repositories @@ -0,0 +1,4 @@ +: 1 +location: ../t2 +: + diff --git a/tests/pkg/1/build2.org/satisfy/t4a/libfoo-1.1.0.tar.gz b/tests/pkg/1/build2.org/satisfy/t4a/libfoo-1.1.0.tar.gz new file mode 120000 index 0000000..c004b2a --- /dev/null +++ b/tests/pkg/1/build2.org/satisfy/t4a/libfoo-1.1.0.tar.gz @@ -0,0 +1 @@ +../libfoo-1.1.0.tar.gz \ No newline at end of file diff --git a/tests/pkg/1/build2.org/satisfy/t4a/repositories b/tests/pkg/1/build2.org/satisfy/t4a/repositories new file mode 120000 index 0000000..d965b15 --- /dev/null +++ b/tests/pkg/1/build2.org/satisfy/t4a/repositories @@ -0,0 +1 @@ +../repositories \ No newline at end of file diff --git a/tests/pkg/1/build2.org/satisfy/t4b/libbar-1.1.0.tar.gz b/tests/pkg/1/build2.org/satisfy/t4b/libbar-1.1.0.tar.gz new file mode 120000 index 0000000..b9a2de5 --- /dev/null +++ b/tests/pkg/1/build2.org/satisfy/t4b/libbar-1.1.0.tar.gz @@ -0,0 +1 @@ +../libbar-1.1.0.tar.gz \ No newline at end of file diff --git a/tests/pkg/1/build2.org/satisfy/t4b/repositories b/tests/pkg/1/build2.org/satisfy/t4b/repositories new file mode 100644 index 0000000..7b85e71 --- /dev/null +++ b/tests/pkg/1/build2.org/satisfy/t4b/repositories @@ -0,0 +1,3 @@ +: 1 +location: ../t4a +: diff --git a/tests/pkg/1/build2.org/satisfy/t4c/libbaz-1.1.0.tar.gz b/tests/pkg/1/build2.org/satisfy/t4c/libbaz-1.1.0.tar.gz new file mode 120000 index 0000000..0edbce7 --- /dev/null +++ b/tests/pkg/1/build2.org/satisfy/t4c/libbaz-1.1.0.tar.gz @@ -0,0 +1 @@ +../libbaz-1.1.0.tar.gz \ No newline at end of file diff --git a/tests/pkg/1/build2.org/satisfy/t4c/libfoo-1.0.0.tar.gz b/tests/pkg/1/build2.org/satisfy/t4c/libfoo-1.0.0.tar.gz new file mode 120000 index 0000000..32e5a3c --- /dev/null +++ b/tests/pkg/1/build2.org/satisfy/t4c/libfoo-1.0.0.tar.gz @@ -0,0 +1 @@ +../libfoo-1.0.0.tar.gz \ No newline at end of file diff --git a/tests/pkg/1/build2.org/satisfy/t4c/repositories b/tests/pkg/1/build2.org/satisfy/t4c/repositories new file mode 100644 index 0000000..26c0e93 --- /dev/null +++ b/tests/pkg/1/build2.org/satisfy/t4c/repositories @@ -0,0 +1,3 @@ +: 1 +location: ../t4b +: diff --git a/tests/pkg/1/build2.org/satisfy/t4d/libbiz-1.0.0.tar.gz b/tests/pkg/1/build2.org/satisfy/t4d/libbiz-1.0.0.tar.gz new file mode 120000 index 0000000..70c2fda --- /dev/null +++ b/tests/pkg/1/build2.org/satisfy/t4d/libbiz-1.0.0.tar.gz @@ -0,0 +1 @@ +../libbiz-1.0.0.tar.gz \ No newline at end of file diff --git a/tests/pkg/1/build2.org/satisfy/t4d/libfox-1.0.0.tar.gz b/tests/pkg/1/build2.org/satisfy/t4d/libfox-1.0.0.tar.gz new file mode 120000 index 0000000..dcfd7aa --- /dev/null +++ b/tests/pkg/1/build2.org/satisfy/t4d/libfox-1.0.0.tar.gz @@ -0,0 +1 @@ +../libfox-1.0.0.tar.gz \ No newline at end of file diff --git a/tests/pkg/1/build2.org/satisfy/t4d/repositories b/tests/pkg/1/build2.org/satisfy/t4d/repositories new file mode 100644 index 0000000..f0e1983 --- /dev/null +++ b/tests/pkg/1/build2.org/satisfy/t4d/repositories @@ -0,0 +1,3 @@ +: 1 +location: ../t4c +: diff --git a/tests/pkg/1/build2.org/satisfy/t5/libbar-1.2.0.tar.gz b/tests/pkg/1/build2.org/satisfy/t5/libbar-1.2.0.tar.gz new file mode 120000 index 0000000..b4a7773 --- /dev/null +++ b/tests/pkg/1/build2.org/satisfy/t5/libbar-1.2.0.tar.gz @@ -0,0 +1 @@ +../libbar-1.2.0.tar.gz \ No newline at end of file diff --git a/tests/pkg/1/build2.org/satisfy/t5/repositories b/tests/pkg/1/build2.org/satisfy/t5/repositories new file mode 120000 index 0000000..d965b15 --- /dev/null +++ b/tests/pkg/1/build2.org/satisfy/t5/repositories @@ -0,0 +1 @@ +../repositories \ No newline at end of file diff --git a/tests/pkg/1/build2.org/status/extra/libbar-1.1.0+1.tar.gz b/tests/pkg/1/build2.org/status/extra/libbar-1.1.0+1.tar.gz new file mode 100644 index 0000000..890e9e2 Binary files /dev/null and b/tests/pkg/1/build2.org/status/extra/libbar-1.1.0+1.tar.gz differ diff --git a/tests/pkg/1/build2.org/status/extra/repositories b/tests/pkg/1/build2.org/status/extra/repositories new file mode 100644 index 0000000..ecaa454 --- /dev/null +++ b/tests/pkg/1/build2.org/status/extra/repositories @@ -0,0 +1,3 @@ +: 1 +location: ../stable +: diff --git a/tests/pkg/1/build2.org/status/stable/libbar-1.0.0.tar.gz b/tests/pkg/1/build2.org/status/stable/libbar-1.0.0.tar.gz new file mode 100644 index 0000000..97e6e32 Binary files /dev/null and b/tests/pkg/1/build2.org/status/stable/libbar-1.0.0.tar.gz differ diff --git a/tests/pkg/1/build2.org/status/stable/libfoo-1.0.0.tar.gz b/tests/pkg/1/build2.org/status/stable/libfoo-1.0.0.tar.gz new file mode 100644 index 0000000..5e7fa17 Binary files /dev/null and b/tests/pkg/1/build2.org/status/stable/libfoo-1.0.0.tar.gz differ diff --git a/tests/pkg/1/build2.org/status/stable/repositories b/tests/pkg/1/build2.org/status/stable/repositories new file mode 100644 index 0000000..5b70556 --- /dev/null +++ b/tests/pkg/1/build2.org/status/stable/repositories @@ -0,0 +1 @@ +: 1 diff --git a/tests/pkg/1/build2.org/status/testing/libbar-1.0.0+1.tar.gz b/tests/pkg/1/build2.org/status/testing/libbar-1.0.0+1.tar.gz new file mode 100644 index 0000000..5794085 Binary files /dev/null and b/tests/pkg/1/build2.org/status/testing/libbar-1.0.0+1.tar.gz differ diff --git a/tests/pkg/1/build2.org/status/testing/libbar-1.1.0.tar.gz b/tests/pkg/1/build2.org/status/testing/libbar-1.1.0.tar.gz new file mode 100644 index 0000000..b01ac44 Binary files /dev/null and b/tests/pkg/1/build2.org/status/testing/libbar-1.1.0.tar.gz differ diff --git a/tests/pkg/1/build2.org/status/testing/repositories b/tests/pkg/1/build2.org/status/testing/repositories new file mode 100644 index 0000000..7bd7269 --- /dev/null +++ b/tests/pkg/1/build2.org/status/testing/repositories @@ -0,0 +1,6 @@ +: 1 +location: ../stable +role: complement +: +location: ../extra +: diff --git a/tests/pkg/1/build2.org/status/unstable/libbar-2.0.0.tar.gz b/tests/pkg/1/build2.org/status/unstable/libbar-2.0.0.tar.gz new file mode 100644 index 0000000..6cc5890 Binary files /dev/null and b/tests/pkg/1/build2.org/status/unstable/libbar-2.0.0.tar.gz differ diff --git a/tests/pkg/1/build2.org/status/unstable/repositories b/tests/pkg/1/build2.org/status/unstable/repositories new file mode 100644 index 0000000..8f4a5f6 --- /dev/null +++ b/tests/pkg/1/build2.org/status/unstable/repositories @@ -0,0 +1,4 @@ +: 1 +location: ../testing +role: complement +: -- cgit v1.1