forked from pool/iodine
Accepting request 447976 from home:Aikhjarto:branches:network:utilities
fix wrong quotes bnc#1017236 OBS-URL: https://build.opensuse.org/request/show/447976 OBS-URL: https://build.opensuse.org/package/show/network:utilities/iodine?expand=0&rev=7
This commit is contained in:
parent
6c82d9e5ca
commit
7232f4528d
@ -1,3 +1,7 @@
|
||||
-------------------------------------------------------------------
|
||||
Wed Dec 28 13:14:22 UTC 2016 - wagner-thomas@gmx.at
|
||||
- fixed unbalanced quotes in service files bnc#1017236
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sat May 9 13:40:37 UTC 2015 - wagner-thomas@gmx.at
|
||||
|
||||
|
@ -11,7 +11,7 @@ After=network.target syslog.target
|
||||
Type=simple
|
||||
EnvironmentFile=-/etc/sysconfig/iodine
|
||||
Environment=TERM=linux
|
||||
ExecStart=/bin/sh -c "/usr/sbin/iodine ${IODINE_PASS} ${IODINE_OPTIONS}
|
||||
ExecStart=/bin/sh -c "/usr/sbin/iodine ${IODINE_PASS} ${IODINE_OPTIONS}"
|
||||
StandardOutput=syslog
|
||||
Restart=always
|
||||
RestartSec=0
|
||||
|
13
iodine.spec
13
iodine.spec
@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package iodine
|
||||
#
|
||||
# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany.
|
||||
# Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
||||
# Copyright (c) 2012 Malcolm J Lewis <malcolmlewis@opensuse.org>
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
@ -16,14 +16,13 @@
|
||||
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
||||
#
|
||||
|
||||
|
||||
Name: iodine
|
||||
Version: 0.7.0
|
||||
Release: 0
|
||||
Summary: Tunnel IPv4 data through a DNS server
|
||||
License: ISC
|
||||
Group: Productivity/Networking/System
|
||||
Summary: Tunnel IPv4 data through a DNS server
|
||||
Url: http://code.kryo.se/iodine/
|
||||
Group: Productivity/Networking/System
|
||||
Source0: http://code.kryo.se/iodine/iodine-%{version}.tar.gz
|
||||
Source1: iodine.service
|
||||
Source2: sysconfig.iodine
|
||||
@ -65,15 +64,13 @@ 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
|
||||
@ -96,8 +93,6 @@ ln -sf /usr/sbin/service %{buildroot}%{_sbindir}/rciodined
|
||||
%{_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}
|
||||
|
@ -11,7 +11,7 @@ After=network.target syslog.target
|
||||
Type=simple
|
||||
EnvironmentFile=-/etc/sysconfig/iodined
|
||||
Environment=TERM=linux
|
||||
ExecStart=/bin/sh -c "/usr/sbin/iodined ${IODINED_PASS} ${IODINED_OPTIONS}
|
||||
ExecStart=/bin/sh -c "/usr/sbin/iodined ${IODINED_PASS} ${IODINED_OPTIONS}"
|
||||
StandardOutput=syslog
|
||||
Restart=always
|
||||
RestartSec=0
|
||||
|
Loading…
Reference in New Issue
Block a user