1:4df03c0f2586 | 2:4ab29733a7f1 |
---|---|
29 Packager: OpenPKG Foundation e.V. | 29 Packager: OpenPKG Foundation e.V. |
30 Distribution: OpenPKG Community | 30 Distribution: OpenPKG Community |
31 Class: BASE | 31 Class: BASE |
32 Group: Cryptography | 32 Group: Cryptography |
33 License: BSD | 33 License: BSD |
34 Version: 2.1.22 | 34 Version: 2.1.23 |
35 Release: 20090206 | 35 Release: 20120208 |
36 | 36 |
37 # package options | 37 # package options |
38 %option with_fsl yes | 38 %option with_fsl yes |
39 %option with_sasldb yes | 39 %option with_sasldb yes |
40 %option with_pam no | 40 %option with_pam no |
57 Patch0: sasl.patch | 57 Patch0: sasl.patch |
58 | 58 |
59 # build information | 59 # build information |
60 Prefix: %{l_prefix} | 60 Prefix: %{l_prefix} |
61 BuildRoot: %{l_buildroot} | 61 BuildRoot: %{l_buildroot} |
62 BuildPreReq: OpenPKG, openpkg >= 20060823, gcc, make, groff | 62 BuildPreReq: OpenPKG, openpkg >= 20060823, gcc, make |
63 PreReq: OpenPKG, openpkg >= 20060823 | 63 PreReq: OpenPKG, openpkg >= 20060823 |
64 BuildPreReq: db >= 4.1.24, openssl | 64 BuildPreReq: db >= 4.1.24, openssl |
65 PreReq: db >= 4.1.24, openssl | 65 PreReq: db >= 4.1.24, openssl |
66 %if "%{with_fsl}" == "yes" | 66 %if "%{with_fsl}" == "yes" |
67 BuildPreReq: fsl | 67 BuildPreReq: fsl |
115 } | 115 } |
116 | 116 |
117 %prep | 117 %prep |
118 %setup -q -n cyrus-sasl-%{version} | 118 %setup -q -n cyrus-sasl-%{version} |
119 %patch -p0 | 119 %patch -p0 |
120 %{l_shtool} subst \ | |
121 -e 's;u_int;uint;g' \ | |
122 sasldb/db_berkeley.c | |
123 | 120 |
124 %build | 121 %build |
125 # ensure the OpenPKG Berkeley-DB is picked up only | 122 # ensure the OpenPKG Berkeley-DB is picked up only |
126 %{l_shtool} subst \ | 123 %{l_shtool} subst \ |
127 -e 's;for dbname in db-.*db$;for dbname in db;' \ | 124 -e 's;for dbname in db-.*db$;for dbname in db;' \ |