Uwe Gansert 2009-11-20 15:21:33 +00:00 committed by Git OBS Bridge
parent 94ba292376
commit a30edcad0b
6 changed files with 80 additions and 19 deletions

View File

@ -1,8 +1,10 @@
--- src/config.h
+++ src/config.h 2008/06/19 13:36:10
@@ -50,7 +50,7 @@
# define CONFFILE "/etc/dnsmasq.conf"
Index: src/config.h
===================================================================
--- src/config.h.orig
+++ src/config.h
@@ -58,7 +58,7 @@
#endif
#define DEFLEASE 3600 /* default lease time, 1 hour */
-#define CHUSER "nobody"
+#define CHUSER "dnsmasq"

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:4032ceb033190c80b26e52679c37742734a840bdd311f392c737d20cc7b1d582
size 313044

3
dnsmasq-2.51.tar.bz2 Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:a02b9ccd585e7b0a728f1ca06f54d121765fa640fec1cecd1cb261b73432410d
size 319925

View File

@ -1,3 +1,58 @@
-------------------------------------------------------------------
Fri Nov 20 16:07:32 CET 2009 - ug@suse.de
* Add support for internationalised DNS.
* Add two more environment variables for lease-change scripts:
First, DNSMASQ_SUPPLIED_HOSTNAME; this is set to the hostname
supplied by a client, even if the actual hostname used is
over-ridden by dhcp-host or dhcp-ignore-names directives.
Also DNSMASQ_RELAY_ADDRESS which gives the address of
a DHCP relay, if used.
* Fix regression which broke echo of relay-agent
options. Thanks to Michael Rack for spotting this.
* Don't treat option 67 as being interchangeable with
dhcp-boot parameters if it's specified as
dhcp-option-force.
* Make the code to call scripts on lease-change compile-time
optional. It can be switched off by editing src/config.h
or building with "make COPTS=-DNO_SCRIPT".
* Make the TFTP server cope with filenames from Windows/DOS
which use '\' as pathname separator. Thanks to Ralf for
the patch.
* Warn if an IP address is duplicated in /etc/ethers.
* Teach --conf-dir to take an option list of file suffices
which will be ignored when scanning the directory. Useful
for backup files etc. Thanks to Helmut Hullen for the
suggestion.
* Add new DHCP option named tftpserver-address
* Don't do any PXE processing, even for clients with the
correct vendorclass, unless at least one pxe-prompt or
pxe-service option is given.
* Limit the blocksize used for TFTP transfers to a value
which avoids packet fragmentation, based on the MTU of the
local interface. Many netboot ROMs can't cope with
fragmented packets.
* Honour dhcp-ignore configuration for PXE and proxy-PXE
requests.
* 2.51
-------------------------------------------------------------------
Tue Nov 3 19:09:13 UTC 2009 - coolo@novell.com
- updated patches to apply with fuzz=0
-------------------------------------------------------------------
Tue Sep 1 10:30:14 CEST 2009 - ug@suse.de

View File

@ -20,8 +20,8 @@
Name: dnsmasq
Summary: Lightweight, Easy-to-Configure DNS Forwarder and DHCP Server
Version: 2.50
Release: 1
Version: 2.51
Release: 2
License: GPL v2 or later
Group: Productivity/Networking/DNS/Servers
Provides: dns_daemon
@ -34,7 +34,7 @@ Patch1: group_and_isc.diff
Patch2: chuser.diff
Patch3: manpage.diff
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildRequires: dbus-1-devel pkg-config
BuildRequires: dbus-1-devel pkg-config libidn libidn-devel
%description
Dnsmasq is a lightweight, easy-to-configure DNS forwarder and DHCP
@ -63,7 +63,7 @@ echo "#define HAVE_DBUS" >> src/config.h
%build
mv po/no.po po/nb.po
export CFLAGS="$RPM_OPT_FLAGS -fno-strict-aliasing"
%{__make} %{?jobs:-j%jobs} AWK=gawk
%{__make} %{?jobs:-j%jobs} AWK=gawk all-i18n
%pre
if ! /usr/bin/getent passwd dnsmasq >/dev/null; then

View File

@ -1,6 +1,8 @@
--- man/dnsmasq.8
+++ man/dnsmasq.8 2005/11/28 10:33:09
@@ -70,7 +70,7 @@
Index: man/dnsmasq.8
===================================================================
--- man/dnsmasq.8.orig
+++ man/dnsmasq.8
@@ -110,7 +110,7 @@ can be over-ridden with this switch.
.TP
.B \-g, --group=<groupname>
Specify the group which dnsmasq will run
@ -9,14 +11,16 @@
/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
Index: src/config.h
===================================================================
--- src/config.h.orig
+++ src/config.h
@@ -59,7 +59,7 @@
#define DEFLEASE 3600 /* default lease time, 1 hour */
#define CHUSER "nobody"
-#define CHGRP "dip"
+#define CHGRP "nogroup"
#define DHCP_SERVER_PORT 67
#define DHCP_CLIENT_PORT 68
#define DHCP_SERVER_ALTPORT 1067