svn commit: r399664 - in head/devel/subversion: . files
Lev A. Serebryakov
lev at FreeBSD.org
Mon Oct 19 12:51:00 UTC 2015
Author: lev
Date: Mon Oct 19 12:50:59 2015
New Revision: 399664
URL: https://svnweb.freebsd.org/changeset/ports/399664
Log:
Improve apache configuration sample
PR: 203838
Submitted by: Olli Hauer <ohauer at FreeBSD.org>
Modified:
head/devel/subversion/Makefile
head/devel/subversion/files/220_subversion.conf.sample.in
Modified: head/devel/subversion/Makefile
==============================================================================
--- head/devel/subversion/Makefile Mon Oct 19 12:50:37 2015 (r399663)
+++ head/devel/subversion/Makefile Mon Oct 19 12:50:59 2015 (r399664)
@@ -1,7 +1,7 @@
# Created by: rooneg at electricjellyfish.net
# $FreeBSD$
-PORTREVISION= 0
+PORTREVISION= 1
MAINTAINER= lev at 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
Modified: head/devel/subversion/files/220_subversion.conf.sample.in
==============================================================================
--- head/devel/subversion/files/220_subversion.conf.sample.in Mon Oct 19 12:50:37 2015 (r399663)
+++ head/devel/subversion/files/220_subversion.conf.sample.in Mon Oct 19 12:50:59 2015 (r399664)
@@ -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
More information about the svn-ports-all
mailing list