Hello community,
here is the log from the commit of package mipv6d for openSUSE:Factory checked in at 2017-12-12 21:23:28
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/mipv6d (Old)
and /work/SRC/openSUSE:Factory/.mipv6d.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "mipv6d"
Tue Dec 12 21:23:28 2017 rev:26 rq:556379 version:2.0.2.umip.0.4
Changes:
--------
--- /work/SRC/openSUSE:Factory/mipv6d/mipv6d.changes 2017-03-18 20:50:58.542264636 +0100
+++ /work/SRC/openSUSE:Factory/.mipv6d.new/mipv6d.changes 2017-12-12 21:23:30.288877278 +0100
@@ -1,0 +2,8 @@
+Tue Dec 12 07:40:52 UTC 2017 - mt@suse.de
+
+- Build against libopenssl-1_0_0-devel
+- Fixed incorrect memset lengths and added explicit braces around
+ conditional debug macro calls that may expand to empty if-body.
+ New patch file: mipv6-2.0.2-umip-0.4.diff
+
+-------------------------------------------------------------------
New:
----
mipv6-2.0.2-umip-0.4.diff
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ mipv6d.spec ++++++
--- /var/tmp/diff_new_pack.oYPWNH/_old 2017-12-12 21:23:30.828851212 +0100
+++ /var/tmp/diff_new_pack.oYPWNH/_new 2017-12-12 21:23:30.828851212 +0100
@@ -25,12 +25,13 @@
Url: http://umip.org/
Source0: mipv6-2.0.2-umip-0.4.tar.bz2
Source1: mipv6d.service
+Patch1: mipv6-2.0.2-umip-0.4.diff
BuildRequires: automake
BuildRequires: bison
BuildRequires: flex
BuildRequires: indent
#BuildRequires: libnetlink-devel
-BuildRequires: openssl-devel
+BuildRequires: libopenssl-1_0_0-devel
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%description
@@ -47,6 +48,7 @@
%prep
%setup -q -n mipv6-2.0.2-umip-0.4
+%patch1 -p0
%build
aclocal
++++++ mipv6-2.0.2-umip-0.4.diff ++++++
--- libnetlink/libnetlink.c
+++ libnetlink/libnetlink.c 2017/12/12 07:27:13
@@ -56,7 +56,7 @@ int rtnl_open_byproto(struct rtnl_handle
int sndbuf = SO_SNDBUF_SIZE;
int rcvbuf = SO_RCVBUF_SIZE;
- memset(rth, 0, sizeof(rth));
+ memset(rth, 0, sizeof(*rth));
rth->fd = socket(AF_NETLINK, SOCK_RAW, protocol);
if (rth->fd < 0) {
--- src/bul.c
+++ src/bul.c 2017/12/12 07:33:43
@@ -273,8 +273,9 @@ int bul_home_init(struct home_addr_info
/* bule_cleanup - cleans up a bulentry */
static int bule_cleanup(void *vbule, void *vbul)
{
- if (vbul == NULL)
+ if (vbul == NULL) {
BUG("bul_hash should be empty!\n");
+ }
bul_delete(vbule);
return 0;
}
--- src/conf.c
+++ src/conf.c 2017/12/12 07:28:23
@@ -275,8 +275,9 @@ void conf_show(struct mip6_config *c)
dbg("debug_level = %u\n", c->debug_level);
dbg("debug_log_file = %s\n", (c->debug_log_file ? c->debug_log_file :
"stderr"));
- if (c->pmgr.so_path)
+ if (c->pmgr.so_path) {
dbg("PolicyModulePath = %s\n", c->pmgr.so_path);
+ }
dbg("DefaultBindingAclPolicy = %u\n", c->DefaultBindingAclPolicy);
dbg("NonVolatileBindingCache = %s\n",
CONF_BOOL_STR(c->NonVolatileBindingCache));
@@ -296,8 +297,9 @@ void conf_show(struct mip6_config *c)
tstodsec(c->InitialBindackTimeoutFirstReg_ts));
dbg("InitialBindackTimeoutReReg = %f\n",
tstodsec(c->InitialBindackTimeoutReReg_ts));
- if (c->MoveModulePath)
+ if (c->MoveModulePath) {
dbg("MoveModulePath = %s\n", c->MoveModulePath);
+ }
dbg("UseCnBuAck = %s\n", CONF_BOOL_STR(c->CnBuAck));
dbg("DoRouteOptimizationMN = %s\n",
CONF_BOOL_STR(c->DoRouteOptimizationMN));
--- src/icmp6.c
+++ src/icmp6.c 2017/12/12 07:29:41
@@ -343,8 +343,9 @@ int icmp6_send(int oif, uint8_t hoplimit
&hops, sizeof(hops));
ret = sendmsg(icmp6_sock.fd, &msg, 0);
- if (ret < 0)
+ if (ret < 0) {
dbg("sendmsg: %s\n", strerror(errno));
+ }
pthread_mutex_unlock(&icmp6_sock.send_mutex);
--- src/ipsec.c
+++ src/ipsec.c 2017/12/12 07:38:03
@@ -328,8 +328,9 @@ static int xfrm_sendmigrate(struct xfrm_
#endif
err = rtnl_xfrm_do(&req.n, NULL);
- if (err < 0)
+ if (err < 0) {
dbg("err = %d (%s)\n", err, strerror(-err));
+ }
return ((err == 0 || err == -ENOENT) ? 0 : -1);
}
@@ -411,10 +412,12 @@ static void dump_migrate(int ifindex,
dbg("ifindex\t%d\n", ifindex);
dbg("hoa\t%x:%x:%x:%x:%x:%x:%x:%x\n", NIP6ADDR(hoa));
dbg("ha\t%x:%x:%x:%x:%x:%x:%x:%x\n", NIP6ADDR(haaddr));
- if (oldcoa)
+ if (oldcoa) {
dbg("ocoa\t%x:%x:%x:%x:%x:%x:%x:%x\n", NIP6ADDR(oldcoa));
- if (newcoa)
+ }
+ if (newcoa) {
dbg("ncoa\t%x:%x:%x:%x:%x:%x:%x:%x\n", NIP6ADDR(newcoa));
+ }
dbg("ipsec\t%s\n",
(ipsec_proto == IPPROTO_ESP) ? "ESP" :
(ipsec_proto == IPPROTO_AH) ? "AH" :
--- src/main.c
+++ src/main.c 2017/12/12 07:28:48
@@ -28,6 +28,8 @@
#ifdef HAVE_CONFIG_H
#include