%define _initddir /etc/rc.d/init.d Summary: A client to update host entries on DynDNS like services Name: ddclient Version: 3.7.1 Release: %mkrel 2 License: GPL Group: System/Configuration/Networking URL: http://ddclient.sourceforge.net/ Source0: http://prdownloads.sourceforge.net/ddclient/%name-%version.tar.bz2 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 * 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 * Thu Jun 15 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 * Fri May 27 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 * Tue Dec 16 2003 Lenny Cartier <lenny@mandrakesoft.com> 3.6.3-1mdk - from Laurent Grawet <laurent.grawet@ibelgique.com> : - Initial Mandrake build. * Sun Jul 6 2003 Axel Thimm <Axel.Thimm@physik.fu-berlin.de> - Initial build.