Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 03 Jun 2018 06:35:54 +0000
From:      bugzilla-noreply@freebsd.org
To:        ports-bugs@FreeBSD.org
Subject:   [Bug 228714] [NEW PORT] sysutils/lsyncd: Live Syncing (Mirror) Daemon
Message-ID:  <bug-228714-7788-CHulVVhVIW@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-228714-7788@https.bugs.freebsd.org/bugzilla/>
References:  <bug-228714-7788@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D228714

Tobias Kortkamp <tobik@freebsd.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Assignee|ports-bugs@FreeBSD.org      |tobik@freebsd.org
             Status|New                         |Open

--- Comment #4 from Tobias Kortkamp <tobik@freebsd.org> ---
X+#ifdef __FreeBSD__
X+#include </usr/local/include/sys/inotify.h>
X+#else

This is incorrect on many levels.  Why can't it find sys/inotify.h
without this?  Maybe you need to add USES=3Dlocalbase or
USES=3Dlocalbase:ldflags to the port.

X+      // daemonize should be done before open_inofity with FreeBSD.

Hmm, why?

X: ${lsyncd_configfile:=3D/usr/local/etc/$name.conf}

Replace /usr/local with %%PREFIX%%.

XUSES=3D          cmake lua

cmake:outsource is preferred.

X.include <bsd.port.pre.mk>

Not necessary here.

XPLIST_FILES=3D   sbin/lsyncd man/man1/lsyncd.1.gz etc/lsyncd.conf.sample

lsyncd.conf.sample should probably have an @sample keyword.

XLICENSE=3D       GPLv2

This should be GPLv2+ as they allow later version of the GPL.

X+#ifdef __FreeBSD__
X+#define DT_UNKNOWN 0
X+#define DT_DIR 4
X+#endif

Why is this needed?  These should be defined in sys/dirent.h on
FreeBSD.  If lsyncd defines _XOPEN_SOURCE (or similar things that
may hide some definitions) maybe try removing that instead.

XLIB_DEPENDS+=3D  libinotify.so:devel/libinotify

This needs to go after BUILD_DEPENDS. Use =3D not +=3D.

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-228714-7788-CHulVVhVIW>