Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 23742
Collapse All | Expand All

(-)/usr/portage/dev-util/subversion/subversion-0.22.2.ebuild (-3 / +3 lines)
Lines 164-170 Link Here
164
	cd ${S}
164
	cd ${S}
165
	echo "installing html book"
165
	echo "installing html book"
166
	dohtml -r doc/book/book/book.html doc/book/book/styles.css doc/book/book/images
166
	dohtml -r doc/book/book/book.html doc/book/book/styles.css doc/book/book/images
167
	if use apache; then
167
	if use apache2; then
168
		mkdir -p ${D}/etc/apache2/conf/modules.d
168
		mkdir -p ${D}/etc/apache2/conf/modules.d
169
		cat <<EOF >${D}/etc/apache2/conf/modules.d/47_mod_dav_svn.conf
169
		cat <<EOF >${D}/etc/apache2/conf/modules.d/47_mod_dav_svn.conf
170
<IfDefine SVN>
170
<IfDefine SVN>
Lines 186-198 Link Here
186
186
187
pkg_postinst() {
187
pkg_postinst() {
188
	if use berkdb; then
188
	if use berkdb; then
189
		if use apache; then
189
		if use apache2; then
190
			einfo "Subversion has multiple server types. To enable the http based version"
190
			einfo "Subversion has multiple server types. To enable the http based version"
191
			einfo "you must edit /etc/conf.d/apache2 to include both \"-D DAV\" and \"-D SVN\""
191
			einfo "you must edit /etc/conf.d/apache2 to include both \"-D DAV\" and \"-D SVN\""
192
			einfo ""
192
			einfo ""
193
		fi
193
		fi
194
		einfo "A repository needs to be created using the ebuild ${PN} config command"
194
		einfo "A repository needs to be created using the ebuild ${PN} config command"
195
		if use apache; then
195
		if use apache2; then
196
			einfo "To allow web access a htpasswd file needs to be created using the"
196
			einfo "To allow web access a htpasswd file needs to be created using the"
197
			einfo "following command:"
197
			einfo "following command:"
198
			einfo "   htpasswd2 -m -c /home/svn/conf/svnusers USERNAME"
198
			einfo "   htpasswd2 -m -c /home/svn/conf/svnusers USERNAME"
(-)/usr/portage/dev-util/subversion/subversion-0.23.0.ebuild (-3 / +3 lines)
Lines 165-171 Link Here
165
	cd ${S}
165
	cd ${S}
166
	echo "installing html book"
166
	echo "installing html book"
167
	dohtml -r doc/book/book/book.html doc/book/book/styles.css doc/book/book/images
167
	dohtml -r doc/book/book/book.html doc/book/book/styles.css doc/book/book/images
168
	if use apache; then
168
	if use apache2; then
169
		mkdir -p ${D}/etc/apache2/conf/modules.d
169
		mkdir -p ${D}/etc/apache2/conf/modules.d
170
		cat <<EOF >${D}/etc/apache2/conf/modules.d/47_mod_dav_svn.conf
170
		cat <<EOF >${D}/etc/apache2/conf/modules.d/47_mod_dav_svn.conf
171
<IfDefine SVN>
171
<IfDefine SVN>
Lines 187-199 Link Here
187
187
188
pkg_postinst() {
188
pkg_postinst() {
189
	if use berkdb; then
189
	if use berkdb; then
190
		if use apache; then
190
		if use apache2; then
191
			einfo "Subversion has multiple server types. To enable the http based version"
191
			einfo "Subversion has multiple server types. To enable the http based version"
192
			einfo "you must edit /etc/conf.d/apache2 to include both \"-D DAV\" and \"-D SVN\""
192
			einfo "you must edit /etc/conf.d/apache2 to include both \"-D DAV\" and \"-D SVN\""
193
			einfo ""
193
			einfo ""
194
		fi
194
		fi
195
		einfo "A repository needs to be created using the ebuild ${PN} config command"
195
		einfo "A repository needs to be created using the ebuild ${PN} config command"
196
		if use apache; then
196
		if use apache2; then
197
			einfo "To allow web access a htpasswd file needs to be created using the"
197
			einfo "To allow web access a htpasswd file needs to be created using the"
198
			einfo "following command:"
198
			einfo "following command:"
199
			einfo "   htpasswd2 -m -c /home/svn/conf/svnusers USERNAME"
199
			einfo "   htpasswd2 -m -c /home/svn/conf/svnusers USERNAME"
(-)/usr/portage/dev-util/subversion/subversion-0.24.1.ebuild (-3 / +3 lines)
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"

Return to bug 23742