From 44310f5342d8cad1ced91b1c24781106208aa16c Mon Sep 17 00:00:00 2001 From: Jakub Bogusz Date: Sat, 30 Dec 2023 09:49:07 +0100 Subject: [PATCH] - updated to 1.4g, drop -lnsl from linking --- autossh.spec | 17 ++++++++++------- 1 file changed, 10 insertions(+), 7 deletions(-) diff --git a/autossh.spec b/autossh.spec index 5c044c5..b0693e5 100644 --- a/autossh.spec +++ b/autossh.spec @@ -1,18 +1,20 @@ # TODO: # - --with-ssh=/usr/bin/ssh does has no effect, it still tries to find ssh from $PATH and fail +# (as of 1.4g, configure is older than configure.ac and probably somehow hacked) Summary: Automatically restart SSH sessions and tunnels Summary(pl.UTF-8): Automatyczny restart sesji i tuneli SSH Name: autossh -Version: 1.4f +Version: 1.4g Release: 1 -License: GPL +# autossh.c contains 0-clause BSD, daemon.h 4-clause BSD +License: BSD Group: Applications/Networking -Source0: http://www.harding.motd.ca/autossh/%{name}-%{version}.tgz -# Source0-md5: 432ed721a71b8af4b5763b5c484f80df +Source0: https://www.harding.motd.ca/autossh/%{name}-%{version}.tgz +# Source0-md5: 2b804bc1bf6d2f2afaa526d02df7c0a2 Source1: %{name}.init Source2: %{name}.tab Source3: %{name}.tmpfiles -URL: http://www.harding.motd.ca/autossh/ +URL: https://www.harding.motd.ca/autossh/ BuildRequires: rpmbuild(macros) >= 1.647 Requires: openssh-clients BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) @@ -61,8 +63,9 @@ systemową. %setup -q %build -ac_cv_path_ssh=/usr/bin/ssh \ -%configure +%configure \ + ac_cv_lib_nsl_gethostbyname=no \ + ac_cv_path_ssh=/usr/bin/ssh %{__make} %install -- 2.44.0