summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBenedikt Boehm <hollow@gentoo.org>2008-03-22 16:35:16 +0000
committerBenedikt Boehm <hollow@gentoo.org>2008-03-22 16:35:16 +0000
commit132b0753077b68550735b733b42062e5a970866a (patch)
tree801b4b14fe7f4cf1acf5d87e5c00200320bce315 /www-apache
parentamd64 stable wrt bug #208144 (diff)
downloadhistorical-132b0753077b68550735b733b42062e5a970866a.tar.gz
historical-132b0753077b68550735b733b42062e5a970866a.tar.bz2
historical-132b0753077b68550735b733b42062e5a970866a.zip
version bump wrt #209865
Package-Manager: portage-2.1.4.4
Diffstat (limited to 'www-apache')
-rw-r--r--www-apache/anyterm/ChangeLog7
-rw-r--r--www-apache/anyterm/Manifest12
-rw-r--r--www-apache/anyterm/anyterm-1.1.22.ebuild93
3 files changed, 106 insertions, 6 deletions
diff --git a/www-apache/anyterm/ChangeLog b/www-apache/anyterm/ChangeLog
index 2379b6a409e9..ee3c451f2b0c 100644
--- a/www-apache/anyterm/ChangeLog
+++ b/www-apache/anyterm/ChangeLog
@@ -1,6 +1,11 @@
# 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.11 2008/02/23 22:43:51 hollow Exp $
+# $Header: /var/cvsroot/gentoo-x86/www-apache/anyterm/ChangeLog,v 1.12 2008/03/22 16:35:16 hollow Exp $
+
+*anyterm-1.1.22 (22 Mar 2008)
+
+ 22 Mar 2008; Benedikt Böhm <hollow@gentoo.org> +anyterm-1.1.22.ebuild:
+ version bump wrt #209865
23 Feb 2008; Benedikt Böhm <hollow@gentoo.org> metadata.xml,
-anyterm-1.1.15.ebuild:
diff --git a/www-apache/anyterm/Manifest b/www-apache/anyterm/Manifest
index e2f1ce3fa984..46f720a61059 100644
--- a/www-apache/anyterm/Manifest
+++ b/www-apache/anyterm/Manifest
@@ -5,13 +5,15 @@ AUX 50_anyterm.conf 98 RMD160 6868b4ac9c930caacdab74a70fff70e1ddadac2d SHA1 7c15
AUX anyterm-1.1.15-browser-gentoo.patch 2100 RMD160 e3aa724b79bc52fe682864adf819df2ef68f1655 SHA1 8dbf94e35e18fa4375481d51f93c910fe29838a0 SHA256 b7cf110f80e8e18bbb18eff8801dc90f77f9a919439e3c7afce114f3964965c7
AUX anyterm-1.1.15-postinst-en.txt 1984 RMD160 d372d26bcdbc8e092858306bb51bbe56be082b4b SHA1 e88e548caf193d450002ded43176a86ee31c40a9 SHA256 e193a5d51d121e2f16ca1fa6758029c173997cc9806593e4fffb022fefdc9f48
DIST anyterm-1.1.16.tbz2 234458 RMD160 e9a871f864bb260d2e0bb762d00235c936febb66 SHA1 f45fe1991ed5725b3c387def9ad6b27eb2b94cb6 SHA256 3d9bb4158b6e67a14d6044473474549553db11566f59da64efb354522aa463e7
+DIST anyterm-1.1.22.tbz2 267401 RMD160 1ed5089e3a590f1ac5f7aaec38a041440df6df8a SHA1 59fa5ac44751f2c8bbac02fff9af47b9e01d48f9 SHA256 ff3c75e8fa825ea77ecea08cc9771c239fda06168505b394b42d90e28ffbdd51
EBUILD anyterm-1.1.16.ebuild 2452 RMD160 f666b38d0c80bb5c8cc7a8b0b3e584489fe94bfa SHA1 613d06dabb5736e56b4a98e4b21c8046beb603f8 SHA256 c4457dc1fca370d842cbdaab17ac16806a3d75e1bb404fbc449d65ea48b690e8
-MISC ChangeLog 2738 RMD160 7f6dbdae8e403ede101e3dd36a8a0b29b5af6869 SHA1 bb64fc3d225521e37185381137865a2c15e3d29f SHA256 454936bba2db31f6e365b1b814701896c42cd1e03a70719f411e4867d478f6e8
+EBUILD anyterm-1.1.22.ebuild 2431 RMD160 5932f851280b122b9b88a5363008fd0c248ad5ac SHA1 4c4b30272e64c158a54a5999d78d3d2d5c29df72 SHA256 d76cb0191ec5fc1c97718cc09d32476b5c6b1139d621cf11850ad52997fd5628
+MISC ChangeLog 2871 RMD160 5d1031ae7e181cf23bce7608bd74a3d9d0d7e3e4 SHA1 4eb5171466f5fd5f7a4d4733fb4d74936cfbb6da SHA256 03b30cc8d36d342cca96d576677eb3d03f89f12b99bf0003cd306aa298c046d5
MISC metadata.xml 183 RMD160 0e64ed9d85dd9d4ca990131047e926413a224843 SHA1 c2d94faa8692a93322354d824fd271dcf36afb8f SHA256 b842f68294faf221aa36e479d4275079ec6831ad215f59d3d446de08b410df49
-----BEGIN PGP SIGNATURE-----
-Version: GnuPG v2.0.8 (GNU/Linux)
+Version: GnuPG v2.0.7 (GNU/Linux)
-iEYEARECAAYFAkfAoawACgkQmPFBzbX68WFoTgCeK8CP20Jc1cbZJWXM1IkTROvf
-EAMAoJjaz1IFKaQ7Kf79Tqv2u+i4DgcF
-=wafZ
+iD8DBQFH5TVNmPFBzbX68WERAtqbAJ9KabL98q21HMxOEyqOf0cjK8t9zQCgj3zV
+Cw/lfKRV6DVvQI3XgdyqQmw=
+=CKTz
-----END PGP SIGNATURE-----
diff --git a/www-apache/anyterm/anyterm-1.1.22.ebuild b/www-apache/anyterm/anyterm-1.1.22.ebuild
new file mode 100644
index 000000000000..8224a819e04c
--- /dev/null
+++ b/www-apache/anyterm/anyterm-1.1.22.ebuild
@@ -0,0 +1,93 @@
+# 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.22.ebuild,v 1.1 2008/03/22 16:35:16 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} AUTH_PAM"
+use ssl && APACHE2_MOD_DEFINE="${APACHE2_MOD_DEFINE} SSL"
+APACHE2_MOD_FILE="${S}/apachemod/.libs/${PN}.so"
+DOCFILES="CHANGELOG README"
+
+WEBAPP_MANUAL_SLOT="yes"
+
+need_apache2_2
+
+pkg_setup() {
+ webapp_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
+
+ insinto "${MY_HTDOCSDIR}"
+ doins -r browser/{*,.htaccess}
+
+ 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
+}