-
Notifications
You must be signed in to change notification settings - Fork 8
Expand file tree
/
Copy pathsshproxy.spec
More file actions
148 lines (107 loc) · 4.22 KB
/
sshproxy.spec
File metadata and controls
148 lines (107 loc) · 4.22 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
# disable debug package creation because of a bug when producing debuginfo
# packages: http://fedoraproject.org/wiki/PackagingDrafts/Go#Debuginfo
%global debug_package %{nil}
Name: sshproxy
Version: 2.1.0
Release: 1%{?dist}
Summary: SSH proxy
License: CeCILL-B
Source: https://github.com/cea-hpc/%{name}/archive/v%{version}/%{name}-%{version}.tar.gz
ExclusiveArch: %{?go_arches:%{go_arches}}%{!?go_arches:%{ix86} x86_64 %{arm} aarch64}
BuildRequires: golang
BuildRequires: asciidoc
Summary: SSH proxy
%description
%{summary}
This package provides an SSH proxy which can be used on a gateway to
automatically connect a remote user to a defined internal host.
%prep
%setup -q
%build
# set up temporary build gopath, and put our directory there
mkdir -p ./_build/src/github.com/cea-hpc
ln -s $(pwd) ./_build/src/github.com/cea-hpc/sshproxy
export GOPATH=$(pwd)/_build:%{gopath}
make
%install
make install DESTDIR=%{buildroot} prefix=%{_prefix} mandir=%{_mandir} bindir=%{_bindir} sbindir=%{_sbindir}
install -d -m0755 %{buildroot}%{_sysconfdir}/sshproxy
install -p -m 0644 config/sshproxy.yaml %{buildroot}%{_sysconfdir}/sshproxy
%files
%doc Licence_CeCILL-B_V1-en.txt Licence_CeCILL-B_V1-fr.txt
%config(noreplace) %{_sysconfdir}/sshproxy/sshproxy.yaml
%{_sysconfdir}/bash_completion.d
%{_sbindir}/sshproxy
%{_sbindir}/sshproxy-dumpd
%{_bindir}/sshproxy-replay
%{_bindir}/sshproxyctl
%{_mandir}/man5/sshproxy.yaml.5*
%{_mandir}/man8/sshproxy.8*
%{_mandir}/man8/sshproxyctl.8*
%{_mandir}/man8/sshproxy-dumpd.8*
%{_mandir}/man8/sshproxy-replay.8*
%changelog
* Wed Nov 05 2025 Cyril Servant <cyril.servant@cea.fr> - 2.1.0-1
- sshproxy 2.1.0
* Mon Jun 02 2025 Cyril Servant <cyril.servant@cea.fr> - 2.0.1-1
- sshproxy 2.0.1
* Mon May 26 2025 Cyril Servant <cyril.servant@cea.fr> - 2.0.0-1
- sshproxy 2.0.0
* Wed Jan 24 2024 Cyril Servant <cyril.servant@cea.fr> - 1.6.2-1
- sshproxy 1.6.2
* Mon Nov 27 2023 Cyril Servant <cyril.servant@cea.fr> - 1.6.1-1
- sshproxy 1.6.1
* Tue Oct 10 2023 Cyril Servant <cyril.servant@cea.fr> - 1.6.0-1
- sshproxy 1.6.0
* Fri Sep 08 2023 Cyril Servant <cyril.servant@cea.fr> - 1.5.2-1
- sshproxy 1.5.2
* Tue Mar 22 2022 Cyril Servant <cyril.servant@cea.fr> - 1.5.1-1
- sshproxy 1.5.1
* Tue Oct 26 2021 Cyril Servant <cyril.servant@cea.fr> - 1.5.0-1
- sshproxy 1.5.0
* Mon Aug 16 2021 Cyril Servant <cyril.servant@cea.fr> - 1.4.0-1
- sshproxy 1.4.0
* Wed Jul 28 2021 Cyril Servant <cyril.servant@cea.fr> - 1.3.8-1
- sshproxy 1.3.8
* Tue Jun 29 2021 Cyril Servant <cyril.servant@cea.fr> - 1.3.7-1
- sshproxy 1.3.7
* Fri Apr 09 2021 Cyril Servant <cyril.servant@cea.fr> - 1.3.6-1
- sshproxy 1.3.6
* Thu Mar 04 2021 Cyril Servant <cyril.servant@cea.fr> - 1.3.5-1
- sshproxy 1.3.5
* Tue Feb 02 2021 Cyril Servant <cyril.servant@cea.fr> - 1.3.4-1
- sshproxy 1.3.4
* Fri Oct 02 2020 Cyril Servant <cyril.servant@cea.fr> - 1.3.3-1
- sshproxy 1.3.3
* Mon Sep 28 2020 Cyril Servant <cyril.servant@cea.fr> - 1.3.2-1
- sshproxy 1.3.2
* Wed Sep 23 2020 Cyril Servant <cyril.servant@cea.fr> - 1.3.1-1
- sshproxy 1.3.1
* Wed Aug 05 2020 Cyril Servant <cyril.servant@cea.fr> - 1.3.0-1
- sshproxy 1.3.0
* Thu Apr 30 2020 Cyril Servant <cyril.servant@cea.fr> - 1.2.0-1
- sshproxy 1.2.0
* Fri Mar 06 2020 Cyril Servant <cyril.servant@cea.fr> - 1.1.0-1
- sshproxy 1.1.0
* Thu Jun 06 2019 Arnaud Guignard <arnaud.guignard@cea.fr> - 1.0.0-1
- sshproxy 1.0.0
* Thu Jan 11 2018 Arnaud Guignard <arnaud.guignard@cea.fr> - 0.4.5-1
- sshproxy 0.4.5
* Mon Sep 12 2016 Arnaud Guignard <arnaud.guignard@cea.fr> - 0.4.4-1
- sshproxy 0.4.4
* Wed Jul 13 2016 Arnaud Guignard <arnaud.guignard@cea.fr> - 0.4.3-1
- sshproxy 0.4.3
* Mon Apr 25 2016 Arnaud Guignard <arnaud.guignard@cea.fr> - 0.4.2-1
- sshproxy 0.4.2
* Tue Dec 08 2015 Arnaud Guignard <arnaud.guignard@cea.fr> - 0.4.1-1
- sshproxy 0.4.1
* Mon Nov 23 2015 Arnaud Guignard <arnaud.guignard@cea.fr> - 0.4.0-1
- sshproxy 0.4.0
* Wed Jun 24 2015 Arnaud Guignard <arnaud.guignard@cea.fr> - 0.3.1-1
- sshproxy 0.3.1
* Wed Mar 25 2015 Arnaud Guignard <arnaud.guignard@cea.fr> - 0.3.0-1
- sshproxy 0.3.0
* Mon Mar 02 2015 Arnaud Guignard <arnaud.guignard@cea.fr> - 0.2.0-1
- sshproxy 0.2.0
* Thu Feb 12 2015 Arnaud Guignard <arnaud.guignard@cea.fr> - 0.1.0-1
- sshproxy 0.1.0