]> git.pld-linux.org Git - packages/ddclient.git/blob - ddclient.spec
- initial pld release
[packages/ddclient.git] / ddclient.spec
1 %include        /usr/lib/rpm/macros.perl
2 Name:           ddclient
3 Epoch:          1
4 Version:        3.6.3
5 Release:        1
6 Summary:        A dynamic IP address utility
7 Summary(pt_BR): Cliente para atualizar entradas DNS dinâmicas no DynDNS.org
8 Group:          Networking
9 License:        GPL
10 URL:            http://burry.ca:4141/ddclient/
11 Source0:        http://members.rogers.com/ddclient/pub/%{name}-%{version}.tar.gz
12 Source1:        %{name}.init
13 BuildArch:      noarch
14 BuildRequires:  rpm-perlprov
15 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
16
17 %description
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.
33
34 %description -l pt_BR
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
38 gratuita.
39
40 %prep
41 %setup -q
42
43 %build
44
45 %install
46 rm -rf $RPM_BUILD_ROOT
47 install -d $RPM_BUILD_ROOT{/etc/rc.d/init.d,%{_sbindir}}
48
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}
52
53 %clean
54 rm -rf $RPM_BUILD_ROOT
55
56 %post
57 umask 022
58 /sbin/chkconfig --add %{name}
59 if [ -f /var/lock/subsys/%{name} ]; then
60         /etc/rc.d/init.d/%{name} restart >&2
61 else
62         echo "Run \"/etc/rc.d/init.d/%{name} start\" to start %{name} daemon."
63 fi
64
65 %preun
66 if [ "$1" = "0" ]; then
67         if [ -f /var/lock/subsys/%{name} ]; then
68                 /etc/rc.d/init.d/%{name} stop >&2
69         fi
70         /sbin/chkconfig --del %{name}
71 fi
72
73 %files
74 %defattr(644,root,root,755)
75 %doc README*
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}
This page took 0.086178 seconds and 4 git commands to generate.