Lines 36-42
RESTRICT="test"
Link Here
|
36 |
AUTOTOOLS_IN_SOURCE_BUILD=1 |
36 |
AUTOTOOLS_IN_SOURCE_BUILD=1 |
37 |
|
37 |
|
38 |
DOCS=(AUTHORS ChangeLog doc/rsyslog-example.conf) |
38 |
DOCS=(AUTHORS ChangeLog doc/rsyslog-example.conf) |
39 |
HTML_DOCS=("${S}/doc/") |
|
|
40 |
|
39 |
|
41 |
src_configure() { |
40 |
src_configure() { |
42 |
# Maintainer notes: |
41 |
# Maintainer notes: |
Lines 46-83
src_configure() {
Link Here
|
46 |
# The maintainer says there is no real installation support |
45 |
# The maintainer says there is no real installation support |
47 |
# for the java GUI, so we disable it for now. |
46 |
# for the java GUI, so we disable it for now. |
48 |
local myeconfargs=( |
47 |
local myeconfargs=( |
49 |
--disable-gui \ |
48 |
--disable-gui |
50 |
--disable-rfc3195 \ |
49 |
--disable-rfc3195 |
51 |
--enable-largefile \ |
50 |
--enable-largefile |
52 |
--enable-unlimited-select \ |
51 |
--enable-unlimited-select |
53 |
--enable-imdiag \ |
52 |
--enable-imdiag |
54 |
--enable-imfile \ |
53 |
--enable-imfile |
55 |
--enable-imtemplate \ |
54 |
--enable-imtemplate |
56 |
--enable-imptcp \ |
55 |
--enable-imptcp |
57 |
--enable-mail \ |
56 |
--enable-mail |
58 |
--enable-omprog \ |
57 |
--enable-omprog |
59 |
--enable-omstdout \ |
58 |
--enable-omstdout |
60 |
--enable-omtemplate \ |
59 |
--enable-omtemplate |
61 |
--enable-omdbalerting \ |
60 |
--enable-omdbalerting |
62 |
--enable-omuxsock \ |
61 |
--enable-omuxsock |
63 |
--enable-pmlastmsg \ |
62 |
--enable-pmlastmsg |
64 |
--enable-pmrfc3164sd \ |
63 |
--enable-pmrfc3164sd |
65 |
$(use_enable extras omudpspoof) \ |
64 |
$(use_enable extras omudpspoof) |
66 |
$(use_enable zlib) \ |
65 |
$(use_enable zlib) |
67 |
$(use_enable mysql) \ |
66 |
$(use_enable mysql) |
68 |
$(use_enable dbi libdbi) \ |
67 |
$(use_enable dbi libdbi) |
69 |
$(use_enable postgres pgsql) \ |
68 |
$(use_enable postgres pgsql) |
70 |
$(use_enable oracle oracle) \ |
69 |
$(use_enable oracle oracle) |
71 |
$(use_enable gnutls) \ |
70 |
$(use_enable gnutls) |
72 |
$(use_enable kerberos gssapi-krb5) \ |
71 |
$(use_enable kerberos gssapi-krb5) |
73 |
$(use_enable relp) \ |
72 |
$(use_enable relp) |
74 |
$(use_enable snmp) \ |
73 |
$(use_enable snmp) |
75 |
$(use_enable debug) \ |
74 |
$(use_enable debug) |
76 |
$(use_enable debug rtinst) \ |
75 |
$(use_enable debug rtinst) |
77 |
$(use_enable debug diagtools) \ |
76 |
$(use_enable debug diagtools) |
78 |
$(use_enable debug memcheck) \ |
77 |
$(use_enable debug memcheck) |
79 |
$(use_enable debug valgrind) \ |
78 |
$(use_enable debug valgrind) |
80 |
$(use_enable static-libs static) |
|
|
81 |
) |
79 |
) |
82 |
|
80 |
|
83 |
systemd_to_myeconfargs |
81 |
systemd_to_myeconfargs |
Lines 85-112
src_configure() {
Link Here
|
85 |
} |
83 |
} |
86 |
|
84 |
|
87 |
src_install() { |
85 |
src_install() { |
|
|
86 |
use doc && HTML_DOCS=(doc/) |
88 |
autotools-utils_src_install |
87 |
autotools-utils_src_install |
89 |
|
88 |
|
90 |
insinto /etc |
89 |
insinto /etc |
91 |
newins "${FILESDIR}/${BRANCH}/rsyslog-gentoo.conf" rsyslog.conf || die |
90 |
newins "${FILESDIR}/${BRANCH}/rsyslog-gentoo.conf" rsyslog.conf |
92 |
newconfd "${FILESDIR}/${BRANCH}/rsyslog.confd" rsyslog || die |
91 |
newconfd "${FILESDIR}/${BRANCH}/rsyslog.confd" rsyslog |
93 |
newinitd "${FILESDIR}/${BRANCH}/rsyslog.initd" rsyslog || die |
92 |
newinitd "${FILESDIR}/${BRANCH}/rsyslog.initd" rsyslog |
94 |
keepdir /var/spool/rsyslog |
93 |
keepdir /var/spool/rsyslog |
95 |
keepdir /etc/ssl/rsyslog |
94 |
keepdir /etc/ssl/rsyslog |
96 |
keepdir /etc/rsyslog.d |
95 |
keepdir /etc/rsyslog.d |
97 |
|
96 |
|
98 |
if use mysql; then |
97 |
if use mysql; then |
99 |
insinto /usr/share/doc/${PF}/scripts/mysql |
98 |
insinto /usr/share/doc/${PF}/scripts/mysql |
100 |
doins plugins/ommysql/{createDB.sql,contrib/delete_mysql} || die |
99 |
doins plugins/ommysql/{createDB.sql,contrib/delete_mysql} |
101 |
fi |
100 |
fi |
102 |
|
101 |
|
103 |
if use postgres; then |
102 |
if use postgres; then |
104 |
insinto /usr/share/doc/${PF}/scripts/pgsql |
103 |
insinto /usr/share/doc/${PF}/scripts/pgsql |
105 |
doins plugins/ompgsql/createDB.sql || die |
104 |
doins plugins/ompgsql/createDB.sql |
106 |
fi |
105 |
fi |
107 |
|
106 |
|
108 |
insinto /etc/logrotate.d/ |
107 |
insinto /etc/logrotate.d/ |
109 |
newins "${FILESDIR}/${BRANCH}/rsyslog.logrotate" rsyslog || die |
108 |
newins "${FILESDIR}/${BRANCH}/rsyslog.logrotate" rsyslog |
110 |
} |
109 |
} |
111 |
|
110 |
|
112 |
pkg_postinst() { |
111 |
pkg_postinst() { |
113 |
- |
|
|