blob: cb5c4ed4b4382ba92fbee15c10f0abcce75f1360 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
|
#!/usr/bin/make -f
DPKG_EXPORT_BUILDFLAGS = 1
include /usr/share/dpkg/buildflags.mk
%:
dh $@ --with autotools_dev
override_dh_auto_configure:
dh_auto_configure -- \
--enable-mysql \
--enable-pgsql \
--enable-mail \
--enable-imfile \
--enable-impstats \
--enable-gssapi-krb5 \
--enable-gnutls \
--enable-relp \
--enable-pmaixforwardedfrom \
--enable-pmcisconames \
--enable-pmlastmsg \
--enable-pmrfc3164sd \
--enable-pmsnare \
--enable-omprog \
--enable-omuxsock \
--enable-kmsg \
--disable-testbench \
--with-systemdsystemunitdir=/lib/systemd/system
override_dh_auto_install:
dh_auto_install
install --mode=644 -D plugins/ommysql/createDB.sql debian/rsyslog-mysql/usr/share/dbconfig-common/data/rsyslog-mysql/install/mysql
install --mode=644 -D plugins/ompgsql/createDB.sql debian/rsyslog-pgsql/usr/share/dbconfig-common/data/rsyslog-pgsql/install/pgsql
override_dh_install:
dh_install -X .la --list-missing
override_dh_compress:
dh_compress -X rsyslog-example.conf
override_dh_installinit:
dh_installinit -R -- start 10 2 3 4 5 . start 30 0 6 . stop 90 1 .
|