added support for default config file and added svn keyword "header"

This commit is contained in:
Manuel Friedli 2008-01-14 00:20:50 +00:00
parent 4c200b028a
commit e566e6d019
2 changed files with 16 additions and 11 deletions

View file

@ -1,8 +1,8 @@
DIST palaver-0.5.tar.gz 57702 RMD160 ebf2a9443187c715424eaaa3670a370d0851d598 SHA1 6cfdc251a1812bd01c2fbf358a8897da28dcd299 SHA256 bc616a5bc49d3c42eae57c00eb54ffc67e4f41c5dfb43a8d3e5c338854ab924a DIST palaver-0.5.tar.gz 57702 RMD160 ebf2a9443187c715424eaaa3670a370d0851d598 SHA1 6cfdc251a1812bd01c2fbf358a8897da28dcd299 SHA256 bc616a5bc49d3c42eae57c00eb54ffc67e4f41c5dfb43a8d3e5c338854ab924a
EBUILD palaver-0.5.ebuild 1131 RMD160 d416f3d311e71c90eb6fc5e1b00d22cb29fe0c38 SHA1 e83d1bab535301d8ae0dcf880d6edb3448abb5b9 SHA256 9b7a3e0c50f396fa0c38710da6948b60d070ce5843596eac4731617deb527a91 EBUILD palaver-0.5.ebuild 1256 RMD160 b18062ead3e15ca02239bc1bb74e36ff0659fee1 SHA1 1761c6eedbb75bfb30e6c41af5411863c0d717a9 SHA256 d4fd108c90417efaa3c87ff1862c76696f3fdb051b3af2b28595a9888b284c6a
MD5 fd8ec88c3998c3fb124b175742e475ad palaver-0.5.ebuild 1131 MD5 2eda748e3fb6ff2a483f224b4e1cce8d palaver-0.5.ebuild 1256
RMD160 d416f3d311e71c90eb6fc5e1b00d22cb29fe0c38 palaver-0.5.ebuild 1131 RMD160 b18062ead3e15ca02239bc1bb74e36ff0659fee1 palaver-0.5.ebuild 1256
SHA256 9b7a3e0c50f396fa0c38710da6948b60d070ce5843596eac4731617deb527a91 palaver-0.5.ebuild 1131 SHA256 d4fd108c90417efaa3c87ff1862c76696f3fdb051b3af2b28595a9888b284c6a palaver-0.5.ebuild 1256
MD5 910969218da55643fda94d81b102f60f files/digest-palaver-0.5 232 MD5 910969218da55643fda94d81b102f60f files/digest-palaver-0.5 232
RMD160 ceed004c6c077d5c39fcac1e3dfb7d74c44ce2d9 files/digest-palaver-0.5 232 RMD160 ceed004c6c077d5c39fcac1e3dfb7d74c44ce2d9 files/digest-palaver-0.5 232
SHA256 e4dd6877ca4c4fcafc10d9698d672382f05ebb275e96dd218ef8a93e8700e32e files/digest-palaver-0.5 232 SHA256 e4dd6877ca4c4fcafc10d9698d672382f05ebb275e96dd218ef8a93e8700e32e files/digest-palaver-0.5 232

View file

@ -27,13 +27,13 @@ src_compile() {
src_install() { src_install() {
distutils_src_install distutils_src_install
# insinto /etc/jabber insinto /etc/jabber
# newins config_example.xml ${PN}.xml newins example-config.xml ${PN}.xml
# fperms 600 /etc/jabber/${PN}.xml fperms 600 /etc/jabber/${PN}.xml
# fowners jabber:jabber /etc/jabber/${PN}.xml fowners jabber:jabber /etc/jabber/${PN}.xml
# dosed \ dosed \
# "s:<spooldir>[^\<]*</spooldir>:<spooldir>/var/spool/jabber</spooldir>:" \ "s:<spool>[^\<]*</spool>:<spool>/var/spool/jabber</spool>:" \
# /etc/jabber/${PN}.xml /etc/jabber/${PN}.xml
# dosed \ # dosed \
# "s:<pid>[^\<]*</pid>:<pid>/var/run/jabber/${PN}.pid</pid>:" \ # "s:<pid>[^\<]*</pid>:<pid>/var/run/jabber/${PN}.pid</pid>:" \
# /etc/jabber/${PN}.xml # /etc/jabber/${PN}.xml
@ -42,3 +42,8 @@ src_install() {
# dosed "s:INSPATH:${inspath}:" /etc/init.d/${PN} # dosed "s:INSPATH:${inspath}:" /etc/init.d/${PN}
} }
post_install() {
einfo "A sample config file has been installes into /etc/jabber/${PN}.xml."
einfo "Please adjust the settings as needed."
}