summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTomas Chvatal <scarabeus@gentoo.org>2011-09-10 08:53:02 +0000
committerTomas Chvatal <scarabeus@gentoo.org>2011-09-10 08:53:02 +0000
commit28a5c8d4e1b3aa856d4a7246458667a24cefbb59 (patch)
tree0a395cb47d43144f748780a183df3f15158d680f /sys-cluster
parentRemove now unused libgnome dependency, thanks to Ben Sagal for reporting and ... (diff)
downloadgentoo-2-28a5c8d4e1b3aa856d4a7246458667a24cefbb59.tar.gz
gentoo-2-28a5c8d4e1b3aa856d4a7246458667a24cefbb59.tar.bz2
gentoo-2-28a5c8d4e1b3aa856d4a7246458667a24cefbb59.zip
Move to eapi4.
(Portage version: 2.2.0_alpha54/cvs/Linux x86_64)
Diffstat (limited to 'sys-cluster')
-rw-r--r--sys-cluster/keepalived/ChangeLog6
-rw-r--r--sys-cluster/keepalived/keepalived-1.2.2-r1.ebuild21
2 files changed, 15 insertions, 12 deletions
diff --git a/sys-cluster/keepalived/ChangeLog b/sys-cluster/keepalived/ChangeLog
index cb0512a72c33..0860555612fa 100644
--- a/sys-cluster/keepalived/ChangeLog
+++ b/sys-cluster/keepalived/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for sys-cluster/keepalived
# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sys-cluster/keepalived/ChangeLog,v 1.80 2011/06/08 05:44:11 robbat2 Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-cluster/keepalived/ChangeLog,v 1.81 2011/09/10 08:53:02 scarabeus Exp $
+
+ 10 Sep 2011; Tomáš Chvátal <scarabeus@gentoo.org>
+ keepalived-1.2.2-r1.ebuild:
+ Move to eapi4.
*keepalived-1.2.2-r1 (08 Jun 2011)
diff --git a/sys-cluster/keepalived/keepalived-1.2.2-r1.ebuild b/sys-cluster/keepalived/keepalived-1.2.2-r1.ebuild
index 5358cb02ce81..69516170ccc4 100644
--- a/sys-cluster/keepalived/keepalived-1.2.2-r1.ebuild
+++ b/sys-cluster/keepalived/keepalived-1.2.2-r1.ebuild
@@ -1,10 +1,10 @@
# Copyright 1999-2011 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-cluster/keepalived/keepalived-1.2.2-r1.ebuild,v 1.1 2011/06/08 05:44:11 robbat2 Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-cluster/keepalived/keepalived-1.2.2-r1.ebuild,v 1.2 2011/09/10 08:53:02 scarabeus Exp $
-EAPI=3
+EAPI=4
-inherit flag-o-matic autotools base
+inherit autotools base
DESCRIPTION="A strong & robust keepalive facility to the Linux Virtual Server project"
HOMEPAGE="http://www.keepalived.org/"
@@ -24,6 +24,8 @@ DEPEND="${RDEPEND}
PATCHES=( "${FILESDIR}"/${PN}-1.1.20-do-not-need-kernel-sources.patch )
+DOCS=( README CONTRIBUTORS INSTALL VERSION ChangeLog AUTHOR TODO doc/keepalived.conf.SYNOPSIS )
+
src_prepare() {
base_src_prepare
eautoreconf
@@ -37,20 +39,17 @@ src_configure() {
}
src_install() {
- base_src_install
-
- newinitd "${FILESDIR}"/init-keepalived keepalived || die
+ default
- dodoc doc/keepalived.conf.SYNOPSIS || die
- dodoc README CONTRIBUTORS INSTALL VERSION ChangeLog AUTHOR TODO || die
+ newinitd "${FILESDIR}"/init-keepalived keepalived
docinto genhash
dodoc genhash/README genhash/AUTHOR genhash/ChangeLog genhash/VERSION || die
# This was badly named by upstream, it's more HOWTO than anything else.
- newdoc INSTALL INSTALL+HOWTO || die
+ newdoc INSTALL INSTALL+HOWTO
# Security risk to bundle SSL certs
- rm -f "${D}"/etc/keepalived/samples/*.pem
+ rm -f "${ED}"/etc/keepalived/samples/*.pem
# Clean up sysvinit files
- rm -rf "${D}"/etc/sysconfig "${D}"/etc/rc.d/
+ rm -rf "${ED}"/etc/sysconfig "${ED}"/etc/rc.d/
}