General
Start
APT/YUM/Smart config
List of packages
GPG key
Mirrors
Recent changes
How you can help
Pydar2
Thanks:
Buildsystem hosted at ithomi
SUSE and Mandrake builds made by the openSUSE build service
Static site hosted at ULYSSIS
Primary mirrors hosted at BELNET, HEAnet, 3TI
Varia:
Random picture!
Looking for a java job?
Leuven blogt

ddclient spec file : Dries RPM Repository

Back to the ddclient rpms

Current spec in pydar2:


# $Id: ddclient.spec 5721 2007-08-13 07:26:26Z dries $
# Authority: dries

Summary: Updates dynamic DNS entries
Name: ddclient
Version: 3.7.3
Release: 1
License: GPL
Group: Applications/Internet
URL: http://ddclient.sourceforge.net/

Source: http://dl.sf.net/ddclient/ddclient-%{version}.tar.bz2
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root

BuildArch: noarch
Requires: perl(IO::Socket::SSL)

%description
Ddclient is a Perl client used to update dynamic DNS entries for accounts on
Dynamic DNS Network Services' free DNS service.

DDclient is a small but full featured client requiring only Perl and no
additional modules. It runs under most UNIX OSes and has been tested under
GNU/Linux and FreeBSD. Supported features include: operating as a daemon,
manual and automatic updates, static and dynamic updates, optimized updates
for multiple addresses, MX, wildcards, abuse avoidance, retrying failed
updates, and sending update status to syslog and through e-mail.

%prep
%setup

%build
# nothing to do

%install
%{__rm} -rf %{buildroot}
%{__install} -Dp -m0755 ddclient %{buildroot}%{_sbindir}/ddclient
%{__install} -Dp -m0755 sample-etc_rc.d_init.d_ddclient.redhat %{buildroot}%{_initrddir}/ddclient
%{__install} -Dp -m0600 sample-etc_ddclient.conf %{buildroot}%{_sysconfdir}/ddclient/ddclient.conf

%clean
%{__rm} -rf %{buildroot}

%post
if [ $1 -eq 1 ]; then
    /sbin/chkconfig --add ddclient
fi

%preun
if [ $1 -eq 0 ]; then
    /sbin/service ddclient stop &>/dev/null || :
    /sbin/chkconfig --del ddclient
fi

%postun
if [ $1 -ge 1 ]; then
    /sbin/service ddclient condrestart &>/dev/null || :
fi

%files
%defattr(-, root, root, 0755)
%doc COPYING COPYRIGHT README* sample-*
%config(noreplace) %{_sysconfdir}/ddclient/
%config %{_initrddir}/ddclient
%{_sbindir}/ddclient

%changelog
* Mon Aug 13 2007 Dries Verachtert  - 3.7.3-1
- Updated to release 3.7.3.

* Mon Feb 12 2007 Dries Verachtert  - 3.7.1-1
- Updated to release 3.7.1.

* Mon Dec 11 2006 Dag Wieers  - 3.7.0-2
- Added perl(IO::Socket::SSL) dependency since ssl=yes is enabled by default. (Jim Richardson)

* Sun Nov 12 2006 Dries Verachtert  - 3.7.0-1
- Updated to release 3.7.0.

* Sun Dec 18 2005 Dries Verachtert  - 3.6.7-1
- Updated to release 3.6.7.

* Sun Mar 13 2005 Dries Verachtert  - 3.6.5-4
- Fixed the permissions of the ddclient init script (Thanks to Stef Van Dessel)

* Tue Dec 07 2004 Dries Verachtert  - 3.6.5-3
- Fixed the location of ddclient.conf (Thanks to Andi Mueller)

* Mon Dec 06 2004 Dries Verachtert  - 3.6.5-2
- Update to release 3.6.5.

* Sun Dec 05 2004 Dries Verachtert  - 3.6.4-2
- Install additional files fix (Thanks to Thilo Pfennig
  and Jorge I Bartos)

* Wed Nov 03 2004 Dries Verachtert  - 3.6.4-1
- Initial package.