1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-02 01:20:54 +00:00

Update to 5.5.6.

PR:		ports/175621
Submitted by:	John Hein <jhein symmetricom com>
Approved by:	maintainer
This commit is contained in:
Xin LI 2013-10-29 05:37:53 +00:00
parent 97ebc5ad22
commit 90713c7acd
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=331929
4 changed files with 54 additions and 9 deletions

View File

@ -2,20 +2,23 @@
# $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/ \
LOCAL/delphij
MAINTAINER= roy@marples.name
COMMENT= DHCP client
GNU_CONFIGURE= yes
USE_BZIP2= yes
USE_RC_SUBR= dhcpcd
MAN8= dhcpcd.8
PLIST_FILES= sbin/dhcpcd
NO_STAGE= yes
CONFIGURE_ARGS+= --mandir=${PREFIX}/man
MAN5= dhcpcd.conf.5
MAN8= dhcpcd.8 dhcpcd-run-hooks.8
.include <bsd.port.mk>

View File

@ -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

View File

@ -0,0 +1,30 @@
--- ./configure.orig 2012-03-28 03:26:20.000000000 -0700
+++ ./configure 2013-10-28 22:31:50.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#*-}

12
net/dhcpcd/pkg-plist Normal file
View File

@ -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