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

(-)dovecot-1.0_beta3.ebuild.orig (+15 lines)
Lines 93-98 Link Here
93
			"${D}"/etc/dovecot.conf
93
			"${D}"/etc/dovecot.conf
94
	fi
94
	fi
95
95
96
	# Create additional config files
97
	if use mysql || use postgres ; then
98
		cp "${S}"/doc/dovecot-sql.conf "${D}"/etc/
99
		fperms 0600 /etc/dovecot-sql.conf
100
		sed -i -e "/db sql/,/args/s/=/= \/etc\/dovecot-sql.conf/" \
101
			"${D}"/etc/dovecot.conf
102
	fi
103
104
	if use ldap ; then
105
		cp "${S}"/doc/dovecot-ldap.conf "${D}"/etc/
106
		fperms 0600 /etc/dovecot-ldap.conf
107
		sed -i -e "/db ldap/,/args/s/=/= \/etc\/dovecot-ldap.conf/" \
108
			"${D}"/etc/dovecot.conf
109
	fi
110
96
	# Documentation
111
	# Documentation
97
	rm -rf "${D}"/usr/share/doc/dovecot
112
	rm -rf "${D}"/usr/share/doc/dovecot
98
	dodoc AUTHORS NEWS README TODO dovecot-example.conf
113
	dodoc AUTHORS NEWS README TODO dovecot-example.conf

Return to bug 123049