Lines 44-49
Link Here
|
44 |
Dnsmasq ÎÅ ÐÏÄÄÅÒÖÉ×ÁÅÔ ÐÅÒÅÓÙÌËÕ DNS-ÚÏÎ É ÐÏÜÔÏÍÕ ÎÅ ÍÏÖÅÔ ÉÓÐÏÌØÚÏ×ÁÔØÓÑ |
44 |
Dnsmasq ÎÅ ÐÏÄÄÅÒÖÉ×ÁÅÔ ÐÅÒÅÓÙÌËÕ DNS-ÚÏÎ É ÐÏÜÔÏÍÕ ÎÅ ÍÏÖÅÔ ÉÓÐÏÌØÚÏ×ÁÔØÓÑ |
45 |
× ËÁÞÅÓÔ×Å Á×ÔÏÒÉÔÁÔÉ×ÎÏÇÏ. äÌÑ ÜÔÏÊ ÃÅÌÉ ×ÁÍ ÐÏÎÁÄÏÂÉÔÓÑ PowerDNS ÉÌÉ BIND. |
45 |
× ËÁÞÅÓÔ×Å Á×ÔÏÒÉÔÁÔÉ×ÎÏÇÏ. äÌÑ ÜÔÏÊ ÃÅÌÉ ×ÁÍ ÐÏÎÁÄÏÂÉÔÓÑ PowerDNS ÉÌÉ BIND. |
46 |
|
46 |
|
|
|
47 |
%package utils |
48 |
Summary: Utilities for manipulating DHCP server leases |
49 |
Group: System Environment/Daemons |
50 |
|
51 |
%description utils |
52 |
Utilities that use the standard DHCP protocol to |
53 |
query/remove a DHCP server's leases. |
54 |
|
47 |
%prep |
55 |
%prep |
48 |
%setup |
56 |
%setup |
49 |
%patch -p1 |
57 |
%patch -p1 |
Lines 56-61
Link Here
|
56 |
|
64 |
|
57 |
%build |
65 |
%build |
58 |
%make_build |
66 |
%make_build |
|
|
67 |
%make_build -C contrib/wrt |
59 |
|
68 |
|
60 |
%install |
69 |
%install |
61 |
%makeinstall_std PREFIX=%prefix |
70 |
%makeinstall_std PREFIX=%prefix |
Lines 67-72
Link Here
|
67 |
install -pD -m700 %SOURCE3 %buildroot%_sbindir/%name-helper |
76 |
install -pD -m700 %SOURCE3 %buildroot%_sbindir/%name-helper |
68 |
install -pD -m644 %SOURCE4 %buildroot%_unitdir/%name.service |
77 |
install -pD -m644 %SOURCE4 %buildroot%_unitdir/%name.service |
69 |
|
78 |
|
|
|
79 |
# For utils package |
80 |
install -pD -m 755 contrib/wrt/dhcp_release %buildroot%_bindir/dhcp_release |
81 |
install -pD -m 644 contrib/wrt/dhcp_release.1 %buildroot%_man1dir/dhcp_release.1 |
82 |
install -pD -m 755 contrib/wrt/dhcp_lease_time %buildroot%_bindir/dhcp_lease_time |
83 |
install -pD -m 644 contrib/wrt/dhcp_lease_time.1 %buildroot%_man1dir/dhcp_lease_time.1 |
84 |
|
70 |
%pre |
85 |
%pre |
71 |
# Upgrade configuration from previous versions |
86 |
# Upgrade configuration from previous versions |
72 |
if test -e %sysconfig_file; then |
87 |
if test -e %sysconfig_file; then |
Lines 95-100
Link Here
|
95 |
%_man8dir/%{name}* |
110 |
%_man8dir/%{name}* |
96 |
%doc contrib/dnslist contrib/dynamic-dnsmasq |
111 |
%doc contrib/dnslist contrib/dynamic-dnsmasq |
97 |
|
112 |
|
|
|
113 |
%files utils |
114 |
%{_bindir}/dhcp_* |
115 |
%{_mandir}/man1/dhcp_* |
116 |
|
98 |
%changelog |
117 |
%changelog |
99 |
* Mon Dec 09 2013 Mikhail Efremov <sem@altlinux.org> 2.68-alt1 |
118 |
* Mon Dec 09 2013 Mikhail Efremov <sem@altlinux.org> 2.68-alt1 |
100 |
- Updated to 2.68. |
119 |
- Updated to 2.68. |