From ce03297b618f843a8a09e6072b35e60924779489b1d2210705f68caa2d591027 Mon Sep 17 00:00:00 2001 From: Marcus Meissner Date: Wed, 25 Oct 2023 08:07:12 +0000 Subject: [PATCH] Accepting request 1119294 from home:VaiTon:branches:network arti is the new Tor runtime, written in rust OBS-URL: https://build.opensuse.org/request/show/1119294 OBS-URL: https://build.opensuse.org/package/show/network/arti?expand=0&rev=1 --- .gitattributes | 25 +++++++++++++++++++++++++ .gitignore | 1 + _service | 24 ++++++++++++++++++++++++ _servicedata | 4 ++++ arti-1.1.9~0.obscpio | 3 +++ arti.changes | 4 ++++ arti.obsinfo | 4 ++++ arti.spec | 41 +++++++++++++++++++++++++++++++++++++++++ cargo_config | 5 +++++ vendor.tar.zstd | 3 +++ 10 files changed, 114 insertions(+) create mode 100644 .gitattributes create mode 100644 .gitignore create mode 100644 _service create mode 100644 _servicedata create mode 100644 arti-1.1.9~0.obscpio create mode 100644 arti.changes create mode 100644 arti.obsinfo create mode 100644 arti.spec create mode 100644 cargo_config create mode 100644 vendor.tar.zstd diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..1076d31 --- /dev/null +++ b/.gitattributes @@ -0,0 +1,25 @@ +## 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 +## Specific LFS patterns +vendor.tar.zstd 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..b5fc25b --- /dev/null +++ b/_service @@ -0,0 +1,24 @@ + + + https://gitlab.torproject.org/tpo/core/arti.git + @PARENT_TAG@~@TAG_OFFSET@ + git + arti-v1.1.9 + * + arti-v(\d+\.\d+\.\d+) + \1 + enable + + + + + arti + zstd + true + + + arti + + + + diff --git a/_servicedata b/_servicedata new file mode 100644 index 0000000..8668672 --- /dev/null +++ b/_servicedata @@ -0,0 +1,4 @@ + + + https://gitlab.torproject.org/tpo/core/arti.git + 9a7eeb27440d1a55e3b7052d5347be6fc54bedfb \ No newline at end of file diff --git a/arti-1.1.9~0.obscpio b/arti-1.1.9~0.obscpio new file mode 100644 index 0000000..3822ed7 --- /dev/null +++ b/arti-1.1.9~0.obscpio @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:c6a41a3865fed98931b7b1444371733c69bcff54871f020638c15c2aa4ee2248 +size 59273230 diff --git a/arti.changes b/arti.changes new file mode 100644 index 0000000..bc8c49d --- /dev/null +++ b/arti.changes @@ -0,0 +1,4 @@ +------------------------------------------------------------------- +Fri Oct 20 16:54:29 UTC 2023 - Eyad Issa + +- Version 1.1.9 diff --git a/arti.obsinfo b/arti.obsinfo new file mode 100644 index 0000000..8932afb --- /dev/null +++ b/arti.obsinfo @@ -0,0 +1,4 @@ +name: arti +version: 1.1.9~0 +mtime: 1696280645 +commit: 9a7eeb27440d1a55e3b7052d5347be6fc54bedfb diff --git a/arti.spec b/arti.spec new file mode 100644 index 0000000..3d9a1d9 --- /dev/null +++ b/arti.spec @@ -0,0 +1,41 @@ +Name: arti +# This will be set by osc services, that will run after this. +Version: 1.1.9~0 +Release: 0 +Summary: An implementation of Tor, in Rust. +# If you know the license, put it's SPDX string here. +# Alternately, you can use cargo lock2rpmprovides to help generate this. +License: MIT OR Apache-2.0 +Url: https://gitlab.torproject.org/tpo/core/arti +Source0: %{name}-%{version}.tar +Source1: vendor.tar.zstd +Source2: cargo_config +BuildRequires: cargo-packaging +BuildRequires: pkgconfig(openssl) +BuildRequires: pkgconfig(sqlite3) +# Disable this line if you wish to support all platforms. +# In most situations, you will likely only target tier1 arches for user facing components. +ExclusiveArch: %{rust_tier1_arches} + +%description +An implementation of Tor, in Rust. + +%prep +%autosetup -p1 -a1 +install -D -m 644 %{SOURCE2} .cargo/config +# Remove exec bits to prevent an issue in fedora shebang checking. Uncomment only if required. +# find vendor -type f -name \*.rs -exec chmod -x '{}' \; + +%build +%{cargo_build} + +%install +%{cargo_install -p crates/arti} + +%check +%{cargo_test} + +%files +%{_bindir}/%{name} + +%changelog 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/vendor.tar.zstd b/vendor.tar.zstd new file mode 100644 index 0000000..3bf456a --- /dev/null +++ b/vendor.tar.zstd @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:2c9556ffd7084d85561268e05f916141299aa6a8a25e7077fd2aff628ace9d60 +size 52447374