This commit is contained in:
parent
ebb325529f
commit
9ce62813f9
3
dnsmasq-2.40.tar.bz2
Normal file
3
dnsmasq-2.40.tar.bz2
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:20522fe06f073db650d898ca018d256f59a1827f5f8218776ca058bc1442582f
|
||||||
|
size 247998
|
@ -1,3 +0,0 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
|
||||||
oid sha256:16517856930074fa4bba739f40ca1dd4a11b80a0623a12f2ae7be701083564e0
|
|
||||||
size 307051
|
|
@ -1,3 +1,9 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Fri Jan 4 06:32:08 CET 2008 - crrodriguez@suse.de
|
||||||
|
|
||||||
|
- bzip tarball
|
||||||
|
- use find_lang macro.
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Thu Dec 6 17:21:05 CET 2007 - ug@suse.de
|
Thu Dec 6 17:21:05 CET 2007 - ug@suse.de
|
||||||
|
|
||||||
|
35
dnsmasq.spec
35
dnsmasq.spec
@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package dnsmasq (Version 2.40)
|
# spec file for package dnsmasq (Version 2.40)
|
||||||
#
|
#
|
||||||
# Copyright (c) 2007 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
# Copyright (c) 2008 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
||||||
# This file and all modifications and additions to the pristine
|
# This file and all modifications and additions to the pristine
|
||||||
# package are under the same license as the package itself.
|
# package are under the same license as the package itself.
|
||||||
#
|
#
|
||||||
@ -13,14 +13,14 @@
|
|||||||
Name: dnsmasq
|
Name: dnsmasq
|
||||||
Summary: Lightweight, Easy-to-Configure DNS Forwarder and DHCP Server
|
Summary: Lightweight, Easy-to-Configure DNS Forwarder and DHCP Server
|
||||||
Version: 2.40
|
Version: 2.40
|
||||||
Release: 1
|
Release: 5
|
||||||
License: GPL v2 or later
|
License: GPL v2 or later
|
||||||
Group: Productivity/Networking/DNS/Servers
|
Group: Productivity/Networking/DNS/Servers
|
||||||
Provides: dns_daemon
|
Provides: dns_daemon
|
||||||
PreReq: %fillup_prereq %insserv_prereq /bin/mkdir
|
PreReq: %fillup_prereq %insserv_prereq /bin/mkdir
|
||||||
AutoReqProv: on
|
AutoReqProv: on
|
||||||
Url: http://www.thekelleys.org.uk/dnsmasq/
|
Url: http://www.thekelleys.org.uk/dnsmasq/
|
||||||
Source: %{name}-%{version}.tar.gz
|
Source: %{name}-%{version}.tar.bz2
|
||||||
Source1: vendor-files.tar.bz2
|
Source1: vendor-files.tar.bz2
|
||||||
Patch1: group_and_isc.diff
|
Patch1: group_and_isc.diff
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||||
@ -48,7 +48,8 @@ Authors:
|
|||||||
|
|
||||||
%build
|
%build
|
||||||
mv po/no.po po/nb.po
|
mv po/no.po po/nb.po
|
||||||
CFLAGS="$RPM_OPT_FLAGS -fno-strict-aliasing" make
|
export CFLAGS="$RPM_OPT_FLAGS -fno-strict-aliasing"
|
||||||
|
%{__make} %{?jobs:-j%jobs}
|
||||||
|
|
||||||
%post
|
%post
|
||||||
%{fillup_and_insserv dnsmasq}
|
%{fillup_and_insserv dnsmasq}
|
||||||
@ -61,10 +62,9 @@ CFLAGS="$RPM_OPT_FLAGS -fno-strict-aliasing" make
|
|||||||
%{insserv_cleanup}
|
%{insserv_cleanup}
|
||||||
|
|
||||||
%clean
|
%clean
|
||||||
[ -d %{buildroot} -a "%{buildroot}" != "" ] && rm -rf %{buildroot}
|
rm -rf %{buildroot}
|
||||||
|
|
||||||
%install
|
%install
|
||||||
rm -rf $RPM_BUILD_ROOT
|
|
||||||
make install-i18n DESTDIR=$RPM_BUILD_ROOT PREFIX=/usr
|
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}/init.d
|
||||||
install -d -m 755 ${RPM_BUILD_ROOT}/%{_sysconfdir}/slp.reg.d
|
install -d -m 755 ${RPM_BUILD_ROOT}/%{_sysconfdir}/slp.reg.d
|
||||||
@ -75,23 +75,26 @@ install -m 644 dnsmasq.conf.example $RPM_BUILD_ROOT/%{_sysconfdir}/dnsmasq.conf
|
|||||||
install -m 644 dnsmasq.reg $RPM_BUILD_ROOT/%{_sysconfdir}/slp.reg.d/
|
install -m 644 dnsmasq.reg $RPM_BUILD_ROOT/%{_sysconfdir}/slp.reg.d/
|
||||||
install -m 644 SuSEFirewall.dnsmasq-dns ${RPM_BUILD_ROOT}/%{_sysconfdir}/sysconfig/SuSEfirewall2.d/services/dnsmasq-dns
|
install -m 644 SuSEFirewall.dnsmasq-dns ${RPM_BUILD_ROOT}/%{_sysconfdir}/sysconfig/SuSEfirewall2.d/services/dnsmasq-dns
|
||||||
install -m 644 SuSEFirewall.dnsmasq-dhcp ${RPM_BUILD_ROOT}/%{_sysconfdir}/sysconfig/SuSEfirewall2.d/services/dnsmasq-dhcp
|
install -m 644 SuSEFirewall.dnsmasq-dhcp ${RPM_BUILD_ROOT}/%{_sysconfdir}/sysconfig/SuSEfirewall2.d/services/dnsmasq-dhcp
|
||||||
|
%find_lang %{name}
|
||||||
|
|
||||||
%files
|
%files -f %{name}.lang
|
||||||
%defattr(-,root,root)
|
%defattr(-,root,root)
|
||||||
%doc CHANGELOG COPYING FAQ doc.html setup.html dnsmasq.conf.example contrib
|
%doc CHANGELOG COPYING FAQ doc.html setup.html dnsmasq.conf.example contrib
|
||||||
%config(noreplace) /%{_sysconfdir}/dnsmasq.conf
|
%config(noreplace) /%{_sysconfdir}/dnsmasq.conf
|
||||||
/%{_sysconfdir}/init.d/dnsmasq
|
%{_sysconfdir}/init.d/dnsmasq
|
||||||
/usr/sbin/rcdnsmasq
|
%{_sbindir}/rcdnsmasq
|
||||||
/usr/sbin/dnsmasq
|
%{_sbindir}/dnsmasq
|
||||||
/usr/share/locale/*/LC_MESSAGES/*
|
%{_sysconfdir}/sysconfig/SuSEfirewall2.d/services/dnsmasq-dns
|
||||||
/%{_sysconfdir}/sysconfig/SuSEfirewall2.d/services/dnsmasq-dns
|
%{_sysconfdir}/sysconfig/SuSEfirewall2.d/services/dnsmasq-dhcp
|
||||||
/%{_sysconfdir}/sysconfig/SuSEfirewall2.d/services/dnsmasq-dhcp
|
%{_sysconfdir}/slp.reg.d/
|
||||||
/%{_sysconfdir}/slp.reg.d/
|
|
||||||
%attr(0644,root,root) /%{_sysconfdir}/slp.reg.d/dnsmasq.reg
|
%attr(0644,root,root) /%{_sysconfdir}/slp.reg.d/dnsmasq.reg
|
||||||
%doc %{_mandir}/man8/dnsmasq.8.gz
|
%{_mandir}/man8/dnsmasq.8.gz
|
||||||
%doc %{_mandir}/es/man8/dnsmasq.8.gz
|
%{_mandir}/es/man8/dnsmasq.8.gz
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Fri Jan 04 2008 - crrodriguez@suse.de
|
||||||
|
- bzip tarball
|
||||||
|
- use find_lang macro.
|
||||||
* Thu Dec 06 2007 - ug@suse.de
|
* Thu Dec 06 2007 - ug@suse.de
|
||||||
- version 2.40
|
- version 2.40
|
||||||
- Fix handling of fully-qualified names in --dhcp-host
|
- Fix handling of fully-qualified names in --dhcp-host
|
||||||
|
Loading…
Reference in New Issue
Block a user