Репозиторий Sisyphus
Последнее обновление: 1 октября 2023 | Пакетов: 18631 | Посещений: 37579767
en ru br
Репозитории ALT
5.1: 1.2.5-alt1
4.1: 1.2.2-alt1
4.0: 1.1.8-alt2
www.altlinux.org/Changes

Группа :: Система/Серверы
Пакет: apache2-mod_geoip2

 Главная   Изменения   Спек   Патчи   Sources   Загрузить   Gear   Bugs and FR  Repocop 

Name: apache2-mod_geoip2
Version: 1.2.5
Release: alt1

Packager: Victor Forsyuk <force at altlinux.org>

Summary: Apache2 module for finding the country and city that a web request originated from
License: Apache Software License v1.1
Group: System/Servers

# NB: do not put trailing slash in URL or you will end up at maxmind homepage!

Url: http://www.maxmind.com/app/mod_geoip
Source0: http://www.maxmind.com/download/geoip/api/mod_geoip2/mod_geoip2_%version.tar.gz
Source1: apache2-mod_geoip2-load.conf
Source2: apache2-mod_geoip2.conf

PreReq: apache2 >= %apache2_version

# Automatically added by buildreq on Mon Aug 11 2008

BuildRequires: apache2-devel libGeoIP-devel

%description
mod_geoip is an Apache module for finding the country that a web request
originated from. It uses the GeoIP library and database to perform the lookup.

%prep
%setup -n mod_geoip2_%version

%build
%apache2_apxs -lGeoIP -c mod_geoip.c

%install
install -pD -m 0644 %SOURCE1 %buildroot%apache2_confdir/modules.d/A.500_geoip2.conf
install -pD -m 0644 %SOURCE2 %buildroot%apache2_addonconfdir/A.mod_geoip2.conf
install -pD -m 0755 .libs/mod_geoip.so %buildroot%apache2_moduledir/mod_geoip.so

%files
%config(noreplace) %apache2_confdir/modules.d/A.500_geoip2.conf
%config(noreplace) %apache2_addonconfdir/A.mod_geoip2.conf
%apache2_moduledir/mod_geoip.so
%doc Changes INSTALL README README.php

%changelog

Полный changelog можно просмотреть здесь

 
дизайн и разработка: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
текущий майнтейнер: Michael Shigorin