%define _initddir /etc/rc.d/init.d Summary: A client to update host entries on DynDNS like services Name: ddclient Version: 3.7.3 Release: %mkrel 5 License: GPL Group: System/Configuration/Networking URL: http://ddclient.sourceforge.net/ Source0: http://prdownloads.sourceforge.net/ddclient/%name-%version.tar.bz2 Requires: perl(IO::Socket::SSL) BuildArch: noarch BuildRoot: %{_tmppath}/%{name}-%{version}-buildroot %description DDclient is a small full featured client requiring only Perl and no additional modules. It runs under most UNIX OSes and has been tested under Linux and FreeBSD. Supported features include: operating as a daemon, manual and automatic updates, static and dynamic updates, optimized updates for multiple addresses, MX, wildcards, abuse avoidance, retrying failed updates, and sending update status to syslog and through e-mail. This release may now obtain your IP address from any interface, web based IP detection, Watchguard's SOHO router, Netopia's R910 router, SMC's Barricade broadband router, Netgear's RT3xx router, Linksys' broadband routers, MaxGate's UGATE-3x00 routers, ELSA's LANCOM DSL/10 routers, Cisco's 2610, 3com 3c886a 56k Lan Modem, SOHOWare BroadGuard NBG800, almost every other router with user configurable FW definitions (see the sample-etc_ddclient.conf) and now provides Full support for DynDNS.org's NIC2 protocol. Support is also included for other dynamic DNS services. Comes with sample scripts for use with DHCP, PPP, and cron. See the README for more information. %prep %setup -q %build %install rm -rf %{buildroot} mkdir -p %{buildroot}{%{_sbindir},%{_sysconfdir}/%{name},%{_initddir}} mkdir -p %{buildroot}/var/cache/ddclient install -p ddclient %{buildroot}%{_sbindir} install -p sample-etc_ddclient.conf %{buildroot}%{_sysconfdir}/%{name}/ddclient.conf touch %{buildroot}%{_sysconfdir}/%{name}/ddclient.cache install -p sample-etc_rc.d_init.d_ddclient.redhat %{buildroot}%{_initddir}/ddclient %clean rm -rf %{buildroot} %post /sbin/chkconfig --add ddclient %preun if [ $1 = 0 ]; then /sbin/service ddclient stop > /dev/null 2>&1 /sbin/chkconfig --del ddclient fi %files %defattr(-,root,root) %doc sample* README* COPYRIGHT COPYING %{_sbindir}/ddclient %attr(600,root,root) %config(noreplace) %{_sysconfdir}/%{name}/ddclient.conf %config(noreplace) %ghost %{_sysconfdir}/%{name}/ddclient.cache %{_initddir}/ddclient %dir /var/cache/ddclient %changelog * Wed Jul 23 2008 Thierry Vignaud <tvignaud@mandriva.com> 3.7.3-5mdv2009.0 + Revision: 243987 - rebuild * Thu Mar 13 2008 Andreas Hasenack <andreas@mandriva.com> 3.7.3-3mdv2008.1 + Revision: 187591 - rebuild for 2008.1 + Olivier Blin <oblin@mandriva.com> - restore BuildRoot + Thierry Vignaud <tvignaud@mandriva.com> - kill re-definition of %%buildroot on Pixel's request * Tue Sep 04 2007 Emmanuel Andry <eandry@mandriva.org> 3.7.3-1mdv2008.0 + Revision: 79530 - New version * Fri May 25 2007 Ademar de Souza Reis Jr <ademar@mandriva.com.br> 3.7.1-3mdv2008.0 + Revision: 31224 - add explict requirement for perl(IO::Socket::SSL). Without it ddclient fails silently when trying to access https servers. (automatic requirement not working for this one) * Tue Mar 20 2007 Lenny Cartier <lenny@mandriva.com> 3.7.1-2mdv2007.1 + Revision: 146924 - Add /var/cache/ddclient directory * Tue Feb 13 2007 Lenny Cartier <lenny@mandriva.com> 3.7.1-1mdv2007.1 + Revision: 120449 - Update to 3.7.1 - Import ddclient * Fri Jun 16 2006 Lenny Cartier <lenny@mandriva.com> 3.7.0-1mdv2007.0 - 3.7.0 * Sun Dec 18 2005 Gaetan Lehmann <gaetan.lehmann@jouy.inra.fr> 3.6.7-1mdk - New release 3.6.7 * Sat May 28 2005 Nicolas Lécureuil <neoclust@mandriva.org> 3.6.6-1mdk - New release 3.6.6 * Wed Feb 09 2005 Gaetan Lehmann <gaetan.lehmann@jouy.inra.fr> 3.6.5-3mdk - remove patch to fix initscript * Wed Jan 05 2005 Lenny Cartier <lenny@mandrakesoft.com> 3.6.5-2mdk - fix initscript (from Luis Alves) * Tue Jan 04 2005 Lenny Cartier <lenny@mandrakesoft.com> 3.6.5-1mdk - 3.6.5 * Mon Nov 08 2004 Lenny Cartier <lenny@mandrakesoft.com> 3.6.4-2mdk - move config files to /etc/ddclient * Thu Nov 04 2004 Lenny Cartier <lenny@mandrakesoft.com> 3.6.4-1mdk - 3.6.4