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
|
--- maradns-1.4.01/README.RedHat 2007-10-19 08:54:15.000000000 -0500
+++ maradns-1.4.02/README.RedHat 2009-12-23 14:27:43.000000000 -0600
@@ -1,19 +1,16 @@
-Releases of MaraDNS 1.3.07 no longer include RPM files. The reason is
-because my current computer does not have a system for building RPM
-files; I am using my older computer to build the .rpm files, which runs
-CentOS 3.
+Releases of MaraDNS no longer include RPM files.
Instead, I have a script update the .spec file with every release of
MaraDNS, and rpm users can build their own .rpm files thusly:
- * Copy the file build/maradns-version.spec to the directory
+ * Copy the file build/maradns-{version}.spec to the directory
/usr/src/redhat/SPECS.
- * Copy the maradns-version.tar.bz2 file to /usr/src/redhat/SOURCES
+ * Copy the maradns-{version}.tar.bz2 file to /usr/src/redhat/SOURCES
* Become root and enter the /usr/src/redhat/SPECS
- * As root, do this command: rpmbuild -ba maradns-version.spec.
+ * As root, do this command: rpmbuild -ba maradns-{version}.spec
* You should now have .rpm files in /usr/src/redhat/SRPMS/ and
/usr/src/redhat/RPMS/i386 (or whatever)
@@ -23,4 +20,3 @@
possible recursive DNS server; my current project is a complete rewrite
of the recursive code.
-
--- maradns-1.4.01/tools/misc/make.maradns.spec 2007-10-19 08:54:14.000000000 -0500
+++ maradns-1.4.02/tools/misc/make.maradns.spec 2009-12-23 14:22:46.000000000 -0600
@@ -15,7 +15,7 @@
Release: 1
License: BSD (Two-clause)
Group: Networking/Daemons
-Source: http://www.maradns.org/download/1.3/${VERSION}/maradns-${VERSION}.tar.bz2
+Source: http://www.maradns.org/download/1.4/${VERSION}/maradns-${VERSION}.tar.bz2
#Source1: maradns-${VERSION}.tar.bz2.sha.asc
#Source2: maradns-${VERSION}.tar.bz2.rmd.asc
Patch0: maradns-1.1.59-rpm.patch
@@ -80,6 +80,8 @@
/usr/man/man5/mararc.5*
/etc/rc.d/rc3.d/S60maradns
/etc/rc.d/rc5.d/S60maradns
+/etc/rc.d/rc3.d/K60maradns.zoneserver
+/etc/rc.d/rc5.d/K60maradns.zoneserver
/etc/maradns/logger
%config /etc/mararc
%config /etc/maradns/db.example.net
@@ -118,6 +120,9 @@
fi
%changelog
+* Wed Dec 23 2009 Sam Trenholme <sam-dq7j5jg@samiam.org>
+- RPM spec file updated to build RPM with MaraDNS 1.4 in CentOS 5
+
* Sat Oct 13 2007 Sam Trenholme <sam+i55e6bt@chaosring.org>
- RPM spec file now automatically generated by a script
|