1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-25 00:51:21 +00:00
Commit Graph

70 Commits

Author SHA1 Message Date
Florent Thoumie
80ce349ead Add support to create users and groups from information stored in UIDs/GIDs
files. Users and groups won't be deleted at deinstall time as we're lacking
a refcount to know if any port is using them.

Also convert a few ports while I'm here.

PR:		ports/108514
Submitted by:	mm, self
2009-09-06 21:18:50 +00:00
Jeremy Messenger
789d75c728 -Repocopy devel/libtool15 -> libtool22 and libltdl15 -> libltdl22.
-Update libtool and libltdl to 2.2.6a.
-Remove devel/libtool15 and devel/libltdl15.
-Fix ports build with libtool22/libltdl22.
-Bump ports that depend on libltdl22 due to shared library version change.
-Explain what to do update in the UPDATING.

It has been tested with GNOME2, XFCE4, KDE3, KDE4 and other many wm/desktop
and applications in the runtime.

With help:	marcus and kwm
Pointyhat-exp:	a few times by pav
Tested by:	pgollucci, "Romain Tartière" <romain@blogreen.org>, and
		a few MarcusCom CVS users. Also, I might have missed a few.
Repocopy by:	marcus
Approved by:	portmgr
2009-08-02 19:36:34 +00:00
Doug Barton
0175383f0a Fix a few "bad example" problems in the rc.d scripts that have been
propogated by copy and paste.

1. Primarily the "empty variable" default assignment, which is mostly
${name}_flags="", but fix a few others as well.
2. Where they are not already documented, add the existence of the _flags
(or other deleted empties) option to the comments, and in some cases add
comments from scratch.
3. Replace things that look like:
prefix=%%PREFIX%%
command=${prefix}/sbin/foo
to just use %%PREFIX%%. In many cases the $prefix variable is only used
once, and in some cases it is not used at all.
4. In a few cases remove ${name}_flags from command_args
5. Remove a long-stale comment about putting the port's rc.d script in
/etc/rc.d (which is no longer necessary).

No PORTREVISION bumps because all of these changes are noops.
2009-07-15 16:56:10 +00:00
Joe Marcus Clarke
372eb252ae Fix the build on recent -CURRENT with the removal of oldusb. 2009-05-30 07:22:25 +00:00
Joe Marcus Clarke
862ed64e9e Optimize the check for an existing GEOM object and correct a nearby memory
leak.
2009-05-23 22:58:01 +00:00
Joe Marcus Clarke
539a587bec * Correct a potential infinite recursion loop triggered by the new GEOM
classes [1]
* Fix some minor issues with usb2 support [2]

PR:		134731 [1]
Submitted by:	hselasky [2]
2009-05-23 21:19:02 +00:00
Joe Marcus Clarke
fec58b93e9 Add some more argument sanity checking to the fuse helper script. This
fixes a problem where mounting NTFS volumes using ntfs-3g fails due to
bad options.

Submitted by:	Kris Moore <kris@pcbsd.com>
2009-04-09 18:18:27 +00:00
Joe Marcus Clarke
fa11efae69 One more fix for hal and PolicyKit. Apparently haldaemon requires
org.freedesktop.policykit.read privilege to read the PK config.  It's
great they document this so well.  This, plus the last PK fix should
fix the various mounting problems some people have been seeing.
2009-03-31 02:19:58 +00:00
Joe Marcus Clarke
f91321f9e7 Fix hal on the latest -CURRENT now that libusb20 has been renamed. 2009-03-14 06:51:17 +00:00
Kevin Lo
1a31e2acef Fix build: 80064 -> 800064 2009-03-05 10:47:22 +00:00
Robert Noland
04e28f5cf7 Set the device node to NULL for usb keyboards. The xorg keyboard
driver has the ability to open character devices, but in our case
syscons always owns the devices.  This should allow usb only
setups as well as help people who are setting xorg input options
on usb devices.

