~ubuntu-branches/ubuntu/saucy/postfix/saucy

« back to all changes in this revision

Viewing changes to makedefs

  • Committer: Bazaar Package Importer
  • Author(s): LaMont Jones, Wietse Venema, LaMont Jones
  • Date: 2011-05-10 08:40:13 UTC
  • mfrom: (1.1.30 upstream) (33.1.10 natty-proposed)
  • Revision ID: james.westby@ubuntu.com-20110510084013-eeoaeuuet3projj7
Tags: 2.8.3-1
[Wietse Venema]

* 2.8.3
  - Cleanup: postscreen(8) and verify(8) daemons now lock their respective
    cache file exclusively upon open, to avoid massive cache corruption
    by unsupported sharing.
  - Bugfix (introduced with Postfix SASL patch 20000314): don't reuse a
    server SASL handle after authentication failure.  CVE-2011-1720

[LaMont Jones]
* Ack ubuntu fixes for multiarch.  Closes: #620326, #625674

Show diffs side-by-side

added added

removed removed

Lines of Context:
288
288
                #     GDBM_LIBS=gdbm
289
289
                # fi
290
290
                SYSLIBS="-ldb"
 
291
                SEARCHDIRS=$(${CC-gcc} -print-search-dirs 2>/dev/null \
 
292
                        | grep libraries | cut -f2- -d= \
 
293
                        | sed -e's/\:/\n/g' | xargs -n1 readlink -f \
 
294
                        | grep -v 'gcc\|/[0-9.]\+$' | uniq)
 
295
                if [ -z "$SEARCHDIRS" ]; then
 
296
                        SEARCHDIRS="/usr/lib64 /lib64 /usr/lib /lib"
 
297
                fi
291
298
                for name in nsl resolv $GDBM_LIBS
292
299
                do
293
 
                    for lib in /usr/lib64 /lib64 /usr/lib /lib
 
300
                    for lib in $SEARCHDIRS
294
301
                    do
295
302
                        test -e $lib/lib$name.a -o -e $lib/lib$name.so && {
296
303
                            SYSLIBS="$SYSLIBS -l$name"