aboutsummaryrefslogtreecommitdiff
path: root/devel/subversion
diff options
context:
space:
mode:
authorLev A. Serebryakov <lev@FreeBSD.org>2015-10-19 12:50:59 +0000
committerLev A. Serebryakov <lev@FreeBSD.org>2015-10-19 12:50:59 +0000
commit0ffa6dceadd4ebc5dab232c72ac7f0db85726ad0 (patch)
tree562a19d699d26787074439f5403c6853016a5e10 /devel/subversion
parentcd91a67165377c3cabb2f02a81f82a4dec455451 (diff)
downloadports-0ffa6dceadd4ebc5dab232c72ac7f0db85726ad0.tar.gz
ports-0ffa6dceadd4ebc5dab232c72ac7f0db85726ad0.zip
Notes
Diffstat (limited to 'devel/subversion')
-rw-r--r--devel/subversion/Makefile6
-rw-r--r--devel/subversion/files/220_subversion.conf.sample.in18
2 files changed, 19 insertions, 5 deletions
diff --git a/devel/subversion/Makefile b/devel/subversion/Makefile
index b69a79b897f7..cc3cba5c83a1 100644
--- a/devel/subversion/Makefile
+++ b/devel/subversion/Makefile
@@ -1,7 +1,7 @@
# Created by: rooneg@electricjellyfish.net
# $FreeBSD$
-PORTREVISION= 0
+PORTREVISION= 1
MAINTAINER= lev@FreeBSD.org
COMMENT= Version control system
@@ -165,9 +165,9 @@ post-install: ${MKREPOS_TARGET}
(cd ${WRKSRC}/tools.examples && ${TAR} --exclude '*.in' -cf - * | ${TAR} -C ${STAGEDIR}${DATADIR} -xof - )
@${MKDIR} ${STAGEDIR}${DOCSDIR}
${INSTALL_MAN} ${PORTDOCS:S|^|${WRKSRC}/|} ${STAGEDIR}${DOCSDIR}
-.if ${PORT_OPTIONS:MSVNSERVE_WRAPPER}
+
+post-install-SVNSERVE_WRAPPER-on:
@${INSTALL_SCRIPT} ${FILESDIR}/svnserve.wrapper ${STAGEDIR}${PREFIX}/bin/svnserve.sample
-.endif
# ===============================================================================
repository: _mkrepos
diff --git a/devel/subversion/files/220_subversion.conf.sample.in b/devel/subversion/files/220_subversion.conf.sample.in
index 184cc13fec59..59c38f78dfb3 100644
--- a/devel/subversion/files/220_subversion.conf.sample.in
+++ b/devel/subversion/files/220_subversion.conf.sample.in
@@ -39,6 +39,15 @@
## KeepAlive on
## MaxKeepAliveRequests 1000
##
+## # http://subversion.apache.org/docs/release-notes/1.7.html#server-performance-tuning
+## # Calculate your own values!
+## # For mod_dav_svn, a 1GB cache configuration with maximum data coverage looks like this
+## <IfModule dav_svn_module>
+## SVNInMemoryCacheSize 1048576
+## SVNCacheFullTexts on
+## SVNCacheTextDeltas on
+## </IfModule>
+##
## Multiple Repos with Digest auth:
## - AuthName is an arbitrary name that you choose for the authentication
## domain. Most browsers display this name in the dialog box when prompting
@@ -46,9 +55,14 @@
## - AuthType specifies the type of authentication to use.
## - AuthUserFile specifies the location of the password file to use.
##
-##<IfModule dav_module>
+##<IfModule dav_svn_module>
##<Location /svn/>
-## # Enable Subversion
+## <ifModule mime_module>
+## RemoveEncoding .gz .tgz .Z
+## RemoveType .gz .tgz .Z
+## </ifModule>
+##
+#### # Enable Subversion
## DAV svn
##
## # Directory containing all repository for this path