r2eui is the web interface for net-mail/rss2email. From author's homepage (http://rss2email.infogami.com/webui): Up until now, using rss2email has been confined to the UNIX or Windows command line. Most of the time, this isn't necessarily a bad thing. However, if you need to remove a few feeds from your list, it can be a pain to find every feed's number and then delete them in the correct order (i.e. reverse numerical order). Otherwise you accidentally delete the wrong feeds. So to remedy this and give a command-line tool a prettier face, we've developed a simple web-based UI for rss2email. I enhanced this version by 1. unifying tab/space indentations in the source code, 2. adding some command line options, e.g. to create a PID file for daemon-like use or to customize the path to the feeds.dat file, 3. adding init.d and conf.d scripts, 4. changing the web template, so it works through (apache) proxy, e.g. if you want to restrict access and/or use SSL, 5. cleaning up the code here and there. Reproducible: Always Steps to Reproduce: 1. Put the ebuild into net-mail/r2eui in your local overlay 2. Put all patches and other supplied files in ${FILESDIR} 3. Create a digest and merge. 4. Run r2eui -h to see available command line options and hints.
Created attachment 210886 [details] r2eui-1.1.ebuild
Created attachment 210887 [details] feeds.dat
Created attachment 210888 [details] r2eui
Created attachment 210890 [details, diff] r2eui-1.1-cmdline_options.patch
Created attachment 210892 [details, diff] r2eui-1.1-template_urls.patch
Created attachment 210894 [details] r2eui.confd
Created attachment 210895 [details] r2eui.initd
If you want to automate sending Mails for the configured feeds, don't use rss2emails r2e directly (e.g. in cron) because of the non-standard location of the feeds.dat file. Instead, use something like this in your /etc/crontab: # Run rss2email every 5 minutes */5 * * * * root test -f /usr/share/rss2email/rss2email.py && \ exec /usr/bin/python \ /usr/share/rss2email/rss2email.py /etc/rss2email/feeds.dat run
Created attachment 212251 [details] r2eui.initd This is a "cleaner" version of r2eui.initd that uses start-stop-daemon in a consistent way, thus showing proper status (instead of "crashed") in rc-status. Enjoy!