1 %include /usr/lib/rpm/macros.perl
2 Summary: A dynamic IP address utility
3 Summary(pl): Narzêdzie do dynamicznych adresów IP
4 Summary(pt_BR): Cliente para atualizar entradas DNS dinâmicas no DynDNS.org
11 Source0: http://members.rogers.com/ddclient/pub/%{name}-%{version}.tar.gz
12 # Source0-md5: 1773aaf469a1faddd3f20d485a0fd6f2
14 URL: http://burry.ca:4141/ddclient/
15 BuildRequires: rpm-perlprov
17 Requires(post,preun): /sbin/chkconfig
19 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
22 DDclient is a small full featured client with FULL DynDNS NIC2
23 support, requiring only Perl and no additional modules. It runs under
24 most UNIX OSes and has been tested under Linux and FreeBSD. Supported
25 features include: operating as a daemon, manual and automatic updates,
26 static and dynamic updates, optimized updates for multiple addresses,
27 MX, wildcards, abuse avoidance, retrying failed updates, and sending
28 update status to syslog and through e-mail. This release may now
29 obtain your IP address from any interface, web based IP detection,
30 Watchguard's SOHO router, Netopia's R910 router, SMC's Barricade
31 broadband router, Netgear's RT3xx router, Linksys' broadband routers,
32 MaxGate's UGATE-3x00 routers, ELSA's LANCOM DSL/10 routers and now
33 provides Full support for DynDNS.org's NIC2 protocol. Support is also
34 included for other dynamic DNS services. Comes with sample scripts for
35 use with DHCP, PPP, and cron. See the README for more information.
38 DDclient to ma³y, w pe³ni funkcjonalny klient z PE£N¡ obs³ug± DynDNS
39 NIC2, wymagaj±cy tylko Perla bez ¿adnych dodatkowych modu³ów. Dzia³a
40 pod wiêkszo¶ci± systemów uniksowych, by³ testowany pod Linuksem i
41 FreeBSD. Jego mo¿liwo¶ci to miêdzy innymi: praca jako demon, rêczne
42 i automatyczne uaktualnienia, statyczne i dynamiczne uaktualnienia,
43 uaktualnienia zoptymalizowane dla wielu adresów, MX-y, wildcardy,
44 zapobieganie nadu¿yciom, ponawianie nieudanych uaktualnieñ, wysy³anie
45 statusu uaktualnieñ do sysloga i poczt±. Ta wersja mo¿e pobraæ adres
46 IP z dowolnego interfejsu, wykrywania przez WWW, routerów: Watchguard
47 SOGO, szerokopasmowych SMC Barricane, Netgear RT3xx, szerokopasmowych
48 Linksys, MaxGate UGATE-3x00, ELSA LANCOM DSL/10, a teraz tak¿e ma
49 pe³n± obs³ugê protoko³u DynDNS NIC2. Ma tak¿e wsparcie dla innych
50 us³ug dynamicznego DNS. Zawiera przyk³adowe skrypty do u¿ywania z
51 DHCP, PPP i cronem. Wiêcej informacji w README.
54 O ddclient é um cliente perl usada para atualizar entradas DNS
55 dinâmicas em contas do serviço de DNS dinâmico gratuito. Veja
56 http://www.dyndns.org para obter detalhes sobre como obter uma conta
63 rm -rf $RPM_BUILD_ROOT
64 install -d $RPM_BUILD_ROOT{/etc/rc.d/init.d,%{_sbindir}}
66 install sample-etc_ddclient.conf $RPM_BUILD_ROOT/etc/%{name}.conf
67 install %{name} $RPM_BUILD_ROOT%{_sbindir}
68 install %{SOURCE1} $RPM_BUILD_ROOT/etc/rc.d/init.d/%{name}
71 rm -rf $RPM_BUILD_ROOT
74 /sbin/chkconfig --add %{name}
75 if [ -f /var/lock/subsys/%{name} ]; then
76 /etc/rc.d/init.d/%{name} restart >&2
78 echo "Run \"/etc/rc.d/init.d/%{name} start\" to start %{name} daemon."
82 if [ "$1" = "0" ]; then
83 if [ -f /var/lock/subsys/%{name} ]; then
84 /etc/rc.d/init.d/%{name} stop >&2
86 /sbin/chkconfig --del %{name}
90 %defattr(644,root,root,755)
92 %attr(755,root,root) %{_sbindir}/*
93 %attr(640,root,root) %config(noreplace) %verify(not size mtime md5) /etc/%{name}.conf
94 %attr(754,root,root) /etc/rc.d/init.d/%{name}