This commit is contained in:
commit
450095bd72
23
.gitattributes
vendored
Normal file
23
.gitattributes
vendored
Normal file
@ -0,0 +1,23 @@
|
||||
## Default LFS
|
||||
*.7z filter=lfs diff=lfs merge=lfs -text
|
||||
*.bsp filter=lfs diff=lfs merge=lfs -text
|
||||
*.bz2 filter=lfs diff=lfs merge=lfs -text
|
||||
*.gem filter=lfs diff=lfs merge=lfs -text
|
||||
*.gz filter=lfs diff=lfs merge=lfs -text
|
||||
*.jar filter=lfs diff=lfs merge=lfs -text
|
||||
*.lz filter=lfs diff=lfs merge=lfs -text
|
||||
*.lzma filter=lfs diff=lfs merge=lfs -text
|
||||
*.obscpio filter=lfs diff=lfs merge=lfs -text
|
||||
*.oxt filter=lfs diff=lfs merge=lfs -text
|
||||
*.pdf filter=lfs diff=lfs merge=lfs -text
|
||||
*.png filter=lfs diff=lfs merge=lfs -text
|
||||
*.rpm filter=lfs diff=lfs merge=lfs -text
|
||||
*.tbz filter=lfs diff=lfs merge=lfs -text
|
||||
*.tbz2 filter=lfs diff=lfs merge=lfs -text
|
||||
*.tgz filter=lfs diff=lfs merge=lfs -text
|
||||
*.ttf filter=lfs diff=lfs merge=lfs -text
|
||||
*.txz filter=lfs diff=lfs merge=lfs -text
|
||||
*.whl filter=lfs diff=lfs merge=lfs -text
|
||||
*.xz filter=lfs diff=lfs merge=lfs -text
|
||||
*.zip filter=lfs diff=lfs merge=lfs -text
|
||||
*.zst filter=lfs diff=lfs merge=lfs -text
|
1
.gitignore
vendored
Normal file
1
.gitignore
vendored
Normal file
@ -0,0 +1 @@
|
||||
.osc
|
3
dnsmasq-2.35.tar.gz
Normal file
3
dnsmasq-2.35.tar.gz
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:af29bdb1c669b44b32bcf6f9d531f83100b0eb36716d862ebac1862c0e6aefa7
|
||||
size 256122
|
174
dnsmasq.changes
Normal file
174
dnsmasq.changes
Normal file
@ -0,0 +1,174 @@
|
||||
-------------------------------------------------------------------
|
||||
Mon Oct 30 09:28:53 CET 2006 - ug@suse.de
|
||||
|
||||
- version 2.35
|
||||
- better performance on parsing huge /etc/hosts files
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Oct 17 09:14:10 CEST 2006 - ug@suse.de
|
||||
|
||||
- version 2.34
|
||||
- Tweak network-determination code
|
||||
- Improve handling of high DNS loads
|
||||
- Fixed intermittent infinite loop when re-reading
|
||||
/etc/ethers after SIGHUP
|
||||
- Provide extra information to the lease-change script
|
||||
- Run the lease change script as root
|
||||
- Add contrib/port-forward/* which is a script to set up
|
||||
port-forwards using the DHCP lease-change script
|
||||
- Fix unaligned access problem
|
||||
- Fixed problem with DHCPRELEASE
|
||||
- Updated French translation
|
||||
- Upgraded the name hash function in the DNS cache
|
||||
- Added --clear-on-reload flag
|
||||
- Treat a nameserver address of 0.0.0.0 as "nothing"
|
||||
- Added Webmin module in contrib/webmin
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Aug 11 10:17:41 CEST 2006 - ug@suse.de
|
||||
|
||||
- init-script more LSB conform
|
||||
patch by Matthias Andree
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Aug 7 09:10:16 CEST 2006 - ug@suse.de
|
||||
|
||||
- version 2.33
|
||||
- Provide extra information to lease-change script
|
||||
- Fix breakage with some DHCP relay implementations
|
||||
- compilation warning fixes
|
||||
- minor DNS and DHCP fixes and enhancements
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Jun 12 13:49:39 CEST 2006 - ug@suse.de
|
||||
|
||||
- version 2.32
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed May 17 13:51:37 CEST 2006 - ug@suse.de
|
||||
|
||||
- version 2.31
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Jan 25 21:35:31 CET 2006 - mls@suse.de
|
||||
|
||||
- converted neededforbuild to BuildRequires
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Jan 23 14:45:47 CET 2006 - ug@suse.de
|
||||
|
||||
- Fixed crash when attempting to send a DHCP NAK to a host
|
||||
which believes it has a lease on an unknown network.
|
||||
That bug was invented in 2.25
|
||||
- version 2.26
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Jan 16 12:29:50 CET 2006 - ug@suse.de
|
||||
|
||||
- moved dnsmasq.no to dnsmasq.np
|
||||
see bug #42748
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Jan 16 10:15:13 CET 2006 - ug@suse.de
|
||||
|
||||
- version update to 2.25
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Nov 28 11:57:20 CET 2005 - ug@suse.de
|
||||
|
||||
- version update to 2.24
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Oct 17 14:41:02 CEST 2005 - ug@suse.de
|
||||
|
||||
- "-fno-strict-aliasing" now
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Oct 12 17:02:29 CEST 2005 - ug@suse.de
|
||||
|
||||
- version update to 2.23
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Aug 24 10:26:55 CEST 2005 - ug@suse.de
|
||||
|
||||
- Fix DNS query forwarding for empty queries and forward
|
||||
queries even when the recursion-desired bit is clear.
|
||||
This allows "dig +trace" to work
|
||||
Bug #106717
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Aug 5 10:38:00 CEST 2005 - cthiel@suse.de
|
||||
|
||||
- update to version 2.22
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Apr 13 14:04:44 CEST 2005 - mls@suse.de
|
||||
|
||||
- fix slp registration
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Jan 24 10:56:13 CET 2005 - ug@suse.de
|
||||
|
||||
- version update from 2.19 to 2.20
|
||||
- Allow more than one instance of dnsmasq to run on a
|
||||
machine, each providing DHCP service on a different
|
||||
interface
|
||||
- Protect against overlong names and overlong
|
||||
labels in configuration and from DHCP.
|
||||
- Fix interesting corner case in CNAME handling. This occurs
|
||||
when a CNAME has a target which "shadowed" by a name in
|
||||
/etc/hosts or from DHCP
|
||||
- Added support for SRV records
|
||||
- Fixed sign confusion in the vendor-id matching code
|
||||
- Added the ability to match the netid tag in a
|
||||
dhcp-range
|
||||
- Added preference values for MX records
|
||||
- Added the --localise-queries option.
|
||||
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Jan 21 10:33:00 CET 2005 - ug@suse.de
|
||||
|
||||
- version update to 2.19
|
||||
- minor fixes in IPV6 and DHCP Code
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Nov 26 13:53:00 CET 2004 - ug@suse.de
|
||||
|
||||
- version update to 2.18
|
||||
- lots of DHCP fixes
|
||||
- some IPV6 fixes
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Nov 19 15:50:11 CET 2004 - ug@suse.de
|
||||
|
||||
- SLP support via /etc/slp.reg.d/dnsmasq.reg file added
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Aug 20 10:52:05 CEST 2004 - ug@suse.de
|
||||
|
||||
- version update from 2.11 to 2.13
|
||||
- Added extra checks to ensure that DHCP created DNS entries
|
||||
cannot generate multiple DNS address->name entries.
|
||||
- Don't set the the filterwin2k option in the example config
|
||||
file and add warnings that is breaks Kerberos.
|
||||
- Log types of incoming queries as well as source and domain.
|
||||
- Log NODATA replies generated as a result of the filterwin2k
|
||||
option.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Aug 9 12:12:24 CEST 2004 - ug@suse.de
|
||||
|
||||
- version update from 2.8 to 2.11
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Jun 1 17:09:51 CEST 2004 - ug@suse.de
|
||||
|
||||
- chgrp to "dialout" and not to "dip"
|
||||
- backward compatibility turned off
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon May 24 17:28:52 CEST 2004 - ug@suse.de
|
||||
|
||||
- added to distribution
|
||||
|
190
dnsmasq.spec
Normal file
190
dnsmasq.spec
Normal file
@ -0,0 +1,190 @@
|
||||
#
|
||||
# spec file for package dnsmasq (Version 2.35)
|
||||
#
|
||||
# Copyright (c) 2006 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
||||
# This file and all modifications and additions to the pristine
|
||||
# package are under the same license as the package itself.
|
||||
#
|
||||
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
||||
#
|
||||
|
||||
# norootforbuild
|
||||
|
||||
Name: dnsmasq
|
||||
Summary: Lightweight, Easy-to-Configure DNS Forwarder and DHCP Server
|
||||
Version: 2.35
|
||||
Release: 1
|
||||
License: GNU General Public License (GPL) - all versions
|
||||
Group: Productivity/Networking/DNS/Servers
|
||||
Provides: dns_daemon
|
||||
PreReq: %fillup_prereq %insserv_prereq /bin/mkdir
|
||||
Autoreqprov: on
|
||||
URL: http://www.thekelleys.org.uk/dnsmasq/
|
||||
Source: %{name}-%{version}.tar.gz
|
||||
Source1: vendor-files.tar.bz2
|
||||
patch1: group_and_isc.diff
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
|
||||
%description
|
||||
Dnsmasq is a lightweight, easy-to-configure DNS forwarder and DHCP
|
||||
server. It is designed to provide DNS and, optionally, DHCP, to a small
|
||||
network. It can serve the names of local machines that are not in the
|
||||
global DNS. The DHCP server integrates with the DNS server and allows
|
||||
machines with DHCP-allocated addresses to appear in DNS with names
|
||||
configured either in each host or in a central configuration file.
|
||||
Dnsmasq supports static and dynamic DHCP leases and BOOTP for network
|
||||
booting of diskless machines.
|
||||
|
||||
|
||||
|
||||
Authors:
|
||||
--------
|
||||
simon@thekelleys.org.uk
|
||||
|
||||
%prep
|
||||
%setup
|
||||
%setup -T -D -a1
|
||||
%patch1 -p0
|
||||
|
||||
%build
|
||||
mv po/no.po po/nb.po
|
||||
CFLAGS="$RPM_OPT_FLAGS -fno-strict-aliasing " make
|
||||
|
||||
%post
|
||||
%{fillup_and_insserv dnsmasq}
|
||||
|
||||
%preun
|
||||
%stop_on_removal dnsmasq
|
||||
|
||||
%postun
|
||||
%restart_on_update dnsmasq
|
||||
%{insserv_cleanup}
|
||||
|
||||
%clean
|
||||
[ -d %{buildroot} -a "%{buildroot}" != "" ] && rm -rf %{buildroot}
|
||||
|
||||
%install
|
||||
rm -rf $RPM_BUILD_ROOT
|
||||
make install-i18n DESTDIR=$RPM_BUILD_ROOT PREFIX=/usr
|
||||
install -d -m 755 ${RPM_BUILD_ROOT}/%{_sysconfdir}/init.d
|
||||
install -d -m 755 ${RPM_BUILD_ROOT}/%{_sysconfdir}/slp.reg.d
|
||||
install -m 755 rc.dnsmasq-suse $RPM_BUILD_ROOT/%{_sysconfdir}/init.d/dnsmasq
|
||||
ln -sf ../../etc/init.d/dnsmasq $RPM_BUILD_ROOT/usr/sbin/rcdnsmasq
|
||||
install -m 644 dnsmasq.conf.example $RPM_BUILD_ROOT/%{_sysconfdir}/dnsmasq.conf
|
||||
install -m 644 dnsmasq.reg $RPM_BUILD_ROOT/%{_sysconfdir}/slp.reg.d/
|
||||
|
||||
%files
|
||||
%defattr(-,root,root)
|
||||
%doc CHANGELOG COPYING FAQ doc.html setup.html dnsmasq.conf.example contrib
|
||||
%config(noreplace) /%{_sysconfdir}/dnsmasq.conf
|
||||
/%{_sysconfdir}/init.d/dnsmasq
|
||||
/usr/sbin/rcdnsmasq
|
||||
/usr/sbin/dnsmasq
|
||||
/usr/share/locale/*/LC_MESSAGES/*
|
||||
/%{_sysconfdir}/slp.reg.d/
|
||||
%attr(0644,root,root) /%{_sysconfdir}/slp.reg.d/dnsmasq.reg
|
||||
%doc %{_mandir}/man8/dnsmasq.8.gz
|
||||
%doc %{_mandir}/es/man8/dnsmasq.8.gz
|
||||
|
||||
%changelog -n dnsmasq
|
||||
* Mon Oct 30 2006 - ug@suse.de
|
||||
- version 2.35
|
||||
- better performance on parsing huge /etc/hosts files
|
||||
* Tue Oct 17 2006 - ug@suse.de
|
||||
- version 2.34
|
||||
- Tweak network-determination code
|
||||
- Improve handling of high DNS loads
|
||||
- Fixed intermittent infinite loop when re-reading
|
||||
/etc/ethers after SIGHUP
|
||||
- Provide extra information to the lease-change script
|
||||
- Run the lease change script as root
|
||||
- Add contrib/port-forward/* which is a script to set up
|
||||
port-forwards using the DHCP lease-change script
|
||||
- Fix unaligned access problem
|
||||
- Fixed problem with DHCPRELEASE
|
||||
- Updated French translation
|
||||
- Upgraded the name hash function in the DNS cache
|
||||
- Added --clear-on-reload flag
|
||||
- Treat a nameserver address of 0.0.0.0 as "nothing"
|
||||
- Added Webmin module in contrib/webmin
|
||||
* Fri Aug 11 2006 - ug@suse.de
|
||||
- init-script more LSB conform
|
||||
patch by Matthias Andree
|
||||
* Mon Aug 07 2006 - ug@suse.de
|
||||
- version 2.33
|
||||
- Provide extra information to lease-change script
|
||||
- Fix breakage with some DHCP relay implementations
|
||||
- compilation warning fixes
|
||||
- minor DNS and DHCP fixes and enhancements
|
||||
* Mon Jun 12 2006 - ug@suse.de
|
||||
- version 2.32
|
||||
* Wed May 17 2006 - ug@suse.de
|
||||
- version 2.31
|
||||
* Wed Jan 25 2006 - mls@suse.de
|
||||
- converted neededforbuild to BuildRequires
|
||||
* Mon Jan 23 2006 - ug@suse.de
|
||||
- Fixed crash when attempting to send a DHCP NAK to a host
|
||||
which believes it has a lease on an unknown network.
|
||||
That bug was invented in 2.25
|
||||
- version 2.26
|
||||
* Mon Jan 16 2006 - ug@suse.de
|
||||
- moved dnsmasq.no to dnsmasq.np
|
||||
see bug #42748
|
||||
* Mon Jan 16 2006 - ug@suse.de
|
||||
- version update to 2.25
|
||||
* Mon Nov 28 2005 - ug@suse.de
|
||||
- version update to 2.24
|
||||
* Mon Oct 17 2005 - ug@suse.de
|
||||
- "-fno-strict-aliasing" now
|
||||
* Wed Oct 12 2005 - ug@suse.de
|
||||
- version update to 2.23
|
||||
* Wed Aug 24 2005 - ug@suse.de
|
||||
- Fix DNS query forwarding for empty queries and forward
|
||||
queries even when the recursion-desired bit is clear.
|
||||
This allows "dig +trace" to work
|
||||
Bug #106717
|
||||
* Fri Aug 05 2005 - cthiel@suse.de
|
||||
- update to version 2.22
|
||||
* Wed Apr 13 2005 - mls@suse.de
|
||||
- fix slp registration
|
||||
* Mon Jan 24 2005 - ug@suse.de
|
||||
- version update from 2.19 to 2.20
|
||||
- Allow more than one instance of dnsmasq to run on a
|
||||
machine, each providing DHCP service on a different
|
||||
interface
|
||||
- Protect against overlong names and overlong
|
||||
labels in configuration and from DHCP.
|
||||
- Fix interesting corner case in CNAME handling. This occurs
|
||||
when a CNAME has a target which "shadowed" by a name in
|
||||
/etc/hosts or from DHCP
|
||||
- Added support for SRV records
|
||||
- Fixed sign confusion in the vendor-id matching code
|
||||
- Added the ability to match the netid tag in a
|
||||
dhcp-range
|
||||
- Added preference values for MX records
|
||||
- Added the --localise-queries option.
|
||||
* Fri Jan 21 2005 - ug@suse.de
|
||||
- version update to 2.19
|
||||
- minor fixes in IPV6 and DHCP Code
|
||||
* Fri Nov 26 2004 - ug@suse.de
|
||||
- version update to 2.18
|
||||
- lots of DHCP fixes
|
||||
- some IPV6 fixes
|
||||
* Fri Nov 19 2004 - ug@suse.de
|
||||
- SLP support via /etc/slp.reg.d/dnsmasq.reg file added
|
||||
* Fri Aug 20 2004 - ug@suse.de
|
||||
- version update from 2.11 to 2.13
|
||||
- Added extra checks to ensure that DHCP created DNS entries
|
||||
cannot generate multiple DNS address->name entries.
|
||||
- Don't set the the filterwin2k option in the example config
|
||||
file and add warnings that is breaks Kerberos.
|
||||
- Log types of incoming queries as well as source and domain.
|
||||
- Log NODATA replies generated as a result of the filterwin2k
|
||||
option.
|
||||
* Mon Aug 09 2004 - ug@suse.de
|
||||
- version update from 2.8 to 2.11
|
||||
* Tue Jun 01 2004 - ug@suse.de
|
||||
- chgrp to "dialout" and not to "dip"
|
||||
- backward compatibility turned off
|
||||
* Mon May 24 2004 - ug@suse.de
|
||||
- added to distribution
|
22
group_and_isc.diff
Normal file
22
group_and_isc.diff
Normal file
@ -0,0 +1,22 @@
|
||||
--- man/dnsmasq.8
|
||||
+++ man/dnsmasq.8 2005/11/28 10:33:09
|
||||
@@ -70,7 +70,7 @@
|
||||
.TP
|
||||
.B \-g, --group=<groupname>
|
||||
Specify the group which dnsmasq will run
|
||||
-as. The defaults to "dip", if available, to facilitate access to
|
||||
+as. The defaults to "dialout", if available, to facilitate access to
|
||||
/etc/ppp/resolv.conf which is not normally world readable.
|
||||
.TP
|
||||
.B \-v, --version
|
||||
--- src/config.h
|
||||
+++ src/config.h 2006/05/09 14:27:47
|
||||
@@ -45,7 +45,7 @@
|
||||
#endif
|
||||
#define DEFLEASE 3600 /* default lease time, 1 hour */
|
||||
#define CHUSER "nobody"
|
||||
-#define CHGRP "dip"
|
||||
+#define CHGRP "dialout"
|
||||
#define DHCP_SERVER_PORT 67
|
||||
#define DHCP_CLIENT_PORT 68
|
||||
|
3
vendor-files.tar.bz2
Normal file
3
vendor-files.tar.bz2
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:3e1b4b89aa529276feb89c3b46ddc7b5722dec85bdb921a27e39b58beccad11f
|
||||
size 1029
|
Loading…
x
Reference in New Issue
Block a user