Hello community, here is the log from the commit of package ifplugd for openSUSE:Factory checked in at 2017-11-14 14:26:18 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/ifplugd (Old) and /work/SRC/openSUSE:Factory/.ifplugd.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "ifplugd" Tue Nov 14 14:26:18 2017 rev:21 rq:541753 version:0.28 Changes: -------- --- /work/SRC/openSUSE:Factory/ifplugd/ifplugd.changes 2017-08-29 11:35:28.269016177 +0200 +++ /work/SRC/openSUSE:Factory/.ifplugd.new/ifplugd.changes 2017-11-14 14:26:22.799578570 +0100 @@ -1,0 +2,12 @@ +Mon Nov 13 14:58:14 UTC 2017 - [email protected] + +- Rename README.SuSE to README.SUSE, adhering to the correct + spelling. + +------------------------------------------------------------------- +Fri Nov 10 21:19:39 UTC 2017 - [email protected] + +- add ifplugd-nlapi-increase-packetsize.diff [bsc#1030382] +- small spec-file cleanups to reduce rpmlint warnings + +------------------------------------------------------------------- New: ---- ifplugd-nlapi-increase-packetsize.diff ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ ifplugd.spec ++++++ --- /var/tmp/diff_new_pack.L70B4N/_old 2017-11-14 14:26:23.631548236 +0100 +++ /var/tmp/diff_new_pack.L70B4N/_new 2017-11-14 14:26:23.631548236 +0100 @@ -31,6 +31,7 @@ Patch: ifplugd.dif Patch1: ifplugd-0.28.dif Patch2: ifplugd.action.diff +Patch3: ifplugd-nlapi-increase-packetsize.diff BuildRoot: %{_tmppath}/%{name}-%{version}-build %description @@ -40,19 +41,14 @@ relies on the distribution's native network configuration subsystem, so is not very intrusive. - - -Authors: --------- - Lennard Poettering <mzvscyhtq (at) 0pointer (dot) de> - %prep %setup -q %patch -p1 %patch1 %patch2 -# %setup -n %{name}-%{version} -T -D -a 1 +%patch3 -p1 cp %{S:1} . +mv doc/README.SuSE doc/README.SUSE %build export CFLAGS="$RPM_OPT_FLAGS -D__KERNEL_STRICT_NAMES -fno-strict-aliasing" @@ -61,9 +57,7 @@ %install %make_install -#will not work, can not combine "doc /" and "doc [^/]" ... -#mkdir -p $RPM_BUILD_ROOT/usr/share/doc/packages/ifplugd/ -#mv $RPM_BUILD_ROOT/etc/init.d/ifplugd $RPM_BUILD_DIR/%{name}-%{version}/doc/ifplugd.init +chmod -x conf/ifplugd.init rm -fv $RPM_BUILD_ROOT/etc/init.d/ifplugd #UsrMerge mkdir $RPM_BUILD_ROOT/sbin @@ -76,7 +70,7 @@ %files %defattr (-,root,root) -%doc LICENSE README doc/README.SuSE +%doc LICENSE README doc/README.SUSE %doc conf/ifplugd.init README.initscript %{_sbindir}/* #UsrMerge @@ -86,6 +80,5 @@ %doc %{_mandir}/man8/ifplugd.8.gz %doc %{_mandir}/man8/ifplugstatus.8.gz %config %{_sysconfdir}/ifplugd -#%{_sysconfdir}/init.d/* %changelog ++++++ ifplugd-nlapi-increase-packetsize.diff ++++++ --- ifplugd-0.28/src/nlapi.c.orig 2005-01-04 16:25:31.000000000 -0800 +++ ifplugd-0.28/src/nlapi.c 2017-02-25 21:18:44.487307354 -0800 @@ -71,7 +71,7 @@ for (;;) { int bytes; - char replybuf[1024]; + char replybuf[4096]; struct nlmsghdr *p = (struct nlmsghdr *) replybuf; if ((bytes = recv(nlapi_fd, &replybuf, sizeof(replybuf), block ? 0 : MSG_DONTWAIT)) < 0) {
