diff options
author | Benedikt Boehm <hollow@gentoo.org> | 2008-01-10 16:16:01 +0000 |
---|---|---|
committer | Benedikt Boehm <hollow@gentoo.org> | 2008-01-10 16:16:01 +0000 |
commit | 3f34790ad78a84caf07eab0ca065789cddc3b5b2 (patch) | |
tree | a0d27c2b34e3092558b6875f292d929a1a499d48 /www-apache/anyterm | |
parent | whitespace (diff) | |
download | historical-3f34790ad78a84caf07eab0ca065789cddc3b5b2.tar.gz historical-3f34790ad78a84caf07eab0ca065789cddc3b5b2.tar.bz2 historical-3f34790ad78a84caf07eab0ca065789cddc3b5b2.zip |
version bump, #203928
Package-Manager: portage-2.1.4_rc11
Diffstat (limited to 'www-apache/anyterm')
-rw-r--r-- | www-apache/anyterm/ChangeLog | 8 | ||||
-rw-r--r-- | www-apache/anyterm/Manifest | 30 | ||||
-rw-r--r-- | www-apache/anyterm/anyterm-1.1.16.ebuild | 90 | ||||
-rw-r--r-- | www-apache/anyterm/files/50_anyterm.conf | 11 | ||||
-rw-r--r-- | www-apache/anyterm/files/digest-anyterm-1.1.16 | 3 |
5 files changed, 122 insertions, 20 deletions
diff --git a/www-apache/anyterm/ChangeLog b/www-apache/anyterm/ChangeLog index 77c826ce397b..2f73c06739fb 100644 --- a/www-apache/anyterm/ChangeLog +++ b/www-apache/anyterm/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for www-apache/anyterm # Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/www-apache/anyterm/ChangeLog,v 1.9 2008/01/06 20:17:49 hollow Exp $ +# $Header: /var/cvsroot/gentoo-x86/www-apache/anyterm/ChangeLog,v 1.10 2008/01/10 16:16:00 hollow Exp $ + +*anyterm-1.1.16 (10 Jan 2008) + + 10 Jan 2008; Benedikt Böhm <hollow@gentoo.org> files/50_anyterm.conf, + +anyterm-1.1.16.ebuild: + version bump, #203928 06 Jan 2008; Benedikt Böhm <hollow@gentoo.org> -files/anyterm-1.1.8-apachemod-Makefile.patch, diff --git a/www-apache/anyterm/Manifest b/www-apache/anyterm/Manifest index a278a2e9245f..82eae40726f8 100644 --- a/www-apache/anyterm/Manifest +++ b/www-apache/anyterm/Manifest @@ -1,10 +1,10 @@ -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 -AUX 50_anyterm.conf 245 RMD160 03b57404b84294ee3901a772f578ed9a25fcdbcd SHA1 f710f2c78dda13f1212ab9940eb3181562e3c0b5 SHA256 c09d0a7e0e2d8e010afed91d5f03e738fac4e12ff32aff53681b54214892fbd4 -MD5 5d4c363d94576d82610a3b238da8b1e4 files/50_anyterm.conf 245 -RMD160 03b57404b84294ee3901a772f578ed9a25fcdbcd files/50_anyterm.conf 245 -SHA256 c09d0a7e0e2d8e010afed91d5f03e738fac4e12ff32aff53681b54214892fbd4 files/50_anyterm.conf 245 +AUX 50_anyterm.conf 98 RMD160 6868b4ac9c930caacdab74a70fff70e1ddadac2d SHA1 7c156d998dd92bc70f687777dca14d2aef663147 SHA256 42f96e8066ff95c0ae51337d460fbf7b5ec24d9c4c0e6114b5ee33f48c6d7ec7 +MD5 dd7a95b78b99aafd3e54f8cb8c33b462 files/50_anyterm.conf 98 +RMD160 6868b4ac9c930caacdab74a70fff70e1ddadac2d files/50_anyterm.conf 98 +SHA256 42f96e8066ff95c0ae51337d460fbf7b5ec24d9c4c0e6114b5ee33f48c6d7ec7 files/50_anyterm.conf 98 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 @@ -14,14 +14,19 @@ 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 DIST anyterm-1.1.15.tbz2 192092 RMD160 b4ee6524a6fd4002b1e2c111382aeff392b3a554 SHA1 685549153a4220d1b8b74acff9651db0ab5ee61c SHA256 f5c3fa8077f510ec0c17c8de107179c77bdf7f1b8328c124cb52846e9ee283e5 +DIST anyterm-1.1.16.tbz2 234458 RMD160 e9a871f864bb260d2e0bb762d00235c936febb66 SHA1 f45fe1991ed5725b3c387def9ad6b27eb2b94cb6 SHA256 3d9bb4158b6e67a14d6044473474549553db11566f59da64efb354522aa463e7 EBUILD anyterm-1.1.15.ebuild 2504 RMD160 09f3949b07df6a54a478788b2d52bc2164bcf12a SHA1 35ac9dbec590a27607e8d2d8a0c3036fe8a964b1 SHA256 8e6fb8bff7bf3330c714574c65f4aaafe053c71a7e6ce022407bed2f57b208ee MD5 6464bfb5a58eb24360b6ea1a0f3e7444 anyterm-1.1.15.ebuild 2504 RMD160 09f3949b07df6a54a478788b2d52bc2164bcf12a anyterm-1.1.15.ebuild 2504 SHA256 8e6fb8bff7bf3330c714574c65f4aaafe053c71a7e6ce022407bed2f57b208ee anyterm-1.1.15.ebuild 2504 -MISC ChangeLog 2456 RMD160 e01546bf36c8883a483d1d786ef0f14f8cc8a967 SHA1 442fd9143385a7017aa58bbaed6ec9c373badbe9 SHA256 74684a952f514f33f61fb991d620fdfe61a7aabae9f2c3d620ae6caafcb5f08e -MD5 53fd9b0a2b34eb66455169621b6b4f0c ChangeLog 2456 -RMD160 e01546bf36c8883a483d1d786ef0f14f8cc8a967 ChangeLog 2456 -SHA256 74684a952f514f33f61fb991d620fdfe61a7aabae9f2c3d620ae6caafcb5f08e ChangeLog 2456 +EBUILD anyterm-1.1.16.ebuild 2452 RMD160 f666b38d0c80bb5c8cc7a8b0b3e584489fe94bfa SHA1 613d06dabb5736e56b4a98e4b21c8046beb603f8 SHA256 c4457dc1fca370d842cbdaab17ac16806a3d75e1bb404fbc449d65ea48b690e8 +MD5 a6be13bc837c34a29b2898abb82055eb anyterm-1.1.16.ebuild 2452 +RMD160 f666b38d0c80bb5c8cc7a8b0b3e584489fe94bfa anyterm-1.1.16.ebuild 2452 +SHA256 c4457dc1fca370d842cbdaab17ac16806a3d75e1bb404fbc449d65ea48b690e8 anyterm-1.1.16.ebuild 2452 +MISC ChangeLog 2612 RMD160 d2aed97b2bd39cc1795f5f9b0dfb9efe40728291 SHA1 3441448f931d1ca74217899404e1fb80c4d6538d SHA256 506810a88a05fb45f0c86ac50e672a14076a61bd1ebe5e7b727333bce71745d3 +MD5 47d1d9ec721b266cf08d0a44639ba749 ChangeLog 2612 +RMD160 d2aed97b2bd39cc1795f5f9b0dfb9efe40728291 ChangeLog 2612 +SHA256 506810a88a05fb45f0c86ac50e672a14076a61bd1ebe5e7b727333bce71745d3 ChangeLog 2612 MISC metadata.xml 160 RMD160 a0f6e133e170b7477018d8584c20e8723f6914fa SHA1 a3b9b520ec43ee1f9b1c7b5c5b8745bf84454c03 SHA256 3c312146c4cb5b912d6f56292242ce3a85c629ca98ee7ef0a84ca575708b44fe MD5 5eede8f5b73ba3c19b1bee203033a5cf metadata.xml 160 RMD160 a0f6e133e170b7477018d8584c20e8723f6914fa metadata.xml 160 @@ -29,10 +34,13 @@ SHA256 3c312146c4cb5b912d6f56292242ce3a85c629ca98ee7ef0a84ca575708b44fe metadata 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 730bfb842252399df62eab1e1f8950a4 files/digest-anyterm-1.1.16 238 +RMD160 bce9f93da5417ffbcd872b3fad38deaa02b16086 files/digest-anyterm-1.1.16 238 +SHA256 51c4e47fcef2a67e250ecd7a49e8476077c128e3567f58acabc9c70c56c5d19a files/digest-anyterm-1.1.16 238 -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.8 (GNU/Linux) -iEYEARECAAYFAkeBN3gACgkQmPFBzbX68WF4/wCcDw7U5qN0ft7Sw4JZqx9HjLh0 -AO0AoJB1y2MAyQJvWKLxB148wjVfdW1c -=k20o +iEYEARECAAYFAkeGRMkACgkQmPFBzbX68WF8PQCfVm8QHI0KHx4GY6IlLNxZIr/o +zs4AnjLsI8fho1mLdZwe1QHZmq97MWyT +=zfxa -----END PGP SIGNATURE----- diff --git a/www-apache/anyterm/anyterm-1.1.16.ebuild b/www-apache/anyterm/anyterm-1.1.16.ebuild new file mode 100644 index 000000000000..cdc989c9f9b4 --- /dev/null +++ b/www-apache/anyterm/anyterm-1.1.16.ebuild @@ -0,0 +1,90 @@ +# Copyright 1999-2008 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/www-apache/anyterm/anyterm-1.1.16.ebuild,v 1.1 2008/01/10 16:16:00 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_2 + +pkg_setup() { + webapp_pkg_setup + apache-module_pkg_setup + + if use ssl && ! built_with_use www-servers/apache ssl; then + die "Build www-servers/apache with USE=ssl." + fi + + if ! built_with_use --missing true dev-libs/boost threads; then + die "Build dev-libs/boost with USE=threads." + fi +} + +src_unpack() { + unpack ${A} + cd "${S}" + + epatch "${FILESDIR}"/${PN}-1.1.15-browser-gentoo.patch + sed -i -e "s:apr-config:apr-1-config:g" apachemod/Makefile +} + +src_compile() { + cd apachemod + emake CC="$(tc-getCC)" CXX="$(tc-getCXX)" || die "Apachemod make failed" + cd .. + + # 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}"/${PN}-1.1.15-postinst-en.txt + webapp_src_install +} + +pkg_postinst() { + webapp_pkg_postinst + apache-module_pkg_postinst + + use ssl || ewarn "USE=-ssl: Anyterm without SSL is very insecure!" + use pam || ewarn "USE=-pam: You will have to add your own authentication mechanism." + use opera || ewarn "USE=opera: Be sure to disable some logging in your Apache configuration files!" + 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/50_anyterm.conf b/www-apache/anyterm/files/50_anyterm.conf index 24e04ce564ef..3a36d8362862 100644 --- a/www-apache/anyterm/files/50_anyterm.conf +++ b/www-apache/anyterm/files/50_anyterm.conf @@ -1,10 +1,5 @@ <IfDefine ANYTERM> - <IfModule !anyterm.c> - LoadModule anyterm modules/anyterm.so - </IfModule> - <IfDefine DEFAULT_VHOST> - <Directory "/var/www/localhost/htdocs/anyterm"> - AllowOverride All - </Directory> - </IfDefine> +LoadModule anyterm modules/anyterm.so </IfDefine> + +# vim: ts=4 filetype=apache diff --git a/www-apache/anyterm/files/digest-anyterm-1.1.16 b/www-apache/anyterm/files/digest-anyterm-1.1.16 new file mode 100644 index 000000000000..0e45528f0904 --- /dev/null +++ b/www-apache/anyterm/files/digest-anyterm-1.1.16 @@ -0,0 +1,3 @@ +MD5 9b30f8d0fe23b7c7c668d9b11dc6d6b7 anyterm-1.1.16.tbz2 234458 +RMD160 e9a871f864bb260d2e0bb762d00235c936febb66 anyterm-1.1.16.tbz2 234458 +SHA256 3d9bb4158b6e67a14d6044473474549553db11566f59da64efb354522aa463e7 anyterm-1.1.16.tbz2 234458 |