Date: Tue, 26 Jan 2010 21:57:10 +0100 From: "Philippe Pepiot" <phil@philpep.org> To: FreeBSD-gnats-submit@FreeBSD.org Subject: ports/143275: Update port devel/git: rc script set --reuseaddr Message-ID: <20100126210039.2CB18106568B@hub.freebsd.org> Resent-Message-ID: <201001262110.o0QLA13x056023@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 143275 >Category: ports >Synopsis: Update port devel/git: rc script set --reuseaddr >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Tue Jan 26 21:10:01 UTC 2010 >Closed-Date: >Last-Modified: >Originator: Philippe Pepiot >Release: FreeBSD 8.0-RELEASE-p2 i386 >Organization: >Environment: System: FreeBSD shen.philpep.org 8.0-RELEASE-p2 FreeBSD 8.0-RELEASE-p2 #0 r202418: Fri Jan 15 22:29:53 CET 2010 root@shen.philpep.org:/usr/obj/usr/src/sys/SHEN i386 >Description: By default rc.d/git_daemon doesn't use --reuseaddr option. This options set SO_REUSEADDR (setsockopt) on server socket, then we can restart git-daemon properly. Without SO_REUSEADDR the server can't restart immediately. It's just a suggestion to change the default configuration. >How-To-Repeat: >Fix: --- devel_git.patch begins here --- diff -ru git.orig/files/git_daemon.in git/files/git_daemon.in --- git.orig/files/git_daemon.in 2010-01-26 21:24:17.000000000 +0100 +++ git/files/git_daemon.in 2010-01-26 21:25:03.000000000 +0100 @@ -21,7 +21,7 @@ : ${git_daemon_enable:=NO} : ${git_daemon_directory:=%%PREFIX%%/git} -: ${git_daemon_flags:="--syslog"} +: ${git_daemon_flags:="--reuseaddr --syslog"} command="%%PREFIX%%/libexec/git-core/git-daemon" command_args="${git_daemon_directory} &" --- devel_git.patch ends here --- >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20100126210039.2CB18106568B>