summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'net-misc/geoipupdate')
-rw-r--r--net-misc/geoipupdate/Manifest1
-rw-r--r--net-misc/geoipupdate/geoipupdate-2.2.1.ebuild28
-rw-r--r--net-misc/geoipupdate/metadata.xml8
3 files changed, 37 insertions, 0 deletions
diff --git a/net-misc/geoipupdate/Manifest b/net-misc/geoipupdate/Manifest
new file mode 100644
index 000000000000..f0e809e39b73
--- /dev/null
+++ b/net-misc/geoipupdate/Manifest
@@ -0,0 +1 @@
+DIST geoipupdate-2.2.1.tar.gz 340884 SHA256 9547c42cc8620b2c3040fd8df95e8ee45c8b6ebcca7737d641f9526104d5f446 SHA512 5d28803353badd4d00a9174202912524f31e057ef4f5381360c16909fbccce3033f5ad7ec9c55963b70c0bbdb74589932bde36ea9b34f2a0632c504c1718dd85 WHIRLPOOL d5255654481a237175948817f88a80eb71aad4e65050e84db9c4056bd0883c4fc8b0bd2ebc8343b3ab37a7b4358dd6d4f5fae57c742711eba1156e78c5c8be38
diff --git a/net-misc/geoipupdate/geoipupdate-2.2.1.ebuild b/net-misc/geoipupdate/geoipupdate-2.2.1.ebuild
new file mode 100644
index 000000000000..255652d2792f
--- /dev/null
+++ b/net-misc/geoipupdate/geoipupdate-2.2.1.ebuild
@@ -0,0 +1,28 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+DESCRIPTION="performs automatic updates of GeoIP2 and GeoIP Legacy binary databases"
+HOMEPAGE="https://github.com/maxmind/geoipupdate"
+SRC_URI="https://github.com/maxmind/${PN}/releases/download/v${PV}/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="alpha amd64 arm hppa ia64 ppc ppc64 ~s390 sparc x86 ~x86-fbsd"
+IUSE=""
+
+DEPEND="
+ net-misc/curl
+ sys-libs/zlib
+"
+RDEPEND="
+ ${DEPEND}
+ !<dev-libs/geoip-1.6.0
+"
+
+src_install() {
+ default
+ keepdir /usr/share/GeoIP
+}
diff --git a/net-misc/geoipupdate/metadata.xml b/net-misc/geoipupdate/metadata.xml
new file mode 100644
index 000000000000..e0abfd5b2dbb
--- /dev/null
+++ b/net-misc/geoipupdate/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <herd>netmon</herd>
+ <upstream>
+ <remote-id type="github">maxmind/geoipupdate</remote-id>
+ </upstream>
+</pkgmetadata>