+++ /dev/null
-# ChangeLog for net-www/mod_contribs
-# Copyright 2002-2004 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-www/mod_contribs/ChangeLog,v 1.15 2004/11/04 08:16:46 urilith Exp $
-
- 04 Nov 2004; Michael Tindal <urilith@gentoo.org> :
- Fix digest entries.
-
- 07 Jul 2004; Chuck Short <zul@gentoo.org> mod_contribs-1.0.8-r1.ebuild:
- Removed mod_layout and mod_random. Closes #55856.
-
- 01 Jul 2004; Jeremy Huddleston <eradicator@gentoo.org>
- mod_contribs-1.0.8-r1.ebuild:
- virtual/glibc -> virtual/libc
-
- 20 Jun 2004; Chuck Short <zul@gentoo.org> mod_contribs-1.0.8-r1.ebuild:
- Ebuild cleanup.
-
- 20 Jun 2004; Chuck Short <zul@gentoo.org> mod_contribs-1.0.8-r1.ebuild:
- Replaced CATEGORY with net-www.
-
- 20 May 2004; Chuck Short <zul@gentoo.org> mod_contribs-1.0.8-r1.ebuild:
- Fix typo in SRC_URI.
-
- 13 May 2004; Chuck Short <zul@gentoo.org> mod_contribs-1.0.8-r1.ebuild:
- Updated SRC_URI closes #50832.
-
- 04 Apr 2004; Chuck Short <zul@gentoo.org> metadata.xml,
- mod_contribs-1.0.8-r1.ebuild:
- Updated headers, added metadata.xml.
-
- 06 Dec 2002; Rodney Rees <manson@gentoo.org> : changed sparc ~sparc keywords
-
-*mod_contribs-1.0.8-r1 (4 May 2002)
-
- 14 Jul 2002; Daniel Ahlberg <aliz@gentoo.org> mod_contribs-1.0.8-r1.ebuild :
- Added KEYWORDS.
-
- 4 May 2002; Donny Davies <woodchip@gentoo.org> :
-
- Added LICENSE, SLOT, clarify the pkg_postinst message.
-
-*mod_contribs-1.0.8 (9 Apr 2002)
-
- 9 Apr 2002; Donny Davies <woodchip@gentoo.org> :
-
- New package to go along with the rewritten apache ebuild.
+++ /dev/null
------BEGIN PGP SIGNED MESSAGE-----
-Hash: SHA1
-
-MD5 24c6acab25d0665b7dce3b3d4adde941 ChangeLog 1550
-MD5 d2da0e45d7e39184d1cb7abbe3879086 metadata.xml 159
-MD5 f30d68bee06ad882e0285dba55abc798 mod_contribs-1.0.8-r1.ebuild 2796
-MD5 6fcf3919bd49f0d1de7cac8fcf5aa93f files/digest-mod_contribs-1.0.8-r1 72
------BEGIN PGP SIGNATURE-----
-Version: GnuPG v1.9.10 (GNU/Linux)
-
-iD8DBQFBirmNI1lqEGTUzyQRAumEAJ9H+xAWAzDYdR8le1arKNxIh1AnjQCfTMdf
-hKKfAdH2KS5BYdx6W+SjvIQ=
-=Kl98
------END PGP SIGNATURE-----
+++ /dev/null
-# Copyright 1999-2004 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-www/mod_contribs/mod_contribs-1.0.8-r1.ebuild,v 1.18 2004/07/06 01:01:54 zul Exp $
-
-# The mod_layout and mod_random that come in the archive are really old,
-# so I've replaced them with more current versions.
-mod_layout_ver=3.0.3
-mod_random_ver=1.4
-
-DESCRIPTION="Collection of third-party contributed modules for Apache"
-HOMEPAGE="http://www.apache.org/dist/httpd/contrib/modules/1.3/"
-S=${WORKDIR}/apache-contrib-${PV}
-SRC_URI="http://archive.apache.org/dist/httpd/contrib/modules/1.3/apache-contrib-${PV}.tar.gz"
-
-KEYWORDS="x86 sparc"
-LICENSE="Apache-1.1"
-SLOT="0"
-
-DEPEND="virtual/libc
- =net-www/apache-1*"
-RDEPEND=""
-IUSE=""
-
-MY_MODS="mod_allowdev mod_auth_system mod_disallow_id mod_lock
- mod_auth_cookie mod_bandwidth mod_eaccess mod_macro mod_roaming
- mod_auth_cookie_file mod_cache mod_fastcgi mod_peephole mod_session
- mod_auth_external mod_cgisock mod_ip_forwarding mod_put mod_ticket
- mod_auth_inst mod_cvs mod_qs2ssi mod_urlcount"
-
-src_unpack() {
- unpack ${A} ; cd ${S}
-
- # update mod_random..
- cd ${S}/mod_random
- rm -f mod_random.c
- cp ${S}/../mod_random-${mod_random_ver}/{mod_random.c,README,faq.html} .
-
- # update mod_layout..
- cd ${S}/mod_layout
- rm -f mod_layout.c
- cp ${S}/../mod_layout-${mod_layout_ver}/{*.c,*.h,README,faq.html,directives/*} .
- cp Makefile Makefile.orig
- sed -e "s%^\(SRCS\)\(.*\)%\1\2 utility.c origin.c footer.c header.c%" \
- Makefile.orig > Makefile
-
- # fix to be like others: libcache.so -> mod_cache.so
- cd ${S}/mod_cache
- cp Makefile Makefile.orig
- sed -e "s%^\(DSO\).*%\1=mod_cache.so%" Makefile.orig > Makefile
-}
-
-src_compile() {
- emake || die "compile problem"
-}
-
-src_install() {
- local i
- for i in ${MY_MODS}
- do
- if [ -f $i/$i.so ]
- then
- exeinto /usr/lib/apache-extramodules
- doexe $i/$i.so
- fi
- if [ -f $i/README ]
- then
- docinto $i
- dodoc $i/README
- fi
- if [ -f $i/00BLURB ]
- then
- docinto $i
- dodoc $i/00BLURB
- fi
- ls $i/*.html >/dev/null 2>&1
- if [ $? -eq 0 ]
- then
- dodir /usr/share/doc/${PF}/${i}/html
- cp $i/*.html ${D}/usr/share/doc/${PF}/${i}/html
- fi
- done
-}
-
-pkg_postinst() {
- einfo
- einfo "Execute \"ebuild /var/db/pkg/net-www/${PF}/${PF}.ebuild config\""
- einfo "to have your apache.conf auto-updated for use with these modules."
- einfo "You should then edit your /etc/conf.d/apache file to suit."
- einfo
-}
-
-pkg_config() {
- local i j k
- for i in ${MY_MODS}
- do
- j="`echo $i | sed -e 's%mod_\(.*\)%\1%'`"
- k="`echo $j | tr a-z A-Z`"
- ${ROOT}/usr/sbin/apacheaddmod \
- ${ROOT}/etc/apache/conf/apache.conf \
- extramodules/$i.so $i.c ${j}_module define=$k
- if [ ! $? ]
- then
- ewarn "hrmph, problem auto-updating apache.conf for $i!"
- fi
- done
- :;
-}