]> git.pld-linux.org Git - packages/ez-ipupdate.git/blob - ez-ipupdate.spec
- format string vulnerability, CAN-2004-0980
[packages/ez-ipupdate.git] / ez-ipupdate.spec
1 Summary:        Client for Dynamic DNS Services
2 Summary(pl):    Klient dla serwisów dynamicznego DNS
3 Name:           ez-ipupdate
4 Version:        3.0.11b8
5 Release:        3
6 Group:          Networking
7 License:        GPL
8 Source0:        http://ez-ipupdate.com/dist/%{name}-%{version}.tar.gz
9 # Source0-md5:  000211add4c4845ffa4211841bff4fb0
10 Source1:        %{name}.init
11 Source2:        %{name}.config
12 URL:            http://ez-ipupdate.com/
13 BuildRequires:  autoconf
14 BuildRequires:  automake
15 BuildRequires:  perl-base
16 PreReq:         rc-scripts
17 Requires(post,preun):   /sbin/chkconfig
18 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
19
20 %description
21 ez-ipupdate is a small utility for updating your host name for any of
22 the dynamic DNS service offered at:
23  - http://www.ez-ip.net/
24  - http://www.justlinux.com/
25  - http://www.dhs.org/
26  - http://www.dyndns.org/
27  - http://www.ods.org/
28  - http://gnudip.cheapnet.net/ (GNUDip)
29  - http://www.dyn.ca/ (GNUDip)
30  - http://www.tzo.com/
31  - http://www.easydns.com/
32  - http://www.dyns.cx/
33  - http://www.hn.org/
34  - http://www.zoneedit.com/
35
36 It is pure C and works on Linux, *BSD and Solaris.
37
38 Don't forget to create your own config file (in
39 /etc/ez-ipupdate.conf). You can find some example in
40 /usr/share/doc/%{name}-%{version}.
41
42 %description -l pl
43 ez-ipupdate to ma³e narzêdzie do uaktualniania nazwy hosta w dowolnym
44 serwisie dynamicznego DNS spo¶ród:
45  - http://www.ez-ip.net/
46  - http://www.justlinux.com/
47  - http://www.dhs.org/
48  - http://www.dyndns.org/
49  - http://www.ods.org/
50  - http://gnudip.cheapnet.net/ (GNUDip)
51  - http://www.dyn.ca/ (GNUDip)
52  - http://www.tzo.com/
53  - http://www.easydns.com/
54  - http://www.dyns.cx/
55  - http://www.hn.org/
56  - http://www.zoneedit.com/
57
58 Jest napisane w czystym C i dzia³a na Linuksie, *BSD oraz Solarisie.
59
60 Nie nale¿y zapomnieæ o utworzeniu w³asnego pliku konfiguracyjnego
61 (/etc/ez-ipupdate.conf). Przyk³ad mo¿na znale¼æ w katalogu
62 /usr/share/doc/%{name}-%{version}.
63
64 %prep
65 %setup -q
66
67 %build
68 install %{_datadir}/automake/config.* .
69 %{__aclocal}
70 %{__autoconf}
71 %configure
72 %{__make}
73
74 %install
75 rm -rf $RPM_BUILD_ROOT
76 install -d $RPM_BUILD_ROOT{/etc/rc.d/init.d,/etc/sysconfig}
77
78 %{__make} install \
79         DESTDIR=$RPM_BUILD_ROOT
80
81 install %{SOURCE1} $RPM_BUILD_ROOT/etc/rc.d/init.d/%{name}
82 install %{SOURCE2} $RPM_BUILD_ROOT/etc/sysconfig/%{name}
83 touch $RPM_BUILD_ROOT%{_sysconfdir}/%{name}.conf
84
85 %{__perl} -pi -e "s|/usr/local/bin|%{_bindir}|" *.conf
86
87 %clean
88 rm -rf $RPM_BUILD_ROOT
89
90 %post
91 /sbin/chkconfig --add %{name}
92 if [ -f /var/lock/subsys/%{name} ]; then
93         /etc/rc.d/init.d/%{name} restart >&2
94 else
95         echo "Run \"/etc/rc.d/init.d/%{name} start\" to start %{name} daemon."
96 fi
97
98 %preun
99 if [ "$1" = "0" ]; then
100         if [ -f /var/lock/subsys/%{name} ]; then
101                 /etc/rc.d/init.d/%{name} stop >&2
102         fi
103         /sbin/chkconfig --del %{name}
104 fi
105
106 %files
107 %defattr(644,root,root,755)
108 %doc README CHANGELOG *.conf
109 %attr(755,root,root) %{_bindir}/*
110 %attr(640,root,root) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/%{name}.conf
111 %attr(640,root,root) %config(noreplace) %verify(not size mtime md5) /etc/sysconfig/%{name}
112 %attr(754,root,root) /etc/rc.d/init.d/%{name}
This page took 0.038059 seconds and 3 git commands to generate.