1 Summary: OPIE suite of programs
2 Summary(pl.UTF-8): Zestaw programów do OPIE
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
23 Requires: %{name}-libs = %{epoch}:%{version}
24 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
27 The OPIE suite of programs.
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.
37 %description -l pl.UTF-8
38 Zestaw programów do OPIE.
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.
46 Summary: OPIE shared libraries
47 Summary(pl.UTF-8): Biblioteki współdzielone OPIE
49 Conflicts: %{name} < 2.4-2
52 OPIE (One-Time Password System) shared libraries.
54 %description libs -l pl.UTF-8
55 Biblioteki współdzielone OPIE (systemu haseł jednorazowych).
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
65 Headers for developing OPIE enabled programs.
67 %description devel -l pl.UTF-8
68 Pliki nagłówkowe potrzebne do tworzenia programów z obsługą OPIE.
71 Summary: OPIE static libraries
72 Summary(pl.UTF-8): Statyczne biblioteki OPIE
73 Group: Development/Libraries
74 Requires: %{name}-devel = %{epoch}:%{version}
79 %description static -l pl.UTF-8
80 Statyczne biblioteki OPIE.
97 --enable-access-file=%{_sysconfdir}/opie/access \
98 --enable-user-locking=/var/lib/opie \
99 --enable-insecure-override
101 %{__make} DEBUG="%{rpmcflags} " \
102 KEY_FILE=%{_sysconfdir}/opie/keys
105 rm -rf $RPM_BUILD_ROOT
106 install -d $RPM_BUILD_ROOT{%{_sysconfdir}/opie,%{_sbindir},%{_libdir},%{_includedir}/security,/var/lib}
109 DESTDIR=$RPM_BUILD_ROOT \
110 KEY_FILE=%{_sysconfdir}/opie/keys
112 install opie.h $RPM_BUILD_ROOT%{_includedir}/security
113 ln -sf libopie.so.2.4 $RPM_BUILD_ROOT%{_libdir}/libopie.so.2
116 rm -rf $RPM_BUILD_ROOT
118 %post libs -p /sbin/ldconfig
119 %postun libs -p /sbin/ldconfig
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*
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*
155 %defattr(644,root,root,755)
156 %attr(755,root,root) %{_libdir}/libopie.so
157 %{_includedir}/security/opie.h
160 %defattr(644,root,root,755)