Ticket #24474: patch-config.diff

File patch-config.diff, 1.1 KB (added by pixilla (Bradley Giesbrecht), 14 years ago)

common patch for all dovecot-antispam plugins

  • (a) defconfig vs. (b) .config

    a b  
    2020#BACKEND=mailtrain
    2121#BACKEND=crm114-exec
    2222#BACKEND=spool2dir
     23@@BACKEND@@
    2324
    2425# Dovecot build/header directory
    2526# Building the plugin requires configured dovecot sources or having
     
    2728# point DOVECOT= to the installed headers too.
    2829#DOVECOT=../dovecot-1.0.5
    2930#DOVECOT=../dovecot-1.1
    30 DOVECOT=/usr/include/dovecot
     31#DOVECOT=/usr/include/dovecot
     32@@DOVECOT@@
    3133
    3234# install directory for 'make install'
    3335# NB no need for a final '/'
    34 INSTALLDIR=/usr/lib/dovecot/modules/imap
     36#INSTALLDIR=/usr/lib/dovecot/modules/imap
     37@@INSTALLDIR@@
    3538# The user and group for the installed plugin
    3639USER=root
    3740GROUP=root
     
    3942# enable debugging to syslog or stderr
    4043#DEBUG=stderr
    4144#DEBUG=syslog
     45@@DEBUG@@
    4246
    4347# verbose debugging (lots of output!)
    4448#DEBUG_VERBOSE=1
     49@@DEBUG_VERBOSE@@
    4550
    4651# plugin name, change only if you need to rename the plugin
    4752# (because, for example, you need two instances for different
    4853# spam filters installed)
    49 PLUGINNAME=antispam
     54#PLUGINNAME=antispam
     55@@PLUGINNAME@@
    5056
    5157# extra CFLAGS
    5258# CFLAGS += -g3
     59@@EXTRA_CFLAGS@@