aboutsummaryrefslogtreecommitdiff
path: root/net/miredo
diff options
context:
space:
mode:
authorMunechika SUMIKAWA <sumikawa@FreeBSD.org>2012-10-23 07:55:30 +0000
committerMunechika SUMIKAWA <sumikawa@FreeBSD.org>2012-10-23 07:55:30 +0000
commit7a5a800487c758e45653ddde68badc6fbd80920b (patch)
tree05945e694158cb6c4d00da250935684606781bef /net/miredo
parent4548b5546469cd2c1a004bdb56c657f5106e2124 (diff)
downloadports-7a5a800487c758e45653ddde68badc6fbd80920b.tar.gz
ports-7a5a800487c758e45653ddde68badc6fbd80920b.zip
- Use --enable-examplesdir
- draft-ietf-6man-rfc3484bis now becomes RFC6724 PR: ports/165796 Submitted by: Tobias Rehbein <tobias.rehbein@web.de> Feature safe: yes
Notes
Notes: svn path=/head/; revision=306297
Diffstat (limited to 'net/miredo')
-rw-r--r--net/miredo/Makefile4
-rw-r--r--net/miredo/files/ip6addrctl.conf4
-rw-r--r--net/miredo/pkg-plist9
3 files changed, 8 insertions, 9 deletions
diff --git a/net/miredo/Makefile b/net/miredo/Makefile
index aa5d9b04d6ef..7accf4eb8938 100644
--- a/net/miredo/Makefile
+++ b/net/miredo/Makefile
@@ -7,7 +7,7 @@
PORTNAME= miredo
PORTVERSION= 1.2.5
-PORTREVISION= 1
+PORTREVISION= 2
CATEGORIES= net ipv6
MASTER_SITES= http://www.remlab.net/files/miredo/archive/
@@ -18,7 +18,7 @@ LIB_DEPENDS= Judy.1:${PORTSDIR}/devel/judy
USE_XZ= yes
GNU_CONFIGURE= yes
-CONFIGURE_ARGS= --localstatedir=/var
+CONFIGURE_ARGS= --localstatedir=/var --enable-examplesdir=$(EXAMPLESDIR)
USE_LDCONFIG= yes
OPTIONS= POLICYTABLE "Install policy table to support teredo" off
diff --git a/net/miredo/files/ip6addrctl.conf b/net/miredo/files/ip6addrctl.conf
index c779d303b587..882801376bde 100644
--- a/net/miredo/files/ip6addrctl.conf
+++ b/net/miredo/files/ip6addrctl.conf
@@ -1,5 +1,5 @@
-# Revised default policy table to support teredo defined in the below draft
-# http://tools.ietf.org/id/draft-ietf-6man-rfc3484bis-06.txt
+# Revised default policy table to support teredo defined in RFC6724
+# http://www.rfc-editor.org/rfc/rfc6724.txt
::1/128 50 0
::/0 40 1
::ffff:0:0/96 35 4
diff --git a/net/miredo/pkg-plist b/net/miredo/pkg-plist
index 3e7f847739d0..631e4db4ebfc 100644
--- a/net/miredo/pkg-plist
+++ b/net/miredo/pkg-plist
@@ -15,16 +15,15 @@ include/libteredo/teredo.h
include/libteredo/teredo-udp.h
include/libteredo/tunnel.h
include/libtun6/tun6.h
-@unexec [ -f %D/etc/miredo/miredo.conf ] && cmp -s %D/etc/miredo/miredo.conf %D/%%DOCSDIR%%/examples/miredo.conf && rm %D/etc/miredo/miredo.conf || true
+@unexec [ -f %D/etc/miredo/miredo.conf ] && cmp -s %D/etc/miredo/miredo.conf %D/%%%EXAMPLESDIR%%/miredo.conf && rm %D/etc/miredo/miredo.conf || true
etc/miredo/client-hook
@exec [ -f %B/miredo/miredo.conf ] || cp %F %B/miredo/miredo.conf
-%%DOCSDIR%%/examples/miredo-server.conf
-%%DOCSDIR%%/examples/miredo.conf
+%%EXAMPLESDIR%%/miredo.conf
+%%EXAMPLESDIR%%/miredo-server.conf
%%NLS%%share/locale/en/LC_MESSAGES/miredo.mo
%%NLS%%share/locale/en_GB/LC_MESSAGES/miredo.mo
%%NLS%%share/locale/fr/LC_MESSAGES/miredo.mo
-@dirrm %%DOCSDIR%%/examples
-@dirrm %%DOCSDIR%%
+@dirrm %%EXAMPLESDIR%%
@dirrmtry etc/miredo
@dirrm include/libtun6
@dirrm include/libteredo