1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-05 01:55:52 +00:00
Commit Graph

35 Commits

Author SHA1 Message Date
Joe Marcus Clarke
ed77c51e0e Update to 0.1.9. 2007-08-10 19:24:21 +00:00
Joe Marcus Clarke
9da7f595d7 Fix gamin on 64-bit platforms. This has been broken for a while, but is
now becoming apparent with GCC 4.2.

Approved by:	portmgr (implicit)
2007-05-24 03:58:04 +00:00
Joe Marcus Clarke
951c257ea3 Presenting GNOME 2.18 for FreeBSD. GNOME 2.18 is a departure from recent GNOME
releases in that it focuses more on stability and functionality than on
new features.  Not that it doesn't have its share of new and exciting
items.  See http://www.gnome.org/start/2.18/ for all the goodies in
this release.

GNOME 2.18 for FreeBSD would not have been possible without the hard work
of the FreeBSD GNOME Team and our intrepid band of testers including
J. W. Ballantine, Pawel Worach, Yasuda Keisuke, Pascal Hofstee, miwi,
Yoshihiro Ota, Vladimir Grebenschikov, Jukka A. Ukkonen,
Phillip Neumann, Franz Klammer, and Neal Delmonico.
2007-03-19 05:14:07 +00:00
Kris Kennaway
89a0b31acd Use libtool port instead of included one to avoid objformat a.out botch 2007-01-28 09:07:47 +00:00
Jeremy Messenger
1a88278734 INSTALLS_SHLIB -> USE_LDCONFIG.
Found by:	portlint (cports.sh)
2006-11-05 03:45:05 +00:00
Ade Lovett
1ebdb4de5b Fix up PORTREVISION
Approved by:	portmgr (implicit)
2006-02-23 15:33:39 +00:00
Ade Lovett
8503536d38 Conversion to a single libtool environment.
Approved by:	portmgr (kris)
2006-02-23 10:40:44 +00:00
Joe Marcus Clarke
489c4edaf7 Fix build on 4.X.
PR:		93271
2006-02-14 17:46:36 +00:00
Jean-Yves Lefort
ff2eac0ac7 When the GAM_POLLER option is disabled:
- force polling for remote file systems
  - do not initialize the vendor's poller [1]

Obtained from:	marcus [1]
2006-02-14 09:04:18 +00:00
Joe Marcus Clarke
7c020a4939 * Restore the stale socket cleanup code from gamin 0.1.5 to ensure that even
if gamin crashes or is killed with SIGKILL, a leftover socket does not
  prevent gam_server from starting.

* Revert to using the home-grown poller in gamin's kqueue backend instead
  of gamin's built-in poller.  The built-in poller can still be enabled if
  desired via OPTIONS.

* If gamin's poller is used, make sure all local file systems are handled
  by kqueue where as all remote file systems are handled by polling.

Reviewed by:	jylefort
2006-02-11 06:58:29 +00:00
Joe Marcus Clarke
69a8d6f0dc * Update to 0.1.7, and add support for file system type detection (currently,
only UFS file systems are handled by kqueue, but this might change in the
  future if kqueue on NFS proves stable) [1]

* Switch py-gamin to use USE_FAM+WANT_FAM_SYSTEM

* Switch test target to regression-test so that pointyhat will run tests
  automatically

Submitted by:	ale [1]
2006-02-09 06:40:18 +00:00
Jean-Yves Lefort
7d2904197a Open monitored files with the O_NONBLOCK flag: prevents gam_server
from locking up when a file for which open() blocks forever is
monitored.
2006-02-06 17:17:15 +00:00
Pav Lucistnik
e05544d7ba - Add SHA256 checksums 2005-11-23 22:41:05 +00:00
Ade Lovett
ab042c4c47 USE_AUTOTOOLS setup got reversed by the script
Submitted by:	pointyhat/kris (no $1000 dinner though :)
2005-11-16 19:45:48 +00:00
Ade Lovett
54a0b86543 Mass-conversion to the USE_AUTOTOOLS New World Order. The code present
in bsd.autotools.mk essentially makes this a no-op given that all the
old variables set a USE_AUTOTOOLS_COMPAT variable, which is parsed in
exactly the same way as USE_AUTOTOOLS itself.

Moreover, USE_AUTOTOOLS has already been extensively tested by the GNOME
team -- all GNOME 2.12.x ports use it.

Preliminary documentation can be found at:
	http://people.FreeBSD.org/~ade/autotools.txt

which is in the process of being SGMLized before introduction into the
Porters Handbook.

