This commit is contained in:
parent
b42fb29019
commit
fd966fbcaa
@ -1,3 +1,9 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Sun Nov 25 18:40:46 UTC 2012 - tittiatcoke@gmail.com
|
||||||
|
|
||||||
|
- Ensure that on every boot the directory /var/run/vpnc is
|
||||||
|
created (bnc#773379)
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Tue Oct 9 08:56:14 UTC 2012 - tittiatcoke@gmail.com
|
Tue Oct 9 08:56:14 UTC 2012 - tittiatcoke@gmail.com
|
||||||
|
|
||||||
|
@ -32,6 +32,7 @@ Requires: /usr/bin/sed
|
|||||||
Source: %{name}-%{version}.tar.bz2
|
Source: %{name}-%{version}.tar.bz2
|
||||||
# only for checkin warnings...
|
# only for checkin warnings...
|
||||||
Source1: checkout_svn.sh
|
Source1: checkout_svn.sh
|
||||||
|
Source2: vpnc.conf
|
||||||
Patch1: vpnc-no-build-dates.patch
|
Patch1: vpnc-no-build-dates.patch
|
||||||
Patch2: work-with-netconfig.patch
|
Patch2: work-with-netconfig.patch
|
||||||
# most ugly hack ever
|
# most ugly hack ever
|
||||||
@ -79,6 +80,8 @@ mkdir -p ${RPM_BUILD_ROOT}/%{_localstatedir}/run/vpnc
|
|||||||
DESTDIR=${RPM_BUILD_ROOT} \
|
DESTDIR=${RPM_BUILD_ROOT} \
|
||||||
PREFIX=/usr
|
PREFIX=/usr
|
||||||
rm -rfv ${RPM_BUILD_ROOT}/usr/share/doc/vpnc
|
rm -rfv ${RPM_BUILD_ROOT}/usr/share/doc/vpnc
|
||||||
|
mkdir -p ${RPM_BUILD_ROOT}/%{_sysconfdir}/tmpfiles.d
|
||||||
|
install -m 0755 %{SOURCE2} ${RPM_BUILD_ROOT}/%{_sysconfdir}/tmpfiles.d/
|
||||||
|
|
||||||
%clean
|
%clean
|
||||||
rm -rf %{buildroot}
|
rm -rf %{buildroot}
|
||||||
@ -86,6 +89,7 @@ rm -rf %{buildroot}
|
|||||||
%files
|
%files
|
||||||
%defattr(-,root,root)
|
%defattr(-,root,root)
|
||||||
%attr(0600,root,root) %config(noreplace) %ghost %{_sysconfdir}/vpnc/default.conf
|
%attr(0600,root,root) %config(noreplace) %ghost %{_sysconfdir}/vpnc/default.conf
|
||||||
|
%config %{_sysconfdir}/tmpfiles.d/vpnc.conf
|
||||||
%ghost %{_localstatedir}/run/vpnc
|
%ghost %{_localstatedir}/run/vpnc
|
||||||
%dir %{_sysconfdir}/vpnc
|
%dir %{_sysconfdir}/vpnc
|
||||||
%{_sysconfdir}/vpnc/vpnc-script
|
%{_sysconfdir}/vpnc/vpnc-script
|
||||||
|
Loading…
x
Reference in New Issue
Block a user