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