Search
SailfishOS Open Build Service
>
Projects
>
home:gcobb
:
jolla
:
experimental
>
tinc
> Changes
Log In
Username
Password
Cancel
Overview
Repositories
Revisions
Requests
Users
Advanced
Attributes
Meta
Changes of Revision 5
[-]
[+]
Changed
tinc.changes
@@ -1,4 +1,12 @@ ------------------------------------------------------------------- +Thu Apr 3 11:59:21 BST 2014 - g+jolla@cobb.uk.net + +- Jolla Release 3 + * Improved systemd handling with macros + * Added ChangeLog + * Submitted to Chum + +------------------------------------------------------------------- Tue Apr 1 19:38:03 UTC 2014 - g+jolla@cobb.uk.net - Jolla Release 2
[-]
[+]
Changed
tinc.spec
^
@@ -1,20 +1,24 @@ -# $Id: tinc.spec 5067 2007-01-11 00:54:46Z dag $ -# Authority: dag - Summary: Virtual private network daemon Name: tinc Version: 1.0.23 -Release: 2 +Release: 3 License: GPL Group: Productivity/Networking/Other URL: http://www.tinc-vpn.org/ Source: http://www.tinc-vpn.org/packages/tinc-%{version}.tar.gz Source1: tinc@.service +# Note: Fedora systemd macros (https://fedoraproject.org/wiki/Packaging:ScriptletSnippets#Systemd) +# are currently used in Mer instead of OpenSUSE macros (https://en.opensuse.org/openSUSE:Systemd_packaging_guidelines) + +BuildRequires: systemd + BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root BuildRequires: openssl >= 0.9.7, openssl-devel, lzo-devel +%{systemd_requires} + %description tinc is a Virtual Private Network (VPN) daemon that uses tunnelling and encryption to create a secure private network between hosts on @@ -32,7 +36,7 @@ %{__make} %{?_smp_mflags} %install -%{__install} -Dp -m0644 %{SOURCE1} %{buildroot}%{_sysconfdir}/systemd/system/tinc@.service +%{__install} -Dp -m0644 %{SOURCE1} %{buildroot}%{_unitdir}/tinc@.service %{__install} -d -m0755 $RPM_BUILD_ROOT/%{_sbindir} %{__install} -Dp -m0755 src/tincd %{buildroot}%{_sbindir}/tincd %{__install} -Dp -m0644 doc/tincd.8 %{buildroot}%{_mandir}/man8/tincd.8 @@ -41,6 +45,15 @@ %clean %{__rm} -rf %{buildroot} +%post +%systemd_post tinc@.service + +%preun +%systemd_preun tinc@.service + +%postun +%systemd_postun_with_restart tinc@.service + %files %defattr(-, root, root, 0755) %doc AUTHORS ChangeLog COPYING* NEWS README THANKS @@ -48,7 +61,9 @@ %doc %{_mandir}/man5/tinc.conf.5* %doc %{_mandir}/man8/tincd.8* %{_sbindir}/tincd -%config %{_sysconfdir}/systemd/system/tinc@.service +%{_unitdir}/tinc@.service %changelog +* Thu Apr 3 2014 Graham R. Cobb <g+jolla@cobb.uk.net> - 1.0.23-3 +- Package for Chum.