Update of /cvsroot/fink/dists/10.4/unstable/main/finkinfo/libs In directory fdv4jf1.ch3.sourceforge.com:/tmp/cvs-serv31627
Modified Files: libhal1-shlibs.info libhal1-shlibs.patch Log Message: new version, includes many of our fixes Index: libhal1-shlibs.info =================================================================== RCS file: /cvsroot/fink/dists/10.4/unstable/main/finkinfo/libs/libhal1-shlibs.info,v retrieving revision 1.2 retrieving revision 1.3 diff -u -d -r1.2 -r1.3 --- libhal1-shlibs.info 15 Jul 2008 01:41:16 -0000 1.2 +++ libhal1-shlibs.info 20 Nov 2008 06:54:19 -0000 1.3 @@ -1,45 +1,38 @@ Package: libhal1-shlibs -Version: 0.5.10 -Revision: 2 +Version: 0.5.11 +Revision: 1 Source: http://hal.freedesktop.org/releases/hal-%v.tar.gz -Source-MD5: fce852c428e7cda0b937087c79eec63f +Source-MD5: 750cf074e88b6fb7012f26d99cd39b9b BuildDepends: << - dbus-dev (>= 1.0.2-1), + dbus-dev (>= 1.2.1-1), expat1, fink (>= 0.24.12-1), gettext-bin, gettext-tools, - glib2-dev (>= 2.14.0-1), - gtk-doc, + glib2-dev (>= 2.18.0-1), + gperf, + gtk-doc (>= 1.8-1), libgettext3-dev, libiconv-dev, libusb, - pkgconfig (>= 0.21-1) + pkgconfig (>= 0.23) << Depends: << - dbus-shlibs (>= 1.0.2-1), - expat1-shlibs, - glib2-shlibs (>= 2.14.0-1), - libgettext3-shlibs, - libiconv, - libusb-shlibs + dbus-shlibs (>= 1.2.1-1) << PatchFile: %n.patch -PatchFile-MD5: 2dc472dd2c5b71dceca55a6e2aa842ad -PatchScript: << - %{default_script} - perl -pi -e 's/[EMAIL PROTECTED]@/#/' tools/Makefile.in -<< +PatchFile-MD5: d624de7c6e55e382521152968f82c132 ConfigureParams: << --libexecdir=%p/sbin \ --with-hal-user=root --with-hal-group=root \ --disable-pci-ids --disable-usb-ids --disable-pnp-ids \ --disable-pmu \ - --disable-dependency-tracking + --disable-policy-kit \ + --disable-dependency-tracking --disable-static << CompileScript: << ./configure %c @@ -60,8 +53,8 @@ BuildDependsOnly: true Files: << include - lib/libhal.{a,la,dylib} - lib/libhal-storage.{a,la,dylib} + lib/libhal.{la,dylib} + lib/libhal-storage.{la,dylib} lib/pkgconfig share/gtk-doc << @@ -71,8 +64,12 @@ SplitOff2: << Package: hal Depends: << - dbus (>= 1.0.2-1), - libhal1-shlibs (= %v-%r) + dbus (>= 1.2.1-1), + expat1-shlibs, + glib2-shlibs (>= 2.18.0-1), + libgettext3-shlibs, + libhal1-shlibs (= %v-%r), + libiconv << Files: << bin @@ -94,16 +91,6 @@ detect it. Detection is omitted on Solaris, so maybe it's not mandatory for darwin either? - Implement some dummy functions for the hald/dummy back-end: - http://gitweb.freedesktop.org/?p=hal.git;a=commitdiff;h=cb204ce0b7c7bd83b0b185b404a00f33800282c5 - http://gitweb.freedesktop.org/?p=hal.git;a=commitdiff_plain;h=71e114164819eaf0f9259236cc4ee9bae177b931;hp=75965fdc42620f57bdf9c9138f9d30f0af5b284d - - Hack around weird propagation of detection of gperf into - tools that causes build to fail. Maybe solved by: - http://gitweb.freedesktop.org/?p=hal.git;a=commitdiff;h=e7b7241a92149429a9e74a01f83c7fcce585f5ce - - Need stdlib.h in hal-disable-polling.c for realpath() - darwin isn't known by tools and the default implementations of filesystem handling fail because darwin doesn't have getmnt and friends, so hack the tools to use the FreeBSD @@ -115,6 +102,15 @@ << Description: Hardware Abstraction Layer +DescUsage: << +WARNING: PolicyKit is disabled. You need to manually edit the hal.conf + file to lock down the service. Failure to do so allows any + caller to make hald do work on their behalf which may be + a huge SECURITY HOLE. I repeat: YOU NEED TO EDIT THE FILE + hal.conf to match your distro/site to avoid NASTY SECURITY HOLES. + +NOTE: You have to install init scripts yourself and tweak your own policy +<< Homepage: http://www.freedesktop.org/wiki/Software/hal License: GPL Maintainer: Daniel Macks <[EMAIL PROTECTED]> Index: libhal1-shlibs.patch =================================================================== RCS file: /cvsroot/fink/dists/10.4/unstable/main/finkinfo/libs/libhal1-shlibs.patch,v retrieving revision 1.2 retrieving revision 1.3 diff -u -d -r1.2 -r1.3 --- libhal1-shlibs.patch 15 Jul 2008 01:41:16 -0000 1.2 +++ libhal1-shlibs.patch 20 Nov 2008 06:54:19 -0000 1.3 @@ -1,7 +1,7 @@ -diff -Nurd hal-0.5.10.orig/configure hal-0.5.10/configure ---- hal-0.5.10.orig/configure 2007-09-25 15:08:31.000000000 -0400 -+++ hal-0.5.10/configure 2008-03-20 01:04:44.000000000 -0400 -@@ -21938,11 +21938,6 @@ +diff -Nurd -x'*~' hal-0.5.11.orig/configure hal-0.5.11/configure +--- hal-0.5.11.orig/configure 2008-05-07 19:35:45.000000000 -0400 ++++ hal-0.5.11/configure 2008-11-20 01:14:54.000000000 -0500 +@@ -22433,11 +22433,6 @@ @@ -13,7 +13,7 @@ #### gcc warning flags -@@ -23654,6 +23649,8 @@ +@@ -24198,6 +24193,8 @@ case "$host" in *-*-solaris*) ;; @@ -22,51 +22,9 @@ *) pkg_failed=no -diff -Nurd hal-0.5.10.orig/hald/dummy/osspec.c hal-0.5.10/hald/dummy/osspec.c ---- hal-0.5.10.orig/hald/dummy/osspec.c 2007-07-26 14:00:28.000000000 -0400 -+++ hal-0.5.10/hald/dummy/osspec.c 2008-03-20 01:23:42.000000000 -0400 -@@ -37,6 +37,27 @@ - #include "../util.h" - #include "../device_info.h" - -+HalFileMonitor * -+osspec_get_file_monitor (void) -+{ -+ return NULL; -+} -+ -+guint -+hal_file_monitor_add_notify (HalFileMonitor *monitor, -+ const char *path, -+ int mask, -+ HalFileMonitorNotifyFunc notify_func, -+ gpointer data) -+{ -+ return 0; -+} -+ -+void -+osspec_privileged_init (void) -+{ -+} -+ - void - osspec_init (void) - { -diff -Nurd hal-0.5.10.orig/tools/hal-disable-polling.c hal-0.5.10/tools/hal-disable-polling.c ---- hal-0.5.10.orig/tools/hal-disable-polling.c 2007-08-31 16:53:08.000000000 -0400 -+++ hal-0.5.10/tools/hal-disable-polling.c 2008-03-20 01:46:17.000000000 -0400 -@@ -28,6 +28,7 @@ - # include <config.h> - #endif - -+#include <stdlib.h> - #include <stdio.h> - #include <string.h> - #include <unistd.h> -diff -Nurd hal-0.5.10.orig/tools/hal-storage-mount.c hal-0.5.10/tools/hal-storage-mount.c ---- hal-0.5.10.orig/tools/hal-storage-mount.c 2007-08-27 13:22:46.000000000 -0400 -+++ hal-0.5.10/tools/hal-storage-mount.c 2008-03-20 02:01:28.000000000 -0400 +diff -Nurd -x'*~' hal-0.5.11.orig/tools/hal-storage-mount.c hal-0.5.11/tools/hal-storage-mount.c +--- hal-0.5.11.orig/tools/hal-storage-mount.c 2008-05-07 19:24:23.000000000 -0400 ++++ hal-0.5.11/tools/hal-storage-mount.c 2008-11-20 01:14:54.000000000 -0500 @@ -31,7 +31,7 @@ #include <string.h> #include <glib.h> @@ -86,9 +44,9 @@ #ifdef __FreeBSD__ #define MOUNT "/sbin/mount" -diff -Nurd hal-0.5.10.orig/tools/hal-storage-shared.c hal-0.5.10/tools/hal-storage-shared.c ---- hal-0.5.10.orig/tools/hal-storage-shared.c 2007-08-27 11:55:10.000000000 -0400 -+++ hal-0.5.10/tools/hal-storage-shared.c 2008-03-20 02:01:09.000000000 -0400 +diff -Nurd -x'*~' hal-0.5.11.orig/tools/hal-storage-shared.c hal-0.5.11/tools/hal-storage-shared.c +--- hal-0.5.11.orig/tools/hal-storage-shared.c 2008-05-07 19:24:24.000000000 -0400 ++++ hal-0.5.11/tools/hal-storage-shared.c 2008-11-20 01:14:54.000000000 -0500 @@ -31,7 +31,7 @@ #include <string.h> #include <glib.h> @@ -108,9 +66,9 @@ #ifdef __FreeBSD__ struct mtab_handle -diff -Nurd hal-0.5.10.orig/tools/hal-storage-unmount.c hal-0.5.10/tools/hal-storage-unmount.c ---- hal-0.5.10.orig/tools/hal-storage-unmount.c 2007-07-26 14:00:28.000000000 -0400 -+++ hal-0.5.10/tools/hal-storage-unmount.c 2008-03-20 02:32:13.000000000 -0400 +diff -Nurd -x'*~' hal-0.5.11.orig/tools/hal-storage-unmount.c hal-0.5.11/tools/hal-storage-unmount.c +--- hal-0.5.11.orig/tools/hal-storage-unmount.c 2008-05-07 19:24:17.000000000 -0400 ++++ hal-0.5.11/tools/hal-storage-unmount.c 2008-11-20 01:14:54.000000000 -0500 @@ -31,7 +31,7 @@ #include <string.h> #include <glib.h> ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Fink-commits mailing list Fink-commits@lists.sourceforge.net http://news.gmane.org/gmane.os.apple.fink.cvs