commit rpcbind for openSUSE:Factory

2020-06-25 Thread root
Hello community,

here is the log from the commit of package rpcbind for openSUSE:Factory checked 
in at 2020-06-25 16:46:56

Comparing /work/SRC/openSUSE:Factory/rpcbind (Old)
 and  /work/SRC/openSUSE:Factory/.rpcbind.new.3060 (New)


Package is "rpcbind"

Thu Jun 25 16:46:56 2020 rev:62 rq:816583 version:1.2.5

Changes:

--- /work/SRC/openSUSE:Factory/rpcbind/rpcbind.changes  2020-03-11 
18:46:43.775428176 +0100
+++ /work/SRC/openSUSE:Factory/.rpcbind.new.3060/rpcbind.changes
2020-06-25 16:47:07.676906722 +0200
@@ -1,0 +2,5 @@
+Fri Jun  5 05:49:51 UTC 2020 - Petr Vorel 
+
+- Enable debug (--enable-debug, needed for getting messages with -d)
+
+---



Other differences:
--
++ rpcbind.spec ++
--- /var/tmp/diff_new_pack.jFToP3/_old  2020-06-25 16:47:08.304907870 +0200
+++ /var/tmp/diff_new_pack.jFToP3/_new  2020-06-25 16:47:08.308907877 +0200
@@ -73,7 +73,7 @@
--sbindir=/sbin \
--enable-libwrap \
--enable-warmstarts \
-   --disable-debug \
+   --enable-debug \
--with-statedir=%{_rundir}/%{name} \
--with-rpcuser=rpc \
--with-systemdsystemunitdir=%{_unitdir}




commit rpcbind for openSUSE:Factory

2020-03-11 Thread root
Hello community,

here is the log from the commit of package rpcbind for openSUSE:Factory checked 
in at 2020-03-11 18:43:44

Comparing /work/SRC/openSUSE:Factory/rpcbind (Old)
 and  /work/SRC/openSUSE:Factory/.rpcbind.new.3160 (New)


Package is "rpcbind"

Wed Mar 11 18:43:44 2020 rev:61 rq:782898 version:1.2.5

Changes:

--- /work/SRC/openSUSE:Factory/rpcbind/rpcbind.changes  2019-06-17 
10:32:39.797285361 +0200
+++ /work/SRC/openSUSE:Factory/.rpcbind.new.3160/rpcbind.changes
2020-03-11 18:46:43.775428176 +0100
@@ -1,0 +2,6 @@
+Mon Mar  9 08:54:14 UTC 2020 - Thorsten Kukuk 
+
+- rpc-user.conf: use sysusers method to create rpc user
+- Minimize dependencies for container usage
+
+---

New:

  rpc-user.conf



Other differences:
--
++ rpcbind.spec ++
--- /var/tmp/diff_new_pack.Op0sYu/_old  2020-03-11 18:46:47.299430338 +0100
+++ /var/tmp/diff_new_pack.Op0sYu/_new  2020-03-11 18:46:47.303430341 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package rpcbind
 #
-# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2020 SUSE LLC
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -31,23 +31,24 @@
 Source: 
https://downloads.sourceforge.net/sourceforge/%{name}/%{name}-%{version}.tar.bz2
 Source2:sysconfig.rpcbind
 Source4:pmap_set.c
+Source5:rpc-user.conf
 Patch1: 0001-systemd-unit-files.patch
 Patch2: 0001-change-lockingdir-to-run.patch
 Patch31:0031-rpcbind-manpage.patch
 BuildRequires:  libtirpc-devel >= 1.0.1
 BuildRequires:  libtool
 BuildRequires:  pkgconfig
-BuildRequires:  systemd-rpm-macros
+BuildRequires:  sysuser-shadow
+BuildRequires:  sysuser-tools
 BuildRequires:  tcpd-devel
 BuildRequires:  pkgconfig(libsystemd)
 Requires(post): %fillup_prereq
-Requires(pre):  shadow
 Provides:   portmap
-%{?systemd_requires}
+%{?systemd_ordering}
 %if 0%{?suse_version} >= 1330
 BuildRequires:  libnsl-devel
-Requires(pre):  group(nobody)
 %endif
+%sysusers_requires
 
 %description
 Rpcbind is a replacement for portmap. Whereas portmap supports only UDP
@@ -79,12 +80,16 @@
 
 make %{?_smp_mflags}
 gcc -I/usr/include/tirpc -pie -fpie -fwhole-program -Wl,-z,relro,-z,now 
%{optflags} pmap_set.c -o pmap_set -ltirpc
+%sysusers_generate_pre %{SOURCE5} rpc
 
 %install
 %make_install
 # fillup template
 mkdir -p %{buildroot}%{_fillupdir}
 install -m 644 %{SOURCE2} %{buildroot}%{_fillupdir}/
+# sysusers.d config
+mkdir -p %{buildroot}%{_sysusersdir}
+install -m 644 %{SOURCE5} %{buildroot}%{_sysusersdir}/
 #
 install -m 755 pmap_set %{buildroot}/sbin/pmap_set2
 # create symlink for rcrpcbind
@@ -92,13 +97,9 @@
 ln -s service %{buildroot}/%{_sbindir}/rc%{name}
 ln -s /bin/rpcinfo %{buildroot}/sbin/rpcinfo
 
-%pre
+%pre -f rpc.pre
 %service_add_pre %{name}.service %{name}.socket
 
-# Add "rpc" user
-getent passwd rpc >/dev/null || %{_sbindir}/useradd -r -g nobody -d 
%{_localstatedir}/lib/empty -s /sbin/nologin -c "user for rpcbind" rpc
-exit 0
-
 %preun
 %service_del_preun %{name}.service %{name}.socket
 
@@ -119,6 +120,7 @@
 %{_sbindir}/rc%{name}
 %{_mandir}/*/*
 %{_fillupdir}/sysconfig.%{name}
+%{_sysusersdir}/rpc-user.conf
 %{_unitdir}/%{name}.service
 %{_unitdir}/%{name}.socket
 

++ rpc-user.conf ++
# Type Name ID GECOS [HOME]
u rpc - "User for rpcbind" /var/lib/empty



commit rpcbind for openSUSE:Factory

2019-06-17 Thread root
Hello community,

here is the log from the commit of package rpcbind for openSUSE:Factory checked 
in at 2019-06-17 10:32:31

Comparing /work/SRC/openSUSE:Factory/rpcbind (Old)
 and  /work/SRC/openSUSE:Factory/.rpcbind.new.4811 (New)


Package is "rpcbind"

Mon Jun 17 10:32:31 2019 rev:60 rq:709748 version:1.2.5

Changes:

--- /work/SRC/openSUSE:Factory/rpcbind/rpcbind.changes  2018-12-27 
00:23:21.555958751 +0100
+++ /work/SRC/openSUSE:Factory/.rpcbind.new.4811/rpcbind.changes
2019-06-17 10:32:39.797285361 +0200
@@ -1,0 +2,10 @@
+Wed Jun 12 08:11:40 UTC 2019 - Thomas Blume 
+
+- change rpcbind locking path from /var/run/rpcbind.lock to 
+  /run/rpcbind.lock (bsc#1134659)
+  add 0001-change-lockingdir-to-run.patch
+- change the order of socket/service in the %postun scriptlet to
+  avoid an error from rpcbind.socket when rpcbind is running 
+  during package update
+
+---

New:

  0001-change-lockingdir-to-run.patch



Other differences:
--
++ rpcbind.spec ++
--- /var/tmp/diff_new_pack.MPYVkZ/_old  2019-06-17 10:32:41.737284374 +0200
+++ /var/tmp/diff_new_pack.MPYVkZ/_new  2019-06-17 10:32:41.741284372 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package rpcbind
 #
-# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -12,7 +12,7 @@
 # license that conforms to the Open Source Definition (Version 1.9)
 # published by the Open Source Initiative.
 
-# Please submit bugfixes or comments via http://bugs.opensuse.org/
+# Please submit bugfixes or comments via https://bugs.opensuse.org/
 #
 
 
@@ -32,6 +32,7 @@
 Source2:sysconfig.rpcbind
 Source4:pmap_set.c
 Patch1: 0001-systemd-unit-files.patch
+Patch2: 0001-change-lockingdir-to-run.patch
 Patch31:0031-rpcbind-manpage.patch
 BuildRequires:  libtirpc-devel >= 1.0.1
 BuildRequires:  libtool
@@ -59,6 +60,7 @@
 %setup -q
 cp %{SOURCE4} .
 %patch1 -p1
+%patch2 -p1
 %patch31 -p1
 
 %build
@@ -102,10 +104,10 @@
 
 %post
 %{fillup_only -n rpcbind}
-%service_add_post %{name}.service %{name}.socket
+%service_add_post %{name}.socket %{name}.service
 
 %postun
-%service_del_postun %{name}.service %{name}.socket
+%service_del_postun %{name}.socket %{name}.service
 
 %files
 %license COPYING

++ 0001-change-lockingdir-to-run.patch ++
>From 4d32e143124fa47466bbc91f54067674f212c3e3 Mon Sep 17 00:00:00 2001
From: Thomas Blume 
Date: Wed, 12 Jun 2019 10:09:01 +0200
Subject: [PATCH] change lockingdir to /run

---
 src/rpcbind.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/rpcbind.c b/src/rpcbind.c
index cc848b1..65054ff 100644
--- a/src/rpcbind.c
+++ b/src/rpcbind.c
@@ -106,7 +106,7 @@ char *nss_modules = "files";
 /* who to suid to if -s is given */
 #define RUN_AS  "daemon"
 
-#define RPCBINDDLOCK "/var/run/rpcbind.lock"
+#define RPCBINDDLOCK "/run/rpcbind.lock"
 
 int runasdaemon = 0;
 int insecure = 0;
-- 
2.16.4




commit rpcbind for openSUSE:Factory

2018-12-26 Thread root
Hello community,

here is the log from the commit of package rpcbind for openSUSE:Factory checked 
in at 2018-12-27 00:23:20

Comparing /work/SRC/openSUSE:Factory/rpcbind (Old)
 and  /work/SRC/openSUSE:Factory/.rpcbind.new.28833 (New)


Package is "rpcbind"

Thu Dec 27 00:23:20 2018 rev:59 rq:657669 version:1.2.5

Changes:

