# $Id: Portfile 68740 2010-06-11 22:50:09Z ryandesign@macports.org $

PortSystem          1.0

name                radvd
version             1.6
categories          net
platforms           darwin
maintainers         sics.se:lars.rasmusson
homepage            http://www.litech.org/radvd/
master_sites        ${homepage}dist/

description         router advertisement daemon

long_description    The router advertisement daemon (radvd) is run by \
                    Linux or BSD systems acting as IPv6 routers. \
                    It sends Router Advertisement messages, specified by RFC 2461, \
                    to a local Ethernet LAN periodically and when requested by a node \
                    sending a Router Solicitation message. \
                    These messages are required for IPv6 stateless autoconfiguration.

checksums           md5     987e0660d68b4501b24dc5a068cea83c \
                    sha1    3f6f1afeab6bfc35a464e6ef6f76ae00cc285d32 \
                    rmd160  7715de55d2915e21610c8c60eb61509056899d9c

patchfiles          patch-configure

configure.args      --mandir=${prefix}/share/man \
                    --with-logfile=${prefix}/var/log/radvd.log \
                    --with-pidfile=${prefix}/var/run/radvd.pid

notes               "You must enable ipv6 forwarding to use radvd, like this:\
                    \n\n    sudo sysctl -w net.inet6.ip6.forwarding=1\
                    \n\nYou must also create a config file in ${prefix}/etc/radvd.conf\
                    \nSee \"man radvd.conf\" for how to configure radvd."
