updated dependencies

This commit is contained in:
Manuel Friedli 2012-07-19 02:29:53 +00:00
parent 8bce5a5a22
commit ec0a0446bc
2 changed files with 13 additions and 12 deletions

View file

@ -15,6 +15,7 @@ KEYWORDS="~amd64 ~x86"
IUSE="tls"
DEPEND="net-im/jabber-base"
RDEPEND=">=dev-python/twisted-11.1.0
>=dev-python/twisted-names-11.1.0
tls? ( dev-python/pyopenssl )
${DEPEND}"
@ -30,20 +31,20 @@ src_compile() {
src_install() {
distutils_src_install
insinto /etc/jabber
newins example-config.xml ${PN}.xml
fperms 600 /etc/jabber/${PN}.xml
fowners jabber:jabber /etc/jabber/${PN}.xml
dosed \
"s:<spool>[^\<]*</spool>:<spool>/var/spool/jabber</spool>:" \
/etc/jabber/${PN}.xml
# insinto /etc/jabber
# newins example-config.xml ${PN}.xml
# fperms 600 /etc/jabber/${PN}.xml
# fowners jabber:jabber /etc/jabber/${PN}.xml
# dosed \
# "s:<spool>[^\<]*</spool>:<spool>/var/spool/jabber</spool>:" \
# /etc/jabber/${PN}.xml
newinitd "${FILESDIR}/${PN}-initd" ${PN}
newconfd "${FILESDIR}/${PN}-confd" ${PN}
}
pkg_postinst() {
einfo "A sample config file has been installed into /etc/jabber/${PN}.xml."
einfo "Please adjust the settings as needed."
}
#pkg_postinst() {
# einfo "A sample config file has been installed into /etc/jabber/${PN}.xml."
# einfo "Please adjust the settings as needed."
#}