From 2c8b400d0a3359097421ceaaa51972bdb1f031c3 Mon Sep 17 00:00:00 2001 From: Tim Jackson Date: Jan 29 2009 17:12:33 +0000 Subject: Initial import of bind-to-tinydns (bug #481564) --- diff --git a/.cvsignore b/.cvsignore index e69de29..567a659 100644 --- a/.cvsignore +++ b/.cvsignore @@ -0,0 +1 @@ +bind-to-tinydns-0.4.3.tar.gz diff --git a/bind-to-tinydns-0.4.3-cflags.patch b/bind-to-tinydns-0.4.3-cflags.patch new file mode 100644 index 0000000..1e5ed35 --- /dev/null +++ b/bind-to-tinydns-0.4.3-cflags.patch @@ -0,0 +1,14 @@ +Binary files bind-to-tinydns-0.4.3/bind-to-tinydns and bind-to-tinydns-0.4.3.new/bind-to-tinydns differ +diff -ruNp bind-to-tinydns-0.4.3/Makefile bind-to-tinydns-0.4.3.new/Makefile +--- bind-to-tinydns-0.4.3/Makefile 2003-06-01 14:21:34.000000000 -0300 ++++ bind-to-tinydns-0.4.3.new/Makefile 2009-01-27 12:20:44.000000000 -0200 +@@ -1,7 +1,8 @@ + CC=cc -Wall -g ++CFLAGS= + + bind-to-tinydns: bind-to-tinydns.c +- ${CC} -o bind-to-tinydns bind-to-tinydns.c ++ ${CC} $(CFLAGS) -o bind-to-tinydns bind-to-tinydns.c + + clean: + rm -f bind-to-tinydns diff --git a/bind-to-tinydns.spec b/bind-to-tinydns.spec new file mode 100644 index 0000000..9e28549 --- /dev/null +++ b/bind-to-tinydns.spec @@ -0,0 +1,52 @@ +Name: bind-to-tinydns +Version: 0.4.3 +Release: 4%{?dist} +Summary: Convert DNS zone files in BIND format to tinydns format + +Group: Applications/System +License: GPL+ +URL: http://www.erat.org/ +Source0: http://www.erat.org/files/bind-to-tinydns-%{version}.tar.gz +Patch0: bind-to-tinydns-0.4.3-cflags.patch +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) + +%description +This is a program that parses zone files used by the BIND DNS server and +converts them to the native format of the tinydns component of Dan Bernstein's +djbdns DNS server. + +%prep +%setup -q +%patch0 -p1 + + +%build +make %{?_smp_mflags} CFLAGS="%{optflags}" + + +%install +rm -rf $RPM_BUILD_ROOT +install -Dp -m 755 bind-to-tinydns $RPM_BUILD_ROOT%{_bindir}/bind-to-tinydns + +%clean +rm -rf $RPM_BUILD_ROOT + + +%files +%defattr(-,root,root,-) +%doc README COPYING +%{_bindir}/bind-to-tinydns + + +%changelog +* Tue Jan 27 2009 Tim Jackson 0.4.3-4 +- Compile stage now uses standard compiler flags + +* Tue Jan 27 2009 Tim Jackson 0.4.3-3 +- Correct License tag to GPL+ + +* Tue Jan 27 2009 Tim Jackson 0.4.3-2 +- Add missing source URL + +* Sat Sep 06 2008 Tim Jackson 0.4.3-1 +- Initial RPM build diff --git a/sources b/sources index e69de29..1353263 100644 --- a/sources +++ b/sources @@ -0,0 +1 @@ +92657532ac03c439c85156554351b154 bind-to-tinydns-0.4.3.tar.gz