dovecot/dovecot.patch

Thu, 04 Oct 2012 20:30:05 +0200

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Thu, 04 Oct 2012 20:30:05 +0200
changeset 715
c10fb90893b9
parent 608
09548e292fb1
permissions
-rw-r--r--

Correct out of date build configuration, porting to Solaris 11 network
link infrastructure and new libpcap logic. This additionally allows for
device drivers in subdirectories of /dev. Correct packaged nmap
personalities and signatures to work out of the box. Finally, hack
arpd logic to properly close sockets and quit on TERM by repeating
signaling in the run command script. Sadly, all this fails to correct
the run time behaviour of honeyd which fails to bind to the IP layer.

     1 Index: configure.in
     2 --- configure.in.orig	2012-04-23 14:35:10.000000000 +0200
     3 +++ configure.in	2012-04-29 19:55:10.000000000 +0200
     4 @@ -2122,14 +2122,14 @@
     5    AC_CHECK_PROG(PG_CONFIG, pg_config, pg_config, NO)
     6    if test $PG_CONFIG = NO; then
     7      # based on code from PHP
     8 -    for i in /usr /usr/local /usr/local/pgsql; do
     9 -      for j in include include/pgsql include/postgres include/postgresql ""; do
    10 +    for i in @l_prefix@; do
    11 +      for j in include/postgresql; do
    12  	if test -r "$i/$j/libpq-fe.h"; then
    13  	  PGSQL_INCLUDE=$i/$j
    14  	fi
    15        done
    16 -      for lib in lib lib64; do
    17 -	for j in $lib $lib/pgsql $lib/postgres $lib/postgresql ""; do
    18 +      for lib in lib; do
    19 +	for j in $lib; do
    20  	  if test -f "$i/$j/libpq.so" || test -f "$i/$j/libpq.a"; then
    21  	    PGSQL_LIBDIR=$i/$j
    22  	  fi
    23 Index: configure
    24 --- configure.orig	2012-04-23 14:35:52.000000000 +0200
    25 +++ configure	2012-04-29 19:55:11.000000000 +0200
    26 @@ -22919,14 +22919,14 @@
    28    if test $PG_CONFIG = NO; then
    29      # based on code from PHP
    30 -    for i in /usr /usr/local /usr/local/pgsql; do
    31 -      for j in include include/pgsql include/postgres include/postgresql ""; do
    32 +    for i in @l_prefix@; do
    33 +      for j in include/postgresql; do
    34  	if test -r "$i/$j/libpq-fe.h"; then
    35  	  PGSQL_INCLUDE=$i/$j
    36  	fi
    37        done
    38 -      for lib in lib lib64; do
    39 -	for j in $lib $lib/pgsql $lib/postgres $lib/postgresql ""; do
    40 +      for lib in lib; do
    41 +	for j in $lib; do
    42  	  if test -f "$i/$j/libpq.so" || test -f "$i/$j/libpq.a"; then
    43  	    PGSQL_LIBDIR=$i/$j
    44  	  fi

mercurial