[inadyn-mt: 1/2] New upstream release

Jochen Schmitt s4504kr at fedoraproject.org
Thu Jul 3 14:32:23 UTC 2014


commit b99f06ac0e9fd652cc12cc1e6555a52c5457583a
Author: Jochen Schmitt <Jochen at herr-schmitt.de>
Date:   Wed Jul 2 21:39:50 2014 +0200

    New upstream release
    
    - Set explicit account information in the systemd unit file (#1100889)
    - Rebuilt to fix dep. issue agains libao (#1100889)

 .gitignore                       |    3 ++-
 inadyn-mt-2.24.38-cachedir.patch |   25 -------------------------
 inadyn-mt-2.24.40-cachedir.patch |   24 ++++++++++++++++++++++++
 inadyn-mt.spec                   |   13 +++++++++----
 inadyn.service                   |    2 ++
 sources                          |    2 +-
 6 files changed, 38 insertions(+), 31 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index f754b58..6bc7fe1 100644
--- a/.gitignore
+++ b/.gitignore
@@ -15,4 +15,5 @@ inadyn-mt.v.02.18.36.tar.gz
 /inadyn-mt.v.02.24.30.tar.gz
 /inadyn-mt.v.02.24.34.tar.gz
 /inadyn-mt.v.02.24.36.tar.gz
-/inadyn-mt.v.02.24.38.tar.gz
+/inadyn-mt.v.02.24.40.tar.gz
+
diff --git a/inadyn-mt-2.24.40-cachedir.patch b/inadyn-mt-2.24.40-cachedir.patch
new file mode 100644
index 0000000..77745dd
--- /dev/null
+++ b/inadyn-mt-2.24.40-cachedir.patch
@@ -0,0 +1,24 @@
+diff -up inadyn-mt.v.02.24.40/man/inadyn-mt.8.cd inadyn-mt.v.02.24.40/man/inadyn-mt.8
+--- inadyn-mt.v.02.24.40/man/inadyn-mt.8.cd	2014-06-01 17:02:49.000000000 +0200
++++ inadyn-mt.v.02.24.40/man/inadyn-mt.8	2014-07-02 20:48:18.533307217 +0200
+@@ -189,7 +189,7 @@ Fine timer control.  Slow, or speed time
+ The name, including the full path, of a log file.
+ .TP
+ .I \-\-cache_dir
+-Directory to which ip, and time update files are written.  Defaults to /tmp on **NIX systems.
++Directory to which ip, and time update files are written.  Defaults to /var/cache/inadyn-mt on Fedora systems.
+ .TP
+ .I \-\-background
+ run in background. Output is sent to the UNIX syslog facilities or to a log file, if one was specified.
+diff -up inadyn-mt.v.02.24.40/src/dyndns.h.cd inadyn-mt.v.02.24.40/src/dyndns.h
+--- inadyn-mt.v.02.24.40/src/dyndns.h.cd	2014-07-02 20:48:18.534307184 +0200
++++ inadyn-mt.v.02.24.40/src/dyndns.h	2014-07-02 20:50:24.526586399 +0200
+@@ -113,7 +113,7 @@ typedef enum
+ /*inadyn backward compatibility*/
+ #define DYNDNS_DEFAULT_CONFIG_FILE		"/etc/inadyn.conf"
+ 
+-#define DYNDNS_DEFAULT_CACHE_PREFIX		"/tmp/"
++#define DYNDNS_DEFAULT_CACHE_PREFIX		"/var/cache/inadyn-mt/"
+ #define DYNDNS_DEFAULT_IP_FILE			"inadyn_ip.cache"
+ #define DYNDNS_DEFAULT_TIME_FILE		"inadyn_time.cache"
+ 
diff --git a/inadyn-mt.spec b/inadyn-mt.spec
index aff7f7a..ac2a6c6 100644
--- a/inadyn-mt.spec
+++ b/inadyn-mt.spec
@@ -1,7 +1,7 @@
 Name:           inadyn-mt
 
-Version:        2.24.38
-Release:        2%{?dist}
+Version:        2.24.40
+Release:        1%{?dist}
 
 Summary:        Dynamic DNS Client
 
@@ -13,7 +13,7 @@ Source1:        inadyn-mt.conf
 Source2:        inadyn.service
 Source3:        inadyn-nm-dispatcher
 
-Patch1:         inadyn-mt-2.24.38-cachedir.patch
+Patch1:         inadyn-mt-2.24.40-cachedir.patch
 
 BuildRequires:  automake autoconf
 BuildRequires:  libao-devel
@@ -46,7 +46,7 @@ should then fill in /etc/inadyn.conf with the appropriate detail
 
 %prep
 %setup -q -n %name.v.0%{version}
-%patch1 -p1
+%patch1 -p1 -b .cd
 
 %build
 rm -rf bin/
@@ -101,6 +101,11 @@ mkdir -p $RPM_BUILD_ROOT/var/cache/inadyn-mt
 %dir /var/cache/inadyn-mt/
 
 %changelog
+* Wed Jul  2 2014 Jochen Schmitt <Jochen herr-schmitt de> - 2.24.40-1
+- New upstream release
+- Set explicit account information in the systemd unit file (#1100889)
+- Rebuilt to fix dep. issue agains libao (#1100889)
+
 * Wed Apr 30 2014 Jochen Schmitt <Jochen herr-schmitt de> - 2.24.38-2
 - Fix wrong NetworkManger dispatcher directory
 
diff --git a/inadyn.service b/inadyn.service
index a175e86..f9eed10 100644
--- a/inadyn.service
+++ b/inadyn.service
@@ -2,6 +2,8 @@
 Description=Inadyn-mt, register an IP Address to a dynamic DNS provider
 
 [Service]
+User=nobody
+Group=nobody
 ExecStart=/usr/sbin/inadyn
 
 [Install]
diff --git a/sources b/sources
index 700a5b1..73da409 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-e868ab86df2eb20a1d98c11e8564e52c  inadyn-mt.v.02.24.38.tar.gz
+3a6fa37b3004dd4727a1e792563138f3  inadyn-mt.v.02.24.40.tar.gz


More information about the scm-commits mailing list