~james-page/ubuntu/raring/dovecot/autopkgtest

« back to all changes in this revision

Viewing changes to src/plugins/fts-lucene/Makefile.am

  • Committer: Package Import Robot
  • Author(s): James Page
  • Date: 2012-06-11 11:11:54 UTC
  • mfrom: (1.15.2) (4.1.27 sid)
  • Revision ID: package-import@ubuntu.com-20120611111154-678cwbdj6ktgsv1h
Tags: 1:2.1.7-1ubuntu1
* Merge from Debian unstable, remaining changes:
  + Add mail-stack-delivery package:
    - Update d/rules
    - d/control: convert existing dovecot-postfix package to a dummy
      package and add new mail-stack-delivery package.
    - Update maintainer scripts.
    - Rename d/dovecot-postfix.* to debian/mail-stack-delivery.*
    - d/mail-stack-delivery.preinst: Move previously installed backups and
      config files to a new package namespace.
    - d/mail-stack-delivery.prerm: Added to handle downgrades.
  + Use Snakeoil SSL certificates by default:
    - d/control: Depend on ssl-cert.
    - d/dovecot-core.postinst: Relax grep for SSL_* a bit.
  + Add autopkgtest to debian/tests/*.
  + Add ufw integration:
    - d/dovecot-core.ufw.profile: new ufw profile.
    - d/rules: install profile in dovecot-core.
    - d/control: dovecot-core - suggest ufw.
  + d/{control,rules}: enable PIE hardening.
  + d/dovecot-core.dirs: Added usr/share/doc/dovecot-core
  + Add apport hook:
    - d/rules, d/source_dovecot.py
  + Add upstart job:
    - d/rules, d/dovecot-core.dovecot.upstart, d/control,
      d/dovecot-core.dirs, dovecot-imapd.{postrm, postinst, prerm},
      d/dovecot-pop3d.{postinst, postrm, prerm}.
      d/mail-stack-deliver.postinst: Convert init script to upstart.
  + d/control: Added Pre-Depends: dpkg (>= 1.15.6) to dovecot-dbg to support
    xz compression in Ubuntu.
  + d/control: Demote dovecot-common Recommends: to Suggests: to prevent
    install of extra packages on upgrade.
  + d/patches/dovecot-drac.patch: Updated with version for dovecot >= 2.0.0.
  + d/control: Drop B-D on systemd.
* Dropped changes:
  + d/patches/fix-racey-restart.patch: part of 2.1.x, no longer required.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
doveadm_moduledir = $(moduledir)/doveadm
 
2
 
1
3
AM_CPPFLAGS = \
2
4
        -I$(top_srcdir)/src/lib \
3
5
        -I$(top_srcdir)/src/lib-mail \
4
6
        -I$(top_srcdir)/src/lib-index \
5
7
        -I$(top_srcdir)/src/lib-storage \
6
8
        -I$(top_srcdir)/src/plugins/fts \
7
 
        -I/usr/lib
 
9
        -I$(top_srcdir)/src/doveadm
8
10
 
 
11
NOPLUGIN_LDFLAGS =
9
12
lib21_fts_lucene_plugin_la_LDFLAGS = -module -avoid-version
 
13
lib20_doveadm_fts_lucene_plugin_la_LDFLAGS = -module -avoid-version
10
14
 
11
15
module_LTLIBRARIES = \
12
16
        lib21_fts_lucene_plugin.la
13
17
 
 
18
if BUILD_LUCENE_STEMMER
 
19
STEMMER_LIBS = -lstemmer
 
20
SHOWBALL_SOURCES = Snowball.cc
 
21
endif
 
22
if BUILD_LUCENE_TEXTCAT
 
23
TEXTCAT_LIBS = -ltextcat
 
24
endif
 
25
 
14
26
lib21_fts_lucene_plugin_la_LIBADD = \
15
 
        -lclucene-shared -lclucene-core
 
27
        -lclucene-shared -lclucene-core $(TEXTCAT_LIBS) $(STEMMER_LIBS)
16
28
 
17
29
lib21_fts_lucene_plugin_la_SOURCES = \
18
30
        fts-lucene-plugin.c \
19
31
        fts-backend-lucene.c \
20
 
        lucene-wrapper.cc
 
32
        lucene-wrapper.cc \
 
33
        $(SHOWBALL_SOURCES)
21
34
 
22
35
noinst_HEADERS = \
23
36
        fts-lucene-plugin.h \
24
 
        lucene-wrapper.h
 
37
        lucene-wrapper.h \
 
38
        SnowballAnalyzer.h \
 
39
        SnowballFilter.h
 
40
 
 
41
if BUILD_LUCENE_TEXTCAT
 
42
exampledir = $(docdir)/example-config
 
43
example_DATA = \
 
44
        textcat.conf
 
45
endif
 
46
EXTRA_DIST = textcat.conf
 
47
 
 
48
doveadm_module_LTLIBRARIES = \
 
49
        lib20_doveadm_fts_lucene_plugin.la
 
50
 
 
51
lib20_doveadm_fts_lucene_plugin_la_SOURCES = \
 
52
        doveadm-fts-lucene.c