Upgrade to 1.2.5

This commit is contained in:
Munechika SUMIKAWA 2012-08-24 03:51:30 +00:00
parent f8685c3d74
commit 420408f68d
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=303053
5 changed files with 15 additions and 36 deletions

View file

@ -6,8 +6,7 @@
#
PORTNAME= miredo
PORTVERSION= 1.2.2
PORTREVISION= 3
PORTVERSION= 1.2.5
CATEGORIES= net ipv6
MASTER_SITES= http://www.remlab.net/files/miredo/archive/
@ -16,7 +15,7 @@ COMMENT= Opensource Teredo (IPv6 tunneling) implementation
LIB_DEPENDS= Judy.1:${PORTSDIR}/devel/judy
USE_BZIP2= yes
USE_XZ= yes
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --localstatedir=/var
USE_LDCONFIG= yes

View file

@ -1,2 +1,2 @@
SHA256 (miredo-1.2.2.tar.bz2) = c0f597e3272975544c4d6f6296494ab17ff1e2dbdf58bd28d54e7fe1be365f9a
SIZE (miredo-1.2.2.tar.bz2) = 529200
SHA256 (miredo-1.2.5.tar.xz) = 9d6c6aacfbde0e152481273cda4dc9a62f8724c4c941fa8e0806e89ab9992262
SIZE (miredo-1.2.5.tar.xz) = 474236

View file

@ -1,11 +1,11 @@
# Revised default policy table to support teredo defined in the below draft
# http://tools.ietf.org/id/draft-ietf-6man-rfc3484-revise-01.txt
::1/128 60 0
fc00::/7 50 1
::/0 40 2
::ffff:0:0/96 30 3
2002::/16 20 4
2001::/32 10 5
::/96 1 10
fec::/16 1 11
# http://tools.ietf.org/id/draft-ietf-6man-rfc3484bis-06.txt
::1/128 50 0
::/0 40 1
::ffff:0:0/96 35 4
2002::/16 30 2
2001::/32 5 5
fc00::/7 3 13
::/96 1 3
fec0::/10 1 11
3ffe::/16 1 12

View file

@ -1,20 +0,0 @@
--- src/main.c~ 2009-12-02 11:09:42.000000000 +0900
+++ src/main.c 2009-12-02 11:10:23.000000000 +0900
@@ -218,15 +218,13 @@
* Those last 3 handles will be opened as /dev/null
* by later daemon().
*/
- errno = 0;
- if (closefrom (3) && (errno != EBADF))
- return -1;
+ closefrom (3);
/*
* Make sure 0, 1 and 2 are open.
*/
val = dup (2);
- if (val < 3)
+ if (val != 3)
return -1;
close (val);

View file

@ -1,5 +1,5 @@
bin/teredo-mire
lib/miredo/miredo-privproc
libexec/miredo/miredo-privproc
sbin/miredo
sbin/miredo-server
sbin/miredo-checkconf
@ -28,6 +28,6 @@ etc/miredo/client-hook
@dirrmtry etc/miredo
@dirrm include/libtun6
@dirrm include/libteredo
@dirrm lib/miredo
@dirrm libexec/miredo
%%POLICYTABLE%%@cwd /
%%POLICYTABLE%%/etc/ip6addrctl.conf