summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTomas Chvatal <scarabeus@gentoo.org>2010-11-04 14:33:59 +0000
committerTomas Chvatal <scarabeus@gentoo.org>2010-11-04 14:33:59 +0000
commitf2b74b339ed8e696aecbcce771ec33fc925612ac (patch)
tree535ef9282314ded25f03a456edd90fb475c0a3f7 /net-irc/quassel
parentCheck for invalid atom exception in function call: check_tilde_masked_pkg (diff)
downloadgentoo-2-f2b74b339ed8e696aecbcce771ec33fc925612ac.tar.gz
gentoo-2-f2b74b339ed8e696aecbcce771ec33fc925612ac.tar.bz2
gentoo-2-f2b74b339ed8e696aecbcce771ec33fc925612ac.zip
Introduce logrotate useflag.
(Portage version: 2.2.0_alpha3/cvs/Linux x86_64)
Diffstat (limited to 'net-irc/quassel')
-rw-r--r--net-irc/quassel/ChangeLog6
-rw-r--r--net-irc/quassel/metadata.xml3
-rw-r--r--net-irc/quassel/quassel-0.7.1.ebuild11
-rw-r--r--net-irc/quassel/quassel-9999.ebuild11
4 files changed, 22 insertions, 9 deletions
diff --git a/net-irc/quassel/ChangeLog b/net-irc/quassel/ChangeLog
index 74293c0275fa..36c6b642f473 100644
--- a/net-irc/quassel/ChangeLog
+++ b/net-irc/quassel/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for net-irc/quassel
# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-irc/quassel/ChangeLog,v 1.115 2010/11/04 14:24:39 scarabeus Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-irc/quassel/ChangeLog,v 1.116 2010/11/04 14:33:58 scarabeus Exp $
+
+ 04 Nov 2010; Tomáš Chvátal <scarabeus@gentoo.org> quassel-0.7.1.ebuild,
+ quassel-9999.ebuild, metadata.xml:
+ Introduce logrotate useflag.
04 Nov 2010; Tomáš Chvátal <scarabeus@gentoo.org> -quassel-0.6.3.ebuild,
-files/quasselcore-2.conf, -files/quasselcore-2.init:
diff --git a/net-irc/quassel/metadata.xml b/net-irc/quassel/metadata.xml
index 799c464661db..0aa0b4c63955 100644
--- a/net-irc/quassel/metadata.xml
+++ b/net-irc/quassel/metadata.xml
@@ -14,6 +14,9 @@
<description>Upstream author, please CC on bugs</description>
</maintainer>
<use>
+ <flag name="logrotate">
+ Install support files for app-admin/logrotate.
+ </flag>
<flag name="monolithic">
Build Standalone client with integrated core, no external
quasselcore needed. Only useful if you don't want to use quassels
diff --git a/net-irc/quassel/quassel-0.7.1.ebuild b/net-irc/quassel/quassel-0.7.1.ebuild
index 72e7df55e7b9..c1d5c2f91ccb 100644
--- a/net-irc/quassel/quassel-0.7.1.ebuild
+++ b/net-irc/quassel/quassel-0.7.1.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2010 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-irc/quassel/quassel-0.7.1.ebuild,v 1.3 2010/11/04 11:35:36 maekke Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-irc/quassel/quassel-0.7.1.ebuild,v 1.4 2010/11/04 14:33:59 scarabeus Exp $
EAPI=3
@@ -20,10 +20,11 @@ HOMEPAGE="http://quassel-irc.org/"
LICENSE="GPL-3"
KEYWORDS="amd64 x86 ~amd64-linux"
SLOT="0"
-IUSE="ayatana crypt dbus debug kde monolithic phonon postgres +server +ssl webkit X"
+IUSE="ayatana crypt dbus debug kde +logrotate monolithic phonon postgres +server +ssl webkit X"
SERVER_RDEPEND="
crypt? ( app-crypt/qca:2 )
+ logrotate? ( app-admin/logrotate )
!postgres? ( >=x11-libs/qt-sql-${QT_MINIMAL}:4[sqlite] dev-db/sqlite[threadsafe] )
postgres? ( >=x11-libs/qt-sql-${QT_MINIMAL}:4[postgres] )
x11-libs/qt-script:4
@@ -122,8 +123,10 @@ src_install() {
newconfd "${FILESDIR}"/quasselcore.conf quasselcore || die "newconfd failed"
# logrotate
- insinto /etc/logrotate.d
- newins "${FILESDIR}/quassel.logrotate" quassel || die "newins failed"
+ if use logrotate; then
+ insinto /etc/logrotate.d
+ newins "${FILESDIR}/quassel.logrotate" quassel || die "newins failed"
+ fi
fi
}
diff --git a/net-irc/quassel/quassel-9999.ebuild b/net-irc/quassel/quassel-9999.ebuild
index b214f424fc9e..14bf540fcd35 100644
--- a/net-irc/quassel/quassel-9999.ebuild
+++ b/net-irc/quassel/quassel-9999.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2010 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-irc/quassel/quassel-9999.ebuild,v 1.51 2010/08/27 11:34:31 scarabeus Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-irc/quassel/quassel-9999.ebuild,v 1.52 2010/11/04 14:33:59 scarabeus Exp $
EAPI=3
@@ -20,10 +20,11 @@ HOMEPAGE="http://quassel-irc.org/"
LICENSE="GPL-3"
KEYWORDS=""
SLOT="0"
-IUSE="ayatana crypt dbus debug kde monolithic phonon postgres +server +ssl webkit X"
+IUSE="ayatana crypt dbus debug kde +logrotate monolithic phonon postgres +server +ssl webkit X"
SERVER_RDEPEND="
crypt? ( app-crypt/qca:2 )
+ logrotate? ( app-admin/logrotate )
!postgres? ( >=x11-libs/qt-sql-${QT_MINIMAL}:4[sqlite] dev-db/sqlite[threadsafe] )
postgres? ( >=x11-libs/qt-sql-${QT_MINIMAL}:4[postgres] )
x11-libs/qt-script:4
@@ -122,8 +123,10 @@ src_install() {
newconfd "${FILESDIR}"/quasselcore.conf quasselcore || die "newconfd failed"
# logrotate
- insinto /etc/logrotate.d
- newins "${FILESDIR}/quassel.logrotate" quassel || die "newins failed"
+ if use logrotate; then
+ insinto /etc/logrotate.d
+ newins "${FILESDIR}/quassel.logrotate" quassel || die "newins failed"
+ fi
fi
}