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