summaryrefslogtreecommitdiff
path: root/sysutils/hal
diff options
context:
space:
mode:
authorJoe Marcus Clarke <marcus@FreeBSD.org>2006-11-17 06:39:25 +0000
committerJoe Marcus Clarke <marcus@FreeBSD.org>2006-11-17 06:39:25 +0000
commit83eccb167f2ab791a333501adbace31b5494a1ce (patch)
tree5237224ff8d97de74e791b108a509901ae6d13b0 /sysutils/hal
parentBROKEN: Incomplete pkg-plist (diff)
Update to snapshot 20661117.
* Account for ACPI BIOSes that report a rate of 0xffff while they are still initializing (adapted from the HAL linux backend) * Add support for two new net properties: net.freebsd.ifindex and net.80203.rate * Add support for the MBREXT GEOM class * Create /media for 6.1 and 5.5 users that do not have this directory in mtree
Notes
Notes: svn path=/head/; revision=177423
Diffstat (limited to 'sysutils/hal')
-rw-r--r--sysutils/hal/Makefile18
-rw-r--r--sysutils/hal/distinfo6
-rw-r--r--sysutils/hal/pkg-plist2
3 files changed, 20 insertions, 6 deletions
diff --git a/sysutils/hal/Makefile b/sysutils/hal/Makefile
index f778c22e63d5..f8f7f3141657 100644
--- a/sysutils/hal/Makefile
+++ b/sysutils/hal/Makefile
@@ -8,7 +8,7 @@
PORTNAME= hal
PORTVERSION= ${HALVERSION}.${SNAPVERSION}
-PORTREVISION?= 2
+PORTREVISION?= 0
CATEGORIES?= sysutils
MASTER_SITES= http://www.marcuscom.com/downloads/
@@ -40,7 +40,7 @@ CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
GTKDOC="false"
HALVERSION= 0.5.8
-SNAPVERSION= 20061107
+SNAPVERSION= 20061117
.if !defined(HAL_SLAVE)
USE_RC_SUBR= hald
@@ -81,10 +81,19 @@ INSTALL_WRKSRC= ${BUILD_WRKSRC}
.include <bsd.port.pre.mk>
-.if !defined(HAL_SLAVE) && (${ARCH}=="i386" || ${ARCH}=="amd64" || ${ARCH}=="ia64")
+.if !defined(HAL_SLAVE)
+.if (${ARCH}=="i386" || ${ARCH}=="amd64" || ${ARCH}=="ia64")
RUN_DEPENDS+= dmidecode:${PORTSDIR}/sysutils/dmidecode
.endif
+.if ${OSVERSION} <= 601100
+NEEDS_MEDIA= yes
+PLIST_SUB+= MEDIA=""
+.else
+PLIST_SUB+= MEDIA="@comment "
+.endif
+.endif
+
post-patch:
.if !defined(HAL_SLAVE)
@${REINPLACE_CMD} -e 's|device-manager||' \
@@ -108,6 +117,9 @@ post-install:
${DATADIR}/dist
@${SETENV} PKG_PREFIX=${PREFIX} PACKAGE_BUILDING=${PACKAGE_BUILDING} \
${SH} ${PKGINSTALL} ${PKGNAME} POST-INSTALL
+.if !defined(PACKAGE_BUILDING) && defined(NEEDS_MEDIA)
+ ${MKDIR} /media
+.endif
.if !defined(NOPORTDOCS)
${INSTALL_DATA} ${WRKSRC}/hald/freebsd/README \
${DOCSDIR}/README.freebsd
diff --git a/sysutils/hal/distinfo b/sysutils/hal/distinfo
index 4a70096ecda8..94682b20c405 100644
--- a/sysutils/hal/distinfo
+++ b/sysutils/hal/distinfo
@@ -1,3 +1,3 @@
-MD5 (hal-0.5.8.20061107.tar.bz2) = 2f31ccda972fdba7165a8677eff123c8
-SHA256 (hal-0.5.8.20061107.tar.bz2) = cd94e11725d758826ab35d146f5ac3abc64de1d3bc7a6d98f172a06864bf9934
-SIZE (hal-0.5.8.20061107.tar.bz2) = 1371504
+MD5 (hal-0.5.8.20061117.tar.bz2) = 855723b866949a5165770f00337efde4
+SHA256 (hal-0.5.8.20061117.tar.bz2) = 1a6d91667949aeaf4bdfc66b1d8f1d742204345f62bc1332c76fd152b015267c
+SIZE (hal-0.5.8.20061117.tar.bz2) = 1371738
diff --git a/sysutils/hal/pkg-plist b/sysutils/hal/pkg-plist
index eb50faeed3e2..bbd060de1bf3 100644
--- a/sysutils/hal/pkg-plist
+++ b/sysutils/hal/pkg-plist
@@ -1,3 +1,4 @@
+%%MEDIA%%@exec mkdir -p /media
bin/hal-device
bin/hal-find-by-capability
bin/hal-find-by-property
@@ -156,3 +157,4 @@ share/locale/zh_TW/LC_MESSAGES/hal.mo
@dirrmtry share/locale/el
@dirrmtry share/locale/cs/LC_MESSAGES
@dirrmtry share/locale/cs
+%%MEDIA%%@unexec rmdir /media 2>/dev/null || true