]> git.pld-linux.org Git - packages/ddclient.git/blob - ddclient.spec
- massive attack: adding Source-md5
[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 # Source0-md5:  1773aaf469a1faddd3f20d485a0fd6f2
13 Source1:        %{name}.init
14 BuildArch:      noarch
15 BuildRequires:  rpm-perlprov
16 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
17
18 %description
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.
34
35 %description -l pt_BR
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
39 gratuita.
40
41 %prep
42 %setup -q
43
44 %build
45
46 %install
47 rm -rf $RPM_BUILD_ROOT
48 install -d $RPM_BUILD_ROOT{/etc/rc.d/init.d,%{_sbindir}}
49
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}
53
54 %clean
55 rm -rf $RPM_BUILD_ROOT
56
57 %post
58 umask 022
59 /sbin/chkconfig --add %{name}
60 if [ -f /var/lock/subsys/%{name} ]; then
61         /etc/rc.d/init.d/%{name} restart >&2
62 else
63         echo "Run \"/etc/rc.d/init.d/%{name} start\" to start %{name} daemon."
64 fi
65
66 %preun
67 if [ "$1" = "0" ]; then
68         if [ -f /var/lock/subsys/%{name} ]; then
69                 /etc/rc.d/init.d/%{name} stop >&2
70         fi
71         /sbin/chkconfig --del %{name}
72 fi
73
74 %files
75 %defattr(644,root,root,755)
76 %doc README*
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}
This page took 0.135652 seconds and 4 git commands to generate.