Date: Sat, 26 Jan 2013 22:58:35 -0700 (MST) From: John Hein <jhein@symmetricom.com> To: FreeBSD-gnats-submit@freebsd.org Cc: Roy Marples <roy@marples.name> Subject: ports/175621: update net/dhcpcd Message-ID: <201301270558.r0R5wZ66021229@fbsd8-build-32.symmetricom.us> Resent-Message-ID: <201301270600.r0R602Zs050976@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 175621 >Category: ports >Synopsis: update net/dhcpcd >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: update >Submitter-Id: current-users >Arrival-Date: Sun Jan 27 06:00:01 UTC 2013 >Closed-Date: >Last-Modified: >Originator: John Hein >Release: >Organization: >Environment: >Description: This port hasn't been updated in a long time. >How-To-Repeat: >Fix: Index: Makefile =================================================================== --- Makefile (revision 311007) +++ Makefile (working copy) @@ -1,24 +1,21 @@ -# New ports collection makefile for: dhcpcd -# Date created: 30 December 2007 -# Whom: Roy Marples <roy@marples.name> -# +# Created by: Roy Marples <roy@marples.name> # $FreeBSD$ -# PORTNAME= dhcpcd -PORTVERSION= 3.2.3 +PORTVERSION= 5.5.6 CATEGORIES= net -MASTER_SITES= http://roy.marples.name/dhcpcd/ \ - http://critical.ch/distfiles/ \ - http://energy.critical.ch/distfiles/ +MASTER_SITES= http://roy.marples.name/downloads/dhcpcd/ MAINTAINER= roy@marples.name COMMENT= DHCP client +GNU_CONFIGURE= yes USE_BZIP2= yes USE_RC_SUBR= dhcpcd -MAN8= dhcpcd.8 -PLIST_FILES= sbin/dhcpcd +CONFIGURE_ARGS+= --mandir=${PREFIX}/man +MAN5= dhcpcd.conf.5 +MAN8= dhcpcd.8 dhcpcd-run-hooks.8 + .include <bsd.port.mk> Index: distinfo =================================================================== --- distinfo (revision 311007) +++ distinfo (working copy) @@ -1,2 +1,2 @@ -SHA256 (dhcpcd-3.2.3.tar.bz2) = 89d5fc05d7fd643200333116400d8a0eda9adf1c7f2a70e6cbca977c8d3843fe -SIZE (dhcpcd-3.2.3.tar.bz2) = 45030 +SHA256 (dhcpcd-5.5.6.tar.bz2) = 657f10dc7de48cba9f7170b593bf0e11987d06bd12378e3f4cd01b9e99b1e8e7 +SIZE (dhcpcd-5.5.6.tar.bz2) = 78185 Index: files/patch-configure =================================================================== --- files/patch-configure (revision 0) +++ files/patch-configure (working copy) @@ -0,0 +1,35 @@ +FreeBSD ports uses 'configure --version'; just exit when we get it instead +of ignoring and continuing. + +Handle a proper autoconf target triplet (that may be passed in via --build). + +--- configure.orig 2012-03-28 04:26:20.000000000 -0600 ++++ configure 2012-12-06 17:44:06.000000000 -0700 +@@ -53,7 +53,7 @@ + --includedir) eval INCLUDEDIR="$INCLUDEDIR${INCLUDEDIR:+ }$var";; + --datadir|--infodir) ;; # ignore autotools + --disable-maintainer-mode|--disable-dependency-tracking) ;; +- --help) echo "See the README file for available options"; exit 0;; ++ --help|--version) echo "See the README file for available options"; exit 0;; + *) echo "$0: WARNING: unknown option $opt" >&2;; + esac + done +@@ -101,7 +101,8 @@ + CONFIG_MK=config.mk + + if [ -z "$BUILD" ]; then +- BUILD=`uname -m`-`uname -s | tr '[:upper:]' '[:lower:]'` ++ # autoconf target triplet: cpu-vendor-os (where os = system or kernel-system) ++ BUILD=`uname -m`-unknown-`uname -s | tr '[:upper:]' '[:lower:]'` + fi + if [ -z "$HOST" ]; then + [ -z "$TARGET" ] && TARGET=$BUILD +@@ -124,6 +125,8 @@ + # Derive OS from cpu-manufacturer-os-kernel + CPU=${TARGET%%-*} + REST=${TARGET#*-} ++ VENDOR=${REST%%-*} ++ REST=${REST#*-} + if [ "$CPU" != "$REST" ]; then + MANU=${REST%%-*} + REST=${REST#*-} Index: pkg-plist =================================================================== --- pkg-plist (revision 0) +++ pkg-plist (working copy) @@ -0,0 +1,12 @@ +@comment $FreeBSD$ +etc/dhcpcd.conf +sbin/dhcpcd +libexec/dhcpcd-hooks/50-ypbind +libexec/dhcpcd-hooks/10-mtu +libexec/dhcpcd-hooks/20-resolv.conf +libexec/dhcpcd-hooks/50-ntp.conf +libexec/dhcpcd-hooks/02-dump +libexec/dhcpcd-hooks/30-hostname +libexec/dhcpcd-hooks/01-test +libexec/dhcpcd-hooks/29-lookup-hostname +libexec/dhcpcd-run-hooks >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201301270558.r0R5wZ66021229>