Preparing 2.0.1

This commit is contained in:
Axel Kittenberger 2011-01-12 15:54:19 +00:00
parent 50c133ff73
commit ad1392691c
4 changed files with 47 additions and 35 deletions

View File

@ -1,3 +1,11 @@
11-01-2011: 2.0.1
fix: write pidfile after daemonize()
fix: fixed weak tables that allowed garbage collector to collect
event lists too eraly.
improvement: allow multiple arguments as table for rsyncOps
change: added OSX fsevents interface, disabled in autoconf by default
since still very experimental and limited to OSX 10.5 only.
02-12-2010: 2.0.0
a complete recoding!

View File

@ -5,13 +5,13 @@ lsyncd_SOURCES = lsyncd.h lsyncd.c lsyncd.lua
if INOTIFY
lsyncd_SOURCES += inotify.c
endif
if FANOTIFY
lsyncd_SOURCES += fanotify.c
endif
#if FANOTIFY
#lsyncd_SOURCES += fanotify.c
#endif
if FSEVENTS
lsyncd_SOURCES += fsevents.c
endif
#if FSEVENTS
#lsyncd_SOURCES += fsevents.c
#endif
lsyncd_LDADD = $(LUA_LIBS)
exampledir = $(datarootdir)/doc/@PACKAGE@

View File

@ -2,7 +2,7 @@
echo XXXXXXXXX
# Process this file with autoconf to produce a configure script.
#AC_PREREQ(2.60)
AC_INIT(lsyncd, 2.0.0, axkibe@gmail.com)
AC_INIT(lsyncd, 2.0.1, axkibe@gmail.com)
AC_CONFIG_SRCDIR([lsyncd.c])
AC_CONFIG_HEADER([config.h])
AM_INIT_AUTOMAKE(AC_PACKAGE_NAME, AC_PACKAGE_VERSION)
@ -53,36 +53,40 @@ else
fi
AM_CONDITIONAL([INOTIFY], [test x${with_inotify} != xno])
###
# --with-fanotify option
#
AC_ARG_WITH([fanotify],
[ --with-fanotify Uses Linux new fanotify event interface. EXPERIMENTAL!
Off by default.])
if test "x${with_fanotify}" == x || test "x${with_fanotify}no" == xno; then
echo "compiling without fanotify"
else
echo "compiling with fanotify - WARNING experimental!"
AC_DEFINE(LSYNCD_WITH_FANOTIFY,,"descr")
fi
AM_CONDITIONAL([FANOTIFY],
[test x${with_fanotify} != x -a x${with_fanotify} != xno])
####
## --with-fanotify option
## disabled, does not work.
##
#AC_ARG_WITH([fanotify],
#[ --with-fanotify Uses Linux new fanotify event interface. EXPERIMENTAL!
# Off by default.])
#if test "x${with_fanotify}" == x || test "x${with_fanotify}no" == xno; then
# echo "compiling without fanotify"
#else
# echo "compiling with fanotify - WARNING experimental!"
# AC_DEFINE(LSYNCD_WITH_FANOTIFY,,"descr")
#fi
#AM_CONDITIONAL([FANOTIFY],
# [test x${with_fanotify} != x -a x${with_fanotify} != xno])
###
# --with-fsevents
AC_ARG_WITH([fsevents],
[ --with-fsevents Uses MacOS (10.5) /dev/fsevents. EXPERIMENTAL!
Off by default.])
if test "x${with_fsevents}" != x; then
echo "compiling with fsevents. WARNING experimental!"
AC_DEFINE(LSYNCD_WITH_FSEVENTS,,"descr")
else
echo "compiling without fsevents"
fi
AM_CONDITIONAL([FSEVENTS],
[test x${with_fsevents} != x -a xno${with_fsevents} != xno])
####
## --with-fsevents
## disabled per default, experimental, works only with OS X 10.5
#AC_ARG_WITH([fsevents],
#[ --with-fsevents Uses MacOS (10.5) /dev/fsevents. EXPERIMENTAL!
# Off by default.])
#if test "x${with_fsevents}" != x; then
# echo "compiling with fsevents. WARNING experimental!"
# AC_DEFINE(LSYNCD_WITH_FSEVENTS,,"descr")
#else
## echo "compiling without fsevents"
#fi
#AM_CONDITIONAL([FSEVENTS],
# [test x${with_fsevents} != x -a xno${with_fsevents} != xno])
# Checks for typedefs, structures, and compiler characteristics.
# Checks for library functions.
AC_CONFIG_FILES([Makefile])
AC_OUTPUT

View File

@ -22,7 +22,7 @@ if lsyncd_version then
"You cannot use the lsyncd runner as configuration file!")
lsyncd.terminate(-1) -- ERRNO
end
lsyncd_version = "2.0.0"
lsyncd_version = "2.0.1"
-----
-- Hides the core interface from user scripts