summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPacho Ramos <pacho@gentoo.org>2013-02-03 12:31:57 +0000
committerPacho Ramos <pacho@gentoo.org>2013-02-03 12:31:57 +0000
commitedfa7d73057c2ad2a4c2cf34c2cd53cc51e2f7b0 (patch)
tree1816842789e9ed6d64d53f116352f477b1c5bf1a /net-dns/mydns
parentCleanup due #22900 (diff)
downloadgentoo-2-edfa7d73057c2ad2a4c2cf34c2cd53cc51e2f7b0.tar.gz
gentoo-2-edfa7d73057c2ad2a4c2cf34c2cd53cc51e2f7b0.tar.bz2
gentoo-2-edfa7d73057c2ad2a4c2cf34c2cd53cc51e2f7b0.zip
Cleanup due #22900
(Portage version: 2.1.11.50/cvs/Linux x86_64, signed Manifest commit with key A188FBD4)
Diffstat (limited to 'net-dns/mydns')
-rw-r--r--net-dns/mydns/ChangeLog9
-rw-r--r--net-dns/mydns/metadata.xml3
-rw-r--r--net-dns/mydns/mydns-1.1.0-r2.ebuild91
-rw-r--r--net-dns/mydns/mydns-1.2.8.27.ebuild96
4 files changed, 7 insertions, 192 deletions
diff --git a/net-dns/mydns/ChangeLog b/net-dns/mydns/ChangeLog
index 7efb1c3d2a81..3af70ca7d66a 100644
--- a/net-dns/mydns/ChangeLog
+++ b/net-dns/mydns/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for net-dns/mydns
-# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-dns/mydns/ChangeLog,v 1.37 2011/12/04 02:17:25 matsuu Exp $
+# 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 $
+
+ 03 Feb 2013; Pacho Ramos <pacho@gentoo.org> -mydns-1.1.0-r2.ebuild,
+ -mydns-1.2.8.27.ebuild, metadata.xml:
+ Cleanup due #22900
*mydns-1.2.8.31 (04 Dec 2011)
@@ -160,4 +164,3 @@
27 Sep 2003; MATSUU Takuto <matsuu@gentoo.org> mydns-0.10.0.ebuild,
files/mydns.rc6:
Initial import.
-
diff --git a/net-dns/mydns/metadata.xml b/net-dns/mydns/metadata.xml
index a6aa4176cd79..f9544a30edef 100644
--- a/net-dns/mydns/metadata.xml
+++ b/net-dns/mydns/metadata.xml
@@ -2,8 +2,7 @@
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer>
- <email>matsuu@gentoo.org</email>
- <name>MATSUU Takuto</name>
+<email>maintainer-needed@gentoo.org</email>
</maintainer>
<use>
<flag name='alias'>Enable David Phillips aliasing</flag>
diff --git a/net-dns/mydns/mydns-1.1.0-r2.ebuild b/net-dns/mydns/mydns-1.1.0-r2.ebuild
deleted file mode 100644
index 3a9c62e56c19..000000000000
--- a/net-dns/mydns/mydns-1.1.0-r2.ebuild
+++ /dev/null
@@ -1,91 +0,0 @@
-# Copyright 1999-2010 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-dns/mydns/mydns-1.1.0-r2.ebuild,v 1.2 2010/06/17 21:47:22 patrick Exp $
-
-WANT_AUTOCONF="latest"
-WANT_AUTOMAKE="latest"
-
-inherit autotools eutils
-
-DESCRIPTION="A DNS-Server which gets its data from mysql-databases"
-HOMEPAGE="http://mydns.bboy.net/"
-SRC_URI="http://mydns.bboy.net/download/${P}.tar.bz2"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ~ppc ~sparc ~x86"
-IUSE="debug nls postgres ssl static zlib"
-
-RDEPEND="ssl? ( dev-libs/openssl )
- zlib? ( sys-libs/zlib )
- postgres? ( dev-db/postgresql-server )
- !postgres? ( virtual/mysql )"
-DEPEND="${RDEPEND}
- sys-devel/bison"
-
-src_unpack() {
- unpack ${A}
-
- cd "${S}"
- epatch "${FILESDIR}/${P}-m4.patch"
- epatch "${FILESDIR}/04-update-smash-fix.dpatch"
- epatch "${FILESDIR}/${P}-gentoo.patch"
- eautoreconf
-}
-
-src_compile() {
- local myconf="--enable-alias"
-
- if use postgres; then
- myconf="${myconf} --without-mysql --with-pgsql"
- else
- myconf="${myconf} --with-mysql"
- fi
-
- econf \
- $(use_enable nls) \
- $(use_enable debug) \
- $(use_enable static) \
- $(use_enable static static-build) \
- $(use_with ssl openssl) \
- $(use_with zlib) \
- ${myconf} || die
- emake || die
-}
-
-src_install() {
- emake DESTDIR="${D}" install || die
-
- dodoc AUTHORS BUGS ChangeLog NEWS README TODO
-
- if use postgres; then
- sed -e 's/__db__/postgresql/g' "${FILESDIR}/mydns.rc6" > "${T}/mydns.rc6" || die
- dodoc QUICKSTART.postgres
- else
- sed -e 's/__db__/mysql/g' "${FILESDIR}/mydns.rc6" > "${T}/mydns.rc6" || die
- dodoc QUICKSTART.mysql README.mysql
- fi
- newinitd "${T}/mydns.rc6" mydns || die
-}
-
-pkg_postinst() {
- elog
- elog "You should now run these commands:"
- elog
- elog "# /usr/sbin/mydns --dump-config > /etc/mydns.conf"
- elog "# chmod 0600 /etc/mydns.conf"
- if use postgres; then
- elog "# createdb mydns"
- elog "# /usr/sbin/mydns --create-tables | psql mydns"
- elog
- elog "to create the tables in the PostgreSQL-Database."
- elog "For more info see QUICKSTART.postgres."
- else
- elog "# mysqladmin -u <useruname> -p create mydns"
- elog "# /usr/sbin/mydns --create-tables | mysql -u <username> -p mydns"
- elog
- elog "to create the tables in the MySQL-Database."
- elog "For more info see QUICKSTART.mysql."
- fi
- elog
-}
diff --git a/net-dns/mydns/mydns-1.2.8.27.ebuild b/net-dns/mydns/mydns-1.2.8.27.ebuild
deleted file mode 100644
index a808a3d8515f..000000000000
--- a/net-dns/mydns/mydns-1.2.8.27.ebuild
+++ /dev/null
@@ -1,96 +0,0 @@
-# Copyright 1999-2011 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.27.ebuild,v 1.2 2011/05/17 16:09:22 hwoarang Exp $
-
-EAPI="3"
-inherit autotools confutils eutils
-
-DESCRIPTION="A DNS-Server which gets its data from a MySQL-/PostgreSQL-database"
-HOMEPAGE="http://www.mydns.pl/"
-SRC_URI="mirror://sourceforge/mydns-ng/${P}.tar.gz"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ~ppc ~sparc ~x86"
-IUSE="alias debug nls mysql postgres ssl static status zlib"
-
-RDEPEND="mysql? ( virtual/mysql )
- nls? ( virtual/libintl )
- postgres? ( dev-db/postgresql-base )
- ssl? ( dev-libs/openssl )
- zlib? ( sys-libs/zlib )
- virtual/libiconv"
-DEPEND="${RDEPEND}
- nls? ( sys-devel/gettext )
- sys-devel/bison"
-
-S="${WORKDIR}/${P%.*}"
-
-pkg_setup() {
- confutils_require_one mysql postgres
-}
-
-src_prepare() {
- epatch \
- "${FILESDIR}/${P}-m4.patch" \
- "${FILESDIR}/${P}-gentoo.patch"
- eautoreconf
-}
-
-src_configure() {
- econf \
- $(use_enable alias) \
- $(use_enable nls) \
- $(use_enable debug) \
- $(use_with mysql) \
- $(use_with postgres pgsql) \
- $(use_enable static) \
- $(use_enable static static-build) \
- $(use_enable status) \
- $(use_with ssl openssl) \
- $(use_with zlib) \
- --without-included-gettext || die
-}
-
-src_install() {
- emake DESTDIR="${D}" install || die
-
- dodoc AUTHORS BUGS ChangeLog NEWS README TODO contrib/admin.php contrib/stats.php contrib/create_domain.pl contrib/fix_rr_serial.pl contrib/MyDNS.pm contrib/README || die
-
- if use postgres; then
- sed -e 's/__db__/postgresql/g' "${FILESDIR}/mydns.rc6" > "${T}/mydns.rc6" || die
- dodoc QUICKSTART.postgres || die
- fi
- if use mysql; then
- sed -e 's/__db__/mysql/g' "${FILESDIR}/mydns.rc6" > "${T}/mydns.rc6" || die
- dodoc QUICKSTART.mysql README.mysql || die
- fi
- newinitd "${T}/mydns.rc6" mydns || die
-
- ## Avoid file collision
- rm -f "${ED}/usr/share/locale/locale.alias"
-
- # Install config file
- insinto /etc
- newins mydns.conf mydns.conf || die
- fowners root:root /etc/mydns.conf || die
- fperms 0600 /etc/mydns.conf || die
-}
-
-pkg_postinst() {
- if use postgres; then
- elog "# createdb mydns"
- elog "# /usr/sbin/mydns --create-tables | psql mydns"
- elog
- elog "to create the tables in the PostgreSQL-Database."
- elog "For more info see QUICKSTART.postgres."
- fi
- if use mysql; then
- elog "# mysqladmin -u <useruname> -p create mydns"
- elog "# /usr/sbin/mydns --create-tables | mysql -u <username> -p mydns"
- elog
- elog "to create the tables in the MySQL-Database."
- elog "For more info see QUICKSTART.mysql."
- fi
- elog
-}