34 Distribution: OpenPKG Community |
34 Distribution: OpenPKG Community |
35 Class: PLUS |
35 Class: PLUS |
36 Group: Cryptography |
36 Group: Cryptography |
37 License: INL3 |
37 License: INL3 |
38 Version: %{V_major}.%{V_minor} |
38 Version: %{V_major}.%{V_minor} |
39 Release: 20080101 |
39 Release: 20120800 |
40 |
40 |
41 # list of sources |
41 # list of sources |
42 Source0: http://www.inner.net/pub/opie/test/opie-%{V_major}-test%{V_minor}.tar.gz |
42 Source0: http://www.inner.net/pub/opie/test/opie-%{V_major}-test%{V_minor}.tar.gz |
43 Patch0: opie.patch |
43 Patch0: opie.patch |
44 |
44 |
45 # build information |
45 # build information |
46 Prefix: %{l_prefix} |
46 BuildPreReq: OpenPKG, openpkg >= 20100101 |
47 BuildRoot: %{l_buildroot} |
47 PreReq: OpenPKG, openpkg >= 20100101 |
48 BuildPreReq: OpenPKG, openpkg >= 20040130 |
|
49 PreReq: OpenPKG, openpkg >= 20040130 |
|
50 AutoReq: no |
|
51 AutoReqProv: no |
|
52 |
48 |
53 %description |
49 %description |
54 OPIE is a One Time Password (OTP) toolkit. |
50 OPIE is a One Time Password (OTP) toolkit. |
55 |
51 |
56 %track |
52 %track |
78 --enable-opieauto |
84 --enable-opieauto |
79 %{l_make} %{l_mflags -O} |
85 %{l_make} %{l_mflags -O} |
80 echo "#permit 127.0.0.1 255.255.255.255" >opieaccess |
86 echo "#permit 127.0.0.1 255.255.255.255" >opieaccess |
81 |
87 |
82 %install |
88 %install |
83 rm -rf $RPM_BUILD_ROOT |
|
84 %{l_shtool} mkdir -f -p -m 755 \ |
89 %{l_shtool} mkdir -f -p -m 755 \ |
85 $RPM_BUILD_ROOT%{l_prefix}/bin \ |
90 $RPM_BUILD_ROOT%{l_prefix}/bin \ |
86 $RPM_BUILD_ROOT%{l_prefix}/sbin \ |
91 $RPM_BUILD_ROOT%{l_prefix}/sbin \ |
87 $RPM_BUILD_ROOT%{l_prefix}/man/man1 \ |
92 $RPM_BUILD_ROOT%{l_prefix}/man/man1 \ |
88 $RPM_BUILD_ROOT%{l_prefix}/man/man3 \ |
93 $RPM_BUILD_ROOT%{l_prefix}/man/man3 \ |