diff options
author | Benedikt Boehm <hollow@gentoo.org> | 2007-09-08 16:30:44 +0000 |
---|---|---|
committer | Benedikt Boehm <hollow@gentoo.org> | 2007-09-08 16:30:44 +0000 |
commit | c175971aa2e83d5adc5c8959fce7cc52c489233f (patch) | |
tree | 0162de90941988b35036fdae4f47a76c855752bd /www-apache | |
parent | Fix gecos in ChangeLog entry. (diff) | |
download | historical-c175971aa2e83d5adc5c8959fce7cc52c489233f.tar.gz historical-c175971aa2e83d5adc5c8959fce7cc52c489233f.tar.bz2 historical-c175971aa2e83d5adc5c8959fce7cc52c489233f.zip |
version bump
Package-Manager: portage-2.1.3.7
Diffstat (limited to 'www-apache')
-rw-r--r-- | www-apache/anyterm/ChangeLog | 9 | ||||
-rw-r--r-- | www-apache/anyterm/Manifest | 30 | ||||
-rw-r--r-- | www-apache/anyterm/anyterm-1.1.15.ebuild | 100 | ||||
-rw-r--r-- | www-apache/anyterm/files/anyterm-1.1.15-browser-gentoo.patch | 75 | ||||
-rw-r--r-- | www-apache/anyterm/files/anyterm-1.1.15-postinst-en.txt | 59 | ||||
-rw-r--r-- | www-apache/anyterm/files/digest-anyterm-1.1.15 | 3 |
6 files changed, 268 insertions, 8 deletions
diff --git a/www-apache/anyterm/ChangeLog b/www-apache/anyterm/ChangeLog index 0f822cea2cb9..f934e29ef695 100644 --- a/www-apache/anyterm/ChangeLog +++ b/www-apache/anyterm/ChangeLog @@ -1,6 +1,13 @@ # ChangeLog for www-apache/anyterm # Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/www-apache/anyterm/ChangeLog,v 1.7 2007/09/01 13:12:44 phreak Exp $ +# $Header: /var/cvsroot/gentoo-x86/www-apache/anyterm/ChangeLog,v 1.8 2007/09/08 16:30:43 hollow Exp $ + +*anyterm-1.1.15 (08 Sep 2007) + + 08 Sep 2007; Benedikt Böhm <hollow@gentoo.org> + +files/anyterm-1.1.15-browser-gentoo.patch, + +files/anyterm-1.1.15-postinst-en.txt, +anyterm-1.1.15.ebuild: + version bump 01 Sep 2007; Christian Heim <phreak@gentoo.org> metadata.xml: Removing twp from metadata due to his retirement (see #190561 for reference). diff --git a/www-apache/anyterm/Manifest b/www-apache/anyterm/Manifest index 6ad5f63b740e..2d275f79580c 100644 --- a/www-apache/anyterm/Manifest +++ b/www-apache/anyterm/Manifest @@ -5,6 +5,14 @@ AUX 50_anyterm.conf 245 RMD160 03b57404b84294ee3901a772f578ed9a25fcdbcd SHA1 f71 MD5 5d4c363d94576d82610a3b238da8b1e4 files/50_anyterm.conf 245 RMD160 03b57404b84294ee3901a772f578ed9a25fcdbcd files/50_anyterm.conf 245 SHA256 c09d0a7e0e2d8e010afed91d5f03e738fac4e12ff32aff53681b54214892fbd4 files/50_anyterm.conf 245 +AUX anyterm-1.1.15-browser-gentoo.patch 2100 RMD160 e3aa724b79bc52fe682864adf819df2ef68f1655 SHA1 8dbf94e35e18fa4375481d51f93c910fe29838a0 SHA256 b7cf110f80e8e18bbb18eff8801dc90f77f9a919439e3c7afce114f3964965c7 +MD5 82aff622f8f09e4e8112a7bdee785fef files/anyterm-1.1.15-browser-gentoo.patch 2100 +RMD160 e3aa724b79bc52fe682864adf819df2ef68f1655 files/anyterm-1.1.15-browser-gentoo.patch 2100 +SHA256 b7cf110f80e8e18bbb18eff8801dc90f77f9a919439e3c7afce114f3964965c7 files/anyterm-1.1.15-browser-gentoo.patch 2100 +AUX anyterm-1.1.15-postinst-en.txt 1984 RMD160 d372d26bcdbc8e092858306bb51bbe56be082b4b SHA1 e88e548caf193d450002ded43176a86ee31c40a9 SHA256 e193a5d51d121e2f16ca1fa6758029c173997cc9806593e4fffb022fefdc9f48 +MD5 34e73d3fb44d606b03f1b88d3be07d5c files/anyterm-1.1.15-postinst-en.txt 1984 +RMD160 d372d26bcdbc8e092858306bb51bbe56be082b4b files/anyterm-1.1.15-postinst-en.txt 1984 +SHA256 e193a5d51d121e2f16ca1fa6758029c173997cc9806593e4fffb022fefdc9f48 files/anyterm-1.1.15-postinst-en.txt 1984 AUX anyterm-1.1.8-apachemod-Makefile.patch 891 RMD160 3eff11859ace8d837818af2ead79d30784bd82e2 SHA1 8012dd26ad97efb588e3a6d1264b7f6e6f9d570f SHA256 797a4f4563b73b30bd218cb6fd04bcb1adde6b8c5ab70732adc511baf65b354c MD5 5a58f6af7f808560b821511c1e00261c files/anyterm-1.1.8-apachemod-Makefile.patch 891 RMD160 3eff11859ace8d837818af2ead79d30784bd82e2 files/anyterm-1.1.8-apachemod-Makefile.patch 891 @@ -25,26 +33,34 @@ AUX anyterm-1.1.8-postinst-en.txt 1976 RMD160 a2f5a3662989714f9c171d7a484c0dfc3a MD5 b3ff11277b2fe4d9712d2bf8ded7a6e0 files/anyterm-1.1.8-postinst-en.txt 1976 RMD160 a2f5a3662989714f9c171d7a484c0dfc3a4869de files/anyterm-1.1.8-postinst-en.txt 1976 SHA256 43c86934e00be1b61d856e8e15599639bd1e6fa1c8f0c51807c9f71c3dd551d3 files/anyterm-1.1.8-postinst-en.txt 1976 +DIST anyterm-1.1.15.tbz2 192092 RMD160 b4ee6524a6fd4002b1e2c111382aeff392b3a554 SHA1 685549153a4220d1b8b74acff9651db0ab5ee61c SHA256 f5c3fa8077f510ec0c17c8de107179c77bdf7f1b8328c124cb52846e9ee283e5 DIST anyterm-1.1.8.tbz2 75137 RMD160 8e2ba675b0697214579524a19d10bc7791a4834e SHA1 8adddcbd840c3f6d7b8d47521d13ba51b60e9dff SHA256 06c3896597cc9353c3d1fdcd33aab071f31b5fe7305561ba03372feeb92913ff +EBUILD anyterm-1.1.15.ebuild 2538 RMD160 b87ceeebca090f51b66831d18b7691f92cf34a42 SHA1 8f8797bb5d0a96690b615c5e6cc73629086e121e SHA256 9bbe04d4340d2b8a175dbe004953e0a092932482f488490cf6d2cb8d603693ac +MD5 21aa3724da4644f528f7e3155cd41f0c anyterm-1.1.15.ebuild 2538 +RMD160 b87ceeebca090f51b66831d18b7691f92cf34a42 anyterm-1.1.15.ebuild 2538 +SHA256 9bbe04d4340d2b8a175dbe004953e0a092932482f488490cf6d2cb8d603693ac anyterm-1.1.15.ebuild 2538 EBUILD anyterm-1.1.8-r2.ebuild 2788 RMD160 bb76b3997cd7c38e025a972919e5bede48d8b46c SHA1 bc1f75b85bdceee77953a2df44b4b1db6ed395f0 SHA256 511b9b6c28a014ec4f371befc8843610888ec4e19f4e27c09db5ad75205fbf07 MD5 7d215ff602b512f7581e687959a5e4de anyterm-1.1.8-r2.ebuild 2788 RMD160 bb76b3997cd7c38e025a972919e5bede48d8b46c anyterm-1.1.8-r2.ebuild 2788 SHA256 511b9b6c28a014ec4f371befc8843610888ec4e19f4e27c09db5ad75205fbf07 anyterm-1.1.8-r2.ebuild 2788 -MISC ChangeLog 1895 RMD160 54b49e5ccece192dc7f202f07f7751859c81b366 SHA1 678897fa8312dbe071d5f032e38e7439f8c9c053 SHA256 7c7b1293bf1e36532db11dc9e4514169a628eb6bd82acfa40f49c57e8d1b696d -MD5 9e8798d0d275b6e8bb09e439a613f3ca ChangeLog 1895 -RMD160 54b49e5ccece192dc7f202f07f7751859c81b366 ChangeLog 1895 -SHA256 7c7b1293bf1e36532db11dc9e4514169a628eb6bd82acfa40f49c57e8d1b696d ChangeLog 1895 +MISC ChangeLog 2103 RMD160 130fe6bfbdc1eef52fb2076ede2a11ccc8182b5e SHA1 632d912328b8dd6729edd48a851fd4be0d3e53d2 SHA256 409f4c3555fd3c0b26d72cea1a3199af01aefe990aceced7914b953dc8453335 +MD5 0cf9ee333b927e44f151cfcdf3fdfc2f ChangeLog 2103 +RMD160 130fe6bfbdc1eef52fb2076ede2a11ccc8182b5e ChangeLog 2103 +SHA256 409f4c3555fd3c0b26d72cea1a3199af01aefe990aceced7914b953dc8453335 ChangeLog 2103 MISC metadata.xml 160 RMD160 a0f6e133e170b7477018d8584c20e8723f6914fa SHA1 a3b9b520ec43ee1f9b1c7b5c5b8745bf84454c03 SHA256 3c312146c4cb5b912d6f56292242ce3a85c629ca98ee7ef0a84ca575708b44fe MD5 5eede8f5b73ba3c19b1bee203033a5cf metadata.xml 160 RMD160 a0f6e133e170b7477018d8584c20e8723f6914fa metadata.xml 160 SHA256 3c312146c4cb5b912d6f56292242ce3a85c629ca98ee7ef0a84ca575708b44fe metadata.xml 160 +MD5 8d073ddf24975efc26bd023d562ce463 files/digest-anyterm-1.1.15 238 +RMD160 a3aacd6e95da87e743bcdb50716ee722063b56f2 files/digest-anyterm-1.1.15 238 +SHA256 8a7d964663de89360140f89855e4d83b87aea1b9ef43c3360a4ac5d8516b0555 files/digest-anyterm-1.1.15 238 MD5 266fff5eab4bffdf8e0cdac0a7232276 files/digest-anyterm-1.1.8-r2 232 RMD160 81cc674ad2dcf49d7da58d1acc31f77854c5fd6a files/digest-anyterm-1.1.8-r2 232 SHA256 585f26cc7631b6f4c3ea8131ed04038f856f5702e0687cf6acbdc1f4c40d3599 files/digest-anyterm-1.1.8-r2 232 -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.6 (GNU/Linux) -iD8DBQFG2WVXyuNVb5qfaOYRAvf3AJwPjUiphC+hD8xR7CPJ+a9D85yNAQCffJqj -zkPYF8Xcw7mKQi2a4X0PGWI= -=l34G +iD8DBQFG4s48mPFBzbX68WERAmMyAJ44a/Kg98GSZ65S/hZokR+5vzjAGQCeMlo/ +xrstEJeVtmzg8HBoPoth1y0= +=ARj+ -----END PGP SIGNATURE----- diff --git a/www-apache/anyterm/anyterm-1.1.15.ebuild b/www-apache/anyterm/anyterm-1.1.15.ebuild new file mode 100644 index 000000000000..52a4e304ff26 --- /dev/null +++ b/www-apache/anyterm/anyterm-1.1.15.ebuild @@ -0,0 +1,100 @@ +# Copyright 1999-2007 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/www-apache/anyterm/anyterm-1.1.15.ebuild,v 1.1 2007/09/08 16:30:43 hollow Exp $ + +inherit apache-module eutils toolchain-funcs webapp + +KEYWORDS="~x86" + +DESCRIPTION="A terminal anywhere." +HOMEPAGE="http://anyterm.org/" +SRC_URI="http://anyterm.org/download/${P}.tbz2" +LICENSE="GPL-2" +SLOT="0" +IUSE="opera pam ssl" + +DEPEND="dev-libs/boost + >=dev-libs/rote-0.2.8 + >=sys-devel/gcc-3 + virtual/ssh + pam? ( www-apache/mod_auth_pam )" +RDEPEND="${DEPEND}" + +APACHE2_MOD_CONF="50_${PN}" +APACHE2_MOD_DEFINE="ANYTERM" +use pam && APACHE2_MOD_DEFINE="${APACHE2_MOD_DEFINE} -D AUTH_PAM" +use ssl && APACHE2_MOD_DEFINE="${APACHE2_MOD_DEFINE} -D SSL" +APACHE2_MOD_FILE="${S}/apachemod/.libs/${PN}.so" +DOCFILES="CHANGELOG README" + +WEBAPP_MANUAL_SLOT="yes" + +need_apache2 + +pkg_setup() { + webapp_pkg_setup + + apache-module_pkg_setup + + if use ssl && ! built_with_use www-servers/apache ssl; then + eerror "Build www-servers/apache with USE=ssl." && die + die + fi + + if ! built_with_use dev-libs/boost threads; then + eerror "Build dev-libs/boost with USE=threads." + die + fi +} + +src_unpack() { + unpack ${A} + cd "${S}" + epatch "${FILESDIR}/${P}-browser-gentoo.patch" + sed -i -e "s:apr-config:$(apr_config):g" apachemod/Makefile +} + +src_compile() { + ( cd apachemod && emake CC="$(tc-getCC)" CXX="$(tc-getCXX)" || die "Apachemod make failed" ) + + # Modify browser files to reflect USE flags. + for flag in opera pam ssl ; do + if use ${flag} ; then + sed -i -e "s/^#USE=${flag}#//" browser/{*,.htaccess} + sed -i -e "/^#USE=-${flag}#/D" browser/{*,.htaccess} + else + sed -i -e "s/^#USE=-${flag}#//" browser/{*,.htaccess} + sed -i -e "/^#USE=${flag}#/D" browser/{*,.htaccess} + fi + done +} + +src_install() { + apache-module_src_install + + webapp_src_preinst + cp -f browser/{*,.htaccess} "${D}/${MY_HTDOCSDIR}" + webapp_postinst_txt en "${FILESDIR}/${P}-postinst-en.txt" + webapp_src_install +} + +pkg_postinst() { + webapp_pkg_postinst + + apache-module_pkg_postinst + + if ! use ssl ; then + ewarn "USE=-ssl: Anyterm without SSL is very insecure!" + fi + if ! use pam ; then + ewarn "USE=-pam: You will have to add your own authentication" + ewarn " mechanism." + fi + if use opera ; then + ewarn "USE=opera: Be sure to disable some logging in your Apache" + ewarn " configuration files!" + fi + if ! use ssl || ! use pam || use opera ; then + ewarn "For more information see http://anyterm.org/security.html" + fi +} diff --git a/www-apache/anyterm/files/anyterm-1.1.15-browser-gentoo.patch b/www-apache/anyterm/files/anyterm-1.1.15-browser-gentoo.patch new file mode 100644 index 000000000000..0b06a5121a30 --- /dev/null +++ b/www-apache/anyterm/files/anyterm-1.1.15-browser-gentoo.patch @@ -0,0 +1,75 @@ +Index: anyterm-1.1.15/browser/anyterm.js +=================================================================== +--- anyterm-1.1.15.orig/browser/anyterm.js ++++ anyterm-1.1.15/browser/anyterm.js +@@ -24,16 +24,21 @@ var term; + var open=false; + var session; + +-var method="POST"; +-//var method="GET"; ++#USE=opera#//var method="POST"; ++#USE=opera#var method="GET"; ++#USE=-opera#var method="POST"; ++#USE=-opera#//var method="GET"; + + // Random sequence numbers are needed to prevent Opera from caching + // replies + + var is_opera = navigator.userAgent.toLowerCase().indexOf("opera") != -1; +-if (is_opera) { +- method="GET"; +-} ++#USE=opera#if (is_opera) { ++#USE=opera# method="GET"; ++#USE=opera#} ++#USE=-opera#//if (is_opera) { ++#USE=-opera#// method="GET"; ++#USE=-opera#//} + + var seqnum_val=Math.round(Math.random()*100000); + function cachebust() { +Index: anyterm-1.1.15/browser/.htaccess +=================================================================== +--- anyterm-1.1.15.orig/browser/.htaccess ++++ anyterm-1.1.15/browser/.htaccess +@@ -6,6 +6,8 @@ + # will be ignored if the anyterm module has not been loaded. + + <IfModule anyterm> ++#USE=ssl#<IfModule mod_ssl.c> ++#USE=pam#<IfModule mod_auth_pam.c> + + # Use an anyterm_command directive to specify the command to run + # inside the terminal: +@@ -24,6 +26,16 @@ + # Example: + # anyterm_command '/path/to/anygetty --remotehost "Anyterm: %h" --autologin=%u' + ++# twp: Use ssh to avoid problems with Gentoo's /bin/login. ++anyterm_command '/usr/bin/ssh %u@localhost' ++ ++#USE=ssl#SSLRequireSSL ++#USE=ssl# ++#USE=pam#AuthPAM_Enabled on ++#USE=pam#AuthType Basic ++#USE=pam#AuthName "Anyterm" ++#USE=pam#Require valid-user ++#USE=pam# + <Files anyterm-module> + SetHandler anyterm + +@@ -34,9 +46,12 @@ + # CustomLog /path/to/logfile combined env=!DONTLOG + # See the Apache documentation for details. Note "=!" not "!=" ! + +- # SetEnv DONTLOG ++#USE=opera# SetEnv DONTLOG ++#USE=-opera# # SetEnv DONTLOG + </Files> + ++#USE=pam#</IfModule> ++#USE=ssl#</IfModule> + # Additional Security Issues + + # If you're just testing Anyterm on a machine that's not connected to diff --git a/www-apache/anyterm/files/anyterm-1.1.15-postinst-en.txt b/www-apache/anyterm/files/anyterm-1.1.15-postinst-en.txt new file mode 100644 index 000000000000..19a11013aa2f --- /dev/null +++ b/www-apache/anyterm/files/anyterm-1.1.15-postinst-en.txt @@ -0,0 +1,59 @@ +DEFAULT GENTOO INSTALLATION + +The default Gentoo installation is designed to work and be as secure as +possible out-of-the box as long as you have USE="ssl pam -opera". + + +USE FLAGS + ++ssl forces anyterm to only run over secure (HTTPS) connections. +-ssl disables secure connections, all data will pass over the network in + plain text, including passwords! ++pam enables PAM authentication, so anyone with an account on your computer + can use anyterm without any further configuration. +-pam means that you will have to configure your own authentication + mechanism. ++opera Enables a workaround for a bug in the Opera browser, but you will have + to modify apache's logging behaviour to prevent snooping by local + users. +-opera Disables the Opera bug workaround. + + +INSTALLATION INSTRUCTIONS + +1. Add the following flags to APACHE2_OPTS in /etc/init.d/apache2: + -D ANYTERM + -D SSL -D SSL_DEFAULT_VHOST # if USE=ssl + -D AUTH_PAM # if USE=pam + +2. If you have USE=vhosts then you need to add the following directives to + each virtual host's configuration file: + <Directory "${MY_INSTALLDIR}"> + AllowOverride All + </Directory> + +3. If you have USE=opera then you should disable logging of some requests. In + each apache configuration file add env=!DONTLOG to each CustomLog + directive. For example: + + USE="ssl -vhosts": edit /etc/apache2/modules.d/41_mod_ssl.default-vhost.conf: + + CustomLog logs/ssl_request_log \ + "%t %h %{SSL_PROTOCOL}x %{SSL_CIPHER}x \"%r\" %b" \ + env=!DONTLOG + + USE="-ssl -vhosts": edit /etc/apache2/modules.d/00_mod_log_config.conf: + CustomLog logs/access_log common env=!DONTLOG + +4. Restart apache2: + /etc/init.d/apache2 restart + +5. Browse to: + https://${VHOST_HOSTNAME}${VHOST_APPDIR}/${PN}.html # if USE=ssl + http://${VHOST_HOSTNAME}${VHOST_APPDIR}/${PN}.html # if USE=-ssl + + +MORE INFORMATION + +http://anyterm.org/ +http://anyterm.org/security.html diff --git a/www-apache/anyterm/files/digest-anyterm-1.1.15 b/www-apache/anyterm/files/digest-anyterm-1.1.15 new file mode 100644 index 000000000000..d49169fc6d69 --- /dev/null +++ b/www-apache/anyterm/files/digest-anyterm-1.1.15 @@ -0,0 +1,3 @@ +MD5 12a3620e892cfbff89663a568b826911 anyterm-1.1.15.tbz2 192092 +RMD160 b4ee6524a6fd4002b1e2c111382aeff392b3a554 anyterm-1.1.15.tbz2 192092 +SHA256 f5c3fa8077f510ec0c17c8de107179c77bdf7f1b8328c124cb52846e9ee283e5 anyterm-1.1.15.tbz2 192092 |