diff options
author | marcus <marcus@df743ca5-7f9a-e211-a948-0013205c9059> | 2006-10-14 18:33:48 +0800 |
---|---|---|
committer | marcus <marcus@df743ca5-7f9a-e211-a948-0013205c9059> | 2006-10-14 18:33:48 +0800 |
commit | 1b3327761c8bcb98d89b529daeae9600844b4361 (patch) | |
tree | 0be1cd4eb5fec6661da4798906b0d9bd522e794f /sysutils/hal/files | |
parent | a65aedbb59fd9dfb33a4633611777da99ec4dcd5 (diff) | |
download | marcuscom-ports-1b3327761c8bcb98d89b529daeae9600844b4361.tar marcuscom-ports-1b3327761c8bcb98d89b529daeae9600844b4361.tar.gz marcuscom-ports-1b3327761c8bcb98d89b529daeae9600844b4361.tar.bz2 marcuscom-ports-1b3327761c8bcb98d89b529daeae9600844b4361.tar.lz marcuscom-ports-1b3327761c8bcb98d89b529daeae9600844b4361.tar.xz marcuscom-ports-1b3327761c8bcb98d89b529daeae9600844b4361.tar.zst marcuscom-ports-1b3327761c8bcb98d89b529daeae9600844b4361.zip |
Clean out MarcusCom after the big import into ports.
Next stop, GNOME 2.17.
git-svn-id: svn://creme-brulee.marcuscom.com/ports/trunk@7799 df743ca5-7f9a-e211-a948-0013205c9059
Diffstat (limited to 'sysutils/hal/files')
-rw-r--r-- | sysutils/hal/files/hald.in | 62 | ||||
-rw-r--r-- | sysutils/hal/files/patch-Makefile.in | 25 | ||||
-rw-r--r-- | sysutils/hal/files/patch-doc_Makefile.in | 11 | ||||
-rw-r--r-- | sysutils/hal/files/patch-tools_Makefile.in | 11 | ||||
-rw-r--r-- | sysutils/hal/files/patch-tools_hal-device.c | 11 | ||||
-rw-r--r-- | sysutils/hal/files/patch-tools_lshal.c | 11 | ||||
-rw-r--r-- | sysutils/hal/files/pkg-deinstall.in | 12 | ||||
-rw-r--r-- | sysutils/hal/files/pkg-install.in | 47 |
8 files changed, 0 insertions, 190 deletions
diff --git a/sysutils/hal/files/hald.in b/sysutils/hal/files/hald.in deleted file mode 100644 index aefba2194..000000000 --- a/sysutils/hal/files/hald.in +++ /dev/null @@ -1,62 +0,0 @@ -#!/bin/sh -# -# $FreeBSD$ -# -# PROVIDE: hald -# REQUIRE: DAEMON dbus polkitd -# -# Add the following line to /etc/rc.conf to enable the HAL daemon: -# -# hald_enable="YES" -# - -hald_enable=${hald_enable-"NO"} -hald_flags=${hald_flags-""} - -. %%RC_SUBR%% - -name=hald -rcvar=`set_rcvar` - -command="%%PREFIX%%/sbin/hald" -pidfile="/var/run/${name}/${name}.pid" - -stop_postcmd="hald_postcmd" -start_precmd="hald_precmd" - -local_force_depend() -{ - _depend="$1" - if [ -f %%LOCALBASE%%/etc/rc.d/${_depend}.sh ]; then - _depend="${_depend}.sh" - fi - - if ! %%LOCALBASE%%/etc/rc.d/${_depend} forcestatus 1>/dev/null 2>&1 && - ! %%LOCALBASE%%/etc/rc.d/${_depend} forcestart; then - return 1 - fi - return 0 -} - -hald_precmd() -{ - if ! checkyesno dbus_enable - then - local_force_depend dbus || return 1 - fi - - if ! checkyesno polkitd_enable - then - local_force_depend polkitd || return 1 - fi - - mkdir -p $(dirname $pidfile) -} - -hald_postcmd() -{ - rm -f $pidfile -} - -load_rc_config ${name} -run_rc_command "$1" diff --git a/sysutils/hal/files/patch-Makefile.in b/sysutils/hal/files/patch-Makefile.in deleted file mode 100644 index 27219f54c..000000000 --- a/sysutils/hal/files/patch-Makefile.in +++ /dev/null @@ -1,25 +0,0 @@ ---- Makefile.in.orig Thu May 4 15:35:41 2006 -+++ Makefile.in Thu May 4 15:36:40 2006 -@@ -377,14 +377,14 @@ distclean-libtool: - -rm -f libtool - uninstall-info-am: - install-dist_dbusDATA: $(dist_dbus_DATA) -- @$(NORMAL_INSTALL) -- test -z "$(dbusdir)" || $(mkdir_p) "$(DESTDIR)$(dbusdir)" -- @list='$(dist_dbus_DATA)'; for p in $$list; do \ -- if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \ -- f=$(am__strip_dir) \ -- echo " $(dist_dbusDATA_INSTALL) '$$d$$p' '$(DESTDIR)$(dbusdir)/$$f'"; \ -- $(dist_dbusDATA_INSTALL) "$$d$$p" "$(DESTDIR)$(dbusdir)/$$f"; \ -- done -+# @$(NORMAL_INSTALL) -+# test -z "$(dbusdir)" || $(mkdir_p) "$(DESTDIR)$(dbusdir)" -+# @list='$(dist_dbus_DATA)'; for p in $$list; do \ -+# if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \ -+# f=$(am__strip_dir) \ -+# echo " $(dist_dbusDATA_INSTALL) '$$d$$p' '$(DESTDIR)$(dbusdir)/$$f'"; \ -+# $(dist_dbusDATA_INSTALL) "$$d$$p" "$(DESTDIR)$(dbusdir)/$$f"; \ -+# done - - uninstall-dist_dbusDATA: - @$(NORMAL_UNINSTALL) diff --git a/sysutils/hal/files/patch-doc_Makefile.in b/sysutils/hal/files/patch-doc_Makefile.in deleted file mode 100644 index d05f0136c..000000000 --- a/sysutils/hal/files/patch-doc_Makefile.in +++ /dev/null @@ -1,11 +0,0 @@ ---- doc/Makefile.in.orig Tue May 2 01:04:31 2006 -+++ doc/Makefile.in Tue May 2 01:04:42 2006 -@@ -269,7 +269,7 @@ sharedstatedir = @sharedstatedir@ - sysconfdir = @sysconfdir@ - target_alias = @target_alias@ - EXTRA_DIST = TODO --SUBDIRS = api spec conf -+SUBDIRS = spec conf - all: all-recursive - - .SUFFIXES: diff --git a/sysutils/hal/files/patch-tools_Makefile.in b/sysutils/hal/files/patch-tools_Makefile.in deleted file mode 100644 index c5ce92827..000000000 --- a/sysutils/hal/files/patch-tools_Makefile.in +++ /dev/null @@ -1,11 +0,0 @@ ---- tools/Makefile.in.orig Tue May 2 20:23:05 2006 -+++ tools/Makefile.in Tue May 2 20:23:22 2006 -@@ -325,7 +325,7 @@ - sharedstatedir = @sharedstatedir@ - sysconfdir = @sysconfdir@ - target_alias = @target_alias@ --SUBDIRS = freebsd linux device-manager -+SUBDIRS = freebsd device-manager - INCLUDES = \ - -DPACKAGE_LIBEXEC_DIR=\""$(libexecdir)"\" \ - -DPACKAGE_SYSCONF_DIR=\""$(sysconfdir)"\" \ diff --git a/sysutils/hal/files/patch-tools_hal-device.c b/sysutils/hal/files/patch-tools_hal-device.c deleted file mode 100644 index 3cda9aa14..000000000 --- a/sysutils/hal/files/patch-tools_hal-device.c +++ /dev/null @@ -1,11 +0,0 @@ ---- tools/hal-device.c.orig Sat Oct 7 18:15:26 2006 -+++ tools/hal-device.c Sat Oct 7 18:15:34 2006 -@@ -155,7 +155,7 @@ int main(int argc, char **argv) - - libhal_ctx_shutdown(hal_ctx, &error); - libhal_ctx_free(hal_ctx); -- dbus_connection_disconnect(conn); -+ dbus_connection_close(conn); - dbus_connection_unref(conn); - dbus_error_free(&error); - diff --git a/sysutils/hal/files/patch-tools_lshal.c b/sysutils/hal/files/patch-tools_lshal.c deleted file mode 100644 index 4b7d289ef..000000000 --- a/sysutils/hal/files/patch-tools_lshal.c +++ /dev/null @@ -1,11 +0,0 @@ ---- tools/lshal.c.orig Sat Oct 7 18:14:43 2006 -+++ tools/lshal.c Sat Oct 7 18:14:59 2006 -@@ -705,7 +705,7 @@ main (int argc, char *argv[]) - libhal_ctx_shutdown (hal_ctx, &error); - libhal_ctx_free (hal_ctx); - -- dbus_connection_disconnect (conn); -+ dbus_connection_close (conn); - dbus_connection_unref (conn); - - if (show_device) diff --git a/sysutils/hal/files/pkg-deinstall.in b/sysutils/hal/files/pkg-deinstall.in deleted file mode 100644 index 96f8e9f91..000000000 --- a/sysutils/hal/files/pkg-deinstall.in +++ /dev/null @@ -1,12 +0,0 @@ -#!/bin/sh - -[ "$2" != DEINSTALL ] && exit 0 - -for pair in %%RC_FILES%%; do - file=`echo $pair | cut -f 1 -d :` - destdir=`echo $pair | cut -f 2 -d :` - - if cmp -s %%DATADIR%%/dist/$file $destdir/$file; then - rm -f $destdir/$file - fi -done diff --git a/sysutils/hal/files/pkg-install.in b/sysutils/hal/files/pkg-install.in deleted file mode 100644 index 2cfda5753..000000000 --- a/sysutils/hal/files/pkg-install.in +++ /dev/null @@ -1,47 +0,0 @@ -#!/bin/sh - -[ "$2" != POST-INSTALL ] && exit 0 - -if [ -z "${PACKAGE_BUILDING}" ]; then - USER=haldaemon - GROUP=${USER} - UID=560 - GID=${UID} - PW=/usr/sbin/pw - - if ${PW} group show "${GROUP}" 2>/dev/null; then - echo "You already have a group \"${GROUP}\", so I will use it." - else - if ${PW} groupadd ${GROUP} -g ${GID}; then - echo "Added group \"${GROUP}\"." - else - echo "Adding group \"${GROUP}\" failed..." - exit 1 - fi - fi - - if ${PW} user show "${USER}" 2>/dev/null; then - echo "You already have a user \"${USER}\", so I will use it." - else - if ${PW} useradd ${USER} -u ${UID} -g ${GROUP} -h - \ - -d "/nonexistent" -s /sbin/nologin -c "HAL Daemon User" - then - echo "Added user \"${USER}\"." - else - echo "Adding user \"${USER}\" failed..." - exit 1 - fi - fi - - /usr/bin/install -d -o ${USER} -g ${GROUP} /var/run/hald -fi - -for pair in %%RC_FILES%%; do - file=`echo $pair | cut -f 1 -d :` - destdir=`echo $pair | cut -f 2 -d :` - - if [ ! -f $destdir/$file ]; then - mkdir -p $destdir - cp -p %%DATADIR%%/dist/$file $destdir/$file - fi -done |