1 |
swegener 09/01/31 18:39:35 |
2 |
|
3 |
Modified: ChangeLog |
4 |
Added: pdns-2.9.22.ebuild |
5 |
Log: |
6 |
Version bump. |
7 |
(Portage version: 2.2_rc23/cvs/Linux x86_64) |
8 |
|
9 |
Revision Changes Path |
10 |
1.60 net-dns/pdns/ChangeLog |
11 |
|
12 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-dns/pdns/ChangeLog?rev=1.60&view=markup |
13 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-dns/pdns/ChangeLog?rev=1.60&content-type=text/plain |
14 |
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-dns/pdns/ChangeLog?r1=1.59&r2=1.60 |
15 |
|
16 |
Index: ChangeLog |
17 |
=================================================================== |
18 |
RCS file: /var/cvsroot/gentoo-x86/net-dns/pdns/ChangeLog,v |
19 |
retrieving revision 1.59 |
20 |
retrieving revision 1.60 |
21 |
diff -u -r1.59 -r1.60 |
22 |
--- ChangeLog 22 Jan 2009 18:11:21 -0000 1.59 |
23 |
+++ ChangeLog 31 Jan 2009 18:39:35 -0000 1.60 |
24 |
@@ -1,6 +1,11 @@ |
25 |
# ChangeLog for net-dns/pdns |
26 |
# Copyright 2002-2009 Gentoo Foundation; Distributed under the GPL v2 |
27 |
-# $Header: /var/cvsroot/gentoo-x86/net-dns/pdns/ChangeLog,v 1.59 2009/01/22 18:11:21 swegener Exp $ |
28 |
+# $Header: /var/cvsroot/gentoo-x86/net-dns/pdns/ChangeLog,v 1.60 2009/01/31 18:39:35 swegener Exp $ |
29 |
+ |
30 |
+*pdns-2.9.22 (31 Jan 2009) |
31 |
+ |
32 |
+ 31 Jan 2009; Sven Wegener <swegener@g.o> +pdns-2.9.22.ebuild: |
33 |
+ Version bump. |
34 |
|
35 |
22 Jan 2009; Sven Wegener <swegener@g.o> |
36 |
+files/2.9.21.2-zone2ldap.patch, pdns-2.9.21.2.ebuild: |
37 |
|
38 |
|
39 |
|
40 |
1.1 net-dns/pdns/pdns-2.9.22.ebuild |
41 |
|
42 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-dns/pdns/pdns-2.9.22.ebuild?rev=1.1&view=markup |
43 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-dns/pdns/pdns-2.9.22.ebuild?rev=1.1&content-type=text/plain |
44 |
|
45 |
Index: pdns-2.9.22.ebuild |
46 |
=================================================================== |
47 |
# Copyright 1999-2009 Gentoo Foundation |
48 |
# Distributed under the terms of the GNU General Public License v2 |
49 |
# $Header: /var/cvsroot/gentoo-x86/net-dns/pdns/pdns-2.9.22.ebuild,v 1.1 2009/01/31 18:39:35 swegener Exp $ |
50 |
|
51 |
EAPI="2" |
52 |
|
53 |
inherit multilib eutils |
54 |
|
55 |
DESCRIPTION="The PowerDNS Daemon" |
56 |
SRC_URI="http://downloads.powerdns.com/releases/${P}.tar.gz" |
57 |
HOMEPAGE="http://www.powerdns.com/" |
58 |
LICENSE="GPL-2" |
59 |
SLOT="0" |
60 |
KEYWORDS="~amd64 ~x86" |
61 |
IUSE="debug doc ldap mysql postgres sqlite sqlite3 static tdb opendbx" |
62 |
|
63 |
DEPEND="mysql? ( virtual/mysql ) |
64 |
postgres? ( >=dev-cpp/libpqpp-4.0-r1 ) |
65 |
ldap? ( >=net-nds/openldap-2.0.27-r4 ) |
66 |
sqlite? ( =dev-db/sqlite-2.8* ) |
67 |
sqlite3? ( =dev-db/sqlite-3* ) |
68 |
opendbx? ( dev-db/opendbx ) |
69 |
tdb? ( dev-libs/tdb ) |
70 |
>=dev-libs/boost-1.31" |
71 |
|
72 |
RDEPEND="${DEPEND}" |
73 |
|
74 |
DEPEND="${DEPEND} |
75 |
doc? ( app-doc/doxygen )" |
76 |
|
77 |
src_unpack() { |
78 |
default |
79 |
cd "${S}" |
80 |
|
81 |
epatch "${FILESDIR}"/2.9.18-default-mysql-options.patch |
82 |
} |
83 |
|
84 |
src_configure() { |
85 |
local modules="pipe geo" myconf="" |
86 |
|
87 |
use mysql && modules="${modules} gmysql" |
88 |
use postgres && modules="${modules} gpgsql" |
89 |
use sqlite && modules="${modules} gsqlite" |
90 |
use sqlite3 && modules="${modules} gsqlite3" |
91 |
use opendbx && modules="${modules} opendbx" |
92 |
use ldap && modules="${modules} ldap" |
93 |
use tdb && modules="${modules} xdb" |
94 |
use debug && myconf="${myconf} --enable-verbose-logging" |
95 |
|
96 |
econf \ |
97 |
--sysconfdir=/etc/powerdns \ |
98 |
--libdir=/usr/$(get_libdir)/powerdns \ |
99 |
--disable-recursor \ |
100 |
--with-modules= \ |
101 |
--with-dynmodules="${modules}" \ |
102 |
--with-pgsql-includes=/usr/include \ |
103 |
--with-pgsql-lib=/usr/$(get_libdir) \ |
104 |
--with-mysql-lib=/usr/$(get_libdir) \ |
105 |
--with-sqlite-lib=/usr/$(get_libdir) \ |
106 |
--with-sqlite3-lib=/usr/$(get_libdir) \ |
107 |
$(use_enable static static-binaries) \ |
108 |
${myconf} \ |
109 |
|| die "econf failed" |
110 |
} |
111 |
|
112 |
src_compile() { |
113 |
default |
114 |
|
115 |
if use doc |
116 |
then |
117 |
emake -C codedocs codedocs || die "emake codedocs failed" |
118 |
fi |
119 |
} |
120 |
|
121 |
src_install () { |
122 |
make DESTDIR="${D}" install || die "make install failed" |
123 |
|
124 |
mv "${D}"/etc/powerdns/pdns.conf{-dist,} |
125 |
|
126 |
# set defaults: setuid=pdns, setgid=pdns |
127 |
sed -i \ |
128 |
-e 's/^# set\([ug]\)id=$/set\1id=pdns/g' \ |
129 |
"${D}"/etc/powerdns/pdns.conf |
130 |
|
131 |
doinitd "${FILESDIR}"/pdns |
132 |
|
133 |
keepdir /var/empty |
134 |
|
135 |
dodoc ChangeLog README TODO |
136 |
use doc && dohtml -r codedocs/html/. |
137 |
|
138 |
# Install development headers |
139 |
insinto /usr/include/pdns |
140 |
doins pdns/*.hh |
141 |
insinto /usr/include/pdns/backends/gsql |
142 |
doins pdns/backends/gsql/*.hh |
143 |
} |
144 |
|
145 |
pkg_preinst() { |
146 |
enewgroup pdns |
147 |
enewuser pdns -1 -1 /var/empty pdns |
148 |
} |
149 |
|
150 |
pkg_postinst() { |
151 |
elog |
152 |
elog "PowerDNS provides multiple instances support. You can create more instances" |
153 |
elog "by symlinking the pdns init script to another name." |
154 |
elog |
155 |
elog "The name must be in the format pdns.<suffix> and PowerDNS will use the" |
156 |
elog "/etc/powerdns/pdns-<suffix>.conf configuration file instead of the default." |
157 |
elog |
158 |
} |