public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: James Hogarth <james.hogarth@gmail.com>
To: git-commits@fedoraproject.org
Subject: [rpms/sslh] epel10: F28+ has deprecated tcp_wrappers
Date: Sun, 21 Jun 2026 02:49:59 GMT [thread overview]
Message-ID: <178201019999.1.5782043942234908702.rpms-sslh-e4dd99c7ac6f@fedoraproject.org> (raw)
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
reply other threads:[~2026-06-21 2:49 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=178201019999.1.5782043942234908702.rpms-sslh-e4dd99c7ac6f@fedoraproject.org \
--to=james.hogarth@gmail.com \
--cc=git-commits@fedoraproject.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox