Subversion Repositories public

Compare Revisions

Ignore whitespace Rev 57 → Rev 56

/incron/trunk/incrontab.1
File deleted
/incron/trunk/incrontab.5
File deleted
/incron/trunk/incrond.8
File deleted
/incron/trunk/CHANGELOG
1,8 → 1,3
0.3.1 2006-11-24
* user manual added
* incron tables now owned by root (also fixes #0000103)
 
 
0.3.0 2006-11-12
* based on inotify-cxx 0.5.2 (fixes a problem with ignoring IN_OPEN)
* two new special symbols ($% for flags as names, $& for numeric flags)
/incron/trunk/README
38,7 → 38,9
check the PREFIX and other common variables. If done you can
now build the files ('make').
 
The binaries must be of course installed as root.
The binaries must be of course installed as root. Note that the
installer creates a special user called 'incron' which manages
the incron tables.
 
 
4. How to use
98,6 → 100,6
modify it under the terms of the GNU General Public License,
version 2 (see LICENSE-GPL).
 
Some parts may be also covered by other licenses.
Some parts may be also licensed covere by other licenses.
Please look into the source files for detailed information.
 
/incron/trunk/incrontab.cpp
29,18 → 29,6
/// Denied users
#define INCRON_DENY_PATH "/etc/incron.deny"
 
/*
* ALLOW/DENY SEMANTICS
*
* If /etc/incron.allow exists ONLY users contained here
* are allowed to use incron.
*
* Otherwise, if /etc/incron.deny exists only user NOT
* contained here are allowed to use incron.
*
* Otherwise all users may use incron.
*
*/
 
 
 
/incron/trunk/TODO
1,3 → 1,4
Currently pending tasks:
 
#0000101 - Temporary files not removed
#0000103 - User overriding doesn't work
/incron/trunk/Makefile
1,9 → 1,8
 
PREFIX = /usr/local
DATADIR = /var/spool/incron
MANPATH = /usr/share/man
 
USER = root
USER = incron
 
CXX = g++
INSTALL = install
11,10 → 10,9
OPTIMIZE = -O2
DEBUG = -g0
WARNINGS = -Wall
CXXAUX = -pipe
 
CPPFLAGS =
CXXFLAGS = $(OPTIMIZE) $(DEBUG) $(WARNINGS) $(CXXAUX)
CXXFLAGS = $(OPTIMIZE) $(DEBUG) $(WARNINGS)
LDFLAGS = $(WARNINGS)
 
PROGRAMS = incrond incrontab
40,33 → 38,22
 
distclean: clean
 
install: all install-man
install: all
[ -d $(PREFIX) ]
useradd -M -s /sbin/nologin $(USER) || useradd -s /sbin/nologin $(USER)
$(INSTALL) -m 04755 -o $(USER) incrontab $(PREFIX)/bin/
$(INSTALL) -m 0755 incrond $(PREFIX)/sbin/
$(INSTALL) -m 0755 -o $(USER) -d $(DATADIR)
 
install-man: incrontab.1 incrontab.5 incrond.8
$(INSTALL) -m 0755 -d $(MANPATH)/man1
$(INSTALL) -m 0755 -d $(MANPATH)/man5
$(INSTALL) -m 0755 -d $(MANPATH)/man8
$(INSTALL) -m 0644 incrontab.1 $(MANPATH)/man1
$(INSTALL) -m 0644 incrontab.5 $(MANPATH)/man5
$(INSTALL) -m 0644 incrond.8 $(MANPATH)/man8
 
uninstall: uninstall-man
uninstall:
[ -d $(PREFIX) ]
rm -f $(PREFIX)/bin/incrontab
rm -f $(PREFIX)/sbin/incrond
userdel $(USER)
 
uninstall-man:
rm -f $(MANPATH)/man1/incrontab.1
rm -f $(MANPATH)/man5/incrontab.5
rm -f $(MANPATH)/man8/incrontab.8
 
.PHONY: all clean distclean install uninstall
 
.PHONY: all clean distclean install install-man uninstall uninstall-man
 
.POSIX:
 
icd-main.o: icd-main.cpp inotify-cxx.h incrontab.h usertable.h incron.h
/incron/trunk/incron.h
27,7 → 27,7
#define INCRON_TAB_NAME "incrontab"
 
/// Application version (release)
#define INCRON_VERSION "0.3.1"
#define INCRON_VERSION "0.3.0"
 
/// Address for sending bugs
#define INCRON_BUG_ADDRESS "<bugs@aiken.cz>"