From owner-freebsd-ports-bugs@FreeBSD.ORG Sun Dec 30 19:30:01 2007 Return-Path: Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id B5AEF16A418 for ; Sun, 30 Dec 2007 19:30:01 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 97CE513C457 for ; Sun, 30 Dec 2007 19:30:01 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.14.2/8.14.2) with ESMTP id lBUJU11G032668 for ; Sun, 30 Dec 2007 19:30:01 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.2/8.14.1/Submit) id lBUJU1E1032667; Sun, 30 Dec 2007 19:30:01 GMT (envelope-from gnats) Resent-Date: Sun, 30 Dec 2007 19:30:01 GMT Resent-Message-Id: <200712301930.lBUJU1E1032667@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Roy Marples Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 43E1C16A417 for ; Sun, 30 Dec 2007 19:23:24 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (www.freebsd.org [IPv6:2001:4f8:fff6::21]) by mx1.freebsd.org (Postfix) with ESMTP id 2A8AF13C46E for ; Sun, 30 Dec 2007 19:23:24 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (localhost [127.0.0.1]) by www.freebsd.org (8.14.2/8.14.2) with ESMTP id lBUJMeOI007375 for ; Sun, 30 Dec 2007 19:22:40 GMT (envelope-from nobody@www.freebsd.org) Received: (from nobody@localhost) by www.freebsd.org (8.14.2/8.14.1/Submit) id lBUJMeqD007374; Sun, 30 Dec 2007 19:22:40 GMT (envelope-from nobody) Message-Id: <200712301922.lBUJMeqD007374@www.freebsd.org> Date: Sun, 30 Dec 2007 19:22:40 GMT From: Roy Marples To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-3.1 Cc: Subject: ports/119173: [NEW PORT] net/dhcpcd X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 30 Dec 2007 19:30:01 -0000 >Number: 119173 >Category: ports >Synopsis: [NEW PORT] net/dhcpcd >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Sun Dec 30 19:30:01 UTC 2007 >Closed-Date: >Last-Modified: >Originator: Roy Marples >Release: FreeBSD-7.0-RC1 >Organization: >Environment: FreeBSD uberlaptop 7.0-RC1 FreeBSD 7.0-RC1 #11: Sun Dec 30 17:17:23 GMT 2007 root@uberlaptop:/usr/obj/usr/src/sys/UBERKERNEL i386 >Description: dhcpcd - an RFC2131 compliant DHCP client This is the same DHCP client as used by many Linux distributions, such as Gentoo. Compared to dhclient it supports more DHCP options out of the box and doesn't require running any userland scripts to configure the interface. It also supports resolvconf, so many applications can write to /etc/resolv.conf sanely. Various knobs in /etc need to be changed by the user from dhclient to dhcpcd, such as the rc script to call in /etc/devd.conf. >How-To-Repeat: >Fix: Patch attached with submission follows: # This is a shell archive. Save it in a file, remove anything before # this line, and then unpack it by entering "sh file". Note, it may # create directories; files and directories will be owned by you and # have default permissions. # # This archive contains: # # dhcpcd # dhcpcd/Makefile # dhcpcd/files # dhcpcd/files/dhcpcd.in # dhcpcd/pkg-descr # dhcpcd/distinfo # dhcpcd/pkg-plist # echo c - dhcpcd mkdir -p dhcpcd > /dev/null 2>&1 echo x - dhcpcd/Makefile sed 's/^X//' >dhcpcd/Makefile << 'END-of-dhcpcd/Makefile' X# New ports collection makefile for: dhcpcd X# Date created: 30 December 2007 X# Whom: Roy Marples X# X# $FreeBSD: $ X XPORTNAME= dhcpcd XPORTVERSION= 3.1.8 XCATEGORIES= net XMASTER_SITES= ${MASTER_SITE_BERLIOS} XMASTER_SITE_SUBDIR= dhcpcd X XMAINTAINER= roy@marples.name XCOMMENT= DHCP client X XMAN8= dhcpcd.8 X XUSE_BZIP2= yes XUSE_RC_SUBR= dhcpcd X XMAKE_ARGS= INFODIR=/var/db X X.include END-of-dhcpcd/Makefile echo c - dhcpcd/files mkdir -p dhcpcd/files > /dev/null 2>&1 echo x - dhcpcd/files/dhcpcd.in sed 's/^X//' >dhcpcd/files/dhcpcd.in << 'END-of-dhcpcd/files/dhcpcd.in' X#!/bin/sh X X# PROVIDE: dhclient X# KEYWORD: nojail nostart X# X X. /etc/rc.subr X. /etc/network.subr X Xname="dhcpcd" Xifn="$2" Xcommand="/usr/local/sbin/dhcpcd" Xcommand_args="$ifn" Xpidfile="/var/run/dhcpcd-$ifn.pid" Xstart_precmd="dhcpcd_precmd" X Xdhcpcd_precmd() X{ X # Override for $ifn specific flags (see rc.subr for $flags setting) X specific=`get_if_var $ifn dhcpcd_flags_IF` X if [ -z "$flags" -a -n "$specific" ]; then X rc_flags=$specific X fi X X # dhcpcd may need local binaries X export PATH=${PATH}:/usr/local/sbin X} X Xload_rc_config $name Xload_rc_config network X Xif ! dhcpif $ifn; then X return 1 Xfi X Xrun_rc_command "$1" END-of-dhcpcd/files/dhcpcd.in echo x - dhcpcd/pkg-descr sed 's/^X//' >dhcpcd/pkg-descr << 'END-of-dhcpcd/pkg-descr' Xdhcpcd is an RFC2131 compliant DHCP client. X XWWW: http://dhcpcd.berlios.de END-of-dhcpcd/pkg-descr echo x - dhcpcd/distinfo sed 's/^X//' >dhcpcd/distinfo << 'END-of-dhcpcd/distinfo' XMD5 (dhcpcd-3.1.8.tar.bz2) = 11fde90e8132d25abb2497838199e1e5 XSHA256 (dhcpcd-3.1.8.tar.bz2) = 7a1589c434da8842b0f399362927d71d804162e3a1269d3eb779ff1cc0a4cc90 XSIZE (dhcpcd-3.1.8.tar.bz2) = 45417 END-of-dhcpcd/distinfo echo x - dhcpcd/pkg-plist sed 's/^X//' >dhcpcd/pkg-plist << 'END-of-dhcpcd/pkg-plist' Xsbin/dhcpcd END-of-dhcpcd/pkg-plist exit >Release-Note: >Audit-Trail: >Unformatted: