Accepting request 435652 from home:jengelh:branches:security:Stunnel
- Update rpm group and description and make -doc noarch - Do not suppress errors from useradd - Remove redundant %clean section OBS-URL: https://build.opensuse.org/request/show/435652 OBS-URL: https://build.opensuse.org/package/show/security:Stunnel/stunnel?expand=0&rev=78
This commit is contained in:
parent
b7c07bdf0a
commit
1e9c40a256
@ -1,3 +1,10 @@
|
||||
-------------------------------------------------------------------
|
||||
Sun Oct 16 23:03:35 UTC 2016 - jengelh@inai.de
|
||||
|
||||
- Update rpm group and description and make -doc noarch
|
||||
- Do not suppress errors from useradd
|
||||
- Remove redundant %clean section
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Oct 14 08:03:59 UTC 2016 - drahn@suse.com
|
||||
|
||||
|
19
stunnel.spec
19
stunnel.spec
@ -44,20 +44,22 @@ BuildRequires: systemd
|
||||
%description
|
||||
The stunnel program is designed to work as an SSL encryption wrapper
|
||||
between remote clients and local (inetd-startable) or remote
|
||||
servers. The concept is that having non-SSL aware daemons running on
|
||||
your system you can easily set them to communicate with clients over a
|
||||
servers. The concept is that, while having non-SSL aware daemons running on
|
||||
your system, you can set them to communicate with clients over a
|
||||
secure SSL channels. Stunnel can be used to add SSL functionality to
|
||||
commonly used inetd daemons, such as POP-2, POP-3, and IMAP servers,
|
||||
commonly used inetd daemons, such as POP-2, POP-3, and IMAP servers
|
||||
without any changes to the program code.
|
||||
|
||||
%package doc
|
||||
Summary: Documentation for the universal SSL Tunnel
|
||||
Group: Productivity/Networking/Security
|
||||
Group: Documentation/Other
|
||||
Requires: stunnel = %{version}
|
||||
%if 0%{?suse_version} >= 1210
|
||||
BuildArch: noarch
|
||||
%endif
|
||||
|
||||
%description doc
|
||||
This package contains additional documentation of the universal SSL tunnel
|
||||
stunnel.
|
||||
This package contains additional documentation for the stunnel program.
|
||||
|
||||
%prep
|
||||
%setup -q -n stunnel-%{version}
|
||||
@ -98,13 +100,10 @@ rm -rf $RPM_BUILD_ROOT/usr/share/doc/packages/stunnel/tools/stunnel.cnf
|
||||
rm -rf $RPM_BUILD_ROOT/usr/share/doc/stunnel
|
||||
mkdir -p $RPM_BUILD_ROOT/var/lib/stunnel/{bin,etc,dev,%_lib,sbin,var/run}
|
||||
|
||||
%clean
|
||||
rm -rf $RPM_BUILD_ROOT
|
||||
|
||||
%pre
|
||||
if ! /usr/bin/getent passwd stunnel >/dev/null; then
|
||||
%{_sbindir}/useradd -r -c "Daemon user for stunnel (universal SSL tunnel)" -g nogroup -s /bin/false \
|
||||
-d /var/lib/stunnel stunnel 2> /dev/null || :
|
||||
-d /var/lib/stunnel stunnel || :
|
||||
fi
|
||||
|
||||
%if 0%{?has_systemd}
|
||||
|
Loading…
x
Reference in New Issue
Block a user