Commit graph

23 commits

Author SHA1 Message Date
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