View | Details | Raw Unified | Return to bug 226885 | Differences between
and this patch

Collapse All | Expand All

(-)ucarp/Makefile (-4 / +11 lines)
Lines 3-17 Link Here
3
3
4
PORTNAME=	ucarp
4
PORTNAME=	ucarp
5
PORTVERSION=	1.5.2
5
PORTVERSION=	1.5.2
6
PORTREVISION=	2
6
PORTREVISION=	3
7
CATEGORIES=	net
7
CATEGORIES=	net
8
MASTER_SITES=	ftp://ftp.pureftpd.org/pub/pure-ftpd/misc/ucarp/ \
9
		http://download.pureftpd.org/pub/ucarp/
10
8
11
MAINTAINER=	alexey@renatasystems.org
9
MAINTAINER=	alexey@renatasystems.org
12
COMMENT=	Userlevel Common Address Redundancy Protocol
10
COMMENT=	Userlevel Common Address Redundancy Protocol
13
11
14
USES=	tar:bzip2
12
USES=		autoreconf
13
14
USE_GITHUB=	yes
15
GH_ACCOUNT=	jedisct1
16
GH_PROJECT=	UCarp
17
GH_TAGNAME=	4f339d4
15
18
16
OPTIONS_DEFINE=	SCRIPTS
19
OPTIONS_DEFINE=	SCRIPTS
17
OPTIONS_DEFAULT=SCRIPTS
20
OPTIONS_DEFAULT=SCRIPTS
Lines 23-28 Link Here
23
GNU_CONFIGURE=	yes
26
GNU_CONFIGURE=	yes
24
CONFIGURE_ARGS=	--disable-nls
27
CONFIGURE_ARGS=	--disable-nls
25
28
29
pre-configure:
30
		touch ${WRKSRC}/config.rpath
31
		touch ${WRKSRC}/ABOUT-NLS
32
26
USE_RC_SUBR=	ucarp
33
USE_RC_SUBR=	ucarp
27
34
28
PLIST_FILES=	sbin/ucarp
35
PLIST_FILES=	sbin/ucarp
(-)ucarp/distinfo (-2 / +3 lines)
Lines 1-2 Link Here
1
SHA256 (ucarp-1.5.2.tar.bz2) = f2e013653484cabd616d812648c83a490ae7b2968b4d446da5dd969275f92d62
1
TIMESTAMP = 1521759699
2
SIZE (ucarp-1.5.2.tar.bz2) = 315414
2
SHA256 (jedisct1-UCarp-1.5.2-4f339d4_GH0.tar.gz) = 37ef77add1eea4a6b1b71d1c30ec4edc7f4a51d5ec8f5641ccb643439abb1e60
3
SIZE (jedisct1-UCarp-1.5.2-4f339d4_GH0.tar.gz) = 79950
(-)ucarp/files/patch-l2vlan (-1 / +1 lines)
Lines 5-11 Link Here
5
@@ -86,7 +86,8 @@
5
@@ -86,7 +86,8 @@
6
             if (strcmp(ifa->ifa_name, interface) == 0 &&
6
             if (strcmp(ifa->ifa_name, interface) == 0 &&
7
                 ifa->ifa_addr->sa_family == AF_LINK) {
7
                 ifa->ifa_addr->sa_family == AF_LINK) {
8
                 sadl = (struct sockaddr_dl *) ifa->ifa_addr;
8
                 sadl = (struct sockaddr_dl *) (void *) ifa->ifa_addr;
9
-                if (sadl == NULL || sadl->sdl_type != IFT_ETHER ||
9
-                if (sadl == NULL || sadl->sdl_type != IFT_ETHER ||
10
+                if (sadl == NULL || ((sadl->sdl_type != IFT_ETHER) && 
10
+                if (sadl == NULL || ((sadl->sdl_type != IFT_ETHER) && 
11
+                    (sadl->sdl_type != IFT_L2VLAN)) ||
11
+                    (sadl->sdl_type != IFT_L2VLAN)) ||

Return to bug 226885