Remove hal and hal-info, they are obsolete.

This commit is contained in:
Juan RP 2011-06-30 21:12:45 +02:00
parent 31fd343fd1
commit efaf4425a3
12 changed files with 0 additions and 220 deletions

View File

@ -1,13 +0,0 @@
# Template file for 'hal-info'
pkgname=hal-info
version=20091130
distfiles="http://hal.freedesktop.org/releases/$pkgname-$version.tar.gz"
build_style=gnu_configure
short_desc="Device information files for HAL"
maintainer="Juan RP <xtraeme@gmail.com>"
checksum=3b5a90eaea4359977d36c808a19b3f08835345a258c68b9c6c080ad5ef875224
long_desc="
The $pkgname package contains various device information files (also
known as .fdi files) for the hal package."
noarch=yes

View File

@ -1,18 +0,0 @@
#
# This script creates some required dirs.
#
case "${ACTION}" in
pre)
;;
post)
# Create some required dirs if don't exist.
if [ ! -d var/run/hald ]; then
mkdir -p var/run/hald
chown hal:hal var/run/hald
fi
if [ ! -d var/cache/hald ]; then
mkdir -p var/cache/hald
fi
;;
esac

View File

@ -1,2 +0,0 @@
abi_depends=">=0.5.11"
api_depends="${abi_depends}"

View File

@ -1,10 +0,0 @@
<?xml version="1.0" encoding="ISO-8859-1"?> <!-- -*- SGML -*- -->
<deviceinfo version="0.2">
<device>
<match key="info.capabilities" contains="input.keys">
<merge key="input.xkb.rules" type="string">xorg</merge>
<merge key="input.xkb.layout" type="string">us</merge>
<merge key="input.xkb.variant" type="string" />
</match>
</device>
</deviceinfo>

View File

@ -1,9 +0,0 @@
#!/sbin/runscript
command=/usr/sbin/hald
pidfile=/var/run/hald/pid
depend()
{
need dbus
}

View File

@ -1,27 +0,0 @@
# Template file for 'libhal-devel'.
#
short_desc="Hardware Abstraction Layer - development files"
long_desc="
${long_desc}
This package contains files that are needed to build applications
that use libhal."
revision=1
Add_dependency run pkg-config
Add_dependency run libblkid-devel
Add_dependency run dbus-devel
Add_dependency run dbus-glib-devel
Add_dependency run expat-devel
Add_dependency run glib-devel
Add_dependency run pciutils-devel
Add_dependency run ConsoleKit
do_install()
{
mkdir -p ${DESTDIR}/usr/{lib,share}
mv ${SRCPKGDESTDIR}/usr/include ${DESTDIR}/usr
mv ${SRCPKGDESTDIR}/usr/lib/pkgconfig ${DESTDIR}/usr/lib
mv ${SRCPKGDESTDIR}/usr/share/gtk-doc ${DESTDIR}/usr/share
}

View File

