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 "[email protected]" Changes: -------- --- /work/SRC/openSUSE:Factory/rpcbind/rpcbind.changes 2011-11-28 12:57:06.000000000 +0100 +++ /work/SRC/openSUSE:Factory/.rpcbind.new/rpcbind.changes 2012-02-14 19:07:18.000000000 +0100 @@ -1,0 +2,24 @@ +Mon Dec 19 22:54:46 UTC 2011 - [email protected] + +- Update systemd patches + +------------------------------------------------------------------- +Wed Dec 7 13:50:49 UTC 2011 - [email protected] + +- 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 - [email protected] + +- Update to version 0.2.0_git201103171419 +- Fix rpm source tags to not be conditional. + +------------------------------------------------------------------- +Tue Nov 29 20:27:38 UTC 2011 - [email protected] + +- 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.000000000 +0100 +++ /var/tmp/diff_new_pack.rZHCgw/_new 2012-02-14 19:07:19.000000000 +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 %changelog ++++++ 0001-systemd-add-support-for-system-bus-activation.patch ++++++ ++++ 731 lines (skipped) ++++++ rpcbind-0.2.0_git201007131952.tar.xz -> rpcbind-0.2.0_git201103171419.tar.bz2 ++++++ ++++ 8406 lines of diff (skipped) -- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
