On 2017/12/28 20:10, Lucas Gabriel Vuotto wrote:
> Hi ports@,
> 
> `git daemon` executes /usr/local/libexec/git/git-daemon, but pexp only checks 
> for `gitdaemon ...`, resulting in `rcctl check gitdaemon` always returning an 
> error. This patch changes that. Don't know if hardcoding the path and not 
> using $TRUEPREFIX, so feel free to change that if needed.
> 
> Cheers.
> 
> -- lgv.
> 
> Index: devel/git/pkg/gitdaemon.rc
> ===================================================================
> RCS file: /cvs/ports/devel/git/pkg/gitdaemon.rc,v
> retrieving revision 1.1
> diff -u -p -u -r1.1 gitdaemon.rc
> --- devel/git/pkg/gitdaemon.rc        2 Jun 2016 18:33:27 -0000       1.1
> +++ devel/git/pkg/gitdaemon.rc        28 Dec 2017 22:40:28 -0000
> @@ -7,7 +7,7 @@ daemon_flags="--user=_gitdaemon"
>  
>  . /etc/rc.d/rc.subr
>  
> -pexp="git-daemon --detach${daemon_flags:+ ${daemon_flags}}"
> +pexp="/usr/local/libexec/git/git-daemon --detach${daemon_flags:+ 
> ${daemon_flags}}"
>  rc_reload=NO
>  
>  rc_cmd $1
> 

Similar diff was applied on Dec 1st.

Reply via email to