/[smeserver]/smeserver-pdns_recursor/F/smeserver-pdns_recursor.spec
ViewVC logotype

Contents of /smeserver-pdns_recursor/F/smeserver-pdns_recursor.spec

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph


Revision 1.2 - (show annotations) (download)
Thu Aug 24 05:33:43 2006 UTC (17 years, 8 months ago) by charliebrady
Branch: MAIN
Changes since 1.1: +54 -29 lines
Thu Aug 24 01:33:28 2006                      Charlie Brady (charlieb)

See changelog
----------------------------------------------------------------------

1 Summary: SME server module to configure pdns_recursor
2 %define name smeserver-pdns_recursor
3 Name: %{name}
4 %define version 0.0.1
5 %define release 02
6 Version: %{version}
7 Release: %{release}
8 License: GPL
9 Group: System Environment/Base
10 Source: %{name}-%{version}.tar.gz
11 Patch0: smeserver-pdns_recursor-0.0.1.configuration.patch
12 Packager: Charlie brady <charlieb@e-smith.com>
13 BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot
14 BuildArchitectures: noarch
15 Requires: e-smith-lib >= 1.15.1-19
16 Requires: pdns_recursor
17 Obsoletes: e-smith-dnscache
18 Conflicts: e-smith-dnscache
19 BuildRequires: e-smith-devtools
20 AutoReqProv: no
21
22 %description
23 SME server enhancement to configure and run PowerDNS recursor as a
24 caching nameserver
25
26 %changelog
27 * Thu Aug 24 2006 Charlie Brady <charlieb@e-smith.com> 0.0.1-02
28 - Add configuration scripts and templates
29
30 * Wed Aug 23 2006 Charlie Brady <charlieb@e-smith.com> 0.0.1-01
31 - Initial
32
33 %prep
34 %setup
35 %patch0 -p1
36
37 %build
38 perl createlinks
39 rm -f %{name}-%{version}-%{release}-filelist
40 touch root/var/service/pdns_recursor/down
41
42 %pre
43 /sbin/e-smith/create-system-user dnscache 410 \
44 "DNScache user" /var/service/dnscache /bin/false
45 /sbin/e-smith/create-system-user dnslog 411 \
46 "DNS log user" /var/log /bin/false
47
48 %install
49 rm -rf $RPM_BUILD_ROOT
50 (cd root ; find . -depth -print | cpio -dump $RPM_BUILD_ROOT)
51 /sbin/e-smith/genfilelist $RPM_BUILD_ROOT \
52 --dir /var/service/pdns_recursor 'attr(0755,root,root)' \
53 --dir /var/service/pdns_recursor/log 'attr(0755,root,root)' \
54 --file /var/service/pdns_recursor/run 'attr(0750,root,root)' \
55 --file /var/service/pdns_recursor/log/run 'attr(0750,root,root)' \
56 --dir /var/log/pdns_recursor 'attr(02755,dnslog,dnslog)' \
57 > %{name}-%{version}-%{release}-filelist
58 echo "%doc COPYING" >> %{name}-%{version}-%{release}-filelist
59
60 %clean
61 rm -rf $RPM_BUILD_ROOT
62
63 %files -f %{name}-%{version}-%{release}-filelist
64 %defattr(-,root,root)

admin@koozali.org
ViewVC Help
Powered by ViewVC 1.2.1 RSS 2.0 feed