diff options
author | Tiziano Müller <dev-zero@gentoo.org> | 2009-02-13 07:49:21 +0000 |
---|---|---|
committer | Tiziano Müller <dev-zero@gentoo.org> | 2009-02-13 07:49:21 +0000 |
commit | bc3fe42f3ab6d039300b7f3ba1a2d055b87eb3cb (patch) | |
tree | e31f74c4f93ee265450c06f0309feb7fbe36a953 /app-admin/rsyslog/rsyslog-3.20.4.ebuild | |
parent | fix --with-expat configure call, pointed out by ranger and rbu in bug #253493 (diff) | |
download | gentoo-2-bc3fe42f3ab6d039300b7f3ba1a2d055b87eb3cb.tar.gz gentoo-2-bc3fe42f3ab6d039300b7f3ba1a2d055b87eb3cb.tar.bz2 gentoo-2-bc3fe42f3ab6d039300b7f3ba1a2d055b87eb3cb.zip |
Version bump.
(Portage version: 2.2_rc23/cvs/Linux x86_64)
Diffstat (limited to 'app-admin/rsyslog/rsyslog-3.20.4.ebuild')
-rw-r--r-- | app-admin/rsyslog/rsyslog-3.20.4.ebuild | 84 |
1 files changed, 84 insertions, 0 deletions
diff --git a/app-admin/rsyslog/rsyslog-3.20.4.ebuild b/app-admin/rsyslog/rsyslog-3.20.4.ebuild new file mode 100644 index 000000000000..67b89ffb941d --- /dev/null +++ b/app-admin/rsyslog/rsyslog-3.20.4.ebuild @@ -0,0 +1,84 @@ +# Copyright 1999-2009 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/app-admin/rsyslog/rsyslog-3.20.4.ebuild,v 1.1 2009/02/13 07:49:21 dev-zero Exp $ + +inherit versionator + +DESCRIPTION="An enhanced multi-threaded syslogd with database support and more." +HOMEPAGE="http://www.rsyslog.com/" +SRC_URI="http://download.rsyslog.com/${PN}/${P}.tar.gz" +LICENSE="GPL-3 LGPL-3" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="debug kerberos dbi gnutls mysql postgres relp snmp zlib" + +DEPEND="kerberos? ( virtual/krb5 ) + dbi? ( dev-db/libdbi ) + gnutls? ( net-libs/gnutls ) + mysql? ( virtual/mysql ) + postgres? ( virtual/postgresql-base ) + relp? ( >=dev-libs/librelp-0.1.1 ) + snmp? ( net-analyzer/net-snmp ) + zlib? ( sys-libs/zlib )" +RDEPEND="${DEPEND}" +PROVIDE="virtual/logger" + +BRANCH="3-stable" + +src_compile() { + # Maintainer notes: + # * rsyslog-3 doesn't support single threading anymore + # * rfc3195 needs a library and development of that library + # is suspended + econf \ + --enable-largefile \ + --enable-regexp \ + $(use_enable zlib) \ + $(use_enable kerberos gssapi-krb5) \ + --enable-pthreads \ + --enable-klog \ + --enable-unix \ + --enable-inet \ + --enable-fsstnd \ + $(use_enable debug) \ + $(use_enable debug rtinst) \ + $(use_enable debug valgrind) \ + $(use_enable mysql) \ + $(use_enable postgres pgsql) \ + $(use_enable dbi libdbi) \ + $(use_enable snmp) \ + $(use_enable gnutls) \ + --enable-rsyslogrt \ + --enable-rsyslogd \ + --enable-mail \ + $(use_enable relp) \ + --disable-rfc3195 \ + --enable-imfile \ + --disable-imtemplate + emake || die "emake failed" +} + +src_install() { + emake DESTDIR="${D}" install || die "emake install failed" + + insinto /usr/share/doc/${PF}/scripts/mysql + doins plugins/ommysql/{createDB.sql,contrib/delete_mysql} + + insinto /usr/share/doc/${PF}/scripts/pgsql + doins plugins/ompgsql/createDB.sql + + elog "SQL scripts to create the tables for MySQL or PostgreSQL have been installed to:" + elog " /usr/share/doc/${PF}/scripts" + + dodoc AUTHORS ChangeLog doc/rsyslog-example.conf + dohtml doc/* + + insinto /etc + newins "${FILESDIR}/${BRANCH}/rsyslog-gentoo.conf" rsyslog.conf + + insinto /etc/logrotate.d/ + newins "${FILESDIR}/${BRANCH}/rsyslog.logrotate" rsyslog + + newconfd "${FILESDIR}/${BRANCH}/rsyslog.conf" rsyslog + newinitd "${FILESDIR}/${BRANCH}/rsyslog.init" rsyslog +} |