1 Summary: noip - Linux client for the noip.com dynamic DNS service
2 Summary(pl.UTF-8): noip - linuksowy klient serwisu dynamicznego DNS noip.com
7 Group: Networking/Daemons
8 Source0: http://www.noip.com/client/linux/%{name}-duc-linux.tar.gz
9 # Source0-md5: eed8e9ef9edfb7ddc36e187de867fe64
11 Source2: %{name}.sysconfig
12 Patch0: %{name}-Makefile.patch
13 Patch1: %{name}-config_location.patch
14 Patch2: format-security.patch
15 URL: http://www.noip.com/
16 BuildRequires: rpmbuild(macros) >= 1.268
17 Requires(post,preun): /sbin/chkconfig
19 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
22 This is the NoIP.com Dynamic DNS update client page.
24 When configured correctly, the client will check your IP address at a
25 given time interval checking to see if your IP has changed. If your IP
26 address has changed it will notify NoIP DNS servers and update the IP
27 corresponding to your NoIP/NoIP+ hostname.
29 NOTE: You must add hostnames on the website <http://www.noip.com>
30 first before you can have the updater update them.
32 %description -l pl.UTF-8
33 To jest klient aktualizujący nasz wpis w systemie NoIP.com
35 Dobrze skonfigurowany klient będzie sprawdzał dany adres IP w
36 określonych odstępach czasu, aby wykryć zmiany. Jeśli adres IP się
37 zmieni, klient poinformuje serwery DNS NoIP i zaktualizuje numer IP
38 odnoszący się do odpowiedniej nazwy hosta w systemie NoIP/NoIP+.
40 UWAGA: aktualizacja nazw hostów za pomocą tego programu będzie możliwa
41 po ich dodaniu na stronie <http://www.noip.com>.
48 %{__mv} %{name}2.c %{name}.c
53 CONFDIR=%{_sysconfdir} \
58 rm -rf $RPM_BUILD_ROOT
59 install -d $RPM_BUILD_ROOT/etc/{rc.d/init.d,sysconfig}
61 CONFDIR=%{_sysconfdir} \
63 DESTDIR=$RPM_BUILD_ROOT
65 install -p %{SOURCE1} $RPM_BUILD_ROOT/etc/rc.d/init.d/%{name}
66 cp -p %{SOURCE2} $RPM_BUILD_ROOT/etc/sysconfig/%{name}
67 touch $RPM_BUILD_ROOT%{_sysconfdir}/%{name}.conf
70 rm -rf $RPM_BUILD_ROOT
73 /sbin/chkconfig --add noip
74 %service noip restart "noip client daemon"
77 if [ "$1" = "0" ]; then
79 /sbin/chkconfig --del noip
83 %defattr(644,root,root,755)
85 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.conf
86 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) /etc/sysconfig/%{name}
87 %attr(4750,root,adm) %{_sbindir}/noip
88 %attr(754,root,root) /etc/rc.d/init.d/%{name}