Light blue touch-paper.  Run.
2005-11-15 06:52:12 +00:00
Joe Marcus Clarke
235c907ae5 Bump PORTREVISION to chase the glib20 shared library update. 2005-11-05 05:22:06 +00:00
Jean-Yves Lefort
d956f94ac9 If there is a leftover socket when the server starts, delete it
(otherwise the bind() call will fail and the server will not start).
2005-10-21 06:04:27 +00:00
Joe Marcus Clarke
45fbff598e Add a forgotten patch to fix the build on non_linux systems. 2005-08-28 08:08:37 +00:00
Joe Marcus Clarke
ed44ca3596 Update to 0.1.5. 2005-08-28 07:30:51 +00:00
Joe Marcus Clarke
f2add69a01 Fix alignment problems when checking socket credentials on non-i386
platforms.
2005-07-17 20:56:43 +00:00
Joe Marcus Clarke
e757571686 Gamin was using its own, debugging, versions of the g_list glib functions.
They were written to find problems in GList usage, but were causing gamin
to segfault on 4.X.  Disable debugging by default, and only use the debugging
versions of g_list_* if debugging is enabled.

Additionally, add <string.h> to gam_api.c which would certainly fix problems
on 4.X alpha.

Reported by:	Stefan Thurner <thurners@nicsys.de>
2005-07-16 22:57:23 +00:00
Jean-Yves Lefort
3b92d82081 Update to 0.1.2 2005-07-13 16:13:00 +00:00
Jean-Yves Lefort
7228ceb545 Update to 0.1.1 2005-06-10 17:38:28 +00:00
Jean-Yves Lefort
d44b3296aa Update to 0.1.0 2005-05-19 19:42:04 +00:00
Joe Marcus Clarke
7488473e0b Only declare the tests and post-install targets if we aren't in a slave
port.  This fixes the py-gamin slave build.
2005-05-09 23:54:51 +00:00
Jean-Yves Lefort
8c8500aaef Improve the kqueue backend:
- also use kqueue to monitor files within a monitored directory
  - tremendously improve the scalability of the backend when
    monitoring very large directories
  - periodically attempt to switch polled files to kqueue notification
  - do not perform an extra useless lstat() when a missing file is created
  - code cleanups

Approved by:	marcus
2005-05-09 15:46:39 +00:00
Joe Marcus Clarke
5800adbe9c Fix gamin on -CURRENT by not using LOCAL_CREDS. While it works, it does
not provide the pid information that the cmsgcred structure gives us.
Gamin will now behave the same way on all versions of FreeBSD.
2005-04-25 05:31:22 +00:00
Joe Marcus Clarke
621532c006 Add a ``tests'' target to run the built-in gamin regression tests.
Discussed with:	jylefort
2005-04-24 20:43:37 +00:00
Joe Marcus Clarke
02ef451cdc Only use USE_INC_LIBTOOL_VER if we're installing gamin itself. The slave
ports don't need this.

Reported by:	pointyhat via kris
2005-04-19 03:10:58 +00:00
Adam Weinberger
3f2ac9f26d Fix build on 4.X. 2005-04-11 08:22:59 +00:00
Joe Marcus Clarke
0c44fc8b45 Have gamin install libtool archives since KDE needs them. This is inline
with what devel/fam does.

Submitted by:	kwm
2005-04-10 20:34:05 +00:00
Joe Marcus Clarke
0429b7bc60 Add a patch forgotten in the previous commit. 2005-04-10 17:36:26 +00:00
Joe Marcus Clarke
83fe564826 * Fallback to polling for files not supported by kqueue
* Do not send an ENDEXISTS event on NOTE_REVOKE
* Handle kevent aggregation if multiple event types are requested
* Mimic FAM's behavior of never following symbolic links
* Add exhaustive error handling
* Remove all the legacy thread-safe code since gamin is now single-threaded

PR:		79680
Submitted by:	Jean-Yves Lefort <jylefort@brutele.be>
2005-04-10 17:36:01 +00:00
Joe Marcus Clarke
179b70aa16 * When a file monitored with kqueue is moved or removed, gamin does
not monitor it anymore. The patch fixes the issue by adding
  moved/removed files to the exist_list, so that gamin detects when
  they are recreated
* No CHANGED event is emitted for the files contained in a monitored
  directory, because kqueue can't do that. The patch adds periodic
  polling for these files
* Instead of calling kevent() every second, the patch uses an I/O
  watch (g_io_add_watch())

PR:		79605
Submitted by:	Jean-Yves Lefort <jylefort@brutele.be>
2005-04-07 01:18:24 +00:00
Joe Marcus Clarke
c87a13d100 Add gamin, a file and directory monitoring server and API. Gamin can be
used as a drop-in replacement for FAM.  Gamin is designed to be more secure
than FAM as itdoes not require RPC, and runs a separate instance for each
user.  While it is API and ABI compatible with FAM, it does not [yet]
support all of FAM's features.

This version of gamin comes with an optional (defaults to on) kqueue
backend for FreeBSD.  This backend can only be used with UFS file
systems.  If you need FAM-like support on non-UFS file systems, you
must build without the kqueue backend.
2005-04-02 09:08:47 +00:00