Popfile version 1.1.0 was released in November of 2008. After checking the website and not seeing anything new in the the listed requirements for the program I copied popfile-1.0.1.ebuild to popfile-1.1.0.ebuild. Popfile built and installed with no problems except that ./popfile.pl wouldn't execute I had to execute the program with perl popfile.pl. I get an error message of -bash: ./popfile.pl:/usr/bin/perl^M:bad interpreter:no such file found. I looked at popfile.pl and it has #!/usr/bin/perl at the start so I cant find where its getting a ^M from. But it runs just fine when called via perl popfile.pl So my init file had to be adjusted to use perl popfile.pl instead of ./popfile.pl but other than that it does work. If possible can a new ebuild for popfile be built and see if you can duplicate this odd behavior in startup. Until then i will use the version I placed in local. Reproducible: Always
> I get an error message of > -bash: ./popfile.pl:/usr/bin/perl^M:bad interpreter:no such file found. > I looked at popfile.pl and it has #!/usr/bin/perl at the start so I cant find > where its getting a ^M from. But it runs just fine when called via perl > popfile.pl That's an MS-DOS linebreak. If you use dos2unix on the file it should work (and someone should slap upstream because it's a silly mistake)
The old ebuild requires popfile to run as root. Generally, popfile has poor programming parctice, eventho this is a very cool project. It does its job pretty well. To not compromise the security of my system, I installed it from upstream and ran it as a limited user. After downloading release 1.1.1, additionally installed: dev-perl/DBI dev-perl/DBD-SQLite dev-perl/HTML-Template dev-perl/DateTime-Format-DateParse dev-perl/DBD-SQLite2 dev-perl/IO-Socket-SSL (No idea if there are additional things that were on my system anyways before) and started it. First it complains about not being able to open the port 110. In the configuration-page you can change the port and restart popfile.
1.1.1 also has broken linefeeds
+*popfile-1.1.1 (07 Jan 2010) + + 07 Jan 2010; Samuli Suominen <ssuominen@gentoo.org> +popfile-1.1.1.ebuild: + Version bump wrt #264910, thanks to Robert T. Childers for reporting.