aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMartin Wilke <miwi@FreeBSD.org>2011-01-31 16:11:24 +0000
committerMartin Wilke <miwi@FreeBSD.org>2011-01-31 16:11:24 +0000
commit907f7c9d91937493279ab6f0087a19253e4ebdfd (patch)
tree74ce98948cb06f46658b6867bc09413387fc3307
parentfdb83a5c1ad856ab9674daaa75a372033b77d8b4 (diff)
downloadports-907f7c9d91937493279ab6f0087a19253e4ebdfd.tar.gz
ports-907f7c9d91937493279ab6f0087a19253e4ebdfd.zip
Notes
-rw-r--r--net/freevrrpd/Makefile10
-rw-r--r--net/freevrrpd/distinfo5
-rw-r--r--net/freevrrpd/files/patch-vrrp_network.c23
-rw-r--r--net/freevrrpd/pkg-message17
4 files changed, 27 insertions, 28 deletions
diff --git a/net/freevrrpd/Makefile b/net/freevrrpd/Makefile
index b7d51f3df2c3..d32a675bbd91 100644
--- a/net/freevrrpd/Makefile
+++ b/net/freevrrpd/Makefile
@@ -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 @@ do-install:
@${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 --git a/net/freevrrpd/distinfo b/net/freevrrpd/distinfo
index 8b21f02b520a..79202495e5b8 100644
--- a/net/freevrrpd/distinfo
+++ b/net/freevrrpd/distinfo
@@ -1,3 +1,2 @@
-MD5 (freevrrpd-0.9.3.tar.gz) = fe4c7068264659563705ac0d23844280
-SHA256 (freevrrpd-0.9.3.tar.gz) = 18a1007f935422cc1a7ceb7d5265bcdfab141b648b2cfde589c83cfd069e1317
-SIZE (freevrrpd-0.9.3.tar.gz) = 41273
+SHA256 (freevrrpd-1.0.tar.gz) = ab580aef7b0a158e2633f2cf4d73c40aea030c451b476ea507203bed9368d9e9
+SIZE (freevrrpd-1.0.tar.gz) = 41742
diff --git a/net/freevrrpd/files/patch-vrrp_network.c b/net/freevrrpd/files/patch-vrrp_network.c
deleted file mode 100644
index 39f7a336f64a..000000000000
--- a/net/freevrrpd/files/patch-vrrp_network.c
+++ /dev/null
@@ -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 --git a/net/freevrrpd/pkg-message b/net/freevrrpd/pkg-message
new file mode 100644
index 000000000000..ac3de117e1fb
--- /dev/null
+++ b/net/freevrrpd/pkg-message
@@ -0,0 +1,17 @@
+!! 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"