|
@@ -2,9 +2,9 @@
|
|
|
|
|
|
Summary: An SSL-encrypting socket wrapper
|
|
Summary: An SSL-encrypting socket wrapper
|
|
Name: stunnel
|
|
Name: stunnel
|
|
-Version: 5.56
|
|
|
|
|
|
+Version: 5.58
|
|
Release: 1%{?_dist_release}%{?with_systemd:.systemd}
|
|
Release: 1%{?_dist_release}%{?with_systemd:.systemd}
|
|
-Group: Applications/Internet
|
|
|
|
|
|
+Group: internet
|
|
Vendor: Project Vine
|
|
Vendor: Project Vine
|
|
Distribution: Vine Linux
|
|
Distribution: Vine Linux
|
|
Packager: iwaim
|
|
Packager: iwaim
|
|
@@ -22,6 +22,7 @@ Source7: stunnel@.service
|
|
Source100: stunnel.init
|
|
Source100: stunnel.init
|
|
|
|
|
|
Patch0: stunnel-5.50-authpriv.patch
|
|
Patch0: stunnel-5.50-authpriv.patch
|
|
|
|
+Patch1: stunnel-5.50-systemd-service.patch
|
|
Patch3: stunnel-5.56-system-ciphers.patch
|
|
Patch3: stunnel-5.56-system-ciphers.patch
|
|
Patch4: stunnel-5.56-coverity.patch
|
|
Patch4: stunnel-5.56-coverity.patch
|
|
Patch5: stunnel-5.56-default-tls-version.patch
|
|
Patch5: stunnel-5.56-default-tls-version.patch
|
|
@@ -54,6 +55,10 @@ Stunnel is a socket wrapper which can provide SSL (Secure Sockets
|
|
Layer) support to ordinary applications. For example, it can be used
|
|
Layer) support to ordinary applications. For example, it can be used
|
|
in conjunction with imapd to create an SSL secure IMAP server.
|
|
in conjunction with imapd to create an SSL secure IMAP server.
|
|
|
|
|
|
|
|
+
|
|
|
|
+%debug_package
|
|
|
|
+
|
|
|
|
+
|
|
%prep
|
|
%prep
|
|
%setup -q
|
|
%setup -q
|
|
%autopatch -p1
|
|
%autopatch -p1
|
|
@@ -64,6 +69,7 @@ sed -i '/client = yes/a \\ ciphers = PSK' tests/recipes/014_PSK_secrets
|
|
# modify systemd service unit
|
|
# modify systemd service unit
|
|
sed -i '/Type=forking/a \\PrivateTmp=true' tools/stunnel.service.in
|
|
sed -i '/Type=forking/a \\PrivateTmp=true' tools/stunnel.service.in
|
|
|
|
|
|
|
|
+
|
|
%build
|
|
%build
|
|
CFLAGS="$RPM_OPT_FLAGS -fPIC"; export CFLAGS
|
|
CFLAGS="$RPM_OPT_FLAGS -fPIC"; export CFLAGS
|
|
if pkg-config openssl ; then
|
|
if pkg-config openssl ; then
|
|
@@ -74,6 +80,7 @@ fi
|
|
CPPFLAGS="-UPIDFILE -DPIDFILE='\"%{pidfile}\"'"
|
|
CPPFLAGS="-UPIDFILE -DPIDFILE='\"%{pidfile}\"'"
|
|
make LDADD="-pie -Wl,-z,defs,-z,relro,-z,now"
|
|
make LDADD="-pie -Wl,-z,defs,-z,relro,-z,now"
|
|
|
|
|
|
|
|
+
|
|
%install
|
|
%install
|
|
rm -rf $RPM_BUILD_ROOT
|
|
rm -rf $RPM_BUILD_ROOT
|
|
mkdir -p $RPM_BUILD_ROOT%{_sysconfdir}/stunnel/conf.d
|
|
mkdir -p $RPM_BUILD_ROOT%{_sysconfdir}/stunnel/conf.d
|
|
@@ -163,7 +170,12 @@ fi
|
|
%config(noreplace) %{_sysconfdir}/sysconfig/%{name}
|
|
%config(noreplace) %{_sysconfdir}/sysconfig/%{name}
|
|
%endif
|
|
%endif
|
|
|
|
|
|
|
|
+
|
|
%changelog
|
|
%changelog
|
|
|
|
+* Sun Feb 28 2021 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 5.58-1
|
|
|
|
+- new upstream release.
|
|
|
|
+- uodated patches.
|
|
|
|
+
|
|
* Sat Apr 18 2020 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 5.56-1
|
|
* Sat Apr 18 2020 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 5.56-1
|
|
- new upstream release.
|
|
- new upstream release.
|
|
- replaced all patches.
|
|
- replaced all patches.
|