From af59f255b9359074e9d70003dd9f4dc7f2f49a24 Mon Sep 17 00:00:00 2001 From: lev Date: Mon, 27 Oct 2008 16:53:49 +0000 Subject: Add "--listen-host 0.0.0.0" to default svnserve flags, to listen on IPv4 addresses. PR: ports/128367 --- devel/subversion16/Makefile.common | 2 +- devel/subversion16/files/svnserve.in | 9 +++++++-- 2 files changed, 8 insertions(+), 3 deletions(-) (limited to 'devel/subversion16') diff --git a/devel/subversion16/Makefile.common b/devel/subversion16/Makefile.common index b566efcbf9ae..7fb7edd5ebbd 100644 --- a/devel/subversion16/Makefile.common +++ b/devel/subversion16/Makefile.common @@ -6,7 +6,7 @@ PORTNAME= subversion PORTVERSION= 1.5.4 -PORTREVISION?= 1 +PORTREVISION?= 2 CATEGORIES+= devel MASTER_SITES= http://subversion.tigris.org/downloads/:main \ http://svnbook.red-bean.com/en/1.4/:book diff --git a/devel/subversion16/files/svnserve.in b/devel/subversion16/files/svnserve.in index 6cc29b0d3862..113b1b5cd985 100644 --- a/devel/subversion16/files/svnserve.in +++ b/devel/subversion16/files/svnserve.in @@ -12,16 +12,21 @@ # # svnserve_enable="YES" # # optional -# svnserve_flags="-d --listen-port=3690" +# svnserve_flags="-d --listen-port=3690 --listen-host 0.0.0.0" # svnserve_data="/usr/local/repositories" # svnserve_user="svn" # svnserve_group="svn" +# +# Note: +# svnserve bind per default at the ipv6 address! +# If you want svnserve binding at ipv4 address, you have +# to use option 'svnserve_flags' with --listen-host parameter . "%%RC_SUBR%%" # Set some defaults svnserve_enable=${svnserve_enable:-"NO"} -svnserve_flags=${svnserve_flags:-"-d --listen-port=3690"} +svnserve_flags=${svnserve_flags:-"-d --listen-port=3690 --listen-host 0.0.0.0"} svnserve_data=${svnserve_data:-"/home/svn/repos"} svnserve_user=${svnserve_user:-"svn"} svnserve_group=${svnserve_group:-"svn"} -- cgit