this diff installs a systemwide config for subversion that tells it not
to cache passwords in clear text in your homedir. i think this is a
more sane default.

ok?

Index: Makefile
===================================================================
RCS file: /cvs/ports/devel/subversion/Makefile,v
retrieving revision 1.31
diff -u -p -r1.31 Makefile
--- Makefile    14 Feb 2007 11:51:07 -0000      1.31
+++ Makefile    15 Feb 2007 04:18:00 -0000
@@ -7,8 +7,8 @@ COMMENT-ruby=   "ruby interface to subvers
 
 VERSION=       1.4.3
 DISTNAME=      subversion-${VERSION}
-PKGNAME=       ${DISTNAME}
-PKGNAME-main=  ${DISTNAME}
+PKGNAME=       ${DISTNAME}p0
+PKGNAME-main=  ${DISTNAME}p0
 PKGNAME-perl=  p5-SVN-${VERSION}
 PKGNAME-python=        py-subversion-${VERSION}
 PKGNAME-ruby=  ruby-subversion-${VERSION}p0
@@ -159,6 +159,8 @@ post-install:
        ${INSTALL_DATA_DIR} 
${PREFIX}/share/examples/subversion/hook-scripts/mailer
        ${INSTALL_DATA_DIR} 
${PREFIX}/share/examples/subversion/hook-scripts/mailer/tests
        ${INSTALL_DATA_DIR} 
${PREFIX}/share/examples/subversion/hook-scripts/enforcer
+       ${INSTALL_DATA} ${FILESDIR}/config \
+                       ${PREFIX}/share/examples/subversion/config
        ${INSTALL_DATA} ${WRKBUILD}/tools/backup/hot-backup.py \
                        ${PREFIX}/share/examples/subversion/backup
        ${INSTALL_DATA} ${WRKSRC}/tools/server-side/svn-backup-dumps.py \
Index: files/config
===================================================================
RCS file: files/config
diff -N files/config
--- /dev/null   1 Jan 1970 00:00:00 -0000
+++ files/config        15 Feb 2007 04:18:00 -0000
@@ -0,0 +1,4 @@
+# $OpenBSD$
+
+[auth]
+store-passwords=no
Index: pkg/PLIST-main
===================================================================
RCS file: /cvs/ports/devel/subversion/pkg/PLIST-main,v
retrieving revision 1.1
diff -u -p -r1.1 PLIST-main
--- pkg/PLIST-main      24 Nov 2006 19:52:53 -0000      1.1
+++ pkg/PLIST-main      15 Feb 2007 04:18:00 -0000
@@ -82,10 +82,13 @@ lib/libsvn_wc-1.la
 @man man/man5/svnserve.conf.5
 @man man/man8/svnserve.8
 share/examples/subversion/
[EMAIL PROTECTED] ${SYSCONFDIR}/subversion/
 share/examples/subversion/backup/
 share/examples/subversion/backup/hot-backup.py
 share/examples/subversion/backup/svn-backup-dumps.py
 share/examples/subversion/backup/svn-fast-backup
+share/examples/subversion/config
[EMAIL PROTECTED] ${SYSCONFDIR}/subversion/config
 share/examples/subversion/hook-scripts/
 share/examples/subversion/hook-scripts/README
 share/examples/subversion/hook-scripts/check-case-insensitive.pl

Reply via email to