diff options
author | Jose V Beneyto <sepen@crux.nu> | 2016-01-20 23:58:49 +0000 |
---|---|---|
committer | Jose V Beneyto <sepen@crux.nu> | 2016-01-20 23:58:49 +0000 |
commit | c16d8cab73200a9d4c8dc09199103d9a5e53bd2e (patch) | |
tree | 4bd8af1a658779be811ec844e547515bbbdc1c42 | |
parent | 35dcb8203d0e18e8cb8d2fe8ab2e0f02f4bf1cb2 (diff) | |
download | opt-c16d8cab73200a9d4c8dc09199103d9a5e53bd2e.tar.gz opt-c16d8cab73200a9d4c8dc09199103d9a5e53bd2e.tar.xz |
hal: purged from opt
-rw-r--r-- | hal/.footprint | 172 | ||||
-rw-r--r-- | hal/.md5sum | 3 | ||||
-rw-r--r-- | hal/Pkgfile | 48 | ||||
-rw-r--r-- | hal/README | 18 | ||||
-rw-r--r-- | hal/hal.conf | 68 | ||||
-rwxr-xr-x | hal/pre-install | 13 | ||||
-rw-r--r-- | hal/rc.hald | 23 |
7 files changed, 0 insertions, 345 deletions
diff --git a/hal/.footprint b/hal/.footprint deleted file mode 100644 index d43a07db3..000000000 --- a/hal/.footprint +++ /dev/null @@ -1,172 +0,0 @@ -drwxr-xr-x root/root etc/ -drwxr-xr-x root/root etc/rc.d/ --rwxr-xr-x root/root etc/rc.d/hald -drwxr-xr-x root/root lib/ -drwxr-xr-x root/root lib/udev/ -drwxr-xr-x root/root lib/udev/rules.d/ --rw-r--r-- root/root lib/udev/rules.d/90-hal.rules -drwxr-xr-x root/root usr/ -drwxr-xr-x root/root usr/bin/ --rwxr-xr-x root/root usr/bin/hal-device --rwxr-xr-x root/root usr/bin/hal-disable-polling --rwxr-xr-x root/root usr/bin/hal-find-by-capability --rwxr-xr-x root/root usr/bin/hal-find-by-property --rwxr-xr-x root/root usr/bin/hal-get-property --rwxr-xr-x root/root usr/bin/hal-is-caller-locked-out --rwxr-xr-x root/root usr/bin/hal-lock --rwxr-xr-x root/root usr/bin/hal-set-property --rwxr-xr-x root/root usr/bin/hal-setup-keymap --rwxr-xr-x root/root usr/bin/lshal -drwxr-xr-x root/root usr/etc/ -drwxr-xr-x root/root usr/etc/dbus-1/ -drwxr-xr-x root/root usr/etc/dbus-1/system.d/ --rw-r--r-- root/root usr/etc/dbus-1/system.d/hal.conf -drwxr-xr-x root/root usr/etc/hal/ -drwxr-xr-x root/root usr/etc/hal/fdi/ -drwxr-xr-x root/root usr/etc/hal/fdi/information/ -drwxr-xr-x root/root usr/etc/hal/fdi/policy/ -drwxr-xr-x root/root usr/etc/hal/fdi/preprobe/ -drwxr-xr-x root/root usr/include/ -drwxr-xr-x root/root usr/include/hal/ --rw-r--r-- root/root usr/include/hal/libhal-storage.h --rw-r--r-- root/root usr/include/hal/libhal.h -drwxr-xr-x root/root usr/lib/ -drwxr-xr-x root/root usr/lib/hal/ --rwxr-xr-x root/root usr/lib/hal/hal-storage-cleanup-all-mountpoints --rwxr-xr-x root/root usr/lib/hal/hal-storage-cleanup-mountpoint --rwxr-xr-x root/root usr/lib/hal/hal-storage-closetray --rwxr-xr-x root/root usr/lib/hal/hal-storage-eject --rwxr-xr-x root/root usr/lib/hal/hal-storage-mount --rwxr-xr-x root/root usr/lib/hal/hal-storage-unmount --rwxr-xr-x root/root usr/lib/hal/hal-system-power-pm-is-supported --rwxr-xr-x root/root usr/lib/hal/hal-system-power-pmu --rwxr-xr-x root/root usr/lib/hal/hal-system-setserial --rwxr-xr-x root/root usr/lib/hal/hal-system-sonypic --rwxr-xr-x root/root usr/lib/hal/hald-addon-acpi --rwxr-xr-x root/root usr/lib/hal/hald-addon-cpufreq --rwxr-xr-x root/root usr/lib/hal/hald-addon-generic-backlight --rwxr-xr-x root/root usr/lib/hal/hald-addon-hid-ups --rwxr-xr-x root/root usr/lib/hal/hald-addon-imac-backlight --rwxr-xr-x root/root usr/lib/hal/hald-addon-input --rwxr-xr-x root/root usr/lib/hal/hald-addon-ipw-killswitch --rwxr-xr-x root/root usr/lib/hal/hald-addon-leds --rwxr-xr-x root/root usr/lib/hal/hald-addon-macbook-backlight --rwxr-xr-x root/root usr/lib/hal/hald-addon-macbookpro-backlight --rwxr-xr-x root/root usr/lib/hal/hald-addon-pmu --rwxr-xr-x root/root usr/lib/hal/hald-addon-rfkill-killswitch --rwxr-xr-x root/root usr/lib/hal/hald-addon-storage --rwxr-xr-x root/root usr/lib/hal/hald-generate-fdi-cache --rwxr-xr-x root/root usr/lib/hal/hald-probe-hiddev --rwxr-xr-x root/root usr/lib/hal/hald-probe-ieee1394-unit --rwxr-xr-x root/root usr/lib/hal/hald-probe-input --rwxr-xr-x root/root usr/lib/hal/hald-probe-net-bluetooth --rwxr-xr-x root/root usr/lib/hal/hald-probe-pc-floppy --rwxr-xr-x root/root usr/lib/hal/hald-probe-printer --rwxr-xr-x root/root usr/lib/hal/hald-probe-serial --rwxr-xr-x root/root usr/lib/hal/hald-probe-smbios --rwxr-xr-x root/root usr/lib/hal/hald-probe-storage --rwxr-xr-x root/root usr/lib/hal/hald-probe-volume --rwxr-xr-x root/root usr/lib/hal/hald-runner -drwxr-xr-x root/root usr/lib/hal/scripts/ --rwxr-xr-x root/root usr/lib/hal/scripts/hal-dockstation-undock --rwxr-xr-x root/root usr/lib/hal/scripts/hal-functions --rwxr-xr-x root/root usr/lib/hal/scripts/hal-luks-remove --rwxr-xr-x root/root usr/lib/hal/scripts/hal-luks-setup --rwxr-xr-x root/root usr/lib/hal/scripts/hal-luks-teardown --rwxr-xr-x root/root usr/lib/hal/scripts/hal-system-killswitch-get-power --rwxr-xr-x root/root usr/lib/hal/scripts/hal-system-killswitch-set-power --rwxr-xr-x root/root usr/lib/hal/scripts/hal-system-lcd-get-brightness --rwxr-xr-x root/root usr/lib/hal/scripts/hal-system-lcd-set-brightness --rwxr-xr-x root/root usr/lib/hal/scripts/hal-system-power-hibernate --rwxr-xr-x root/root usr/lib/hal/scripts/hal-system-power-reboot --rwxr-xr-x root/root usr/lib/hal/scripts/hal-system-power-set-power-save --rwxr-xr-x root/root usr/lib/hal/scripts/hal-system-power-shutdown --rwxr-xr-x root/root usr/lib/hal/scripts/hal-system-power-suspend --rwxr-xr-x root/root usr/lib/hal/scripts/hal-system-power-suspend-hybrid --rwxr-xr-x root/root usr/lib/hal/scripts/hal-system-wol-enable --rwxr-xr-x root/root usr/lib/hal/scripts/hal-system-wol-enabled --rwxr-xr-x root/root usr/lib/hal/scripts/hal-system-wol-supported -drwxr-xr-x root/root usr/lib/hal/scripts/linux/ --rwxr-xr-x root/root usr/lib/hal/scripts/linux/hal-dockstation-undock-linux --rwxr-xr-x root/root usr/lib/hal/scripts/linux/hal-luks-remove-linux --rwxr-xr-x root/root usr/lib/hal/scripts/linux/hal-luks-setup-linux --rwxr-xr-x root/root usr/lib/hal/scripts/linux/hal-luks-teardown-linux --rwxr-xr-x root/root usr/lib/hal/scripts/linux/hal-system-killswitch-get-power-linux --rwxr-xr-x root/root usr/lib/hal/scripts/linux/hal-system-killswitch-set-power-linux --rwxr-xr-x root/root usr/lib/hal/scripts/linux/hal-system-lcd-get-brightness-linux --rwxr-xr-x root/root usr/lib/hal/scripts/linux/hal-system-lcd-set-brightness-linux --rwxr-xr-x root/root usr/lib/hal/scripts/linux/hal-system-power-hibernate-linux --rwxr-xr-x root/root usr/lib/hal/scripts/linux/hal-system-power-reboot-linux --rwxr-xr-x root/root usr/lib/hal/scripts/linux/hal-system-power-set-power-save-linux --rwxr-xr-x root/root usr/lib/hal/scripts/linux/hal-system-power-shutdown-linux --rwxr-xr-x root/root usr/lib/hal/scripts/linux/hal-system-power-suspend-hybrid-linux --rwxr-xr-x root/root usr/lib/hal/scripts/linux/hal-system-power-suspend-linux -lrwxrwxrwx root/root usr/lib/hal/scripts/linux/hal-system-wol-enable-linux -> hal-system-wol-linux -lrwxrwxrwx root/root usr/lib/hal/scripts/linux/hal-system-wol-enabled-linux -> hal-system-wol-linux --rwxr-xr-x root/root usr/lib/hal/scripts/linux/hal-system-wol-linux -lrwxrwxrwx root/root usr/lib/hal/scripts/linux/hal-system-wol-supported-linux -> hal-system-wol-linux --rw-r--r-- root/root usr/lib/libhal-storage.a --rwxr-xr-x root/root usr/lib/libhal-storage.la -lrwxrwxrwx root/root usr/lib/libhal-storage.so -> libhal-storage.so.1.0.0 -lrwxrwxrwx root/root usr/lib/libhal-storage.so.1 -> libhal-storage.so.1.0.0 --rwxr-xr-x root/root usr/lib/libhal-storage.so.1.0.0 --rw-r--r-- root/root usr/lib/libhal.a --rwxr-xr-x root/root usr/lib/libhal.la -lrwxrwxrwx root/root usr/lib/libhal.so -> libhal.so.1.0.0 -lrwxrwxrwx root/root usr/lib/libhal.so.1 -> libhal.so.1.0.0 --rwxr-xr-x root/root usr/lib/libhal.so.1.0.0 -drwxr-xr-x root/root usr/lib/pkgconfig/ --rw-r--r-- root/root usr/lib/pkgconfig/hal-storage.pc --rw-r--r-- root/root usr/lib/pkgconfig/hal.pc -drwxr-xr-x root/root usr/man/ -drwxr-xr-x root/root usr/man/man1/ --rw-r--r-- root/root usr/man/man1/hal-disable-polling.1.gz --rw-r--r-- root/root usr/man/man1/hal-find-by-capability.1.gz --rw-r--r-- root/root usr/man/man1/hal-find-by-property.1.gz --rw-r--r-- root/root usr/man/man1/hal-get-property.1.gz --rw-r--r-- root/root usr/man/man1/hal-is-caller-locked-out.1.gz --rw-r--r-- root/root usr/man/man1/hal-lock.1.gz --rw-r--r-- root/root usr/man/man1/hal-set-property.1.gz --rw-r--r-- root/root usr/man/man1/lshal.1.gz -drwxr-xr-x root/root usr/man/man8/ --rw-r--r-- root/root usr/man/man8/hald.8.gz -drwxr-xr-x root/root usr/sbin/ --rwxr-xr-x root/root usr/sbin/hald -drwxr-xr-x root/root usr/share/ -drwxr-xr-x root/root usr/share/hal/ -drwxr-xr-x root/root usr/share/hal/fdi/ --rw-r--r-- root/root usr/share/hal/fdi/fdi.dtd -drwxr-xr-x root/root usr/share/hal/fdi/information/ -drwxr-xr-x root/root usr/share/hal/fdi/information/10freedesktop/ -drwxr-xr-x root/root usr/share/hal/fdi/information/20thirdparty/ -drwxr-xr-x root/root usr/share/hal/fdi/policy/ -drwxr-xr-x root/root usr/share/hal/fdi/policy/10osvendor/ --rw-r--r-- root/root usr/share/hal/fdi/policy/10osvendor/10-cpufreq.fdi --rw-r--r-- root/root usr/share/hal/fdi/policy/10osvendor/10-dockstation.fdi --rw-r--r-- root/root usr/share/hal/fdi/policy/10osvendor/10-imac-backlight.fdi --rw-r--r-- root/root usr/share/hal/fdi/policy/10osvendor/10-input-policy.fdi --rw-r--r-- root/root usr/share/hal/fdi/policy/10osvendor/10-keymap.fdi --rw-r--r-- root/root usr/share/hal/fdi/policy/10osvendor/10-laptop-panel-mgmt-policy.fdi --rw-r--r-- root/root usr/share/hal/fdi/policy/10osvendor/10-leds.fdi --rw-r--r-- root/root usr/share/hal/fdi/policy/10osvendor/10-macbook-backlight.fdi --rw-r--r-- root/root usr/share/hal/fdi/policy/10osvendor/10-macbookpro-utils.fdi --rw-r--r-- root/root usr/share/hal/fdi/policy/10osvendor/10-power-mgmt-policy.fdi --rw-r--r-- root/root usr/share/hal/fdi/policy/10osvendor/10-rfkill-switch.fdi --rw-r--r-- root/root usr/share/hal/fdi/policy/10osvendor/10-tabletPCs.fdi --rw-r--r-- root/root usr/share/hal/fdi/policy/10osvendor/10-x11-input.fdi --rw-r--r-- root/root usr/share/hal/fdi/policy/10osvendor/15-storage-luks.fdi --rw-r--r-- root/root usr/share/hal/fdi/policy/10osvendor/20-storage-methods.fdi --rw-r--r-- root/root usr/share/hal/fdi/policy/10osvendor/30-wol.fdi -drwxr-xr-x root/root usr/share/hal/fdi/policy/20thirdparty/ -drwxr-xr-x root/root usr/share/hal/fdi/preprobe/ -drwxr-xr-x root/root usr/share/hal/fdi/preprobe/10osvendor/ -drwxr-xr-x root/root usr/share/hal/fdi/preprobe/20thirdparty/ -drwxr-xr-x root/root var/ -drwxr-xr-x root/root var/cache/ -drwxr-xr-x haldaemon/haldaemon var/cache/hald/ -drwxr-xr-x root/root var/lib/ -drwxr-xr-x haldaemon/haldaemon var/lib/hal/ -drwxr-xr-x root/root var/run/ -drwxr-xr-x haldaemon/haldaemon var/run/hald/ -drwxr-xr-x root/root var/run/hald/hald-local/ -drwxr-xr-x root/root var/run/hald/hald-runner/ diff --git a/hal/.md5sum b/hal/.md5sum deleted file mode 100644 index 4c13054bf..000000000 --- a/hal/.md5sum +++ /dev/null @@ -1,3 +0,0 @@ -c627d8fb0f9afff94f3c687b5216bc06 hal-0.5.14.tar.bz2 -d8ce27a76d7cb13ce142cdc33816c8bd hal.conf -cc3d04e7ac09e15f33c530725f43e641 rc.hald diff --git a/hal/Pkgfile b/hal/Pkgfile deleted file mode 100644 index d84312f4b..000000000 --- a/hal/Pkgfile +++ /dev/null @@ -1,48 +0,0 @@ -# Description: Hardware Abstraction Layer -# URL: http://www.freedesktop.org/wiki/Software/hal -# Packager: Matt Housh, jaeger at crux dot nu -# Maintainer: Jose V Beneyto, sepen at crux dot nu -# Depends on: dbus-glib, hal-info - -name=hal -version=0.5.14 -release=3 -source=(http://hal.freedesktop.org/releases/$name-$version.tar.bz2 \ - hal.conf rc.hald) - -build() { - cd $name-$version - - sed -i $(find . -type f -name '*.c' -or -name '*.h') \ - -e 's|<glib/.*\.h>|<glib.h>|g' - sed -i -e 's/USE_NLS=yes/USE_NLS=no/' \ - -e 's/ENABLE_NLS 1/ENABLE_NLS 0/' configure - - ./configure --prefix=/usr \ - --mandir=/usr/man \ - --libexecdir=/usr/lib/$name \ - --localstatedir=/var \ - --with-hal-user=haldaemon \ - --with-hal-group=haldaemon \ - --with-dbus-sys=/usr/etc/dbus-1/system.d \ - --with-udev-prefix=/lib \ - --with-hwdata=/usr/share \ - --disable-policy-kit \ - --disable-console-kit - - sed -i -e '/device-manager/d' tools/Makefile - sed -i hald/linux/probing/Makefile \ - -e 's|bluetooth$(EXEEXT) \\|bluetooth$(EXEEXT)|' \ - -e 's|hald-probe-video4linux$(EXEEXT)||' - - make - make DESTDIR=$PKG install - - install -D -o root -g root -m 0755 $SRC/rc.hald \ - $PKG/etc/rc.d/hald - rm -rf $PKG/usr/share/{doc,locale} - rm -rf $PKG/usr/share/gtk-doc - cp $SRC/hal.conf $PKG/usr/etc/dbus-1/system.d/ - mkdir -p $PKG/var/lib/hal - chown haldaemon:haldaemon $PKG/var/lib/hal -} diff --git a/hal/README b/hal/README deleted file mode 100644 index 5f4328824..000000000 --- a/hal/README +++ /dev/null @@ -1,18 +0,0 @@ -README for hal 0.5.7.1 - -REQUIREMENTS - -PRE/POST-INSTALL - Create a user/group haldaemon with a unused id < 99: - - 'groupadd -g 82 haldaemon' - 'useradd -u 82 -g haldaemon -d /var/empty -s /bin/false haldaemon' - 'passwd -l haldaemon' - - If you wish to take advantage of the hotplug and automount-style features - that apps like gnome-mount, gnome-volume-manager, or the like offer, create - a 'plugdev' group and add your user to it, or change the 'plugdev' group in - /usr/etc/dbus-1/system.d/hal.conf to something else and make sure your user - is a member of that group. - -PRECAUTION diff --git a/hal/hal.conf b/hal/hal.conf deleted file mode 100644 index fce6b4407..000000000 --- a/hal/hal.conf +++ /dev/null @@ -1,68 +0,0 @@ -<!DOCTYPE busconfig PUBLIC - "-//freedesktop//DTD D-BUS Bus Configuration 1.0//EN" - "http://www.freedesktop.org/standards/dbus/1.0/busconfig.dtd"> -<busconfig> - - <!-- This configuration file specifies the required security policies - for the HAL to work. --> - - <!-- Only root, user haldaemon or group plugdev can own the HAL service --> - <policy user="haldaemon"> - <allow own="org.freedesktop.Hal"/> - </policy> - <policy user="root"> - <allow own="org.freedesktop.Hal"/> - </policy> - <policy group="plugdev"> - <allow own="org.freedesktop.Hal"/> - </policy> - - <!-- Allow anyone to invoke methods on the Manager and Device interfaces --> - <policy context="default"> - <allow send_interface="org.freedesktop.Hal.Manager"/> - <allow send_interface="org.freedesktop.Hal.Device"/> - <allow receive_interface="org.freedesktop.Hal.Manager" - receive_sender="org.freedesktop.Hal"/> - <allow receive_interface="org.freedesktop.Hal.Device" - receive_sender="org.freedesktop.Hal"/> - - <allow send_interface="org.freedesktop.Hal.Device.SystemPowerManagement"/> - <allow send_interface="org.freedesktop.Hal.Device.LaptopPanel"/> - <allow send_interface="org.freedesktop.Hal.Device.Volume"/> - <allow send_interface="org.freedesktop.Hal.Device.Volume.Crypto"/> - <allow receive_interface="org.freedesktop.Hal.Device.SystemPowerManagement" - receive_sender="org.freedesktop.Hal"/> - <allow receive_interface="org.freedesktop.Hal.Device.LaptopPanel" - receive_sender="org.freedesktop.Hal"/> - <allow receive_interface="org.freedesktop.Hal.Device.Volume" - receive_sender="org.freedesktop.Hal"/> - <allow receive_interface="org.freedesktop.Hal.Device.Volume.Crypto" - receive_sender="org.freedesktop.Hal"/> - </policy> - - <!-- Default policy for the exported interfaces --> - <policy context="default"> - <deny send_interface="org.freedesktop.Hal.Device.SystemPowerManagement"/> - <deny send_interface="org.freedesktop.Hal.Device.VideoAdapterPM"/> - <deny send_interface="org.freedesktop.Hal.Device.LaptopPanel"/> - <deny send_interface="org.freedesktop.Hal.Device.Volume"/> - <deny send_interface="org.freedesktop.Hal.Device.Volume.Crypto"/> - </policy> - - <policy user="root"> - <allow send_interface="org.freedesktop.Hal.Device.SystemPowerManagement"/> - <allow send_interface="org.freedesktop.Hal.Device.VideoAdapterPM"/> - <allow send_interface="org.freedesktop.Hal.Device.LaptopPanel"/> - <allow send_interface="org.freedesktop.Hal.Device.Volume"/> - <allow send_interface="org.freedesktop.Hal.Device.Volume.Crypto"/> - </policy> - - <policy group="plugdev"> - <allow send_interface="org.freedesktop.Hal.Device.SystemPowerManagement"/> - <allow send_interface="org.freedesktop.Hal.Device.VideoAdapterPM"/> - <allow send_interface="org.freedesktop.Hal.Device.LaptopPanel"/> - <allow send_interface="org.freedesktop.Hal.Device.Volume"/> - <allow send_interface="org.freedesktop.Hal.Device.Volume.Crypto"/> - </policy> - -</busconfig>
\ No newline at end of file diff --git a/hal/pre-install b/hal/pre-install deleted file mode 100755 index b28a6cc3f..000000000 --- a/hal/pre-install +++ /dev/null @@ -1,13 +0,0 @@ -#!/bin/sh - -# check for haldaemon group or add one -getent group haldaemon || /usr/sbin/groupadd -g 82 haldaemon - -# check for plugdev group or add one -getent group plugdev || /usr/sbin/groupadd plugdev - -# check for haldaemon user or add one -getent passwd haldaemon || /usr/sbin/useradd -g haldaemon -u 82 -d /var/empty -s /bin/false -c "HAL Daemon User" haldaemon - -# lock the account -/usr/bin/passwd -l haldaemon diff --git a/hal/rc.hald b/hal/rc.hald deleted file mode 100644 index 43629ddd1..000000000 --- a/hal/rc.hald +++ /dev/null @@ -1,23 +0,0 @@ -#!/bin/sh -# -# /etc/rc.d/hald: start/stop HAL daemon -# - -case $1 in - start) - /usr/sbin/hald --daemon=yes --use-syslog - ;; - stop) - killall -q /usr/sbin/hald - ;; - restart) - $0 stop - sleep 2 - $0 start - ;; - *) - echo "Usage: $0 [start|stop|restart]" - ;; -esac - -# End of file |