forked from PowerDNS/pdns
-
Notifications
You must be signed in to change notification settings - Fork 0
/
pdns.spec
75 lines (66 loc) · 1.74 KB
/
pdns.spec
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
BuildRoot: /tmp/pdns
Name: pdns-static
Version: 3.3
Release: 1
Summary: extremely powerful and versatile nameserver
License: GPL
Distribution: Neutral
Vendor: PowerDNS.COM BV
Group: System/DNS
AutoReqProv: no
Requires: glibc >= 2.4
%define _rpmdir ../
%define _rpmfilename %%{NAME}-%%{VERSION}-%%{RELEASE}.%%{ARCH}.rpm
%description
PowerDNS is a versatile nameserver which supports a large number
of different backends ranging from simple zonefiles to relational
databases and load balancing/failover algorithms.
This RPM is statically compiled and should work on all Linux distributions.
It comes with support for MySQL, PostgreSQL, Bind zonefiles and the 'pipe
backend'.
%files
%defattr(-,root,root)
"/usr/sbin/pdns_server"
"/usr/bin/pdns_control"
"/usr/bin/zone2sql"
"/usr/bin/zone2json"
"/usr/bin/pdnssec"
#"/usr/bin/zone2ldap"
"/usr/man/man1/pdns_control.1"
"/usr/man/man1/pdns_server.1"
"/usr/man/man1/zone2sql.1"
"/usr/man/man1/pdnssec.1"
"/usr/share/doc/pdns/*.sql"
%dir "/etc/powerdns/"
%config(noreplace) "/etc/powerdns/pdns.conf"
%config "/etc/init.d/pdns"
%post
echo Remember to create a 'pdns' user before starting pdns
%package -n pdns-tools
Summary: extremely powerful and versatile nameserver
License: GPL
Distribution: Neutral
Vendor: PowerDNS.COM BV
Group: System/DNS
AutoReqProv: no
%description -n pdns-tools
These are the tools
%files -n pdns-tools
%defattr(-,root,root)
"/usr/bin/dnsbulktest"
"/usr/bin/dnsgram"
"/usr/bin/dnsreplay"
"/usr/bin/dnsscan"
"/usr/bin/dnsscope"
"/usr/bin/dnsdist"
"/usr/bin/dnstcpbench"
"/usr/bin/dnswasher"
"/usr/bin/notify"
"/usr/bin/nproxy"
"/usr/bin/nsec3dig"
"/usr/bin/saxfr"
"/usr/man/man1/dnsreplay.1"
"/usr/man/man1/dnsscope.1"
"/usr/man/man1/dnswasher.1"
"/usr/man/man1/dnstcpbench.1"
"/usr/man/man1/dnsdist.1"