Changeset 69e86505
- Timestamp:
- 03/09/2024 06:23:13 PM (7 weeks ago)
- Branches:
- ken/TL2024, trunk
- Children:
- 469426fe
- Parents:
- c6514f57
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
introduction/welcome/changelog.xml
rc6514f57 r69e86505 43 43 <itemizedlist> 44 44 <listitem> 45 <para>[thomas] - Upgrade to postfix-3.9.0. Fixes 46 <ulink url="&blfs-ticket-root;19436">#19436</ulink>.</para> 47 </listitem> 48 <listitem> 45 49 <para>[thomas] - Upgrade to libxfce4ui-4.18.6. Fixes 46 50 <ulink url="&blfs-ticket-root;19436">#19436</ulink>.</para> -
packages.ent
rc6514f57 r69e86505 748 748 749 749 <!ENTITY exim-version "4.97.1"> 750 <!ENTITY postfix-version "3. 8.5">750 <!ENTITY postfix-version "3.9.0"> 751 751 <!ENTITY sendmail-version "8.18.1"> 752 752 -
server/mail/postfix.xml
rc6514f57 r69e86505 10 10 <!ENTITY postfix-download-http "https://ghostarchive.org/postfix/postfix-release/official/postfix-&postfix-version;.tar.gz"> 11 11 <!ENTITY postfix-download-ftp " "> 12 <!ENTITY postfix-md5sum " ae12d4dfc965a74a691a22ace14e7207">13 <!ENTITY postfix-size "4. 6MB">12 <!ENTITY postfix-md5sum "3eda9b945ed6cdf11ef58a731c574a04"> 13 <!ENTITY postfix-size "4.7 MB"> 14 14 <!ENTITY postfix-buildsize "208 MB"> 15 15 <!ENTITY postfix-time "0.1 SBU (Using parallelism=4)"> … … 173 173 </para> 174 174 175 <para> 176 Initialize the <envar>CCARGS</envar> and <envar>AUXLIBS</envar> 177 according to the note above: 178 </para> 179 180 <screen><userinput>CCARGS="-DNO_NIS -DNO_DB" 181 AUXLIBS=""</userinput></screen> 182 183 <para> 184 Next, the <envar>CCARGS</envar> and the <envar>AUXLIBS</envar> 185 variables are filled with settings depending on the actual 186 system configuration. If an optional package is installed but 187 should <emphasis>not</emphasis> be included in the 188 <application>Postfix</application> build, simply skip the 189 corresponding <code>if [ ... ]; then</code> scriptlets. 190 </para> 191 175 192 <sect4> 176 193 <title>Cyrus-SASL</title> … … 181 198 </para> 182 199 183 <screen><literal>CCARGS="-DNO_NIS -DNO_DB \ 184 -DUSE_SASL_AUTH -DUSE_CYRUS_SASL -I/usr/include/sasl" 185 AUXLIBS='-lsasl2'</literal></screen> 200 <screen><userinput>if [ -r /usr/lib/libsasl2.so ]; then 201 CCARGS="$CCARGS -DUSE_SASL_AUTH -DUSE_CYRUS_SASL -I/usr/include/sasl" 202 AUXLIBS="$AUXLIBS -lsasl2" 203 fi</userinput></screen> 186 204 </sect4> 187 205 … … 193 211 </para> 194 212 195 <screen><literal>CCARGS='-DNO_NIS -DNO_DB -DHAS_LMDB' 196 AUXLIBS_LMDB='-llmdb'</literal></screen> 213 <screen><userinput>if [ -r /usr/lib/liblmdb.so ]; then 214 CCARGS="$CCARGS -DHAS_LMDB" 215 AUXLIBS="$AUXLIBS -llmdb" 216 fi</userinput></screen> 197 217 </sect4> 198 218 … … 205 225 </para> 206 226 207 <screen><literal>CCARGS='-DNO_NIS -DNO_DB -DHAS_LDAP' 208 AUXLIBS_LDAP='-lldap -llber'</literal></screen> 227 <screen><userinput>if [ -r /usr/lib/libldap.so -a -r /usr/lib/liblber.so ]; then 228 CCARGS="$CCARGS -DHAS_LDAP" 229 AUXLIBS="$AUXLIBS -lldap -llber" 230 fi</userinput></screen> 209 231 210 232 </sect4> … … 218 240 </para> 219 241 220 <screen><literal>CCARGS='-DNO_NIS -DNO_DB -DHAS_SQLITE' 221 AUXLIBS_SQLITE='-lsqlite3 -lpthread'</literal></screen> 242 <screen><userinput>if [ -r /usr/lib/libsqlite3.so ]; then 243 CCARGS="$CCARGS -DHAS_SQLITE" 244 AUXLIBS="$AUXLIBS -lsqlite3 -lpthread" 245 fi</userinput></screen> 222 246 223 247 </sect4> … … 231 255 </para> 232 256 233 <screen><literal>CCARGS='-DNO_NIS -DNO_DB -DHAS_MYSQL -I/usr/include/mysql' 234 AUXLIBS_MYSQL='-lmysqlclient -lz -lm'</literal></screen> 257 <screen><userinput>if [ -r /usr/lib/libmysqlclient.so ]; then 258 CCARGS="$CCARGS -DHAS_MYSQL -I/usr/include/mysql" 259 AUXLIBS="$AUXLIBS -lmysqlclient -lz -lm" 260 fi</userinput></screen> 235 261 236 262 </sect4> … … 244 270 </para> 245 271 246 <screen><literal>CCARGS='-DNO_NIS -DNO_DB -DHAS_PGSQL -I/usr/include/postgresql' 247 AUXLIBS_PGSQL='-lpq -lz -lm'</literal></screen> 272 <screen><userinput>if [ -r /usr/lib/libpq.so ]; then 273 CCARGS="$CCARGS -DHAS_PGSQL -I/usr/include/postgresql" 274 AUXLIBS="$AUXLIBS -lpq -lz -lm" 275 fi</userinput></screen> 248 276 249 277 </sect4> … … 258 286 </para> 259 287 260 <screen><literal>CCARGS='-DNO_NIS -DNO_DB -DHAS_CDB' 261 AUXLIBS_CDB='<replaceable></path/to/CDB></replaceable>/libcdb.a'</literal></screen> 288 <screen><literal>if [ -r <replaceable></path/to/CDB></replaceable>/libcdb.a ]; then 289 CCARGS="$CCARGS -DHAS_CDB" 290 AUXLIBS="$AUXLIBS <replaceable></path/to/CDB></replaceable>/libcdb.a" 291 fi</literal></screen> 262 292 263 293 </sect4> … … 271 301 </para> 272 302 273 <screen><literal>CCARGS='-DNO_NIS -DNO_DB -DUSE_TLS -I/usr/include/openssl/' 274 AUXLIBS='-lssl -lcrypto'</literal></screen> 303 <screen><userinput>if [ -r /usr/lib/libssl.so -a -r /usr/lib/libcrypto.so ]; then 304 CCARGS="$CCARGS -DUSE_TLS -I/usr/include/openssl/" 305 AUXLIBS="$AUXLIBS -lssl -lcrypto" 306 fi</userinput></screen> 307 <para> 308 <application>OpenSSL</application> is installed by LFS so it 309 should be always there. The <code>if ... then</code> is here 310 just for consistency. 311 </para> 275 312 </sect4> 276 313 … … 281 318 282 319 <para> 283 Adjust the following according to your needs. For example, 284 if you have <application>Cyrus SASL</application> and 285 <application>LMDB</application>, 286 install <application>Postfix</application> by running the following 287 commands: 288 </para> 289 290 <screen><userinput>make CCARGS="-DNO_NIS -DNO_DB -DUSE_TLS -I/usr/include/openssl/ \ 291 -DUSE_SASL_AUTH -DUSE_CYRUS_SASL -I/usr/include/sasl \ 292 -DHAS_LMDB" \ 293 AUXLIBS="-lssl -lcrypto -lsasl2" \ 294 AUXLIBS_LMDB="-llmdb" \ 295 makefiles && 320 There might be duplicate settings in <envar>AUXLIBS</envar> 321 like <code>-lm</code> when both, <application>MariaDB</application> 322 and <application>PostgreSQL</application> are used. They do 323 not harm. Install <application>Postfix</application> by 324 running the following commands: 325 </para> 326 327 <screen><userinput>make CCARGS="$CCARGS" AUXLIBS="$AUXLIBS" makefiles && 296 328 make</userinput></screen> 297 329
Note:
See TracChangeset
for help on using the changeset viewer.