Commit Graph

15 Commits

Author SHA1 Message Date
fgsch
94c6a5abc6 Bump revision after python's default change. 2010-08-30 17:57:31 +00:00
ajacoutot
ac742228f2 When the no_python FLAVOR is selected, make sure the server subpackage does
not depend on python.

spotted by naddy@
2010-08-25 06:55:45 +00:00
ajacoutot
04e9f6d209 Compile with -pthread. 2010-07-22 09:24:20 +00:00
ajacoutot
f809246d18 Enable threads.
This is needed, otherwise when the kqueue(2) backend runs out of fds,
gamin will not be able to fallback to polling.
2010-07-20 14:30:25 +00:00
ajacoutot
b4900052b8 Fix memleaks by including string.h where needed.
While here, switch to new REVISION/DEPENDS.
2010-07-13 14:10:35 +00:00
ajacoutot
182b905e44 Make use of getsockopt(2) SO_PEERCRED so we can use c_pid.
Requires a very current current...
2010-06-30 20:48:30 +00:00
ajacoutot
1f9980cc7b We don't want getpid() here. 2010-06-29 04:27:11 +00:00
kili
cc2a74fc3a Use ${MAKE_PROGRAM}, not ${GMAKE}.
ok ajacoutot@
2009-12-31 14:07:19 +00:00
phessler
a54cb0daa3 explicitly mention in the patch that these are gcc2.95 fixes.
requested by ajacoutot@
2009-12-28 17:35:19 +00:00
phessler
5416b58a68 add some gcc2.95 fixes 2009-12-28 17:23:23 +00:00
ajacoutot
a74730da46 I finally nailed down the previous issue, so re-enable kqueue support.
Successfully tested with nautilus and pcmanfm.
2009-12-06 17:48:37 +00:00
ajacoutot
894e572092 Tweak maxfilesperproc to force polling all the time. 2009-12-06 13:38:54 +00:00
ajacoutot
1b582b7296 Use setrlimit to set a correct value for maxfilesperproc.
Disable the kqueue(2) backend for now (by setting max_open_files to the
minimum) as there are some weird corner cases where it doesn't work and
hangs gam_server. I'm still on that but for the time beeing we want this
to work in every situations.
2009-12-05 22:55:36 +00:00
ajacoutot
74952d6226 Really fall back from kqueue to poll when we run out of fds.
While here, add more CONFIGURE_ARGS to DEBUG.
2009-12-05 17:03:40 +00:00
ajacoutot
494093ce60 Import (lib,py-)gamin-0.1.10
Gamin is a file and directory monitoring system defined to be a subset
of the FAM (File Alteration Monitor) system.
The main goals of the project are:
  * minimize the security model of FAM
  * simplify the code base
  * provide an API and ABI compatible replacement for FAM
  * try to fix some other issues like resource consumption

works for bernd@
ok landry@ jasper@
2009-12-04 08:07:20 +00:00