BSD Ports

devel/gamin 0.1.10_10 FreeBSD

File and directory monitoring system

System
FreeBSD
Repository
FreeBSD ports
Maintainer
[email protected]
Categories
devel
Package size
58.4 KiB, 301.9 KiB installed

Description

Gamin is a file and directory monitoring system defined to be a subset of the FAM (File Alteration Monitor) system. This is a service provided by a library which allows to detect when a file or a directory has been modified.

Whereas the FreeBSD port of FAM polls files every few seconds, this port includes a kqueue(2) backend for immediate notification of most alterations.

In the other systems

SystemPortVersion
FreeBSDdevel/gamin0.1.10_10
NetBSDsysutils/gamin0.1.10nb11
DragonFlydevel/gamin0.1.10_10
MidnightBSDdevel/gamin0.1.10_335

Install

Binary package:

pkg install gamin

From the ports tree:

cd /usr/ports/devel/gamin/ && make install clean

To depend on this port in another port's Makefile:

RUN_DEPENDS=	gamin>0:devel/gamin
LIB_DEPENDS=	libfam.so:devel/gamin

Packages

The version each package repository carries. “-” means the repository builds no package of it, “n/a” that there is no such repository.

Repositoryaarch64amd64armv6armv7i386
FreeBSD:14:latest0.1.10_100.1.10_100.1.10_100.1.10_100.1.10_10
FreeBSD:14:quarterly0.1.10_100.1.10_10n/a0.1.10_100.1.10_10
FreeBSD:15:latest0.1.10_100.1.10_10n/a0.1.10_100.1.10_10
FreeBSD:15:quarterly0.1.10_100.1.10_10n/an/an/a
FreeBSD:16:latest0.1.10_100.1.10_10n/an/an/a
FreeBSD:16:quarterlyn/an/an/an/an/a

Dependencies

The Makefile names none itself; they come from USES and USE_*.

The full lists below include those, and their dependencies in turn.

Build dependencies 20
Run dependencies 15
Required by 132

The first 100 are listed.

Configuration

Options name: devel_gamin

OptionDefaultDescription
GAM_POLLERoffUse gamin's poller instead of kqueue's
LIBINOTIFYoffUse libinotify as the FAM backend
RUN_AS_EUIDonDrop privileges to effective user
USES
gettext gnome libtool localbase pathfix pkgconfig
Service scripts
none

Message after installing

Gamin will only provide realtime notification of changes for at most n files,
where n is the minimum value between (kern.maxfiles * 0.7) and
(kern.maxfilesperproc - 200). Beyond that limit, files will be polled.

If you often open several large folders with Nautilus, you might want to
increase the kern.maxfiles tunable (you do not need to set
kern.maxfilesperproc, since it is computed at boot time from kern.maxfiles).

The behavior of gamin can be controlled via the various gaminrc files.
See http://www.gnome.org/~veillard/gamin/config.html on how to create
these files.  In particular, if you find gam_server is taking up too much
CPU time polling for changes, something like the following may help
in one of the gaminrc files:

# reduce polling frequency to once per 10 seconds
# for UFS file systems in order to lower CPU load
fsset ufs poll 10

===>   NOTICE:

The gamin port currently does not have a maintainer. As a result, it is
more likely to have unresolved issues, not be up-to-date, or even be removed in
the future. To volunteer to maintain this port, please create an issue at:

https://bugs.freebsd.org/bugzilla

More information about port maintainership is available at:

https://docs.freebsd.org/en/articles/contributing/#ports-contributing

Files

pkg-plist 12
  • include/fam.h
  • lib/libfam.a
  • lib/libfam.so
  • lib/libfam.so.0
  • lib/libfam.so.0.0.0
  • lib/libgamin-1.a
  • lib/libgamin-1.so
  • lib/libgamin-1.so.0
  • lib/libgamin-1.so.0.1.10
  • lib/libgamin_shared.a
  • libdata/pkgconfig/gamin.pc
  • libexec/gam_server
distinfo 1
FileSizeSHA256
gamin-0.1.10.tar.gz65339228085f0ae8be10eab582ff186af4fb0be92cc6c62b5cc19cd09b295c7c2899a1
Master sites 1
  • GNOME

Commit history 0

No commits in the history this site was built from.