diff options
author | Benedikt Boehm <hollow@gentoo.org> | 2008-07-01 19:40:48 +0000 |
---|---|---|
committer | Benedikt Boehm <hollow@gentoo.org> | 2008-07-01 19:40:48 +0000 |
commit | 48a6a1d0e6bb33f4b59b99211cbc04192badbcc6 (patch) | |
tree | 3255af86c8cb56ecf519a0a9f51b52d14f3e29f2 /www-apache | |
parent | version bump wrt #229449 (diff) | |
download | historical-48a6a1d0e6bb33f4b59b99211cbc04192badbcc6.tar.gz historical-48a6a1d0e6bb33f4b59b99211cbc04192badbcc6.tar.bz2 historical-48a6a1d0e6bb33f4b59b99211cbc04192badbcc6.zip |
version bump wrt #229977
Package-Manager: portage-2.2_pre8/cvs/Linux 2.6.22-vs2.2.0.6-gentoo x86_64
Diffstat (limited to 'www-apache')
-rw-r--r-- | www-apache/anyterm/ChangeLog | 7 | ||||
-rw-r--r-- | www-apache/anyterm/anyterm-1.1.24.ebuild | 101 | ||||
-rw-r--r-- | www-apache/mod_security/Manifest | 10 |
3 files changed, 113 insertions, 5 deletions
diff --git a/www-apache/anyterm/ChangeLog b/www-apache/anyterm/ChangeLog index dd65a20e72b3..8d0ddcf73af6 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.14 2008/06/01 09:29:03 hollow Exp $ +# $Header: /var/cvsroot/gentoo-x86/www-apache/anyterm/ChangeLog,v 1.15 2008/07/01 19:40:48 hollow Exp $ + +*anyterm-1.1.24 (01 Jul 2008) + + 01 Jul 2008; Benedikt Böhm <hollow@gentoo.org> +anyterm-1.1.24.ebuild: + version bump wrt #229977 01 Jun 2008; Benedikt Böhm <hollow@gentoo.org> +files/anyterm-1.1.22-respect-flags.patch, anyterm-1.1.22.ebuild: diff --git a/www-apache/anyterm/anyterm-1.1.24.ebuild b/www-apache/anyterm/anyterm-1.1.24.ebuild new file mode 100644 index 000000000000..32746f68eab5 --- /dev/null +++ b/www-apache/anyterm/anyterm-1.1.24.ebuild @@ -0,0 +1,101 @@ +# 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.24.ebuild,v 1.1 2008/07/01 19:40:48 hollow Exp $ + +inherit apache-module eutils toolchain-funcs webapp + +DESCRIPTION="A terminal anywhere." +HOMEPAGE="http://anyterm.org/" +SRC_URI="http://anyterm.org/download/${P}.tbz2" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~x86" +IUSE="opera pam ssl" + +DEPEND="dev-libs/boost + >=dev-libs/rote-0.2.8 + >=sys-devel/gcc-3 + virtual/ssh + pam? ( || ( www-apache/mod_authn_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 + epatch "${FILESDIR}"/${PN}-1.1.22-respect-flags.patch + sed -i -e "s:apr-config:apr-1-config:g" apachemod/Makefile +} + +src_compile() { + local my_LDFLAGS + for flag in ${LDFLAGS} ; do + my_LDFLAGS="${my_LDFLAGS} -Wl,${flag}" + done + unset flag + export LDFLAGS="${my_LDFLAGS# }" + + 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 +} diff --git a/www-apache/mod_security/Manifest b/www-apache/mod_security/Manifest index 0ca0fccf6217..6d15a38ae7db 100644 --- a/www-apache/mod_security/Manifest +++ b/www-apache/mod_security/Manifest @@ -6,16 +6,18 @@ DIST modsecurity-apache_2.1.2.tar.gz 657803 RMD160 3d0d2a767133ab1ec1ef3848e2f85 DIST modsecurity-apache_2.1.6.tar.gz 679366 RMD160 3133e67f415ba3273563e6f4e0a43c7ecc7812ae SHA1 08c2d18d555159fa7cab626c410f92a7bbfa57b3 SHA256 144e2c82a5b0f356e11148184d97634302c6c4281aef68d2700b970b84536273 DIST modsecurity-apache_2.5.1.tar.gz 1045582 RMD160 43f1c0ab702363ebfe15a220d17dcbe1c535daa1 SHA1 b9965bb801445833aa04ac62c90c0e374426dd73 SHA256 d66838c6f88c1c38dad7c862a5f08b33cb6b80220c66b3a17439570e89169b0e DIST modsecurity-apache_2.5.4.tar.gz 1071980 RMD160 a4fd4029ef3bd17a2a68b5f3bbbb3a11bdcbcdfb SHA1 b17dd1a65b6aace86e65f44271a418e2b119a323 SHA256 be515456add43ecac6c441da1fcdb1ab94908ae6ff0c837854bcf141343932ae +DIST modsecurity-apache_2.5.5.tar.gz 1073723 RMD160 04b116c6a1d0d4af38ec100bb62302294bb7106c SHA1 41a08b9af902b67eabaabe2dd3c257d35aaf5d30 SHA256 626909c8408e2fd9e387f592f49e9d2c6501513b4cdc18dd89a8e9f3e124d959 EBUILD mod_security-2.1.2.ebuild 1400 RMD160 1182531b3194a46b014a140212d2190a2957fe96 SHA1 023b1817c4e1181a77f8b9a9b2135dae39d29e31 SHA256 5edc46ed1e7fc8a4d2f232e2c7f45de54ba10e9c5b43b2274d64764a46b23037 EBUILD mod_security-2.1.6.ebuild 1424 RMD160 687f4e0692cb8443411d5df23ab9d301215c9a37 SHA1 961cf48f6330f014c57a476838388ac386273377 SHA256 6578d751df77c29dc41e4cf1d8b80b86434efc32393327eaaa184c05d68cba3b EBUILD mod_security-2.5.1.ebuild 1577 RMD160 62cca868a725ed26313f03f7fb7e6309ba943936 SHA1 d5ed30f65747836a920cd7fd8e30a7e235773e6c SHA256 e0584327b4f0045e263ba1c04b6238970c7d72fbdf5c4b00cffe14222188207d EBUILD mod_security-2.5.4.ebuild 1577 RMD160 4438563d8dee4179294da05531d0b621c0711503 SHA1 ee67d7e36cbc1ecfad8cc235053e85e82b5a6682 SHA256 10bf217cb6a9e3cfd53788c1d36c8f6ca50b5a4758d949db39f09769e4faf32e -MISC ChangeLog 6049 RMD160 de2fdb397a671f27bc66bf959414010a942ee7f8 SHA1 cb88fcac247d3cd2ae55041252353c633a07b34d SHA256 a13a2a7e67a8be9a8dc191eaa14f7d2294d7f11d38abfc0abe192a6bc0bd91c4 +EBUILD mod_security-2.5.5.ebuild 1577 RMD160 2b281cbafc657bd9ea51f67ff52f6b2c4fa5b2af SHA1 d5435cee8c95bc7f0193d9e2f31a32bdcdee2c3e SHA256 f2421ccda41f7e0576054eccfa07c77b01324c7aca6f4647bf38674b23a24031 +MISC ChangeLog 6192 RMD160 b4b22cc7a991ef790aeda9b11f07f88584e46955 SHA1 6086d348339d322e178087786cb3c5bc74a590e8 SHA256 a17853aa929c4f0a8a527a97e1008dad40594a9a55e86ab2ce6154a6afed45ab MISC metadata.xml 255 RMD160 a80959a97f317179745aa51dc813fc77fc12f431 SHA1 202b14b369f47c3f1f5b44384447c7769cc61755 SHA256 deef3dd2faff775a34529a8909b6e003cce31ee1a9858ace880da761f463ab65 -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.9 (GNU/Linux) -iEYEARECAAYFAkhCmMUACgkQmPFBzbX68WGTsgCfSQcaBG4MAxrR0rhCVdHY2ZeC -IK0An2/YFXyRLXFXrWPf346qhDBdChCJ -=B/+j +iEYEARECAAYFAkhqiN4ACgkQmPFBzbX68WFqSACcD6fT594glEhhu/R60rM/WK/E +akoAn2xjcfRmNXVl5ldKgWREd8PKwf6w +=29S3 -----END PGP SIGNATURE----- |