Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 5 Oct 2006 09:11:52 +0200
From:      Jonathan McKeown <jonathan@hst.org.za>
To:        freebsd-questions@freebsd.org
Subject:   Re: no specifc dhcpd port found
Message-ID:  <200610050911.52898.jonathan@hst.org.za>
In-Reply-To: <45242BA9.9060801@enabled.com>
References:  <45242BA9.9060801@enabled.com>

Next in thread | Previous in thread | Raw E-Mail | Index | Archive | Help
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



Want to link to this message? Use this URL: <http://docs.FreeBSD.org/cgi/mid.cgi?200610050911.52898.jonathan>