From owner-freebsd-ports-bugs@freebsd.org Sun Jun 3 06:35:57 2018 Return-Path: Delivered-To: freebsd-ports-bugs@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 64690EFDC3F for ; Sun, 3 Jun 2018 06:35:57 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org [IPv6:2001:1900:2254:206a::50:5]) by mx1.freebsd.org (Postfix) with ESMTP id EF2DE72E25 for ; Sun, 3 Jun 2018 06:35:56 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.ysv.freebsd.org (Postfix) id AE35EEFDC3A; Sun, 3 Jun 2018 06:35:56 +0000 (UTC) Delivered-To: ports-bugs@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 89218EFDC38 for ; Sun, 3 Jun 2018 06:35:56 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.ysv.freebsd.org (mxrelay.ysv.freebsd.org [IPv6:2001:1900:2254:206a::19:3]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mxrelay.ysv.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 23C5672E23 for ; Sun, 3 Jun 2018 06:35:56 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.ysv.freebsd.org (Postfix) with ESMTPS id 5F887254E0 for ; Sun, 3 Jun 2018 06:35:55 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id w536ZtuK017395 for ; Sun, 3 Jun 2018 06:35:55 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id w536Ztg6017394 for ports-bugs@FreeBSD.org; Sun, 3 Jun 2018 06:35:55 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: ports-bugs@FreeBSD.org Subject: [Bug 228714] [NEW PORT] sysutils/lsyncd: Live Syncing (Mirror) Daemon Date: Sun, 03 Jun 2018 06:35:54 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Ports & Packages X-Bugzilla-Component: Individual Port(s) X-Bugzilla-Version: Latest X-Bugzilla-Keywords: feature, patch X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: tobik@freebsd.org X-Bugzilla-Status: Open X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: tobik@freebsd.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: assigned_to bug_status Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.26 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 03 Jun 2018 06:35:57 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D228714 Tobias Kortkamp changed: What |Removed |Added ---------------------------------------------------------------------------- Assignee|ports-bugs@FreeBSD.org |tobik@freebsd.org Status|New |Open --- Comment #4 from Tobias Kortkamp --- X+#ifdef __FreeBSD__ X+#include 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 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.=