Репозитории ALT
S: | 3.9.0-alt1 |
5.1: | 3.8.0-alt1 |
4.1: | 3.8.0-alt0.M41.1 |
4.0: | 3.8.0-alt0.M40.1 |
Группа :: Система/Настройка/Сеть
Пакет: ddclient
Главная Изменения Спек Патчи Sources Загрузить Gear Bugs and FR Repocop
%define privuser dyndns
%define privgroup dyndns
%define privpath /var/empty
Summary: A client to update host entries on DynDNS like services
Name: ddclient
Version: 3.8.0
Release: alt0.M40.1
License: GPLv2
Group: System/Configuration/Networking
Packager: Motsyo Gennadi <drool at altlinux.ru>
Url: http://ddclient.sourceforge.net/
Source0: http://prdownloads.sourceforge.net/ddclient/%name-%version.tar.bz2
Source1: ddclientd
Source2: README_SSL.ALT.txt
Patch0: %name-3.7.1-piddir.diff
Patch1: %name-3.8.0.fix_ssl_warning_altspecifics.diff
BuildArch: noarch
%description
DDclient is a small full featured client requiring only Perl and no
additional modules. It runs under most UNIX OSes and has been tested
under 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. This release may now obtain your IP address
from any interface, web based IP detection, Watchguard's SOHO router,
Netopia's R910 router, SMC's Barricade broadband router, Netgear's
RT3xx router, Linksys' broadband routers, MaxGate's UGATE-3x00
routers, ELSA's LANCOM DSL/10 routers, Cisco's 2610, 3com 3c886a 56k
Lan Modem, SOHOWare BroadGuard NBG800, almost every other router with
user configurable FW definitions (see the sample-etc_ddclient.conf)
and now provides Full support for DynDNS.org's NIC2 protocol. Support
is also included for other dynamic DNS services. Comes with sample
scripts for use with DHCP, PPP, and cron. See the README for more
information.
%prep
%setup -q
%patch0 -p1
%patch1 -p1
install -m 0644 %SOURCE2 ./README_SSL.ALT.txt
%build
%install
mkdir -p %buildroot{%_sbindir,%_sysconfdir/%name,%_initdir}
mkdir -p %buildroot/var/cache/ddclient
mkdir -p %buildroot/var/run/ddclient
install -p ddclient %buildroot%_sbindir
install -p sample-etc_ddclient.conf %buildroot%_sysconfdir/%name/ddclient.conf
touch %buildroot%_sysconfdir/%name/ddclient.cache
install -p -m 0755 %SOURCE1 %buildroot%_initdir/ddclientd
%pre
/usr/sbin/groupadd -r -f %privgroup
/usr/sbin/useradd -r -s /dev/null -g %privgroup -d %privpath >/dev/null -c 'DynDNS daemon' %privuser >/dev/null 2>&1 ||:
%post
%post_service ddclientd
%files
%doc sample* README* COPY* Change*
%_sbindir/ddclient
%dir %attr(750,root,dyndns) %_sysconfdir/%name
%attr(600,dyndns,dyndns) %config(noreplace) %_sysconfdir/%name/ddclient.conf
%config(noreplace) %ghost %_sysconfdir/%name/ddclient.cache
%_initdir/ddclientd
%dir %attr(2770,root,dyndns) /var/cache/ddclient
%dir %attr(2770,root,dyndns) /var/run/ddclient
%changelog
…
Полный changelog можно просмотреть здесь
%define privgroup dyndns
%define privpath /var/empty
Summary: A client to update host entries on DynDNS like services
Name: ddclient
Version: 3.8.0
Release: alt0.M40.1
License: GPLv2
Group: System/Configuration/Networking
Packager: Motsyo Gennadi <drool at altlinux.ru>
Url: http://ddclient.sourceforge.net/
Source0: http://prdownloads.sourceforge.net/ddclient/%name-%version.tar.bz2
Source1: ddclientd
Source2: README_SSL.ALT.txt
Patch0: %name-3.7.1-piddir.diff
Patch1: %name-3.8.0.fix_ssl_warning_altspecifics.diff
BuildArch: noarch
%description
DDclient is a small full featured client requiring only Perl and no
additional modules. It runs under most UNIX OSes and has been tested
under 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. This release may now obtain your IP address
from any interface, web based IP detection, Watchguard's SOHO router,
Netopia's R910 router, SMC's Barricade broadband router, Netgear's
RT3xx router, Linksys' broadband routers, MaxGate's UGATE-3x00
routers, ELSA's LANCOM DSL/10 routers, Cisco's 2610, 3com 3c886a 56k
Lan Modem, SOHOWare BroadGuard NBG800, almost every other router with
user configurable FW definitions (see the sample-etc_ddclient.conf)
and now provides Full support for DynDNS.org's NIC2 protocol. Support
is also included for other dynamic DNS services. Comes with sample
scripts for use with DHCP, PPP, and cron. See the README for more
information.
%prep
%setup -q
%patch0 -p1
%patch1 -p1
install -m 0644 %SOURCE2 ./README_SSL.ALT.txt
%build
%install
mkdir -p %buildroot{%_sbindir,%_sysconfdir/%name,%_initdir}
mkdir -p %buildroot/var/cache/ddclient
mkdir -p %buildroot/var/run/ddclient
install -p ddclient %buildroot%_sbindir
install -p sample-etc_ddclient.conf %buildroot%_sysconfdir/%name/ddclient.conf
touch %buildroot%_sysconfdir/%name/ddclient.cache
install -p -m 0755 %SOURCE1 %buildroot%_initdir/ddclientd
%pre
/usr/sbin/groupadd -r -f %privgroup
/usr/sbin/useradd -r -s /dev/null -g %privgroup -d %privpath >/dev/null -c 'DynDNS daemon' %privuser >/dev/null 2>&1 ||:
%post
%post_service ddclientd
%files
%doc sample* README* COPY* Change*
%_sbindir/ddclient
%dir %attr(750,root,dyndns) %_sysconfdir/%name
%attr(600,dyndns,dyndns) %config(noreplace) %_sysconfdir/%name/ddclient.conf
%config(noreplace) %ghost %_sysconfdir/%name/ddclient.cache
%_initdir/ddclientd
%dir %attr(2770,root,dyndns) /var/cache/ddclient
%dir %attr(2770,root,dyndns) /var/run/ddclient
%changelog
…
Полный changelog можно просмотреть здесь