--- /work/SRC/openSUSE:Factory/rpcbind/rpcbind.changes  2018-11-13 
16:21:53.183048505 +0100
+++ /work/SRC/openSUSE:Factory/.rpcbind.new.28833/rpcbind.changes   
2018-12-27 00:23:21.555958751 +0100
@@ -1,0 +2,6 @@
+Wed Dec 12 07:41:26 UTC 2018 - thomas.bl...@suse.com
+
+- add ordering dependency to rpcbind.service (bsc#1117217)
+  * modify 0001-systemd-unit-files.patch
+
+---



Other differences:
--
++ 0001-systemd-unit-files.patch ++
--- /var/tmp/diff_new_pack.ouQzD5/_old  2018-12-27 00:23:22.007958383 +0100
+++ /var/tmp/diff_new_pack.ouQzD5/_new  2018-12-27 00:23:22.007958383 +0100
@@ -8,11 +8,16 @@
  systemd/rpcbind.service.in | 1 +
  1 file changed, 1 insertion(+)
 
-diff --git a/systemd/rpcbind.service.in b/systemd/rpcbind.service.in
-index 7b1c74b..a05872d 100644
 a/systemd/rpcbind.service.in
-+++ b/systemd/rpcbind.service.in
-@@ -12,6 +12,7 @@ Wants=rpcbind.target
+Index: rpcbind-1.2.5/systemd/rpcbind.service.in
+===
+--- rpcbind-1.2.5.orig/systemd/rpcbind.service.in
 rpcbind-1.2.5/systemd/rpcbind.service.in
+@@ -8,10 +8,12 @@ RequiresMountsFor=@statedir@
+ # rpcbind.socket, no matter how this unit is started.
+ Requires=rpcbind.socket
+ Wants=rpcbind.target
++After=sysinit.target
+ 
  [Service]
  Type=notify
  # distro can provide a drop-in adding EnvironmentFile=-/??? if needed.
@@ -20,6 +25,3 @@
  ExecStart=@_sbindir@/rpcbind $RPCBIND_OPTIONS -w -f
  
  [Install]
--- 
-2.16.4
-




commit rpcbind for openSUSE:Factory

2018-11-13 Thread root
Hello community,

here is the log from the commit of package rpcbind for openSUSE:Factory checked 
in at 2018-11-13 16:21:30

Comparing /work/SRC/openSUSE:Factory/rpcbind (Old)
 and  /work/SRC/openSUSE:Factory/.rpcbind.new (New)


Package is "rpcbind"

Tue Nov 13 16:21:30 2018 rev:58 rq:646817 version:1.2.5

Changes:

--- /work/SRC/openSUSE:Factory/rpcbind/rpcbind.changes  2018-06-08 
23:09:36.932738587 +0200
+++ /work/SRC/openSUSE:Factory/.rpcbind.new/rpcbind.changes 2018-11-13 
16:21:53.183048505 +0100
@@ -1,0 +2,7 @@
+Fri Oct 26 06:04:23 UTC 2018 - thomas.bl...@suse.com
+
+- update to current upstream version 1.2.5 (bsc#1113002)
+  * move procinfo from /sbin to /bin and create a symlink in /sbin
+  * remove obsolete svc-freeargs.patch (included in the sources now)
+
+---

Old:

  rpcbind-0.2.4.tar.bz2
  svc-freeargs.patch

New:

  _service
  rpcbind-1.2.5.tar.bz2



Other differences:
--
++ rpcbind.spec ++
--- /var/tmp/diff_new_pack.5GbCbm/_old  2018-11-13 16:21:57.831040364 +0100
+++ /var/tmp/diff_new_pack.5GbCbm/_new  2018-11-13 16:21:57.835040357 +0100
@@ -21,7 +21,7 @@
   %define _fillupdir %{_localstatedir}/adm/fillup-templates
 %endif
 Name:   rpcbind
-Version:0.2.4
+Version:1.2.5
 Release:0
 Summary:Transport independent RPC portmapper
 # Git-Web:  http://git.linux-nfs.org/?p=steved/rpcbind.git;a=summary
@@ -33,7 +33,6 @@
 Source4:pmap_set.c
 Patch1: 0001-systemd-unit-files.patch
 Patch31:0031-rpcbind-manpage.patch
-Patch32:svc-freeargs.patch
 BuildRequires:  libtirpc-devel >= 1.0.1
 BuildRequires:  libtool
 BuildRequires:  pkgconfig
@@ -61,14 +60,14 @@
 cp %{SOURCE4} .
 %patch1 -p1
 %patch31 -p1
-%patch32 -p1
 
 %build
 autoreconf -fiv
 export  CFLAGS="%{optflags} -fpie"
 export LDFLAGS="-pie -Wl,-z,relro,-z,now"
 %configure \
-   --bindir=/sbin \
+   --bindir=/bin \
+   --sbindir=/sbin \
--enable-libwrap \
--enable-warmstarts \
--disable-debug \
@@ -87,8 +86,9 @@
 #
 install -m 755 pmap_set %{buildroot}/sbin/pmap_set2
 # create symlink for rcrpcbind
-mkdir -p %{buildroot}%{_sbindir}
-ln -s service %{buildroot}%{_sbindir}/rc%{name}
+mkdir -p %{buildroot}/%{_sbindir}
+ln -s service %{buildroot}/%{_sbindir}/rc%{name}
+ln -s /bin/rpcinfo %{buildroot}/sbin/rpcinfo
 
 %pre
 %service_add_pre %{name}.service %{name}.socket
@@ -112,6 +112,7 @@
 %doc AUTHORS README
 /sbin/pmap_set2
 /sbin/%{name}
+/bin/rpcinfo
 /sbin/rpcinfo
 %{_sbindir}/rc%{name}
 %{_mandir}/*/*

++ 0001-systemd-unit-files.patch ++
--- /var/tmp/diff_new_pack.5GbCbm/_old  2018-11-13 16:21:57.851040329 +0100
+++ /var/tmp/diff_new_pack.5GbCbm/_new  2018-11-13 16:21:57.851040329 +0100
@@ -1,14 +1,25 @@
+From 9c5efb3a0973d57b79e4fc7a96debe0e6ce2d000 Mon Sep 17 00:00:00 2001
+From: Thomas Blume 
+Date: Thu, 25 Oct 2018 11:14:32 +0200
+Subject: [PATCH] systemd unit files
+
 Add EnvironmentFile=-/etc/sysconfig/rpcbind to rpcbind.service
+---
+ systemd/rpcbind.service.in | 1 +
+ 1 file changed, 1 insertion(+)
 
-Index: rpcbind-0.2.4/systemd/rpcbind.service.in
-===
 rpcbind-0.2.4.orig/systemd/rpcbind.service.in
-+++ rpcbind-0.2.4/systemd/rpcbind.service.in
-@@ -11,6 +11,7 @@ After=rpcbind.socket
+diff --git a/systemd/rpcbind.service.in b/systemd/rpcbind.service.in
+index 7b1c74b..a05872d 100644
+--- a/systemd/rpcbind.service.in
 b/systemd/rpcbind.service.in
+@@ -12,6 +12,7 @@ Wants=rpcbind.target
  [Service]
  Type=notify
  # distro can provide a drop-in adding EnvironmentFile=-/??? if needed.
 +EnvironmentFile=-/etc/sysconfig/rpcbind
- ExecStart=@_bindir@/rpcbind $RPCBIND_OPTIONS -w -f
+ ExecStart=@_sbindir@/rpcbind $RPCBIND_OPTIONS -w -f
  
  [Install]
+-- 
+2.16.4
+

++ _service ++


yes
  

++ rpcbind-0.2.4.tar.bz2 -> rpcbind-1.2.5.tar.bz2 ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/rpcbind-0.2.4/Makefile.am 
new/rpcbind-1.2.5/Makefile.am
--- old/rpcbind-0.2.4/Makefile.am   2016-11-28 21:47:28.0 +0100
+++ new/rpcbind-1.2.5/Makefile.am   2018-08-15 16:51:19.0 +0200
@@ -29,7 +29,12 @@
 AM_CPPFLAGS += -DLIBWRAP
 endif
 
-bin_PROGRAMS = rpcbind rpcinfo
+if RMTCALLS
+AM_CPPFLAGS += -DRMTCALLS
+endif
+
+bin_PROGRAMS = rpcinfo
+sbin_PROGRAMS = rpcbind
 
 rpcbind_SOURCES = \
src/check_bound.c \
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/rpcbind-0.2.4/Makefile.in 
new/rpcbind-1.2.5/Makefile.in
--- old/rpcbind-0.2.4/Makefile.in   2016-11-30 15:03:59.0 

commit rpcbind for openSUSE:Factory

2018-06-08 Thread root
Hello community,

here is the log from the commit of package rpcbind for openSUSE:Factory checked 
in at 2018-06-08 23:09:35

Comparing /work/SRC/openSUSE:Factory/rpcbind (Old)
 and  /work/SRC/openSUSE:Factory/.rpcbind.new (New)


Package is "rpcbind"

Fri Jun  8 23:09:35 2018 rev:57 rq:614102 version:0.2.4

Changes:

--- /work/SRC/openSUSE:Factory/rpcbind/rpcbind.changes  2018-04-04 
11:03:43.655716933 +0200
+++ /work/SRC/openSUSE:Factory/.rpcbind.new/rpcbind.changes 2018-06-08 
23:09:36.932738587 +0200
@@ -1,0 +2,17 @@
+Mon Jun  4 19:42:29 UTC 2018 - tchva...@suse.com
+
+- Drop all commented out patches (4 years now):
+  * 0008-First-part-of-init_transport-refactoring.patch
+  * 0009-init_transport-move-the-registration-code-into-a-sep.patch
+  * 0010-Fix-the-behavior-when-specifying-the-h-option.patch
+  * 0011-Clean-up-the-way-we-handle-the-h-option-in-init_tran.patch
+  * 0014-When-using-systemd-redirect-syslog-calls-to-the-syst.patch
+  * 0030-systemd-fix-rmtcall.patch
+
+---
+Mon Jun  4 19:34:14 UTC 2018 - tchva...@suse.com
+
+- Say goodbye to omc files fate#301838
+- Format with spec-cleaner
+
+---

Old:

  0008-First-part-of-init_transport-refactoring.patch
  0009-init_transport-move-the-registration-code-into-a-sep.patch
  0010-Fix-the-behavior-when-specifying-the-h-option.patch
  0011-Clean-up-the-way-we-handle-the-h-option-in-init_tran.patch
  0014-When-using-systemd-redirect-syslog-calls-to-the-syst.patch
  0030-systemd-fix-rmtcall.patch
  rpcbind.xml



Other differences:
--
++ rpcbind.spec ++
--- /var/tmp/diff_new_pack.QOibV4/_old  2018-06-08 23:09:38.644676779 +0200
+++ /var/tmp/diff_new_pack.QOibV4/_new  2018-06-08 23:09:38.652676491 +0200
@@ -27,18 +27,11 @@
 # Git-Web:  http://git.linux-nfs.org/?p=steved/rpcbind.git;a=summary
 License:BSD-4-Clause
 Group:  Productivity/Networking/System
-Url:http://rpcbind.sourceforge.net
+URL:http://rpcbind.sourceforge.net
 Source: 
https://downloads.sourceforge.net/sourceforge/%{name}/%{name}-%{version}.tar.bz2
 Source2:sysconfig.rpcbind
-Source3:rpcbind.xml
 Source4:pmap_set.c
 Patch1: 0001-systemd-unit-files.patch
-Patch8: 0008-First-part-of-init_transport-refactoring.patch
-Patch9: 0009-init_transport-move-the-registration-code-into-a-sep.patch
-Patch10:0010-Fix-the-behavior-when-specifying-the-h-option.patch
-Patch11:0011-Clean-up-the-way-we-handle-the-h-option-in-init_tran.patch
-Patch14:0014-When-using-systemd-redirect-syslog-calls-to-the-syst.patch
-Patch30:0030-systemd-fix-rmtcall.patch
 Patch31:0031-rpcbind-manpage.patch
 Patch32:svc-freeargs.patch
 BuildRequires:  libtirpc-devel >= 1.0.1
@@ -47,14 +40,12 @@
 BuildRequires:  systemd-rpm-macros
 BuildRequires:  tcpd-devel
 BuildRequires:  pkgconfig(libsystemd)
-PreReq: %fillup_prereq
-Requires(pre):  %{_sbindir}/useradd
+Requires(post): %fillup_prereq
+Requires(pre):  shadow
 Provides:   portmap
 %{?systemd_requires}
 %if 0%{?suse_version} >= 1330
 BuildRequires:  libnsl-devel
-%endif
-%if 0%{?suse_version} >= 1330
 Requires(pre):  group(nobody)
 %endif
 
@@ -69,12 +60,6 @@
 %setup -q
 cp %{SOURCE4} .
 %patch1 -p1
-#%patch8 -p1
-#%patch9 -p1
-#%patch10 -p1
-#%patch11 -p1
-#%patch14 -p1
-#%patch30 -p1
 %patch31 -p1
 %patch32 -p1
 
@@ -99,13 +84,11 @@
 # fillup template
 mkdir -p %{buildroot}%{_fillupdir}
 install -m 644 %{SOURCE2} %{buildroot}%{_fillupdir}/
-mkdir -p %{buildroot}%{_datadir}/omc/svcinfo.d
-install -m 644 %{SOURCE3} %{buildroot}%{_datadir}/omc/svcinfo.d/
 #
 install -m 755 pmap_set %{buildroot}/sbin/pmap_set2
 # create symlink for rcrpcbind
 mkdir -p %{buildroot}%{_sbindir}
-ln -s /sbin/service %{buildroot}%{_sbindir}/rc%{name}
+ln -s service %{buildroot}%{_sbindir}/rc%{name}
 
 %pre
 %service_add_pre %{name}.service %{name}.socket
@@ -133,7 +116,6 @@
 %{_sbindir}/rc%{name}
 %{_mandir}/*/*
 %{_fillupdir}/sysconfig.%{name}
-%{_datadir}/omc/svcinfo.d/%{name}.xml
 %{_unitdir}/%{name}.service
 %{_unitdir}/%{name}.socket
 




commit rpcbind for openSUSE:Factory

2018-04-04 Thread root
Hello community,

here is the log from the commit of package rpcbind for openSUSE:Factory checked 
in at 2018-04-04 11:03:37

Comparing /work/SRC/openSUSE:Factory/rpcbind (Old)
 and  /work/SRC/openSUSE:Factory/.rpcbind.new (New)


Package is "rpcbind"

Wed Apr  4 11:03:37 2018 rev:56 rq:593305 version:0.2.4

Changes:

--- /work/SRC/openSUSE:Factory/rpcbind/rpcbind.changes  2017-11-29 
10:49:54.358644864 +0100
+++ /work/SRC/openSUSE:Factory/.rpcbind.new/rpcbind.changes 2018-04-04 
11:03:43.655716933 +0200
@@ -1,0 +2,31 @@
+Tue Apr  3 12:06:36 UTC 2018 - dims...@opensuse.org
+
+- Correctly rebase 0001-systemd-unit-files.patch: Since upstream
+  now ships systemd service files, we must no longer create full
+  unit files, but only correct the existing ones (adding
+  EnvironmentFile statement).
+
+---
+Mon Mar 26 17:11:19 CEST 2018 - ku...@suse.de
+
+- Use %license instead of %doc [bsc#1082318]
+
+---
+Sun Feb 18 19:48:56 UTC 2018 - avin...@opensuse.org
+
+- Update to 0.2.4:
+  + Memory corruption fix
+  + Moved the default state directory to /var/run
+  + Systemd unit files were added.
+- cleanup with spec-cleaner
+- don't ship NEWS or ChangeLog, these are not maintained
+- rebase 0001-systemd-unit-files.patch
+- remove upstreamed patches
+  * drop 0002-handle_reply-Don-t-use-the-xp_auth-pointer-directly.patch
+  * drop 0003-Delete-the-unix-socket-only-if-we-have-created-it.patch
+  * drop 0004-Fix-memory-corruption-in-PMAP_CALLIT-code.patch
+  * drop 0005-security.c-removed-warning.patch
+  * drop 0006-don-t-use-svc_fdset.patch
+  * drop 0012-Move-default-state-dir-to-a-subdirectory-of-var-run.patch
+
+---

Old:

  0002-handle_reply-Don-t-use-the-xp_auth-pointer-directly.patch
  0003-Delete-the-unix-socket-only-if-we-have-created-it.patch
  0004-Fix-memory-corruption-in-PMAP_CALLIT-code.patch
  0005-security.c-removed-warning.patch
  0006-don-t-use-svc_fdset.patch
  0012-Move-default-state-dir-to-a-subdirectory-of-var-run.patch
  rpcbind-0.2.3.tar.bz2

New:

  rpcbind-0.2.4.tar.bz2



Other differences:
--
++ rpcbind.spec ++
--- /var/tmp/diff_new_pack.kUv8g5/_old  2018-04-04 11:03:44.711678660 +0200
+++ /var/tmp/diff_new_pack.kUv8g5/_new  2018-04-04 11:03:44.715678515 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package rpcbind
 #
-# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -18,53 +18,45 @@
 
 #Compat macro for new _fillupdir macro introduced in Nov 2017
 %if ! %{defined _fillupdir}
-  %define _fillupdir /var/adm/fillup-templates
+  %define _fillupdir %{_localstatedir}/adm/fillup-templates
 %endif
-
 Name:   rpcbind
-Version:0.2.3
+Version:0.2.4
 Release:0
 Summary:Transport independent RPC portmapper
+# Git-Web:  http://git.linux-nfs.org/?p=steved/rpcbind.git;a=summary
 License:BSD-4-Clause
 Group:  Productivity/Networking/System
-Url:git://git.infradead.org/users/steved/rpcbind.git
-Source: %{name}-%{version}.tar.bz2
+Url:http://rpcbind.sourceforge.net
+Source: 
https://downloads.sourceforge.net/sourceforge/%{name}/%{name}-%{version}.tar.bz2
 Source2:sysconfig.rpcbind
 Source3:rpcbind.xml
 Source4:pmap_set.c
-BuildRoot:  %{_tmppath}/%{name}-%{version}-build
-%if 0%{?suse_version} >= 1330
-BuildRequires:  libnsl-devel
-%endif
-BuildRequires:  libtirpc-devel >= 1.0.1
-BuildRequires:  libtool
-BuildRequires:  pkgconfig
-BuildRequires:  systemd-rpm-macros
-BuildRequires:  tcpd-devel
-BuildRequires:  pkgconfig(libsystemd)
-PreReq: %fillup_prereq
-Requires(pre):  /usr/sbin/useradd
-%if 0%{?suse_version} >= 1330
-Requires(pre):  group(nobody)
-%endif
 Patch1: 0001-systemd-unit-files.patch
-Patch2: 0002-handle_reply-Don-t-use-the-xp_auth-pointer-directly.patch
-Patch3: 0003-Delete-the-unix-socket-only-if-we-have-created-it.patch
-Patch4: 0004-Fix-memory-corruption-in-PMAP_CALLIT-code.patch
-Patch5: 0005-security.c-removed-warning.patch
-Patch6: 0006-don-t-use-svc_fdset.patch
 Patch8: 0008-First-part-of-init_transport-refactoring.patch
 Patch9: 0009-init_transport-move-the-registration-code-into-a-sep.patch
 Patch10:0010-Fix-the-behavior-when-specifying-the-h-option.patch
 Patch11:

commit rpcbind for openSUSE:Factory

2017-11-29 Thread root
Hello community,

here is the log from the commit of package rpcbind for openSUSE:Factory checked 
in at 2017-11-29 10:49:53

Comparing /work/SRC/openSUSE:Factory/rpcbind (Old)
 and  /work/SRC/openSUSE:Factory/.rpcbind.new (New)


Package is "rpcbind"

Wed Nov 29 10:49:53 2017 rev:55 rq:545125 version:0.2.3

Changes:

--- /work/SRC/openSUSE:Factory/rpcbind/rpcbind.changes  2017-08-24 
18:22:21.263335317 +0200
+++ /work/SRC/openSUSE:Factory/.rpcbind.new/rpcbind.changes 2017-11-29 
10:49:54.358644864 +0100
@@ -1,0 +2,6 @@
+Thu Nov 23 13:38:46 UTC 2017 - rbr...@suse.com
+
+- Replace references to /var/adm/fillup-templates with new 
+  %_fillupdir macro (boo#1069468)
+
+---



Other differences:
--
++ rpcbind.spec ++
--- /var/tmp/diff_new_pack.0BOA08/_old  2017-11-29 10:49:55.070619035 +0100
+++ /var/tmp/diff_new_pack.0BOA08/_new  2017-11-29 10:49:55.074618889 +0100
@@ -16,6 +16,11 @@
 #
 
 
+#Compat macro for new _fillupdir macro introduced in Nov 2017
+%if ! %{defined _fillupdir}
+  %define _fillupdir /var/adm/fillup-templates
+%endif
+
 Name:   rpcbind
 Version:0.2.3
 Release:0
@@ -106,8 +111,8 @@
 %install
 make install DESTDIR=$RPM_BUILD_ROOT
 # fillup template
-mkdir -p $RPM_BUILD_ROOT/var/adm/fillup-templates
-install -m 644 %{SOURCE2} $RPM_BUILD_ROOT/var/adm/fillup-templates/
+mkdir -p $RPM_BUILD_ROOT%{_fillupdir}
+install -m 644 %{SOURCE2} $RPM_BUILD_ROOT%{_fillupdir}/
 mkdir -p $RPM_BUILD_ROOT%_datadir/omc/svcinfo.d
 install -m 644 %{SOURCE3} $RPM_BUILD_ROOT%_datadir/omc/svcinfo.d/
 #
@@ -144,7 +149,7 @@
 /sbin/rpcinfo
 %{_sbindir}/rcrpcbind
 %{_mandir}/*/*
-/var/adm/fillup-templates/sysconfig.rpcbind
+%{_fillupdir}/sysconfig.rpcbind
 %{_datadir}/omc/svcinfo.d/rpcbind.xml
 %{_unitdir}/%{name}.service
 %{_unitdir}/%{name}.socket




commit rpcbind for openSUSE:Factory

2017-08-24 Thread root
Hello community,

here is the log from the commit of package rpcbind for openSUSE:Factory checked 
in at 2017-08-24 18:22:20

Comparing /work/SRC/openSUSE:Factory/rpcbind (Old)
 and  /work/SRC/openSUSE:Factory/.rpcbind.new (New)


Package is "rpcbind"

Thu Aug 24 18:22:20 2017 rev:54 rq:517662 version:0.2.3

Changes:

--- /work/SRC/openSUSE:Factory/rpcbind/rpcbind.changes  2017-05-10 
20:32:28.491593276 +0200
+++ /work/SRC/openSUSE:Factory/.rpcbind.new/rpcbind.changes 2017-08-24 
18:22:21.263335317 +0200
@@ -1,0 +2,12 @@
+Wed Aug 16 10:34:13 CEST 2017 - ku...@suse.de
+
+- Add BuildRequires libnsl-devel (needed for obsoleting nsl in 
+  glibc)
+
+---
+Wed May 17 09:14:15 UTC 2017 - sch...@suse.de
+
+- svc-freeargs.patch: always call svc_freeargs, even if svc_getargs
+  failed (bsc#1037559, CVE-2017-8779)
+
+---

New:

  svc-freeargs.patch



Other differences:
--
++ rpcbind.spec ++
--- /var/tmp/diff_new_pack.pyCeov/_old  2017-08-24 18:22:22.599147229 +0200
+++ /var/tmp/diff_new_pack.pyCeov/_new  2017-08-24 18:22:22.60314 +0200
@@ -28,6 +28,9 @@
 Source3:rpcbind.xml
 Source4:pmap_set.c
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build
+%if 0%{?suse_version} >= 1330
+BuildRequires:  libnsl-devel
+%endif
 BuildRequires:  libtirpc-devel >= 1.0.1
 BuildRequires:  libtool
 BuildRequires:  pkgconfig
@@ -53,6 +56,7 @@
 Patch14:0014-When-using-systemd-redirect-syslog-calls-to-the-syst.patch
 Patch30:0030-systemd-fix-rmtcall.patch
 Patch31:0031-rpcbind-manpage.patch
+Patch32:svc-freeargs.patch
 
 %{?systemd_requires}
 Provides:   portmap
@@ -81,6 +85,7 @@
 #%patch14 -p1
 #%patch30 -p1
 %patch31 -p1
+%patch32 -p1
 
 %build
 autoreconf -fiv

++ svc-freeargs.patch ++
Index: rpcbind-0.2.3/src/rpcb_svc.c
===
--- rpcbind-0.2.3.orig/src/rpcb_svc.c
+++ rpcbind-0.2.3/src/rpcb_svc.c
@@ -166,7 +166,7 @@ rpcb_service_3(struct svc_req *rqstp, SV
svcerr_decode(transp);
if (debugging)
(void) xlog(LOG_DEBUG, "rpcbind: could not decode");
-   return;
+   goto done;
}
 
if (rqstp->rq_proc == RPCBPROC_SET
Index: rpcbind-0.2.3/src/rpcb_svc_4.c
===
--- rpcbind-0.2.3.orig/src/rpcb_svc_4.c
+++ rpcbind-0.2.3/src/rpcb_svc_4.c
@@ -220,7 +220,7 @@ rpcb_service_4(struct svc_req *rqstp, SV
svcerr_decode(transp);
if (debugging)
(void) xlog(LOG_DEBUG, "rpcbind: could not decode\n");
-   return;
+   goto done;
}
 
if (rqstp->rq_proc == RPCBPROC_SET



commit rpcbind for openSUSE:Factory

2017-05-10 Thread root
Hello community,

here is the log from the commit of package rpcbind for openSUSE:Factory checked 
in at 2017-05-10 20:32:26

Comparing /work/SRC/openSUSE:Factory/rpcbind (Old)
 and  /work/SRC/openSUSE:Factory/.rpcbind.new (New)


Package is "rpcbind"

Wed May 10 20:32:26 2017 rev:53 rq:492474 version:0.2.3

Changes:

--- /work/SRC/openSUSE:Factory/rpcbind/rpcbind.changes  2016-11-25 
12:02:06.0 +0100
+++ /work/SRC/openSUSE:Factory/.rpcbind.new/rpcbind.changes 2017-05-10 
20:32:28.491593276 +0200
@@ -1,0 +2,5 @@
+Tue May  2 13:58:57 CEST 2017 - ku...@suse.de
+
+- Adjust for new system user/group RPMs
+
+---



Other differences:
--
++ rpcbind.spec ++
--- /var/tmp/diff_new_pack.B2J7ZN/_old  2017-05-10 20:32:29.603436414 +0200
+++ /var/tmp/diff_new_pack.B2J7ZN/_new  2017-05-10 20:32:29.607435849 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package rpcbind
 #
-# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -36,6 +36,9 @@
 BuildRequires:  pkgconfig(libsystemd)
 PreReq: %fillup_prereq
 Requires(pre):  /usr/sbin/useradd
+%if 0%{?suse_version} >= 1330
+Requires(pre):  group(nobody)
+%endif
 Patch1: 0001-systemd-unit-files.patch
 Patch2: 0002-handle_reply-Don-t-use-the-xp_auth-pointer-directly.patch
 Patch3: 0003-Delete-the-unix-socket-only-if-we-have-created-it.patch
@@ -115,7 +118,7 @@
 %service_add_pre %{name}.service %{name}.socket
 
 # Add "rpc" user
-getent passwd rpc >/dev/null || /usr/sbin/useradd -r -g nogroup -d 
/var/lib/empty -s /sbin/nologin -c "user for rpcbind" rpc
+getent passwd rpc >/dev/null || /usr/sbin/useradd -r -g nobody -d 
/var/lib/empty -s /sbin/nologin -c "user for rpcbind" rpc
 exit 0
 
 %preun




commit rpcbind for openSUSE:Factory

2016-11-25 Thread h_root
Hello community,

here is the log from the commit of package rpcbind for openSUSE:Factory checked 
in at 2016-11-25 12:02:05

Comparing /work/SRC/openSUSE:Factory/rpcbind (Old)
 and  /work/SRC/openSUSE:Factory/.rpcbind.new (New)


Package is "rpcbind"

Changes:

--- /work/SRC/openSUSE:Factory/rpcbind/rpcbind.changes  2016-11-16 
13:31:19.0 +0100
+++ /work/SRC/openSUSE:Factory/.rpcbind.new/rpcbind.changes 2016-11-25 
12:02:06.0 +0100
@@ -1,0 +2,6 @@
+Tue Nov 22 08:27:10 CET 2016 - ku...@suse.de
+
+- Add 0012-Move-default-state-dir-to-a-subdirectory-of-var-run.patch
+  from upstream, replacing systemd tmpfile solution.
+
+---

Old:

  rpcbind.conf

New:

  0012-Move-default-state-dir-to-a-subdirectory-of-var-run.patch



Other differences:
--
++ rpcbind.spec ++
--- /var/tmp/diff_new_pack.F6mAYK/_old  2016-11-25 12:02:07.0 +0100
+++ /var/tmp/diff_new_pack.F6mAYK/_new  2016-11-25 12:02:07.0 +0100
@@ -27,7 +27,6 @@
 Source2:sysconfig.rpcbind
 Source3:rpcbind.xml
 Source4:pmap_set.c
-Source5:rpcbind.conf
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build
 BuildRequires:  libtirpc-devel >= 1.0.1
 BuildRequires:  libtool
@@ -47,6 +46,7 @@
 Patch9: 0009-init_transport-move-the-registration-code-into-a-sep.patch
 Patch10:0010-Fix-the-behavior-when-specifying-the-h-option.patch
 Patch11:0011-Clean-up-the-way-we-handle-the-h-option-in-init_tran.patch
+Patch12:0012-Move-default-state-dir-to-a-subdirectory-of-var-run.patch
 Patch14:0014-When-using-systemd-redirect-syslog-calls-to-the-syst.patch
 Patch30:0030-systemd-fix-rmtcall.patch
 Patch31:0031-rpcbind-manpage.patch
@@ -74,6 +74,7 @@
 #%patch9 -p1
 #%patch10 -p1
 #%patch11 -p1
+%patch12 -p1
 #%patch14 -p1
 #%patch30 -p1
 %patch31 -p1
@@ -101,8 +102,6 @@
 install -m 644 %{SOURCE2} $RPM_BUILD_ROOT/var/adm/fillup-templates/
 mkdir -p $RPM_BUILD_ROOT%_datadir/omc/svcinfo.d
 install -m 644 %{SOURCE3} $RPM_BUILD_ROOT%_datadir/omc/svcinfo.d/
-mkdir -p $RPM_BUILD_ROOT/usr/lib/tmpfiles.d
-install -m 644 %{SOURCE5} $RPM_BUILD_ROOT/usr/lib/tmpfiles.d/
 #
 install -m 755 pmap_set $RPM_BUILD_ROOT/sbin/pmap_set2
 # create symlink for rcrpcbind
@@ -124,7 +123,6 @@
 
 %post
 %{fillup_only -n rpcbind}
-/usr/bin/systemd-tmpfiles --create rpcbind.conf ||:
 %service_add_post %{name}.service %{name}.socket
 
 %postun
@@ -139,7 +137,6 @@
 %{_sbindir}/rcrpcbind
 %{_mandir}/*/*
 /var/adm/fillup-templates/sysconfig.rpcbind
-/usr/lib/tmpfiles.d/rpcbind.conf
 %{_datadir}/omc/svcinfo.d/rpcbind.xml
 %{_unitdir}/%{name}.service
 %{_unitdir}/%{name}.socket

++ 0012-Move-default-state-dir-to-a-subdirectory-of-var-run.patch ++
>From 2e78e6fb51292fea798355e5cb749dbc1de26ca6 Mon Sep 17 00:00:00 2001
From: NeilBrown 
Date: Wed, 16 Nov 2016 10:53:07 -0500
Subject: [PATCH 1/1] Move default state-dir to a subdirectory of /var/run

rpcbind can save state in a file to allow restart without forgetting
about running services.

The default location is currently "/tmp" which is
not ideal for system files.  It is particularly unpleasant
to put simple files there rather than creating a directory
to contain them.

On a modern Linux system it is preferable to use /run, and there it is
even more consistent with practice to use a subdirectory.

This directory needs to be create one each boot, and while there are
tools (e.g. systemd-tmpfiles) which can do that it is cleaner to keep
rpcbind self-contained and have it create the directory.

So change the default location to /var/run/rpcbind, and create that
directory.  If a different user-id is used, we need to create
and chown the directory before dropping privileges.  We do this
with care so avoid chowning the wrong thing by mistake.

Signed-off-by: NeilBrown 
Signed-off-by: Steve Dickson 
---
 configure.ac|  4 ++--
 src/rpcbind.c   |  5 +
 src/rpcbind.h   |  1 +
 src/warmstart.c | 37 +
 4 files changed, 41 insertions(+), 6 deletions(-)

diff --git a/configure.ac b/configure.ac
index f84921e..acc6914 100644
--- a/configure.ac
+++ b/configure.ac
@@ -22,8 +22,8 @@ AC_ARG_ENABLE([warmstarts],
 AM_CONDITIONAL(WARMSTART, test x$enable_warmstarts = xyes)
 
 AC_ARG_WITH([statedir],
-  AS_HELP_STRING([--with-statedir=ARG], [use ARG as state dir 
@<:@default=/tmp@:>@])
-  ,, [with_statedir=/tmp])
+  AS_HELP_STRING([--with-statedir=ARG], [use ARG as state dir 
@<:@default=/var/run/rpcbind@:>@])
+  ,, [with_statedir=/var/run/rpcbind])
 AC_SUBST([statedir], [$with_statedir])
 
 AC_ARG_WITH([rpcuser],
diff --git a/src/rpcbind.c 

commit rpcbind for openSUSE:Factory

2016-11-16 Thread h_root
Hello community,

here is the log from the commit of package rpcbind for openSUSE:Factory checked 
in at 2016-11-16 13:31:19

Comparing /work/SRC/openSUSE:Factory/rpcbind (Old)
 and  /work/SRC/openSUSE:Factory/.rpcbind.new (New)


Package is "rpcbind"

Changes:

--- /work/SRC/openSUSE:Factory/rpcbind/rpcbind.changes  2016-06-13 
21:50:48.0 +0200
+++ /work/SRC/openSUSE:Factory/.rpcbind.new/rpcbind.changes 2016-11-16 
13:31:19.0 +0100
@@ -1,0 +2,6 @@
+Sat Nov 12 21:19:10 CET 2016 - ku...@suse.de
+
+- Move /var/lib/rpcbind to /run/rpcbind, data should not survive
+  reboot and this makes read-only root filesystem easier.
+
+---

New:

  rpcbind.conf



Other differences:
--
++ rpcbind.spec ++
--- /var/tmp/diff_new_pack.cgy6n5/_old  2016-11-16 13:31:21.0 +0100
+++ /var/tmp/diff_new_pack.cgy6n5/_new  2016-11-16 13:31:21.0 +0100
@@ -27,6 +27,7 @@
 Source2:sysconfig.rpcbind
 Source3:rpcbind.xml
 Source4:pmap_set.c
+Source5:rpcbind.conf
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build
 BuildRequires:  libtirpc-devel >= 1.0.1
 BuildRequires:  libtool
@@ -50,7 +51,6 @@
 Patch30:0030-systemd-fix-rmtcall.patch
 Patch31:0031-rpcbind-manpage.patch
 
-%define statefile /var/lib/portmap.state
 %{?systemd_requires}
 Provides:   portmap
 
@@ -87,7 +87,7 @@
--enable-libwrap \
--enable-warmstarts \
--disable-debug \
-   --with-statedir=%{_localstatedir}/lib/rpcbind \
+   --with-statedir=%{_rundir}/rpcbind \
--with-rpcuser=rpc \
--with-systemdsystemunitdir=%{_unitdir}
 
@@ -96,12 +96,13 @@
 
 %install
 make install DESTDIR=$RPM_BUILD_ROOT
-mkdir -p $RPM_BUILD_ROOT%_localstatedir/lib/rpcbind
 # fillup template
 mkdir -p $RPM_BUILD_ROOT/var/adm/fillup-templates
 install -m 644 %{SOURCE2} $RPM_BUILD_ROOT/var/adm/fillup-templates/
 mkdir -p $RPM_BUILD_ROOT%_datadir/omc/svcinfo.d
 install -m 644 %{SOURCE3} $RPM_BUILD_ROOT%_datadir/omc/svcinfo.d/
+mkdir -p $RPM_BUILD_ROOT/usr/lib/tmpfiles.d
+install -m 644 %{SOURCE5} $RPM_BUILD_ROOT/usr/lib/tmpfiles.d/
 #
 install -m 755 pmap_set $RPM_BUILD_ROOT/sbin/pmap_set2
 # create symlink for rcrpcbind
@@ -123,6 +124,7 @@
 
 %post
 %{fillup_only -n rpcbind}
+/usr/bin/systemd-tmpfiles --create rpcbind.conf ||:
 %service_add_post %{name}.service %{name}.socket
 
 %postun
@@ -136,8 +138,8 @@
 /sbin/rpcinfo
 %{_sbindir}/rcrpcbind
 %{_mandir}/*/*
-%attr(-,rpc,root) %{_localstatedir}/lib/rpcbind
 /var/adm/fillup-templates/sysconfig.rpcbind
+/usr/lib/tmpfiles.d/rpcbind.conf
 %{_datadir}/omc/svcinfo.d/rpcbind.xml
 %{_unitdir}/%{name}.service
 %{_unitdir}/%{name}.socket

++ rpcbind.conf ++
d /run/rpcbind 0755 rpc root




commit rpcbind for openSUSE:Factory

2016-06-13 Thread h_root
Hello community,

here is the log from the commit of package rpcbind for openSUSE:Factory checked 
in at 2016-06-13 21:50:47

Comparing /work/SRC/openSUSE:Factory/rpcbind (Old)
 and  /work/SRC/openSUSE:Factory/.rpcbind.new (New)


Package is "rpcbind"

Changes:

--- /work/SRC/openSUSE:Factory/rpcbind/rpcbind.changes  2016-04-03 
23:05:09.0 +0200
+++ /work/SRC/openSUSE:Factory/.rpcbind.new/rpcbind.changes 2016-06-13 
21:50:48.0 +0200
@@ -1,0 +2,13 @@
+Tue Jun  7 17:04:12 UTC 2016 - f...@suse.com
+
+-  Do not rely on systemd.pc to find out where systemd unit dir is located 
(bsc#983167)
+   systemd.pc is part of systemd main package now. Instead of
+   build-requiring systemd, import systemd-rpm-macros which has the
+   %{_unitdir} definition and much less dependencies than systemd and
+   use it when configuring rpcbind so it won't try to find the unit dir
+   by using pkg-config.
+ 
+   Also replace BR libsystemd-daemon by libsystemd since the former is
+   obsolete and is replaced by the later.
+
+---



Other differences:
--
++ rpcbind.spec ++
--- /var/tmp/diff_new_pack.mvwchn/_old  2016-06-13 21:50:49.0 +0200
+++ /var/tmp/diff_new_pack.mvwchn/_new  2016-06-13 21:50:49.0 +0200
@@ -31,8 +31,9 @@
 BuildRequires:  libtirpc-devel >= 1.0.1
 BuildRequires:  libtool
 BuildRequires:  pkgconfig
+BuildRequires:  systemd-rpm-macros
 BuildRequires:  tcpd-devel
-BuildRequires:  pkgconfig(libsystemd-daemon)
+BuildRequires:  pkgconfig(libsystemd)
 PreReq: %fillup_prereq
 Requires(pre):  /usr/sbin/useradd
 Patch1: 0001-systemd-unit-files.patch
@@ -87,7 +88,8 @@
--enable-warmstarts \
--disable-debug \
--with-statedir=%{_localstatedir}/lib/rpcbind \
-   --with-rpcuser=rpc
+   --with-rpcuser=rpc \
+   --with-systemdsystemunitdir=%{_unitdir}
 
 %{__make} %{?jobs:-j%jobs}
 %{__cc} -I/usr/include/tirpc -pie -fpie -fwhole-program -Wl,-z,relro,-z,now 
%{optflags} pmap_set.c -o pmap_set -ltirpc





commit rpcbind for openSUSE:Factory

2016-04-03 Thread h_root
Hello community,

here is the log from the commit of package rpcbind for openSUSE:Factory checked 
in at 2016-04-03 23:05:08

Comparing /work/SRC/openSUSE:Factory/rpcbind (Old)
 and  /work/SRC/openSUSE:Factory/.rpcbind.new (New)


Package is "rpcbind"

Changes:

--- /work/SRC/openSUSE:Factory/rpcbind/rpcbind.changes  2016-02-25 
21:43:13.0 +0100
+++ /work/SRC/openSUSE:Factory/.rpcbind.new/rpcbind.changes 2016-04-03 
23:05:09.0 +0200
@@ -1,0 +2,5 @@
+Mon Mar 14 14:48:36 CET 2016 - ku...@suse.de
+
+- pmap_set: use tirpc header files and link against libtirpc
+
+---



Other differences:
--
++ rpcbind.spec ++
--- /var/tmp/diff_new_pack.cQtLtf/_old  2016-04-03 23:05:10.0 +0200
+++ /var/tmp/diff_new_pack.cQtLtf/_new  2016-04-03 23:05:10.0 +0200
@@ -90,7 +90,7 @@
--with-rpcuser=rpc
 
 %{__make} %{?jobs:-j%jobs}
-%{__cc} -pie -fpie -fwhole-program -Wl,-z,relro,-z,now %{optflags} pmap_set.c 
-o pmap_set
+%{__cc} -I/usr/include/tirpc -pie -fpie -fwhole-program -Wl,-z,relro,-z,now 
%{optflags} pmap_set.c -o pmap_set -ltirpc
 
 %install
 make install DESTDIR=$RPM_BUILD_ROOT





commit rpcbind for openSUSE:Factory

2016-02-25 Thread h_root
Hello community,

here is the log from the commit of package rpcbind for openSUSE:Factory checked 
in at 2016-02-25 21:43:07

Comparing /work/SRC/openSUSE:Factory/rpcbind (Old)
 and  /work/SRC/openSUSE:Factory/.rpcbind.new (New)


Package is "rpcbind"

Changes:

--- /work/SRC/openSUSE:Factory/rpcbind/rpcbind.changes  2015-12-03 
13:29:22.0 +0100
+++ /work/SRC/openSUSE:Factory/.rpcbind.new/rpcbind.changes 2016-02-25 
21:43:13.0 +0100
@@ -1,0 +2,26 @@
+Fri Feb 19 16:00:46 CET 2016 - ku...@suse.de
+
+- Add 0006-don-t-use-svc_fdset.patch: don't use the svc_fdset 
+  interface for libtirpc, which is limited to 1024 connections.
+
+---
+Fri Feb 12 16:18:30 CET 2016 - ku...@suse.de
+
+- Sync with current git:
+  - Replace 0002-revert-auth.patch with 
+0002-handle_reply-Don-t-use-the-xp_auth-pointer-directly.patch
+  - Add 0003-Delete-the-unix-socket-only-if-we-have-created-it.patch
+to fix problems with activation via sockets by systemd
+  - Replace 0032-CVE-2015-7236.patch with 
+0004-Fix-memory-corruption-in-PMAP_CALLIT-code.patch
+  - Add 0005-security.c-removed-warning.patch to fix compiler warnings
+- Temporary remove 099-poll.patch
+
+---
+Wed Jan 27 15:08:00 CET 2016 - ku...@suse.de
+
+- Disable 0030-systemd-fix-rmtcall.patch, needs the other disabled
+  patches. 
+- Submit for SLE12SP2 [FATE#320393]
+
+---
@@ -8,0 +35,13 @@
+Mon Sep 21 13:51:41 UTC 2015 - o...@suse.com
+
+- Add patch 0032-CVE-2015-7236.patch to fix a segfault on certain
+  remote scans [CVE-2015-7236, bsc#940191, bsc#946204]
+
+---
+Mon Jul 27 08:27:14 UTC 2015 - o...@suse.com
+
+- Document how to restrict addresses that rpcbind will listen on
+  [bsc#935102]
+  Added 0031-rpcbind-manpage.patch
+
+---
@@ -11,0 +51,6 @@
+
+---
+Wed May 27 08:38:26 UTC 2015 - o...@suse.com
+
+- Add patch 0030-systemd-fix-rmtcall.patch to fix rmtcall
+  forwarding (bnc#932423)

Old:

  0002-revert-auth.patch
  099-poll.patch

New:

  0002-handle_reply-Don-t-use-the-xp_auth-pointer-directly.patch
  0003-Delete-the-unix-socket-only-if-we-have-created-it.patch
  0004-Fix-memory-corruption-in-PMAP_CALLIT-code.patch
  0005-security.c-removed-warning.patch
  0006-don-t-use-svc_fdset.patch
  0030-systemd-fix-rmtcall.patch
  0031-rpcbind-manpage.patch



Other differences:
--
++ rpcbind.spec ++
--- /var/tmp/diff_new_pack.O8I3Ib/_old  2016-02-25 21:43:14.0 +0100
+++ /var/tmp/diff_new_pack.O8I3Ib/_new  2016-02-25 21:43:14.0 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package rpcbind
 #
-# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany.
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -36,13 +36,18 @@
 PreReq: %fillup_prereq
 Requires(pre):  /usr/sbin/useradd
 Patch1: 0001-systemd-unit-files.patch
-Patch2: 0002-revert-auth.patch
+Patch2: 0002-handle_reply-Don-t-use-the-xp_auth-pointer-directly.patch
+Patch3: 0003-Delete-the-unix-socket-only-if-we-have-created-it.patch
+Patch4: 0004-Fix-memory-corruption-in-PMAP_CALLIT-code.patch
+Patch5: 0005-security.c-removed-warning.patch
+Patch6: 0006-don-t-use-svc_fdset.patch
 Patch8: 0008-First-part-of-init_transport-refactoring.patch
 Patch9: 0009-init_transport-move-the-registration-code-into-a-sep.patch
 Patch10:0010-Fix-the-behavior-when-specifying-the-h-option.patch
 Patch11:0011-Clean-up-the-way-we-handle-the-h-option-in-init_tran.patch
 Patch14:0014-When-using-systemd-redirect-syslog-calls-to-the-syst.patch
-Patch99:099-poll.patch
+Patch30:0030-systemd-fix-rmtcall.patch
+Patch31:0031-rpcbind-manpage.patch
 
 %define statefile /var/lib/portmap.state
 %{?systemd_requires}
@@ -59,13 +64,18 @@
 %setup -q
 cp %{SOURCE4} .
 %patch1 -p1
-%patch2 -p1 -R
+%patch2 -p1
+%patch3 -p1
+%patch4 -p1
+%patch5 -p1
+%patch6 -p1
 #%patch8 -p1
 #%patch9 -p1
 #%patch10 -p1
 #%patch11 -p1
 #%patch14 -p1
-%patch99 -p1
+#%patch30 -p1
+%patch31 -p1
 
 %build
 autoreconf -fiv

++ 0002-handle_reply-Don-t-use-the-xp_auth-pointer-directly.patch ++
>From 9194122389f2a56b1cd1f935e64307e2e963c2da Mon Sep 17 00:00:00 2001
From: Steve Dickson 
Date: Mon, 2 

commit rpcbind for openSUSE:Factory

2015-12-03 Thread h_root
Hello community,

here is the log from the commit of package rpcbind for openSUSE:Factory checked 
in at 2015-12-03 13:29:14

Comparing /work/SRC/openSUSE:Factory/rpcbind (Old)
 and  /work/SRC/openSUSE:Factory/.rpcbind.new (New)


Package is "rpcbind"

Changes:

--- /work/SRC/openSUSE:Factory/rpcbind/rpcbind.changes  2015-05-07 
09:20:19.0 +0200
+++ /work/SRC/openSUSE:Factory/.rpcbind.new/rpcbind.changes 2015-12-03 
13:29:22.0 +0100
@@ -1,0 +2,12 @@
+Tue Nov 17 14:20:28 CET 2015 - ku...@suse.de
+
+- Add 0002-revert-auth.patch: revert old patch no longer working
+  with libtirpc 1.0.1 
+  (http://sourceforge.net/p/libtirpc/mailman/message/34585439/)
+
+---
+Tue Jul 14 16:52:03 CEST 2015 - ku...@suse.de
+
+- Add 099-poll.patch: use libtirpc with poll() implementation
+
+---

New:

  0002-revert-auth.patch
  099-poll.patch



Other differences:
--
++ rpcbind.spec ++
--- /var/tmp/diff_new_pack.2Kr09t/_old  2015-12-03 13:29:23.0 +0100
+++ /var/tmp/diff_new_pack.2Kr09t/_new  2015-12-03 13:29:23.0 +0100
@@ -28,7 +28,7 @@
 Source3:rpcbind.xml
 Source4:pmap_set.c
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build
-BuildRequires:  libtirpc-devel
+BuildRequires:  libtirpc-devel >= 1.0.1
 BuildRequires:  libtool
 BuildRequires:  pkgconfig
 BuildRequires:  tcpd-devel
@@ -36,11 +36,13 @@
 PreReq: %fillup_prereq
 Requires(pre):  /usr/sbin/useradd
 Patch1: 0001-systemd-unit-files.patch
+Patch2: 0002-revert-auth.patch
 Patch8: 0008-First-part-of-init_transport-refactoring.patch
 Patch9: 0009-init_transport-move-the-registration-code-into-a-sep.patch
 Patch10:0010-Fix-the-behavior-when-specifying-the-h-option.patch
 Patch11:0011-Clean-up-the-way-we-handle-the-h-option-in-init_tran.patch
 Patch14:0014-When-using-systemd-redirect-syslog-calls-to-the-syst.patch
+Patch99:099-poll.patch
 
 %define statefile /var/lib/portmap.state
 %{?systemd_requires}
@@ -57,11 +59,13 @@
 %setup -q
 cp %{SOURCE4} .
 %patch1 -p1
+%patch2 -p1 -R
 #%patch8 -p1
 #%patch9 -p1
 #%patch10 -p1
 #%patch11 -p1
 #%patch14 -p1
+%patch99 -p1
 
 %build
 autoreconf -fiv

++ 0002-revert-auth.patch ++
commit 86036582c001e99075f4d74cb3829df39f2a9ddf
Author: Frank Hirtz 
Date:   Tue Oct 23 11:38:20 2012 -0400

rpcbind is "swallowing" broadcast RPC replies

If xp_auth is NULL, the transport routines will not send
the reply. This patch fixes that problem.

Signed-off-by: Steve Dickson 

diff --git a/src/rpcb_svc_com.c b/src/rpcb_svc_com.c
index 5bb9a44..f6bd6bd 100644
--- a/src/rpcb_svc_com.c
+++ b/src/rpcb_svc_com.c
@@ -1227,6 +1227,8 @@ send_svcsyserr(SVCXPRT *xprt, struct finfo *fi)
return;
 }
 
+extern SVCAUTH svc_auth_none;
+
 static void
 handle_reply(int fd, SVCXPRT *xprt)
 {
@@ -1293,7 +1295,10 @@ handle_reply(int fd, SVCXPRT *xprt)
a.rmt_localvers = fi->versnum;
 
xprt_set_caller(xprt, fi);
+   xprt->xp_auth = _auth_none;
svc_sendreply(xprt, (xdrproc_t) xdr_rmtcall_result, (char *) );
+   SVCAUTH_DESTROY(xprt->xp_auth);
+   xprt->xp_auth = NULL;
 done:
if (buffer)
free(buffer);
++ 099-poll.patch ++
diff --git a/src/rpcb_svc_com.c b/src/rpcb_svc_com.c
index ff9ce6b..d675eda 100644
--- a/src/rpcb_svc_com.c
+++ b/src/rpcb_svc_com.c
@@ -1097,35 +1097,28 @@ netbuffree(struct netbuf *ap)
 }
 
 
-#defineMASKVAL (POLLIN | POLLPRI | POLLRDNORM | POLLRDBAND)
-extern bool_t __svc_clean_idle(fd_set *, int, bool_t);
-
 void
 my_svc_run()
 {
-   size_t nfds;
-   struct pollfd pollfds[FD_SETSIZE];
int poll_ret, check_ret;
int n;
-#ifdef SVC_RUN_DEBUG
-   int i;
-#endif
-   register struct pollfd  *p;
-   fd_set cleanfds;
 
for (;;) {
-   p = pollfds;
-   for (n = 0; n <= svc_maxfd; n++) {
-   if (FD_ISSET(n, _fdset)) {
-   p->fd = n;
-   p->events = MASKVAL;
-   p++;
-   }
-   }
-   nfds = p - pollfds;
-   poll_ret = 0;
+   struct pollfd my_pollfd[svc_max_pollfd];
+   int i;
+
+   if (svc_max_pollfd == 0 && svc_pollfd == NULL)
+ return;
 
-   switch (poll_ret = poll(pollfds, nfds, 30 * 1000)) {
+
+   for (i = 0; i < svc_max_pollfd; ++i)
+ {
+   my_pollfd[i].fd = svc_pollfd[i].fd;
+ 

commit rpcbind for openSUSE:Factory

2015-05-07 Thread h_root
Hello community,

here is the log from the commit of package rpcbind for openSUSE:Factory checked 
in at 2015-05-07 09:20:18

Comparing /work/SRC/openSUSE:Factory/rpcbind (Old)
 and  /work/SRC/openSUSE:Factory/.rpcbind.new (New)


Package is rpcbind

Changes:

--- /work/SRC/openSUSE:Factory/rpcbind/rpcbind.changes  2014-12-16 
14:47:06.0 +0100
+++ /work/SRC/openSUSE:Factory/.rpcbind.new/rpcbind.changes 2015-05-07 
09:20:19.0 +0200
@@ -1,0 +2,24 @@
+Thu Apr 30 09:36:21 CEST 2015 - ku...@suse.de
+
+- Update to rpcbind 0.2.3
+- Following patches were accepted upstream:
+  - 0005-Remove-obsolete-function-in6_fillscopeid.patch
+  - 0006-In-init_transport-move-creation-of-COTS-sockets-clos.patch
+  - 0007-The-use-of-AI_NUMERICHOST-in-init_transport-is-broke.patch
+  - 0019-rpcinfo-ip_ping-clean-up-client-ping-create-destroy.patch
+  - 0020-rpcinfo-introduce-new-helper-function-ip_getclient.patch
+  - 0021-rpcinfo-make-t-u-options-support-IPv6-addresses-too.patch
+  - 0022-rpcinfo-remove-obsolete-function-clnt_com_create.patch
+  - 0023-Make-rpcinfo-p-support-IPv6-addresses-too.patch
+  - 0024-rpcinfo-remove-obsolete-function-get_inet_address.patch
+
+---
+Thu Dec 18 13:56:59 CET 2014 - ku...@suse.de
+
+- Update to current git, which contains the following patches:
+  - 0002-rpcinfo_warmstart-no_warning_about_missing_file.patch
+  - 0003-systemd-no-dualmode.patch
+  - 0004-systemd-sd_notify.patch
+  - 0018-configure-check-for-nss.h.patch
+
+---

Old:

  0002-rpcinfo_warmstart-no_warning_about_missing_file.patch
  0003-systemd-no-dualmode.patch
  0004-systemd-sd_notify.patch
  0005-Remove-obsolete-function-in6_fillscopeid.patch
  0006-In-init_transport-move-creation-of-COTS-sockets-clos.patch
  0007-The-use-of-AI_NUMERICHOST-in-init_transport-is-broke.patch
  0018-configure-check-for-nss.h.patch
  0019-rpcinfo-ip_ping-clean-up-client-ping-create-destroy.patch
  0020-rpcinfo-introduce-new-helper-function-ip_getclient.patch
  0021-rpcinfo-make-t-u-options-support-IPv6-addresses-too.patch
  0022-rpcinfo-remove-obsolete-function-clnt_com_create.patch
  0023-Make-rpcinfo-p-support-IPv6-addresses-too.patch
  0024-rpcinfo-remove-obsolete-function-get_inet_address.patch
  rpcbind-0.2.2.tar.bz2

New:

  rpcbind-0.2.3.tar.bz2



Other differences:
--
++ rpcbind.spec ++
--- /var/tmp/diff_new_pack.4sqQMB/_old  2015-05-07 09:20:20.0 +0200
+++ /var/tmp/diff_new_pack.4sqQMB/_new  2015-05-07 09:20:20.0 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package rpcbind
 #
-# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany.
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -17,7 +17,7 @@
 
 
 Name:   rpcbind
-Version:0.2.2
+Version:0.2.3
 Release:0
 Summary:Transport independent RPC portmapper
 License:BSD-4-Clause
@@ -36,24 +36,11 @@
 PreReq: %fillup_prereq
 Requires(pre):  /usr/sbin/useradd
 Patch1: 0001-systemd-unit-files.patch
-Patch2: 0002-rpcinfo_warmstart-no_warning_about_missing_file.patch
-Patch3: 0003-systemd-no-dualmode.patch
-Patch4: 0004-systemd-sd_notify.patch
-Patch5: 0005-Remove-obsolete-function-in6_fillscopeid.patch
-Patch6: 0006-In-init_transport-move-creation-of-COTS-sockets-clos.patch
-Patch7: 0007-The-use-of-AI_NUMERICHOST-in-init_transport-is-broke.patch
 Patch8: 0008-First-part-of-init_transport-refactoring.patch
 Patch9: 0009-init_transport-move-the-registration-code-into-a-sep.patch
 Patch10:0010-Fix-the-behavior-when-specifying-the-h-option.patch
 Patch11:0011-Clean-up-the-way-we-handle-the-h-option-in-init_tran.patch
 Patch14:0014-When-using-systemd-redirect-syslog-calls-to-the-syst.patch
-Patch18:0018-configure-check-for-nss.h.patch
-Patch19:0019-rpcinfo-ip_ping-clean-up-client-ping-create-destroy.patch
-Patch20:0020-rpcinfo-introduce-new-helper-function-ip_getclient.patch
-Patch21:0021-rpcinfo-make-t-u-options-support-IPv6-addresses-too.patch
-Patch22:0022-rpcinfo-remove-obsolete-function-clnt_com_create.patch
-Patch23:0023-Make-rpcinfo-p-support-IPv6-addresses-too.patch
-Patch24:0024-rpcinfo-remove-obsolete-function-get_inet_address.patch
 
 %define statefile /var/lib/portmap.state
 %{?systemd_requires}
@@ -70,24 +57,11 @@
 %setup -q
 cp %{SOURCE4} .
 %patch1 -p1
-%patch2 -p1
-%patch3 -p1
-%patch4 -p1
-%patch5 

commit rpcbind for openSUSE:Factory

2014-12-16 Thread h_root
Hello community,

here is the log from the commit of package rpcbind for openSUSE:Factory checked 
in at 2014-12-16 14:47:40

Comparing /work/SRC/openSUSE:Factory/rpcbind (Old)
 and  /work/SRC/openSUSE:Factory/.rpcbind.new (New)


Package is rpcbind

Changes:

--- /work/SRC/openSUSE:Factory/rpcbind/rpcbind.changes  2014-11-24 
11:14:26.0 +0100
+++ /work/SRC/openSUSE:Factory/.rpcbind.new/rpcbind.changes 2014-12-16 
14:47:06.0 +0100
@@ -1,0 +2,50 @@
+Fri Dec 12 17:01:44 UTC 2014 - je...@suse.com
+
+- 0002-rpcinfo_warmstart-no_warning_about_missing_file.patch: fix
+  merge issue causing segfaults on missing file (bnc#909619).
+
+---
+Thu Dec 11 13:07:09 CET 2014 - ku...@suse.de
+
+- Split off 0003-systemd-no-dualmode.patch from 
+  0001-systemd-enhancements.patch for easier upstream submission.
+- Split off 0004-systemd-sd_notify.patch from 
+  0001-systemd-enhancements.patch for easier upstream submission.
+- Rename 0001-systemd-enhancements.patch to 0001-systemd-unit-files.patch
+
+---
+Tue Dec  9 15:52:01 CET 2014 - ku...@suse.de
+
+- Update to latest rpcbind 0.2.2 upstream release.
+- Following patches are upstream:
+  - 0001-Fix-building-one-systems-w-out-nss.h.patch
+  - 0002-Rename-configure.in-to-configure.ac.patch
+  - 0003-rpcbind-rpcuser-not-being-set-in-Makefile.am.patch
+  - 0004-Silence-a-warning-about-setgroups-being-implicitly-d.patch
+- Adjust following patches:
+  - 0005-Remove-obsolete-function-in6_fillscopeid.patch
+  - 0006-In-init_transport-move-creation-of-COTS-sockets-clos.patch
+  - 0018-configure-check-for-nss.h.patch
+- Obsolete patches:
+  - 0015-When-using-systemd-activation-make-rpcbind-notify-sy.patch
+  - 0016-Notify-systemd-unconditionally.patch
+  - 0012-Support-systemd-activation.patch
+  - 0013-socket-activation-Fix-rpcbind.service-to-use-separat.patch
+  - 0017-Pull-the-sysconfig-file-into-rpcbind.service-and-use.patch
+  - 0025-rpcinfo-warmstat_no-warning-about-missing-file.patch
+  - 0026-systemd-no-default-dep
+  - 0027-socket-before-service.patch
+  - 0028-rpcbind-after-var-run.patch
+  - 0029-rpcbind-sd-notify-stupid-errmsg.patch
+- New patches:
+  - 0001-systemd-enhancements.patch
+  - 0002-rpcinfo_warmstart-no_warning_about_missing_file.patch
+- Disabled patches:
+  - 0008-First-part-of-init_transport-refactoring.patch
+  - 0009-init_transport-move-the-registration-code-into-a-sep.patch
+  - 0010-Fix-the-behavior-when-specifying-the-h-option.patch
+  - 0011-Clean-up-the-way-we-handle-the-h-option-in-init_tran.patch
+  - 0014-When-using-systemd-redirect-syslog-calls-to-the-syst.patch
+  - 0024-rpcinfo-remove-obsolete-function-get_inet_address.patch
+
+---

Old:

  0001-Fix-building-one-systems-w-out-nss.h.patch
  0002-Rename-configure.in-to-configure.ac.patch
  0003-rpcbind-rpcuser-not-being-set-in-Makefile.am.patch
  0004-Silence-a-warning-about-setgroups-being-implicitly-d.patch
  0012-Support-systemd-activation.patch
  0013-socket-activation-Fix-rpcbind.service-to-use-separat.patch
  0015-When-using-systemd-activation-make-rpcbind-notify-sy.patch
  0016-Notify-systemd-unconditionally.patch
  0017-Pull-the-sysconfig-file-into-rpcbind.service-and-use.patch
  0025-rpcinfo-warmstat_no-warning-about-missing-file.patch
  0026-systemd-no-default-dep
  0027-socket-before-service.patch
  0028-rpcbind-after-var-run.patch
  0029-rpcbind-sd-notify-stupid-errmsg.patch
  rpcbind-0.2.1_rc4.tar.bz2

New:

  0001-systemd-unit-files.patch
  0002-rpcinfo_warmstart-no_warning_about_missing_file.patch
  0003-systemd-no-dualmode.patch
  0004-systemd-sd_notify.patch
  rpcbind-0.2.2.tar.bz2



Other differences:
--
++ rpcbind.spec ++
--- /var/tmp/diff_new_pack.DscvdY/_old  2014-12-16 14:47:08.0 +0100
+++ /var/tmp/diff_new_pack.DscvdY/_new  2014-12-16 14:47:08.0 +0100
@@ -17,7 +17,7 @@
 
 
 Name:   rpcbind
-Version:0.2.1_rc4
+Version:0.2.2
 Release:0
 Summary:Transport independent RPC portmapper
 License:BSD-4-Clause
@@ -35,37 +35,25 @@
 BuildRequires:  pkgconfig(libsystemd-daemon)
 PreReq: %fillup_prereq
 Requires(pre):  /usr/sbin/useradd
-
-# The next three are from upstream, applied directly on top of rc4.
-Patch0: 0001-Fix-building-one-systems-w-out-nss.h.patch
-Patch1: 0002-Rename-configure.in-to-configure.ac.patch
-Patch2: 0003-rpcbind-rpcuser-not-being-set-in-Makefile.am.patch
-Patch3: 0004-Silence-a-warning-about-setgroups-being-implicitly-d.patch
-Patch4: 0005-Remove-obsolete-function-in6_fillscopeid.patch

commit rpcbind for openSUSE:Factory

2014-11-24 Thread h_root
Hello community,

here is the log from the commit of package rpcbind for openSUSE:Factory checked 
in at 2014-11-24 11:14:26

Comparing /work/SRC/openSUSE:Factory/rpcbind (Old)
 and  /work/SRC/openSUSE:Factory/.rpcbind.new (New)


Package is rpcbind

Changes:

--- /work/SRC/openSUSE:Factory/rpcbind/rpcbind.changes  2014-06-17 
11:22:58.0 +0200
+++ /work/SRC/openSUSE:Factory/.rpcbind.new/rpcbind.changes 2014-11-24 
11:14:26.0 +0100
@@ -1,0 +2,6 @@
+Wed Nov 12 15:05:00 CET 2014 - ku...@suse.de
+
+- Disable debug code, which else would fill up the log files
+  [bnc#905042]
+
+---



Other differences:
--
++ rpcbind.spec ++
--- /var/tmp/diff_new_pack.48eA8Y/_old  2014-11-24 11:14:28.0 +0100
+++ /var/tmp/diff_new_pack.48eA8Y/_new  2014-11-24 11:14:28.0 +0100
@@ -119,7 +119,7 @@
--bindir=/sbin \
--enable-libwrap \
--enable-warmstarts \
-   --enable-debug \
+   --disable-debug \
--with-statedir=%{_localstatedir}/lib/rpcbind \
--with-rpcuser=rpc
 


-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org



commit rpcbind for openSUSE:Factory

2014-06-17 Thread h_root
Hello community,

here is the log from the commit of package rpcbind for openSUSE:Factory checked 
in at 2014-06-17 11:22:53

Comparing /work/SRC/openSUSE:Factory/rpcbind (Old)
 and  /work/SRC/openSUSE:Factory/.rpcbind.new (New)


Package is rpcbind

Changes:

--- /work/SRC/openSUSE:Factory/rpcbind/rpcbind.changes  2014-05-27 
07:09:05.0 +0200
+++ /work/SRC/openSUSE:Factory/.rpcbind.new/rpcbind.changes 2014-06-17 
11:22:58.0 +0200
@@ -1,0 +2,12 @@
+Tue Jun 10 10:41:15 UTC 2014 - o...@suse.com
+
+- 0029-rpcbind-sd-notify-stupid-errmsg.patch: Remove a useless
+  error/debug message (bnc#881663)
+
+---
+Thu Jun  5 12:55:45 UTC 2014 - wer...@suse.de
+
+- Add patch 0028-rpcbind-after-var-run.patch as rpcbind service
+  wants /var/run mounted before started (bnc#881518)
+
+---

New:

  0028-rpcbind-after-var-run.patch
  0029-rpcbind-sd-notify-stupid-errmsg.patch



Other differences:
--
++ rpcbind.spec ++
--- /var/tmp/diff_new_pack.XsOIYU/_old  2014-06-17 11:22:59.0 +0200
+++ /var/tmp/diff_new_pack.XsOIYU/_new  2014-06-17 11:22:59.0 +0200
@@ -32,6 +32,7 @@
 BuildRequires:  libtool
 BuildRequires:  pkgconfig
 BuildRequires:  tcpd-devel
+BuildRequires:  pkgconfig(libsystemd-daemon)
 PreReq: %fillup_prereq
 Requires(pre):  /usr/sbin/useradd
 
@@ -63,9 +64,10 @@
 Patch24:0025-rpcinfo-warmstat_no-warning-about-missing-file.patch
 Patch25:0026-systemd-no-default-dep
 Patch26:0027-socket-before-service.patch
+Patch27:0028-rpcbind-after-var-run.patch
+Patch28:0029-rpcbind-sd-notify-stupid-errmsg.patch
 
 %define statefile /var/lib/portmap.state
-BuildRequires:  pkgconfig(libsystemd-daemon)
 %{?systemd_requires}
 Provides:   portmap
 
@@ -106,6 +108,8 @@
 %patch24 -p0
 %patch25 -p1
 %patch26 -p1
+%patch27 -p1
+%patch28 -p1
 
 %build
 autoreconf -fiv

++ 0028-rpcbind-after-var-run.patch ++
rpcbind service wants /var/run mounted before started

References: bnc#881518
Signed-off-by: Werner Fink wer...@suse.de

---
 systemd/rpcbind.service.in |2 ++
 1 file changed, 2 insertions(+)

--- rpcbind-0.2.1_rc4/systemd/rpcbind.service.in
+++ rpcbind-0.2.1_rc4/systemd/rpcbind.service.in2014-06-05 
12:45:47.267340658 +
@@ -3,6 +3,8 @@ Description=RPC Bind
 Documentation=man:rpcbind(8)
 DefaultDependencies=no
 Requires=rpcbind.socket
+Wants=var-run.mount
+After=var-run.mount
 
 [Service]
 Type=notify
++ 0029-rpcbind-sd-notify-stupid-errmsg.patch ++
A stupid error/debug thingie crept into the patch set which shouldn't be there.
Nuking it. See bnc#881663

Signed-off-by: o...@suse.de

---
 src/rpcbind.c |2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Index: rpcbind-0.2.1_rc4/src/rpcbind.c
===
--- rpcbind-0.2.1_rc4.orig/src/rpcbind.c
+++ rpcbind-0.2.1_rc4/src/rpcbind.c
@@ -266,7 +266,7 @@ main(int argc, char *argv[])
 * used systemd socket activation or not. When started from the command
 * line, this should not hurt either.
 */
-   rpcbind_log_error(sd_notify returns %d\n, sd_notify(0, READY=1));
+   sd_notify(0, READY=1);
 #endif
my_svc_run();
rpcbind_log_error(svc_run returned unexpectedly);

-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org



commit rpcbind for openSUSE:Factory

2014-05-26 Thread h_root
Hello community,

here is the log from the commit of package rpcbind for openSUSE:Factory checked 
in at 2014-05-27 07:09:01

Comparing /work/SRC/openSUSE:Factory/rpcbind (Old)
 and  /work/SRC/openSUSE:Factory/.rpcbind.new (New)


Package is rpcbind

Changes:

--- /work/SRC/openSUSE:Factory/rpcbind/rpcbind.changes  2014-04-06 
07:10:17.0 +0200
+++ /work/SRC/openSUSE:Factory/.rpcbind.new/rpcbind.changes 2014-05-27 
07:09:05.0 +0200
@@ -1,0 +2,6 @@
+Wed May 21 13:56:14 UTC 2014 - wer...@suse.de
+
+- Require the systemd libraries for build to allow the move
+  of systemd.pc back to systemd
+
+---



Other differences:
--
++ rpcbind.spec ++
--- /var/tmp/diff_new_pack.gImevO/_old  2014-05-27 07:09:06.0 +0200
+++ /var/tmp/diff_new_pack.gImevO/_new  2014-05-27 07:09:06.0 +0200
@@ -65,7 +65,7 @@
 Patch26:0027-socket-before-service.patch
 
 %define statefile /var/lib/portmap.state
-BuildRequires:  pkgconfig(systemd)
+BuildRequires:  pkgconfig(libsystemd-daemon)
 %{?systemd_requires}
 Provides:   portmap
 


-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org



commit rpcbind for openSUSE:Factory

2014-04-05 Thread h_root
Hello community,

here is the log from the commit of package rpcbind for openSUSE:Factory checked 
in at 2014-04-06 07:10:14

Comparing /work/SRC/openSUSE:Factory/rpcbind (Old)
 and  /work/SRC/openSUSE:Factory/.rpcbind.new (New)


Package is rpcbind

Changes:

--- /work/SRC/openSUSE:Factory/rpcbind/rpcbind.changes  2014-03-31 
20:43:25.0 +0200
+++ /work/SRC/openSUSE:Factory/.rpcbind.new/rpcbind.changes 2014-04-06 
07:10:17.0 +0200
@@ -1,0 +2,9 @@
+Mon Mar 31 10:38:40 UTC 2014 - wer...@suse.de
+
+- Add 0027-socket-before-service.patch to make sure that always
+  the socket is up before the service.  This will make sure that
+  rpcbind.target will not only cause the socket but also the
+  rpcbind.service (bnc#860246)
+- Beside this ingnore exit state 2 in case of shutdown (bnc#860246)
+
+---

New:

  0027-socket-before-service.patch



Other differences:
--
++ rpcbind.spec ++
--- /var/tmp/diff_new_pack.t1XSTU/_old  2014-04-06 07:10:18.0 +0200
+++ /var/tmp/diff_new_pack.t1XSTU/_new  2014-04-06 07:10:18.0 +0200
@@ -62,6 +62,7 @@
 Patch23:0024-rpcinfo-remove-obsolete-function-get_inet_address.patch
 Patch24:0025-rpcinfo-warmstat_no-warning-about-missing-file.patch
 Patch25:0026-systemd-no-default-dep
+Patch26:0027-socket-before-service.patch
 
 %define statefile /var/lib/portmap.state
 BuildRequires:  pkgconfig(systemd)
@@ -104,6 +105,7 @@
 %patch23 -p1
 %patch24 -p0
 %patch25 -p1
+%patch26 -p1
 
 %build
 autoreconf -fiv

++ 0027-socket-before-service.patch ++
Ignore exit state of two and also be sure that rpcbind.service will
trigger rpcbind.socket before its own start which the fulfill rpcbind.target

References: bnc#870158, bnc#860246
Signed-off-by: Werner Fink wer...@suse.de

---
 systemd/rpcbind.service.in |3 +++
 systemd/rpcbind.socket |1 +
 2 files changed, 4 insertions(+)

--- rpcbind-0.2.1_rc4/systemd/rpcbind.service.in
+++ rpcbind-0.2.1_rc4/systemd/rpcbind.service.in2014-03-31 
10:29:29.262735423 +
@@ -1,11 +1,14 @@
 [Unit]
 Description=RPC Bind
+Documentation=man:rpcbind(8)
 DefaultDependencies=no
+Requires=rpcbind.socket
 
 [Service]
 Type=notify
 EnvironmentFile=-/etc/sysconfig/rpcbind
 ExecStart=@bindir@/rpcbind $RPCBIND_OPTIONS -w -f
+SuccessExitStatus=2
 
 [Install]
 WantedBy=multi-user.target
--- rpcbind-0.2.1_rc4/systemd/rpcbind.socket
+++ rpcbind-0.2.1_rc4/systemd/rpcbind.socket2014-03-31 10:30:12.799480612 
+
@@ -1,5 +1,6 @@
 [Unit]
 Description=RPCbind Server Activation Socket
+Documentation=man:rpcbind(8)
 DefaultDependencies=no
 Wants=rpcbind.target
 Before=rpcbind.target

-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org



commit rpcbind for openSUSE:Factory

2014-03-31 Thread h_root
Hello community,

here is the log from the commit of package rpcbind for openSUSE:Factory checked 
in at 2014-03-31 20:43:14

Comparing /work/SRC/openSUSE:Factory/rpcbind (Old)
 and  /work/SRC/openSUSE:Factory/.rpcbind.new (New)


Package is rpcbind

Changes:

--- /work/SRC/openSUSE:Factory/rpcbind/rpcbind.changes  2014-03-11 
09:23:54.0 +0100
+++ /work/SRC/openSUSE:Factory/.rpcbind.new/rpcbind.changes 2014-03-31 
20:43:25.0 +0200
@@ -1,0 +2,8 @@
+Wed Mar 26 21:52:19 UTC 2014 - nfbr...@suse.com
+
+- 0026-systemd-no-default-dep
+  No default dependencies for rpcbind.  This allows it to start
+  early when it might be needed.
+  (bnc#860246)
+
+---

New:

  0026-systemd-no-default-dep



Other differences:
--
++ rpcbind.spec ++
--- /var/tmp/diff_new_pack.nnGqVF/_old  2014-03-31 20:43:26.0 +0200
+++ /var/tmp/diff_new_pack.nnGqVF/_new  2014-03-31 20:43:26.0 +0200
@@ -61,6 +61,7 @@
 Patch22:0023-Make-rpcinfo-p-support-IPv6-addresses-too.patch
 Patch23:0024-rpcinfo-remove-obsolete-function-get_inet_address.patch
 Patch24:0025-rpcinfo-warmstat_no-warning-about-missing-file.patch
+Patch25:0026-systemd-no-default-dep
 
 %define statefile /var/lib/portmap.state
 BuildRequires:  pkgconfig(systemd)
@@ -102,6 +103,7 @@
 %patch22 -p1
 %patch23 -p1
 %patch24 -p0
+%patch25 -p1
 
 %build
 autoreconf -fiv

++ 0026-systemd-no-default-dep ++
rpcbind needs to start before everything is setup, so DefaultDependencies
just get in the way


References: bnc#860246
Signed-off-by: NeilBrown  ne...@suse.de

---
 systemd/rpcbind.service.in |1 +
 systemd/rpcbind.socket |1 +
 2 files changed, 2 insertions(+)

--- rpcbind-0.2.1_rc4.orig/systemd/rpcbind.service.in
+++ rpcbind-0.2.1_rc4/systemd/rpcbind.service.in
@@ -1,5 +1,6 @@
 [Unit]
 Description=RPC Bind
+DefaultDependencies=no
 
 [Service]
 Type=notify
--- rpcbind-0.2.1_rc4.orig/systemd/rpcbind.socket
+++ rpcbind-0.2.1_rc4/systemd/rpcbind.socket
@@ -1,5 +1,6 @@
 [Unit]
 Description=RPCbind Server Activation Socket
+DefaultDependencies=no
 Wants=rpcbind.target
 Before=rpcbind.target
 

-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org



commit rpcbind for openSUSE:Factory

2014-03-11 Thread h_root
Hello community,

here is the log from the commit of package rpcbind for openSUSE:Factory checked 
in at 2014-03-11 09:23:53

Comparing /work/SRC/openSUSE:Factory/rpcbind (Old)
 and  /work/SRC/openSUSE:Factory/.rpcbind.new (New)


Package is rpcbind

Changes:

--- /work/SRC/openSUSE:Factory/rpcbind/rpcbind.changes  2014-02-15 
17:17:57.0 +0100
+++ /work/SRC/openSUSE:Factory/.rpcbind.new/rpcbind.changes 2014-03-11 
09:23:54.0 +0100
@@ -1,0 +2,23 @@
+Tue Mar  4 17:55:01 UTC 2014 - co...@suse.com
+
+- fix typo in useradd call's user home dir
+
+---
+Tue Mar  4 06:39:39 UTC 2014 - co...@suse.com
+
+- prereq useradd - called from %pre
+
+---
+Wed Feb 26 16:10:49 CET 2014 - ku...@suse.de
+
+- Fix ownership of /var/lib/rpcbind, else rpcbind cannot write
+  warmstart files
+
+---
+Wed Feb 26 15:27:45 CET 2014 - ku...@suse.de
+
+- Don't print error message about missing files in warmstart code
+  if we do a coldstart [bnc#865807]
+  (0025-rpcinfo-warmstat_no-warning-about-missing-file.patch)
+
+---

New:

  0025-rpcinfo-warmstat_no-warning-about-missing-file.patch



Other differences:
--
++ rpcbind.spec ++
--- /var/tmp/diff_new_pack.O1E4tx/_old  2014-03-11 09:23:55.0 +0100
+++ /var/tmp/diff_new_pack.O1E4tx/_new  2014-03-11 09:23:55.0 +0100
@@ -33,6 +33,7 @@
 BuildRequires:  pkgconfig
 BuildRequires:  tcpd-devel
 PreReq: %fillup_prereq
+Requires(pre):  /usr/sbin/useradd
 
 # The next three are from upstream, applied directly on top of rc4.
 Patch0: 0001-Fix-building-one-systems-w-out-nss.h.patch
@@ -59,6 +60,7 @@
 Patch21:0022-rpcinfo-remove-obsolete-function-clnt_com_create.patch
 Patch22:0023-Make-rpcinfo-p-support-IPv6-addresses-too.patch
 Patch23:0024-rpcinfo-remove-obsolete-function-get_inet_address.patch
+Patch24:0025-rpcinfo-warmstat_no-warning-about-missing-file.patch
 
 %define statefile /var/lib/portmap.state
 BuildRequires:  pkgconfig(systemd)
@@ -72,13 +74,6 @@
 UDP over IPv6. Moreover, rpcbind provides additional functions in
 regards to portmap.
 
-
-
-Authors:
-
-Gilles Quillard gilles.quill...@bull.net
-Vincent ROQUETA vincent.roqu...@ext.bull.net
-
 %prep
 %setup -q
 cp %{SOURCE4} .
@@ -106,6 +101,7 @@
 %patch21 -p1
 %patch22 -p1
 %patch23 -p1
+%patch24 -p0
 
 %build
 autoreconf -fiv
@@ -143,7 +139,7 @@
 %service_add_pre %{name}.service %{name}.socket
 
 # Add rpc user
-getent passwd rpc /dev/null || useradd -r -g nogroup -d /var/lib/emptry -s 
/sbin/nologin -c user for rpcbind rpc
+getent passwd rpc /dev/null || /usr/sbin/useradd -r -g nogroup -d 
/var/lib/empty -s /sbin/nologin -c user for rpcbind rpc
 exit 0
 
 %preun
@@ -164,7 +160,7 @@
 /sbin/rpcinfo
 %{_sbindir}/rcrpcbind
 %{_mandir}/*/*
-%{_localstatedir}/lib/rpcbind
+%attr(-,rpc,root) %{_localstatedir}/lib/rpcbind
 /var/adm/fillup-templates/sysconfig.rpcbind
 %{_datadir}/omc/svcinfo.d/rpcbind.xml
 %{_unitdir}/%{name}.service

++ 0025-rpcinfo-warmstat_no-warning-about-missing-file.patch ++
--- src/warmstart.c
+++ src/warmstart.c 2014/02/26 14:18:39
@@ -106,9 +106,10 @@
fprintf(stderr, rpcbind: using '%s' startup file\n, filename);
 
if ((fp = fopen(filename, r)) == NULL) {
-   rpcbind_log_error(
-   Cannot open '%s' file for reading, errno %d (%s), 
-   filename, errno, strerror(errno));
+if (errno != ENOENT)
+   rpcbind_log_error(
+  Cannot open '%s' file for reading, errno %d (%s), 
+  filename, errno, strerror(errno));
goto error;
}
 

-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org



commit rpcbind for openSUSE:Factory

2014-02-15 Thread h_root
Hello community,

here is the log from the commit of package rpcbind for openSUSE:Factory checked 
in at 2014-02-15 17:17:55

Comparing /work/SRC/openSUSE:Factory/rpcbind (Old)
 and  /work/SRC/openSUSE:Factory/.rpcbind.new (New)


Package is rpcbind

Changes:

--- /work/SRC/openSUSE:Factory/rpcbind/rpcbind.changes  2014-01-31 
13:35:57.0 +0100
+++ /work/SRC/openSUSE:Factory/.rpcbind.new/rpcbind.changes 2014-02-15 
17:17:57.0 +0100
@@ -1,0 +2,5 @@
+Fri Feb 14 15:10:19 CET 2014 - ku...@suse.de
+
+- Re-add rcrpcbind symlink
+
+---



Other differences:
--
++ rpcbind.spec ++
--- /var/tmp/diff_new_pack.tyN6LR/_old  2014-02-15 17:17:57.0 +0100
+++ /var/tmp/diff_new_pack.tyN6LR/_new  2014-02-15 17:17:57.0 +0100
@@ -132,6 +132,9 @@
 install -m 644 %{SOURCE3} $RPM_BUILD_ROOT%_datadir/omc/svcinfo.d/
 #
 install -m 755 pmap_set $RPM_BUILD_ROOT/sbin/pmap_set2
+# create symlink for rcrpcbind
+mkdir -p $RPM_BUILD_ROOT%{_sbindir}
+ln -s /sbin/service $RPM_BUILD_ROOT%{_sbindir}/rcrpcbind
 
 %clean
 rm -rf $RPM_BUILD_ROOT
@@ -159,6 +162,7 @@
 /sbin/pmap_set2
 /sbin/rpcbind
 /sbin/rpcinfo
+%{_sbindir}/rcrpcbind
 %{_mandir}/*/*
 %{_localstatedir}/lib/rpcbind
 /var/adm/fillup-templates/sysconfig.rpcbind


-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org



commit rpcbind for openSUSE:Factory

2014-01-31 Thread h_root
Hello community,

here is the log from the commit of package rpcbind for openSUSE:Factory checked 
in at 2014-01-31 13:35:56

Comparing /work/SRC/openSUSE:Factory/rpcbind (Old)
 and  /work/SRC/openSUSE:Factory/.rpcbind.new (New)


Package is rpcbind

Changes:

--- /work/SRC/openSUSE:Factory/rpcbind/rpcbind.changes  2014-01-23 
15:55:43.0 +0100
+++ /work/SRC/openSUSE:Factory/.rpcbind.new/rpcbind.changes 2014-01-31 
13:35:57.0 +0100
@@ -2 +2,37 @@
-Mon Jan 20 12:26:55 UTC 2014 - o...@suse.com
+Thu Jan 23 16:58:25 UTC 2014 - o...@suse.com
+
+- Fixed rpc broadcast handling (bnc#857324)
+  Upgraded to upstream 0.2.1-rc4 as part of this, and rebased the
+  patch set.
+
+  Added:
+ 0001-Fix-building-one-systems-w-out-nss.h.patch
+ 0002-Rename-configure.in-to-configure.ac.patch
+ 0003-rpcbind-rpcuser-not-being-set-in-Makefile.am.patch
+  Deleted (already upstream):
+ 0003-configure-fix-the-case-when-with-rpcuser-is-not-give.patch
+  Renumbered (previous numbering shown below):
+ 0001-Silence-a-warning-about-setgroups-being-implicitly-d.patch
+ 0002-Remove-obsolete-function-in6_fillscopeid.patch
+ 0004-In-init_transport-move-creation-of-COTS-sockets-clos.patch
+ 0005-The-use-of-AI_NUMERICHOST-in-init_transport-is-broke.patch
+ 0006-First-part-of-init_transport-refactoring.patch
+ 0007-init_transport-move-the-registration-code-into-a-sep.patch
+ 0008-Fix-the-behavior-when-specifying-the-h-option.patch
+ 0009-Clean-up-the-way-we-handle-the-h-option-in-init_tran.patch
+ 0010-Support-systemd-activation.patch
+ 0011-socket-activation-Fix-rpcbind.service-to-use-separat.patch
+ 0012-When-using-systemd-redirect-syslog-calls-to-the-syst.patch
+ 0013-When-using-systemd-activation-make-rpcbind-notify-sy.patch
+ 0014-Notify-systemd-unconditionally.patch
+ 0015-Pull-the-sysconfig-file-into-rpcbind.service-and-use.patch
+ 0016-configure-check-for-nss.h.patch
+ 0018-rpcinfo-ip_ping-clean-up-client-ping-create-destroy.patch
+ 0019-rpcinfo-introduce-new-helper-function-ip_getclient.patch
+ 0020-rpcinfo-make-t-u-options-support-IPv6-addresses-too.patch
+ 0021-rpcinfo-remove-obsolete-function-clnt_com_create.patch
+ 0022-Make-rpcinfo-p-support-IPv6-addresses-too.patch
+ 0023-rpcinfo-remove-obsolete-function-get_inet_address.patch
+
+---
+Mon Jan 20 12:20:02 UTC 2014 - o...@suse.com

Old:

  0001-Silence-a-warning-about-setgroups-being-implicitly-d.patch
  0002-Remove-obsolete-function-in6_fillscopeid.patch
  0003-configure-fix-the-case-when-with-rpcuser-is-not-give.patch
  0004-In-init_transport-move-creation-of-COTS-sockets-clos.patch
  0005-The-use-of-AI_NUMERICHOST-in-init_transport-is-broke.patch
  0006-First-part-of-init_transport-refactoring.patch
  0007-init_transport-move-the-registration-code-into-a-sep.patch
  0008-Fix-the-behavior-when-specifying-the-h-option.patch
  0009-Clean-up-the-way-we-handle-the-h-option-in-init_tran.patch
  0010-Support-systemd-activation.patch
  0011-socket-activation-Fix-rpcbind.service-to-use-separat.patch
  0012-When-using-systemd-redirect-syslog-calls-to-the-syst.patch
  0013-When-using-systemd-activation-make-rpcbind-notify-sy.patch
  0014-Notify-systemd-unconditionally.patch
  0015-Pull-the-sysconfig-file-into-rpcbind.service-and-use.patch
  0016-configure-check-for-nss.h.patch
  0018-rpcinfo-ip_ping-clean-up-client-ping-create-destroy.patch
  0019-rpcinfo-introduce-new-helper-function-ip_getclient.patch
  0020-rpcinfo-make-t-u-options-support-IPv6-addresses-too.patch
  0021-rpcinfo-remove-obsolete-function-clnt_com_create.patch
  0022-Make-rpcinfo-p-support-IPv6-addresses-too.patch
  0023-rpcinfo-remove-obsolete-function-get_inet_address.patch
  rpcbind-0.2.1_git1b0fdf5.tar.bz2

New:

  0001-Fix-building-one-systems-w-out-nss.h.patch
  0002-Rename-configure.in-to-configure.ac.patch
  0003-rpcbind-rpcuser-not-being-set-in-Makefile.am.patch
  0004-Silence-a-warning-about-setgroups-being-implicitly-d.patch
  0005-Remove-obsolete-function-in6_fillscopeid.patch
  0006-In-init_transport-move-creation-of-COTS-sockets-clos.patch
  0007-The-use-of-AI_NUMERICHOST-in-init_transport-is-broke.patch
  0008-First-part-of-init_transport-refactoring.patch
  0009-init_transport-move-the-registration-code-into-a-sep.patch
  0010-Fix-the-behavior-when-specifying-the-h-option.patch
  0011-Clean-up-the-way-we-handle-the-h-option-in-init_tran.patch
  0012-Support-systemd-activation.patch
  0013-socket-activation-Fix-rpcbind.service-to-use-separat.patch
  0014-When-using-systemd-redirect-syslog-calls-to-the-syst.patch
  0015-When-using-systemd-activation-make-rpcbind-notify-sy.patch
  0016-Notify-systemd-unconditionally.patch
  

commit rpcbind for openSUSE:Factory

2013-07-01 Thread h_root
Hello community,

here is the log from the commit of package rpcbind for openSUSE:Factory checked 
in at 2013-07-02 07:44:25

Comparing /work/SRC/openSUSE:Factory/rpcbind (Old)
 and  /work/SRC/openSUSE:Factory/.rpcbind.new (New)


Package is rpcbind

Changes:

--- /work/SRC/openSUSE:Factory/rpcbind/rpcbind.changes  2013-05-07 
15:42:08.0 +0200
+++ /work/SRC/openSUSE:Factory/.rpcbind.new/rpcbind.changes 2013-07-02 
07:44:27.0 +0200
@@ -1,0 +2,10 @@
+Thu Jun 27 21:36:52 UTC 2013 - crrodrig...@opensuse.org
+
+- rpcbind-systemd-notify.patch make systemd service type 
+  notify this is almost the same as the default but 
+  with the difference that the daemon now is able to
+  to notify systemd when it finished startup hence
+  avoiding a race condition in where startup is faster than
+  the process finishing its own internal setup routines.
+
+---

New:

  rpcbind-systemd-notify.patch



Other differences:
--
++ rpcbind.spec ++
--- /var/tmp/diff_new_pack.XGNDze/_old  2013-07-02 07:44:27.0 +0200
+++ /var/tmp/diff_new_pack.XGNDze/_new  2013-07-02 07:44:27.0 +0200
@@ -38,6 +38,7 @@
 Patch2: socket-activation-fix-rpcbind-service-to-use-separate-sockets
 Patch3: rpcbind-journal.patch
 Patch4: move-lock-file-to-run-fs.patch
+Patch5: rpcbind-systemd-notify.patch
 %define statefile /var/lib/portmap.state
 BuildRequires:  pkgconfig(systemd)
 %{?systemd_requires}
@@ -65,6 +66,7 @@
 %patch2 -p1
 %patch3
 %patch4 -p1
+%patch5 -p1
 
 %build
 autoreconf -fiv

++ rpcbind-systemd-notify.patch ++
--- rpcbind-0.2.0_git201103171419.orig/src/rpcbind.c
+++ rpcbind-0.2.0_git201103171419/src/rpcbind.c
@@ -253,7 +253,9 @@ main(int argc, char *argv[])
 #endif
 
network_init();
-
+#ifdef SYSTEMD
+sd_notify(0, READY=1);
+#endif
my_svc_run();
rpcbind_syslog(LOG_ERR, svc_run returned unexpectedly);
rpcbind_abort();
--- rpcbind-0.2.0_git201103171419.orig/systemd/rpcbind.service.in
+++ rpcbind-0.2.0_git201103171419/systemd/rpcbind.service.in
@@ -2,6 +2,7 @@
 Description=RPC Bind
 
 [Service]
+Type=notify
 ExecStart=@bindir@/rpcbind -w -f
 
 [Install]

-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org



commit rpcbind for openSUSE:Factory

2013-05-13 Thread h_root
Hello community,

here is the log from the commit of package rpcbind for openSUSE:Factory checked 
in at 2013-05-14 07:21:13

Comparing /work/SRC/openSUSE:Factory/rpcbind (Old)
 and  /work/SRC/openSUSE:Factory/.rpcbind.new (New)


Package is rpcbind

Changes:




Other differences:
--
++ rpcbind.spec ++
--- /var/tmp/diff_new_pack.Y984k5/_old  2013-05-14 07:21:20.0 +0200
+++ /var/tmp/diff_new_pack.Y984k5/_new  2013-05-14 07:21:20.0 +0200
@@ -41,6 +41,7 @@
 %define statefile /var/lib/portmap.state
 BuildRequires:  pkgconfig(systemd)
 %{?systemd_requires}
+Provides:   portmap
 
 %description
 Rpcbind is a replacement for portmap. Whereas portmap supports only UDP


-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org



commit rpcbind for openSUSE:Factory

2012-11-30 Thread h_root
Hello community,

here is the log from the commit of package rpcbind for openSUSE:Factory checked 
in at 2012-11-30 12:26:37

Comparing /work/SRC/openSUSE:Factory/rpcbind (Old)
 and  /work/SRC/openSUSE:Factory/.rpcbind.new (New)


Package is rpcbind, Maintainer is o...@suse.com

Changes:

--- /work/SRC/openSUSE:Factory/rpcbind/rpcbind.changes  2012-11-08 
21:52:53.0 +0100
+++ /work/SRC/openSUSE:Factory/.rpcbind.new/rpcbind.changes 2012-11-30 
12:30:45.0 +0100
@@ -1,0 +2,6 @@
+Wed Nov 28 14:44:15 UTC 2012 - rmila...@suse.com
+
+- Move rpcbind.sock and rpcbind.lock to /run to not interfere with
+  systemd. 
+
+---

New:

  move-lock-file-to-run-fs.patch



Other differences:
--
++ rpcbind.spec ++
--- /var/tmp/diff_new_pack.P2POLK/_old  2012-11-30 12:30:46.0 +0100
+++ /var/tmp/diff_new_pack.P2POLK/_new  2012-11-30 12:30:46.0 +0100
@@ -43,6 +43,7 @@
 Patch1: socket-activation-don-t-unlink-socket-we-didn-t-create
 Patch2: socket-activation-fix-rpcbind-service-to-use-separate-sockets
 Patch3: rpcbind-journal.patch
+Patch4: move-lock-file-to-run-fs.patch
 %define statefile /var/lib/portmap.state
 %if 0%{?suse_version}  1140
 BuildRequires:  systemd-devel
@@ -71,6 +72,8 @@
 %patch1 -p1
 %patch2 -p1
 %patch3
+%patch4 -p1
+
 %build
 autoreconf -fiv
 export  CFLAGS=$RPM_OPT_FLAGS -fpie

++ move-lock-file-to-run-fs.patch ++
Index: rpcbind-0.2.0_git201103171419/src/rpcbind.c
===
--- rpcbind-0.2.0_git201103171419.orig/src/rpcbind.c
+++ rpcbind-0.2.0_git201103171419/src/rpcbind.c
@@ -93,7 +93,7 @@ char *rpcbinduser = NULL;
 /* who to suid to if -s is given */
 #define RUN_AS  daemon
 
-#define RPCBINDDLOCK /var/run/rpcbind.lock
+#define RPCBINDDLOCK /run/rpcbind.lock
 
 int runasdaemon = 0;
 int insecure = 0;

++ socket-activation-fix-rpcbind-service-to-use-separate-sockets ++
--- /var/tmp/diff_new_pack.P2POLK/_old  2012-11-30 12:30:46.0 +0100
+++ /var/tmp/diff_new_pack.P2POLK/_new  2012-11-30 12:30:46.0 +0100
@@ -16,8 +16,10 @@
  systemd/rpcbind.socket |9 +++--
  2 files changed, 38 insertions(+), 3 deletions(-)
 
 a/src/rpcbind.c
-+++ b/src/rpcbind.c
+Index: rpcbind-0.2.0_git201103171419/src/rpcbind.c
+===
+--- rpcbind-0.2.0_git201103171419.orig/src/rpcbind.c
 rpcbind-0.2.0_git201103171419/src/rpcbind.c
 @@ -50,6 +50,7 @@
  #include sys/file.h
  #include sys/socket.h
@@ -26,7 +28,7 @@
  #include rpc/rpc.h
  #include rpc/rpc_com.h
  #ifdef PORTMAP
-@@ -262,6 +264,32 @@ main(int argc, char *argv[])
+@@ -263,6 +264,32 @@ main(int argc, char *argv[])
  }
  
  /*
@@ -59,7 +61,7 @@
   * Adds the entry into the rpcbind database.
   * If PORTMAP, then for UDP and TCP, it adds the entries for version 2 also
   * Returns 0 if succeeds, else fails
-@@ -313,7 +341,7 @@ init_transport(struct netconfig *nconf)
+@@ -314,7 +341,7 @@ init_transport(struct netconfig *nconf)
  #ifdef SYSTEMD
n = sd_listen_fds(0);
if (n  0) {
@@ -68,7 +70,7 @@
return 1;
}
  
-@@ -347,6 +375,9 @@ init_transport(struct netconfig *nconf)
+@@ -348,6 +375,9 @@ init_transport(struct netconfig *nconf)
goto error;
}
  
@@ -78,14 +80,18 @@
/* Copy the address */
taddr.addr.maxlen = taddr.addr.len = addrlen;
taddr.addr.buf = malloc(addrlen);
 a/systemd/rpcbind.socket
-+++ b/systemd/rpcbind.socket
-@@ -5,8 +5,13 @@ Before=rpcbind.target
+Index: rpcbind-0.2.0_git201103171419/systemd/rpcbind.socket
+===
+--- rpcbind-0.2.0_git201103171419.orig/systemd/rpcbind.socket
 rpcbind-0.2.0_git201103171419/systemd/rpcbind.socket
+@@ -4,9 +4,14 @@ Wants=rpcbind.target
+ Before=rpcbind.target
  
  [Socket]
- ListenStream=/var/run/rpcbind.sock
+-ListenStream=/var/run/rpcbind.sock
 -ListenStream=111
 -ListenDatagram=111
++ListenStream=/run/rpcbind.sock
 +
 +# RPC netconfig can't handle ipv6/ipv4 dual sockets
 +BindIPv6Only=ipv6-only
@@ -96,4 +102,3 @@
  
  [Install]
  WantedBy=sockets.target
-

-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org



commit rpcbind for openSUSE:Factory

2012-11-08 Thread h_root
Hello community,

here is the log from the commit of package rpcbind for openSUSE:Factory checked 
in at 2012-11-08 21:52:51

Comparing /work/SRC/openSUSE:Factory/rpcbind (Old)
 and  /work/SRC/openSUSE:Factory/.rpcbind.new (New)


Package is rpcbind, Maintainer is o...@suse.com

Changes:

--- /work/SRC/openSUSE:Factory/rpcbind/rpcbind.changes  2012-05-03 
11:00:24.0 +0200
+++ /work/SRC/openSUSE:Factory/.rpcbind.new/rpcbind.changes 2012-11-08 
21:52:53.0 +0100
@@ -1,0 +2,11 @@
+Thu Oct 25 21:29:15 UTC 2012 - crrodrig...@opensuse.org
+
+- Instead of using syslog, log to the journal 
+
+---
+Wed Oct 24 15:56:17 UTC 2012 - crrodrig...@opensuse.org
+
+- There should be no Requires on syslog as it is no longer
+  required for anything since the introduction of the journal. 
+
+---

New:

  rpcbind-journal.patch



Other differences:
--
++ rpcbind.spec ++
--- /var/tmp/diff_new_pack.0t1ReJ/_old  2012-11-08 21:52:54.0 +0100
+++ /var/tmp/diff_new_pack.0t1ReJ/_new  2012-11-08 21:52:54.0 +0100
@@ -38,10 +38,11 @@
 # hopefully soon we will have this autogenerated from rpm
 Provides:   sysvinit(portmap)
 Provides:   sysvinit(rpcbind)
-PreReq: %insserv_prereq %fillup_prereq /sbin/checkproc 
sysvinit(network) syslog
+PreReq: %insserv_prereq %fillup_prereq /sbin/checkproc 
sysvinit(network)
 Patch0: 0001-systemd-add-support-for-system-bus-activation.patch
 Patch1: socket-activation-don-t-unlink-socket-we-didn-t-create
 Patch2: socket-activation-fix-rpcbind-service-to-use-separate-sockets
+Patch3: rpcbind-journal.patch
 %define statefile /var/lib/portmap.state
 %if 0%{?suse_version}  1140
 BuildRequires:  systemd-devel
@@ -69,7 +70,7 @@
 %patch0 -p1
 %patch1 -p1
 %patch2 -p1
-
+%patch3
 %build
 autoreconf -fiv
 export  CFLAGS=$RPM_OPT_FLAGS -fpie

++ rpcbind-journal.patch ++
--- src/check_bound.c.orig
+++ src/check_bound.c
@@ -52,7 +52,6 @@ staticchar sccsid[] = @(#)check_bound.
 #include rpc/rpc.h
 #include stdio.h
 #include netconfig.h
-#include syslog.h
 #include string.h
 #include unistd.h
 #include stdlib.h
@@ -119,7 +118,7 @@ add_bndlist(struct netconfig *nconf, str
fdl = malloc(sizeof (struct fdlist));
if (fdl == NULL) {
freenetconfigent(newnconf);
-   syslog(LOG_ERR, no memory!);
+   rpcbind_syslog(LOG_ERR, no memory!);
return (-1);
}
fdl-nconf = newnconf;
@@ -179,7 +178,7 @@ mergeaddr(SVCXPRT *xprt, char *netid, ch
} else {
c_uaddr = taddr2uaddr(fdl-nconf, svc_getrpccaller(xprt));
if (c_uaddr == NULL) {
-   syslog(LOG_ERR, taddr2uaddr failed for %s,
+   rpcbind_syslog(LOG_ERR, taddr2uaddr failed for %s,
fdl-nconf-nc_netid);
return (NULL);
}
--- src/rpcb_svc.c.orig
+++ src/rpcb_svc.c
@@ -45,7 +45,6 @@
 #include rpc/rpc.h
 #include rpc/rpcb_prot.h
 #include netconfig.h
-#include syslog.h
 #include stdlib.h
 #include stdio.h
 #include string.h
--- src/rpcb_svc_4.c.orig
+++ src/rpcb_svc_4.c
@@ -48,7 +48,6 @@
 #include stdio.h
 #include unistd.h
 #include netconfig.h
-#include syslog.h
 #include string.h
 #include stdlib.h
 #include rpcbind.h
--- src/rpcb_svc_com.c.orig
+++ src/rpcb_svc_com.c
@@ -50,7 +50,6 @@
 #include rpc/svc_dg.h
 #include netconfig.h
 #include errno.h
-#include syslog.h
 #include unistd.h
 #include stdio.h
 #include time.h
@@ -520,7 +519,7 @@ create_rmtcall_fd(struct netconfig *ncon
}
rmt = malloc(sizeof (struct rmtcallfd_list));
if (rmt == NULL) {
-   syslog(LOG_ERR, create_rmtcall_fd: no memory!);
+   rpcbind_syslog(LOG_ERR, create_rmtcall_fd: no memory!);
return (-1);
}
rmt-xprt = xprt;
@@ -1433,7 +1432,7 @@ add_pmaplist(RPCB *arg)
 */
pml = malloc(sizeof (struct pmaplist));
if (pml == NULL) {
-   (void) syslog(LOG_ERR, rpcbind: no memory!\n);
+   (void) rpcbind_syslog(LOG_ERR, rpcbind: no memory!\n);
return (1);
}
pml-pml_map = pmap;
--- src/rpcbind.c.orig
+++ src/rpcbind.c
@@ -66,7 +66,6 @@
 #include netconfig.h
 #include stdlib.h
 #include unistd.h
-#include syslog.h
 #include err.h
 #include pwd.h
 #include string.h
@@ -169,7 +168,7 @@ main(int argc, char *argv[])
 
nc_handle = setnetconfig(); /* open netconfig file */
if (nc_handle == NULL) {
-   syslog(LOG_ERR, could not read 

commit rpcbind for openSUSE:Factory

2012-02-14 Thread h_root
Hello community,

here is the log from the commit of package rpcbind for openSUSE:Factory checked 
in at 2012-02-14 19:07:16

Comparing /work/SRC/openSUSE:Factory/rpcbind (Old)
 and  /work/SRC/openSUSE:Factory/.rpcbind.new (New)


Package is rpcbind, Maintainer is o...@suse.com

Changes:

--- /work/SRC/openSUSE:Factory/rpcbind/rpcbind.changes  2011-11-28 
12:57:06.0 +0100
+++ /work/SRC/openSUSE:Factory/.rpcbind.new/rpcbind.changes 2012-02-14 
19:07:18.0 +0100
@@ -1,0 +2,24 @@
+Mon Dec 19 22:54:46 UTC 2011 - crrodrig...@opensuse.org
+
+- Update systemd patches 
+
+---
+Wed Dec  7 13:50:49 UTC 2011 - crrodrig...@opensuse.org
+
+- Add systemd socket activation patch, based on
+  http://www.spinics.net/lists/linux-nfs/msg14371.html
+  but does not bundle sd-daemon.[c|h] it uses libsystemd-daemon
+  instead.
+
+---
+Sun Dec  4 17:14:37 UTC 2011 - crrodrig...@opensuse.org
+
+- Update to version 0.2.0_git201103171419
+- Fix rpm source tags to not be conditional.
+
+---
+Tue Nov 29 20:27:38 UTC 2011 - crrodrig...@opensuse.org
+
+- Add systemd units 
+
+---

Old:

  rpcbind-0.2.0_git201007131952.tar.xz

New:

  0001-systemd-add-support-for-system-bus-activation.patch
  rpcbind-0.2.0_git201103171419.tar.bz2



Other differences:
--
++ rpcbind.spec ++
--- /var/tmp/diff_new_pack.rZHCgw/_old  2012-02-14 19:07:19.0 +0100
+++ /var/tmp/diff_new_pack.rZHCgw/_new  2012-02-14 19:07:19.0 +0100
@@ -20,11 +20,11 @@
 Name:   rpcbind
 License:BSD-3-Clause
 Group:  Productivity/Networking/System
-Version:0.2.0_git201007131952
+Version:0.2.0_git201103171419
 Release:1
 Summary:Transport independent RPC portmapper
 Url:http://git.infradead.org/users/steved/rpcbind.git
-Source: %{name}-%{version}.tar.xz
+Source: %{name}-%{version}.tar.bz2
 Source1:rpcbind.init
 Source2:sysconfig.rpcbind
 Source3:rpcbind.xml
@@ -32,14 +32,20 @@
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build
 BuildRequires:  libtirpc-devel
 BuildRequires:  tcpd-devel
-BuildRequires:  xz
 BuildRequires:  libtool
+BuildRequires:  pkgconfig
 Provides:   portmap = 6.0+git20070716
 Obsoletes:  portmap = 6.0+git20070716
 # hopefully soon we will have this autogenerated from rpm
 Provides:   sysvinit(portmap) sysvinit(rpcbind)
 PreReq: %insserv_prereq %fillup_prereq /sbin/checkproc 
sysvinit(network) syslog
+Patch0: 0001-systemd-add-support-for-system-bus-activation.patch
 %define statefile /var/lib/portmap.state
+%if 0%{?suse_version}  1140
+BuildRequires:  systemd-devel
+%{?systemd_requires}
+%define has_systemd 1
+%endif
 
 %description
 Rpcbind is a replacement for portmap. Whereas portmap supports only UDP
@@ -58,19 +64,20 @@
 %prep
 %setup -q
 cp %{SOURCE4} .
+%patch0 -p1
 
 %build
-autoreconf -fi
-%configure --disable-static --with-pic \
+autoreconf -fiv
+export  CFLAGS=$RPM_OPT_FLAGS -fpie
+export LDFLAGS=-pie -Wl,-z,relro,-z,now
+%configure \
--bindir=/sbin \
--enable-libwrap \
--enable-warmstarts \
-   --with-statedir=%{_localstatedir}/lib/rpcbind \
-   --enable-debug \
-   CFLAGS=$RPM_OPT_FLAGS -fpie \
-   LDFLAGS=-pie -Wl,-z,relro,-z,now
+   --with-statedir=%{_localstatedir}/lib/rpcbind
+
 %{__make} %{?jobs:-j%jobs}
-cc -Wl,-z,relro,-z,now %{optflags} pmap_set.c -o pmap_set
+%{__cc} -fwhole-program -Wl,-z,relro,-z,now %{optflags} pmap_set.c -o pmap_set
 
 %install
 make install DESTDIR=$RPM_BUILD_ROOT
@@ -100,9 +107,15 @@
 if test -x /sbin/portmap  /sbin/chkconfig -c portmap 3; then
 /sbin/insserv -f -r portmap
 fi
+%if 0%{?has_systemd}
+%service_add_pre %{name}.service %{name}.socket
+%endif
 
 %preun
 %stop_on_removal rpcbind
+%if 0%{?has_systemd}
+%service_del_preun %{name}.service %{name}.socket
+%endif
 
 %post
 %fillup_and_insserv rpcbind
@@ -114,10 +127,16 @@
/sbin/pmap_set2  %statefile
rm -f %statefile
 fi
+%if 0%{?has_systemd}
+%service_add_post %{name}.service %{name}.socket
+%endif
 
 %postun
 %restart_on_update rpcbind
 %insserv_cleanup
+%if 0%{?has_systemd}
+%service_del_postun %{name}.service %{name}.socket
+%endif
 
 %files
 %defattr(-,root,root)
@@ -131,5 +150,9 @@
 %{_localstatedir}/lib/rpcbind
 /var/adm/fillup-templates/sysconfig.rpcbind
 %{_datadir}/omc/svcinfo.d/rpcbind.xml
+%if 0%{?has_systemd}
+%{_unitdir}/%{name}.service
+%{_unitdir}/%{name}.socket
+%endif
 
 

commit rpcbind for openSUSE:Factory

2011-12-06 Thread h_root
Hello community,

here is the log from the commit of package rpcbind for openSUSE:Factory checked 
in at 2011-12-06 19:00:24

Comparing /work/SRC/openSUSE:Factory/rpcbind (Old)
 and  /work/SRC/openSUSE:Factory/.rpcbind.new (New)


Package is rpcbind, Maintainer is o...@suse.com

Changes:




Other differences:
--
++ rpcbind.spec ++
--- /var/tmp/diff_new_pack.FMi1CC/_old  2011-12-06 19:33:07.0 +0100
+++ /var/tmp/diff_new_pack.FMi1CC/_new  2011-12-06 19:33:07.0 +0100
@@ -18,7 +18,7 @@
 
 
 Name:   rpcbind
-License:BSD3c
+License:BSD-3-Clause
 Group:  Productivity/Networking/System
 Version:0.2.0_git201007131952
 Release:1



-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org



commit rpcbind for openSUSE:Factory

2011-11-28 Thread h_root
Hello community,

here is the log from the commit of package rpcbind for openSUSE:Factory checked 
in at 2011-11-28 12:56:48

Comparing /work/SRC/openSUSE:Factory/rpcbind (Old)
 and  /work/SRC/openSUSE:Factory/.rpcbind.new (New)


Package is rpcbind, Maintainer is o...@suse.com

Changes:

--- /work/SRC/openSUSE:Factory/rpcbind/rpcbind.changes  2011-09-23 
12:44:27.0 +0200
+++ /work/SRC/openSUSE:Factory/.rpcbind.new/rpcbind.changes 2011-11-28 
12:57:06.0 +0100
@@ -1,0 +2,5 @@
+Fri Nov 25 10:43:48 UTC 2011 - co...@suse.com
+
+- add libtool as buildrequire to avoid implicit dependency
+
+---



Other differences:
--
++ rpcbind.spec ++
--- /var/tmp/diff_new_pack.kxoJl8/_old  2011-11-28 12:57:07.0 +0100
+++ /var/tmp/diff_new_pack.kxoJl8/_new  2011-11-28 12:57:07.0 +0100
@@ -15,18 +15,13 @@
 # Please submit bugfixes or comments via http://bugs.opensuse.org/
 #
 
-# norootforbuild
 
-BuildRequires:  libtirpc-devel
-BuildRequires:  tcpd-devel
-BuildRequires:  xz
 
 Name:   rpcbind
 License:BSD3c
 Group:  Productivity/Networking/System
-AutoReqProv:on
 Version:0.2.0_git201007131952
-Release:14
+Release:1
 Summary:Transport independent RPC portmapper
 Url:http://git.infradead.org/users/steved/rpcbind.git
 Source: %{name}-%{version}.tar.xz
@@ -35,6 +30,10 @@
 Source3:rpcbind.xml
 Source4:pmap_set.c
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build
+BuildRequires:  libtirpc-devel
+BuildRequires:  tcpd-devel
+BuildRequires:  xz
+BuildRequires:  libtool
 Provides:   portmap = 6.0+git20070716
 Obsoletes:  portmap = 6.0+git20070716
 # hopefully soon we will have this autogenerated from rpm



-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org



commit rpcbind for openSUSE:Factory

2011-08-22 Thread h_root

Hello community,

here is the log from the commit of package rpcbind for openSUSE:Factory
checked in at Mon Aug 22 11:12:18 CEST 2011.




--- rpcbind/rpcbind.changes 2011-01-12 15:39:50.0 +0100
+++ /mounts/work_src_done/STABLE/rpcbind/rpcbind.changes2011-06-14 
21:01:36.0 +0200
@@ -1,0 +2,6 @@
+Tue Jun 14 19:00:51 UTC 2011 - a...@suse.de
+
+- Install rpcinfo man page since glibc does not install its man
+  page anymore.
+
+---

calling whatdependson for head-i586




Other differences:
--
++ rpcbind.spec ++
--- /var/tmp/diff_new_pack.gzaGtS/_old  2011-08-22 11:12:01.0 +0200
+++ /var/tmp/diff_new_pack.gzaGtS/_new  2011-08-22 11:12:01.0 +0200
@@ -26,7 +26,7 @@
 Group:  Productivity/Networking/System
 AutoReqProv:on
 Version:0.2.0_git201007131952
-Release:13
+Release:14
 Summary:Transport independent RPC portmapper
 Url:http://git.infradead.org/users/steved/rpcbind.git
 Source: %{name}-%{version}.tar.xz
@@ -79,8 +79,6 @@
 install -m 755 %{SOURCE1} $RPM_BUILD_ROOT/etc/init.d/rpcbind
 ln -s /etc/init.d/rpcbind $RPM_BUILD_ROOT/sbin/rcrpcbind
 mkdir -p $RPM_BUILD_ROOT%_localstatedir/lib/rpcbind
-# for now remove this man page since it conflicts with glibc
-rm -f $RPM_BUILD_ROOT%{_mandir}/man8/rpcinfo.8
 # fillup template
 mkdir -p $RPM_BUILD_ROOT/var/adm/fillup-templates
 install -m 644 %{SOURCE2} $RPM_BUILD_ROOT/var/adm/fillup-templates/








Remember to have fun...

-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org