summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormarcus <marcus@df743ca5-7f9a-e211-a948-0013205c9059>2006-05-03 13:59:59 +0800
committermarcus <marcus@df743ca5-7f9a-e211-a948-0013205c9059>2006-05-03 13:59:59 +0800
commitc6305b0bb348f0f8f81075c6f8b160f82a286d7d (patch)
tree5dd2c6f04d7b27df3394ab7614a6e3ce81b49760
parentd7fa494fe1e26faaf2eba94108ed45ceb331813a (diff)
downloadmarcuscom-ports-c6305b0bb348f0f8f81075c6f8b160f82a286d7d.tar
marcuscom-ports-c6305b0bb348f0f8f81075c6f8b160f82a286d7d.tar.gz
marcuscom-ports-c6305b0bb348f0f8f81075c6f8b160f82a286d7d.tar.bz2
marcuscom-ports-c6305b0bb348f0f8f81075c6f8b160f82a286d7d.tar.lz
marcuscom-ports-c6305b0bb348f0f8f81075c6f8b160f82a286d7d.tar.xz
marcuscom-ports-c6305b0bb348f0f8f81075c6f8b160f82a286d7d.tar.zst
marcuscom-ports-c6305b0bb348f0f8f81075c6f8b160f82a286d7d.zip
As a band-aid, create and remove the socket directories at install and
deinstall time. This will allow hald to be run in debugging mode OOB. git-svn-id: svn://creme-brulee.marcuscom.com/ports/trunk@6203 df743ca5-7f9a-e211-a948-0013205c9059
-rw-r--r--sysutils/hal/Makefile3
-rw-r--r--sysutils/hal/pkg-install2
-rw-r--r--sysutils/hal/pkg-plist6
3 files changed, 10 insertions, 1 deletions
diff --git a/sysutils/hal/Makefile b/sysutils/hal/Makefile
index 347daff37..2f28a9645 100644
--- a/sysutils/hal/Makefile
+++ b/sysutils/hal/Makefile
@@ -3,11 +3,12 @@
# Whom: Joe Marcus Clarke <marcus@FreeBSD.org>
#
# $FreeBSD$
-# $MCom: ports/sysutils/hal/Makefile,v 1.4 2006/05/02 19:40:36 ahze Exp $
+# $MCom: ports/sysutils/hal/Makefile,v 1.5 2006/05/03 05:24:32 marcus Exp $
#
PORTNAME= hal
PORTVERSION= ${HALVERSION}.${SNAPVERSION}
+PORTREVISION= 1
CATEGORIES= sysutils gnome
MASTER_SITES= http://www.marcuscom.com/downloads/
diff --git a/sysutils/hal/pkg-install b/sysutils/hal/pkg-install
index dfba18feb..b4e81fa57 100644
--- a/sysutils/hal/pkg-install
+++ b/sysutils/hal/pkg-install
@@ -33,6 +33,8 @@ 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 a295874e8..adc4b6699 100644
--- a/sysutils/hal/pkg-plist
+++ b/sysutils/hal/pkg-plist
@@ -174,3 +174,9 @@ share/locale/zh_TW/LC_MESSAGES/hal.mo
@dirrm etc/hal/fdi/information
@dirrm etc/hal/fdi
@dirrm etc/hal
+@cwd /var/run
+@unexec rm -f %D/hald/hald.pid
+@dirrm hald
+@cwd /tmp
+@unexec rm -rf %D/hald-local
+@unexec rm -rf %D/hald-runner