PR:		132270
Submitted by:	Jose M Rodriguez <josemi@freebsd.jazztel.es>
Approved by:	marcus
2009-03-03 03:30:20 +00:00
Joe Marcus Clarke
311bab68e4 Add the new usb2 probers to the plist. 2009-03-02 20:45:18 +00:00
Joe Marcus Clarke
b50bfda7fa Chase the recent usb2 changes in HEAD. 2009-02-27 19:02:44 +00:00
Joe Marcus Clarke
4684488d86 Fix build on older versions of FreeBSD. 2009-02-25 21:39:13 +00:00
Joe Marcus Clarke
45a0273ad4 Actually commit the build for the old USB backend. 2009-02-24 20:28:56 +00:00
Joe Marcus Clarke
bb1008c45c Fix the build now that usb2 has been renamed. 2009-02-24 05:49:13 +00:00
Joe Marcus Clarke
e0aebe8a23 Fix probe-hiddev building on very recent -CURRENT. 2009-02-23 23:52:56 +00:00
Joe Marcus Clarke
088229bdb8 * Add support for usb2 in -CURRENT.
* Fix processing of devd events.
* Add support for the PART GEOM type.
* Attempt to fix a race condition where a drive an be learned before its
  parent.  This fix only works on 7.1, RELENG_7, and -CURRENT.
2009-02-23 21:44:23 +00:00
Joe Marcus Clarke
5f7c107d66 Check to see if "/dev/usb " exists, and if it does, don't try to
initialize USB support.  This will keep hald from taking up 100% CPU
on usb2 -CURRENT systems.
2009-02-16 04:53:51 +00:00
Jung-uk Kim
b791481683 - Do not allow openning /dev/sysmouse multiple times. When there are
multiple instances of moused(8) and Xorg mouse driver
opens /dev/sysmouse multiple times, Xorg server gets confused badly,
e.g., losing input events, waiting for already processed events, etc.
- Really fix laptop brightness control.  The previous commit didn't
fix IBM and Sony laptops.  Pointyhat to me, again.

Reviewed by:	marcus
2009-02-04 17:45:32 +00:00
Jung-uk Kim
f29822d4d4 Fix breakages introduced in the previous commit. hf_has_sysctl() is only
capable of finding the leaf node.

Pointyhat to:	jkim
2009-02-03 01:54:59 +00:00
Jung-uk Kim
28e9540211 - Do not search for Linux-specific hald-addon-acpi module.
- Remove unnecessary ioctl calls for battery on non-laptops.
- Do not use model-specific sysctl if it is not available.
- Always provide frequencies of BSP as we do not export APs' yet.

Reviewed by:	marcus
2009-02-02 22:33:22 +00:00
Joe Marcus Clarke
73d3e9338a Quiet the syslog messages from hal.
Submitted by:	miwi
Obtained from:	https://bugs.freedesktop.org/show_bug.cgi?id=18985
2009-01-31 21:49:13 +00:00
Joe Marcus Clarke
6f3a97ad14 Take another stab at fixing mouse support in X. This approach eliminates
the constant polling to find a mouse device owner, and instead uses a
kevent/polling model.  Testing has shown this to work in all cases.

Tested by:	rnoland
2009-01-26 17:55:44 +00:00
Robert Noland
4b892eb230 When changing the input.device property we need to remove the property
first.  If we don't, consumers seem to get the old value.  This seems to
make Xorg happy with mouse detection now.  This should work with or
without moused enabled.

Approved by:	marcus, garga (mentor, implicit)
2009-01-24 07:26:34 +00:00
Florent Thoumie
340b57f8be - Update X.org ports to 7.4+ (few ports are more recent than the katamari).
- Bump PORTREVISION for all ports depending on libglut since the shlib
version number went from 4 to 3.
- Bump PORTREVISION for all ports depending on libXaw as libXaw.so.8 isn't
installed anymore.
- Couple of ports fixes (mostly missing xorg components added to USE_XORG).
2009-01-23 16:28:36 +00:00
Joe Marcus Clarke
3c841de8eb Add two additional properties to disc media so that applications can
determine when media is available and that media's capacity.

