public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/sslh] epel10: F28+ has deprecated tcp_wrappers
@ 2026-06-21  2:49 James Hogarth
  0 siblings, 0 replies; only message in thread
From: James Hogarth @ 2026-06-21  2:49 UTC (permalink / raw)
  To: git-commits

A new commit has been pushed.

Repo   : rpms/sslh
Branch : epel10
Commit : e4dd99c7ac6ff1f42bdced1ea3ee7c3cadbcef7f
Author : James Hogarth <james.hogarth@gmail.com>
Date   : 2017-11-30T12:40:29+00:00
Stats  : +16/-3 in 1 file(s)
URL    : https://src.fedoraproject.org/rpms/sslh/c/e4dd99c7ac6ff1f42bdced1ea3ee7c3cadbcef7f?branch=epel10

Log:
F28+ has deprecated tcp_wrappers

---
diff --git a/sslh.spec b/sslh.spec
index 92bf6f1..24c7d0b 100644
--- a/sslh.spec
+++ b/sslh.spec
@@ -7,7 +7,7 @@
 
 Name:    sslh
 Version: 1.18
-Release: 4%{?dist}
+Release: 5%{?dist}
 Summary: Applicative protocol(SSL/SSH) multiplexer
 License: GPLv2
 URL:     https://github.com/%{gh_owner}/%{gh_project}
@@ -21,7 +21,6 @@ Patch1:  01-remove-lcov-testing.patch
 
 BuildRequires: pkgconfig(libconfig)
 BuildRequires: pkgconfig(libcap)
-BuildRequires: tcp_wrappers-devel
 BuildRequires: pkgconfig(libsystemd)
 BuildRequires: systemd
 BuildRequires: perl(Pod::Man)
@@ -37,6 +36,13 @@ BuildRequires: psmisc
 : Skip upstream test suite
 %endif
 
+%if 0%{?fedora} >= 28 || 0%{?rhel} > 7
+%global use_libwrap 0
+%else
+%global use_libwrap 1
+BuildRequires: tcp_wrappers-devel
+%endif
+
 Requires(pre):    shadow-utils
 %{?systemd_requires}
 
@@ -60,7 +66,11 @@ comes from its original function to serve SSH and HTTPS on the same port.
 
 %build
 ./genver.sh >version.h
-make %{?_smp_mflags} USELIBWRAP=1 USELIBCAP=1 USESYSTEMD=1 sslh echosrv
+%if %{use_libwrap}
+  make %{?_smp_mflags} USELIBWRAP=1 USELIBCAP=1 USESYSTEMD=1 sslh echosrv
+%else
+  make %{?_smp_mflags} USELIBWRAP=0 USELIBCAP=1 USESYSTEMD=1 sslh echosrv
+%endif
 pod2man --section=8 --release=%{version} --center=" " %{name}.pod > %{name}.8
 iconv --from=ISO-8859-1 --to=UTF-8 ChangeLog > ChangeLog.conv && \
 touch -r ChangeLog ChangeLog.conv && \
@@ -137,6 +147,9 @@ exit 0
 
 
 %changelog
+* Thu Nov 30 2017 James Hogarth <james.hogarth@gmail.com> - 1.18-5
+- Remove dependency on libwrap for F28+ as per accepted change
+
 * Thu Aug 03 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.18-4
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
 

^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2026-06-21  2:49 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-06-21  2:49 [rpms/sslh] epel10: F28+ has deprecated tcp_wrappers James Hogarth

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox