summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Palimaka <kensington@gentoo.org>2013-02-27 03:50:55 +0000
committerMichael Palimaka <kensington@gentoo.org>2013-02-27 03:50:55 +0000
commit38b47e9f0afb9297ad71cd0dc74b462bbb3014ae (patch)
treebcf5c7a3b81d25a7b8e09bbd25526d9ef1672c64 /net-dns
parentfix broken dep (diff)
downloadgentoo-2-38b47e9f0afb9297ad71cd0dc74b462bbb3014ae.tar.gz
gentoo-2-38b47e9f0afb9297ad71cd0dc74b462bbb3014ae.tar.bz2
gentoo-2-38b47e9f0afb9297ad71cd0dc74b462bbb3014ae.zip
Migrate to EAPI 5. Add upstream metadata. Use REQUIRED_USE wrt bug #425834.
(Portage version: 2.1.11.52/cvs/Linux x86_64, signed Manifest commit with key 675D0D2C)
Diffstat (limited to 'net-dns')
-rw-r--r--net-dns/mydns/ChangeLog6
-rw-r--r--net-dns/mydns/metadata.xml17
-rw-r--r--net-dns/mydns/mydns-1.2.8.31.ebuild15
3 files changed, 22 insertions, 16 deletions
diff --git a/net-dns/mydns/ChangeLog b/net-dns/mydns/ChangeLog
index 3af70ca7d66a..31e3eab8e2c2 100644
--- a/net-dns/mydns/ChangeLog
+++ b/net-dns/mydns/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for net-dns/mydns
# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-dns/mydns/ChangeLog,v 1.38 2013/02/03 12:31:57 pacho Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-dns/mydns/ChangeLog,v 1.39 2013/02/27 03:50:55 kensington Exp $
+
+ 27 Feb 2013; Michael Palimaka <kensington@gentoo.org> metadata.xml,
+ mydns-1.2.8.31.ebuild:
+ Migrate to EAPI 5. Add upstream metadata. Use REQUIRED_USE wrt bug #425834.
03 Feb 2013; Pacho Ramos <pacho@gentoo.org> -mydns-1.1.0-r2.ebuild,
-mydns-1.2.8.27.ebuild, metadata.xml:
diff --git a/net-dns/mydns/metadata.xml b/net-dns/mydns/metadata.xml
index f9544a30edef..64ae6d97c0f6 100644
--- a/net-dns/mydns/metadata.xml
+++ b/net-dns/mydns/metadata.xml
@@ -1,11 +1,14 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
-<maintainer>
-<email>maintainer-needed@gentoo.org</email>
-</maintainer>
-<use>
- <flag name='alias'>Enable David Phillips aliasing</flag>
- <flag name='status'>Enable the STATUS opcode to check server status</flag>
-</use>
+ <maintainer>
+ <email>maintainer-needed@gentoo.org</email>
+ </maintainer>
+ <use>
+ <flag name='alias'>Enable David Phillips aliasing</flag>
+ <flag name='status'>Enable the STATUS opcode to check server status</flag>
+ </use>
+ <upstream>
+ <remote-id type="sourceforge">mydns-ng</remote-id>
+ </upstream>
</pkgmetadata>
diff --git a/net-dns/mydns/mydns-1.2.8.31.ebuild b/net-dns/mydns/mydns-1.2.8.31.ebuild
index f455f4f0ad58..e872cbdd5705 100644
--- a/net-dns/mydns/mydns-1.2.8.31.ebuild
+++ b/net-dns/mydns/mydns-1.2.8.31.ebuild
@@ -1,9 +1,10 @@
-# Copyright 1999-2011 Gentoo Foundation
+# Copyright 1999-2013 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-dns/mydns/mydns-1.2.8.31.ebuild,v 1.1 2011/12/04 02:17:25 matsuu Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-dns/mydns/mydns-1.2.8.31.ebuild,v 1.2 2013/02/27 03:50:55 kensington Exp $
-EAPI="4"
-inherit autotools confutils eutils
+EAPI=5
+
+inherit autotools eutils
DESCRIPTION="A DNS-Server which gets its data from a MySQL-/PostgreSQL-database"
HOMEPAGE="http://www.mydns.pl/"
@@ -23,9 +24,7 @@ DEPEND="${RDEPEND}
nls? ( >=sys-devel/gettext-0.12 )
sys-devel/bison"
-pkg_setup() {
- confutils_require_one mysql postgres
-}
+REQUIRED_USE="^^ ( mysql postgres )"
src_prepare() {
epatch "${FILESDIR}/${PN}-1.2.8.27-m4.patch"
@@ -43,7 +42,7 @@ src_configure() {
$(use_enable static static-build) \
$(use_enable status) \
$(use_with ssl openssl) \
- --without-included-gettext || die
+ --without-included-gettext
}
src_install() {