Gentoo Archives: gentoo-commits

From: "Alin Nastac (mrness)" <mrness@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in net-dialup/xl2tpd/files: xl2tpd-1.2.7-as-needed.patch xl2tpd-1.2.7-qa-fixes.patch
Date: Sat, 27 Nov 2010 11:01:44
Message-Id: 20101127110136.3F1D720051@flycatcher.gentoo.org
1 mrness 10/11/27 11:01:36
2
3 Added: xl2tpd-1.2.7-as-needed.patch
4 xl2tpd-1.2.7-qa-fixes.patch
5 Log:
6 Version bump.
7 (Portage version: 2.1.8.3/cvs/Linux x86_64)
8
9 Revision Changes Path
10 1.1 net-dialup/xl2tpd/files/xl2tpd-1.2.7-as-needed.patch
11
12 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-dialup/xl2tpd/files/xl2tpd-1.2.7-as-needed.patch?rev=1.1&view=markup
13 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-dialup/xl2tpd/files/xl2tpd-1.2.7-as-needed.patch?rev=1.1&content-type=text/plain
14
15 Index: xl2tpd-1.2.7-as-needed.patch
16 ===================================================================
17 diff -Nru xl2tpd-1.2.7.orig/Makefile xl2tpd-1.2.7/Makefile
18 --- xl2tpd-1.2.7.orig/Makefile 2010-08-06 00:33:46.000000000 +0200
19 +++ xl2tpd-1.2.7/Makefile 2010-11-27 11:57:10.000000000 +0100
20 @@ -113,7 +113,7 @@
21
22 pfc:
23 $(CC) $(CFLAGS) -c contrib/pfc.c
24 - $(CC) $(LDFLAGS) -lpcap $(LDLIBS) -o pfc pfc.o
25 + $(CC) $(LDFLAGS) -o pfc pfc.o -lpcap $(LDLIBS)
26
27 romfs:
28 $(ROMFSINST) /bin/$(EXEC)
29
30
31
32 1.1 net-dialup/xl2tpd/files/xl2tpd-1.2.7-qa-fixes.patch
33
34 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-dialup/xl2tpd/files/xl2tpd-1.2.7-qa-fixes.patch?rev=1.1&view=markup
35 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-dialup/xl2tpd/files/xl2tpd-1.2.7-qa-fixes.patch?rev=1.1&content-type=text/plain
36
37 Index: xl2tpd-1.2.7-qa-fixes.patch
38 ===================================================================
39 diff -Nru xl2tpd-1.2.7.orig/call.c xl2tpd-1.2.7/call.c
40 --- xl2tpd-1.2.7.orig/call.c 2010-08-06 00:33:46.000000000 +0200
41 +++ xl2tpd-1.2.7/call.c 2010-11-27 11:58:13.000000000 +0100
42 @@ -665,15 +665,19 @@
43 */
44 if (gconfig.debug_tunnel)
45 {
46 + struct in_addr inaddr;
47 + inaddr.s_addr = addr;
48 l2tp_log (LOG_DEBUG,
49 "%s: allocating new tunnel for host %s, port %d.\n",
50 - __FUNCTION__, IPADDY (addr), ntohs (port));
51 + __FUNCTION__, IPADDY (inaddr), ntohs (port));
52 }
53 if (!(st = new_tunnel ()))
54 {
55 + struct in_addr inaddr;
56 + inaddr.s_addr = addr;
57 l2tp_log (LOG_WARNING,
58 "%s: unable to allocate new tunnel for host %s, port %d.\n",
59 - __FUNCTION__, IPADDY (addr), ntohs (port));
60 + __FUNCTION__, IPADDY (inaddr), ntohs (port));
61 return NULL;
62 };
63 st->peer.sin_family = AF_INET;