]> git.pld-linux.org Git - packages/opie.git/blob - opie.spec
rel 15; rediff patches
[packages/opie.git] / opie.spec
1 Summary:        OPIE suite of programs
2 Summary(pl.UTF-8):      Zestaw programów do OPIE
3 Name:           opie
4 Version:        2.4
5 Release:        15
6 Epoch:          1
7 License:        NRL/TIN
8 Group:          Applications/System
9 Source0:        http://inner.net/pub/opie/%{name}-%{version}.tar.gz
10 # Source0-md5:  d46e0ff8cc721a287892192dc4e7b7e1
11 Patch0:         %{name}-makefile.patch
12 Patch1:         %{name}-ttyname.patch
13 Patch2:         %{name}-bison.patch
14 Patch3:         %{name}-acfix.patch
15 Patch4:         %{name}-errno.patch
16 Patch5:         %{name}-suse.patch
17 Patch6:         %{name}-uint4.patch
18 Patch7:         %{name}-getline.patch
19 Patch8:         format-security.patch
20 URL:            http://inner.net/opie
21 BuildRequires:  autoconf >= 2.52
22 BuildRequires:  bison
23 Requires:       %{name}-libs = %{epoch}:%{version}
24 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
25
26 %description
27 The OPIE suite of programs.
28
29 OPIE is an implementation of the One-Time Password (OTP) System that
30 is being considered for the Internet standards-track. OPIE provides a
31 one-time password system. The system should be secure against the
32 passive attacks now commonplace on the Internet (see RFC 1704 for more
33 details). The system is vulnerable to active dictionary attacks,
34 though these are not widespread at present and can be detected through
35 proper use of system audit software.
36
37 %description -l pl.UTF-8
38 Zestaw programów do OPIE.
39
40 OPIE jest implementacją One-Time Password (OTP) System - systemu haseł
41 jednorazowych. Powinien on być odporny na popularne w Internecie ataki
42 pasywne (zobacz RFC 1704). Jest on podatny na ataki słownikowe, które
43 nie są aktualnie szeroko rozpowszechnione.
44
45 %package libs
46 Summary:        OPIE shared libraries
47 Summary(pl.UTF-8):      Biblioteki współdzielone OPIE
48 Group:          Libraries
49 Conflicts:      %{name} < 2.4-2
50
51 %description libs
52 OPIE (One-Time Password System) shared libraries.
53
54 %description libs -l pl.UTF-8
55 Biblioteki współdzielone OPIE (systemu haseł jednorazowych).
56
57 %package devel
58 Summary:        Headers for developing OPIE enabled programs
59 Summary(pl.UTF-8):      Nagłówki do tworzenia programów z obsługą OPIE
60 Group:          Development/Libraries
61 Requires:       %{name}-libs = %{epoch}:%{version}
62 Requires:       filesystem >= 3.0-11
63
64 %description devel
65 Headers for developing OPIE enabled programs.
66
67 %description devel -l pl.UTF-8
68 Pliki nagłówkowe potrzebne do tworzenia programów z obsługą OPIE.
69
70 %package static
71 Summary:        OPIE static libraries
72 Summary(pl.UTF-8):      Statyczne biblioteki OPIE
73 Group:          Development/Libraries
74 Requires:       %{name}-devel = %{epoch}:%{version}
75
76 %description static
77 OPIE staic libraries.
78
79 %description static -l pl.UTF-8
80 Statyczne biblioteki OPIE.
81
82 %prep
83 %setup -q
84 %patch0 -p1
85 %patch1 -p0
86 %patch2 -p1
87 %patch3 -p1
88 %patch4 -p1
89 %patch5 -p1
90 %patch6 -p0
91 %patch7 -p1
92 %patch8 -p1
93
94 %build
95 %{__autoconf}
96 %configure \
97         --enable-access-file=%{_sysconfdir}/opie/access \
98         --enable-user-locking=/var/lib/opie \
99         --enable-insecure-override
100
101 %{__make} DEBUG="%{rpmcflags} " \
102         KEY_FILE=%{_sysconfdir}/opie/keys
103
104 %install
105 rm -rf $RPM_BUILD_ROOT
106 install -d $RPM_BUILD_ROOT{%{_sysconfdir}/opie,%{_sbindir},%{_libdir},%{_includedir}/security,/var/lib}
107
108 %{__make} install \
109         DESTDIR=$RPM_BUILD_ROOT \
110         KEY_FILE=%{_sysconfdir}/opie/keys
111
112 install opie.h $RPM_BUILD_ROOT%{_includedir}/security
113 ln -sf libopie.so.2.4 $RPM_BUILD_ROOT%{_libdir}/libopie.so.2
114
115 %clean
116 rm -rf $RPM_BUILD_ROOT
117
118 %post   libs -p /sbin/ldconfig
119 %postun libs -p /sbin/ldconfig
120
121 %files
122 %defattr(644,root,root,755)
123 %attr(755,root,root) %{_bindir}/opieinfo
124 %attr(755,root,root) %{_bindir}/opiekey
125 %attr(755,root,root) %{_bindir}/otp-md4
126 %attr(755,root,root) %{_bindir}/otp-md5
127 %attr(4755,root,root) %{_bindir}/opiepasswd
128 %attr(4755,root,root) %{_sbindir}/opiesu
129 %attr(4755,root,root) %{_sbindir}/opielogin
130 %attr(750,root,root) %{_sbindir}/opieftpd
131 %dir %attr(700,root,root) /var/lib/opie
132 %{_mandir}/man1/opiegen.1*
133 %{_mandir}/man1/opieinfo.1*
134 %{_mandir}/man1/opiekey.1*
135 %{_mandir}/man1/opielogin.1*
136 %{_mandir}/man1/opiepasswd.1*
137 %{_mandir}/man1/opieserv.1*
138 %{_mandir}/man1/opiesu.1*
139 %{_mandir}/man1/otp-md4.1*
140 %{_mandir}/man1/otp-md5.1*
141 %{_mandir}/man4/opie.4*
142 %{_mandir}/man5/opieaccess.5*
143 %{_mandir}/man8/opieftpd.8*
144
145 %files libs
146 %defattr(644,root,root,755)
147 %doc BUG-REPORT README COPYRIGHT.NRL License.TIN
148 %attr(755,root,root) %{_libdir}/libopie.so.*.*
149 %attr(755,root,root) %ghost %{_libdir}/libopie.so.2
150 %dir %{_sysconfdir}/opie
151 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/opie/keys
152 %{_mandir}/man5/opiekeys.5*
153
154 %files devel
155 %defattr(644,root,root,755)
156 %attr(755,root,root) %{_libdir}/libopie.so
157 %{_includedir}/security/opie.h
158
159 %files static
160 %defattr(644,root,root,755)
161 %{_libdir}/libopie.a
This page took 0.097137 seconds and 3 git commands to generate.