aboutsummaryrefslogtreecommitdiffstats
path: root/sysutils
diff options
context:
space:
mode:
authormarcus <marcus@FreeBSD.org>2006-11-17 14:39:25 +0800
committermarcus <marcus@FreeBSD.org>2006-11-17 14:39:25 +0800
commit943d0c7abfc1fd1e0bb90d93f20966e70cefe891 (patch)
treec93da0cad38aa4a2f0d0eb2adf2e0893239d1fd3 /sysutils
parent6aac6a12cf760b1ae510a1e8617daed592181253 (diff)
downloadfreebsd-ports-gnome-943d0c7abfc1fd1e0bb90d93f20966e70cefe891.tar.gz
freebsd-ports-gnome-943d0c7abfc1fd1e0bb90d93f20966e70cefe891.tar.zst
freebsd-ports-gnome-943d0c7abfc1fd1e0bb90d93f20966e70cefe891.zip
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
Diffstat (limited to 'sysutils')
-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