]> git.pld-linux.org Git - packages/ddclient.git/commitdiff
- initial pld release
authorArkadiusz Miśkiewicz <arekm@maven.pl>
Wed, 14 May 2003 12:38:10 +0000 (12:38 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    ddclient.spec -> 1.1

ddclient.spec [new file with mode: 0644]

diff --git a/ddclient.spec b/ddclient.spec
new file mode 100644 (file)
index 0000000..dfa2b1b
--- /dev/null
@@ -0,0 +1,78 @@
+%include       /usr/lib/rpm/macros.perl
+Name:          ddclient
+Epoch:         1
+Version:       3.6.3
+Release:       1
+Summary:       A dynamic IP address utility
+Summary(pt_BR):        Cliente para atualizar entradas DNS dinâmicas no DynDNS.org
+Group:         Networking
+License:       GPL
+URL:           http://burry.ca:4141/ddclient/
+Source0:       http://members.rogers.com/ddclient/pub/%{name}-%{version}.tar.gz
+Source1:       %{name}.init
+BuildArch:     noarch
+BuildRequires: rpm-perlprov
+BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+Features: FULL DynDNS NIC2 support and now Custom updates and an RPM!
+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 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.
+
+%description -l pt_BR
+O ddclient é um cliente perl usada para atualizar entradas DNS
+dinâmicas em contas do serviço de DNS dinâmico gratuito. Veja
+http://www.dyndns.org para obter detalhes sobre como obter uma conta
+gratuita.
+
+%prep
+%setup -q
+
+%build
+
+%install
+rm -rf $RPM_BUILD_ROOT
+install -d $RPM_BUILD_ROOT{/etc/rc.d/init.d,%{_sbindir}}
+
+install sample-etc_ddclient.conf $RPM_BUILD_ROOT/etc/%{name}.conf
+install %{name} $RPM_BUILD_ROOT%{_sbindir}
+install %{SOURCE1} $RPM_BUILD_ROOT/etc/rc.d/init.d/%{name}
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%post
+umask 022
+/sbin/chkconfig --add %{name}
+if [ -f /var/lock/subsys/%{name} ]; then
+        /etc/rc.d/init.d/%{name} restart >&2
+else
+        echo "Run \"/etc/rc.d/init.d/%{name} start\" to start %{name} daemon."
+fi
+
+%preun
+if [ "$1" = "0" ]; then
+        if [ -f /var/lock/subsys/%{name} ]; then
+                /etc/rc.d/init.d/%{name} stop >&2
+        fi
+        /sbin/chkconfig --del %{name}
+fi
+
+%files
+%defattr(644,root,root,755)
+%doc README*
+%attr(755,root,root) %{_sbindir}/*
+%attr(640,root,root) %config(noreplace) %verify(not size mtime md5) /etc/%{name}.conf
+%attr(754,root,root) /etc/rc.d/init.d/%{name}
This page took 0.035624 seconds and 4 git commands to generate.