After updating net/rsync port to the version 3.10 a rsyncd daemon looking for a config file at /etc/rsyncd.conf instead of /usr/local/etc/rsyncd.conf, so it needs an additional parameter rsyncd_flags="--config=/usr/local/etc/rsyncd.conf" in the /etc/rc.conf to start a rsyncd daemon. How-To-Repeat: cd /usr/ports/net/rsync make install clean cat 'rsyncd_enable="YES"' >> /etc/rc.conf /usr/local/etc/rc.d/rsyncd start Starting rsyncd. Failed to parse config file: /etc/rsyncd.conf ./rsyncd: WARNING: failed to start rsyncd
Responsible Changed From-To: freebsd-ports-bugs->ehaupt Over to maintainer (via the GNATS Auto Assign Tool)
It seems like CONFIGURE_ARGS= --disable-debug --enable-ipv6 \ --with-rsyncd-conf=${PREFIX}/etc/rsyncd.conf is completely ignored. I will look into it, thanks. Emanuel
The following patch seems to solve the problem: --- patch begins here --- Index: Makefile =================================================================== --- Makefile (revision 329172) +++ Makefile (working copy) @@ -3,6 +3,7 @@ PORTNAME= rsync PORTVERSION= 3.1.0 +PORTREVISION= 1 CATEGORIES= net ipv6 MASTER_SITES= http://rsync.samba.org/ftp/%SUBDIR%/ \ ftp://ftp.samba.org/pub/%SUBDIR%/ \ @@ -119,7 +120,11 @@ @${REINPLACE_CMD} -e 's|CFLAGS|CONFIGUREDCFLAGS|' \ -e 's|perl.*|${DO_NADA}|' \ ${WRKSRC}/Makefile.in +# workaround for bug in configure which ignores --with-rsyncd-conf + @${REINPLACE_CMD} -e 's|RSYNCD_SYSCONF|"${PREFIX}/etc/rsyncd.conf"|' \ + ${WRKSRC}/clientserver.c pre-configure: @${REINPLACE_CMD} -e 's:/etc/:${PREFIX}/etc/:g' \ ${WRKSRC}/rsync.h ${WRKSRC}/rsync.1 ${WRKSRC}/rsyncd.conf.5 --- patch ends here ---
Author: ehaupt Date: Thu Oct 3 14:07:08 2013 New Revision: 329194 URL: http://svnweb.freebsd.org/changeset/ports/329194 Log: Provide a patch to workaround a problem with the configure script ignoring --with-rsyncd-conf. PR: 182596 (based on) Submitted by: Alexey Markov <redrat@mail.ru> Modified: head/net/rsync/Makefile Modified: head/net/rsync/Makefile ============================================================================== --- head/net/rsync/Makefile Thu Oct 3 14:03:29 2013 (r329193) +++ head/net/rsync/Makefile Thu Oct 3 14:07:08 2013 (r329194) @@ -3,6 +3,7 @@ PORTNAME= rsync PORTVERSION= 3.1.0 +PORTREVISION= 1 CATEGORIES= net ipv6 MASTER_SITES= http://rsync.samba.org/ftp/%SUBDIR%/ \ ftp://ftp.samba.org/pub/%SUBDIR%/ \ @@ -119,6 +120,9 @@ post-patch: @${REINPLACE_CMD} -e 's|CFLAGS|CONFIGUREDCFLAGS|' \ -e 's|perl.*|${DO_NADA}|' \ ${WRKSRC}/Makefile.in +# workaround for bug in configure which ignores --with-rsyncd-conf + @${REINPLACE_CMD} -e 's|RSYNCD_SYSCONF|"${PREFIX}/etc/rsyncd.conf"|' \ + ${WRKSRC}/clientserver.c pre-configure: @${REINPLACE_CMD} -e 's:/etc/:${PREFIX}/etc/:g' \ _______________________________________________ svn-ports-all@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/svn-ports-all To unsubscribe, send any mail to "svn-ports-all-unsubscribe@freebsd.org"
State Changed From-To: open->closed Fix committed, thanks for the report.