summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarius Mauch <genone@gentoo.org>2007-03-05 04:20:11 +0000
committerMarius Mauch <genone@gentoo.org>2007-03-05 04:20:11 +0000
commit1dc9cd8b82740c25a113e598668d1e44ab9f99e8 (patch)
tree1413139a2d73dcccff0eab4b08195df9e7000fa2 /dev-util
parentReplacing einfo with elog (diff)
downloadgentoo-2-1dc9cd8b82740c25a113e598668d1e44ab9f99e8.tar.gz
gentoo-2-1dc9cd8b82740c25a113e598668d1e44ab9f99e8.tar.bz2
gentoo-2-1dc9cd8b82740c25a113e598668d1e44ab9f99e8.zip
Replacing einfo with elog
(Portage version: 2.1.2-r10)
Diffstat (limited to 'dev-util')
-rw-r--r--dev-util/subversion/ChangeLog7
-rw-r--r--dev-util/subversion/subversion-1.1.3.ebuild108
-rw-r--r--dev-util/subversion/subversion-1.2.3-r3.ebuild102
-rw-r--r--dev-util/subversion/subversion-1.3.2-r3.ebuild102
-rw-r--r--dev-util/subversion/subversion-1.4.3.ebuild102
5 files changed, 213 insertions, 208 deletions
diff --git a/dev-util/subversion/ChangeLog b/dev-util/subversion/ChangeLog
index dc292895763a..b5c6a1c39a5d 100644
--- a/dev-util/subversion/ChangeLog
+++ b/dev-util/subversion/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for dev-util/subversion
# Copyright 2002-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-util/subversion/ChangeLog,v 1.249 2007/03/03 21:00:31 pauldv Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-util/subversion/ChangeLog,v 1.250 2007/03/05 04:20:11 genone Exp $
+
+ 05 Mar 2007; Marius Mauch <genone@gentoo.org> subversion-1.1.3.ebuild,
+ subversion-1.2.3-r3.ebuild, subversion-1.3.2-r3.ebuild,
+ subversion-1.4.3.ebuild:
+ Replacing einfo with elog
03 Mar 2007; Paul de Vrieze <pauldv@gentoo.org> subversion-1.4.3.ebuild:
Fix bug #108777 by preferring the apr version apache was linked against.
diff --git a/dev-util/subversion/subversion-1.1.3.ebuild b/dev-util/subversion/subversion-1.1.3.ebuild
index a09293241baa..d232fb5caaed 100644
--- a/dev-util/subversion/subversion-1.1.3.ebuild
+++ b/dev-util/subversion/subversion-1.1.3.ebuild
@@ -1,6 +1,6 @@
-# Copyright 1999-2006 Gentoo Foundation
+# Copyright 1999-2007 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-util/subversion/subversion-1.1.3.ebuild,v 1.23 2006/06/24 15:35:50 mcummings Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-util/subversion/subversion-1.1.3.ebuild,v 1.24 2007/03/05 04:20:11 genone Exp $
inherit elisp-common libtool python eutils bash-completion
@@ -57,16 +57,16 @@ pkg_setup() {
if use apache2; then
echo
- einfo "The apache2 subversion module will be built, and libapr from the"
- einfo "apache package will be used instead of the included."
+ elog "The apache2 subversion module will be built, and libapr from the"
+ elog "apache package will be used instead of the included."
echo
else
echo
- einfo "Please note that subversion and apache2 cannot be installed"
- einfo "simultaneously without specifying the apache2 use flag. This is"
- einfo "because subversion installs its own libapr and libapr-util in that"
- einfo "case. Specifying the apache2 useflag will also enable the building of"
- einfo "the apache2 module."
+ elog "Please note that subversion and apache2 cannot be installed"
+ elog "simultaneously without specifying the apache2 use flag. This is"
+ elog "because subversion installs its own libapr and libapr-util in that"
+ elog "case. Specifying the apache2 useflag will also enable the building of"
+ elog "the apache2 module."
echo
fi
}
@@ -145,7 +145,7 @@ src_compile() {
fi
if use emacs; then
- einfo "compiling emacs support"
+ elog "compiling emacs support"
elisp-compile ${S}/contrib/client-side/psvn/psvn.el || die "emacs modules failed"
elisp-compile ${S}/contrib/client-side/vc-svn.el || die "emacs modules failed"
fi
@@ -276,52 +276,52 @@ src_test() {
pkg_postinst() {
use emacs >/dev/null && elisp-site-regen
- einfo "Subversion Server Notes"
- einfo "-----------------------"
- einfo
-
- einfo "If you intend to run a server, a repository needs to be created using"
- einfo "svnadmin (see man svnadmin) or the following command to create it in"
- einfo "/var/svn:"
- einfo
- einfo " emerge --config =${CATEGORY}/${PF}"
- einfo
- einfo "If you upgraded from an older version of berkely db and experience"
- einfo "problems with your repository then run the following commands as root:"
- einfo " db4_recover -h ${SVN_REPOS_LOC}/repos"
- einfo " chown -Rf apache:apache ${SVN_REPOS_LOC}/repos"
- einfo
- einfo "Subversion has multiple server types, take your pick:"
- einfo
- einfo " - svnserve daemon: "
- einfo " 1. edit /etc/conf.d/svnserve"
- einfo " 2. start daemon: /etc/init.d/svnserve start"
- einfo " 3. make persistent: rc-update add svnserve default"
- einfo
- einfo " - svnserve via xinetd:"
- einfo " 1. edit /etc/xinetd.d/svnserve (remove disable line)"
- einfo " 2. restart xinetd.d: /etc/init.d/xinetd restart"
- einfo
- einfo " - svn over ssh:"
- einfo " 1. Fix the repository permissions:"
- einfo " groupadd svnusers"
- einfo " chown -R root:svnusers /var/svn/repos/"
- einfo " chmod -R g-w /var/svn/repos"
- einfo " chmod -R g+rw /var/svn/repos/db"
- einfo " chmod -R g+rw /var/svn/repos/locks"
- einfo " 2. create an svnserve wrapper in /usr/local/bin to set the umask you"
- einfo " want, for example:"
- einfo " #!/bin/bash"
- einfo " umask 002"
- einfo " exec /usr/bin/svnserve \"\$@\""
- einfo
+ elog "Subversion Server Notes"
+ elog "-----------------------"
+ elog
+
+ elog "If you intend to run a server, a repository needs to be created using"
+ elog "svnadmin (see man svnadmin) or the following command to create it in"
+ elog "/var/svn:"
+ elog
+ elog " emerge --config =${CATEGORY}/${PF}"
+ elog
+ elog "If you upgraded from an older version of berkely db and experience"
+ elog "problems with your repository then run the following commands as root:"
+ elog " db4_recover -h ${SVN_REPOS_LOC}/repos"
+ elog " chown -Rf apache:apache ${SVN_REPOS_LOC}/repos"
+ elog
+ elog "Subversion has multiple server types, take your pick:"
+ elog
+ elog " - svnserve daemon: "
+ elog " 1. edit /etc/conf.d/svnserve"
+ elog " 2. start daemon: /etc/init.d/svnserve start"
+ elog " 3. make persistent: rc-update add svnserve default"
+ elog
+ elog " - svnserve via xinetd:"
+ elog " 1. edit /etc/xinetd.d/svnserve (remove disable line)"
+ elog " 2. restart xinetd.d: /etc/init.d/xinetd restart"
+ elog
+ elog " - svn over ssh:"
+ elog " 1. Fix the repository permissions:"
+ elog " groupadd svnusers"
+ elog " chown -R root:svnusers /var/svn/repos/"
+ elog " chmod -R g-w /var/svn/repos"
+ elog " chmod -R g+rw /var/svn/repos/db"
+ elog " chmod -R g+rw /var/svn/repos/locks"
+ elog " 2. create an svnserve wrapper in /usr/local/bin to set the umask you"
+ elog " want, for example:"
+ elog " #!/bin/bash"
+ elog " umask 002"
+ elog " exec /usr/bin/svnserve \"\$@\""
+ elog
if use apache2 >/dev/null; then
- einfo " - http-based server:"
- einfo " 1. edit /etc/conf.d/apache2 to include both \"-D DAV\" and \"-D SVN\""
- einfo " 2. create an htpasswd file:"
- einfo " htpasswd2 -m -c ${SVN_REPOS_LOC}/conf/svnusers USERNAME"
- einfo
+ elog " - http-based server:"
+ elog " 1. edit /etc/conf.d/apache2 to include both \"-D DAV\" and \"-D SVN\""
+ elog " 2. create an htpasswd file:"
+ elog " htpasswd2 -m -c ${SVN_REPOS_LOC}/conf/svnusers USERNAME"
+ elog
fi
}
diff --git a/dev-util/subversion/subversion-1.2.3-r3.ebuild b/dev-util/subversion/subversion-1.2.3-r3.ebuild
index 0bedb14b8e22..234b9b501aeb 100644
--- a/dev-util/subversion/subversion-1.2.3-r3.ebuild
+++ b/dev-util/subversion/subversion-1.2.3-r3.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2007 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-util/subversion/subversion-1.2.3-r3.ebuild,v 1.16 2007/01/28 19:30:13 chtekk Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-util/subversion/subversion-1.2.3-r3.ebuild,v 1.17 2007/03/05 04:20:11 genone Exp $
inherit elisp-common libtool python eutils bash-completion flag-o-matic depend.apache perl-module
@@ -272,60 +272,60 @@ pkg_postinst() {
use emacs && elisp-site-regen
use perl && perl-module_pkg_postinst
- einfo "Subversion Server Notes"
- einfo "-----------------------"
- einfo
-
- einfo "If you intend to run a server, a repository needs to be created using"
- einfo "svnadmin (see man svnadmin) or the following command to create it in"
- einfo "/var/svn:"
- einfo
- einfo " emerge --config =${CATEGORY}/${PF}"
- einfo
- einfo "If you upgraded from an older version of berkely db and experience"
- einfo "problems with your repository then run the following commands as root:"
- einfo " db4_recover -h ${SVN_REPOS_LOC}/repos"
- einfo " chown -Rf apache:apache ${SVN_REPOS_LOC}/repos"
- einfo
- einfo "Subversion has multiple server types, take your pick:"
- einfo
- einfo " - svnserve daemon: "
- einfo " 1. edit /etc/conf.d/svnserve"
- einfo " 2. start daemon: /etc/init.d/svnserve start"
- einfo " 3. make persistent: rc-update add svnserve default"
- einfo
- einfo " - svnserve via xinetd:"
- einfo " 1. edit /etc/xinetd.d/svnserve (remove disable line)"
- einfo " 2. restart xinetd.d: /etc/init.d/xinetd restart"
- einfo
- einfo " - svn over ssh:"
- einfo " 1. Fix the repository permissions:"
- einfo " groupadd svnusers"
- einfo " chown -R root:svnusers /var/svn/repos/"
- einfo " chmod -R g-w /var/svn/repos"
- einfo " chmod -R g+rw /var/svn/repos/db"
- einfo " chmod -R g+rw /var/svn/repos/locks"
- einfo " 2. create an svnserve wrapper in /usr/local/bin to set the umask you"
- einfo " want, for example:"
- einfo " #!/bin/bash"
- einfo " umask 002"
- einfo " exec /usr/bin/svnserve \"\$@\""
- einfo
+ elog "Subversion Server Notes"
+ elog "-----------------------"
+ elog
+
+ elog "If you intend to run a server, a repository needs to be created using"
+ elog "svnadmin (see man svnadmin) or the following command to create it in"
+ elog "/var/svn:"
+ elog
+ elog " emerge --config =${CATEGORY}/${PF}"
+ elog
+ elog "If you upgraded from an older version of berkely db and experience"
+ elog "problems with your repository then run the following commands as root:"
+ elog " db4_recover -h ${SVN_REPOS_LOC}/repos"
+ elog " chown -Rf apache:apache ${SVN_REPOS_LOC}/repos"
+ elog
+ elog "Subversion has multiple server types, take your pick:"
+ elog
+ elog " - svnserve daemon: "
+ elog " 1. edit /etc/conf.d/svnserve"
+ elog " 2. start daemon: /etc/init.d/svnserve start"
+ elog " 3. make persistent: rc-update add svnserve default"
+ elog
+ elog " - svnserve via xinetd:"
+ elog " 1. edit /etc/xinetd.d/svnserve (remove disable line)"
+ elog " 2. restart xinetd.d: /etc/init.d/xinetd restart"
+ elog
+ elog " - svn over ssh:"
+ elog " 1. Fix the repository permissions:"
+ elog " groupadd svnusers"
+ elog " chown -R root:svnusers /var/svn/repos/"
+ elog " chmod -R g-w /var/svn/repos"
+ elog " chmod -R g+rw /var/svn/repos/db"
+ elog " chmod -R g+rw /var/svn/repos/locks"
+ elog " 2. create an svnserve wrapper in /usr/local/bin to set the umask you"
+ elog " want, for example:"
+ elog " #!/bin/bash"
+ elog " umask 002"
+ elog " exec /usr/bin/svnserve \"\$@\""
+ elog
if use apache2 >/dev/null; then
- einfo " - http-based server:"
- einfo " 1. edit /etc/conf.d/apache2 to include both \"-D DAV\" and \"-D SVN\""
- einfo " 2. create an htpasswd file:"
- einfo " htpasswd2 -m -c ${SVN_REPOS_LOC}/conf/svnusers USERNAME"
- einfo
+ elog " - http-based server:"
+ elog " 1. edit /etc/conf.d/apache2 to include both \"-D DAV\" and \"-D SVN\""
+ elog " 2. create an htpasswd file:"
+ elog " htpasswd2 -m -c ${SVN_REPOS_LOC}/conf/svnusers USERNAME"
+ elog
fi
- einfo "If you intend to use svn-hot-backup, you can specify the number of"
- einfo "backups to keep per repository by specifying an environment variable."
- einfo "If you want to keep e.g. 2 backups, do the following:"
- einfo "echo '# hot-backup: Keep that many repository backups around' > /etc/env.d/80subversion"
- einfo "echo 'SVN_HOTBACKUP_NUM_BACKUPS=2' >> /etc/env.d/80subversion"
- einfo ""
+ elog "If you intend to use svn-hot-backup, you can specify the number of"
+ elog "backups to keep per repository by specifying an environment variable."
+ elog "If you want to keep e.g. 2 backups, do the following:"
+ elog "echo '# hot-backup: Keep that many repository backups around' > /etc/env.d/80subversion"
+ elog "echo 'SVN_HOTBACKUP_NUM_BACKUPS=2' >> /etc/env.d/80subversion"
+ elog ""
}
pkg_postrm() {
diff --git a/dev-util/subversion/subversion-1.3.2-r3.ebuild b/dev-util/subversion/subversion-1.3.2-r3.ebuild
index db0b1a70c8c1..fc651679d71c 100644
--- a/dev-util/subversion/subversion-1.3.2-r3.ebuild
+++ b/dev-util/subversion/subversion-1.3.2-r3.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2007 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-util/subversion/subversion-1.3.2-r3.ebuild,v 1.14 2007/01/28 19:30:13 chtekk Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-util/subversion/subversion-1.3.2-r3.ebuild,v 1.15 2007/03/05 04:20:11 genone Exp $
inherit elisp-common libtool python eutils bash-completion flag-o-matic depend.apache perl-module java-pkg-opt-2
@@ -271,60 +271,60 @@ pkg_postinst() {
use emacs && elisp-site-regen
use perl && perl-module_pkg_postinst
- einfo "Subversion Server Notes"
- einfo "-----------------------"
- einfo
-
- einfo "If you intend to run a server, a repository needs to be created using"
- einfo "svnadmin (see man svnadmin) or the following command to create it in"
- einfo "/var/svn:"
- einfo
- einfo " emerge --config =${CATEGORY}/${PF}"
- einfo
- einfo "If you upgraded from an older version of berkely db and experience"
- einfo "problems with your repository then run the following commands as root:"
- einfo " db4_recover -h ${SVN_REPOS_LOC}/repos"
- einfo " chown -Rf apache:apache ${SVN_REPOS_LOC}/repos"
- einfo
- einfo "Subversion has multiple server types, take your pick:"
- einfo
- einfo " - svnserve daemon: "
- einfo " 1. edit /etc/conf.d/svnserve"
- einfo " 2. start daemon: /etc/init.d/svnserve start"
- einfo " 3. make persistent: rc-update add svnserve default"
- einfo
- einfo " - svnserve via xinetd:"
- einfo " 1. edit /etc/xinetd.d/svnserve (remove disable line)"
- einfo " 2. restart xinetd.d: /etc/init.d/xinetd restart"
- einfo
- einfo " - svn over ssh:"
- einfo " 1. Fix the repository permissions:"
- einfo " groupadd svnusers"
- einfo " chown -R root:svnusers /var/svn/repos/"
- einfo " chmod -R g-w /var/svn/repos"
- einfo " chmod -R g+rw /var/svn/repos/db"
- einfo " chmod -R g+rw /var/svn/repos/locks"
- einfo " 2. create an svnserve wrapper in /usr/local/bin to set the umask you"
- einfo " want, for example:"
- einfo " #!/bin/bash"
- einfo " umask 002"
- einfo " exec /usr/bin/svnserve \"\$@\""
- einfo
+ elog "Subversion Server Notes"
+ elog "-----------------------"
+ elog
+
+ elog "If you intend to run a server, a repository needs to be created using"
+ elog "svnadmin (see man svnadmin) or the following command to create it in"
+ elog "/var/svn:"
+ elog
+ elog " emerge --config =${CATEGORY}/${PF}"
+ elog
+ elog "If you upgraded from an older version of berkely db and experience"
+ elog "problems with your repository then run the following commands as root:"
+ elog " db4_recover -h ${SVN_REPOS_LOC}/repos"
+ elog " chown -Rf apache:apache ${SVN_REPOS_LOC}/repos"
+ elog
+ elog "Subversion has multiple server types, take your pick:"
+ elog
+ elog " - svnserve daemon: "
+ elog " 1. edit /etc/conf.d/svnserve"
+ elog " 2. start daemon: /etc/init.d/svnserve start"
+ elog " 3. make persistent: rc-update add svnserve default"
+ elog
+ elog " - svnserve via xinetd:"
+ elog " 1. edit /etc/xinetd.d/svnserve (remove disable line)"
+ elog " 2. restart xinetd.d: /etc/init.d/xinetd restart"
+ elog
+ elog " - svn over ssh:"
+ elog " 1. Fix the repository permissions:"
+ elog " groupadd svnusers"
+ elog " chown -R root:svnusers /var/svn/repos/"
+ elog " chmod -R g-w /var/svn/repos"
+ elog " chmod -R g+rw /var/svn/repos/db"
+ elog " chmod -R g+rw /var/svn/repos/locks"
+ elog " 2. create an svnserve wrapper in /usr/local/bin to set the umask you"
+ elog " want, for example:"
+ elog " #!/bin/bash"
+ elog " umask 002"
+ elog " exec /usr/bin/svnserve \"\$@\""
+ elog
if use apache2 >/dev/null; then
- einfo " - http-based server:"
- einfo " 1. edit /etc/conf.d/apache2 to include both \"-D DAV\" and \"-D SVN\""
- einfo " 2. create an htpasswd file:"
- einfo " htpasswd2 -m -c ${SVN_REPOS_LOC}/conf/svnusers USERNAME"
- einfo
+ elog " - http-based server:"
+ elog " 1. edit /etc/conf.d/apache2 to include both \"-D DAV\" and \"-D SVN\""
+ elog " 2. create an htpasswd file:"
+ elog " htpasswd2 -m -c ${SVN_REPOS_LOC}/conf/svnusers USERNAME"
+ elog
fi
- einfo "If you intend to use svn-hot-backup, you can specify the number of"
- einfo "backups to keep per repository by specifying an environment variable."
- einfo "If you want to keep e.g. 2 backups, do the following:"
- einfo "echo '# hot-backup: Keep that many repository backups around' > /etc/env.d/80subversion"
- einfo "echo 'SVN_HOTBACKUP_NUM_BACKUPS=2' >> /etc/env.d/80subversion"
- einfo ""
+ elog "If you intend to use svn-hot-backup, you can specify the number of"
+ elog "backups to keep per repository by specifying an environment variable."
+ elog "If you want to keep e.g. 2 backups, do the following:"
+ elog "echo '# hot-backup: Keep that many repository backups around' > /etc/env.d/80subversion"
+ elog "echo 'SVN_HOTBACKUP_NUM_BACKUPS=2' >> /etc/env.d/80subversion"
+ elog ""
}
pkg_postrm() {
diff --git a/dev-util/subversion/subversion-1.4.3.ebuild b/dev-util/subversion/subversion-1.4.3.ebuild
index 62a63596e022..10b85e5e3e79 100644
--- a/dev-util/subversion/subversion-1.4.3.ebuild
+++ b/dev-util/subversion/subversion-1.4.3.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2007 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-util/subversion/subversion-1.4.3.ebuild,v 1.5 2007/03/03 21:00:31 pauldv Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-util/subversion/subversion-1.4.3.ebuild,v 1.6 2007/03/05 04:20:11 genone Exp $
inherit elisp-common libtool python eutils bash-completion flag-o-matic depend.apache perl-module java-pkg-opt-2
@@ -277,60 +277,60 @@ pkg_postinst() {
use emacs && elisp-site-regen
use perl && perl-module_pkg_postinst
- einfo "Subversion Server Notes"
- einfo "-----------------------"
- einfo
-
- einfo "If you intend to run a server, a repository needs to be created using"
- einfo "svnadmin (see man svnadmin) or the following command to create it in"
- einfo "/var/svn:"
- einfo
- einfo " emerge --config =${CATEGORY}/${PF}"
- einfo
- einfo "If you upgraded from an older version of berkely db and experience"
- einfo "problems with your repository then run the following commands as root:"
- einfo " db4_recover -h ${SVN_REPOS_LOC}/repos"
- einfo " chown -Rf apache:apache ${SVN_REPOS_LOC}/repos"
- einfo
- einfo "Subversion has multiple server types, take your pick:"
- einfo
- einfo " - svnserve daemon: "
- einfo " 1. edit /etc/conf.d/svnserve"
- einfo " 2. start daemon: /etc/init.d/svnserve start"
- einfo " 3. make persistent: rc-update add svnserve default"
- einfo
- einfo " - svnserve via xinetd:"
- einfo " 1. edit /etc/xinetd.d/svnserve (remove disable line)"
- einfo " 2. restart xinetd.d: /etc/init.d/xinetd restart"
- einfo
- einfo " - svn over ssh:"
- einfo " 1. Fix the repository permissions:"
- einfo " groupadd svnusers"
- einfo " chown -R root:svnusers /var/svn/repos/"
- einfo " chmod -R g-w /var/svn/repos"
- einfo " chmod -R g+rw /var/svn/repos/db"
- einfo " chmod -R g+rw /var/svn/repos/locks"
- einfo " 2. create an svnserve wrapper in /usr/local/bin to set the umask you"
- einfo " want, for example:"
- einfo " #!/bin/bash"
- einfo " umask 002"
- einfo " exec /usr/bin/svnserve \"\$@\""
- einfo
+ elog "Subversion Server Notes"
+ elog "-----------------------"
+ elog
+
+ elog "If you intend to run a server, a repository needs to be created using"
+ elog "svnadmin (see man svnadmin) or the following command to create it in"
+ elog "/var/svn:"
+ elog
+ elog " emerge --config =${CATEGORY}/${PF}"
+ elog
+ elog "If you upgraded from an older version of berkely db and experience"
+ elog "problems with your repository then run the following commands as root:"
+ elog " db4_recover -h ${SVN_REPOS_LOC}/repos"
+ elog " chown -Rf apache:apache ${SVN_REPOS_LOC}/repos"
+ elog
+ elog "Subversion has multiple server types, take your pick:"
+ elog
+ elog " - svnserve daemon: "
+ elog " 1. edit /etc/conf.d/svnserve"
+ elog " 2. start daemon: /etc/init.d/svnserve start"
+ elog " 3. make persistent: rc-update add svnserve default"
+ elog
+ elog " - svnserve via xinetd:"
+ elog " 1. edit /etc/xinetd.d/svnserve (remove disable line)"
+ elog " 2. restart xinetd.d: /etc/init.d/xinetd restart"
+ elog
+ elog " - svn over ssh:"
+ elog " 1. Fix the repository permissions:"
+ elog " groupadd svnusers"
+ elog " chown -R root:svnusers /var/svn/repos/"
+ elog " chmod -R g-w /var/svn/repos"
+ elog " chmod -R g+rw /var/svn/repos/db"
+ elog " chmod -R g+rw /var/svn/repos/locks"
+ elog " 2. create an svnserve wrapper in /usr/local/bin to set the umask you"
+ elog " want, for example:"
+ elog " #!/bin/bash"
+ elog " umask 002"
+ elog " exec /usr/bin/svnserve \"\$@\""
+ elog
if use apache2 >/dev/null; then
- einfo " - http-based server:"
- einfo " 1. edit /etc/conf.d/apache2 to include both \"-D DAV\" and \"-D SVN\""
- einfo " 2. create an htpasswd file:"
- einfo " htpasswd2 -m -c ${SVN_REPOS_LOC}/conf/svnusers USERNAME"
- einfo
+ elog " - http-based server:"
+ elog " 1. edit /etc/conf.d/apache2 to include both \"-D DAV\" and \"-D SVN\""
+ elog " 2. create an htpasswd file:"
+ elog " htpasswd2 -m -c ${SVN_REPOS_LOC}/conf/svnusers USERNAME"
+ elog
fi
- einfo "If you intend to use svn-hot-backup, you can specify the number of"
- einfo "backups to keep per repository by specifying an environment variable."
- einfo "If you want to keep e.g. 2 backups, do the following:"
- einfo "echo '# hot-backup: Keep that many repository backups around' > /etc/env.d/80subversion"
- einfo "echo 'SVN_HOTBACKUP_NUM_BACKUPS=2' >> /etc/env.d/80subversion"
- einfo ""
+ elog "If you intend to use svn-hot-backup, you can specify the number of"
+ elog "backups to keep per repository by specifying an environment variable."
+ elog "If you want to keep e.g. 2 backups, do the following:"
+ elog "echo '# hot-backup: Keep that many repository backups around' > /etc/env.d/80subversion"
+ elog "echo 'SVN_HOTBACKUP_NUM_BACKUPS=2' >> /etc/env.d/80subversion"
+ elog ""
}
pkg_postrm() {