Package Details: perl-geoip 1.51-1

Git Clone URL: https://aur.archlinux.org/perl-geoip.git (read-only)
Package Base: perl-geoip
Description: GeoIP Perl API
Upstream URL: https://github.com/maxmind/geoip-api-perl
Licenses: GPL
Provides: cassandra
Submitter: numkem
Maintainer: bidulock
Last Packager: bidulock
Votes: 9
Popularity: 0.000094
First Submitted: 2013-02-21 20:12
Last Updated: 2019-06-11 05:55

Dependencies (1)

Required by (1)

Sources (1)

Latest Comments

ArthurBorsboom commented on 2018-10-02 09:37

My system fails to update due to perl-geoip:

error: failed to prepare transaction (could not satisfy dependencies) :: installing perl (5.28.0-1) breaks dependency 'perl<5.27' required by perl-geoip

Do you have any suggestions?

mober commented on 2016-06-07 14:16

Hi!

I ran into a Problem with amavisd-new due to an perl update ("IP.c: loadable library and perl binaries are mismatched"). To resolve the issue I had to reinstall this package (perl-geoip) and ran into problems with the PKGBUILD. Here's a working version of the PKGBUILD:

# Maintainer: Sebastien Bariteau <numkem@gmail.com>
pkgname=perl-geoip
pkgver=1.45
pkgrel=1
pkgdesc="GeoIP Perl API"
arch=('i686' 'x86_64')
license=(GPL)
url="https://github.com/maxmind/geoip-api-perl"
source=('https://github.com/maxmind/geoip-api-perl/archive/v1.45.tar.gz')
sha256sums=('c56437b1cc8887736cb1e435d0320c1c1ff3754830249516317b99137005fb23')
depends=('geoip')
provides=('Geo::IP')

build() {
cd "$srcdir/geoip-api-perl-${pkgver}"

unset PERL5LIB PERL_MM_OPT PERL_LOCAL_LIB_ROOT
export PERL_MM_USE_DEFAULT=1 PERL_AUTOINSTALL=--skipdeps
/usr/bin/perl Makefile.PL
make
}

check() {
cd "$srcdir/geoip-api-perl-$pkgver"
unset PERL5LIB PERL_MM_OPT PERL_LOCAL_LIB_ROOT
export PERL_MM_USE_DEFAULT=1
make test
}

package() {
cd "$srcdir/geoip-api-perl-${pkgver}"

unset PERL5LIB PERL_MM_OPT PERL_LOCAL_LIB_ROOT
make install INSTALLDIRS=vendor DESTDIR="$pkgdir"
}

torpe23 commented on 2016-05-16 00:38

Hi,

I'm getting the following error when building this package:

==> ERROR: source should be an array
==> ERROR: Makepkg was unable to build perl-geoip.

Putting some parenthesis for the source value does the trick:
+ source=("https://github.com/maxmind/geoip-api-perl/archive/v${pkgver}.zip")

Thanks for correcting!

bidulock commented on 2014-06-04 23:26

Please bump pkgrel to 2 to trigger recompile against perl 5.20.0.

And please split package() properly into build() and package().