add mozldap to apache

git-svn-id: https://svn.disconnected-by-peer.at/svn/linamh/trunk/linamh@183 6952d904-891a-0410-993b-d76249ca496b
This commit is contained in:
geos_one 2007-10-05 21:57:19 +00:00
parent 727d6b34cb
commit 8300a29639
15 changed files with 3387 additions and 0 deletions

View File

@ -0,0 +1,27 @@
AUX apr-util-1.2.10-mozldap60-2.patch 4251 RMD160 028fbcf18b297c3abe529a7bce3ce6d86a7ae3b3 SHA1 de83bf6464f4d3faf73ced0903c9acf400238608 SHA256 b4aac7d935a83690c70445d4bb2b8283b4af30706e492e6c14aacccaa21ae44e
MD5 30dde1357124332b35df0cd2494f83d4 files/apr-util-1.2.10-mozldap60-2.patch 4251
RMD160 028fbcf18b297c3abe529a7bce3ce6d86a7ae3b3 files/apr-util-1.2.10-mozldap60-2.patch 4251
SHA256 b4aac7d935a83690c70445d4bb2b8283b4af30706e492e6c14aacccaa21ae44e files/apr-util-1.2.10-mozldap60-2.patch 4251
AUX apr-util-1.2.8-mozldap60-1.patch 1141 RMD160 40f3e0f1e3ce1a20838e3810689a3e123dfa3032 SHA1 de18b668862129214e8a101c0ea006398b35fb56 SHA256 2687ad2ed39dadc288d205de8152369bdf59696fb0403b8b0e084559581004ee
MD5 1b69c0ee68c2f100dc9b77a5549c8079 files/apr-util-1.2.8-mozldap60-1.patch 1141
RMD160 40f3e0f1e3ce1a20838e3810689a3e123dfa3032 files/apr-util-1.2.8-mozldap60-1.patch 1141
SHA256 2687ad2ed39dadc288d205de8152369bdf59696fb0403b8b0e084559581004ee files/apr-util-1.2.8-mozldap60-1.patch 1141
DIST apr-1.2.11.tar.gz 1114033 RMD160 8b1c1831cd8281de17f41f84ffc5cfd9b6c35553 SHA1 bde2c8b6e477752bcac4f387ac0de9671cd15d1a SHA256 fc7a14e8ded002c252cf5f3ccce6cd5636f01a85986188e373f9343a174c42ff
DIST apr-1.2.8.tar.gz 1107189 RMD160 299e1ddb1f7c9b0169a410e120c30abea38557c5 SHA1 b8c89bab084d1bae1cb15d7b9d5f40d03dfe2c4a SHA256 96e31f0ea2e028f372d5fdbbd4f88f31d59e14eda85cd12153183759f8e221c7
DIST apr-util-1.2.10.tar.gz 654083 RMD160 6d577b04a4d75efcb40e132fddf15faede7b29c1 SHA1 9e136a5492313a0eb3c50154a25da2c99dcabb1b SHA256 8761fec487ff98e7b9d965864125d0468a3d4adf2c91a44834faff3c693e6f47
DIST apr-util-1.2.8.tar.gz 646379 RMD160 00b10ef0aab26f3ea5d374e2400c1dba566a9020 SHA1 49260d98b863756974bd83cd28bc39338d4f3a82 SHA256 6527cb0b3dd619acfca668412e84e52860dfd862054246ca903822d5ea824de6
DIST apr_dbd_mysql-r84.c 49110 RMD160 9d665f2e964b09f58b182829563a203f59e16640 SHA1 04c82a4dda00bbeaddc713b29dae826562fc0db6 SHA256 79893740a58c96fba6e04f800e950ec42d8128e034056ff8a5770e0d3acc4919
EBUILD apr-util-1.2.10-r99.ebuild 3070 RMD160 34451dfa4838d9434a2f682b58bd4b2fa3a9a94b SHA1 7643c830b012872dc315be6d5daadcbf86067f18 SHA256 3a6b89e665dd1fba7f444698867a082f02bf3da9db89383dd1c9cfbfd9a13a95
MD5 b73dcab0779844fbe5928b0c76a8c22f apr-util-1.2.10-r99.ebuild 3070
RMD160 34451dfa4838d9434a2f682b58bd4b2fa3a9a94b apr-util-1.2.10-r99.ebuild 3070
SHA256 3a6b89e665dd1fba7f444698867a082f02bf3da9db89383dd1c9cfbfd9a13a95 apr-util-1.2.10-r99.ebuild 3070
EBUILD apr-util-1.2.8-r99.ebuild 2390 RMD160 9bde7988e3a1de338050948518cf3987504e2bd6 SHA1 a26ed400b3f131b360e6bc91125bd3f078590fea SHA256 3159e97ff85978446dba74848ac7b85a477586ec1fc78a8da977eede653e2221
MD5 a16a127e1f4d4de3534c852a7e8da474 apr-util-1.2.8-r99.ebuild 2390
RMD160 9bde7988e3a1de338050948518cf3987504e2bd6 apr-util-1.2.8-r99.ebuild 2390
SHA256 3159e97ff85978446dba74848ac7b85a477586ec1fc78a8da977eede653e2221 apr-util-1.2.8-r99.ebuild 2390
MD5 f67aba6d96594bf1faa4b5ff8f45aa29 files/digest-apr-util-1.2.10-r99 717
RMD160 9d96fa70dd8c8cb92149a713d0f790ca2b03b156 files/digest-apr-util-1.2.10-r99 717
SHA256 b10027b2194f7bdbd55d5acf3199840ed09da8dad35100d36fbe1664b8d9cede files/digest-apr-util-1.2.10-r99 717
MD5 a370b4eedd72b270820f53bdaad70cd7 files/digest-apr-util-1.2.8-r99 711
RMD160 307be2c9b20be5df35eb35bdd0a9de35ead82a88 files/digest-apr-util-1.2.8-r99 711
SHA256 9a4af4640885ebd660f0ba90f3b00c03b7c7ec7fc2adc44e95d803e9868bcf09 files/digest-apr-util-1.2.8-r99 711

View File

