Lines 182-188
Link Here
|
182 |
cd ${S} |
182 |
cd ${S} |
183 |
echo "installing html book" |
183 |
echo "installing html book" |
184 |
dohtml -r doc/book/book/book.html doc/book/book/styles.css doc/book/book/images |
184 |
dohtml -r doc/book/book/book.html doc/book/book/styles.css doc/book/book/images |
185 |
if use apache; then |
185 |
if use apache2; then |
186 |
mkdir -p ${D}/etc/apache2/conf/modules.d |
186 |
mkdir -p ${D}/etc/apache2/conf/modules.d |
187 |
cat <<EOF >${D}/etc/apache2/conf/modules.d/47_mod_dav_svn.conf |
187 |
cat <<EOF >${D}/etc/apache2/conf/modules.d/47_mod_dav_svn.conf |
188 |
<IfDefine SVN> |
188 |
<IfDefine SVN> |
Lines 204-210
Link Here
|
204 |
|
204 |
|
205 |
pkg_postinst() { |
205 |
pkg_postinst() { |
206 |
if use berkdb; then |
206 |
if use berkdb; then |
207 |
if use apache; then |
207 |
if use apache2; then |
208 |
einfo "Subversion has multiple server types. To enable the http based version" |
208 |
einfo "Subversion has multiple server types. To enable the http based version" |
209 |
einfo "you must edit /etc/conf.d/apache2 to include both \"-D DAV\" and \"-D SVN\"" |
209 |
einfo "you must edit /etc/conf.d/apache2 to include both \"-D DAV\" and \"-D SVN\"" |
210 |
einfo "" |
210 |
einfo "" |
Lines 215-221
Link Here
|
215 |
einfo "problems with your repository then run the following command:" |
215 |
einfo "problems with your repository then run the following command:" |
216 |
einfo " su apache -c \"db4_recover -h /path/to/repos\"" |
216 |
einfo " su apache -c \"db4_recover -h /path/to/repos\"" |
217 |
fi |
217 |
fi |
218 |
if use apache; then |
218 |
if use apache2; then |
219 |
einfo "To allow web access a htpasswd file needs to be created using the" |
219 |
einfo "To allow web access a htpasswd file needs to be created using the" |
220 |
einfo "following command:" |
220 |
einfo "following command:" |
221 |
einfo " htpasswd2 -m -c /home/svn/conf/svnusers USERNAME" |
221 |
einfo " htpasswd2 -m -c /home/svn/conf/svnusers USERNAME" |