diff options
author | Ned Ludd <solar@gentoo.org> | 2004-10-22 14:51:00 +0000 |
---|---|---|
committer | Ned Ludd <solar@gentoo.org> | 2004-10-22 14:51:00 +0000 |
commit | 354f4982bc20af6ccf020a0d1171109a61c77fc0 (patch) | |
tree | c68bec61318b0792e16337cafcf0aad78abb9657 /www-servers/boa | |
parent | ppc stable profile update (Manifest recommit) (diff) | |
download | gentoo-2-354f4982bc20af6ccf020a0d1171109a61c77fc0.tar.gz gentoo-2-354f4982bc20af6ccf020a0d1171109a61c77fc0.tar.bz2 gentoo-2-354f4982bc20af6ccf020a0d1171109a61c77fc0.zip |
- package boa was/is missing a metadata.xml and orignial commiter is no longer an active dev so I'm adding a few updates for this package.
- added tiny patch for boa-0.94.13-r1 which fixes the fact that boa thought root was an invalid user.
- Massive updates for boa-0.94.14_alpha20 see http://www.boa.org/CHANGES for more details.
Diffstat (limited to 'www-servers/boa')
-rw-r--r-- | www-servers/boa/ChangeLog | 13 | ||||
-rw-r--r-- | www-servers/boa/Manifest | 24 | ||||
-rw-r--r-- | www-servers/boa/boa-0.94.13-r1.ebuild | 3 | ||||
-rw-r--r-- | www-servers/boa/boa-0.94.14_alpha20.ebuild | 92 | ||||
-rw-r--r-- | www-servers/boa/files/boa-0.94.13-server_uid.patch | 11 | ||||
-rw-r--r-- | www-servers/boa/files/digest-boa-0.94.14_alpha20 | 1 | ||||
-rw-r--r-- | www-servers/boa/metadata.xml | 5 |
7 files changed, 132 insertions, 17 deletions
diff --git a/www-servers/boa/ChangeLog b/www-servers/boa/ChangeLog index 15deb1ec313b..4d52b76da893 100644 --- a/www-servers/boa/ChangeLog +++ b/www-servers/boa/ChangeLog @@ -1,6 +1,17 @@ # ChangeLog for www-servers/boa # Copyright 2002-2004 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/www-servers/boa/ChangeLog,v 1.3 2004/09/05 09:28:33 swegener Exp $ +# $Header: /var/cvsroot/gentoo-x86/www-servers/boa/ChangeLog,v 1.4 2004/10/22 14:51:00 solar Exp $ + +*boa-0.94.14_alpha20 (22 Oct 2004) + + 22 Oct 2004; <solar@gentoo.org> +metadata.xml, + +files/boa-0.94.13-server_uid.patch, boa-0.94.13-r1.ebuild, + +boa-0.94.14_alpha20.ebuild: + - package boa was/is missing a metadata.xml and orignial commiter is no longer + an active dev so I'm adding a few updates for this package. - added tiny patch + for boa-0.94.13-r1 which fixes the fact that boa thought root was an invalid + user. - Massive updates for boa-0.94.14_alpha20 see http://www.boa.org/CHANGES + for more details. 05 Sep 2004; Sven Wegener <swegener@gentoo.org> : Fixed ChangeLog header. diff --git a/www-servers/boa/Manifest b/www-servers/boa/Manifest index 1f47d3d01ff0..aeef18ae308a 100644 --- a/www-servers/boa/Manifest +++ b/www-servers/boa/Manifest @@ -1,22 +1,16 @@ ------BEGIN PGP SIGNED MESSAGE----- -Hash: SHA1 - MD5 6c233d3d5334145f11bd322e6efb9efe boa-0.94.12.ebuild 1580 -MD5 203a40fedc7d648f32d5142c361355c1 boa-0.94.13-r1.ebuild 1904 +MD5 3844cf3016bcaa2c0ba7519fb45d09c1 boa-0.94.14_alpha20.ebuild 2010 +MD5 0889dbbba30fa4a74c5a293ace77450b boa-0.94.13-r1.ebuild 1953 MD5 7bb73a6779e6d73c6944a7435e6c1c85 boa-0.94.13.ebuild 1684 -MD5 022fad07d881d7b6e937cd7e7d2474ad ChangeLog 3598 +MD5 b44385c1f7e8725a6f52b9171062d158 ChangeLog 4119 +MD5 f61bfa064e3acdfcd826e4a38b121196 metadata.xml 161 +MD5 bbe2d6d519c762b0fdf3046f655fea02 files/boa.conf.d 121 +MD5 83939d3f288cd3f4fddfea9bc01e5027 files/digest-boa-0.94.14_alpha20 67 MD5 90c0c0ec7d80f10caafd016c5c9ecb49 files/boa-0.94.13-gcc3.patch 547 +MD5 98776c2beacab938c843c24830ed81ab files/digest-boa-0.94.13-r1 63 +MD5 8d078a074821ed86301936cdf0bf556b files/boa-0.94.13-server_uid.patch 435 MD5 559c4f77a9175ed60e18d816921b40c6 files/boa.conf 7168 -MD5 bbe2d6d519c762b0fdf3046f655fea02 files/boa.conf.d 121 -MD5 de7b84b21c6715dad6eb56ebbd87258b files/boa.rc6 895 MD5 3f6d2bad0652220e834c786c6cb2b0ea files/digest-boa-0.94.12 63 MD5 98776c2beacab938c843c24830ed81ab files/digest-boa-0.94.13 63 -MD5 98776c2beacab938c843c24830ed81ab files/digest-boa-0.94.13-r1 63 +MD5 de7b84b21c6715dad6eb56ebbd87258b files/boa.rc6 895 MD5 3e9e1f39e91126bfb472bf3fcdc7fae4 files/mime.types 5488 ------BEGIN PGP SIGNATURE----- -Version: GnuPG v1.2.6 (GNU/Linux) - -iD8DBQFBOtxHI1lqEGTUzyQRAmuiAKCjvCYoISbk4tQsT83lr64kXWBGCwCeKytk -laaskYp9DVbWivGmCD+COGQ= -=a1mD ------END PGP SIGNATURE----- diff --git a/www-servers/boa/boa-0.94.13-r1.ebuild b/www-servers/boa/boa-0.94.13-r1.ebuild index e5d45f1224db..b5d5bb2443f2 100644 --- a/www-servers/boa/boa-0.94.13-r1.ebuild +++ b/www-servers/boa/boa-0.94.13-r1.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2004 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/www-servers/boa/boa-0.94.13-r1.ebuild,v 1.2 2004/09/03 15:58:50 pvdabeel Exp $ +# $Header: /var/cvsroot/gentoo-x86/www-servers/boa/boa-0.94.13-r1.ebuild,v 1.3 2004/10/22 14:51:00 solar Exp $ inherit eutils @@ -25,6 +25,7 @@ src_unpack() { unpack ${A} cd ${S} epatch ${FILESDIR}/${P}-gcc3.patch || die + epatch ${FILESDIR}/${P}-server_uid.patch || die } src_compile() { diff --git a/www-servers/boa/boa-0.94.14_alpha20.ebuild b/www-servers/boa/boa-0.94.14_alpha20.ebuild new file mode 100644 index 000000000000..603ac211c2aa --- /dev/null +++ b/www-servers/boa/boa-0.94.14_alpha20.ebuild @@ -0,0 +1,92 @@ +# Copyright 1999-2004 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/www-servers/boa/boa-0.94.14_alpha20.ebuild,v 1.1 2004/10/22 14:51:00 solar Exp $ + +inherit eutils + +DESCRIPTION="Boa - A very small and very fast http daemon" +SRC_URI="http://www.boa.org/${PN}-${PV/_alpha/rc}.tar.gz" +HOMEPAGE="http://www.boa.org/" + +KEYWORDS="~x86 ~sparc ~mips ppc" +LICENSE="GPL-2" +SLOT="0" +IUSE="tetex" +S=${WORKDIR}/${PN}-${PV/_alpha/rc} +DEPEND="virtual/libc + sys-devel/flex + sys-devel/bison + sys-apps/texinfo + tetex? ( virtual/tetex )" + + +RDEPEND="virtual/libc" + +src_unpack() { + unpack ${A} + cd ${S} || die hrmm +} + +src_compile() { + econf || die "econf failed" + emake || die + cd docs + if hasq noinfo $FEATURES $RESTRICT; then + make boa.html + else + make boa.html boa.info || die + fi + # SLH - 2004/04/23 + # commented out - this doesn't appear to work, and I'm not tetex + # expert, so I don't know how to fix it + # + # use tetex && make boa.dvi +} + +src_install() { + # make prefix=${D}/usr install + dosbin src/boa || die + doman docs/boa.8 || die + dodoc docs/boa.html || die + dodoc docs/boa_banner.png || die + hasq noinfo $FEATURES $RESTRICT || doinfo docs/boa.info +# if use tetex; then +# dodoc docs/boa.dvi || die +# fi + + dodir /var/log/boa || die + dodir /var/www/localhost/htdocs || die + dodir /var/www/localhost/cgi-bin || die + dodir /var/www/localhost/icons || die + + insinto /etc/conf.d + doins ${FILESDIR}/boa.conf.d + + exeinto /usr/lib/boa + doexe src/boa_indexer || die + + exeinto /etc/init.d + newexe ${FILESDIR}/boa.rc6 boa || die + + insinto /etc/boa + insopts -m700 + insopts -m600 + doins ${FILESDIR}/boa.conf || die + doins ${FILESDIR}/mime.types || die + + # make DESTDIR=${D} install || die +} + +pkg_prerm() { + if [ "$ROOT" = "/" ] && [ -e /dev/shm/.init.d/started/boa ] ; then + /etc/init.d/boa stop + fi + return # dont fail +} + +pkg_preinst() { + if [ "$ROOT" = "/" ] && [ -e /dev/shm/.init.d/started/boa ] ; then + /etc/init.d/boa stop + fi + return # dont fail +} diff --git a/www-servers/boa/files/boa-0.94.13-server_uid.patch b/www-servers/boa/files/boa-0.94.13-server_uid.patch new file mode 100644 index 000000000000..72843344d665 --- /dev/null +++ b/www-servers/boa/files/boa-0.94.13-server_uid.patch @@ -0,0 +1,11 @@ +--- src/boa.c.orig 2004-10-21 03:28:51.000000000 +0000 ++++ src/boa.c 2004-10-21 03:30:24.000000000 +0000 +@@ -222,7 +222,7 @@ + /* test for failed-but-return-was-successful setuid + * http://www.securityportal.com/list-archive/bugtraq/2000/Jun/0101.html + */ +- if (setuid(0) != -1) { ++ if (server_uid && server_gid && setuid(0) != -1) { + DIE("icky Linux kernel bug!"); + } + } else { diff --git a/www-servers/boa/files/digest-boa-0.94.14_alpha20 b/www-servers/boa/files/digest-boa-0.94.14_alpha20 new file mode 100644 index 000000000000..e9b0a2bf2d22 --- /dev/null +++ b/www-servers/boa/files/digest-boa-0.94.14_alpha20 @@ -0,0 +1 @@ +MD5 046d1764cd8f325109da9c80c993b2ef boa-0.94.14rc20.tar.gz 200395 diff --git a/www-servers/boa/metadata.xml b/www-servers/boa/metadata.xml new file mode 100644 index 000000000000..95c06f0095bb --- /dev/null +++ b/www-servers/boa/metadata.xml @@ -0,0 +1,5 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> +<herd>web-apps</herd> +</pkgmetadata> |