Install this version:
emerge -a =www-servers/apache-headers-2.4.68
If this version is masked, you can unmask it using the autounmask tool or standard emerge options:
autounmask =www-servers/apache-headers-2.4.68
Or alternatively:
emerge --autounmask-write -a =www-servers/apache-headers-2.4.68
| Version | EAPI | Keywords | Slot |
|---|---|---|---|
| 2.4.68 | 8 | ~alpha ~amd64 ~arm ~arm64 ~hppa ~mips ~ppc ~ppc64 ~s390 ~sparc ~x86 ~x64-macos ~x64-solaris | 2 |
# Copyright 2026 mva
# Distributed under the terms of the Public Domain or CC0 License
EAPI=8
# latest gentoo apache files
GENTOO_PATCHSTAMP="20251205"
GENTOO_DEVELOPER="graaff"
GENTOO_PATCHNAME="gentoo-apache-2.4.66"
DESCRIPTION="Header files from the Apache Web Server"
HOMEPAGE="https://httpd.apache.org/"
SRC_URI="
mirror://apache/httpd/httpd-${PV}.tar.bz2
https://dev.gentoo.org/~${GENTOO_DEVELOPER}/dist/apache/${GENTOO_PATCHNAME}-${GENTOO_PATCHSTAMP}.tar.bz2
"
S="${WORKDIR}/httpd-${PV}"
LICENSE="Apache-2.0"
SLOT="2"
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~mips ~ppc ~ppc64 ~s390 ~sparc ~x86 ~x64-macos ~x64-solaris"
GENTOO_PATCHDIR="${WORKDIR}/${GENTOO_PATCHNAME}"
PATCHES=(
"${GENTOO_PATCHDIR}/patches/*.patch"
)
src_compile() { :; }
src_install() {
insinto /usr/include/apache2
doins include/*.h
doins os/unix/*.h
doins server/mpm/prefork/*.h
doins server/mpm/event/*.h
doins modules/*/*.h
}
| Type | File | Size | Source URLs |
|---|---|---|---|
| DIST | gentoo-apache-2.4.66-20251205.tar.bz2 | 26982 bytes | https://dev.gentoo.org/~graaff/dist/apache/gentoo-apache-2.4.66-20251205.tar.bz2 |
| DIST | httpd-2.4.68.tar.bz2 | 7738512 bytes | mirror://apache/httpd/httpd-2.4.68.tar.bz2 |