summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeroen Roovers <jer@gentoo.org>2014-06-14 00:14:33 +0000
committerJeroen Roovers <jer@gentoo.org>2014-06-14 00:14:33 +0000
commit49cefb7efca6b2d20e699a5e9fbaa5408b2ed45c (patch)
tree51c4e0ff3896edf33d6522f7124cf649e408e34b /dev-libs/geoip
parentVersion bump, add some hackery to work around app-emulation/qemu removing the... (diff)
downloadgentoo-2-49cefb7efca6b2d20e699a5e9fbaa5408b2ed45c.tar.gz
gentoo-2-49cefb7efca6b2d20e699a5e9fbaa5408b2ed45c.tar.bz2
gentoo-2-49cefb7efca6b2d20e699a5e9fbaa5408b2ed45c.zip
Remove pkg_postrm(), set keepdir /usr/share/GeoIP (bug #513158 by Alex Turbov).
(Portage version: 2.2.10/cvs/Linux x86_64, signed Manifest commit with key A792A613)
Diffstat (limited to 'dev-libs/geoip')
-rw-r--r--dev-libs/geoip/ChangeLog6
-rw-r--r--dev-libs/geoip/geoip-1.6.0-r2.ebuild8
2 files changed, 8 insertions, 6 deletions
diff --git a/dev-libs/geoip/ChangeLog b/dev-libs/geoip/ChangeLog
index b729957b4028..ba7783f4c0ff 100644
--- a/dev-libs/geoip/ChangeLog
+++ b/dev-libs/geoip/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for dev-libs/geoip
# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-libs/geoip/ChangeLog,v 1.214 2014/06/12 19:32:39 jer Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-libs/geoip/ChangeLog,v 1.215 2014/06/14 00:14:33 jer Exp $
+
+ 14 Jun 2014; Jeroen Roovers <jer@gentoo.org> geoip-1.6.0-r2.ebuild:
+ Remove pkg_postrm(), set keepdir /usr/share/GeoIP (bug #513158 by Alex
+ Turbov).
12 Jun 2014; Jeroen Roovers <jer@gentoo.org> geoip-1.6.0-r2.ebuild:
Add path.
diff --git a/dev-libs/geoip/geoip-1.6.0-r2.ebuild b/dev-libs/geoip/geoip-1.6.0-r2.ebuild
index fda097ace78c..21df7ba59e9c 100644
--- a/dev-libs/geoip/geoip-1.6.0-r2.ebuild
+++ b/dev-libs/geoip/geoip-1.6.0-r2.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2014 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-libs/geoip/geoip-1.6.0-r2.ebuild,v 1.2 2014/06/12 19:32:39 jer Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-libs/geoip/geoip-1.6.0-r2.ebuild,v 1.3 2014/06/14 00:14:33 jer Exp $
EAPI=5
inherit autotools eutils
@@ -38,13 +38,11 @@ src_install() {
prune_libtool_files
+ keepdir /usr/share/GeoIP
+
newsbin "${FILESDIR}"/geoipupdate-r3.sh geoipupdate.sh
}
pkg_postinst() {
"${ROOT}"/usr/sbin/geoipupdate.sh --force
}
-
-pkg_postrm() {
- rm -r "${ROOT}/usr/share/GeoIP/"
-}