commit 724cbf600ce08d4d83d1dffd77683c9ffea927450a8d34c29b4a8256fa6eac53 Author: Johannes Segitz Date: Fri Nov 19 06:47:53 2021 +0000 Accepting request 932384 from home:firstyear:branches:devel:languages:rust Submit new package rage-encryption OBS-URL: https://build.opensuse.org/request/show/932384 OBS-URL: https://build.opensuse.org/package/show/security/rage-encryption?expand=0&rev=1 diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..9b03811 --- /dev/null +++ b/.gitattributes @@ -0,0 +1,23 @@ +## Default LFS +*.7z filter=lfs diff=lfs merge=lfs -text +*.bsp filter=lfs diff=lfs merge=lfs -text +*.bz2 filter=lfs diff=lfs merge=lfs -text +*.gem filter=lfs diff=lfs merge=lfs -text +*.gz filter=lfs diff=lfs merge=lfs -text +*.jar filter=lfs diff=lfs merge=lfs -text +*.lz filter=lfs diff=lfs merge=lfs -text +*.lzma filter=lfs diff=lfs merge=lfs -text +*.obscpio filter=lfs diff=lfs merge=lfs -text +*.oxt filter=lfs diff=lfs merge=lfs -text +*.pdf filter=lfs diff=lfs merge=lfs -text +*.png filter=lfs diff=lfs merge=lfs -text +*.rpm filter=lfs diff=lfs merge=lfs -text +*.tbz filter=lfs diff=lfs merge=lfs -text +*.tbz2 filter=lfs diff=lfs merge=lfs -text +*.tgz filter=lfs diff=lfs merge=lfs -text +*.ttf filter=lfs diff=lfs merge=lfs -text +*.txz filter=lfs diff=lfs merge=lfs -text +*.whl filter=lfs diff=lfs merge=lfs -text +*.xz filter=lfs diff=lfs merge=lfs -text +*.zip filter=lfs diff=lfs merge=lfs -text +*.zst filter=lfs diff=lfs merge=lfs -text diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..57affb6 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +.osc diff --git a/_service b/_service new file mode 100644 index 0000000..71f7a9a --- /dev/null +++ b/_service @@ -0,0 +1,27 @@ + + + https://github.com/str4d/rage.git + @PARENT_TAG@~git@TAG_OFFSET@.%h + git + v0.7.0 + * + v(\d+\.\d+\.\d+) + \1 + enable + william.brown@suse.com + + + + *.tar + xz + + + + rage + xz + true + + + rage + + diff --git a/cargo_config b/cargo_config new file mode 100644 index 0000000..6fb4ff4 --- /dev/null +++ b/cargo_config @@ -0,0 +1,5 @@ +[source.crates-io] +replace-with = "vendored-sources" + +[source.vendored-sources] +directory = "vendor" \ No newline at end of file diff --git a/rage-0.7.0~git0.c93b914.tar.xz b/rage-0.7.0~git0.c93b914.tar.xz new file mode 100644 index 0000000..49e734f --- /dev/null +++ b/rage-0.7.0~git0.c93b914.tar.xz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:fb263ec0f30999226a8189a3c345bbc1413db2cc053c4a58885cf25acd1f7818 +size 116700 diff --git a/rage-encyrption.changes b/rage-encyrption.changes new file mode 100644 index 0000000..a589ecc --- /dev/null +++ b/rage-encyrption.changes @@ -0,0 +1,19 @@ +------------------------------------------------------------------- +Fri Nov 19 01:08:01 UTC 2021 - william.brown@suse.com + +- Update to version 0.7.0~git0.c93b914: + * v0.7.0 + * cargo update fuzz* + * Update lockfiles for fuzzers + * rage: Pin clap to 3.0.0-beta.2 + * CI: Add bitrot check to ensure examples and benchmarks still compile + * console 0.15 + * age: Re-export `secrecy` crate + * age-core: Improve crate documentation + * age-core: Re-export `secrecy` crate + * age-core: Add `plugin::Error` enum + +------------------------------------------------------------------- +Tue Nov 16 02:26:14 UTC 2021 - William Brown + +- Initial commit of rage diff --git a/rage-encyrption.spec b/rage-encyrption.spec new file mode 100644 index 0000000..f4a2631 --- /dev/null +++ b/rage-encyrption.spec @@ -0,0 +1,60 @@ +# +# spec file for package rage +# +# Copyright (c) 2021 SUSE LLC +# +# All modifications and additions to the file contributed by third parties +# remain the property of their copyright owners, unless otherwise agreed +# upon. The license for this file, and modifications and additions to the +# file, is the same license as for the pristine package itself (unless the +# license for the pristine package is not an Open Source License, in which +# case the license is the MIT License). An "Open Source License" is a +# license that conforms to the Open Source Definition (Version 1.9) +# published by the Open Source Initiative. + +# Please submit bugfixes or comments via https://bugs.opensuse.org/ +# + +Name: rage-encryption +# This will be set by osc services, that will run after this. +Version: 0.7.0~git0.c93b914 +Release: 0 +Summary: Simple, modern, and secure file encryption tool +# If you know the license, put it's SPDX string here. +# Alternately, you can use cargo lock2rpmprovides to help generate this. +License: ( 0BSD OR MIT OR Apache-2.0 ) AND ( Apache-2.0 OR BSL-1.0 ) AND ( Apache-2.0 OR MIT ) AND ( MIT OR Zlib OR Apache-2.0 ) AND ( Unlicense OR MIT ) AND ( Zlib OR Apache-2.0 OR MIT ) AND Apache-2.0 AND BSD-3-Clause AND CDDL-1.0 AND MIT +# Select a group from this link: +# https://en.opensuse.org/openSUSE:Package_group_guidelines +Group: Productivity/Security +Url: https://github.com/str4d/rage +Source0: rage-%{version}.tar.xz +Source1: vendor.tar.xz +Source2: cargo_config +BuildRequires: cargo-packaging +Conflicts: rage +ExclusiveArch: %{rust_tier1_arches} + +%description +Rage is a simple, modern, and secure file encryption tool, using the age format. It features small +explicit keys, no config options, and UNIX-style composability. + +%prep +%setup -q -a 0 -n rage-%{version} +%setup -q -n rage-%{version} -a 1 -D -T +mkdir .cargo +cp %{SOURCE2} .cargo/config + +%build +%{cargo_build} + +%install +install -D -d -m 0755 %{buildroot}%{_bindir} +install -m 0755 %{_builddir}/rage-%{version}/target/release/rage %{buildroot}%{_bindir}/rage +install -m 0755 %{_builddir}/rage-%{version}/target/release/rage-keygen %{buildroot}%{_bindir}/rage-keygen + +%files +%{_bindir}/rage +%{_bindir}/rage-keygen + +%changelog + diff --git a/vendor.tar.xz b/vendor.tar.xz new file mode 100644 index 0000000..3258c69 --- /dev/null +++ b/vendor.tar.xz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:15f88e07dcc12835029e57da468e4a4b609725b257aa2ce14fd4e4a3427bb4d4 +size 20663484