After emerging gift-openft 0.2.1.1 and adding the proposed plugins=OpenFT to giftd.conf giftd will quit with an error. This is due to the fact that the OpenFT directory will not yet have been created in ~/.giFT/ and the OpenFT.conf.template will not yet have been copied over from /usr/share/giFT/OpenFT. If the user runs gift-setup he will be asked a few questions, and then the file will be copied over and the directory created. I'm not sure if simply copying the file after creating the directory can solve this problem completely. Since after running gift-setup the port and http_port declarations will have been changed. As well as the host_allow line being uncommented. The Fix that I'm proposing is to add a einfo line in the pck_postinst() that will inform the user that a gift-setup will be needed. Reproducible: Always Steps to Reproduce: 1. emerge gift-openft 0.2.1.1 2. add the plugins line adviced 3. notice that giftd wont start
Created attachment 18792 [details, diff] Proposed changes to the ebuild. A little diff that will change the ebuild accordingly.
just one more side note on my system the daemon for giFT is called giftd and not giFT as proposed in the emerge output. also the -p option seems to not work although I've run the gift-setup already.
Ok, I added the following note: einfo "Before you can use the new plugin," einfo "you should counfigure it with gift-setup command." echo Thanks for reporting this.