Compare commits
6 Commits
Author | SHA1 | Date |
---|---|---|
Fedora Release Engineering | 05e3dc8d6a | |
Bill Nottingham | 5ed1965a87 | |
Ruben Kerkhof | 4d0972f434 | |
Ruben Kerkhof | fd1e6e96fe | |
Ruben Kerkhof | ecb8f4c4d2 | |
Dennis Gilmore | 2a54958722 |
|
@ -1 +0,0 @@
|
|||
pdns-2.9.21.tar.gz
|
|
@ -0,0 +1 @@
|
|||
pdns-2.9.22.tar.gz
|
21
Makefile
21
Makefile
|
@ -1,21 +0,0 @@
|
|||
# Makefile for source rpm: pdns
|
||||
# $Id$
|
||||
NAME := pdns
|
||||
SPECFILE = $(firstword $(wildcard *.spec))
|
||||
|
||||
define find-makefile-common
|
||||
for d in common ../common ../../common ; do if [ -f $$d/Makefile.common ] ; then if [ -f $$d/CVS/Root -a -w $$/Makefile.common ] ; then cd $$d ; cvs -Q update ; fi ; echo "$$d/Makefile.common" ; break ; fi ; done
|
||||
endef
|
||||
|
||||
MAKEFILE_COMMON := $(shell $(find-makefile-common))
|
||||
|
||||
ifeq ($(MAKEFILE_COMMON),)
|
||||
# attept a checkout
|
||||
define checkout-makefile-common
|
||||
test -f CVS/Root && { cvs -Q -d $$(cat CVS/Root) checkout common && echo "common/Makefile.common" ; } || { echo "ERROR: I can't figure out how to checkout the 'common' module." ; exit -1 ; } >&2
|
||||
endef
|
||||
|
||||
MAKEFILE_COMMON := $(shell $(checkout-makefile-common))
|
||||
endif
|
||||
|
||||
include $(MAKEFILE_COMMON)
|
|
@ -1,66 +0,0 @@
|
|||
--- pdns-2.9.21/modules/ldapbackend/Makefile.in.avoid-version 2007-04-24 09:02:39.000000000 +0200
|
||||
+++ pdns-2.9.21/modules/ldapbackend/Makefile.in 2007-04-24 09:04:35.000000000 +0200
|
||||
@@ -214,7 +214,7 @@
|
||||
EXTRA_DIST = OBJECTFILES OBJECTLIBS
|
||||
libldapbackend_la_SOURCES = ldapbackend.cc ldapbackend.hh \
|
||||
powerldap.hh powerldap.cc utils.hh
|
||||
-
|
||||
+libldapbackend_la_LDFLAGS = -avoid-version
|
||||
libldapbackend_la_LIBADD = -lldap
|
||||
all: all-am
|
||||
|
||||
--- pdns-2.9.21/modules/pipebackend/Makefile.in.avoid-version 2007-04-24 09:04:56.000000000 +0200
|
||||
+++ pdns-2.9.21/modules/pipebackend/Makefile.in 2007-04-24 09:05:12.000000000 +0200
|
||||
@@ -217,7 +217,7 @@
|
||||
EXTRA_DIST = OBJECTFILES OBJECTLIBS backend.pl
|
||||
lib_LTLIBRARIES = libpipebackend.la
|
||||
libpipebackend_la_SOURCES = pipebackend.cc pipebackend.hh coprocess.cc coprocess.hh
|
||||
-libpipebackend_la_LDFLAGS = -module
|
||||
+libpipebackend_la_LDFLAGS = -module -avoid-version
|
||||
all: all-am
|
||||
|
||||
.SUFFIXES:
|
||||
--- pdns-2.9.21/modules/gpgsqlbackend/Makefile.in.avoid-version 2007-04-24 09:00:43.000000000 +0200
|
||||
+++ pdns-2.9.21/modules/gpgsqlbackend/Makefile.in 2007-04-24 09:01:19.000000000 +0200
|
||||
@@ -217,7 +217,7 @@
|
||||
spgsql.hh spgsql.cc
|
||||
|
||||
libgpgsqlbackend_la_LDFLAGS = @PGSQL_lib@ -Wl,-Bstatic -lpq \
|
||||
- -Wl,-Bdynamic
|
||||
+ -Wl,-Bdynamic -avoid-version
|
||||
|
||||
libgpgsqlbackend_la_LIBADD = -lssl -lcrypt -lcrypto
|
||||
all: all-am
|
||||
--- pdns-2.9.21/modules/gmysqlbackend/Makefile.in.avoid-version 2007-04-24 09:00:14.000000000 +0200
|
||||
+++ pdns-2.9.21/modules/gmysqlbackend/Makefile.in 2007-04-24 09:00:34.000000000 +0200
|
||||
@@ -216,7 +216,7 @@
|
||||
libgmysqlbackend_la_SOURCES = gmysqlbackend.cc gmysqlbackend.hh \
|
||||
smysql.hh smysql.cc
|
||||
|
||||
-libgmysqlbackend_la_LDFLAGS = -module -lmysqlclient
|
||||
+libgmysqlbackend_la_LDFLAGS = -module -lmysqlclient -avoid-version
|
||||
all: all-am
|
||||
|
||||
.SUFFIXES:
|
||||
--- pdns-2.9.21/modules/gsqlite3backend/Makefile.in.avoid-version 2007-04-24 09:02:09.000000000 +0200
|
||||
+++ pdns-2.9.21/modules/gsqlite3backend/Makefile.in 2007-04-24 09:02:24.000000000 +0200
|
||||
@@ -216,7 +216,7 @@
|
||||
libgsqlite3backend_la_SOURCES = gsqlite3backend.cc gsqlite3backend.hh \
|
||||
ssqlite3.hh ssqlite3.cc
|
||||
|
||||
-libgsqlite3backend_la_LDFLAGS = -module -lsqlite3
|
||||
+libgsqlite3backend_la_LDFLAGS = -module -lsqlite3 -avoid-version
|
||||
all: all-am
|
||||
|
||||
.SUFFIXES:
|
||||
--- pdns-2.9.21/modules/geobackend/Makefile.in.avoid-version 2007-04-24 08:58:20.000000000 +0200
|
||||
+++ pdns-2.9.21/modules/geobackend/Makefile.in 2007-04-24 08:59:44.000000000 +0200
|
||||
@@ -213,7 +213,7 @@
|
||||
EXTRA_DIST = OBJECTFILES OBJECTLIBS
|
||||
lib_LTLIBRARIES = libgeobackend.la
|
||||
libgeobackend_la_SOURCES = geobackend.cc geobackend.hh ippreftree.cc ippreftree.hh
|
||||
-libgeobackend_la_LDFLAGS = -module
|
||||
+libgeobackend_la_LDFLAGS = -module -avoid-version
|
||||
all: all-am
|
||||
|
||||
.SUFFIXES:
|
21
pdns.spec
21
pdns.spec
|
@ -1,15 +1,14 @@
|
|||
Summary: A modern, advanced and high performance authoritative-only nameserver
|
||||
Name: pdns
|
||||
Version: 2.9.21
|
||||
Release: 1%{?dist}
|
||||
Version: 2.9.22
|
||||
Release: 3%{?dist}
|
||||
|
||||
Group: System Environment/Daemons
|
||||
License: GPL
|
||||
License: GPLv2
|
||||
URL: http://powerdns.com
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
||||
Source0: http://downloads.powerdns.com/releases/%{name}-%{version}.tar.gz
|
||||
Patch0: %{name}-fixinit.patch
|
||||
Patch1: %{name}-avoid-version.patch
|
||||
|
||||
Requires(post): %{_sbindir}/useradd, /sbin/chkconfig
|
||||
Requires(preun): /sbin/service, /sbin/chkconfig
|
||||
|
@ -81,7 +80,6 @@ This package contains the SQLite backend for %{name}
|
|||
%prep
|
||||
%setup -q
|
||||
%patch0 -p1 -b .fixinit
|
||||
%patch1 -p1 -b .avoid-version
|
||||
|
||||
%build
|
||||
export CPPFLAGS="-DLDAP_DEPRECATED %{optflags}"
|
||||
|
@ -166,7 +164,7 @@ fi
|
|||
|
||||
%files backend-geo
|
||||
%defattr(-,root,root,-)
|
||||
%doc pdns/COPYING
|
||||
%doc pdns/COPYING modules/geobackend/README
|
||||
%{_libdir}/%{name}/libgeobackend.so
|
||||
|
||||
%files backend-ldap
|
||||
|
@ -181,7 +179,16 @@ fi
|
|||
|
||||
|
||||
%changelog
|
||||
* Tue Apr 24 2007 Ruben Kerkhof <ruben@rubenkerkhof.com> 2.9.21-1
|
||||
* Mon Jan 26 2009 Ruben Kerkhof <ruben@rubenkerkhof.com> 2.9.22-3
|
||||
- Upstream released new version
|
||||
|
||||
* Mon Nov 17 2008 Ruben Kerkhof <ruben@rubenkerkhof.com> 2.9.21.2-1
|
||||
- Upstream released new version
|
||||
|
||||
* Wed Aug 06 2008 Ruben Kerkhof <ruben@rubenkerkhof.com> 2.9.21.1-1
|
||||
- CVE-2008-3337
|
||||
|
||||
* Thu May 1 2007 Ruben Kerkhof <ruben@rubenkerkhof.com> 2.9.21-1
|
||||
- Upstream released 2.9.21
|
||||
- Enabled new SQLite backend
|
||||
* Thu Apr 10 2007 <ruben@rubenkerkhof.com> 2.9.20-9
|
||||
|
|
Loading…
Reference in New Issue