from the changelog of pbbuttonsd, found at http://www.cymes.de/members/joker/projects/pbbuttons/clog-pbbuttonsd.txt 2004-03-30 0.5.9-5 [...] * write configfile to /etc now. All the link stuff has been removed. This change is not addressed in the current ebuild. Reproducible: Always Steps to Reproduce: 1. emerge =pbbuttonsd-0.5.10 Actual Results: Older config file /var/lib/pbbuttons/pbbuttonsd.conf gets erased. /etc/pbbuttonsd.conf links to nowhere. Expected Results: /etc/pbbuttonsd.conf is the config file or links to the config file. This patch fixes the ebuild. The pbbuttonsd.conf will be at /etc (as suggested by the changelog) and not at /var/lib/pbbuttons (as with the older ebuilds). Maybe there should also be a line to copy the old config from the old to the new location if it exists, to preserve it. This is my first bugreport with patch. I am almost sure that I didn't do that in the expected manner, so please tell me what I should change the next time. Patch: --- pbbuttonsd-0.5.10.ebuild 2004-04-12 23:33:38.581240072 +0200 +++ pbbuttonsd-0.5.10.ebuild 2004-04-12 23:34:22.267598736 +0200 @@ -37,10 +37,10 @@ newexe ${FILESDIR}/pbbuttonsd.rc6 pbbuttonsd dodoc README COPYING #fix the symlink - rm ${D}/etc/pbbuttonsd.conf +# rm ${D}/etc/pbbuttonsd.conf # mv ${D}/var/lib/pbbuttons/pbbuttonsd.conf ${D}/etc/pbbuttonsd.conf # dosym /etc/pbbuttonsd.conf /var/lib/pbbuttons/pbbuttonsd.conf - dosym ${mydir}/pbbuttons/pbbuttonsd.conf /etc/pbbuttonsd.conf +# dosym ${mydir}/pbbuttons/pbbuttonsd.conf /etc/pbbuttonsd.conf dodir /etc/env.d echo "CONFIG_PROTECT=${mydir}/pbbuttons" > ${D}/etc/env.d/10pbbuttonsd }
this fix is in cvs. There is also a newer version available which no longer needs the fix.