@ -0,0 +1,110 @@
# Copyright 1999-2007 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-libs/apr-util/apr-util-1.2.10.ebuild,v 1.2 2007/09/09 07:14:48 hollow Exp $
inherit autotools eutils flag-o-matic libtool db-use
DBD_MYSQL=84
APR_PV=1.2.11
DESCRIPTION="Apache Portable Runtime Library"
HOMEPAGE="http://apr.apache.org/"
SRC_URI="mirror://apache/apr/${P}.tar.gz
mirror://apache/apr/apr-${APR_PV}.tar.gz
mysql? ( mirror://gentoo/apr_dbd_mysql-r${DBD_MYSQL}.c )"
LICENSE="Apache-2.0"
SLOT="1"
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~sparc-fbsd ~x86 ~x86-fbsd"
IUSE="berkdb doc gdbm ldap mozldap mysql postgres sqlite sqlite3"
RESTRICT="test"
DEPEND="dev-libs/expat
>=dev-libs/apr-${PV}
berkdb? ( =sys-libs/db-4* )
doc? ( app-doc/doxygen )
gdbm? ( sys-libs/gdbm )
ldap? ( =net-nds/openldap-2* )
mozldap? ( =dev-libs/mozldap-6*
=dev-libs/nspr-4*
=dev-libs/nss-3* )
mysql? ( =virtual/mysql-5* )
postgres? ( dev-db/libpq )
sqlite? ( =dev-db/sqlite-2* )
sqlite3? ( =dev-db/sqlite-3* )"
pkg_setup() {
if use ldap && use mozldap ; then
eerror "you cant activate ldap & mozldap at the same time "
eerror "plz deactivate \"dev-libs/apr-util -ldap mozldap\" one in"
eerror "\"etc/portage/package.use\" ;p"
die "ldap and mozldap USE conflict"
fi
}
src_unpack() {
unpack ${A}
cd "${S}"
epatch "${FILESDIR}"/"${P}"-mozldap60-2.patch
if use mysql ; then
cp "${DISTDIR}"/apr_dbd_mysql-r${DBD_MYSQL}.c \
"${S}"/dbd/apr_dbd_mysql.c || die "could not copy mysql driver"
fi
./buildconf --with-apr=../apr-${APR_PV} || die "buildconf failed"
elibtoolize || die "elibtoolize failed"
}
src_compile() {
local myconf=""
use ldap && myconf="${myconf} --with-ldap"
use mozldap && myconf="${myconf} --with-ldap \
--with-ldap-include=/usr/include/mozldap/ \
--with-ldap-lib=/usr/$(get_libdir)/mozldap/ \
--with-nss-lib=/usr/$(get_libdir)/nss/ \
--with-nspr-lib=/usr/$(get_libdir)/nspr"
if use berkdb; then
dbver="$(db_findver sys-libs/db)" || die "Unable to find db version"
dbver="$(db_ver_to_slot "$dbver")"
dbver="${dbver/\./}"
myconf="${myconf} --with-dbm=db${dbver}
--with-berkeley-db=$(db_includedir):/usr/$(get_libdir)"
else
myconf="${myconf} --without-berkeley-db"
fi
econf --datadir=/usr/share/apr-util-1 \
--with-apr=/usr \
--with-expat=/usr \
$(use_with gdbm) \
$(use_with mysql) \
$(use_with postgres pgsql) \
$(use_with sqlite sqlite2) \
$(use_with sqlite3) \
${myconf} || die "econf failed!"
emake || die "emake failed!"
if use doc; then
emake dox || die "make dox failed"
fi
}
src_install() {
make DESTDIR="${D}" install || die "make install failed"
dodoc CHANGES NOTICE
if use doc; then
dohtml docs/dox/html/* || die
fi
# This file is only used on AIX systems, which gentoo is not,
# and causes collisions between the SLOTs, so kill it
rm "${D}"/usr/$(get_libdir)/aprutil.exp
}

View File

@ -0,0 +1,86 @@
# Copyright 1999-2007 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-libs/apr-util/apr-util-1.2.8-r1.ebuild,v 1.3 2007/07/31 10:35:02 phreak Exp $
inherit autotools eutils flag-o-matic libtool db-use
DBD_MYSQL=84
DESCRIPTION="Apache Portable Runtime Library"
HOMEPAGE="http://apr.apache.org/"
SRC_URI="mirror://apache/apr/${P}.tar.gz
mirror://apache/apr/apr-${PV}.tar.gz
mysql? ( mirror://gentoo/apr_dbd_mysql-r${DBD_MYSQL}.c )"
LICENSE="Apache-2.0"
SLOT="1"
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~sparc-fbsd ~x86 ~x86-fbsd"
IUSE="berkdb gdbm ldap mysql postgres sqlite sqlite3 mozldap"
RESTRICT="test"
DEPEND="dev-libs/expat
>=dev-libs/apr-${PV}
berkdb? ( =sys-libs/db-4* )
gdbm? ( sys-libs/gdbm )
ldap? ( =net-nds/openldap-2* )
mysql? ( =virtual/mysql-5* )
postgres? ( dev-db/libpq )
sqlite? ( =dev-db/sqlite-2* )
sqlite3? ( =dev-db/sqlite-3* )"
src_unpack() {
unpack ${A}
cd "${S}"
if use mozldap ; then
epatch "${FILESDIR}"/"${P}"-mozldap60-1.patch
fi
if use mysql ; then
cp "${DISTDIR}"/apr_dbd_mysql-r${DBD_MYSQL}.c \
"${S}"/dbd/apr_dbd_mysql.c || die "could not copy mysql driver"
fi
./buildconf --with-apr=../apr-${PV} || die "buildconf failed"
elibtoolize || die "elibtoolize failed"
}
src_compile() {
local myconf=""
use ldap && myconf="${myconf} --with-ldap"
use mozldap && myconf="${myconf} --with-ldap-include=/usr/include/mozldap --with-ldap-lib=/usr/$(get_libdir)/mozldap"
if use berkdb; then
dbver="$(db_findver sys-libs/db)" || die "Unable to find db version"
dbver="$(db_ver_to_slot "$dbver")"
dbver="${dbver/\./}"
myconf="${myconf} --with-dbm=db${dbver}
--with-berkeley-db=$(db_includedir):/usr/$(get_libdir)"
else
myconf="${myconf} --without-berkeley-db"
fi
econf --datadir=/usr/share/apr-util-1 \
--with-apr=/usr \
--with-expat=/usr \
$(use_with gdbm) \
$(use_with mysql) \
$(use_with postgres pgsql) \
$(use_with sqlite sqlite2) \
$(use_with sqlite3) \
${myconf} || die "econf failed!"
emake || die "emake failed!"
}
src_install() {
make DESTDIR="${D}" install || die "make install failed"
dodoc CHANGES NOTICE
# This file is only used on AIX systems, which gentoo is not,
# and causes collisions between the SLOTs, so kill it
rm "${D}"/usr/$(get_libdir)/aprutil.exp
}

View File

@ -0,0 +1,128 @@
Submitted By: Mario Fetka (mario-fetka at gmx dot at)
Date: 2007-10-05
Initial Package Version: 1.2.10
Origin: me
Upstream Status: unknown
Description: apr-util dont want to find mozldap60 this patch corrects it
also check if ber_init is present in libldap60
--- apr-util-1.2.10.orig/build/apu-conf.m4 2007-06-07 11:38:53.000000000 +0200
+++ apr-util-1.2.10/build/apu-conf.m4 2007-10-05 22:37:42.000000000 +0200
@@ -198,6 +198,44 @@
])
+dnl
+dnl Find a particular LBER library
+dnl
+AC_DEFUN([APU_FIND_LBERLIB], [
+ if test ${apu_has_lber} != "1"; then
+ lberlib=$1
+ extralib=$2
+ unset ac_cv_lib_${lberlib}_ber_init
+ unset ac_cv_lib_${lberlib}___ber_init
+ AC_CHECK_LIB(${lberlib}, ber_init,
+ [
+ APR_ADDTO(APRUTIL_EXPORT_LIBS,[-l${lberlib} ${extralib}])
+ APR_ADDTO(APRUTIL_LIBS,[-l${ldaplib} ${extralib}])
+ apu_has_lber="1";
+ ], , ${extralib})
+ fi
+])
+
+
+dnl
+dnl Find a particular LBER library
+dnl
+AC_DEFUN([APU_FIND_LBERLIB], [
+ if test ${apu_has_lber} != "1"; then
+ lberlib=$1
+ extralib=$2
+ unset ac_cv_lib_${lberlib}_ber_init
+ unset ac_cv_lib_${lberlib}___ber_init
+ AC_CHECK_LIB(${lberlib}, ber_init,
+ [
+ APR_ADDTO(APRUTIL_EXPORT_LIBS,[-l${lberlib} ${extralib}])
+ APR_ADDTO(APRUTIL_LIBS,[-l${ldaplib} ${extralib}])
+ apu_has_lber="1";
+ ], , ${extralib})
+ fi
+])
+
+
dnl
dnl APU_FIND_LDAP: figure out where LDAP is located
dnl
@@ -206,6 +244,7 @@
echo $ac_n "${nl}checking for ldap support..."
apu_has_ldap="0";
+apu_has_lber="0";
apu_has_ldapssl_client_init="0"
apu_has_ldapssl_client_deinit="0"
apu_has_ldapssl_add_trusted_cert="0"
@@ -221,6 +260,8 @@
apu_has_ldap_mozilla="0"
apu_has_ldap_other="0"
+AC_ARG_WITH(nss-lib,[ --with-nss-lib=path path to Mozilla nss lib file])
+AC_ARG_WITH(nspr-lib,[ --with-nspr-lib=path path to Moilla nspr lib file])
AC_ARG_WITH(ldap-include,[ --with-ldap-include=path path to ldap include files with trailing slash])
AC_ARG_WITH(ldap-lib,[ --with-ldap-lib=path path to ldap lib file])
AC_ARG_WITH(ldap,[ --with-ldap=library ldap library to use],
@@ -237,9 +278,20 @@
APR_ADDTO(APRUTIL_LDFLAGS, [-L$with_ldap_lib])
fi
+ if test -n "$with_nss_lib"; then
+ LDFLAGS="$LDFLAGS -L$with_nss_lib"
+ APR_ADDTO(APRUTIL_LDFLAGS, [-L$with_nss_lib])
+ fi
+
+ if test -n "$with_nspr_lib"; then
+ LDFLAGS="$LDFLAGS -L$with_nspr_lib"
+ APR_ADDTO(APRUTIL_LDFLAGS, [-L$with_nspr_lib])
+ fi
+
LIBLDAP="$withval"
if test "$LIBLDAP" = "yes"; then
dnl The iPlanet C SDK 5.0 is as yet untested...
+ APU_FIND_LDAPLIB("ldap60", "-lnspr4 -lplc4 -lplds4 -liutil60 -llber60 -lldif60 -lnss3 -lprldap60 -lssl3 -lssldap60")
APU_FIND_LDAPLIB("ldap50", "-lnspr4 -lplc4 -lplds4 -liutil50 -llber50 -lldif50 -lnss3 -lprldap50 -lssl3 -lssldap50")
APU_FIND_LDAPLIB("ldapssl41", "-lnspr3 -lplc3 -lplds3")
APU_FIND_LDAPLIB("ldapssl40")
@@ -259,7 +311,11 @@
fi
test ${apu_has_ldap} != "1" && AC_MSG_ERROR(could not find an LDAP library)
- AC_CHECK_LIB(lber, ber_init)
+
+ echo $ac_n "${nl}checking for lber support..."
+
+ APU_FIND_LBERLIB("ldap60", "-lnspr4 -lplc4 -lplds4 -liutil60 -llber60 -lldif60 -lnss3 -lprldap60 -lssl3 -lssldap60")
+ APU_FIND_LBERLIB("lber")
AC_CHECK_HEADERS(lber.h, lber_h=["#include <lber.h>"])
@@ -278,7 +334,20 @@
AC_DEFINE([HAVE_LDAP_H], 1, [Defined if ldap.h is present])
fi
- AC_CHECK_HEADERS(ldap_ssl.h, ldap_ssl_h=["#include <ldap_ssl.h>"])
+ # Mozilla has a problem in <ldap_ssl.h> which prevents it from
+ # being included by itself. Check for <ldap_ssl.h> manually,
+ # including ldap.h first.
+ AC_CACHE_CHECK([for ldap_ssl.h], [apr_cv_hdr_ldap_ssl_h],
+ [AC_TRY_CPP(
+ [#ifdef HAVE_LDAP_H
+ #include <ldap.h>
+ #endif
+ #include <ldap_ssl.h>
+ ], [apr_cv_hdr_ldap_ssl_h=yes], [apr_cv_hdr_ldap_ssl_h=no])])
+ if test "$apr_cv_hdr_ldap_ssl_h" = "yes"; then
+ ldap_ssl_h=["#include <ldap_ssl.h>"]
+ AC_DEFINE([HAVE_LDAP_SSL_H], 1, [Defined if ldap_ssl.h is present])
+ fi
if test "$apr_cv_hdr_ldap_h" = "yes"; then
AC_CACHE_CHECK([for LDAP toolkit],

View File

@ -0,0 +1,27 @@
Submitted By: Mario Fetka (mario-fetka at gmx dot at)
Date: 2007-08-20
Initial Package Version: 1.2.8
Origin: me
Upstream Status: unknown
Description: This patch adds support for mozldap (its a hack)
diff -Naur apr-util-1.2.8.orig/build/apu-conf.m4 apr-util-1.2.8/build/apu-conf.m4
--- apr-util-1.2.8.orig/build/apu-conf.m4 2007-08-20 18:22:08.000000000 +0000
+++ apr-util-1.2.8/build/apu-conf.m4 2007-08-20 19:44:42.000000000 +0000
@@ -296,6 +296,7 @@
LIBLDAP="$withval"
if test "$LIBLDAP" = "yes"; then
dnl The iPlanet C SDK 5.0 is as yet untested...
+ APU_FIND_LDAPLIB("ldap60", "-lnspr4 -lplc4 -lplds4 -lldif60 -lnss3 -lprldap60 -lssl3 -lssldap60")
APU_FIND_LDAPLIB("ldap50", "-lnspr4 -lplc4 -lplds4 -liutil50 -llber50 -lldif50 -lnss3 -lprldap50 -lssl3 -lssldap50")
APU_FIND_LDAPLIB("ldapssl41", "-lnspr3 -lplc3 -lplds3")
APU_FIND_LDAPLIB("ldapssl40")
@@ -315,7 +316,7 @@
fi
test ${apu_has_ldap} != "1" && AC_MSG_ERROR(could not find an LDAP library)
- AC_CHECK_LIB(lber, ber_init)
+ AC_CHECK_LIB(ldap60, ber_init)
AC_CHECK_HEADERS(lber.h, lber_h=["#include <lber.h>"])

View File

@ -0,0 +1,9 @@
MD5 afcf9541dc31551abeb6c53bb42c2596 apr-1.2.11.tar.gz 1114033
RMD160 8b1c1831cd8281de17f41f84ffc5cfd9b6c35553 apr-1.2.11.tar.gz 1114033
SHA256 fc7a14e8ded002c252cf5f3ccce6cd5636f01a85986188e373f9343a174c42ff apr-1.2.11.tar.gz 1114033
MD5 7558fba2ce6eade83cf28a7164a981fa apr-util-1.2.10.tar.gz 654083
RMD160 6d577b04a4d75efcb40e132fddf15faede7b29c1 apr-util-1.2.10.tar.gz 654083
SHA256 8761fec487ff98e7b9d965864125d0468a3d4adf2c91a44834faff3c693e6f47 apr-util-1.2.10.tar.gz 654083
MD5 a9914273d9f27b3c1fbf9bb50e10627f apr_dbd_mysql-r84.c 49110
RMD160 9d665f2e964b09f58b182829563a203f59e16640 apr_dbd_mysql-r84.c 49110
SHA256 79893740a58c96fba6e04f800e950ec42d8128e034056ff8a5770e0d3acc4919 apr_dbd_mysql-r84.c 49110

View File

@ -0,0 +1,9 @@
MD5 814f19528d9cfc79aef188dd752e04d8 apr-1.2.8.tar.gz 1107189
RMD160 299e1ddb1f7c9b0169a410e120c30abea38557c5 apr-1.2.8.tar.gz 1107189
SHA256 96e31f0ea2e028f372d5fdbbd4f88f31d59e14eda85cd12153183759f8e221c7 apr-1.2.8.tar.gz 1107189
MD5 a2e2e54d65e9eae961f7171335cf2550 apr-util-1.2.8.tar.gz 646379
RMD160 00b10ef0aab26f3ea5d374e2400c1dba566a9020 apr-util-1.2.8.tar.gz 646379
SHA256 6527cb0b3dd619acfca668412e84e52860dfd862054246ca903822d5ea824de6 apr-util-1.2.8.tar.gz 646379
MD5 a9914273d9f27b3c1fbf9bb50e10627f apr_dbd_mysql-r84.c 49110
RMD160 9d665f2e964b09f58b182829563a203f59e16640 apr_dbd_mysql-r84.c 49110
SHA256 79893740a58c96fba6e04f800e950ec42d8128e034056ff8a5770e0d3acc4919 apr_dbd_mysql-r84.c 49110

View File

@ -0,0 +1,8 @@
DIST uncrustify-0.38.tgz 638886 RMD160 e8919539debe73cd37e28c3cddac1dc8af0e3eb5 SHA1 f3c85e275e5e148f1e989fad8c246ad9eb993a08 SHA256 d4558c80d1a103b634970f2d7380e88220d3f02e0f60b1ccd47fa121167a1b54
EBUILD uncrustify-0.38.ebuild 435 RMD160 4688f9fa34ccdc4244638f7f7d066c8d019013cc SHA1 7a2b2ab444c61dbea7cc32ec8ad2a1399a861cb7 SHA256 6105fa3514ddcdf656022bb9bcb6efe6a6ddd285bcc3657ef1827885af4daf76
MD5 6f39b8732f57a8510d71f41b344c2d10 uncrustify-0.38.ebuild 435
RMD160 4688f9fa34ccdc4244638f7f7d066c8d019013cc uncrustify-0.38.ebuild 435
SHA256 6105fa3514ddcdf656022bb9bcb6efe6a6ddd285bcc3657ef1827885af4daf76 uncrustify-0.38.ebuild 435
MD5 97a1717e2e389d0675cd6e5d0d250bb0 files/digest-uncrustify-0.38 238
RMD160 19b4b80c911c5509e15e4f3aeeae054f23e8784e files/digest-uncrustify-0.38 238
SHA256 f6f3485efd4babc69d39cba44d1db708dcc553535cc66b6b59e47b63d175c041 files/digest-uncrustify-0.38 238

View File

@ -0,0 +1,3 @@
MD5 46760f72e34d7f502e309ce709be5771 uncrustify-0.38.tgz 638886
RMD160 e8919539debe73cd37e28c3cddac1dc8af0e3eb5 uncrustify-0.38.tgz 638886
SHA256 d4558c80d1a103b634970f2d7380e88220d3f02e0f60b1ccd47fa121167a1b54 uncrustify-0.38.tgz 638886

View File

@ -0,0 +1,20 @@
# Copyright 1999-2007 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $
DESCRIPTION="Source Code Beautifier for C, C++, C#, D, Java, and Pawn"
SRC_URI="mirror://sourceforge/${PN}/${P}.tgz"
HOMEPAGE="http://uncrustify.sourceforge.net/"
SLOT="0"
LICENSE="GPL-2"
KEYWORDS="~x86 -ppc -sparc -alpha"
IUSE=""
#src_compile() {
# make || die
#}
src_install() {
emake DESTDIR=${D} install
}

2384
eclass/toolchain-llvm.eclass Normal file

File diff suppressed because it is too large Load Diff

View File

@ -0,0 +1,64 @@
# Copyright 1999-2007 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/sys-devel/gcc/gcc-4.2.0.ebuild,v 1.10 2007/08/01 09:11:50 uberlord Exp $
PATCH_VER="1.4"
UCLIBC_VER="1.0"
ETYPE="gcc-compiler"
# whether we should split out specs files for multiple {PIE,SSP}-by-default
# and vanilla configurations.
SPLIT_SPECS=no #${SPLIT_SPECS-true} hard disable until #106690 is fixed
inherit toolchain
DESCRIPTION="The GNU Compiler Collection. Includes C/C++, java compilers, pie+ssp extensions, Haj Ten Brugge runtime bounds checking"
LICENSE="GPL-2 LGPL-2.1"
KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ~ppc -ppc64 ~sparc ~sparc-fbsd ~x86 ~x86-fbsd" #ppc64: 179218
RDEPEND=">=sys-libs/zlib-1.1.4
|| ( >=sys-devel/gcc-config-1.3.12-r4 app-admin/eselect-compiler )
virtual/libiconv
fortran? (
>=dev-libs/gmp-4.2.1
>=dev-libs/mpfr-2.2.0_p10
)
!build? (
gcj? (
gtk? (
x11-libs/libXt
x11-libs/libX11
x11-libs/libXtst
x11-proto/xproto
x11-proto/xextproto
>=x11-libs/gtk+-2.2
x11-libs/pango
)
>=media-libs/libart_lgpl-2.1
)
>=sys-libs/ncurses-5.2-r2
nls? ( sys-devel/gettext )
)"
DEPEND="${RDEPEND}
test? ( sys-devel/autogen dev-util/dejagnu )
>=sys-apps/texinfo-4.2-r4
>=sys-devel/bison-1.875
ppc? ( >=${CATEGORY}/binutils-2.17 )
ppc64? ( >=${CATEGORY}/binutils-2.17 )
>=${CATEGORY}/binutils-2.15.94"
PDEPEND="|| ( sys-devel/gcc-config app-admin/eselect-compiler )"
if [[ ${CATEGORY} != cross-* ]] ; then
PDEPEND="${PDEPEND} elibc_glibc? ( >=sys-libs/glibc-2.3.6 )"
fi
src_unpack() {
gcc_src_unpack
use vanilla && return 0
[[ ${CHOST} == ${CTARGET} ]] && epatch "${FILESDIR}"/gcc-spec-env.patch
[[ ${CTARGET} == *-softfloat-* ]] && epatch "${FILESDIR}"/4.0.2/gcc-4.0.2-softfloat.patch
}

View File

@ -0,0 +1,9 @@
DIST gentoo-apache-2.2.6-r2-20070921.tar.bz2 58051 RMD160 d6450408d593afb0a3247825d9a554020c65a5bb SHA1 4ffa164d3c0b290988ac3e86dab53ab0691ed502 SHA256 a9331b23034547ed3ff684a5c21af6d754f785935c56b148d448392320937132
DIST httpd-2.2.6.tar.bz2 4717066 RMD160 5ae895c6898213e1e3b7e7b02cdfcbe5b36a108f SHA1 e6ef926ecd1f9a412af8c266239f0a6f58c63854 SHA256 f27cd9df50a2acd9df8f37520f62f6ce51758689d425ead5883e75ff5ed6548c
EBUILD apache-2.2.6-r2.ebuild 16119 RMD160 9e5ae8f4d8063951ab546e3dbb992d8db0511398 SHA1 28b09b1d913e61e09555c8104e561e9cedbce9a2 SHA256 5dd86095e7233e8f8d7df24dfa4e013ef512e60653c16671876b5d5dcf369dbc
MD5 f13d16d6e812185ff5a678cc3cf43875 apache-2.2.6-r2.ebuild 16119
RMD160 9e5ae8f4d8063951ab546e3dbb992d8db0511398 apache-2.2.6-r2.ebuild 16119
SHA256 5dd86095e7233e8f8d7df24dfa4e013ef512e60653c16671876b5d5dcf369dbc apache-2.2.6-r2.ebuild 16119
MD5 e21813f1f9d3e11c6b7f5c637742bb4c files/digest-apache-2.2.6-r2 536
RMD160 5e56ca957a082c450b6fd3eebc44997d99d701ee files/digest-apache-2.2.6-r2 536
SHA256 15f6f25865d99c4f9e76ed8dc5445b6fd6badd896050fd58d0d372b08d6dc46c files/digest-apache-2.2.6-r2 536

View File

@ -0,0 +1,497 @@
# Copyright 1999-2007 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/www-servers/apache/apache-2.2.6-r1.ebuild,v 1.1 2007/09/21 20:08:27 hollow Exp $
inherit eutils flag-o-matic multilib autotools
# latest gentoo apache files
GENTOO_PATCHNAME="gentoo-${PF}"
GENTOO_PATCHSTAMP="20070921"
GENTOO_DEVSPACE="hollow"
GENTOO_PATCHDIR="${WORKDIR}/${GENTOO_PATCHNAME}"
DESCRIPTION="The Apache Web Server."
HOMEPAGE="http://httpd.apache.org/"
SRC_URI="mirror://apache/httpd/httpd-${PV}.tar.bz2
http://dev.gentoo.org/~${GENTOO_DEVSPACE}/dist/apache/${GENTOO_PATCHNAME}-${GENTOO_PATCHSTAMP}.tar.bz2"
# some helper scripts are apache-1.1, thus both are here
LICENSE="Apache-2.0 Apache-1.1"
SLOT="2"
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~x86-fbsd"
IUSE="debug doc ldap mozldap mpm-event mpm-itk mpm-peruser mpm-prefork mpm-worker no-suexec selinux ssl static-modules threads"
DEPEND="dev-lang/perl
=dev-libs/apr-1*
=dev-libs/apr-util-1*
dev-libs/expat
dev-libs/libpcre
sys-libs/zlib
ldap? ( =net-nds/openldap-2* )
mozldap? ( =dev-libs/mozldap-6* )
selinux? ( sec-policy/selinux-apache )
ssl? ( dev-libs/openssl )
!=www-servers/apache-1*
!=app-admin/apache-tools-2.2.4-r2"
RDEPEND="${DEPEND}
app-misc/mime-types"
PDEPEND="~app-admin/apache-tools-${PV}"
S="${WORKDIR}/httpd-${PV}"
pkg_setup() {
if use ldap && use mozldap ; then
eerror "you cant activate ldap & mozldap at the same time "
eerror "plz deactivate \"www-servers/apache -ldap mozldap\" one in"
eerror "\"etc/portage/package.use\" ;p"
die "ldap and mozldap USE conflict"
fi
if ( use ldap && ! built_with_use 'dev-libs/apr-util' ldap ) || ( use mozldap && ! built_with_use 'dev-libs/apr-util' mozldap ) ; then
eerror "dev-libs/apr-util is missing LDAP support. For apache to have"
eerror "ldap support, apr-util must be built with the ldap or mozldap USE-flag"
eerror "enabled."
die "ldap or mozldap USE-flag enabled while not supported in apr-util"
fi
# Select the default MPM module
MPM_LIST="event itk peruser prefork worker"
for x in ${MPM_LIST} ; do
if use mpm-${x} ; then
if [[ "x${mpm}" == "x" ]] ; then
mpm=${x}
elog
elog "Selected MPM: ${mpm}"
elog
else
eerror "You have selected more then one mpm USE-flag."
eerror "Only one MPM is supported."
die "more then one mpm was specified"
fi
fi
done
if [[ "x${mpm}" == "x" ]] ; then
if use threads ; then
mpm=worker
elog
elog "Selected default threaded MPM: ${mpm}";
elog
else
mpm=prefork
elog
elog "Selected default MPM: ${mpm}";
elog
fi
fi
# setup apache user and group
enewgroup apache 81
enewuser apache 81 -1 /var/www apache
if ! use no-suexec ; then
elog
elog "You can manipulate several configure options of suexec"
elog "through the following environment variables:"
elog
elog " SUEXEC_SAFEPATH: Default PATH for suexec (default: /usr/local/bin:/usr/bin:/bin)"
elog " SUEXEC_LOGFILE: Path to the suexec logfile (default: /var/log/apache2/suexec_log)"
elog " SUEXEC_CALLER: Name of the user Apache is running as (default: apache)"
elog " SUEXEC_DOCROOT: Directory in which suexec will run scripts (default: /var/www)"
elog " SUEXEC_MINUID: Minimum UID, which is allowed to run scripts via suexec (default: 1000)"
elog " SUEXEC_MINGID: Minimum GID, which is allowed to run scripts via suexec (default: 100)"
elog " SUEXEC_USERDIR: User subdirectories (like /home/user/html) (default: public_html)"
elog " SUEXEC_UMASK: Umask for the suexec process (default: 077)"
elog
fi
}
src_unpack() {
unpack ${A}
cd "${S}"
# Use correct multilib libdir in gentoo patches
sed -i -e "s:/usr/lib:/usr/$(get_libdir):g" \
"${GENTOO_PATCHDIR}"/{conf/httpd.conf,init/*,patches/config.layout} \
|| die "libdir sed failed"
#### Patch Organization
# 00-19 Gentoo specific (00_all_some-title.patch)
# 20-39 Additional MPMs (20_all_${MPM}_some-title.patch)
# 40-59 USE-flag based (40_all_${USE}_some-title.patch)
# 60-79 Version specific (60_all_${PV}_some-title.patch)
# 80-99 Security patches (80_all_${PV}_cve-####-####.patch)
epatch "${GENTOO_PATCHDIR}"/patches/*.patch
# setup the filesystem layout config
cat "${GENTOO_PATCHDIR}"/patches/config.layout >> "${S}"/config.layout || \
die "Failed preparing config.layout!"
sed -i -e "s:version:${PF}:g" "${S}"/config.layout
# patched-in MPMs need the build environment rebuilt
sed -i -e '/sinclude/d' configure.in
AT_GNUCONF_UPDATE=yes AT_M4DIR=build eautoreconf
}
src_compile() {
local modtype="shared" myconf=""
cd "${S}"
# Instead of filtering --as-needed (bug #128505), append --no-as-needed
# Thanks to Harald van Dijk
append-ldflags -Wl,--no-as-needed
# peruser MPM debugging with -X is nearly impossible
use mpm-peruser && use debug && append-flags -DMPM_PERUSER_DEBUG
use static-modules && modtype="static"
select_modules_config || die "determining modules failed"
if use ldap || use mozldap ; then
mods="${mods} ldap authnz_ldap"
myconf="${myconf} --enable-authnz-ldap=${modtype} --enable-ldap=${modtype}"
fi
if use threads || use mpm-worker || use mpm-event; then
mods="${mods} cgid"
myconf="${myconf} --enable-cgid=${modtype}"
else
mods="${mods} cgi"
myconf="${myconf} --enable-cgi=${modtype}"
fi
if use ssl; then
mods="${mods} ssl"
myconf="${myconf} --with-ssl=/usr --enable-ssl=${modtype}"
fi
# Only build suexec with USE=-no-suexec
if use no-suexec ; then
myconf="${myconf} --disable-suexec"
else
myconf="${myconf} --with-suexec-safepath=${SUEXEC_SAFEPATH:-/usr/local/bin:/usr/bin:/bin}"
myconf="${myconf} --with-suexec-logfile=${SUEXEC_LOGFILE:-/var/log/apache2/suexec_log}"
myconf="${myconf} --with-suexec-bin=/usr/sbin/suexec"
myconf="${myconf} --with-suexec-userdir=${SUEXEC_USERDIR:-public_html}"
myconf="${myconf} --with-suexec-caller=${SUEXEC_CALLER:-apache}"
myconf="${myconf} --with-suexec-docroot=${SUEXEC_DOCROOT:-/var/www}"
myconf="${myconf} --with-suexec-uidmin=${SUEXEC_MINUID:-1000}"
myconf="${myconf} --with-suexec-gidmin=${SUEXEC_MINGID:-100}"
myconf="${myconf} --with-suexec-umask=${SUEXEC_UMASK:-077}"
myconf="${myconf} --enable-suexec=${modtype}"
mods="${mods} suexec"
fi
# econf overwrites the stuff from config.layout, so we have to put them into
# our myconf line too
econf \
--includedir=/usr/include/apache2 \
--libexecdir=/usr/$(get_libdir)/apache2/modules \
--datadir=/var/www/localhost \
--sysconfdir=/etc/apache2 \
--localstatedir=/var \
--with-mpm=${mpm} \
--with-perl=/usr/bin/perl \
--with-expat=/usr \
--with-z=/usr \
--with-apr=/usr \
--with-apr-util=/usr \
--with-pcre=/usr \
--with-port=80 \
--with-program-name=apache2 \
--enable-layout=Gentoo \
$(use_enable debug maintainer-mode) \
$(use_enable debug exception-hook) \
${myconf} ${MY_BUILTINS} || die "econf failed!"
sed -i -e 's:apache2\.conf:httpd.conf:' include/ap_config_auto.h
emake || die "emake failed"
}
src_install () {
emake DESTDIR="${D}" install || die "emake install failed"
# This is a mapping of module names to the -D options in APACHE2_OPTS
# Used for creating optional LoadModule lines
mod_defines="
auth_digest:AUTH_DIGEST
authnz_ldap:AUTHNZ_LDAP
cache:CACHE
dav:DAV
dav_fs:DAV
dav_lock:DAV
disk_cache:CACHE
file_cache:CACHE
info:INFO
ldap:LDAP
mem_cache:CACHE
proxy:PROXY
proxy_ajp:PROXY
proxy_balancer:PROXY
proxy_connect:PROXY
proxy_http:PROXY
ssl:SSL
status:INFO
suexec:SUEXEC
userdir:USERDIR
"
# create our LoadModule lines
if ! use static-modules ; then
load_module=""
moddir="${D}/usr/$(get_libdir)/apache2/modules"
for m in $(echo ${mods}|tr ' ' '\n'|sort -u) ; do
endid="no"
if [[ -e "${moddir}/mod_${m}.so" ]] ; then
for def in ${mod_defines} ; do
if [[ "${m}" == "${def%:*}" ]] ; then
load_module="${load_module}\n<IfDefine ${def#*:}>"
endid="yes"
fi
done
load_module="${load_module}\nLoadModule ${m}_module modules/mod_${m}.so"
if [[ "${endid}" == "yes" ]] ; then
load_module="${load_module}\n</IfDefine>"
fi
fi
done
fi
sed -i -e "s:%%LOAD_MODULE%%:${load_module}:" \
"${GENTOO_PATCHDIR}"/conf/httpd.conf || die "sed failed"
# Install our configuration files
insinto /etc/apache2
doins docs/conf/magic
doins -r "${GENTOO_PATCHDIR}"/conf/*
insinto /etc/logrotate.d
newins "${GENTOO_PATCHDIR}"/scripts/apache2-logrotate apache2
# generate a sane default APACHE2_OPTS
APACHE2_OPTS="-D DEFAULT_VHOST -D INFO -D LANGUAGE"
use doc && APACHE2_OPTS="${APACHE2_OPTS} -D MANUAL"
use ssl && APACHE2_OPTS="${APACHE2_OPTS} -D SSL -D SSL_DEFAULT_VHOST"
use no-suexec || APACHE2_OPTS="${APACHE2_OPTS} -D SUEXEC"
sed -i -e "s:APACHE2_OPTS=\".*\":APACHE2_OPTS=\"${APACHE2_OPTS}\":" \
"${GENTOO_PATCHDIR}"/init/apache2.confd || die "sed failed"
newconfd "${GENTOO_PATCHDIR}"/init/apache2.confd apache2
newinitd "${GENTOO_PATCHDIR}"/init/apache2.initd apache2
# Link apache2ctl to the init script
dosym /etc/init.d/apache2 /usr/sbin/apache2ctl
# provide symlinks for all the stuff we no longer rename, bug 177697
for i in suexec apxs; do
dosym /usr/sbin/${i} /usr/sbin/${i}2
done
# Install some thirdparty scripts
exeinto /usr/sbin
use ssl && doexe "${GENTOO_PATCHDIR}"/scripts/gentestcrt.sh
# Install some documentation
dodoc ABOUT_APACHE CHANGES LAYOUT README README.platforms VERSIONING
dodoc "${GENTOO_PATCHDIR}"/docs/*
# drop in a convenient link to the manual
if use doc ; then
sed -i -e "s:VERSION:${PVR}:" "${D}/etc/apache2/modules.d/00_apache_manual.conf"
else
rm -f "${D}/etc/apache2/modules.d/00_apache_manual.conf"
rm -Rf "${D}/usr/share/doc/${PF}/manual"
fi
# the default webroot gets stored in /usr/share/doc
ebegin "Installing default webroot to /usr/share/doc/${PF}"
mv -f "${D}/var/www/localhost" "${D}/usr/share/doc/${PF}/webroot"
eend $?
keepdir /var/www/localhost/htdocs
if ! use no-suexec ; then
# Set some sane permissions for suexec
fowners 0:apache /usr/sbin/suexec
fperms 4710 /usr/sbin/suexec
fi
keepdir /etc/apache2/vhosts.d
keepdir /etc/apache2/modules.d
# empty dirs
for i in /var/lib/dav /var/log/apache2 /var/cache/apache2 ; do
keepdir ${i}
fowners apache:apache ${i}
fperms 0755 ${i}
done
# We'll be needing /etc/apache2/ssl if USE=ssl
use ssl && keepdir /etc/apache2/ssl
}
pkg_postinst() {
# Automatically generate test certificates if ssl USE flag is being set
if use ssl && [[ ! -e "${ROOT}/etc/apache2/ssl/server.crt" ]] ; then
cd "${ROOT}"/etc/apache2/ssl
einfo
einfo "Generating self-signed test certificate in ${ROOT}etc/apache2/ssl ..."
yes "" 2>/dev/null | \
"${ROOT}"/usr/sbin/gentestcrt.sh >/dev/null 2>&1 || \
die "gentestcrt.sh failed"
einfo
fi
# we do this here because the default webroot is a copy of the files
# that exist elsewhere and we don't want them managed/removed by portage
# when apache is upgraded.
if [[ -e "${ROOT}/var/www/localhost" ]] ; then
elog "The default webroot has not been installed into"
elog "${ROOT}var/www/localhost because the directory already exists"
elog "and we do not want to overwrite any files you have put there."
elog
elog "If you would like to install the latest webroot, please run"
elog "emerge --config =${PF}"
else
einfo "Installing default webroot to ${ROOT}var/www/localhost"
mkdir -p "${ROOT}"/var/www/localhost
cp -R "${ROOT}"/usr/share/doc/${PF}/webroot/* "${ROOT}"/var/www/localhost
chown -R apache:0 "${ROOT}"/var/www/localhost
fi
# Previous installations of apache-2.2 installed the upstream configuration
# files, which shouldn't even have been installed!
if has_version '>=www-servers/apache-2.2.4' ; then
[ -f "${ROOT}"/etc/apache2/apache2.conf ] && \
rm -f "${ROOT}"/etc/apache2/apache2.conf >/dev/null 2>&1
for i in extra original ; do
[ -d "${ROOT}"/etc/apache2/$i ] && \
rm -rf "${ROOT}"/etc/apache2/$i >/dev/null 2>&1
done
fi
# Note regarding IfDefine changes
if has_version '<www-servers/apache-2.2.6-r1' ; then
elog
elog "When upgrading from versions 2.2.6 or earlier, please be aware"
elog "that the define for mod_authnz_ldap has changed from AUTH_LDAP"
elog "to AUTHNZ_LDAP. Additionally mod_auth_digest needs to be enabled"
elog "with AUTH_DIGEST now."
elog
fi
# Note the changes regarding DEFAULT_VHOST and SSL_DEFAULT_VHOST
if has_version '<www-servers/apache-2.2.4-r7' ; then
elog
elog "Listen directives have been moved into the default virtual host"
elog "configuation. At least DEFAULT_VHOST has been enabled for you"
elog "(depending on your USE-flags."
elog
elog "If you disable DEFAULT_VHOST or SSL_DEFAULT_VHOST, there would"
elog "be no listening sockets available."
elog
fi
# Note the user of the config changes
if has_version '<www-servers/apache-2.2.4-r5' ; then
elog
elog "Please make sure that you update your /etc directory."
elog "Between the versions, we had to changes some config files"
elog "and move some stuff out of the main httpd.conf file to a seperate"
elog "modules.d entry."
elog
elog "Thus please update your /etc directory either via etc-update,"
elog "dispatch-conf or conf-update !"
elog
fi
# Check for dual/upgrade install
if has_version '<www-servers/apache-2.2.0' ; then
elog
elog "When upgrading from versions below 2.2.0 to this version, you"
elog "need to rebuild all your modules. Please do so for your modules"
elog "to continue working correctly."
elog
elog "Also note that some configuration directives have been"
elog "split into their own files under ${ROOT}etc/apache2/modules.d/"
elog "and that some modules, foremost the authentication related ones,"
elog "have been renamed."
elog
elog "Some examples:"
elog " - USERDIR is now configureable in ${ROOT}etc/apache2/modules.d/00_mod_userdir.conf."
elog
elog "For more information on what you may need to change, please"
elog "see the overview of changes at:"
elog "http://httpd.apache.org/docs/2.2/new_features_2_2.html"
elog "and the upgrading guide at:"
elog "http://httpd.apache.org/docs/2.2/upgrading.html"
elog
fi
# Cleanup the vim backup files, placed in /etc/apache2 by the last
# patchtarball (gentoo-apache-2.2.4-r7-20070615)
rm -f "${ROOT}/etc/apache2/modules.d/*.conf~"
}
pkg_config() {
einfo "Installing default webroot to ${ROOT}var/www/localhost"
cp -R "${ROOT}"/usr/share/doc/${PF}/webroot/* "${ROOT}"/var/www/localhost
}
parse_modules_config() {
local name=""
local disable=""
local version="undef"
MY_BUILTINS=""
mods=""
[[ -f "${1}" ]] || return 1
for i in $(sed 's/#.*//' < $1) ; do
if [[ "$i" == "VERSION:" ]] ; then
version="select"
elif [[ "${version}" == "select" ]] ; then
version="$i"
# start with - option for backwards compatibility only
elif [[ "$i" == "-" ]] ; then
disable="true"
elif [[ -z "${name}" ]] && [[ "$i" != "${i/mod_/}" ]] ; then
name="${i/mod_/}"
elif [[ -n "${disable}" ]] || [[ "$i" == "disabled" ]] ; then
MY_BUILTINS="${MY_BUILTINS} --disable-${name}"
name="" ; disable=""
elif [[ "$i" == "static" ]] || use static-modules ; then
MY_BUILTINS="${MY_BUILTINS} --enable-${name}=static"
name="" ; disable=""
elif [[ "$i" == "shared" ]] ; then
MY_BUILTINS="${MY_BUILTINS} --enable-${name}=shared"
mods="${mods} ${name}"
name="" ; disable=""
else
ewarn "Parse error in ${1} - unknown option: $i"
fi
done
# reject the file if it's unversioned or doesn't match our
# package major.minor. This is to make upgrading work smoothly.
if [[ "${version}" != "${PV%.*}" ]] ; then
mods=""
MY_BUILTINS=""
return 1
fi
einfo "Using ${1}"
einfo "options: ${MY_BUILTINS}"
einfo "LoadModules: ${mods}"
}
select_modules_config() {
parse_modules_config "${ROOT}"/etc/apache2/apache2-builtin-mods || \
parse_modules_config "${GENTOO_PATCHDIR}"/conf/apache2-builtin-mods || \
return 1
}

View File

@ -0,0 +1,6 @@
MD5 810fb32e6b2e2ec6c367461543d7c138 gentoo-apache-2.2.6-r2-20070921.tar.bz2 58051
RMD160 d6450408d593afb0a3247825d9a554020c65a5bb gentoo-apache-2.2.6-r2-20070921.tar.bz2 58051
SHA256 a9331b23034547ed3ff684a5c21af6d754f785935c56b148d448392320937132 gentoo-apache-2.2.6-r2-20070921.tar.bz2 58051
MD5 203bea91715064f0c787f6499d33a377 httpd-2.2.6.tar.bz2 4717066
RMD160 5ae895c6898213e1e3b7e7b02cdfcbe5b36a108f httpd-2.2.6.tar.bz2 4717066
SHA256 f27cd9df50a2acd9df8f37520f62f6ce51758689d425ead5883e75ff5ed6548c httpd-2.2.6.tar.bz2 4717066