1 %include /usr/lib/rpm/macros.perl
6 Summary: A dynamic IP address utility
7 Summary(pt_BR): Cliente para atualizar entradas DNS dinâmicas no DynDNS.org
10 URL: http://burry.ca:4141/ddclient/
11 Source0: http://members.rogers.com/ddclient/pub/%{name}-%{version}.tar.gz
14 BuildRequires: rpm-perlprov
15 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
18 Features: FULL DynDNS NIC2 support and now Custom updates and an RPM!
19 DDclient is a small full featured client requiring only Perl and no
20 additional modules. It runs under most UNIX OSes and has been tested
21 under Linux and FreeBSD. Supported features include: operating as a
22 daemon, manual and automatic updates, static and dynamic updates,
23 optimized updates for multiple addresses, MX, wildcards, abuse
24 avoidance, retrying failed updates, and sending update status to
25 syslog and through e-mail. This release may now obtain your IP address
26 from any interface, web based IP detection, Watchguard's SOHO router,
27 Netopia's R910 router, SMC's Barricade broadband router, Netgear's
28 RT3xx router, Linksys' broadband routers, MaxGate's UGATE-3x00
29 routers, ELSA's LANCOM DSL/10 routers and now provides Full support
30 for DynDNS.org's NIC2 protocol. Support is also included for other
31 dynamic DNS services. Comes with sample scripts for use with DHCP,
32 PPP, and cron. See the README for more information.
35 O ddclient é um cliente perl usada para atualizar entradas DNS
36 dinâmicas em contas do serviço de DNS dinâmico gratuito. Veja
37 http://www.dyndns.org para obter detalhes sobre como obter uma conta
46 rm -rf $RPM_BUILD_ROOT
47 install -d $RPM_BUILD_ROOT{/etc/rc.d/init.d,%{_sbindir}}
49 install sample-etc_ddclient.conf $RPM_BUILD_ROOT/etc/%{name}.conf
50 install %{name} $RPM_BUILD_ROOT%{_sbindir}
51 install %{SOURCE1} $RPM_BUILD_ROOT/etc/rc.d/init.d/%{name}
54 rm -rf $RPM_BUILD_ROOT
58 /sbin/chkconfig --add %{name}
59 if [ -f /var/lock/subsys/%{name} ]; then
60 /etc/rc.d/init.d/%{name} restart >&2
62 echo "Run \"/etc/rc.d/init.d/%{name} start\" to start %{name} daemon."
66 if [ "$1" = "0" ]; then
67 if [ -f /var/lock/subsys/%{name} ]; then
68 /etc/rc.d/init.d/%{name} stop >&2
70 /sbin/chkconfig --del %{name}
74 %defattr(644,root,root,755)
76 %attr(755,root,root) %{_sbindir}/*
77 %attr(640,root,root) %config(noreplace) %verify(not size mtime md5) /etc/%{name}.conf
78 %attr(754,root,root) /etc/rc.d/init.d/%{name}