Reported by:	Alexander Logvinov <freebsd@akavia.ru>
2009-01-16 04:48:31 +00:00
Joe Marcus Clarke
610ae56816 Presenting GNOME 2.24 for FreeBSD.
See http://library.gnome.org/misc/release-notes/2.24/ for the general
release notes.  On the FreeBSD front, this release introduces Fuse support
in HAL, adds multi-CPU support to libgtop, WebKit updates, and fixes some
long-standing seahorse and gnome-keyring bugs.  The documentation updates
to the website are forthcoming.

This release features commits by adamw, ahze, kwm, mezz, and myself.  It would
not have been possible without are contributors and testers:

Alexander Loginov
Craig Butler [1]
Dmitry Marakasov [6]
Eric L. Chen
Joseph S. Atkinson
Kris Moore
Lapo Luchini [7]
Nikos Ntarmos
Pawel Worach
Romain Tartiere
TAOKA Fumiyoshi [3]
Yasuda Keisuke
Zyl
aZ [4]
bf [2] [5]
Florent Thoumie
Peter Wemm
pluknet

PR:		125857 [1]
		126993 [2]
		130031 [3]
		127399 [4]
		127661 [5]
		124302 [6]
		129570 [7]
		129936
		123790
2009-01-10 05:22:13 +00:00
Pav Lucistnik
b2a96c6df1 - Remove conditional checks for FreeBSD 5.x and older 2009-01-06 17:59:31 +00:00
Edwin Groothuis
090059a210 Bump portrevision due to upgrade of devel/gettext.
The affected ports are the ones with gettext as a run-dependency
according to ports/INDEX-7 (5007 of them) and the ones with USE_GETTEXT
in Makefile (29 of them).

PR:             ports/124340
Submitted by:   edwin@
Approved by:    portmgr (pav)
2008-06-06 14:17:21 +00:00
Joe Marcus Clarke
79d518345e Fix patching when FIXED_MOUNTPOINTS is defined.
Reported by:	many
2008-05-20 17:30:52 +00:00
Joe Marcus Clarke
393c01a6ee Update to 0.5.11. 2008-05-19 06:24:44 +00:00
Joe Marcus Clarke
6fc9986032 Remove noexec from the list of hardcoded mount options. This was already
done for Linux, and can be added back in various applications which
request hal mounts.

Requested by:	Kris Moore <kris@pcbsd.com>
2008-05-01 00:59:21 +00:00
Joe Marcus Clarke
342637c34c Fix the pkg-install script to create the haldaemon user/group even when
PACKAGE_BUILDING is defined.  This is consistent with how other ports do
things, and it fixes hal's package installation through sysinstall.
2008-04-21 06:38:07 +00:00
Joe Marcus Clarke
22e5d827b5 * Do not probe disc media unless the media is known to contain data
* Be less conservation about which device nodes are mountable volumes

These patches were tested together by mezz, and individually by
Andriy Gapon and Andreas Wetzel respectively.
2008-04-13 23:38:02 +00:00
Joe Marcus Clarke
76eb6eac5a Fix the build on 5.X.
Reported by:	Taylor Mallette <taylor@supermilo.com>
2008-04-02 18:37:15 +00:00
Joe Marcus Clarke
23ce881407 * Add an addon to poll mouse device files to see if moused or Xorg owns them.
This allows hal to properly reflect the correct access device, and prevents
  X from opening the same device twice
* Use the less expensive clock_gettime() instead of gettimeofday() in hal's
  pollers [1]
* Add support for locking storage devices
* Fix the path to the installed documentation

Submitted by:	jkim [1]
Tested by:	jkim, cokane, and a host of others
2008-04-01 18:20:25 +00:00
Pav Lucistnik
ba94d1c048 - Fix empty directory creation in package 2008-03-25 15:37:44 +00:00
Joe Marcus Clarke
6f32add9a7 The FreeBSD GNOME team is proud to annunce the release of GNOME 2.22.0 for
FreeBSD.  The official GNOME 2.22 release notes can be found at
http://library.gnome.org/misc/release-notes/2.22/ .  On the FreeBSD front,
this release features an updated hal port with support for video4linux
devices, DRM (Direct Rendering), and better support of removable media.  Work
is also underway to tie webkit more closely into GNOME.  As part of the
GNOME 2.22 upgrade, GStreamer received a rather large upgrade as well.
Be sure to consult UPDATING on the proper steps to upgrade all of your
GNOME ports.

