From 6c82d9e5ca6af76679c0187b32e2ed14bd32a89752db5c921cf457554868b143 Mon Sep 17 00:00:00 2001 From: Marcus Meissner Date: Mon, 11 May 2015 11:44:11 +0000 Subject: [PATCH] Accepting request 306117 from home:Aikhjarto:branches:network:utilities - start iodine and iodined after network.target - added rc-link OBS-URL: https://build.opensuse.org/request/show/306117 OBS-URL: https://build.opensuse.org/package/show/network:utilities/iodine?expand=0&rev=5 --- iodine.changes | 6 ++++++ iodine.service | 2 +- iodine.spec | 13 +++++++++---- iodined.service | 2 +- 4 files changed, 17 insertions(+), 6 deletions(-) diff --git a/iodine.changes b/iodine.changes index aeb3d52..5f34f37 100644 --- a/iodine.changes +++ b/iodine.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Sat May 9 13:40:37 UTC 2015 - wagner-thomas@gmx.at + +- start iodine and iodined after network.target +- added rc-link + ------------------------------------------------------------------- Wed Aug 27 08:34:22 UTC 2014 - wagner-thomas@gmx.at diff --git a/iodine.service b/iodine.service index ed112d9..36e81f1 100644 --- a/iodine.service +++ b/iodine.service @@ -5,7 +5,7 @@ [Unit] Description=iodine lets you tunnel IPv4 data through a DNS server -After=syslog.target +After=network.target syslog.target [Service] Type=simple diff --git a/iodine.spec b/iodine.spec index f9c9f18..ab1f028 100644 --- a/iodine.spec +++ b/iodine.spec @@ -1,7 +1,7 @@ # # spec file for package iodine # -# Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany. # Copyright (c) 2012 Malcolm J Lewis # # All modifications and additions to the file contributed by third parties @@ -16,13 +16,14 @@ # Please submit bugfixes or comments via http://bugs.opensuse.org/ # + Name: iodine Version: 0.7.0 Release: 0 -License: ISC Summary: Tunnel IPv4 data through a DNS server -Url: http://code.kryo.se/iodine/ +License: ISC Group: Productivity/Networking/System +Url: http://code.kryo.se/iodine/ Source0: http://code.kryo.se/iodine/iodine-%{version}.tar.gz Source1: iodine.service Source2: sysconfig.iodine @@ -64,13 +65,15 @@ cp %{name}.8 %{name}d.8 popd # make chroot dir mkdir -p %{buildroot}/var/lib/iodined +# make rc-link +ln -sf /usr/sbin/service %{buildroot}%{_sbindir}/rciodine +ln -sf /usr/sbin/service %{buildroot}%{_sbindir}/rciodined %pre %service_add_pre iodine.service %service_add_pre iodined.service /usr/sbin/useradd -r -d /var/lib/iodined -s /bin/false -c "user for iodine dns tunnel" -g nobody iodined 2> /dev/null || : - %post %service_add_post iodine.service %service_add_post iodined.service @@ -93,6 +96,8 @@ mkdir -p %{buildroot}/var/lib/iodined %{_sbindir}/%{name}d %{_localstatedir}/adm/fillup-templates/sysconfig.iodine %{_localstatedir}/adm/fillup-templates/sysconfig.iodined +%{_sbindir}/rciodine +%{_sbindir}/rciodined %{_unitdir}/iodine.service %{_unitdir}/iodined.service %{_mandir}/man8/%{name}.8%{?ext_man} diff --git a/iodined.service b/iodined.service index f5bfe2e..e2610c1 100644 --- a/iodined.service +++ b/iodined.service @@ -5,7 +5,7 @@ [Unit] Description=iodined lets you tunnel IPv4 data through a DNS server -After=syslog.target +After=network.target syslog.target [Service] Type=simple