Summary: Client for Dynamic DNS Services Summary(pl.UTF-8): Klient dla serwisów dynamicznego DNS Name: ez-ipupdate Version: 3.0.11b8 Release: 6 License: GPL Group: Networking Source0: http://ez-ipupdate.com/dist/%{name}-%{version}.tar.gz # Source0-md5: 000211add4c4845ffa4211841bff4fb0 Source1: %{name}.init Source2: %{name}.config Patch0: %{name}-debian.patch # https://dev.openwrt.org/browser/packages/net/ez-ipupdate/patches Patch1: 002-ez_ipupdate_everydns.patch Patch2: 003-dnsexit.patch URL: http://ez-ipupdate.com/ BuildRequires: autoconf BuildRequires: automake BuildRequires: perl-base BuildRequires: rpmbuild(macros) >= 1.268 Requires(post,preun): /sbin/chkconfig Requires: rc-scripts BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) %description ez-ipupdate is a small utility for updating your host name for any of the dynamic DNS service offered at: - http://www.ez-ip.net/ - http://www.justlinux.com/ - http://www.dhs.org/ - http://www.dyndns.org/ - http://www.ods.org/ - http://gnudip.cheapnet.net/ (GNUDip) - http://www.dyn.ca/ (GNUDip) - http://www.tzo.com/ - http://www.easydns.com/ - http://www.dyns.cx/ - http://www.hn.org/ - http://www.zoneedit.com/ It is pure C and works on Linux, *BSD and Solaris. Don't forget to create your own config file (in /etc/ez-ipupdate.conf). You can find some examples in %{_docdir}/%{name}-%{version}. %description -l pl.UTF-8 ez-ipupdate to małe narzędzie do uaktualniania nazwy hosta w dowolnym serwisie dynamicznego DNS spośród: - http://www.ez-ip.net/ - http://www.justlinux.com/ - http://www.dhs.org/ - http://www.dyndns.org/ - http://www.ods.org/ - http://gnudip.cheapnet.net/ (GNUDip) - http://www.dyn.ca/ (GNUDip) - http://www.tzo.com/ - http://www.easydns.com/ - http://www.dyns.cx/ - http://www.hn.org/ - http://www.zoneedit.com/ Jest napisane w czystym C i działa na Linuksie, *BSD oraz Solarisie. Nie należy zapomnieć o utworzeniu własnego pliku konfiguracyjnego (/etc/ez-ipupdate.conf). Przykład można znaleźć w katalogu %{_docdir}/%{name}-%{version}. %prep %setup -q %patch0 -p1 %patch1 -p1 %patch2 -p1 %build install /usr/share/automake/config.* . %{__aclocal} %{__autoconf} %configure %{__make} %install rm -rf $RPM_BUILD_ROOT install -d $RPM_BUILD_ROOT{/etc/rc.d/init.d,/etc/sysconfig} %{__make} install \ DESTDIR=$RPM_BUILD_ROOT install %{SOURCE1} $RPM_BUILD_ROOT/etc/rc.d/init.d/%{name} install %{SOURCE2} $RPM_BUILD_ROOT/etc/sysconfig/%{name} touch $RPM_BUILD_ROOT%{_sysconfdir}/%{name}.conf %{__perl} -pi -e "s|/usr/local/bin|%{_bindir}|" *.conf %clean rm -rf $RPM_BUILD_ROOT %post /sbin/chkconfig --add %{name} %service %{name} restart "%{name} daemon" %preun if [ "$1" = "0" ]; then %service %{name} stop /sbin/chkconfig --del %{name} fi %files %defattr(644,root,root,755) %doc README CHANGELOG *.conf %attr(755,root,root) %{_bindir}/* %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.conf %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) /etc/sysconfig/%{name} %attr(754,root,root) /etc/rc.d/init.d/%{name}