From 71740408ee3752ed8eb4d52b858e4a05d64cb542 Mon Sep 17 00:00:00 2001 From: Nagy Karoly Gabriel Date: Wed, 2 Feb 2011 17:31:04 +0100 Subject: [PATCH] pdns: Added pdns 2.9.22 - An authoritative DNS server --- network/pdns/pdns-2.9.22-gcc44.patch | 41 ++++++++++++++++++++++++++++ network/pdns/pdns.cache | 30 ++++++++++++++++++++ network/pdns/pdns.conf | 29 ++++++++++++++++++++ network/pdns/pdns.desc | 37 +++++++++++++++++++++++++ network/pdns/postsysfiles.in | 17 ++++++++++++ 5 files changed, 154 insertions(+) create mode 100644 network/pdns/pdns-2.9.22-gcc44.patch create mode 100644 network/pdns/pdns.cache create mode 100644 network/pdns/pdns.conf create mode 100644 network/pdns/pdns.desc create mode 100644 network/pdns/postsysfiles.in diff --git a/network/pdns/pdns-2.9.22-gcc44.patch b/network/pdns/pdns-2.9.22-gcc44.patch new file mode 100644 index 000000000..aa41e7cba --- /dev/null +++ b/network/pdns/pdns-2.9.22-gcc44.patch @@ -0,0 +1,41 @@ +# --- SDE-COPYRIGHT-NOTE-BEGIN --- +# This copyright note is auto-generated by ./scripts/Create-CopyPatch. +# +# Filename: package/.../pdns/pdns-2.9.22-gcc44.patch +# Copyright (C) 2011 The OpenSDE Project +# +# More information can be found in the files COPYING and README. +# +# This patch file is dual-licensed. It is available under the license the +# patched project is licensed under, as long as it is an OpenSource license +# as defined at http://www.opensource.org/ (e.g. BSD, X11) or under the terms +# of the GNU General Public License as published by the Free Software +# Foundation; either version 2 of the License, or (at your option) any later +# version. +# --- SDE-COPYRIGHT-NOTE-END --- + +This is a Gentoo patch from: +http://sources.gentoo.org/cgi-bin/viewvc.cgi/gentoo-x86/net-dns/pdns/files/pdns-2.9.22-gcc44.patch?revision=1.1 +diff -ur pdns-2.9.22.orig/pdns/dnsparser.cc pdns-2.9.22/pdns/dnsparser.cc +--- pdns-2.9.22.orig/pdns/dnsparser.cc 2008-11-15 22:32:46.000000000 +0200 ++++ pdns-2.9.22/pdns/dnsparser.cc 2009-07-06 22:09:02.000000000 +0300 +@@ -16,6 +16,7 @@ + Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + */ + ++#include + #include "dnsparser.hh" + #include "dnswriter.hh" + #include +diff -ur pdns-2.9.22.orig/pdns/rcpgenerator.cc pdns-2.9.22/pdns/rcpgenerator.cc +--- pdns-2.9.22.orig/pdns/rcpgenerator.cc 2008-11-15 23:20:27.000000000 +0200 ++++ pdns-2.9.22/pdns/rcpgenerator.cc 2009-07-06 22:07:26.000000000 +0300 +@@ -16,6 +16,7 @@ + Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + */ + ++#include + #include "rcpgenerator.hh" + #include "dnsparser.hh" + #include "misc.hh" + diff --git a/network/pdns/pdns.cache b/network/pdns/pdns.cache new file mode 100644 index 000000000..3274de078 --- /dev/null +++ b/network/pdns/pdns.cache @@ -0,0 +1,30 @@ + +[TIMESTAMP] 1294335726 Thu Jan 6 18:42:06 2011 +[BUILDTIME] 40 (5) +[SIZE] 2.06 MB, 24 files + +[DEP] bash +[DEP] binutils +[DEP] boost +[DEP] bzip2 +[DEP] coreutils +[DEP] diffutils +[DEP] fhs +[DEP] findutils +[DEP] flex +[DEP] gawk +[DEP] gcc +[DEP] glibc +[DEP] grep +[DEP] linux-header +[DEP] m4 +[DEP] make +[DEP] openssl +[DEP] patch +[DEP] postgresql +[DEP] runit +[DEP] sed +[DEP] sysfiles +[DEP] tar +[DEP] util-linux-ng +[DEP] zlib diff --git a/network/pdns/pdns.conf b/network/pdns/pdns.conf new file mode 100644 index 000000000..735088005 --- /dev/null +++ b/network/pdns/pdns.conf @@ -0,0 +1,29 @@ +# --- SDE-COPYRIGHT-NOTE-BEGIN --- +# This copyright note is auto-generated by ./scripts/Create-CopyPatch. +# +# Filename: package/.../pdns/pdns.conf +# Copyright (C) 2011 The OpenSDE Project +# +# More information can be found in the files COPYING and README. +# +# This program is free software; you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation; version 2 of the License. A copy of the +# GNU General Public License can be found in the file COPYING. +# --- SDE-COPYRIGHT-NOTE-END --- + +cleanconfopt=0 +modules="pipe geo" + +if pkginstalled postgresql ;then + modules="gpgsql ${modules}" + pkgprefix -t postgresql + var_append confopt ' ' '--with-pgsql-includes=$root$( pkgprefix includedir postgresql )' + var_append confopt ' ' '--with-pgsql-lib=$root$( pkgprefix libdir postgresql )' +fi + +var_append confopt ' ' '--with-modules=' +var_append confopt ' ' '--sysconfdir=/etc/powerdns' +var_append confopt ' ' '--disable-recursor' +var_append confopt ' ' '--with-dynmodules=\"${modules}\"' + diff --git a/network/pdns/pdns.desc b/network/pdns/pdns.desc new file mode 100644 index 000000000..28391f6a3 --- /dev/null +++ b/network/pdns/pdns.desc @@ -0,0 +1,37 @@ +[COPY] --- SDE-COPYRIGHT-NOTE-BEGIN --- +[COPY] This copyright note is auto-generated by ./scripts/Create-CopyPatch. +[COPY] +[COPY] Filename: package/.../pdns/pdns.desc +[COPY] Copyright (C) 2011 The OpenSDE Project +[COPY] +[COPY] More information can be found in the files COPYING and README. +[COPY] +[COPY] This program is free software; you can redistribute it and/or modify +[COPY] it under the terms of the GNU General Public License as published by +[COPY] the Free Software Foundation; version 2 of the License. A copy of the +[COPY] GNU General Public License can be found in the file COPYING. +[COPY] --- SDE-COPYRIGHT-NOTE-END --- + +[I] An authoritative DNS server + +[T] The PowerDNS Authoritative Server is the only solution that enables +[T] authoritative DNS service from all major databases, +[T] including but not limited to: MySQL PostgreSQL Oracle SQLite LDAP +[T] DB2 Sybase Microsoft SQL Server ODBC driver Geographical Information System +[T] Additionally, The PowerDNS Authoritative Server can read files from +[T] industry standard 'BIND' configuration and zone files. + +[U] http://www.powerdns.com + +[A] PowerDNS.COM BV +[M] Nagy Karoly Gabriel + +[C] extra/network + +[L] GPL +[S] Stable +[V] 2.9.22 +[P] X -----5---9 800.000 + + +[D] 3541165228 pdns-2.9.22.tar.gz http://downloads.powerdns.com/releases/ diff --git a/network/pdns/postsysfiles.in b/network/pdns/postsysfiles.in new file mode 100644 index 000000000..4f1e43da8 --- /dev/null +++ b/network/pdns/postsysfiles.in @@ -0,0 +1,17 @@ +# --- SDE-COPYRIGHT-NOTE-BEGIN --- +# This copyright note is auto-generated by ./scripts/Create-CopyPatch. +# +# Filename: package/.../pdns/postsysfiles.in +# Copyright (C) 2011 The OpenSDE Project +# +# More information can be found in the files COPYING and README. +# +# This program is free software; you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation; version 2 of the License. A copy of the +# GNU General Public License can be found in the file COPYING. +# --- SDE-COPYRIGHT-NOTE-END --- + +safe_groupadd pdns 107 +safe_useradd pdns 107 107 "PowerDNS" /var/empty /bin/false "*" +