# $Id: Portfile 86030 2011-10-18 17:03:29Z ryandesign@macports.org $

PortSystem          1.0

name                radvd
version             1.8.3
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           rmd160  01e0b8ddcd21d724fe6ed658c22e8c1bce830f18 \
                    sha256  bf040b452f03542a56904ffcfc96aa9257581ad380818ac22065f0cfde7fc2e9

configure.args      --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."
