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