SHA256
1
0
forked from pool/vpnc
Stephan Kulow 2019-02-24 15:53:45 +00:00 committed by Git OBS Bridge
commit fba93db71e
3 changed files with 15 additions and 5 deletions

View File

@ -1,3 +1,10 @@
-------------------------------------------------------------------
Tue Feb 19 21:08:21 UTC 2019 - suse+build@de-korte.org
- Fix references path below legacy directory /var/run -> /run
- Run %tmpfiles_create macro in %post
- Fix env-script-interpreter error
-------------------------------------------------------------------
Wed Nov 12 13:52:59 UTC 2014 - idonmez@suse.com

View File

@ -1 +1 @@
d /var/run/vpnc 0755 root root
d /run/vpnc 0755 root root

View File

@ -1,7 +1,7 @@
#
# spec file for package vpnc
#
# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany.
# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@ -12,7 +12,7 @@
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
# Please submit bugfixes or comments via http://bugs.opensuse.org/
# Please submit bugfixes or comments via https://bugs.opensuse.org/
#
@ -23,7 +23,7 @@ Name: vpnc
Version: 0.5.3r550
Release: 0
Summary: A Client for Cisco VPN concentrator
License: GPL-2.0+
License: GPL-2.0-or-later
Group: Productivity/Networking/Security
Url: http://svn.unix-ag.uni-kl.de/vpnc/branches/vpnc-nortel
Source: %{name}-%{version}.tar.bz2
@ -75,6 +75,7 @@ rm -rfv %{buildroot}%{_datadir}/doc/vpnc
install -D -m 0644 $RPM_SOURCE_DIR/%{name}.service %{buildroot}/%{_unitdir}/%{name}@.service
install -D -m 0644 $RPM_SOURCE_DIR/%{name}.conf %{buildroot}/%{_libexecdir}/tmpfiles.d/%{name}.conf
%endif
sed -i -e '1c#!/usr/bin/perl' %{buildroot}%{_bindir}/pcf2vpnc
%pre
%if 0%{?suse_version} >= 1210
@ -83,6 +84,7 @@ install -D -m 0644 $RPM_SOURCE_DIR/%{name}.conf %{buildroot}/%{_libexecdir}/tmpf
%post
%if 0%{?suse_version} >= 1210
%tmpfiles_create %{_libexecdir}/tmpfiles.d/%{name}.conf
%service_add_post %{name}@.service
%endif
@ -114,6 +116,7 @@ install -D -m 0644 $RPM_SOURCE_DIR/%{name}.conf %{buildroot}/%{_libexecdir}/tmpf
%{_unitdir}/%{name}@.service
%{_libexecdir}/tmpfiles.d/%{name}.conf
%endif
%doc ChangeLog COPYING README TODO VERSION
%doc ChangeLog README TODO VERSION
%license COPYING
%changelog