From 5af9f48a80e7c6f4c493c2acc739a1581f6fb551 Mon Sep 17 00:00:00 2001 From: Chuck Short Date: Wed, 12 May 2004 04:19:06 +0000 Subject: Too trigger happy. --- net-www/apache/ChangeLog | 5 +- net-www/apache/apache-1.3.31.ebuild | 233 ------------------------------ net-www/apache/files/digest-apache-1.3.31 | 2 - 3 files changed, 4 insertions(+), 236 deletions(-) delete mode 100644 net-www/apache/apache-1.3.31.ebuild delete mode 100644 net-www/apache/files/digest-apache-1.3.31 (limited to 'net-www') diff --git a/net-www/apache/ChangeLog b/net-www/apache/ChangeLog index f5a9dea87e29..6f013f39deb0 100644 --- a/net-www/apache/ChangeLog +++ b/net-www/apache/ChangeLog @@ -1,6 +1,9 @@ # ChangeLog for net-www/apache # Copyright 2002-2004 Gentoo Technologies, Inc.; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/net-www/apache/ChangeLog,v 1.152 2004/05/12 03:46:46 zul Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-www/apache/ChangeLog,v 1.153 2004/05/12 04:19:06 zul Exp $ + + 12 May 2004; Chuck Short apache-1.3.31.ebuild: + To trigger happy. removed. *apache-1.3.31 (12 May 2004) diff --git a/net-www/apache/apache-1.3.31.ebuild b/net-www/apache/apache-1.3.31.ebuild deleted file mode 100644 index f8c5b52d96d8..000000000000 --- a/net-www/apache/apache-1.3.31.ebuild +++ /dev/null @@ -1,233 +0,0 @@ -# Copyright 1999-2004 Gentoo Technologies, Inc. -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/net-www/apache/apache-1.3.31.ebuild,v 1.1 2004/05/12 03:46:46 zul Exp $ - -inherit eutils fixheadtails - -IUSE="pam" - -mod_ssl_ver=2.8.17 - -S=${WORKDIR}/${PN}_${PV} -DESCRIPTION="The Apache Web Server" -HOMEPAGE="http://www.apache.org http://www.modssl.org" -KEYWORDS="~x86 ~ppc ~sparc ~alpha ~hppa ~amd64 ~ia64 ~mips" -SRC_URI="http://www.apache.org/dist/httpd/apache_${PV}.tar.gz - ftp://ftp.modssl.org/source/mod_ssl-${mod_ssl_ver}-${PV}.tar.gz" - -# The mod_ssl archive is only for providing the EAPI patch in here. -# You should install the net-www/mod_ssl package for the actual DSO. - -DEPEND="dev-lang/perl =dev-libs/mm-1.1.3 - >=sys-libs/gdbm-1.8 - >=dev-libs/expat-1.95.2 - >=sys-apps/sed-4 - sys-libs/db" -LICENSE="Apache-2.0" -SLOT="1" - -#Standard location for Gentoo Linux -DATADIR="/var/www/localhost" - -src_unpack() { - local myssl - unpack ${A} || die - cd ${S} || die - - epatch ${FILESDIR}/patches/${PV}/00_gentoo_base.patch - epatch ${FILESDIR}/patches/${PV}/00_gentoo_db4_detect.patch - epatch ${FILESDIR}/patches/${PV}/00_gentoo_apachectl.patch - - if use pam ; then - epatch ${FILESDIR}/patches/${PV}/00_gentoo_suexec_pam.patch - fi - - #Obsolete 'head -1' and 'tail -1' calls. - ht_fix_file src/Configure src/helpers/getuid.sh - - # setup eapi... - myssl=${WORKDIR}/mod_ssl-${mod_ssl_ver}-${PV} - cp ${myssl}/pkg.eapi/*.h src/include - cp ${myssl}/pkg.eapi/*.c src/ap - epatch ${myssl}/pkg.eapi/eapi.patch || die "eapi" - - # set a reasonable MM_CORE_PATH location.. - sed -i -e 's:logs/mm:/var/cache/apache-mm/mm:' \ - src/include/httpd.h -} - -src_compile() { - local myconf mycflags - mycflags="${CFLAGS}" - unset CFLAGS ; unset CXXFLAGS - - select_modules_config || die "determining modules" - - #-DBUFFERED_LOGS - OPTIM="${mycflags} -DHARD_SERVER_LIMIT=${HARD_SERVER_LIMIT:=512} \ - -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64" \ - LIBS="-lgdbm -lpthread" \ - EAPI_MM=SYSTEM \ - ./configure \ - --prefix=/usr \ - --exec-prefix=/usr \ - --bindir=/usr/bin \ - --sbindir=/usr/sbin \ - --libexecdir=/usr/lib/apache \ - --mandir=/usr/share/man \ - --sysconfdir=/etc/apache/conf \ - --datadir=${DATADIR} \ - --cgidir=${DATADIR}/cgi-bin \ - --iconsdir=${DATADIR}/icons \ - --htdocsdir=${DATADIR}/htdocs \ - --manualdir=/usr/share/doc/${PF}/manual \ - --includedir=/usr/include/apache \ - --localstatedir=/var \ - --runtimedir=/var/run \ - --logfiledir=/var/log/apache \ - --proxycachedir=/var/cache/apache \ - --serverroot=/etc/apache \ - --target=apache \ - --server-uid=apache \ - --server-gid=apache \ - --with-perl=/usr/bin/perl \ - ${MY_BUILTINS} \ - --enable-suexec \ - --suexec-uidmin=1000 \ - --suexec-gidmin=100 \ - --suexec-caller=apache \ - --suexec-userdir=public_html \ - --suexec-docroot=/var/www \ - --suexec-safepath="/bin:/usr/bin" \ - --suexec-logfile=/var/log/apache/suexec_log \ - \ - ${myconf} || die "bad ./configure" - - emake || die "compile problem" -} - -src_install() { - local myfile - - GID=`id -g apache` - if [ -z "${GID}" ]; then - einfo "Using default GID of 81 for Apache" - GID=81 - fi - - make install-quiet root=${D} || die - dodoc ABOUT_APACHE Announcement INSTALL* LICENSE* README* WARNING* \ - ${FILESDIR}/robots.txt - - #protect the suexec binary - fowners root:${GID} /usr/sbin/suexec - fperms 4710 /usr/sbin/suexec - - # nice support scripts.. - for myfile in apacheaddmod apachedelmod \ - apachelogserverstatus apachesplitlogfile - do - exeinto /usr/sbin - doexe ${FILESDIR}/$myfile - done - - # setup links in /etc/apache.. - cd ${D}/etc/apache - ln -sf ../../usr/lib/apache modules - # apxs needs this to pickup the right lib for install.. - ln -sf ../../usr/lib lib - ln -sf ../../var/log/apache logs - ln -sf ../../usr/lib/apache-extramodules extramodules - - # drop in a convenient link to the manual - dosym /usr/share/doc/${PF}/manual ${DATADIR}/htdocs/manual - - # deprecated config files, empty dirs.. - rm -f ${D}/etc/apache/conf/apache.conf.default - rm -f ${D}/etc/apache/conf/access.conf* - rm -f ${D}/etc/apache/conf/srm.conf* - - # now the config files.. - insinto /etc/apache/conf - doins ${FILESDIR}/conf/commonapache.conf - doins ${FILESDIR}/conf/apache.conf - - # Added by Jason Wever - # A little sedfu to fix bug #7172 for sparc64s - if [ ${ARCH} = "sparc" ] - then - sed -i -e '15a\AcceptMutex fcntl' \ - ${D}/etc/apache/conf/apache.conf - fi - - insinto /etc/apache/conf/vhosts - doins ${FILESDIR}/conf/VirtualHomePages.conf - doins ${FILESDIR}/conf/DynamicVhosts.conf - doins ${FILESDIR}/conf/Vhosts.conf - - exeinto /etc/init.d ; newexe ${FILESDIR}/apache.rc6 apache - insinto /etc/conf.d ; newins ${FILESDIR}/apache.confd apache - insinto /etc/apache ; doins ${FILESDIR}/apache-builtin-mods - - if use pam; then - insinto /etc/pam.d ; newins ${FILESDIR}/suexec.pam suexec - fi - - #empty dirs - keepdir /var/cache/apache /var/cache/apache-mm /usr/lib/apache-extramodules /etc/apache/conf/addon-modules /var/log/apache -} - -pkg_postinst() { - # these are in baselayout now; it will not hurt to leave them here though - # moved to pkg_postinst by jnelson, moved to pkg_preinst by lostlogic - getent group apache >/dev/null 2>&1 - if [ $? -ne 0 ]; then - groupadd -g 81 apache || die "problem adding group apache" - fi - - # usermod returns 2 on user-exists-but-no-flags-given - #usermod apache &>/dev/null - #if [ $? != 2 ]; then - getent passwd apache >/dev/null 2>&1 - if [ $? -ne 0 ]; then - useradd -u 81 -g apache -s /bin/false -d /var/www/localhost -c "apache" apache - assert "problem adding user apache" - fi - - einfo - einfo "Please remember to update your config files in /etc/apache" - einfo "as --datadir has been changed to ${DATADIR}!" - einfo -} - -parse_modules_config() { - local filename=$1 - local name="" - local dso="" - local disable="" - [ -f ${filename} ] || return 1 - einfo "Using ${filename} for builtins." - for i in `cat $filename | sed "s/^#.*//"` ; do - if [ $i == "-" ] ; then - disable="true" - elif [ -z "$name" ] && [ ! -z "`echo $i | grep "mod_"`" ] ; then - name=`echo $i | sed "s/mod_//"` - elif [ "$disable" ] && ( [ $i == "static" ] || [ $i == "shared" ] ) ; then - MY_BUILTINS="${MY_BUILTINS} --disable-module=$name" - name="" ; disable="" - elif [ $i == "static" ] ; then - MY_BUILTINS="${MY_BUILTINS} --enable-module=$name --disable-shared=$name" - name="" ; disable="" - elif [ $i == "shared" ] ; then - MY_BUILTINS="${MY_BUILTINS} --enable-module=$name --enable-shared=$name" - name="" ; disable="" - fi - done -} - -select_modules_config() { - parse_modules_config /etc/apache/apache-builtin-mods || \ - parse_modules_config ${FILESDIR}/apache-builtin-mods || \ - return 1 -} diff --git a/net-www/apache/files/digest-apache-1.3.31 b/net-www/apache/files/digest-apache-1.3.31 deleted file mode 100644 index badf7fc8ca5e..000000000000 --- a/net-www/apache/files/digest-apache-1.3.31 +++ /dev/null @@ -1,2 +0,0 @@ -MD5 bd548a06ac48dda496b4e613572bb020 apache_1.3.31.tar.gz 2467371 -MD5 6c3f726b336f497793567591717d2a6b mod_ssl-2.8.17-1.3.31.tar.gz 754472 -- cgit v1.2.3-65-gdbad