2024-09-13 21:21:10 +02:00
|
|
|
#
|
|
|
|
# spec file for package authorized-exec
|
|
|
|
#
|
|
|
|
# Copyright (c) 2024 SUSE LLC
|
|
|
|
# Copyright (c) 2024 Georg Pfuetzenreuter
|
|
|
|
#
|
|
|
|
# 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: authorized-exec
|
2024-09-15 18:33:52 +02:00
|
|
|
Version: 1.1
|
2024-09-13 21:21:10 +02:00
|
|
|
Release: 0
|
|
|
|
Summary: Health check
|
|
|
|
License: EUPL-1.2
|
|
|
|
Group: System/Monitoring
|
|
|
|
URL: https://git.com.de/Georg/authorized-exec
|
|
|
|
Source: %{name}-%{version}.tar.zst
|
|
|
|
BuildArch: noarch
|
|
|
|
|
|
|
|
%description
|
|
|
|
authorized-exec is a command wrapper for use as a forced SSH command.
|
|
|
|
|
|
|
|
%prep
|
|
|
|
%autosetup
|
|
|
|
|
|
|
|
%build
|
|
|
|
# Perl script, nothing to build
|
|
|
|
|
|
|
|
%install
|
|
|
|
%make_install PREFIX=%{_prefix} MANDIR=%{_mandir} SYSCONFDIR=%{_sysconfdir}
|
2024-09-13 21:31:37 +02:00
|
|
|
mv %{buildroot}%{_sysconfdir}/%{name}/config.example .
|
2024-09-13 21:21:10 +02:00
|
|
|
|
|
|
|
%files
|
|
|
|
%license LICENSE
|
2024-09-13 21:31:37 +02:00
|
|
|
%doc config.example README.txt
|
2024-09-13 21:21:10 +02:00
|
|
|
%{_bindir}/%{name}
|
|
|
|
%{_mandir}/man1/%{name}.1%{?ext_man}
|
2024-09-13 21:31:37 +02:00
|
|
|
%dir %{_sysconfdir}/%{name}
|
2024-09-13 21:21:10 +02:00
|
|
|
|
|
|
|
%changelog
|