Update to 3.9.6 and fix $MASTER_SITES. Take maintainership.

Approved by:	johans
Feature safe:	yes
This commit is contained in:
Hiroki Sato 2012-11-30 17:03:08 +00:00
parent aa9ad74a0a
commit 878145a4ff
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=308019
4 changed files with 29 additions and 12 deletions

View File

@ -1,16 +1,12 @@
# New ports collection makefile for: mrouted
# Date created: 28 September 2006
# Whom: Bruce M Simpson <bms@FreeBSD.org>
#
# Created by: Bruce M Simpson <bms@FreeBSD.org>
# $FreeBSD$
#
PORTNAME= mrouted
PORTVERSION= 3.9.5
PORTVERSION= 3.9.6
CATEGORIES= net
MASTER_SITES= ftp://ftp.vmlinux.org/pub/People/jocke/mrouted/
MASTER_SITES= http://cloud.github.com/downloads/troglobit/mrouted/
MAINTAINER= johans@FreeBSD.org
MAINTAINER= hrs@FreeBSD.org
COMMENT= Multicast routing daemon providing DVMRP for IPv4
USE_RC_SUBR= mrouted
@ -20,7 +16,7 @@ MAKE_ARGS= sysconfdir=${PREFIX}/etc \
mandir=${MAN8PREFIX}/man/man8
MAN8= map-mbone.8 mrouted.8 mrinfo.8 mtrace.8
PORTDOCS= *
PORTDOCS= README AUTHORS LICENSE ChangeLog
PLIST_FILES= sbin/map-mbone sbin/mrouted sbin/mrinfo sbin/mtrace \
etc/mrouted.conf

View File

@ -1,2 +1,2 @@
SHA256 (mrouted-3.9.5.tar.bz2) = 10f0204f3a420033df7b5dfe4cac96dfba58649cbd813d7c6e2253367601b147
SIZE (mrouted-3.9.5.tar.bz2) = 112746
SHA256 (mrouted-3.9.6.tar.bz2) = 8f6bdbd6eec1da3f6b0ca651a0484d7bdf7d7ead6c5d47abbaef0dfed949eccf
SIZE (mrouted-3.9.6.tar.bz2) = 112713

View File

@ -0,0 +1,21 @@
--- vif.c.orig 2012-11-30 23:59:58.000000000 +0900
+++ vif.c 2012-12-01 00:02:20.000000000 +0900
@@ -1051,6 +1051,7 @@
static int info_version(u_char *p)
{
int len;
+ size_t lenv;
*p++ = DVMRP_INFO_VERSION;
p++; /* skip over length */
@@ -1062,7 +1063,9 @@
* as long as 100 bytes, but it's better to limit the amount
* of data copied to send_buf since we do not want to risk
* sending MAX size frames. */
- len = strlcpy((char *)p, versionstring, sizeof(versionstring));
+ /* XXX: use lenv to make clang happy. */
+ lenv = sizeof(versionstring);
+ len = strlcpy((char *)p, versionstring, lenv);
return ((len + 3) / 4);
}

View File

@ -2,4 +2,4 @@ mrouted is an implementation of the DVMRP multicast routing protocol.
It turns a UNIX workstation into a DVMRP multicast router with tunnel
support, in order to cross non-multicast-aware routers.
WWW: http://troglobit.com/mrouted.shtml
WWW: http://freecode.com/projects/mrouted