---
name: dhcprelay
version: 1.2_1
origin: net/dhcprelay
comment: Lightweight DHCP Relay Agent with GIF tunnel support
arch: freebsd:9:x86:64
www: http://www.mavetju.org/networking/
maintainer: edwin@mavetju.org
prefix: /usr/local
licenselogic: single
flatsize: 17681
desc: |
  A light-weight DHCP Relay Agent.

  Why not the ISC DHCP Relay Agent?

  - If your RA has multiple interfaces, you get multiple requests for
    each request:

    DHCPREQUEST for 10.199.14.216 from 00:10:dc:d1:e6:39 (foo) via 10.199.14.1
    DHCPACK on 10.199.14.216 to 00:10:dc:d1:e6:39 (foo) via 10.199.14.1
    DHCPREQUEST for 10.199.14.216 from 00:10:dc:d1:e6:39 (foo) via 10.10.3.5: wrong network.
    DHCPNAK on 10.199.14.216 to 00:10:dc:d1:e6:39 via 10.10.3.5

    This RA sends only one request, coming with the IP address of the
    LAN the request came from.

  - If your RA has multiple interfaces, the outgoing interfaces to
    the WAN needs to be active in the DHCP relay otherwise answers
    are not picked up.

    This RA uses a unicast socket for returning answers.

  - If your RA has non-ethernet interfaces (GIF-tunnels for example,
    which VPN back to the central network), the answers are not picked
    up by the RA.

  Author: Edwin Groothuis <edwin@mavetju.org>
  WWW: http://www.mavetju.org/networking/
deps:
  libdnet: {origin: net/libdnet, version: 1.11_3}
categories: [net]
files:
  /usr/local/bin/dhcprelay: d5234d943344566b6d424eac32257bfbe9705dde28fabdad479e10d07060d38d
  /usr/local/etc/rc.d/dhcprelay: e5a0f3e975fb8bf683cc7b05e05dfddbb48c2b4eace235cc337058ae897a1b51
scripts:
  post-install: |
    cd /usr/local
  pre-deinstall: |
    cd /usr/local
  post-deinstall: |
    cd /usr/local