This release would not have been possible without the contributions and
testing efforts of the following people:

Pawel Worach
kan
edwin
Peter Ulrich Kruppa
J. W. Ballantine
Yasuda Keisuke
Andriy Gapon
2008-03-24 03:52:36 +00:00
Joe Marcus Clarke
f4bdb5517b Update to snapshot 20080203.
Do not assume a cdb length of 16.  Instead, set it according to the size
of the data being requested.

Submitted by:	kan
2008-02-03 16:53:53 +00:00
Joe Marcus Clarke
6bc7b38977 * Make sure all PCI buses are probed
* Be gentler when probing removable media USB and SCSI devices as to not
  spam the console with media read failures where there is no media inserted.
  This will aleviate the problem with USB/SCSI floppy drives and card
  readers. [1]

Submitted by:	Andriy Gapon <avg@icyb.net.ua> [1]
2007-12-24 19:42:03 +00:00
Joe Marcus Clarke
33feeaa359 Update to 20071222 which allows hal to build on 6.0.
PR:		118936
Submitted by:	Alex Stangl <alex@stangl.us>
2007-12-22 21:58:13 +00:00
Joe Marcus Clarke
2a0c3363fc Fix the build on 5.X.
Reported by:	pointyhat via pav
2007-12-16 20:31:22 +00:00
Joe Marcus Clarke
456bad4d47 Actually remove dependency on cdrtools. 2007-12-16 05:49:18 +00:00
Joe Marcus Clarke
75e3c4b7e7 Update to snapshot 20071215.
* Remove dependency on isoinfo, and detect disc type internally. [1]
* Adapt patch from Linux's hal backend to add media changer support and
  prevent hal from trying to treat tape changers like CD drivers. [2]

PR:		118273 [2]
Submitted by:	bland [1]
		truckman [2]
2007-12-15 18:03:54 +00:00
Joe Marcus Clarke
35bd80d672 Update to snapshot 20070909.
* Add support for ext3 file systems [1]
* Reopen the devd socket if devd restarts

Submitted by:	Raaf <raaf@zen.mooo.com> [1]
2007-09-09 22:08:18 +00:00
Florent Thoumie
d4f0d0048a - Welcome X.org 7.2 \o/.
- Set X11BASE to ${LOCALBASE} for recent ${OSVERSION}.
- Bump PORTREVISION for ports intalling files in ${X11BASE}.
2007-05-19 20:36:56 +00:00
Joe Marcus Clarke
adc662b4fd Add devd to the list of hald's rc.d dependencies. Note: we cannot remove
usbd yet because 6.X and 5.X still have it, and if it is desired, then
it should be started BEFORE hald.

PR:		112017
2007-04-22 23:55:29 +00:00
Jean-Yves Lefort
d3a462f81c Add an option which makes hald use the device name rather than the
volume label as default mountpoint. Using the UTF-8 volume label as
mountpoint can be problematic with legacy locales.

Reported by:	Andrew Muhametshin <andrew@dobrohot.org>, lofi
2007-04-07 11:53:22 +00:00
Joe Marcus Clarke
5ce5de4a21 Update to snapshot 20070403.
* Add a new utility function, hf_str_no_slashes(), that converts '/' into '_'
  for purposes of UDI constructions.  UDI path components cannot contain
  embedded slashes, and a trailing slash will cause hald to crash. [1]
* Ensure that UDIs of ATA and SCSI devices are unique. [2]
* Do not re-probe disks that are managed by hald-addon-storage since that
  will result in a double-probe and data corruption.  In particular, this
  fixes a problem with CD unmounting when ATAPICAM is enabled. [3]

Reported by:	Chess Griffin <chessg@gmail.com> [1]
		sajd on #freebsd-gnome [3]
Submitted by:	jylefort [2]
Reviewed by:	jylefort [3]
2007-04-03 06:24:48 +00:00