Anyterm allows you to login to your machine through a web browser. It gets you through your firewall at work to your home machine...etc Reproducible: Didn't try Steps to Reproduce: 1. 2. 3.
vote!
This was dugg today, I guess there'll be more people requesting it...
Here are some initial ebuilds. They *DO NOT WORK YET* but are getting close. These ebuilds build and install the apache2 module and the webapp. However, the built module cannot be loaded by apache: * Apache2 has detected a syntax error in your configuration files: Syntax error on line 3 of /etc/apache2/modules.d/50_anyterm.conf: Cannot load /usr/lib/apache2/modules/anyterm.so into server: /usr/lib/apache2/modules/anyterm.so: undefined symbol: _Z14htmlify_screenIN12SharedObject6vectorI9RoteCell_EEESsRK6ScreenIT_E Obviously it's a linking problem, but I'm going away for a long weekend and won't have time to investigate it over the next few days. If anyone fancies having a go while I'm away...
Created attachment 77529 [details] dev-libs/rote-0.2.8.ebuild
Created attachment 77530 [details] www-apache/anyterm-1.1.9.ebuild
Created attachment 77531 [details, diff] www-apache/anyterm/files/anyterm-1.1.9-apachemod-Makefile.patch
Created attachment 77532 [details, diff] www-apache/anyterm/files/anyterm-1.1.9-libpbe-no-pg_config.patch
Created attachment 77533 [details] www-apache/anyterm/files/50_anyterm.conf
Created attachment 77847 [details] www-apache/anyterm/anyterm-1.1.9.ebuild
Created attachment 77848 [details, diff] www-apache/anyterm/files/anyterm-1.1.9-common-extern.patch
Created attachment 77849 [details, diff] www-apache/anyterm/files/anyterm-1.1.9-common-Makefile.patch
Created attachment 77850 [details] www-apache/anyterm/files/50_anyterm.conf
Updated ebuild and patches. Fixes linking problems, new apache2 config file. Now module segfaults when used. Under investigation...
Switched to 1.1.8 at author's suggestion, everything now working on my system. Will commit ebuilds to portage this evening.
Now in CVS, marked unstable. Please test and report any bugs!
emerge -pv says: [ebuild N ] net-www/gentoo-webroot-default-0.2 -no-htdocs 64 kB [ebuild N ] dev-libs/apr-0.9.7 +ipv6 -urandom 1,020 kB [ebuild N ] dev-libs/apr-util-0.9.7 +berkdb +gdbm -ldap 724 kB [ebuild N ] net-www/apache-2.0.55-r1 -apache2 -debug -doc -ldap -mpm-leader -mpm-peruser -mpm-prefork -mpm-threadpool -mpm-worker -no-suexec (-selinux) +ssl -static-modules +threads 4,684 kB [ebuild N ] dev-libs/mm-1.4.0 328 kB [ebuild N ] net-www/apache-1.3.34-r10 -doc -lingerd -no-suexec +pam (-selinux) +ssl -static-modules 3,238 kB I guess this is a problem - mod_auth_pam with -apache2 (the default): [ebuild N ] net-www/mod_auth_pam-1.1.1-r1 -apache2 9 kB [ebuild N ] net-www/mod_ssl-2.8.25-r10 0 kB [ebuild N ] app-admin/webapp-config-1.50.7 86 kB [ebuild N ] www-apache/anyterm-1.1.8-r1 +pam +ssl -vhosts 73 kB
Thanks, I've added a check that net-www/mod_auth_pam is built with USE=apache2. This is the best that can be done until portage implements USE-based depends. anyterm-1.1.8-r2 now in portage with several improvements, notably better out-of-the box security and webapp/vhost support.
Mate, Couldn't find your new ebuild, so I am not sure how you check for the use flag, but, the way I have been doing it has been to have something along the lines of equery hasuse apache2 | grep -q net-www/mod_auth_pam || echo "net-www/mod_auth_pam was not compiled with the apache2 use flag, oh no sir, it was not" It is a bit slow/hacky/crappy, but it does the job.
Kent, There's a built_with_use function that does the check. I commited the ebuild to CVS just before commenting on this bug, so it make take half an hour to show up on the mirrors. Try emerge --sync again in a short while. Tom
I've installed latest (-r2) and it seems to ignore the .htaccess file (even if I add AllowOverride All in /). It works fine if I copy the stuff in .htaccess into 50-anyterm.conf. I've installed with -vhosts. Any ideas?
Sorry for the spam, my problem was with mod_pam_auth (i didn't do the shadow thing it suggested)