ports/143275: Update port devel/git: rc script set --reuseaddr
Philippe Pepiot
phil at philpep.org
Tue Jan 26 21:10:02 UTC 2010
>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 at 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:
More information about the freebsd-ports-bugs
mailing list