summaryrefslogtreecommitdiffstats
path: root/sysutils/hal
diff options
context:
space:
mode:
authormarcus <marcus@df743ca5-7f9a-e211-a948-0013205c9059>2006-05-06 07:50:38 +0800
committermarcus <marcus@df743ca5-7f9a-e211-a948-0013205c9059>2006-05-06 07:50:38 +0800
commit1318821dfb1d52b4d332e02b8775495ef32ad639 (patch)
tree02b29d9feb540bda87fe64132c676f5f2dec590a /sysutils/hal
parentba386f91a5a26128a097e7a2850ecbfaa3b54858 (diff)
downloadmarcuscom-ports-1318821dfb1d52b4d332e02b8775495ef32ad639.tar
marcuscom-ports-1318821dfb1d52b4d332e02b8775495ef32ad639.tar.gz
marcuscom-ports-1318821dfb1d52b4d332e02b8775495ef32ad639.tar.bz2
marcuscom-ports-1318821dfb1d52b4d332e02b8775495ef32ad639.tar.lz
marcuscom-ports-1318821dfb1d52b4d332e02b8775495ef32ad639.tar.xz
marcuscom-ports-1318821dfb1d52b4d332e02b8775495ef32ad639.tar.zst
marcuscom-ports-1318821dfb1d52b4d332e02b8775495ef32ad639.zip
Update to a snapshot from today. This new snapshot offers the following:
* ACPI battery detection bug fixed * ACPI button press support * Support for unmounting CDs before ejecting them * Fixed socket directory creation * Fixed LCD brightness control * Fixed potential assertion in devd code * No compiler warnings for FreeBSD backend git-svn-id: svn://creme-brulee.marcuscom.com/ports/trunk@6220 df743ca5-7f9a-e211-a948-0013205c9059
Diffstat (limited to 'sysutils/hal')
-rw-r--r--sysutils/hal/Makefile6
-rw-r--r--sysutils/hal/distinfo6
-rw-r--r--sysutils/hal/files/hald.in10
-rw-r--r--sysutils/hal/pkg-install2
-rw-r--r--sysutils/hal/pkg-plist3
5 files changed, 6 insertions, 21 deletions
diff --git a/sysutils/hal/Makefile b/sysutils/hal/Makefile
index b35df71b4..0ee1f6f5d 100644
--- a/sysutils/hal/Makefile
+++ b/sysutils/hal/Makefile
@@ -3,12 +3,11 @@
# Whom: Joe Marcus Clarke <marcus@FreeBSD.org>
#
# $FreeBSD$
-# $MCom: ports/sysutils/hal/Makefile,v 1.7 2006/05/04 19:26:25 jylefort Exp $
+# $MCom: ports/sysutils/hal/Makefile,v 1.8 2006/05/04 20:25:33 marcus Exp $
#
PORTNAME= hal
PORTVERSION= ${HALVERSION}.${SNAPVERSION}
-PORTREVISION= 2
CATEGORIES= sysutils gnome
MASTER_SITES= http://www.marcuscom.com/downloads/
@@ -30,6 +29,7 @@ USE_PYTHON= yes
CONFIGURE_ARGS= --disable-gtk-doc \
--with-hwdata=${LOCALBASE}/share \
--with-backend=freebsd \
+ --with-socket-dir=/var/run/hald \
--with-pid-file=/var/run/hald/hald.pid
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
LDFLAGS="-L${LOCALBASE}/lib" \
@@ -38,7 +38,7 @@ CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
USE_RC_SUBR= hald
HALVERSION= 0.5.8
-SNAPVERSION= 20060503
+SNAPVERSION= 20060505
DOCSDIR= ${PREFIX}/share/doc/${PORTNAME}-${HALVERSION}
PLIST_SUB= VERSION=${HALVERSION}
diff --git a/sysutils/hal/distinfo b/sysutils/hal/distinfo
index 9a5fdc4a9..921094463 100644
--- a/sysutils/hal/distinfo
+++ b/sysutils/hal/distinfo
@@ -1,3 +1,3 @@
-MD5 (hal-0.5.8.20060503.tar.bz2) = 38884bfdfb5c9f25e98373e9f619bae0
-SHA256 (hal-0.5.8.20060503.tar.bz2) = 7fc307d6b381507adda08d1228421ff41a6ee26b50ad88ef192ae1816ebcb0d9
-SIZE (hal-0.5.8.20060503.tar.bz2) = 1381572
+MD5 (hal-0.5.8.20060505.tar.bz2) = cfce87233aa359ec56c23b8dcb8fd59b
+SHA256 (hal-0.5.8.20060505.tar.bz2) = 047a771b0da4060a2a032137818f111c1bc405b2cb16454f70b0fb90d9a9d20a
+SIZE (hal-0.5.8.20060505.tar.bz2) = 1380908
diff --git a/sysutils/hal/files/hald.in b/sysutils/hal/files/hald.in
index fb12c8be2..923ff8193 100644
--- a/sysutils/hal/files/hald.in
+++ b/sysutils/hal/files/hald.in
@@ -21,22 +21,12 @@ rcvar=`set_rcvar`
command="%%PREFIX%%/sbin/hald"
pidfile="/var/run/${name}/${name}.pid"
-start_precmd=start_precmd
stop_postcmd=stop_postcmd
-start_precmd()
-{
- mkdir -p /tmp/hald-local
- mkdir -p /tmp/hald-runner
-}
-
stop_postcmd()
{
rm -f $pidfile
- rm -rf /tmp/hald-local
- rm -rf /tmp/hald-runner
}
-
load_rc_config ${name}
run_rc_command "$1"
diff --git a/sysutils/hal/pkg-install b/sysutils/hal/pkg-install
index b4e81fa57..dfba18feb 100644
--- a/sysutils/hal/pkg-install
+++ b/sysutils/hal/pkg-install
@@ -33,8 +33,6 @@ POST-INSTALL)
fi
/usr/bin/install -d -o ${USER} -g ${GROUP} /var/run/hald
- /usr/bin/install -d -o ${USER} -g ${GROUP} /tmp/hald-local
- /usr/bin/install -d -o ${USER} -g ${GROUP} /tmp/hald-runner
exit 0
;;
esac
diff --git a/sysutils/hal/pkg-plist b/sysutils/hal/pkg-plist
index 6b7916056..13fe07ae1 100644
--- a/sysutils/hal/pkg-plist
+++ b/sysutils/hal/pkg-plist
@@ -179,7 +179,4 @@ share/locale/zh_TW/LC_MESSAGES/hal.mo
@cwd /var/run
@unexec rm -f %D/hald/hald.pid
@dirrm hald
-@cwd /tmp
-@unexec rm -rf %D/hald-local 2>/dev/null || true
-@unexec rm -rf %D/hald-runner 2>/dev/null || true
@cwd %%PREFIX%%