SHA256
1
0
forked from pool/arti

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
This commit is contained in:
Marcus Meissner 2023-10-25 08:07:12 +00:00 committed by Git OBS Bridge
commit ce03297b61
10 changed files with 114 additions and 0 deletions

25
.gitattributes vendored Normal file
View File

@ -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

1
.gitignore vendored Normal file
View File

@ -0,0 +1 @@
.osc

24
_service Normal file
View File

@ -0,0 +1,24 @@
<services>
<service name="obs_scm" mode="manual">
<param name="url">https://gitlab.torproject.org/tpo/core/arti.git</param>
<param name="versionformat">@PARENT_TAG@~@TAG_OFFSET@</param>
<param name="scm">git</param>
<param name="revision">arti-v1.1.9</param>
<param name="match-tag">*</param>
<param name="versionrewrite-pattern">arti-v(\d+\.\d+\.\d+)</param>
<param name="versionrewrite-replacement">\1</param>
<param name="changesgenerate">enable</param>
</service>
<service name="set_version" mode="manual" />
<service name="cargo_vendor" mode="manual">
<param name="srcdir">arti</param>
<param name="compression">zstd</param>
<param name="update">true</param>
</service>
<service name="cargo_audit" mode="manual">
<param name="srcdir">arti</param>
</service>
<service name="tar" mode="buildtime" />
</services>

4
_servicedata Normal file
View File

@ -0,0 +1,4 @@
<servicedata>
<service name="tar_scm">
<param name="url">https://gitlab.torproject.org/tpo/core/arti.git</param>
<param name="changesrevision">9a7eeb27440d1a55e3b7052d5347be6fc54bedfb</param></service></servicedata>

3
arti-1.1.9~0.obscpio Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:c6a41a3865fed98931b7b1444371733c69bcff54871f020638c15c2aa4ee2248
size 59273230

4
arti.changes Normal file
View File

@ -0,0 +1,4 @@
-------------------------------------------------------------------
Fri Oct 20 16:54:29 UTC 2023 - Eyad Issa <eyadlorenzo@gmail.com>
- Version 1.1.9

4
arti.obsinfo Normal file
View File

@ -0,0 +1,4 @@
name: arti
version: 1.1.9~0
mtime: 1696280645
commit: 9a7eeb27440d1a55e3b7052d5347be6fc54bedfb

41
arti.spec Normal file
View File

@ -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

5
cargo_config Normal file
View File

@ -0,0 +1,5 @@
[source.crates-io]
replace-with = "vendored-sources"
[source.vendored-sources]
directory = "vendor"

3
vendor.tar.zstd Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:2c9556ffd7084d85561268e05f916141299aa6a8a25e7077fd2aff628ace9d60
size 52447374