7 |
%define name djbdns |
%define name djbdns |
8 |
Name: %{name} |
Name: %{name} |
9 |
%define version 1.05 |
%define version 1.05 |
10 |
%define release 3 |
%define release 4 |
11 |
Version: %{version} |
Version: %{version} |
12 |
Release: %{release}%{?dist} |
Release: %{release}%{?dist} |
13 |
License: Daniel J. Bernstein |
License: Public Domain |
14 |
Group: Networking/Daemons |
Group: Networking/Daemons |
15 |
Source: http://cr.yp.to/%{name}/%{name}-%{version}.tar.gz |
Source: http://cr.yp.to/%{name}/%{name}-%{version}.tar.gz |
16 |
URL: http://cr.yp.to/%{name}.html |
URL: http://cr.yp.to/%{name}.html |
17 |
Patch0: %{name}-%{version}.patch.2001022000 |
Patch0: %{name}-%{version}.patch.2001022000 |
18 |
|
Patch1: dns_transmit-bug.patch |
19 |
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot |
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot |
20 |
Provides: djbdns |
Provides: djbdns |
21 |
AutoReqProv: no |
AutoReqProv: no |
50 |
|
|
51 |
- The dnsq and dnstrace programs are DNS debugging tools. |
- The dnsq and dnstrace programs are DNS debugging tools. |
52 |
|
|
53 |
|
djbdns was written by Daniel J Bernstein, and was placed into the public |
54 |
|
domain on Dec 28, 2007. |
55 |
|
|
56 |
%changelog |
%changelog |
57 |
|
* Thu Jan 10 2008 Charlie Brady <charlieb@e-smith.com> 1.05-4 |
58 |
|
- Patch around TCP bug: http://alkemio.org/dns_transmit-bug.html |
59 |
|
- Change license to "Public Domain' - http://cr.yp.to/distributors.html |
60 |
|
|
61 |
* Sun Apr 29 2007 Shad L. Lords <slords@mail.com> |
* Sun Apr 29 2007 Shad L. Lords <slords@mail.com> |
62 |
- Clean up spec so package can be built by koji/plague |
- Clean up spec so package can be built by koji/plague |
63 |
|
|
90 |
mkdir -p ./root/usr |
mkdir -p ./root/usr |
91 |
mkdir -p ./root/etc |
mkdir -p ./root/etc |
92 |
|
|
93 |
|
%patch1 -p1 |
94 |
|
|
95 |
%build |
%build |
96 |
echo "gcc -O2 -Wall --include /usr/include/errno.h" > conf-cc |
echo "gcc -O2 -Wall --include /usr/include/errno.h" > conf-cc |
97 |
echo "gcc -s -Os -pipe" > conf-ld |
echo "gcc -s -Os -pipe" > conf-ld |