1 |
matsuu 11/12/04 02:17:25 |
2 |
|
3 |
Modified: ChangeLog |
4 |
Added: mydns-1.2.8.31.ebuild |
5 |
Log: |
6 |
Version bumped, bug #389331. |
7 |
|
8 |
(Portage version: 2.1.10.29/cvs/Linux x86_64) |
9 |
|
10 |
Revision Changes Path |
11 |
1.37 net-dns/mydns/ChangeLog |
12 |
|
13 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-dns/mydns/ChangeLog?rev=1.37&view=markup |
14 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-dns/mydns/ChangeLog?rev=1.37&content-type=text/plain |
15 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-dns/mydns/ChangeLog?r1=1.36&r2=1.37 |
16 |
|
17 |
Index: ChangeLog |
18 |
=================================================================== |
19 |
RCS file: /var/cvsroot/gentoo-x86/net-dns/mydns/ChangeLog,v |
20 |
retrieving revision 1.36 |
21 |
retrieving revision 1.37 |
22 |
diff -u -r1.36 -r1.37 |
23 |
--- ChangeLog 17 May 2011 16:09:22 -0000 1.36 |
24 |
+++ ChangeLog 4 Dec 2011 02:17:25 -0000 1.37 |
25 |
@@ -1,6 +1,12 @@ |
26 |
# ChangeLog for net-dns/mydns |
27 |
# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2 |
28 |
-# $Header: /var/cvsroot/gentoo-x86/net-dns/mydns/ChangeLog,v 1.36 2011/05/17 16:09:22 hwoarang Exp $ |
29 |
+# $Header: /var/cvsroot/gentoo-x86/net-dns/mydns/ChangeLog,v 1.37 2011/12/04 02:17:25 matsuu Exp $ |
30 |
+ |
31 |
+*mydns-1.2.8.31 (04 Dec 2011) |
32 |
+ |
33 |
+ 04 Dec 2011; MATSUU Takuto <matsuu@g.o> +mydns-1.2.8.31.ebuild, |
34 |
+ +files/mydns.confd, +files/mydns.initd: |
35 |
+ Version bumped, bug #389331. |
36 |
|
37 |
17 May 2011; Markos Chandras <hwoarang@g.o> mydns-1.2.8.27.ebuild, |
38 |
+files/mydns-1.2.8.27-gentoo.patch, +files/mydns-1.2.8.27-m4.patch: |
39 |
|
40 |
|
41 |
|
42 |
1.1 net-dns/mydns/mydns-1.2.8.31.ebuild |
43 |
|
44 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-dns/mydns/mydns-1.2.8.31.ebuild?rev=1.1&view=markup |
45 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-dns/mydns/mydns-1.2.8.31.ebuild?rev=1.1&content-type=text/plain |
46 |
|
47 |
Index: mydns-1.2.8.31.ebuild |
48 |
=================================================================== |
49 |
# Copyright 1999-2011 Gentoo Foundation |
50 |
# Distributed under the terms of the GNU General Public License v2 |
51 |
# $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 $ |
52 |
|
53 |
EAPI="4" |
54 |
inherit autotools confutils eutils |
55 |
|
56 |
DESCRIPTION="A DNS-Server which gets its data from a MySQL-/PostgreSQL-database" |
57 |
HOMEPAGE="http://www.mydns.pl/" |
58 |
SRC_URI="mirror://sourceforge/mydns-ng/${P}.tar.gz" |
59 |
|
60 |
LICENSE="GPL-2" |
61 |
SLOT="0" |
62 |
KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ~ppc ~sparc ~x86" |
63 |
IUSE="alias debug nls mysql postgres ssl static status" |
64 |
|
65 |
RDEPEND="mysql? ( virtual/mysql ) |
66 |
nls? ( virtual/libintl ) |
67 |
postgres? ( dev-db/postgresql-base ) |
68 |
ssl? ( dev-libs/openssl ) |
69 |
virtual/libiconv" |
70 |
DEPEND="${RDEPEND} |
71 |
nls? ( >=sys-devel/gettext-0.12 ) |
72 |
sys-devel/bison" |
73 |
|
74 |
pkg_setup() { |
75 |
confutils_require_one mysql postgres |
76 |
} |
77 |
|
78 |
src_prepare() { |
79 |
epatch "${FILESDIR}/${PN}-1.2.8.27-m4.patch" |
80 |
eautoreconf |
81 |
} |
82 |
|
83 |
src_configure() { |
84 |
econf \ |
85 |
$(use_enable alias) \ |
86 |
$(use_enable nls) \ |
87 |
$(use_enable debug) \ |
88 |
$(use_with mysql) \ |
89 |
$(use_with postgres pgsql) \ |
90 |
$(use_enable static) \ |
91 |
$(use_enable static static-build) \ |
92 |
$(use_enable status) \ |
93 |
$(use_with ssl openssl) \ |
94 |
--without-included-gettext || die |
95 |
} |
96 |
|
97 |
src_install() { |
98 |
default |
99 |
|
100 |
dodoc AUTHORS BUGS ChangeLog QUICKSTART* NEWS README* TODO |
101 |
docinto contrib |
102 |
dodoc contrib/*.php contrib/*.pl contrib/*.pm contrib/README* |
103 |
|
104 |
newinitd "${FILESDIR}/mydns.initd" mydns |
105 |
newconfd "${FILESDIR}/mydns.confd" mydns |
106 |
|
107 |
## Avoid file collision |
108 |
rm -f "${ED}/usr/share/locale/locale.alias" |
109 |
|
110 |
# Install config file |
111 |
insinto /etc |
112 |
newins mydns.conf mydns.conf |
113 |
fowners root:root /etc/mydns.conf |
114 |
fperms 0600 /etc/mydns.conf |
115 |
} |
116 |
|
117 |
pkg_postinst() { |
118 |
if use postgres; then |
119 |
elog "# createdb mydns" |
120 |
elog "# /usr/sbin/mydns --create-tables | psql mydns" |
121 |
elog |
122 |
elog "to create the tables in the PostgreSQL-Database." |
123 |
elog "For more info see QUICKSTART.postgres." |
124 |
fi |
125 |
if use mysql; then |
126 |
elog "# mysqladmin -u <useruname> -p create mydns" |
127 |
elog "# /usr/sbin/mydns --create-tables | mysql -u <username> -p mydns" |
128 |
elog |
129 |
elog "to create the tables in the MySQL-Database." |
130 |
elog "For more info see QUICKSTART.mysql." |
131 |
fi |
132 |
elog |
133 |
} |