Hello community,

here is the log from the commit of package ypserv for openSUSE:Factory checked 
in at 2016-11-28 15:04:53
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/ypserv (Old)
 and      /work/SRC/openSUSE:Factory/.ypserv.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "ypserv"

Changes:
--------
--- /work/SRC/openSUSE:Factory/ypserv/ypserv.changes    2016-07-01 
10:00:08.000000000 +0200
+++ /work/SRC/openSUSE:Factory/.ypserv.new/ypserv.changes       2016-11-28 
15:04:56.000000000 +0100
@@ -1,0 +2,5 @@
+Mon Nov 21 19:53:57 UTC 2016 - [email protected]
+
+- add 0001-use-_PATH_VARRUN-from-paths.h.patch [bnc#1011483]
+
+-------------------------------------------------------------------

New:
----
  0001-use-_PATH_VARRUN-from-paths.h.patch

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ ypserv.spec ++++++
--- /var/tmp/diff_new_pack.OduyJn/_old  2016-11-28 15:04:58.000000000 +0100
+++ /var/tmp/diff_new_pack.OduyJn/_new  2016-11-28 15:04:58.000000000 +0100
@@ -37,7 +37,9 @@
 Source7:        yppasswdd.service
 Source8:        ypxfrd.service
 Source9:        yppasswdd-systemd-exec
-Patch:          ypserv-2.32.diff
+Patch1:         ypserv-2.32.diff
+# PATCH-FIX-UPSTREAM, bnc#011483
+Patch2:         0001-use-_PATH_VARRUN-from-paths.h.patch
 BuildRequires:  gdbm-devel
 BuildRequires:  openslp-devel
 %if %{suse_version} >= 1310
@@ -73,7 +75,8 @@
 
 %prep
 %setup -q
-%patch
+%patch1
+%patch2 -p1
 
 %build
 %configure --enable-fqdn --libexecdir="%{_libexecdir}/yp"

++++++ 0001-use-_PATH_VARRUN-from-paths.h.patch ++++++
>From 77bde21fe32194cfe38d1b1437cfa188e2d390d4 Mon Sep 17 00:00:00 2001
From: Ruediger Meier <[email protected]>
Date: Mon, 21 Nov 2016 20:02:12 +0100
Subject: [PATCH 1/2] use _PATH_VARRUN from paths.h

Since 1e5d6333 configure we doesn't check for paths.h anymore. That's
why all pidfiles went to /etc instead of /var/run.

Normally I would simply add AC_CHECK_HEADERS(paths.h) again but
since this project does not check for any other header I simply
remove "#if HAVE_PATHS_H".

Signed-off-by: Ruediger Meier <[email protected]>
---
 lib/pidfile.h | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/lib/pidfile.h b/lib/pidfile.h
index 47c2f67..d524963 100644
--- a/lib/pidfile.h
+++ b/lib/pidfile.h
@@ -23,9 +23,8 @@
 #include "config.h"
 #endif
 
-#ifdef HAVE_PATHS_H
 #include <paths.h>
-#endif
+
 #ifndef _PATH_VARRUN
 #define _PATH_VARRUN "/etc/"
 #endif
-- 
1.8.5.6


Reply via email to