1 |
commit: 6decc33359f0d0985d3809a67273c7fbd53a4304 |
2 |
Author: Austin English <wizardedit <AT> gentoo <DOT> org> |
3 |
AuthorDate: Thu Apr 28 22:47:48 2016 +0000 |
4 |
Commit: Austin English <wizardedit <AT> gentoo <DOT> org> |
5 |
CommitDate: Thu Apr 28 22:47:48 2016 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6decc333 |
7 |
|
8 |
net-dns/mydns: remove mydns-1.2.8.31 |
9 |
|
10 |
Package-Manager: portage-2.2.26 |
11 |
|
12 |
net-dns/mydns/mydns-1.2.8.31.ebuild | 85 ------------------------------------- |
13 |
1 file changed, 85 deletions(-) |
14 |
|
15 |
diff --git a/net-dns/mydns/mydns-1.2.8.31.ebuild b/net-dns/mydns/mydns-1.2.8.31.ebuild |
16 |
deleted file mode 100644 |
17 |
index 52e131e..0000000 |
18 |
--- a/net-dns/mydns/mydns-1.2.8.31.ebuild |
19 |
+++ /dev/null |
20 |
@@ -1,85 +0,0 @@ |
21 |
-# Copyright 1999-2015 Gentoo Foundation |
22 |
-# Distributed under the terms of the GNU General Public License v2 |
23 |
-# $Id$ |
24 |
- |
25 |
-EAPI=5 |
26 |
- |
27 |
-inherit autotools eutils |
28 |
- |
29 |
-DESCRIPTION="A DNS-Server which gets its data from a MySQL-/PostgreSQL-database" |
30 |
-HOMEPAGE="http://www.mydns.pl/" |
31 |
-SRC_URI="mirror://sourceforge/mydns-ng/${P}.tar.gz" |
32 |
- |
33 |
-LICENSE="GPL-2" |
34 |
-SLOT="0" |
35 |
-KEYWORDS="alpha amd64 ~hppa ia64 ~ppc sparc x86" |
36 |
-IUSE="alias debug nls mysql postgres ssl static status" |
37 |
- |
38 |
-RDEPEND="mysql? ( virtual/mysql ) |
39 |
- nls? ( virtual/libintl ) |
40 |
- postgres? ( dev-db/postgresql ) |
41 |
- ssl? ( dev-libs/openssl ) |
42 |
- virtual/libiconv" |
43 |
-DEPEND="${RDEPEND} |
44 |
- nls? ( >=sys-devel/gettext-0.12 ) |
45 |
- sys-devel/bison" |
46 |
- |
47 |
-REQUIRED_USE="^^ ( mysql postgres )" |
48 |
- |
49 |
-src_prepare() { |
50 |
- epatch "${FILESDIR}/${PN}-1.2.8.27-m4.patch" |
51 |
- eautoreconf |
52 |
- epatch "${FILESDIR}/${P}-texinfo.patch" |
53 |
-} |
54 |
- |
55 |
-src_configure() { |
56 |
- econf \ |
57 |
- $(use_enable alias) \ |
58 |
- $(use_enable nls) \ |
59 |
- $(use_enable debug) \ |
60 |
- $(use_with mysql) \ |
61 |
- $(use_with postgres pgsql) \ |
62 |
- $(use_enable static) \ |
63 |
- $(use_enable static static-build) \ |
64 |
- $(use_enable status) \ |
65 |
- $(use_with ssl openssl) \ |
66 |
- --without-included-gettext |
67 |
-} |
68 |
- |
69 |
-src_install() { |
70 |
- default |
71 |
- |
72 |
- dodoc AUTHORS BUGS ChangeLog QUICKSTART* NEWS README* TODO |
73 |
- docinto contrib |
74 |
- dodoc contrib/*.php contrib/*.pl contrib/*.pm contrib/README* |
75 |
- |
76 |
- newinitd "${FILESDIR}/mydns.initd" mydns |
77 |
- newconfd "${FILESDIR}/mydns.confd" mydns |
78 |
- |
79 |
- ## Avoid file collision |
80 |
- rm -f "${ED}/usr/share/locale/locale.alias" |
81 |
- |
82 |
- # Install config file |
83 |
- insinto /etc |
84 |
- newins mydns.conf mydns.conf |
85 |
- fowners root:root /etc/mydns.conf |
86 |
- fperms 0600 /etc/mydns.conf |
87 |
-} |
88 |
- |
89 |
-pkg_postinst() { |
90 |
- if use postgres; then |
91 |
- elog "# createdb mydns" |
92 |
- elog "# /usr/sbin/mydns --create-tables | psql mydns" |
93 |
- elog |
94 |
- elog "to create the tables in the PostgreSQL-Database." |
95 |
- elog "For more info see QUICKSTART.postgres." |
96 |
- fi |
97 |
- if use mysql; then |
98 |
- elog "# mysqladmin -u <useruname> -p create mydns" |
99 |
- elog "# /usr/sbin/mydns --create-tables | mysql -u <username> -p mydns" |
100 |
- elog |
101 |
- elog "to create the tables in the MySQL-Database." |
102 |
- elog "For more info see QUICKSTART.mysql." |
103 |
- fi |
104 |
- elog |
105 |
-} |