Johannes Kastl 2025-03-05 10:54:52 +00:00 committed by Git OBS Bridge
commit c4e703a864
18 changed files with 1215 additions and 0 deletions

23
.gitattributes vendored Normal file
View File

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

1
.gitignore vendored Normal file
View File

@ -0,0 +1 @@
.osc

22
_service Normal file
View File

@ -0,0 +1,22 @@
<services>
<service name="obs_scm" mode="manual">
<param name="url">https://github.com/istio/istio</param>
<param name="scm">git</param>
<param name="exclude">.git</param>
<param name="revision">1.25.0</param>
<param name="versionformat">@PARENT_TAG@</param>
<param name="changesgenerate">disable</param>
<param name="filename">istioctl</param>
</service>
<service name="set_version" mode="manual">
</service>
<service name="go_modules" mode="manual">
</service>
<!-- services below are running at buildtime -->
<service name="tar" mode="buildtime">
</service>
<service name="recompress" mode="buildtime">
<param name="file">*.tar</param>
<param name="compression">gz</param>
</service>
</services>

4
_servicedata Normal file
View File

@ -0,0 +1,4 @@
<servicedata>
<service name="tar_scm">
<param name="url">https://github.com/istio/istio</param>
<param name="changesrevision">552626bd81f625917bcba6e415cae5aa3d5c61af</param></service></servicedata>

3
istio-1.22.3.obscpio Normal file
View File

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

3
istio-1.23.0.obscpio Normal file
View File

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

4
istio.obsinfo Normal file
View File

@ -0,0 +1,4 @@
name: istio
version: 1.23.0
mtime: 1723415394
commit: d0ca037e58f90f58b38b33c5769fec25b6bfa9f3

3
istioctl-1.23.1.obscpio Normal file
View File

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

3
istioctl-1.23.2.obscpio Normal file
View File

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

3
istioctl-1.23.3.obscpio Normal file
View File

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

3
istioctl-1.24.0.obscpio Normal file
View File

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

3
istioctl-1.24.1.obscpio Normal file
View File

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

3
istioctl-1.24.3.obscpio Normal file
View File

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

3
istioctl-1.25.0.obscpio Normal file
View File

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

1022
istioctl.changes Normal file

File diff suppressed because it is too large Load Diff

4
istioctl.obsinfo Normal file
View File

@ -0,0 +1,4 @@
name: istioctl
version: 1.25.0
mtime: 1740513328
commit: 57e59c2e5d6b757a68d867491d9c9c09694e1522

105
istioctl.spec Normal file
View File

@ -0,0 +1,105 @@
#
# spec file for package istioctl
#
# Copyright (c) 2025 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: istioctl
Version: 1.25.0
Release: 0
Summary: CLI for the istio servic mesh in Kubernetes
License: Apache-2.0
URL: https://github.com/istio/istio
Source: %{name}-%{version}.tar.gz
Source1: vendor.tar.gz
BuildRequires: bash-completion
BuildRequires: fdupes
BuildRequires: go >= 1.22
BuildRequires: zsh
%description
The istioctl tool is a configuration command line utility that allows service
operators to debug and diagnose their Istio service mesh deployments. The Istio
project also includes two helpful scripts for istioctl that enable
auto-completion for Bash and ZSH. Both of these scripts provide support for the
currently available istioctl commands.
%package -n %{name}-bash-completion
Summary: Bash Completion for %{name}
Group: System/Shells
Requires: %{name} = %{version}
Requires: bash-completion
Supplements: (%{name} and bash-completion)
BuildArch: noarch
%description -n %{name}-bash-completion
Bash command line completion support for %{name}.
%package -n %{name}-zsh-completion
Summary: Zsh Completion for %{name}
Group: System/Shells
Requires: %{name} = %{version}
Supplements: (%{name} and zsh)
BuildArch: noarch
%description -n %{name}-zsh-completion
zsh command line completion support for %{name}.
%prep
%autosetup -p 1 -a 1
%build
go build \
-mod=vendor \
-buildmode=pie \
-ldflags=" \
-X istio.io/pkg/version.buildVersion=%{version} \
-X istio.io/pkg/version.buildArch=${GOARCH} \
-X istio.io/pkg/version.buildOS=linux" \
-o bin/%{name} ./istioctl/cmd/istioctl
%install
# Install the binary.
install -D -m 0755 bin/%{name} "%{buildroot}/%{_bindir}/%{name}"
# copy the sample files
mkdir -p %{buildroot}%{_docdir}/%{name}
cp -vr samples %{buildroot}%{_docdir}/%{name}
rm -f %{buildroot}%{_docdir}/%{name}/samples/bookinfo/src/reviews/.gitignore
rm -f %{buildroot}%{_docdir}/%{name}/samples/bookinfo/src/reviews/reviews-wlpcfg/shared/.gitkeep
rm -f %{buildroot}%{_docdir}/%{name}/samples/wasm_modules/header_injector/.gitignore
%fdupes %{buildroot}%{_docdir}/%{name}/samples/
# create the bash completion file
mkdir -p %{buildroot}%{_datarootdir}/bash-completion/completions
%{buildroot}/%{_bindir}/%{name} completion bash > %{buildroot}%{_datarootdir}/bash-completion/completions/%{name}
# create the zsh completion file
mkdir -p %{buildroot}%{_datarootdir}/zsh/site-functions
%{buildroot}/%{_bindir}/%{name} completion zsh > %{buildroot}%{_datarootdir}/zsh/site-functions/_%{name}
%files
%doc README.md
%license LICENSE
%{_bindir}/%{name}
%{_docdir}/%{name}
%files -n %{name}-bash-completion
%{_datarootdir}/bash-completion/completions/%{name}
%files -n %{name}-zsh-completion
%{_datarootdir}/zsh/site-functions/_%{name}
%changelog

3
vendor.tar.gz Normal file
View File

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