mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-01-05 14:07:27 -08:00
www-apache/mod_maxminddb: add 1.3.0
Signed-off-by: Tomáš Mózes <hydrapolic@gmail.com> Part-of: https://github.com/gentoo/gentoo/pull/43092 Closes: https://github.com/gentoo/gentoo/pull/43092 Signed-off-by: Sam James <sam@gentoo.org>
This commit is contained in:
parent
5fef5e0451
commit
7184e92e20
@ -1 +1,2 @@
|
||||
DIST mod_maxminddb-1.2.0.tar.gz 101465 BLAKE2B a0f9673560851726e7e85b3c6a5ef3e9004854e79a72bb14446bd68eec59ed8befb3bc27d7e7f031c69708ab54984c9f7537e5d55616be9f7ef1b92e2de61ccd SHA512 739c3c9b136fd3ce784e0a81c82a26a188e7d07435c1381ba359b2e159a721d072cb04310f2ce2a38953a8918fec686025bac6c140048a1afc035c0b8e449483
|
||||
DIST mod_maxminddb-1.3.0.tar.gz 99765 BLAKE2B c9ea577cf45e8a3c8bf2233ecc8266c070ddf1c5e05f1cd600dc2aff2f78cb9ee484005a3cec788645e05ace97354752ae3555766bb687c3127cbcf56bb8be8b SHA512 7f45efc2047fb1e57bf3d01998022857821d9157d439d4b4dbe7227d8f394ae2f587083ab36222dd3eabe4c1b34748866add6354cfe8710c0eee96560b1ca13b
|
||||
|
||||
40
www-apache/mod_maxminddb/mod_maxminddb-1.3.0.ebuild
Normal file
40
www-apache/mod_maxminddb/mod_maxminddb-1.3.0.ebuild
Normal file
@ -0,0 +1,40 @@
|
||||
# Copyright 1999-2025 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
inherit apache-module autotools
|
||||
|
||||
DESCRIPTION="MaxMind DB Apache Module"
|
||||
HOMEPAGE="https://maxmind.github.io/mod_maxminddb/"
|
||||
SRC_URI="https://github.com/maxmind/mod_maxminddb/releases/download/${PV}/${P}.tar.gz"
|
||||
|
||||
LICENSE="Apache-2.0"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
|
||||
DEPEND="dev-libs/libmaxminddb:="
|
||||
RDEPEND="${DEPEND}"
|
||||
|
||||
need_apache2_4
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
eautoreconf
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
# skipping this results in:
|
||||
# Cannot load modules/mod_maxminddb.so into server:
|
||||
# /usr/lib64/apache2/modules/mod_maxminddb.so: undefined symbol: MMDB_aget_value
|
||||
# because mod_maxminddb.so is not linked with libmaxminddb
|
||||
emake
|
||||
}
|
||||
|
||||
src_install() {
|
||||
APACHE2_MOD_CONF="70_${PN}"
|
||||
APACHE2_MOD_DEFINE="MAXMINDDB"
|
||||
APACHE_MODULESDIR="/usr/$(get_libdir)/apache2/modules"
|
||||
|
||||
apache-module_src_install
|
||||
}
|
||||
Loading…
x
Reference in New Issue
Block a user