@ -1,18 +0,0 @@
# Template file for 'libhal'.
#
short_desc="Hardware Abstraction Layer - shared libraries"
long_desc="
${long_desc}
This package contains shared libraries to be used by applications."
revision=1
Add_dependency run glibc
Add_dependency run dbus-libs
do_install()
{
mkdir -p ${DESTDIR}/usr/lib
mv ${SRCPKGDESTDIR}/usr/lib/*.so* ${DESTDIR}/usr/lib
}

View File

@ -1,11 +0,0 @@
--- configure.orig 2009-03-23 06:29:01.403464750 +0100
+++ configure 2009-03-23 06:29:21.114421717 +0100
@@ -23082,7 +23082,7 @@ fi
ac_ext=c
ac_cpp='$CPP $CPPFLAGS'
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
-ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
+ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext -lsmbios $LIBS >&5'
ac_compiler_gnu=$ac_cv_c_compiler_gnu
if test "$LIB_SMBIOS" = "yes" ; then

View File

@ -1,46 +0,0 @@
From Arch Linux.
--- hal.conf.in.drop-polkit 2009-02-04 17:07:23.000000000 -0500
+++ hal.conf.in 2009-07-29 23:15:16.866766074 -0400
@@ -25,7 +25,41 @@
send_interface="org.freedesktop.Hal.Device"/>
<allow send_destination="org.freedesktop.Hal"
send_interface="org.freedesktop.Hal.Manager"/>
+ </policy>
+
+ <!-- Only allow users at the local console to manipulate devices -->
+ <policy at_console="true">
+ <allow send_destination="org.freedesktop.Hal"
+ send_interface="org.freedesktop.Hal.Device.CPUFreq"/>
+ <allow send_destination="org.freedesktop.Hal"
+ send_interface="org.freedesktop.Hal.Device.DockStation"/>
+ <allow send_destination="org.freedesktop.Hal"
+ send_interface="org.freedesktop.Hal.Device.KillSwitch"/>
+ <allow send_destination="org.freedesktop.Hal"
+ send_interface="org.freedesktop.Hal.Device.KeyboardBacklight"/>
+ <allow send_destination="org.freedesktop.Hal"
+ send_interface="org.freedesktop.Hal.Device.LaptopPanel"/>
+ <allow send_destination="org.freedesktop.Hal"
+ send_interface="org.freedesktop.Hal.Device.Leds"/>
+ <allow send_destination="org.freedesktop.Hal"
+ send_interface="org.freedesktop.Hal.Device.LightSensor"/>
+ <allow send_destination="org.freedesktop.Hal"
+ send_interface="org.freedesktop.Hal.Device.Storage"/>
+ <allow send_destination="org.freedesktop.Hal"
+ send_interface="org.freedesktop.Hal.Device.Storage.Removable"/>
+ <allow send_destination="org.freedesktop.Hal"
+ send_interface="org.freedesktop.Hal.Device.SystemPowerManagement"/>
+ <allow send_destination="org.freedesktop.Hal"
+ send_interface="org.freedesktop.Hal.Device.Volume"/>
+ <allow send_destination="org.freedesktop.Hal"
+ send_interface="org.freedesktop.Hal.Device.Volume.Crypto"/>
+ <allow send_destination="org.freedesktop.Hal"
+ send_interface="org.freedesktop.Hal.Device.WakeOnLan"/>
+
+ </policy>
+ <!-- well,...and root too -->
+ <policy user="root">
<allow send_destination="org.freedesktop.Hal"
send_interface="org.freedesktop.Hal.Device.CPUFreq"/>
<allow send_destination="org.freedesktop.Hal"

View File

@ -1,64 +0,0 @@
# Template file for 'hal'
pkgname=hal
version=0.5.14
revision=3
distfiles="http://hal.freedesktop.org/releases/hal-$version.tar.bz2"
build_style=gnu_configure
configure_args="--enable-static=no --disable-console-kit
--disable-policy-kit --disable-acpi-ibm --disable-parted
--disable-acl-management --disable-smbios --enable-umount-helper
--disable-docbook-docs --with-udev-prefix=/lib --localstatedir=/var
--with-hal-user=hal --with-hal-group=hal"
short_desc="Hardware Abstraction Layer"
maintainer="Juan RP <xtraeme@gmail.com>"
checksum=c4c5ecc5d50d5d9c061dc06c405461b1f71c12f2c60ed062350b2e6db2f1c51e
long_desc="
HAL is daemon for collecting and maintaining information from several
sources about the hardware on the system."
subpackages="libhal libhal-devel"
keep_empty_dirs=yes
conf_files="
/etc/dbus-1/system.d/hal.conf
/etc/hal/fdi/policy/10-keymap.fdi"
openrc_services="hal default true"
# Create hal system account.
system_accounts="hal"
hal_groups="optical,floppy,storage"
Add_dependency run glibc
Add_dependency run libblkid
Add_dependency run dbus-libs
Add_dependency run dbus-glib
Add_dependency run expat
Add_dependency run glib
Add_dependency run pciutils
Add_dependency run ConsoleKit-x11
Add_dependency run dbus
Add_dependency run libhal
Add_dependency build pkg-config
Add_dependency build libblkid-devel
Add_dependency build dbus-devel
Add_dependency build dbus-glib-devel
Add_dependency build expat-devel
Add_dependency build glib-devel
Add_dependency build pciutils-devel
Add_dependency build ConsoleKit
Add_dependency full udev
Add_dependency full bash
Add_dependency full hal-info
Add_dependency full eject
Add_dependency full usbutils
Add_dependency full dmidecode
Add_dependency full pm-utils
post_install()
{
rm -rf ${DESTDIR}/var
install -D -m755 ${FILESDIR}/hal.rc ${DESTDIR}/etc/init.d/hal
install -D -m644 ${FILESDIR}/10-keymap.fdi \
${DESTDIR}/etc/hal/fdi/policy/10-keymap.fdi
}

View File

@ -1 +0,0 @@
hal

View File

@ -1 +0,0 @@
hal