ports/154177: [MAINTAINER] Update to freevrrpd 1.0

Sebastien Petit sebastien.petit at kewego.com
Thu Jan 20 21:30:14 UTC 2011


>Number:         154177
>Category:       ports
>Synopsis:       [MAINTAINER] Update to freevrrpd 1.0
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          maintainer-update
>Submitter-Id:   current-users
>Arrival-Date:   Thu Jan 20 21:30:13 UTC 2011
>Closed-Date:
>Last-Modified:
>Originator:     Sebastien Petit
>Release:        FreeBSD-8.0-RELEASE
>Organization:
>Environment:
FreeBSD spetit 8.0-RELEASE-p2 FreeBSD 8.0-RELEASE-p2 #0: Tue Jan  5 21:11:58 UTC 2010     root at amd64-builder.daemonology.net:/usr/obj/usr/src/sys/GENERIC  amd64
>Description:
Update to freevrrpd-1.0
Use of netgraph subsystem to manage virtual ip addresses

cancel and replace PR ports/154176 (wrong patch format)
>How-To-Repeat:

>Fix:


Patch attached with submission follows:

diff -ruN freevrrpd/Makefile freevrrpd_1_0/Makefile
--- freevrrpd/Makefile	2011-01-19 12:22:10.000000000 +0100
+++ freevrrpd_1_0/Makefile	2011-01-19 13:31:35.000000000 +0100
@@ -6,9 +6,10 @@
 #
 
 PORTNAME=	freevrrpd
-PORTVERSION=	0.9.3
+PORTVERSION=	1.0
 CATEGORIES=	net
-MASTER_SITES=	http://freebsd.unixfreunde.de/sources/ \
+MASTER_SITES=	http://opensource.kewego.com/freevrrpd/ \
+		http://freebsd.unixfreunde.de/sources/ \
 		${MASTER_SITE_LOCAL:S/$/:freebsd/g}
 MASTER_SITE_SUBDIR=	flz/freevrrpd/:freebsd
 DISTFILES=	${PORTNAME}-${PORTVERSION}${EXTRACT_SUFX}:DEFAULT,freebsd
@@ -27,4 +28,9 @@
 	@${INSTALL_SCRIPT} ${WRKSRC}/freevrrpd.sh.sample ${PREFIX}/etc/rc.d
 	@${INSTALL_MAN} ${WRKSRC}/${PORTNAME}.8 ${MANPREFIX}/man/man8
 
+post-install:
+	@${ECHO} ''
+	@${CAT} ${PKGMESSAGE}
+	@${ECHO} ''
+
 .include <bsd.port.mk>
diff -ruN freevrrpd/distinfo freevrrpd_1_0/distinfo
--- freevrrpd/distinfo	2011-01-19 12:22:10.000000000 +0100
+++ freevrrpd_1_0/distinfo	2011-01-19 13:24:36.000000000 +0100
@@ -1,3 +1,3 @@
-MD5 (freevrrpd-0.9.3.tar.gz) = fe4c7068264659563705ac0d23844280
-SHA256 (freevrrpd-0.9.3.tar.gz) = 18a1007f935422cc1a7ceb7d5265bcdfab141b648b2cfde589c83cfd069e1317
-SIZE (freevrrpd-0.9.3.tar.gz) = 41273
+MD5 (freevrrpd-1.0.tar.gz) = c123e4fb49249d7463f79cc3527fa577
+SHA256 (freevrrpd-1.0.tar.gz) = ab580aef7b0a158e2633f2cf4d73c40aea030c451b476ea507203bed9368d9e9
+SIZE (freevrrpd-1.0.tar.gz) = 41742
diff -ruN freevrrpd/files/patch-vrrp_network.c freevrrpd_1_0/files/patch-vrrp_network.c
--- freevrrpd/files/patch-vrrp_network.c	2011-01-19 12:22:10.000000000 +0100
+++ freevrrpd_1_0/files/patch-vrrp_network.c	1970-01-01 01:00:00.000000000 +0100
@@ -1,23 +0,0 @@
---- vrrp_network.c.orig	2009-08-09 11:49:22.000000000 +0400
-+++ vrrp_network.c	2009-08-09 11:50:47.000000000 +0400
-@@ -36,6 +36,8 @@
- #include "vrrp_network.h"
- #include "vrrp_ah.h"
- 
-+#include <sys/param.h>
-+
- u_short         ip_id;
- 
- /* Initialisation pour l'identification IP */
-@@ -310,7 +312,10 @@
- 	rtm.rtm_type = RTM_DELETE;
- 	rtm.rtm_version = RTM_VERSION;
- #ifdef __FreeBSD__
--	rtm.rtm_flags = RTF_UP | RTF_HOST | RTF_LOCAL | RTF_WASCLONED;
-+	rtm.rtm_flags = RTF_UP | RTF_HOST | RTF_LOCAL;
-+#if __FreeBSD_version < 800059
-+	rtm.rtm_flags |= RTF_WASCLONED;
-+#endif
- #endif
- #ifdef __NetBSD__
- 	rtm.rtm_flags = RTF_UP | RTF_HOST | RTF_CLONED;
diff -ruN freevrrpd/pkg-message freevrrpd_1_0/pkg-message
--- freevrrpd/pkg-message	1970-01-01 01:00:00.000000000 +0100
+++ freevrrpd_1_0/pkg-message	2011-01-19 13:28:47.000000000 +0100
@@ -0,0 +1,18 @@
+!! WARNING !!
+freevrrpd now use the netgraph layout. netgraph, ng_ether, ng_bridge and ng_eiface are required to run correctly.
+
+Unfortunately some netgraph modules doesn't load automatically, you need to load them manually.
+use:
+
+kldload ng_eiface
+kldload ng_bridge
+kldload ng_ether
+
+OR
+
+add these lines to your /boot/loader.conf:
+
+ng_ether_load="YES"
+ng_bridge_load="YES"
+ng_eiface_load="YES"
+


>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list