]> git.pld-linux.org Git - packages/autossh.git/commitdiff
- updated to 1.4g, drop -lnsl from linking master auto/th/autossh-1.4g-1
authorJakub Bogusz <qboosh@pld-linux.org>
Sat, 30 Dec 2023 08:49:07 +0000 (09:49 +0100)
committerJakub Bogusz <qboosh@pld-linux.org>
Sat, 30 Dec 2023 08:49:07 +0000 (09:49 +0100)
autossh.spec

index 5c044c53f85553d06c5122c9efc3fa9fd7c019f6..b0693e5060a884131d9ce9fcc77d611171dddc70 100644 (file)
@@ -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
This page took 0.126747 seconds and 4 git commands to generate.