Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 98647 - www-apache/anyterm-1.1.9 (new ebuild)
Summary: www-apache/anyterm-1.1.9 (new ebuild)
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High enhancement
Assignee: Tom Payne (RETIRED)
URL: http://anyterm.org
Whiteboard:
Keywords: EBUILD
Depends on:
Blocks:
 
Reported: 2005-07-11 04:01 UTC by Andrew Hart
Modified: 2006-01-30 01:27 UTC (History)
3 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
dev-libs/rote-0.2.8.ebuild (rote-0.2.8.ebuild,308 bytes, text/plain)
2006-01-19 06:32 UTC, Tom Payne (RETIRED)
Details
www-apache/anyterm-1.1.9.ebuild (anyterm-1.1.9.ebuild,1.28 KB, text/plain)
2006-01-19 06:33 UTC, Tom Payne (RETIRED)
Details
www-apache/anyterm/files/anyterm-1.1.9-apachemod-Makefile.patch (anyterm-1.1.9-apachemod-Makefile.patch,905 bytes, patch)
2006-01-19 06:33 UTC, Tom Payne (RETIRED)
Details | Diff
www-apache/anyterm/files/anyterm-1.1.9-libpbe-no-pg_config.patch (anyterm-1.1.9-libpbe-no-pg_config.patch,438 bytes, patch)
2006-01-19 06:34 UTC, Tom Payne (RETIRED)
Details | Diff
www-apache/anyterm/files/50_anyterm.conf (50_anyterm.conf,111 bytes, text/plain)
2006-01-19 06:34 UTC, Tom Payne (RETIRED)
Details
www-apache/anyterm/anyterm-1.1.9.ebuild (anyterm-1.1.9.ebuild,1.37 KB, text/plain)
2006-01-22 11:28 UTC, Tom Payne (RETIRED)
Details
www-apache/anyterm/files/anyterm-1.1.9-common-extern.patch (anyterm-1.1.9-common-extern.patch,615 bytes, patch)
2006-01-22 11:29 UTC, Tom Payne (RETIRED)
Details | Diff
www-apache/anyterm/files/anyterm-1.1.9-common-Makefile.patch (anyterm-1.1.9-common-Makefile.patch,371 bytes, patch)
2006-01-22 11:30 UTC, Tom Payne (RETIRED)
Details | Diff
www-apache/anyterm/files/50_anyterm.conf (50_anyterm.conf,199 bytes, text/plain)
2006-01-22 11:31 UTC, Tom Payne (RETIRED)
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Andrew Hart 2005-07-11 04:01:16 UTC
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.
Comment 1 Patrick 2005-10-07 00:25:28 UTC
vote!
Comment 2 Dirkjan Ochtman (RETIRED) gentoo-dev 2005-11-15 08:53:41 UTC
This was dugg today, I guess there'll be more people requesting it...
Comment 3 Tom Payne (RETIRED) gentoo-dev 2006-01-19 06:31:35 UTC
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...
Comment 4 Tom Payne (RETIRED) gentoo-dev 2006-01-19 06:32:38 UTC
Created attachment 77529 [details]
dev-libs/rote-0.2.8.ebuild
Comment 5 Tom Payne (RETIRED) gentoo-dev 2006-01-19 06:33:13 UTC
Created attachment 77530 [details]
www-apache/anyterm-1.1.9.ebuild
Comment 6 Tom Payne (RETIRED) gentoo-dev 2006-01-19 06:33:52 UTC
Created attachment 77531 [details, diff]
www-apache/anyterm/files/anyterm-1.1.9-apachemod-Makefile.patch
Comment 7 Tom Payne (RETIRED) gentoo-dev 2006-01-19 06:34:14 UTC
Created attachment 77532 [details, diff]
www-apache/anyterm/files/anyterm-1.1.9-libpbe-no-pg_config.patch
Comment 8 Tom Payne (RETIRED) gentoo-dev 2006-01-19 06:34:37 UTC
Created attachment 77533 [details]
www-apache/anyterm/files/50_anyterm.conf
Comment 9 Tom Payne (RETIRED) gentoo-dev 2006-01-22 11:28:00 UTC
Created attachment 77847 [details]
www-apache/anyterm/anyterm-1.1.9.ebuild
Comment 10 Tom Payne (RETIRED) gentoo-dev 2006-01-22 11:29:03 UTC
Created attachment 77848 [details, diff]
www-apache/anyterm/files/anyterm-1.1.9-common-extern.patch
Comment 11 Tom Payne (RETIRED) gentoo-dev 2006-01-22 11:30:11 UTC
Created attachment 77849 [details, diff]
www-apache/anyterm/files/anyterm-1.1.9-common-Makefile.patch
Comment 12 Tom Payne (RETIRED) gentoo-dev 2006-01-22 11:31:10 UTC
Created attachment 77850 [details]
www-apache/anyterm/files/50_anyterm.conf
Comment 13 Tom Payne (RETIRED) gentoo-dev 2006-01-22 11:35:22 UTC
Updated ebuild and patches.

Fixes linking problems, new apache2 config file.

Now module segfaults when used. Under investigation...
Comment 14 Tom Payne (RETIRED) gentoo-dev 2006-01-23 09:52:35 UTC
Switched to 1.1.8 at author's suggestion, everything now working on my system.

Will commit ebuilds to portage this evening.
Comment 15 Tom Payne (RETIRED) gentoo-dev 2006-01-23 15:00:59 UTC
Now in CVS, marked unstable.

Please test and report any bugs!
Comment 16 Michal Suchanek 2006-01-24 10:53:56 UTC
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 
Comment 17 Tom Payne (RETIRED) gentoo-dev 2006-01-25 11:41:07 UTC
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.
Comment 18 Kent Martin 2006-01-25 12:35:46 UTC
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.
Comment 19 Tom Payne (RETIRED) gentoo-dev 2006-01-25 12:48:25 UTC
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
Comment 20 Assaf Berg 2006-01-30 01:12:11 UTC
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?
Comment 21 Assaf Berg 2006-01-30 01:27:18 UTC
Sorry for the spam, my problem was with mod_pam_auth (i didn't do the shadow thing it suggested)