no specifc dhcpd port found

Jonathan McKeown jonathan at hst.org.za
Thu Oct 5 00:10:20 PDT 2006


On Wednesday 04 October 2006 23:46, Noah wrote:
> Hi there,
>
> I am unable to find the dhcpd port in /usr/ports
>
> where should  I be looking?
>
> # find /usr/ports -name dhcp\*

I find the easiest way to search for ports is

# cd /usr/ports
# make search name=dhcp | grep -A2 '^Port:'

This finds every port whose name includes the string dhcp, and then gives the 
Port: line and the two following it in each response. This drops the 
Maintainer:, B-deps:, R-deps:, and Web: lines, giving you something like:

Port:   dhcp-agent-0.41
Path:   /usr/ports/net/dhcp-agent
Info:   A portable UNIX Dynamic Host Configuration suite
--
Port:   dhcp6-20040903a
Path:   /usr/ports/net/dhcp6
Info:   KAME DHCP6 client and server
--
Port:   dhcpdump-1.7
Path:   /usr/ports/net/dhcpdump
Info:   Decode and diagnose sniffed DHCP packets
--
Port:   dhcping-1.2
Path:   /usr/ports/net/dhcping
Info:   Send DHCP request to DHCP server for monitoring purposes
--
Port:   isc-dhcp3-client-3.0.1.r14_6
Path:   /usr/ports/net/isc-dhcp3-client
Info:   The ISC Dynamic Host Configuration Protocol client
--
Port:   isc-dhcp3-devel-3.0.1.r14_6
Path:   /usr/ports/net/isc-dhcp3-devel
Info:   The ISC Dynamic Host Configuration Protocol API
--
Port:   isc-dhcp3-relay-3.0.1.r14_6
Path:   /usr/ports/net/isc-dhcp3-relay
Info:   The ISC Dynamic Host Configuration Protocol relay
--
Port:   isc-dhcp3-server-3.0.1.r14_6
Path:   /usr/ports/net/isc-dhcp3-server
Info:   The ISC Dynamic Host Configuration Protocol server
--
Port:   wide-dhcp-1.4.0.6_2
Path:   /usr/ports/net-mgmt/wide-dhcp
Info:   Dynamic Host Configuration Protocol, WIDE Implementation

Jonathan


More information about the freebsd-questions mailing list