summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTiziano Müller <dev-zero@gentoo.org>2008-04-25 14:56:08 +0000
committerTiziano Müller <dev-zero@gentoo.org>2008-04-25 14:56:08 +0000
commitd589f4efa31654bbb73995ce4558e6177b3b5b3b (patch)
tree7723a67a3f74652509ee7daf4c2e8d4d1621dea9 /app-admin
parentDepend on virtual/libiconv and fix FreeBSD linking problem, bug 219040. (diff)
downloadgentoo-2-d589f4efa31654bbb73995ce4558e6177b3b5b3b.tar.gz
gentoo-2-d589f4efa31654bbb73995ce4558e6177b3b5b3b.tar.bz2
gentoo-2-d589f4efa31654bbb73995ce4558e6177b3b5b3b.zip
Version bump (both stable and testing branches).
(Portage version: 2.1.5_rc6)
Diffstat (limited to 'app-admin')
-rw-r--r--app-admin/rsyslog/ChangeLog9
-rw-r--r--app-admin/rsyslog/rsyslog-3.16.0.ebuild77
-rw-r--r--app-admin/rsyslog/rsyslog-3.17.1.ebuild (renamed from app-admin/rsyslog/rsyslog-3.17.0.ebuild)16
3 files changed, 91 insertions, 11 deletions
diff --git a/app-admin/rsyslog/ChangeLog b/app-admin/rsyslog/ChangeLog
index f2c287bae7d2..f631e09be280 100644
--- a/app-admin/rsyslog/ChangeLog
+++ b/app-admin/rsyslog/ChangeLog
@@ -1,6 +1,13 @@
# ChangeLog for app-admin/rsyslog
# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-admin/rsyslog/ChangeLog,v 1.2 2008/04/09 17:32:54 dev-zero Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-admin/rsyslog/ChangeLog,v 1.3 2008/04/25 14:56:08 dev-zero Exp $
+
+*rsyslog-3.17.1 (25 Apr 2008)
+*rsyslog-3.16.0 (25 Apr 2008)
+
+ 25 Apr 2008; Tiziano Müller <dev-zero@gentoo.org> +rsyslog-3.16.0.ebuild,
+ -rsyslog-3.17.0.ebuild, +rsyslog-3.17.1.ebuild:
+ Version bump (both stable and testing branches).
*rsyslog-3.17.0 (09 Apr 2008)
*rsyslog-3.14.1 (09 Apr 2008)
diff --git a/app-admin/rsyslog/rsyslog-3.16.0.ebuild b/app-admin/rsyslog/rsyslog-3.16.0.ebuild
new file mode 100644
index 000000000000..e2b4a30bec23
--- /dev/null
+++ b/app-admin/rsyslog/rsyslog-3.16.0.ebuild
@@ -0,0 +1,77 @@
+# Copyright 1999-2008 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/app-admin/rsyslog/rsyslog-3.16.0.ebuild,v 1.1 2008/04/25 14:56:08 dev-zero Exp $
+
+inherit eutils 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"
+IUSE="debug kerberos dbi mysql postgres relp snmp zlib"
+
+DEPEND="kerberos? ( virtual/krb5 )
+ dbi? ( dev-db/libdbi )
+ mysql? ( virtual/mysql )
+ postgres? ( dev-db/libpq )
+ relp? ( dev-libs/librelp )
+ snmp? ( net-analyzer/net-snmp )
+ zlib? ( sys-libs/zlib )"
+RDEPEND="${DEPEND}"
+
+BRANCH="3-stable"
+
+src_compile() {
+ # Maintainer notes:
+ # * rsyslog-3 doesn't support single threading anymore
+ # * rfc3195 needs a library
+ 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 mysql) \
+ $(use_enable postgres pgsql) \
+ $(use_enable dbi libdbi) \
+ $(use_enable snmp) \
+ --enable-rsyslogd \
+ $(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
+}
diff --git a/app-admin/rsyslog/rsyslog-3.17.0.ebuild b/app-admin/rsyslog/rsyslog-3.17.1.ebuild
index 0f9f891c0bec..99a97d4fd7fe 100644
--- a/app-admin/rsyslog/rsyslog-3.17.0.ebuild
+++ b/app-admin/rsyslog/rsyslog-3.17.1.ebuild
@@ -1,13 +1,13 @@
# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/app-admin/rsyslog/rsyslog-3.17.0.ebuild,v 1.1 2008/04/09 17:32:54 dev-zero Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-admin/rsyslog/rsyslog-3.17.1.ebuild,v 1.1 2008/04/25 14:56:08 dev-zero Exp $
inherit eutils 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"
+LICENSE="GPL-3 LGPL-3"
SLOT="0"
KEYWORDS="~amd64"
IUSE="debug kerberos dbi mysql postgres relp snmp zlib"
@@ -23,17 +23,12 @@ RDEPEND="${DEPEND}"
BRANCH="3-devel"
-src_unpack() {
- unpack ${A}
- cd "${S}"
-
- epatch "${FILESDIR}/3.14.1-implicit_declaration.patch"
-}
-
src_compile() {
# Maintainer notes:
# * rsyslog-3 doesn't support single threading anymore
# * rfc3195 needs a library
+ # * OpenSSL detection is present in ./configure but nothing
+ # in the code actually needs it
econf \
--enable-largefile \
--enable-regexp \
@@ -55,7 +50,8 @@ src_compile() {
$(use_enable relp) \
--disable-rfc3195 \
--enable-imfile \
- --disable-imtemplate
+ --disable-imtemplate \
+ --disable-openssl
emake || die "emake failed"
}