1 |
brianr |
1.1 |
Summary: A client to update host entries on DynDNS like services |
2 |
|
|
Name: ddclient |
3 |
|
|
Version: 3.8.3 |
4 |
|
|
Release: 3%{?dist} |
5 |
|
|
License: GPL |
6 |
|
|
Group: System Environment/Base |
7 |
|
|
URL: http://ddclient.sourceforge.net/ |
8 |
|
|
Source0: http://downloads.sourceforge.net/ddclient/%{name}-%{version}.tar.bz2 |
9 |
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-buildroot |
10 |
|
|
BuildArch: noarch |
11 |
|
|
Requires: perl(IO::Socket::SSL) |
12 |
|
|
Patch0: ddclient-3.8.3.IO_Socket_inet4.patch |
13 |
|
|
%description |
14 |
|
|
DDclient is a small full featured client requiring only Perl and no |
15 |
|
|
additional modules. It runs under most UNIX OSes and has been tested |
16 |
|
|
under Linux and FreeBSD. Supported features include: operating as a |
17 |
|
|
daemon, manual and automatic updates, static and dynamic updates, |
18 |
|
|
optimized updates for multiple addresses, MX, wildcards, abuse |
19 |
|
|
avoidance, retrying failed updates, and sending update status to |
20 |
|
|
syslog and through e-mail. This release may now obtain your IP address |
21 |
|
|
from any interface, web based IP detection, Watchguard's SOHO router, |
22 |
|
|
Netopia's R910 router, SMC's Barricade broadband router, Netgear's |
23 |
|
|
RT3xx router, Linksys' broadband routers, MaxGate's UGATE-3x00 |
24 |
|
|
routers, ELSA's LANCOM DSL/10 routers, Cisco's 2610, 3com 3c886a 56k |
25 |
|
|
Lan Modem, SOHOWare BroadGuard NBG800, almost every other router with |
26 |
|
|
user configurable FW definitions (see the sample-etc_ddclient.conf) |
27 |
|
|
and now provides Full support for DynDNS.org's NIC2 protocol. Support |
28 |
|
|
is also included for other dynamic DNS services. Comes with sample |
29 |
|
|
scripts for use with DHCP, PPP, and cron. See the README for more |
30 |
|
|
information. |
31 |
|
|
|
32 |
|
|
%prep |
33 |
|
|
%setup -q |
34 |
|
|
%patch0 -p1 |
35 |
|
|
|
36 |
|
|
%build |
37 |
|
|
|
38 |
|
|
%install |
39 |
|
|
rm -rf %{buildroot} |
40 |
|
|
mkdir -p %{buildroot}{%{_sbindir},%{_sysconfdir}/ddclient,%{_initrddir}} |
41 |
|
|
install -p ddclient %{buildroot}%{_sbindir} |
42 |
|
|
install -p -m 0600 sample-etc_ddclient.conf %{buildroot}%{_sysconfdir}/ddclient/ddclient.conf |
43 |
|
|
touch %{buildroot}%{_sysconfdir}/ddclient.cache |
44 |
|
|
install -p sample-etc_rc.d_init.d_ddclient.redhat %{buildroot}%{_initrddir}/ddclient |
45 |
|
|
chmod -x sample* |
46 |
|
|
mkdir -p %{buildroot}%{_localstatedir}/cache/ddclient |
47 |
|
|
|
48 |
|
|
%clean |
49 |
|
|
rm -rf %{buildroot} |
50 |
|
|
|
51 |
|
|
%post |
52 |
|
|
/sbin/chkconfig --add ddclient |
53 |
|
|
|
54 |
|
|
%preun |
55 |
|
|
if [ $1 = 0 ]; then |
56 |
|
|
/sbin/service ddclient stop > /dev/null 2>&1 |
57 |
|
|
/sbin/chkconfig --del ddclient |
58 |
|
|
fi |
59 |
|
|
|
60 |
|
|
%files |
61 |
|
|
%defattr(-,root,root,-) |
62 |
|
|
%doc sample* README* COPYRIGHT COPYING |
63 |
|
|
%{_sbindir}/ddclient |
64 |
|
|
%dir %{_sysconfdir}/ddclient |
65 |
|
|
%config(noreplace) %{_sysconfdir}/ddclient/ddclient.conf |
66 |
|
|
%config(noreplace) %ghost %{_sysconfdir}/ddclient.cache |
67 |
|
|
%{_initrddir}/ddclient |
68 |
|
|
%{_localstatedir}/cache/ddclient |
69 |
|
|
|
70 |
|
|
%changelog |
71 |
|
|
* Sun Jul 12 2015 stephane de Labrusse <stephdl@de-labrusse.fr> 3.8.3-3.sme |
72 |
|
|
- Initial release to contribs9 |
73 |
|
|
- added patch ddclient-3.8.3.IO_Socket_inet4.patch |
74 |
|
|
|
75 |
|
|
* Sun Jul 12 2015 stephane de Labrusse <stephdl@de-labrusse.fr> 3.8.3-1.sme |
76 |
|
|
- update to 3.8.3 |
77 |
|
|
|
78 |
|
|
* Mon Jan 16 2012 Axel Thimm <Axel.Thimm@ATrpms.net> - 3.8.1-9 |
79 |
|
|
- Update to 3.8.1. |
80 |
|
|
|
81 |
|
|
* Sun Mar 1 2009 Axel Thimm <Axel.Thimm@ATrpms.net> - 3.8.0-8 |
82 |
|
|
- Update to 3.8.0. |
83 |
|
|
|
84 |
|
|
* Sun Aug 12 2007 Axel Thimm <Axel.Thimm@ATrpms.net> - 3.7.3-7 |
85 |
|
|
- Update to 3.7.3. |
86 |
|
|
- Fix bug #1228 (Phil Anderson <pza@pza.net.au>) |
87 |
|
|
- Fix bug #1238 (Martin Jürgens <mjuergens@gmail.com>) |
88 |
|
|
|
89 |
|
|
* Thu May 24 2007 Axel Thimm <Axel.Thimm@ATrpms.net> - 3.7.1-6 |
90 |
|
|
- Update to 3.7.1. |
91 |
|
|
|
92 |
|
|
* Wed Dec 28 2005 Axel Thimm <Axel.Thimm@ATrpms.net> |
93 |
|
|
- Update to 3.6.7. |
94 |
|
|
|
95 |
|
|
* Sun Jul 6 2003 Axel Thimm <Axel.Thimm@ATrpms.net> |
96 |
|
|
- Initial build. |
97 |
|
|
|
98 |
|
|
|