[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH v4 12/16] gnu: Add perl-geo-ip.
From: |
Danny Milosavljevic |
Subject: |
[PATCH v4 12/16] gnu: Add perl-geo-ip. |
Date: |
Thu, 28 Jul 2016 13:22:20 +0200 |
gnu: Add perl-geo-ip.
* gnu/packages/networking.scm (perl-geo-ip): Add variable.
---
gnu/packages/networking.scm | 24 ++++++++++++++++++++++++
1 file changed, 24 insertions(+)
diff --git a/gnu/packages/networking.scm b/gnu/packages/networking.scm
index 134ad5d..660c025 100644
--- a/gnu/packages/networking.scm
+++ b/gnu/packages/networking.scm
@@ -588,3 +588,27 @@ offline emulation of DNS.")
"Perl extension for merging IPv4 or IPv6 CIDR addresses")
(description "Net::CIDR::Lite merges IPv4 or IPv6 CIDR addresses.")
(license license:gpl1+)))
+
+;; TODO: Use the geolite-mirror-simple.pl script from the example
+;; directory to stay current with the databases. How?
+(define-public perl-geo-ip
+ (package
+ (name "perl-geo-ip")
+ (version "1.45")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (string-append
+ "mirror://cpan/authors/id/M/MA/MAXMIND/Geo-IP-"
+ version
+ ".tar.gz"))
+ (sha256
+ (base32
+ "0qinkq2br1cjicbgqb5bvrhm73h7f9f4fgc6bjfs5r6x7316bdqf"))))
+ (build-system perl-build-system)
+ (home-page "http://search.cpan.org/dist/Geo-IP")
+ (synopsis
+ "Look up location and network information by IP Address in Perl")
+ (description "The Perl module 'Geo::IP'.
+It looks up location and network information by IP Address.")
+ (license (package-license perl))))
- [PATCH v4 00/16] Add missing dependencies of Spamassassin, Danny Milosavljevic, 2016/07/28
- [PATCH v4 16/16] gnu: Add perl-io-socket-inet6, Danny Milosavljevic, 2016/07/28
- [PATCH v4 15/16] gnu: Add perl-mail-spf., Danny Milosavljevic, 2016/07/28
- [PATCH v4 14/16] gnu: Add perl-crypt-openssl-bignum., Danny Milosavljevic, 2016/07/28
- [PATCH v4 13/16] gnu: Add perl-crypt-openssl-rsa., Danny Milosavljevic, 2016/07/28
- [PATCH v4 12/16] gnu: Add perl-geo-ip.,
Danny Milosavljevic <=
- [PATCH v4 11/16] gnu: Add perl-net-cidr-lite., Danny Milosavljevic, 2016/07/28
- [PATCH v4 10/16] gnu: Add perl-encode-detect., Danny Milosavljevic, 2016/07/28
- [PATCH v4 09/16] gnu: Add perl-test-trailingspace., Danny Milosavljevic, 2016/07/28
- [PATCH v4 08/16] gnu: Add perl-file-find-object-rule., Danny Milosavljevic, 2016/07/28
- [PATCH v4 07/16] gnu: Add perl-file-find-object., Danny Milosavljevic, 2016/07/28
- [PATCH v4 06/16] gnu: Add perl-net-patricia., Danny Milosavljevic, 2016/07/28
- [PATCH v4 05/16] gnu: Add perl-netaddr-ip., Danny Milosavljevic, 2016/07/28
- [PATCH v4 04/16] gnu: Add perl-net-dns-resolver-programmable., Danny Milosavljevic, 2016/07/28
- [PATCH v4 03/16] gnu: Add perl-socket6., Danny Milosavljevic, 2016/07/28
- [PATCH v4 02/16] gnu: Add perl-net-dns., Danny Milosavljevic, 2016/07/28