updated ebuild to not use tap-crap

This commit is contained in:
Manuel Friedli 2012-07-19 01:37:40 +00:00
parent abcce40317
commit c0103033fb
4 changed files with 8 additions and 12 deletions

View file

@ -38,19 +38,12 @@ src_install() {
"s:<spool>[^\<]*</spool>:<spool>/var/spool/jabber</spool>:" \
/etc/jabber/${PN}.xml
# dosed \
# "s:<pid>[^\<]*</pid>:<pid>/var/run/jabber/${PN}.pid</pid>:" \
# /etc/jabber/${PN}.xml
newinitd "${FILESDIR}/${PN}-initd" ${PN}
# dosed "s:INSPATH:${inspath}:" /etc/init.d/${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."
einfo "After that, you MUST create a TAP-file for twisted in order to start Punjab, like this:"
einfo "# cd /etc/jabber"
einfo "# mktap punjab -c punjab.xml"
}